Pointless variable declaration in source code

Which way works always and which one works only once?

BTW, those links in the code comments are broken links.

Doesnā€™t exactly inspire confidence in the Processing language.

You mean these below for activateIgnoringOtherApps() & activate() respectively:

Both are working for me!

1 Like

If one only works once it would be impossible to prove that the other (opposite action) works always. :grin:

My statement explained what I discovered when I ran the sketch why not try it for yourself. :smile:

The newest Mac I own is a 2011 21.5" iMac computer.
The latest OS it supports is macOS High Sierra.
I canā€™t run Processing 4 on Mac. :frowning:

I donā€™t even code Java on it anymore; The latest version of Intellij IDEA doesnā€™t run.

Interestingly, the latest version of Intellij IDEA that works officially only works on Mojave and higher. Someone probably contributed a patch that makes it work on High Sierra. Hooray for open source software!

Iā€™m using Garuda Linux, which is a distro based on Arch.

B/c itā€™s a ā€œrolling releaseā€ distro, I always have the latest package versions forever!

For protection against bad updates, Garuda creates pre & post snapshots of the OS files each time we add, remove or update packages, making them available straight from its boot manager.

Found these wikis about installing Linux on Macs btW:

1 Like

How would I test the macOS method if I install Linux?

Your post makes no sense in context.

Clearly my reply was based on your complaint about not being able to run latest Processing 4.

Itā€™s just an advise that itā€™s possible to breathe new life to your outdated iMac machine, being able to run latest apps again, by switching from MacOS High Sierra to a Linux distro.

This thread has gone off-topic, and the tone of the exchange is becoming unproductive. Please take a moment to review our community guidelines.

If you have a specific question, feel free to start a new thread. Just keep the discussion focused and respectful.

Thanks

1 Like