Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Meh (Score 1) 32

Odd. I thought I'd react with more excitement to decent photos from another world. For some reason there's really not a lot of sense of wonder there. Maybe if that other world were a somewhat more interesting tourist destination...

Comment Re:Is MS *TRYING* to commit suicide? (Score 5, Insightful) 463

There is a tendency in corporate culture to drink the kool aid the top is serving. Take SGI. Perfect example. They had no clear strategy a bit over a decade ago and I outright confronted one of their sales reps about it and asked him why I should buy their products when I knew IBM would be around 10 years from now. He gave me some bullshit response that SGI had solid products and platforms and they were out of business less than a year later. If someone in the company had just said "We don't have a clear strategy and are going to get crushed by Sun and IBM if we don't develop one," a couple years earlier, they might have been able to pull it out. They did have some things they actually did better than other companies, they just chose to throw all that away and try to pursue the same course IBM and Sun were. Even Sun couldn't pull THAT shit off.

So maybe Microsoft DOES actually believe, in their isolated corporate culture, that their platform is strong enough to get away with the shit they're trying to pull. Gamers have no loyalty and everyone has already decided to jettison them. Some people are changing consoles, some people are going to PC gaming. Microsoft could save itself a lot of money and just scrap the entire Xbox line right now. If Sony offered an easy path for indie developers, the Xbox developer landscape would be a barren wasteland within a year.

Comment Re:Keep Some Rules In Mind (Score 1) 254

All you have to do to avoid system("rm...") is "man 2 unlink". There's a C API call for every function the OS can perform., It's just a matter of knowing about it or bothering to spend a second googling it. Though google wasn't really an option when some of these things were written. "apropos rm" would probably turn up "man 2 unlink" too, if you knew about apropos.

Comment Keep Some Rules In Mind (Score 5, Insightful) 254

1) Just because your predecessor was paid to program doesn't mean he craps daisies and unicorns. I have often gone in with the assumption that the guy before me knew what he was doing. Quite often I find I was wrong.

2) Just because the code is awful doesn't mean it has no value -- No matter how bad it is and how difficult it is to read, if it works at all it has probably got years (maybe even decades) of bug fixes and feature requests. Until you have a handle on it, any little change could cause a catastrophic cascade of side-effects.

3) No, we don't need to rewrite it. See 2. A working program now is worth more than all the pie in the sky you can promise a year from now.

4) It takes 6 months to have a reasonably good grasp of any moderately complex in-house application. It could be a year before you get to the point where someone can describe a problem and you immediately have a good idea of where in the code the problem is occurring and what functions to check.

Maintenance programming is as much about detective work as anything else. The only clues you have about the previous programmer are his source files. Once you've read them for a while you can start to tell what he was thinking, when he was confused, when he was in a hurry. Most of the atrocious in-house applications have changed hands several times and each programmer adds their own layer of crap. You can redesign these applications a chunk at a time until nothing remains of the original code if it's really bad, but it's best to save really ambitious projects until you understand the code better. I heartily encourage the wholesale replacement of "system()" calls with better code immediately, though. In several languages I've run across these calls to remove files, when they could have simply called a language library call (Typically "unlink".) If the original programmer used system("rm...") you can pretty much assume that they were a bad programmer and you're in for a lot of "fun" maintaining their code.

Comment Re:Time for a new food source (Score 1) 322

I think if I had a bunch of dead humans to process into food, I could make something more appetizing than Soilent Green. Like Greyfox's "pork" jerky. In teriyaki and pepper flavor! And unlike pork, which has had pretty much ALL the delicious fat bred out of it, the local supply of humans should be wonderfully marbled! At least for the next couple of decades anyway. I got the best "pork" jerky anywhere, bitches!

Sure I could outsource production to China, but whenever I eat Chinese, I'm hungry again an hour later! (Dunno who I stole that from, but kudos!)

Comment Re:...and despite all the benefits I wonder (Score 1) 160

Socrates had the same dim view of "kids these days" a few thousand years ago.

I don't think you're seeing a gaming problem there. I've seen the same escaping-reality behavior with books and television. If your life isn't particularly rewarding or interesting, you'll seek it out somewhere else. You say he's seeking out a non-valuable sense of achievement, but has anyone ever provided him a particularly valuable one? The endemic problem you think you've identified might have more of a basis with our society as a whole than any particular symptom you've identified. Most people have pretty boring lives. Rather than complain about it, why not actually try to make your nephew's life more interesting?

When choosing your OS, you choose the best tool for the job. So who's worse, the guy who refuses to consider any other operating system, or the guy who installs the one that lets him use his computer for what he wants to do? If you want to play games and identify Linux and OSX as weak at gaming, it'd be kind of silly to install them. I like to run Linux in a work environment, but most places have windows-specific requirements for E-Mail and other applications. You can spend a lot of time trying to work around some of the limitations with wine, or you can just use Windows and install cygwin. Identifying the right tool for your particular job isn't a weakness. And demanding that everyone else use the tool you find to be best for your particular job isn't a strength.

Comment Re:Glad to see some real pushback (Score 5, Insightful) 323

It's just because they got caught. We were all screaming about Carnivore back in the 90's and no one listened. The histronics associated with the realization that various TLAs are listening to all communications are disingenuous at best or the result of really, really bad journalists at worst. This story is not a story. It was a story two decades ago.

Slashdot Top Deals

Trap full -- please empty.

Working...