Jay McGavren's Journal

2008-04-29

Yaaaaay!

Finished in 3.329 seconds
127 examples, 0 failures, 89 pending

jay@MINIME:C:workzyps
$

Of course, there’s still those 89 pending examples, but at least I don’t have that dirty feeling from failing tests any longer.

Read more...
2008-04-29

The afternoon's playlist so far...

Amon Tobin – Ruthless Amon Tobin – Chomp Samba Alec Empire – Bang Your Head! Amon Tobin – At the End of the Day Amon Tobin – Straight Psyche Amon Tobin – Ever Falling Amon Tobin – Foley Room

Anyone care to guess what my mood is? >:)

Read more...
2008-04-29

The Zyps network code is fast morphing into a library that could synchronize objects and their properties in any two remote collections… Hrmmm, like iTunes libraries…

Read more...
2008-04-28

Java: log.debug(“Found chain ‘” + chain + “’ for property ‘” + propertyCode + “’”); Ruby: @log.debug “Found chain ‘#{chain}’ for property ‘#{property_code}’”

Those few extra characters may not seem like much, but they actually reduce the amount and detail of log statements I put in the code. They’re painful to type, and worse, painful to read.

Logging is fast taking a place next to unit testing in my essential toolbox. Anything that important needs to be as painless as possible.

Read more...
2008-04-27

After some frenzied coding last night and this afternoon...

…EnvironmentServer and EnvironmentClient are much more fleshed out:

spec_doc.html

The failed examples are supposed to throw exceptions; not sure why the test is failing because of it. Some Googling on RSpec should take care of that.

Read more...