Actually, I would write it like this:
int putw(int x, FILE *f)
{
bool success = (fwrite(&x, sizeof x, 1, f) == 1);
return success? 0 : EOF;
}
Having knowledge that EOF == -1 is disgusting. And using it in a formulas? Even more disgusting. IMHO, that code makes me sick. I would write it instead as:
return (fwrite(&x, sizeof x, 1, f) == 1)? 0 : EOF;
which to me is much clearer.
I think the BitCoin community is doing a pretty good job of ruining the currency on their own without government help
Of course it is. You just keep right on thinking that. It's doing such a good job that you don't have scams like Mt Gox or other exchanges just vanishing in the night. Naw, nobody is out almost a half a billion dollars because of a poorly run exchange or just outright theft. Damn, skippy its doing a fine job.
Lord Apathy, I don't think you read very carefully. Bobbied said that it was doing a pretty good job of ruining the currency [on its own without government help], not that it was doing a pretty good job.
$100 / 10 TB / month ==> $0.02 / month
Annnndd.... I can't type today.
(Why the hell doesn't Slashdot let us edit our articles to correct typos after posting?)
$1.99 for 100GB (previously $4.99), $9.99 for 1TB (previously $49.99), and $99.99 for 10TB.The 2 dollar plan per month means that the price for a gigabyte gets down to an incredibly low price of only two cents per month.
While it's true that the 2-dollar plan per month are $0.02 per month, the other plans are only $0.01 per month. Failing to mention this is bad math.
Here is a table of prices:
$2 / 100 GB / month ==> $0.02 / month
$10 / 1 TB / month ==> $0.01 / month
$100 / 10 TB / month ==> $0.02 / month
(Yes, I know it's technically $1.99 and not $2.00, but let's face it... prices ending in ".99" are retarded.)
On that plan, the price per gigabyte works out to $0.02 per month. Because you get 100Gb.
Actually, you get 100 GB (gigabytes), not 100 Gb (gigabits).
How do you know that person isn't taking $1,000,000 vacations and spending the $10,000 while ON vacation?
In other words, someone with an extra $10,000 to spend on games probably actually has an extra $1,000,000 to spend on other stuff as well.
There are physical reasons why it can be pleasurable for many men (see link at end). The prostrate being the biggest one. [...]
Lying stretched out on the ground with one's face downward is pleasurable?
No amount of careful planning will ever replace dumb luck.