Python Fiddle, an IDE That Runs In Your Browser 113
An anonymous reader writes "The site Python Fiddle, like the similarly named jsFiddle, allows users to post code and share it with others. However, unlike jsfiddle, pythonfiddle brings a major advancement with the Python language, which fully runs in the browser."
Re: (Score:2)
Yes and on ARM-based devices.
Slow Loading (Score:3)
Re: (Score:3)
Re: (Score:1)
Probably running on a corporate laptap.
Re: (Score:2)
Re:It makes Eclipse with PyDev feel responsive. (Score:4, Insightful)
Re: (Score:2)
No, using the cheap price of harddrives as an excuse for bloated software is weak.
The hardware is getting cheaper while delivering more performance, that doesn't mean that we (the coders) should burn it up as fast as the users can buy it. It only takes the pain away to turn every single byte around to see if it is really needed, it does not take the pain away to write good software and spend some time optimizing it afterwards.
Re: (Score:2)
You're equating "bloated" software with software that takes up a lot of hard disk space. The two are correlated, but not equivalent. For instance, I'd gladly accept a 100 GB Visual Studio if it meant every action was instantaneous. I'd be hard-pressed to call this hypothetical software "bloated," since that implies slowness/unresponsiveness. The person I was responding to specifically criticized Visual Studio's size (instead of, say, memory footprint or feature set).
I don't know what you're talking about by
Re: (Score:3)
The fundamental problem with Eclipse is that it runs on the JRE, which fundamentally makes its memory management bloody awful, that's not because Java is bad at memory, it's because the JRE is bad at memory. You need to specify the maximum amount of memory it is allowed to use, and the minimum amount of memory it has to start with. Get those numbers wrong and your performance in the application is fairly shocking for large projects because you page in and out all the time or the performance of your machine
Re: (Score:1)
Well, given that Visual Studio, by default, has a lot more features than eclipse (built in language support, built in compilers, etc.), of course it's going to be larger. Mind you, Eclipse doesn't need most of those because it's target platforms tend to have them available externally, and eclipse can link to them. If you really want to compare, consider Eclipse + GCC + JDK+ JRE + plugins to give the game drag-and-drop gui design functionality + source control platform of choice + GUI frontend for source con
Re: (Score:3)
For me it loaded almost instantly... but would never run anything. Even just
print "hello"
would never enable the Run button.
Tried it in another browser and 'Oh sorry, that's not a supported browser.'
Re: (Score:2)
Refreshed a few times and the Run button started to work for me. Sometimes the page doesn't fully load
Re: (Score:2)
wow, this is a great leap forward (Score:2)
Re: (Score:2)
Putting everything into your browser should work about as well as the first big Great Leap Forward [wikipedia.org]: "enormous amounts of investment produced only modest increases in production or none at all. In short, the Great Leap was a very expensive disaster."
Re: (Score:3)
Actually, one really useful benefit of this will be for education. When my introductory programming class starts in a week's time, I'll be able to send them here for the first few weeks, while they're figuring out Python basics, and before they've got a proper Python installation on their own computers (high school kids, some of whose parents lock down computers pretty tightly). It should help us get around the "I can't do my homework, because my dad won't let me install software on the computer" nonsense
Re: (Score:1)
When I got my "introduction to programming" we brought our homework back on paper and were evaluated on how big our bugs were. That was about two decades ago. What is the problem with kids today bringing in their 10 line programs in on paper or a text file? I mean if they really want to they could.
Re: (Score:2)
The problem is that it's much more effective for them to get instant feedback from the interpreter. I'm not overly concerned if they mistype something on the first-go-round, just so long as they spot the problem and correct it before they submit.
Re: (Score:1)
Sure, I am not arguing about that.
The point I want to make is that it isn't a sin to fall back to rudimentary techniques when high tech fails you. This could also work very fine against the "My dad doesn't allow me to install stuff on my laptop so I can't do my homework" excuse.
Don't go thinking that this is a very small tiny little point to make because it has much bigger implications than you might think. Learning how to fall back, technology and workflow wise, makes more productive people and that is a d
Re: (Score:2)
Damned kids. GET OFF MY LAWN!!!
(Filter error: Don't use so many caps. It's like YELLING.
No shit. It's supposed to be yelling. That's the whole point.
STUPID FILTERS!!!)
Re: (Score:1)
I don't understand you, sorry
Re: (Score:2)
You send computer homework home with the kids? That seems counter intuitive. In my part of the world, there are homes that don't HAVE computers! Kids are sent to school, expecting that whatever computer education they get can all be done at school!
Those people who do have computers in their homes, generally lock them down, if they are smart. Kids do the darndest things - at least that was the name of a television show when I was growing up. I have repaired a number of home computers that kids (and some
Re: (Score:2)
Even in areas where home computer ownership is a reasonable expectation or where students are issued a laptop it would still make sense for a teacher to send parents a list of expectations on the first day so that there's no confusion about what's required.
Re: (Score:2)
It's not so much that I "send homework home with kids", as that some kids always seem to push up against the limits of the amount of class time I'm able to give for a project. Having an easy way for them to keep working at home gives them an option that they may not have had. We're a private school that requires all of our students to have some sort of web device (iPad, laptop, etc) - clearly, things would be different in a situation where we had to assume someone may not have access.
Re: (Score:2)
Yes, I could also see using this in distance learning courses on programming, particularly in situations where students aren't using their own machines, as with many students in low and middle income countries.
Re: (Score:2)
http://portableapps.com/apps/development/geany_portable [portableapps.com]
Doesn't require installation, as it's portable, and I'd guess it runs a lot faster than a browser-based version.
It also supports Python, plus a whole bunch more languages.
Re: (Score:2)
And it's Windows-only, which is going to exclude a good chunk of my students. The browser-based version beats it on that count - although it would seem to only support Chrome and Firefox, so it doesn't win quite as soundly as I'd like. Also, for introductory-programming-course purposes, speed really doesn't matter much (if at all).
Re: (Score:1)
Re: (Score:1)
Re: (Score:2)
Dear Developers.. (Score:2, Insightful)
Comment removed (Score:4, Insightful)
Re:Dear Developers.. (Score:5, Interesting)
Dear Anonymous COWARD
If software developers actually wrote and deployed their applications correctly a lot of whats broken in Windows would actually be fixed!
This is not to say that Windows does not have problems, it has TONS of them, but many many of them would be resolved if the idiots actually wrote applications that did not:
That is but a tiny sample of the brain dead shit that application programmers do which in turn causes all sorts of chaos in windows. YES Microsfot did build a whole shit load of supidity into Windows but the people who write software for it are even worse since they simple never do it correctly.
Re: (Score:1)
Developers like you are why Windows is so dangerous. You're focused entirely on system integrity. You're thinking, "will this program infect the machine" instead of asking the correct question: "will this program steal the data that's on this machine." Linux and Windows both fail to seriously address this issue.
Proving correctness (Score:2)
15 years ago it was stupid for applications to have access to the whole user account. Today, unchanged after all this time, it's mindbogglingly stupid.
For fucks sake, Windows can't even do trivial software firewalling. It shows no popup request for outbound connections, so you're forced to add manual fw rules to blanket-ban all outbound connection attempts.
If software developers actually wrote and deployed their applications correctly a lot of whats broken in Windows would actually be fixed!
A lot, but not everything. I wouldn't have to sandbox each application if I could be sure that it was written correctly, but how can I be sure of that? As I understand it, formal verification [wikipedia.org] is still perceived as cost prohibitive for most software distributed to the public. The Windows security model assumes that all applications that I run have complete read-write access to all files and folders that my user account owns. I can't be sure that a program won't overwrite my documents unless I either formally
Re: (Score:3)
I actually had a discussion with a vendor whose code put their data in Program Files, which I had bollocked him for. IIRC his reason was because he wanted to coexist well with Terminal Services or Citrix summat.
Assuming he was correct, then that's a Microsoft and/or Citrix problem - they shouldn't write their stuff to require storing data /there/ of all places.
Re: (Score:2)
Dear Microsoft SHILL (Score:2)
When I started using Linux, back in 1998, I did what Microsoft had got me used to do. I used only one account, root, and did everything as root.
Then I installed one application, I don't even remember which one, that wouldn't run as root. It demanded a non-privileged user to run.
I was astonished to find that I could do anything, except fuck up the system, as a normal user. I didn't need admin privileges at all. Only when installing new applications or configuring the system I had to log in as root.
Next step
Re: (Score:2)
"I was astonished to find that I could do anything, except fuck up the system, as a normal user. I didn't need admin privileges at all. Only when installing new applications or configuring the system I had to log in as root."
I'm guessing that you don't back up your system very often. There really are a lot of jobs like printer administration, backups, etc that don't work without some admin priviliges. Worse, you aren't necessarily told that they aren't working or why they are failing. And really, most of
Re: (Score:2)
I'm guessing that you don't back up your system very often
My system backup is the install disk plus one script that I run under sudo to configure the system options and install application packages not in the default installation. My personal files backup is done using rsync as a non-admin user.
Jobs like printer administration -- what do you mean? I plug the printer in, it just works.
And don't overlook the risk of creating multiple application data files -- one in root and one in your normal user's directory.
No. Packages that come with the distribution are installed by "sudo apt-get install ...", or using one of the available GUI utilities for that, also using sudo. Applications that are
Re: (Score:2)
Don't do stupid things and you won't have pain. (Score:1)
Sometimes, when you do stupid things, you suffer some sort of pain as a consequence. Trying to develop software on a mobile phone or a tablet is a good example of this. It's just something that sensible people don't do. In fact, it's much like crushing your own penis and testes with a brick. Sure, you can do it, but it's not a particularly good idea. The pain is your body's way of telling you that what you're doing is a pretty fucking stupid thing.
If you need to be making changes to code, just do the right
The alleged death of the PC (Score:2)
Sometimes, when you do stupid things, you suffer some sort of pain as a consequence. Trying to develop software on a mobile phone or a tablet is a good example of this.
Tell that to some pro-"death of the PC" posters who seem to think that affordable laptops need no longer be manufactured now that tablets with keyboard docks, running smartphone operating systems, allegedly satisfy the needs of those home and business users who aren't programmers, graphic designers, or other creative professionals. The idea is that the majority can use tablets, and creative professionals can afford to pay more for niche hardware once the economies of scale on commodity PC hardware start to
Re: (Score:2)
dunno, iphone and ipad have ssh clients, vnc clients and other remote computing clients. it's the lack of keyboard that's the limiting thing there, not the sw.
however - these kind of platforms provide the reasoning that it's just favoritism to ban some apps from running on native interpreters when they in fact bundle a web browser with js with which you can emulate anything(albeit slowly) - so it becomes yo dawg we heard you like vm's so we put a vm in your vm.
it's useful for guys who need some code hacking
ln -sf browser operating_system (Score:4, Insightful)
It would be a lot easier... (Score:4, Interesting)
Re: (Score:1)
Increased attack surface is the reason sane people don't run Adobe's PDF browser plugin. And "microsoft python" does exist - it's called "Iron Python" (i.e. Python for .NET).
Re: (Score:1)
Works Well! (Score:2)
Loaded quickly and code seemed to execute quickly. Some sort of documentation/about/FAQ would be nice.
Sadly I'll probably use this neat tool because of Windows 7... You see, in Windows XP I could click Start, navigate quickly to All Programs > IDLE, and have a Python command line to do simple math or quickie calculations. However Windows 7 makes me click on Start, click on All Programs, click on the scroll gadget to scroll down to Python 3.2, click on Python 3.2 to open its directory, and finally clic
Re: (Score:3)
You know not only can you pin it to your Start Menu (which you've been able to do since Windows XP), but you can also pin it to the freakin' taskbar! Right click on the icon, click "Pin to Taskbar", and voila it will always be on your taskbar, even when it's not open.
Re: (Score:2)
You know, I actually never thought about pinning it to the Start Menu. Pretty stupid, as I've done that with the DOS prompt and a few other programs I use often. Thanks for the reminder!
I'm fairly anal with my desktop. I limit the taskbar pinned programs to a few specifics (Putty, WinSCP, Thunderbird, etc.) and IDLE just isn't used enough to warrant inclusion.
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
Or just hit hit the Windows key and type "IDLE" and likely just hit enter. May need to arrow down if you have more than one thing that starts with IDLE installed.
Re: (Score:1)
Yes, I am lazy.
And retarded.
You can just type IDLE and find it.
Re: (Score:2)
It's actually Windows key -> Type "idle"<enter>. Which is a lot faster. Or you could pin it to the taskbar, as some have also suggested.
Also: click on the scroll gadget? No mouse wheel? :s
Re: (Score:2)
Also: click on the scroll gadget? No mouse wheel?
Not all laptops have the scroll band at the right side of the trackpad. Mine does, but my last one didn't.
Re: (Score:1)
No no
In Windows Vista and up you type. If anything I thought more DOS and Linux users would be happy as you can use Office 2007 ribbon and Windows 7 without a keyboard. Hit the Windows key and type whatever you want. I have not scrolled in 3 years. It is great. Need to find MSconfig on a client? Just hit the Windows key and type MS ... and intellisence will do the rest for you.
In Office, hit alt and numbers and letters will appear on the ribbon to access them on the next keystroke.
Do that and after a week y
Re: (Score:2)
Wait....what?
You can do virtually the same thing with Windows XP and Office <= 2003, without the ribbon and scrolling menu. Even without a Windows key on the keyboard. Ctrl-Esc brings up the start menu, hit P for Programs, then press the first letter of whatever you're looking for. It'll scroll through, highlighting all the items that start with that letter with successive presses. When you find it, if it's an item, press enter, if it's a submenu, hit the right arrow to open it.
When it's something th
Re: (Score:1)
Editing your path is fairly convoluted. Run 'SystemPropertiesAdvanced', navigate to the 'advanced' tab, and click the 'environment variables' button. From there edit the PATH environment variable for your user profile.
Then you can quickly run IDLE by pressing [WinKey]+R, then typing the name of the executable.
There is a method to access system properties without running 'SystemPropertiesAdvanced' directly, but it's even more co
standard lib doesnt even work (Score:2)
Traceback (most recent call last): File "", line 1, in ImportError: Could not evaluate dynamic lib:
More browser use (Score:1)
Re: (Score:2)
They secretly steal the tons of high quality and inventive code people choose to develop in the cloud instead of on their relatively safe computers. DON'T DEV ON THERE PLZ.
Re: (Score:2)
Is this technology FOSS? Where can I get non-obfuscated sources for this? There isn't even a copyright notice or any information about the developers anywhere on the page...highly unusual.
I can't get this website to work, and have no idea what technology they use. But if you want an open source way to run Python in your browser, you can check out this demo [syntensity.com] (source code and build instructions are in the emscripten source code on github).
Re: (Score:2)
"I can't get this website to work,"
Me either. I think we need a secret decoder ring or something. They probably don't want idiots like us desecrating their site.
Re: (Score:2)
Smalltalk has this. (Score:2)
jsFiddle? Now THAT sounds cool. (Score:2)
But using it for Python? I don't really see the point, unless you're actually planning to deploy Python-on-Javascript, in which case, I'd say you're Doing It Wrong.
Similar Projects (Score:2)
Both the Sage notebook [sagemath.org] and codenode [codenode.org] are similar projects that support development of Python programs via a web browser interface. They have been around for about 4 years, and full source code is available for both in case you want to setup your own server (there are dozens of Sage notebook servers used at universities around the world).
sweet! (Score:2)
Om nom nom nom... (Score:1)
Browser-based development and IDE? (Score:2)
Sort of a tangent, but there was an article awhile back about how Google was going to move a large number of their own users to using their Chromebook OS 100%. It made me wonder - if it's similar to using the Chrome browser what kind of development would they be doing and how? I've actually gotten used to the developer tools in Chrome...is there a solid Chrome-based or web-based IDE that's out there or being worked on?
Like PythonAnywhere? (Score:2)
http://www.pythonanywhere.com/ [pythonanywhere.com]
Re: (Score:2)