homeBlog | Tags | Archives | Projects | Search | Stats | Contact

Let’s make a planet

Feb 20, 2008

no comments
Popularity: 0%

For the last few days, I have been working on a planet generator. I originally got the idea from the method how you can easily tessellate a sphere into triangles.

Read more...

A simple statistics plugin for Wordpress

Feb 18, 2008

1 comment
Popularity: 1%

Here’s a very simple plugin for Wordpress that keeps track of view counts of individual pages. It is not intended to be a complete statistics solution. Rather, the main purpose is to provide something for those empty spots in your site layout.

Read more...

Customizable page layouts

Feb 15, 2008

no comments
Popularity: 0%

I wanted to tackle a common problem: on a modern screen resolution it is often hard to read because the text rows are simply too long. Using some Javascript and DHTML magic, it is easy to make the fixed-width layout resizable.

Read more...

Compare text files in SQL

Nov 11, 2007

no comments
Popularity: 1%

Here’s a quick hack that allows loading text files as tables in a sqlite database. Why? It’s pretty nice to compare files in SQL.
txtsql can be run as follows: txtsql.exe file.txt file2.txt …
Every text file is loaded as a table with two columns: row (line number) and data (the actual text). When saved with save [...]

Read more...

What exactly does GCC optimize?

Nov 07, 2007

2 comments
Popularity: 3%

All compilers optimize code to some extent, some better than others. However, at least to me a great amount of the nature of the optimizations is unclear, outside the explicitly stated loop unrolling and like. Let’s find out which kind of programmer laziness and/or stupidity gets eliminated.

Read more...