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.

UI Intuition
September 6, 2008

My mind loves to ponder UI, and ways to expose functionality without cluttering it up.

Today when I was using Google Chrome, I asked myself, how can I get a list of sites I've been to since there isn't a drop-down button beside the back button? I thought, wouldn't it be clever if the user held down the mouse button while clicking the back button, the list would appear?

I tried it and it happened. Then I smiled :)


Being thankful for energy
September 6, 2008

When I'm faced with getting a bunch of stuff done, it can feel a little daunting, but I'm learning to say thanks to God for the energy, fitness, and motivation to be productive. I guess I find this thought novel since perhaps we're tempted to thank ourselves / pat ourselves on the back for getting things done, but it's good to remember that energy and abilities are actually a pretty great gift.


Exercise 9: Relationships with properties
September 6, 2008

Summary

The core objective of exercise 9 is to allow relationships to be defined that themselves have parameters. For example:

person has(count:0+) sister

This says that a person can have 0 or more sisters. It defines the base relationship person has sister and then attaches the property count = 0+ to that relationship. Another way it could be notated:

(person has sister).count = 0

A transformation's output specification must support this new notation, which may contain variables. For example:

{noun} {has_have} {number} {noun} -> $1 has(count:$3) $4

A secondary objective is to ensure that entities can have not only properties, but properties of properties. For example:

speaker.eye.color = blue

Test cases

Click here

Solution

Click here

Web UI

Click here

older >>