Archive for January, 2008

Geek pr0n again

Tuesday, January 22nd, 2008

Take one 3U server from SuperMicro, fitted with an Adaptec 31605 SATA RAID controller and 16 one-terabyte disks. Create a RAID 0+1 array for data storage, with 14 of these 16 disks. You get:

#available storage
[root@sam119 ~]# df -h /data
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 6.3T 941M 6.0T 1% /data

#write test
[root@sam119 ~]# dd if=/dev/zero of=/data/toto.txt bs=4096 count=2621440
2621440+0 records in
2621440+0 records out
10737418240 bytes (11 GB) copied, 38.8372 seconds, 276 MB/s

#read test
[root@sam119 ~]# dd if=/data/toto.txt of=/dev/null
20971520+0 records in
20971520+0 records out
10737418240 bytes (11 GB) copied, 31.7011 seconds, 339 MB/s

(See also the previous Geek pr0n entry, complete with JPEGs!)

SDL applications and Maemo’s Task Navigator

Thursday, January 17th, 2008

When porting an SDL game or application to Maemo, if you wonder why the app doesn’t show up in the Task Navigator (at the bottom left-hand corner of the screen), you need to do two things. Example with Biloba:
Match the SDL window’s WM_CLASS and the .desktop StartupWMClass, the easiest being:

  • biloba.desktop:

Exec=/usr/bin/biloba.sh
StartupWMClass=biloba

  • /usr/bin/biloba.sh:

#!/bin/sh
export SDL_VIDEO_X11_WMCLASS=biloba
/usr/bin/biloba

Then, the window will probably appear as unnamed in the task list if the application is full-screen, in which case forcing the WM_NAME helps.

Biloba ported to Nokia’s Internet Tablets

Wednesday, January 9th, 2008

Biloba is a little board game that I wrote a while ago for Guillaume Demougeot, its inventor. It’s free software, thanks to Guillaume’s willingness, and as such I’m glad to work on it from time to time…

I just finished the porting of that game to Nokia’s Internet Tablets (770, n800, n810). Get it here while it’s fresh!

Biloba

news for few, stuff no-one cares about