Benbuckman - benbuckman.net - Ben Buckman's Tech Blog brought to you by New Leaf Digital
General Information:
Latest News:
Node.js and Arduino: Building the Nodeuino example 8 Jul 2012 | 11:12 pm
I've wanted to start building robots with an Arduino for years. I've had several fits and starts - building the examples in the Getting Started with Arduino book, starting to learn basic electronics f...
Understanding MapReduce in MongoDB, with Node.js, PHP (and Drupal) 21 Jun 2012 | 03:06 am
MongoDB's query language is good at extracting whole documents or whole elements of a document, but on its own it can't pull specific items from deeply embedded arrays, or calculate relationships betw...
Quick tip: Share a large MongoDB query object between the CLI and Node.js 25 May 2012 | 06:10 am
I was writing a very long MongoDB query in JSON that needed to work both in a Mongo CLI script and in a Node.js app. Duplicating the JSON for the query across both raised the risk of one changing with...
Using Node.js to connect with the eBay APIs on AntiquesNearMe.com 23 May 2012 | 02:58 pm
We recently rolled out a new space on Antiques Near Me called ANM Picks, which uses eBay's APIs to programmatically find high-quality antique auctions using the same metrics that Sean (my antique-deal...
JSConf Argentina 23 May 2012 | 08:55 am
Over on my travel blog I wrote about attending JSConf Argentina this past weekend. They flew in a dozen Node.js luminaries, I connected with the Javascript community here in Buenos Aires, as well as p...
Liberate your Drupal data for a service-oriented architecture (using Redis, Node.js, and MongoDB) 30 Apr 2012 | 03:06 am
Drupal's basic content unit is a "node," and to build a single node (or to perform any other Drupal activity), the codebase has to be bootstrapped, and everything needed to respond to the request (con...
Cracking the cross-domain/Allow-Origin nut 14 Apr 2012 | 07:44 am
The other day, I was setting up an Ajax feed loader - a node.js app pulling an RSS feed every few minutes and parsing it, and a Drupal site requesting a block of HTML from the node.js app via jQuery-a...
New Varnish "Book" 5 Apr 2012 | 02:34 am
I just found out about this so I thought I'd pass it along: It appears the creators of Varnish have created a for-profit venture "Varnish Software" to market Varnish as a service, and as part of that ...
Reducing coordinate density in KML files (with a node.js script) 31 Jan 2012 | 02:48 pm
Lately I've been tracking my bicycle rides with an Android GPS tracking app. The app exports to multiple formats, including Google Maps and KML. I wanted to take all my rides for a week and overlay th...
Git trick: Cleanup end-of-line changes 31 Jan 2012 | 06:39 am
I was working on a site recently that was moved from one VPS hoster to another, and the ops team that moved it somehow introduced an end-of-line change to every file. I didn't want to commit these jun...