Category "macos"

Python multiprocessing with macOs

I have a mac (MacOs 10.15.4, Python ver 3.82) and need to work in multiprocessing, but on my pc the procedures doesn’t work. For example, I have copied a

How to show certificate selection popup to the user in WKWebview embedded browser in mac

I'm trying to add support for client certificate based authentication (cba) in an embedded browser of my app in Mac. Here is the code I have. - (void)webView:(W

Swift to Arduino using serial

For my school project, i want to create a MacOS application that communicates with my Arduino using a serial connection. I tried 2 different library (SwiftSeria

Download a package copy of Rosetta to manually transfer to another Mac without internet [closed]

I have an odd situation here — I need to get a copy of Rosetta (the translation program that let's x86 software run on Apple silicon Mac

Polite ARIA live region for a game with high rate of messages

I'm running a little game on the web. In order for it to be optimally screen reader accessible, incoming messages, which can be about in-game actions or user te

Use RealityKit ARView on macOS

I'm trying to use an ARView in a macOS-only project. I can load a scene (tested with a Reality file from Reality Composer), and it renders fine. But how do I co

SwiftUI Drag and Drop files

I am trying to add a "Drag and Drop" gesture / function to my SwiftUI Mac application. I want to drop files from my System/ Desktop into my Application. It is

How to set terminal tabs titles in zsh, to vim filenames

I am using a oh-my-zsh shell in an Apple terminal (2.11) in full screen, and by default the name of the tabs is the name of the program being run (eg. vim). Is

How to set terminal tabs titles in zsh, to vim filenames

I am using a oh-my-zsh shell in an Apple terminal (2.11) in full screen, and by default the name of the tabs is the name of the program being run (eg. vim). Is

Errors when installing cocoapods with gem

I am using macOS Mojave and when I try to install cocoapods using gem I am getting the following error. Building native extensions. This could take a while

How to access own window within SwiftUI view?

The goal is to have easy access to hosting window at any level of SwiftUI view hierarchy. The purpose might be different - close the window, resign first respon

How to disable bracket autocomplete in Spyder?

How do you turn off the bracket autocomplete feature in Spyder? I'm using Spyder 4.0.1 on OS X Mojave. Consider the following Python dictionary: data_desired

SceneKit: How to constrain movement of a node to one axis locally, not the entire world

It's very easy to prevent movement of a node in one axis (X, Y, or Z) being moved by other forces with an SCNTransformConstraint.positionConstraint in world spa

NSWindow contentView not cover full window size - macOS & SwiftUI

I'm starting a new macOS app with SwiftUI but I have a big problem. The app needs a full size contentView (underneath titleBar) but I can't accomplish. On a new

Why does ksh's vi-mode in Terminal on macOS "Big Sur" sometimes corrupts the edit line?

I noticed that sometimes when trying to edit a line in the history to re-run a command, that ksh would garble the line and move the cursor up a line. It was rea

Apache Superset : bad interpreter: No such file or directory

I created a new environment to run a superset dashboard, super_dash, I get an error bad interpreter: No such file or directory when I run it.Not able to do any

pytorch (cpu only) on osx fails with symbol not found

I am trying to get started with PyTorch - on a mac osx computer. However, basic steps fail: from torch_sparse import coalesce, SparseTensor -------------------

pyinstaller makes an empty black window of my tkinter gui

For a very simple example, consider the following code import tkinter as tk from tkinter import messagebox class App: def __init__(self, parent):

Mediapipe in Mac M1 pro machine with ARM, facing issue with AUTORELEASEPOOL while bazel build for hello_world

I am using the latest Mac M1 pro (ARM) machine and was trying to install mediapipe as per this tutorial - https://google.github.io/mediapipe/getting_started/ins

Connection terminated during handshake flutter

It's really frustrating, wasted 3 days to get rid of but still on stuck problem showing on macos catalina version 10.15.1 and windows 7 also. My two PC's showin