Route-Importer for MapFactor doesn't work :( Have to write my own... — Jim (@spacefishing) June 30, 2016 Wrote a small tool to convert and insert waypoints from a GPX route into a MapFactor Navigator route. MapFactor Navigator is an offline turn-by-turn navigation program you can stick on your phone. Was going to cycle from Leicester to Cardiff on Friday but instead got really sick and wrote this program. »

Slackson bot

I wrote a Slack bot that controls and reacts to the state of Sonos controllers on your network. It can send GIPHYs to the channel as well as analyze the sentiment of the lyrics of the current song. jim [5:35 PM] whats playing sonosbot BOT [5:35 PM] `The Avener & Phoebe Killdeer - Fade Out Lines - The Avener Rework` jim [5:35 PM] pause sonosbot BOT [5:35 PM] `jim requested to pause this track. »


Originally posted to Translucify is a drop-in solution for mismatched background colors between a web page and its images. Highlights Approximately 230 SLOC (source lines of code) No dependencies The Why A classic way of improving the readability of a table with lots of rows is to set slightly different background colors for alternating rows. This all works nicely when you’re in control of the content that lives inside a row but what happens when the row has to show a thumbnail in one of its cells? »

TSP Solver

The travelling salesman problem (TSP) asks the following question: “Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?” It is an NP-hard problem in combinatorial optimization, important in operations research and theoretical computer science. Iteratively solving the Travelling Salesman problem with k-opt operations Fast operations such as 2-Opt are less computationally expensive, but due to granularity, more likely to become stuck in local extrema. »

Road signs

This was an undergraduate computer vision extra-curricular project. Image segmentation goal: finding text within am image of a road sign The growing abilities of video feed APIs allow for mobile and domain-specific programs that were previously out of reach. One application that I had in mind was video frame text extraction, which itself could be the foundation for magnification or text-to-speech capability that could aid the visually impaired, translation for foreign language signs and contextual advertising services. »


Cache Google Maps tiles by browsing the location of interest This is simple C app that I wrote up and tested in about 2 hours that automatically saves the map tiles of Google Maps as you browse a location of interest. The bundled tool, tiler is a handy utility for arranging the matrix of the gathered Google Maps tiles for a certain zoom level. Originally this was written as a fast and dirty way to get lots of map data for an independent project in the summer of 2009. » bot

A regular lurker on the /r/WebGames subreddit, I found a perfect game to write a 15 minute bot for a game posted that was posted. »