Simon's blog

Idea of the day

I've just written something using Leon's excellent GraphViz module to turn a Shishi parser into a nice diagram of the state machine. While GraphViz turns a data structure into a graph, it would be really lovely for parser tuning to be able to play around with the graph in dotty and then read the resulting graph back into a data structure…

Home and tired

I got back from YAPC yesterday after a reasonably sleepless night flight. I was slightly suspicious to find my mail sorted and the kitchen tidied. But I was too tired to work out what was going on, so had a bath and forced myself into work, which was possibly a bad idea. I took the rest of the day to catch up with what's been going on here, and then returned home to find, yes, I had indeed acquired a housekeeper.


Tonight, I: reviewed four chapters of galleys, ported Magicpoint to OS X, (No, I didn't ever enter the command vi  /usr/include/stdio.h, no, not at all.) ran over my tutorial for tomorrow, despatched for the week, and had a few drinks with co-workers.

Great Minds Think Alike.

Today Arnar Hrafnkelsson asked my opinion on a module he'd been working on called Regexp::Open. It's neat, it's a state machine implemented in C with an XS interface to it. I took a look at it and realised the concept looked a little familiar.

People are ingenious

On the Perl course I'm doing, I give out a lot of programming assignments. Last week, people wrote something to get five names and favourite colours from the user, stored each one into a hash, and then wrote out the hash as a colon-delimited file.