Live data from Hacker News

Ask HN: What’s a good laptop for software development at around $2k?

news.ycombinator.com

701–710 of 813 posts

Re: Ask HN: What’s a good laptop for software development at around $2k?

#701

Earlier quoted context omitted.

Except Mac, macOS and its third party apps are actually better. Windows is always lagging with its legacy burden, Linux on desktop doesn't have commercial interest to begin with. Consoles are pretty much the same unless they have exclusive games. It's not really emotional matters. Used Windows 10+ years and not missing it.

As a developer/gamer I use all these systems and with every year I'm less and less motivated to use macOS. Linux is clear winner for everything I need server related and Windows is fine for everything client related. macOS is in this weird spot where it lacks most of the server side stuff (lack of hosting, poor virtualization support etc.), but it also lacks some of the client side things (poor gaming, no hardware cu…

Yeah I am kind of in this boat as well - Windows is held back by some legacy stuff but has also gotten better and better. It also has a bunch more spyware crap (but if you know what to do thankfully you can disable most of that). It used to be back in the day you had to choose between a smooth OSX experience or a bloated adware filled windows XP.

Linux has also gotten dramatically easier as well of course and is free. I still like MacOS generally but I always thought it was a mistake to completely ignore server-adjacent stuff that powerusers would want. If I buy a Mac and own MacOS why can't I also run a MacOS VM on that same machine? Would be pretty cool to have 3 or 4 running simultaneously with these new processors.

Re: Ask HN: What’s a good laptop for software development at around $2k?

#702
So to answer your question seriously I would say look at some of the newer laptops that have OLED screens and (if you need it) smaller dedicated GPU. These are going to be super future proof and you can sometimes get last years model very cheap. I do not have a ton of experience with them but personally might get something like the HP Spectre or maybe a Gigabyte or MSI laptop.

What really holds me back though is the damn keyboards on modern laptops - they all suck. The old keyboard on my Thinkpad T420 I love in comparison. There are people that are actually replacing the whole innards (you can even buy them premade and shipped from China) of I believe the Thinkpad X301 or similar with modern CPU, modern screen, etc etc. And on the plus side anyone who sees your laptop at a cafe is going to think its an old POS and not even think about stealing it!

Re: Ask HN: What’s a good laptop for software development at around $2k?

#703

Earlier quoted context omitted.

It's every Ask HN thread, every time I want to ask a question here I give up because I find myself listing the obvious, requirement-breaking answers that I know will come but that I don't want to see. It's not like stack-overflow where often the users are beginners and don't know what they want and it's sometimes helpful to point out XY problems. Here people are technically literate and know what they want yet the re…

IMO it goes beyond Ask HN. If you make a post and you know people are going to make a particular reply, it doesn't matter if you preemptively address that reply right in your post; you're going to get that reply anyway. People skim, they don't read, and they don't think deeply about posts. They're just pattern matching on a couple words and slamming out a reply. The reply is practically locked and loaded before you e…

Agree. Also I feel like most ask hn are just questions and that’s it. No need to sift through the asker’s specifications on how they’d like everyone to answer. So I feel like when an asker expects that, it’s not likely to be respected by all. It’s just a quirk of hn.

Re: Ask HN: What’s a good laptop for software development at around $2k?

#704
I currently daily-drive a Lenovo Thinkpad X1 Yoga Gen5. 4k touchscreen, 15in, awesome Linux support.

I've tried Fedora and Ubuntu on it, but I use Arch Linux daily on it (EndeavorOS at the moment), and its great for web development.

I think it was ~ $1600 USD when new

Re: Ask HN: What’s a good laptop for software development at around $2k?

#705
Dell XPS 13 with Ubuntu is a lower cost alternative to Purism 14 and you get some possibly totally false mental guarantees about quality and linux integration via the Dell base.

The touchpad, at least on my model from a few years back, was horribly sensitive to palm touches. There were some config changes I made that may or may not have done anything, and I don't notice it anymore but definitely type a bit differently.

The other aspect is a 13'' screen is a bit small for dev work.

A purism is next on my list fwiw.

Re: Ask HN: What’s a good laptop for software development at around $2k?

#706
post #561
post #505

Earlier quoted context omitted.

Just run Linux in a VM! It's my preferred workflow nowadays. See: https://github.com/mitchellh/nixos-config https://www.youtube.com/watch?v=ubDMLoWz76U Only real limitations are lack of ML because no server/desktop-grade GPU and some missing ARM-based docker containers. But the latter is slowly being resolved and the former isn't gonna happen on a laptop anyways.

> Just run Linux in a VM! It's my preferred workflow nowadays. Or just run it on real hardware! It's my preferred workflow. These two comments of ours are equally pointless.

Alright, then allow me to explain.

Before, there were a multitude of reasons not to develop in a VM: Poor support for accelerated instructions on laptops; Slow CPUs; limited RAM; slow file-sharing between the host and guest.

The M1 architecture solves most of the issues.

Modern laptops almost universally support accelerated instructions now. This means less overhead, so doing everything entirely in the VM is worth it now. So no more dealing with slow file-sharing.

The speed of the M1 also means you're not limited compared to your desktop. Depending on the benchmark (especially any benchmark relying on CPU cache size), it may be faster on the M1 air than on a 5950X. Even in workloads where the laptop is slower, it is now fast enough.

Running docker containers in a VM on a 16GB *non-M1* machine is untenable. The M1's RAM is not only higher bandwidth and lower latency, but the compression and caching has improved so much that you can fit much more in that same 16GB.

In use-cases where you need more than 16GB, the M1's NVMe disk is so low latency that swap usage is indistinguishable in performance from RAM usage. So the laptop has no memory limit, for practical purposes (though the wear on the disk is increased in this case).

In addition, ARM architectures were a pain to deal with before, so most people emulated x86_64 and assume that you'd still have to do that on the M1. Nowadays, there is no reason not to run an ARM Linux in the VM. Most programs run just fine, and the remaining holdouts are a few Docker containers that haven't been updated. But even those aren't a problem because recent improvements to Docker greatly simplify running x86_64 containers under QEMU.

Combine all of this with the Mac app ecosystem (which has its problems, but is generally OK to use, especially if your other devices come from Apple), improved battery, the return of the good keyboard, and greatly lowered TDP, there really isn't a choice to make anymore.

The remaining reasons not to use it are basically as follows:

1) Compatibility with external devices, or work on embedded controllers

2) Anything requiring significant GPU compute (ML, etc.). But this would likely be done on a desktop rather than a laptop, which wasn't the scope of the question.

3) Disk capacity requirements (though external NVMe over thunderbolt mostly solves this)

4) Extremely multi-threaded work (video editing, etc.) where a desktop CPU outperforms the M1's multi-thread score.

Less pointless now?

Re: Ask HN: What’s a good laptop for software development at around $2k?

#708
I absolutely adore my System76 Darter Pro. System76 is actually great for many different price points since they are extremely customizable. For example, you could do something like opt for a cheaper processor but more storage whereas many manufacturers force you to have more expensive everything (Apple is the worst offender, but all seem to do this to an extent).

Re: Ask HN: What’s a good laptop for software development at around $2k?

#710

Earlier quoted context omitted.

Macs have a certain set of features which is not even close to being matched by any other laptop, as far as I'm aware. Not everyone values these features, and for them, the Mac is just overpriced. - solid and beautiful chassis, no plastic-y uninspired 2008-Dell design here. - large, beautiful, high-DPI screen looks great and has crisp text. You can seamless rescale the UI to get effectively a 17" resolution or 13", d…

- It's not 2008. Plenty of great looking PCs these days. My Xiaomi Mi Air 12 was IMO a better looking MacBook, clean and free of branding. - Pretty much every modern Windows trackpad has two finger scrolling that works fine. - You can also get mice with free scrolling wheels like the Logitech MX Master line that switch between free spinning and ratcheted. Sometimes ratcheted scrolling is better particularly for gamin…

Well, if you don't appreciate what Apple is offering, then don't buy one. I was just explaining what people see in it. Judging by the upvotes, I'd say it's fairly representative of why people like them.

> Just don't buy crap that doesn't work with Linux.

See, this is exactly my point. Blame the user... I don't want to have to research what works well. Even if I know it works, it may take quite a while to figure out how to get it to work. It took me two weeks of recompiling kernels to get my T42 to go to sleep, and the trick was "acpi_sleep=s3" as a boot parameter. (Technically, it went to sleep just fine, it just hung in the kernel on wake, which was arguably worse) Judging by other comments sleep is still an issue. That's with one of the major features of a laptop...

(The wifi wasn't a problem per se, it's just that Ubuntu broke the auto-detection at one point. It was working prior, and they've since fixed that, but I've never had that problem on a Mac.)

> why their 13" M1 MBP only works with 1 monitor while their old 13" Intel MBP worked with two

How many people are trying to power two monitors off a 13" MBP? I'm not saying Apple doesn't have issues (I'm using a 2018 MBP that's had the keyboard replaced once, and the letters have dissolved off five keys so far, and I wasn't happy about needing to buy it because I wanted to wait until the keyboard problem was fixed, which it was six months later, but my 2012 MBP stopped displaying pixels thanks to a client project which involved compiling all day, triggering the nVidia heatsink problem), but if you're the kind of person that needs two monitors, cheaping out on the laptop doesn't seem like a great idea. Next you'll be telling me they don't have enough RAM on their 8 GB laptop to run all the programs that would make two monitors useful...

> At least you can use your favorite WM on Linux?

Actually, I cannot. My favorite WM is sawfish, which requires some package that is a major pain to compile (or maybe there are too many for me to spend the effort, and the only extant packages are 32-bit, can't remember). The default Ubuntu thing was awful, GNOME too dumbed down, KDE apps crash all the time for me (but maybe I have some setting in the .files I've been copying around for 20 years?) and KDE's aesthetics historically managed to make Windows look polished. No, I explicitly don't want a tiling WM. So I've settled on XFCE, which has about the visual polish of KDE, but at least it's lightweight. And I spend most of the time on the Mac, where the window manager does what I want. (With the exception of sawfish's raising the app under consideration during Alt-Tab, that's a great feature, don't have to look at those icons, just look for the window I want)

Post reply on HN