Live data from Hacker News

macOS Sonoma 14.4 might break Java on your machine

appleinsider.com

171–180 of 271 posts

Re: macOS Sonoma 14.4 might break Java on your machine

#171

Earlier quoted context omitted.

The reputation was well earned when Linux on the Desktop wasn’t as easy or friendly as it is today and was severely lacking good quality GUI applications. Windows was a virus laden mess and was not useful for running Linux apps. And besides the flaws of the other OS’es, OS X had some of the nicest window management features (Expose from the Snow Leopard is still my favorite window switcher), was a UNIX and had a thri…

Here are few particular things that I like about development in my mac: 1. Terminal is very usable, compared to Windows cmd. Modern Gnome Terminal is good, though. 2. Cmnd+C for copy, Ctrl+C for SIGINT. 3. Touch ID instead of root password, which works with Bluetooth keyboard as well, and that's with absolutely minimal configuration, uncommenting single line.

1. Who cares? I use iTerm2, Alacritty and Rio and they all work very well. Programmers don't have trouble installing alternative programs.

2. I remember the XFCE4 Terminal using Ctrl-Shift-C and Ctrl-Shift-V for copy/paste and liking it, no more SIGINT by mistake. But IMO a minor gripe, you can remap keys for copy/paste in most self-respecting terminal emulators anyway.

3. I agree on that but passwordless sudo saved my sanity and I don't care anymore. If I install a virus then I had all the troubles coming and I'll take responsibility. ¯\_(ツ)_/¯

Re: macOS Sonoma 14.4 might break Java on your machine

#173

I find it difficult to imagine how a change like this (sending a SIGKILL to the process instead of SIGSEGV on a page fault) can be done in the final release and not in one of the EA releases or betas. It is clearly a breaking change with no easy workaround (since SIGKILL cannot be caught), for a behaviour which is well defined by POSIX. Even if you momentarily ignore the reasons why someone thought this could be a go…

It sounds like the kind of half-baked change a junior dev might come up with, but lord knows how it made it through code review and into a release.

Especially when it was not in the beta version and introduced with the release candidate.

I do not have very kind words for Apple's dev teams today. Charitably I am trying to think that screwups happen, but this is bad and it is very hard to see how anyone thought merging it into an rc was okay.

Re: macOS Sonoma 14.4 might break Java on your machine

#175

Earlier quoted context omitted.

>There is very little you can safely do in a signal handler You can actually do pretty much anything you want, it's just the C library that uses a lot of global state and internal memory allocations, which messes things up. The core syscall API and any reentrant code you write yourself are not affected. >The memory state that a program receiving a SIGSEGV in is often undefined/garbage That may be true for arbitrary s…

You can "do pretty much anything you want" as long as you carefully avoid doing anything non thread-safe (even indirectly) in both the main app and the handler itself? How reassuring!

The HotSpot JVM is already multithreaded, they understand how to write thread-safe code (I'm not sure which JVM(s?) are reported to be impacted, HotSpot was the first I found a result for).

Re: macOS Sonoma 14.4 might break Java on your machine

#176
So I ranted about macOS a month ago here -- https://news.ycombinator.com/item?id=39369788 -- and in the meantime my Alacritty and iTerm2 began doing cold start up for 2-3 seconds now (granted they get cached so the cold start delay does not happen more than two or three times a day) and I am just left scratching my head and wondering WTF are the macOS devs thinking.

As other posters said: macOS might have had an edge over Windows and Linux before but that's no longer the case for a few years now. I'll definitely be looking for ways to use 5K display with my Linux laptop and will likely make a full transition to Linux in the next year or two.

Macs have amazing displays. So I'll use mine as thin clients I suppose. My eyes are happier with an Apple display so I'll use them for that alone.

Apple can still turn this around but their bogus security claims that serve mostly to annoy devs is them shooting themselves in the foot and making themselves a very uncomfortable bed to sleep in just some very short years in the future. Hope somebody at HQ understands that and is able to see the problem before too many people leave.

Re: macOS Sonoma 14.4 might break Java on your machine

#177
post #160

Earlier quoted context omitted.

Which is probably subpar comparing to Linux terminals and macOS iTerm2?

Having used iTerm2 and macOS for a long time, Alacritty in Windows with WSL2 and a Linux distro is a much better experience.

To be fair, I think it's very subjective, given the fact that Alacritty doesn't even support tabs (by design).

Also I find a simple Konsole on KDE+Linux superior for every Windows and macOS setup (including iTerm2).

Re: macOS Sonoma 14.4 might break Java on your machine

#178

Earlier quoted context omitted.

MacOS has bugs and inconsistencies everywhere. Some are bugs, some are inconsistent UX, only a few of them are "well... I just don't like it". An example: you cannot right click app-icons in the Docker in the mission control overview. The list of specific annoyances and bugs is likely in the 3 digits by now, and I've only used it for half a year. The worst of all was getting the M2 soft-bricked by an update, because…

Mac OS UX is just bad. I've been using it daily for a few years already, but I still struggle to perform basic tasks. And by "basic" I mean "How do I move a file?" or "How do I go one folder up?". Sure, I can read about this, but this shouldn't require me to read a manual.

It's a special kind of stubbornness that makes it so that a file manager doesn't have support for cut and paste, in order to move files.

The answer to most "it's a bit dumb that MacOS doesn't let you / forces you to" is "install app X, Y, Z".

- Don't like that apple's "Music" app pops up when you connect a Bluetooth headset? => Install an app.

- Want to be able to "alt tab" through windows of the same program, or in general not be uselessly flawed? => Install an app

- Want to be able to move and resize windows without aiming at the exact edge pixels of the window? => Install an app.

- Want to move & resize windows to very common places and sizes on a screen? => Install an app.

- Want global hotkeys for whatever? => Install an app

- Want a software package management system a'la apt? => Install an app.

- Want to rebind keys or make things like Home/End not be dead keys... because apple keyboards don't have that, and they cannot be bothered with it. "you should be using "⌘ + →" anyways... or, I suppose it depends on the window"? => Install an app.

- etc....

You don't get any of these annoyances with Linux / Gnome. "Why not use that if you hate MacOS so much?" I pretend to hear you say. First of all, because of anti-competitive reasons by Apple, I sort of have to. Secondly... something something angry old man yells at clouds.

Re: macOS Sonoma 14.4 might break Java on your machine

#179
Good thing that the changelog for the 3gb update only mentions emoji and podcasts:

macOS Sonoma 14.4 introduces new emoji as well as other features, bug fixes and security updates for your Mac.

Emoji

• New mushroom, phoenix, lime, broken chain and shaking heads emoji are now available in emoji keyboard • 18 people and body emoji support facing the opposite direction

This update also includes the following improvements and bug fixes:

• Podcasts Episode text can be read in full, searched for a word or phrase, clicked to play from a specific point, and used with accessibility features such as Text Size, Increase Contrast and VoiceOver • Safari Favourites Bar adds an option to show only icons for websites

Post reply on HN