A green tip

Much to my regret I have a lot of battery-powered devices at home. It starts with a simple clock and goes all the way up to my laptop.

The fact that batteries aren’t really the eco-friendliest thing in the world is not news. So you can do alot to ensure, even though you may be using a lot of battery-powered devices, that you don’t use more than necessary…

My gamepad for instance is a wireless RumblePad 2 (Logitech). I don’t use it that much but the device keeps on draining it’s batteries. Simple solution: Kick the batteries out of the device when you don’t need it.

Also from Logitech: The MX Revolution mouse that I’m using with my laptop. Unfortunately I can’t just remove the batteries from the device but I can at least switch it off completely when I don’t need it.

When I’m at home I’m using my laptop on AC. That means I can safely remove the battery from it. I know many people who don’t do that, mainly because it’s a hassle. If you should ever bother to read the manual you’ll see that removing the battery is indeed the preferred way.

We’re wasting a lot of energy and resources with little crap like that. Maybe think about it a little and count the batteries in your devices. Stack them up and be amazed by the number.

Geez

Having to work with software you hate on systems you dislike is bad already.

Getting software you hate to work on systems you like that are not designed to handle specific bad-written software is a torture.

To make it short: If you want to use dev-pascal on linux (why would you?) you have to resort to Wine, the Dev-Pascal setup and some “Tool” configurations that launch wineconsole with the parameters cmd and .

That’s just fricking great, isn’t it? You could, of course, also use the native FreePascal compiler and generate native executables that will run native on your desktop instead of the somewhat broken wineconsole (it doesn’t handle textBackground + clrScr properly, expected is that the background gets repainted in the color your specified, wineconsole doesn’t do that 🙂 ).

But again… why would you?

Aptana 1.0

I didn’t notice until today but Aptana IDE has reached it’s 1.0 release. That’s great news because the IDE is perfect for web development.

Aptana is based on Eclipse so you can easily integrate it into your existing installation. It makes a great companion for those who don’t want to shell out hundreds of bucks for an great, graphical IDE ala Zend Studio.

The world is coming to an end

It is really nice to see the people around slowly trying alternative operating systems.

While koschmar is using Linux for about half a year now on a more or less frequent basis (or so I think 🙂 ), Lupin just gave Ubuntu another go on his beloved, yet somewhat dated notebook. Perfect choice, it makes a great learning environment and thanks to Ubuntu’s big library of shipped firmware and drivers the standard kernel apparently works very good for him.

The world must be coming to it’s end because of that.

Talking about odds and ends: KDE 4 has been postponed. New release date will be 11th of January 2008. December was a dillusion anyway 🙂 . Take your time and make it a good release instead of a speedy one.

GTK theme quirks

Most of the time when I’m working on my desktop machine I’m using KDE. I think it is the best choice when it comes to flexibility and features.

On my laptop though, I’m using GNOME. Reason’s simple, I don’t want to spend time on customizing applications and startups when GNOME has it all from the start.

I did copy parts of my home partition to my new laptop, obviously some KDE related stuff aswell. It didn’t bother me, until now.

I compiled a new GTK engine for a much darker theme and couldn’t help but notice that all elements except the window backgrounds were correct. The backgrounds were silver. Not so ideal for a dark theme, eh?

I pondered, why would it do that? My usual suspect is Ubuntu. Sorry, I’m like that. I had some funny bunny experience in the past with Ubuntu so I’m tempted to blame it for each and every of my problems on the notebook 🙂 .

In this particular case though Ubuntu wasn’t at fault. My KDE settings were. As lady luck wanted it I had the custom configurations of the qt-pixmap engine left on my home partition which interfered with the GTK theme settings.

A quick rm -rf .gtkrc* resolved the issue.

Excuse me while I smack my head against a wall now.

Bah

Seit Montag “darf” ich wieder zur Berufsschule pilgern (oh Freude…).

Und es scheint so, als dürften wir dieses Mal sogar programmieren. Oder? I don’t know weil das stumpfe Abtippen von Quelltexten für mich keinen sonderlichen Reiz hat. Das die verwendete Programmiersprache Pascal ist und das als IDE angepriesene Ding nur ein Editor ohne vernünftiges Syntax Highlighting ist (VIM rockt das Ding weg!) tut sein übriges.

Thema heute übrigens Dezimal- und Binärzahlensystem. Wow. Dazu hab ich mal fix was zusammengehackt, was den Inhalt der vier Unterrichtsstunden gut zusammenfasst. Das haben wir übrigens nicht programmiert, alles über Addieren und Subtrahieren ist ja offensichtlich Blasphemie…

Gott sei Dank ist bald wieder Wochenende und dann geht der Terz nur noch eine Woche.

Visual Studio 2008

In the endless grief that is Vista I just have to report on a more joyful thing that came from the Microsoft world: Visual Studio 2008 is finally ready for download in the MSDN to subscribers.

Although I neither have an MSDN subscription nor the money to afford an upgrade from my beloved Express editions I just wanted to give note.

Some developers I think very high of praise VS2008 as quite a leap forward. Hopefully Microsoft will give us peasants a bite from that aswell 🙂 .

There’s no turning back..?

Apple und angehörige Fanboys feiern sich selbst wegen TimeMachine. Okay, Windows hatte dieses Feature jetzt zwar jahrelang, einige Dateisysteme (sagen wir mal… ZFS) bringen ähnliche Tools von Haus aus mit – aber was solls.

Scheint ja unglaublich nützlich zu sein. Für unixartige Systeme kann man auch auf TimeVault setzen, ein Projekt das gerade Betastatus erreicht hat. Mit TimeVault lassen sich ganze Verzeichnisse in Snapshots zusammenbinden und sichern, diffen und bei Belieben wiederherstellen. Ich benutze das Tool auf meinem Laptop um verschiedene Generationen in meinem /etc/ Folder zu managen und es funktioniert bis auf einige Fehler in der GUI bisher hervorragend.

Wollte es nur mal angesprochen haben, da TimeMachine ja nun nicht unbedingt das Maß der Dinge ist 😉 .

Programmer’s tidbits: Vista Eventlog

You can say whatever you want about Microsoft’s new avant-garde operating system; there are some useful changes.

Microsoft extended the old, somehow crippled eventlog with a searchable, filter-able (?) fliwatüt. Along with the optical and functional changes comes something that isn’t all fun and sunshine.

From now on only an administrator can write to the eventlog. Sounds logical. But it poses quite a problem code-wise. Working with MSDN’s proposed code sample doesn’t work anymore. The MSDN forums strike a solution that isn’t desirable for a rather simple program.

Even worse is the fact that not only Vista users will have fun with this tidbit, no, the behaviour was ported back to Windows XP and released as a scheduled patch already. This makes baby Jesus cry.

The only good thing is that we all will have to work out a considerably easy way to deal with this matter. Ah, and it makes sure our applications will work fine on Vista aswell. At least the logging part will do.

Vista Speech Recognition

Man, am I pissed. Okay, I consider myself not to be an artist, not even an artist of sorts.

But I always was under the impression that my German is quite clear to understand and that I speak in a way that other people can understand. Well, screw that.

Vista’s speech recognition doesn’t like my German; yet it loves the way I speak English. Even my slightly Irish accent doesn’t seem to bother the system at all. Just my “kaancel” instead of “känzel” is not so well received 🙂 .

If only I could figure out how to make this thing work with Firefox… I’d be amazed. Fricking amazed.

Ein schwarzer Tag

Der 9.11. ist wirklich ein schwarzer Tag in der deutschen Geschichte…

Erst wurde mein geliebtes Radel gestern Opfer eines heimtückischen und unglaublich feigen Aktes von Vandalismus. Zweitens wurde die Abnormität der Vorratsdatenspeicherung unter Bejubelung des Hitlerministers und seiner Zypresse durchgedrückt. Drittens hat es heute entweder geregnet, gestürmt, gehagelt oder alles auf einmal.

Klasse Tag. Wenigstens hab ich dank dem endlich eingerichteten Laptops heute während meiner Stunde Bahnhofsaufenthalt (im Zug, Stehzeiten bei Linienwechsel…) genügend Zeit gehabt, um mit C# und System.Management eine nette Ãœberprüfung für “spezielle Datenträger”, in diesem Falle USB Sticks mit Keyfiles, zu schreiben. Funktioniert hervorragend. Win32_LogicalDisk abfragen zu können liefert alle Daten, die für eine solche Prozedur nötig sind 🙂 .

Wenn wir schon beim Thema Laptop und Bahnhof sind… jeder größere Bahnhof sollte einen Access Point bieten. Ich wäre sogar bereit dafür extra zu zahlen, wenn ich nur während meiner doch teils recht ausschweifenden Wartezeiten in menschenleeren Zügen schnell mal einige Dinge recherchieren könnte. Während der Fahrt, bzw. im Zug, brauche ich kein WLAN; erstens ist mir das Geruckele nicht geheuer und zweitens kann und will ich mich nicht konzentrieren, wenn es aus dem Hintergrund immer Deutschrap der untersten Schublade schallt.