You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

Bakkot comments on Open thread, August 4 - 10, 2014 - Less Wrong Discussion

5 Post author: polymathwannabe 04 August 2014 12:20PM

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

Comments (307)

You are viewing a single comment's thread.

Comment author: Bakkot 05 August 2014 02:34:00AM 21 points [-]

I wrote a userscript / Chrome extension / zero-installation bookmarklet to make finding recent comments over at Slate Star Codex a lot easier. Observe screenshots. I'll also post this next time SSC has a new open thread (unless Yvain happens to notice this).

Comment author: Creutzer 05 August 2014 08:39:00PM 1 point [-]

Great idea and nicely done! It also had the additional benefit of constituting my very first interaction with javascript because I needed to modify somethings. (Specifically, avoid the use of localStorage.)

Comment author: Bakkot 05 August 2014 08:46:53PM 0 points [-]

I'm curious what you used instead (cookies?), or did you just make a historyless version? Also, why did you need that? localStorage isn't exactly a new feature (hell, IE has supported it since version 8, I think).

Comment author: Creutzer 05 August 2014 09:02:29PM *  1 point [-]

It appears that my Firefox profile has some security features that mess with localStorage in a way that I don't understand. I used Greasemonkey's GM_[sg]etValue instead. (Important and maybe obvious, but not to me: their use has to be desclared with @grant in the UserScript preamble.)

Comment author: Risto_Saarelma 05 August 2014 06:49:34AM 1 point [-]

This looks excellent.

Comment author: NancyLebovitz 06 August 2014 07:03:25PM 0 points [-]

I tried downloading it by clicking on "install the extension", but it doesn't seem to get to my browser (Chrome). Am I missing something?.

Comment author: Bakkot 06 August 2014 09:07:19PM 3 points [-]

"Install the extension" is a link bringing you to the chrome web store, where you can install it by clicking in the upper-right. The link is this, in case it's Github giving you trouble somehow.

If the Chrome web store isn't recognizing that you're running Chrome, that's probably not a thing I can fix, though you could try saving this link as something.user.js, opening chrome://extensions, and dragging the file onto the window.

Comment author: NancyLebovitz 07 August 2014 05:01:20AM *  1 point [-]

Thank you. That worked. I never would have guessed that an icon which simply had the word "free" on it was the download button.

Would it be worth your while to do this for LW? It makes me crazy that the purple edges for new comments are irretrievably lost if the page is downloaded again.

Comment author: Bakkot 07 August 2014 07:57:34PM *  3 points [-]

Would it be worth your while to do this for LW?

Sure. Remarkably little effort required, it turned out. (Chrome extension is here.)

I guess I'll make a post about this too, since it's directly relevant to LW.

Comment author: Risto_Saarelma 10 August 2014 08:23:10AM 1 point [-]

This doesn't seem to handle stuff deep enough in the reply chain to be behind "continue this thread" links. On the massive threads where you most need the thing, a lot of the discussion is going to end up beyond those.

Comment author: Bakkot 10 August 2014 03:29:52PM *  0 points [-]

It seems to work for me. "Continue this thread" brings you to a new page, so you'll have to set the time again, is all. Comments under a "Load more" won't be properly highlighted until you click in and out of the time textbox after loading them.

Comment author: Risto_Saarelma 11 August 2014 03:38:46AM *  1 point [-]

The use case is that I go to the top page of a huge thread, the only new messages are under a "Continue this thread" link, and I want the widget to tell me that there are new messages and help me find them. I don't want to have to open every "Continue" link to see if there are new messages under one of them.

Comment author: Bakkot 11 August 2014 04:48:01AM 0 points [-]

Ah. That's much more work, since there's no way of knowing if there's new comments in such a situation without fetching all of those pages. I might make that happen at some point, but not tonight.

Comment author: NancyLebovitz 15 August 2014 04:49:53PM 1 point [-]

Thanks very much. I think there's an "unpack the whole page" program somewhere. Anyone remember it?

Comment author: [deleted] 05 August 2014 10:00:08PM 0 points [-]

Thanks a million!