Re:"Diff for HN": Update and highlight changes
by aditya42 on Monday April 11, 2011 @10:13AM
(#2432611)
I took the liberty of turning this into a userscript. Since I was running into trouble accessing global variables from the injected scripts, I forked Mr. Speaker's project and changed the relevant bits in the code.
Edit: Changed all my links to point to mrspeaker's master except the loader. Any changes he makes should get reflected automatically.
Re:"Diff for HN": Update and highlight changes
by obeattie on Monday April 11, 2011 @10:38AM
(#2432691)
This is awesome.
So awesome in fact, that I really wanted this as a browser extension. I quickly packaged it for Chrome, and have published it on the Extension Gallery for all you hackers. Get it while it's fresh:
https://chrome.google.com/webstore/detail/abjhkncpebiaepcpeo...
Re:"Diff for HN": Update and highlight changes
by aditya42 on Monday April 11, 2011 @09:22AM
(#2432453)
I think turning this into a userscript will play into the whole 'keep HN open all the time' better since you can just open HN, pin the tab and let the userscript work its charm.
Re:"Diff for HN": Update and highlight changes
by asymmetric on Monday April 11, 2011 @09:02AM
(#2432396)
How does the 'drag bookmarklet to tab' thing work in Chrome? Where's the bookmarklet installed? (not among the bookmarks it seems) How can it be uninstalled?
Re:"Diff for HN": Update and highlight changes
by trotsky on Monday April 11, 2011 @12:08PM
(#2433036)
In case anyone else is in this situation, I would get the spinning Y from time to time but never would see anything highlighted. It took me a few minutes of thinking about it to realize that I'd need to turn off my AutoPatchWork extension (similar to AutoPagerize) so that the content was in the expected form. It works now! Too bad I can't live without AutoPatchWork.
Re:"Diff for HN": Update and highlight changes
by mambodog on Monday April 11, 2011 @01:31PM
(#2433382)
I really resent this. I don't know about you guys but I don't think of myself as a 'geek' or a 'nerd'. Having a high level of domain specific knowledge doesn't mean you need a label, it just means that you are good at what you do. I am a creator, I don't feel the need to define myself in terms of my tools (and how well I know them).
When I first ran across HN I was refreshed by how little of these terms I saw.
Re:"Diff for HN": Update and highlight changes
by whimsy on Tuesday April 12, 2011 @01:57AM
(#2436087)
This is all well and good. You don't need labels.
In this case, however, labels serve a purpose - they identify someone as a member of an ingroup. There is, unequivocally, a "nerd culture." (What that is, of course, is a matter for much debate.) Identifying or presenting as a nerd communicates that the signaler considers themself a part of that culture or community.
Finding communities amongst each domain can be difficult. Luckily, there is a culture that embraces and celebrates domain specific knowledge regardless of the domain. Members of that culture signal to each other by identifying as "geek" or "nerd."
Re:"Diff for HN": Update and highlight changes
by aeontech on Tuesday April 12, 2011 @01:57AM
(#2436090)
I didn't downvote, but I understand why people did. Both the parent comment and your reply add more or less nothing to the discussion. The problem isn't your comment, the problem is the parent comment, but if you feed the trolls, well, you know what happens :)
Re:"Diff for HN": Update and highlight changes
by mryall on Monday April 11, 2011 @06:07PM
(#2434632)
Great explanation on how it works. I was wondering the other day whether there was a way to tell when a tab gets the focus to autoupdate content. Now I know I can use window.focus and window.blur.
It's here fellas: http://userscripts.org/scripts/show/100977
[1]: http://news.ycombinator.com/item?id=2432611
I made it into a Chrome Extension: https://chrome.google.com/extensions/detail/abjhkncpebiaepcp...
Just curious: is this out of some Chrome extension limitation or to cut down on unnecessary refreshes?
All the extension actually does is load the original script when you visit HN.
http://coding.pressbin.com/74/Update-on-Greasemonkey-script-...
Two suggestions, maybe to add as options:
- open both comments and articles in new tabs automatically, since the assumption is power users keep the home page open anyway.
- Display the new comment and vote count as a difference? Seems more intuitive to me.
Edit: Changed all my links to point to mrspeaker's master except the loader. Any changes he makes should get reflected automatically.
Link: http://userscripts.org/scripts/show/100977
So awesome in fact, that I really wanted this as a browser extension. I quickly packaged it for Chrome, and have published it on the Extension Gallery for all you hackers. Get it while it's fresh: https://chrome.google.com/webstore/detail/abjhkncpebiaepcpeo...
Enjoy :)
P.S. The (very minimal) source is on GitHub, too: https://github.com/obeattie/HackemUp-extension
+1 for a Chrome extension though, I don't know if I am going to remember to keep clicking the bookmarklet.
Great extension!
Then click it when you're on HN.
When I first ran across HN I was refreshed by how little of these terms I saw.
In this case, however, labels serve a purpose - they identify someone as a member of an ingroup. There is, unequivocally, a "nerd culture." (What that is, of course, is a matter for much debate.) Identifying or presenting as a nerd communicates that the signaler considers themself a part of that culture or community.
Finding communities amongst each domain can be difficult. Luckily, there is a culture that embraces and celebrates domain specific knowledge regardless of the domain. Members of that culture signal to each other by identifying as "geek" or "nerd."
Doesn't this make the voluntary label okay?
Amazing functionality packed into a single bookmarklet. I love it.