Live data from Hacker News

Ode to the M1

fabiensanglard.net

41–50 of 286 posts

Re: Ode to the M1

#41
post #8

Orbstack I thought https://orbstack.dev/ is what people are using these days instead of UTM. Am I mistaken?

Still a bit newer, but thanks for mentioning OrbStack! Happy to answer questions as the dev.

Re: Ode to the M1

#42
post #16

2020 M1 Air here, still running strong and will soon hit 3 years (bought the day it launched). So strong that despite finding the 15 inch air appealing just in terms of screen real estate, this current laptop doesn't feel dated. Especially since work provided me with an intel macbook pro with great spec but .. just doesn't compare with the exception of remote monitor count.

We got it the same day! I coded >100k LoC (the whole core of the OKcontract codebase) solely on that machine, without any external screen. Working flawlessly since day 1.

Out of curiosity, is the poor posture which comes with using a laptop (mainly over extended periods of time) something you actively think about?

This is the main reason why although I love my MacBook M1 Air keyboard and screen, I still use an external monitor and keyboard for the majority of my work.

Re: Ode to the M1

#43
post #17

> Software "engineers" > For every extra cycle an hardware engineer can squeeze out of silicon, you will find a programmer adding one hundred cycles to their program[6]. In other terms, I fear that once devs figure out how powerful the M1 is, they will throw more "features" at it. Can we please stop replicating the "growth" fallacy into software ecosystems? Haven't we learnt enough about how unsustainable and damagin…

Keep hoping, because it won’t happen. Practically no consumers care except for other software engineers complaining loudly on HN, and meanwhile companies save millions by not handcrafting their CRUD apps in assembly.

Re: Ode to the M1

#44
post #40
post #8

Orbstack I thought https://orbstack.dev/ is what people are using these days instead of UTM. Am I mistaken?

Edit: The project does not run on "docker machine" as per the graceful correction by OrbStack's developer below[2]. It's a proprietary container interface that - as far as I could tell - runs on the outdated and unsupported "docker machine"[1]. An alternative would be to run a more recent container runtime of your choosing in a VM through UTM which works beautifully. [1]: https://github.com/docker/machine [2]: https:…

Hey, dev here — not sure what you mean. OrbStack currently ships an official build of Docker Engine 24.0.5, which is the latest version as of writing. Previous versions used Alpine Linux's build.

I did intentionally delay the update from 23.x to 24.x by a few weeks while I waited for things to settle, because last time I updated from 22.x to 23.x shortly after release and some users were hit by bugs that hadn't been ironed out yet.

Edit: Noticed that you edited your comment to say that it uses "Docker Machine" instead. That's not the case. OrbStack uses a nested architecture where it runs Linux machines [1]. There's a special machine called "docker" that runs a copy of the Docker Engine, but that's not related to the old Docker Machine project.

[1] https://docs.orbstack.dev/architecture

Re: Ode to the M1

#45

Still running a M1 Air 13“, now into my third job since, and refusing to bother with company provided computers. Still feeling as great as 3 years ago… will only upgrade if the next gen is substantially better (read: not just %faster somewhere). Can comfortably develop on my lap for a full day if needed, only MS Teams draws power like crazy, but apart from that 8 hours+. Best computer I ever had I think.

I'm a bit confused by the "still". How often would you expect to upgrade hardware? Keeping a computer for three years is completely normal for most people.

Re: Ode to the M1

#46

Earlier quoted context omitted.

>I hope Electron/CEF die soon, and people get back to building applications that don't consume hundreds of megabytes of RAM to render a hello world. Yes, so we can go back to writing a hundred lines of imperative code to render hello world.

4 in c. 11 in assembly. Not so bad, really. https://i.imgur.com/r2WRnZk.png

I was about to make a joke about how many lines are required for an electron hello world but it was even more than I expected.

11 for the HTML document template

7 for the boilerplate package.json

3 more for the scripts addition to package.json

3 more for the “devdependencies”

20 for main.js

from: https://electronjs.org/docs/latest/tutorial/quick-start

A fairer assessment would be C++ with Qt to be honest though.

Re: Ode to the M1

#47
post #26

Weird, I've had the exact opposite experience with UTM. I need to get Ubuntu up and running with virtualization (emulation is too slow for GUI work), but the install simply hangs. If I forcibly reboot, the installed OS simply blackscreens and does nothing. I've spent a good few hours trying to get it to work (including turning off the display and trying to use the old tty terminal output), but eventually I gave up.

Have you tried updating UTM to the latest version? Many of these bugs have been fixed in newer versions. UTM doesn't auto update, so you have to check for updates yourself on their GitHub releases page: https://github.com/utmapp/UTM/releases

The auto update apparently only applies if you purchase from the app store.

Re: Ode to the M1

#49

Still running a M1 Air 13“, now into my third job since, and refusing to bother with company provided computers. Still feeling as great as 3 years ago… will only upgrade if the next gen is substantially better (read: not just %faster somewhere). Can comfortably develop on my lap for a full day if needed, only MS Teams draws power like crazy, but apart from that 8 hours+. Best computer I ever had I think.

What do you mean still? They’re only a few years old at this point.

It shouldn’t be impressive that a basically new computer still does everything that one would want to do.

Re: Ode to the M1

#50

Still running a M1 Air 13“, now into my third job since, and refusing to bother with company provided computers. Still feeling as great as 3 years ago… will only upgrade if the next gen is substantially better (read: not just %faster somewhere). Can comfortably develop on my lap for a full day if needed, only MS Teams draws power like crazy, but apart from that 8 hours+. Best computer I ever had I think.

I'm a bit confused by the "still". How often would you expect to upgrade hardware? Keeping a computer for three years is completely normal for most people.

True… here I’m going wondering if it’s time to upgrade my 2017 MacBook Pro because a couple of keys started to fail and I’m having a hard time…
Post reply on HN