Archive for February, 2011

Downloading binary files with Clojure

Saturday, February 26th, 2011

In addition to the FRED stuff we downloaded and parsed in the prior tutorial we now need the commodities too, they can be found on the USGS homepage.... Read More

PHP and setlocale – getting more locales than English to work

Monday, February 21st, 2011

Update I’ve had to revise this one, the original post might work (or not) if you have an older install of Ubuntu, atm (2013-02) I use Lucid, and now the following process works:... Read More

Leiningen and running Ring / Jetty on the fly

Friday, February 18th, 2011

That damn Leiningen et al breaks with the past all the time, the docs at the page of the run plugin are already out of date.... Read More

Opening up a port with IPTables

Friday, February 18th, 2011

After a lot of hair pulling and swearing I just managed to open up a new port (8090) on a Ubuntu server for the first time. The IPTables HowTo is a good document but below I have condensed the pertinent information you need if you just want to open up a port.... Read More

Clojure and MySQL

Sunday, February 13th, 2011

It’s time to start saving the data we downloaded in the prior part in a MySQL database.... Read More

Parsing Economic data with Clojure

Sunday, February 13th, 2011

I’ve just got it into my head that I want to do some economical research and set out to find a big set of data, which I quickly did in the form of the St Lous FED’s FRED API/service.... Read More

Executing methods of Rails controllers in Rake tasks

Thursday, February 10th, 2011

I just found myself in need of a cron job that needed to call the same code that a Rails action view is calling in an ApplicationController.... Read More