News for hackers. Stuff that matters.
Re:Amazon engineer will let strangers manage his $50,000 sto... by stockstream on Thursday July 06, 2017 @11:01PM (#14715706)
Actually, those two bits are pretty small. Theres a ton of code all over github for interacting with Robinhood. The twitch chat API is really just IRC. Glueing those together was the easy part.

The more interesting and complicated components are the UI and the scheduling and a publish-subscribe module that I created, tho no plans to open source it anytime soon.

Re:Amazon engineer will let strangers manage his $50,000 sto... by learningram on Friday July 07, 2017 @03:25AM (#14716713)
>publish-subscribe module

What part of application is that for ?

Re:Amazon engineer will let strangers manage his $50,000 sto... by stockstream on Friday July 07, 2017 @10:30AM (#14718582)
Actaully the pubsub part is pretty core to system overall. Basically I have a set of 'operations' modules each operating independently (gathering news, tweets, votes, stock quotes, etc). They publish that data over the pubsub system, so that all the subscribers (mostly in-memory caches) read and update accordingly.

Game events also get published through it (round end, trade placed, new round, etc)