Live data from Hacker News

Apple announces Foundation Models and Containerization frameworks, etc

apple.com

311–320 of 514 posts

Re: Apple announces Foundation Models and Containerization frameworks, etc

#311

I sure hope they provide an accessibility option to turn down translucency to improve contrast or this UI is a non-starter for me. Without using it, this new UI looks like it may favor design over usability. Why don’t they do something more novel and let user tweak interface to their liking?

They’ve had Reduce Transparency (under Accessibility) for a long time now. It still works.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#312
post #69

Earlier quoted context omitted.

The fact that they haven't done it in 15 years should be an indication that they don't intend to do it at all. Remember that in the same time period Apple rebuilt every Macbook from scratch from the chipset up. Neither the hardware nor software is a barrier to them merging the two platforms. It's that the ecosystems are fundamentally incompatible. A true "professional" device needs to offer the user full control, and…

If anyone wants to read up on how much effort Apple actually went through to keep Apple Silicon Macs open, take a look here: https://asahilinux.org/docs/platform/security/#per-container... Secure Boot on other platforms is all-or-nothing, but Apple recognizes that Mac users should have the freedom to choose exactly how much to peel back the security, and should never be forced to give up more than they need to. So fo…

> You're either fully locked in, or fully on your own.

I'm not sure what you mean by that. You can trivially root a Pixel factory image. And if you're talking about how they will punish you for that by removing certain features: Apple does that too (but to a lesser extent).

https://github.com/cormiertyshawn895/RecordingIndicatorUtili...

Re: Apple announces Foundation Models and Containerization frameworks, etc

#313

> New Design with Liquid Glass Looks like software UI design – just like fashion, film, architecture and many other fields I'm sure – has now officially entered the "nothing new under the sun" / "let's recycle ideas from xx years ago" stage. https://en.wikipedia.org/wiki/Aqua_%28user_interface%29 To be clear, this is just an observation, not a judgment of that change or the quality of the design by itself. I was gett…

The world flip flops from flat to 3D UI design every few years.

We were in a flat era for the last several years, this kicks off the next 3D era.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#314

Earlier quoted context omitted.

FWIW, here are the repos for the CLI tool [1] and backend [2]. Looks like it is indeed VM-based container support (as opposed to WSLv1-style syscall translation or whatever): Containerization provides APIs to: [...] - Create an optimized Linux kernel for fast boot times. - Spawn lightweight virtual machines. - Manage the runtime environment of virtual machines. [1] https://github.com/apple/container [2] https://githu…

WSLv1 never supported a native docker (AFAIK, perhaps I'm wrong?) That said, I'd think apple would actually be much better positioned to try the WSL1 approach. I'd assume apple OS is a lot closer to linux than windows is.

This doesn't look like WSL1. They're not running Linux syscalls to the macOS kernel, but running Linux in a VM, more like the WSL2[0] approach.

[0] https://devblogs.microsoft.com/commandline/announcing-wsl-2/...

Re: Apple announces Foundation Models and Containerization frameworks, etc

#315
post #168

Earlier quoted context omitted.

> Meet Containerization, an open source project written in Swift to create and run Linux containers on your Mac. Learn how Containerization approaches Linux containers securely and privately. Discover how the open-sourced Container CLI tool utilizes the Containerization package to provide simple, yet powerful functionality to build, run, and deploy Linux Containers on Mac. https://developer.apple.com/videos/play/wwdc…

> Containerization executes each Linux container inside of its own lightweight virtual machine. That’s an interesting difference from other Mac container systems. Also (more obvious) use Rosetta 2.

Podman Desktop, and probably other Linux-containers on macOS tools, can already create multiple VMs, each hosting a subset of the containers you run on your Mac.

What seems to be different here, is that a VM per each container is the default, if not only, configuration. And that instead of mapping ports to containers (which was always a mistake in my opinion), it creates an externally routed interface per machine, similar to how it would work if you'd use macvlan as your network driver in Docker.

Both of those defaults should remove some sharp edges from the current Linux-containers on macOS workflows.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#316

Okay, the AI stuff is cool, but that "Containerization framework" mention is kinda huge, right? I mean, native Linux container support on Mac could be a game-changer for my whole workflow, maybe even making Docker less of a headache.

It looks like nothing here is new: we have all the building blocks already. What Apple done is packaged it all nicely, which is nothing to discount: there's a reason people buy managed services over just raw metal for hosting their services, and having a batteries included development environment is worth a premium over the need to assemble it on your own.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#317
post #36
post #28

Earlier quoted context omitted.

It's impossible to have "native" support for Linux containers on macOS, since the technology inherently relies on Linux kernel features. So I'm guessing this is Apple rolling out their own Linux virtualization layer (same as WSL). Probably still an improvement over the current mess, but if they just support LXC and not Docker then most devs will still need to install Docker Desktop like they do today.

Apple has had a native hypervisor for some time now. This is probably a baked in clone of something like https://mac.getutm.app/ which provides the stuff on top of the hypervisor.

One of the reasons OrbStack is so great is because they implement their own hypervisor: https://orbstack.dev/

Apple’s stack gives you low-level access to ARM virtualization, and from there Apple has high-level convenience frameworks on top. OrbStack implements all of the high-level code themselves.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#318
post #69

Earlier quoted context omitted.

The fact that they haven't done it in 15 years should be an indication that they don't intend to do it at all. Remember that in the same time period Apple rebuilt every Macbook from scratch from the chipset up. Neither the hardware nor software is a barrier to them merging the two platforms. It's that the ecosystems are fundamentally incompatible. A true "professional" device needs to offer the user full control, and…

If anyone wants to read up on how much effort Apple actually went through to keep Apple Silicon Macs open, take a look here: https://asahilinux.org/docs/platform/security/#per-container... Secure Boot on other platforms is all-or-nothing, but Apple recognizes that Mac users should have the freedom to choose exactly how much to peel back the security, and should never be forced to give up more than they need to. So fo…

If anyone wants to read up on all the features Apple didn't implement from Intel Macs that made Linux support take so long, here is a list of UEFI features that represents only a small subset of the missing support relative to AMD and Intel chipsets: https://en.wikipedia.org/wiki/UEFI#Features

Alternatively, read about iBoot. Haha, just kidding! There is no documentation for iBoot, unlike there is for uBoot and Clover and OpenCore and SimpleBoot and Freeloader and systemd-boot. You're just expected to... know. Yunno?

Re: Apple announces Foundation Models and Containerization frameworks, etc

#319
post #304

Earlier quoted context omitted.

I kind of hate it. Every use of it in the videos shown so far has moments where it's so transparent as to have borderline unreadable contrast.

This is the first time I have ever thought “maybe I don’t want to update my phone“. Entirely because of the look.

In Settings -> Accessibility -> Display, you can enable Increase Contrast or Reduce Transparency to get rid of some of the worse glass effects, and Settings -> Accessibility -> Motion, you can enable Reduce Motion to get rid of the some of the light effects for content passing under glass buttons.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#320
post #41

iPad update is going to encourage a new series of folks trying to use iPads for general programming. I'm curious how it goes this time around. I'm cautiously optimistic

Isn't it still impossible to run any dev tools on the iPad?

Not quite. As another user mentioned, there's Swift Playgrounds which is complete enough that you can even upload apps made in it to the App Store. Aside from that, there are also IDEs like Pythonista for creating Python-based apps and others for Lua, JavaScript, etc. many of which come with their own frameworks for making native iOS/iPadOS interfaces.
Post reply on HN