Live data from Hacker News

macOS Monterey's new network quality tool is surprisingly good

danpetrov.xyz

41–50 of 99 posts

Re: macOS Monterey's new network quality tool is surprisingly good

#41

Nice! A network tool I've always wanted is one that automates the investigation you have to do manually if you are experienceing "internet issues". I mean, the check list is quite straightforward but still a pretty manual process, stuff like: - Do I have the expected IP? - Is there large packet loss or latency issues hinting at connectivity issues? - Can I ping the local gateway? - Can I ping to outside network? - Is…

#!/bin/zsh ip addr | grep $localNetworkPrefix ping $localGateway ping 1.1.1.1 ping $DNS01 ping $DNS02 open -a Safari https://downdetector.com/status/%1 Do `chmod +x ./scriptname.sh` to make executable and run with argument (e.g. net.sh facebook) to check a particular service. Edit: Thanks @Shared404

ip doesn't exist on macOS. That is a Linuxism.

You can use the following:

   netstat -rn -f inet | grep default | head -n 1 | awk '{ print $2 }'
To get the default gateway that is the preferred one on macOS, so you don't need to hard code it.

  scutil --dns
Will display the DNS servers/split DNS configuration as well.

Re: macOS Monterey's new network quality tool is surprisingly good

#42

Just tried running it on my (terribly inconsistent and laggy) directv/att satellite internet, and the process crashed with NSInvalidArgumentException. https://gist.github.com/judge2020/ff0279a51ed59a56aa184867c0... (14" MBP base model)

The programmer either meant to use NSNull or setValue:forKey or simply forgot a nil check.

https://developer.apple.com/documentation/foundation/nsmutab...

Pretty lame mistake to let slip through review and testing and a common enough error that Apple calls it out in its documentation:

https://developer.apple.com/documentation/foundation/nsmutab...

Re: macOS Monterey's new network quality tool is surprisingly good

#43

Earlier quoted context omitted.

Is this Copy-on-Write? Is the copy a real file or is this a filesystem implementation detail?

The stationary feature has existed since the “Classic” days. Probably MacOS 7. So it comes from the HFS era. It would be more accurate to say when you open a file with the Stationary flag set, a new of copy of the document is open in the default application. I don’t think a file system copy is created until you save.

Stationary pads were already implemented in the Lisa UI, but it took quite some time to show up in classic MacOS - https://www.applefritter.com/node/3198

Re: macOS Monterey's new network quality tool is surprisingly good

#45

Just tried running it on my (terribly inconsistent and laggy) directv/att satellite internet, and the process crashed with NSInvalidArgumentException. https://gist.github.com/judge2020/ff0279a51ed59a56aa184867c0... (14" MBP base model)

Huh interesting, works fine on my 2018 Intel MBP. Surprising to see a bug like this on the newest models.

Works on my M1 Air.

Re: macOS Monterey's new network quality tool is surprisingly good

#46

Just tried running it on my (terribly inconsistent and laggy) directv/att satellite internet, and the process crashed with NSInvalidArgumentException. https://gist.github.com/judge2020/ff0279a51ed59a56aa184867c0... (14" MBP base model)

Simple! Use macOS Monterey’s new software quality tool to debug this. I’ve heard it’s surprisingly good!

Re: macOS Monterey's new network quality tool is surprisingly good

#47

Nice! A network tool I've always wanted is one that automates the investigation you have to do manually if you are experienceing "internet issues". I mean, the check list is quite straightforward but still a pretty manual process, stuff like: - Do I have the expected IP? - Is there large packet loss or latency issues hinting at connectivity issues? - Can I ping the local gateway? - Can I ping to outside network? - Is…

This is what windows network troubleshooter was meant to be. But it never seems to work.

Re: macOS Monterey's new network quality tool is surprisingly good

#48

This is a neat little tool. I had no idea that was hiding in there. Anyone have any other little hidden gems on MacOS?

There are tons of excellent pieces of Apple software that come with iOS[EDIT macOS, that is] (or are free to download).

Preview's simply amazing and I miss it very much on every other platform, including iOS, but probably doesn't count as a hidden gem.

One that took me way too long to discover was the Digital Color Meter. It's a color picker that comes up instantly (much of what's so great about Apple's software is that they give at least half a shit about performance, unlike seemingly everyone else these days—it shouldn't be impressive that a color picker window comes up instantly from a cold start, but in the current software environment, it kinda is) and works for everything on your screen.

Re: macOS Monterey's new network quality tool is surprisingly good

#50

Earlier quoted context omitted.

Thank you so much for this. I think this is worthy of a separate HN post. On a related note, these hidden features are really annoying. How hard would it be to have a WiFi diags link in the WiFi dropdown? Why does Apple think that hiding things makes for a better user experience? Is it so that the people in the know get to feel like arcane knowledge masters? As it is, I have started randomly holding down option and c…

I think this is a great method for reducing user interface complexity, by taking rarely useful things out of the main flow. Option-click is pretty much the only trick used for menus, and it's fairly universal across the nearly 80 years of Mac. The incidence of people that would be helped by those graphs, and the people that option-click is pretty high, so this seems like a great combination. It's similar to option-le…

> it's fairly universal across the nearly 80 years of Mac

  2021 - 1984 == 37
I concur with your other points. :)
Post reply on HN