News for hackers. Stuff that matters.
Re:Building Hater News by mfkp on Monday October 27, 2014 @07:34PM (#8518775)
I appreciate the irony of me posting this "hater" comment, but...

my "most hateful" comment was this:

"Thanks, would love to see your app when it's ready!"

Not sure if it's ready for prime-time.

Re:Building Hater News by smsm42 on Monday October 27, 2014 @07:54PM (#8518835)
Maybe you're just not that good at hating ;)
Re:Building Hater News by pluies_public on Monday October 27, 2014 @08:43PM (#8518958)
Maybe you should ease up on the sarcasm.
Re:Building Hater News by mfkp on Monday October 27, 2014 @08:48PM (#8518979)
No sarcasm there, just an earnest response to a comment: https://news.ycombinator.com/item?id=7462010
Re:Building Hater News by nacs on Monday October 27, 2014 @09:49PM (#8519152)
Think you missed the sarcasm in pluies_public's comment :)
Re:Building Hater News by mwfunk on Monday October 27, 2014 @05:39PM (#8518345)
I can't evaluate how serious or useful this is but I really like the idea. Anything that might encourage more constructive discussions is a perfectly valid thing to explore. I love the idea of trying to characterize the contributions of different commenters based on their history, including my own. Not just for things like "hatefulness" or "incoherence", which is what this seems to be detecting, but other things as well, like "helpfulness" or "erudition" or apparent areas of interest.
Re:Building Hater News by tjradcliffe on Tuesday October 28, 2014 @12:50AM (#8519584)
I have a dreadful fear that this will evolve into a system for trolls to keep score. "Dude! My h8r score is TWICE yours!"
Re:Building Hater News by tjradcliffe on Tuesday October 28, 2014 @12:54AM (#8519599)
Funnily enough, this comment how has my second-highest hate-score (the highest is a fairly level-headed comment on drug policy.) Apparently my cunning plan to fake being a nice person on HN is working.
Re:Building Hater News by MarkPNeyer on Monday October 27, 2014 @06:23PM (#8518522)
https://github.com/neyer/dewDrop may be up your ally - a formal language designed to make this sort of thing doable..
Re:Building Hater News by HashHishBang on Monday October 27, 2014 @06:48PM (#8518615)
Woah, I always pondered the idea of doing a formal language for this but it's awesome to see someone else's take on it. Thanks for the link.
Re:Building Hater News by fit2rule on Tuesday October 28, 2014 @03:26AM (#8519871)
doubleplusgood, mini-citizen. language baduse, rectify!
Re:Building Hater News by dmm on Monday October 27, 2014 @06:43PM (#8518596)
This link points to a stupid blank page. I disable noscript and I get a stupid horse video. You suck!
Re:Building Hater News by KevinMcAlear on Monday October 27, 2014 @06:46PM (#8518612)
scroll down.
Re:Building Hater News by w1ntermute on Monday October 27, 2014 @06:56PM (#8518658)
Whoosh
Re:Building Hater News by _broody on Monday October 27, 2014 @07:41PM (#8518797)
That's just textbook Poe's Law at work.
Re:Building Hater News by JoeAltmaier on Monday October 27, 2014 @06:26PM (#8518535)
It'd be nice to see the score on a post before you post it - it could keep me from doing something I'll regret.
Re:Building Hater News by mahmud on Monday October 27, 2014 @07:00PM (#8518672)
Most fleshware should have this preinstalled.
Re:Building Hater News by JoeAltmaier on Monday October 27, 2014 @07:15PM (#8518714)
Sure if I can read what I wrote objectively. Often not.
Re:Building Hater News by 1123581321 on Monday October 27, 2014 @06:46PM (#8518609)
I got hater scores of around 2.5% on both my accounts. On each one, the most hated comment was the one where I took the most pains to explain that I liked the user's main point and was just trying to clarify/disagree with a small part, i.e., to be sure I was not dodging the central point.

Reading them, they come off as passive-aggressive. I think that's a useful discovery for me. Thanks.

Re:Building Hater News by sitkack on Monday October 27, 2014 @10:14PM (#8519215)
Don't be a douche. You just got chastised by a lame algorithm.
Re:Building Hater News by serf on Monday October 27, 2014 @06:21PM (#8518509)
I like the idea -- sure wish I could try it. It hasn't worked since the original submission for me.

I have a feeling I'm a hater.

Re:Building Hater News by timv on Monday October 27, 2014 @10:54PM (#8519322)
Sorry, you need to work harder on your hating.

  serf's Hater Score:
    2.36%
  Of The Time Spent Hating.
The worst comment:

  I wish that it showed the previous color scheme if I go back. As it stands I have to go back and then refresh with that URL. (firefox)
Re:Building Hater News by fleitz on Monday October 27, 2014 @06:26PM (#8518531)
Same here I swear a fucking lot in my posts, hopefully the swear word detector ranks me high.

I hope this site stays up, seems lot more fun to game than karma, or rather it would be more challenging to garner karma and HP (hate points).

Re:Building Hater News by chippy on Monday October 27, 2014 @03:49PM (#8517761)
The main submission was flagkilled so thought this, more technical post would be more on topic.
Re:Building Hater News by lmm on Monday October 27, 2014 @05:16PM (#8518231)
Looks like even this much traffic was enough to take it down, so maybe it's just as well.
Re:Building Hater News by pohl on Monday October 27, 2014 @05:06PM (#8518189)
It's too bad it was flagkilled, because it is an interesting project.
Re:Building Hater News by dang on Monday October 27, 2014 @05:21PM (#8518254)
We unkilled it so discussion can continue: https://news.ycombinator.com/item?id=8517267.
Re:Building Hater News by roghummal on Tuesday October 28, 2014 @02:52AM (#8519806)
Very gracious of you.
Re:Building Hater News by wdewind on Monday October 27, 2014 @05:20PM (#8518247)
Re:Building Hater News by jjcm on Monday October 27, 2014 @07:28PM (#8518756)
Small bug: It seems like the specific comments that you link to also include submissions, which once it encouters that it mismatches all the subsequent 2 character links with the comments they're associated with by an index of 1. I.E.

AA -> links to comment beginning with AA

BB -> links to comment beginning with BB

CC -> links to a link the user submitted

DD -> links to comment beginning with CC

EE -> links to comment beginning with DD

Very cool implementation though.

Re:Building Hater News by KevinMcAlear on Tuesday October 28, 2014 @12:04AM (#8519484)
Thanks! Looking into it! :)
Re:Building Hater News by knd775 on Tuesday October 28, 2014 @09:24AM (#8520795)
It would be awesome if this was fast enough to run on every user. That way, you could make some sort of leaderboard for Haters.
Re:Building Hater News by personjerry on Tuesday October 28, 2014 @02:43AM (#8519786)
Clicking the quoted comment on the bottom of the page takes you to the wrong comment on HN.
Re:Building Hater News by fleitz on Monday October 27, 2014 @06:30PM (#8518553)
Yes! I love this idea, can you make it go back further and have a leader board?
Re:Building Hater News by KevinMcAlear on Tuesday October 28, 2014 @02:03AM (#8519730)
Yes and yes. :) The problem with the first one is I have to make an individual API call for each comment currently. If you go past 50 comments it starts to get slowwww. For example, I tried to pull back all of @pg's comments... Bad idea. It's like 13,000 of them. Check it: https://hacker-news.firebaseio.com/v0/user/pg.json?print=pre...
Re:Building Hater News by BWStearns on Tuesday October 28, 2014 @03:03AM (#8519833)
I think I've seen a few archives of HN comments. Maybe grab some of those and only make API calls for newer comments? Also preserve the comments from the API calls?
Re:Building Hater News by nailer on Monday October 27, 2014 @07:33PM (#8518771)
My most hating comment is:

  'Ah interesting re self - how did you find out about that?'
Which I didn't think was particularly harsh.
Re:Building Hater News by platz on Tuesday October 28, 2014 @12:08AM (#8519499)
I've been too lenient on my architectural taste lately as well. Looking forward to good discussion with the other architects at this site.
Re:Building Hater News by Beltiras on Tuesday October 28, 2014 @04:19AM (#8519951)
"Which profiling tool do you use to target your optimizations?", but then again I am a 2.97% hater ....
Re:Building Hater News by freditup on Monday October 27, 2014 @10:22PM (#8519241)
Your website sucks. All the content is is smashed in a column with small width so I have to scroll left and right to read each paragraph. This despite there being gigantic 30% of the screen margins on each side. Try to build something even half-worthwhile next time you're at it. I could build a better website easily; you should go back to school.
Re:Building Hater News by freditup on Monday October 27, 2014 @10:23PM (#8519244)
Intentionally hateful comment by the way ;) Just curious to see how much haternews picks up on it. Although the problem I describe with the content column is real, all the insults and drama isn't at all! For reference: http://imgur.com/St9hAqR

Edit: My intentionally hateful comment shows up as being somewhat hateful, but not my most hateful comment. So not too bad!

Re:Building Hater News by KevinMcAlear on Monday October 27, 2014 @11:02PM (#8519341)
Haha. Awesome! :) I'll fix the site and I'll keep improving the model.
Re:Building Hater News by freditup on Tuesday October 28, 2014 @12:09AM (#8519502)
Screenshot is FF34 if that helps by the way.

And just a fun side experiment idea: I'm curious how the IBM Watson User-Modeling service would stack up out-of-the-box against how you currently do things:

https://ace.ng.bluemix.net/#/store/cloudOEPaneId=store&servi...

http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercl...

Could make for an interesting blog post if you have the time!

Re:Building Hater News by KevinMcAlear on Tuesday October 28, 2014 @12:51AM (#8519589)
Interesting. I'll check it out, thanks!
Re:Building Hater News by wingerlang on Monday October 27, 2014 @11:21PM (#8519391)
My most hateful comment was

- "Yup"

Re:Building Hater News by KevinMcAlear on Monday October 27, 2014 @11:23PM (#8519397)
A few things:

1. Thanks for posting my blog post @chippy. :) The actual app ( haternews.co ) kept getting booted off HN...

2. There have been a lot of interesting comments on the three threads on here. People pointed out some bugs and overall issues which I will be fixing (also, the site should not crash half as much now). This is just a fun side project I have been messing around with so I can get better at using data science in various applications. If you would like to help build it out for fun further let me know! Also, feel free to submit a bug or suggestion for an improvement if you really want to.(https://github.com/kevinmcalear/hater_news/issues)

3. I wanted to build the "hater score" for two reasons. First, to see how accurately I could build a model to measure insulting comments in the wild and second (if it's accurate), to see how people would react to seeing how positive or negative they usually are on Hacker news (or other social networks).

4. I wanted to make sure everyone knows that just because something is your "Worst Comment" doesn't mean it is negative. Most people have very low scores and most of your comments are not identified as insulting. (It would be over 50% if it is actually an insulting comment.) So most people on HN are not actually haters. I just had a more "hater" focused design just for fun. There are in fact actual haters though, if you look hard enough.

5. Something I found interesting is clicking the "Back In The Day" checkbox. It takes your 50 oldest comments and analyses them, instead of your 50 most recent.

6. Finally, if you're not sure why some comments are getting ranked higher than others, feel free to look at the training data I used (it's from a kaggle competition from a while back.) and read my blog post. If you don't want to here are additional features I used on top of standard bag-of-words (CountVectorizer):

* badwords_count – A count of bad words used in each comment.

* n_words – A count of words used in each comment.

* allcaps – A count of capital letters in each comment.

* allcaps_ratio – A count of capital letters in each comment / the total words used in each comment.

* bad_ratio – A count of bad words used in each comment / the total words used in each comment.

* exclamation – A count of "!" used in each comment.

* addressing – A count of "@" symbols used in each comment.

* spaces – A count of spaces used in each comment.

If you have suggestions on other features I could collect let me know! I'll also be building a way to get actual training data from HN itself and letting HN users determine if a comment is actually insulting or not so that the predictions constantly improve.

Re:Building Hater News by joe_the_user on Tuesday October 28, 2014 @02:00AM (#8519721)
Have you ever considered that machine learning isn't fairly dust and that you can't sprinkle algorithms on a criteria that's poorly formulated to begin with and get an objective criteria for evaluation? I mean what is "hate" - insults? expressions of frustration? Sly insults? Sarcasm?

Also, the "most hateful" comment was me quoting someone else's rather unpleasant comment, whereas I'd prefer my distaste for lousy ideas show through more directly.

Re:Building Hater News by KevinMcAlear on Tuesday October 28, 2014 @03:04AM (#8519834)
Great point.

1. I wish everything was made from *fairy dust. How awesome would that be? :)

2. "Hate" is definitely hard to quantify. It's in fact quite difficult to map words to their intentions and get it right consistently (especially within a proper context). So difficult that people set up Kaggle competitions on exactly this. I actually got my "magical" training data from a competition that paid out $10k, which I explained in the article but here it is again:

https://www.kaggle.com/c/detecting-insults-in-social-comment...

They did a great job building a baseline training data set to evaluate several different models on. Which are all briefly explained or at least shown in code in the article. And what "hate" actually means here is the probability that a comment is considered insulting. The "hater score" is just an average of the most recent (or oldest, depending on your settings) comments' probabilities that they are insulting.

3. I read and looked at several different attempts to build something similar by various data scientists who were kind enough to share their findings, including a huge contributor to scikit-learn (https://github.com/amueller).

4. Taking out quoted text would be a great feature to add. I have about 5 or 6 new features I will probably add and see if the model works any better for it, thanks for the suggestion (another person was suggesting the same thing). :)

5. This was just to see how well "sprinkled algorithms" and magical coding works in the wild world of actual comments. I love learning and improving my knowledge base with actual experience so I figured why not build something and see what happens. :)

Re:Building Hater News by Eiriksmal on Tuesday October 28, 2014 @08:15AM (#8520513)
My favorite part about your algorithm is that it even detects SELF-HATRED! That puts an interesting, and depressing!, spin on the project. My pseudo-unconscious self-loathing was uncovered through my meager number of HN posts. Eerie.

The worst comment detected by your project is an expression of relief in learning that onions will not, in fact, brown in fewer than 30 minutes.

"All your life you're just thinking, "I'M AN IDIOT, WHY WON'T THESE BROWN!?" and then, one September's day, you find out it was all lies... the entire time. Lies all the way down."

Re:Building Hater News by vertis on Tuesday October 28, 2014 @12:17AM (#8519521)
It's interesting some of the comments that the system decided were negative from my history.

Of all of them, only one was actually negative (and that one was about people that steal AWS resources for cryptocoin mining)

Hopefully I'll have some time one evening to have a bit more of a play with your work :)

Re:Building Hater News by KevinMcAlear on Tuesday October 28, 2014 @12:28AM (#8519542)
Great! I'm excited to hear about your findings. I'll try to incorporate them into the app! :)
Re:Building Hater News by joshschreuder on Tuesday October 28, 2014 @12:06AM (#8519493)
It doesn't seem to work on shadowbanned users, eg. https://news.ycombinator.com/user?id=TempleOS

I'm not sure if this is a limitation of the API or not though.

Re:Building Hater News by KevinMcAlear on Tuesday October 28, 2014 @12:20AM (#8519528)
Hmmm... seems to work for me. https://transfer.sh/TclxF/templeos.png

Here is the API call too. https://hacker-news.firebaseio.com/v0/user/TempleOS.json

Something must have went wrong, sorry!

Re:Building Hater News by joshschreuder on Tuesday October 28, 2014 @12:24AM (#8519535)
Right you are, I think I typed it all lowercase or camel case, thanks for the clarification :)
Re:Building Hater News by KevinMcAlear on Tuesday October 28, 2014 @12:27AM (#8519540)
No worries! :)
Re:Building Hater News by wgeorgecook on Monday October 27, 2014 @07:17PM (#8518718)
I was really, really hoping that you built this in lisp.
Re:Building Hater News by sbenario on Tuesday October 28, 2014 @12:00AM (#8519478)
(he tried to originally, but(
Re:Building Hater News by eigenrick on Tuesday October 28, 2014 @09:20AM (#8520782)
Please point this at the kernel.org mailing lists. Thank you.
Re:Building Hater News by stefantalpalaru on Monday October 27, 2014 @08:24PM (#8518920)
I hate Hater News for giving me a hater score of only 5.48%!
Re:Building Hater News by Dewie on Monday October 27, 2014 @08:52PM (#8518989)
> An error occurred in the application and your page could not be served. Please try again in a few moments.

Your app sucks.

Re:Building Hater News by guard-of-terra on Monday October 27, 2014 @06:13PM (#8518485)
Why does hate have negative connotations? If someone did evil to me, and I can't fight back, what do I have besides hate?

And the app in question doesn't work.

Re:Building Hater News by pessimizer on Monday October 27, 2014 @07:29PM (#8518758)
'Hater' isn't about hate. It comes from 'player-hater', where 'player' is slang for a pimp. Many people disapprove of the lifestyles of pimps, mainly because of their use of women's bodies as an income stream, and the emotional manipulation and physical abuse it takes to keep that up.

Pimps characterized this disapproval as a hatred borne from jealousness of a that lifestyle, masking dissatisfaction with one's own square, lame lifestyle, an expression of one's own inner turmoil, cowardice, and weakness.

Assholes at all levels of society picked up on this sentiment (through cultural colonialism.) 'Hater' now means anyone who criticizes the speaker for anything.

Re:Building Hater News by krapp on Monday October 27, 2014 @07:10PM (#8518706)
Fear leads to anger. Anger leads to hate. Hate leads to suffering.
Re:Building Hater News by guard-of-terra on Tuesday October 28, 2014 @06:11AM (#8520202)
What if I'm suffering already?
Re:Building Hater News by krapp on Tuesday October 28, 2014 @10:08AM (#8520985)
Then please spare everyone else in the thread from having to suffer you as well.
Re:Building Hater News by guard-of-terra on Tuesday October 28, 2014 @01:08PM (#8522010)
Why should I? It's unfair when I suffer and they don't.
Re:Building Hater News by krapp on Tuesday October 28, 2014 @02:42PM (#8522702)
Yes. But it's less fair for everyone else to have to deal with your lack of maturity. The world would be a better and more civil place if people would move beyond the frankly medieval concept of justice as retributive parity, and certainly the internet would as well.

It's just words in a box. Unless they're threatening you personally, or doxxing you or something, just take a deep breath, recognize when you're dealing with someone who has neither the capacity or willingness to respect you, and move on with life.

Re:Building Hater News by guard-of-terra on Tuesday October 28, 2014 @06:31PM (#8524020)
I could not move on very far from Microsoft when they were at the height of their power. Surely I could use Linux but the outside world will try constantly to infect me with something MS-proprietary.

These days they are dying and I'm so glad.

Re:Building Hater News by krapp on Wednesday October 29, 2014 @11:13AM (#8527585)
I would humbly suggest that you are far too emotionally invested in something as trivial as the business landscape of software.
Re:Building Hater News by guard-of-terra on Wednesday October 29, 2014 @02:16PM (#8528851)
I surely am. This is my life. Was my life, anyway.
Re:Building Hater News by dsjoerg on Monday October 27, 2014 @06:36PM (#8518573)
On the internet, the native currency is attention. You fight back by refusing to pay them the attention they crave.
Re:Building Hater News by guard-of-terra on Tuesday October 28, 2014 @03:14AM (#8519849)
This doesn't solve the problem. They go on with doing evil to me.
Re:Building Hater News by nailer on Monday October 27, 2014 @07:31PM (#8518762)
When people said this genuinely, the (invalid) logic was that either:

- people who dislike you care deeply about you (enough to hate you), this proving that everyone cares deeply about you.

- people who dislike you dislike everything, so their dislike doesn't matter.

Both are obviously ridiculous, and now people mainly use the term ironically.

Re:Building Hater News by guard-of-terra on Wednesday October 29, 2014 @04:57AM (#8526144)
They don't dislike me, they just make me suffer for profit and/or amusement.

When (and if) I'm in position, I'll of course return it to them via manual karma.

Re:Building Hater News by mvc on Monday October 27, 2014 @06:20PM (#8518503)
Forget it and move on with your life?
Re:Building Hater News by serf on Monday October 27, 2014 @06:22PM (#8518518)
so, is that to say that hate can't add to a discussion? It can certainly detract, but I wouldn't be so quick to say that there are no benefits.
Re:Building Hater News by guard-of-terra on Monday October 27, 2014 @06:23PM (#8518520)
I'll walk knee deep in their spit then. If they can make evil to me and get away with it - why won't they?

Hatred is like a spring - it will eventually go off. That's a mechanism of delayed defence.

Re:Building Hater News by eCa on Monday October 27, 2014 @06:45PM (#8518608)
Because it is negative [1], even if it sometimes might be an appropriate response.

[1] http://i.word.com/idictionary/hate