Re:Show HN: Hacker News Simulator
by iokanuon on Sunday September 20, 2015 @03:55PM
(#10248797)
Was it anyhow influenced by https://reddit.com/r/subredditsimulator?
[ Parent
| on HN ]
Yep, it uses the same technique. I've pulled every comment and story from HN through the API and make a bunch of Markov chains to produce story titles and comments. The input corpus is a lot smaller than subredditsimulator though and the various subreddits have a large variation in the words used (meaning more funny comments), so it's no way near as good.
Perhaps a future enhancement might be to partition comments by the submission domain, i.e use only comments for github.com stories for fake github submissions, might generate very different text than a munge of every comment.
You could also use the comments on reddit in /r/programming and /r/startups and other related reddits to help get more data for seeding your corpus.
Or if you want to get more complex, find the reddit comments for every link that was submitted to HN and use that (but you have to be careful that you use "hacker" related reddits or it will sound too "reddity")
Maybe aggregate over the subreddits listing (where HN links appear) and then whitelist some of them (after checking against a comment frequency count) like programming, linux etc.
I would love love love it if it could provide comments on a per-user basis. Use my comments for my name, use JohnDoe's comments for their name.
As well as keeping comments by submitted domain.
I made a similar thing a year or two based off of another Markov Chain of HN headlines. I generalized it to allow you to mashup headlines from different news sources (Buzzfeed x Hacker News, for example). Still pretty funny, if anyone's interested: http://www.headlinesmasher.com/best/all
Re:Show HN: Hacker News Simulator
by toothbrush on Monday September 21, 2015 @04:09AM
(#10250977)
Scandal: Politician Goes to Work
LOL
These headlines are phenomenal.
Re:Show HN: Hacker News Simulator
by archimedespi on Sunday September 20, 2015 @11:26PM
(#10250185)
I wish I could upvote this post multiple times.
Create some stories that support the... err... premise of those titles and I think you could automate Buzzfeed and such.
I lost it at "Nintendo steps into porn biz"
some of these could be Onion headlines, I love it.
Re:Show HN: Hacker News Simulator
by NumberCruncher on Monday September 21, 2015 @03:30AM
(#10250865)
Too funny for a monday morning...