Live data from Hacker News

Apple announces Foundation Models and Containerization frameworks, etc

apple.com

141–150 of 514 posts

Re: Apple announces Foundation Models and Containerization frameworks, etc

#141

Some 15 years ago, A friend of mine said to me "mark my words, Apple will eventually merge OSX with iOS on the iPad". And with every passing keynote since then, it seemed Apple's been inching towards that prophecy, and today, the iPad has become practically a MacBook Air with a touch screen. Unless you were a video editor, programmer who needs resources to compile or a 3D artist, I don't see how you'd need anything o…

I think practically everyone is better off with a laptop. iPad is great if you're an artist using the pencil, or just consuming media on it. Otherwise a macbook is far more powerful and ergonomic to use.

I think perhaps you are overestimating the computing needs of the majority of the population. Get one of the iPad cases with a keyboard and an iPad is in many ways a better laptop.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#142

Earlier quoted context omitted.

It’s title case[0]. [0]: https://en.wikipedia.org/wiki/Title_case

Then you would expect "frameworks" to be capitalized as well.

https://en.wikipedia.org/wiki/Law_of_triviality

Re: Apple announces Foundation Models and Containerization frameworks, etc

#143
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.

In case you're wondering, the Hypervisor.framework C API is really neat and straightforward:

1. Creating and configuring a virtual machine:

    hv_vm_create(HV_VM_DEFAULT);
2. Allocating guest memory:

    void* memory = mmap(...);
    hv_vm_map(memory, guest_physical_address, size, HV_MEMORY_READ | HV_MEMORY_WRITE | HV_MEMORY_EXEC);
3. Creating virtual CPUs:

    hv_vcpu_create(&vcpu, HV_VCPU_DEFAULT);
4. Setting registers:

    hv_vcpu_write_register(vcpu, HV_X86_RIP, 0x1000); // Set instruction pointer
    hv_vcpu_write_register(vcpu, HV_X86_RSP, 0x8000); // Stack pointer
5. Running guest code:

    hv_vcpu_run(vcpu);
6. Handling VM exits:

    hv_vcpu_exit_reason_t reason;
    hv_vcpu_read_register(vcpu, HV_X86_EXIT_REASON, &reason);

Re: Apple announces Foundation Models and Containerization frameworks, etc

#145

Will they ever update Terminal.app?

Just use iTerm2 (Warp or Kitty are two other options out of many) and be done w/it; why would Apple even worry about this when so few people who care about terminal applications even think twice about it?

I've tried all of them, including ones that yourself, and others, haven't mentioned like Rio. I stand by wanting Terminal.app simply updated with better colour support, then it's one less alternative program to get.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#147

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.

Orbstack has been pretty bulletproof

Orbstack is not free for commercial use

https://orbstack.dev/pricing

Orbstack owners are going to be fuming at this news!

Re: Apple announces Foundation Models and Containerization frameworks, etc

#148
post #63

Earlier quoted context omitted.

Does an iPad allow for multiple users?

Yes, but only if it's enrolled in MDM, bizarrely enough.

> Yes, but only if it's enrolled in MDM, bizarrely enough

In education or corporate settings, where account management is centralized, you want each person who uses an iPad to access their own files, email, etc.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#149
post #63

Earlier quoted context omitted.

Does an iPad allow for multiple users?

Yes, but only if it's enrolled in MDM, bizarrely enough.

I don’t think that’s bizarre at all, there’s a clear financial incentive for things to be this way. Apple can’t have normal people sharing a single device instead of buying one for each.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#150
post #54

Earlier quoted context omitted.

If that’s the one reason, have you considered just… not using the AI features?

Sure you can for now. But what when it's forced upon you to use them?

Well if that hypothetical situation ever happens, you can just switch to Linux then.
Post reply on HN