Re:Geekiest Hacker News comments from the last month
by riffer on Monday August 23, 2010 @03:51PM
(#1627817)
TLDR version: We took a corpus of 25k comments from HN, analyzed them to infer semantic similarity. Next we came up with a seed of 18 words out of the 40k words in our corpus, scored the corpus of 40k words based on similarity with those 18 words. We then analyzed the 25k comments to score them based on the scores assigned to the 40k words. Major weaknesses: [1] words not in the corpus are dropped, so technical text with (relatively) obscure words may not score well, and [2] our seed of 18 words was highly subjective and put together in <5 mins.
Also, there are a couple of dynamic links at the bottom of the post, for those who want to play with the mechanics, search for themselves and others, etc.
Re:Geekiest Hacker News comments from the last month
by Vivtek on Monday August 23, 2010 @09:11PM
(#1628600)
Unfortunately, early design phases made the assumption that geekiness would max at 100. Erlang violated that assumption, being 117% geeky, causing the score calculation to dump core.
It was deemed safest simply to drop Erlang from the corpus.
Re:Geekiest Hacker News comments from the last month
by riffer on Monday August 23, 2010 @04:50PM
(#1628007)
Good point, in the case of Erlang it wasn't a picking favorites thing, so much as for whatever reason Erlang was not particularly well represented in the corpus of 25k comments that we grabbed from the site.
Re:Geekiest Hacker News comments from the last month
by Sukotto on Monday August 23, 2010 @11:09PM
(#1628805)
Well, if I were doing it, I would search for words and short phrases that have their own Wikipedia pages. Give more weight to those whose pages contain a lot of text, have inline images, or have particularly contentious editing/reverting/meta-talk.
Likewise search for those same words and phrases in Google. Weight searches with fewer results more heavily.
Re:Geekiest Hacker News comments from the last month
by dman on Monday August 23, 2010 @11:53PM
(#1628864)
Thanks for the wikipedia suggestion - will try that one out. I am unclear about the terms of use for google search and if we can make use of search results in our tool.
Re:Geekiest Hacker News comments from the last month
by tkhoven on Monday August 23, 2010 @09:14PM
(#1628608)
And as for the "non-technical" words, was anyone else momentarily confused about the "less technical word like 'war'"? Or maybe I've been in java land for too long...
Re:Geekiest Hacker News comments from the last month
by riffer on Monday August 23, 2010 @04:56PM
(#1628029)
Nice catch.
We generally keep the set of words case-sensitive because that can be helpful for disambiguation in broader corpuses ("Python" is often something different than "python"), and also because POS taggers tend to have trouble identifying proper nouns if case is not preserved).
But in this situation "scala" and "Scala" definitely should score similarly.
Re:Geekiest Hacker News comments from the last month
by whimsy on Monday August 23, 2010 @09:53PM
(#1628684)
I've never seen anyone mention a real python or ruby here. That doesn't mean it doesn't happen, but I think it's a safe assumption just to assume that the typist was lazy.
Re:Geekiest Hacker News comments from the last month
by nl on Tuesday August 24, 2010 @12:36AM
(#1628962)
I don't think it's a stretch to assume that those who capitalise Scala might be somewhat more geeky?
Scala should always start with a capital letter (it's a proper noun). People who use the lower case version either don't know, don't care, or are typing on a mobile keyboard.
Re:Geekiest Hacker News comments from the last month
by JacobAldridge on Tuesday August 24, 2010 @02:50AM
(#1629166)
"either don't know, don't care, or are typing on a mobile keyboard" and are therefore, I would contend, less 'geeky' than those of us who consistently apply the capital.
I mean, my username isn't particularly geeky, but enforcing the capitalisation must certainly be somewhere down that end of the spectrum!
Re:Geekiest Hacker News comments from the last month
by samg_ on Tuesday August 24, 2010 @10:12AM
(#1629816)
What algorithm is used to get the centroid clusters? Do you need to know the number of clusters in advance? I am familiar with max-link/min-link/avg-link hierarchical algorithms, but not centroid related ones.
Re:Geekiest Hacker News comments from the last month
by riffer on Tuesday August 24, 2010 @11:00AM
(#1629965)
We represent clusters as a type of node. So if your other nodes have coordinates in a space, there will be distances between your clusters. Or they can be part of a graph traversal, etc.
Re:Geekiest Hacker News comments from the last month
by samg_ on Tuesday August 24, 2010 @11:55AM
(#1630141)
Can you be more specific about the cluster membership testing? Sure it is based on some "distance" calculation, but how do you avoid long chain problems inherent to clustering algorithms? And to reiterate, do you need to know the number of clusters ahead of time?
Re:Geekiest Hacker News comments from the last month
by thristian on Tuesday August 24, 2010 @03:03AM
(#1629181)
So, this is some joke site where it sees you're logged into Hacker News, finds your userID, grabs a random one of your comments and fingers you of being the geekiest geek in geekdom, right?
Re:Geekiest Hacker News comments from the last month
by Natsu on Monday August 23, 2010 @05:34PM
(#1628130)
Just out of curiousity, I compared myself to the most notable HNN names I could think of.
My highest is 83.79. Compare that to patio11 at 77.89 or Chromatic at 80.90, or pg at 81.91. RiderOfGiraffes manages to top us all, though, with a comment saying "This is a thin veneer on the slide-show already discussed here. [link]" which scores 91.44. The next one after that falls clear down to 76.97, which is itself rather typical (it seems that many of us have a steep drop after one "geekiest" comment).
I'm not convinced that this is a useful metric. It's an interesting experiment, perhaps, but one problem is that "geekiness" isn't necessarily what we want in comments (or perhaps it is necessary, but not sufficient).
I can't believe that short link was RoG's best comment this month, for example. And the top few comments from pg are certainly not his best (the more interesting ones seem to start a bit below the 50s). YMMV.
It looks like jibber-jabbering about continuations and call/cc rates highly. I agree that it's probably not a useful metric, but my inner stats nerd is fascinated all the same.
Re:Geekiest Hacker News comments from the last month
by riffer on Monday August 23, 2010 @08:28PM
(#1628531)
Yeah, this is an interesting case.
It's all coming from 'defacing', your comment is actually the only one in this corpus of 25k comments that uses that term; probably not a coincidence. Taking a deeper look now, thanks for your help.
Re:Geekiest Hacker News comments from the last month
by dman on Monday August 23, 2010 @05:02PM
(#1628049)
The current code definitely exhibits a phenomena where non technical comments can routinely get a score of ~50. This was cooked up over a couple of days so we havent spent too much time scaling the final scores to have 0 correspond to horridly non-technical and 100 as completely technical.
Re:Geekiest Hacker News comments from the last month
by jerf on Monday August 23, 2010 @05:04PM
(#1628060)
I'm a little confused by the scoring; I have two comments at "100.00", and one of them is "http://www.retrologic.com/jargon/H/hacker-humor.htmlNot that I want HN to become a joke-a-day site but accidental-hacker-humor like this is a unusual enough find that I can deal with the rare exception."
The other one is more legitimately geeky, but I'm lost on what 100.00 means exactly.
(Edit: Must be "hacker", but I'm still curious what the 100.00 means.)
Re:Geekiest Hacker News comments from the last month
by riffer on Monday August 23, 2010 @05:19PM
(#1628096)
"hacker" and also "exception" scores really well
There aren't any words like "war" or "contrary" that are far way from the seed, and would indicate that some non-technical meaning should be inferred for "exception"
On the "100" ... that is just a z-score scaled to a 0-100 range, with capping at 100 rather than making it approach asymptotically.
Re:Geekiest Hacker News comments from the last month
by riffer on Monday August 23, 2010 @04:16PM
(#1627913)
Funny that you should try gaming it. This week we're using the platform to do blog comment spam filtering. Is the comment off-topic (or just not on-topic) for the post?
Edit: To clarify, I was just saying that we have spent a lot of time today thinking about how these things can be gamed by evil spammers, not calling anybody or anything off-topic; apologies for any confusion
Also, there are a couple of dynamic links at the bottom of the post, for those who want to play with the mechanics, search for themselves and others, etc.
CS, Clojure, Debian, Haskell, JavaScript, Python, Rails, Scala, algorithm, compiler, engineer, frameworks, jQuery, macros, open-source, process, servers, stack
It was deemed safest simply to drop Erlang from the corpus.
Likewise search for those same words and phrases in Google. Weight searches with fewer results more heavily.
For example, "scala" is 67.03/100, while "Scala" is 90.92/100.
We generally keep the set of words case-sensitive because that can be helpful for disambiguation in broader corpuses ("Python" is often something different than "python"), and also because POS taggers tend to have trouble identifying proper nouns if case is not preserved).
But in this situation "scala" and "Scala" definitely should score similarly.
On the essence, though, you're 100% right
Not sure about ruby, but would venture that it wouldn't make much of a difference on the scoring...
Not necessarily. I don't think it's a stretch to assume that those who capitalise Scala might be somewhat more geeky?
Scala should always start with a capital letter (it's a proper noun). People who use the lower case version either don't know, don't care, or are typing on a mobile keyboard.
I mean, my username isn't particularly geeky, but enforcing the capitalisation must certainly be somewhere down that end of the spectrum!
I think that the algorithm needs more work....
Also:
Scored 74.45/100...right?
I would rather see the complete back-and-forth of the "most geekiest argument on HN".
My highest is 83.79. Compare that to patio11 at 77.89 or Chromatic at 80.90, or pg at 81.91. RiderOfGiraffes manages to top us all, though, with a comment saying "This is a thin veneer on the slide-show already discussed here. [link]" which scores 91.44. The next one after that falls clear down to 76.97, which is itself rather typical (it seems that many of us have a steep drop after one "geekiest" comment).
I'm not convinced that this is a useful metric. It's an interesting experiment, perhaps, but one problem is that "geekiness" isn't necessarily what we want in comments (or perhaps it is necessary, but not sufficient).
I can't believe that short link was RoG's best comment this month, for example. And the top few comments from pg are certainly not his best (the more interesting ones seem to start a bit below the 50s). YMMV.
It looks like jibber-jabbering about continuations and call/cc rates highly. I agree that it's probably not a useful metric, but my inner stats nerd is fascinated all the same.
It's all coming from 'defacing', your comment is actually the only one in this corpus of 25k comments that uses that term; probably not a coincidence. Taking a deeper look now, thanks for your help.
maybe if you suggest a general outline of the steps taken, and tools used that'll be a headstart.
thanks a lot.
It did say this (legitimate) comment of mine was 99.57%. http://news.ycombinator.com/item?id=1599910
The other one is more legitimately geeky, but I'm lost on what 100.00 means exactly.
(Edit: Must be "hacker", but I'm still curious what the 100.00 means.)
There aren't any words like "war" or "contrary" that are far way from the seed, and would indicate that some non-technical meaning should be inferred for "exception"
On the "100" ... that is just a z-score scaled to a 0-100 range, with capping at 100 rather than making it approach asymptotically.
Edit: To clarify, I was just saying that we have spent a lot of time today thinking about how these things can be gamed by evil spammers, not calling anybody or anything off-topic; apologies for any confusion
Generally, if you put "sp332" into http://www.swimwithoutgettingwet.com/discourse/hn_comments/ the comments around 75% are all on-topic except #5. I don't understand why #14, "Update: nope." gets a rank of 62.09?