I wonder if this is looking at the local machine for a cookie, or the news.ycombinator.com machine for login information, or if it is a coordination between a private cookie storing an index that makes sense when combined with the database on the server.
Does anyone know the cookie format for ycombinator?
It looks the cookie format is just user={hash}, and looking at an older version of the code it matches that up to data loaded from a file called arc/cooks
https://news.ycombinator.com/whoareyou