Wahnsinn. Wenn es "web 2.0"-Seiten wie das deutsche FacebookStudiverzeichnis nicht gäbe, dann würde der Mensch ja bekanntlich mangels zwischenmenschlicher Wärme verkümmern. Denn, nur für den Fall, dass man im Jahr 2006 eine Freundschaft nicht mehr über einem gemeinsamen Bier schließt, kriege ich gestern eine Mail, die sich wie folgt liest:

Read more…

Das haben ja schon 1000 Leute vor mir gebloggt. Aber für alle, die es dann vielleicht doch noch nicht gesehen haben und es interessant finden:

Read more…

Some Linux stuff; CC-licensed of flickr by Andrew Lewine; source: http://www.flickr.com/photos/andrewlevine/153752375/One thing I like about Open Source programs is that the programmers seem to have a little humor. This leads to things like the "insult" setting for sudo, which makes fun of you everytime you mistype the password. It's interesting to get messages like

"Maybe you should use more than two fingers, next time!

when you happen to hit the Enter key too fast.

Or, today I realized that another command works quite flawlessly:

who mom loves

gives you information about... you. Who else would mom love? Interestingly the Mac OSX programmers don't quite seem to have that kind of humor, so they just allow who am i, which also works on Linux.

Any other funny commands you guys know about?

Read more…

Auch Amerikanische Autos brauchen mal einen Ölwechsel. Und da meine Karosse zwischenzeitlich schon seit 3000 Meilen unter meinem Hintern sitzt, habe ich das dieses Wochenende mal in Angriff genommen (3000 Meilen, oder fast 5000 Kilometer, ist die Standarddistanz für Ölwechsel in diesem Land, und wer weiß wie lange da vorher keines mehr reingemacht wurde...).

Read more…

Nanu, das war kein Fruchtsaft, den die jungen Saudis da vor der Haustür getrunken haben, während sie ihre Shisha rauchten. Und das auf dem Uni-Campus.

Read more…

As you all know (or not, whatever), I am sharing files between all of my computers using a Linksys NSLU2, running OpenSlug.

Recently, however, I had a few problems because the power connection in my apartment was a little unstable. My whole town seems to have a very fuzzy connection, so power outages of a few seconds happen maybe once or twice a months, resetting all non-battery clocks. Until now, I just restarted the Slug, re-mounted everything in the Slug and on the clients, and it worked again until the next outage a few weeks later.

Lately, it turned into a bigger problem: The power did not go off all the way, but it flickered sometimes (read: daily), killing the poor Slug. Every bigger appliance (including "real" computers) didn't have a problem with that, however the Slug couldn't handle it.

So I asked for suggestions on the mailinglist, and Chacko came up with the idea to connect a few rechargable batteries across the output of the power supply, providing the slug with at least a few minutes of battery backup in case the power goes out, depending on the power consumption of the attached devices etc.

Let's build a custom UPS for the NSLU2!

I made a small sketch of how it is supposed to look like: NSLU2 battery backup <!--more--> I got the parts at RadioShack (you can get them on ebay, too, or wherever). This is what I needed:

  • 1 DC power plug (male), size N (don't let them tell you it's another one, I had to go back to get an exchange sigh)
  • 1 DC power jack (female), same size
  • 1 battery holder for four AA batteries, connected in series. Nice if it is closed (you don't need to get in there often) and a small on/off switch on there is a plus too.
  • 4 rechargable batteries, type AA, Ni-Cd or Ni-Mh
  • some wire to connect all that
  • the usual items to solder it all together (solder, soldering iron)

Heat it up!

Now the actual wiring is really easy. Connect the negative (black) connector of the battery holder to the negative (outer) part of the female connector, together with a short piece of black wire. Now connect the positive (red) connector of the battery holder to the positive (inner) part of the female connector, along with another piece of (red) wire.

Afterwards, solder the other ends of the red and black wire pieces to the male connector, red on the inside, black on the outside.

Close everything (and make sure you didn't produce a short circuit, if you don't want to fry your slug...).

Now you want to make sure when your new cable is plugged between the power adapter and the slug, the slug switches on as expected. If that works, switch it off again.

Now add the batteries. Again, connect power source and batteries, try if the slug works.

Now you can test if the battery backup works: Disconnect the power cord and see if the slug stays on. If so: Success! :)

A few thoughts

1) The batteries. As CN mentioned, the batteries will never get fully charged. That's good (so they won't explode and whatnot) but it means your "UPS" will not quite last forever, especially if your battery also feeds a harddrive via the USB port. But it should still give you a considerable amount of backup time until the batteries are empty. (We are speaking about tens of minutes).

Also, with Ni-Cd batteries, it could come to a memory effect (voltage depression). However, the NSLU2 wiki mentions the lowest voltage to run the Slug seems to be around 3.5 volts, which I expect to be reached even by batteries that have the characteristics of a "memory effect". Unlike "greedy" devices (like digital cameras etc), the slug might still work flawlessly with a less than ideal battery voltage. Additionally, the typical "memory effect" happens because of over-, not undercharging Ni-Cd batteries. In this case, this should not happen, because the voltage of the power supply (around 5V) is expected to be a little less than the one of four fully charged batteries (around 1.4V each, 5.6V total). If we are lucky, this keeps our batteries healthy for a long time.

For me, this seems to be the perfect solution. Since none of my other computers have UPSes, I can't access any files during a power outage anyway. But for the short power gaps that happen every once in a while (or very often, like in my apartment), the batteries will reliably keep the slug running until the power is back on.

2) The hard drives. Since my Slug does not feed the harddrives, I still have to find out what will happen when these become powerless and they are switched back on shortly after. Will they stay mounted? Will I still be able to connect to them without manual maintenance on the Slug? We'll see.

Acknowledgements

Thanks to Chacko (CN) for pointing out this simple yet effective possibility. And thanks to Jabba for helping me geek out and doing the soldering part professionally as usual. :)

Read more…

Da können wir ja von Glück sagen, dass wir nach 11 Tagen schon wieder weg waren: New York hat heute den Hitze-Notstand ausgerufen. Kein Wunder, die 105 Grad Fahrenheit (oder 40 Grad Celsius), die dort waren als wir umhergezogen sind, haben sich zwischenzeitlich nicht geändert.

Read more…

Wie versprochen wollte ich noch den ein oder anderen, unglaublich tiefsinnigen Einblick in die Eigenarten der Stadt New York bieten.

Read more…

If Jesus lived today, maybe he wouldn't be a carpenter. Maybe he would be a web designer. Or a sysadmin. One thing is certain, he'd use Linux.

And because modern Christians know that, they made a web page with the nice name whatwouldjesusdownload.com, hosting the Ubuntu Christian Edition. What else can a proud churchgoer want?

Besides, of course, a Christian game console. Since we all know, Jesus saves. Jesus saves t-shirt

The Brick TestamentNow if you'd like to take a look at something more serious, I can recommend you the Brick Testament, an illustrated bible, made by somebody called Brendan Powell Smith. He illustrates bible stories with pictures from LEGO figures, making them actually really exciting to read, even for people who are not into church -- the page reads itself like a comic book.

(wwjd link from Jabba, the brick testament from Jean Pierre. Thanks to both of you!)

Read more…

That's the hammer -- das ist der Hammer, wie wir Halbamerikaner (wahrscheinlich nicht) sagen würden: Ein paar wackere Karlsruher haben sich in professioneller Schutzkleidung auf die Straße meiner Unistadt Karlsruhe gewagt und einen Currywurst-Test gemacht, der seinesgleichen sucht:

Read more…