Finding popular images in Apache Logs

I’m sure there are a million web pages out there that cover this already but here’s how I do it:

First, grep the interesting URIs out of the access log.  Here I look for everything ending in .png or .jpg – a better regex would filter out all the Wordpress stuff, all the thumbnails, all the [...]

The Frustromantic Box, Part 4: Software

The final post in the Frustromantic Box series deals with the software side of things.

The Frustromantic Box, Part 3: Electronics

In this series’ third post I describe the electronics involved in the Frustromantic Box.

The Frustromantic Box, Part 2: Assembly

The Frustromantic Box is my implementation of Mikal Hart’s Reverse Geocache Puzzle.  In Part 1 of this series I gave an overview of the project and its parts list.  This post describes how I cut the pieces and put them together.

The Frustromantic Box, Part 1: Intro

A few months ago, Hack A Day featured an ingenious hack called the Reverse Geocache Puzzle by a gentleman named Mikal Hart (please note that “Reverse Geocache Puzzle” is Mikal’s trademark – my unabashed clone of his project will hereafter be known as the Frustromantic Box).  As soon as I saw it, I knew I [...]

Android Swingworker

I’ve been fooling around with the Android development platform. It’s quite an adjustment, coming from the iPhone world. I thought I’d post a simple equivalent to the SwingWorker class that works with Android’s Event Dispatch Thread. Here it is:

package ca.razorwire.util;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import android.os.Handler;
import android.os.Looper;
import android.util.Log;

public abstract class UIWorker
{
private static final ExecutorService __execSvc;
[...]