Ask HN: MacBook Air for Web Development?
Okay... This may be a bit late as I already placed my order for a MacBook Air 13" 8gb RAM, 126gb SSD [latest model] (phew!), but I am wondering if you see it as a fit laptop for web development? I'm keeping my 15.6" Ubuntu Dell Inspiron laptop, but don't intend on using it much.
Also, are there any apps I NEED to know about if I'm going to be coding on a MacBook Air? If so, which ones? I'm mainly a Node backend developer.
55 comments
[ 5.4 ms ] story [ 31.2 ms ] threadI already have SublimeText and have been using it for a while, so I believe I'll continue to do so on the Mac.
Regarding programs, well, apart from your favourite editor I recommend an application launcher (http://www.alfredapp.com/) plus a terminal replacement (http://iterm2.com/). Plus a ton of necessary tools to work with terminal, such as git, homebrew, oh-my-zsh,...
Good luck with your new Air! :)
Can I ask what Homebrew is? I've seen it on GitHub, but I'm a bit confused. Is is comparable to apt-get?
Edit: My app recommendation is Spectacle (a window manager) http://spectacleapp.com/
P.S. I use a 2010 Macbook Pro (upgraded to 16 GB of RAM). Looking to upgrade as soon as the new Intel chips get released/offered in a Macbook. I'm happy with this dinosaur of a machine except I wish I had more cores for when I run VMs.
I currently use SublimeText (been using it for about a year or so), as I'm just so used to it, and I've already forked over the money. When ST 4 comes around, I'll totally look into starting with Atom.
Nice! This one is a Haswell. I never used a computer with a Haswell before, so this is new to me. Hoping for the best!
I bought the cheapest Air I could get (4 gig, 13 inch) and its been a dream. In the end my logic really was that, If what I'm creating (for the web) doesn't perform fantastically on this laptop, then its not worth shipping out.
So no regrets here.
I own 24" monitor but i used it only couple times with macbook, for me 13" is perfect size. I do rails, php and some web design and macbook air is just perfect for it.
Btw being able to take you laptop outside and not have to worry for power is just awesome.
- iTerm 2 (use ZSH for your shell and oh-my-zsh to extend it);
- Sublime (although it looks like abandonware because it hasn't been updated since December of last year);
- Dash for reading documentation;
- Hub (https://github.com/github/hub) to make Git better;
- Homesick (https://github.com/technicalpickles/homesick) for keeping your dotfiles backed up properly
Some other things you may want to look into for setting up your dev env:
- Boxen (https://boxen.github.com/_
- Laptop by Thoughbot (https://github.com/thoughtbot/laptop)
- Homebrew (this one's kind of obvious)
Sad to hear about SublimeText. It's a really good project in my opinion, but I have to agree with you.
I'd like to add Alfred to this list. Aside from my MacBook Air itself, it's probably the best purchase I've ever made.
All up, it seems the creator has taken a break and momentum has stalled. Sad, since I can't think of an editor I like as much as Sublime.
I have tried Atom in the past, but it just felt "thin" and "flimsy". Maybe it's because I've been using ST for so long I just am automatically against any other project that tries to compete for the market share. :)
And if you don't like something, just pop open DevTools and dive in! A lot to be said for that.
It seems to work great? Do we really need our text editors on a rapid release cycle?
That's my main concern at the moment.
The primary reason is that it's underpowered. A number of my co-workers used them until they got really frustrated with resource starvation slowing them down, and they switched to MBPs. Starting up Firebug on an Air on a sufficiently complex page or a webpage in Chrome that uses Flash can bring the thing to its knees.
The second thing is that I'm a big fan of developers developing in an environment analogous to their deployment environment. Chances are pretty good that as a Node developer, you'll be deploying on Linux, not on OS X. OS X does a good Linux impression, but there are a lot of errata that you're going to run into. Running a VM on an Air is going to really tax it. As the "Linux user" in my group, I tend to know what kinds of deployment issues the software will have, while my co-workers struggle with a host of OS X-specific bugs that I never contend with.
I use a pretty oldschool setup - headless Linux server that I work on via SSH/Samba. It's not for everyone, but it lets me work on my desktop (custom built beast of a Windows machine), Chromebook, Linux laptop, MBP, or even from more exotic locations (I've fixed production bugs from my phone before, including running test suites). Having your full development environment a) mimic your production environment, and b) be accessible from anywhere that you can get SSH is amazing.
That said, the MBA is a great machine if you're going to be moving around a lot. The form factor and weight are significant benefits, and the battery life is remarkable given its size.
I totally agree with analogous environments, and that's the reason I'm keeping my Ubuntu laptop.
I do move around quite a bit, and my current computer only has 6gb RAM and an i3, so they're both upgrades, and I usually never run into issues regarding CPU usage or RAM usage.
The huge downside is that I made the mistake of getting the 128gb option, which frankly is far too little. VM images, Photoshop, Office, and lots of little project files all take up a surprisingly large amount of space.
If you want to go for the MBA, get at least 256gb.
What CPU does yours have? I bought the i5 Haswell.
ST3, iTerm 2 2.0, XCode, Dash.
-You get 2 thunderbolt ports instead of 1, so you can run dual external monitors. (Yes the air can run dual apple thunderbolt screens but that's stupid - glossy, overpriced, etc).
-Retina resolution = more lines of code
If neither of those matter and you don't need 16gb of ram, then the air offers less weight and better battery.
Is it possible to upgrade the SSD after purchase?
Also, I will add the following to the list of apps you should have:
- Flycut (Clipboard Manager)
- GasMask (host file editor)
- Sequel Pro (if you're using MySQL)
- Dotfiles by Mathias Bynens (https://github.com/mathiasbynens/dotfiles)
- Any of your favorite task/to-do list manager.
Feel free to add more.
If you're going to be using Mongo, I highly recommend RoboMongo.
I currently don't have a use for a VM, as I just deploy to a staging server after local testing, but I'll keep those in mind!