s9y

February 25, 2005 | Filed Under Computer | No Comments

Beim gestrigen LUUSA Treffen hielt Garvin Hicking einen Vortrag über das Weblog System Serendipity, worauf Waldemar unter anderem letzte Woche gewechselt ist. Wie Nucleus und Wordpress basiert es auch auf PHP, bietet aber ein paar interessante Features, wie beispielsweise eventbasierte Plugins oder eine vollständige Anpassung mit Hilfe von Smarty-Templates. Der Vortrag wurde insgesamt sehr gut aufgenommen und verleitete mich schließlich auch zu einer Installation von Serendepity. Die Konvertierung aller Wordpresseinträge und Nutzerdaten verlief reibungslos und der aktuelle CVS Snapshot der anstehenden Version 0.8 macht auch schon einen stabilen Eindruck.
S9Y bietet über eine Installation des Plugins Spartacus die Möglichkeit weitere Plugins direkt aus dem Netz zu ziehen und zu installieren. Plugins können allgemein alle mit einem Klick in der Weboberfläche installiert werden, was recht praktisch ist. Einige Plugins sind aber anscheinend noch nicht an die CVS-Version angepasst.

Ein paar Dinge, die imho noch verbesserungswürdig sind:
- Bessere Integration einer Linkverwaltung - Dies ist bei Wordpress sehr nett gelöst, für s9y gibt es die Möglichkeit dies über das Linklist Event Plugin und den Event-Ausgabe Wrapper zu lösen
- Plugin für das Bloggen via E-Mail - bisher gibt es ein externes Skript, was diesen Task auch erledigen soll
- Option zum Generieren eines neuen Passwortes, wenn man sein altes vergessen hat - Praktisch bei Verpeilung und aktiver Aufmerksamkeitsspanne von 30 Sekunden, wenn man sich nicht mehr an das Installationspasswort erinnern kann
- Deaktivieren der E-Mail Adresse aus dem RSS Feed
- Übersichtsseite mit nützlichen Informationen, wie letzte Kommentare, Anzahl aller Einträge, etc. - ist lt. Garvin bereits in Planung

Technik funktioniert nicht

February 25, 2005 | Filed Under General | No Comments

Ich bin es ja gewohnt, dass Technik einfach mal versagt. Was mich allerdings immer wieder in Erstaunen versetzt, ist die Hilflosigkeit und die Einführung von Workarounds, mit der wir einem Ausfall dieser Technik begegnen.

Der lokale Stüssgen hat beispielsweise einen dieser tollen Hightech Flaschenrücknahmeautomaten. Lustigerweise wird auf einem Schild auch extra noch mal auf das unkomplizierte Zurückgeben und der Vermeidung von Wartezeit bei der Rückgabe der Flaschen hingewiesen. Real ist es aber so, dass Mitarbeiter teilweise zu absurden Workarounds greifen, weil das System mit den zurückgegebenen Flaschen nicht klar kommt. In der Vergangenheit ist es schon mal vorgekommen, dass der Automat partout eine Kiste nicht akzeptiert. Ein Mitarbeiter kommt dann plötzlich aus dem nichts mit einer Leerkiste (= Referenzkiste) und schiebt diese in den Automaten und verschwindet mit der eigentlichen Kiste im Labyrinth des Supermarktes. Heute streikte der Automat komplett. Selbst nach einer intensiven 10-minütigen Reinigung reagierte der Automat äußerst störrisch auf Einzelflaschen. Workaround war dann hektisch auf den einzigen Knopf des Systems zu drücken und das System durch Ein- und Ausschalten zur Ausgabe eines Bons zu bewegen.
Man hätte die Flaschen ja auch einfach per Hand entgegennehmen und dem Kunden einen Papierzettel ausstellen können, aber scheinbar ist das nicht mehr vorgesehen.

Der Flaschenrücknahmeautomatengeist schien sich dann das automatische Haltestellenansagesystem meines Nachtbusses als Nachtlager gesucht zu haben. Nachdem der Bus schon mit Verspätung ankam, verbrachten wir eine geschlagene Viertelstunde und wiederholten Ein- und Ausschalten der Elektronik um das System in Gang zu bringen. Vergeblich. Der Workaround bestand dann in einer Empfehlung des Busfahrers intensiv aus dem Fenster herauszuschauen und ihm Bescheid zu geben, wenn man aussteigen möchte.

Sigh… Sklaven der Technik.

Anwendungsformen von Oropax?

February 24, 2005 | Filed Under General | No Comments

Nachdem Waldemar von schlaflosen Nächten auf Grund von Scotties Schnarchen berichtete und Dave auch schon angedroht hat, in diesen Kanon einzustimmen, setzte ich noch Oropax auf meine Packliste für die anstehende Fosdem. Also machte ich mich auf in den Drogeriemarkt, um die logischten Orte zur Aufbewahrung von Oropax zu erraten und aufzusuchen. Da dies leider nicht zu einem Erfolg führte, verriet mir eine Angestellte schließlich vertrauensvoll, dass sich Oropax bei den Kondomen befindet. Und tatsächlich, inmitten von bunten Verhüterlis fand sich Oropax. Gibt es etwa noch weitere Anwendungsformen von Oropax die mir bisher nicht bekannt waren?

Chaostheorie

February 24, 2005 | Filed Under General | 1 Comment

Fiel mir gerade beim Aufräumen ein:

Der Übergang von der Ordnung zum Chaos ist einfacher als der Übergang vom Chaos zur Ordnung.

power of web-bloggers

February 21, 2005 | Filed Under General | No Comments

There has been a recent scandal in the U.S. where liberal bloggers uncovered journalist Jeff Gennon’s delicate part time job as a call boy. SPON has a German article about it.

The Daily Show, which is getting increasingly popular even outside of the U.S., takes a more humoristic side on this and even makes fun of the power of bloggers.

Things you don’t want to see

February 21, 2005 | Filed Under Computer | No Comments

Things that you don’t want to see in your hourly logcheck report are messages like that:

Feb 21 00:08:49 sensord: Sensor alarm: Chip w83781d-i2c-0-2d: fan2: 4299 RPM (min = 5000 RPM, div = 2) [ALARM]
Feb 21 00:09:49 sensord: Sensor alarm: Chip w83781d-i2c-0-2d: fan2: 7584 RPM (min = 5000 RPM, div = 2) [ALARM]
Feb 21 00:10:49 sensord: Sensor alarm: Chip w83781d-i2c-0-2d: fan2: 7417 RPM (min = 5000 RPM, div = 2) [ALARM]
Feb 21 00:25:51 sensord: Sensor alarm: Chip w83781d-i2c-0-2d: fan2: 7848 RPM (min = 5000 RPM, div = 2) [ALARM]

There seems to be a bug in sensors where an alarm condition is not always recorded properly. I guess that the fan speed drops below 5000 rpm, then triggers the alarm but speeds up rather quickly again. Anyhow, either sensors is totally buggy or the fan is broken. The machine is rather old, pentium 2 (350 MHz), so I fear that it is the later.

Zusammengezählt wird am Ende…

February 21, 2005 | Filed Under General | No Comments

Besser hätte man es nicht skripten können: Der Wahlausgang in Schleswig-Holstein. Da läßt sich Peter Harry Carstensen (Namensreihenfolge äußerst wichtig, wie “Heute-Journal” Zuschauer gelernt haben) schon mal als neuer Ministerpräsident feiern, die üblichen Verdächtigen geben die üblichen Wahlkommentare ab (Zeugnis einer verfehlten Politik, Wir konnten unsere Stammwähler nicht motivieren, usw.) und 4 Stunden später, sieht wieder alles anders aus. Eigentlich sollte die CDU ja von Kanzler “Wir haben die Wahl gewonnen” Stoiber eine Lektion gelernt haben: Prognosen und Hochrechnungen sind Schätzungen. Zusammengezählt wird am Ende und dementsprechend sollte man vielleicht nicht immer ganz so großkotzig auftreten. Und welch Ironie, letztlich wird eine dänische Minderheitspartei für den Wahlausgang entscheidend sein.

Das Hackergotchi ist zurück

February 20, 2005 | Filed Under Computer | 1 Comment

Zeit für was Lustiges: Hackergotchis. Planet bietet die Möglichkeit Hackergotchis, das sind kleine Fotos der Blogger, einzubinden. Wouter Verhelst hat ein kurzes HowTo, wie man sich beispielsweise aus einem Passfoto und ein wenig Gimp-Bastelei ein eigenes Hackergotchi erstellen kann.

Das fertige Foto (vorzugsweise PNG und nicht größer als 75×100 Pixel) packt man in den Ordner /var/www/luusa/planet/htdocs/images auf sailormoon. Danach nur noch die config.ini Datei unter /var/www/luusa/planet/planet-luusa/ anpassen und die nächste Aktualisierung abwarten.

Importance of music

February 19, 2005 | Filed Under TV+Movie | 2 Comments

As a huge 24 fan, I came across the 24 soundtrack. I have listened to it over 60 times according to audioscrobbler in the past weeks, so I think i like it. The collection of tracks is very well chosen. My favorite tracks are LA at 9am, Jack on the move and Season Three Finale/Jack’s Humanity. It is amazing how music can influence the mood of a scene.

This reminded me of the dvd release of the tv show called Roswell. According to the producers they had to replace lots of the original background music due to licensing issues. Apparently they did not buy the rights to put those featured music tracks on the dvds and they had the option to either buy a license for every track (which would have been quite pricy) or replace the music with other tracks from other artists. Many fans were outraged by this because they had seen episodes over and over again and were so used to the original music and felt that a lot of the atmosphere was just missing.

Dentist appointment

February 18, 2005 | Filed Under General | No Comments

I had my half-yearly dentist appointment today. There are lots of people that are afraid of going to the dentist. Not me - I always have to think of the Mr. Bean episode where he has to go to the dentist and eventually fixes his teeth problems on his own. So, if you are afraid of going to a dentist, watch the episode before you have to go. It really helps.

a picture says more than a thousand words

February 16, 2005 | Filed Under General | No Comments

After way too much beer, we got a picture from a local pub celebrity, that is commonly known as the alle-mal-malen man. He even has his own web page. This really nice drawing should appear there in a couple of days as well.

images and wordpress

February 14, 2005 | Filed Under Computer, General | No Comments

Well, installing a picture plugin for wordpress was not so difficult. And yes, contrary to common belief: I do own a drivers license.

wordpress plugins

February 13, 2005 | Filed Under Computer | No Comments

There are different useful resources for wordpress plugins.

The following urls are links to wordpress plugins:

http://wiki.wordpress.org/Plugin,
http://dev.wp-plugins.org/wiki/PluginDirectory

A really cool plugin is the WP Plugin Manager. It provides a one-click installation feature for some plugins and contains an update function, where it automatically checks, if there are newer plugin versions available.

For german speaking users the german portal http://wordpress.de/ is also worth a visit.

utf8 problems on planet continued

February 13, 2005 | Filed Under Computer | No Comments

Unfortunately, Sebastian’s hacks to feedparser.py did not solve our utf8 problems for good. Waldemar’s latest blog entry caused another error. The sf.net version of feedparser.py contains critical api changes and therefore is not a drop-in replacement. Fortunately, Scott’s latest devel version contains the necessary changes to the planet infrastructure, so we should have full utf-8 support. One downside, Scott’s version does not contain support for channel keywords, so my dirty hack[tm] for category support, which was based on that feature does not work as well. If anyone is interested in implementing category support, go ahead!

Oh, and I’ve added links for rss feeds for planet.luusa.org.

valid rss feed

February 10, 2005 | Filed Under Computer | No Comments

While investigating the feed import problem, I’ve noticed that feedvalidator.org throws an error with the generated wordpress rss2 feed. One easy fix is to change the following line in wp-rss2.php
from:
header(’Content-type: text/xml’, true);
to:
header(’Content-type: application/xml’, true);

[Valid RSS]

Update: There is another issue with Wordpress and the validator, most wordpress feeds don’t validate due to this error message: Response includes bad HTTP header name: “last modified”
Apparently this can be fixed through upgrading to the latest version of Wordpress, 1.2.2.

problems importing some feeds

February 10, 2005 | Filed Under Computer | 1 Comment

As some may have noticed, importing entries from rss feeds to planet #luusa fails sometimes. planet.py seems to choke on some characters in an url, the traceback is the following:

Traceback (most recent call last):
File “/var/www/luusa/planet/planetlib.py”, line 240, in cache_read
self.update(cache_uri)
File “/var/www/luusa/planet/planetlib.py”, line 184, in update
self._update(baseuri, data)
File “/var/www/luusa/planet/planetlib.py”, line 288, in _update
feed.feed(data)
File “/usr/lib/python2.3/sgmllib.py”, line 95, in feed
self.goahead(0)
File “/usr/lib/python2.3/sgmllib.py”, line 134, in goahead
k = self.parse_endtag(i)
File “/usr/lib/python2.3/sgmllib.py”, line 293, in parse_endtag
self.finish_endtag(tag)
File “/usr/lib/python2.3/sgmllib.py”, line 333, in finish_endtag
self.unknown_endtag(tag)
File “/var/www/luusa/planet/feedparser.py”, line 358, in unknown_endtag
method()
File “/var/www/luusa/planet/feedparser.py”, line 778, in _end_content
value = self.pop(’content’)
File “/var/www/luusa/planet/feedparser.py”, line 480, in pop
output = resolveRelativeURIs(output, self.baseuri)
File “/var/www/luusa/planet/feedparser.py”, line 897, in resolveRelativeURIs
data = p.output()
File “/var/www/luusa/planet/feedparser.py”, line 853, in output
return “”.join(self.pieces)
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 4: ordinal not in range(128)

Maybe someone has time to look into that problem and provide a fix.

Hello wordpress!

February 10, 2005 | Filed Under Computer, General | No Comments

Since the majority of planet #luusa uses wordpress I’ve decided to give it a shot and try it out since there were some functions lacking in nucleus, like posting into multiple categories or an easy way to generate a full rss 2.0 feed.

I’ve imported all old entries with a little conversion script. It did not work out of the box, I had to create an additional column in the nucleus_category and nucleus_items tables but it seems that everything got converted.

Only a matter of time…

February 8, 2005 | Filed Under General | No Comments

… until someone came up with blogcode.

This is mine: B5 d+ t+ k s u– f i- o+ x e+ l+ c

fetchmail and ipv6

February 6, 2005 | Filed Under Computer | No Comments

SixXS easynet pop regained life yesterday. Unfortunately my fetchmail daemon could not be persuaded to talk to our imap server over ipv6 again. Turns out, that the ipv6 implementation in fetchmail is flawed because it only works, if the dns name of your server has an a record in addition to the aaaa record. This behavior has been documented two years ago with some proposed fixes but it looks like no one had the interest to implement them.

MRTG

February 5, 2005 | Filed Under Computer | No Comments

I’ve realized that it is probably a good idea to have some sort of healthcheck software for our servers. We have been using logcheck for months now and it is a nice tool for reporting abnormal system behavior. However, I wanted something graphical that keeps track of network and system related information for an extended period, like in- and outgoing traffic, cpu usage and so on.

MRTG does a nice job and wasn’t to complicated to install. You need an snmp server that is polling your data on a regular basis and a bit of mrtg config file voodoo. The gentoo wiki contains a usable HowTO.

I’ve also used the opportunity to install mailgraph which gathers statistics of the in- and outgoing smtp traffic. In case you are wondering, why the spam and virus counts do not work: you need to enable syslogging for amavisd-new.

Next Page »