The Artima Developer Community
Sponsored Link

Java Buzz Forum
PeopleOverProcess.com: Anti-pattern: Beware the Screw up Coté's Feeds Redirect, or,...

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
Michael Cote

Posts: 10306
Nickname: bushwald
Registered: May, 2003

Cote is a programmer in Austin, Texas.
PeopleOverProcess.com: Anti-pattern: Beware the Screw up Coté's Feeds Redirect, or,... Posted: Sep 14, 2006 9:53 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Michael Cote.
Original Post: PeopleOverProcess.com: Anti-pattern: Beware the Screw up Coté's Feeds Redirect, or,...
Feed Title: Cote's Weblog: Coding, Austin, etc.
Feed URL: https://cote.io/feed/
Feed Description: Using Java to get to the ideal state.
Latest Java Buzz Posts
Latest Java Buzz Posts by Michael Cote
Latest Posts From Cote's Weblog: Coding, Austin, etc.

Advertisement

I've been curious over the past few days why Vienna hasn't been pulling in new items from my feeds. So, I just went to dig around for more info, and was horrified to find out that all the URLs for my feeds -- you know, 100's of them -- to the "register for WiFi" page for the hotel. That is, I'm going to have to go track down all the URLs for the feeds and fix them.

In essence, I'm screwed.

And there's the larger lesson about winning by doing the wrong thing. Without digging into the actual guts to see what's happening, my theory is this: the hotel WiFi network does a permant redirect, the type of HTTP redirct that has the semantics of "this URL has permentaly changes, so update your URLs." So, like a good HTTP client, Vienna went and updated all my URLS.

In the happy path -- if Steve or James changed their feed URL, Vienna would switch to it without hassling me. But, unfortunitly, you can't trust that people will use permanant HTTP redirects correctly.

Thus, allow me to say again: I'm screwed.

Trusting HTTP servers in Las Vegas is clearly a bad idea.

Tags: , , ,

Read: PeopleOverProcess.com: Anti-pattern: Beware the Screw up Coté's Feeds Redirect, or,...

Topic: Early Draft Review: JSR 283 - Content Repository API 2.0 Previous Topic   Next Topic Topic: The Power and Pain of POJOs

Sponsored Links



Google
  Web Artima.com   

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