The Hungry Hacker's Explanation of Everything

Home » Archive

Articles in the Software Category

Software »

[23 Apr 2010 | 7 Comments | ]
Super-caching with TimThumb

This website doesn’t actually use TimThumb – our hack of the Arthemia theme instead uses Flickr for all it’s image hosting, so it’s just easier to hack the theme to understand how to pull different sizes of Flickr images instead.
However, we have another site that my wife’s internet services company hosts that needed to be optimized for Digg/Slashdot-style surges, and it does use TimThumb – extensively in fact.
The Problem
TimThumb does have a caching engine built in which will, if your permissions are set up correctly, prevent the thumbnail from having …

Software »

[20 Jul 2008 | 3 Comments | ]

I’d been toying with this idea for a while, and never really got around to doing it. Windows Vista includes a widget that gets the weather for a given location, but what if you wanted to make your own? What if you wanted to do it using a stone-age tool such as Visual Basic 6? Not to worry, it can be done.
You will need:

Visual Basic 6 (there’s probably better ways to do this in newer versions)
Microsoft XML (I used v6, who knows what they’re up …

Operating Systems, Security, Software »

[19 Sep 2007 | No Comment | ]

OpenBSD’s spamd – A lightweight spam-deferral daemon. Spamd works directly with SMTP connections, and supports features such as gray-listing. It minimizes false positives compared to a system that does full-body analysis. It is not a replacement for spam-filters, but an elegant method of segregating the spammers.
This HOWTO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ©2008 Strykar
The lowdown
I hate spammers; I mean …