Live data from Hacker News

macOS Sonoma 14.4 might break Java on your machine

appleinsider.com

191–200 of 271 posts

Re: macOS Sonoma 14.4 might break Java on your machine

#191

Earlier quoted context omitted.

But both are awful compared to the other terminal emulators available. My favourites are alacritty and kitty.

IMO Windows Terminal is amazing Good design, great performance, great text rendering Has tabs, themes, quake mode, a settings UI, and keyboard shortcuts (that you can rebind) On macOS, I like iTerm2 a lot!

I've never had a terminal crash, except Windows Terminal.

Re: macOS Sonoma 14.4 might break Java on your machine

#193

Earlier quoted context omitted.

But this also means that signal handlers are running in what's effectively a separate thread of execution - even in otherwise single-threaded code! So the things you're allowed to do safely in your signal handler are very limited, they boil down to atomically tweaking some lightweight data structure (or even just setting a flag) that the main code will look at later and behave accordingly.

While it's true that async-signal-safe programming bears some similarities to multi-threaded programming, an interrupt really isn't the same as a thread. Also, there's a lot more you can do in a signal handler than just set a flag: you can longjmp or even make calls to regular functions. For example, one kind of program organization that used to be more common in Unix but that remains legal involves keeping signals m…

> Also, there's a lot more you can do in a signal handler than just set a flag: you can longjmp or even make calls to regular functions.

... As long as the called functions are fully async-signal-safe/reentrant. It used to be even more sensitive, in that not all register state was correctly saved/restored on Linux.

(On the fabled plan9, where signals are replaced with arbitrary-text "notes", the issue is even bigger as floating point registers are not saved/restored)

> We should be enhancing POSIX signals to make them easier to share, not casting aspersions on them.

That's fair, but they have already been fixed with signalfd, which more modern processes use to deal with the few POSIX-isms that require it, but many of the original uses have been superseded.

E.g., few modern applications use `timer_create` and SIGALRM, as they can instead use timerfd or poll with strategic timeout (although usually abstracted away by their eventloop). SIGBUS is a POSIX-way to deal with mmap truncation, but sealed memfds can be used to avoid the issue altogether. SIGUSR1/2 can be replaced by any IPC mechanism to give much more flexible controls than a single "reload"/"toggle" signal.

(The POSIX ways can still be useful in certain simpler programs of course.)

Re: macOS Sonoma 14.4 might break Java on your machine

#194

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.

Not as bad as:

How to lose your work using Undo Copy in Windows

https://news.ycombinator.com/item?id=35927413

Re: macOS Sonoma 14.4 might break Java on your machine

#195
post #160

Earlier quoted context omitted.

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).

Right, point being that using terminals in Windows is not necessarily subpar to iTerm2 on macOS.

Re: macOS Sonoma 14.4 might break Java on your machine

#196

[flagged]

Use Rider and you will. How do you develop .NET?

Haha, touché!

AFAIK JB are quite conservative when it comes to bumping up JVM (or .NET for that matter) versions for their tooling. Rider aside, I do most input in VS Code and occasionally Visual Studio (when not using laptop) because it has really nice extension Disasmo which helps a lot to iterate on methods quickly for low-level optimization.

Re: macOS Sonoma 14.4 might break Java on your machine

#197

Earlier quoted context omitted.

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…

Finder cut and paste is cmd+c then cmd+option+v for move. On the rest I agree.

Re: macOS Sonoma 14.4 might break Java on your machine

#198

Earlier quoted context omitted.

I cannot believe that, on macOS, high cpu usage leads to audio buffer underruns and popping, like something from the 90s but on today's premium hardware. It's inexcusable. On a platform that is constantly touted as the best for audio work, DAWs etc no less.

Wow, I thought I'm the only one as when asked in my Team no one agreed to facing these issues - but I faced it on multiple new Macbook Pros.

I discovered them when running stable diffusion which maxes out my m1max and audio started to stutter a lot despite everything else running fine. I was even thinking to myself how nice it is to be able to tax the machine and this be able to use it.

Re: macOS Sonoma 14.4 might break Java on your machine

#199

Earlier quoted context omitted.

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…

Cmd backtick? For tabbing through windows.

Re: macOS Sonoma 14.4 might break Java on your machine

#200

Earlier quoted context omitted.

I’ve been using macOS as my primary development environment for the past ~4 years and have loved every minute of it. I haven’t run into any of the issues you’ve mentioned thankfully, and docker works absolutely fine for my use cases. I can’t see myself ever switching for any reason.

I've been using MacOS for about 5 years, as it is the machine issued by my workplace. And I hate it. It's so much worse than Linux that it's not even a joke. Hell, I think I would have preferred to work on Windows with WSL than this crap. The hardware is not even that good. I presume people like it because it looks slick and serves as a status symbol.

Please name a competitor with better laptop hardware (I assume your workplace provided you with a laptop). Things such as better screen, lower fan noise/computing power ratio, speaker quality, touchpad and battery life.
Post reply on HN