It looks like you're using an Ad Blocker.
Please white-list or disable AboveTopSecret.com in your ad-blocking tool.
Thank you.
Some features of ATS will be disabled while you continue to use an ad-blocker.
originally posted by: Midnite247
So just to clarify, it’s not a great idea for a thread, 😂😂
So my job is to cut to the chase, separate the wheat from the chaff,
in that when ur talking careers ur already talking full stack , back end/front end developer , to talk about basic entry level coding, is like starting a financial thread of economics starting with basic maths.
The point being anyone interested in the thread already has a grasp of the basics, and an explanation of the basics is of no interest to anyone who has no interest in the topic.
Unless the thread is going to progress to a intermediate/advanced understanding of coding, there’s no point in it.
Just sayin
originally posted by: ThatDamnDuckAgain
Code's like this
double BaselineThrottleVal = 0; //real time Throttle value
double BaselineThrottleValAvrg = 0; //averaged Throttle value
double CollectiveBaselineThrottleVal =0; //Temp var for collecting measurements and do comparision
int CollectiveBaselineThrottleValCounter =5;
loop
...
...
secret stuff happening not even touching this var
...
...
//comment: this for loop is constantly running on a different thread, all custom function are on own thread but thread safe and can touch global vars
for(int i=0;i<CollectiveBaselineThrottleValCounter ;i++)
{
BaselineThrottleVal = IO.Thrttle; //IO.Thrttle contains double 0.0-0.999 representing 0-100%, it's filled by ECU on runtime.
CollectiveBaselineThrottleValCounter++;
CollectiveBaselineThrottleVal += BaselineThrottleVal;
//comment: (double) casts int into double
}
BaselineThrottleValAvrg = CollectiveBaselineThrottleVal / (double)CollectiveBaselineThrottleValCounter ;
loop end
Sometimes there's values like 391.13130310 just as an example.
Note this is not a feedback loop with the throttle, I can only do other things like inject less or more fuel, shift injection timing and duration or ignition timings and angles or open exhaust and intake gates (few other stuff). It doesn't have any effect on the main ECUs safety mechanisms, yes it's about programming a car
Hope I didn't confuse too much, like I say, very beginner.
originally posted by: jerich0
10 A$ = "Holy Moly, how far we've come."
20 PRINT A$
30 GOTO 10
cheers, I'll read this properly, as a self taught coder from the old days. always good to keep the brain lubricated.
I don’t think this is the right forum to regurgitate beginner learning ( whatever the subject) as some sort of informative thread! ,otherwise I’ll start one next with basic multiplication
Apart from it being easy to find information, my main problem with this thread is that it's actually pretty offputting for beginners and if they were already intimidated by coding, this is going to make it worse.
It doesn't really explain anything other than how c++ represents some types and for some reason bitwise operators without even explaining what a statement is, why you need to know these things or even what programming is.
Dumping everything about signed and unsigned integers, the difference between floats and doubles and a whole bunch of other things that aren't actually helpful for someone who's a complete beginner.
originally posted by: Encia22
a reply to: ChaoticOrder
Finally, just so I can gauge what we can expect, how deep do you think you'll take us before letting go of our hands to fend for ourselves?
Would you say it is best to first learn the abstracts?
Are there any websites recommend or even a good book? I am at the level of forging own delegates and design my own objects but I have troubles with multithreading or tasking how it's called now.