←back to thread

400 points dulvui | 2 comments | | HN request time: 0.446s | source
Show context
thisislife2 ◴[] No.41858057[source]
> In this scenario the macOS firewall does not seem to function correctly and is disregarding firewall rules ... Some examples of apps that do this are Apple’s own apps and services since macOS 14.6, up until a recent 15.1 beta.

This is not new - every time I update macOS, some of the system settings are changed to default including some in the firewall. And I have to painstakingly go through all of it and change it. Also, the few times I've reinstalled or updated macOS, I've always noticed that it takes longer for the installation if your system has access to the internet - so now I've made it a practice to switch of the router while installing or updating macOS or ios. (With all the AI bullshit being integrated everywhere in Windows, macOS and Android etc., I expect this kind of "offloading" of personal data, and downloading of data, to / from AI servers to keep increasing, especially during updates, to "prepare" for the new AI features in the newer OS updates. No internet means the installer is forced to skip it for later, saving you some valuable time, and hopefully you get to change the default setting before it starts up again. Whatever the claims of AI processing done on the Mac or iDevices itself, some "offloading" to their servers, will still happen, especially if the default settings - which you can change only after the OS is installed - also enables analytics and data collection.)

(More here https://news.ycombinator.com/item?id=26418809 and on this thread - https://news.ycombinator.com/item?id=26303946 ).

replies(5): >>41858347 #>>41858667 #>>41858894 #>>41859069 #>>41860418 #
hypeatei ◴[] No.41858347[source]
> I've made it a practice to switch of the router while installing or updating macOS or ios.

Why are you still using those OSes? That seems like a lot of work for something you paid for.

replies(7): >>41858740 #>>41858753 #>>41858910 #>>41859079 #>>41859370 #>>41859454 #>>41859860 #
vundercind ◴[] No.41859079[source]
Because all operating systems are terrible but the rest are so incredibly bad that Apple’s are still by far the best, once you add up time saved by features and capabilities and subtract time lost to pain-in-the-ass brokenness.

(Two decades on DOS/Windows home series and NT, at least for gaming and sometimes work, twelve years with Linux as my main desktop OS, started on Android for smartphones, before finally giving Apple a fair chance around 2011 or 2012… because I was issued a MacBook at work and was doing dual-platform mobile dev—FWIW I was rooting for BeOS back when it was still a thing, it was great)

replies(6): >>41859280 #>>41859646 #>>41860293 #>>41860642 #>>41861873 #>>41863563 #
freedomben ◴[] No.41859646[source]
If you've been on a MacBook since 2011 or 2012, it's definitely time to give modern Linux a try. It has come in enormously long way since then. I am not exaggerating when I say, I have a better out of the box experience with Fedora. Then I do with Mac OS. Mac OS certainly has a lot of features, and visually has a great deal of Polish, but it also increasingly has a lot of bugs.
replies(6): >>41859868 #>>41859881 #>>41860791 #>>41860917 #>>41861073 #>>41861121 #
vundercind ◴[] No.41859868[source]
I try every couple years. I tried KDE on Fedora last time (I hate gnome since 3) and could still crash various KDE apps with drag-n-drop operations—I’d trained myself never to use those outside narrow situations on Windows and Linux years ago because they usually broke things or did something stupid, but am now accustomed to them both working and doing something reasonable, so I spot those issues in a hurry when I use other environments now, and no longer accept that as just the way things are. Among other jank and poor stability, that’s just an example.

IIRC making caps another control anywhere I was logged in—not just in KDE—was weirdly hard, too.

Five or six years ago my Ubuntu tv-attached old desktop forgot how to decrypt the root disk its own installer had encrypted, after an OS upgrade.

My Debian server required manual intervention (busting out my rusty Gentoo chroot grub-installing skills) to install its bootloader. The manual version went the same aa usual and had no problems so no clue WTF the installer was trying to do, but it consistently failed, and this was boring, old business-class Lenovo workstation hardware. That was four or five years ago.

Basically when I try to go back I’m missing lots of features and it’s less stable than what I’m now accustomed to, so end up wasting a bunch of time and regretting it.

replies(3): >>41860075 #>>41860382 #>>41864867 #
aunty_helen ◴[] No.41860382[source]
Hard in this camp too. The OS tinkering that is as requirement of Linux racks up a massive time investment. When you use your computer for work, that bill gets big quick and sometimes it's an inconvenience you just can't afford.

MacOS, for all it's faults, can be tamed with little snitch and a slower update cycle, and then you have a relatively solid system. There's still some things to hate, like when I take my airpods out if I accidentally click one of the buttons Apple Music opens (no one wants to use Apple Music, ever). But, that little frustraition pales in comparison to the build your own experience a poweruser in Linux faces on a weekly basis.

This randomly came front of mind last night when I thought, I can't remember the last time something broke on my laptop. It's been literal months since I've had anything weird or unwanted that I've _had_ to deal with. Contrast that to the last time I tried to daily Linux, about 2 years ago when I bought a framework and couldn't even log in due to trackpad issues, sleep / hibernate issues, screen resizing issues, issues issues issues.

replies(4): >>41860435 #>>41862023 #>>41862252 #>>41863604 #
ActorNightly ◴[] No.41862023[source]
I don't get why people still spread the lie that you have to tinker with Linux. Like right now, I can give you a laptop with a clean Linux Mint install, and you never have to touch the terminal for anything system config to do work.

Seriously, its not that hard to say that you prefer MacOS because you like the feel of it. It does a lot of handholding for you, unlike Linux, which makes it way less likely for you to mess something up. You don't have to go the extra lengths to justify it lol.

replies(4): >>41862474 #>>41862517 #>>41863093 #>>41863184 #
justonenote ◴[] No.41863093[source]
That really depends on what type of work you are doing and your specific combo of hardware. And yes you can do work, but when sleep and power management doesn't work it's a significant QoL downgrade.

If you want to use CUDA as a simple example, you'll have to go through the process of using nvidia proprietary drivers and I'm far from well versed on it but that gives me random warnings and I don't quite get the compatibility between it and Xorg/Wayland or which combo to use and I have on more than one laptop ended up with a system that works but that the desktop randomly freezes requiring a hard reboot.

I still do use Linux Desktop and try various different Debian based or Fedora distros out but you definitely do end up tinkering. I don't use MacOS fwiw.

replies(2): >>41863384 #>>41863973 #
godelski ◴[] No.41863973[source]

  > If you want to use CUDA as a simple example,
When was the last time you tried this?

If your "CUDA" needs are pytorch, tensorflow, whatever, pip install (or uv pip install) and you're good to go.

When was the last time you even needed to? If you need to do actual kernel writing and thus actually need CUDA (this is pretty uncommon and I think most people that do that wouldn't be asking this question), then most of the issues are not actually issues.

I'll give an example of my latest CUDA error. I run EndeavourOS (Arch based) and so yes, using bleeding edge drivers. Did an update, reboot, oh no... I get to lock screen, login and black screen (but cursor).[0] What's the solution? Roll back cuda. Didn't work? Roll back kernel. Now it works. The problem? nvidia-560-35.03-9 was incompatible with kernel 6.11. I even was able to find in the forums (quickly) the exact issue[1].

But why am I saying this is no biggie? Well... I'm fucking running 560 drivers, which are beta. If you worry about these issues, don't. If you don't want that power, don't run Arch, Gentoo, or other bleeding edges. You know the most confusing part of this all? Was people posting their driver versions with `inxi -G` and so you only see `560.35.03` but I had to roll back `560.35.03-9` to `560.35.03-6`. But also, Nvidia could be better about their namings.

I will also concede that there is a lot of shit information out there and actually parsing what the real answers are takes experience. So here's my advice when you run into your next issue:

  Getting Information:
  - Start with journalctl and dmesg (try `journalctl -b -p 3` and `dmesg -L -l "err+"`. `-b` is only messages since last boot and the other flags are to only give you errors or worse). These are your "logs" 
    - There are others, and they *should* go under `/var/log` but just like in OSX how random junk goes to {~,/}Library/{Caches,Application Support}
    - Check versions, especially if you did an update
      - (side note): For all those confused where files should go, try `man hier`
  - Good chance you can get through by reading the man page, but this doesn't always apply 
    - also remember you can do `man 7 man` or `man man.7` (replace second man with any command). Also see `man -a man`
    - Don't know what man page you need? Try `man --regex cuda`
  - Visit the Arch Wiki (even if you're not on Arch) -- maybe even the Gentoo Wiki. RedHat docs are also pretty good
    - After that, try your distro's (or their parent's) forums.
      - Archwiki is good, Arch forums are a toxic hellhole occupied by people who's idea of grass is entirely contrived from what is visible on a screen. Use the forums of the children. I'm sorry to those who've experienced that place.
  - Then try Google, focusing on things from your logs. This would be up higher, but you can put quotes around things or dates and Google will outright disrespect you now)
    - If it is a specific program that looks to be the issue, try the Git{Hub,Lab} issues page too. Feel free to open an issue. Most devs are pretty nice, even to noobs, though there are also many who will insinuate you RTFM after quoting and linking to it. I'm also sorry about this.

  Solving issues:
  - First try rolling back. If you're not messing with your system, this can make most problems go away VERY quickly. 
    - If you're on a rolling release distro (like Arch) then this is your goto. Unless you like problem solving. But then why are you on Arch? 
    - With `pacman` this can usually be done quickly with `pacman -U file:///var/cache/pacman/pkg/thing-you-want`. You can use other tools, but this is good to know, and you know where things cache :) (`downgrade` is the common tool but it just does this) You can even do kernels this way!
    - Things like `timeshift` are useful (and the `pacman` or `apt` "autosnap"). But beware if you aren't using `grub` to just not do that option. Also check out `btrfs`
    - If need to reinstall an old kernel and it isn't in your cache check out the command `reinstall-kernels` (try `cat /usr/bin/reinstall-kernels`). This is a uncommon task and might only be because you've filled up `/efi` and deleted a kernel.
  - Stop fucking with the kernel if you don't know what you're doing. 99% of the time this is ***NOT*** the solution[2]
    - For nvidia you might want `nvidia_dr.modeset=1` and ***maybe*** (probably not) `nvidia_drm.fbdev=1`
  - Use `find` and `grep`.
    - I'm not joking, `find` is a crazy powerful tool and people sleep on it. (Seriously, how do people jump into large codebases blind and get running without `find`, `grep`, `awk`, and such tools?)[3]
But honestly, you'll need to do none of this stuff if you're on a "baby" distro. I very much welcome people to become more experienced at linux but not everyone needs to be and there's no issue with using a distro that holds your hand (OSX and Windows do). But I would strongly encourage any programmer (not just linux users) to become more familiar with the cli. There's an investment cost, but you'll reap >10x rewards from these efforts, even in general programming situations.

[0] For the fun of it, I asked GPT and gave it logs from journal and dmesg, it did not get the answer, and listening to it would have sent me down a rabbit hole where I'd be messing with the kernel (I use systemd and dracut, these were communicated to GPT and it was asking me to run mkinitcpio and mess with grub lol)

[1] https://forum.endeavouros.com/t/only-black-screen-after-logi...

And hey look, an update: https://forum.endeavouros.com/t/attention-nvidia-gpu-driver-...

[2] For me `/etc/kernel/cmdline` looks pretty much like `nvme_load=YES nowatchdog rw root=UUID=<that> resume=UUID=<blahh> nvidia_drm.modeset=1 nvidia_drm.fbdev=1` It should be short

[3] Here's a free one for you. Got a python project and you forgot to place `__init__.py` in the folders? `find src -type d -exec touch "{}/__init__.py" \;` (replace `src` with your root source directory)

replies(1): >>41864568 #
1. justonenote ◴[] No.41864568[source]
Sorry what??

Are you trying to refute my point that you end up tinkering if you are using Linux as a desktop?

I don't want to run bleeding edge, I don't want to compile my OS from source, I did with slackware as a teenager, I just want to play around with SD and other AI models without it causing me to end up with my laptop randomly freezing to a hard reboot until I go down a rabbit hole of driver/kernel/window manger combos.

If I want to do it on Windows it works and I don't get random hard freezes. Trust me I'd prefer to use Linux and do quite a lot but I really don't think you are refuting the point of 'you need to tinker a lot on Linux' with your post.

replies(1): >>41865060 #
2. godelski ◴[] No.41865060[source]

  > Are you trying to refute my point that you end up tinkering if you are using Linux as a desktop?
Yes and no. Most of my point was about if you're on a tinkering distro like Arch (which the OP is). If you're on Ubuntu, Pop, Mint, or similar you can just not tinker and be totally fine. I did add too much about how to actually problem solve on linux because a lot of people go to the wrong sources and that's one of the biggest barriers to entry (and my frustration with Google).

  > I don't want to run bleeding edge, I don't want to compile my OS from source, I did with slackware as a teenager, I just want to play around with SD and other AI models without it causing me to end up with my laptop randomly freezing to a hard reboot until I go down a rabbit hole of driver/kernel/window manger combos.
Use Pop_OS. You do not need to tinker. Things should work just as smoothly as Windows.

I'm not sure how old you are, but if "teenager" is 19 and you're even just 25, the landscape is completely different. Honestly, I think that's probably a true statement if we're talking about even a 3 year difference.