Slashdot Mirror


Netscape Restores RSS DTD, Until July

Randall Bennett writes "RSS 0.91's DTD has been restored to it's rightful location on my.netscape.com, but it'll only stay there till July 1st, 2007. Then, Netscape will remove the DTD, which is loaded four million times each day. Devs, start your caching engines."

134 comments

  1. Redirect by cynicalmoose · · Score: 3, Insightful

    And they can't set up a redirect to the new hosting location?

    --
    Exercise your right not to vote. thinkoutside.org
    1. Re:Redirect by Aladrin · · Score: 1, Offtopic

      Exercise your right view ads. thinkoutside.org [thinkoutside.org]

      There, I fixed that for you.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    2. Re:Redirect by Otter · · Score: 2, Insightful

      Wouldn't they then be serving 4 million redirects per day? The point is that they need to eventually break it to make people stop relying on that path.

    3. Re:Redirect by AndroidCat · · Score: 4, Funny

      HTTP/1.1 301 Moved Permanently
      Content-Type: text/html
      Location: http://127.0.0.1/
      --
      One line blog. I hear that they're called Twitters now.
    4. Re:Redirect by werewolf1031 · · Score: 5, Insightful
      And they can't set up a redirect to the new hosting location?
      What in the world would be the point? That would merely duplicate the problem to a different location. As was clearly stated in the article by Mr. Finke, four-million hits every day is a crapload of bandwidth wasted re-downloading a file that will never change. The RSS 0.91 spec is finished, complete, and yes, for all intents and purposes, written in stone. Stop looking at it every damned day. It will not change. Ever. It's truly stupid for client-side software to be accessing it over the Internet to read its forever-static contents. That's like checking the writings of a dead poet every day to see if anything's changed.

      And any dev who codes his app to check a file like this every day instead of caching it client-side should be smacked oh-my-god-so-frickin-hard.
    5. Re:Redirect by AndroidCat · · Score: 5, Funny
      And any dev who codes his app to check a file like this...
      They might not even know that they're doing it if they're using Microsoft's Swiss Army Chainsaw XMLHTTP COM object and set the flags wrong.
      --
      One line blog. I hear that they're called Twitters now.
    6. Re:Redirect by Frosty+Piss · · Score: 0, Redundant
      They might not even know that they're doing it if they're using Microsoft's Swiss Army Chainsaw XMLHTTP COM object and set the flags wrong.

      And naturally that's Microsofts fault? Not the developer who doesn't know anything about their tool?

      --
      If you want news from today, you have to come back tomorrow.
    7. Re:Redirect by BobNET · · Score: 2, Funny
      And naturally that's Microsofts fault? Not the developer who doesn't know anything about their tool?

      I wouldn't worry about it, many developers have firsthand experience with their tools...

    8. Re:Redirect by AndroidCat · · Score: 3, Informative

      I didn't say that it was Microsoft's fault. It's just that it's a powerful tool with thousands of uses that's simple (on the surface) to use, but it pays to read the fine print carefully because many things aren't obvious. (/me remembers wasting time wondering why my XPath queries weren't working...)

      --
      One line blog. I hear that they're called Twitters now.
    9. Re:Redirect by Anonymous Coward · · Score: 0

      You might even say it's their right-hand man-hood.

    10. Re:Redirect by gbjbaanb · · Score: 1

      bandwidth wasted re-downloading a file that will never change. The RSS 0.91 spec is finished, complete, and yes, for all intents and purposes, written in stone Maybe they're using the pre-release one, waiting for version 1.0 to be released :)
    11. Re:Redirect by naChoZ · · Score: 2, Interesting

      And any dev who codes his app to check a file like this every day instead of caching it client-side should be smacked oh-my-god-so-frickin-hard.

      Ironic because Netscape is guilty of this poor practive themselves. I have an old sun u2 box that I recently revived. I had a copy of netscape messaging server/netscape enterprise server on it (used by the isp where I worked at the time). I wanted to archive some old mail off of it before I wiped the drive. I couldn't start it up because there were so many files containing references to http://developer.netscape.com/products/servers/ent erprise/dtds/nes-webapps_6_1.dtd which of course doesn't even exist. Couldn't even start up until I replaced all references to that file with local file uri links.

      --
      "I can be self-referential if I want to," said Tom, swiftly.
    12. Re:Redirect by Albanach · · Score: 2, Insightful

      To be fair, the article points out that they have already put in place a redirect.

      They point out that it might not be entirely sensible for millions of newsreaders to rely upon downloading a static file from the web each time they open a feed. Most newsreaders (like the one built into Firefox use a local cached copy.

      They restored the file so these newsreaders will continue to work for a period long enough that they can be altered to use a local copy.

      Whether it's reasonable or not for them to remove the file is, I guess, up to the reader to decide. Personally though, I think it's a fair point that you should never rely on a file hsoted on a server which you have no control over - the file can be altered, vandalised, or in this case simply removed without warning and without you being able to do anything about it.

    13. Re:Redirect by doom · · Score: 2, Funny

      It's truly stupid for client-side software to be accessing it over the Internet to read its forever-static contents.

      Hey, you're challenging one of the cherished principles on which the web was based.

      The next thing you know, you're going to be talking about the separation of document id from location.

    14. Re:Redirect by Anonymous Coward · · Score: 0

      Perl rightly has first dibs on 'Swiss Army Chainsaw'. Yet another case of MS misappropriating something that is not theirs.

    15. Re:Redirect by Anonymous Coward · · Score: 0

      We had this same issue a few months ago, where we unintentionally fetched the DTD for some file just by loading an XML-document using the simplest possible call to System.Xml.XmlDocument (in .NET). When some admin of our vendor decided to remove some dusty files (=DTD) from their server, all our apps that read this XML-file stopped working all of a sudden!

      When we tried loading the XML-document without actually validating against the now-missing DTD it took several lines of non-obvious code to do so, whereas the oneliner we had used failed to load the DTD from the vendors site. We had no clue that simply opening an XML file could depend on the existance of some file somewhere on the net.

      So I suspect that many, many .NET apps unintentionally does "online validation" when reading an XML-file with a DOCTYPE definition, simply because "the simplest possible way" leads to this behaviour.

  2. whoops by mastershake_phd · · Score: 1

    The unavailability of this file had the effect of causing certain feed readers - Microsoft's Live.com RSS gadget, for one - to refuse to display RSS 0.91 feeds

    Cant they sue Microsoft for stealing bandwidth, and bad design?

    1. Re:whoops by drinkypoo · · Score: 4, Funny
      Cant they sue Microsoft for stealing bandwidth, and bad design?

      Uh, if Microsoft could be held liable for bad design, their buildings would already have been burned to the ground, their women stampeded, their cattle raped, the ground sown with salt and the wells poisoned.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:whoops by WrongSizeGlass · · Score: 1

      But what about their software?

    3. Re:whoops by symbolset · · Score: 2, Funny

      It would be returned for a refund.

      --
      Help stamp out iliturcy.
  3. Not enough time!!!! by Anonymous Coward · · Score: 5, Funny

    Developers who made the mistake to use that external resource in their code most likely don't have the brain resources to adapt until July.

    (This is not a troll. Resignation and bitterness, maybe. But not a troll.)

    1. Re:Not enough time!!!! by Anonymous Coward · · Score: 5, Funny

      That is kind of like declaring PI to be a volatile double variable, in case it changes in real time...

    2. Re:Not enough time!!!! by Anonymous Coward · · Score: 0

      You've never worked for S.B. Johnson Software, have you?

    3. Re:Not enough time!!!! by Pollardito · · Score: 1

      then they can use that time to find a new job?

    4. Re:Not enough time!!!! by Anonymous Coward · · Score: 0

      And writing an update mechanism to periodically download the newest PI from a third party server.

  4. Why can't we just move it? by Anonymous Coward · · Score: 4, Interesting

    Developers should take the opportunity to move to Atom. In the mean time we could use something as simple as round-robin DNS to share the load or have Mozilla, Google or the internet archive host it. It's a historical document and should reside at a permanent URI.

    1. Re:Why can't we just move it? by Anonymous Coward · · Score: 0

      '...permanent URI.'

      This is another demonstration of the flawed notion that content on the internet "lives forever". Perhaps you mean "long-lived, mostly reliable URI".

    2. Re:Why can't we just move it? by Anonymous Coward · · Score: 1, Interesting

      > Perhaps you mean "long-lived, mostly reliable URI".

      Yes, and I have a couple of name suggestions for this, we could call it a "permanent URI" or "persistent URI".

      Purl may be a good choice for this DTD.

    3. Re:Why can't we just move it? by Paulrothrock · · Score: 2, Interesting

      Kind of like Example.com. That was set up in RFC-2606.

      --
      I'm in the hole of the broadband donut.
    4. Re:Why can't we just move it? by metamatic · · Score: 2, Informative

      You know, if you're gonna be a smartass on this topic, you should at least understand the difference between a URI and a URL.

      There's nothing flawed about the notion of a permanent URI. A permanent URL is the tricky bit.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    5. Re:Why can't we just move it? by Anonymous Coward · · Score: 0

      And just what is the difference then?

    6. Re:Why can't we just move it? by Antique+Geekmeister · · Score: 1

      Round-robin'ing the load does not eliminate the wasted bandwidth: that costs someone money. Even if you Akamai'ize it, someone has to pay hte bills for it.

  5. Re:hmm by mastershake_phd · · Score: 1

    You can't sue Microsoft for bad design!

    They're still in business, aren't they?


    I know, i was trying to be funny.....hey so where you.

  6. CmdrTaco by MagicM · · Score: 5, Funny

    Netscape Restores RSS DTD, Until July - from the that's-kinda-lame dept.
    Two Stargate SG1 Films Announced - from the good-for-them dept.
    Linux: x86 Linux Flash Player 9 is Final - from the i-still-hate-flash dept.

    Looks like somebody is having a case of the mondays.

    (On Wednesday.)

    1. Re:CmdrTaco by Valthan · · Score: 5, Funny

      I believe you would get your ass kicked for saying that to someone.

      --
      --Valthan
    2. Re:CmdrTaco by markhb · · Score: 1

      How about "from the cmdrtaco-went-overboard-at-CES-and-now-he-has-to- sleep-on-the-couch dept."?

      --
      Save Maine's economy: write stuff down. All comments are exclusively my own, not my employer.
    3. Re:CmdrTaco by 1u3hr · · Score: 1

      How about "restored to it's rightful location..."

  7. I don't get it by Thansal · · Score: 4, Interesting

    I admit, I am not familiar enough with RSS. However this is a 2.3KB file that is not supposed to change. Why would developers NOT hardcode it into their RSS tools?

    --
    Do Or Do Not, There Is No Spoon, There Is Only Zuul. Everything in the above post is probably opinion.
    1. Re:I don't get it by jrumney · · Score: 5, Informative

      Developers use off the shelf XML parsers, which generally take care of validation for you. Netscape created this problem themselves when they stated in the spec for RSS 0.91 that well-formedness was not enough, RSS 0.91 feeds should be validated against the DTD. They then specified that document authors must use a PUBLIC doctype specifier, so the option of using a SYSTEM one (where the DTD is looked up in a local catalog) is not an option.

    2. Re:I don't get it by Anonymous Coward · · Score: 3, Insightful

      PUBLIC doctypes simply give the URI of the DTD, and are exptected to always resolve to the same content. But there's no requirement that you use the default resolver.

    3. Re:I don't get it by rholliday · · Score: 2, Interesting
      I'm also not an expert, but from what I know about DTDs they are supposed to be referenced when the content should validate against them. For example:
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
      "http://www.w3.org/TR/html4/strict.dtd">
      This is at the top of every Slashdot page. Should IE or FF break if the W3 were to remove that file? Certainly not. But should it be loaded and validated if possible? I believe so.

      If any XML or RSS gurus want to correct me on this feel free.
      --
      Xbox reviews.. We think they're funny.
  8. mirror ;) by jaredmauch · · Score: 2, Funny
    1. Re:mirror ;) by geoffspear · · Score: 5, Informative

      Great, the entire internet community can rely on one random person's server instead of on one really big corporation's server. That should fix things.

      --
      Don't blame me; I'm never given mod points.
    2. Re:mirror ;) by jaredmauch · · Score: 1

      I'm not entirely joe-random user (i say jokingly yet seriously - i registered nether.net before aol registered aol.com), but what i'll say is that it's useful to have copies of these files around for all sorts of reasons, either historical or otherwise. Folks are welcome to add my host in as one in their list of places to find this. I've survived slashdottings in the past before with not a lot of effort (as my pages are primarily static, no ads), and hosted/mirrored large content before without trouble and at reasonable speeds, so while my offer may seem funny to you, it's a bit more serious than that. (asbestos-suit == on)

    3. Re:mirror ;) by NiteTrip · · Score: 0

      Wow nether.net! It was the first server to give me shell access back in the early 90s!

      Thanks for that, I played many a mud through your server.

    4. Re:mirror ;) by CokeBear · · Score: 5, Funny
      i registered nether.net before aol registered aol.com

      But you waited until (UID 633928) to register on Slashdot?

      Newbie.

      --
      Reality has a liberal bias
    5. Re:mirror ;) by MyHair · · Score: 1
      by CokeBear (16811):
      i registered nether.net before aol registered aol.com

      But you waited until (UID 633928) to register on Slashdot?

      Newbie.


      Yeah. uhuhuhuh. What a noob. Heh. uhuhuh.

      ;)

    6. Re:mirror ;) by Tim+Browse · · Score: 1

      Oi! You kids! Get off my lawn!

    7. Re:mirror ;) by jaredmauch · · Score: 1

      i've periodically thought about rebuilding the system a few times but just haven't been able to allocate time/resources to it. @nether.net addresses still get a lot of spam and i've even been bouncing mails since at least 2001. I was about to rebuild it during one of my business trips, but then I got stuck in california when they shut down all the airspace for that week and rethought fully open access.

    8. Re:mirror ;) by Chacham · · Score: 1

      *Yawn*

    9. Re:mirror ;) by zztzed · · Score: 1

      Yawn indeed.

    10. Re:mirror ;) by Rolf+W.+Rasmussen · · Score: 1

      Wow, impressive.

      --
      - Rolf W.
    11. Re:mirror ;) by RabidMonkey · · Score: 2, Funny

      "newbie"?

      thats so oldschool now, it's noob or newb now

      y'old fart.

      --
      We emerge from our mother's womb an unformatted diskette; our culture formats us. - Douglas Coupland
    12. Re:mirror ;) by Chacham · · Score: 1

      I knew it was only a amtter of time.

      Then again, how much time do you think actually passed between your registration and mine?

    13. Re:mirror ;) by Chacham · · Score: 0, Offtopic

      Ouch, that hurts. :)

      With a number that low, my guess is your were invited, of course, it is just a guess, with no reason. Were you really one of the first fifteen people to sign up? Because, with a handle as long as yours, the extra keystroked should have pushed you later in the registration process. :P

    14. Re:mirror ;) by jo42 · · Score: 1

      No, it's n00b these days.

    15. Re:mirror ;) by Rolf+W.+Rasmussen · · Score: 1

      Nope, I wasn't invited. It just happened to be one of the first to register after they opened up for registration. The funny thing, is that I didn't hurry through the registration form either, and I was surfing from across the Atlantic using a slow dial-up connection I was using those days. I had just dialed out using my 14400 BPS modem, and when I visited Slashdot which was my usual first stop, I just happened to see that they had started accepting registrations.

      --
      - Rolf W.
    16. Re:mirror ;) by Chacham · · Score: 1

      and I was surfing from across the Atlantic using a slow dial-up connection I was using those days. I had just dialed out using my 14400 BPS modem, and when I visited Slashdot which was my usual first stop, I just happened to see that they had started accepting registrations.

      Maybe that's it.

      I also signed up early. But because of timezones, you were up earlier.

      Anyway, good for you. :)

      Thanx for replying.

  9. Re:I hate grammer nazis by freefrag · · Score: 0, Offtopic

    Slashdot should put in macros to change "it's" to "it is" and "they're" to "they are." I bet that would cut down on grammar mistakes pretty quickly.

  10. Probably by Anonymous Coward · · Score: 2, Funny

    As that would give Google another way to track your every online move.

  11. Re: Because software evolves by mutation by 140Mandak262Jamuna · · Score: 4, Insightful
    No one ever writes a new XML (and most other Web2.0) application from the scratch. They all take an app they are familiar with and modify it to do new things. And some of the initial boot-strap processes are never looked into. If it works, dont mess with it attitude is pervasive. So someone long ago may be in a galaxy far away wrote an application that replicated and mutated by developers and others took it and did more mutations and it propagated. One side effect of this and similar cut&paste code development tactics is that bugs, security holes, inefficient algorithms, brain dead implementations also propagate.

    Richard Dawkins asks this very fundamental question, why reproduce (sexually or asexually) using seeds and embryos? Why not propagate by cuttings and cloning? It happens in nature. Many fern like plants do it. Bananas have been reproducing by new shoots. Then he discusses how harmful mutations too propagage and how going back to the basics and recreating the embryo selects the beneficial mutations and puts a check on deletrious mutations. Books The Selfish Gene, Climbing the Mount Improbable.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  12. Its by dsanfte · · Score: 0, Offtopic
    "RSS 0.91's DTD has been restored to its rightful location"


    Unless we correct such errors, they will propagate, and that's bad for everyone in the long run.
    --
    occultae nullus est respectus musicae - originally a Greek proverb
    1. Re:Its by Anonymous Coward · · Score: 0

      That's actually correct. It's is short for it is, its is the possessive. There is no its'.

    2. Re:Its by Anonymous Coward · · Score: 1, Informative

      I think you should subscribe to this newsgroup.

  13. Let's be Evil by hackershandbook · · Score: 2, Interesting

    .. and I thought it was only Microsoft and Google that tried to "break the web" on purpose ....

    1. Re:Let's be Evil by igotmybfg · · Score: 1

      Don't forget Earthlink, who actually no shit HAS broken the internet, at least for their subscribers

    2. Re:Let's be Evil by Antique+Geekmeister · · Score: 1

      And Verisign, when they broke .com by having all non-existent .com domains resolve to their advertising page.

    3. Re:Let's be Evil by Jesus_666 · · Score: 1

      Let's be honest, RSS already is broken in more than one way.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    4. Re:Let's be Evil by POWRSURG · · Score: 1

      Don't know how 'informative' became troll exactly... killing moderation by posting.

  14. Re:I hate grammer nazis by flyingfsck · · Score: 1

    You forgot 'there' ==> "their" and "forget" ==> "forgot"...

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  15. "Caching" not the answer by KrisWithAK · · Score: 5, Informative

    As I replied for the previous Netscape RSS DTD article http://slashdot.org/comments.pl?sid=216818&cid=176 03480, caching DTDs from the network is not the answer if there is the possibility they will not be there in the future:

    The proper thing to do is for your application to use an XML catalog for resolving entities/URIs and bundle the DTD files with the application. There is a good article at http://xml.apache.org/commons/components/resolver/ resolver-article.html that helped me out. In addition, if you are using Eclipse with the web tools platform, you can customize the catalog so it resolves DTDs and entities locally. See http://wiki.eclipse.org/index.php/Using_the_XML_Ca talog.

  16. Technical vs. Emotional by mmurphy000 · · Score: 5, Interesting

    (I tried posting this as a reply to the blog posting, but I'm not getting the confirmation email, so I'll post it here)

    From a purely technical standpoint, I agree with your assertion that, for well-baked files like RSS DTDs, clients should not be relying on a file hosted by an arbitrary service.

    That being said, please understand that the emotional message you're sending is: "Don't rely on Netscape".

    Why?

    Back when RSS was first starting out, Netscape's documentation said to use Netscape URLs for the RSS DTDs. Witness this page, published by Netscape, from late 2000:

    Now, a shade over six years later, Netscape is saying "Oh, yeah, what we told you to do? Never mind. We're not supporting it any more."

    If Netscape/AOL was shutting its doors, that'd be one thing. If the service in question was obviously onerous, that too would be understandable. Or, if Netscape told people "For the love of all that is holy, don't use our URLs for your DTD needs!" from the get-go (based on that document, you didn't), any such reliance would be our own fault.

    But, because AOL does not want to serve up two static files, each of which is smaller than the "Netscape Reports" graphic on the netscape.com home page, Netscape is abandoning a service they told people to use.

    So what are we to think about Netscape's current services and their long-term usability?

    1. Re:Technical vs. Emotional by Anonymous Coward · · Score: 0

      Yeah... until this story broke, I didn't realize they still existed. I guess they do,but it looks like I'm going to have to go back to ignoring their existence.

    2. Re:Technical vs. Emotional by evilviper · · Score: 1
      But, because AOL does not want to serve up two static files, each of which is smaller than the "Netscape Reports" graphic on the netscape.com home page, Netscape is abandoning a service they told people to use.

      They told people to use SIX YEARS AGO. I'd say they kept their promise pretty damn well. That's an eternity in internet terms.

      Who else would you expect to have provided such a free service, longer?

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  17. dumb by Anonymous Coward · · Score: 1, Funny

    "should feed readers be relying on the availability of a static document on a third-party Web server (and thus a connection to the Internet)?"

    Yeah, feed readers don't need the internet at all! What WERE you guys thinking?

    1. Re:dumb by AndroidCat · · Score: 1

      Yeah, it's not like UUCP was broken or anything.

      --
      One line blog. I hear that they're called Twitters now.
  18. Why is it done this way? by gr8_phk · · Score: 1

    I never understood why web pages need references to these external things (or do they?). Why embed into a page a pointer to a document that you don't have direct control over? My own dumb pages do this as well since I switched from plain HTML to using CSS and SVG, but I don't have the time to figure out why it's in there or if it's needed. I just pasted it in like the examples I found. Now if I thought my web page was really important, I'd look into this a bit more...

    1. Re:Why is it done this way? by Pollardito · · Score: 1

      Why embed into a page a pointer to a document that you don't have direct control over? because the interweb works because of external links :P
    2. Re:Why is it done this way? by Anonymous Coward · · Score: 2, Insightful

      You need to put a certain DTD URI into your documents because they essentially act like "magic cookie" values in binary file formats. It's the only way to tell if you're supposed to treat a document as HTML 1.0, 2.0, 3.0, 4.01, XHTML, HTML strict, HTML transitional, whatever. That information isn't encoded in the DTD, so there's no way to identify a file format simply by pointing at a random location with the identical DTD.

      The point of the URI is to act as an opaque identifier for a particular file format. Being able to fetch it is just a bonus, and a good programmer shouldn't rely on the resource being there at run time. URIs are used because the domain name system already delegates responsibility for namespaces; a different scheme could be used, but using DNS leverages the existing infrastructure. It's not perfect (as the RSS 0.91 example shows), but it works 90% of the time.

  19. Not really by Anonymous Coward · · Score: 0

    That's a domain for use in documentation. I bet the bandwidth costs from attempted email delivery are huge even though there are no MX records and the server doesn't accept SMTP connections. In addition to spam harvesting, people like me have been using xyz@example.com to satisfy email address requirements for years. Ideally a production MTA would return example.com email as undeliverable without attempting delivery.

    Attempting email delivery to example(.com|.org|.net) is roughly analogous to developers not caching a DTD or hard coding third-party NTP server addresses into their code.

    1. Re:Not really by Bogtha · · Score: 2, Interesting

      I bet the bandwidth costs from attempted email delivery are huge even though there are no MX records and the server doesn't accept SMTP connections. In addition to spam harvesting, people like me have been using xyz@example.com to satisfy email address requirements for years.

      That's what the .invalid TLD is for, also defined in RFC 2606.

      ".invalid" is intended for use in online construction of domain names that are sure to be invalid and which it is obvious at a glance are invalid.

      --
      Bogtha Bogtha Bogtha
    2. Re:Not really by Anonymous Coward · · Score: 0

      I have this hunch that most online systems requiring an email address don't accept the .invalid TLD. When I've written these things I've validated the user supplied address against a regex that definitely did not contain the string .invalid in the list of valid TLD.

    3. Re:Not really by Anonymous Coward · · Score: 0

      When I've written these things I've validated the user supplied address against a regex that definitely did not contain the string .invalid in the list of valid TLD.

      WTF? You include a whitelist of TLDs? So basically, every time a new TLD arrives, you have to update all your web apps? Why are you reinventing the wheel and adding in all sorts of bugs. There is a canonical regexp for email addresses. Use it.

    4. Re:Not really by maxume · · Score: 1

      If someone is feeling frisky, how does that look if you go to the trouble of separating the address into [part-before]@[part-after] and then do the validation in two steps? Or is that not possible for some reason?

      --
      Nerd rage is the funniest rage.
    5. Re:Not really by CarpetShark · · Score: 1

      It wouldn't matter. The part after the @ is the domain name, which is what .invalid would be part of. Unless the domain checks out, nothing left of the @ is used.

    6. Re:Not really by maxume · · Score: 1

      I was referring to the monster:

      http://www.ex-parrot.com/~pdw/Mail-RFC822-Address. html

      Not the /. thread.

      --
      Nerd rage is the funniest rage.
    7. Re:Not really by Anonymous Coward · · Score: 0

      WTF? There's no way to ensure a TLD is valid other than whitelisting and a web app needs to catch user typos.

      > So basically, every time a new TLD arrives, you have to update all your web apps?

      A monthly cron job is a wonderful thing. I suppose in light of this article that the URL may return a 404 at some point. Then my deployed web apps would simply maintain the last version.

    8. Re:Not really by adavidw · · Score: 1
      There is a canonical regexp [ex-parrot.com] for email addresses.


      Holy crap! That's one of the uglier things I've ever seen.
    9. Re:Not really by Anonymous Coward · · Score: 0

      There's no way to ensure a TLD is valid other than...

      We're not talking about ensuring a TLD is valid, we're talking about ensuring an email address is valid. Also note the difference between valid and correct. An email address can be valid without being correct. A non-existent domain name is one example of the difference. Also, of course, email addresses don't need a domain name at all.

      a web app needs to catch user typos.

      Yes, but that's verifying it for correctness, not checking it for syntactic validity. You verify it for correctness by sending them an email with a nonce in.

  20. Well you know what this means by MillionthMonkey · · Score: 1

    You have five months to update your apps to use RSS DTD version 0.92!

    1. Re:Well you know what this means by BuffaloBandit · · Score: 1

      Seriously though,
      Isn't 0.91 dead anyway?

      Why not get on the 2.0 bandwagon?
      Is there still value in 0.91?

  21. Re:Spelling issue by JasonKChapman · · Score: 2, Informative
    What's so fucking hard about spelling "its" correctly?

    An old Jedi mind trick:

    Its apostrophe is missing, because it's been moved over here.

    --
    Sorry, I'm a writer. That makes you raw material.
  22. URIs by Anonymous Coward · · Score: 1, Interesting

    This is the perfect reason to use URIs hosted on p2p, rather than individual sites. It's going to be more and more of an issue, as RDF takes off.

    1. Re:URIs by Schraegstrichpunkt · · Score: 4, Informative

      No. This is the perfect example of why a URI is not necessarily supposed to be treated as a URL. http://my.netscape.com/publish/formats/rss-0.91.dt d is just a unique identifier for the RSS DTD. It used to also be hosted there as a convenience, but your software isn't supposed to rely on that.

  23. My favorite scene from The Blues Brothers by Anonymous Coward · · Score: 0

    Elwood: Grammar Nazis!
    Jake: Pfft. I hate Grammar Nazis.

  24. Re: Because software evolves by mutation by Vreejack · · Score: 2, Interesting

    That was insightful (hint to mods).

    Now we need software that can breed sexually.

    Or, more realistically, software that has a finer granularity and greater modularity so that the piece of ancient code that does this can be easily identified and swapped out, without needing to be understood by developers.

    --
    "Will future ages believe that such stupid bigotry ever existed!" -- Ivanhoe
  25. Better than alternative by Anonymous Coward · · Score: 1, Insightful

    It seems to me that having the ability to track the src and dest address of every website viewed (nearly) would be a huge financial gain to companies willing to sell that information. Netscape (read AOL) never really struck me as a "feel good, do good" company and I am surprised that they would not try to profit off of this. I distinctly remember thinking this as motive back when they declared everyone must use their DTD in the first place.

  26. pi meter by shani · · Score: 1

    In Greg Bear's book Eon, one of the ideas is building with geometry. A mathematician investigating one such structure asked some engineers to build a pi-meter to use when she was exploring. I wondered what such a thing could mean, and indeed how one would build such a device...

    1. Re:pi meter by nuzak · · Score: 1

      The curvature of space varies along The Way, which affects the value of Pi.

      --
      Done with slashdot, done with nerds, getting a life.
    2. Re:pi meter by Anonymous Coward · · Score: 2, Informative

      pi = any circle's circumference / diameter. At least on a Euclidean plane, anyway. It's a bit incorrect to think that the value of pi varies, as it's defined in a particular type of geometry. There are also purely mathematical ways to define the value of pi, independent of geometry. Still, the idea of measuring space to get the value of "pi" is a valid way to think about measuring the curvature of space.

      Now, let's say space is curved, like a sphere. (Like, oh, the one we live on.) If you draw a circle, say, the circumference of the Earth (along the equator), and then try to measure the "diameter" on the sphere (over one of the poles), you'll find it's much larger than the actual diameter (straight through the planet's core), and hence the "value of pi" will be much different. (In fact, it'll be 2, give or take a few decimal places since the Earth isn't a perfect sphere.)

      To create a "pi meter", you might think of a device consisting of a fiber optic loop, like in a laser ring gyro; you simply measure the amount of time it takes for light to go around to measure the circumference of the loop, as well as using another pulse to measure its diameter. If space curves (as indeed it does, although not in any way that's noticeable far from, say, a black hole), you'll find a discrepency between your measurement of circumference / diameter and the defined value of pi.

      You could also do the same thing with a piece of string and a ruler, but it wouldn't be convenient enough to call it a "pi meter".

    3. Re:pi meter by T-Ranger · · Score: 1

      It would be trivial to build a ruler that is exactly pi. The problem would be that if you do so, you would break all the other rulers out there.

    4. Re:pi meter by alienmole · · Score: 2, Funny
      You could also do the same thing with a piece of string and a ruler, but it wouldn't be convenient enough to call it a "pi meter".
      Yeah, but if you attached the string to a sleeping cat's tail, then when the value of pi changes it would pull the cat's tail and the cat would jump, hitting the lever above its head, which would release a ball which would roll down a spiral ramp into a container of water balanced on a thin beam, so that when the ball sinks to the bottom of the container it would tip it over onto the cat, which would release an ear-splitting yowl... What was the question again?
  27. First woodpecker... by kabdib · · Score: 2, Insightful

    This is why whenever I hear the words "architecture" and "web" in the same sentence that I snicker. Unpolite, but OMFG who designed this junk?

    Oh, right. Nobody, really. It's amazing it works at all (... and sometimes it doesn't!)

    Djikstra's quip, "If programmers build houses they way they built programs, the first woodpecker to come along would topple civilization" was and remains insightful.

    --
    Any sufficiently advanced technology is insufficiently documented.
  28. Content based addressing by Omnifarious · · Score: 1

    The web needs some scheme for content based addressing. Like the urn:sha1 scheme used in gnutella. This (and some sort of reasonable caching scheme) would do a lot to alleviate problems like this. It could also help a lot with the Slashdot effect.

    1. Re:Content based addressing by Anonymous Coward · · Score: 0

      This is a freaking awesome idea!

  29. Against the idea of the web? by untoldone · · Score: 1
    With my very limited understanding of the W3C and such, the the netscape blog post seems very anti-W3C ... as Daniel Glazman commented on the blog post

    "cool URIs never change". This sentence has been on W3C's site for ages, constantly repeated by W3C staff in Web conferences. However, it's not like the author of the post didn't have valid reasoning. That IS a lot of bandwidth, why should netscape be made to foot the bill when they don't get anything in return? No one sees any of their pretty ads when the users' machines just fetch the DTD -- netscape gets nothing off of hosting it ... beyond the ability to feel good about themselves because they keep RSS 0.91 stable for everyone else. I didn't even know netscape hosted this until I read the blog post ... Not having much experience with it, this seems like the exact same issue I had with the entirety of how semantic web stuff works: Lots of machine readable documents must be fetched from many different sources in order for one service to work. W3C says that this should work cause documents don't go away, but generally this is not the case -- companies go bankrupt, services change ownership (and domain). I feel like someone needs to work out (and use in practice) a system of distributing static documents like this consistently over lots of places so when one source dies or changes location -- the services that rely on it don't just stop.
  30. Re: Because software evolves by mutation by Zak3056 · · Score: 2, Funny

    Now we need software that can breed sexually.

    Nahh, the risk of virus transmission is too high...

    --
    What part of "shall not be infringed" is so hard to understand?
  31. Re: Because software evolves by mutation by Rob+T+Firefly · · Score: 1

    Yes, but Richard Dawkins is married to a hottie from Dr Who. Why should he ever have to use "sex" and "why?" in the same sentence?

    /sadfanboy

  32. Re: Because software evolves by mutation by operagost · · Score: 1

    Richard Dawkins asks this very fundamental question, why reproduce (sexually or asexually) using seeds and embryos? Why not propagate by cuttings and cloning?
    Number one, nature is a horrible analogy to use in comparison with software; two, Darwin adequately answered this question and I think Dawkins should know the answer; three, every piece of software is not simply a rehashing of old code-- tons of it is brand new.
    --

    Gamingmuseum.com: Give your 3D accelerator a rest.
  33. they don't by jonasj · · Score: 2, Insightful
    until this story broke, I didn't realize they still existed.
    They don't. They haven't existed since 2003. AOL is just using the name for a portal and IIRC a dial-up ISP service.

    http://www.google.com/search?q=%22Brand+Necrophili a%22&safe=off
    --
    You know, Microsoft's street address also says a lot about their mentality.
    1. Re:they don't by VWJedi · · Score: 1

      Don't forget "The All-New Netscape Browser 8.1.2"!

  34. Never depend on Netscape (AOL) by gamer4Life · · Score: 1

    Ever since they took DevEdge offline without warning, I've been weary to rely on them as a resource. This is just another step toward insignificance.

  35. So where should it go? by Animats · · Score: 0

    Don't get it from archive.org. The Internet Archive isn't really set up to have a huge number of quick retrievals of the same tiny item. There's no front-end cache farm, and response will be slow. (This was a problem after they started archiving Greatful Dead fan recordings. The Deadheads, many of whom did too many drugs in the 1960s, would stream the same audio, over and over and over. The music archive had to be moved to a completely different system.)

    Try to get this hosted by "w3c.org", which hosts other DTDs and seems to do a good job.

  36. URLs, URIs and URNs 101 by metamatic · · Score: 4, Informative
    URLs are a subset of URIs. A URL defines a location where a resource can be accessed. A URI may merely be the name of a resource, i.e. a URN.

    For example, globally unique IDs in Atom feeds are often URNs, and hence URIs; but URNs aren't URLs, and you shouldn't need or want to try to connect to something just because it's used as a globally unique identifier in an Atom feed and looks a bit like a URL.

    This is relevant because many Internet specifications use URNs (or in the case of HTML, FPIs) as spec identifiers. For instance, XML namespace identifiers are URIs; and while some of them happen to be URLs too, the XML namespace recommendation says:

    The namespace name, to serve its intended purpose, should have the characteristics of uniqueness and persistence. It is not a goal that it be directly usable for retrieval of a schema (if any exists).

    In the case of RSS 0.91, Netscape wrote the spec, and they used a URL and told people to connect to it to fetch the necessary information to parse the file. They could have used a URN, but I'm guessing they wanted to keep their options open as far as changing the spec on the fly.

    (Of course, Dave Winer has a different approach to changing RSS specs on the fly...)
    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    1. Re:URLs, URIs and URNs 101 by cdvddt · · Score: 1

      I've never understood why the XML conceptors and users
      have always maintained the confusion.

      I mean, using a URI like "http://www.foo.com/dtds/mydtd.dtd"
      is very confusing. when you see something like that (I mean HTTP !!)
      you are very likely to be tempted to load it.

      Ok, you'll argue that the specs say : Don't do it.
      But instinctively, you will. And if the specifications
      are far from the instinct, my guess is that specs are crap.

      It would have been better to force special URN that are NOT URL from the beginning
      eg : xmlns="foo.com:mydtds:mydtd.dtd". In that case, I won't be tempted
      to load it, but it is still a valid URI though.

    2. Re:URLs, URIs and URNs 101 by 1110110001 · · Score: 1

      They could not use a URN. The DTD is not only used as a namespace URI, but also to define some entities. Without the DTD a normal XML parser would fail if one of these entities is used. But most XML parsers only know how to open a local file or load one via HTTP. Both have defined URL schemes. Thus the only alternative would have been to use a file:// URI.

      That's the problem with RSS 0.91. They wanted to make it easier for developer who know HTML 3.2 entities, but now they depend on the DTD. Of course feed readers should have a local copy of that DTD, like browsers, which don't need the HTML DTD to resolve the entities.

  37. Re: Because software evolves by mutation by araemo · · Score: 1

    Perhaps it should be said that Dawkins begs the question... I think his book is a x00 page answer to said question. (Granted, I haven't read that book, but I know Dawkins' reputation. ;P)

  38. Funnily enough, it's called.. by CarpetShark · · Score: 1

    A URN ;)

    Universal Resource Name, if I recall correctly (which I often don't)

  39. OR by Anonymous Coward · · Score: 0

    What's so hard about overlooking petty grammar mistakes? I know I know, your versatility dial is stuck on '0'.

    1. Re:OR by Anonymous Coward · · Score: 0

      What's so hard about overlooking petty grammar mistakes? I know I know, your versatility dial is stuck on '0'.

      If everyone overlooked petty grammar mistakes then grammar would cease to exist. Not overnight, but over time.

      Some people either did not learn proper grammar in school. Other people just did not pay attention. If by correcting someone's grammar teaches them the correct way it is done, then they now know. If a person purposefully uses incorrect grammar then they obviously do not care, and should not even worry about someone correcting them.

      Those that do care that someone has corrected another person's grammar or even their own grammar appear to me to be someone that is insecure and is unwilling to learn from their mistakes.

      Allow those that correct grammar to continue to correct it. If people would stop relying on their computers to spell check for them, then they might learn the correct usage of words and not commit grammar mistakes.

      Also remember that a person may not be writing or speaking in their primary language and therefore, could use the grammar lesson. It may be helpful to them in the future.

      (If I have made any grammar mistakes, feel free to reply and show me. I am always looking to learn something new.)

    2. Re:OR by Simetrical · · Score: 1

      If everyone overlooked petty grammar mistakes then grammar would cease to exist. Not overnight, but over time.

      What you said is wrong, and what you meant is trivial. Grammar is a product of the human brain, almost all learned unconsciously. I'm sure anyone here who's looked at AI language can attest that the important parts of grammar do not boil down to simple rules that are taught in school, or indeed could possibly be taught in school. Anyone who's used state-of-the-art translators like Google's should be able to infer that too. If everyone started talking like hicks (or some other low-class group) tomorrow, we'd all be able to understand each other perfectly. The only "grammar" that would cease to exist would be the frequently bizarre and definitely unnecessary rules by up by a handful of generations of prescriptivists starting in the 1800s, and frankly, I think we could do without that kind of grammar.

      None of that is to say that it doesn't annoy me when people don't put in the effort to use standard spellings, or even that I don't think that people should be corrected on points of grammar (because being able to speak and write in high-prestige standard dialects is a socially useful tool whether I like it or not). But to say that the sky will fall if people don't correct each other's grammar, or that speakers of nonstandard dialects are "wrong", is absurd.

      Incidentally, I would highly recommend The Language Instinct by Steven Pinker. Very compelling book.

      --
      MediaWiki developer, Total War Center sysadmin
    3. Re:OR by Anonymous Coward · · Score: 0

      Incidentally, I would highly recommend The Language Instinct by Steven Pinker. Very compelling book.

      I'll look into that. Regarding your other paragraphs, I see your point. My thinking was more along different lines. Thank you for your response, I will truly learn something new today.

  40. Or mitigate with cache headers by Kelson · · Score: 2, Insightful

    Sending Expires and Cache-Control headers that say "Don't bother retrying for 3 years" might help mitigate some of the bandwidth waste.

    That said, he's got a point that the feed readers should work if the DTD isn't retrievable -- but deliberately removing it looks like a great way to say "Netscape isn't reliable."

  41. Re: Because software evolves by mutation by 140Mandak262Jamuna · · Score: 1
    All analogies are a little flawed so this one par for the course. Yes, Darwin answered it broadly, Dawkings gets into the details. He explains it well.

    Imagine a plant with many branches and one branch does better than others and it grows bigger. It eventually touches the ground, sprouts roots and crowds out the mother plant and siblings and continues to grow. And some of its branches mutate, adapt better and the cycle repeats. This is not a far out scenario. It is posible. Not only possible it happened. He cites many plants. I rememer the banana and the banyan tree because I thought of them as examples before he mentioned it in the book. What is wrong with this process? Why the more complex embryonic development supplant it so completely that it is quite difficult to even find examples? His explanation was that when branches mutate, survive better and crowd out the competitors, all mutations propagate. Both beneficial and deletrious mutations go forward. At some point so many deletrious mutations would have accumulated, other organisms that invested in the complex process of embryonic development wins. Much of the chapter explains how embryonic development keeps good mutations and keep out the bad mutations. Too much for me to paraphrase it here. Get the 30th anniversary edition of The Selfish Gene.

    Comparing software to organisms might be a flawed analogy. But still how many software projects just grow too big to be effectively managed with so many bugs and patches and hacks and eventually some manage somewhere says, "enough, start from the scratch, and keep only the well proven procedures, subroutines and algorithms."? That is going back to embryonic development. IMHO.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact