Martin Ankerl
No movement is faster than no movement

Optimized pow() approximation for Java, C / C++, and 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 [...]


Comprehensive Linux Terminal Performance Comparison

Linux has an abundance of excellent terminal applications. Interestingly, I could not find any decent comparison of their text display performance. Since I use the command line a lot, I want text output that is as fast as possible. When you compile a large project, you don’t want the console output to be the limiting [...]


Erlang Syntax Highlighting

I have written a language definition file for GtkSourceView to get a nice syntax highlighting for Erlang with applications that use this component, e.g. Gnome’s standard editor gedit.
The highlighting looks like this:

Here is how to get this to work:

addthis_url = ‘http%3A%2F%2Fmartin.ankerl.com%2F2007%2F05%2F06%2Ferlang-syntax-highlighting%2F’;
addthis_title = ‘Erlang+Syntax+Highlighting’;
addthis_pub [...]


How to Install Anything in Ubuntu Condensed

This is a very condensed excerpt of the excellent article How to install ANYTHING in Ubuntu.
Search, install, remove available packages (preferred method)
sudo aptitude search ABC
sudo aptitude install ABC
sudo aptitude remove ABC
.deb (you have to take care of dependencies on your own)
sudo dpkg -i ABC.deb
.rpm (requires sudo aptitude install alien)
sudo alien -i *.rpm
.tar.gz (requires sudo aptitude [...]


e — New Release of Extract Any Archive

Extract Any Archive just got better: When you extract multiple archives at once, e.g. with
e *.rar
and some files are not extractable, e continuous to extract the other files and prints an error message with all the failed files when it has finished. More info and download of e is here.

addthis_url [...]