Stæsj

February 14th, 2010
Android Market

Whipped up a small notes application like the one we used to have on our Palm pilots (memo pad?). All I needed was a quick way to write “eggs, milk, cheese and apples” and run to the store. My fingers are too fat for the Hero’s on screen keyboard to type fast.

I put in onto Gitorious.org, planning to release it under the Boost license, as it is one of the free’est I know of… compile it yourself or grab it from the Android market, it is currently in beta.


Leilighet til salgs

January 8th, 2010

Colletts Gate 54

Så var vår kjære leilighet lagt ut på finn.no, så kjenner du noen som trenger leilighet i Oslo, så send dem linken under:

http://www.finn.no/finn/realestate/object?finnkode=20447011

Trenger et ekstra soverom… ;-)

Ønskeliste til jul

December 1st, 2009
  1. Ullundertøy
  2. Lue (jeg fryser)
  3. Håndstøvsuger
  4. DAB/Internettradio til kjøkkenbenken
  5. Single malt (helst noe med litt røyksmak)

MElephant Chess V 0.2 – update: 0.2.3 out, improving broken AI in 0.2.2

September 5th, 2009

Melephant 0.2 During playtime at work, I ported the Melephant chess Qt designer plugin (used in 0.1) to run on an ARM-based device, and a collegue played it, killing it in 15 moves. Since the processor was quite a bit slower than the intel CPUs I originally developed it for, the AI could only do 3 ply (look 3 moves ahead), which was the same as “novice” in v 0.1. Personally I suck at chess and occationally loose in novice mode :-P …but it showed that it needed to be faster!

So I had to make 0.2, adding:

Code optimisations – profiling the code in valgrind resulted in several code optimisations, including rewriting the container for pieces on the board and caching the king position, as it is checked often, searching the array for it was actually a bottle neck.

Improved AI - To be honest, most time was spent on code optimisation, but the AI also got quiescence searching, implemented so we never stop searching on capturing moves. Iterative deepening was added to allow more efficient alpha beta pruning.

Also added an application icon that looks like crap that you can put on your desktop, and better piece selection so it works well with cursor keys. Another AI level was unlocked – “Easy Plus” – try to beat it … I can’t (but then again I suck at chess, maybe I’ll manage before 0.3).

Download the executable for Windows HERE: MElephant-0.2.3.zip.

If there is demand for it, I can upload a Linux/Mac version, after all I did develop it on Linux mostly.

Diskdigger redder dagen

August 1st, 2009

Var på ferie i London hvor vi tok endel bilder, dessverre lånte en full dame kameraet og formatterte minnekortet. Søkte litt rundt på nettet og prøvde noen freeware-programmer for Vista (ja uff…), kom over dette kjekke programmet og det fikk ut alle bildene igjen! Helt gratis! Wohoo! Og her sitter vi i Hyde park:

Afternoon tea i Hyde park

Afternoon tea i Hyde park

Flaskevann

July 19th, 2009

Endelig noen som har skjønt det … å kjøpe flaskevann for 20 kr flaska når man, i alle fall her i Norge, kan fylle flaska med like bra eller bedre vann fra springen er galskap! Slutt!

Protected: Magne og Heidi 30+30

May 4th, 2009

This post is password protected. To view it please enter your password below:


Chess

March 6th, 2009

Started writing an Chinese elephant chess game, ended up with a normal chess game, well, here is a snapshot of it: MElephant-0.1b.zip. It’s ofcourse in pre-beta, but seems quite stable while playing. Tell me what you think? I sometimes even have a problem beating it at easy, though it seems to be a bit eager to stalemate itself… I can probably make a mac and linux version too due to the use of the LGPLed Qt 4.5 for the tiny UI for it, and boost for the rest (including the written from scratch ai library and rules-library). It uses simple alpha-beta pruned minimax for the searching for now.

I will make it play Xiang qi aswell soon I think, it was designed to be able to do both.

snapshot.PNG

Have fun :-)

One step closer to holodeck

April 12th, 2008

Cyberwalk omnidirectional motion platform

Slashdot today had a cool entry on real walking in virtual reality.  Looks like an important component of the upcoming holodeck I’ll have in the basement of the house we might buy one day… they had hidden a video on the site (http://www.cyberwalk-project.org/):

http://www.cyberwalk-project.org/img/Media/CyberCarpet.mpg

More videos of the thing available here (warning site in Germlish):

http://www.amm.mw.tum.de/index.php?id=250

It’s just a shame it’s so big…

So what’s happening?

April 11th, 2008

Apparently not much…

10 Writing code to pay for beer and unhealthy food

15 Eating unhealthy food and drinking beer

20 Going to the gym to get rid of the beer belly

30 sleep

40 GOTO 10 Read the rest of this entry »