Forgot your password?
typodupeerror

Comment: Re:1024-fold (Score 2, Insightful) 210

by beelsebob (#47893719) Attached to: SanDisk Releases 512GB SD Card

No, a "traditional" GB is the one that was defined way before computer scientists got their hands on it –1000. The 1024 "definition" is actually simply a bug. Engineers working on early machines had a choice – take a bug that pretty much no one would notice on an early machine (because files over 1kB were very rare, much less ones over 1MB), or take a massive perf hit. It takes a long time to compute the size of 20 files when a division by 1000 takes 300 odd cycles on a 10kHz machine. It doesn't take such a long time when a right shift 10 takes 1 cycle.

Bottom line, early engineers decided a known bug was better than the enormous perf hit of getting it correct. That doesn't mean that what they did is now correct. It means it remains a bug in some OSes.

Comment: Re:Numeric equality in PHP (Score 1) 729

There's no particular reason to not have comparable values of different types

Sure there is - they have different types, therefore they're not equal. It's a ridiculous, useless operation, because it doesn't actually do anything more than always return false.

That said, there's good reason to have an "isSimilarTo" function, but that's not at all the same thing as equality.

Comment: Re:bringing in more H1Bs will solve this problem (Score 1) 250

by beelsebob (#47840503) Attached to: IT Job Hiring Slumps

Actually, compiler theory is a great example of a language you can't easily learn in any language. The small lightweight structures it generates, and the referentially transparent transformations that you run those structures through lend it strongly to being done with functional languages, and if not, very close to the metal languages like C. Heavy weight OO languages tend to end up just causing you to write 3 tons of boiler plate, rather than actually learning the theory.

Those who can, do; those who can't, write. Those who can't write work for the Bell Labs Record.

Working...