Hacker News new | ask | show | jobs
by bingaling 1324 days ago
http push, baby!

alternatively, trust the client timer, ship a full 86400 frame gif, and figure out a start-frame hack.

3 comments

Or just generate 86400 gifs, each 86400 frames long, and have the server deliver the correct one depending on the current time. But that wouldn't be nearly as cool as generating and delivering the gif in real time.
This is kind of what I was expecting. I tried saving the gif to see what happened, and it's empty! It's a pretty neat trick!
or just use javascript Date() object, and display it as text