News for hackers. Stuff that matters.
Re:Ask HN: Which developer laptop should I buy? by kami8845 on Sunday January 20, 2013 @05:44PM (#5088593)
I picked a new machine for my job a couple of days ago, so this is still fresh on my mind. Keep in mind that this is from the perspective of the UK (US is generally MUCH cheaper, oftentimes machines cost 50% of what they do here).

---------------

First, my criteria for the new machine are:

- Portable, screen size between 12" - 14", preferably as thin & light as possible

- SSD (No weird HDD/SDD hybrids)

- Reasonable resolution. 1080p here is overkill, 1366x768 leaves something to be desired

- No graphics card, I don't have a use for it, excess power usage & heat, another part that takes up space, adds weight, can break and needs driver support

- No optical drive (same reasons)

- Battery life 5+ hours

- Reliable brand. Good ones are Apple, ASUS, Samsung, Toshiba, Lenovo. Sony maybe but only with expensive models. Acer & HP are immediately disqualified. I really like Dell for some stuff (monitors, towers) but they seem to have a bad reputation for making reliable laptops.

- Good value for money. I really dislike over-spending even if it's not my own money

- Good Linux support

- Solid build quality

I don't care that much about performance. Sandy/Ivy Bridge is generally fine for me, and for the stuff that I care about (mainly reading/writing text) raw CPU power doesn't matter that much.

This filters things down quite a bit and brings us to the following models:

- Macbook Air 2011 (including this as it's a very similar machine to the 2012 but with apparently better Linux support)

- Macbook Air 2012

- ASUS Zenbook

- ASUS Zenbook Prime

- Lenovo X1 Carbon

- Samsung Series 9 900X3D

- Samsung Series 9 900X3C

- Lenovo X220

- Lenovo X230

Another requirement is dual external monitor support. Doing this on a laptop and under Linux turned out to be quite the tricky problem and the issue that probably consumed most of my time spent. For laptops with only 1 display out, there are 2 ways of working around this:

1. USB to HDMI adapter. Basically an external graphics card. This requires USB 3.0 for bandwidth reasons (USB 2.0 gives 35 MB/s. 1080p @ 32bpp is 8 MB / frame, meaning single-digit FPS rates at most) which disqualifies the MBA 2011 since it only has USB 2.0. Even with USB 3.0 from most of what I could find, these things are not really supported under Linux and probably best to avoid.

2. Matrox DualHead2Go. This is a cool invention that pretends it's a 3840x1080 display to the OS and then splits the signal digitally into 2. Costs about 120 GBP, but with not letting the OS know that it's actually 2 displays, also comes the OS not knowing that it's actually 2 displays: Fullscreen doesn't work properly for a lot of applications. And even though this could be made better through some window manager trickery, that feels like hacks, piled on top of more hacks. I also don't want to carry around this box just to drive 2 external monitors.

So, that means all laptops with only 1 display-out are out! (The X1 Carbon actually has a USB 3.0 Port thing with 2 DVI outputs but it seems to depend heavily on drivers (they only support Windows and are "working on" Mac support) so I've excluded it) Leaving us with:

- ASUS Zenbook

- ASUS Zenbook Prime

- Samsung Series 9 900X3D

- Samsung Series 9 900X3C

- Lenovo X220

- Lenovo X230

I used the Zenbook Prime and Samsung 900X3D in-store and initially liked the Zenbook Prime keyboard more than the Samsung. However more research reveals that ASUS seems to have big quality control issues with these (endless stories about shipping and re-shipping faulty units). This seems to be an especially big problem with the touchpads & SSDs of the original Zenbook. Also in the UK, they only carry one almost maxed-out Zenbook Prime configuration with SSD, which costs about 1500 GBP (linked above). A more sensible (albeit still expensive) configuration is also available, however only from Germany. Going through the order flow, the delivery time from Germany is listed as 3-18 days. Ordering an item like this where lots of people have complained about quality issues from another country seems to be asking for trouble. In addition to that, support under Linux seems to be non-straightforward https://help.ubuntu.com/community/AsusZenbookPrime, and I'm not thrilled about 1080p on a 13" screen.

The Samsung Series 9 looked great from everything I could see. It's super light and yet solid. However since it is so thin the keys lacked notably in pitch. It's uncomfortable to type on (and I went multiple times over multiple days). In comparison I enjoyed typing on the Macbook Air much more even though it's similarly thin. The keyboard seems like an afterthought on the laptop. Since typing is really what I care about the most and I've gone through the pains of having a laptop with a keyboard I don't enjoy typing on with the model I'm currently writing this email on, this also seems like a sub-par choice.

So the Lenovo X220 / X230 is the last laptop standing! There are 2 choices here (or really 4 with the tablet versions), they are all pretty much twice as thick as any other model, though similar in terms of weight (others 1.1-1.5kg, X220 / X230 1.3-1.7kg depending on configuration). I think the X220 is the better choice here even though technically "discontinued". They're both standard voltage CPUs (compared to some of the ULV CPUs on other units) so performance is easily enough for my needs. In addition to that the X220 seems to be the laptop of choice for Ubuntu kernel developers http://www.hnsearch.com/search#request/all&q=x220+uds , while I've read about a lot of people having problems with the X230 and the Linux 3.2 kernel (Ubuntu 12.04 and Debian Wheezy). Also with the X230 they've switched from their traditional ThinkPad keyboard design to a chiclet-style keyboard for reasons that are not ultimately known to me, though probably some combination of standardisation (every other major vendor has been using them for years), cost-reduction, ability to add back-light, size reduction and other factors. In terms of typing experience there isn't a lot of data online, with some people saying it's "good" on both and others decrying the typing experience on the X230. I think the X220 is slightly preferable, especially considering how much cheaper it is now. The standard X220 goes for 600 GBP and 825 GBP for the tablet version while the X230 goes for 1100 GBP and the tablet version for 1700 GBP. All of these with HDD and thus requiring adding about 200 GBP extra for a SSD. So it seems that the X220 wins in almost all regards. The X230 does have slightly less weight (I think about 100-200g), and faster CPU/GPU performance but those factors are negligible to me. I think I like the tablet version on the X220 more as comes with an IPS screen and I can see myself use the laptop in "tablet mode" a lot.

--------------

In the end I picked the X220 and ordered it off ebay (new). The gist seems to be that unless you want to run a bleeding-edge Linux kernel I would recommend staying away from new (3rd gen Ivy Bridge e.g. i5-3xxx) laptops such as the ASUS Zenbook Prime / Lenovo X230 / Macbook Air 2012 as there's frequently issues w/ them.

Re:Ask HN: Which developer laptop should I buy? by fencepost on Sunday January 20, 2013 @08:26PM (#5089250)
I think my one quibble would be with your advice to stay away from the 3rd-generation processors - I suspect that the HD4000 graphics in most of them will be significantly better over time, and any kernel issues are likely to be ironed out in fairly short order.

The discussion I've seen on the keyboard difference seemed to be along the lines of the new keyboards still being best-in-class, but they are different so if you're shifting from one of the older ThinkPad keyboards you might object but nobody else should have problems.

Also of note is that the X230 (and all of the xx30 models, I believe) have mini-DisplayPort rather than whichever HDMI connection. I know the T430 also has a standard VGA adapter so it should be possible to drive at least 2 external displays; it's not clear whether the mini DisplayPort on them is DisplayPort++ which would in theory allow you to drive dual monitors fairly easily if they supported DisplayPort as well as HDMI.

UPDATE: For running multiple external monitors it's probably going to be at a fixed location where a dock is a possibility. In that case, Lenovo's Series 3 docking stations are worth looking at (http://support.lenovo.com/en_US/product-and-parts/detail.pag...). The smallest has VGA only, the Mini Dock has VGA+DVI+DisplayPort but only runs 2 at a time, the Mini Dock Plus has VGA+2xDVI+2xDisplayPort and "many systems, including those with NVIDIA Optimus, allow for up to three ports on the dock to be used simultaneously."

Re:Ask HN: Which developer laptop should I buy? by slashclee on Sunday January 20, 2013 @08:37PM (#5089297)
I'm typing this reply on an X230 right now. There were some really annoying issues with Fedora 17 and Ubuntu 12.04; the iwlwifi driver would lock up and bring the machine down with it randomly under Fedora, and the Linux 3.2 kernel from Ubuntu would just randomly hard-lock for no discernible reason. After upgrading to Ubuntu 12.10, though, everything seems to be really solid. I haven't had any random kernel crashes or lockups since the upgrade.

The keyboard, though, is flawless. I like it a LOT better than the Apple keyboards - I'd been using various different MacBooks for the past few years, including pretty much every model of Air, 13" and 15" Pro. The X230 keyboard is way better. I can't compare with the keyboard on the X220 since I don't have one, but I certainly have no complaints. (I wish there were a laptop with Cherry keyswitches, or buckling springs, but apparently nobody else thinks it would be worth the massive cost increase.)

Re:Ask HN: Which developer laptop should I buy? by fencepost on Sunday January 20, 2013 @09:00PM (#5089404)
Hm. Mechanically would it be possible that the vibration of those nifty clicky keys could cause problems in a device with an integrated HD?
Re:Ask HN: Which developer laptop should I buy? by slashclee on Monday January 21, 2013 @12:00AM (#5089946)
It's probably possible. But if they only used SSDs...
Re:Ask HN: Which developer laptop should I buy? by kami8845 on Sunday January 20, 2013 @08:43PM (#5089320)
Yup I specifically mentioned that this was only an issue with older kernels.

Regarding the keyboard I'd happily take a 10th gen (or however many iterations Lenovo/IBM has done on their keyboards) over their 1st gen chiclet-style. Might be just as good, might be better or might be worse, I'll gladly go with the thing that has a load more reviews and also received many awards being cited the "industry gold standard".

Re:Ask HN: Which developer laptop should I buy? by gorm on Sunday January 20, 2013 @08:57PM (#5089389)
The problem with some of the above is ram. I think 4gb is too little if you spin up virtual machines while developing. The previous version of Zenbook had support for 8gb, but now only 4gb?
Re:Ask HN: Which developer laptop should I buy? by bundyo on Monday January 21, 2013 @12:59AM (#5090141)
Some of the Zenbook models have one of the RAM sticks on a slot, so one could easily upgrade to 10GB, however losing the dual-channel.
Re:Ask HN: Which developer laptop should I buy? by RossM on Sunday January 20, 2013 @06:53PM (#5088840)
Thanks for this, really helpful piece. I wanted to mention that I use a Matrox dual-head at work and it is a complete pain to work with, especially under Linux. It is possible to split displays virtually on Linux with a piece of software called Xinerama. Though I work on a virtual machine (over VNC due to the... quality of my workstation) where this does not work.

I've been looking for a laptop so I can do my job using an acceptable environment and your post really helped, thanks!

Re:Ask HN: Which developer laptop should I buy? by kami8845 on Sunday January 20, 2013 @07:19PM (#5088966)
Happy to help. Yeah I saw Xinerama. In the end that might've worked, but I wasn't sure how well this worked in practice during everyday work and whether there'd be driver issues with the external USB graphics card. I also heard about some issues about generally swapping monitor configurations (i.e. using the laptop at home and then bringing it into the office) and how it can be a pain so I decided to stay away from slightly "hacky" solutions like that.
Re:Ask HN: Which developer laptop should I buy? by kayoone on Sunday January 20, 2013 @07:04PM (#5088894)
Great writeup, looking at basically the same models currently and this helps tremendously! So you are using a second monitor over USB3 ? Whats your experience with it ?
Re:Ask HN: Which developer laptop should I buy? by kami8845 on Sunday January 20, 2013 @07:17PM (#5088952)
Thanks. Always happy to help. That was the result of 3 days full-time (~16 hours / day) research, so it was good sharing instead of letting it rot among my "Sent items".

I'm actually starting at my new job today (in 11 hours). So the jury is still out on what the machine is like. The X220 has a DisplayPort and VGA out, so no need for driving monitors over USB.

Re:Ask HN: Which developer laptop should I buy? by ximeng on Sunday January 20, 2013 @09:31PM (#5089494)
There's a guy in my office with a USB 2 to 1080p VGA adaptor which seems to work fine, at least for basic web / office app usage. It's just a generic unbranded piece of kit from a local computer store.

I wouldn't get a laptop with less than 1920x1080 display personally. Prefer 8GB ram for running VMs as well.

Re:Ask HN: Which developer laptop should I buy? by Tyr42 on Monday January 21, 2013 @09:11AM (#5091513)
Just a nitpick, you can use a thunderbolt to hdmi connecter for the MBP, right? I use one myself.