Archive

Archive for May, 2011

package of the day

May 30th, 2011 No comments

it has probably bin there from the beginning – i just didn’t know it was there. There’s a nifty little tool, simply called “at”, that can be used to schedule jobs for later execution. So instead of man-paging-together a long command line using shutdown to reboot my machine somewhen late at night i now do:

at 13:37
reboot
[ctrl]+[d]

The job is scheduled for the next point in time possible (that may be the next day if the time specified is already past). Each job gets assigned a number that can be used to delete it with “atrm” and one can list all jobs pending with “atq”.

. . . simplicity at work . . .

Categories: nerdcore, software Tags: , ,

Diese Woche in Dresden

May 30th, 2011 No comments

Ich möchte nochmal auf zwei Religionsveranstaltungen diese Woche in Dresden hinweisen.
Wohingegen der evangelische Kirchentag unter dem Motto “Da wird auch Dein Herz sein” (Matthaeus 6, 21, Elberfelder Bibel)
schon relativ bekannt ist, feiern die “Atheisten” von GeFAHR e.V. unter dem Motto “Und da wird Dein Hirn sein” zur gleichen Zeit die religionsfreie Zone in Dresden.
Egal, wo ihr hingeht – Viel Spaß!

Categories: news, political Tags: ,

Detour over Seattle

May 22nd, 2011 3 comments

Someone (not me) had a lot of fun with the customs in Anchorage, so I’m now in Kurt Cobain’s city 😀 instead of Frankfurt or at home. But who cares, and I can use the time to post a video for your which fits this situation:

So Anchorage, Alaska, was great. I have meet a lot of interesting people on the IPDPS conference, mainly the important guys of the HPC community, and also some nice people from Anchorage and Seattle. I will post some pictures about the amazing nature in Alaska, when I’m back in Germany.

Update:
Ok, my 2-week-business-trip around the world is finished. Moscow is really a nice place and is worth a visit, but your are nearly fucked up with English 🙁 and most of the important signs in Moscow are only written in Cyrillic. I hope it’s better in Germany, but I’m afraid that the same percentage of the German population can’t speak English.

And now I proudly present … the promised panorama pictures …

Beluga Point, a whale viewing point in the south of Anchorage

Sleeping Lady (mountain on the left) and harbor of Anchorage photographed on the roof of the Snow Goose bar

Lomonosov Moscow State University

Red Square and Kremlin in Moscow

Categories: fun Tags: , ,

Kinderarbeit und so

May 17th, 2011 No comments

Sorry an die unpolitischen Leser für die Politikposts, aber dass die Initiative Neue Soziale Marktwirtschaft endlich anzeigt, worauf ihre Politik hinausläuft finde ich erstaunlich.

Update: (Das Kleingedruckte beim Link könnt ihr gern überlesen)

Categories: political Tags:

Skorpion im nrtm?

May 16th, 2011 3 comments

Der Kleine hat sich im Einband des PVM Manuals wohl recht ungestört einnisten können. Solange er das tut was die Wikipedia über ihn sagt (Ungeziefer vertilgen) ist er hier herzlich willkommen.

Chelifer cancroides, der Bücherskorpion

Categories: fun Tags:

Die Sponsoren der FDP

May 16th, 2011 No comments

Wer wissen will, wer jetzt noch hinter der FDP steht, hier gibts die Sponsoren-Liste des Parteitags.
Update: Hihihi … Pfizer

Categories: news, political Tags:

Intels Tri-Gate Technologie

May 9th, 2011 No comments

Sehr lesenswerter Artikel im insideHPC Blog über die neue FinFET 3-D FET Tri-Gate Wundertechnologie von Intel. Da scheint gerade jemand echt Angst vor ARM zu haben. IMHO ist der Fehler von Intel ja schon früher passiert, und zwar an der Stelle der Geschichte als sie die Chance hatten x86 den Todesstoß zu versetzen, es aber nicht getan haben. Aber lest selbst:

http://insidehpc.com/2011/05/09/intels-tri-gate-gamble-its-now-or-never/

Categories: hardware, technic Tags: , , ,

Bash: parallel processes

May 9th, 2011 2 comments

Sometimes there is a need for spawning multiple sub processes in a shell script and do something after ALL of them have finished. The Bash has nice little features to do this very easily.

Here is an example:

#!/bin/bash
./process_1 &     # fork first sub process
PID_1=$!          # get PID of first sub process
./process_2 &     # fork second sub process
PID_2=$!          # get PID of second sub process

#...do some other work...

wait  ${PID_1}     # stop execution until first process has finished
wait  ${PID_2}     # stop execution until second process has finished

#...all work is done...

exit 0

With the ampersand (&) one can fork sub processes running independent from the parent process.

To avoid busy waiting we want to stop execution of the parent script until the child has finished. So we don’t use an infinite loop with a check and a sleep or something like that, but a function called wait together with the childs’ Process ID.

The PID of a created process can be received by reading $! right after the fork. As far as I know this is mostly bash functionality and maybe is not POSIX! (correct me if I’m wrong)

Categories: bashism, software Tags: , ,

top 10 der Technologien um das Internet lahm zu legen

May 4th, 2011 No comments
Categories: software Tags: