19 ms·
Runnable – jsfiddle for everything
- bestest 12y agoDoesn't look like they're ready for the traffic though.
- jbverschoor 12y agoI suddenly came across this on google (pos 2) when searching for a simple cropping example with jquery + carrierwave. Looks pretty cool!
- duiker101 12y agoIt looks very nice indeed but I wonder why there is .net and not just c#. It might actually be better because this way you can have all the web functions too but might take a bit more for simple things.
- coldnebo 12y agoHeh, I had the same thought and was able to hack it pretty fast: http://runnable.com/U4x1Dioc6NMZvMy0/linear-scales-in-c-like-d3-scale-linear-for-d3-js http://runnable.com/U4x1Dioc6NMZvMy0/linear-scales-in-c-like... Enjoy!
- stuaxo 12y agoCool! If this had python 2 + pygtk .. python 3, gobject introspection + gtk3 it would be awesome, since it's a pain to set people up with these.
- joeyspn 12y agoDidn't know about this one... Looks cool for sharing snippets at StackOverflow
- TimFogarty 12y agoThis is cool. I'd love to have some sort of GitHub (or just Git) integration. That would be powerful.
- enscr 12y agoIt would be awesome to just open a project on github & run it without downloading / installing. Great tool to tinker & learn. Add some profiling tools to the mix while you are at it. Imagine you are trying to decide between 2 different libraries or frameworks. You could just fire them up in Github & try out for a bit before making up your mind. Would be nice to generate compile & generate binaries on the fly too instead of downloading them from 3rd party sources.
- TylerJewell 12y agoRunnable is a great example of a product that really understands their core use case and does it very well. They use Docker as the recipe-structure on the runner image. For your use case, we have been rewriting Codenvy for the past three years, both the IDE and the underlying infrastructure. The new system now also uses Docker as a tool for recipe construction of builder images and runner images. We then layer on an endpoint structure that we call Factories, which allows for automatic environment provisioning inclusive of code (from git or svn), the builder type (mvn, gcc, etc) and the runner environment which can be a pre-packaged solution (managed by Codenvy) or a custom environment as defined by a specialized docker recipe in your project space. The factories are just URL formats to make embedding or sharing entire environments (for cloning) easier. If you'd like early access to the next gen system, people can write me tyler at codenvy, and we'll get you hooked up. We've been in alpha since early Jan and will go public beta in another month or so. We are just cleaning up some remaining items.
- mcv 12y agoIt seems to be a mix of languages and frameworks. For example, it doesn't list Python, but it does list Django. No Javascript, but jQuery and Node.js (Angular programmers are out of luck).
- vcherubini 12y agoIt has Node.js, which I guess is JavaScript. Or do you want direct access to V8? Edit: If you expand the list of supported languages, it shows Python too.
- mcv 12y agoYeah, but node.js is a framework, not pure js, and I suspect it doesn't do DOM-related stuff. jQuery is probably better suited for general in-browser javascript.
- mariusasdf 12y agoThis reasoning seems fundamentally confused, so I feel like clarifying some concepts: On Runnable you can create basic client-side JavaScript files to be run in the browser (without jQuery) and do window and DOM manipulations. Node.js isn't a framework for the browser (like jQuery), but a server application platform (with a bunch of objects and functions). "Pure js" doesn't exist as an environment. It runs within a parent environment (e.g. a browser or a server) and manipulates the global objects in that environment. JavaScript is just a language specification, and can be implemented in any environment. (For instance, it's implemented in Adobe Illustrator.)
- mcv 12y agoYes, but jQuery is not the only way to use javascript in the browser. Why that restriction?
- mariusasdf 12y agoOk, got you. If you use the "Create New" button in the top right corner, you get the option to create a "JS" project. The project template comes with jQuery pre-installed. However, it can easily be removed. I guess the people behind Runnable assumes that it's more convenient to have to remove jQuery than having to add it for each new JS project, and personally I agree with that assumption. Hope this helps!
- akanet 12y agoIf anyone is looking for a similar system but more focused on collaboration and working on code in real-time, check out: https://coderpad.io https://coderpad.io The target use case is interviews, but it works well for a wide variety of use cases as well.
- NicoJuicy 12y agoDoes anyone know which tools this would use? Eg. Apache Thrift can compile definition files to different languages. But i don't think that is used.
- joshvm 12y agoI've always liked http://ideone.com/ http://ideone.com/ for testing snippets. Bewildering array of supported languages including esoterics.
- enscr 12y agoNifty, but this one has a higher purpose. It can run an entire project in a framework.
- jbverschoor 12y agoI've just ran a full rails application. It creates the database etc and then allows you to browse the site. They provide company accounts. Seems kind of nice to have a full working piece of code working within a few seconds. I can think of stripe, facbeook or any other company that provides an api. The only problem with a full working application is that it's easier to miss what steps should be taken.
- ozh 12y agoQuite choppy at the moment so it's hard to play with, but how does this differ with ideone.com ?
- TeeWEE 12y agoWhere are they running the code? I could easily write malicious code that would crash the machine on which the code would be running on.
- nkozyra 12y agoI may be wrong here but to address a comment above, my hunch is this is spawning a light, short-lived VM for this, which doesn't eliminate security concerns but would be sandboxed enough to make it tougher. I was trying to get some info on environment in C++ but unfortunately, > Oh no, there's a problem with Runnable!
- nkozyra 12y agoActually, after playing around the system doesn't seem to be ephemeral, so hopefully something along the lines of Docker as mentioned below.
- TheHydroImpulse 12y agoYep, there's playpen[0] that's ultimately used as a security sandboxing. This is what's used on the new Rust playpen area: http://playtest.rust-lang.org/ http://playtest.rust-lang.org/ (Not fully ready, still needs some beautifying -- that's why it's on playtest and not the play subdomain). [0]: https://github.com/thestinger/playpen https://github.com/thestinger/playpen
- Intermernet 12y agoMy guess, something like Docker. It only matters if you can break out of the Linux container.
- stevekemp 12y agoIt used to be trivial to break out of docker containers, if you had root within them. I suspect that is still the case.
- 12y ago
- jbverschoor 12y agoI found a full working rails app, which does everything from creating the database to running the webserver. What I'm actually interested in is how they suddenly got on nr 2 in google :-)
- vincentkriek 12y agoI'm missing plain old C? You could use the C++ one but an extra one for C would be nice.
- hellbreakslose 12y agoHmm am guessing this site is getting a lot of traffic at the moment.
- mercnet 12y agoJust tried selecting Flask and got: Oh no, there's a problem with Runnable!
- drewcrawford 12y agoPython 3 please...
- volent 12y agopython3 works (3.3.1 by default but you can install anything) see this example : http://runnable.com/U4yefk00JdINRGsH/python3 http://runnable.com/U4yefk00JdINRGsH/python3
- mhax 12y agoI'm sad theres no scala support
- adamc 12y agoI noticed that the terminal supports vim and nano. Wish it supported emacs, but I'm still impressed.
- emilv 12y agoapt-get install emacs24-nox
- ballpoint 12y agoThis might just be the Hacker News effect, but it currently seems unacceptably slow.
- thrillscience 12y ago"Everything"? Where's Erlang? Where's Lua?
- emilv 12y agoDidn't find Haskell.
- welly 12y agoAnd where's Cobol?
- Anandkumarpatel 12y agoYou can actually create your own example with Erlang or Lua :) We provide a person VM for you to use and share. Simply start with a base example like (runnable.com/new/bash) install the compilers you need and click publish!
- thrillscience 12y agoThanks! It would be nice to see support for real languages.
- RobotCaleb 12y agoHow do you define that?
- yaakov 12y agoBest not to advertise compatibility with everything unless you are sure that it really is compatible with everything. Otherwise it is too easy to mislead people (who will load the site, check for their favorite language, not see it and never come back)
- pascalo 12y agono go?
- sundip 12y agoHere are some examples in Go: http://runnable.com/go http://runnable.com/go
- truncate 12y agoWould be nice if UI takes complete screen, particularly the code editor.
- emilv 12y agoIt's pretty strange to get root access to a server, even though it's just a Docker VM. We can install anything we want, compile any C code we want, DDoS and spam anyone we want... The machine is also crazy loaded right now, with 100% load on all cores (according to htop that I installed from the package repo), almost run out of RAM and disk space decreasing fast.
- NathanKP 12y agoI'd be willing to bet that someone has already run a fork bomb just to see what would happen.
- ykumar6 12y agoYes, I'm from Runnable. People have tried fork bombs. We are pretty good and cleaning them up. Please do not try this and let other users enjoy the platform
- pouzy 12y agoWhy wouldn't you use a normal user and not root ? This seems overly dangerous
- ykumar6 12y agoWe follow an honor-based system. If a user abuses root access, we take their privileges away
- Alupis 12y agoNice, but some users are not "honorable". And you make it super easy and quick to make accounts, no confirmation, just enter some email address. (not that i'm complaining about that part, i like easy signups... but it may open you to abuse).
- codygman 12y agoI installed ghc just to see if packages could be installed, sorry if that caused you problems.
- joshdance 12y agoFor some crazy reason I thought Objective C would be included. Still awesome though.
- zupa-hu 12y agoI must say I'm impressed. And its response time is not bad either. But.. how will it scale?!
- singingwolfboy 12y agoWhat's the monetization model? This looks awesome, but it needs a way to pay the bills if its going to survive.
- rrosen326 12y agoI too wonder this. I assume runnable, jsfiddle, plnkr, etc. make money somehow, but I've always been curious as to how? I love the services and really appreciate them, but I don't get it. Any ideas?
- ykumar6 12y agoWe are bringing down the unit economics of running the site to keep it up affordably. Apart from that, Runnable will continue to operate as a free service for developers. We need the help of the community to maintain the site/content. If you'd like to help, feel free to drop me an email - yash [@] runnable.com
- orbifold 12y agoIn the case of jsfiddle almost everything runs on the client, so the operating cost should be relatively low.
- gcb0 12y agoFirst thing i looked was a "pricing" page to send to my company bean counter! i want that installed internally so we can send live code instead of boring pastebin links
- yoanizer 12y agoWhat's added value compared to ideone.com?
- taternuts 12y agoIt's really not even comparable to ideone.com. You get a full VM provisioned for your snippet/project and you choose what stack you want
- thearn4 12y agoI like it. Any way to get third-party python libraries (e.g. numpy, scipy) to work with it too, in a python project?
- volent 12y agopip install scipy in the terminal should work
- path411 12y agoAwesome, I love the multiple file approach. This is what I've started to realize holds backs a lot of similar services. (Especially jsfiddle). I'm glad someone was able to capture something I've been looking for. And of course I'm going to have to bug you for TypeScript support!
- ErikRogneby 12y agoThis is going to be great for stackoverflow answers!
- hcm 12y agoSimilar to http://codecube.io/ http://codecube.io/
- jackmaney 12y agoVery nice! This is actually better than a "jsfiddle for everything", as it has tagged and searchable snippets.
- matdes 12y agoThe service looks great, I just wanted to comment: when I opened the page, my immediate thought was "is this done by Heroku? This page looks a lot like heroku"
- dougzor 12y agoCongrats to Yash and the gang, great to see some GT grads doing exciting things!
- rmah 12y agoNo perl? Really? Sheesh.
- Alupis 12y agoHere's some system specs they are running your code in: ~~~~~~~ Executing Build Command: javac /root/HelloWorld.java Executing Run Command: java -classpath /root HelloWorld Cores: 4 CPU Arch: amd64 Total Mem (Bytes JVM sees): 236257280 Max Mem (Bytes JVM sees): 3506438144 Free Mem (Bytes JVM sees): 235023784 Root Dirs: / Get OS (direct output): Linux Get OS (sanitized output): Unix/Linux OS Arch: 64 Process exited successfully ~~~~~~~~ http://runnable.com/U4zos2qEWoJSgH4Z/sys-info-example-for-java http://runnable.com/U4zos2qEWoJSgH4Z/sys-info-example-for-ja...
- Anandkumarpatel 12y agoto be specific it is an Amazon EC2 m3.xlarge instance running with magic inside
- taternuts 12y agoThis really is an awesome site, and I was really impressed when I first discovered it. It's like having a nitrous.io box provisioned on the spot in whatever stack you want, for something as simple as a 3 line snippet of code to a full on project (although probably not the best place for that). I hope more people start using it and contributing to the examples, it's really nice to be able to walk through full-stack snippets
- sootn 12y agoYou should hack in Swift. Would bring extreme amounts of traffic as Swift only runs on OSX and behind paywall.
- recentdarkness 12y agoAs cool as this is, I am honestly curious how you could monetize such a service? When I have some ideas I am trying to implement, I always try to see how you can get at least the cost of running a service back in. I don't like the thought of taking seed money from some investors without having a plan for making money. So how would you monetize this? Edit: Please don't say advertising, that would be probably the most obvious choice, however still... Are there other ways?
- owenversteeg 12y agoI'd really like CLisp or Scheme. Other than that, it looks good.