Emotionally, it's been a bummer of a week. The saddest part was finding out a friend had died. I met Rose Marie Badgett on my first trip to a convention with friends rather than with my mother. There were six of us sharing a room: Rosie (from Kentucky), Alice and Maggi from Georgia, Mary from...
Went to Kroger this afternoon as has become my habit since James started dialysis to find the dairy cases completely rearranged and my favorite flavor of yogurt nowhere to be seen, and no more space for it on the shelf. First it's disappeared from Publix and now it's gone from Kroger. After I came...
Last month, I attended WorldCon in San Jose. I had an amazing time, primarily because of the wonderful people I talked to, both those whom I already knew and those whom I just met. (I wrote all about it in … Continue reading →
Simple programming patterns and conventions# 24 December 2015 Patterns, Conventions, Programming I thought it might be helpful to some developers to see some simple patterns and conventions in a variety of languages. Many of us know about more complex and abstract patterns, like the Abstract...
Problem In my Rails application, I want to be able to determine a URL for any given model, without the calling code having to know the type of the model. Instead of calling post_path(@post) or comment_path(@comment), I want to just say url_for(@post) or url_for(@comment). This already works in...