Nexus, Rails 2.2, I18n

Now I’ve finished off EVE Metrics’s indexes (Performance tweaks are nearly done, just waiting on a few external patches for various bits and pieces) I’m cracking on with Nexus. I figured a good thing to do would be to rewrite all my views, partly to tidy them up a bit in places, partly to ensure everything was written to W3C standards, and partly to implement Internationalisation (Otherwise known as I18n).

Rails 2.2 comes with I18n built in, so I’ve been using that. It’s a slow process, turning every string into it’s own categorised, indexed line. It’s all in YAML though, so I can easily work on it freehand without needing to worry about complex systems for storage. The one downside is I get to reload my development server to see changes to the pages, but that’s not too big an issue. It’s easy to use and works like a charm, so it fits the bill for my purposes.

Also, Rails 2.2 is thread safe! I’m interested to see what this does performance-wise on Passenger. Load on my server isn’t a problem but memory is my main concern- Passenger with Ruby Enterprise Edition works great by sharing common elements in memory to reduce usage, but thread safe Rails means I should be able to get away with running fewer servers in the first place. I’ll spend some time with JMeter and New Relic RPM at some point to see what the real-world gains are.

My next challenge is going to be creating a decent looking fittings/kill display interface. I’ve learned a lot working on the TacMap, and have some ideas for how I’m going to display fittings. I don’t think I’ll use the ingame fittings screen picture with overlays; it’s overly complex and imo there’s better ways to show fittings. Considering one of the main goals with Nexus is high performance and given the slashdot-effect style killboard spammings that occur whenever a big kill gets scored, I’d like to try and keep the SQL loading down to a minimum.

I’m also trying to work out what the best way of handling caching will be. My whole configuration system thus far is getting looked at sternly- I’m using Configatron, but think I need something a little beefier than that which supports some kind of webinterface for editing configuration values. Still, that’s a problem for another day.

On the EVE front, Shrike lost his titan. Again. In exactly the same way (cloaked off a gate). Yay.

Live Dev Blog – Fallout

So I sat in on a Live Dev Blog today. Well, what can I say? It was an exercise in futility. Coupled with the fact that t0rfifrans, our designated CCPian for the blog (and a hotly anticipated one at that, given his up-front and no-bullshit remarks surrounding ghost training), had to miss the blog due to his wife becoming hospitalised (thankfully for minor issues); this and Zulupark’s neat dodging of questions and Mindstar’s neat choice of questions lead me simply wanting more.

Maybe it was the way Zulupark touted ‘new gates’ as a major part of the next expansion. Let’s be honest- new gates are hardly shocking. Shiny, sure. Important gameplay change or vitally needed rebalancing? Nope.

Now, don’t get me wrong. Both Zulupark and Mindstar did a fine job in what was rapidly becoming a tricky situation. But CCP is in a rut right now, especially if you ask the playerbase what they think of recent decisions. CCP has been dodging the real questions and, while doing a great job occasionally, tainting the perceptions of players with decisions like disabling ghost training. Continue reading Live Dev Blog – Fallout

EeePC1000H Continued

Been spending a lot of time playing around with the EeePC. Overall impression has been universally awesome, and it certainly gets a few looks for it’s tiny size.

I’ve got it well and truly tweaked now, including two-factor authentication with pam_usb, motion-sensing CCTV on the webcam when the screen is locked, bluetooth proximity linked automatic locking/unlocking with my phone, conky on the desktop, compiz fusion and a nice custom dark theme based on clearlooks, plus some helper scripts to tune the fanspeed to something a little quieter than default.

My one complaint would be the keyboard. It’s hardly solid, and I’ve had one key skip off. That said, it’s on a par with most laptop keyboards. Recommendations for good, portable keyboards would be appreciated.

I’m also looking at how best to organise notes. I’ve been using Tomboy for now, but it’s got a few snags which kill it for me:

  • Notebooks are woefully underimplemented
  • Links are cross-notebook
  • Organisation is hard to achieve
  • Categories don’t exist, nor do tags or the like

So I’m down to A) write my own, or B) use something like WordPress, Radiant or Mediawiki to cook my own from another base. I’ve already got all my dev tools (and a whole crapload of wireless/network security tools, too :p) on the box, so running a webserver isn’t a problem.

I’ve been hunting around on eBay for a bluetooth GPS and a USB wireless device. I’ve found a Holux 236 bluetooth reciever which should work great with gpsd to connect to Kismet for wardriving and general Wireless-GPS correlation. I still need to hunt down a USB wireless card to connect up so I can use external aerials for my laptop, and then I think I want to get my laptop some power off my car’s 12V power, probably needing an inverter for that.