Category Archives: tech

Fixing git-svn on OS X El Capitan

When you install a new version of Mac OS X, git svn breaks. This happened with Mountain Lion and Mavericks, it happened with Yosemite. It happens again with El Capitan. Unfortunately, the old solutions no longer work due to El … Continue reading

HOWTO make readline and history work with irb and rails console on OS X Yosemite

Here’s how to make readline (including control-R reverse search) and command history work with both irb and the Rails console with rbenv and OS X Yosemite (10.10.4). You need to install Readline first, as OS X ships with libedit instead. … Continue reading

fixing dlopen “no suitable image found” errors with node, sass and grunt

I ran in to this error today: $ grunt css Loading “sass.js” tasks…ERROR >> Error: dlopen(/path/to/project/node_modules/grunt-sass/node_modules/node-sass/vendor/darwin-x64-node-0.12/binding.node, 1): no suitable image found. Did find: >> /path/to/project/node_modules/grunt-sass/node_modules/node-sass/vendor/darwin-x64-node-0.12/binding.node: truncated mach-o error: segment __LINKEDIT extends to 1765408 which is past end of file 1765309 … Continue reading

Quick Cruz and Paul updates

Good news: Ted Cruz’s https homepage no longer 404s: $ curl -I https://tedcruz.org/ HTTP/1.1 301 Moved Permanently Server: cloudflare-nginx Date: Wed, 15 Apr 2015 02:03:46 GMT Content-Type: text/html Connection: keep-alive Set-Cookie: __cfduid=d738dec08ca404d83f8aa2b5baafa66821429063426; expires=Thu, 14-Apr-16 02:03:46 GMT; path=/; domain=.tedcruz.org; HttpOnly Location: … Continue reading

Presidential candidate website tech, compared

Today, Hillary Clinton announced that she’s running for president. She also launched a new website. Over the next year, political pundits will spend far too much time dissecting the horse race, scandals (real or imagined), the electoral college and more … Continue reading

Declaring independence … from the dictionary

Be careful when you give people a freeform text field. They’ll get creative. Here are 28 — yes, 28 — ways people spelled “independent”: endapendent IDEPENDENT Ind. Indenpent indepant Indepdendent Indepedent indepenant Independance Independanr Independence Independent independiant independient independnt Indepenent indepent Indepentant … Continue reading

Fido’s data plans are stuck in the last decade

Not only are they suggesting MySpace as something you might use: …but $10 gets you a whopping 100 MB.

Thirty-one ways to leave your lover

If you run any sort of text messaging service, you’ll have to process unsubscribe requests. The standard such messages is “STOP.” To make things easier for customers, in addition to “stop”, I wrote code that also looked for “unsubscribe”, “quit”, “cancel”, … Continue reading

NYC 311 service request status bookmarklet

Easily check the status of your service request without going through the clunky website or fighting a CAPTCHA: NYC 311. This works best with a plugin like JSONView.

Bruce Schneier briefed congress on the NSA

I suggested that we hold this meeting in a SCIF, because they wanted me to talk about top secret documents that had not been made public. The problem is that I, as someone without a clearance, would not be allowed … Continue reading