Category: Programming

  • This info is available elsewhere on the web, but it was hard to find, so maybe reposting it here will make it easier (and if I need it again, I’ll be able to find it myself!). If you are trying to use BitmapData.draw() to create BitmapData based on some file that you loaded from a…

  • Just a little note that if you need to prevent near-plane clipping while moving the camera into your volume, there seems to be a simple way to achieve this effect (in OpenGL): simply enable GL_DEPTH_CLAMP while rendering the front and back faces of the bounding volume you are casting from. There may be a better…

  • This is more a case of posting here to remind myself, but maybe it will help someone out. I just ran into a case where QuickFIX/J seemed to be stacking up endless messages in a LinkedHashMap object (messageQueue) in SessionState.java (discovered using a heap dump and the helpful Memory Analysis Tool from Eclipse) and spent…

  • I’ve had occasion to play around with FreeSwitch lately and was looking at implementing a directory of extensions on the main menu, and so I set up Brian Snipes’ example Lua directory from the FreeSwitch wiki. I didn’t like the fact that the extension list was hardcoded, so I replaced the names{} table with the…

  • I’ve recently been playing around with the SIMILE Timeline visualizer for XML data, which is pretty neat. I had one minor little gripe with it, which is that I wanted to be able to use data from an XML string in certain cases where I already was working in the context of an XSL stylesheet…

  • If you are running Linux and you change from a DHCP setup to a static IP address on your local network, and then at some future time your ISP changes your external IP address and your internet slows to a crawl, you might find it useful to know that your resolv.conf file probably contains the…

  • I was pretty happy to discover that the latest releases of MySQL (5.0+) allow for creating VIEWs and offer improved subqueries. I’ve been trying to incorporate some of this into my latest little game project, but a few irritations in MySQL are making it a miserable process. The biggest problem is that the new MySQL…

  • It’s been a couple of weeks since I posted, so just thought I’d let everyone know what I’m up to. I’ve finally gotten back on the writing roll, pushing 45,000 words on my current writing project – a second novel. It’s a sci-fi novel, a bit cyber-punk maybe, with a lot of action. The basic…

  • If you’re an Earth: 2025 player, you might be interested to know that I’m remaking the game. There have been a number of problems with it that have gone unrepaired despite player complaints, so I’ve always wanted to address them. The idea has been on the back burner for a few years, and I’m finally…

  • I released a 0.01 version of NateOffice today. The administrative side is still buggy as hell (thank the gods for phpMyAdmin) but the user side is working quite nicely, in my honest opinion. Still a hell of a lot of work to do, but at least maybe some people can start playing with it now.…