Re:Probably the worst URL scheme ever
by waffle_ss on Thursday May 02, 2013 @09:28AM
(#5644304)
I think THOMAS (http://thomas.loc.gov/), the search engine provided by the US Library of Congress for searching federal legislation, has the worst URLs I've seen. Here's a random one:
And here's a link I got to the Patriot Act (HR 3162):
[ Parent
| on HN ]
While it's been reskinned, THOMAS dates back to 1995 and the core reflects a much earlier era of web development. It's slowly being replaced with congress.gov which has far more palatable URLs:
http://beta.congress.gov/bill/107th-congress/house-bill/3162
Note that these are not even canonical URLs. Both of them now fail with a "Search Timed Out" error.
US Trademark Office has the same issue, there is no way to link to a particular trademark, because the only access is via the search engine and queries time out, e.g.: http://tess2.uspto.gov/bin/showfield?f=doc&state=4802:xt...
It's clearly a set of arguments (separated by ':') to a function, i.e. it's a RPC invocation. The first seems to be the session of congress, 113th and 107th. The second, perhaps the nth item in that collections? The third, a temporary filename, probably where the search result is stored, so you don't have to re-run the search which you hit "back". The last bit, probably a later addition that manages breadcrumb navigation.
Re:Probably the worst URL scheme ever
by twistedpair on Thursday May 02, 2013 @09:35AM
(#5644338)
Making sense of that in linear time would be a great interview question.
The ./temp/~c107DgA33R bit looks like a reference to a cached internal state of the system, so you can probably make about as much sense of it as you can of https://news.ycombinator.com/x?fnid=H1QJE8EOaO2OkA28owXZ4H.
Why? Surely you'd have to go out of your way to make it that unnecessarily complicated.