CPU Artefacts

November 2nd, 2006

Have you noticed it says “(and some magic)” in the subtitle up above? Well, here’s some of that weirdness.

A while ago I reasoned it would be interesting to make some artefacts (“amulets” or “talismans”, if you will) out of old computer processors. It’s a fairly widespread belief that crystals […] Continue Reading…

NEAT Invaders Game

October 26th, 2006

This is a proof-of-concept Invaders-style game where the invaders are controlled by neural networks and each new wave is evolved by genetic algorithms. This is made possible by DelphiNEAT library. I’m also using the GR32 library for semi-fast 2D graphics and PNGDelphi for PNG loading.

Update : Unfortunately, the Delphi […] Continue Reading…

Listing All Open Handles

October 19th, 2006

Handles can represent files, ports, mutexes and other objects. By using the undocumented Native API function NTQuerySystemInformation() you can list all open handles from all processes. Here’s a small program that does that.

This is basically a ported version of “HandleList” application by someone known as Napalm on sysinternals.com forums. […] Continue Reading…

Processing Binary Files In PHP

October 17th, 2006

This little tip might be usefull for people who have recently started learning PHP and have some experience in other languages (like me).

Recently I needed to write a PHP script that would process a binary file I had created in my Delphi program. However, it turned out that fread() […] Continue Reading…

Writing Drivers in Delphi

October 12th, 2006

Driver development has always been the privilege of C/C++ and Assembler programmers. If someone needs to write a device driver in Delphi, he has to settle for “adapter” drivers that would allow their user-mode program some ability to interface with kernel-mode functions. There are also “wizards” that (supposedly) allow […] Continue Reading…