Tag Archives: workaround

RandomAccessFile weirdness explained, no buffers, just pain.

Ola! I’ve been coding a new android keyboard lately, a project for my university degree but also : for fun. While I was doing this, specially while implementing a file-based dictionary containing frequency information of all words stored in there, I stumbled upon a very, very weird Java-behavior.
Let’s explain it. Using RandomAccessFile, you have both [...]

Gravatar Mac Address Book Support Updated for Snow Leopard

Because the bundle somehow didn’t work for snow leopard, now it does, and you can get it here. of course . So basically, your mac adressbook is now able to get the gravatars again.. hrhr-

A real open-source, usable, photoshop replacement?

Good morning, folks! Now I’m back in germany, still busy getting used to all this luxury again, including my Ubuntu-desktop. I also have Windows installed, but for some reason i prefer Ubuntu. Anyway, I’m really missing a real, free and usable Photoshop replacement here. For me, GIMP is just a nice little tool enabling one [...]

C++ Pitfall prevention Cheatsheet

I posted this also on my “old” blog. Please be good in judging it, I did it for a C++ course in Espoo. C++ Cheatsheet. 
Edit: One thing not discussed in the cheatsheet, but at least from my point of view a error-prone area is the const-modifier. I found a good explanation about it and its [...]

Pass-by-reference workaround in Java

As anybody knows, java passes variables by value. and i haven’t found the magic compiler switch to change that. of course, there are problems caused by this restriction, but in most cases, pass-by-value works just fine. 
If you end up in a situation where it’d come in handy to have a pass-by-reference facility, think about the [...]