racket-quandl: Racket for fun and profit

Published on Monday, February 29th, 2016 in programming, racket, Quandl, finance

Today I was extracting some commodity spot prices from Quandl with both python and Matlab. I knew it couldn’t be hard to obtain the same data via racket so I threw together a very small library called racket-quandl to do just that.
Read more


Enjoy the Racket

Published on Thursday, September 10th, 2015 in racket, programming

Schemes are often regarded as not being practical languages due to their minimal implementations and perceived use purely for teaching. I’m guilty of buying into that perception too. Or I was when I first looked at Racket.
Read more


Update: pollen-count

Published on Saturday, August 15th, 2015 in pollen, racket, programming

Matthew gave me some good feedback on the initial commit. He suggested that the use of a macro could simplify things by doing the counting and label gathering together before even hitting root. Macros are one of the coolest and most powerful features of lisps. There’s a bit more to Racket macros than the Common Lisp equivalent with which I’m familiar; this change has allowed me to investigate Racket macros a bit more but I’ll admit I’m not grokking them fully yet.
Read more


pollen-count

Published on Wednesday, August 12th, 2015 in pollen, racket, programming

pollen-count is a Racket library for use with Pollen. It allows for numbering of sections, figures, tables, etc. and cross references to these numbers. The source code is available on Github.
Read more


Konsole internal border

Published on Monday, July 15th, 2013 in linux

Some terminal emulators, such as xterm and urxvt, allow an internal border to be defined, offsetting the terminal text from the edge of the window. I find this to be very aesthetically pleasing. As urxvt was giving me issues with copy and paste I thought I’d try using Konsole. Unfortunately Konsole has no equivalent option to internalBorder so I thought all hope was lost.
Read more


Shen infix notation

Published on Wednesday, March 20th, 2013 in shen, programming

Here’s an implementation of infix notation for Shen; it’s effectively Dijkstra’s shunting-yard algorithm.
Read more


thunner: a Google Play Music curses client

Published on Wednesday, March 6th, 2013 in thunner, Google, python

In December I released a curses client allowing playback of music stored/purchased with Google Play. The client is written in python and uses Simon Weber’s unofficial Google Music API. Details can be found on the github page.
Read more


Typed lazy lists

Published on Monday, December 5th, 2011 in shen, programming

Today I’m going to visit two topics that I’ve not covered yet: lazy evaluation and types. Personally, the type system is the hardest thing to get my head around and I hope to write a lot more on the subject.
Read more


At the Court of the Nasqueron Dwellers

Published on Saturday, November 26th, 2011 in shen, programming

More Shen macros today. In the previous post I promised an explanation for why we don’t have/need quasiquote, unquote and unquote-splicing in Shen.
Read more


Alien algebra

Published on Wednesday, November 23rd, 2011 in shen, programming

In this post I’m going to concentrate on Shen macros; some familiarity with basic Shen and Common Lisp macros is assumed.
Read more