macos – Cannot access GitHub on MacBook using personal hotspot from iPhone

I encountered a very strange problem that I couldn’t find anybody ever reported anywhere using Google.

On my MacBook using my iPhone SE’s personal hotspot, it is almost not possible to access GitHub. It may work once at the beginning (i.e. the first connection), then “Safari cannot find the server”, and after waiting for 15-20 minutes, it may work again.

Some important observations:

  • The issue does not happen for any other websites than GitHub.

  • On the iPhone, it works. Thus the phone’s 4G connection is not an issue.

  • Using another iPhone (6S) with another 4G network (different carrier) as personal hotspot, it works.

I’ve desperately searched for a solution on Google but it seems nobody ever had the same issue.

Could you please help? Thank you very much in advance!

macos – Cannot mount netatalk volume

I’m setting up a centos Server with usage of netatalk.
Installation showed no error, afp.conf seems to be ok, service is running:

netatalk.service – Netatalk AFP fileserver for Macintosh clients
Loaded: loaded (/usr/lib/systemd/system/netatalk.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2020-07-09 18:22:23 CEST; 21h ago

Process: 32631 ExecStart=/usr/sbin/netatalk (code=exited, status=0/SUCCESS)
Process: 32630 ExecStartPre=/usr/bin/systemd-tmpfiles –create /usr/lib/tmpfiles.d/netatalk.conf (code=exited, status=0/SUCCESS)
Main PID: 32634 (netatalk)
Tasks: 4
Memory: 3.8M
CGroup: /system.slice/netatalk.service
├─32634 /usr/sbin/netatalk
├─32635 /usr/sbin/afpd -d -F /etc/netatalk/afp.conf
└─32636 /usr/sbin/cnid_metad -d -F /etc/netatalk/afp.conf

When I try to mount the volume specified in the afp.conf on a mac client, I get the error:

mount_afp: AFPMountURL returned error -1069

What can be the reason for this?

macos – Left click suddenly doing what the right click does

Stack Exchange Network


Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

.net – C# windows application run in MacOS

I’m just new in C# Windows Form. Now I have a project that Uploads a txt file and output into a PDF file. Now I need to use C# windows form for this but I’m just curious if I develop this using C# Windows form will I be able to install the application on a MacOS environment and use it as how I can use it on windows? Are there any consideration needed? Like do I need to install a certain package just to make it work in Mac or vice versa?

macos – Make script run on startup via launchctl via terminal

I have 2 computes( 1 on Linux, 2 on Mac) my PC with linux has access to terminal of Mac os machine with root access, there is also python script on 2 computer, how can I make python(it runs reverse shell) script run on booting using terminal with launchctl

Issue: Safari on macOS won’t open a new window via keyboard shortcut

In full screen mode, Cmd-N opens a new Tab instead of a new Window. Are you in full screen mode?

Also, in System Preferences > Keyboard > Shortcuts you can adjust the Cmd-N shortcut to open a new tab.

And it wouldn’t surprise me if there is a hidden defaults write command to do the same, though I wouldn’t know off the top of my head.

swift – macOS how to group and focus more than one labels during VoiceOver accessibility

My view hierarchy is: A parent view, a container view which is subview of parent view. The container view has multiple labels as a key value pair. Eg: Name: Somename. Something like under “Simplify Your Accessibility Information” Labels without grouping.

Note: My question is for macOS, I just gave iOS for reference.

VoiceOver reads key and value as separately but I want them to be read as one label and focus also as single label.

I tried to setAccessibilityFrameInParentSpace and NSAccessibilityElement. But still VoiceOver reads and focus separately.
Code:

    func setAccessibility() {
    
    var elements = (NSAccessibilityElement)()
    let groupedElement = NSAccessibilityElement()
    groupedElement.setAccessibilityLabel("(nameLabel.stringValue), (nameValue.stringValue)")
    //groupedElement.setAccessibilityFrame(nameLabel.frame.union(nameValue.frame))
    groupedElement.setAccessibilityFrameInParentSpace(nameLabel.frame.union(nameValue.frame))
    elements.append(groupedElement)
    /*
    nameLabel.setAccessibilityLabelUIElements(elements)
    nameValue.setAccessibilityLabelUIElements(elements)
    nameLabel.setAccessibilityLabel("(nameLabel.stringValue), (nameValue.stringValue)")
    nameLabel.setAccessibilityFrame(nameLabel.frame.union(nameValue.frame))
    */
    
    containerView.setAccessibilityLabelUIElements((elements))
}

I referred macOS accessibility. Something still I’m missing.
Individual labels are set accessibility enabled. Like

setAccessibilityElement(true)
setAccessibilityRole(.staticText)

Appreciate your input.

Thanks

How do I get the ‘Find My’ map back in the Messages app ‘details’ popup on macOS?

I used to have a ‘Find my’ map on the details popup in Messages, useful for quick access to that info.

It disappeared around the time I upgraded to Catalina, so I assumed the feature was pulled. However, when I got a new MBP 2 weeks ago, the feature reappeared, so there as probably something wrong with my old installation. It has now disappeared again, so why is that and how do I get it back?

Macos terminal profiles reset after each terminal restart

I am trying to customize Macos’s terminal profiles.

Strange thing is, each time I restart the terminal all changes are lost.

What is the Macos way to keep the changes permenant?

Screenshot after I modify the preferences: here

Screenshot after restart the terminal: here

Where is that save button? :-]

macOS Catalina 10.15.5 — my CURSOR IS DISAPPEARING

on my macOS Catalina 10.15.5, my CURSOR JUST STARTED DISAPPERING INTERMITTANTLY

it appears to happen only in Finder, and if I move my mouse around and click randomly the cursor re-appears when switching back into another application.

so now I really need to just shoot myself in the head because clearly I won’t be able to do anything else with this POS