Das WikiBlog von Michael Hamann über Technologie im Wandel

  online slideshow

Blog

Creating ePub files from webpages

As my newest gadget (well, it's already more than one and a half months old) is an eBook reader device my interest for ePub files has grown as ePub is basically the format that works best for my device and probably generally small eInk devices.

Basically, an ePub file is a xhtml file with some additional information (e.g. a table of contents) zipped together into a handy file. So saving a webpage into an ePub document seems to be quite easy. Nevertheless there are some things the tool has to pay attention too as e.g. the xhtml in a epub file has to be valid xhtml 1.1. For further details on the file format I suggest reading this guide on ePub file creation.

Of course one could do that manually for every single page one wants to read, but I thought there has to be something more handy. Calibre is a great software for creating content for eBook reader devices and it can even process RSS feeds (though skimming through content as I do during reading my feeds is not exactly what you can do best with an eBook reader device). Nevertheless I wanted something more integrated into my favorite browser, Firefox. Surprisingly I couldn't find a single addon for Firefox that fits this purpose.

Finally I managed finding three web services that can create ePub files from webpages:

→ Weiter lesen...

GPN8

Gestern ging die 8. Gulaschprogrammiernacht zu Ende, das Hacker-Event des Ablegers des Chaos Computer Clubs in Karlsruhe mit dem Namen Entropia. Zahlreiche Vorträge, ein Hackerspace sowie ein toller VisualCube bot die GPN. Eine Einführung in den Visualcube war bei mir genauso dabei wie ein Einblick in Lockpicking und schließlich am frühen Samstag Abend ein Vortrag über Haskell, der mich endgültig motiviert hat, mich mit Haskell und funktionaler Programmierung zu beschäftigen - fragt sich nur noch, wann ich die Zeit dafür finde. Den Abschluss für mich bildete ein Vortrag über Webdesign für Entwickler, der mir noch einmal einige Anregungen für Webdesign gab und mich daran erinnerte, dass ich dieser Seite hier eigentlich mal ein neues Design verpassen wollte.

Neben diesen Vorträgen blieb ziemlich viel Zeit übrig, die ich damit verbrachte, ein dreidimensionales Pong-Spiel für mehrere Spieler (momentan sind 4 fest einprogrammiert, das sind aber nur wenige Zeilen Code, die die Anzahl der Spieler festlegen) für den VisualCube zu programmieren. Der Code ist in einem Git-Repository hier zu finden, die Dokumentation ist allerdings noch etwas mangelhaft bis nichtexistent, zum Ausführen wird Processing mit der VisualCube library benötigt (alles auf der Website des VisualCube zu finden).

Insgesamt war es ein gelungenes Wochenende das mich motiviert hat, endlich mal das eine oder andere Projekt anzupacken und bei dem ich auch einige ehemalige oder aktuelle Schüler meiner alten Schule wiedergetroffen habe.

Gedanken zu Social Bookmarks

Als im Februar der Social Bookmark Service Taggle.de von Mister Wong übernommen wurde, habe ich mir einige Gedanken darüber gemacht, was mir Social Bookmarks bringen, was ich da will und was ich mit meinen ca. 600 Bookmarks, die ich dort gesammelt hatte, machen will.

→ Weiter lesen...

My new mail system with fdm and mutt

Since some weeks already I have been using a completely new mail system. I had
been using Thunderbird and I had been accessing some accounts with IMAP, some
with POP3, some mails had been local, some remote before. And everything was in
large files I haven't really trusted. So I decided to set up something new.

Already last year I read about the
search for "the" mail client of Michael Klier and therefore it was relatively
clear that mutt would be the client of choice. The
storage part wasn't that difficult, too. Some mails should be mirrored to a
remote IMAP server, but all mails should be in a local maildir.

The interesting question remained: Which software will send the mails with SMTP and which one will fetch and sort them. Well, the first answer is
msmtp as it supports multiple SMTP accounts
and can be integrated into mutt quite easily. The other answer seemed to be a
combination of getmail and procmail - until I had discovered
fdm. It supports fetching mails and newposts
from various sources (includes IMAP and POP3, but also a local maildir) and
delivering mails to many destinations (includes maildir, mbox, IMAP and SMTP).
On the way you can filter the mails by a lot of criterias, you can select if the
mail shall remain on the server or not and of course you can send it through
other programs, too. Additionally it can maintain local lists of mails it
already knows so you can skip double mails. The advantage of fdm is that it can
e.g. filter old mails, too, it can maintain archives of old mails, …

After reading the documentation I started writing my own configuration file.
Although it seems quite complex it's relatively simple if you don't have that
many rules and all in all it's quite intuitive. Then the important moment
arrived: Fetching mails for the first time. It worked quite well, although it
has some flaws I will describe later.

The negative surprise was that authentication with NNTP wasn't supported. Well, I
decided to write a mail to the mailing list in order to see what the author
thinks about it - and guess, no, you won't guess it - not 24 hours later I had a
patch in my inbox that adds the feature I wanted. And it works. That was really
cool.

I encountered a couple of bugs with fdm but all obvious problems were solved by
the author some hours after reporting them (they were related to NNTP which
isn't that well supported…). Apart from some problem with terminating the
process I am currently trying to monitor with a more verbose log and the author
wants to have a look at fdm currently works, although IMAP with GMail seems to
not to work that good… At least if you want to leave all messages on the
server you have to mark them as read manually as otherwise fdm will continue
downloading them everytime (you can filter them with a seen cache, but it still
needs some time…). I've had problems with a large newsgroup and fdm, too. It
seemed everytime after looking into the maildir with mutt all messages were
downloaded so I ended up with having not only some thousands of messages but
almost 20 thousands of messages with every message at least four times or so.
That was when I removed that nntp account from my configuration as I haven't
read all those messages, anyway.

All in all fdm has really cool features, but seems to be quite unknown (?) and
not so good when you have to deal with random (news)servers.

I learned to love my new mail system. There is no longer a Thunderbird window
floating around, it's just another window in my screen session. I can now use my
favorite editor VIM for composing mails and it seems to me that I no longer
constantly look for new mails, too. The next thing is that mutt automatically
suggests moving mails out of the inbox into another mailbox specified in the
configuration, so I now started to have a clean inbox almost everytime I read
through it. Either I delete it (which I do more often now, it's just one single
keystroke) or I move it to another folder manually - or it gets into the
archive.

Theater: Netzkind

Ein für dieses Blog vielleicht etwas ungewöhnlicher Inhalt, aber es wird schnell
klar werden, warum doch nicht ganz so ungewöhnlich: der Bericht über ein
Theaterstück.

Am Montag Abend war ich in
Netzkind“, ein
Theaterstück des Sandkorn Jugendclubs in
Karlsruhe. Es geht um das Internet, in jedem Sinne. Im positiven als auch im
negativen. Ein „Netzkind“ ist quasi die deutsche Variante des
Digital Native“. Jemand, der mit dem Netz groß geworden ist, im und mit
dem Netz lebt. Doch jetzt zum Theaterstück selbst.

Professor Tessler hat eine großartige Entdeckung gemacht - eine „echte“ künstliche Intelligenz. Sie kann nicht nur Informationen in beliebigen Mengen
verarbeiten, sondern kann dazu auch noch menschliche Gefühle nachempfinden. Die
Idee: damit könnte man für Recht und Ordnung im Internet sorgen. Parallelen zur
deutschen Politik werden einem mit Parallelen und Zitaten geradezu aufgedrängt.
Zusätzlich ist die künstliche Intelligenz an einige Vorgaben gebunden, so hat
sie die UN Menschenrechtscharta zu beachten und ihr Erschaffer hat das letzte
Wort.

Aus der Sicht eines Außenstehenden kann man nun das Treiben der Menschen im Web
beobachten - sie schreiben über Beziehungsprobleme und beschimpfen sich, kaufen
auf Ebay und die Masse ist enttäuscht (wie sollte es anders sein, wenn nur einer
das Produkt bekommt…), spielen gegeneinander und vernichten sich virtuell -
kurz: sie machen sich gegenseitig das Leben schwer. Verständlicherweise hat die
künstliche Intelligenz Probleme zu verstehen, warum die Menschen eigentlich
nicht einfach glücklich sind. Sie fragt einen der Mitarbeiter nach dem Leben,
was das sei. Er weiß keine Antwort.

Ohne dass dies von ihrer Erfinderin vorgesehen war, entwickelt sich die
künstliche Intelligenz weiter und beschließt, der Menschheit zu helfen, indem
sie die Macht über sie übernehmen will. Dass sie dies mit dem Internet recht
leicht kann, ist ihr und dem Zuschauer mittlerweile klar geworden. Die
Machthaber sind selbstverständlich dagegen und beschließen, sie abzuschalten.
Der vorher dem Leben eher ergebene Mitarbeiter beginnt nun, aktiv zu werden und
versucht das Unmögliche: Die künstliche Intelligenz zu kopieren und nachzubauen.
Hier beginnt das bis jetzt durchaus philosophische Theaterstück, auch noch etwas
Action zu entwickeln. Das wirkt durchaus leicht aufgesetzt, aber bleibt im
Rahmen.

Als Zuschauer habe ich mich hier gefragt: Bin ich dafür oder dagegen? So positiv
es klingen mag, eine künstliche Intelligenz übernimmt die Welt und sorgt für
Frieden und Menschenrechte - so unrealisitisch klingt es auch. Wollen wir das
wirklich? Sie ist in diesem Fall - und dies entspricht nunmal der Realität,
sofern man hier überhaupt von Realität sprechen kann - immer durch einen
Menschen kontrolliert. Und dieser Mensch würde damit sehr große Macht über die
Menschheit bekommen. Etwas, das, so lehrt uns die Geschichte und das
Theaterstück, nicht gut gehen kann. Doch wo liegt die Alternative?

Das Ende bildet die Gemeinschaft der Netzkinder, glücklich vereint um die
künstliche Intelligenz, die mit ihren neuen Erschaffern als Gott verehrt wird.
Ob der Zuschauer dies nun positiv oder negativ betrachtet, bleibt ihm selbst
überlassen.

Eines macht das Stück an Hand der Details, die ich hier eher weniger erwähnt
habe, klar: Durch Engagement gewinnt das Leben an Sinn. Es ist quasi ein Aufruf
zu mehr Engagement. Doch gleichzeitig macht „Netzkind“ auch klar - das Netz
bietet bisher ungekannte Möglichkeiten, zu einer großen Gemeinschaft
zusammenzuwachsen - und birgt aber genausoviele Gefahren. Und diese Gegensätze
werden am Ende auch nicht wirklich aufgelöst, und ich denke das ist auch gut so,
denn das ist alles andere als einfach. Und durchaus auch im realen Leben so.

Insgesamt fand ich das ganze sehr gelungen, vielleicht ein wenig überfüllt mit
Zitaten, und auch die Handlung kann man natürlich hinterfragen, doch es handelt
sich weder um einen Brecht noch um professionelle Schauspieler mit jahrelanger
Erfahrung - und das ist auch gut so, denn so ist es authentisch und aktuell.

Wer jetzt lust bekommen hat, das alles und noch viel mehr selbst zu sehen, dem
sei gesagt, dass noch 5 Aufführungen geplant sind, und zwar Mo, 06.04., Di,
07.04., Mi, 22.04., Mo, 27.04., Di, 28.04.2009 jeweils um 19.30 Uhr.

Update: Wie ich gerade erfahren habe, wird das Stück noch bis zu den Sommerferien gespielt, die Termine stehen lediglich noch nicht fest.

 
blog/start.txt · Zuletzt geändert: 2008/04/19 17:50 (Externe Bearbeitung)
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki