09.29.06
JAOO 2006, Århus
So JAOO is approaching fast (this sunday actually) and I’m actually attending. It’s gonna be a lot of fun
Lots of goods to see and I find the following tracks especially interesting: Open Source Enterprise Java, What Makes Ruby Roll?, SOA – What’s Left to Say? and Java Rich Client Development. But that is subject to change when I actually arrive. I will also be attending the Test-Driven Development tutorial on sunday.
Also, I hope to be able to meet some old friends in Århus, which is always nice.
09.22.06
Warhammer 40.000 Epic.
Lacking time and people to play with, I have decided to auction off my epic 40k figurines. If you, dear reader, know someone who plays Epic or warhammer in general, please point them in this direction.
09.14.06
A New Screen of Death for Mac OS X
Hey! Seems like I can get my mac to display naked women if it kernel panics! /me investigates….
Link: A New Screen of Death for Mac OS X
09.07.06
Compiling python-ldap on Debian sarge
I tried installing the python-ldap package on our servers today, running Debian sarge. It wouldn’t compile. I got the following error:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.2.0 -IModules
-I/usr/include -I/usr/include/python2.4 -c Modules/errors.c -o
build/temp.linux-i686-2.4/Modules/errors.o
Modules/errors.c:25: error: size of array `errobjects' is negative
error: command 'gcc' failed with exit status 1
And thanks to this posting to the python-ldap dev mailing list, I was able to fix it with the following patch:
--- python-ldap-2.2.0~/Modules/errors.c
+++ python-ldap-2.2.0/Modules/errors.c
@@ -17,9 +17,16 @@
/* list of error objects */
+#if LDAP_VENDOR_VERSION>=20200
+/* OpenLDAP 2.2+ defines negative error constants */
#define LDAP_ERROR_MIN LDAP_REFERRAL_LIMIT_EXCEEDED
#define LDAP_ERROR_MAX LDAP_OTHER
#define LDAP_ERROR_OFFSET -LDAP_ERROR_MIN
+#else
+#define LDAP_ERROR_MIN 0
+#define LDAP_ERROR_MAX LDAP_REFERRAL_LIMIT_EXCEEDED
+#define LDAP_ERROR_OFFSET 0
+#endif
static PyObject* errobjects[ LDAP_ERROR_MAX-LDAP_ERROR_MIN+1 ];
Apparently, python-ldap v.2.2.0 isn’t completely compatible with openldap v. 2.1.x, but that patch seems to fix the compilation issues at least.
09.04.06
Linux and Counter Strike: Source
My brother is in a CS clan called DV. They wanted to host their own CS servers. With hardware for about 15.000kr and a dedicated line at jay.net they thought they had what they needed. The server is installed with Ubuntu 6.06 server.
However, it would only provide about 50fps no matter how the CS server was configured. Scouring the net, they discovered that they needed to recompile the kernel with 1000hz support instead of 100hz (default). But they did not have the needed Mad Linux Skillz. So my brother asked me if I would do it. And so I did. Read more for a tale of Counter Strike and linux!
MeshCube page
I have created a page on this site, dedicated to the MeshCube, and what I have been doing with it. It can be found in the menu on the right or here.
Update: Page deleted.
By popular request: Girl caught stripping.
I mentioned to my brother that I had seen a video online about a girl caught stripping. I did not provide a link which he found very impolite. So here it is.
09.01.06
MeshCubes
I was recently offered a MeshCube at a reasonably price. And all I can say is: “Uhh, Shiny!” (Well, it isn’t actually shiny, but it has that effect on me). Some specs:
- Small: 7×5x7cm
- Uses very little power: ca. 4-6W
- 100Mbps Ethernet
- USB 1.1
- 400MHz MIPS cpu
- 32MB Flash
- 64MB RAM
- It runs Linux
- Two mini-pci expansion ports
My plan is to expand it with a wireless card and a firewire or usb2.0 card. Then I have a wireless router / access point / network storage. I think it could work really well!
One drawback with these MescCubes is that the manufacturer (4G Systeme) has abandoned them. There is no support nor will they work on a new version of the Linux distro they run, called Nylon. But the drivers and everything is open source and both of my colleagues, Mikkel and Niels Christian, find these cubes very interesting. It will be fun to see what we can make them do
. Perhaps playing with OpenWRT is a possibilty?
Also, we may have some additional cubes available! It seems that Niels Christian knows the people behind the Meshcube and is able to get hold of a few more cubes, which we could offer to friends at reasonable prices!