Hacker News new | ask | show | jobs
by pasbesoin 5460 days ago
A while back, when the site was rather bogging down, pg made some changes to memory management (as I vaguely recall from one of his comments posted at the time). I believe part of this is more aggressive discarding of memory, and that part of the result was to succeed, or fail, more quickly without progressively tying up the server.

So, overall the server works better. When there's load, part of this include bailing sooner on your troublesome request. ;-)

In your case, this may include no longer having memory/context for stale pagination links. I deal with this by using a browser extension to load several pages of links at once. (Without a browser extension, one can achieve the same results by opening those links manually in new tabs and then working one's way through those tabs at one's leisure. I'd advise not overdoing this, though; no need to burden the server with requests you will seldom/never use.)

(I may be wrong as to the memory management. Again, this is just my vague understanding/recollection.)

1 comments

What browser extension do you use?
Sorry to reply twice, but my previous reply was made quickly and I incorrectly recalled the wrong context. (I also recently mentioned using an extension to view PDF's in Google's Document Viewer.)

The extension I was referring to in my grandparent comment is:

https://addons.mozilla.org/en-US/firefox/addon/repagination/

(Note that there is another, older "Re-Pagination" extension that was abandoned. IIRC, this one picked it up and updated it.)

PLEASE BE CAREFUL if you use this extension. If you do not choose a limited page count, it is easy to unduly load or overload a server. This include the HN server, and such request behavior will get you cut off or banned (rightly so; please work to preserve HN resources).

I use it, infrequently, a time or two a day to load the first few top pages of results, which I then work through at my leisure.

I also use a bookmark to transform all the link href values to open in new pages/tabs. That way, I don't lose the browser-generated multiple-page page (as it were) by forgetting to right click or shift-click to open a link that appears on it in a new tab.

https://addons.mozilla.org/en-US/firefox/addon/google-docs-p...

At the time I adopted it, IIRC I read through the code enough to determine it was not malicious. I've been perhaps lax in not checking all of the updates.

I see its max version is listed as 3.6 . I'm actually still on 3.6; when I go to 5, I guess I'll see whether it still works with max version overridden.