Sunday, November 22, 2009

No Brat with crackbrained Name on Board.

091121_121857

(as seen on a car on the grocery’s parking lot)

Wednesday, November 04, 2009

Ubuntu & Gdm make me angry.

I installed the new and shiny Ubuntu Karmic on my computer today. Now there’s a speciality: I run the same installation (on a 2nd harddrive) both natively on the computer, but also in a VirtualBox VM.

That’s actually not complicated to setup, and most of the things work out fine, but there’s a remaining wart, which is the X-server needs additional and different configs for native-mode and running under the VM.

In former times, I just set the X-server being run by gdm (in /etc/gdm.conf) to /usr/local/sbin/Xserver.sh and used that shell-script to launch the correct server (with a different config, or even the same config but different “layouts”).

Now the wise men of gnome (gdm programmers) and Ubuntu decided to hardcode the paths of every component involved… And I only found out after learning…

  1. that gdm no longer looks at /etc/gdm/gdm.conf, but rather is configured via the gconfd-mechanism
  2. that the X-server configuration is not included in the new mechanism, but rather a compile-time default is hardcoded
  3. that the X-server is not run directly, but rather via the wrapper /usr/bin/X, which is, indeed, configurable… but also lacks a configuration directive to choose which server to run.

So, again, in the sake of… “simplification”, or should I say dumbing-down, of their core programs, they made deviating from their “single user on a dedicated machine with internet dial-up” standard scenario even more painful. I might just use MS Windows then, because it basically adheres to the same “do what we have forseen and don’t deviate” belief.

Immediate update: One can adjust the symlink /etc/X11/X! Which isn’t documented (as far as I see) and also not as flexible as the original gdm.conf solution, but should suffice.

Saturday, October 31, 2009

Opera 10.1 Upgrade FAIL!

Opera just announced the existence of a upgrade to it. I told it to proceed, shorty after I noticed my (usually silent) PC to spin its fans vigorously…

 

OperaUpgrader_Fail OperaUpgrader_Fail_Cmd

This repeats whenever Opera is restarted, so I had to delete the offending file somwhere in %TEMP%. Great engineering, guys!

Broken Kepco Power-Supply

One of the reference values is much  too low, note the brown and crispy Zener.    

IMG_1103 IMG_1104 IMG_1105 IMG_1106 IMG_1108  img_1109_with_arrow

Update: Looks very shitty, but it works. I’ll replace those with real 6.2V Zeners the next time I order some electronics stuff.

IMG_1110

Saturday, October 10, 2009

LCD working

I spent a little while debugging my microcontroller code.

picture of everbouquet LC display module showing a simple bitmap graphics bitmap graphics that has been sent to the LC display module

Wednesday, October 07, 2009

LCD - Update

FT232 based serial port lcd with dummy text - and backlight advantage pc-board layout avr dragon programmer

Success! Even though I’m still scratching my head about the funny memory layout in graphics mode when using a 6x8 font. Time to read the datasheet (again).

Sunday, October 04, 2009

Graphical LCD Controller

New project: Using a Atmel ATmega168 to control a graphical Everbouquet LCD that itself uses a T6963C Controller. Right now it seems that I can read the status-register and data successfully. The integrated DC/DC controller (for the negative LCD driving voltage) powers up and delivers –9V.

 

IMG_1092 IMG_1093 IMG_1091

Tuesday, August 18, 2009

Monday, August 17, 2009

Vacation

urlaub 003

Currently on vacation.

Sunday, August 02, 2009

Copying VHS to DVD...

After fighting with Linux's v4l2, alsa, pulseaudio, mencoder, mjpegfoobarblahblubbtools etc.. I just borrowed one of those. Probably it will just work.

Tuesday, July 28, 2009

Sunday, July 26, 2009

Sunday, July 19, 2009

Breadboard

I started playing around with a breadboard. Until now, I never had done this, but I have to say, it’s kind of convenient. The only downside: I don’t have pre-cut cables, so I used the one from a big spool I found, but they are kind of pink-ish ;-).

img_0788

Saturday, July 11, 2009

Gainclone

It hums. And I’m annoyed.

IMG_0783 IMG_0784img_0786 20090712_gainclone_changed_resistor gainclone

What did I do on Saturday? Well, via the wonder of the web, I watched my friend burn both himself and his baby daughter with his home-made amplifier, then rail against excel and python in an attempt to print out some gradesheets. He eventually got so angry he threw himself out the window. He was in the basement, but you have to appreciate the attempt.

Update: I modified the last stage to have less gain (4 instead of 20), so it better matches my source, furthermore I added a 5k resistor at the input to have less input impedance. That helped a lot.

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.

Sunday, May 17, 2009

Pirate Bay Anthem

It might not be one with the most highbrow lyrics, but The Pirate Bay now has an anthem! YouTube Video, PirateBay News, mp3 torrent.

New Mascot

I got myself a new mascot. Somehow reminds me of the fabulous Creatures In My Head. Previously.

Sunday, April 26, 2009

News! (Olds?)

Ok, so there hasn't been much activity in this blog since... ages. I left the physicist's natural habitat (university) to work in industry. That said, I hope that the frequency of posts will rise now that I got accustomed to doing "real work". As prearrangement I already changed the subtitle of this blog, maybe I should also hold a "Blog Reader Kick-Off Awareness Meeting"?