Live data from Hacker News

Python and the Real-time Web

mrjoes.github.io

1–10 of 18 posts

Re: Python and the Real-time Web

#2
I like the blog post format better than a Google Hangout. When there's a conversation, unless (or perhaps even if) it's heavily moderated, things get lost in the noise.

I was really confused about the word "polyfill," which the author used without explanation. Since I've written code to render filled polygons before (concavity is a fun corner case), I assumed this was what it was referring to, and I was really confused about how that's even remotely relevant. Wikipedia finally straightened me out [1].

[1] http://en.wikipedia.org/wiki/Polyfill

Re: Python and the Real-time Web

#3
post #2

I like the blog post format better than a Google Hangout. When there's a conversation, unless (or perhaps even if) it's heavily moderated, things get lost in the noise. I was really confused about the word "polyfill," which the author used without explanation. Since I've written code to render filled polygons before (concavity is a fun corner case), I assumed this was what it was referring to, and I was really confus…

Thanks for feedback, I added link to the wikipedia article.

Re: Python and the Real-time Web

#5
post #4

I haven't read the whole post yet, but is the author saying that a WSGI+Gevent is better at real-time than Tornado alone?

I don't think so. For example,

'I prefer out-of-process approach, where separate set of processes/servers are responsible for realtime portion.'

and

'Tornado is the framework I stopped on.'

and

'Greenlets make everything "easy" at cost of possible issues and allow implicit context switching.'

Re: Python and the Real-time Web

#6
post #4

I haven't read the whole post yet, but is the author saying that a WSGI+Gevent is better at real-time than Tornado alone?

I'm just sharing my personal experience with both. And no, I prefer Flask (WSGI) and Tornado working side by side, in separate processes.

Re: Python and the Real-time Web

#7
post #2

I like the blog post format better than a Google Hangout. When there's a conversation, unless (or perhaps even if) it's heavily moderated, things get lost in the noise. I was really confused about the word "polyfill," which the author used without explanation. Since I've written code to render filled polygons before (concavity is a fun corner case), I assumed this was what it was referring to, and I was really confus…

When did "polyfill" replace "shim," I wonder?

Re: Python and the Real-time Web

#8
post #7
post #2

I like the blog post format better than a Google Hangout. When there's a conversation, unless (or perhaps even if) it's heavily moderated, things get lost in the noise. I was really confused about the word "polyfill," which the author used without explanation. Since I've written code to render filled polygons before (concavity is a fun corner case), I assumed this was what it was referring to, and I was really confus…

When did "polyfill" replace "shim," I wonder?

I've always taken it to be that it's a polyfill if it's somewhat elegant, or where a newer technology encompasess a superset of an older one and a shiv if it's somewhat hackish or where older technologies are made to stand in for newer ones. I am probably wrong.

Re: Python and the Real-time Web

#9
post #7
post #2

I like the blog post format better than a Google Hangout. When there's a conversation, unless (or perhaps even if) it's heavily moderated, things get lost in the noise. I was really confused about the word "polyfill," which the author used without explanation. Since I've written code to render filled polygons before (concavity is a fun corner case), I assumed this was what it was referring to, and I was really confus…

When did "polyfill" replace "shim," I wonder?

http://remysharp.com/2010/10/08/what-is-a-polyfill/

"Shim, to me, meant a piece of code that you could add that would fix some functionality, but it would most often have it’s own API. I wanted something you could drop in and it would silently work (remember the old shim.gif? that required you actually inserted the image to fix empty td cells – I wanted something that did that for me automatically).

I knew what I was after wasn’t progressive enhancement because the baseline that I was working to required JavaScript and the latest technology. So that existing term didn’t work for me."

Post reply on HN