December 2007
77 posts
Just returned from watching the movie “I am Legend”. Disturbing and sad. Makes you think twice about genetic alterations for medicine.
Had communion at church today which was appropriate since Jesus was born that His body might be broken and His blood shed for our sin.
Just returned from the Crumley family Christmas in Clanton.
Mango Languages - Home →
Just back from family Christmas in Pensacola.
Computer keyboard trays from Accuride, Weber,... →
Keyboard trays for underneath a desk.
Tip: Ruby Here Document http://blog.commonthread.com
Tip: Ruby Here Document →
“Here, document. Come here boy. That’s a good document.” Often times we need to create fairly complex strings in code. The result is usually multiple concatenations that tend to get a little wild and woolly. One solution is to put the string in a separate document or template that uses ERB. This can be overkill for a one-off situation. To tame this mess Ruby provides the here document. I assume...
@pilgrimme Glad the chili is ok too. :)
@pilgrimme I know that wasn’t really funny, catching on fire and everything, but I got a good laugh out of it. Glad you are ok though.
@bwyrosdick You would be correct. That doesn’t count as a twitter foul, does it?
Had the office Christmas party this evening. It was good but parties are my thing.
Seriously questioning whether or not the mac has become less stable than the PC.
Developing my first Firefox extension. So far so good.
XULPlanet.com →
Documentation for XUL development.
yottamusic.com has twittering built into the user profile page. That seems to be a new trend.
Writing an unescape function for transact sql.
The ebay api is a big gigantic mess.
Doing a little ebay integration.
Watching the Transformers movie.
@lessallan Our dog Hope (aka Hopedini) was an escape artist. I can give you a guaranteed way to fix it.
Went to the mall and had some sugar cookies with Christmas sprinkles.
Tip: Ruby Break, Redo, Next and Retry http://blog.commonthread.com [http://blog.commonthread.com]
Tip: Ruby Break, Redo, Next and Retry →
Ruby has some interesting loop flow control statements. These work with while, until, and for loops as well as iterators. For some reason, I find it very interesting that they work with iterators. Break simply breaks out of the most immediate loop and resumes with next statement after the loop. It is like Bobby Petrino leaving the Atlanta Falcons to coach at Arkansas. Just stop whatever is going...
Time for a midnight snack. Baby kosher dills and ranch Lay’s. mmmmm…good.
Playing Thomas Dolby - She Blinded Me With Science http://www.yottamusic.com/show/t:eUiB
Using toggl.com to track time on projects.
@jayshepherd Happy Birthday Kaleb!!!
@jmccay Twitter foul: unnecessary guffness.
Regular expressions just seem hard to understand until you try finding patterns in strings without them.
Parsing referrer urls with Transact Sql.
@lessallan Dude, you just crashed my firefox.
All jacked up on Diet Pepsi MAX. It the invigorating cola!!
Playing Jack Johnson - Good People http://www.yottamusic.com/show/t:ZbmP
@jayshepherd you owe me a lunch for that twitter foul. :)
Joseph Smarr: "High-performance JavaScript -... →
I just noticed an “Older Version” link in the upper right corner of Gmail that works with Safari.
Thinking Shoulda is a pretty cool testing plugin for Rails. The BDD slant seems more natural to me than TDD.
Tip: TextMate New Ruby Method →
There are two ways to quickly create a Ruby method in TextMate. The first is to type def and then press the tab key. The result will be…
def method_name end
The method_name will be highlighted and ready for you to type the name of your method with any necessary parameters. Once the name and parameters are entered you can press tab to begin writing the method. The second way is to type the name...
Tip: TextMate New Ruby Method http://blog.commonthread.com [http://blog.commonthread.com]
Playing George Frideric Handel - Messiah, HWV 56 http://www.yottamusic.com/show/a:51Kd
Popcorn time.
Visiting the lawyer’s office about a deed.
Going to play racquetball.
Playing Mozart: Requiem / Choral Works http://www.yottamusic.com/show/a:54Lu
Mozart’s Requiem would make for an exceptionally long funeral.
This is an interesting way to communicate with friends and family who don’t have email. www.postful.com
Going for a walk through the neighborhood with Kay.
Tip: Ruby On Rails Random Array Element http://blog.commonthread.com
Tip: Ruby On Rails Random Array Element →
Rails 2.0 will include an array extension for retrieving a random element. The method name is rand. Since the active record find method returns an array, this method can be used to retrieve a random item from a database. In the following example a featured product will be randomly selected.
Product.find_featured.rand