News for hackers. Stuff that matters.
Re:Ask HN: "Unknown or expired link." by scrame on Wednesday April 13, 2011 @10:58PM (#2445374)
It means your session has expired. I usually see it if I come back to the front page after a few hours (or overnight), but I have been getting it pretty regularly now.

I suspect that there is a traffic spike, or maybe just more people coming to the site regularly. Its a growing pain.

Re:Ask HN: "Unknown or expired link." by hasenj on Friday April 15, 2011 @09:00AM (#2450373)
PG mentioned somewhere that when he was doing Viaweb, he was storing functions on the server side in a hash table, so that most urls work by invoking these functions. This was his way of remembering state between url visits.

It seems that functions expire from this hashtable after a while.

I think that might have seemed like a good idea in 1998, but these days I think it's just pointless.

http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/m...

http://lib.store.yahoo.net/lib/paulgraham/bbnexcerpts.txt

  > One of the problems with using Web pages as a UI is the inherent
  > statelessness of Web sessions.  We got around this by using lexical
  > closures to simulate subroutine-like behavior.  If you understand
  > about continuations, one way to explain what we did would be to
  > say that we wrote our software in continuation-passing style.
Re:Ask HN: "Unknown or expired link." by martin1b on Wednesday April 13, 2011 @10:57PM (#2445372)
Yeah, get that a lot. This error appears whenever a new link is added. Navigation on the current is invalidated. Annoying bug.
Re:Ask HN: "Unknown or expired link." by MattBearman on Friday April 15, 2011 @07:24AM (#2450135)
I have a theory on this:

The url of the 'more' link is some kind of hash of the next page of links at the time of page load, this is because HN Moves pretty quick, so using the live data you're likely to miss links between page 1 and 2. (Which is what happens on 4chan)

Obviously these links have to expire fairly quick as they're pretty unique, and storing them for much time would use a huge amount of memory. With this in mind, the life span of these links is probably directly related to the current load of HN.

Amirite?

Re:Ask HN: "Unknown or expired link." by daimyoyo on Friday April 15, 2011 @04:34AM (#2449856)
It means the order of the links in the page you were selecting has changed. When I get that, I start at the front page again. There's new links there for you to see.
Re:Ask HN: "Unknown or expired link." by plasma on Wednesday April 13, 2011 @11:44PM (#2445499)
Yeah this is a tad annoying; started reading HN on my iPhone and sometimes I leave it to keep reading 'more' later and my session expires.
Re:Ask HN: "Unknown or expired link." by socialmediaking on Thursday April 14, 2011 @01:31AM (#2445754)
This always happens to me, I thought the page was designed to make you always refresh or something lol.
Re:Ask HN: "Unknown or expired link." by phlux on Thursday April 14, 2011 @04:45PM (#2448370)
It is the most annoying feature possible.