Ask HN: Do you use a Chromebook for dev? What is your toolchain?
I am thinking about getting a Chromebook to use on the go to thinker with. I like that it is light weight and inexpensive. I've also read some positive reviews about using crouton but was curious if anyone has been successful with it more than just as a proof of concept.
17 comments
[ 3.2 ms ] story [ 49.5 ms ] threadThere are occasional slowdowns, mainly when using Firefox. The 16Gb of SSD are quite limiting, but it's usable.
I mainly develop using Emacs with various extensions. I've tried Eclipse and it wasn't even remotely powerful enough. I do Python, C++, Web dev and a bit of Common Lisp.
Be aware that dual-booting Linux isn't yet possible on BayTrail-powered Chromebooks because of compatibility issues with SeaBIOS.
Obviously it doesn't compare to something like a Macbook Air - which I have with me this time round.
I avoided to jumping through hoops to get Linux installed, avoided managing scarce local storage, gained a copy of Windows 7, and got glorious hardware with a robust secondary support market.
Oh, and the keyboard. What I gave up was spending an extra $100 to get something new. For me it was worth it. YMMV. If I didn't want Linux (or Windows) The calculus might be different.
I use node, ruby, postgres, redis, rvm, nvm, terminator, atom, and smartgit.
I have tried sublime and visual studio code also and both work, I just prefer atom.
All programs I have open in their own window or tab and use chromeos native browser for web browsing and dev tools. One exception is smartgit. It spins up multiple processes and I haven't figured out how to run it without running a full Ubuntu desktop.
If you plan to try it out install crouton with xiwi,extension targets and use xiwi to open the programs.
I like it like this because I really just need a browser and a terminal. ChromeOS is a browser so no need for a full DE.
Pros -
Lightweight
~8 hours battery life
Great keyboard
Boots and shuts down very fast
Extremely durable for what it is. My 90 lb bloodhound steps on it constantly, and has never harmed it despite my freaking out.
Cons -
Suspend/hibernate is flaky - I disable them
The touchpad was hard to get used to
Hard drive space can be limited (16 GB in my case).
Overall, I much prefer it to a fullsize laptop. If you have any questions, let me know.
He also observed that modern MacBooks and good Linux machines, like that 13" Dell, can be bought for $1000 – $1500 and last for years. For those prices he'd rather buy, either new or refurbished, and have less hassle.
Look up the ChrUbubuntu script for pointers on partitioning but it's not really needed as newer Linux kernals have most of the patches it applies. http://chromeos-cr48.blogspot.in/2013/10/chrubuntu-for-new-c...
Some software that won't run on ARM:
- Skype (use Google Hangouts instead)
- SVN (why aren't you using Git already?)
- Sublime Text (I begrudgingly use Geany or Ninja IDE)
I suspect that's the result of an update in the underlying ChromeOS, but I can't say for sure. Regardless, I think I'll wipe ChrOS off anyway and just put Debian Jessie on it. I don't like to think my setup can be broken by an underlying OS update.
I mostly like the hardware. My biggest gripe is the lack of a delete key on the keyboard, and the placement of the power button just above the backspace key makes it easy to hit inadvertently,
Overall, if you have something that's nearly always on - like a server or VM - then the Chromebook will treat you really well. Even if you don't have one, you can easily use free services such as Koding and Cloud9 for development systems, all without even touching crouton. The only thing you'd really need crouton for is if you want more fine grain control of the software living on your machine, install other program (e.g. firefox, tor browser, atom, or any linux programs).
As far as hardware, the Chromebook has just what I need to survive. The speakers on the Toshiba Chromebook 2 are awesomely loud, and made by SkullCandy which explains that. The battery life at 100% can easily last 10-12 hours of full use. The display is a gorgeous 1080P IPS display, and it has HDMI out just in case. The 4GB full-HD model also has a 2.58 GHz intel celeron processor, so I don't have to worry about ARM compatibilities and it just runs very well, plus it has 4GB of RAM to help with that processing. One factor I was very surprised about was the weight: it's barely there. Seriously though, I didn't expect it to be that light. But it doesn't have a fan, so that could explain why it's so light - not enough thickness to pack heavier componentry into. And it doesn't get too hot at all either, unless you're using it from 100% to dead constantly with heavier processing then it gets just a bit warm.
Overall, if you can shell out the couple hundred dollars for a Chromebook, I'd go for it.
I've installed crouton and the extension that lets it run in a browser tab. It works pretty well for development tasks. I also use a couple of cloud dev environments (nitrous.io and codeanywhere) and of course just straight up ssh into a server if I feel like it.
I tend to work in any of ruby, python, c#, go, php, general front end javascript, html, css and lots of database stuff - so essentially various forms of web dev. I've never really had any trouble getting things up and running in croutaon - even managed to get mono and c# working and the latest visual studio code on it.
Which of the three options I use (crouton, cloud, ssh) is really down to whim. I'm comfortable using different dev environments, which I think helps - I'm not fanatical about any particular editor or tool chain - so I'm happy in vim, sublime text, visual studio, online editors etc and climb in and out of languages as I need to. The key for me is to have a disciplined git workflow with my repositories stashed nicely online. The only thing I miss now and then, is some easy image optimisation in the chromeos itself.
I kind of love the fact that the chromebook has great battery life, a pretty comfortable keyboard and that it's basically disposable (I got a factory second for less than £100). It's also pretty sturdy. I've travelled a fair bit with it, dropped it and banged it around, it's been splashed, had coffee poured on it, children's grubby fingers poking the screen - I just don't care...I wipe it down and carry on. It's kind of nice to not be precious about my equipment and the discipline a small hard drive forces on me means everything is properly stashed and backed up so if the machine dies...well c'est la vie.
Right now the Chromebook is being used as a chrome cast station that I leave by the couch. Today it was streaming classical music youtube videos for me.