News for hackers. Stuff that matters.
Re:macOS Monterey by EamonnMR on Monday October 25, 2021 @06:39PM (#28994059)
If any apple product managers are reading this, the biggest thing holding MacOS back is that it global searches when you search a folder. I know there's a config setting for it, but dammit I want the default to be local file name search and full text search should be an off-by-default option, and search the whole hard drive should be a different also off by default option.
Re:macOS Monterey by Smoofer on Monday October 25, 2021 @06:48PM (#28994142)
This is the _biggest_ thing holding MacOS back?
Re:macOS Monterey by fnord123 on Monday October 25, 2021 @07:03PM (#28994289)
Reboot for an upgrade happens by holding a spin lock until it overheats and reboots. This happens every time on multiple computers so I think it's intentional(?) but the crash reports are pretty wild.

No official package manager.

The Macbook cases ground through the user when they're on an insulated surface (there is no ground pin on the Macbook power adapters).

Audio crackles when the machine grounds through the user. Makes speakers hum.

I guess some of these are hardware issues.

Re:macOS Monterey by shawnz on Monday October 25, 2021 @07:06PM (#28994309)
They are grounded if you use the "power adapter extension cable" (not shipped with the unit): https://www.apple.com/ca/shop/product/MK122LL/A/power-adapte...
Re:macOS Monterey by simondotau on Monday October 25, 2021 @07:31PM (#28994543)
Why don't Apple offer grounded duckheads? For that matter, why haven't any third parties made grounded duckheads? This has been irritating me for the past decade or more.

The ground connection, where available, occurs through the metal stud which the duckhead slides into. Correct me if I'm wrong, but even the UK (Type G) duckhead doesn't connect ground even though the physical ground pin is mandatory.

I know that most DC adapters are unearthed, but my lived experience is that you can often feel electrovibration in the aluminium Macbook chassis when ungrounded and it goes away when the Apple DC adapter is grounded.

Re:macOS Monterey by jim-jim-jim on Monday October 25, 2021 @08:30PM (#28995040)
It's not just your experience. When using the Apple-supplied charger, the surface of the macbook feels slightly fuzzy, and even delivers minor shocks.
Re:macOS Monterey by asddubs on Tuesday October 26, 2021 @04:19AM (#28997740)
getting zapped by ~50/100v (depending on what voltage your country uses) through the x rated capacitor, at a very low current. I don't use macbooks, but tried very hard to find a usb charger that actually has a ground prong for the same reason, and they seem to straight up not exist.

It's also weird to me, since they have exposed metal and a transformer winding shorting could lead to passing through line voltage to the usb port/your phone chassis. So how does it count as double insulated?

Re:macOS Monterey by cutthegrass2 on Tuesday October 26, 2021 @04:14AM (#28997702)
I'm so glad you mentioned this. I thought it was just me!
Re:macOS Monterey by ctime on Monday October 25, 2021 @07:37PM (#28994599)
The UK/Ireland 3 prong duckhead is grounded. I have no idea why third parties haven't produced grounded versions, other than the obvious (no demand and anyone who cares has a solution, use the extension cable).

[1] https://www.amazon.com/Replacement-Adapter-Duckhead-Universa...

Re:macOS Monterey by cassianoleal on Tuesday October 26, 2021 @07:53PM (#29007968)
It is most certainly not. The ground is done over the round pin that slides into the duckhead. If you check the rail where the pin slides in, it's all plastic.

The extension cable is the only one that's grounded.

Re:macOS Monterey by thombles on Tuesday October 26, 2021 @04:43AM (#28997907)
They used to, in Australia at least. I can't remember if it came with my iBook G4 or one of the Intels soon afterward, but out of the box I got both a two-prong stub that attaches directly to the brick and a ~1.5m cable that goes to a three-prong plug. I sold the original laptop long ago but kept the old grounded cable all the way up to my current work MBP. Personally the buzzing drives me nuts.

The first time I noticed it I was a bit worried about it all. I had a volt stick from work (a safety device to identify live wiring) and surprisingly it illuminated when I brought it near the metal chassis of my macbook. Some further tests with an oscilloscope showed that it was floating a good couple of hundred volts, but the capacitance was so low that the energy payload was never going to do any harm to a human. I don't care, I still just ground the thing.

Re:macOS Monterey by simondotau on Tuesday October 26, 2021 @09:12PM (#29008506)
The no-longer-standard extension cable is properly grounded, the duckhead (what you called a "stub") has never been. This is the case in all countries including Australia, where I live.
Re:macOS Monterey by ashtonkem on Monday October 25, 2021 @07:40PM (#28994628)
It’s kind of interesting that it’s not a code requirement. I presume that the power charger is double insulated, hence the option for 2 prongs, but the laptops sure aren’t double insulated.
Re:macOS Monterey by jonwest on Monday October 25, 2021 @09:03PM (#28995200)
I feel so stupid that I was chasing down audio hum issues for a while and even though I knew it was ground related I didn’t even clue in to use the 3 prong adapter.
Re:macOS Monterey by fnord123 on Tuesday October 26, 2021 @08:44AM (#28999678)
This is Emporers new clothes territory. How can a >2k EUR machine ground through the user unless they purchase extra add-ons. I don't know why there's not a class action law suit on this.
Re:macOS Monterey by shawnz on Tuesday October 26, 2021 @09:42AM (#29000275)
It doesn't seem like a big deal to me. I never noticed any issues when using the ungrounded adapter. I think it is pretty conventional for most modern electronics to use a floating ground.
Re:macOS Monterey by astrange on Monday October 25, 2021 @07:12PM (#28994371)
> Reboot for an upgrade happens by holding a spin lock until it overheats and reboots. This happens every time on multiple computers so I think it's intentional(?) but the crash reports are pretty wild.

That's a watchdog kernel panic (maybe). Shouldn't be seeing that unless you have misbehaving NFS mounts or something.

Re:macOS Monterey by fnord123 on Monday October 25, 2021 @07:20PM (#28994447)
Yes, it's a watchdog kernel panic which takes place after the fans spin up. No NFS mounts here.
Re:macOS Monterey by frupert52 on Monday October 25, 2021 @07:37PM (#28994600)
I have them happen too (for no particularly discernible reason)
Re:macOS Monterey by astrange on Tuesday October 26, 2021 @06:52AM (#28998712)
Well, you can always set up a coredump server and report it with Feedback Assistant…
Re:macOS Monterey by fnord123 on Tuesday October 26, 2021 @09:35AM (#29000209)
I do this dutifully with each reboot.
Re:macOS Monterey by davidbarker on Monday October 25, 2021 @08:19PM (#28994962)
I’m not sure if you’re describing the same issue I had, but whenever my MBP (15”, 2018) would restart during an update (and sometimes just a regular restart), I would get the progress bar after entering my password. The fans would then spin up, the machine would get ridiculously hot, and the machine would restart. It was an endless loop.

Usually, I was able to get it to complete whatever it was trying to do and log me in by holding it directly in front of my air conditioning unit (this was as ridiculous as it sounds), but a few weeks ago even that didn’t work. I had to completely wipe the machine and reinstall macOS. It’s been fine so far.

Re:macOS Monterey by wpearse on Tuesday October 26, 2021 @03:26AM (#28997395)
I just had a similar endless loop on update (Catalina to Big Sur) last week. Apple guided me to do a T2 firmware update which bricked the machine. Sent it in for service.

Logic board was replaced "under warranty" (it's a 3 year old machine with no Apple Care!).

Re:macOS Monterey by mmastrac on Monday October 25, 2021 @08:26PM (#28995011)
> The Macbook cases ground through the user when they're on an insulated surface (there is no ground pin on the Macbook power adapters).

Oooh, I had fun with this one on an airplane. Kept getting shocks to my funny bone.

Re:macOS Monterey by hokumguru on Monday October 25, 2021 @10:49PM (#28995865)
Woah is that why it feels like my MacBook is humming sometimes when I touch it? Wondered this for years.
Re:macOS Monterey by somedude895 on Tuesday October 26, 2021 @12:51AM (#28996525)
Yes! I've been wondering what was up with that since forever! Weird that they say the power adapter doesn't have a ground pin though because the one of my 2019 MBP does in Switzerland.
Re:macOS Monterey by vultour on Tuesday October 26, 2021 @03:43AM (#28997494)
Not sure how the charger looks in Switzerland, but if it's modular (you can swap the plug), does it have a third connection where it attaches to the brick? The ones in UK have 3 prongs but only 2 connections.
Re:macOS Monterey by mdisibio on Tuesday October 26, 2021 @09:10AM (#28999925)
> No official package manager.

That's the app store. It just needs to be extended to deliver a wider range of things like CLIs or system extensions.

Re:macOS Monterey by zepto on Monday October 25, 2021 @08:37PM (#28995077)
What do you want from an ‘official’ package manager?
Re:macOS Monterey by smoldesu on Monday October 25, 2021 @09:28PM (#28995352)
For one, it would at least solve the issue of MacOS' coreutils being perpetually outdated. Secondly, it would be a nice way for developers to skip the burning dumpster fire otherwise known as the App Store when distributing basic apps, without having to download untrusted third-party software.

As for specific features, I'd really like to see a list of all the different MacOS components so I can remove the things I don't care about (iMessages, Photos, Facetime, etc.) like I can do on all my Linux boxes. It would be nice to have integration with MacOS' various distribution formats too, and while we're asking I'd love to see a declarative approach like NixOS, that would really put MacOS head-and-shoulders above your average Linux distro.

Re:macOS Monterey by cpuguy83 on Tuesday October 26, 2021 @01:43AM (#28996813)
How would a official package manager solve packages being out of date? Apple has a means to deliver those updates already. If they had an interest in doing so, they'd update them. So it stands to reason it would be up to the community to deal with this, as it does now.
Re:macOS Monterey by vajrabum on Tuesday October 26, 2021 @12:04AM (#28996269)
A real uninstall capability would be a basic starting point.
Re:macOS Monterey by zepto on Monday October 25, 2021 @10:18PM (#28995698)
You aren’t the person I asked. From your previous comments, it’s obvious that you want MacOS to be more like Linux. I was curious if there are other reasons someone might have.
Re:macOS Monterey by fnord123 on Tuesday October 26, 2021 @09:39AM (#29000249)
Annoint brew. It feels like a total hack that you need an open source project which gets meagre funding (I tishinkbthey donate some hardware) is the only way to get a >2k machine to be useful for development.
Re:macOS Monterey by diffeomorphism on Tuesday October 26, 2021 @03:11AM (#28997312)
Not the person above, but I just want it to be official/blessed. Same as with winget vs chocolatey. Same as with netflix vs torrents. I want one and only one main place to look. The other options might be "better" in some aspect, but being standard/official/"the one" is a huge benefit.

Every other OS, be it windows, android, ios, linux, *bsd,... has a package manager included. Mac is the only hold out.

Re:macOS Monterey by abrazame on Monday October 25, 2021 @09:04PM (#28995206)
It may sound insignificant, but quality-of-life issues like these feel incredibly frustrating, and build the feeling that your computer is working against you, rather than with you (or at the very least at cross purposes to you). Friction is a big deal. It doesn't feel like your tool when it keeps doing things you don't want it to do.

It was exactly this issue that made me finally dump Gnome.

Re:macOS Monterey by treeman79 on Monday October 25, 2021 @07:28PM (#28994517)
Yes
Re:macOS Monterey by gcatlin on Monday October 25, 2021 @07:03PM (#28994293)
For those who are wondering what the config setting is:

Finder -> Preferences -> Advanced -> When performing search: Search the current folder

Re:macOS Monterey by Implicated on Monday October 25, 2021 @07:15PM (#28994395)
Thank you.
Re:macOS Monterey by ksec on Tuesday October 26, 2021 @03:25AM (#28997381)
Thank You. This really should be the default settings.
Re:macOS Monterey by nyadesu on Monday October 25, 2021 @10:02PM (#28995603)
Thank you
Re:macOS Monterey by tailspin2019 on Tuesday October 26, 2021 @12:14PM (#29002243)
Thank you
Re:macOS Monterey by RussianCow on Monday October 25, 2021 @07:03PM (#28994291)
If this is the biggest thing holding their operating system back, Apple must be doing okay.
Re:macOS Monterey by EamonnMR on Wednesday October 27, 2021 @08:26AM (#29012302)
Almost everything else I do in an application, so the most I interact with the OS is when I clumsily look around for a file. I've started using fzf (you can install it with brew) and open but I shouldn't have to. QOL would be on par with Windows and Linux if not for this type of issue.
Re:macOS Monterey by egypturnash on Monday October 25, 2021 @07:02PM (#28994277)
I dunno if this is “the biggest thing” but I will concur that it is really annoying. I almost always want to search for a file name, somewhere in the folder I’m looking at or it’s sub folders. I wish I could change the default to be that.
Re:macOS Monterey by latexr on Monday October 25, 2021 @07:28PM (#28994518)
Finder Preferences → Advanced → When performing search: Search the Current Folder.
Re:macOS Monterey by egypturnash on Monday October 25, 2021 @10:12PM (#28995661)
oh awesome, thanks! Now if only there was a way to also make it default to searching for filenames instead of text contents.
Re:macOS Monterey by roryokane on Tuesday October 26, 2021 @02:19AM (#28997025)
That feature exists as well. Press ⌃⇧⌘F in the Finder to activate File > “Find by Name…”.
Re:macOS Monterey by e_proxus on Tuesday October 26, 2021 @05:37AM (#28998268)
You could even swap the key bindings to make it the default, by going to System Preferences → Keyboard → Shortcuts → App Shortcuts.

I do this to swap the shortcuts Reply and Reply All in Mail.app as well, so that I always reply everyone when pressing ⌘R.

See https://support.apple.com/en-gb/guide/mac-help/mchlp2271/mac

Re:macOS Monterey by hughlilly on Tuesday October 26, 2021 @04:00PM (#29005516)
I didn’t know this was a feature. No matter how many modifier keys I press with the File menu open, “Find” never changes to “Find by name”. (Searching the menu options through the Help menu does find the function, though.) Wonder why? (Edit: Never mind, BetterTouchTool was blocking it somehow!)
Re:macOS Monterey by aikinai on Monday October 25, 2021 @07:38PM (#28994607)
What any the fact that Spotlight is terrible at finding files and is now just trying to be a bad version of Google?
Re:macOS Monterey by jrochkind1 on Monday October 25, 2021 @09:27PM (#28995350)
seriously, why is spotlight still so bad at finding files?
Re:macOS Monterey by aikinai on Monday October 25, 2021 @09:46PM (#28995483)
I recently found Go-to-file[0], which is suspiciously obscure, but actually very good. It's a Spotlight-like search bar with fuzzy finding capabilities and it's a godsend after fighting with Spotlight for years.

[0] https://www.soma-zone.com/GoToFile/

Re:macOS Monterey by EamonnMR on Wednesday October 27, 2021 @08:27AM (#29012315)
Oh you don't want every search to find every python bytecode file on your whole system every time?
Re:macOS Monterey by mxxx on Monday October 25, 2021 @07:27PM (#28994504)
the one that does my head in is you can search for a file with spotlight but then the only thing you can do with the result is open it; you can't see what folder it's in or open the folder.
Re:macOS Monterey by grincho on Monday October 25, 2021 @07:31PM (#28994547)
Hit command-return to open the folder the file is in.
Re:macOS Monterey by lelandfe on Tuesday October 26, 2021 @03:13AM (#28997322)
This is a macOS pattern, by the way - other (good) search apps, like Alfred, maintain this behavior when searching for files. Very useful to remember
Re:macOS Monterey by reaperducer on Monday October 25, 2021 @08:34PM (#28995059)
you can't see what folder it's in

Hold down Command (or maybe Option), and it shows you the full file path in the bottom of the preview pane.

Re:macOS Monterey by lrhegeba on Tuesday October 26, 2021 @04:18AM (#28997735)
and unfortunately cuts the path off when it is too long, as happens far too often for me
Re:macOS Monterey by brailsafe on Monday October 25, 2021 @07:31PM (#28994544)
Press tab to bring up the preview pane in spotlight, then holding CMD brings up the folder it's in near the bottom. CMD+double click opens it in it's enclosing folder.
Re:macOS Monterey by willyt on Monday October 25, 2021 @07:37PM (#28994601)
In finder,

View > Show Status Bar

You can click on any of the folders to go there.

In spotlight, cmd click on the file to show it in the finder.

Re:macOS Monterey by divbzero on Monday October 25, 2021 @06:59PM (#28994248)
I also prefer search by folder as default and always have to look for that Finder setting to flip. We already have Command–Space bar for quick access to global search.
Re:macOS Monterey by willyt on Monday October 25, 2021 @07:41PM (#28994646)
type name:nameoffileIwant or just start typing and press down arrow then enter to select and search the Name matches:blah blah option that appears usually straight away.
Re:macOS Monterey by sygma on Tuesday October 26, 2021 @06:34AM (#28998613)
Re:macOS Monterey by hk1337 on Monday October 25, 2021 @06:57PM (#28994226)
Meh. It’s only slightly annoying. It global searches by default but all you have to do is click your folder name at the top of the search
Re:macOS Monterey by EamonnMR on Wednesday October 27, 2021 @08:28AM (#29012337)
On my previous macbook it was a showstopper because it would lock the machine up returning thousands of irrelevant files.
Re:macOS Monterey by pas on Monday October 25, 2021 @07:12PM (#28994372)
it's really confusing because in Mail the default is the opposite... oh well, first world problems! (plus I'm not a Mac user)
Re:macOS Monterey by Angostura on Tuesday October 26, 2021 @03:50AM (#28997533)
Yeh? Just opened a folder in Finder and clicked search in the window - it defaulted to searching that folder.
Re:macOS Monterey by jt_thurs_82 on Monday October 25, 2021 @06:56PM (#28994218)
I personally prefer the global search, I think the consistent behavior is good.
Re:macOS Monterey by pas on Monday October 25, 2021 @07:13PM (#28994381)
but it's not consistent with Mail for example :/
Re:macOS Monterey by slmjkdbtl on Tuesday October 26, 2021 @09:42PM (#29008676)
Are you sure it's not .DS_Store?
Re:macOS Monterey by EamonnMR on Wednesday October 27, 2021 @08:27AM (#29012322)
I've .gitignore'd it and never looked back.