News for hackers. Stuff that matters.
Re:New MacBook Air with M2 by senttoschool on Wednesday July 06, 2022 @09:12AM (#32000337)
I don't think you're downvoted because of fanboys.

I think you're downvoted because:

1. Linux is coming to Apple Silicon sooner or later. You can buy now, enjoy macOS, and then install Linux later.

2. It's not reasonable to expect to use it for 10 years. Even if Apple stops supporting it, you can still use it. In addition, Macs have insane resale value. So you can sell it in 5 years, and then buy a new one. This is a more reasonable approach than yours.

3. Apple tends to support their laptops for a long time. Usually 7-8 years. And given that this is their own chip and it's extremely powerful, I can see it being supported for 8 years at least.

Re:New MacBook Air with M2 by thrwawy283 on Wednesday July 06, 2022 @09:27AM (#32000536)
1) We are now 2 generations in without full Linux support for the hardware.

2) I used my Powerbook G4 for 12 years; this is mostly because I was a kid with no money. When I got something else, my sister used it for another 3 years. With thermals as they are in this device, instead of selling it after 4-5 years I'd rather keep it for one-off projects as a server like a Mac Mini. I know laptops aren't designed for server work, but I love that it's a server with a builtin terminal. Also a device I'd use for hiking, because I could charge it from backpack solar.

3) The worst experience I've had was telling my dad MacOS Catalina couldn't be installed on his $3.5k iMac.

As you said in your other comment, M3 will be 3nm TSMC? Maybe Linux will look good on Apple Silicon then.

Re:New MacBook Air with M2 by kalleboo on Wednesday July 06, 2022 @10:15AM (#32001320)
"2 generations" sounds a lot more dramatic than "2 years" (and it's not even 2 years yet, the first M1 Macs were released in November)
Re:New MacBook Air with M2 by amelius on Wednesday July 06, 2022 @01:32PM (#32004149)
2 years is a big chunk of a lifetime in tech.

Plus there is no guarantee that Apple will ever allow Linux again.

Re:New MacBook Air with M2 by nicoburns on Wednesday July 06, 2022 @09:49AM (#32000837)
You have pretty good support except for the GPU at this point (admittedly I'm waiting for this until I install it on my machine). They've had to write all the drivers from scratch, so it was bound to take a while. But on the plus side the hardware interfaces seem to be stable across generations. M2 parity with M1 was implemented in 48 hours! So I'm pretty confident it will mostly be case of linux support continuously improving rather than resetting with each new generation.
Re:New MacBook Air with M2 by thrwawy283 on Wednesday July 06, 2022 @10:07AM (#32001153)
The GPU is important.. afaik the keyboard and trackpad aren't working yet in Asahi Linux.

I don't expect Apple to support the Linux community. It feels like this is trending in one direction. It felt like things stopped being "favorable" to us when they stopped supporting OpenGL and made no effort with Vulkan. The touchbar and some wifi chipsets were poorly supported for years before M1 debuted.

What has been implemented in Asahi is impressive, but it's not ready to be a daily driver. I hope this becomes my mobile device of choice someday. I'd use MacOS for work-work, and I would choose Linux every time for fun-work. So tired of everything having telemetry and vendor lock-in and basic pieces of software moving to subscription models.

Apple laptops became the dev machines of choice because they embraced the OSS community in pretty big ways. Right now the water feels tepid.

Re:New MacBook Air with M2 by dagmx on Wednesday July 06, 2022 @10:52AM (#32001881)
Hector has the keyboard working now https://twitter.com/marcan42/status/1544408695295328256?s=21...

I might have missed a trackpad update but I don't think it will take them long.

Re:New MacBook Air with M2 by johnfernow on Wednesday July 06, 2022 @02:13PM (#32004706)
> Apple laptops became the dev machines of choice because they embraced the OSS community in pretty big ways. Right now the water feels tepid.

You could triple boot Windows, MacOS and Linux with Intel Macs. A Mac was a great choice because you could develop for and support all 3 of those platforms (plus Android and iOS). Aside from having bad GPUs, expensive storage, and little modularity, they were great machines for development.

Now, with no Linux or Windows support, not so much (unless you don't need to use anything but MacOS.) Unfortunately, if you need to support MacOS or iOS, you don't have much of a choice. Just really unfortunate that what used to be possible with one machine may soon require two. So long as Apple supports any Intel Mac, many Macs will be able to get OS updates thanks to the OpenCore Legacy Patcher [1]. I'm not sure when Apple will drop Intel Macs though. The last Mac to use an Intel processor released in 2020, so there will hopefully still be quite a few years left of support for Intel Macs for the time being.

1. https://dortania.github.io/OpenCore-Legacy-Patcher/START.htm...

Re:New MacBook Air with M2 by nicoburns on Thursday July 07, 2022 @06:53PM (#32020690)
Windows and linux both work in VMs on Apple Silicon macs. I suspect the support for bare metal will come in time (definitely for linux, windows I guess we'll have to see, but I wouldn't be too surprised).
Re:New MacBook Air with M2 by anticensor on Thursday July 07, 2022 @05:25PM (#32019657)
Asahi Linux supports Apple M-series processors.
Re:New MacBook Air with M2 by tomaskafka on Wednesday July 06, 2022 @09:38AM (#32000705)
> The worst experience I've had was telling my dad MacOS Catalina couldn't be installed on his $3.5k iMac.

Just in case you'd be ok with unofficial way - there are patchers to enable macOS install on older machines:

https://www.macrumors.com/how-to/install-macos-catalina-unsu...

Re:New MacBook Air with M2 by thrwawy283 on Wednesday July 06, 2022 @10:10AM (#32001220)
This is something I'd be comfortable with maintaining, but I couldn't leave with my dad. (I work on the road for months, and it's unpredictable when I come back. Longest I was out was 2 years..)
Re:New MacBook Air with M2 by jiveturkey on Thursday July 07, 2022 @12:45AM (#32010000)
Isn’t that backwards? He wants to install Catalina on M1/M2 hardware. So do I :(
Re:New MacBook Air with M2 by johnfernow on Wednesday July 06, 2022 @10:13AM (#32001264)
> 2. It's not reasonable to expect to use it for 10 years. Even if Apple stops supporting it, you can still use it. In addition, Macs have insane resale value. So you can sell it in 5 years, and then buy a new one. This is a more reasonable approach than yours.

Why is that? I still use my 2015 15" MacBook Pro which released 7 years ago, and I have no intention of replacing it anytime soon. This isn't the 70s, 80s, 90s or early 2000s: the improvements in performance from one year to the next are far more modest and the utility of further improvements are far less impactful than they once were. My 2015 MBP is still as capable of browsing the web, writing code, and video editing as it was back in 2016 when I got it. It's not in any way slow doing any of those tasks.

The performance of an M2 MacBook would undoubtedly be much better, but am I actually going to be able to browse the web faster or write code any faster? Probably not.

A new 16-inch MacBook Pro with 1TB storage emits approximately 620kg of CO2e in its manufacturing process (The Carbon Footprint of Everything by Mike Berners-Lee, 2020 second edition, page 140). Why should someone emit more than half a ton of CO2e for a new laptop unless they really need it?

If you have a Mac that no longer gets OS updates by Apple, as long as it was released within the past decade you should be able to use OpenCore Legacy Patcher to update it to macOS Monterey (and later Ventura when it releases) without much issue. If it's older than that, you might run into some issues, but generally speaking everything from late 2008 and beyond is supported, with everything from late 2012 and beyond being fully supported.

https://dortania.github.io/OpenCore-Legacy-Patcher/START.htm...

Re:New MacBook Air with M2 by SenHeng on Wednesday July 06, 2022 @10:23AM (#32001436)
> The performance of an M2 MacBook would undoubtedly be much better, but am I actually going to be able to browse the web faster or write code any faster?

I split my coding time between a 2017 retina MacBook and a 2018 Mac Mini. Code compiles very much faster on the Mini -> faster iterations. So yes, you may literally code faster on a faster computer.

Re:New MacBook Air with M2 by claytongulick on Wednesday July 06, 2022 @10:54AM (#32001904)
I switched to surface book when mac jumped the shark in '16.

Went through a few generations of that, it was "ok".

Bought the cheapest 13" M1 I could because I had to debug some stuff on the iPhone, I was pretty angry about it.

That day I switched over to it as my daily driver.

The performance absolutely blew my mind.

Stuff I'd wait for one to two minutes to build on the SB would build in a few seconds on the M1.

Debugging + video call + building went from crushing my laptop to being not really noticable.

I was using it heavily for two days and realized I forgot to plug it in. Was only down to 50% battery.

I'm very far from being an apple fan boy, but this little laptop has completely blown my mind. Simply the best hardware I've ever owned, and makes me easily 2x as productive.

And that's all with the cheapest 8 gig of memory model.

Re:New MacBook Air with M2 by mwint on Wednesday July 06, 2022 @10:20AM (#32001394)
> Why should someone emit more than half a ton of CO2e for a new laptop unless they really need it?

If this is a serious concern for anyone, it looks like carbon capture runs around $22/ton. So this is an $11 problem.

Re:New MacBook Air with M2 by buzzy_hacker on Wednesday July 06, 2022 @10:27AM (#32001512)
Do you mean offsets (which don’t really do anything)? Because carbon capture is more expensive than that.
Re:New MacBook Air with M2 by nrp on Wednesday July 06, 2022 @10:36AM (#32001646)
For reference, carbon capture and sequestration goes for >$250/ton at the moment from reputable suppliers.
Re:New MacBook Air with M2 by hericium on Wednesday July 06, 2022 @12:47PM (#32003519)
> I still use my 2015 15" MacBook Pro which released 7 years ago, and I have no intention of replacing it anytime soon.

Understandable. Great vintage year!

Re:New MacBook Air with M2 by eertami on Wednesday July 06, 2022 @09:41AM (#32000748)
>enjoy macOS

If you're wanting to use your laptop for development work, you're going to pick the best job for the task. Moving to OSX would not only slow things down due to how slow non-native Docker is (no it is not negligible, yes I have an M1 Mac and I have tested it in a side-by-side comparison), but you have much less control over your environment compared to Linux.

The vast majority of the people I've worked with choose to use Linux laptops over Macs, and I don't think CPU efficiency is something that's going to get them to change. While working from home, I can think of zero scenarios where I need more than 8 hours of battery life, which my x86 Intel laptop already exceeds.

Re:New MacBook Air with M2 by thrwawy283 on Wednesday July 06, 2022 @10:18AM (#32001362)
I think we're getting faster at iterating on bringing up dev environments.

Silverblue is my favorite, but it's becoming common for me to develop everything within a docker image. As quickly as we're committing to a project, we're updating the env and rebuilding that image at the same time? I'm new to this.

I have a friend who's really big into k8s and ansible. Right now it feels like I'm toying around in 1 pod. He can bring up a set of services around the thing he's developing in a few minutes. I want his power. :x

Re:New MacBook Air with M2 by leadingthenet on Wednesday July 06, 2022 @10:54AM (#32001902)
It's called docker-compose, and it's really simple compared to even a 1 pod k8s. Or maybe I'm misunderstanding what you mean by bringing up a set of services.
Re:New MacBook Air with M2 by tomduncalf on Wednesday July 06, 2022 @01:14PM (#32003920)
Yeah seconding the recommendation for docker-compose, it's a great way to start up multiple services and once you know the syntax, pretty straightforward to use in my limited experience. You can essentially declaratively define which other Docker containers you want to start up (in which order), which volumes they can use, and which ports should be exposed.
Re:New MacBook Air with M2 by Aperocky on Wednesday July 06, 2022 @11:57AM (#32002831)
I don't enjoy macOS but I enjoy the hardware.

All of my work goes into (local/alpha/beta) production linux box that's why the mac is technically just a display.

And when I say local, I refer to a linux server, the mac connects to it. the macOS terminal does a nice work doing that, don't think there would be any difference in that regard if the laptop was running linux.

The new mac checks all of the hardware boxes that I wanted. Even occasional gaming if I felt like it.

Re:New MacBook Air with M2 by rbanffy on Wednesday July 06, 2022 @11:50AM (#32002725)
> due to how slow non-native Docker is

Are you running arm64 containers? Is x86 a requirement for you?

Re:New MacBook Air with M2 by yjftsjthsd-h on Wednesday July 06, 2022 @12:06PM (#32002949)
> It's not reasonable to expect to use it for 10 years.

Why ever not? I have 14 year old laptops that run fully up to date Linux just fine. Why can unpaid volunteers do better than one of the most profitable companies on earth?

> So you can sell it in 5 years

That just makes the looming end of support someone else's problem, it doesn't actually solve anything.

Re:New MacBook Air with M2 by SenHeng on Wednesday July 06, 2022 @10:19AM (#32001384)
I just checked several online auction sites and my 10 year old 2012 quad core Mac Mini can be sold for about $300 while my 5 year old 2017 retina MacBook can be sold for around $500.

That is insane.

* values converted to USD. Prices may differ in countries actually using USD.

Re:New MacBook Air with M2 by krzyk on Wednesday July 06, 2022 @12:22PM (#32003180)
> enjoy macOS

This is not something, a person that wants Linux, will enjoy.

> It's not reasonable to expect to use it for 10 years. Even if Apple stops supporting it, you can still use it

I'm not sure, my friend has M1 Macbook Air and he complains that it looses performance after a year.

Re:New MacBook Air with M2 by kzrdude on Wednesday July 06, 2022 @01:20PM (#32003992)
What does that mean, that it loses performance?
Re:New MacBook Air with M2 by diffeomorphism on Wednesday July 06, 2022 @10:24AM (#32001464)
Why are 10 years not reasonable? Like ebay is full of 2013 laptops and people buy these.

If it is not reasonable why can you resell it for a large amount after 5 years?