For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more js2's commentsregister

I asked Claude Opus yesterday if it could put my token cost (and tokens remaining) into the status bar and it insisted there was no way to get this information.

ETA: ah, this isn't getting real time cost from an Anthropic API or anything. It's estimating it based on token usage and a JSON config file that specifies token cost.


> Can this tool allow me to run both VMs in an Apple Silicon device in a performant way?

I use VMWare Fusion on an M1 Air to run ARM Windows. Windows is then able to run Windows x86-64 executables I believe through it's own Rosetta 2 like implementation. The main limitation is that you cannot use x86-64 drivers.

Similarly, ARM Linux VMs can use Rosetta 2 to run x86-64 binaries with excellent performance. For that I mostly use Rancher or podman which setup the Linux VM automatically and then use it to run Linux ARM containers. I don't recall if I've tried to run x86-64 Linux binaries inside an Linux ARM container. It might be a little trickier to get Rosetta 2 to work. It's been a long time since I tried to run a Linux x86-64 container.


Possible catch: Rosetta 2 goes away next year in macOS 27.

I don’t know what the story for VMs is. I’d really like to know as it affects me.

Sure you can go QEMU, but there’s a real performance hit there.


Not until macOS 28., but you're right, it's frustratingly unclear whether the initial deprecation is limited to macOS apps or whether it will also stop working for VMs.

https://support.apple.com/en-us/102527

https://developer.apple.com/documentation/virtualization/run...


This can be avoided by not upgrading to MacOS 28 right? I'm new to Mac's and the Apple release schedule so I'm not sure how mandatory the annual updates are.


Does Apple Silicon support VMs within VMs?

What if you run MacOS 27 in a VM, and then run the x86-hosting VM inside that?


It would be pretty difficult for Apple to disable Rosetta for VMs.


How so?


It doesn’t require anything from the host


The Apple documentation for using the Virtualization framework with ARM Linux VMs to run x86_64 binaries requires Rosetta to be installed:

https://developer.apple.com/documentation/virtualization/run...

So you must be talking about something else, perhaps ARM Windows VMs which use their own technology for running x86 binaries[^1].

In any case, please elaborate instead of being so vague. Thanks.

[^1]: https://learn.microsoft.com/en-us/windows/arm/apps-on-arm-x8...


You can just splat whatever support files it needs into the VM there isn't anything special about them. In fact you can copy them onto a different (non-Mac) device and use them there too


It never existed.



Oh I have another year? Phew.


This is just the divide between capital and labor though, isn't it? See also: everything is a remix; great artists steal.

I'm on both sides. I've contributed to open source. I use AI both in my personal projects now and to make money for my employer.

I'm still not sure how I feel about any of it, but to me the bigger problem is the division between capital and labor and the growing wealth inequality divide.


> great artists steal.

That quote is about inspiration, not just using others' work or style.

T. S. Eliot's version from 1920 put it best imho:

> Immature poets imitate; mature poets steal; bad poets deface what they take, and good poets make it into something better, or at least something different. The good poet welds his theft into a whole of feeling which is unique, utterly different from that from which it was torn; the bad poet throws it into something which has no cohesion.


Mistake? Haha. We don't make mistakes.

https://www.youtube.com/watch?v=wzFmPFLIH5s


Even the Apple II had multi-line BBSes[^1], so I'm not sure about her assumption.

[^1]: e.g. https://en.wikipedia.org/wiki/Diversi-Dial


> Apple introduced control keys (separate left and right ones) because companies writing terminal emulators needed it.

I'm not sure that's the correct reason.

The Apple II/III had the control key from the start. The Mac keyboard originally did not have control (nor escape.) When Apple introduced the external Apple Desktop Bus keyboard designed to be used with both the Apple IIgs and the Mac, it needed the full complement of keys to be used with both systems.

https://en.wikipedia.org/wiki/Apple_keyboards#Discontinued_k...


The open and closed apple keys first appeared on the Apple ///, initially next to each other on the left of the spacebar. On the Apple /// plus, the closed apple then moved to the right of the keyboard, which is what the Apple IIe inherited.

The closed apple key then appeared on the Lisa keyboard alongside an option key (both on the left of the spacebar), but the Lisa's closed Apple key acted like and is what became the Mac's command key.

https://www.nightfallcrew.com/09/12/2014/apple-iii-apple/

https://mirrors.apple2.org.za/Apple%20II%20Documentation%20P...

https://vintagecomputer.net/apple/lisa/apple_lisa_A6S0200_ke...


Great info!


Maxell. No w.


Maxell. No w.


For anyone not familiar with this classic ad:

https://youtu.be/dgrJEpUqSuw


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You