Author Archives: anescient

My Stance On Piracy

I’ve done my civic duty the past few weeks pushing another 150 gigabytes or so of MST3K out to the world. Full burn bandwidth overnight, polite moderation during business hours. 74d7d2304d50e1660c1e7752d0936fc30b9999a3 This number may be the one and only place … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

PWM LED driver design difficulties

For my custom alarm clock, I needed a light source with controllable intensity and color. It didn’t come together as easily as I expected.

Posted in Uncategorized | Tagged , | Leave a comment

Ordering Tagged Items by Similarity

So I’ve got this web-based image gallery. The images in it are organized with simple tags (there’s a many-to-many relationship between images and tags). Every image has at least one tag, and almost all images have several tags. When a … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Basic Spatial Hashing with Boost

So let’s say you’ve got some particles in 2-dimensional space. There they are. Now let’s say you want any two particles which are very close to each other to interact. You need to know which pairs are close enough. You … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

2007 wants its page files back

compcache. Use it. The general idea is to set apart some physical memory as swap space, with compression on the pages going in. Much of what’s in RAM is very compressible, so a fast compression algorithm can do a lot. … Continue reading

Posted in Uncategorized | Leave a comment