News for hackers. Stuff that matters.
Re:Python web application GUI toolkit by cjbprime on Sunday November 20, 2011 @07:21PM (#3259453)
It should not take 20 seconds to launch a barebones calculator, and another 5 to respond to clicking on a number.
Re:Python web application GUI toolkit by rwlincoln on Sunday November 20, 2011 @07:35PM (#3259472)
I just switched to a High-CPU EC2 instance. I hope it helps. Otherwise:

$ easy_install muntjac

$ muntjac

to run the demos locally.

Re:Python web application GUI toolkit by deafmetal on Monday November 21, 2011 @05:59AM (#3260705)
I'm getting an import error when i try to run muntjac locally.

from muntjac.terminal.gwt.server.paste_wsgi_servlet import PasteWsgiServlet File "/Library/Python/2.6/site-packages/Muntjac-1.0.0-py2.6.egg/muntjac/terminal/gwt/server/paste_wsgi_servlet.py", line 19, in <module>

ImportError: No module named HTTPServlet

Re:Python web application GUI toolkit by MetallicCloud on Sunday November 20, 2011 @07:36PM (#3259474)
I had a similar experience. Took around 5 seconds to launch, and around 10 seconds to get the result of me clicking 5 * 6. Much too slow.

- Chrome, i7, 4GB RAM

Re:Python web application GUI toolkit by bane on Sunday November 20, 2011 @07:33PM (#3259466)
Out of curiosity, what kind of rig are you running on?

On my four year old desktop it started in about 3 seconds and clicks on buttons do have a noticeable lag, but it's probably 1/3 to 1/2 a second.

Re:Python web application GUI toolkit by rwlincoln on Sunday November 20, 2011 @07:44PM (#3259485)
One issue is that the session gets unpickled/pickled with each request. When each of the samples has been run the pickled session files are ~2Mb.
Re:Python web application GUI toolkit by cjbprime on Sunday November 20, 2011 @07:37PM (#3259475)
> Out of curiosity, what kind of rig are you running on?

Quad-core i7 ThinkPad. I'm using Chrome (16), that might be relevant.

Re:Python web application GUI toolkit by nhebb on Monday November 21, 2011 @03:39AM (#3260459)
It's probably the HN load. I'm getting a "A server error occurred. Please contact the administrator." message for the calc app.