The colorful wolf

June 30, 2009

Efficiency is beauty

Filed under: Tech, Thoughts — rheide @ 23:29

Programming is such an interesting job. I think no-one could convince me that they wholly dislike it or like it. There’s just so many facets of it, it’s like building a house, being the interior architect, plumber and electrician all at once. Oh, and also you get to to do maintenance on it if you manage to live in the same house long enough.. Some parts of the job are not very fun, but some of them are pure joy.

One of my favorite activities is architecture and design. Databases or software, it doesn’t matter. I always want to find the most efficient solution, although usually I think I’m looking for the most beautiful solution, which then happens to be the most efficient. Databases can be made faster and smaller if you design the tables correctly. Programs can be made easier to understand to the user if the interface (GUI) is easy to understand (beauty in simplicity). And code can be the most beautiful thing or the most ugly thing depending on who wrote it and how the architecture looks like. A large portion of my work involves writing boring code that saves things to a database, tests if other code works correctly, designing endless reports for customer, or writing documentation for existing code that nobody else will ever read. But sometimes I get the chance to design something brilliant, a small piece in the big machine that just shines and stands out in elegance and simplicity. Code that performs its job and does exactly what it’s supposed to do, and could not possibly be written any better (given the limitations of the frameworks and programming languages used, of course ;) ). It’s only in programming that a plumber can be an artist.

And if I ever get bored designing a new component, there’s always tuning. I guess tuning is more like a hobby. It’s fun for me to squeeze every last bit of performance out of a database system or a piece of code. There’s always some little thing that can be changed that will make the whole thing perform just a little bit better. I like it because it’s simple. You know how good something is, then you change a part of it, test again, and you’ll know if you made it better or worse. Incidentally, that’s why I like my job as a speech recognition modeler as well. It’s a clearly defined task. You know that whatever you’re working on is currently this good, and it needs to be this much better. It’s a mission, and you’re free to choose whichever means necessary to accomplish it.

But it’s not always that easy. Sometimes things get ugly when they have to perform better. Take a look at cars, for example. Formula one cars are the fastest there are, but I doubt many people will say that they’re prettier than a nice Lamborghini or Ferrari road car. The same rules apply to programming. Sometimes you need a really nasty C or assembly hack to make something that was written on a higher level perform better. Or you could be faced with a situation where a couple of if/else statements perform better than an object-oriented solution. In that case I guess I would choose the most beautiful solution, even if it’s not the fastest. I prefer to see software as a work of art rather than a tool.

(but actually, at home I much prefer a dirty little perl script over a beautiful java object-oriented enterprise architecture >_<;)

Oh yes: Efficiency Is Beauty. What do you think?

June 29, 2009

Let’s killing cockroaches!

Filed under: Daily Life — rheide @ 20:52

So, today I prepared for the counterstrike. Shieri, our lovely internship coordinator, provided me with some pictures of cockroach killer equipment, which I printed out and took with me to the store. In hindsight this was not necessary as everything against cockroaches has a huge picture of a cockroach on it. Of course. But that does not matter. What matters is that I returned to my room with WEAPONS OF MASS COCKROACH GENOCIDE.

So. Yes. First of all here’s a cute little cockroach house. Everything in Japan is cute, even the cockroach-killing-contraptions.

HappyLittleCockroach

Slightly less cute is this silvery thingie from a brand called Combat. Appealing to die-hard war veterans it has a professional look, a nice color scheme and a little picture of a peanut in the bottom-left corner. What more could a man want.

iKillYou

Finally, and this is my favorite, is the final resort. Sometimes the battle must be won by hand-to-hand combat, and one must have a weapon. A powerful weapon. And by GOD this is something that makes you feel MANLY when you hold it. Behold, a can full of DEATH!

TheKiller

The traps have been laid. Now I wait.

They return..

Filed under: Daily Life — rheide @ 0:03

It’s back…. :’(

I just came back from cycling today when, while entering my room, I noticed something moving from the corner of my eye. It was another goddamn cockroach… This one appeared near the front door, just like the first one, which leads me to assume that it’s not coming over from my neighbour’s balcony when my balcony door is open. Instead, they seem to enter my room whenever I open my front door. I’d better be more careful. One other option is that there is a bunch of them in my room already, but I’d rather not think about that..

This one got away today. I found it hiding behind my shoe, and whenever I lifted up the shoe to smack it with my slipper it went to the side of the wall, where I couldn’t quite perform a full-body assault on it. After three shoe-wall runs it decided to run away and it managed to escape behind my kitchen cabinet, after which I exclaimed an extremely loud “FUCK!!!!!” which I’m sure my neighbor must have heard and wondered about. I barricaded the entrance to the living area of my room with detergent-like cleaning liquid spray stuff, so hopefully it won’t try it’s luck any further. There’s no damn way to get to it while it’s behind the kitchen cabinet though, so I’ll just have to wait diligently until it decides to come out. Tomorrow I’ll go to the store and buy the most vile and disgusting cockroach medicin I can find. You will not survive much longer, you evil creature.

Observations: this variety of cockroach appears to like dark areas, and avoids light, which means it’s not an Asian cockroach, because according to wikipedia that one’s attracted to light. The first cockroach just ran away slowly, but the second one was way faster, and actually attempted to fly a couple of times, which seriously pisses me off. I need better weapons for this..

June 27, 2009

Todo…

Filed under: Thoughts — rheide @ 21:38

A day should really have 32 hours instead of 24.

June 25, 2009

I win round two

Filed under: Daily Life — rheide @ 21:30

I came home just now, only to find my room…. completely devoid of cockroaches!! That’s right, the evil creatures have not returned to try their luck for another day. My fearsome arsenal of weapons (a slipper and hot water) must have deterred them enough to give up. I am at peace today.

Remember, kids: The road to victory is paved with dead cockroaches.

June 24, 2009

GODDAMN PEPSI SHISO

Filed under: Daily Life — rheide @ 23:44
IMG_0857

DISGUSTING PIECE OF SHIT

WHILE I AM STILL IN MY RAGE MODE I TRIED TO DRINK THIS PIECE OF SHIT DRINK BUT IT TASTES GODDAMN AWFUL. NOT EVEN THE BLOODY DEVIL HIMSELF COULD HAVE DESIGNED SUCH A GODAWFUL PIECE OF SHIT DRINK NOT EVEN A GODDAMN COCKROACH WOULD DRINK IT THIS IS BY FAR THE WORST THING I HAVE EVER DRUNK IN MY ENTIRE LIFE BLWGHGW#FH$#TH&*FHV*&E$

Next Page »

Blog at WordPress.com.