The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Live Troubleshooting

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
Live Troubleshooting Posted: Jul 6, 2006 5:56 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Live Troubleshooting
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

This afternoon, Troy and I were trying to figure out why he couldn't load the feed for one of the internal blogs into BottomFeeder. At first, we thought it might be some kind of oddball network/proxy issue, and brought in one of our IT people to answer questions. Nothing seemed to be out of the ordinary there, so I had Troy go to the System menu in BottomFeeder and open up a workspace. This is one of the cooler things about the application; you can write Smalltalk script just like you can in a development workspace. So, I had him try this:


(HttpClient new get: 'internalUrlWentHere') contents.

That worked, so I had him try out the test code I normally use to look for feed issues:


doc := Constructor  
	documentFromURL: 'internalUrlHere' 
	forceUpdate: true 
	useMaskedAgent: false.
cls := Constructor determineClassToHandle: doc content.
target := cls objectForData.
feed := cls 
	processDocument: doc content
	from: 'internalUrlHere' 
	into: target.

Inspecting the feed variable at the end showed that the url was reachable - what we had was a cache problem. I had Troy reset his cache in Bf, and all was well. I'll have to see about not caching bad results, but the cool thing was that we could do this in the runtime - he didn't have to set up a dev version in order to try this stuff out.

That's the power of Smalltalk, right there.

Technorati Tags:

Read: Live Troubleshooting

Topic: Agile Independence Day? Previous Topic   Next Topic Topic: It's not your father's customer service hell anymore

Sponsored Links



Google
  Web Artima.com   

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