Hacker Newsnew | comments | ask | jobs | submitlogin
YC News Tracker: A better way to read comments (selfdebugging.com)
12 points by waleedka 1062 days ago | comments


3 points by matth 1062 days ago | link

Unrelated but relevant: YC Application Word Count

http://www.commonplacelog.com/ycbookmarklet.html

-----

2 points by yubrew 1062 days ago | link

Thanks! This will help keep track of the hundreds of new comments when pg posts a new essay.

It would be nice to have something that lists the monitored threads. For instance, if I wanted to track the progress of this thread, it would be a lot easier to have a list from YC Tracker bookmarklet than to remember and search for the title "YC News Tracker blah blah."

-----

2 points by waleedka 1062 days ago | link

That would be really nice. I'm storing the thread IDs in cookies, so I have a list of them. But I'm not storing the thread titles. If I do, the cookie might get big if you track a lot of threads. And, since cookies are sent to the server on every request, a big cookie could affect performance (although it's probably not noticeable at all on broadband). I'll have to think more about it. And, maybe check if I can have the cookies be set to client-only. If that's doable, it'll solve the problem.

-----

1 point by akkartik 1062 days ago | link

What you really need is a greasemonkey plugin :)

-----

4 points by akkartik 1062 days ago | link

I just pushed all the javascript into a .user.js file and put in the correct header, and got a working greasemonkey plugin: http://akkartik.name/newsyc-comment-tracker.user.js

Wow!

Currently autoadds every comment thread you ever visit. I'll add support for seeing monitored threads now, and maybe deleting some threads if others want that.

It's still Waleed's baby, though.

-----

1 point by waleedka 1062 days ago | link

Super. Thanks akkartik. Can't wait to see the monitored threads list, that would be awesome.

-----

2 points by akkartik 1062 days ago | link

Done.

http://akkartik.name/newsyc-comment-tracker2.user.js

-----

2 points by waleedka 1062 days ago | link

One little feature request. Can you list the threads in descending order by time of visit? This way, the ones I visit last show at the top. I think it can be done if you attach the time-stamp to the cookie, and then order by it.

-----

2 points by akkartik 1062 days ago | link

Yeah, let me look into it.

New version with delete by cookie. http://akkartik.name/newsyc-comment-tracker3.user.js

-----

1 point by akkartik 1062 days ago | link

Bugfix: delete should work properly now.

-----

2 points by waleedka 1061 days ago | link

Awesome. I just updated the blog post to mention your plugin and link to the latest script.

-----

1 point by akkartik 1061 days ago | link

Great. Thanks for your kind words.

Update about sorting the links by access time: my sorting-fu on javascript isn't that great, and it doesn't seem as easy as in perl/python/ruby.

A second complication: I currently have code in there to watch out for duplicate cookies in case somebody upgraded to the script after using your bookmarklet for a while. I'll pull that code out in a few days. That should make the sorting code simpler.

-----

1 point by waleedka 1062 days ago | link

Wow, very nice. Althogh my 'break time' link is gone :(. But, still, I really like it. Thanks a bunch.

-----

3 points by waleedka 1062 days ago | link

It's worth mentioning here that akkartik has built a really cool tool that shows the changes on any web page since the last time you visited it. And, it works automatically because it's a plugin, not a bookmarklet. Check it out:

http://hystry.com/

-----

2 points by gibsonf1 1062 days ago | link

Another nice feature would be to have the comment notification automatically show on monitored threads without having to re-click the YC Tracker toolbar link.

-----

2 points by akkartik 1062 days ago | link

A simple greasemonkey plugin: http://news.ycombinator.com/item?id=65382

-----

1 point by waleedka 1062 days ago | link

Unfortunately, that's not possible with a bookmarklet because it doesn't execute unless you click it.

-----

3 points by gibsonf1 1062 days ago | link

Thanks Waleed - nice work!

-----

2 points by waleedka 1062 days ago | link

It was fun to write. Ideas for improvement are welcome. As well as bug reports.

-----




Lists | RSS | Search | Bookmarklet | Guidelines | FAQ | News News | Feature Requests | Y Combinator | Apply | Library

Analytics by Mixpanel