Node-debug - better node.js debugging GUI

I often find myself working on node apps, and missing the robust runtime debugging that I get when working on Objective-C apps. Node has some pretty solid debugging tools built right in, but they’re not the easiest to use. There’s a fantastic project called node-inspector that solves most of the issues around the missing debug UI, but there are a few things that I find unwieldy about it. The basic way to get a debugger up with node-inspector would be the following: Open a terminal window, fire ...

Read More

A democratic music player for offices

I’ve been playing a lot of music in the We Heart It office lately. I usually just put on my Last.fm or add stuff to a Spotify playlist as I go - however, I have a wide range of music taste, some of which is not office appropriate. I’ve gotten a reputation for playing music nobody has heard of, and sometimes songs come on that people don’t like. I’m more than happy to skip them, but usually people are too nice to let me know that they’re not digging my current song. We use Heartbot, a Hubot ...

Read More

Clean(ish) mobile web deep linking for iOS and Android

Recently I needed to redirect a mobile web version of an app to an installed app. This proved somewhat challenging, as there's no standard for checking if a user has an app installed. You can of course just redirect to a custom scheme, but that would be a pretty crappy experience for users who actually want to use the mobile web version of the site, or don't have the app installed. Apple and Android each have their own distinctive way to handle custom schemes, which I won't be covering in this ...

Read More

Governments building scalable websites

I recently was asked via email why government can't build a scalable website. The question was prompted by this doomsaying article about the new insurance programs that are being taken to the cloud in Oregon: http://www.csmonitor.com/USA/Latest-News-Wires/2013/0630/51-online-insurance-exchanges-go-live-Oct.-1-what-could-possibly-go-wrong?cmpid=addthis_email#.UdCv9QduBl8.email Here's my take: I can't say anything too concrete about the challenges here, as I haven't seen the backend or talked to ...

Read More

Setting up heroku-like git push deployment

I often find myself spinning up projects that I want to continuously deploy to a production-like environment. One of the easier ways to deploy code is to add an origin and push to it to deploy. It's already in your workflow, so a setup like heroku makes a lot of sense. However, I'm often doing things on the server that require the ability to jump on the box and mess with it. I also want to be able to host this anywhere I like, and not deal with dynos going to sleep or paying per-dyno on my ...

Read More

Setting up heroku-like git push deployment

I often find myself spinning up projects that I want to continuously deploy to a production-like environment. One of the easier ways to deploy code is to add an origin and push to it to deploy. It's already in your workflow, so a setup like heroku makes a lot of sense. However, I'm often doing things on the server that require the ability to jump on the box and mess with it. I also want to be able to host this anywhere I like, and not deal with dynos going to sleep or paying per-dyno on my ...

Read More

Auto mounting EBS Volumes to an EC2 Instance

Yesterday I was looking through an EC2 setup that I had made a while ago. I needed to automatically mount an EBS volume at boot, so that the services running on the box could talk to a partition without mounting it, regardless of if I rebooted the drive or not. A quick google search got me here: http://stackoverflow.com/questions/6006805/automatically-mount-an-ebs-volume-upon-starting-an-amazon-ec2-linux-instance However, as mentioned in a comment, the absence or another failure of the EBS ...

Read More

Primavera 2013

This year I headed to Primavera festival in Barcelona. I managed to snap (bad) pictures of nearly all the bands I saw, I decided I'd put up my bad photos and some thoughts about the bands I saw. I doubt this will be entertaining for anyone but myself, but as I have a bad memory, it'll be good to have to look back on later. Wednesday We were still pretty jetlagged on Wednesday, but managed to make it down for a few acts. Only 1 stage was open, so only a few bands played. It was a nice warmup ...

Read More