News for hackers. Stuff that matters.
Re:Is Google App Engine blocking PayPal? by pmjordan on Tuesday June 10, 2008 @01:24PM (#214070)
The hash is of course for linking sections within the page, so I suspect the culprit is a link you clicked on the page itself before submitting the story. There are a couple of links with href="#" there, although they all have JavaScript event handlers that cancel the default action.

Do you have JavaScript disabled by any chance, or do you use some obscure browser?

In any case, I think HN should strip the hash and what follows for purposes of dupe detection, but keep them in the link in case someone actually wants to link to a specific spot in the page.

To answer your question: query strings ("?foo=bar&a=b&c") are widely used. Among other places, HN itself uses them. :) Also, whenever you submit a form with GET.

Re:Is Google App Engine blocking PayPal? by timr on Tuesday June 10, 2008 @01:43PM (#214090)
I honestly couldn't tell you how I got to the page (or what I clicked on once I got there), but it probably involved clicking a number of links.

I had forgotten that HN was using query strings to reference articles...D'oh. By now, I figured that everyone had adopted the URL-mapping approach. Anyway, detecting collisions based on the head tag still seems like a possibility....

Re:Is Google App Engine blocking PayPal? by pmjordan on Tuesday June 10, 2008 @02:09PM (#214116)
You mean matching the title tag if the pre-query-string portion of the URL matches? That could certainly work. Maybe this is something to test with xirium's latest content scrape.
Re:Is Google App Engine blocking PayPal? by timr on Tuesday June 10, 2008 @02:17PM (#214123)
Yep. Or, if you were really worried about false-positives, the contents of the entire head.