homeBlog | Tags | Archives | Projects | Stats | Contact

A simple statistics plugin for WordPress

Feb 18, 2008

3 comments
Popularity:

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...

What exactly does GCC optimize?

Nov 07, 2007

2 comments
Popularity:

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...

C masochism, part 1

Sep 15, 2007

no comments
Popularity:

I like C. I write tools in C that sane people write in Ruby or whatever the trendy script-like loosely typed language of the week is. But this is not about which language to choose. This is about doing stuff in C just because a lot of people think it’s 1.) limited, 2.) hard and [...]

Read more...

Hardware-accelerated 2D collision detection in OpenGL

Jul 11, 2007

no comments
Popularity:

NB: Here is a better post about the below algorithm. Includes source code. The idea Did you know you can do pixel accurate collision detection using the OpenGL stencil buffer and occlusion queries? I got this idea while working on a 2D/3D game engine (think of a side-scroller but with 3D objects). A proof that [...]

Read more...