Forgot your password?
typodupeerror

Comment: Re:Beware coverage tools (Score 1) 51

by NormalVisual (#48232379) Attached to: Tetris Is Hard To Test
So the code might fail with a particular combination of inputs, but the coverage tool is more interested in which bits of the code have been execute.

This is quite true, but at least it's something that can help. Programmers already make enough mistakes, so any help is welcome. Whether that help is worth the price tag in dollars and time has to be determined on an individual case by case basis.

Comment: Re:Nonsense -- make your own test suite (Score 1) 51

by NormalVisual (#48232373) Attached to: Tetris Is Hard To Test
Why wouldn't you just create a test suite that actually tests all the scenarios?

Defining all of the possible scenarios is often a lot harder than it looks. There aren't too many UI coders out there that haven't said "yeah, we need to fix it, but what made the user decide to do that?" at one time or another.

Comment: Re:Infomercial for a code coverage tool? (Score 1) 51

by NormalVisual (#48232365) Attached to: Tetris Is Hard To Test
Just writing a function that properly calculates whether the current year is a leap year would fall into that category as well, since there are exceptions for years divisible by 100 and 400. Thorough testing would be the only way to catch problems within the programmer's lifetime. However, this scenario also validates the parent poster's point - there are times when "good enough" is perfectly acceptable even though there may be logical flaws within the code. Simply doing a mod 4 on the year will likely be fine for the entire span of the program's useful life.

Comment: Re:Is that unreasonable? (Score 1) 224

by Carewolf (#48231213) Attached to: High Speed Evolution

The analogy really sucks.

It's very hard to find a photo of Abe Lincoln where he isn't at least a head (including his beard) above everyone else. But today several countries have an average height within a 10 cm of him. The Dutch are 184 cm (about 6' 1"), but Abe was only 193 cm (just under 6' 4"). Partly that's due to nutrition, which has an incredibly complicated relationship to height (the Dutch, for example, are dragged down by the descendents of people born during a famine after WW2. Their grandchildren are unexpectedly short and nobody knows why.).

A Dutch person told me an odd tale about hormones they allowed or put in the food during the 70/80s that led to a single extra tall generation. They got rid of the hormones later and hushed the whole thing up, so now the next generation is back to normal height.

Not sure I believe it though, never found anything to back it up, so it could just be a dutch urban legend.

Comment: Re:IBM's just a parasite (Score 1) 210

by tibit (#48230805) Attached to: Ballmer Says Amazon Isn't a "Real Business"

IBM's mainframe processing power is a bit different than your typical desktop processing power. Mainframes have, historically, never been used for much numerical computation, but are heavy data/string pushers. All the while a desktop CPU has several subsystems optimized to crunch numbers in a way that is not useful at all in a mainframe that pushes, say, product data around.

Comment: Re:This is silly (Score 1) 663

by ultranova (#48229769) Attached to: Automation Coming To Restaurants, But Not Because of Minimum Wage Hikes

Correlation != Causation.

It is impossible to ever prove causation. In fact, it's impossible to prove causal relationships exist at all, for all data could be explained by coincidence or unknown external factors. Thus this meme is little more than an excuse to dismiss data you don't like.

All constants are variables.

Working...