pengvado comments on LessWrong Power Reader (Greasemonkey script, updated) - Less Wrong

18 Post author: Wei_Dai 24 May 2011 07:00PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (26)

You are viewing a single comment's thread.

Comment author: pengvado 16 September 2011 12:25:02AM 2 points [-]

Bugreport: I'm getting intermittent failures, wherein http://lesswrong.com/reader instantly returns a blank page (no header, no "Please wait while new comments are being loaded"). When this happens, it also forgets my history of read comments.

Attempted trace: http://www.ibiblio.org/weidai/lesswrong_comments2.php returned http error 500. The forgetting consists of the "remove old ids" loop running on an empty list of new comments, thus thinking that everything is old.

Linux / Firefox 3.6.13 / LessWrong Power Reader 1.0.4

Comment author: Wei_Dai 16 September 2011 01:22:56AM *  1 point [-]

Thanks for the report. I've been thinking about changing the script to load comments directly from lesswrong.com instead of through ibiblio.org, and I'll move that up in my todo list. If anyone is hacking on the LW code base, my work would be made much easier (and the script would be faster) if there are APIs to download all comments after a given comment ID, and to download comments that match a set of comment IDs.

ETA: Fixed now