Thursday, June 18, 2009

i can has censorship

Our junta of incompetent politicians have passed the law that will now introduce censorship in Germany. Ignorant assholes.

zensursula

Sunday, June 14, 2009

device-mapper ate my linux installation

Just a quick note about the harm that you can suffer, should you try to install the “dmraid” package in your linux distribution: It’s EVIL! The problem is that for me it installed the dmraid signature in my harddisks last sector, so that Ubuntu’s initrd would automatically create useless mappings from…

  • /dev/sda –> /dev/mapper/NVIDIAxyzqwert
  • /dev/sda1 –> /dev/mapper/NVIDIAxyzqwer_1
  • /dev/sda2 –> /dev/mapper/NVIDIAxyzqwer_2
  • …and so on…

Everything completely pointless, and wrecking my distribution’s ability to boot. I usually run my self compiled kernels which exclude the device-mapper for this exact reason, but it’s not possible on my other PC for one reason or the other. And the final and correct cure is to boot with the greatest bootable live-system there is: GRML, and overwrite the harddisk’s last sector (which holds the signature) with zeroes:

# dmsetup remove_all # get rid of the mappings
# cat /proc/partitions

8 0 12345678 sda # your harddisk

# sdd bs=512 –inull of=/dev/sda oseek=12345677k count=1 # overwrite last block

Reboot and enjoy. Use this recipe at your own risk!

Pointless^∞

There’s a post over at slashdot about the Twitpocalypse… What it’s supposed to mean is that twitter, this stream of useless short-messages you can (or, if you are like me: you don’t) follow to be informed about the social life or bodily functions of your peers now has accumulated over 231 items, a number exceeding the range of a 32bit signed integer. I’ll never understand how anyone can care about such a thing, but it for sure made it’s inventors famous and rich. And there’s one comment about the stupid choice of words and names I think is especially hilarious (see screenshot).Slashdot Comment: Don't let Elmer Fudd find out about the Twitpocalypse.

Saturday, June 13, 2009

Vintage moving coil meter

20090611-salm-localdisplay I put some of my electronics garbage to good use, this pretty instrument was salvaged from the dumpster a long time ago. It displays Neper with a full range of +0.5Np at 40µA, 0Np at 24µA.