





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