The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Note to Self: No Deployments at 3 AM

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
Note to Self: No Deployments at 3 AM Posted: Apr 13, 2006 1:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Note to Self: No Deployments at 3 AM
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

The conference location application works now - I deployed it at 3 am last night, which was a mistake :)

Here's the dumb thing I did - I'm saving the results to a simple BOSS (serialized object file), as a running collection. Simple enough - but here's how I was getting that collection:


existing := self getExiting.
existing := existing add: newInfo.
self saveToFile: existing.

Now, if you know the way the collection APIs in Smalltalk work, you'll have spotted the error: #add: answers the thing you pushed in, not the collection. So I was saving only the new entry. Worse, the second usage of the application blew up, since #add: through an MNU. Sigh.

Never deploy an application at 3 AM...

Read: Note to Self: No Deployments at 3 AM

Topic: Enterprisey Dreams Redux Previous Topic   Next Topic Topic: Enterprisey Dreams Redux

Sponsored Links



Google
  Web Artima.com   

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