Skip Links

Network World

  • Social Web 
  • Email 
  • Close

(Comma separation for multiple addresses)
Your Message:

The Sentimeter, Part 011

Gibbs wraps up the saga of developing the Sentimeter, his near real-time topical Twitter sentiment analysis tool.
By Mark Gibbs , Network World , 09/02/2009
Gibbs
  • Share/Email
  • Tweet This
  • Comment
  • Print

This week I wrap up the Sentimeter, my almost real-time Twitter topical sentiment analysis tool. Go here to catch up.

But first of all this week I must correct something I wrote last week: that SAP, the company that publishes Xcelsius, hadn't responded to a support issue I raised in a developer's forum on June 18. It turns the senior Xcelsius product manager did respond but I hadn't seen the posting, which isn't too surprising as the response was posted July 29, some 42 days later.

In my last Gearhead I ended having just fired up Microsoft's Fiddler, a free Web debugging tool, to try to figure out why the Sentimeter was generating errors.

While I think about it, there's one thing to watch out for when you're using this tool: If you leave Fiddler running, as I did, and forget it is handling all your Web traffic, you'll suddenly start to see loads of security certificate failures and your browser will start to bug you about whether you want to create exceptions. Switch Fiddler off and all will be well (yes, it was one of those "du'oh" moments – I did it so you won't have to).

Using Fiddler I was able to figure out that Xcelsius-generated Flash movies display "Error #2032" for crossdomain policy violations AND all sorts of other problems that range from no response to a request through to HTTP status responses such as 404, "ain't no such content", 500, "the server application has barfed", and 504, "gateway timeout" (which OpenAmplify occasionally generates when the Twitter Search API is too slow). Is the fact that "Error #2032" is generated for all these conditions documented anywhere? Of course not!

This discovery necessitated another round of hacking my proxy code so I could trap all of these conditions and return something meaningful to the Sentimeter. Now when there is a problem, my proxy sends the Sentimeter a response with the expected XML structure of a successful request, but with a particular field set to a "magic" (i.e. unique) string to indicate an error. I also set another field to the condition code. That way I can do a simple test for my magic string and then warn the user what happened. I also create null entries in the list of stored values that are graphed by the Sentimeter rather than display misleading results.

  • Share/Email
  • Tweet This
  • Comment
  • Print
Partner Content

Gartner 2009 Magic Quadrant for Job Scheduling

Gartner has positioned BMC CONTROL-M in the Leaders Quadrant of their "2009 Magic Quadrant for Job Scheduling." The report assesses the ability to execute and completeness of vision of key vendors in the marketplace. Read a full copy today, courtesy of BMC Software.

Download whitepaper

Dell's SMART Approach to Workload Automation

Read a compelling case study by EMA, Inc. to learn how Dell uses BMC CONTROL-M to cut cost and increase productivity with workload automation.

Download whitepaper

Workload Automation Cost Savings 2 Minute Video

A major computer manufacturer uses BMC CONTROL-M and just four people to schedule and run over 85,000 jobs every month. By switching to BMC CONTROL-M, they more than quadrupled the workload without adding a single staff member.  See how in this 2-minute video overview.

Go to video

Comment
Login
Forgot your account info?
Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed
Partner Content

Gartner 2009 Magic Quadrant for Job Scheduling

Gartner has positioned BMC CONTROL-M in the Leaders Quadrant of their "2009 Magic Quadrant for Job Scheduling." The report assesses the ability to execute and completeness of vision of key vendors in the marketplace. Read a full copy today, courtesy of BMC Software.

Download whitepaper

Dell's SMART Approach to Workload Automation

Read a compelling case study by EMA, Inc. to learn how Dell uses BMC CONTROL-M to cut cost and increase productivity with workload automation.

Download whitepaper

Workload Automation Cost Savings 2 Minute Video

A major computer manufacturer uses BMC CONTROL-M and just four people to schedule and run over 85,000 jobs every month. By switching to BMC CONTROL-M, they more than quadrupled the workload without adding a single staff member.  See how in this 2-minute video overview.

Go to video