The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Annals of Stupid Bugs

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Annals of Stupid Bugs Posted: May 2, 2009 11:31 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Annals of Stupid Bugs
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

I figured it was time to get rid of the "Come to the Seminar" teaser on the website; after all, it happened last Wednesday. As it happens, the text for that part of the main page is rotated in randomly - sometimes there's a VW graphic and a link to VW info, and other times there's an ObjectStudio graphic and a link to ObjectStudio info. So, I updated the pull file for that, kicked the website and... nothing.

Well, after pondering it for awhile, it turned out that I have been inadvertently caching the possible text rotations. There's supposed to be a random pick between two text snippets, but I was actually never clearing the collection to pick from - I was incrementally growing it. Once I updated the code to simply re-initialize the collection, it all worked. Dumb :)

Read: Annals of Stupid Bugs

Topic: The Day in Minneapolis Previous Topic   Next Topic Topic: Verizon Playing Apple and MS, or bidding ATT up?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use