Archive for August, 2007

Favourite Music

Saturday, August 25th, 2007

Recently a couple of records were released that I really enjoy a lot. The first to mention would be “An end has a start” by “The Editors”. It was releases some day in June and at first I did not like it. I’m not even sure if it was the actual record I was listening to but I thought it was boring and rather pathetical. But after listening to it again a couple of weeks ago I began to really like it a lot. Favorite tracks would be “The weight of the world” (I know a couple of people who really should take the lyrics of that song to their heart) and “Bones”. I love how the singer belts out the words “Retreat, retreat” in that song and of course the fabulous phrase “The love you felt to equal the pain you’ve gone through” not to forget the dynamic and especially danceable style of the song.

As for music to dance to: check out “Idealism” by “Digitalism”. From what I’ve heard a very new band from Berlin. All in all topnotch dance music, an exciting mixture of electronic and rockmusic. There are rocking tracks like “Idealistic”, some more relaxed downtempo tracks like “Apollo-Gize” and some Prodigy like dancefloor hits like “Homezone” but all are really funky and a lot of fun.

editors_an_end_has_a_start idealism_digitalism
arctic_moneys_favourite_wort_nightmare air_pocket_symphony

Already released in April was the second kickass record by the “Arctic Monkeys”. Awesome piece of music. Most favourite song from that LP would be “505”. Without knowing the story behind that song I bet it’s about a tragic, wonderful, pathetic, romantic, rockstar like love thing. So! Incredible! “But I crumble completely when you cry, it seems like once again you’ve had to greet me with goodbye.”

The fourth record is also very special (of course). It’s “Pocket Symphony” by “Air”. Minimalistic downtempo music to relax or concentrate (I listen to it when I’m working). But make no mistake. It’s not shallow music without soul or message. Listening to for example “One hell of a party” gives me the creeps. In a positive way! And also the lyris of “Photograph” are ingenious if you ask me: “I would like to own your photograph, the angels cry to have your photograph, as if you were awfully made for life, as fortune favor fools like candle light.”.

Roadtrip to Charleston

Thursday, August 16th, 2007

Knoxville Charleston Tour Am Wochenende sind wir (Sven, Barbara und ein Haufen anderer Leute) nach Charleston in South Carolina gefahren. Wir fuhren Samstag Morgen um 6:00 Uhr los und waren etwa um 13:00 dort. Ich bin die ganze Strecke hin gefahren – Sven fuhr zurueck am Sonntag.

Wie man auf der Karte sieht liegt Charleston am Meer. Am Atlantik um genau zu sein. Da ich da noch nie war, hab ich mich sehr darauf gefreut.

Zunaechst haben wir ein Motel gesucht und auch schnell gefunden. Davor habe ich noch eine Badehose erstanden, da ich meine natuerlich vergessen hatte. Nachdem wir eingecheckt hatten schmissen wir uns in besagte Badeoutfits und machten uns auf den Weg zum Strand.

Das Wetter war perfekt – fast zu heiss. So weit im Sueden ist es noch um einiges schwuehler – die Luftfeuchtigkeit ist extrem hoch. Das Wasser war nicht besonders kalt aber sehr salzig. Wir blieben bis Abends am Strand, danach gings zurueck ins Hotel. Wir machten uns frisch und auf den Weg in die Stadt.

Da ich bisher ausser Knoxville nicht viel von den Vereinigten Staaten gesehen habe war ich positiv ueberrascht so wunderschoene alte Haeuser zu sehen. Es gibt hier nicht nur haessliche, schnell aus dem Boden gestampfte Haeuser (nicht dass Knoxville nicht auch einen ganz besonderen Charm haette) sondern es gibt auch Orte an denen man tatsaechlich Kultur und Geschichte sehen und spuehren kann. Als Beispiel waere hier der ehemalige Sklavenmarkt zu nennen den wir besuchten. Nun ist das aber nicht der Ort an dem die Sklaven verkauft wurden – man sagte uns da waere nichts zu sehen obwohl Charleston der Zielhafen fuer viele Sklavenschiffe war. Es war vielmehr der Ort an dem die Sklaven einkaufen konnten. Hier einige Bilder:

ein wunderschoenes Haus in Charleston typische Haeuserzeile in Charleston Der Atlantische Ozean

keine Magnolie? eine Kirche in Charleston Arthur Ravenel Jr. Bruecke

It’s hot!

Tuesday, August 14th, 2007

Temperatur Freitag 10. August
Ein Temperaturgraph fuer Freitag den 10. August. Letzte Woche war es immer sehr heiss – Freitag war jedoch der heisseste Tag. 36 Grad! Da kriegen sogar die Klimaanlagen hier Probleme obwohl es nahezu ueberall auf 18-20 Grad runtergekuehlt ist. Auch im Buero. Gut dass ich einen Rechner habe der viel Waerme produziert. So muss ich nicht frieren waehrend der Arbeit. That’s the US!

VTK read and display 2D raw data

Tuesday, August 7th, 2007

In order to create a simple 3D and 2D data visualization tool I took a look at the Visualization Toolkit. I found everything I needed there – it’s a really great collection of C++ classes with bindings for various other programming languages (TCL, Python). However the documentation is somewhat confusing and lacking simple basic things although a very good document on how to install compile and use it together with Visual Studio can be found here and a great blog aiming at overcoming the lack of tutorials can be found here.

I had quite a hard time figuring out the easiest thing: read raw 2D data and visualize it. After I played around with it for a while I figured it out. It’s actually pretty simple. Here’s the code:

/*******************************************************************************

    Simple VTK Example

    A very simple VTK example - a raw 2D datafile is read
    it's magnified by a factor of 3 and then it's displayed on a window.

    The pipeline:
    vtkImageReader->vtkImageMagnify->vtkRenderWindow

    The image file is a raw file of 64 rows * 64 columns. The values are
    2 byte (short int) long. 
    It's a greyscale dataset (NumberOfScalrComponents = 1)

*******************************************************************************/

#include "vtkImageReader.h"
#include "vtkImageViewer.h"
#include "vtkImageMagnify.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
#include "vtkRenderWindowInteractor.h"

#define IMG_FILE "C:data.raw"

int main (void)
{
  vtkImageReader *imgReader = vtkImageReader::New();
    imgReader->SetFileDimensionality(2);
    imgReader->SetFileName(IMG_FILE);
    imgReader->SetNumberOfScalarComponents(1);
    imgReader->SetDataExtent(0,63, 0,63, 0,0);

  vtkImageMagnify *imgMagnify = vtkImageMagnify::New();
    imgMagnify->SetInputConnection(imgReader->GetOutputPort());
    imgMagnify->SetMagnificationFactors(3, 3, 3);

  vtkImageViewer* imgViewer = vtkImageViewer::New();
    imgViewer->SetInputConnection(imgMagnify->GetOutputPort());

  vtkRenderWindow *renWindow = vtkRenderWindow::New();
    renWindow->AddRenderer(imgViewer->GetRenderer());
    renWindow->SetSize(64*3, 64*3);

  vtkRenderWindowInteractor *renWindowInteractor = vtkRenderWindowInteractor::New();
    renWindowInteractor->SetRenderWindow(renWindow);
    renWindowInteractor->Initialize();
    renWindowInteractor->Start(); 

  return 0;
}

Are they crazy?

Saturday, August 4th, 2007

Daran werde ich mich so schnell wohl nicht gewoehnen.

1 inch = 25.4 mm
1 foot = 0.3048 m
1 yard = 0.9144 m
1 mile = 1.609344 km
oder: 1 mile = 1750 yards = 5280 foot = 63360 inch,
da: 1 foot = 12 inch und 1 yard = 3 foot.

Nicht nur die Umrechnung ins metrische System ist verwirrend sondern auch die Umrechnung innerhalb des Systems. Das System wird uebrigens “English Units” oder “Englische Einheiten” genannt.

Es wird noch besser:

1 fluid ounce (fl oz) = 29.57353 ml
1 cup (cp) or (c) = 236.5882 ml
1 gallon (gal) = 3.785412 l
oder: 1 gallon = 8 cup = 64 fl oz.

Die Temperatur ist auch nicht ganz einfach zu verstehen. Hier gibt es eine Tabelle zum Nachschlagen von einzelnen Gradzahlen. Und hier die Formel um aus Fahrenheit Celsius zu berechnen:

TC = (TF â?? 32) ÷ 1.8