5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions
comment 13y ago · link · parent
For the Conrad Black charges, it wouldn't be, but the only reason the Feds brought a case as complex and questionable against Conrad Black in the first place was because of the large amounts of money involved and Black's personal wealth. Allowing him to use that wealth in his defense restores some balance.
comment 13y ago · link · parent
comment 13y ago · link · parent
But only user code is required to be well-formed and have defined behavior, system headers could just as well be written in Forth as long as the actual behavior under the compiler they come with is correct.
comment 13y ago · link · parent
comment 13y ago · link · parent
The upside of government surveillance is that the government gains power by keeping your secrets secret, and when it comes down to it, the vast majority of people are simply uninteresting to the spooks and both parties know it. The odds of being extra-judicially executed for being a YouTube troll are nonzero, but statistically close enough that it's not worth worrying about unless you meet a very narrow profile.
Facebook, on the other hand, seems to have as a primary business model finding out everything about everyone, and then telling everyone else. It's this latter part that people worry about. They don't want their life broadcast to every potential employer, client, lender, local xenophobe, landlord, insurance company, lover, violent ex-lover, nosy neighbor, obsessive stalker etc. that they deal with in their life. The odds there are a lot more grim--You're about 1000 times more likely to be killed by your ex or soon to be ex than the President.
comment 13y ago · link · parent
On a system like that, what would be the point of a fancy hot-swap rack? Do modern large storage arrays do constant maintenance of failed or failing drives? Or does Facebook use hotswapping for something else?
comment 13y ago · link · parent
Of course the right thing to do is to simplify the rest of the program to take advantage of the new assumption but maintenance programmers don't always have the luxury.
comment 13y ago · link · parent
init;
do {
stuff;
if (fail) continue;
morestuff;
} while (0);
cleanup;
Which I've seen in real code released to the public. Whoever does either of those things instead of just using a goto should be flogged in the town square.edit: Other usually-bad alternatives to goto are the pyramid-of-nested-ifs or a set of running "bad" flags/enum that disables each operation downstream of the error until the cleanup is reached.
comment 13y ago · link · parent
Unnecessary singletons are usually a sign that someone, somewhere designed a way too general system that allowed multiple instances of something, then nobody ever used that feature, then someone else came in and made things a bit saner by adding a singleton constraint, leaving vestigial object-ness and meaningless pointers being passed around everywhere.
In a perfect world with perfect programmers you'd never see one so the instinct that they smell bad is correct.
comment 13y ago · link · parent
Do people just prefer one function with a bunch of fiddly little enums or something?
comment 13y ago · link · parent
Besides, in the real world flat surfaces carry a gradient from their lightsource, truly uniformly lit, flat-texture surfaces are extremely rare and hard to orient visually.
comment 13y ago · link · parent
comment 13y ago · link · parent
I'm sure they could cut me off if they didn't like what I was doing, but they could cut me off at-will so it's not worth trying to read their mind.
comment 13y ago · link · parent