Ask HN: Best Developer Linux Laptop?
111 points| khandelwal | 15 years ago | reply
People seem to rave about their MacBook Pros. Is it easy to make the switch from Ubuntu? Do I easily get all the software I'll need (svn, git, django, python, vim)?
Essentially I think, my question is, is the experience on a MBP so much better, that it's worth having to learn the MacOS platform?
[+] [-] yummyfajitas|15 years ago|reply
Day 1: Ooh, pretty.
2-3 days: I fucking hate iTunes. Luckily ports install mpd works.
1 month: Ooh, the pretty magsafe connector saved me from dropping it when I tripped over the wire.
1.5 months: Arrgh, finally numpy works.
2 months: I miss XMonad.
3 months: Fuck, random C/C++ library (e.g., amqp_lib, boost for a while, quantlib, some Fortran medical imaging libraries) doesn't work. Or maybe it would work if I messed around with it more. Neither do many Haskell libraries (e.g. HFuse). I never managed to get postgres working either, though I've heard others have.
4 months: I want to get work done. Open up virtualbox, boot ubuntu server in a VM.
2 years later: load linux onto a thinkpad. Woohoo!
[edit: I am being a little unfair to the macbook. It has one fantastic feature which I still miss: keynote + LaTeXit + that little remote control. This makes pretty and very effective scientific presentations. OpenOffice Impress is not in the same league. It's less relevant to me now, since I'm no longer an academic mathematician.
Also, I don't mean to be unduly negative on macs. They just didn't satisfy me as a development box.
Lastly, things might have changed recently. I gave away my macbook early this year.]
[+] [-] tkaemming|15 years ago|reply
[+] [-] buro9|15 years ago|reply
[+] [-] timwiseman|15 years ago|reply
[+] [-] technomancy|15 years ago|reply
Perhaps if you mostly keep your laptop on your desk this wouldn't be a big deal, but it rules them out for people who like to move around.
[+] [-] tjr|15 years ago|reply
For me, I don't do much in the way of using iTunes; I set up a play list, press play, minimize it, and enjoy listening to music while I do other things. Maybe I'm not a music player power user?
[+] [-] more_original|15 years ago|reply
I now run Ubuntu on a Thinkpad and that "Just Works" for development more than the Powerbook ever did.
[+] [-] fnl|15 years ago|reply
[+] [-] thecoffman|15 years ago|reply
[+] [-] vilya|15 years ago|reply
It's even worse if you're running Linux on the MacBook. You have to fiddle with a mysteriously named keyboard preference ("Key to choose 3rd level") to get even the Alt+3 combination to work - and once it does, you can no longer Alt+Tab to switch between windows. Fortunately you can choose a different key; the best compromise I've found so far is to the right Alt key. That way you can enter '#' symbols and Alt+Tab back and forth, but it turns what should be a single keystroke into a two handed combination.
That and the lagging OpenGL support are why my next computer won't be a Mac.
[+] [-] boothead|15 years ago|reply
That's the best of both worlds for me: mac hardware, OSX for my wife and ubuntu for me. Perfect.
[+] [-] eru|15 years ago|reply
[+] [-] slantyyz|15 years ago|reply
[+] [-] aconbere|15 years ago|reply
That being said almost all the developers I know use MBPs. Just not me. I was CPU constrained for the work I was doing, wanted to easily upgrade my hard drive, and spent all my time in OSX in XMonad anyway. So making "the switch" was simple for me.
EDIT - adding my one X201 complaint
No built in digital video out (W.T.F.) I'm sure this is to accommodate some suit who has to attach to projectors. But feels like the past. If you shell out for a docking station you'll get DV but otherwise you're out of luck. (This is not an issue with Lenovo's larger laptops like the T410 etc.)
[+] [-] notauser|15 years ago|reply
- Low screen resolution.
- Very tall screen (especially for a 12" - due to the huge bezel) so it won't open comfortable in the back of an economy seat.
I ended up with the bottom of the range Vaio Z series instead (1600x900 res 13.3" screen that is more than an inch shorter than the X201, with HMDI and VGA out). I run Ubuntu in a VM 99.9% of the time. That setup is working really well for me and I actually like the keyboard at least as much as the IBM one.
Running Linux in VMWare player doesn't seem to be any slower in practice thanks to VT, and it has greatly improved the ease of installing, upgrading and backing up my main Linux installation. I don't even bother to back up Windows - if it goes wrong I'll just blow it away and do a clean install.
[+] [-] Dav3xor|15 years ago|reply
Also, We had a Tandy Coco when I was a kid, I've had enough of chiclet keyboards. I'll be happy when Apple moves away from that.
[+] [-] aliguori|15 years ago|reply
I love my X201. It's very light but has a full size keyboard. I tend to have problems with RSS so this was a major consideration.
I went for the SSD option which I think was completely worth it. Boot of a standard Linux distribution is extremely quick (around 10s).
[+] [-] sigil|15 years ago|reply
I've come to accept the fact that every couple years I do some serious damage to my laptop, so it's a huge plus if 1) I can replace parts myself and 2) I can cheaply and easily buy a replacement laptop if the thing is totalled. Both are the case with Thinkpads. The aftermarket is still healthy, I have no problem finding T40-T42s here for about $200.
Between repairs, battery upgrades every few years, and the few times I've had to replace a laptop wholesale, my cost of ownership is probably about $200 / year.
YMMV, but I've found this setup more than adequate for coding & browsing, and have no reason to upgrade to a newer model.
[+] [-] silentbicycle|15 years ago|reply
[+] [-] tnorthcutt|15 years ago|reply
[+] [-] mahmud|15 years ago|reply
They're not the most good looking, but they're rugged and functional as hell. A Thinkpad looks the same after 5 years, most others peel and scratch. When I was backpacking, my road-mate had his macbook come apart .. literally, the case feel out of the bottom and the top came apart. Mine? I threw it into truck beds, buses, ferries, sat on it, slept on it, and it endured everything including the humidity in the Mekong and freezing weather in north-east China, not to mention power surges.
[+] [-] kaens|15 years ago|reply
And it has channels in it that will drain liquids spilled on it away from components and through little holes in the body! I have not, and do not intend to test this.
[+] [-] mironathetin|15 years ago|reply
I enjoyed my last Thinkpad (t40) a lot. Still have and use it after 6 years. But especially with linux, battery life wasn't very good (now the battery is completely dead of course). The fan never stopped.
To answer the question of the OP: yes, it is totally worth to learn Mac OS. First, the effort is small. Second, you will save a lot of admin time. Third, backup is easy, reliable and bootable. This alone recommends Macs as developer notebooks.
[+] [-] phamilton|15 years ago|reply
One thing people say about Apple products is you pay a premium for the same hardware. I was talking to a friend and told him about a few unique bits of Apple Hardware.
1) The touchpad. There's a reason people now use the Apple Touchpad on desktops. It works really well. 2) Battery Life. I frequently sit through 5-6 hours of class on a single battery charge. My MBP is a mid-2009. I've heard the newer MBPs last even longer. 3) The unibody. I think a few other companies do this now, but the MBP is very low profile, and is built solidly. 4) Backlit keyboard. I remember my old days of groping in the dark for various symbols and things. The backlight makes a difference.
OS aside, if I were looking for a new laptop, these are the things I would look at. CPU speed doesn't effect me nearly as much as Battery life. 4GB RAM is pretty standard these days.
As far as OS X is concerned, I develop "in the cloud". I'm a heavy Vim/gdb user, so if I need a low level environment, I've got plenty of servers I can ssh into. If it's something like Rails or Python, it works perfectly in OS X.
[+] [-] Confusion|15 years ago|reply
[+] [-] pw|15 years ago|reply
[+] [-] Jun8|15 years ago|reply
The first week or so was painful. Mac OS wasn't as intuitive as I though it would be and it may be hard to find how to do things as a power Linux user. But after that initial learning curve, god it's good. Just the hardware itself is worth it, the feel, and of course the screen, which is one of the most important parts of a laptop I think. Finding and installing packages is OK with Homebrew (or MacPorts), not as intuitive as apt perhaps, though.
I have friends using a Thinkpad and if you ask me again today, I would definitely repeat my decision to go with the MBP. Maybe you're giving away a wee bit of Ubuntu goodness but you gain tremendously from hardware and being able to use other Mac software, which is very very good.
[+] [-] jacoblyles|15 years ago|reply
[+] [-] maco|15 years ago|reply
[+] [-] Symmetry|15 years ago|reply
You might also consider system76, but I don't have experience with those.
EDIT: I'm currently running Linux on my T410. Suspend was broken with Ubuntu 10.4, but everything works perfectly now with 10.10.
[+] [-] kls|15 years ago|reply
Also a thing to consider is that with the MBP if you decide that OSX is not for you, you can always install Linux or do Bootcamp and dual boot, or run Virtual Box and have a Linux VM. I do the latter for any odds and ends Windows only software that I need to run, but those are getting fewer and fewer these days.
If you decide to stay in the PC world I recommend Sager laptops. They are probably close to or superior to the MBP in terms of quality.
[+] [-] tsuraan|15 years ago|reply
The machine runs Linux well enough; suspend works, all the hardware works except for the fingerprint reader and the built-in camera. The video is a hybrid graphics with nVidia and Intel; IME nVidia sucks under linux, so I've just had it disabled and use only the GM45 card. I've heard that the latest Z series users are sometimes having trouble with their video, but I think the latest rc kernel has the support required (always the case with linux and latest hardware...).
As far as using Linux on a Macbook, how do you get around the lack of a middle and right click? Is the multi-touch/gesture stuff actually in the touchpad hardware so Linux sees a proper three button scroll mouse, or what? I think I'd go mad trying to use Linux on a single-button touchpad.
[+] [-] balu|15 years ago|reply
To tell a bit about the software side on a Mac: As long as you don't mess with the system, it runs nicely. Recently I wanted to have a look at clutter ("software library for creating (...) graphical user interfaces") which depends on newer versions of the libraries that ship with OS X. After fiddling around with building it myself (or building Formulae for Homebrew which is a simple and nice package manager for OS X) I decided to go with Ubuntu and Awesome as my window manager. There was just too many barriers in the way. For web development, OS X was nice. Unfortunately I'm also toying around with a lot of music software which rarely has an OSS equivalent.
Some points on Apple hardware: The build quality is very nice. It might not have the latest stuff, but all components they ship are well integrated and usually don't get you into hassle (as long as you stick with OS X). I honestly don't want to miss the multitouch trackpad.
Conclusion: If you can live with the system that OS X is, go for it. Perhaps you'll get pissed some day about the missing freedom some day. Don't expect that the hardware in a MacBook will fully supported in a Linux distro
[+] [-] kls|15 years ago|reply
I honestly don't want to miss the multitouch trackpad
These are the key take aways, OSX is good for web / mobile development and the track pad is one hell of a plus for going with a MBP. I would not use OSX for C or C++ development or any system development for that matter, but for web and mobile it is a great system.
[+] [-] Maro|15 years ago|reply
[+] [-] djhworld|15 years ago|reply
[+] [-] thomas11|15 years ago|reply
[+] [-] lfnik|15 years ago|reply
Other than that boot-up time is pretty fast, and I don't spend hours trying to find drivers for hardware. And it cost me half of what a Macbook Pro would.
[+] [-] chapmanb|15 years ago|reply
http://www.system76.com/product_info.php?cPath=28&produc...
Sound, wifi and the camera work fine and it's been through a couple of Ubuntu upgrades with no issues. I was specifically looking for something that would be zero maintenance and have been very happy.
[+] [-] rbanffy|15 years ago|reply
I run Emacs a lot, develop for Django, run Eclipse very rarely and I am quite happy with a very modest Acer netbook. Most of the time, it sits on my desk connected to a big monitor, keyboard and mouse. Web browsing and Flash-heavy sites are a problem, as is the Intel GMA due to the 2048x2048 screen size limitation for hardware acceleration.
I can't overestimate how welcome is the portability it affords carrying my whole "desktop" environment in a small bag. If I drop it, everything important is backed up thanks to the twin miracles of rsync and version control.
I have long given up on high-end notebooks. They are typically big and heavy and faster than I usually need. Also, losing one is a bit more painful than just having to pay US$400 for a faster equivalent and doing an environment restore.
[+] [-] kgo|15 years ago|reply
If you're just doing basic run-of-the-mill web development, and it looks like you are, then a MBP will work just fine. If you're in Vim and Bash all day long, there isn't really much for you to learn. Some things are a little quirky, off the top of my head I think Apache2 is installed in a weird location, and command line app X may not be installed by default, but it's probably no more obscure than switching to a BSD or Solaris.
[+] [-] futuremint|15 years ago|reply
Its a good laptop with Ubuntu 10.10, only thing not working is suspend automatically when the lid is closed.
Money no object and you need Linux than a ThinkPad would be your best bet. Expensive, but awesome keyboards and pretty durable & reliable.
You can install Linux on a MBP as a commenter has already mentioned, but you have to install a weird open source EFI thing for boot, and it'd be tricky to get support for the newest hardware.
Another option is to use Ubuntu in VirtualBox on OS X. You can install all of your favorite Linux packages in OS X, but they're patched and you can't always get the latest release without some work. AFAIK all of the open-source package management systems for OS X are source based so you get to watch things compile. I used to have a MBP and compiling new software was always annoying to me.
[+] [-] hogu|15 years ago|reply
[+] [-] Uchikoma|15 years ago|reply
(X200 feels cheap, plastic breaks, lcd dies, battery replaced twice, hibernation does not work all the time, sound problems, logos flew off, ....)
I was using a small Dell laptop at my last job and the quality was much much better than the X200.
Essentially after IBM sold them the quality tanked.
[+] [-] drats|15 years ago|reply
[+] [-] aidenn0|15 years ago|reply
Ups: 1) Really nice construction 2) Really well put together GUI 3) In general it's a nicer experience than a non-mac with similar tech-specs.
Downs: 1) No standard central packaging system; All the software you mention is available on the mac but you have to either: a) Build it yourself b) Use macports or fink, etc. Furthermore, some of the more gui focused things have very nice mac-native ports (e.g. MacVim) but you'll have to track those down yourself. 2) Price. You can get a very nice non-mac laptop every year for the same price as getting the 17" Macbook Pro every 2 years. I compare to the 17" since I won't code on anything with less that 1200 vertical lines. If you plan on only coding with an external monitor, this may not apply. 3) Not super configurable. You get something very well put together and designed, but that also means there aren't a lot of options.
I had the option of getting a macbook pro at work but went with a Dell instead.
[+] [-] jc00ke|15 years ago|reply
The only upgrade I made was an Intel X25-M 80GB SSD. It screams. Get one, or whatever SSD in that bracket or above that suits your pocketbook.
Last thing: I'm working on a brand new iMac at my current gig and I don't like it. I'm not a fan of OSX. I've tried several times but I just prefer Linux. Debian based systems with apt are so easy. Ports & Fink for OSX suck, so if you do go with a MBP, look into http://j.mp/mxcl-homebrew.
[+] [-] ohyes|15 years ago|reply
The key thing is to make sure that all of the hardware in whatever laptop you buy has proper drivers. This can either be accomplished by buying a cheaper laptop with slightly less top of the line hardware (hardware that is slightly aged is more likely to have had someone debugging driver issues on it), or by checking that all of the hardware has appropriate drivers.
http://www.linux-drivers.org/ might be a good starting place.
[+] [-] bsaunder|15 years ago|reply
[+] [-] metamemetics|15 years ago|reply
I've gotten good mileage out of a Dell XPS Studio 16 w/ubuntu but can't recommend it due to driver issues with wireless (avoid intel5100) and graphics (radeon hd3760).
If I was buying a new laptop I would search the hackintosh and iATKOS forums to find models that can install OSX out of the box and triple boot it.
After that, figure out exactly what resolution\size pixels per inch you want the display. I like 1600x900 for laptops myself. That should narrow it down to only a couple models.