Anybody else on Mac OS X unable to type a colon in the interactive prompt? I tried it in both Firefox 3.5 and Safari 4, and neither works. Apparently it's not just this site, though. According to http://www.cambiaresearch.com/c4/702b8cd1-e5b0-42e6-83ac-25f... it's only sending a shift (KeyCode 16) when I try typing a colon... On my Ubuntu system, the colon works just fine. Is this a known bug?
Python, client side: Skulpt
31–40 of 43 posts
Re: Python, client side: Skulpt
#32http://www.trypython.org/ Requires Silverlight, but is far more complete as it wraps IronPython. I think its quite neat what you can do with silverlight even if its EEEEVIL MS tech. Another cool SL trick: http://www.mix09.org/labs/gestalt/samples/canvas.2d.drawing/... Using Python inline in your html via Silverlight and a helper JavaScript called "Gestalt". It also supports Ruby. http://www.mix09.org/labs/gestalt/
Or is Silverlight not really a browser plugin like Flash?
(As is probably obvious, I'm totally ignorant of how browser plugins, Flash, Silverlight, and most other things work.)
Re: Python, client side: Skulpt
#33I just can't get myself to love JS the way I do other languages... so, this is my current little weekend project. It's a source-to-source translator so it interops reasonably with JS and should perform similarly also. The parser is derived from CPython's so that part is relatively complete, but the "backend" isn't done yet. For example, there's not even support for "class" yet.
Re: Python, client side: Skulpt
#34http://www.trypython.org/ Requires Silverlight, but is far more complete as it wraps IronPython. I think its quite neat what you can do with silverlight even if its EEEEVIL MS tech. Another cool SL trick: http://www.mix09.org/labs/gestalt/samples/canvas.2d.drawing/... Using Python inline in your html via Silverlight and a helper JavaScript called "Gestalt". It also supports Ruby. http://www.mix09.org/labs/gestalt/
On the topic of Silverlight: is there a reason beyond Microsoft's economic whims that Silverlight couldn't be implemented for non-IE browsers? And if it were implemented across browsers, would it easily work across different OS's? Or is Silverlight not really a browser plugin like Flash? (As is probably obvious, I'm totally ignorant of how browser plugins, Flash, Silverlight, and most other things work.)
I don't use it, but the trypython.org page has a statement:
"Target browsers are Firefox 2 & 3, Safari and IE 7 & 8. (It won't work in other browsers until there is a version of Silverlight that works with them.)"
Re: Python, client side: Skulpt
#35Re: Python, client side: Skulpt
#36http://www.trypython.org/ Requires Silverlight, but is far more complete as it wraps IronPython. I think its quite neat what you can do with silverlight even if its EEEEVIL MS tech. Another cool SL trick: http://www.mix09.org/labs/gestalt/samples/canvas.2d.drawing/... Using Python inline in your html via Silverlight and a helper JavaScript called "Gestalt". It also supports Ruby. http://www.mix09.org/labs/gestalt/
On the topic of Silverlight: is there a reason beyond Microsoft's economic whims that Silverlight couldn't be implemented for non-IE browsers? And if it were implemented across browsers, would it easily work across different OS's? Or is Silverlight not really a browser plugin like Flash? (As is probably obvious, I'm totally ignorant of how browser plugins, Flash, Silverlight, and most other things work.)
http://www.mono-project.com/Moonlight
I've never used it before, so I don't know how well it works or anything.
Re: Python, client side: Skulpt
#37Earlier quoted context omitted.
On the topic of Silverlight: is there a reason beyond Microsoft's economic whims that Silverlight couldn't be implemented for non-IE browsers? And if it were implemented across browsers, would it easily work across different OS's? Or is Silverlight not really a browser plugin like Flash? (As is probably obvious, I'm totally ignorant of how browser plugins, Flash, Silverlight, and most other things work.)
I believe Silverlight works in Firefox actually. I don't use it, but the trypython.org page has a statement: "Target browsers are Firefox 2 & 3, Safari and IE 7 & 8. (It won't work in other browsers until there is a version of Silverlight that works with them.)"
I'm still curious about why Silverlight works for, say, Firefox on OS X, but not Firefox on Linux. I understand that Microsoft probably wants to prevent Silverlight from working on Linux, but I'm curious whether it's something hard to do because Linux doesn't have X, Y, and Z that Silverlight requires, or is it relatively easy to do (if you had control of the codebase).
Re: Python, client side: Skulpt
#38Earlier quoted context omitted.
On the topic of Silverlight: is there a reason beyond Microsoft's economic whims that Silverlight couldn't be implemented for non-IE browsers? And if it were implemented across browsers, would it easily work across different OS's? Or is Silverlight not really a browser plugin like Flash? (As is probably obvious, I'm totally ignorant of how browser plugins, Flash, Silverlight, and most other things work.)
There's an open source implementation of Silverlight, called Moonlight: http://www.mono-project.com/Moonlight I've never used it before, so I don't know how well it works or anything.
Thanks.
Re: Python, client side: Skulpt
#39Somewhat buggy: >>> print 1, 2, 3 1 1 1
Re: Python, client side: Skulpt
#40Anybody else on Mac OS X unable to type a colon in the interactive prompt? I tried it in both Firefox 3.5 and Safari 4, and neither works. Apparently it's not just this site, though. According to http://www.cambiaresearch.com/c4/702b8cd1-e5b0-42e6-83ac-25f... it's only sending a shift (KeyCode 16) when I try typing a colon... On my Ubuntu system, the colon works just fine. Is this a known bug?
I haven't found a non-insane way of doing it.. see f.e. http://www.quirksmode.org/js/keys.html
Anyone have any pointers? (or patches? :)