Archive for the ‘Computers’ Category

Debug poem

Thursday, March 11th, 2010

Today I wasted two hours locating and fixing a trivial bug:

“Spent hours debugging my code, fixing hacks
but somehow mistook Math.min() for Math.max()”

Today I wasted 5 minutes trying to think of something that rhymes with “Math.max()”

Monkey Island 2 – Lechuck’s Revenge

Thursday, March 11th, 2010

I just got the piece of gaming news I’ve gotten so far in my life:

Lucasarts is releasing a special edition of the best adventure game of all time (Monkey Island 2: Lechuck’s Revenge) this summer :D

http://www.lucasarts.com/games/monkeyisland2

Trekwar cargo system

Sunday, March 7th, 2010

Today I mostly finished the Trekwar Cargo system, so now it’s possible to collect resources and bring them back to your starsystems.

Also included 4 images from the design and implementation of the UI:

Read full devblog post at trekwar.org

I love VPS.net!

Monday, March 1st, 2010

I recently moved all my php sites to a new server, about a month ago, and had previously used VPS.net for my jsp/svn/etc.. server for quite a few months.

Running tomcat and sql + a few other things have used up almost all the memory on my java server, so I was thrilled to find a mail from vps.net in my inbox today, stating that they will upgrade all nodes from 256 mb ram to 375, and add 200 mhz cpu :D

on VPS.net you create your own virtual server which is made up of 1-18 nodes (1 node = 256 mb ram, 400 mhz cpu, 10 gb disk). So it’s very easy to make new machines, or upgrade an existing one by adding more nodes (then just restart the virtual server).

The server has been extremely stable, fast (the site your on now runs on a single node) and only restarted once, the website it runs is being monitored and have not had any downtime. This is by FAR the best virtual (or even dedicated!) server solution I’ve ever tried, and I would absolutely recommend it for anyone who needs a virtual or dedicated server. 1 node is just 20$ per month, there are no sign up fees and you can cancel at any time (1 node will be able to host a good amount of http/php/mysql content).

And if anyone wonders, no I’m not getting paid by VPS to advertise for them :) They’re just so awesome that I HAD to mention it, there are so many crappy hosting / virtual server companies but these guys really are awesome :)

Google maps API

Tuesday, February 23rd, 2010

I was checking out Sven’s page, and found his awesome map of trails (“greenlanes”) in his neighborhood.

I have my own map, but this is on my google maps, so not really very user friendly or manageable, so today I decided to try and use the google maps API.

I’m pretty pleased with the result, a single .html file with almost only javascript. Now I can just export the paths and add a single line in the .html file and the new track will be added to the maps and menu. I’m going to add sorting of the tracks by difficulty, length and maybe based on their distance from Trondhiem sometimes later.

The page is very easy to use, and if you want to make a list of tracks (or any form of lines), just check out the page source code which has 3 simple instructions on how to get it working

I probably won’t be adding many tracks until around the start of May.

A new Hobby

Sunday, February 21st, 2010

I’ve recently started a new hobby, which involves tiny plastic beads :)

Everyone used to make stuff with “Hama Perler” when they were kids, but now that I’m grown up, it’s actually way more fun.

I’m currently making all the main characters from Monkey Island 2 (Just Guybrush and Stan so far), but Elaine, Herman Toothrot, Lemon head and the others aren’t far behind.

I’ll be adding pictures of the stuff I make on this picasa album

Trekwar sensor system

Thursday, February 18th, 2010

I haven’t had much time working on Trekwar lately, but I’ve recently made a prototype of the sensor system:

I’ll have to add this, as well as fog of war when I’m done with the fleet management tools which are almost ready.

> Read the whole devblog post @ trekwar.org

Star Trek Online update

Sunday, February 14th, 2010

So, beta is over, and I’ve made it to Commander level (not had much time to play). So far the game is pretty fun, but I’ll reserve judgment until I’ve hit endgame.

So meanwhile I’ll post my two favorite bugs from the beta:

Ground avatar in space instead of spaceship

and of course.. The eyes popping out while doing the dance emote :D

New server

Wednesday, January 20th, 2010

I set up a new VPS server last night with Debian + mysql + lighttpd to host all my php stuff (which so far has been on a shared hosting server, which is horrible).

Now this wordpress is running on the new server (Serenity) and it’s alot faster, and I’ll be moving 4-5 other wordpress installs over to this new server in the next couple of days.

That way I can do complete wordpress backups automatically for all wordpress installations and a full mysql dump automatically :)