These are the posts.

2019-03-13 - Migrating from Webfaction to Lightsail

Going back to 2011, I've used Webfaction for hosting various personal and family websites, email forwarding and file storage. For $9.50/mo, I get 100GB of storage (which I'm not convinced is actually enforced) on a massive 24 core Linux beast, a shell account with all the developer goodies you could ask for and a full-featured and well-designed web control panel. Their support has been good the few times I've needed it, and the company just has a cool bootstrapped feel to it. Webfaction has a sensibly limited and well-executed scope that is rarely found in a business that's been around as long as they have.

2014-03-20 - Tic Tac Toe in JavaScript, Part 3 (final version)

In the last post I added a couple of basic strategies to my Tic Tac Toe game that made it less than totally stupid, but still not too hard to beat. If you play that game a few times you'll likely identify a few holes in its logic - tactics you can use to repeatedly beat the computer. In this final version, I've added four more strategies that - I think - prevent the human player from ever winning and take every opportunity given to win. If you can beat the game with all the strategies enabled, please tell me how. Here are the final four strategies. Full source code is at the bottom as a Gist.

2014-03-16 - Tic Tac Toe in JavaScript, Part 2

In the last post I introduced a Tic Tac Toe game with computer player implemented as a single HTML file. The game in that post was a proof of concept, with the computer player just randomly selecting a blank square for its turn.

2014-03-13 - Tic Tac Toe in JavaScript, Part 1

My latest project is a Tic Tac Toe game implemented as a single HTML file with embedded CSS and JavaScript. Creating the game board that updates during play was fairly trivial. The fun part is that the computer plays against you.

2014-03-07 - Custom Date Insert Plugin for Notepad++

I've been using Notepad++ on my Windows machine at work. It's the best free editor for Windows that I'm aware of, and does pretty much everything I can think of, with one notable exception.

2014-03-06 - ASPX to List Folders

Problem: A folder with a bunch of hidden subfolders on an IIS web server. Directory index pages (generated pages listing the contents of the folder) are disabled for security reasons. This file is dropped in with an obscure file name so that those who know it can browse the list.

2014-03-03 - Bootswatch Superhero

I just installed the Bootswatch Superhero theme on this site. The only tweaks I made were body { font-weight: 400; } as the lighter 300 value made the orange on blue unreadable and code { background-color: inherit; color: yellow; } because the default orange on light gray was too jarring on the eyes. Otherwise, I quite like it.

2014-03-01 - A Graph Paper SVG Drawing App

This is a simple graph paper drawing app implemented in JavaScript and SVG. The idea came to me while planning out large structures in Minecraft. I've always wanted to learn about coding SVG in the browser and this was a fun way to do that. In addition to jQuery, of course, it uses:

2014-02-24 - Virtualbox guest additions lost after updating Ubuntu

If you are running Ubuntu as a Virtualbox guest, the automagic screen resolution, mouse scrolling and other guest addition goodies may stop working after running apt-get upgrade. This is because the guest additions get lost when an updated kernel is installed. Here's the fix:

2014-02-19 - Pimping The Blog

I've applied the Start Bootstrap Blog Post template to this site. A fairly painless exercise that took the default Jekyll layout and made it a whole lot easier to look at. Now all it needs is one of the Bootswatch themes to make it pop.

Blog Search

Some Tags

Programming Is Fun

This is a blog about programming for the sheer joy of it. More...