Mittwoch, 27. Februar 2008

Music to hack to

Whoever spent a whole day and night (or two) with hacking a server or any other type of code knows about the importance of music in the background. The music should push you forward, motivate you and keep you from falling into sleep. But it shouldn't make you nervous or aggressive. It must give yo u that feeling of peace and satisfaction that keeps you working on the code for hours.

Today i want to show you my favorite music to listen to while hacking:

Explosions In The Sky
(Photo by nailest)

An American instrumental rock band from Texas. They know how to make you feel the music even without lyrics. Guitarist Munaf Rayani said about their status as instrumentalists, "I mean, I think we discussed singing for half a second, and then it just kinda, we just dropped it. We just didn't go back to it because we were comfortable enough." [wikipedia]

YouTube Video: Your Hand In Mine (Live)

Blackmail
(Photo by rockzoom_de)

A German independent band from Koblenz. Their debut album "Blackmail" was released in 1997 - Their first really successful album was "Friend Or Foe" (Released in 2003) which was heavily played on Viva2 (a German independent/rock music tv station).
Blackmail is currently working on a new album "Tempo, Tempo" which is planned to
be released on March, 28th.

YouTube Video: Moonpigs

Embee

Embee is a popular swedish DJ. Be prepared: His music keeps you unbelievably warm and loose! In the mid 1990 Embee worked as a solo DJ in the USA and released a number of singles and album although none made an lasting impact.

He is part of the famous swedish hip-hop group Looptroops and won a Swedish Grammy for his first solo album "Tellings from Solitaria" (best hip-hop or soul release of 2004).

YouTube Video: Send Someone Away

Kings Of Leon
(Photo by cheekymonkey_princess)

Kings Of Leeon are a rock band from Tennessee, USA. Their sound is a kind of southern rock or blues. They consist of three brothers and a cousin.

In an interview Caleb Followill (one of the three brothers) said that their early influences where The Rolling Stones, Neil Young and Bob Dylan.

YouTube Video: Knocked Up



Songs: Ohia
(Photo by smallestbones)

My very favorite! Songs: Ohia was mainly a project of Jason Molina (who does also release single albums) and other revolving musicians. In 2003 they changed their name to "Magnolia Electric Co.".

Their music is very emotional and enthralling. Feel the goose bumps touching your skin when listening to Cabwaylingo (from the very first album "Songs: Ohia").

YouTube Video: Cabwaylingo (Live)

Montag, 25. Februar 2008

Subnetting sucks

/16 means the last 16 bits ...or the first? ...Class A network? argh

Samstag, 23. Februar 2008

New vinyl!

I was not able to resist... I am back from my favorite record dealer! ~50 Euros later:

Songs: Ohia - Magnolia Electric Co

Songs: Ohia - Songs: Ohia

Die Skeptiker - Dada In Berlin, Tondokumente 2007 (German punk)

Razzia - Tag Ohne Schatten (German punk)

How to mount an ISO image in linux

You can mount a standard ISO image using this command (as root):

mount -o loop image.iso /mnt/myisoedcd

Note that /mnt/myisoedcd must exist. (mkdir /mnt/myisoedcd)

The content of the ISO image is now available at /mnt/myisoecdc (as your deskop environment may already have informed you about)

Freitag, 22. Februar 2008

ScopePort development debug data

Currently hacking the "Warnings" module...

Donnerstag, 21. Februar 2008

No fonts in Steam/Half Life 1 on Wine

When Half Life 1 on Wine is running but does not display any menu entries you need to install the Microsoft TTF fonts. On Ubuntu/Debian you can install them with "aptitude install msttcorefonts". You also need to place the Tahoma font into "~/.wine/drive_c/windows/fonts" - Don't know where to get the Tahoma TTF file? Google is your friend.

Sonntag, 10. Februar 2008

The first ScopePort console is ready!

I am currently finishing hacking the first ScopePort console! It's a ncurses-based C++ console that uses the ScopePort remote.php:


Useful ncurses tutorials/examples:
  • http://web.cs.mun.ca/~rod/ncurses/ncurses.html
  • http://www.captain.at/howto-curses-example.php
  • http://www.apmaths.uwo.ca/~xli/ncurses.html

Freitag, 8. Februar 2008

Developing C++ QT applications using Eclipse

You can easily develop C++ QT applications with Eclipse CDT! There is no need for another plugin.

It is important to define the correct libs in the Eclipse project settings. You can find out the correct g++ command string by using qmake(-qt4).
  1. Create a new C++ project.
  2. Add a source file (e.g. the hello world program from the QT4 tutorial)
  3. Use a shell to navigate to the source folder of your hello world program.
  4. Execute "qmake -project && qmake && make" (or qmake-qt4 if you want to use QT4)
  5. You should see the correct g++ line.
  6. Configure your Eclipse project to use the g++ settings.
My project settings (Kubuntu Gutsy, QT4):




You can now delete the files that were created by qtmake and use Eclipse CDT for developing your QT applications. Have fun!

How to download entire websites using wget (Linux [,*NIX])

You can download a whole website with the handy wget program:
wget -r http://example.org/somefolder
This is very useful for downloading documentations which are not available as a tarball or PDF.