Live data from Hacker News

Setting Up a Local Development Environment in Chrome OS

jeremyckahn.github.com

21–30 of 41 posts

Re: Setting Up a Local Development Environment in Chrome OS

#21
post #6

Vim version referenced is horrifically out of date. Their dev trunk is pretty stable, it'd be good if he'd update the post.

Article author here. I can try a newer Vim when I have some time and update the post, this was just the first thing I got working. Thanks for the heads up.

Re: Setting Up a Local Development Environment in Chrome OS

#22

The real question is why have we devs been forced to bastardize this OS since 2009 in order to actually use the darn thing? Where's the innovation Google? Where's the Chromebook for Devs? Because I bet if we looked at the numbers, we're the only ones buying these things anyways.

Ummmm. It is possible to run a full-blown Ubuntu including arbitrary kernels etc. Some are doing it. This is just an easier method if all you want is access to a powerful Debian userland: it turns out that Debian already solved the problem of creating a self-consistent cross-compiled directory tree ages ago so it makes sense to reuse that solution here.

Ubuntu is still not ChromeOS -- my point is simply, why has Google not pursued the "lets build a $250 dev box for startups" avenue... since we've been playing this game going on 4 years now with not much traction beyond the dev community.

Re: Setting Up a Local Development Environment in Chrome OS

#23
post #20
post #13

I love my chromebook so I'm fairly interested in doing this. I have two questions: 1) How does having a chroot environment affect battery life? Does access to the Ubuntu tools cost a ton of battery? 2) After I go into developer mode can I still get updates to Chrome OS?

Article author here. Anecdotally the battery life takes a bit of a hit, but I've been running it pretty hard to get everything installed. I haven't done any tests. I have a suspicion that Chrome limits its CPU usage, and the chroot does not. That said, the battery life isn't completely shot in the chroot. I got my Chromebook on Monday, so I haven't updated it after initial boot. I'm not sure about the updating issues…

Thanks for the preliminary response. I am very tempted to do all of this "hacker" stuff to my Chromebook but I'm worried that's a slippery slope. As is I have no local files, no battery worries, so it's essentially a maintenance free machine. Once I start doing local work I'm going to want more and more until it's basically just a netbook. I think it's maybe good for me to have a machine where I can't constantly be tinkering.

Re: Setting Up a Local Development Environment in Chrome OS

#24
post #13

I love my chromebook so I'm fairly interested in doing this. I have two questions: 1) How does having a chroot environment affect battery life? Does access to the Ubuntu tools cost a ton of battery? 2) After I go into developer mode can I still get updates to Chrome OS?

I've been thinking about getting a chromebook but as a macbook air user I'm not sure if it's worth it. Do you have any thoughts on an Air compared to the advantages of a chromebook?

Thanks!

Re: Setting Up a Local Development Environment in Chrome OS

#25

Earlier quoted context omitted.

He covered web based IDEs and also having a dev machine to ssh into, most people have either no internet or shitty internet outside of their home and work. How does action.io solve that?

> most people have either no internet or shitty internet outside of their home and work we think this is a situation of "skating to where the puck is going to be, rather than where it is", but we do have plans to build a bridge between an offline/online dev environment. If you'd like an invite, please email me at arun action io

Is there any reason you couldn't keep an offline copy of the environment in the browser by using http://bellard.org/jslinux/? It takes a while to boot, but if you saved the RAM to local storage then it should resume instantly.

You'd have to sync the state of the VM when they come online again, but that could be done efficiently from within the VM in a manner similar to dropbox syncing.

Re: Setting Up a Local Development Environment in Chrome OS

#26
I know the OP was interested in unix tools, but I've been wondering could you build a lightweight IDE or dev toolset in chrome itself? It looks like action.io and cloud9 have been some nice browser based tools, but what about building something using google native client that runs locally in chrome?

Re: Setting Up a Local Development Environment in Chrome OS

#27
I know the OP was interested in unix tools, but I've been wondering could you build a lightweight IDE or dev toolset in chrome itself? It looks like action.io and cloud9 have been some nice browser based tools, but what about building something using google native client that runs locally in chrome?

Re: Setting Up a Local Development Environment in Chrome OS

#28

Earlier quoted context omitted.

Ummmm. It is possible to run a full-blown Ubuntu including arbitrary kernels etc. Some are doing it. This is just an easier method if all you want is access to a powerful Debian userland: it turns out that Debian already solved the problem of creating a self-consistent cross-compiled directory tree ages ago so it makes sense to reuse that solution here.

Ubuntu is still not ChromeOS -- my point is simply, why has Google not pursued the "lets build a $250 dev box for startups" avenue... since we've been playing this game going on 4 years now with not much traction beyond the dev community.

Do these machines have traction in the dev community? Aside from a couple of blog posts like this, I haven't really seen much.

AFAIK, most sales are still to schools and a few enterprise installations: http://techcrunch.com/2013/02/03/maybe-those-chromebooks-wer...

"Still, with over 2,000 schools now using Chromebooks, the real market for these devices sure seems to be in the education space. Over the last year or so, I’ve heard from a number of educators that they prefer to use Chromebooks with their students than an iPad (their students probably think the exact opposite…). Not only are they obviously cheaper and come with service contracts and management consoles for administrators, but having a full keyboard and larger screen clearly make them attractive devices in the view of many teachers and school administrators. The fact that the devices auto-update regularly and are pretty much safe from viruses also makes for an attractive selling point when compared to traditional laptops. For Google, of course, this also means many of these kids will grow up in the Google ecosystem of Gmail and Google Drive, which surely isn’t going to hurt it once these students go on to college or get jobs."

Re: Setting Up a Local Development Environment in Chrome OS

#29
post #13

I love my chromebook so I'm fairly interested in doing this. I have two questions: 1) How does having a chroot environment affect battery life? Does access to the Ubuntu tools cost a ton of battery? 2) After I go into developer mode can I still get updates to Chrome OS?

I've been thinking about getting a chromebook but as a macbook air user I'm not sure if it's worth it. Do you have any thoughts on an Air compared to the advantages of a chromebook? Thanks!

It's hard to say. I bought the Chromebook because I have a Macbook Pro but I wanted something lighter, cheaper, and with better battery life to use in class and on the go. I really wanted a MacBook air but at $250 versus $1000+ I couldn't justify the upgrade. I think if you already have the MBA you can probably avoid the Chromebook for now as the use case is largely the same. However if you want something cheap and light to browse the internet and use Google Docs/SSH on the couch then go for it, you won't regret the purchase.

Re: Setting Up a Local Development Environment in Chrome OS

#30

I know the OP was interested in unix tools, but I've been wondering could you build a lightweight IDE or dev toolset in chrome itself? It looks like action.io and cloud9 have been some nice browser based tools, but what about building something using google native client that runs locally in chrome?

This. I have been considering trying but I have no experience with such tools so I think the task would be a little bit beyond me. I can't see a reason why Cloud9 couldn't make an offline version for Chrome, minus a few features.
Post reply on HN