Blog
424 Blog articles in total, showing 251 to 260
-
Making a naïve XML parser — Part 2: Perl and Regexp::Grammars
In this mini-series I look at building a minimally functional XML parser. Last time I used Haskell’s Parsec library. This time use Perl and the Regexp::Grammars to build an analogous XML parser.Cartoon from xkcd I recently attended Damian Conway’s underst …
- Published:
-
Making a naïve XML parser — Part 1: Haskell and Parsec
In this mini-series I look at building a minimally functional XML parser; I build one first of all using Haskell’s Parsec library and then in Part Two I use Perl to build an analogous XML parser. I have recently been working my way through the Real World Haskell bo …
- Published:
-
FLOSS UK Regular Expressions Tutorial with Damian Conway
I’ve just returned from a fantastic Understanding Regular Expressions tutorial given by Damian Conway for FLOSS UK (formerly the UK UNIX Users Group). Damian is a bit of a legend in the Perl community having won the Larry Wall award 3 times, written Perl Best Practices and spent quite a few …
- Published:
-
Solved: Real World Haskell Chapter 16 and Parsec3
Another quick fix for an annoyance I found whilst working my way through the Real World Haskell book. This time it’s in Chapter 16 where we are learning about applicative functors and how to use Parsec in an applicative stylee rather than monadically. As it turns out there have been s …
- Published:
-
Review — Gwatkin Golden Valley Scrumpy
This isn’t the first time that I have reviewed one of the ciders from Gwatkin Cider. Back in December 2011, I reviewed their Yarlington Mill, a lovely medium farmhouse cider .Golden Valley is, like Yarlington Mill, orange in colour, though perhaps a …
- Published:
-
Review — Cotswold Cider
It being the weekend nor and I went for a mega bimble up to Headington; nor to draw and me just for the bimble really. We stopped off at Jacobs and Field, which is a swanky delicatessen type of gaff. They sell bottles of Cotswold Cider; an …
- Published:
-
October 2012 Reading
A sort of dark follow up to microserfs, I got the impression that Coupland was trying a bit too hard with this one. Its just a bit too self-consciously futureshocked-cool for my taste. Funny moments and kitsch cultural analyses are mixed with art-school-experime …
- Published:
-
Experiences using XMonad as my windowmanager
A lot of the GNU/Linux community have been switching to alternative window managers of late. Gnome 3 seems rather resource intensive. And Ubuntu Unity is a terrible monstrosity. I have heard good things about Awesome window manager. But I decided to have a crack with the Haskell-based XMonad. I …
- Published:
-
Magento Tip: Remove Breadcrumbs from Homepage
A very quick tip to add to the interwebs because my Google Fu failed to find it the other day when I needed. I wanted to remove the breadcrumbs from a single CMS page — in my case the home page (aka the front page) — in Magento. It’s rather easy to do as it turns out, but I had …
- Published:
-
Haskell: PGM Parser from Chapter 10 of Real World Haskell
I am working my way through the Real World Haskell Book at the moment and finding it fun and challenging. In chapter 10 is devoted to parsing PGM files. One of the excersises is to extend the code from the book to deal with ASCII PGM files as well as raw ones. This is how I did it, along with a c …
- Published: