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

Published
Categorized as post

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

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?