topics:  main-page   everything   99things   things-to-do   software   space   future   exercise & health   faith  
  thought   web   movies+TV   music   mymusic   food   curiosity   tidbits   I remember   wishlist   misc   links


This section lists all blog posts, regardless of topic.

Exercise 4: Parsing
July 30, 2008

Summary

Write a simple parser to parse input consisting of one or more lines according to the following grammar. The parser should then update the brain instance accordingly.

Define an entity:

{entity}

Define a relationship:

{entity1} {relation} {entity1}

Specify a value assignment:

{entity1}.{entity2} = {entity3}
{entity1}.{entity2}.{entity3} = {entity4}
etc.

Test cases

Click here

Solution

Click here

Web UI

Click here


Daniel finds a good use for RSS
July 29, 2008

Speaking of RSS, I think I've finally found a good use case for myself. GMail allows you to go into Settings and then Web Clips. You can then remove all of the default web clip sources and replace them with RSS feeds from your friends and family's blogs, and thus be notified on the fly about new content.

I like it!



danielbigham.ca now supports rss
July 29, 2008

After long last, I set up rss for my website. Each blog topic represents its own 'feed' which can be subscribed to with any modern browser or RSS reader.

I don't use rss much myself because most of the website that I check on a daily basis are such that I want to see the stories surrounded by the layout of the website, and they are updated frequently enough that I don't want to be notified each time something new is posted.

I guess where I should use rss is to keep tabs on sites that only update once every few days and I want a notification to go look for the new content.

older >>