Planet Entropia (CCC Karlsruhe)

Harvesting

Apropos

This planet is made of fresh clean feeds by members of the Entropia bunch

The software

The Harvester is made of fresh flesh, clean design by Tigion, hacked-together Ruby scripts by Astro and Atom support by Neingeist

To Be Fed

wget the RSS-1.0 feed!

Questions

Missing something?
Contact Neingeist via Mail or Jabber: neingeist@23bit.net

Delicious/annesh

Delicious/beate

Delicious/benedikt_

Delicious/Blueloop

Delicious/cupelicious

Delicious/ephes

Delicious/fukami

Delicious/neingeist

Delicious/poussiere

Delicious/tag/radiochaotica

Delicious/tag/saugnapf

Delicious/tem00

Delicious/the_sprawl

Delicious/tkerpe

halcy.de v4

08.03.2010 15:41:00

Attention everyone, I have used science.

boards

mehr...

Zeitgeistaustreibung

06.03.2010 12:11:00

Fisch essen: Tubarão, Porto

Tubarão:
Latitude: 41.148388° N
Longitude: 8.611739° W
Tief im Nordwesten Portos, weitab von Portweinkellern und Weltkulturerbe-Ausblick, inmitten schäbiger Gassen unweit der Fischmärkte und ganz in Nähe des Containerhafens: Ein Restaurant möchte man es kaum nennen, diese Bude mit Küche, kaum größer als ein Wohnzimmer. Nichts lädt den Besucher auf den ersten Blick zu einem schönen Abend ein: Winzige Hocker an Tischen, die kaum Platz für ihre Gäste bieten, der Schmutz der Jahrzehnte an den Wänden und ein Fußboden voller Löcher, eine Auslage mit Gemüse, bei der man sich nicht so recht entscheiden möchte, ob das Schwarze in den Ecken Schimmel oder nur Schmodder ist. Um in die Toilette zu gelangen, muss man sich ducken, bei kaltem Wetter schützt ein kleiner Windfang kaum die direkt an der Eingangstür platzierten Gäste. Ein gewöhnlicher deutscher Gesundheitsinspektor wüßte gar nicht, wie er seine Mängel alle auf dem Formblatt unterbringen sollte.
Wahrscheinlich ist es Bestimmung, dass die Suche nach dem perfekten Geschmack nicht auf den Prachtboulevards endet, sondern dort, wo ein gewöhnlicher Tourist schon fast als Abenteurer gelten mag. Gegrillter Fisch wird hier serviert, dazu zwei Beilagen oder Salat, Kuchen zum Nachtisch - das war's. Ein Kohlegrill in der durch jenen schäbigen Tresen abgetrennten Küchenzeile, davor eine freundliche alte Frau, die den Eindruck erweckt als grille sie schon seit Anbeginn der Zeit ihren Fisch auf diese Weise. Das Rezept ihrer Sauce, wohl aus Olivenöl, Zitrone und Knoblauch möchte sie nicht verraten, mehr dürfte aber auch nicht enthalten sein. Die gesamte Küche besteht neben all den Fischsorten nur aus acht Zutaten: Tomaten, Zwiebeln und Salatblätter, dazu Knoblauch, Paprika und Kartoffeln - fertig sind die Beilagen, hinzu kommen Olivenöl und Zitrone. Der reine Geschmack, die Perfektion, das Atemberaubende kommt aus dem Meer: Man schmeckt es eben doch, wenn der Fisch noch keine 24 Stunden aus dem Wasser ist, wenn er nicht gekühlt und transportiert werden musste, sondern direkt aus dem Fischreihafen um die Ecke stammt. Und der Einkäufer, wohl der Mann der Köchin und im Tagesgeschäft vor allem mit der Bedienung beschäftigt, ist ein Meister in seinem Fach.
Weinkarte? Fehlanzeige. Zwei Hausweine, der weiße angenehm leicht und so frisch, dass man kein Wasser dazu bestellen möchte. Zum Nachtisch gibt es zwei schwere, aus jedem Krümel nach jahrzehntelanger Tradition schmeckende Kuchen, im Regal stehen zwei Liköre und wer möchte kann sich einen Espresso bestellen.
Der Preis für drei gigantische Portionen Fisch (Sardinen, Robalo und Tintenfisch), Pellkartoffeln und Paprika, zwei Flaschen Wein, zwei Stücke Kuchen, Kräuterlikör und Espresso? 42 Euro.
Das beeindruckt auf mehrfache Weise und erinnert ein wenig an Bertold Brechts Parabel vom Fischer, der sich im Hafen sonnt. Ein Tourist fragt ihn, warum er nicht mehr arbeitet und zeigt ihm all die Möglichkeiten auf, die der Fischer mit mehr Geld hätte um damit zu enden, dass er dann irgendwann beruhigt im Hafen liegen und sich sonnen könne.
Dieses Ehepaar hätte gewiss mehr Möglichkeiten. Für dieses Essen, so originell und lecker wie es ist, könnte man auch das Doppelte verlangen. Irgendwann wäre Geld da für ein neues Interieur, zumindest eine Geschirrspülmaschine, vielleicht sogar die Miete für einen größeren Laden in einem besseren Teil der Stadt. Kapazität für noch mehr Gäste, und Mund-zu-Mund-Propaganda. Artikel in Touristenmagazinen, im Sommer lange Schlangen vor dem Haus. Doch was dann? Was, wenn aus der Spelunke in einer schäbigen Hafengasse die nächste In-Kneipe Portos geworden ist? Vermutlich würden die beiden Besitzer dann abends nach getaner Arbeit müde und glücklich nach Hause gehen. Nichts Neues also.
mehr...

rumreisen \o/

05.03.2010 21:57:00

Dieses Blog zieht um

Nach diversen technischen Schwierigkeiten (benutzt niemals Movable Type!) und einigen Stunden sinnlosem nochmal-probien habe ich beschlossen, woanders weiterzubloggen:

http://erleuchtet-travel.blogspot.com/

ist die neue Adresse.
mehr...

rumreisen \o/ (2)

05.03.2010 21:37:00

Weiter gehts

Ich hoffe das funktioniert jetzt hier. Niemals Movable Type als Blogsystem benutzen, hab ich das schonmal gesagt?

So. Weiter gings nach Hahei, wo ich drei Naechte eingelegt habe, um dort die Zeit mit Kayaken, Schnorcheln, Schwimmen und Tauchen zu verbringen. Hahei liegt direkt an einem langen Strand und waere in Europa mit riesigen Hotels zugebaut worden - hier sind es nur ein paar Anlagen und einige private Ferienhaeuser. Zu Fuss oder per Kayak kommt man zu den schoenen Kalksteinfelsen der Cathedral Cove (unterwegs sind zwei nette Buchten zum Schnorcheln), man kann aber auch einfach am Strand bleiben, der nachmittags auch mal von Delphinen besucht wird; leider schwimmen die viel schneller als ich. Das Wasser ist zwar zu kalt fuer Korallen und auf Bali waren um zwei Groessenordnungen mehr Fische, trotzdem war mein erster SCUBA-Tauchgang interessant und es gab einiges zu sehen.







Weiter gings zum naechsten Wassersport nach Raglan, einem gemuetlichen und beruehmten Surferdorf. Zwei Nachmittage Surfen haben mich definitiv auf den Geschmack gebracht...

Der naechste Tag war verregnet, was aber ganz gut gepasst hat, weil ein laengerer Trip mit Zwischenstop in den Waitomo Caves auf dem Programm stand: einem Bach folgend durch Hoehlen quetschen, robben, abseilen, klettern, ... Leider etwas zu nass fuer Kameras, daher kein Foto. Die Nacht wurde in einem mehr oder weniger originalen Maori-Marae (Versammlungshaus) verbracht, inklusive Gelegenheit, den Haka (Kriegstanz) zu lernen. Nein, davon gibts kein Video (hoffe ich jedenfalls). Am naechsten Tag gings nach Rotorua, wo wir auf das beliebte Rafting zu Gunsten eines guenstigeren Besuchs in TeWhakarewarewatangaOTeOpeTauaAWahia verzichtet haben, einem Maori-Dorf, das heisse Quellen zum Kochen, Baden, usw. benutzt. Rotorua selbst ist voll von brodelnden Schlammpfuetzen, warmen Baechen oder einfach nur stinkenden Erdspalten. Man riecht die Stadt, bevor man sie sieht, und irgendwie bekommt man lust auf Fruehstueckseier ;)
Weiter gings in Richtung Osten mit einem Van (nur 12 Leute, endlich mal) mit diversen Zwischenstops um das schoene East Cape und Uebernachtung in einem baumbeschatteten verwinkelten Haus direkt am Wasser, mit Feuer, Gitarre und Gesang am Abend. Die Nacht war dann relativ kurz, bedingt durch den Tsunami, den wir nach unserer gemuetlichen Evakuierung beim besten Willen nicht entdecken konnten. Immerhin sind wir deshalb puenktlich losgekommen. In Gisborne durften wir dann aus Tsunamigruenden nicht surfen und mussten uns mit Maori-Essen und ausgiebiger Weinprobe am Feuer zufriedengeben. Auf dem Rueckweg nach Rotorua war noch Zeit fuer ein Bad in einer heissen Quelle.





Achja, unterwegs ist meine Kamera gestorben (lens error, restart camera) und ist ab morgen unterwegs nach Deutschland um als Garantiefall repariert zu werden. in Rotorua habe ich mir Ersatz gekauft und werde eine der beiden dann wohl auf Ebay verticken. Deshalb gibts von den zwei Tagen keine Bilder.

Nach so viel Gammeln war es wieder Zeit fuer etwas rumlaufen: Die Tongariro Alpine Crossing suedlich von Taupo stand auf den Programm. 7 Stunden durch Vulkanlandschaft wandern mit unglaublich wechselhaften Panorama - der beste One-Day-Walk im Land und einer der beruehmtesten der Welt wenn man der Propaganda glaubt. Hier sind einige der vielen Fotos die ich an dem Tag geschossen habe.










Danach gings ziemlich direkt nach Wellington, wo ich jetzt im Hostel neben der Waschmaschine sitze. Das anscheinend sehr gute Nationalmuseum ("Te Papa") steht noch auf dem Programm und Montag gehts dann mit der Faehre auf die Suedinsel, anschliessend versuchen wir uns an einem der Great Walks: 4 Tage mit dem Rucksack abseits der Zivilisation der Kueste entlang im Abel Tasman National Park. Zumindest ist das der aktuelle Plan.
mehr...

Hanno's blog

02.03.2010 18:00:00

Zwiespältiges Urteil zur Vorratsdatenspeicherung

Das Bundesverfassungsgericht hat heute entschieden. Die Vorratsdatenspeicherung, in ihrer jetzigen Form, ist Geschichte. Das ist natürlich erstmal erfreulich. Die völlig verdachtlose Speicherung aller Verbindungsdaten von Telefonen, E-Mails, SMS und Internetzugänge ist mit sofortiger Wirkung gestoppt und bereits erhobene Daten müssen gelöscht werden.

Leider ist das nicht die ganze Geschichte. Denn das Gericht sagt glasklar, dass es nichts grundsätzlich gegen die pauschale Datenspeicherung und damit pauschale Verdächtigung aller Menschen hat. Es legt nur enge Grenzen fest, in denen diese stattzufinden hat. Inwiefern das mit dem Grundsatz der informationellen Selbstbestimmung vereinbar sein soll, bleibt wohl das Geheimnis des Gerichts.

Richtig große Bauchschmerzen bekommt man aber bei einem weiteren Punkt: Das Verfassungsgericht stellt fest, dass für den Datenabruf nur schwere Straftaten in Frage kommen, meint aber, dass dies ausdrücklich nicht für IP-Adressen gilt. Hier soll sogar eine Ordnungswidrigkeit ausreichen, es müsse lediglich eine gesetzliche Bestimmung dazu geben. Heißt also ganz konkret: Datenschutz zweiter Klasse für Internetnutzer. Die Begründungen dafür, die ich bisher gelesen habe, erscheinen mir ziemlich abstrus und unverständlich (die taz hat etwas dazu). Der wirkliche Grund scheint ziemlich klar: Man will ein Lex Musikindustrie auf Basis der Vorratsdaten weiterhin zulassen. Das halte ich für wirklich erschreckend, denn dass sich kaum verhohlen das oberste Gericht Lobbyinteressen beugt, hätte ich so nicht für möglich gehalten. Der deutsche IFPI-Ableger freut sich schonmal vorsorglich.

Was bedeutet das Urteil nun politisch? Spannend ist ja erstmal, dass der Gesetzgeber nun aktiv werden muss. Das Gericht hat zwar theoretisch eine Vorratsdatenspeicherung unter anderen Vorzeichen erlaubt, aber es bleibt ja dem Gesetzgeber überlassen, ob er dies umsetzt oder bleiben lässt. Die FDP hat sich im Wahlkampf ziemlich deutlich gegen die Vorratsdatenspeicherung ausgesprochen. Eine verabschiedung gegen die FDP (durch SPD und CDU) wäre zwar möglich, aber sehr unwarscheinlich. Die FDP kann hier beweisen, dass es ihr mit Bürgerrechten ernst ist.

Weiterhin erfreulich ist, dass auch die EU-Richtlinie immer stärker unter Beschuss gerät. Einige Länder weigern sich im Moment, die Vorratsdatenspeicherung umzusetzen, in anderen gab es ebenfalls Gerichtsentscheidungen dagegen (Schweden, Österreich, Ungarn, Irland, Rumänien). Und auch auf EU-Ebene gibt es stimmen, die die entsprechende Richtlinie lieber wieder kippen würden.
mehr...

experimentalworks

27.02.2010 10:46:31

Dealing with Sessions in Compojure

I recently started working with Compojure, a web framework for programming language Clojure. After playing around with basic GET and POST requests I tried to store and load data from a session. As Compojure is quiet new, there is not much documentation how to deal with sessions, particularly as Compojure and it’s API still changes fast.

In the following post I’ll show a brief example on how to create a login page with Compojure 0.3.2 running on Clojure 1.1.0.

What is Clojure?

Clojure is a Lisp dialect. So it’s a programming language based on the principles of Lisp. The interesting part about Clojure is that it runs on the Java Virtual Machine. As a developer you can therefore use the bright variety of Java written libraries in your code without touching one line of Java. Use the power of Java libraries together with the power of Lisp.

What is Compojure?

Compojure is a web framework for Clojure. It handles incoming request, offers an easy way to create servlets and provides basic functionality for HTML templates. The current stable version 0.3.2. Compojure is a young project and things change fast there, so be aware that a 0.3.2 application might not run on 0.4.

What is a session?

Basically it’s a per-user store managed by the server. For example a server backend can store the credentials of a user that it received in a request in this store making it possible to identify the user again when he or she does a second request. Usually this functionality is achieved by a library or by the interpreter itself (for example in PHP) and is implemented by storing the session data either in memory or on disk together with a unique identifier that is then stored in a cookie at the users computer. So when the user comes back, the cookie is read and the identifier is used to find the data for the user.

The application

A basic example

Before we work with a session, let’s create a simple webpage that displays hello world for us.

The example is straight forward. We define a set of routes. In our example the route is “/*”, so it matches everything. The route then takes a function as a second argument. In our case we use the templating mechanism of Compojure and create a simple HTML response with the (html) macro.

We then start the server using the (run-server) macro and binding our routes to a specified mountpoint. I won’t go into details about servlets but usually it is sufficient if you have a servlet running on the mountpoint “/*” and then a set of routes.

To run the server you can use a small script like this one:

#!/bin/sh
CLASSPATH=.:~/dev/clojure/compojure.jar:~/dev/clojure/clojure.jar
java -cp $CLASSPATH clojure.lang.Script net/experimentalworks/clojure/serve.clj

Adding sessions

Before we can start adding sessions we have to be aware that Compojure has a mechanism called decorating. So you can decorate a set or routes with what Compojure calls a middleware. We will think of it as a way to enable advanced mechanism. To add the session mechanism to a set of routes use the (decorate) macro as shown in the following code:

Note the that we define a session decoration. At the moment sessions only support in-memory storage (which by the way should be usually the way you want to manage sessions). The :memory keyword here is to tell Compojure to store it’s sessions in memory. Although you can omit the keyword, I prefer writing it down so people can easily figure out how our session is stored.

Creating a login

Let’s create a login. We will first add a new route called /login/:user. This will tell Compojure that the last part of the query string is a parameter and it should extract it. We can then access the value using (:user params). We use the (session-assoc) function to associate our username with the session-key :loggedin. Here is what the code looks like:

You can then “login” to your site using http://localhost:8080/login/test and you Compojure will recognize you again if you go back to http://localhost:8080/

Logout

To logout, we clear the key itself. Let’s a have a look directly into the code. We use the (session-dissoc) function to drop the key (it seems that clear-session is broken in my Compojure checkout for whatever reasons..need to debug *debug*).

Use http://localhost:8080/logout to get rid of your session.

Conclusion

The basic idea behind Compojure sessions is simple and I hope you were able to grasp the idea a little bit. What can be annoying and what I didn’t show you is that you might run into problems within the actual implementation, although the basic stuff should work fine. Once you figured out the basics you can read and write sessions withing seconds and the code becomes clean and beautiful. Feel free to comment on this article if you like the post, it’s the only measurement for me that I can use to make sure I’m not writing stupid stuff.

mehr...

experimentalworks

25.02.2010 21:53:29

Talks

I really enjoy giving talks. This is particularly because I like to teach people something and because I’m really enthusiastic about the technical things I talk about. Once of these things are obviously decentralized version control system, in particular Git and Mercurial. Finally after two years of submitting talks to various conferences, people and conferences in the PHP community start to pick up this topic. Seems that 2010 is the year of DVCS, and I’m really looking forward to give a talk about the advanced features of Git at

The talk will give a very brief overview how Git works, and will then give a more detailed insight in how Git handles commits, files, etc so that people get a very good understanding about the concepts that are needed to fully understand tools like git rebase, git reflog and git svn. The aim is to provide them will all necessary information and a few examples to get lost commits back, rebase their branches and design more complex git workflows in the future without needing to search the web or ask a guru.

A second talk will be more focused on beginners and developers coming from subversion. This talk will be part of a series of talks the german telekom is organizing. I’ll also give an extended version of this as an in-house workshop at a Munich based company.

So for me it seems that after five years, DVCS is mature enough to get into companies and that we can expect a bright variety of companies to adopt new tools and workflows. Let’s see what’s coming…

For sure I still offer Git and Mercurial trainings, so feel free to contact me (dsp ~at~ php ~dot~ net)

probably shameless self promotion

mehr...

rumreisen \o/

19.02.2010 08:58:00

Neuseeland: der Norden vom Norden

Nach zwei Naechten in Auckland zum Jetlag ueberwinden und mich-organisieren gings mit Stray Travel (dazu spaeter mehr) nach Northland zur Bay of Islands. Dort ist alles voller Straende, Inseln, usw. und das Klima ist mindestens subtropisch. Nach einer kurzen Kajakfahrt auf eine kleine Insel (mit Wein am Strand) gings am naechsten Tag zum Cape Reinga, den noerdlichsten Zipfel der Nordinsel:

IMG_1283_small.JPG

Rueckfahrt ueber den 90-Mile-Beach, der uebrigens offizieller Highway ist. Auf dem Bild sieht man rechts von dem hintersten Felsen einen Baum wenn men genau hinschaut. Von dort aus begeben sich die Seelen der Maori nach dem Tod auf ihre Reise. Weitere Aktivitaeten: Sandboarding (ja, der kleine Punkt bin ich) und Bootstour in der Bay. Dann gings auch schon wieder nach Sueden zurueck.

IMG_1300_small.JPG

Heute bin ich in Thames auf der Coromandel Peninsula, dem idealen Ausgangspuntk fuer die fantastische 7-stuendige Wanderung zu den knapp 800 Meter hohen Pinnacles, von denen man fast rundum auf die umliegenden Berge schauen kann und das Meer zu beiden Seiten der Halbinsel sieht.

IMG_1422_small.JPG

IMG_1444_small.JPG

Die Vegetation ist hier auch deutlich gruener als im leicht trockenen Norden: schoene Baumfarne und diverse Palmen wechseln sich mit anderem Gruenzeug ab.

IMG_1482_small.JPG

Morgen gehts nach Hahei auf der anderen Seite der Halbinsel.

Achja, mein aktueller Transportmodus ist wie folgt: Stray Travel faehrt kreuz und quer in mehreren miteinander kombinierbaren Routen durch die Gegend, haelt auch zwischendurch an den interessanten Orten an (Supermaerkte, Vogel-Krankenhaus mit Kiwi-Streichelmoeglichkeit, Aussichtspunkte) und setzt einen abends an einem Backpacker-Hostel ab mit garantierter Unterkunft fuer die erste Nacht. Am naechsten Morgen faehrt man weiter oder bleibt eben wo man ist. Hier in Thames halten sie zwar nicht, aber man kann sich auch einfach so absetzen und wieder aufsammeln lassen. Sehr praktisch, aber natuerlich auch etwas unentspannt weil man immer zusammen mit einer Busladung Backpacker ankommt.

Bin auch bisher nie alleine unterwegs gewesen, man findet im Bus oder in den Hostels sehr leicht Leute fuer alle Aktivitaeten. Achja, apropos Hostels: Mein Lebensstandard hat sich zusammen mit meinem scheinbaren Reichtum dramatisch verringert: fuer das Geld, das in Thailand einen Bungalow am Strand und 3mal Essen im Restaurant ermoeglicht, bekomme ich hier ein Bett im 8er-Schlafsaal (ohne Essen). Aber dafuer habe ich auch mal wieder gekocht...  

mehr...

neingeist

10.02.2010 12:08:00

gitarre spielen wie bob dylan

tja, tja, die pilocka krach wollte ich schon im sommer bloggen, nu passiert’s halt im februar. enjoy!


youtube: pilocka krach // tanztag augo8

mehr...

rumreisen \o/

10.02.2010 04:10:00

Cambodia

(Dieser Artikel ist auf englisch, weil ihn die Mitglieder der Intrepid-Reisegruppe vielleicht lesen moechten)

I am now in Saigon a.k.a. Ho Chi Minh City. We have traveled there entirely by land (and by boat) from Bangkok, where our tour started with a bus ride to the Thai-Cambodian border at Poipet where our group leader's stories about Cambodian corruption got instantly confirmed by the extra $5 we paid for faster visa processing... After another 3 hours or so we reached Siem Reap where we would stay for three nights. Siem Reap is located right next to the Angkor Archeological Park and seems to be Cambodia's tourist center for this reason: there are lots of modern hotels, bars, restaurants and the ubiquitous souvenir shops. The Angkor Park itself contains many individual sites (temples, cities, ...) of the Angkor Empire and is most famous for the temple of Angkor Wat (where we watched a particularly unspectacular sunset) and the city of Angkor Thom, containing many more interesting places. The temples are in various states of decay (and reconstruction) and some of them had been converted from Hinduism to Buddhism and back many times, resulting in an interesting mix of symbolism. There are about a million pictures of the temples on the net that are all better than mine, but here you go:

IMG_0872_small.JPG

 

IMG_0752_small.JPG

 

IMG_0890_small.JPG

Cambodia is a very flat country (a "pan" with mountains at the borders) with the Great Lake "Tonle Sap" in the middle. It is currently dry season which means that most of country's rice fields look gray and deserted, only a few are irrigated and provide a saturated green for contrast. The lake's water level fluctuates accordingly. Here is what it looks like without water:

IMG_0937_small.JPG

Another trip from Siem Reap brought us to the "floating" village of Kampong Phulk at (or in) the lake where about 800 families live in houses built on stilts up to 10m in height. In the wet season the Tonle Sap's water level rises to just below the houses' floor and transport is only possible by boat, but now we could just walk on the ground below. Buying and distributing schoolbooks to the village's children sure was a unique experience..

IMG_0957_small.JPG.

We continued to Phnom Penh, where the depressing part of our trip awaited us and during our Visits of the Genocide Museum and the Killing Fields mass graves the group didn't talk much.

IMG_1102_small.JPG

After a bunch of other activities in the city (Cyclo-tour, Silver Pagoda, Emerald Buddha, Royal Palace, Partying at the Mekong Promenade) we left after two nights via boat, crossing the Vietnamese border on the Mekong river and finally arriving in Chau Doc where we did a motorbike tour to the top of a nearby mountain and tested the local dalicacies of rat and snake, fruitbat being sold out. We continued to Saigon, which feels a little bit like Italy: warm climate, christian churches, crazy traffic.

IMG_1204_small.JPG 

I have just bought a (photocopied) LonelyPlanet guidebook for New Zealand for a mere 130000 Dong and will now start looking for a nice accomodation in Auckland. Cleaning my shoes with a toothbrush to comply with the crazy biosecurity laws is next.

 

Thanks to Tom, Lynda, Rebecca, Kieren, Matt, Brendan, Michael and especially Limny for an amazing trip!

mehr...

netzhure.de

09.02.2010 17:33:45

interner Blogumbau

Mehr zur Warnung an alle Leser: Ich bin gerade dabei mal ein Punkte auf der Todo-Liste für diesen Blog abzuarbeiten:

mehr...

halcy.de v4

08.02.2010 22:03:00

FYI: Writing code for the Nintendo DS.

It is still kind of hard for someone who is okay at writing code, but has no idea about the Nintendo DS, to get started writing DS code. As you might or might not know, I’ve written a demo and other small things for the NDS before, so here is a bunch of random things that are really useful when writing DS code, and enough to get you started, as compressed as I can manage, somewhat geared towards wanting to write demos. (Yes, bullet points. So sue me.)

PS: About the master bright register: Here is everything you should need to know.

// LOVE COLORED MASTER BRIGHT <3 mode flags:
// 0 0000 fail, nothing
// 1 0001 fail, nothing
// 2 0010 fail, nothing
// 3 0011 fail, nothing
// 4 0100 brightens
// 5 0101 fail, all white
// 6 0110 brightens
// 7 0111 fail, all white
// 8 1000 darkens
// 9 1001 fail, all black
// A 1010 darkens
// B 1011 fail, all black
// C 1100 darkens
// D 1101 fail, all black
// E 1110 darkens
// F 1111 fail, all black

u16* master_bright = (u16*)(0x400006C);
u16* master_bright_sub = (u16*)(0x400106C);
void fade( s16 fade_val ) {
   memset( master_bright, (1<<7) | fade_val, 2 );
   memset( master_bright_sub, (1<<7) | fade_val, 2 );
}
void fadew( s16 fade_val ) {
   memset( master_bright, (1<<6) | fade_val, 2 );
   memset( master_bright_sub, (1<<6) | fade_val, 2 );
}

PPS: Excuse the conversational tone, this was originally written for a private forum. I’ve cleaned it a little, but not much. The DS is a fun plattform to write stuff for. Go have fun and make a kickass demo. :3

mehr...

Hanno's blog

07.02.2010 09:34:00

Free and open source developers meeting (FOSDEM)

FOSDEM talkAfter reading a lot about interesting stuff happening at this years FOSDEM, I decided very short term to go there. The FOSDEM in Brussels is probably one of the biggest (if not the biggest at all) meetings of free software developers. Unlike similar events (like several Linuxtag-events in Germany), it's focus is mainly on developers, so the talks are more high level.

My impressions from FOSDEM so far: There are much more people compared when I was here a few years ago, so it seems the number of free software developers is inceasing (which is great). The interest focus seems to be to extend free software to other areas. Embedded devices, the BIOS, open hardware (lot's of interest in 3D-printers).

Yesterday morning, there was a quite interesting talk by Richard Clayton about Phishing, Scam etc. with lots of statistics and info about the supposed business models behind it. Afterwards I had a nice chat with some developers from OpenInkpot. There was a big interest in the Coreboot-talk, so I (and many others) just didn't get in because it was full.

Later Gentoo-developer Petteri Räty gave a talk about "How to be a good upstream" and I'd suggest every free software developer to have a look on that (I'll put the link here later).

I've just attended a rather interesting talk about 3D-printers like RepRap and MakerBot.
mehr...

netzhure.de

04.02.2010 19:41:00

Krümmer putzen

Diese Woche war ich fast schon regelmäßig in der Butze, um endlich mal ein paar Dinge an der CB in Ordnung zu bringen und zu erledigen. Angefangen hat das ganze mit einem recht entspannten Tag zusammen mit Peter, welcher mir beim Entfernen des kompletten Auspuffsystems behilflich war. Aber von vorne:

Auch wenn ich letztes Jahr nicht allzu viel gefahren bin hat es gereicht, die 48Mm zu erreichen, womit mal wieder eine Inspektion mit fast allem drum- und dran fällig ist. Das meiste ist nur Prüfen, mit dem Ölwechsel werde ich noch etwas auf wärmere Temperaturen warten, da ich erst vor 7Mm bei Übernahme des Krades gewechselt habe, und das neue auch nicht gleich wieder mit kaltem feuchten Kurzstreckenbetrieb "ruinieren" möchte. Bleibt an aufwändigen Aufgaben primär die Ventilspielkontrolle übrig, für die Vergasersynchronisation will ich mir nochmal einen Synchrontester in Art von diesem selbst bauen, auch wenn bei einem Zweizylinder wohl ein simples Schlauch-U ausreicht. Zusätzlich war noch das lackieren des Krümmers geplant, da dieser doch farblich eher nach Rost aussieht. Zu Beginn dachte ich auch nur an eine optische Maßnahme, später (s.u.) sollte sich das noch ändern. An Farbe habe ich mir eine Dose Ofenrohrfarbe 1200°C besorgt, in der Hoffnung, dass sie die Temperaturen halbwegs lange überlebt.

Also stehe ich zu Beginn des Tages (Nagut, um 12 Uhr, aber es ist meine Urlaubswoche) in der Butze, im Rucksack ein paar Schleifblätter für den Exzenter und einer Drahtbürste für die Bohrmaschine. Und fluche. Eigentlich hatte ich mal vor, zuerst den Endtopf zu lösen, um danach den Krümmer möglichst Lastfrei abbauem zu können. Etwas Vorsicht schadet ja nie, erst recht nicht bei eher empfindlichen Aluminiumstehbolzen und einem gefühlt 5kg schweren Ofenrohr am anderen Ende. Aber ‘Slip On’ scheint mehr ein zweitklassiger Euphemismus als eine Vorgangsbeschreibung zu sein, so dass ich nach einigen Versuchen die Krümmerschrauben am Motorblock löste, nicht ohne sie davor sicherheitshalber mit WD40 zu behandeln, und die komplette Einheit mit Peters Hilfe abnahm.

Das folgende Trennen dauerte dann unter Zuhilfenahme von Hammer und Meißel (um das Anschlussstück des Endtopfes etwas konisch zu weiten) eine geschätzte Stunde, wobei daran auch die immer wieder zwischengeschobenen Unterhaltungen mit Peter mit Schuld sein dürften. So stark wie die Auspuffdichtung dann noch am Krümmer klebte verwunderte mich dieser innige Zusammehalt dann aber nicht mehr weiter.

Danach begann der Fleißteil der Arbeit, mit Drahtbürste an der Bohrmaschine sämtlichen Dreck, Schmodder und Rost von der Oberfläche entfernen, bis alles wieder schön glänzt. Auf den Bildern erkennt man ganz gut die rostigen Stellen, bei den auf ebenen Flächen liegenden konnte ich mit dem Exzenter noch halbwegs gut das rostige Material komplett entfernen, in den Ecken der Verdickung zur Befestigung am Motorblock oder zwischen den Krümmerrohren war dies leider nicht so möglich. Damit beendete ich den Tag auch mit einem fast fertiggestellten Krümmer und weiteren, günstiger geformten Drahtbürsten auf dem Einkaufszettel.

mehr...

experimentalworks

03.02.2010 11:17:24

Clojure, and it’s not a typo.

Why lisp can be sooooo sweet. A clojure class extending java.

compile it

(set! *compile-path* "build")
(compile 'net.experimentalworks.clojure.outdegree)

Ah yeah and hsv2rgb transformation:

mehr...

rumreisen \o/

02.02.2010 10:21:00

Wieder in Bangkok

So, Lena ist heute morgen Richtung Deutschland abgeflogen :'(
Und nach ein wenig Rumgerenne bin ich nun im Besitz des richtigen Visums fuer Vietnam und damit steht dem Trip, der in 25 Minuten mit einem ersten Meeting beginnt, nichts mehr im Weg.

Aber zuerst noch ein wenig zu Bali : Das auffaelligste (neben der wunderschoenen Natur, die man schon bald fuer selbstverstaendlich haelt) ist die Religiositaet der Leute. Jeden Morgen und jeden Abend hat der Familienvater unseres Homestays in Tirtagangga (selbstredend mit Blick von der Terrasse auf den Sonnenaufgang ueber den Reisfeldern beim Fruehstueck) an den drei Schreinen (Minitempeln?) Opfergaben dargebracht und auch auf den Boden vor unserem Haus wurden Gaben abgelegt um die im Boden befindlichen Daemonen abzulenken. Das war nicht etwa ein Einzelfall, auch in den touristischeren Orten sieht man staendig die Menschen ihre Religion ausueben, im Gegensatz zu uns auch nicht vorwiegend die aelteren oder konservativeren Menschen, sondern einfach alle. Haustempel, Dorftempel (pro Dorf mindestens 3 Stueck mit verschiedenen Funktionen), inselweite Tempel... alles ist voll davon, und aktiv benutzt und gepflegt.
Von unseren Aktivitaeten sind wahrscheinlich vor allem zwei erwaehnenswert: Erstens Schnorcheln im Nationalpark, mit fantastischen Korallen und zehntausenden von Fischen aller Groesse und Farbe. Die Tauch- und Schnorchelortie hier sind beruehmt, aber uns fehlt natuerlich der Vergleich... viel bunter kann es aber nicht mehr werden. Fotos gibts davon natuerlich leider keine.
Zweitens unsere Besteigung des Gunung Agung, des hoechsten Berges der Insel (ein Vulkan, wie alle groesseren Berge auf Bali). Aufstehen um 1 Uhr nachts, Fahrt zu einem einsamen Bergtempel auf 900m Hoehe, von da aus ab 2 Uhr mit Taschenlampe und oertlichem Fuehrer in 4 Stunden 2000 Hoehenmeter Aufstieg, um den Sonnenaufgang als erste zu sehen. Und nebenbei ganz Suedbali, morgens noch wolkenlos. Vom Muskelkater fang ich garnicht erst an zu erzaehlen :)

Hier ein Dschungeltempel der nur bei Vollmond benutzt wird und einige Merus (Pagoden) in Besakih, dem Muttertempel:

IMG_0341_small.JPG

IMG_0473 (Medium).JPG

Und der Blick vom Gunung Agung um 6 Uhr morgens:

IMG_0518 (Medium).JPG

IMG_0527 (Medium).JPG

mehr...

Hanno's blog

02.02.2010 00:35:00

Die Wiener Polizei zählt nach

Vor einigen Tagen fand der Wiener Korporations-Ball (WKR) statt. Das ist wohl dort ein wichtiges Event von Burschenschaften und sonstigen unangenehmen Zeitgenossen. Verschiedene antifaschistische Organisationen organisierten Proteste dagegen, allerdings wurde die Gegendemonstration verboten. Wie das bei solchen Veranstaltungen üblich ist, unterschied sich die Zahl der DemonstrantInnen stark, je nachdem wen man fragt.

An der (verbotenen) Demonstration nahmen laut Polizeiangaben etwa 500 Menschen teil. Im Anschluss gab es gegen rund 700 davon Anzeigen.

(via Twitter/Michael Reimon)
mehr...

Hanno's blog

01.02.2010 22:23:00

SSL-Certificates with SHA256 signature

At least since 2005 it's well known that the cryptographic hash function SHA1 is seriously flawed and it's only a matter of time until it will be broken. However, it's still widely used and it can be expected that it'll be used long enough to allow real world attacks (as it happened with MD5 before). The NIST (the US National Institute of Standards and Technology) suggests not to use SHA1 after 2010, the german BSI (Bundesamt für Sicherheit in der Informationstechnik) says they should've been fadet out by the end of 2009.

The probably most widely used encryption protocol is SSL. It is a protocol that can operate on top of many other internet protocols and is for example widely used for banking accounts.

As SSL is a pretty complex protocol, it needs hash functions at various places, here I'm just looking at one of them. The signatures created by the certificate authorities. Every SSL certificate is signed by a CA, even if you generate SSL certificates yourself, they are self-signed, meaning that the certificate itself is it's own CA. From what I know, despite the suggestions mentioned above no big CA will give you certificates signed with anything better than SHA1. You can check this with:
openssl x509 -text -in [your ssl certificate]
Look for "Signature Algorithm". It'll most likely say sha1WithRSAEncryption. If your CA is good, it'll show sha256WithRSAEncryption. If your CA is really bad, it may show md5WithRSAEncryption.

When asking for SHA256 support, you often get the answer that the software still has problems, it's not ready yet. When asking for more information I never got answers. So I tried it myself. On an up-to-date apache webserver with mod_ssl, it was no problem to install a SHA256 signed certificate based on a SHA256 signed test CA. All browsers I've tried (Firefox 3.6, Konqueror 4.3.5, Opera 10.10, IE8 and even IE6) had no problem with it. You can check it out at https://sha2.hboeck.de/. You will get a certificate warning (obviously, as it's signed by my own test CA), but you'll be able to view the page. If you want to test it without warnings, you can also import the CA certificate.

I'd be interested if this causes any problems (on server or on client side), so please leave a comment if you are aware of any incompatibilities.

Update: By request in the comments, I've also created a SHA512 testcase.

Update 2: StartSSL wrote me that they tried providing SHA256-certificates about a year ago and had too many problems - it wasn't very specific but they mentioned that earlier Windows XP and Windows 2003 Server versions may have problems.
mehr...

falsepositive

27.01.2010 16:51:48

See if ssh key uses a pass phrase

I don't quite see an option to ssh-keygen and the lot to check whether a ssh key uses a pass phrase or not.

It is possible though to create a public key from a private key using ssh-keygen -y ~/.ssh/id_rsa. Thus providing you with a password prompt in case you have a pass phrase defined.

In case you know of any option to directly tell if there is a pass phrase, please comment to let me know :)
mehr...

Hanno's blog

26.01.2010 19:49:00

Hanvon WISEreader N526 - hardware fine, software a desaster

Hanvon WISEreader N526When asking me what I'd consider the most interesting technical developments in the near future, electronic books would be on the top of my list. So recently, I finally decided to buy one and ordered a Hanvon WISEreader N526. It has a pretty fair price, it seemed that free software support was likely to appear some time in the future (more on that later) and it has a touchscreen with pen, which was a feature I wanted to mark things in books.

From the hardware side, the device is pretty ok. Most ebook readers on the market share the same technologie for the display, it could have a bit more contrast, but else it's pretty okay. The device itself has a keyboard (which is querty, but not really ordered like a querty-keyboard), USB (not working as mass storage though), an audio output and a micro SD slot. Also, as said above, it has a touchscreen that can be used with a pen. So on the hardware side the device is quite fine.

What's not fine is the software running on it. It makes many features pretty much useless. Just to name a few flaws:
  • Adding marks with the pen, one of the main features of the hardware, is pretty useless. It works neither on PDFs nor on epub files. It only works for TXT and HTML files, so it's not possible to do any marks on any layouted file format.
  • HTML files are not supported. The vendor claims HTML support, but that's a plain lie. What it does is stripping out all HTML tags and showing the Text. If you know how HTML works, you can expect that this leads to pretty broken results and breaks all layout in HTML. Also, Hyperlinks don't work at all.
  • The zooming capabilities are very limited. For text, you only have three zoom levels. All of them are far larger than normal text in a book. For PDF, it's possible to make it fit on height or width, but not anything in between.
  • If you browse the files, there is no possibility to show the full filename, it only shows the beginning of the filename (about 20 characters). If you have files named “Author's name – Book title“ (which seems like a pretty common idea), you will only see some files with the author's name – not very useful.
  • The device has a button for landscape view (turn the view 90°). But it doesn't work. Probably a bug.

Example for HTML rendering
Example for HTML “support“ compared with original
I fell pretty angry about that. I'm not sure what to do yet. I have a 14 day return right and I seriously consider taking that opportunity. On the other hand, all of the issues are software issues. As this is a rather new device, it may very well be that the software is in an early state and issues get resolved soon. My problem is: I don't know that.

Another thing I'm looking at is OpenInkpot. It's a free firmware for ebook devices and they are working on support for the N526. However, having talked to the developers it seems that support for the touchscreen/pen is pretty unsure, as the vendor refuses to provide any documentation for that. Also, as this is a volunteers project, it's not clear if and when proper support will be available.
mehr...

rumreisen \o/

25.01.2010 03:24:00

Bali

Das Internet troepfelt hier mal wieder nur, deshalb gibts nur eine kleine Auswahl unserer Bilder (alle vom ersten ganzen Tag auf Bali). Die ersten beiden zeigen uns beim Besuch des Taman Kupu Kupu ("Schmetterlingspark"), das letzte kommt von unserer Wanderung durch die Reisterrassen (die auch unseren Bungalow umgeben haben). Alles weitere (gefuehlt 100000 Tempel, kleine Doerfer, mehr Panorama) kommt irgendwann spaeter :)
IMG_0368_small.JPGIMG_0246_small.JPGSTA_0440_small.JPG



mehr...

Multi-Touch 360

24.01.2010 10:40:00

Northern Hemisphere

It’s kind of a no-brainer to visualize the Earth, any other planet, or moon on a spherical display. But besides rotation, the multi-touch interface allows us to do even more. We are thinking about games and new forms of interactive visualizations to be more precise. We are very busy right now as Johann is exploring Asia, New Zealand, and Australia, whereas I’m working two jobs, so it’s all taking us a little longer. Nonetheless, bear with us and stay tuned for more.

mehr...

falsepositive

22.01.2010 00:48:12

Packstation Phishing

Gerade schlug bei mir eine Mail auf, die man wohl als Packstation-Phishing bezeichnen kann:


Return-Path: info at packstation.de
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled
Received: from s153*****.onlinehome-server.info (EHLO s153*****.onlinehome-server.info) [87.106.*****]
by mx0.gmx.net (mx087) with SMTP; 22 Jan 2010 00:39:08 +0100
Date: 18 Jan 2010 03:31:47 +0100
Message-ID: 20100118023147.2224.qmail at s153*****.onlinehome-server.info
To: meineemailadresse_neinnichtwirklich at gmx.de
Subject: PACKSTATION Systemupdate
From: DHL AG info at packstation.de
X-GMX-Antivirus: 0 (no virus found)
X-GMX-Antispam: 0 (Mail was not recognized as spam);

Content-type: text/html;

Sehr geehrte(r) Sebastian Raible.


Da wir in den letzten Wochen unser Serversystem auf den neusten Stand gebracht haben, bitten wir Sie, aktiv bei unserem umfassenden Systemcheck mitzuwirken.

Dieser dient dazu, eventuelle Fehler zu beseitigen. Wir bitten Sie daher darum, sich auf der DHL-Seite einzuloggen um Ihre PACKSTATION-Daten zu überprüfen.

http:// PACKSTATI 0 N.6x. to/index.php?id=***************

Schlägt der Loginversuch fehl, bitten wir Sie, sich unter folgender Nummer zu melden:

0800 343 *** ** (0 ct/Min*)

Viel Spaß weiterhin mit Ihrer PACKSTATION wünscht Ihnen


Ihr PACKSTATION Team

*) Aus dem deutschen Festnetz
-----------------------------------------------------------
DHL Vertriebs GmbH Co. OHG
Rathausplatz 1
10234 Berlin


Baut da jemand ein Array von Briefkästen auf, mit dem er anonym Sendungen empfangen und versenden kann?

Wenn ja, ist das immerhin mighty cool. Und irgendwie tun sich da jede Menge (teils beängstigende) Möglichkeiten auf, was man damit machen könnte.

Update: Heise hatte dazu schon im vergangenen März (2009) einen Artikel: heise security: Packstation-Phishing mit vertrauenserweckender Domain
mehr...

Hanno's blog

19.01.2010 16:11:00

Zählpixel für die VG Wort

Dieses Blog wird ab sofort mit Zählpixeln der VG Wort versehen. Da ich das gerne möglichst transparent machen würde (es betrifft in gewisser Weise den Datenschutz meiner Besucher), gibt es hier ein paar Erläuterungen dazu.

Die VG Wort ist eine Verwertungsgesellschaft für Texte. In Deutschland gibt es Zwangsabgaben für die Hersteller diverser Geräte (Kopierer, Scanner, Drucker, PCs, CD-Brenner etc.), die zur Verfielfältigung urheberrechtlich geschützter Werke geeignet sind. Diese werden von Verwertungsgesellschaften (die bekannteste ist wohl die GEMA) an Urheber von Texten, Bildern, Musik etc. ausgeschüttet. Das ist nicht gänzlich unumstritten, aber viele sind der Ansicht, dass dies eine probate Alternative zu immer strikteren Urheberrechten darstellt. Es führt etwa dazu, dass zumindest in gewissem Rahmen Privatkopien legal möglich sind. Allerdings gibt es zwischen der GEMA und der VG Wort einen wichtigen Unterschied. Will man bei der GEMA mitmachen, muss man sich deren Regeln unterwerfen. So ist es etwa nicht möglich, als GEMA-Mitglied Musik unter Creative Commons-Lizenzen zu veröffentlichen. Die VG Wort macht einem Autor keine derartigen Vorschriften.

Für Internet-Texte gibt es von der VG Wort das System METIS (MEldesystem für Texte auf InternetSeiten). Dabei kann man Texte auf Webseiten mit sogenannten Zählpixeln auszustatten. Das sind im Prinzip winzige, unsichtbare Bilder, die von einem Server der VG Wort heruntergeladen werden und in Beiträge eingebunden werden. Und hierbei kann man Bauchschmerzen haben - denn dabei werden natürlich Daten meiner Besucher an die VG Wort übertragen. Allerdings muss man dazusagen: Dieses Blog ist auch mit Google Ads ausgestattet - das führt ebenfalls dazu, dass eine externe Firma theoretisch Zugriff auf die Daten meiner Besucher hat. Unterbinden kann man beides mit gängigen Tools zum Blocken von Werbung, etwa Adblock Plus für Firefox.
mehr...

rumreisen \o/

18.01.2010 20:40:00

Bilder

IMG_0160_small.JPGIMG_0129_small.JPGIMG_0126_small.JPGIMG_0091_small.JPGIMG_0085_small.JPGIMG_0080_small.JPG
mehr...

rumreisen \o/

17.01.2010 09:47:00

Plan A1

Vor genau einer Woche sind wir durch Schneematsch zum Bahnhof gestapft, eine inzwischen unglaubliche Vorstellung. Nach der Bahnfahrt, 6 Stunden Flug, 4 Stunden Aufenthalt in Dubai, 6 Stunden Flug, ein paar Stunden in Bangkok, 9 Stunden im Nachtzug (mit den letzten beiden Tickets die es gab), einigen Stunden in Surat Thani, 2 Stunden Busfahrt und 5 Minuten auf der Ladeflaeche eines Pickups waren wir in unserem Dschungelbungalow in Khao Sok, wo die schwierigste Aufgabe darin bestand, noch wach zu bleiben (Und dann nach 12 Stunden wieder aufzustehen). Am naechsten Tag hatten wir die "Lake Tour" gebucht, die aus einer Schifffahrt ueber den zwischen Kalksteinbergen liegenden See, Mittagessen in schwimmenden Bungalows, eine kleine Dschungelwanderung und der Durchquerung einer Fledermaushoehle (incl. Schwimmen mit der Taschenlampe im Mund) bestand. Uffz. Nach der Busreise nach Ranong und dem Uebersetzen nach Ko Chang hatten wir nun drei Naechte im Bungalow direkt am Strand, mit fantastischem Essen, frischen Fruchtsaeften und Massagen fuer ungefaehr kein Geld. Heute Abend geht dann der "VIP"-Nachtbus nach Bangkok. Aber weil das Netz hier in diesem winzigen Internetcafe/Restaurant/Wasauchimmer so langsam ist, muessen wir die Bilder irgendwann nachreichen. Vielleicht am Flughafen...

machts gut,
Lena und Johann
mehr...

Hanno's blog

14.01.2010 20:16:00

BIOS update by extracting HD image from ISO

Today I faced an interesting Linux problem that made me learn a couple of things I'd like to share. At first, we found an issue on a Thinkpad X301 notebook that was fixed in a newer BIOS version. So we wanted to do a BIOS update. Lenovo provides BIOS updates either for Windows or as bootable ISO CD-images. But the device had no CD-drive and only Linux installed. First we tried unetbootin, a tool to create bootable USB sticks out of ISO-Images. That didn't work.
So I had a deeper look at the ISO. What puzzled me was that when mounting it as a loopback device, there were no files on it. After some research I learned that there are different ways to create bootable CDs and one of them is the El Torito extension. It places an image of a harddisk on the CD, when booting, the image is loaded into memory and an OS can be executed (this probably only works for quite simple OSes like DOS, the Lenovo BIOS Upgrade disk is based on PC-DOS). There's a small PERL-script called geteltorito that is able to extract such images from ISO files.
It's possible to boot such harddisk images with grub and memdisk (part of syslinux). Install syslinux, place the file memdisk into /boot (found in /usr/lib/syslinux/ or /usr/share/syslinux/) and add something like this to your grub config:
title HD Image
root (hd0,0)
kernel /boot/memdisk
initrd /boot/image.img

Or for grub2:
menuentry "HD Image" {
set root=(hd0,2)
linux16 /boot/memdisk
initrd16 /boot/hdimage.img
}

Now you can select bios update in your boot menu and it should boot the BIOS upgrade utility.

(Note that this does not work for all Lenovo BIOS updates, only for those using an El Torito harddisk image - you can mount your iso with mount -o loop [path_to_iso] [mount_path] to check, if there are any files, this method is not for you)
mehr...

Wenger Online#Blog

13.01.2010 00:13:57

Heizleisten

Für mein Wohnzimmer wünschte ich mir aus zwei Gründen eine etwas besondere Heizung. Durch die vormalige Nutzung als Pferdestall und des dabei abgesekten Fussbodens sind alle Wände mit einem ziemlich unpraktischen Betonsockel versehen. Vor diesen Sockel jetzt noch einen dicken Heizkörper zu schrauben würde meiner Meinung nach einfach nicht gut aussehen. Am liebsten wäre mir da ja eine Wandheizung gewesen, doch graute mir vor dem damit verbundenen Aufwand. Da entdeckte ich das Prinzip der  Heizleisten. Heizleisten bestehen aus kleinen Konvektoren die sich an allen Außenwänden befinden. Durch die grosseflächige Verteilung der Heizleistung soll weniger Staub als bei einem herkömlichen Heizkörper aufgewirbelt werden und durch die gleichmässige Erwärmung aller kalten Aussenwände stellt sich die Wohnfühltemperatur bei deutlich niedrigeren Temperaturen ein. Man kann das im Winter sehr deutlich vor großen Glasflächen spüren. Trotz warmer Luft im Raum, fühlt man immer die Kälte.

Heizleisten gibt es von verschiedenen Herstellern, die alle Ihre Vor- und Nachteile haben. Fest mit den Rohrleitungen verlötet Konvektoren haben natürlich einen deutlich besseren Wärmeübergang, worauf die Hersteller auch immer hinweisen und versuchen damit die anderen Systeme abzuwerten. Ein schlechterer Wärmeübergang bedeutet aber nun nicht das da Wärme verloren geht (Physik: Energierhaltung) sondern nur das man etwas mehr Konvektorenfläche oder eine leicht höhere Vorlauftemperatur benötigt um auf die gleiche Leistung zu kommen. So schlecht kann der Wärmeübergang bei den gestekten Konvektoren auch nicht sein, auf ein heisses Rohr gesteckt vergingen nur wenige Sekunden bis der Konvektor überall heiss geworden war.

Ein großer Vorteil aller Stecksysteme ist das man beliebige Rohrlängen verbauen kann und gerade im Altbau macht sich diese Freiheit schnell bezahlt.

Konvektoren

Konvektoren2

Normalerweise gehört zu diesen Heizleisten auch immer eine Abdeckung aus Holz oder Metal. Um die unschönen Betonsockel zu verstecken entschied ich mich aber für eine andere Lösung. Mit der Oberfräse entstand aus Kiefernleisten und Kiefersperrholz eine passende Wandverkleidung. Die Ablageplatten sind aus geöltem Birkenholz, welches der örtliche Baumarkt zu einem günstigen Preis verkauft.

Wie man auf den anderen Bildern sehen kann, werden diese “Fensterbänke” bereits ausgiebig genutzt :-)

Wand-offen

Wand-geschlossen

mehr...

Hanno's blog

10.01.2010 19:26:00

Vortragsfolien über Wachstum

Ich hatte auf dem JUKSS einen kurzen Einführungsvortrag zu Wirtschaftswachstum und Wachstumskritik gehalten. Hier gibt's die Folien dazu.

Bei der Gelegenheit noch zwei sehenswerte Videos zum Themenkomplex Wachstum und Peak Oil:
Bis zum letzten Tropfen - einführende Doku auf NDR über Peak Oil
Vortrag von Wolfgang Blendinger über Peak Oil (gehalten an der Uni Tübingen, Blendinger ist Deutschlands einziger Professor für Erdölgeologie und Mitglied der ASPO, einer Organisation von Wissenschaftlern, die sich mit dem Thema Peak Oil befassen)
mehr...

experimentalworks

09.01.2010 22:48:22

Writing a simple PHP sourcecode buildscript in Scala

Scala is a fascinating language. Running on the Java VM, Scala offers a powerful mixture from both the imperative Java world and functional programming including modern techniques like Actors. Personally I prefer to not just learn programming languages, but also try them out while reading through the book.

As I wanted to have nice a build system for my PHP subversion checkout, I used this need as a project to start coding Scala. So what do I exactly need? I want to build multiple versions of PHP from the same branch without checking out the code twice. I also want to configure these builds somewhere without always typing in the parameter list or so. For further versions I want to be able to configure these in a file that can easily be distributed to other machines.

I set down and wrote a parser for a configuration file that can configured build targets which is then build by
the program. The configuration file I used is specialized for this purpose, which is why I didn’t used something like ant or so. The result is called bauaffe-3.0.0a1.jar.

I’ll just show a few things done in the project, but mainly focus on what the nice script can do. Further blog posts will be about the actual implementation.

The configuration looks like this

$ cat ~/.buildmaker
begin default configuration
    define source "/Users/dsp/dev/c/php-src"
    define build "/Users/dsp/dev/c/php-src/build"
    define defaults as
        with "iconv=/opt/local"
    build trunk as
        "php60" using defaults
        "php60-debug" using defaults
            enable "debug"
    build branch "PHP_5_3" as
        "php53" using defaults
            environment PHP_AUTOCONF="autoconf213"
        "php53-debug" using defaults
            enable "debug"
            environment PHP_AUTOCONF="autoconf213"

.
Proper indention is not necessary (as e.g in python).


You might want to think that parsing the configuration file can be difficult. Well, if you use C you would use YACC, if you use PHP, I don’t know what you would have done, but Scala is made to create this kind of Domain Specific Languages (for my the config is a DSL). You can easily transform a EBNF directly to scala code using the JavaTokenParsers provided by the Scala Library. As an example this it the statement that parses the first line:

def begin : Parser[Configuration] =
"begin" ~ ("default" | stringLiteral) ~ "configuration" ~ rep(define | build) ^^ {
case "begin"~name~"configuration"~confs => new Configuration(name, confs)
}

which is directly taken from the BNF:

config ::= "begin" ( "default" | string ) "configuration" ( define | build )*

Did I mention that the actual parser is 170 lines of code with usual indention and formatting?


Configuration
The configuration file is searched in ~/.buildmaker, or if ~/.builmaker doesn’t exists, buildmaker.conf in the current directory. How do you configure the tool? First of all you can specify a configuration. It is usually called “default”. It is not yet supported to name it differently, although the parser is able to parse it. In further versions multiple configurations per file are allowed.

Variables
Variables are set using the define syntax. At the moment you can set the build and source variable as well the defaults variable, which is usually a block of statements that can be used in the branch configurations.

Branches
A branch is configured using the build syntax. You first have to specify which branch to build. Every branch can then configured to have build target with a given set of options. Branch options are:

. You can specify using defaults which will cause the runner to use the options specified in the defaults define.

At the moment the parser will not do a good job in notifying you what you are allowed to do and what not, although pure parse error will be emitted. You can also not set any other variable than the described once.

Building
Calling

$ java -jar bauaffe-3.0.0a1.jar list
TARGET                         LAST BUILD
php60                          None
php60-debug                    None
php53                          Sat Jan 09 16:55:12 CET 2010
php53-debug                    Sat Jan 09 16:59:37 CET 2010

gives you a list of parsed targets and their last build date. You can build a target using

$ java -jar bauaffe-3.0.0a1.jar 

or build all using

$ java -jar bauaffe-3.0.0a1.jar all

Please notice that the current version requires that you now what you are doing. You might miss some error messages or find them not useful. I’ll change this before the first release, if I’ll do a final version of it. I hope you like the little tool.

Download It!

Scala (pronounced /ˈskɑːlə, ˈskeɪlə/) is a multi-paradigm programming language designed to integrate features of object-oriented programming and functional programming.[1] The name Scala stands for “scalable language”, signifying that it is designed to grow with the demands of its users.

mehr...

halcy.de v4

09.01.2010 22:42:00

Releases

A new page is created:

Releases, on which demoy things I made a part of are linked.

(Also, a picture that stares into your soul.)

mehr...

Hanno's blog

08.01.2010 21:39:00

Videos aus ARD Mediathek herunterladen

Ich stand heute vor dem Problem, ein Video aus der ARD-Mediathek herunterladen zu wollen. Die gibt es meistens nur noch als Flash und ohne Download-Link.

Die Videos werden über RTMP übertragen, was ein Flash-eigenes Videostreaming-Protokoll ist. Im gulli-Forum fand ich eine Anleitung. Ich habe darauf basierend ein kleines Skript ardget geschrieben, mit dem man das bequem erledigen kann. Aufzurufen einfach über
ardget "[URL der Mediathek]"

Die Anführungszeichen sind notwendig, weil die URLs &-Zeichen enthalten, die sonst von der Shell fehlinterpretiert werden. Da die Videos teilweise mit Javascript-URLs verlinkt sind, filtere ich das auch entsprechend, man kann also den kompletten javascript: beginnenden Link übergeben. Benötigt wird entweder flvstreamer oder rtmpdump, sollte ansonsten in jeder gängigen Unix-Shell funktionieren.
mehr...

rumreisen \o/

08.01.2010 17:13:00

Reiseplan


Etappe 1

10.1. 20:15 Abflug in FRA -> Dubai
11.1. 09:40 Dubai -> Bankok, Ankuft 18:40
11.1. Plan A: Zug 22:50 nach Surat Thani, Ankunft 12.1. 08:XX.
         Plan B: Uebernachten in Bankok, danach Minibus oder anderer Zug richtung Sueden.
Plan A:
12.1. ca 1500 Ankunft in Khao Sok National Park.
13.1. Tag in Khao Sok
14.1. Abfahrt per Bus Richtung Ranong.
Plan A1: von Ranong per Boot nach Ko Chang (Insel ohne Strom).
Plan A2: Uebernachtung in Ranong falls zu spaet fuer Boot. Dann erst Transfer nach Ko Chang.
17.1. Abfahrt von Ko Chang/Ranong richtung Bankok per Bus.
18.1 Tag in Bankok
19.1. 06:15 Abflug nach Bali

Etappe 2

19.1. 11:25 Ankunft in Denpasar
Dann nach Norden, kurzer Ausflug in den Westen, dann weiter im Uhrzeigersinn um die Insel. 1-2 Tage per Boot auf die Gili Islands und/oder Lombok. Naeheres noch unbekannt.
01.2. 11:15 Abflug in Denpasar -> Bankok, Ankunft 15:20

Etappe 3

02.2. Start der Tour mit Intrepid, siehe http://www.intrepidtravel.com/tripnotes/KSD/2010-02-02
10.2. Ende der Tour in Ho Chi Minh City.
11.2. Abflug 16:40 -> Kuala Lumpur 19:35
11.2. Abflug 21:30 -> Auckland 12.2. 12:50

Etappe 4

12.2. 12:50 Auckland
Keine Ahnung :)

Etappe 5

14.4. 17:45 Auckland -> Melbourne
Woche in Melbourne
20.4. 02:55 Melbourne -> Dubai
204.  14:30 Dubai -> Frankfurt



Route auf Google Maps
mehr...

Ruin & Wesen News

08.01.2010 09:02:07

Advanced Microcontroller Programming

Following up on last year's "algorithmic music in a box", here is the video of wesen's 2009 talk at the CCC congress: "advanced microcontroller programming". A big shoutout to the video crew that managed to put all the videos online in a matter of days (wow!). This talk is not about music or MIDI at all (although the subject is used as an example), but about the development "discoveries" that were made during this intense year of programming. Put your geek hat on, download the slides and notes and enjoy some nerdy programming fun!.

mehr...

Wenger Online#Blog

03.01.2009 23:37:48

Aufräumen

oh, wenn Aufräumen nur immer so schnell gehen würde…

Aufgeräumt1

Aufgeräumt2

mehr...

Multi-Touch 360

02.01.2009 20:07:00

Visualization

Since we have been back from Piksel09 in Bergen, Norway, Johann was working very hard to get the visualization right which turned out to be not that easy and involved some serious math. In theory it should be easy, but with hardware and software involved, the devil is in the details.

Much kudos to Johann for pulling it off!

mehr...

halcy.de v4

31.12.2009 18:03:00

And a happy new year

This is getting old, isn’t it?

Well, a happy new year to you. May you have a great 2010.

(If the video does not work yet, check back later, or try the video at http://aka-san.halcy.de/happynewyear.mp4 )

mehr...

Multi-Touch 360

31.12.2009 16:49:00

Piksel Talks

Recordings of all the presentations and live events at Piksel Festival 2009 are available online in the Piksel09 Distributed Multimedia Data Base.

Embedding our talk didn’t really work, so I put it on Vimeo after it was rejected on YouTube because of this ridiculous time limit they have.

mehr...

falsepositive

29.12.2009 15:47:56

Der Mantel

Alles begann mit meinem ersten Auftrag als Engel auf dem 26C3 am Morgen des ersten Tags, so zwischen 5 und 8 Uhr morgens. Ich saß mit F. am Eingang und kontrollierte bzw. befestigte die Eintrittsarmbänder der paar wenigen Verrückten(?), die um die Uhrzeit schon auf den Congress wollten. Meine Tasche und meinen Mantel hatte ich neben F. auf dem Boden abgelegt.

Am Ende meiner Schicht war mein Mantel weg, meine Tasche und ein anderer Mantel waren aber noch da. Also alles klar: Eine Verwechslung. Ich schrieb einen Zettel für den Infodesk, schrieb meine Vermissensmeldung ins Wiki und sagte im Chat bescheid. Ich dentete, ich erzählte Leuten davon.

Der Tipp, doch zu schauen, wer noch Schicht hatte, lief ins Leere, auch meldete sich niemand auf meine Kontaktversuche.

Mittlerweile ist der dritte Tag, ich trug den (eine Nummer zu großen, weniger warmen und leicht kaputten) Mantel des mysteriösen Fremden weiter (mangels Alternative) und hängte ihn im Engelbereich an die Garderobe wie schon in den Tagen davor. Meinen Schal steckte ich wie immer in einen Ärmel.

Eben kam ich dann zur Garderobe zurück und: Der Schal war noch da, der Mantel weg.

Okay, also entweder der Besitzer hat gesucht und gefunden und zurückgetauscht (wo ist dann mein Mantel?). Oder aber mein Mantel wurde nicht vertauscht sondern geklaut und ich - der eine Vertauschung annahm - "klaute" den fremden Mantel. Aber wieso sollte jemand einen Mantel und nicht meine Tasche klauen?

Und wieso hat niemand einem Engelkoordinator bescheid gesagt?

Ich friere jetzt. Außer am Hals. Bin leicht verwirrt und verwirre zudem noch andere mit meiner wirren Mantelgeschichte.
mehr...

Multi-Touch 360

26.12.2009 13:37:00

Piksel Festival 2009

We recently participated in the Piksel Festival in Bergen, Norway. Besides Bergen being a very rainy but lovely place, Piksel09 was very inspiring, and we met lots of interesting people. Our talk was scheduled for Sunday, November 22, at Bergen Kunstmuseum, and I suppose that, according to the audience response, our presentation went quite well.

Here are some pictures of our hemispherical multi-touch installation we took for the presentation. Unfortunately, WordPress doesn’t really like images with a resolution of 16:10, so you have to make just another click.

Last but not least, we would like to thank the Karlsruhe Institute of Technology and Prof. A. Schmitt for supporting us.

OH, and we even got free T-shirts!!11!einself!

mehr...

Zeitgeistaustreibung

25.12.2009 17:35:00

Goodbye 2009

Das Jahr geht zur Neige, ich sitze bei meinen Großeltern auf dem Sofa und entspanne, was ich dieses Jahr viel zu selten getan habe. Ein Buch habe ich heute schon zu Ende gelesen, ein zweites wird sicherlich später noch folgen. Jetzt möchte ich aber kurz auf das Jahr zurück blicken:
Anfang Januar habe ich beschrieben, was ich in diesem Jahr alles vorhabe. Das Reisen ist leider viel zu kurz gekommen, aber dazu später.
Im Januar habe ich tatsächlich begonnen, an einem Roman zu arbeiten. Das konnte ich sogar bis zur Klausurphase, der letzten im Studium übrigens, durchziehen. Dann hatte ich 30 akzeptable Seiten fertig, die ich aber seitdem kaum angefasst habe. Direkt nach den Klausuren kam die Möglichkeit auf, zusammen mit Manuel und Alex für den O'Reilly-Verlag an einem Buch über Arduino zu arbeiten und nach vielen Schmerzen und kurzen Nächten hatten wir das Buch ende Juni in den Druck gebracht. Parallel dazu fing im April meine Diplomarbeit an, die sich bis Anfang Oktober durchzog. Ich war also über ein halbes Jahr mit Schreiben beschäftigt, habe aber immerhin einiges produziert. Abgegeben ist die Arbeit übrigens noch nicht. Bürokratie und Prüfungsordnungsregeln, aber das wird noch.
Zum Reisen: London Anfang März hat geklappt, ende März dann noch eine gute Woche Irland. Im Oktober habe ich dann direkt nach der Diplomarbeit angefangen, in meinem "alten" Job zu arbeiten, ende des Monats war ich allerdings soweit ausgebrannt, dass ich eine Woche nach Berlin in den Urlaub gefahren bin. Weitere Reisen? Ein Wochenende Venedig, kein Istanbul und auch kein Wien, wofür ich mich recht herzlich entschuldigen möchte. Nun also Weihnachten, morgen geht's zum 26C3, danach direkt nach Frankreich zum Snowboarden.
Mögliche Reiseziele 2010: Ungarn und umliegendes, evtl. Ägypten, evtl Los Angeles, wahrscheinlich Istanbul und einige kleinere Wochenendtrips inklusive Wienbesuch.
Weitere Pläne: Abnehmen. Endlich. Dazu gehört "mehr Sport". Es muss doch irgendwie gehen. Ausserdem dieses Jahr tatsächlich auch fiktionales Buch fertig schreiben. Dazu die ein oder andere Sachbuch-Aktivität und überhaupt "mehr schreiben" - ich hab ja jetzt Zeit, weil kein Studium mehr an der Backe, andererseits habe ich nen Vollzeit-Job. We'll see.
mehr...

Ruin & Wesen News

25.12.2009 01:47:08

Algorithmic Music in a Box

We are currently very busy, so to keep you waiting, the video of wesen's talk "algorithmic music in a box" at last year's 25c3 in berlin. This video is actually pretty interesting cause it showcases the very few steps along the current opensource vision of the minicommand. Wesen will hold another talk at this year's 26c3, this time focusing on straight-on technical facts about developing for microcontroller architectures.

25C3 Algorithmic Music in a Box from freeduino.de on Vimeo.

mehr...