Forgot your password?
typodupeerror

Comment: Re: IKR? I'm sick of our hobby being lumped in w/ (Score 1) 77

by Lisandro (#48178925) Attached to: An Air Traffic Control System For Drones

We (the responsible R/C helicopter community) have been asking, in fact begging, for regulation for some time now. Even going so far as to have pseudo-regulation via AMA. Unfortunately the FAA has continually put the issue on the back-burner....

I'm aware of this. Sadly, this won't change until there's money involved, like Amazon's recent research on using quads for package delivery. These regulations are strict and hard to change, but, again, there's good reason for it.

Also, the analogy of radio-controlled cars is absurdly non-sequitur as cars are 3,000lbs of steel/aluminum and multi-rotors are 27 oz. of plastic/carbon fiber.

The thing is, you don't need a lot of mass to damage something that flies. A RC car can wreck havoc if stepped over by a car going 70MPH on a highway, just like a quad can do even more damage if sucked into the jet intake of an airliner / helicopter. Or the propeller / attack surfaces of a small airplane - incidents with birds, for example, are sadly common.

Comment: Re:IKR? I'm sick of our hobby being lumped in w/ (Score 1) 77

by Lisandro (#48173947) Attached to: An Air Traffic Control System For Drones

That's right, these people are just pretending they're in a real helicopter. IS that so wrong? I mean the stuff of little boy dreams is now possible.

It is if you get in the way of an actual manned helicopter. If drone/RPV usage keeps going up regulation will be needed, sooner or later. A good part of a private pilot license exam is regarding regulations and air traffic rules. Even if you only plan to spin around a runway in a small Cessna these still apply.

Imagine what would happen if people started putting radio controlled cars in a highway. Now imaginge the highway is 3,000FT above the ground.

Comment: Re: Exact mathematical value isn't the ideal (Score 1) 239

by Lisandro (#48118707) Attached to: Where Intel Processors Fail At Math (Again)

They aren't. When you start adding up a lot of cents you end up, invariably, with rounding errors. FPs are not intended for this task.

The way they intended to deal with this issue back then was to round down results to x decimals, just to make sure the clients weren't charged extra. And even that wasn't enough.

Comment: Re:Exact mathematical value isn't the ideal (Score 1) 239

by Lisandro (#48118361) Attached to: Where Intel Processors Fail At Math (Again)

Ditto. Not only that, i'm amazed by the number of programmers who don't properly understand floating point arithmetic either.

A long time ago i had to write a C/C++ fixed-point arithmetic library for a (major) telecom company because their billing processes would routinely output totals with cent errors; over a full year these added up to a significant ammount of money, a-la-Superman III. No one even had a clue of why their processes failed.

Comment: Re:Exact mathematical value isn't the ideal (Score 1) 239

by Lisandro (#48118337) Attached to: Where Intel Processors Fail At Math (Again)

Some idiot researcher who expects Excel or an FPU instruction to be accurate for sin to more than 10 decimal places is going to crop up SO MANY anomalies in their data that they'll stick out like a sore thumb.

Unless the processor's documentation explicitly promises that accuracy.

Comment: Re:Alternative headline (Score 1) 429

by Lisandro (#48118189) Attached to: BitHammer, the BitTorrent Banhammer

Because I have every right to use the network as the guy making it impossible for me to use it.

Then, by your own logic, you're not justified to use bithammer. I hate to play the devil's advocate here, but OzPeter makes a damn good point. If a BT user really prevents you from feeding your family then you should consider an alternative other than McDonalds in the first place.

Comment: Re:Many users won't be back (Score 2) 516

by Lisandro (#47149217) Attached to: Microsoft Won't Bring Back the Start Menu Until 2015

I was actually being facetious, but this is not far off from the truth. Nokia was already hurting when iOS and Android gained momentum, but it really took a nosedive pretty much the second the decided to support Windows exclusively.

A crying shame, because they sell some very nice hardware.

Comment: Re:PHP? (Score 1) 213

by Lisandro (#47126661) Attached to: PHP Next Generation

In ways you cannot undersand, evidently. The distinction on C when comparing type-casted operands is precisely because casting is guaranteed to destroy precision - operands are effectively modified in the process. This has NOTHING to do with the way relational operators work: they behave in a sane way, like they do in every other language on Earth.

Now contrast that with the idiotic PHP decision of setting rules for relational operators leading to circular logic. I know the "this might fool the typical PHP developer" warning went over your head, but ponder on this: on my original PHP code snippet, where's the "loss of precision"?

Where's the casting?

Hell, where do you apply your "object has precedence" mantra on it?

I really can't believe that someone could not only defend this madness so vehemently, but also without really understanding what he/she is talking about. Try a new language, son. It will open your horizons.

PS: I'm a he, not a she.

Comment: Re:PHP? (Score 1) 213

by Lisandro (#47123917) Attached to: PHP Next Generation

Just like PHP!

...sigh...

Just like PHP, where comparison operators are transitive except in cases where precision is lost in type-casting of operands.

Yeah. I'm dying to know what the "loss of precision" is when comparing a float to an array to an object.

No, you know what? I don't. Go have fun with your toy websites.

Comment: Re:PHP? (Score 1) 213

by Lisandro (#47122607) Attached to: PHP Next Generation

Dude, you are the one who's flat out wrong. Not only C has transitive relationship operators, but the language specification actually states that value comparison operators must be transitive except in cases where precision is lost in type-casting of operands.

So, for example, this might fool the typical PHP developer...

int main(void) {
unsigned long a = 98765UL;
int b = -12345;
short c = 1;

if (a < b) printf("a < b!\n");
if (b < c) printf("b < c!\n");
if (c < a) printf("c < a!\n");
}

...while you're simply rounding off (modifying!) operands in the process. This can be easily show by controlling how casting is performed:

int main(void) {
unsigned long a = 98765UL;
int b = -12345;
short c = 1;

if (a < (long)b) printf("a < b!\n");
if (b < (int)c) printf("b < c!\n");
if (c < (short)a) printf("c < a!\n");
}

Compare this to the brainfuck that is PHP, where comparison rules are well stablished but still manage to produce this crap. I can't believe i'm actually discussing this.

Pound for pound, the amoeba is the most vicious animal on earth.

Working...