GPG (2013 Update)

Posted Fri 14 June 2013 09:30 under category tech

In light of all of the hullabaloo about PRISM and other spying technology, I thought it'd be good to remind all of your dear readers that we've had the technology to ensure private communications on the Internet for 22 years in the form of Pretty Good Privacy (and the much-more-commonly-used implementation, GnuPG). Ars Technica had an okay article about e-mail encryption with PGP which I recommend reading, although you should keep in mind that most security professionals would consider infrastructural PKI like SSL and S/MIME to be compromised by nation-state-level adversaries (and all associated MIC contractors).

Anyhow ...

read more


Posted Mon 08 April 2013 00:05 under category personal

Hello dear readers. I just thought i'd give you a life update, since it's been nearly a year since my last post. In no particular order, some things that have happened since then:

  • I've been dating a lovely young woman for the last eight or so months who actually gives me a reason to go home from work at the end of the day. Which is a refreshing change!
  • I got some new musical instruments and computers and things (my custom shop '52 reissue tele is pretty much the most pleasant guitar I've ever played, even ...
read more

<3 sed

Posted Fri 27 April 2012 17:41 under category tech

I wrote a fun sed script today:

sed -E -n -e ':t ; s/(.{21})(.*)/\\bf\{\1\}\n\2/ ; p ; s/\\bf\{(.*)\}\n.*/\1/ ; h ; :q { n ; G ; s/(.{21})(.*)\n\1/\2/ ; tp ; s/(.+)\n.*/\1/ ; bt} ; :p { P ; bq }'

Short, but effective. Can you figure out what it does?

(solution after the break)

read more

Link: PHP sucks

Posted Tue 10 April 2012 08:29 under category tech

One of my co-workers wrote up this gem on why PHP sucks. I don't agree with his points (having a "development server" isn't an important or even particularly useful feature of a framework, much less a language; prepared statements aren't the pinnacle of SQL), but he does do a good job of showing off some of PHP's more spectacular failings.

I'm naming all of my PHP functions __lambda_object now.

(yes; I do appreciate the irony of linking to his post from a formerly PHP site)

read more

Debt Free Since 2012

Posted Fri 10 February 2012 01:09 under category personal

As of today, February 10, 2012, I am now officially debt-free. I decided to use my tax refund to pay off the rest of my student loans, which have been sucking down thousands of dollars a month since I graduated. Here are the results:

debt status

Yep. It took a few days longer than expected, because Sallie Mae is terrible at ACH. And, of course, their obnoxious rounding means that at some point in the next six months, I'm going to get a cheque from Sallie Mae for 80¢ (presumably plus 6.8% interest). But it's pretty nice to be ...

read more

My Storage Problem

Posted Sat 28 January 2012 19:07 under category tech

Storage is cheap, or so we're told. Amazon will sell me storage for $0.055/GB/month in “the cloud”; 3.5" hard drives are hovering around $0.06/GB. However, my laptop has a little 250GB SATA drive that is (a) slow and (b) getting full. So I desire to replace it with a fast little SSD. But that raises the question of what to do with my stuff. I'm asking you, Internet. Details below the fold.

read more