627 points · by welder · 10y ago · 242 comments
In previous classes we had the students setup a Ruby and Rails environment on their own systems and not only did that take multiple sessions to get setup, but then we were dealing with environment differences that took the focus away from the basics of learning Ruby nearly every session.
There's no telling what this acquisition will bring, of course, but it's a good fit for AWS, so I'm optimistic that the service will continue uninterrupted. (Both the 3rd and 4th edition Rails Tutorial screencasts use Cloud9, so I sure hope so!)
Congratulations to Ruben and the rest of the Cloud9 team!
However, Cloud9 is much more convenient since it runs entirely on browser but VM solution could work in case C9 discontinues its free tier.
My department tries this occasionally. It fails because students either have
a) cheap pieces of shit with unreasonably poor performance under virtualization (I'm talking multiple seconds to bring a different window to foreground under Ubuntu)
b) Retina MBPs, on which Linux has absolute garbage text rendering due to quarter-assed (half-assed is giving it too much credit) per-application support for high-DPI displays. Staring at code for hours is hard enough when the code isn't blurry.
The department runs a Linux lab in one of the libraries with professionally maintained Ubuntu installs that already have everything professors request for their courses, and provides SSH access to those machines.
An interesting side effect is that you either get good at configuring your environment for yourself (to use your own Mac or Linux machine) or you learn to work with just a terminal (use Emacs/Vim and Bash over SSH).
BTW congrats to the Cloud9 team. They made a great product and selling to Amazon will ensure it lives on.
With students that had less than performant laptops, C9 filled the gap.
In that line, https://janitor.technology/, which relies on Cloud9, is a promising offering.
(Disclaimer, I consider the author a friend.)
EC2's t2.nano, at 0.6 cents per hour, is incredibly close to free. (And that's not even counting the 12 month 'free tier'.)
IF you run it continuously. hyperdeficit was talking about using VMs for teaching, where VMs would presumably be spun up and down as needed.
They claim to have workarounds which never worked for me.
I want to write code on a 2 lb MacBook, with continuous build-as-you-type in the cloud on a fleet of Xeons that have larger CPU caches than my entire project.
Have 5, 50, 500 tests that need to run? Run them all in parallel continuously and get immediate red/green feedback in your IDE. Behind the scenes Lambda takes horizontal scaling from minutes/seconds down to milliseconds, so go radically horizontal.
I want my editor, exactly as I left it, down to the open tabs and cursor position, on any machine. And pair-programming Google docs simultaneous-edit style, without either party giving up the ability to run/debug the software on their own.
What if the FaaS/Lambda lifecycle management was tightly integrated in the IDE? Working on, testing, versioning and publishing a function could be re-imagined in a non-file centric way.
We're considering building this in GitLab I want a local client that pushes my working copy to GitLab and runs tests on it. GitLab can receive the code, commit it to a 'hidden' repo, and run the tests. Sending feedback about failing test or successful tests back to the client. The client could be part of an official command line client, currently we have community ones under CLI clients on https://about.gitlab.com/applications/
See https://gitlab.com/gitlab-org/gitlab-ce/issues/19267 for more detail.
When you rent a Google Compute Engine machine, it doesn't matter how much you use the CPU, the monthly cost is the same (roughly $30/vCPU/month). So you incur no additional cost by restarting tests after each input character. And if we can spread multiple users' tests out over multiple machine instances, the cost would remain constant per user, but their tests would execute in parallel on multiple instances.
And it will need a client integrations and a way to make this 'hidden' repository and/or commit.
Any time I see a network-always-on browser-based service, I'm only interested in it if I can run offline and synchronize my state in the background.
Which is exactly what I do. I use a local editor on different machines. I sync my projects (git). I get builds and tests farmed out for me automatically (CI).
I'm just not dead in the water if I'm on a train, or a plane, or in a car, or my network dies, etc.
Your editor doesn't need to run remotely in order to do this; it just needs to be able to run things remotely in order to do it.
> I want my editor, exactly as I left it, down to the open tabs and cursor position, on any machine.
You could build this from syncthing and emacs, if you wanted.
> And pair-programming Google docs simultaneous-edit style, without either party giving up the ability to run/debug the software on their own.
You can do this, too, with emacs. It's just a simple matter of programming.
Why spend time reinventing the wheel when there's already a network-aware, extensible editor with man-centuries (man-millennia?) of extensions already built?
Alternatively, you're trying to say that a McDonald's Happy Meal™ is great food, when I'm serving salt-crusted ribeye, served with fresh English peas, roasted sweet corn and garlic mashed potatoes with cream.
c9 has a very low entry bar. It's not reinventing the wheel, it's improving it. You can't really compare a terminal based editor, with an extremely high learning curve, to a preconfigured web based IDE.
From rms's ruminations on Lisp & emacs (https://www.gnu.org/gnu/rms-lisp.en.html):
>> Multics Emacs proved to be a great success — programming new editing commands was so convenient that even the secretaries in his office started learning how to use it. They used a manual someone had written which showed how to extend Emacs, but didn't say it was a programming. So the secretaries, who believed they couldn't do programming, weren't scared off. They read the manual, discovered they could do useful things and they learned to program.
It's really not hard to use a decent text editor like emacs.
> You can't really compare a terminal based editor
emacs has supported X11 since at least November 1994 — your information is at least two decades out of date.
I've got a nice GUI emacs frame open right now.
> with an extremely high learning curve
Learning emacs is not really hard at all. There's a lot to learn, but that's because it does a lot. If something is quick to learn, by definition there can't be much substance to it.
> to a preconfigured web based IDE
Check out emacs prelude (https://github.com/bbatsov/prelude): it's a great some of mostly-sane emacs defaults in one easy-to-use package.
Heck, emacs out of the box is pretty great, too. It evens displays a nice little message about how to use its built-in tutorial.
Furthermore, their IDE is extremely slow and vim mode is broken. Other than that, I share your ambition and hope that one day some other company will solve this. Perhaps Microsoft will be the first. Visual Studio Code has as a nice web-based editor.
Nothing to install, no environment to configure, just log in and start editing.
Lambda would be cool, but really any way to spin up several machines near instantly and for just a few minutes without paying for full hours would suffice. GitLab CI has helped lots.
If you're seriously pursuing it at all, we should talk more.
Sublime doesn't handle this too well today.
Sure I can setup all of this manually a second time, but it takes too long to be practical.
(Maybe there's even a play for getting this stuff into the hands of non-engineering employees. Build the "Excel" of APIs, if you will?)
You're still supposed to migrate the code to staging and then production.
There are exceptions to every rule, that doesn't mean you should make shitting all over the rule your own new rule.
It's highly interesting how very young developers are using C9, naturally, to code.
Something great is happening behind this behavior, it's much more than an online IDE. It feels friction less to develop a website totally online for this kind of developers.
Also, for example, I can think many people using PC's on cybercafes prefering C9 to develop.
I really recommend to watch it live to understand it.
This is opposed to a straight up judgement, like what you have just done.
For a concrete use case: my dev laptop broke down in the midst of a project, and I could just use a generalpurpose computer at location, use c9 to spin up a server, clone the git repo and I had an IDE to go with. Did not need to wait for the sysadmin to let me access a terminal or to unblock certain ports. No loss of productivity whatsoever, I was up and running in minutes.
Also, I can give others access to said c9 workspace, and they don't need to know anything besides the programming language used, to make little tweaks.
I think I just realized how much lasting trauma the browser wars caused me. You're completely right, but my gut still reflexively respond: I know you have a shiny thing that works great in Internet Explorer, but those ActiveX controls won't run in Opera on Linux...
Rebuilding trust in the web as an application platform is going to take some force on will on my part...
(That said, I have grumpy reservations on the security of our current and future web - but I guess it's not really worse than what it was like when people were running Windows 3.11 and running random code in spreadsheets on a samba-share...)
† https://en.wikipedia.org/wiki/VT100#/media/File:Vt100-advent...
Consider the fact that it's super easy to buy a bunch of cheaper Chromebooks or tablets, fire up Nitrous or Cloud9, and now the focus can be on solving problems - rather than set-up/deployment.
Well, I just tried to sign up to c9 to give it a try, and it asked for credit card information (it is mandatory, even for trying it out). I'm not sure if all the youth has access to a credit card. Also, I don't think it is very user-friendly, but that is beside the point.
I get it that we need a better user interface than the plain text, but I fail to see any advantage of browsers either. Perhaps we really just need a better terminal emulator? I see the enlightenment guys has some new ideas[0]. Does anybody here know of anything else?
Or worse, they'll do deep packet inspection to make sure you are not using SSH. My high school did this, and I ended up stuck with Cloud9 instead of using my real server at home. Glad to be out of there.
Also in esports a lot of the event hype feels manufactured and forced.
I do like watching esports though, I just think there's so much room for improvement in the whole way the thing is presented.
That isn't an e-sports specific phenomenon though. Maybe it's the case more with US sports teams, but in something like football/soccer you have teams like Manchester United that have a massive global brand that is attractive to people in multiple countries and may have zero connection to Manchester or England as a whole. People in other countries will choose a team at some point based on specific players they like, a certain style of play, or even who their friends/family are already rooting for. Formula 1 likewise is also just a pure battle of the brands. Pick a team, follow it closely, and cheer for them.
I don't understand traditional sports teams. They claim to represent a geographic region, yet the typical player on such teams have as much history or loyalty to that region as I do to Jupiter.
As far as rooting for teams within a region, it usually boils down to finding your favorite personalities like that other guy said. Most of them stream on twitch for hours every day.
Also, all of the local regular sports teams I grew up rooting for never win anything so having no ties and getting to be a bandwagon fan in eSports cathartic for me haha
Not uncommon at all in my country. In fact, most major clubs have teams in many different sports.
Remember that most teams are named after their sponsor. A sponsor is not related to any city/esport. It's just a sponsor.
It's a bit more complicated than that, actually. Most of the large esports organizations (examples: Evil Geniuses, Cloud 9, Fnatic, Team Liquid) have an identity that's separate from both their sponsors and their teams. Teams that represent a single sponsor are pretty rare -- I've seen a few, but they're not common.
I liked Google's web based IDE when I was a contractor there and for about a year I experimented with using nitrous.io. Right now I am experimenting with using codeanywhere pointed at my own large server instance.
It is tremendously convenient having one development environment set up that can be accessed from all of my devices. Hopefully Amazon will raise the bar.
- https://cloud.google.com/source-repositories/docs/using-sour...
- https://cloud.google.com/shell/docs/features
Personally I think it's really nice.
They have one of those?
In all seriousness though, I agree with the general sentiments here. I really hope C9 doesn't get shutdown, it's incredibly nifty and I've found it saving my butt a few times (quick set up for teaching new devs, working on a borrowed machine, working on university* , etc)
* ports aside from 80/433 are blocked, so I couldn't push/pull reliably. I ended up uploading everything to c9, then just using it to push/pull.
No SSL? Boo! ;)
After a few years of headaches trying to help students get their local dev environments setup, we started recommending Cloud9 to all Students. Definitely the way of the future.
Amazon may have some cheap prices and their customer service has the margins available to offer refunds/replacements quickly. But that all is easy guise. Amazon is rotten inside. Each product team does whatever it wants. So how long can the exterior hold a toxic spill?
Those AWS dashboard icons look really nice. Makes everything look so organized and contiguous. But each of those services is done in different languages, different frameworks, by different teams, with whatever crap will hold the leaks and terrible patchwork programming by their average employee who will on average, stay less than a year. The churn is real.
It's one of the core paradoxes of economics. I want a cushy job with great pay, but when I go shopping I implicitly want everyone else to have a shitty job with low pay. There's a name for this paradox but I'm forgetting it right now.
It's very similar to the paradox of thrift: it's in my interest to save, but for me to save someone else must be spending. If everyone saves nobody can save.
Almost everything in economics is a paradox since there are two columns in accounting-- every transaction has a counter-party. It's bizarre for something not to be a paradox in economics.
Why do 27k engineers (in Seattle alone) need to write in the same language to make a service successful? How many SAAS startups have you worked at? How does Amazon/AWS compare to this? I think you're out of touch and/or lacking context.
The editor is really nice and I absolutely love the ease of window snapping and tailing log files using the command line panel.
Before Cloud9 I used PHP Storm. Still a very good editor, but I love editing files on cloud hosted machines as I can move from desktop to desktop and continue right where I left off.
Here's a script reference that I use to set it up: https://github.com/medatech/ubuntu-setup-scripts/blob/master...
"Terms of the acquisition were not disclosed but we’re trying to find out. And we’ve also reached out to Amazon for a direct confirmation of the deal."
and
"Cloud9 had raised just over $5 million from investors that included Accel and Balderton..."
https://techcrunch.com/2016/07/14/amazons-aws-buys-cloud9-to...
If this service doesn't keep running I will chain myself naked to the front doors of amazon's offices and won't let anyone in until they agree to bring back cloud9. It would seem to have big potential with the rest of amazon's services.
My stack (if you're curious): JRuby / Sinatra, d3.js. Keeps it lean.
Oh, my one gripe! I keep the IDE window full size, so whenever I switch applications and tab back to Chrome... my full sized window is gone. I have to select window -> my tab, and this SUCKS. IT SUCKS. I wish this were wrapped in a little 'chrome as an app' application.
My only concern is that this could possibly mean getting rid of SSH Workspaces. Please don't let that happen. SSH Workspaces are required for us, and if that goes away we will have to find another solution.
I suppose it might be more clear if I install and run the "core" - but there was no mention of docker or vm support, nor root access?
https://github.com/benlowry/chromeos-dev-setup/blob/master/s...
For any services/products outside Google, Cloud9 is truly the only service I have been really excited about. So much so that I've replied to their various automated emails thanking them for their services, and they've replied back. Love, love, love it so much. It is _so_ simple. I'm glad for the founders and the team, but I really hope Amazon keeps up the amazing support and the product they have.
What are some great use cases for this type of tool? Is it mainly for quick testing or temporary stuff? Or would you use it for something longer term? Indie developer or team?
Nice to see these products taking off from a pure cost perspective, I can buy a chromebook and do development as long as I have an internet connection.
Having a high quality editor built into Lambda would make it so much easier to work with.
They can implement it without buying the company.
Even if the license doesn't allow it, the license for ACE surely does and ACE is the meat of the editor.
https://github.com/ajaxorg/ace
Maybe they want the team because they want to move the product in a certain direction? I don't know.
One can make guesses:
- expanding into new verticals
- potentially "enabling" Cloud9 users to become users of other AWS services
- world domination!
Congratulations to the cloud9 team.
That was remote VM, some of the younger ones think are invented 20 years later ;)
Cloud 9 and Eclipse Che are different beasts. The primary difference is around the definition of a workspace. Eclipse Che workspaces have an encapsulation that include their runtimes and a self-hosted IDE. This, then, allows you to run Eclipse Che as a workspace server on any server or desktop. And since the workspaces are defined with configuration files you can move workspaces from one server to another.
The SDK is entirely open source - with no restrictoins, so there is a development model for how to customize both the IDE and the workspace.
Since workspaces embed their own runtimes, you can use Dockerfiles to create completely customized stacks. And we'll be supporting composefiles shortly.
We built Che this way to encourage ISVs to adopt for ucsotmization while also providing a simple IDE for developers. Codenvy uses Che to build out a distributed system that they host at beta.codenvy.com and also is installable by customers behind their firewall.
Cloud 9 is primarily a fully hosted SaaS with their IDE. The IDE features are similar but different, with C9 having more work around collaboration of users within the shared environment.
There is more details beyond this - but this is the essence.
I think CAR is how development will be done in the future. (Literally tomorrow)
Oh ok... I'll check back in an hour :)
I spent a whole week trying Cloud9, Nitrous and Eclipse-che.
Pros: good for teaching, colaboration, toy projects. Cons: still a few years behind any decent IDE.
I am the Che project lead.
http://ipfs.io/ipfs/QmSCrZUPkqH4gsncsD7tGXPiFpymsbwmywsHXLDh...
> Cloud9 combines a powerful online code editor with a full Ubuntu workspace in the cloud
This is the first thing I see on loading their website. Is this their main selling point? Why does my editor need to be "in the cloud"? It works perfectly fine on my local machine, and I could even automate syncing if I wanted. Also, I could just ssh into my server and start an editor there.
> Build WordPress, Django and Rails websites and test in 300+ browser/OS combinations.
Is this automated? Because who would want to test 300+ browser/OS combinations manually?
It also means I can have a nice IDE running on our development server instead of on my local machine, which is handy because I have two different computers I use for work (a desktop and a laptop.) My workspace is not just similar but literally the same workspace on both machines.
Ok. Do they allow two people to edit the same file simultaneously?
Hey, you just answered your own question. Beginners no longer have to setup their own machine/server, they can simply create an account on c9.io, they don't even have to pay for it and bam you have a full ubuntu workspace ready instantly without any effort which is very useful for teaching them their first programming language.
I already have a full Linux workspace ready instantly. I'm typing this in it right now. It's my laptop.
Linux is so simple to use now that my liberal-arts relatives are using it. Why use expensive, legacy, less-powerful OSes like Windows or macOS when Linux is available? Why run something over a net link when Linux can run locally?
For a rails app it's not a stretch to have to install postgres, rvm, ruby, some compiled gems, and redis. Then you need to make sure postgres and your rails server are running.
These aren't insurmountable and we can write documentation around it but compare that to 'Log into c9.io, copy this workspace and work on a ticket'.
I work with people that want to learn how to program and I hear feedback that getting an environment setup is overwhelming somewhat regularly. These online IDEs look like they can really combat that.
cloud9 on the other hand took me about 3 minutes to create an account, django workspace and to start developing with it.
that is a massive difference.
I have a handful of devices which I like programming from - I use Eclipse Che (the tech behind Codenvy Beta, similar to Cloud9) for some of my projects and I have exactly the same environment on all of them.
There's other ways to accomplish this - sharing dotfiles between machines and using Docker for environments - but a cloud IDE makes it a bit easier and less hassle to set up.
It does not HAVE to be. But it is another option and great one at certain situations. Such as showing someone how to start programming, working on small project without having to deal with setup time etc.
I really like it actually. It's not meant to be replacement of local machine IDEs.
I've been on Cloud9 for all my work (day job and freelance) for several years now and honestly can't imagine not using a web-based IDE.
Well, how else will they be able to steal your IP and passwords? How else will you be able to go get coffee every time the net's down? How else will you be able to spend years reimplementing elisp in JavaScript, poorly? How else will you get to experience the instability of a web browser while editing code?
Truly, a cloud editor is an advancement on the bad old days when we had editors which ran quickly, locally, with decades of extensions and kept our information safe.