Game: Sid Meier's Civilization
December 29, 2008
Oh I gotta love 90s games. VMCheat list provided here. (read more...)
VM Cheats
December 29, 2008
What are VM Cheats? VM cheat tables contain a game's state variables and their position in memory (and potentially savegame files, if I could find out), and with the use of a debugger or hypervisor, these variables can be externally influenced to cause the cheating. (read more...)
Type-checking casts in (GNU) C
December 24, 2008
This is word to let the world know that I have found a way to
make the C++ new-style casts, specifically static_cast<>
and const_cast<>, in (GNU) C (that's right, not C++). (read more...)
Reset Mac OS X password without install CD
October 25, 2008
Lost the administrator password? Here is how you reset it. (read more...)
Ubuntu 8.04.. annoyances part 2
August 19, 2008
Following up on part 1, the list of stupidities in this distro continues to get longer. (read more...)
A day at the Consulate
Friday, June 20 2008
There are not many postings on the Internet about what a consulate visit is going to be like, and for the few that are, there are some indefinite descriptions. Since I also had to obtain a visa for a planned internship in the US, here is a quick rundown of what to expect. [General Consulate in Frankfurt/Main, Germany]. (read more...)
Ubuntu 8.04.. annoyances part 1
June 09, 2008
No, I did not jump on the Ubuntu bandwagon, and a number of annoyances in it just made sure I am not going to get sucked into the unbunt hype. (read more...)
Update to “Writing your own Netfilter modules”
April 27, 2008
I have updated the “Writing your own Netfilter modules” document with a big chapter about targets and connection tracking since the last announcement (when it was still known as “Writing your own Xtables module” as it only covered Xtables). So everyone who is interested in this area is invited to have a look. Feedback is greatly appreciated. (read more...)
Using the serial port in VMware
April 25, 2008
VMware (Workstation 6) provides three ways to connect a virtual serial port, one of them is "output to a pipe", which is a misnomer and should be called "I/O from/to a socket". And that is where you can use the socat(1) tool to connect with. (read more...)
Most horrible build systems – Part 1
April 17, 2008
Source for X11 driver for Via Unichrome/CX700. Fugly shell
script that uses hardcoded paths and fixated kernel versions in almost every
single place and which no normal person should ever be required to grasp.
And there is absolutely zero information how in God's name one is supposed
to include /usr/include/xorg in the search path, because
apparently they have not. (read more...)
Connecting Pidgin to GoogleTalk
April 11, 2008
Trying to set up a Gtalk account in Pidgin a few weeks ago seemed complicated, and given the fact that it does seem ambiguous in what you have to enter, it seems to work. (read more...)
Fedora bugs timed out
April 04, 2008
It's obvious, Fedora does not care about certain bugs. I just got this automated Bugzilla message: (read more...)
Usable IPv4/IPv6 addresses
February 27, 2008
Though you can assign your interface arbitrary addresses, Linux refuses to route certain subnets. “Consider all addresses with the first three bits different of 000 and 111 as unicasts.” is a comment in the code that needs a bit of thought, conveniently, 2000::/16 – DFFF::/16 is usable, as is still the deprecated FEC0::/16 region. (read more...)
Presenting “Writing your own Xtables module”
February 15, 2008
“Writing your own Xtables module” is an extensively updated version (35 pages) of Nicolas's “Writing your own netfilter/iptables match” and is targeted for Linux kernel 2.6.23–2.6.25. I will update the document to reflect newer kernels as time passes and development goes on. (read more...)
Recompile gone wrong
December 19, 2007
skype: error while loading shared libraries:
libasound.so.2: wrong ELF class: ELFCLASS64 (read more...)
Fedora problems
August 25, 2007
Fedora is just the most problematic distribution ever. (But
I dare not switching to something that is not RPM-based.) It shall be noted
that I run Aurora, which is Fedora for SPARC — and they likely
just pull in whatever Fedora serves. I just checked the original Fedora 7
openldap-2.3.34-0.fc7.src.rpm to be sure, and yes, of course,
problem remains unfixed. Did someone even notice? (read more...)
Typedefs are bad
August 02, 2007
I had to look this one up again because it shows so damn nicely why typedefs are bad. Do not use typedefs for anything but complex declarations (like for when functions take or return function pointers). See http://lkml.org/lkml/2006/11/21/34 for it. (read more...)
Fedora – broken by default
July 21, 2007
This is a list of selected bugs or missing features that remained in Fedora for a loooong time. Also note the blame-udev mentality. (read more...)
Why you should NOT cast
June 16, 2007
People often write code like the following, and it's just
doomed to failure. Please do yourself a favor, run it, and never ever think
again about casting from a pointer to void * or vice-versa. (read more...)
Art Section
April 28, 2007
A new section "Art" has been added, and the "Scenery" was just merged with it. (read more...)
No cloneconfig needed!
April 12, 2007
Because a lot of articles, howtos, readmes and other sorts of text get it wrong, here's the stance: (read more...)
Checking out some other distros
July 09, 2006
I had tried SUSE Linux, various BSDies and other exotic operating systems like Solaris and Inferno before, but as far as Linux is concerned, I mostly stayed with SUSE Linux where possible. Of course, I already used other distros before, like RHEL on the GWD HPC cluster, or debian-sparc and Aurora on SPARC. Now that I wanted to try something different than SUSE Linux for x86, here are my experiences with two new distros, Fedora Core (FC5 at the time) and Debian (3.1r2). (read more...)
The perfect Sun disklabel
March 30, 2006
This is how the ideal Sun disklabel could look like. (read more...)
tmctl with SIOS
October 18, 2005
Here are now finally the temperature graphs from the rooftop: (read more...)
Glance at Solaris 10
September 30, 2005
So, I took the time to take a peek at Solaris 10 (x86). The boot process starts out with a black-on-gray screen. How ugly. Some xterm (and derivate) users might think that black-on-white was best since a paper printout is also black on white... but blah blah -- if black-on-white was so wonderful, how come we are still using a black background for more than 20 years now? Besides, I get a headache when looking at white backgrounds for long time, must be because of the brighter intensity. The boot prom on the SPARC architecture also has black-on-white, fine, but black-on-gray is absolutely suckage. (read more...)