News for hackers. Stuff that matters.
Re:Socket.io 1.1.0 released by nnain on Thursday September 04, 2014 @08:36AM (#8267816)
I was planning to use socket.io with the same stack (Python, Flask) for a game development project last year. Figured that the Python ports of socket.io weren't well-maintained so I took the traditional approach with Comet(Long-polling). On another note, if you're interested in Socket.IO because of WebSockets then do know that Android 4.3 and older don't support WebSockets and so the server might need to support Long-polling anyway. It might actually introduce more lag to first check for websockets, and if unavailable, fall back to long-polling. I will wait till majority of target devices support it by default.
Re:Socket.io 1.1.0 released by pygy_ on Thursday September 04, 2014 @09:12AM (#8267992)
> It might actually introduce more lag to first check for websockets, and if unavailable, fall back to long-polling.

Socket.IO works the other way around since v 1.0, thanks to Engine.IO. It starts with long polling and tries to upgrade to WebSocket or Flash sockets if possible.

Re:Socket.io 1.1.0 released by nnain on Thursday September 04, 2014 @10:38AM (#8268494)
That's good to know. And Socket.IO could move back to WebSocket-first approach, once the technology becomes more pervasive. It's still a task to set up Socket.IO with Python though. Don't know how nice it plays with Node.js, but I'm happy moving to Go instead.
Re:Socket.io 1.1.0 released by ergo14 on Thursday September 04, 2014 @08:51AM (#8267883)
I was playing with gevent-socketio, and ended up with massive memory leaks - could be it was my mistakes in code though.

But later I went with gevent + gevent-websocket (gevent-socketio also uses it), and it's been working like a charm for me.

Re:Socket.io 1.1.0 released by untog on Thursday September 04, 2014 @10:05AM (#8268291)
Android 4.3 and older don't support WebSockets

In native developmet, I presume? Because the Chrome browser can handle them fine.

Re:Socket.io 1.1.0 released by coev on Thursday September 04, 2014 @01:51PM (#8269632)
Yes, native. Android's webview was based on the old Android Browser until KitKat/4.4 when it switched to using Chrome to render.