Martin Ankerl
No movement is faster than no movement

Job Interview Question: Sorting Records

Dev102.com has a few postings about interesting job interview question. His fifth challenge is this neat task:
You are asked to sort a collection of records. The records are stored in a file on the disk, and the size of the file is much bigger than available memory you can work with. Assume a record size [...]


New Release of XDCC-Fetch

XDCC-Fetch is a nice little application written in Ruby that is able to download from XDCC bots on IRC. I have updated it to work with fox 1.6, so this should work with the recent Ruby version.
Screenshot

Unfortunately I don’t really have the time nor the interest to continue development for XDCC-Fetch. Please contact me if [...]


Optimized pow() approximation for Java and C / C++

I have already written about approximations of e^x, log(x) and pow(a, b) in my post Optimized Exponential Functions for Java. Now I have more In particular, the pow() function is now even faster, simpler, and more accurate. Without further ado, I proudly give you the brand new approximation:
Approximation of pow() in Java
public static double [...]


Javadoc Search Engine Updated

The Javadoc Search Engine now searches JDK 7 too:

Go here: javadoc.ankerl.com

It’s still a draft, so the documentation is surely subject to change. You can also use the search directly from here:

happy hacking!

addthis_url = ‘http%3A%2F%2Fmartin.ankerl.com%2F2007%2F08%2F22%2Fjavadoc-search-engine-updated%2F’;
addthis_title = ‘Javadoc+Search+Engine+Updated’;
addthis_pub = ”;


Ajax Dojo Comet Tutorial

Markus Holzmann, an intern at Profactor of my fellow colleague Philipp Hartl, had the opportunity to experiment with Ajax during his job. He wrote a tutorial about how to push events from the server to the client. For example, display popup messages on all browsers at the same time (see screencast in full resolution here):

[...]