News for hackers. Stuff that matters.
Re:Ask HN: What does one look for in a laptop these days? by foobarbaz33 on Friday October 15, 2021 @03:57PM (#28882392)
> if I'm missing on any new developments since 2015

Yes, you missed something huge.

Apple Silicon M1 or nothing. It's just too good. Low power consumption allows the laptop to actually be used as a laptop. The power use-to-performance ratio is unmatched by anything on the market. Apple is breaking us free from decades of stagnation on the hardware front.

Nothing else on the market comes close. I expect this to change in the future. Will happily switch to a linux laptop once an energy efficient alternative to x86 becomes mainstream for linux. There's just no way I can go back to x86 after tasting the sweet nectar of M1.

Re:Ask HN: What does one look for in a laptop these days? by harshitaneja on Saturday October 16, 2021 @09:15AM (#28887658)
Agreed. I hate that M1 is so good. I got an M1 macbook pro when my older laptop broke and I needed to temporarily deal with some iOS work. I bought it thinking I would regret it and have to replace it with another machine especially being used to 15inch devices. But it turned out to be such a great experience using this device without ever worrying about charging and rosetta2 worked so much better than expected.

I hate that this device is so great that when I look at other options with linux support I just get drawn back to this. It is really frustrating to have such a great hardware be limited by the software, rather the userspace(kernel and drivers seem solid). MacOS is just so frustrating at times. Asahi team's linux support can't come fast enough.

Re:Ask HN: What does one look for in a laptop these days? by mustache_kimono on Saturday October 16, 2021 @11:39AM (#28888600)
What do you feel like you're missing in userspace?
Re:Ask HN: What does one look for in a laptop these days? by harshitaneja on Saturday October 16, 2021 @01:57PM (#28889885)
Most of the important ones like package managers, containers, not calling home etc are mentioned by the others. So I will mention things I don't think are discussed enough by linux switchers.

The one I didn't think I would yearn for but am really reminded of everyday are- desktop environments and window managers. My friends couldn't stop praising the UX but even after a long time trying to get used to it I still am annoyed by the application switching keyboard shortcuts, lack of ability to set system wide shortcuts for launching basic things like terminal. I won't talk about the lack of some cli applications I loved because I expected that when I moved(and it is better than I thought). I have tried iterm2, hyperswitch, rectangle. I understand that different systems have different behaviours and I can't expect it to behave the same but I have observed my friends, and others and the level of keyboard driven userflow I can achieve even in something like windows just seems worse here. It's not that it isn't possible but rather the behaviour has subtle quirks that I can't always rely on it. And lastly animations and latency. Even after turning all animations, it just is slow. I was used to having applications open before my keyboard would even leave the shortcut key and here I find myself waiting for things to start. I thought I was being nitpicky until I had to use my 2014 model haswell laptop for something and it just was such a breeze compared to the provenly faster processor and storage of m1. What's everyone's experience like?

Re:Ask HN: What does one look for in a laptop these days? by Oddskar on Saturday October 16, 2021 @02:40PM (#28890273)
My friends couldn't stop praising the UX but even after a long time trying to get used to it I still am annoyed by the application switching keyboard shortcuts, lack of ability to set system wide shortcuts for launching basic things like terminal.

Hammerspoon is the answer to all of these. The common solution is to rebind caps lock (using Karabiner Elements) to be “hyper” (cmd + alt + shift + ctrl) and then bind global keyboard shortcuts with that using Hammerspoon.

Re:Ask HN: What does one look for in a laptop these days? by pxc on Saturday October 16, 2021 @08:40PM (#28892949)
If someone were complaining about inability to configure keyboard shortcuts on Linux and you recommended a solution like Hammerspoon, it'd invite an onslaught of ‘this is why Linux is too overcomplicated and annoying for normal people’ comments.

Setting global keyboard shortcuts on Linux doesn't require you to learn a whole-ass LUA API. It's just there, for all the popular DEs.

Re:Ask HN: What does one look for in a laptop these days? by Oddskar on Sunday October 17, 2021 @03:16AM (#28894586)
Oh I absolutely agree. MacOS in general is not very good for power users out of the box.
Re:Ask HN: What does one look for in a laptop these days? by harshitaneja on Saturday October 16, 2021 @03:47PM (#28890840)
I vaguely remember having tried hammerspoon but can't remember why I didn't continue using it. Will give it a proper shot. Thanks!
Re:Ask HN: What does one look for in a laptop these days? by harshitaneja on Saturday October 16, 2021 @03:58PM (#28890937)
Okay. Just tried hammerspoon and I love it. Love the documentation as well. Thanks.
Re:Ask HN: What does one look for in a laptop these days? by da39a3ee on Sunday October 17, 2021 @07:35AM (#28895728)
Use iTerm2 and set the “hotkey”. That gives instant switch to terminal with one key.

Can you give other examples of command line app problems or keyboard driven workflow problems you’re having? I expect people here will be able to show you how to solve them.

Re:Ask HN: What does one look for in a laptop these days? by motoboi on Saturday October 16, 2021 @02:26PM (#28890146)
Command+space t<Enter> for terminal (at first you’ll have to type “terminal”, but after 10 or so it becomes the first result for “t”).

The same for other aplications.

You can also, from terminal, do a open -a application_name if you want.

Re:Ask HN: What does one look for in a laptop these days? by harshitaneja on Saturday October 16, 2021 @03:45PM (#28890821)
This is what I use and it is part of muscle memory now. But this is a part of thousand cuts that make the experience less than amazing.
Re:Ask HN: What does one look for in a laptop these days? by Oddskar on Saturday October 16, 2021 @02:43PM (#28890294)
This is a very poor replacement for something that really should be instant and cerebral like app shortcuts.
Re:Ask HN: What does one look for in a laptop these days? by mixmastamyk on Sunday October 17, 2021 @05:04PM (#28899784)
Even on Linux I rarely bother hitting a hotkey to open a terminal. Why? Because I have it load on startup and almost never close it.
Re:Ask HN: What does one look for in a laptop these days? by smoldesu on Saturday October 16, 2021 @11:54AM (#28888725)
- A good (not Homebrew and not quite Macports) package manager.

- Ways to permanently disable Gatekeeper

- Some kind of quick setup. On Linux I use a bootstrapping script, MacOS does not offer the same extensibility.

- Real virtualization support like QEMU

- Real container support (if I set up another local Docker host on a Mac I swear to god...)

- Up-to-date coreutils

- A way to install Git without dragging along a few gigs of dependencies

- Ways to monitor my network usage and ensure Apple isn't spying on me

- Real encryption (eg. Apple/NSA isn't holding a master key)

- CUDA support

- 32-bit app execution

- A way to disable the hash that gets sent to Apple every time I open an app

That's just the starter kit, if I sat down with some pen and paper I could probably keep going ad-infinitum.

Re:Ask HN: What does one look for in a laptop these days? by chias on Saturday October 16, 2021 @01:18PM (#28889455)
I feel you, but for me it's not a list of deficiencies in OSX. I came from Linux then used OSX almost exclusively (because work) for about 4 years and I still hate it. I agree the list of things above are real problems, but you could solve all of them and I'd still hate it.

For me it basically it comes down to this:

Macs are just similar enough to the Linux to fool me into thinking I know what I'm doing. But then things are just subtly different such that nothing quite works. It's like, if you were Satan and your Q4 objective was to design a computer that you could give to me -- a "computer expert" -- to make me feel like a moron every time I try to do literally anything at all on it... Apple computers pretty much hit it out of the park.

--

It's also a lot of little usability things. I thought Apple was supposed to be the usability king? Yet it patently cannot handle simple things like:

* I want "natural" scrolling on the touchpad, but "regular" scrolling when using a plugged-in mouse with a mousewheel. The options are in TWO DIFFERENT settings windows, but changing one changes the other. Why? Even Linux, not famed as the Usability King, had this figured out in 2012.

* I want one of my monitors to be vertical. When I plug them in, it's a coin-toss as to whether or not it will remember which one it is. 50% of the time I have to tilt my head 90 degrees and set the 270* monitor to 0* and the 0* monitor to 270*. In the end I wrote an apple-script to do this automatically and bound it to a keyboard key.

Re:Ask HN: What does one look for in a laptop these days? by mattnewton on Saturday October 16, 2021 @02:08PM (#28889973)
> I want "natural" scrolling on the touchpad, but "regular" scrolling when using a plugged-in mouse with a mousewheel. The options are in TWO DIFFERENT settings windows, but changing one changes the other. Why? Even Linux, not famed as the Usability King, had this figured out in 2012.

This also drives me bonkers. The reason I think it is still this way is that at Apple everyone is using the Magic Mouse which has touch scrolling on it (you scroll like a trackpad with your finger) and so presumably most never toggle this. Another example of pain if you go off the happy path the apple developers use and keep tidy and clean.

Re:Ask HN: What does one look for in a laptop these days? by tshell on Saturday October 16, 2021 @08:54PM (#28893022)
I have this exact preference as well, and my solution was this little utility app: https://pilotmoon.com/scrollreverser/ Being a Mac user for many years, I’ve found that there’s almost always been some simple app that I’ve been able to find that can fit my UX preferences.
Re:Ask HN: What does one look for in a laptop these days? by AnonC on Saturday October 16, 2021 @12:56PM (#28889253)
> - Ways to monitor my network usage and ensure Apple isn't spying on me

This may not be complete monitoring, but Little Snitch (from obdev.at) can monitor outgoing connections, alert you and let you to block or allow those. Last year when macOS Big Sur was released, this didn’t work for a while for Apple’s programs, but that was later changed by Apple.

Re:Ask HN: What does one look for in a laptop these days? by yjftsjthsd-h on Saturday October 16, 2021 @12:47PM (#28889166)
- A good (not Homebrew and not quite Macports) package manager.

nix?

- Some kind of quick setup. On Linux I use a bootstrapping script, MacOS does not offer the same extensibility.

Apple mdm implies that the hooks exist, although I know notthing of using that and it very well might be insufficient.

- Real virtualization support like QEMU

Isn't hyperkit decent?

I agree with the general thrust of your comment, though; just unsure of some details.

Re:Ask HN: What does one look for in a laptop these days? by nightpool on Saturday October 16, 2021 @02:25PM (#28890140)
Wait, are you saying that if you set up FileVault to not use your iCloud account, Apple still holds a master key? I thought that was the whole point of using your own recovery key
Re:Ask HN: What does one look for in a laptop these days? by walterbell on Sunday October 17, 2021 @08:11AM (#28895890)
Seconding this question!

2017 article says Apple doesn't have a copy without iCloud enabled, https://www.macworld.com/article/229963/want-to-recover-a-fi...

Re:Ask HN: What does one look for in a laptop these days? by smoldesu on Sunday October 17, 2021 @08:06PM (#28900863)
I can't respond in good faith without access to the source code. Everything that I would tell you is just conjecture based on either trust or hatred of Apple, which is equally useless to the consumer. Use your best judgement.
Re:Ask HN: What does one look for in a laptop these days? by mustache_kimono on Sunday October 17, 2021 @01:27PM (#28898096)
Re: package managers, have really enjoyed pkgsrc. Only wish there were more prebuilt packages.
Re:Ask HN: What does one look for in a laptop these days? by da39a3ee on Sunday October 17, 2021 @07:38AM (#28895739)
What do you want to do that homebrew doesn’t do well?
Re:Ask HN: What does one look for in a laptop these days? by Leherenn on Saturday October 16, 2021 @05:03AM (#28886534)
Is ARM really the reason the M1 is so much better than the current x86 CPUs? If you have a look at the competition (Qualcomm), it sounds to me that it's Apple expertise at designing a SoC and using a more advanced node that makes it such a good CPU, not really the architecture.

Said another way, I highly doubt we will see a non-Apple ARM CPU outclass the x86 competition in such a way anytime soon, so saying "never x86 again" might not be very wise. ARM is not a magic bullet.

Re:Ask HN: What does one look for in a laptop these days? by deadmutex on Saturday October 16, 2021 @08:03AM (#28887250)
100% agree.

A lot of people asking for ARM based machines do not really realize that the reason is not because of ARM, but they just want faster/more efficient machines. I think to make a analogy for HN frontend sw devs, imagine a non-technical marketing person going to a developer and saying "I want this website in AMP, because AMP is fast.". And sure, a lot of sites with AMP framework are fast... but that doesn't mean that you have to build a site in AMP to make it fast. You could build a simple site with similar principles and get it fast too. Similarly, not all ARM laptops are fast. Even if the laptops hw is fast, you want something that can efficiently run x86 code as well for compatibility purposes for many years.

Re:Ask HN: What does one look for in a laptop these days? by NobodyNada on Saturday October 16, 2021 @01:03PM (#28889306)
It’s true that ARM alone isn’t the reason for the M1’s performance, but it’s definitely a significant factor. x86 is old — modern x86 chips are still backwards-compatible with the original 8086 from 1978 — and it’s stuck with plenty of design decisions that might have been the correct choice sometime within the past 45 years but no longer today. Whereas the M1 only implements AArch64, a complete redesign of the ARM architecture from 2012, so it doesn’t have to deal with legacy architectural baggage. (We’ve known x86 was the wrong design since the 80’s — hence why there’s no Intel chips in smartphones — but it hasn’t been realistic for anybody except Apple to spend 10 years and billions of dollars to make a high-performance non-x86 chip.)

Some examples:

- x86 guarantees strong memory ordering on multi-processor systems, which adds completely unnecessary overhead to every memory access. arm64 uses a weak memory model instead, providing atomic instructions with relaxed or acquire/release semantics (see https://youtu.be/KeLBd2EJLOU?t=28m19s for a more detailed discussion). This significantly improves performance all around the board, but especially with reference counting operations (which are extremely common and often a bottleneck in code written in ObjC/Swift): https://twitter.com/Catfish_Man/status/1326238434235568128

> fun fact: retaining and releasing an NSObject takes ~30 nanoseconds on current gen Intel, and ~6.5 nanoseconds on an M1

- x86 instruction decode is pretty awful, a significant bottleneck, and not parallelizable due to the haphazardly-designed variable-length CISC instruction set. arm64’s instruction set is highly regular and easy to decode, so Apple can decode up to 8 instructions per clock (as opposed to 4 for x86 chips). Most sources agree this is why the M1 can have such a big out-of-order-execution window and achieve such high instruction-level parallelism compared to Intel/AMD.

- x86_64 has only 16 architectural registers, compared to 32 for arm64. This means the compiler has a much harder time generating efficient, parallelizable code and must resort to spilling registers much more often.

Re:Ask HN: What does one look for in a laptop these days? by smoldesu on Saturday October 16, 2021 @02:48PM (#28890338)
The issue for me is that ARM is also really old now. I mean, just look at the ISA Apple has to use to run their MacOS on it: it's littered with NEON extensions and more cruft than you can shake a stick at. Simply put, Apple's implementation of ARM is decidedly CISC. On top of this, I'm still dumbfounded by the fact that they didn't go for a chiplet design where ARM could truly shine: if Apple had went the chiplet route, the M1 could have had a much higher IO ceiling and might have a shot at addressing more than 16 gigs of RAM.

Apple has a much bigger issue, though. ARM doesn't scale: it's a fundamental conceit of the architecture, one that a lot of people are probably willing to take on a laptop that will mostly be used for Twitter and YouTube. This presents issues for the rest of the market though, and it will be fascinating to see how Apple retains their pro userbase while missing out on the high-performance hardware sector entirely.

I think x86 is pretty terrible too, if it's any consolation, but really it's the only option you've got as a programmer in the 21st century. I hopped on the Raspberry Pi bandwagon when I was still in middle school, I grew up rooting for the little guy here. Looking out on the future landscape of computer hardware though, I really only see RISC-V. ARM is an improvement on x86, but I don't think it's profound enough to make people care. RISC-V, on the other hand, blows both of them out of the water. On consumer hardware, it's able to accelerate pretty much any workload while sipping a few mW. On professional hardware, you can strap a few hundred of those cores together and they'll work together to create highly complex pipelines for data processing. On server hardware, it will probably move like gangbusters. Even assuming that cloud providers pocket half the improvements, a 5x price/performance increase will have the business sector racing to support it.

So yeah, it is a pretty complex situation. Apple did a cool thing with the M1, but they have a long ways to go if they want to dethrone x86 in it's entirety.

Re:Ask HN: What does one look for in a laptop these days? by klelatti on Saturday October 16, 2021 @03:22PM (#28890635)
Where to start?

> ARM is really old now.

Well aarch64 was announced in 2011 so not really that old.

> Apple’s implementation of ARM is decidedly CISC.

CISC is a description of the instruction set not the implementation.

> ARM doesn’t scale.

No idea what this means but you can get 128 core Arm CPUs and address huge amounts of memory but perhaps you have another definition of scaling.

And so on.

Re:Ask HN: What does one look for in a laptop these days? by NobodyNada on Saturday October 16, 2021 @11:54PM (#28893807)
As far as I understand it, “CISC” doesn’t mean “has a lot of instructions”, it means the individual instructions are themselves complex/composable/expressing more than one hardware operation. For instance, on x86 you can write an instruction like ‘ADD [rax + 0x1234 + 8*rbx], rcx’ that performs a multi-step address calculation with two registers, reads from memory, adds a third register, and writes the result back to memory — and you can stick on prefix bytes to do even more things. ARM doesn’t have anything like that; it is a strict load/store architecture where every instruction is fixed-width with a regular format and either accesses memory or performs a computation on registers.

Stuff like hardware primitives for AES/SHA, or the FJCVTZS “JavaScript instruction” don’t make a processor CISC just because they’re specialized. They all encode trivial, single-cycle hardware operations that would otherwise be difficult to express in software (even though they may be a bit more specialized than something like “add”, they’re not any more complex). x86 is CISC because the instruction encoding is more complicated, specifying many hardware operations with one software instruction.

I’m not exactly sure whar all the “cruft” is in ARM that you’re referring to. The M1 only implements AArch64, which is less than 10 years old and is a completely new architecture that is not backwards-compatible with 32-bit ARM (it has been described as being closer to MIPS than to arm32). NEON doesn’t strike me as a good example of cruft because SIMD provides substantial performance gains for math-heavy programs, and in any case 10 years of cruft is much better than 45.

I’m curious as to why RISC-V is different or better? I don’t know much about RISC-V — but looking at the Wikipedia article, it just looks like a generic RISC similar to MIPS or AArch64 (and it’s a couple years older than AArch64 as well). Is there some sort of drastic design difference I’m missing?

Re:Ask HN: What does one look for in a laptop these days? by klelatti on Sunday October 17, 2021 @06:37AM (#28895430)
The only advantage I’ve heard put forward for RISC-V on single threaded applications is the existence of compressed instructions - which could reduce cache misses albeit at the expense of a slightly more complex decoder. I’m a bit sceptical as to whether this is material though as cache sizes increase.

Of course the flexibility of the RISC-V model allows approaches such as that being pursued by Esperanto [1] with lots and lots of simpler cores.

[1] https://www.esperanto.ai/wp-content/uploads/2021/08/HC2021.E...

Re:Ask HN: What does one look for in a laptop these days? by NobodyNada on Sunday October 17, 2021 @01:57PM (#28898310)
ARM had THUMB, which definitely improved performance back in the GameBoy days — but they dropped that with AArch64, so presumably they decided it wasn’t beneficial anymore.
Re:Ask HN: What does one look for in a laptop these days? by klelatti on Sunday October 17, 2021 @05:10PM (#28899826)
Indeed and IIRC the increased code density got them into Nokia phones too.

I find it hard to believe that they didn't drop Thumb from AArch64 without a lot of analysis of the impact on performance.

Re:Ask HN: What does one look for in a laptop these days? by fomine3 on Sunday October 17, 2021 @09:33PM (#28901401)
> On top of this, I'm still dumbfounded by the fact that they didn't go for a chiplet design where ARM could truly shine: if Apple had went the chiplet route, the M1 could have had a much higher IO ceiling and might have a shot at addressing more than 16 gigs of RAM.

Remember that M1 is just a mobile SoC that work for iPad/MacBook Air. It's exceptionally great so people tend to confuse M1 is targeted higher end. 16GB max is fine for a mobile SoC in 2021. I can't wait M1X.

Re:Ask HN: What does one look for in a laptop these days? by mixmastamyk on Sunday October 17, 2021 @05:19PM (#28899885)
If you don't think arm can scale any further, why do you think x86 can? They could easily double all the specs in the "M2" and slap two+ of them into a mac pro.
Re:Ask HN: What does one look for in a laptop these days? by diroussel on Saturday October 16, 2021 @06:08AM (#28886762)
ARM isn’t _the_ reason. It is a reason.

If we were to go back in time to before apple introduced it’s own SoC and before it had acquired chip design start ups, even before than ARM was on the table as that is what the iPhone ran.

RISC-V wasn’t a thing back then. So the alternatives were MIPS, Power or maybe a home grown instruction set.

So we just have to go with what the reality is now. The apple silicon has been well optimised for performance per watt. And it runs on an ARM instruction set that apple itself helped in the design of.

Re:Ask HN: What does one look for in a laptop these days? by AnonC on Saturday October 16, 2021 @01:00PM (#28889290)
On the competition, like Qualcomm, many Apple engineers (IIRC several tens of them) from the chip design team left and formed a new company called Nuvia, which was then acquired by Qualcomm in the beginning of this year. Apple has had a big lead on SoCs for some years, but I wonder when/if Qualcomm’s acquisition will start beating Apple’s lead here.
Re:Ask HN: What does one look for in a laptop these days? by klelatti on Saturday October 16, 2021 @04:04PM (#28890980)
Agreed that architecture is only a (possibly small) part but Arm’s business model and the other things that Arm brings to the table are also relevant. For example the small / large core approach that Apple uses hasn’t previously been an x86 feature (although clearly that is changing).

Also non Apple Arm CPUs do outclass x86 in a huge segment of the cpu marketplace - on smartphones and tablets.

I’d don’t think that anyone previously has thrown the amount of cash at laptop / desktop / server Arm designs that Intel spends on x86 designs - we are now seeing a number of firms having a serious go (AWS / Ampere / Qualcomm / Nvidia possibly) so with Intel fighting back on its process issues it will be an interesting few years!

Re:Ask HN: What does one look for in a laptop these days? by ziml77 on Saturday October 16, 2021 @08:38PM (#28892937)
I'm curious to see how Alder Lake's clone of the ARM big.LITTLE design performs. I wouldn't be surprised if at the very least it lets Intel beat out AMD in the mobile CPU space. (Which would be great simply because Ryzen 4000 laptops are near impossible to get)
Re:Ask HN: What does one look for in a laptop these days? by sharikous on Saturday October 16, 2021 @04:36PM (#28891252)
ARM is not a magic bullet but the M1 stems from the trend of phone processors growing up to be competitive in the PC market.

Since almost (all?) mobile phones use ARM I can see a similar process of adapting other ARM processors to the PC market.

But of course Apple is so far ahead that we really don't know wether and when there will be a competitive alternative, so it may as well be a streamlined x64, or a new ISA, sure.

It seems to all depend on some very experienced CPU design teams and it seems that actually Apple lost some of them in the last year, I would track these news to get a better model of predicting the future than the ARM/x64 divide.

Re:Ask HN: What does one look for in a laptop these days? by Tagbert on Saturday October 16, 2021 @01:52PM (#28889825)
From listening to interviews of Apple tech folks, they also have done a lot of optimization of their CPUs based on calls frequently used by Mac OS. I don’t recall specific examples but the fact that they can control both the hardware and software allows them to profile and tune the system as a whole.
Re:Ask HN: What does one look for in a laptop these days? by throw63738 on Saturday October 16, 2021 @08:15AM (#28887320)
M1 has very fast memory and BUS access. It takes money and is not so sexy for marketing, but it works.
Re:Ask HN: What does one look for in a laptop these days? by Underphil on Saturday October 16, 2021 @04:43AM (#28886445)
Like so many people, I love the hardware but hate the software. Hoping that once Linux is solid on there, I'll be able to get one.
Re:Ask HN: What does one look for in a laptop these days? by BozeWolf on Saturday October 16, 2021 @12:08PM (#28888833)
I was in the same boat around 2012. After 11 years of linux on the desktop and crappy student laptop, I needed a proper laptop for freelance jobs. Bought a macbook to put linux on. Ruined macos on day one. Reinstalled macos. Got used to it. Loved that all the hardware and software just works. Never installed ubuntu desktop again.

Would like to use linux again on the desktop, but macos is so nicely integrated with everything. The desktop experience is so much better than the gnome or kde version of the day. I code embedded c and web (python). Also do the occasional cad drawing and 3d printing. All this software just works on mac. Even corporate slack works okay, ms teams as well. Word, even! It sucks to be a linux desktop user or fanboy in professional environments. Not a mac fanboy, would switch if there was something better.

One drawback is that docker is just awfully slow compared to running it on native linux.

Re:Ask HN: What does one look for in a laptop these days? by mixmastamyk on Sunday October 17, 2021 @05:24PM (#28899924)
"Better to die on your feet than to live on your knees."

A reference to the freedom from corporate bondage you trade away for convenience in macos.

(I don't have any significant issues with Ubuntu Mate, but I don't use it for many things however.)

Re:Ask HN: What does one look for in a laptop these days? by tim333 on Saturday October 16, 2021 @10:04AM (#28887966)
From a practical point of view the software works pretty well (I've got M1 Air, Big Sur) but I can understand if people want independence from Apple.

It seems that virtualized Ubuntu with UTM works ok: https://youtu.be/hnwK-nkXolc

Re:Ask HN: What does one look for in a laptop these days? by Joeri on Saturday October 16, 2021 @10:16AM (#28888030)
I was going to replace my thinkpad with a new thinkpad, but when apple released the M1 macbook air I had to change my mind. I paid the same that I would have paid for a T series, but got something that has the sleek thin and light build quality on par with an X1 with performance of a P series and battery life that hasn't existed on thinkpads ever since they dropped power bridge. Oh, and it is fanless. If my macbook air fell into the abyss I would replace it with another air right away, it is that good.

If lenovo still made thinkpads like they used to: reasonably priced, easy to upgrade and repair, with large external batteries, and with top-notch keyboards, I might have opted for a thinkpad still. But they don't make those. All new thinkpads have so-so keyboards, they all have internal batteries (and often too small), and they're getting harder to upgrade and repair with every generation. Lenovo has chosen to chase after the macbook design, and that makes me less likely to buy thinkpads, because a thinkpad will never be as good a macbook as a macbook.

Re:Ask HN: What does one look for in a laptop these days? by Izkata on Saturday October 16, 2021 @02:10PM (#28889998)
> If lenovo still made thinkpads like they used to: [..] and with top-notch keyboards, I might have opted for a thinkpad still. But they don't make those. All new thinkpads have so-so keyboards

I've seen this a few times and am curious: I got a Thinkpad at the end of 2019, and the keyboard is waaay better than the various HP, Dell, and Asus laptops I've had in the past. Did I get lucky or were all of those just way worse than I thought? What's the difference between old and current Thinkpad keyboards?

Re:Ask HN: What does one look for in a laptop these days? by Joeri on Saturday October 16, 2021 @03:18PM (#28890597)
It depends on your definition of good, as for me most laptops have bad keyboards, and so-so is actually somewhat of a compliment. I do think thinkpad keyboards are still better than macbook keyboards, but not by as large a degree as they used to be.

This article is a good summary of the keyboard situation: https://www.notebookcheck.net/X1-Carbon-Gen-9-Lenovo-has-to-...

Re:Ask HN: What does one look for in a laptop these days? by godDLL on Saturday October 16, 2021 @11:58AM (#28888751)
Not so, and here's why:

Apple is chasing a target, and so does Lenovo. But Lenovo is chasing the way a MacBook used to be, which is good in my opinion.

And Apple is skating wherever THE PUCK ARE THEY SKATING NOW SRSLY

Re:Ask HN: What does one look for in a laptop these days? by crooked-v on Saturday October 16, 2021 @04:41AM (#28886438)
Also, the M1X laptops (probably) release Monday and will be even more ridiculous.
Re:Ask HN: What does one look for in a laptop these days? by katbyte on Saturday October 16, 2021 @08:45AM (#28887472)
I’ve been waiting for years, finally time to replace my 2015!
Re:Ask HN: What does one look for in a laptop these days? by foobarbaz33 on Saturday October 16, 2021 @08:59AM (#28887554)
M1X will be a trade off. Trading battery life for speed. It will still have great battery life relative the dumpster fire of x86 laptops.
Re:Ask HN: What does one look for in a laptop these days? by cehrlich on Saturday October 16, 2021 @12:55PM (#28889237)
If the M1X 16" keeps the battery size of the current model, which is the largest possible battery you can take on an airplane, it will run a bit shorter than the M1 Air at full throttle (but get more done in that time), but significantly longer than the M1 Air for casual use, because it's presumably using the exact same efficiency cores.
Re:Ask HN: What does one look for in a laptop these days? by manmal on Saturday October 16, 2021 @02:48PM (#28890332)
Depends on what they do with GPU. If they put in desktop-class(-ish) graphics, then that would impact battery life heavily (and make me super happy OTOH).
Re:Ask HN: What does one look for in a laptop these days? by cehrlich on Saturday October 16, 2021 @05:19PM (#28891638)
You're actually right.

MacBook Air M1: 49.9Wh | MacBook Pro 16" 2019: 100Wh

The 16" MacBook Pro is rumored to have double the performance CPU cores, and either double or 4x the GPU cores. So for tasks that are strictly GPU bound, battery life could be about half of the M1 Air.

Considering that this is the absolute worst case scenario battery life (assuming of course that they don't make the battery smaller), the new 16" Pro is looking pretty exciting.

Re:Ask HN: What does one look for in a laptop these days? by manmal on Sunday October 17, 2021 @02:29PM (#28898587)
And CPU/GPU core count is only one factor for battery life, so 4x the cores would not even result in 4x the power draw.
Re:Ask HN: What does one look for in a laptop these days? by cma on Saturday October 16, 2021 @10:34PM (#28893467)
Beefier graphics often improves battery life (more cores at lower clock, like nvidia mobile vs desktop for the same model number: lower TDP, same perf). They might move to more power hungry RAM as part of it though.
Re:Ask HN: What does one look for in a laptop these days? by manmal on Sunday October 17, 2021 @02:26PM (#28898556)
The on-chip GPU Apple ships in their MBPs draws way less power than the dedicated Nvidia chip. This is especially noticeable in the battery life drop that occurs when the dedicated chip is used exclusively.
Re:Ask HN: What does one look for in a laptop these days? by cma on Sunday October 17, 2021 @06:55PM (#28900510)
On chip/package has many power advantages, and Apple is on a much newer process node with M1 (TSMC 5nm).

The point I was making was that e.g. a GTX 2070 desktop has around the same compute power as the mobile version, but the mobile version uses much less power. It does this by being beefier (2560 CUDA cores mobile 2070, 2304 CUDA cores desktop 2070), but running at a lower clock.

Re:Ask HN: What does one look for in a laptop these days? by johnwalkr on Saturday October 16, 2021 @03:22PM (#28890641)
It probably wouldn’t, at least not in every situation. It would probably be low power until more is needed.
Re:Ask HN: What does one look for in a laptop these days? by smoldesu on Saturday October 16, 2021 @11:41AM (#28888617)
They better bring some "pro" memory and IO along with it, they won't be replacing my Thinkpad unless I've got 64 gigs of ram in my backpack.
Re:Ask HN: What does one look for in a laptop these days? by bo1024 on Saturday October 16, 2021 @09:06AM (#28887598)
What are you doing on your laptop where you can see such a big difference? My x86 laptop (Purism Librem 14) has an all-day battery and plenty more performance than I need. But I don't do things like compile code all day. If I were running a really big compute task I'd use a desktop or cluster.
Re:Ask HN: What does one look for in a laptop these days? by zrm on Saturday October 16, 2021 @11:19AM (#28888457)
This is what I don't get about high performance laptops.

Low end Ryzen 3 laptops have four cores, single thread performance within a few percent of the fastest processors in existence and will do something like render a web page at a speed indistinguishable from instantaneous.

The fastest laptops have twice that many cores. And if you actually try to use them, either half of them are low performance cores or they all clock down to a speed that makes them equivalent to a quad core desktop.

Whereas for the same price as a high end laptop, you get a desktop with 12 or 16 high performance cores and >16GB memory which is so much faster for intensive tasks that the laptop should be embarrassed to show up.

Why should I do anything other than buy an inexpensive laptop with a good screen and keyboard and a fast desktop I can access remotely for any kind of intensive workload?

Re:Ask HN: What does one look for in a laptop these days? by leetcrew on Saturday October 16, 2021 @01:08PM (#28889344)
I do agree ultrabook + powerful desktop is the best combo for most people who actually need a powerful computer. that's what I ran for many years. there are a few reasons why you might want a powerful laptop though, mostly coming down the limitations of remote access.

using a GUI over remote kinda sucks imo. even something like text editing is not as smooth as it would be locally. photo/video editing and especially anything 3D (CAD, gaming, etc.) is really painful.

there's also the security implications of enabling remote desktop. it's not a showstopper, but it's something I'd rather not worry about for my personal computer.

and finally, if you have the money for a powerful desktop and a powerful laptop, why not get both?

anyways, I just gave away my old xps 13 and replaced it with a zephyrus g15. it's not nearly as fast as my 9700k + 1080ti desktop, but it runs most games acceptably at 1440p. c++ compilation is very fast, though obviously not comparable to an overclocked 9700k. the portability and overall fit and finish aren't as nice as the xps 13, but now that I'm not taking the laptop everywhere as a student, I don't find it to be much of a compromise.

Re:Ask HN: What does one look for in a laptop these days? by Oddskar on Saturday October 16, 2021 @01:42PM (#28889702)
I agree in principle.

The real answer for why most do not do this is that IT-organisations are already under-dimensioned and over-burdened and it’s cheaper to maintain a small set of laptop models (which most likely are bought with some sort of support contract) than it is to assemble and support desktop computers.

Re:Ask HN: What does one look for in a laptop these days? by 52-6F-62 on Saturday October 16, 2021 @09:57AM (#28887915)
I just bought one and have to agree. I was aiming for the i9 because audio production tools hadn’t migrated fully but it wasn’t available anymore so I went with an M1. inside of a month any of the tools or plugins I’ve bought in the past have all updated for the m1. Including Waves plug-ins now.

Outside of software work I run Logic as my primary DAW and it’s like there are no limits. It’s fantastic.

Re:Ask HN: What does one look for in a laptop these days? by mdp2021 on Saturday October 16, 2021 @10:49AM (#28888235)
The TDP of the M1 is between 15 and 20 Watts: I use one third of that with Intel...

Crunching some numbers, some benchmarks seem to place the M1 as three times faster. Through raw numbers, the M1 seems not much more "performant per watt" than the Pentium Silver - only slightly better. And, for a laptop, the importance is (in general) more on energy efficiency than in speed.

Edit: danieldk rightly noted below that TDP is a "high load consumption estimate". Official data for the "situational" consumptions are a bit harder to find.

Re:Ask HN: What does one look for in a laptop these days? by danieldk on Saturday October 16, 2021 @11:09AM (#28888379)
The TDP of the M1 is between 15 and 20 Watts

That's the TDP. For light daily tasks (casual web browsing, e-mail, etc.) the M1 primarily relies on the energy-efficient Icestorm cores. While typing this comment and having some applications in the background (like Slack), package power use hovers between 40 and 300mW (roughly 100mW on average).

The energy efficiency of M1 MacBook is remarkable. My wife had an M1 before I did. She was in some video meetings on battery for some hours, I wouldn't believe her when she told me she still had 80% battery remaining.

Re:Ask HN: What does one look for in a laptop these days? by eertami on Saturday October 16, 2021 @11:40AM (#28888610)
>I wouldn't believe her when she told me she still had 80% battery remaining.

Really? I feel like that's just having any 2021 laptop. I have a 13" Linux laptop with the i7-1185g. I'm not going to pretend it matches the performance/watt of an M1, but a few hours of video calling makes a completely negligible difference to battery life for me. 20% for a few hours of video calls just feels baseline.

I've never been in a situation where I needed to get back to a charger, and can happily go the whole day of development and meetings with charge left over to spare.

Re:Ask HN: What does one look for in a laptop these days? by mdp2021 on Saturday October 16, 2021 @12:01PM (#28888790)
We should also compare the batteries to talk about "hours". This one is around 40Wh, according to `upower -d`; when it was new, I could do light work for 12..14h (Linux "desktop").

I have been trying getting some numbers from `powerstat`, intrigued by danieldk's results of 0.1W consumption: I am getting 3.7W during this browsing session. That 0.1W must be related to the CPU only. The result from `powerstat` is aggregate (if I raise the display lightness to an uncomfortable level the consumption raises to 4.5W). I do not know how to only get the consumption of the CPU. Trying to check...

Edit: I am really not sure how to disaggregate consumption and find a number comparable to that 0.1W. Maybe, danieldk, you could provide instead the aggregate consumption - the total (not just CPU) average consumption of your system? And eertami? Just to get an idea.

Re:Ask HN: What does one look for in a laptop these days? by danieldk on Saturday October 16, 2021 @03:09PM (#28890514)
Really? I feel like that's just having any 2021 laptop. [...] 20% for a few hours of video calls just feels baseline.

I had a brief Linux/Windows excursion with a ThinkPad T14 Ryzen laptop. Three hours of video meetings was enough to drain most of the battery in Linux (worse power management, plus no hardware encoding/decoding in some video meeting apps). In Windows, it lasted a bit longer, but the battery would definitely be drained 50%, often more.

The ThinkPad was not a lemon. This seems like pretty normal drain if you look at people's experiences on the web.

Re:Ask HN: What does one look for in a laptop these days? by ksec on Saturday October 16, 2021 @01:13PM (#28889399)
The M1 is an SoC with CPU + GPU + NPU + NAND Controller and many others, being used in a Fanless condition under 10W on MacBook Air.

>Official data for the "situational" consumptions are a bit harder to find.

A single HP Core uses ~4W at peak. It's performance per watt is quite far ahead than anything in x86 at the moment. Intel AlderLake might help a bit. But will still be behind in pref / watt.

Re:Ask HN: What does one look for in a laptop these days? by mdp2021 on Saturday October 16, 2021 @01:31PM (#28889578)
This system for example, according to `powerstat`, seems to work at around 3.5W, with minimum values below 3W and maximum around 7.5W.

It would be interesting to get a "powerstat database" of different systems for comparison.

Re:Ask HN: What does one look for in a laptop these days? by fulafel on Saturday October 16, 2021 @12:14PM (#28888871)
From one point of view, non-x86 efficient laptops have been mainstream for Linux users for a long time in the form of ARM Chromebooks.
Re:Ask HN: What does one look for in a laptop these days? by conductr on Friday October 22, 2021 @10:13AM (#28957424)
Is this user specific though? I mainly still use a 2013 MacBook Air and I’ve never had power management issues. I can work 10-12 hours on a full charge. Recharge is pretty quick. 90% of my usage is browser, text editor, light terminal, and a pretty basic dev environment. The only times I’ve hit performance issues is working with video editing and graphics. I don’t game and don’t edit videos , so that was a minor pothole on this long journey.

If this is the main benefit of M1 I’m likely to be under welmed is what I’m thinking. I’ll upgrade to it next, but it’s not going to force me to upgrade. I expect at some point Apple will start making my device suck via MacOS updates like they’ve done with iOS and those devices.

Re:Ask HN: What does one look for in a laptop these days? by mark_l_watson on Saturday October 16, 2021 @02:24PM (#28890122)
+1 absolutely correct.

I bought an M1 MacBook Pro early this year and it is a beast, performance wise.

I just started a new ML job and my company sent me a new Intel 17” MBP, and while it is beast-like, not a beast.

One trick to M1 is installing the M1 ARM version of Homebrew, so programs and libraries installed are M1 native.

Re:Ask HN: What does one look for in a laptop these days? by pieix on Saturday October 16, 2021 @01:41PM (#28889690)
The M1 Air not having fans is the real game changer for me. If you haven't used a laptop without fans you probably don't realize how good things could be.
Re:Ask HN: What does one look for in a laptop these days? by ArtWomb on Saturday October 16, 2021 @06:44PM (#28892243)
>>> Apple Silicon M1 or nothing

I've used ARM based chromebooks. As well as ARM embedded boards running linux as a desktop. But I am intrigued by the Mac Mini M1 with 6K out. I wish I could get a demo of the 6K 32" Pro XDR Display. At $5K its hard to justify, but it looks like the only 6K monitor available right now ;)

Re:Ask HN: What does one look for in a laptop these days? by fvv on Sunday October 17, 2021 @10:27AM (#28896698)
M1 with official Linux will be perfect except for price (especially ram and storage price , I need 128gb ram and 2 tb ssd), I think m1 is 'cheap' because Apple is buying apple customers not just selling laptops..
Re:Ask HN: What does one look for in a laptop these days? by dorfsmay on Saturday October 16, 2021 @05:06PM (#28891522)
I've been hoping to see a RiscV laptop for Linux, equivalent to the M1 Mac, but not seeing anything on the horizon.
Re:Ask HN: What does one look for in a laptop these days? by godDLL on Saturday October 16, 2021 @11:54AM (#28888714)
That was a significant development, six years late to the table my personal count. So yes, I'm aware.

If only it did not come packaged in a sissy mirror powder-box I'd love it. They flimsy keyboard with no travel, and the fragile glossy screen with no touch/stylus are deal-breakers for me. I did try use those at the store, no good.

Re:Ask HN: What does one look for in a laptop these days? by fjjhn33n3h on Saturday October 16, 2021 @02:57PM (#28890408)
AMD 5850U is almost as good as M1 and it beats it in power performance benchmarks as well in multicore performance:

https://www.cpubenchmark.net/compare/AMD-Ryzen-7-PRO-5850U-v...

Both have TDP of 15 WATT.

I have Thinkpad P14S Gen 2 (AMD) and can work on the machine the whole day without charger and it never ever get hot.

Re:Ask HN: What does one look for in a laptop these days? by zuhsetaqi on Saturday October 16, 2021 @03:48PM (#28890848)
TDP != actual power usage especially when they're pushed to the limit
Re:Ask HN: What does one look for in a laptop these days? by smoldesu on Saturday October 16, 2021 @11:36AM (#28888572)
Lol
Re:Ask HN: What does one look for in a laptop these days? by godDLL on Saturday October 16, 2021 @11:59AM (#28888762)
No, he's correct on the side of speed. But that only ticks one of seven.