|
Utilities
Best of my Stack Overflow posts
Puzzles
Miscellaneous
|
Coding
- The power of Python's yield
Computing permutations elegantly and efficiently.
- Python, what are you doing?
Python always does what I want. Except this once.
- HeapCheck
E-fence inspired Win32 Debugging Allocator (C,C++).
- Writing Makefiles
Handling build dependencies and code generators using make.
- For C developers that hate C++ (Reddit)
I think they are wrong...
- Artificial Intelligence: Playing Score4 (Connect Four) (Reddit, Hacker News)
Implementing Minimax using functional and imperative style (F#, OCaml, C#, C++, Javascript, LISP)
- Stack-checking for code that executes in orbit (Reddit, Hacker News)
Making sure that stack overflows are impossible (C/C++, Python, objdump)
- Differences of yield amongst languages
How yield behaves in different languages (Python, C#, F#).
- Why I use VIM
How using VIM helps me be a more productive programmer.
- Functional-style in Python
Using Python's 'reduce' to flatten a list of dictionaries.
- Playing back Youtube annotations offline
Drive MPlayer via Python and ImageMagick, to playback Youtube videos and their annotations - offline.
- Don't Repeat Yourself (via X-macros)
Avoiding code repetition in C and C++.
Graphics coding
- Real-time raytracing: Renderer 2.x in CUDA (Reddit)
Porting my renderer to CUDA - will the speed increase? (C++, CUDA)
- Using hardware: Renderer 2.x in
OpenGL
Real-time Phong/ZBuffer rendering through OpenGL fragment shaders (C++, OpenGL).
- Using software: Renderer 2.x (Reddit)
Portable GPL software renderer: multi-threaded, Phong, ZBuffer, Soft-ShadowMaps, Ambient Occlusion, MLAA, Raytracing (C++, SDL, Intel TBB, OpenMP).
- SouthGreece
Real-time flying over South Greece (Windows/Linux).
- A real-time Mandelbrot zoomer done via OpenMP/SSE and via CUDA
The joy of reaching the limits of your H/W (C, x86 SSE assembly, OpenMP, SDL, OpenGL, CUDA)
- SDL hacks (Slashdot)
"Simulators" for fireworks, waves and snow flakes (C++, SDL)
- Simulating the universe with 200 Python lines
What does gravity do to a set of 200 objects, if we leave them alone? (Python).
- Trender
Very old code that performs simple software-only rendering of 3D Studio .asc
files. For archiving purposes only :-) (C++, SDL).
Video / Audio
|