News for hackers. Stuff that matters.
Re:Twitter feed of Hacker News stories as soon as they reach... by ck2 on Monday July 19, 2010 @10:49AM (#1528836)
Clever but how about a real RSS feed of those so I don't have to go to an RSS feed, then twitter, then bitly, then the original link?

Especially since with the shortened URL I don't really know where I am going.

Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @02:42PM (#1529689)
Done - http://feeds.feedburner.com/newsyc20

Comments will show up in the rss items (not active yet, should show up within the hour).

Re:Twitter feed of Hacker News stories as soon as they reach... by w1ntermute on Monday July 19, 2010 @02:00PM (#1529537)
Clever but how about a real RSS feed of those so I don't have to go to an RSS feed, then twitter, then bitly, then the original link?

Yes, use Readability to parse the pages and show the full text of the article directly in the RSS feed.

Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @02:43PM (#1529698)
The Readability parse is a good idea, but implementing that would need more time than I can spare right now. If anyone wants to do the legwork on that, please contact me and I'll be happy to put it in the feed.
Re:Twitter feed of Hacker News stories as soon as they reach... by w1ntermute on Monday July 19, 2010 @03:03PM (#1529750)
Someone has done it before[0], but the feed doesn't seem to be available anymore.

0: http://news.ycombinator.com/item?id=542334

Re:Twitter feed of Hacker News stories as soon as they reach... by OoTheNigerian on Monday July 19, 2010 @12:38PM (#1529225)
You forgot the the app for the RSS feed.
Re:Twitter feed of Hacker News stories as soon as they reach... by protomyth on Monday July 19, 2010 @10:45AM (#1528817)
I like how you included both links. The problem I had with the other twitter feed is that it linked only to the original story and not to Hacker News.
Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @11:57AM (#1529063)
Thx. The tweets will also contain an attribution if the submitter lists a twitter handle in their HN profile.
Re:Twitter feed of Hacker News stories as soon as they reach... by Nogwater on Monday July 19, 2010 @12:50PM (#1529259)
This one (disclosure: I maintain it) links directly to the HN page: http://twitter.com/HNComments
Re:Twitter feed of Hacker News stories as soon as they reach... by protomyth on Monday July 19, 2010 @05:06PM (#1530167)
nice, thx
Re:Twitter feed of Hacker News stories as soon as they reach... by abraham on Monday July 19, 2010 @02:13PM (#1529587)
If anyone is interested I built a Yahoo Pipe that pulls in stories with 10+ votes: http://blog.abrah.am/2010/05/hacker-news-10-rss-feed.html
Re:Twitter feed of Hacker News stories as soon as they reach... by freejoe76 on Monday July 19, 2010 @02:14PM (#1529594)
YAHNTB!! (Yet Another HN Twitter Bot) ,,, added to the list here: http://twitter.com/joemurph/hn-bots/members
Re:Twitter feed of Hacker News stories as soon as they reach... by petercooper on Tuesday July 20, 2010 @12:32AM (#1531164)
http://twitter.com/newsycombinator is also good if you want anything that hits the front page (surprisingly it has almost 14,000 followers.. which seems sky high compared to the number of HN users to me.. :-))
Re:Twitter feed of Hacker News stories as soon as they reach... by sferik on Monday July 19, 2010 @06:43PM (#1530467)
This totally solves the problem I asked about a month ago. Thanks! http://news.ycombinator.com/item?id=1453143
Re:Twitter feed of Hacker News stories as soon as they reach... by oscardelben on Monday July 19, 2010 @10:30AM (#1528760)
This is actually useful. Care to share how you implemented it?
Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @11:06AM (#1528902)
It's a Python script I run every 5 minutes with cron. It uses BeautifulSoup to scrape the newsyc front page, Tweepy to send out out tweets, and sqlite3 to keep track of which stories have already been tweeted.
Re:Twitter feed of Hacker News stories as soon as they reach... by mike-cardwell on Monday July 19, 2010 @01:05PM (#1529318)
Why use an sqlite DB when you can use the twitter feed its self to check whether or not a story has been posted?
Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @01:15PM (#1529352)
Because twitter is unstable, and the api is rate-limited.
Re:Twitter feed of Hacker News stories as soon as they reach... by virrgil on Monday July 19, 2010 @04:15PM (#1530002)
Could you share the source please?
Re:Twitter feed of Hacker News stories as soon as they reach... by conesus on Monday July 19, 2010 @04:16PM (#1530009)
How about if the original link is small enough to fit in without truncation (bit.ly), then show the original link as well as a bit.ly link to the comments.

I hate losing the domain information in bit.ly links, and the @hackernewsbot (http://twitter.com/hackernewsbot) does a nice job of showing the original URL when possible.

Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @08:34PM (#1530723)
Done.
Re:Twitter feed of Hacker News stories as soon as they reach... by dschobel on Monday July 19, 2010 @10:49AM (#1528838)
Well done!

Any idea how difficult it would be to support an arbitrary user customizable point threshold?

Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @11:00AM (#1528873)
I'd have to create multiple twitter feeds for different point thresholds. If there's a particular one you have in mind, let me know.
Re:Twitter feed of Hacker News stories as soon as they reach... by Hopka on Monday July 19, 2010 @12:56PM (#1529286)
Something like 100 - so it's only 2 or 3 stories per day would be nice.
Re:Twitter feed of Hacker News stories as soon as they reach... by joe_the_user on Monday July 19, 2010 @01:23PM (#1529379)
Here's a challenge.

Create an app that lets you request an average of n stories per day and translates that request into a threshold.

Re:Twitter feed of Hacker News stories as soon as they reach... by dschobel on Monday July 19, 2010 @04:59PM (#1530143)
Yep, that or create a simple web-app where users can log in (using OAuth preferably) and configure the number of stories they see a day or the karma threshold and then spin up a custom RSS feed for them.

Might be a fun weekend project...

Re:Twitter feed of Hacker News stories as soon as they reach... by farmerbuzz on Monday July 19, 2010 @04:22PM (#1530034)
Check out hacker news daily: http://www.daemonology.net/hn-daily/ (top 10 stories per day)
Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Thursday July 22, 2010 @04:57PM (#1539522)
Done. @newsyc100 (also have @newsyc50)
Re:Twitter feed of Hacker News stories as soon as they reach... by avar on Tuesday July 20, 2010 @07:49PM (#1533852)
If it isn't too much trouble a version of this for 40 points (and maybe 60) would be great. I find 20 to be way too much traffic in my Twitter feed, so I unsubscribed from it.
Re:Twitter feed of Hacker News stories as soon as they reach... by credo on Friday July 23, 2010 @03:09PM (#1542115)
I just a newsyc20 tweet that said (via my twitter-id)

Figuring out the HN poster's twitter id and then including that in the tweet makes newsyc20 even more interesting

Re:Twitter feed of Hacker News stories as soon as they reach... by michaelcampbell on Monday July 19, 2010 @10:24AM (#1528736)
The trailing close paren is becoming part of the bit.ly links. (At least on IE and Firefox, for me.)
Re:Twitter feed of Hacker News stories as soon as they reach... by mrduncan on Monday July 19, 2010 @10:29AM (#1528756)
Twitter has always included trailing parens in links (even though, it seems more often than not they're not supposed to be). On the bright side, bit.ly ignores them so you still get the originally intended link.

I'm pretty sure trailing square brackets are ignored - anyone know for sure?

Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @10:59AM (#1528869)
Thanks for catching that. I've changed the code to use square brackets instead of close parens.
Re:Twitter feed of Hacker News stories as soon as they reach... by michaelcampbell on Monday July 19, 2010 @12:21PM (#1529149)
It's doing it on the square brackets too. =) It's not a huge deal; as another person replied to me, bitly seems to ignore them and get you where you're going.
Re:Twitter feed of Hacker News stories as soon as they reach... by peregrine on Monday July 19, 2010 @12:26PM (#1529176)
One thing I'd like to see is the YCombinator logo for the logo, helps it stand out.
Re:Twitter feed of Hacker News stories as soon as they reach... by jmillerinc on Monday July 19, 2010 @01:35PM (#1529435)
Done
Re:Twitter feed of Hacker News stories as soon as they reach... by peregrine on Wednesday July 21, 2010 @11:28PM (#1537288)
Thanks!
Re:Twitter feed of Hacker News stories as soon as they reach... by royrod on Monday July 19, 2010 @11:08AM (#1528907)
Nicely done, Jeff, useful!
Re:Twitter feed of Hacker News stories as soon as they reach... by recoiledsnake on Monday July 19, 2010 @01:15PM (#1529350)
Nice. Now do the same thing for reddit.

/ducks