Via Stack Overflow. And, of course, git add the empty directory. So helpful.
Category: post
A Gotcha Using Node.js + Request In a Daemon
I have a Node.js program running as a daemon on a Linux VPS. Periodically, it polls a list of URLs using <a href="https://github.com/mikeal/request">request</a>. When it first starts, everything runs smoothly. But after running for a while, it starts getting 400 errors, and the longer it runs, the more URLs return 400 errors. I could not… Continue reading A Gotcha Using Node.js + Request In a Daemon
Current Projects
A couple of fun things I’ve been working on to learn some new programming skills, namely node.js and MongoDB. 1. News Bit — Remember Share Your OPML? Me too! 2. Linkblog — A super easy linkblog tool. I plan to open source the linkblog code soon. It also uses a shorturl tool I’m working on… Continue reading Current Projects
Notes On Creating A Multi-user Feed Aggregator
Some time ago, I answered another user’s question on Stack Overflow about database design for a multi-user feed aggregator. I also received an email from a developer asking for additional input, which I shared. But I thought I should put my response here, as well, for posterity’s sake if nothing else. Note that my comments… Continue reading Notes On Creating A Multi-user Feed Aggregator
Yet another XP BSOD solved
Stop 0x00000024 Oy. Grab Windows XP Installation CD. Boot into Recovery Console dir c: // cannot read directory. chkdsk c: /p // 1 errors found Reboot into Recovery Console dir c: // success! fixboot Reboot into Windows // success Woot!
WordPress Update Bash Script
I wrote this script some time ago. It’s been working flawlessly for me, so I thought I’d share it here. It could use some progress messages, I suppose. #!/bin/bash DIR= # Put the file system path to your WordPress installation here. E.g., /var/www/html/blog TMPDIR=$HOME/tmp WPDIR=$TMPDIR/wordpress cd $TMPDIR rm -rf latest.zip ./wordpress # Clean up from… Continue reading WordPress Update Bash Script
Remap Mac Terminal Command-K
In case I need to remember that I did this… By default, the Mac Terminal assigns the “Clear Scrollback” command to Command-K. This is annoying, because I often use Nano, which uses Control-K to cut a line of text, and I frequently press Command-K instead of Control-K by accident. This clears my screen while I’m… Continue reading Remap Mac Terminal Command-K
Fun with River2
I decided to install Dave Winer’s River2 to supplement my usual feed reading. Now that I can access it via its smart use of Dropbox, it should be good for feeds that I don’t feel like I need to see every headline. One of the things I love about River2 is that it’s an app… Continue reading Fun with River2
Were Robert Johnson’s recordings sped up?
A post over on Boing Boing (“The last mystery of the blues: were Robert Johnson’s recordings sped up?”) drove me right to my sound editor to see how Robert Johnson’s performances may have sounded different from his recordings. Here’s the result: Robert Johnson Speed Demo The audio is a 30 second clip of “Sweet Home… Continue reading Were Robert Johnson’s recordings sped up?
Optimal Browser Status Update
I’ve been extremely annoyed with and concerned about Optimal’s usage pattern that I’ve observed in the server logs. I had shut it down for a while to see if anyone noticed. No one did — except me. I wanted to see this OPML of all the BBC’s news feeds, so I turned Optimal back on.… Continue reading Optimal Browser Status Update