Slashdot Mirror


Python Fiddle, an IDE That Runs In Your Browser

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."

113 comments

  1. Is everything migrated to the browser nowadays? by Anonymous Coward · · Score: 0

    We're all fiddling as /home/ burns.

    1. Re:Is everything migrated to the browser nowadays? by Lennie · · Score: 1

      Yes and on ARM-based devices.

      --
      New things are always on the horizon
    2. Re:Is everything migrated to the browser nowadays? by Anonymous Coward · · Score: 0

      Yes and with the least amount of effort. On a desktop IDE I expect to have code generation, code completion and various refactorings and that's just before I've even ran the code once! Putting a text editor, console output and a run-button on a webpage and calling it an Integrated Development Environment is insulting.

  2. Slow Loading by FrootLoops · · Score: 2

    At first I thought the interface was awful, but apparently it just takes a while to load.

    1. Re:Slow Loading by Sarusa · · Score: 2

      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.'

    2. Re:Slow Loading by elashish14 · · Score: 1

      Refreshed a few times and the Run button started to work for me. Sometimes the page doesn't fully load

      --
      I have left slashdot and am now on Soylent News. FUCK YOU DICE.
    3. Re:Slow Loading by Anonymous Coward · · Score: 0

      Oh you're evil. I let it sit for 20 minutes waiting for something remotely useful to load.

      It's like a geeky rickroll. Well done sir.

    4. Re:Slow Loading by FrootLoops · · Score: 1

      At first I thought it had finished loading (the status bar must have gone away, I suppose). So, I opened one of the links in a new tab. That may or may not have done something to make the original tab finish loading....

    5. Re:Slow Loading by Anonymous Coward · · Score: 0

      Worked for me...

    6. Re:Slow Loading by Anonymous Coward · · Score: 0

      Probably should try turning off NoScript dude.

    7. Re:Slow Loading by Anonymous Coward · · Score: 0

      Is this what passes as an IDE these days? Where's code generation, code completion and various refactoring tools, never mind what's available once you actually run the code. Putting a text editor, console output and a run-button on a webpage and calling it an Integrated Development Environment is insulting.

  3. wow, this is a great leap forward by PJ6 · · Score: 1

    'cuz ya know, when you migrate a UI to run in a browser, you get such a feature-rich, stable experience and it's so maintainable

    1. Re:wow, this is a great leap forward by greg1104 · · Score: 1

      Putting everything into your browser should work about as well as the first big Great Leap Forward: "enormous amounts of investment produced only modest increases in production or none at all. In short, the Great Leap was a very expensive disaster."

    2. Re:wow, this is a great leap forward by drosboro · · Score: 2

      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. :)

    3. Re:wow, this is a great leap forward by justforgetme · · 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.

      --
      -- no sig today
    4. Re:wow, this is a great leap forward by Runaway1956 · · Score: 1

      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 sometimes idiot dads with a taste for porn, but no common sense) had really screwed up. Then, I have proceeded to A: start locking those computers down and B: show Mom and/or Dad how to lock it down.

      As for anything that requires bandwidth, the school blows everyone in the area away. The high school has at least triple the bandwidth of all the rest of the town, combined!

      I think that if teachers sent computer homework home around here, the teacher might be lynched!

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    5. Re:wow, this is a great leap forward by SteveFoerster · · Score: 1

      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.

      --
      Space game using normal deck of cards: http://BattleCards.org
    6. Re:wow, this is a great leap forward by SteveFoerster · · Score: 1

      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.

      --
      Space game using normal deck of cards: http://BattleCards.org
    7. Re:wow, this is a great leap forward by drosboro · · Score: 1

      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.

    8. Re:wow, this is a great leap forward by drosboro · · Score: 1

      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.

    9. Re:wow, this is a great leap forward by cbiltcliffe · · Score: 1

      http://portableapps.com/apps/development/geany_portable

      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.

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    10. Re:wow, this is a great leap forward by cbiltcliffe · · Score: 1

      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!!!)

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    11. Re:wow, this is a great leap forward by drosboro · · Score: 1

      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).

    12. Re:wow, this is a great leap forward by somegeekynick · · Score: 1

      Finally! I can now fiddle with Python at work. No, wait, it doesn't run on IE6, does it?

    13. Re:wow, this is a great leap forward by justforgetme · · 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 domain constantly overlooked by educational systems around the world.

      Just ask yourself how many offices keep up productivity during telecom or electricity downtimes.
      Now think about the offices that degrade into mayhem and panic with the smallest hickup in those infrastructures.

      --
      -- no sig today
    14. Re:wow, this is a great leap forward by justforgetme · · Score: 1

      I don't understand you, sorry

      --
      -- no sig today
    15. Re:wow, this is a great leap forward by Adrian+Malacoda · · Score: 1

      Geany is by no means Windows only. In fact IMHO it fits in better in GNU/Linux. Of course, I'd assume your students who don't use Windows instead use a Mac. Geany runs on that too, albeit apparently not officially.

    16. Re:wow, this is a great leap forward by PJ6 · · Score: 1

      In case it wasn't obvious, that was meant to be biting sarcasm. Web apps are total crap.

  4. Dear Developers.. by Severus+Snape · · Score: 2, Insightful

    Stop trying to reinvent the wheel, my applications work just fine without the need for a web browser.

    1. Re:Dear Developers.. by hairyfeet · · Score: 3, Insightful

      But everyone has to jump in on the latest fad, don't you know that? I remember the "it'll all be thin clients all the way down!" fad, the grid computing fad, and now the "all you need is a browser and the magical perfect cloud!" fad.

      The fads they come, the fads they go, but there is a damned good reason why desktops have been virtually unchanged in the past twenty years design wise, and that is because they WORK. Having lots of processing power, memory, and storage, all at the user's fingertips? it is nice, it makes things faster and works even without the magic cloud. But everyone needs to jump on the fads or else they wouldn't be fads now would they?

      But hey, if making an IDE run really REALLY slow by sticking it in a browser gives them a happy? More power to them I say. Some make models, some play guitar, if jamming an IDE in a browser is what they like to blow their weekends on different strokes.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    2. Re:Dear Developers.. by Nerdfest · · Score: 1

      Try doing some quick changes to code on an iPhone or iPad. With the current restrictions in place and the popularity of these devices, I can see these kind of platforms having some value on occasion. Also for shops that are trying to virtualize desktops, although I still think forcing that on developers is a mistake.

    3. Re:Dear Developers.. by Anonymous Coward · · Score: 0

      Your "damned good reason" is the reason why Windows maintains a failed security model. 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.

      Props to the author of this experiment for getting me to try it, because I sure as fuck wouldn't have if it required an executable download.

    4. Re:Dear Developers.. by FlyingGuy · · 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:

      • Put their data files in "/program files".
      • Fail to set the correct rights to the registry keys they create on install.
      • Require "power user" or above permissions.
      • Scatter their damn DLL's all over the fucking hard drive, then rely on the OS to track them down and do the loading for them instead of keeping them with their main executable and loading and unloading them explicitly with their program.
      • Put all sorts of shit in the system or system32 directory.

      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.

      --
      Hey KID! Yeah you, get the fuck off my lawn!
    5. Re:Dear Developers.. by Anonymous Coward · · 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.

    6. Re:Dear Developers.. by Anonymous Coward · · Score: 0

      well m$ shouldnt have made it possible

    7. Re:Dear Developers.. by Nimey · · Score: 2

      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.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    8. Re:Dear Developers.. by hairyfeet · · Score: 1

      Oh don't even get me started on douchebag programmers friend! That is why i can't just "nuke it from orbit" when a home user box is brought in, because not only does the crap that come with consumer devices shotgun files and reg keys all over the damned place, but you NEVER know where the fuck they are gonna put user files!

      Since Win2K programs are SUPPOSED to put user files into a folder under my docs, but I've found them on the C: drive in some funky named folder, dropped on the desktop, again with a funky name, hell even a couple that stuck user files like pictures in fucking Win32!

      That is why I'm glad I've just about got all my users switched over to Win 7. Not only does it have better security but for shitty programs it just lies its ass off with file and registry virtualization to enforce data sanity. But I have to agree that a hell of a lot of what went wrong with WinXP was MSFT bending over backwards accommodating badly written programs. Sadly even today I see programs acting like everyone should run as admin and it should have access to anything and everything. You'd think in nearly 5 years programmers could get their shit together?

      --
      ACs don't waste your time replying, your posts are never seen by me.
    9. Re:Dear Developers.. by Anonymous Coward · · Score: 0

      But everyone has to jump in on the latest fad, don't you know that? I remember the "it'll all be thin clients all the way down!" fad

      To be honest, the only things I thought about was: does this work on a tablet PC and how can I convince IT to let this run on an internal server.

      Not that one should ever stoop to taking a computer to do hack...er, work on email during a 3 hours sales presentation on a product nobody is going to buy.

    10. Re:Dear Developers.. by gl4ss · · Score: 1

      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 ability while working in an office where all the computers are in kiosk mode though, but might just as well just write javascript then.

      --
      world was created 5 seconds before this post as it is.
    11. Re:Dear Developers.. by Anonymous Coward · · Score: 0

      Dear Anonymous COWARD

      I see what you did there...

  5. ln -sf browser operating_system by smoothnorman · · Score: 3, Insightful

    and in the end, (which, of course, is a "new beginning") what was the browser will want to be able to run a new and shiny alternative browser...

    1. Re:ln -sf browser operating_system by Anonymous Coward · · Score: 0

      b = webbrowser.get('lynx')
      b.open('http://docs.python.org/lib/module-webbrowser.html')

    2. Re:ln -sf browser operating_system by Anonymous Coward · · Score: 0

      Yup. We now have a Javascript VM within a "regular" OS within a "bare metal" VM. Am I the only one to consider this a failing of regular Operating Systems on both ends? Neither of these VMs would be necessary if an OS would really be a multi-user, multi-program environment.

  6. Re:1st by monkyyy · · Score: 0

    y, i say, this is quite a wonderful "first post", u must come join me for tea time this coming season, and it shall be a jolly good time

    --
    warning pointless sig
  7. It would be a lot easier... by drb226 · · Score: 3, Interesting

    ...to just build the Python interpreter right into browsers, like JavaScript.

    1. Re:It would be a lot easier... by Anonymous Coward · · Score: 0

      And increase the attack surface even more? Not to mention that Microsoft will insist on their proprietary implementation (Microsoft Python) with subtle, yet numerous differences from the standard implementation.

    2. Re:It would be a lot easier... by Anonymous Coward · · Score: 0

      "increasing the attack surface" is the modern luddite's catch phrase. and there's no such thing as "microsoft python"

    3. Re:It would be a lot easier... by Anonymous Coward · · Score: 0

      Google seems to be pretty satisfied that they can safely sandbox a python interpreter. Maybe they could put it into Chrome safely as well.

    4. Re:It would be a lot easier... by thiswillbegreat · · Score: 1

      Hmm, maybe so. I wonder if some of the newer Python implementations like PyPy or Jython would make that simpler. I know that one of PyPy's vaunted features is a webkit bridge, though that github repo is currently showing a 404.

    5. Re:It would be a lot easier... by qxcv · · 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).

      --
      "The most dangerous enemy of a better solution is an existing codebase that is just good enough." -- Eric S. Raymond
    6. Re:It would be a lot easier... by Anonymous Coward · · Score: 0

      http://wiki.python.org/moin/WebBrowserProgramming

      There but for the grace of God go I...

  8. Works Well! by amaupin · · Score: 1

    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 click on IDLE.

    Yes, I am lazy.

    1. Re:Works Well! by Anonymous Coward · · Score: 0

      guess what, next time you find your IDLE shortcut, right click on it and go send to desktop. Magical new icon appears on the desktop!

    2. Re:Works Well! by Anonymous Coward · · Score: 0

      even xp is too slow for me.

      http://www.launchy.net/

    3. Re:Works Well! by kbolino · · Score: 2

      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.

    4. Re:Works Well! by Anonymous Coward · · Score: 0

      or even hit [windows], type IDLE [enter]

    5. Re:Works Well! by Anonymous Coward · · Score: 0

      Why not just pin IDLE to the start menu or even just type it in the menu's search box?

    6. Re:Works Well! by Anonymous Coward · · Score: 1

      Yes, I am lazy.

      And retarded.
      You can just type IDLE and find it.

    7. Re:Works Well! by JohnnyBGod · · Score: 1

      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

    8. Re:Works Well! by amaupin · · Score: 1

      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.

    9. Re:Works Well! by Anonymous Coward · · Score: 0

      So, you are suggesting I fix Windows' brain dead menu by pinning my programs to the task bar? Well, that's just stupid. What happens when the task bar is cluttered up with 15 different pins? How about this for an idea? THEY FIX THE FUCKING START MENU!

    10. Re:Works Well! by tepples · · Score: 1

      What better user interface would you prefer to use to choose among 15 different programs that you use?

    11. Re:Works Well! by tepples · · Score: 1

      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.

    12. Re:Works Well! by Nerdfest · · Score: 1

      You could also just click Start and type Idle, and utilize the "Gnome-do" functionality that they finally have.

    13. Re:Works Well! by Anonymous Coward · · Score: 0

      The Windows XP dual pane start menu was the easiest fastest way to manage 15 different programs I've ever used. Just mouse over the menus and they quickly fan out. Very efficient. The Vista and Windows 7 click rests are abominations. Now when I use windows, I just use classic shell. Brings back the goodness of XP.

    14. Re:Works Well! by Billly+Gates · · 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 you never want to go back to XP again. It was that feature that finally won me over with the ribbon over the menus. When I go on an XP machine it drives me crazy to use the mouse at all to scroll.

    15. Re:Works Well! by Anonymous Coward · · Score: 0

      Also, you can search the programs installed by just typing into the Start Menu, and I imagine IDLE wouldn't get confused with anything else.

    16. Re:Works Well! by Jackmn · · Score: 1

      Try adding the directory that contains the IDLE executable to your path.

      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 convoluted.

    17. Re:Works Well! by cbiltcliffe · · Score: 1

      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 that's not in the start menu, like msconfig, do Ctrl-Esc, R, msconfig, enter.

      These methods work all the way back to Windows 95, so it's not like it's a new thing, either...

      And if you don't know how to bring up menu highlighting and hotkeys in Office 2K3 with the Alt key, then I'd put you in the same class of people who don't know about Ctrl-F.

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    18. Re:Works Well! by actionslacks42 · · 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.

  9. standard lib doesnt even work by rla3rd · · Score: 2

    import datetime print datetime.datetime.today()
    Traceback (most recent call last): File "", line 1, in ImportError: Could not evaluate dynamic lib: //lib/python2.7/datetime.so

  10. It makes Eclipse with PyDev feel responsive. by Anonymous Coward · · Score: 0

    My gosh, Python Fiddle makes Eclipse and its PyDev plugin feel responsive and lightening fast.

    I never thought I'd consider Eclipse to be a "fast" IDE, but web developers have managed to prove me wrong!

    1. Re:It makes Eclipse with PyDev feel responsive. by oakgrove · · Score: 2

      I have a several years old Thinkpad R60 with a T7200 core2duo in it running Ubuntu 11.04 and eclipse/pydev is very fast. Maybe you are having a hardware issue.

      --
      The soylentnews experiment has been a dismal failure.
    2. Re:It makes Eclipse with PyDev feel responsive. by FrootLoops · · Score: 3, Insightful

      You might have picked a better criticism of Visual Studio than "it takes up too much hard disk space." That's a pretty weak criticism in today's world of very cheap, very large drives.[on this scale].

    3. Re:It makes Eclipse with PyDev feel responsive. by Ice+Station+Zebra · · Score: 1

      Probably running on a corporate laptap.

    4. Re:It makes Eclipse with PyDev feel responsive. by Anonymous Coward · · Score: 0

      Are you referring to the same world with cheap memory and fast CPU's? Yes, a weak criticism, indeed.

    5. Re:It makes Eclipse with PyDev feel responsive. by Eskarel · · Score: 2

      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 is fairly shocking because you've allocated too much memory. The JRE, at least on Windows, isn't super great at moving between those two numbers either.

      Visual Studio runs as native code and so is both more responsive and takes absolutely no configuration to get up and running. Eclipse can be made to operate in a relatively efficient manner(depending on the JRE versions you have available to you), but it isn't like that out of the box, whereas VS is.

      Add in the fact that Visual Studio has improved an awful lot over the last few iterations whereas eclipse hasn't(though to be fair it was a lot better to start with), .NET is currently beating the pants of Java, and you start seeing VS coming out on top for a lot of people. I personally love eclipse, it's the best Java IDE I've ever used, and I can make it do almost anything I want either with 3rd party plugins or if I'm desperate my own code. On the other hand, Visual Studio 2010 is a seriously nice IDE, and .NET has improved a lot while Java has been rotting in the JCP for the last 5 years. Java 8 which isn't due out till next year won't even catch up on what .NET has right now, and if you're running on Windows it performs better and is easier to configure.

      I love Java, but Oracle has a long way to go to get it back up to snuff.

    6. Re:It makes Eclipse with PyDev feel responsive. by Robert+Zenz · · Score: 1

      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.

    7. Re:It makes Eclipse with PyDev feel responsive. by Anonymous Coward · · 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 control platform of choice... Of course, you many not need all of those, but you don't have to install what you don't need in Visual Studios either.

      That being said, I use VS for my own projects, and Eclipse for work. They have comparable speed, comparable configuration options, but Visual Studios seems to have a more intuitive configuration setup (ex: you can change all of your text color coding in one screen of the options window, rather than having to shift through several). It's much more concise. Also, the autocomplete in Visual Studio (at least with C#) is much better than that of Eclipse (at least with java). And the popup display of folded text is much more annoying in Eclipse than VS - you need to move the mouse a lot more to get rid of it if you accidentally make it pop up.

    8. Re:It makes Eclipse with PyDev feel responsive. by thetoadwarrior · · Score: 1

      Works just fine on Chrome 13 in Snow Leopard. Of course I'll stick with PyCharm or Vim.

    9. Re:It makes Eclipse with PyDev feel responsive. by FrootLoops · · Score: 1

      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 your last sentence, which discusses 'taking the pain away.'

  11. Oh great by Anonymous Coward · · Score: 0

    I just wrote a browser that runs in the Python GUI.

  12. More browser use by lavagolemking · · Score: 1

    I'll bet Richard Stallman would have something to say about this...

  13. Don't do stupid things and you won't have pain. by Anonymous Coward · · 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 thing and use a real desktop, or even a laptop.

  14. Source code? by Anonymous Coward · · Score: 0

    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.

    1. Re:Source code? by Sinthet · · Score: 1

      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.

    2. Re:Source code? by kripkenstein · · Score: 1

      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 (source code and build instructions are in the emscripten source code on github).

    3. Re:Source code? by vtcodger · · Score: 1

      "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.

      --
      You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
    4. Re:Source code? by MaxShaw · · Score: 2

      This is using my Empythoned build, which is CPython compiled using Emscripten. The version up on the repository is a little outdated, and the one the PythonFiddle guys are using is even older, which is why a lot of the standard library doesn't work on theirs.

  15. Proving correctness by tepples · · Score: 1

    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 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 verify it or sandbox it. And if "make no unnecessary outbound connections over any network interface" is part of correctness, then publishers of software distributed to the public have a perverse incentive to make their programs incorrect so that they can sell demographic information about users to advertisers.

  16. The alleged death of the PC by tepples · · 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.

    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 diminish. Without affordable hardware suitable for programming, people would be discouraged from learning to program as a hobby.

  17. in pygtk+webkit by Anonymous Coward · · Score: 0

    Does it run in pygtk+webkit?

  18. Re:1st by Anonymous Coward · · Score: 0

    posting with the number abbreviation does not count.

  19. Re:Dear Developers..Dear Managers by Anonymous Coward · · Score: 0

    Personally, I feel like the web is something that managers like, and developers don't. My 2 cents. The web is where it is today because of managers. Almost the real thing, but not quite. Probably managers invented multitouch just to have zooming in a web browser--lame feature.

  20. Re:Dear Developers..Dear Managers by Anonymous Coward · · Score: 0

    We're dealing with apples and oranges, documents and applications. Documents != applications. Documents shouldn't have behavior, that's the task of the application, and one shouldn't have to build an application out of a document. What we need is a real application object model, not a document object model. The data types should serve as the schema, not some crappy XML schema.

  21. Re:1st by Cryacin · · Score: 1

    He was too busy fiddling with his python.

    --
    Science advances one funeral at a time- Max Planck
  22. jsFiddle? Now THAT sounds cool. by SanityInAnarchy · · Score: 1

    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.

    --
    Don't thank God, thank a doctor!
  23. Hard to handle bugs here... by Anonymous Coward · · Score: 0

    Try a simple:

    while True:
            print "Hello, world!"

    On OS X Lion/Chrome, it locked up the page. This is a simple example; but code is not perfect, and bugs happen, and in a terminal you can simply ^C an infinite loop. Here, you'd lose everything, since the page becomes unusable.

  24. Similar Projects by William+Stein · · Score: 1

    Both the Sage notebook and codenode 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).

  25. sweet! by jon3k · · Score: 1

    now they can steal all your source code! awesome! i have an ide in "the cloud" too its called ssh+screen+bash+python

  26. PyPi? by cheaphomemadeacid · · Score: 0

    anyone got pypi to work? Else it would be _just_ python and none of the goodies :P (and mostly useless for real purposes)

  27. Dear Microsoft SHILL by mangu · · Score: 1

    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 was learning how to use the sudo command. No more worries about malware for me. I still have a backup CD-RW from 1999 with the /root directory that had all my files back then. I look at my multi-terabyte disks toady and wonder how I could have been so naive once.

    And there are still people who say Microsoft systems only have more malware because they are the most used...

    1. Re:Dear Microsoft SHILL by vtcodger · · Score: 1

      "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 the things that malware might do can be done without admin priviliges if you set your mind to it -- which malware creators presumably do. And don't overlook the risk of creating multiple application data files -- one in root and one in your normal user's directory. That'll cause things to run differently if you are running as root to do some maintenance job.

      I'm not saying that Linux security is as iffy as Windows although neither system was actually designed to be secure. I'm just saying that the illusion of Unix security is just that -- an illusion. The practical difference is that Windows is under constant attack whereas Unix attacks are more sporadic and less intensive.

      By all means, continue to do what you're doing. But don't be too confident that you've found an answer to malware.

      --
      You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
    2. Re:Dear Microsoft SHILL by mangu · · Score: 1

      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 available only as source code I can install as available only for myself, in which case it's in my user directory, or for the whole system, in which case it's in /usr/local/bin, installed using sudo.

      As for "application data files", those are normally created under each user's directory. There are several copies of course, with each user's configuration, as it should be.

      Normal Linux may not be specifically designed for extreme secure applications, if you want that you need SElinux, but it's far ahead of MSwindows in that respect, and has always been.

  28. Om nom nom nom... by Kwpolska · · Score: 1

    It looks like it (and an extension, which pretty much sits there and does nothing) took over 46 percent of my memory. That's a bloody gigabyte. ARE YOU SERIOUS?!

  29. This isn't anything new... by Anonymous Coward · · Score: 0

    Apparently, ideone.com has browser support and an API for 60+ languages (including different compiler/interpreter versions). I don't see how difficult it would be to write a multi-lingual IDE that uses their API.

  30. Browser-based development and IDE? by edmicman · · Score: 1

    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?

  31. Like PythonAnywhere? by fygment · · Score: 1
    --
    "Consensus" in science is _always_ a political construct.