Category Archives: Uncategorized

Transitioning PGP Keys

—–BEGIN PGP SIGNED MESSAGE—– Hash: SHA1,SHA512 2016-11-06 05:25:00 +0000 I am replacing my old DSA-1024 key with a stronger RSA-4096 key. The primary motivation is to store my key on a Yubikey Nano which doesn’t support DSA, however there is a possibility that the old key has been compromised. Although I don’t have any evidence […]

Error: ENOENT when installing Pow on macOS

I kept getting this error when installing pow on macOS. There are some old threads about it, with fixes for previous verisons of OSX prior to El Capitan, but for the most part it seems to be a solved bug. philihp@sterling ~$ curl get.pow.cx | sh % Total % Received % Xferd Average Speed Time […]

Class ‘foo’ has no initializers

Quick post. It’s been a while. I’m just starting out with Swift, and this error kept coming up for me, but the error message could be a little more descriptive. It means that you have a non-optional member variable that needs to be initialized somehow. class Foo: NSObject { var bar: String } That block […]

Configure MySQL on AWS t2.micro Linux AMI

I moved my blog over to an AWS VM, because I get 12 months of a free t2.micro instance. Can’t beat free hosting for a year, right? And about $10/month after that, on my own private virtual machine. Assumed things were going well, but I came back a few weeks later to find everything had […]

Weblabora, Sailing, and Portland

Hi friends. I’ve been learning a lot of things recently, but nothing cool enough to be worth an entire blog post of its own, so here they are. Weblabora I’ve been resurrecting Weblabora recently by abstracting out the game logic into a JAR and rewriting the front-end with more modern technology. The front-end is also […]

SOPA Strike, January 18

On January 18, this website is going on strike. Your website can too, just put this into the header of your HTML:

Maximum sizes of MySQL Blob Fields

This is not immediately obvious from the documentation(,¬†which as it seems is often the case, was written for people who just like to read documentation, and not for people who are looking for answers). The maximum sizes of the MySQL Blob fields are as follows: Type What They Say It Needs That Means You Get […]

Using SAS/OR to solve Sudoku puzzles

I just got back from SAS Global Forum 2011 and heard about this really cool package called SAS/OR (Operations Research). Within it, there’s a procedure called CLP, which does nothing short of programming voodoo. The CLP procedure is a finite-domain constraint programming solver for constraint satisfaction problems (CSPs) with linear, logical, global, and scheduling constraints. […]

Things I Learned from Wiring a Car Stereo

So I just finished installing a car stereo into my car. I wanted to do it myself to learn as much a possible. This post is to share bits of information that were previously buried on message boards, or were myths that car audio shops had previously told me (or debunked for me). DISCLAIMER: I’m […]

Excel 2010’s Default AutoRecover Location

And so the only thing you need to know about Excel’s AutoRecover is this: the default path for Excel is: C:UsersyouApplication DataMicrosoftExcel Keep in mind, Application Data is usually a hidden folder, so you might not see it. It is still there.