|
I want to build custom firmware for ECUs for engines.
And a plugin for the ODB-II interfaces on engines to make retrofitted "smart dashboards" for cars that give you things like current mpg, wheelspeed, and slip, whatever's available in terms of the data, on anything from the 90s on since the law required the ports.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Best of luck! Sounds like fun even though it's completely out of my wheelhouse
I've been working here and there on an open-source implementation of the modern IRCv3 protocol that will either let you build a client from raw messages or an easier, OO-based model. The goal is to basically allow people to build any .NET UI and have my model handle all the plumbing while also supporting extending the model with custom server commands, custom message handling, etc since IRC is such a non-standardized protocol.
Pointless? Probably. But it's been fun and has really tested my ability to design solutions so far.
|
|
|
|
|
I didn't know any of the IRC servers were even up anymore. I built a C# IRC client some time ago.
The biggest thing I learned is, *process the messages asynchronously* or your client will easily get flooded.
And that creates UI problems due to the threading issue.
I used the Winforms Control's ISynchronizeInvoke interface to raise events so that my events were raised on the UI thread even though they were processed on the threadpool.
Nowadays there's probably a more elegant way to do it using the newish async model in .NET
just be careful out there. =) The client can be deceptively complicated, even though the protocol itself is pretty easy.
Put scripting in it. Everyone uses scripts if they're serious IRC heads.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Yea, it's not like it used to be but IRC is still alive. I still use it which is how I got the idea. I wanted to build a simple desktop app for a program I wrote for mIRC but couldn't find any back-end that actually processed messages with support for newer stuff like TLS/SSL, RPL_ISUPPORT, and what not.
Using async/await was actually one of the first decisions I made to make my life easier
|
|
|
|
|
If you want performance, and are using the socket apis directly, they don't directly use the task framework in .NET
here's a wrapper to help with that
internal sealed class SocketAwaitable : INotifyCompletion
{
private readonly static Action _sentinel = () => { };
internal bool _wasCompleted;
internal Action _continuation;
internal SocketAsyncEventArgs _eventArgs;
public SocketAwaitable(SocketAsyncEventArgs eventArgs)
{
if (null==eventArgs) throw new ArgumentNullException("eventArgs");
_eventArgs = eventArgs;
eventArgs.Completed += delegate
{
var prev = _continuation ?? Interlocked.CompareExchange(
ref _continuation, _sentinel, null);
if (prev != null) prev();
};
}
internal void Reset()
{
_wasCompleted = false;
_continuation = null;
}
public SocketAwaitable GetAwaiter() { return this; }
public bool IsCompleted { get { return _wasCompleted; } }
public void OnCompleted(Action continuation)
{
if (_continuation == _sentinel ||
Interlocked.CompareExchange(
ref _continuation, continuation, null) == _sentinel)
{
Task.Run(continuation);
}
}
public void GetResult()
{
if (_eventArgs.SocketError != SocketError.Success)
throw new SocketException((int)_eventArgs.SocketError);
}
}
Check out the related blog post.
It's worth your time.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
If I could, I would like to upgrade MS Money
|
|
|
|
|
I still use it, but I miss the automated download of stock prices, etc. I would also like an "import from Excel" option (my bank offers the option of downloading transactions in Excel format).
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Mmhh .. I can still download the stock prices (I have the 2015 version).
I once wrote an excel to money format converter, I can send it if I find it. If you have a look at it, it is not that complicated, money format is plain xml.
Or this[^].
|
|
|
|
|
codewitch honey crisis wrote: I want to build custom firmware for ECUs for engines. On your own? That do is ambitious. Not about the custom firmware, but about getting the oem's / insurance companies to allow you using it.
Good luck
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
You can get the specs for certain "standardized" engines pretty easily - especially industrial ones like the T444e diesel.
Others it depends. There's a huge aftermarket and sometimes underground racket for tuning certain imports and those specs can be had if you know where to look.
And for the dash replacement bits, those are easier since the diag ports are pseudo-standard. Everything is one off but they share the lion's share of behavior across makes and models, especially among makes.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
To code something that would cripple the cell phone system just long enough for folks to remember that they are not necessary for the survival of our species....tis but a dream.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
You don't need to write code to do that.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Well I'm not much of a bomb maker.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
I was thinking of cellular phone jammers. They are illegal but so is anything that disrupts cellular phone communication. One of my friends has a couple of them. One is small and short range and the other is larger with a much farther range. He uses them on trains and busses and in theaters, among other places.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
We had a guy locally do just that a couple of years ago, which I'll admit warmed my heart. Though I'm not certain what his punishment, if any, was.
Prosecutors: Charge reduced for commuter jamming cellphone calls on CTA - Chicago Tribune[^]
My vision is global, well at least countrywide (USA).
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
So I want to host a small sql server prototyping database, a core 2 web api and deploy a wpf app via click once. Naturally I turn to MS and Azure, create a MS account and give them all my details. The first thing I want to do is transfer the existing database to Azure SQL Server.
Go through all the steps to create the database (very simple process) and note the cost per month 22.66 AUD! and that is just for the database, they probably want more for hosting the web api and the clickonce deployment.
When I can use someone like A2 hosting for 5 USD a month they are not going to get much traction with me I'm afraid.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Just get a static and a box and host it yourself.
|
|
|
|
|
Except... I really don't want to nursemaid a web site any more than necessary.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
|
Mycroft Holmes wrote: the cost per month 22.66 AUD!
They keep preaching about how cheap it is! hmmmm
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
Their sales department has made contact so it will be interesting to see if I got it wrong or they really are that expensive.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Mycroft Holmes wrote: interesting to see if I got it wrong or they really are that expensive.
I would be interested in a follow up to this.
1) What is the real cost?
2) How is it that what you have been lead to believe wrong?
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
It turns out I am just getting the sales spam, no follow up after I told them they were outrageously expensive compared to other options.
I did not get past the initial implementation of a sql database as they told me the monthly cost after the free period was $22+ so I don't know what the ongoing cost would actually be for a full service suite. I guess we are not the target market, too small so there is no investment by the sales team, can't really blame them.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
The so-called "free" Azure crap they give you with the MSDN membership is an utter scam. Doing almost anything invokes a "paid subscription required" message.
Software Zen: delete this;
|
|
|
|
|
8911 Katy Fwy, Houston, TX 77024[^]
If any of you blast off from Ellington, wave, it's 3 miles or 5 km from my house and I used to walk over there when
I was a kid.
No word on whether it will house the recently announced Space Force, that is the equivalent of Tom Corbet's Solar Guard.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|