4 ms·
Hacker News Almost Real Time.(Automatic loading of updates/every 5 minutes)
- gojomo 17y agoIs this why HN has been sluggish the past week or so?
- danfitch 17y agoI only poll it every 5 minutes. I didn't want to over do it, and the frequency didn't matter that much to me. I just like to see the change over time.
- danfitch 17y agoThis is my experiment using Comet, Faye, Sinatra, and Redis. Let me know what you think. I keep it open all day and watch stories move up and down without missing the ones that fall off the front page. If you mouse over the items they will highlight, other users can see the mouse over as well. More Info is on the About page http://toseeitlive.com/about http://toseeitlive.com/about
- duck 17y agoSeeing mouse overs of other users seems pointless and the faint change from black to gray made me a little dizzy. Also the "Users Online" doesn't seem to load, but it sounds interesting. I like the idea though, just seems like it could be presented better (I almost missed the green arrows).
- danfitch 17y agoYeah The Users Online will update every 5 minutes, and I will improve the presentation, just kinda doing it for myself and wrote it in a few hours so haven't put much style into it. Thanks for checking it out! I could have it update every minute and the arrows would be noticed earlier and maybe I should move it closer to the number of the article.
- deleted 17y ago[deleted]
- danfitch 17y agoYeah this is not a fully bullet proof system, it is just an experiment, something that I use and thought I would share, if you want to play around with the technology check out the urls on the about page.
- siong1987 17y agoIt will be an interesting post to talk about how you get all these working with Faye, Sinatra and Redis.
- chanux 17y agoDown arrows in red would be good.
- danfitch 17y agoYeah I will make that change good point. Done
- deleted 17y ago[deleted]
- SlyShy 17y agoSorry to ruin it for anyone, but this is a hilarious April Fools prank. Edit: Apparently that wasn't the author's intention. It's just that the application has funny injection vulnerabilities.
- axod 17y agoSorry guys :( I'll stop now. Note to author: Give an idiot (me) a toy, and he'll play...
- SlyShy 17y agoThey were pretty good headlines though. :P "37Signals bought by Twitter"
- danfitch 17y agoEh... Go play, I built the site to learn how these technologies would work together. I learned that its cool and very simple to hookup but that means with simplicity comes some extra work to secure it. I'll work out the kinks later and do a writeup but what I learned and post the source.
- axod 17y agoIs it hard to validate things server side? From the little I know about the setup it seems like you publish from a client, and it gets pushed out to all clients automatically. Hopefully there's a way to deny certain publishes from clients, cleanse input, validate etc etc on the server, before it gets relayed to the other clients. For example the channel '/client_count' should never accept any publishes from outside the server. Wonder how easy that is to adjust. It does seem pretty nice and responsive though :) Nice job.
- danfitch 17y agoYeah Faye makes it dead simple to set up the channels to communicate on but there doesn't seem to be much in the way of filtering for the channels. I am sure it is something that could be added, but I didn't take the time yet. Thanks!
- w-ll 17y agothis domain remind me of the bill o riley outrage