Philip Neustrom

Results 16 issues of Philip Neustrom

Same as https://github.com/codysoyland/django-phased/pull/10 but with some comments.

Because of https://github.com/codysoyland/django-phased/issues/12, I had to move `PhasedRenderMiddleware` to the bottom(ish) of my `MIDDLEWARE_CLASSES`. This fixed the issue with the `MessageMiddleware`, but caused new issues with other middleware I had...

More or less all other Django template tags allow you to pass in a variable name for a variable not present in the template context. In all these cases, the...

Following the directions, I get: ``` (env)philip@philip-laptop:~/projects/django/socketio_experiments/django-socketio-example$ ./run_example.py Listening on port 9000 and on port 843 (flash policy server) Traceback (most recent call last): File "./run_example.py", line 16, in SocketIOServer(('',...

When installing via setuptools (and not via pip directly), the resulting egg's assets aren't available to e.g. `collectstatic` for some reason. Setting the setuptools `zip_safe` flag fixes this.

Using psycopg2-ctypes and pypy I see: `Exception RuntimeError: RuntimeError('maximum recursion depth exceeded',) in method __del__ of ignored` printed by the django development server. It only happens sometimes, and when it...

The JS SocketIO server has the notion of backend _stores_ -- an idea we should steal! E.g. here's a RedisStore example: http://www.ranu.com.ar/2011/11/redisstore-and-rooms-with-socketio.html The idea is that you specify a store...

I'm wondering if it would be better to make `server.sockets` an iterable of `Socket` objects (rather than a dict of sessid: sockets) and move the current `server.sockets` to `server._sockets`. This...

High Priority

Currently, an individual socket can broadcast using the BroadcastMixin. But what if you want to spin up a greenlet -- independent of a particular connection -- and have it publish...

I'm wondering about the naming of `broadcast_event` in `BroadcastMixin`. Would it make more sense to rename this to `emit_broadcast` instead? Also, I'm wondering if it'd be possible to have a...