News for hackers. Stuff that matters.
Re:Runnable – Edit, run, and share code in your browser by ebbv on Friday March 08, 2013 @10:38AM (#5343955)
At the risk of giving away a million dollar idea; nobody's gonna wanna really edit things in the browser. Too risky and missing features of whatever their favorite editor is.

But how about letting people push their code up via git? So you could have a runnable browser window open, push your changes up to your runnable repo and then hit run?

If this does turn out to be the key that breaks this open please remember it was my idea.

Re:Runnable – Edit, run, and share code in your browser by bmuon on Friday March 08, 2013 @10:57AM (#5344072)
Here's another idea. JSBin is doing something pretty awesome: it uses the HTML5 File API so that you can select a file from your computer and it syncs to different instances of the same bin while you edit it in your favorite editor. Check it out: http://www.youtube.com/watch?v=mY56fNmn2cE (keep in mind the video was taken during development, now it's pretty stable).

BTW some people like editing in the browser and that's why Cloud9IDE is alive.

Re:Runnable – Edit, run, and share code in your browser by tjmehta on Friday March 08, 2013 @02:20PM (#5345166)
Drag-and-drop support for files is coming really soon :)
Re:Runnable – Edit, run, and share code in your browser by creativename on Friday March 08, 2013 @10:56AM (#5344055)
Soooort of off-topic, but I've actually had a lot of success using Cloud9 IDE (https://c9.io/) as an in-browser editor. It really closely mirrors Sublime Text 2 as far as default functionality and appearance goes. Of course, I'm coming from a Visual Studio IDE background rather than a Vim/Emacs background, so I can't vouch for its usefulness for users more accustomed to that type of work environment.

Note: not affiliated with Cloud 9

Re:Runnable – Edit, run, and share code in your browser by judofyr on Friday March 08, 2013 @03:27PM (#5345548)
Was this an intended joke on Heroku?

Heroku started out as "develop Rails in your browser", but quickly pivoted into "host Rails in the cloud".

Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @03:43PM (#5345642)
We're not trying to be a cloud ide :) Think content, and lots of it..
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @10:40AM (#5343963)
Stay tuned :) We already offer this in our private beta.
Re:Runnable – Edit, run, and share code in your browser by oinksoft on Friday March 08, 2013 @10:51AM (#5344026)
I have to remember that line ;^)
Re:Runnable – Edit, run, and share code in your browser by joshuamerrill on Friday March 08, 2013 @11:07AM (#5344122)
Support for git would be awesome, but I think the product now is pretty great. I'd love to be able to hack away on APIs without doing the set up work.
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @11:09AM (#5344126)
Git support is available in private beta.
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @03:48PM (#5345668)
Git is going to be coming, very very soon ...
Re:Runnable – Edit, run, and share code in your browser by ceeK on Friday March 08, 2013 @10:53AM (#5344034)
At first I thought this was some sort of JSFiddle but for server backends. Is this what it is aimed at? Or is it more cloud development for teams?
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @10:54AM (#5344044)
First reaction sounds about right. We want to make it easy for anyone to share runnable code, across multiple stacks and platforms
Re:Runnable – Edit, run, and share code in your browser by supernayan1 on Friday March 08, 2013 @01:42PM (#5344954)
I want to sign in with GitHub and see my projects run.
Re:Runnable – Edit, run, and share code in your browser by retrograde on Friday March 08, 2013 @02:16PM (#5345143)
+1 for running my projects. Seems like this has all the pieces already, at least for Node stuff.
Re:Runnable – Edit, run, and share code in your browser by tantalor on Friday March 08, 2013 @11:49AM (#5344365)
In some of the examples that use OAuth, the tokens are things like GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET.

  var params = {
  	code: code,
  	client_id: 'GOOGLE_CLIENT_ID',
  	client_secret: 'GOOGLE_CLIENT_SECRET',
  	redirect_uri: callbackURL,
  	grant_type: 'authorization_code'
  };
Are these replaced somehow with real values? Where does that happen?
Re:Runnable – Edit, run, and share code in your browser by enos_feedler on Friday March 08, 2013 @12:00PM (#5344441)
They are replaced with real values on a proxy server, outside of the node.js process.
Re:Runnable – Edit, run, and share code in your browser by tantalor on Friday March 08, 2013 @01:01PM (#5344781)
Thought so! As I was walking to work I realized this was the easiest way to protect the integrity of the tokens.
Re:Runnable – Edit, run, and share code in your browser by pablasso on Friday March 08, 2013 @10:31AM (#5343919)
They are way more stable than a few years ago but I just never trust browsers to write anything at all.
Re:Runnable – Edit, run, and share code in your browser by steeve on Friday March 08, 2013 @12:56PM (#5344751)
Seems awfully similar to http://webshell.io/
Re:Runnable – Edit, run, and share code in your browser by tjmehta on Friday March 08, 2013 @02:14PM (#5345133)
Not really, webshell looks like there are trying to become an All-in-one API of APIs. Runnable is trying to be a platform for sharing code examples for APIs, modules, and any other full-stack code snippets.
Re:Runnable – Edit, run, and share code in your browser by fonziguy on Friday March 08, 2013 @03:32PM (#5345578)
Looks like Webshell is integrating APIs into your site, while Runnable is about API discovery, prototyping, learning from others (more of a Stack Overflow direction).
Re:Runnable – Edit, run, and share code in your browser by tectonic on Saturday March 09, 2013 @01:04AM (#5347576)
Here's what I've been looking for: let me put a badge on my open source project on GitHub which launches a Runnable with the project so that people can play with it without having to pull the source and set it up themselves.
Re:Runnable – Edit, run, and share code in your browser by cburgmer on Saturday March 09, 2013 @06:23AM (#5348091)
I am currently trying to set up a demo for a project, and a simple 'plug and play' would be great.
Re:Runnable – Edit, run, and share code in your browser by jokecamp on Friday March 08, 2013 @10:56AM (#5344057)
For a learning and code sharing facility I think it is very cool. I can try out and hack some code on technologies I have not experimented with yet.
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @10:57AM (#5344070)
Glad to hear!
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @03:59PM (#5345717)
Runnable.com is hiring. Come help us build something really cool http://runnable.com/about
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @04:01PM (#5345729)
If you find Runnable.com to be slow, please bear with us. We're getting slammed right now and it should get a lot better with the day.
Re:Runnable – Edit, run, and share code in your browser by cburgmer on Saturday March 09, 2013 @06:29AM (#5348101)
Copy pasting huge amount of JS libraries does not seem to work for me. Is there a way of uploading files from my local hard drive?
Re:Runnable – Edit, run, and share code in your browser by cburgmer on Saturday March 09, 2013 @07:19AM (#5348182)
Sourcing the files from other servers solved that for me. I am still thinking in terms of a locked down jsfiddle I guess.
Re:Runnable – Edit, run, and share code in your browser by FatalBaboon on Sunday March 10, 2013 @09:26AM (#5351776)
No code completion... so it's basically a colorful textbox. And it's the nth one I see. Some devs are just bored I guess.
Re:Runnable – Edit, run, and share code in your browser by zenocon on Friday March 08, 2013 @11:18AM (#5344175)
Looks really nice, and seems well done. Congrats. I like this a lot...like plnkr.co / jsfiddle for full stack examples.
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @11:19AM (#5344178)
You got the right idea :) What kind of full stack examples would you like to see?
Re:Runnable – Edit, run, and share code in your browser by anindha on Saturday March 09, 2013 @02:55AM (#5347774)
Does this color scheme look a lot like sublime text?

http://www.sublimetext.com/

Re:Runnable – Edit, run, and share code in your browser by mickaelkel on Saturday March 09, 2013 @09:11AM (#5348409)
What would be the price of your service or the business model?

It seems you will sell our developers APIkey registration...

Re:Runnable – Edit, run, and share code in your browser by dodolab on Friday March 08, 2013 @11:15AM (#5344153)
Looks cool. is there a way to add dependencies and packages (npm?)?
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @11:15AM (#5344155)
Yes, just edit package.json
Re:Runnable – Edit, run, and share code in your browser by dodolab on Friday March 08, 2013 @11:27AM (#5344223)
great! thanks
Re:Runnable – Edit, run, and share code in your browser by mike_ivanov on Friday March 08, 2013 @11:28PM (#5347328)
Does anyone know to make the cursor stop blinking in their editor?
Re:Runnable – Edit, run, and share code in your browser by SEJeff on Friday March 08, 2013 @11:32PM (#5347337)
setterm -cursor off

Also put this in ~/.bashrc for a solid yellow non-blinking cursor:

echo -n -e '\e[?17;14;224c'

Re:Runnable – Edit, run, and share code in your browser by quanfucius on Friday March 08, 2013 @01:20PM (#5344864)
Looks really awesome. Good job guys!
Re:Runnable – Edit, run, and share code in your browser by holms on Friday March 08, 2013 @10:22AM (#5343865)
and it's dead.. means it's not ready for hacker news invasion =))))
Re:Runnable – Edit, run, and share code in your browser by zolihonig on Friday March 08, 2013 @03:01PM (#5345410)
working for me. In the future: http://www.downforeveryoneorjustme.com/
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @10:25AM (#5343885)
Can you try again please?
Re:Runnable – Edit, run, and share code in your browser by tjmehta on Friday March 08, 2013 @11:24AM (#5344203)
it's up for me
Re:Runnable – Edit, run, and share code in your browser by duaneb on Friday March 08, 2013 @02:07PM (#5345090)
Is this javascript only?
Re:Runnable – Edit, run, and share code in your browser by tjmehta on Friday March 08, 2013 @02:09PM (#5345106)
node.js (backend javascript), and frontend javascript and css. Looking to support more backend languages in the near future (Ruby, Python, PHP, more)
Re:Runnable – Edit, run, and share code in your browser by dpiers on Friday March 08, 2013 @05:32PM (#5346179)
Check out jsrepl. It's what I used for http://replpad.com (collaborative python editing/execution)
Re:Runnable – Edit, run, and share code in your browser by patelkathan on Saturday March 09, 2013 @07:36PM (#5350160)
cool
Re:Runnable – Edit, run, and share code in your browser by pramodxyle on Saturday March 09, 2013 @06:18AM (#5348085)
cool..
Re:Runnable – Edit, run, and share code in your browser by akinder on Friday March 08, 2013 @10:21AM (#5343861)
I was able to see the homepage but then the site went down before I could get any further.
Re:Runnable – Edit, run, and share code in your browser by Xion on Friday March 08, 2013 @10:24AM (#5343878)
The Ballmer video on maintenance page more than makes up for any issues, though.
Re:Runnable – Edit, run, and share code in your browser by ykumar6 on Friday March 08, 2013 @10:25AM (#5343880)
Should be fixed now, are you guys still seeing the issue?
Re:Runnable – Edit, run, and share code in your browser by Xion on Friday March 08, 2013 @11:46AM (#5344357)
Works for me now. Thanks!
Re:Runnable – Edit, run, and share code in your browser by akinder on Friday March 08, 2013 @03:16PM (#5345491)
Works for me now as well!