Archive of February 2011

Sunday, February 27, 2011

Beer & Wine Page Update

Yesterday while working on something else, I found a stupid bug in my Beer page code.  You would think I would have discovered this sooner, but being I don't actually check on it that often.  This insidious little bugger was causing only half the entries to display.  I was initially puzzled by it, but it didn't take long to realize that this was being caused by a very poor architectural decision from many years ago.  It's actually an issue in the PolarBlog code that I am using to generate the data for the page.  When trying to pull all of the entries at once it eats up all of the database connections and dies.  Thus it will output all the data up to that point, and then spew errors to the log.  Being the blog still works and I don't intend on putting anymore work into that, I took a different approach that avoids the connection issue.

Being the page was getting large and cluttered I opted to also implement alphabetic separators for both the Beer and the Wine page that is 99% the same page, just with different data.  So fixed the issue and implemented a change I've been wanting to do anyway!  Net win.
February 27, 2011 @ 02:36 pm | Category:
Thursday, February 24, 2011

Tiefenbrunner Pinot Grigio Venezie IGT (2007)

Tiefenbrunner Pinot Grigio Venezie IGT (2007)
February 24, 2011 @ 12:43 pm | Category: