Archive for May, 2008

Scrape the Times

Tuesday, May 27th, 2008

A few years ago I wrote a little Perl script called ‘timesScraper’ that grabs the top stories from the New York Times’ RSS feeds. The idea was I could use it to download local copies of the day’s news for reading on my laptop when I was away from an internet connection.

More details and the download after the jump.
(more…)

Graphing with yEd

Sunday, May 4th, 2008

I used to render UML graphs using the excellent GraphViz—writing out the graphs in dot formatted files by hand as GraphViz doesn’t have any GUI for graph editing. This worked pretty well until I started needing more fine control over the organization and appearance of my graphs. I resorted to ugly dot constructions like

{ rank=same ringbuffer inputproc; }  // put two nodes on the same level

and

buffer_a   [label="buffer"]  // give two nodes the same name
buffer_b   [label="buffer"]

Recently a coworker alerted me to the existence of yEd, an awesome free graphing program written in Java. It creates GraphML-format files using a slick, well-designed interface. It has powerful graph-organizing tools and supports SVG symbols as graph nodes. The graphs look great when printed, too.