Review: Jake2

31 08 2005

This is somewhat of a departure for me. I’ve been doing some work for my client that involves WebStart, a system that lets you deploy Java applications from a webserver without installing any local tools (aside from Webstart itself, natch). “A perfect avenue for games!”
So digging around, I started looking for games I could run via webstart (which, by the way, runs perfectly under Linux). I found Jake2.
Jake2 is a pure-java implementation of the Quake2 engine, from Id Software. If you have any interest in first person shooters, or haven’t been under a rock the last 7 years, you’ve heard of Quake. I had pulled Jake2 a while ago as a standalone app, and it was ‘okay’, but a bit bumpy. Since I still had my Q2 maps locally, I was able to just click on the Jake2 Webstart button on Bytonics webpage, say “Here are my maps” and I was off and running.
The game plays perfectly, with a high frame rate on my laptop, and seems to handle many of the issues of running “a full screen app in a window” quite well (the mouse motion does NOT move the ‘pointer’ off the window, and you suddenly stop moving, easy prey for the nasties lurking about).
I also was able to download a couple third party game maps, and install them into the baseq2 directory, and run around a bit. Only one caused Jake2 to crash out, and that could easily have been because of a bad map. The Id supplied maps were fine.
Next on the list will be to try using the networking code, and playing multiplayer. Moohahah.

Advertisements




The joys of Microsoft Exchange…

30 08 2005

My friend unalmas is an Exchange master. She deals with horrific system issues on a constant basis. She documents one particular week long incident, which just drives home how much I love being a Unix admin.





Java JNDI + Jboss + ssh help wanted!

30 08 2005

Well, I’m stuck on something. If you or someone you know is a JBoss guru, they should take a look at this posting and see if you or they can offer any help. I’m stumped. 😦





Computin in da Field

30 08 2005

Things are settling down a bit around Chez Geek, and I’m starting to get back into the rhythm of working on my laptop full time. Life things being as they are, it makes sense to really keep an eye on where in the area I can find to telecommute. This is more of a challenge than you might think. Not many businesses are comfortable with you just plopping down in their space and sitting for 4-6 hours straight.
Despite that, though, there are a few places that encourage this, or even invite it. Since today I was hanging around Waltham, MA, I decided to see what I could find in the area.
First step, since it was lunchtime, was the local Wendys. Surprisingly, I’ve had very good luck finding open WiFi access points around Wendy’s restaurants – I guess they just sort of invite the open-no-wep-key types to their locale. Today I found 7 (!) accesspoints in range, and easily connected up to one to keep in touch through lunch and a bit after. Alas, Wendy’s dining room chairs really aren’t that comfortable, so I decided to move on.
I had stopped by the Charles River Public Internet Center once before, but it was unfortunately closed at that time. This time the door was open, but the public area was being worked on, so I couldn’t sit down. These folks seem awfully nice, and I think I’ll explore doing more formal “Come here and work for a day” arrangements with them. The woman at the front desk was nice enough to point out a local coffee shop that had open WiFi, and was within walking distance, so off I went.
I ended up at “Cafe on the Common” (oddly, no website), right in the center of Waltham on Moody street. There was one other laptop-a-holic when I got there, so I settled into a comfy table, got a big bowl of coffee, and settled in to work. The net connection was a little bit twitchy, but I was able to get 2-3 hours of work in, whilst listening to lovely music.
I’m going to keep exploring other good spots around the area. Finding something a little further west would be nice, since I’ll be commuting to Sudbury Valley School for picking up Z when the school year starts – be nice to have someplace within striking distance of that.





Bill Withers is my new hero.

29 08 2005

“Use Me Up” is a masterpiece. Long before Mick Jagger and Hootie and the Blowfish covered it. I can just jam to it for ages. It’s only 2 chords, but what a great groove.





Does this make ANY sense?

29 08 2005

I’m not a computer scientist. I didn’t go to school to get letters by my name to learn how languages are built and designed, and I never wrote a compiler in my life. I’m just a fairly high end programmer who writes in high level languages, and builds large applications.
I’m certainly a big user of PHP – less so recently, but since Claimit is written in it, I’ve been getting my wheels back on it.
But, occasionally I run across design decisions that just don’t seem to make sense. Case in point, the ‘asort()‘ function. It sorts an array, in this case backwards (as opposed to sort). One would assume you’d use it like this:

$sortedArray = asort($oldarray);

Not so! This function works, does not throw any errors, but the resulting value in $sortedArray is ‘true’ (or ‘1’). The asort function returns a BOOLEAN value (successful completion of a sort??) What actually happens is the asort() function reorders an existing array. So in order to have a new version of the array sorted, or to sort the result of a function call, you use this tortured syntax:

asort($sortedArray = $oldarray);

In my case, I’m actually sorting the returned array from a function call, so we have:

asort($sortedArray = getFiles())

I understand this is a Perl-ism. That doesn’t mean it has to be perpetuated further on the masses. Ick.





Claimit and Domains

28 08 2005

Over the last few days, other people have started to use Claimit for managing giveaways. There’s a potential for this thing to pick up steam, and I need to do some more work on the code, but in the meantime I thought it might be nice to actually register a domain for it.
Twiddling whois, I see that ‘claimit.com’ is registered, but the associated ‘www’ site doesn’t have the standard ‘Buy this domain!’ crud all over it. So I fire off mail to the domain tech contact asking if they’d like to sell the domain.
I get a quick response (nice), saying “I have to check with my partners, but note it won’t be cheap.” Folks are STILL trying to cash in on this noise, huh? I sent back a very terse letter saying I don’t endorse profiteering from domain squatting, and went back to whois.
Well, lookee. ‘claimit.net’ is not registered. I’ll take that instead.
The next question was which registrar to use. Unfortunately, my recent experience with Register.com has been poor to disasterous (2 weeks to resolve a broken address pointer in their database), and their pricing scheme ain’t so hot either. So I decided to try Yahoo! Domains for this one. The process was truly slick, costing me $9.95 to reserve the domain complete with A and MX records hosted on their servers. I set up a forwarder so that hits to www.claimit.net will be redirected to claimit.stonekeep.com, and sat down to wait to see how long it’ll take to go into the master nameservers, and for DNS to propogate.
Answer: 23 minutes.
I’ve never brought up a new domain that fast before. Amazing. Stick that in your smoke and pipe it, mister domain squatter.