How Mmuch Ccode Iis Iin Tthat.... [Pic]

Submitted by: Fatninja01 3 years ago in Tech

Interesting... even if its a bit long
There are 20 comments:
Male 5,617
"public static int addNumb(int v1,int v2){
if(v2>0)
return addNumb(v1+1,v2-1);
else if(v2<0)
return addNumb(v1-1,v2+1);
else
return v1;
} "
Okay. Now you`re just trying to start some sh*t!
0
Reply
Male 395
"v1 = v1 + v2;" or even: "v1 += v2;

public static int addNumb(int v1,int v2){
if(v2>0)
return addNumb(v1+1,v2-1);
else if(v2<0)
return addNumb(v1-1,v2+1);
else
return v1;
}

Been a while since I`ve used java...looks about right.
0
Reply
Male 5,617
Well, if you already know that, you should realize complaining about an EDR spying on you is a little paranoid.

I`m sure some ass who thought COPA`s wording was a good design will be all OK with what you describe. It`s more likely they will be out-shouted by someone who wants things to be a little more quantifiable like taxing some material all currently approved tires have in common.

As for the road passes: There`s a SE Asian nation that has that already. The more you drive toward the center of a city, the more it costs.
With other fees, a sub-compact car can cost $100K.

I think it`s too easily defeated to work here.
0
Reply
Male 17,512
CodeJockey: "Jak, your auto travel is already taxed. It`s in the fuel cost and classed vehicle license fee."

No Sh|t Sherlock. I know that, but now the government is seeking to tax us on our mileage as well. Electric cars, don`t use gasoline, so that will give lawmakers the incentive to tax mileage as well.
0
Reply
Male 17,512
Tupinambis: How many links do you want?

Link 1

Link 2

Link 3

Want some more?

Btw, with 6 seconds of effort you could`ve googled "is your car spying on you" and found 36,400,000 results.

0
Reply
Male 1,692
@CodeJockey

Yes, I agree it`s probably written in to some longer inefficient longer style with many redundancy due to the sheer number of sensors that are connected to the computer processors. I think the redundancy is most likely due to the various sensors being written to a company wide standard and the code being added to the total car package. It may be longer code, but I also think its legally smarter for car companies to work that way since its a C.Y.A. to legal liabilities.
0
Reply
Male 5,617
Jak, your auto travel is already taxed. It`s in the fuel cost and classed vehicle license fee.

llaa, like what kangoala and bataleon say, it could just be big-assed, inefficient code.

On top of that: "Count of lines of code" in what language?
What is in C/C++/Java/whatever other PASCAL descended language:
"v1 = v1 + v2;" or even: "v1 += v2;"
is in Assembler as:
"{
MOV EAX, v1; Move the value of v1 into the Accumulator
MOV EBX, v2; Move the value of v2 into the Base
ADD EAX, EBX; Add the B and A, store the result in A
MOV v1, EAX; Move the value of A into v1
}"
These three do the same thing. (Hmm. ASM. It`s been a while. Getting aroused...)
0
Reply
Male 1,380
"note: some guess work, rumors & estimates"

That`s what I always want to see as a footnote when I`m looking at empirical data.
0
Reply
Male 1,178
the lines of code present does not necessarily reflect the complexity of the program. It could just signify that it`s poorly coded.

There are many scenarios where you could code something and get it to work in 300 lines, but if you really thought about it and followed best practice, you could get it down to 50 for example.
0
Reply
Male 606
>Very True! It doesn`t take that much to make a car run. Want to know why it`s so much? Because the government plans to start taxing people on the miles they drive and your own new car is setup to broadcast that information straight to them.

Because it takes a billion lines of code to simply track a few numbers...any supposed tracking function is going to be nothing more than a logger for GPS data, which is, on its own, no more than a handful of lines of code.
0
Reply
Male 275
Even if you are right, which you most likely is. Go get your tinfoil hat and go live in the mountains. Its better that way.
0
Reply
Male 568
@CrakrJack
Please site your sources. Otherwise shut that pie hole of yours (or cut your fingers off if you prefer, both might help).
0
Reply
Male 17,512
CodeJockey: "It`s does not take THAT much sh*t to make a car run."

Very True! It doesn`t take that much to make a car run. Want to know why it`s so much? Because the government plans to start taxing people on the miles they drive and your own new car is setup to broadcast that information straight to them.

That`s right folks, your own car is going to spy on you for the government. And it`s not just the amount of miles you drive, the software will also tell them where you`ve driven, how fast you were driving, whether or not you came to a full stop at all signs and signals, used your turn signals and much much more.

Get ready for the tax and fines reaming of your wallet, it`s already coded into your new car. And if you think you can just ignore those unfair tickets you get in the mail, think again. They`ll shutdown your car, wherever you are, and tell the county tow truck exactly where to find it.
0
Reply
Male 702
code.length++ !> code.length
0
Reply
Male 1,692
Car Software Article - IEEE

It really is that large.
0
Reply
Male 15,832
My dad always used to say, and elephant is a mouse built to government specs.
0
Reply
Male 5,617
It`s does not take THAT much sh*t to make a car run. The leaner, the better.

Some of this seems to be based on install size, which includes uncompressed bitmaps, and does not differentiate symmetric from asymmetric code distribution.

So, I call BS on more than just the last two...
0
Reply
Male 1,692
I charge 10% for stock tips and I also perform tea leaf readings on the weekends if anyone is interested...
0
Reply
Male 1,692
Damb...
0
Reply
Male 25,416
Link: How Mmuch Ccode Iis Iin Tthat.... [Pic] [Rate Link] - Interesting... even if its a bit long
0
Reply