5 ms·
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.
- rzimmerman 12y agoYou'll want iTerm2 (free) as well as a good editor (I use SublimeText).
- NoahBuscher 12y agoAwesome! Thanks. I already have SublimeText and have been using it for a while, so I believe I'll continue to do so on the Mac.
- tzaman 12y agoAfter purchasing my Air (same specs as you, apart from SSD, mine is 256GB), I sold pretty much every computer I had because I just stopped using them. I do a lot of Ruby on Rails and AngularJS development + a bit of NodeJS from time to time. One thing I'd recommend is having an external monitor (preferably somewhere in 24"-27") because 13" IS to small to comfortably work on every day, 8+ hours a day. Regarding programs, well, apart from your favourite editor I recommend an application launcher (http://www.alfredapp.com/ http://www.alfredapp.com/) plus a terminal replacement (http://iterm2.com/ 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! :)
- st3fan 12y agoI also have an external display but I actually prefer just the (11") air. Because with less on the screen it lets me focus better. Very personal though. But it works well for me.
- NoahBuscher 12y agoNeat perspective. I'll have to wait to compare it to my existing laptop (15.6 inches).
- NoahBuscher 12y agoThanks for the awesome suggestions! I'll look into monitors. Can I ask what Homebrew is? I've seen it on GitHub, but I'm a bit confused. Is is comparable to apt-get?
- antino 12y agoIt's an OS X package manager. Indeed, it is comparable to Aptitude. Edit: My app recommendation is Spectacle (a window manager) http://spectacleapp.com/ http://spectacleapp.com/
- NoahBuscher 12y agoAwesome! Totally will get.
- devinhalladay 12y agoI prefer Moom (http://manytricks.com/moom/ http://manytricks.com/moom/) to Spectacle because it's much more configurable so it can adapt to my needs.
- tzaman 12y agoI use http://www.irradiatedsoftware.com/sizeup/ http://www.irradiatedsoftware.com/sizeup/ for managing windows, not free, but gets out of the way and has great shortcuts as default :)
- turnip1979 12y agoVagrant is great for dev. Sublime is awesome and atom is pretty decent too. I use Smultron for short text notes. I don't use iTerm2 ... just the built-in terminal. 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.
- NoahBuscher 12y agoVagrant looks awesome! I'll totally get that. 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!
- chadkruse 12y agoI snagged the same machine + the 256GB SSD upgrade two weeks ago and am quite pleased (I spend the bulk of my day in Meteor). Coming from a 15" MBP I was a bit nervous about screen real estate, but the 13" is plenty. One side benefit I didn't expect was the portability of the thing got me away from the desk more (moving around is a good thing imho). So...damn...light!
- NoahBuscher 12y agoAwesome! My current computer is a BEAST (in terms of size - definitely not power), so portability will be pretty new to me.
- notduncansmith 12y agoSeconded on the screen real estate - I went from a desktop setup with 2 widescreen monitors, to the MBA and I'm more productive than ever.
- tholman 12y agoSeriously, yes. 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.
- NoahBuscher 12y agoAwesome! That's exactly what I wanted to hear.
- nedzadk 12y agoI bought Air (2013 model) 13" 256Gb and 4gigs of RAM. Using following iTerm2, Photoshop, Safari (occasionally Chrome when some web videos are not working on safari because of flash). 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.
- NoahBuscher 12y agoSweet! Battery life on my existing laptop sucks, and Ubuntu is a power hog. As noted, I'm getting a 8gb version, but are you finding 4gb is enough?
- notduncansmith 12y agoI've found 4GB to be more than enough. I don't use a ton of memory-hungry software at once, though. Chrome with a few tabs, one or two terminal tabs (iTerm 2 sliced up into ~3 sections), a few Node processes, Skype, and Spotify is what my daily userspace software usage looks like. I fire up Photoshop every now and again, and my laptop doesn't miss a beat, even with all of the above running. I literally never find myself wishing I had more RAM.
- NoahBuscher 12y agoWow! Great to hear! I just wanted to be sure I had a buffer in the event I ever needed to edit a longer video or wanted to do some 3D work in Blender.
- xuki 12y agoGiven that the MBA RAM is not upgradable, it'd be wise to max it out - just in case.
- devinhalladay 12y agoYou should be fine for sure. Some software you need to be using (in my opinion, at least): - 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 https://github.com/github/hub) to make Git better; - Homesick (https://github.com/technicalpickles/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/_ https://boxen.github.com/_ - Laptop by Thoughbot (https://github.com/thoughtbot/laptop https://github.com/thoughtbot/laptop) - Homebrew (this one's kind of obvious)
- NoahBuscher 12y agoThanks, Devin! Bookmarked. Sad to hear about SublimeText. It's a really good project in my opinion, but I have to agree with you.
- notduncansmith 12y agoI still use Sublime every day, and probably will continue to do so until Atom becomes usable. iTerm2 is awesome, but zsh hasn't won me over yet. 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.
- NoahBuscher 12y agoThis... This is a feel-good comment. +1
- nness 12y agoWith regards to Sublime Text, there's a few forum posts asking whether or not its been abandoned. So far the only response was back in March (http://www.sublimetext.com/forum/viewtopic.php?f=2&t=15477&p=58951#p58951 http://www.sublimetext.com/forum/viewtopic.php?f=2&t=15477&p...), and not from the creator (Jon), but those handling sales enquiries. 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.
- dandruffhead 12y agoI know this is kinda late, but I would go for 8GB RAM and 256GB if possible. 126GB is too little for me, I own rMBP 13" with 512GB (roughly 500GB free for storage), but even with that I have used 200GB. I don't store musics, pictures, etc. It is just my development folder. 256GB will give you more room to breath although you can just use external.
- NoahBuscher 12y agoThe order already shipped, but I have an array of flash drives and most of my files are online.
- nness 12y agoI agree, 126GB is far too little the moment you have to start using a virtual machine for anything. Suddenly your options are to swap appliances (if using more than one) or try and run from an external drive. Both aren't fantastic options...
- NoahBuscher 12y agoDo you have any experience running a VM from an external drive? Is there a significant speed decrease from an internal SSD?
- cheald 12y agoI'm going to go against the grain here, but if you're planning on using it at a desk most of the time, I think it's not necessarily the best option. 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.
- NoahBuscher 12y agoGreat post. 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.
- Oculus 12y agoI primarily develop Node on OSX and have no issues with running multiple linux VM's on Vagrant. (2013 Air, 16GB RAM, i7 Haswell)
- NoahBuscher 12y ago
- jason_slack 12y agoI have the same machine and I'm doing C++, OpenGL development and I'm very happy. The portability is great. Combine with GitHub and I can easily switch to my work horse machine when I am stationary at home. ST3, iTerm 2 2.0, XCode, Dash.
- NoahBuscher 12y ago+1 for ST3!
- PhrosTT 12y agoI went with the MBP 13" because... -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.
- NoahBuscher 12y agoYeah. I'm totally okay without Retina, though it does look pretty sweet, and I currently don't have a use for an external monitor - I'll need to see the Air in person before I make the decision to buy. :)
- leeluolee 12y agoTo be honest,128G is obviously not enough, dont make mistake like me.
- NoahBuscher 12y agoI kind of figured that, but I have almost no pictures and definitely no videos. Is it possible to upgrade the SSD after purchase?
- imperium 12y agoI think the machine is good enough. Portable and Fast. A little short on storage space, but if you don't hog it by huge files or photos then that is not a problem. 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 https://github.com/mathiasbynens/dotfiles) - Any of your favorite task/to-do list manager. Feel free to add more.
- sjs382 12y ago+1 for Sequel Pro
- NoahBuscher 12y agoGreat suggestions! If you're going to be using Mongo, I highly recommend RoboMongo.
- slowblood 12y agoVagrant/VirtualBox is the top of the list, I usually run a 64bit Ubuntu 13.10 instance for dev and production.
- NoahBuscher 12y ago+1 for a fellow Ubuntu user. 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!