TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Weekend Project - Hide Inane Comments on HN

28 pointsby micahmcfarlandabout 12 years ago

16 comments

RyanZAGabout 12 years ago
Isn't the whole reason behind the 'points' part of the HN comments to hide inane comments? If a comment is inane, it will be down-voted and grayed out. I think relying on humans is a far better filter for inane comments than number of syllables in a sentence.<p>That said, the code looks good and the idea is fun - might be nice to try and implement a javascript NLP library to make it more intelligent? [1]<p>[1] <a href="http://www.chrisumbel.com/article/node_js_natural_language_nlp" rel="nofollow">http://www.chrisumbel.com/article/node_js_natural_language_n...</a>
评论 #5545374 未加载
评论 #5544871 未加载
ruswickabout 12 years ago
This algorithm seems incredibly arbitrary and fails to account for the complexity of diction or sophistication of content of the post. (Obviously, this is incredibly difficult and computationally-intensive, and is likely untenable for a simple Chrome app, but applying such a narrow and draconian algorithm that reduces such complex facets of pedagogy and language into a calculus comprised only of sentence size and syllabic length does not help in weeding HN of poor-quality content.)<p>Moreover, I'm not sure as to why I would want to rid HN of "8th Grade Content" in the first place. I'm fine with terse sentences and pedestrian word choice so long as the actual content of the post is of value to the conversation.
评论 #5545466 未加载
评论 #5545140 未加载
carbocationabout 12 years ago
If you want to filter by grade level, why not just use a ready-made javascript script that computes an actual Flesch-Kincaid reading level [1]? This seems like reinventing the wheel, though I understand that can be the point of a weekend project.<p>[1] = e.g., <a href="https://github.com/cgiffard/TextStatistics.js" rel="nofollow">https://github.com/cgiffard/TextStatistics.js</a>
评论 #5544927 未加载
konstruktorabout 12 years ago
Brought to you by the person whose last submission was titled "Everything sucks and nobody cares".
gavinhabout 12 years ago
A clearly written, thoughtful comment might demonstrate an eighth grade reading level.<p>A comment with esoteric vocabulary might be inane.<p>I question the premise of this project.
DanBCabout 12 years ago
Something to turn this into a killer extension would be "Hide comments that use words on my filter list".<p>Thus, I could chose to hide any comment that used the word FANBOI or fanboy or whatever.<p>You'd need to include some method for alerting me that there's a comment that I might wish to downvote.<p>It's a neat project. It's a shame people will pile-on over your unfortunate choice of title here. Your "Important note" on github is pretty clear, I think.
评论 #5544933 未加载
评论 #5544915 未加载
评论 #5544970 未加载
sergiotapiaabout 12 years ago
This basically just counts syllables and if it has few of them, they are tossed as '8th grade level'.
评论 #5544662 未加载
useaabout 12 years ago
Inanity and reading level in english are orthogonal concepts.
kenkoabout 12 years ago
Alas, it is all too feasible to compose inane comments using sesquipedalian vocabulary and an overly-reticulated sentence structure in which dependent clauses which add nothing to the comment save for syntactic complexity, and sometimes only a small measure of that, as when one just links relative clause to relative clause, are stacked, to no one's benefit, one on top of the other.
gurkendoktorabout 12 years ago
If I facepalm and close the comment tab, it is usually not because if a single posting, but because of a complete subthread that has become a trope. E.g, every time a post contains the phrase "steal software", there will be someone saying "you can only steal cars, not software" and it will go on forever; same for eating meat/going veg, is Google evil or not, skeuomorphism vs flat design. I haven't ever learned anything from these discussions.<p>Too bad I have already started another weekend project :)
mikecaneabout 12 years ago
Who Do You Write For? <a href="http://mikecanex.wordpress.com/2010/08/17/who-do-you-write-for/" rel="nofollow">http://mikecanex.wordpress.com/2010/08/17/who-do-you-write-f...</a>
jereabout 12 years ago
What you have created is clearly A Very Bad Idea. A readable sentence isn't necessarily inane. And this gem really makes me laugh "Conversely, some of the most inane comments of all can escape this filter by not using any punctuation (the script will read it as one long sentence)."<p>But I think that is perhaps beside the point: congrats on writing your first Chrome extension!
davidmrabout 12 years ago
Were I to have more patience and a digital copy of a Hemingway novel, I would be very curious to see the results. It's an interesting idea, but were you to enable it in practice, you'd lose a lot of quality content and have an HN even more dominated by native English speakers.
anigbrowlabout 12 years ago
I sort of like it, but then I'm verbose to begin with. With tools like this, I think it's better to fold in the supposedly-offending comment as opposed to just making it disappear. Without the threading cues, some pages may become hard to read.
oellegaardabout 12 years ago
The whole reason why HN is my preferred place to read news, is that I do not need a filter like this. Comments are generally useful and if someone posts something stupid, its greyed out in the bottom. That being said, cool idea.
jasonlotitoabout 12 years ago
Decided to test this on my posts.<p>Posts like this one (<a href="https://news.ycombinator.com/item?id=5543140" rel="nofollow">https://news.ycombinator.com/item?id=5543140</a>) are removed. That is a valuable post. It directly solves a problem, while highlighting a new feature that people not not have been aware of.<p>I only point this out as in the article linked to by the README says: "Just because a comment is easy to read does not mean it’s inherently worthless, and in some cases these are the most important ones."<p>Good first shot though. =) I wonder if you could reverse the plugin to help improve my own comments.