Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Blood For the Blood God! (Score 1) 64

And by 'Blood', I of course mean Money. ;) Those minis were not cheap. But Adeptus Titanicus was like a watered down Battletech, but in a good way. You spent more time playing and less time nose deep in rule books. And the mythos! They went deep and wide. A few years ago I was playing Blood Bowl online (soo much easier when the computer does the math for you) and last summer I got the Space Hulk video game for a song on steam (it's literally just the board game in your computer. Terrible video game, but awesome online game simulator).

I hope they stick around for a while longer.

Comment Meatdata (Score 1) 564

Filename extensions are embedding file metadata in the file name, which is never a good idea. It's a kludgy solution to a problem we had when computers were significantly less capable than they are now. The fact that we haven't already eliminated them is yet another indication of the sad state of original thinking in the current generation of software engineers. And yes I know that the original MacOS let you put metadata in the resource fork of the file three decades ago.

Submission + - Mississipppi Attorney General Conspires With MPAA To Revive SOPA (itworld.com)

jfruh writes: Mississippi Attorney General Jim Hood filed a subpoena last October seeking information about Google’s search and advertising practices in areas related to banned substances, human trafficking and copyrighted material. But a Federal judge has now quashed that investigation — and information from last fall's Sony leak made seemed to indicate that Hood had agreed to work with the MPAA to launch it in the first place, as part of a move to revive the reviled SOPA legislation through other means.

Comment Re:Java (Score 1) 407

That's handy. Maybe all those MQ servers I've had to deal with in the past will finally stop having to be rebooted every 3 days, if anyone ever gets around to updating them. I've been firmly in the C++ world the past couple of years and have kind of stopped looking at Java since Oracle started being such a dick about the language. If I pick up a java contract in the future, I'll have to familiarize myself with the new features.

Comment Re:c++? (Score 1) 407

boost::signal2 and boost::bind add signals and slots, too, and they seem more intuitive to use than QT's version. They've also been accepted into the language standard in C++11, though I'm still using the boost versions of a lot of the C++11 stuff for compatibility with older compilers. They make a great addition to library code -- I use signals in data factories to signal the availability of new objects. They're also pretty bulletproof in terms of type safety. The compiler will detect that you're trying to attach a incompatible function at compile time and you can adjust the parameters as you need to with bind. Just don't forget to pass the "this" pointer to objects!

Comment Re:Java (Score 1) 407

No destructors just kills java for me. Yes, I know you have things kind of like destructors that can run at GC time but they're not guaranteed to. That means I have to rely on the programmer to remember to call close before his object goes out of scope, and he's not going to be able to in all cases. That in turn means he's going to be leaking resources. Which seems to be why a lot of the production MQ servers I've seen pretty much HAVE to be rebooted every three days.

Some time ago I was working for a company that was using Jmeter for functional testing. Don't ask me why, but it seemed to be pretty effective for them. At some point they added an SSH sampler into the mix for it. This worked just fine when you were developing the test and running it from the GUI, but when we ran the test from the command line, it would hang when it should have exited. I went digging around in the ssh sampler code and found that he was closing his ssh connection in what passes for a destructor in Java. This was getting called when the GUI exited, but not from the command line. So the ssh connection would remain open and java would sit there not doing anything, so no GC event could ever take place. Essentially a deadlock with exit waiting ssh to close and that waiting on a GC to happen.

I fixed it by moving the ssh close connection to somewhere else, but it was still rather awkward and would prevent the ssh connection from being reused. You'd have to create a brand new one each time you wanted to use one.

Java seems to encourage this sloppy mentality that you don't have to worry about any resources because the language is garbage collected. If you're going to program in it correctly, it requires as much discipline as C++, and at least as much unit testing. I've met very few java programmers who have either.

Slashdot Top Deals

8 Catfish = 1 Octo-puss

Working...