Apple

80 posts in Apple

Unable to connect with Autodesk Desktop Licensing Service

· Apple, Errors, Software

Recently migrated Shan from Windows to an Apple/macOS and every reboot she kept getting "Unable to connect with Autodesk Desktop Licensing Service" when launching AutoCAD on her Mac.

The official bullshit is to reinstall the Licensing Service (why is there even such a thing). But alas, that didn't fix it.

Also updating AutoCad to 2025 (we're barely even in 2024) didn't fix it (but made it work until the next reboot).

Script to display Mac battery information

· Apple, Hardware, Software

You can see how this script makes that couple very happy.

Quick and dirty script that shows your Mac battery information (health, cycles, etc). If an Apple keyboard or mouse is connected, it'll also display the battery % of those.

# Battery information
battery() {

	if !ioreg > /dev/null 2>&1; then
		echo "ioreg not found. Exiting."
		return 1
	fi

	_ioreg=`ioreg -l`
	_profile=`system_profiler SPPowerDataType`

	MOUSE=`echo $_ioreg -l | grep -A 10 "Mouse" | grep '"BatteryPercent" =' | sed 's/[^0-9]*//g'`
	TRACKPAD=`echo $_ioreg -l | grep -A 10 "Track" | grep '"BatteryPercent" =' | sed 's/[^0-9]*//g'`
	KEYBOARD=`echo $_ioreg -l | grep -A 10 "Keyboard" | grep '"BatteryPercent" =' | sed 's/[^0-9]*//g'`
	CYCLE=`echo $_profile | grep "Cycle Count" | awk '{print $3}'`

	if [ -n "$MOUSE" ]; then
		echo "Mouse: "$MOUSE"%"
	fi

	if [ -n "$TRACKPAD" ]; then
		echo "Trackpad: "$TRACKPAD"%"
	fi

	if [ -n "$KEYBOARD" ]; then
		echo "Keyboard: "$KEYBOARD"%"
	fi

	if [ -n "$CYCLE" ] && [ "$CYCLE" -ne 0 ]; then
		echo "Mac battery "`echo $_profile | grep "State of Charge" | awk '{print $5}'`"%"
		echo "Charging: "`echo $_profile | grep "Charging" | head -n 1 | awk '{print $2}'`
		echo "Cycles: "$CYCLE
		echo "Condition: "`echo $_profile | grep "Condition" | awk '{print $2}'`
		echo "Health: "`echo $_profile | grep "Maximum Capacity" | awk '{print $3}'`
	fi
}

Outputs something similar to this (no mouse or keyboard connected):

killwarp

· Apple, Networking, Software

Is your company forcing Cloudflare Warp on you, and are you running on a Mac (with sudo access)?

It probably sucks, spies on you, does MitM attacks, breaks most video conferencing tools, and is generally not very stable... Also... Zero trust!

Add this function to your .bashrc or .zshrc (whichever shell you're using*):

func killwarp() {
	sudo launchctl remove com.cloudflare.1dot1dot1dot1.macos.warp.daemon
	sudo killall Cloudflare\ WARP
}

Open a new shell window (to reload your dot files), and type killwarp.

Tracking "recycled" shoes with Airtags

· Apple, Misc

U.S. petrochemicals giant Dow Inc and the Singapore government said they were transforming old sneakers into playgrounds and running tracks. Reuters put that promise to the test by planting hidden trackers inside 11 pairs of donated shoes.

Most got exported instead.

[...]

t a rundown market on the Indonesian island of Batam, a small location tracker was beeping from the back of a crumbling second-hand shoe store. A Reuters reporter followed the high-pitched ping to a mound of old sneakers and began digging through the pile.

Apple restricts AirDrop in China

· Apple

I think this has been greatly underreported.

Apple purposely disables a feature on your phone during unrest.

Anti-government protests flared in several Chinese cities and on college campuses over the weekend. But the country’s most widespread show of public dissent in decades will have to manage without a crucial communication tool, because Apple restricted its use in China earlier this month.

AirDrop, the file-sharing feature on iPhones and other Apple devices, has helped protestors in many authoritarian countries evade censorship. That’s because AirDrop relies on direct connections between phones, forming a local network of devices that don’t need the internet to communicate. People can opt into receiving AirDrops from anyone else with an iPhone nearby.

Remote desktop and Wake-on-LAN

· Apple, Hardware, Linux, Misc, Networking, Software, Windows, www

Shan uses her iPad a lot, but a lot of the more serious (interior design) work needs to happen on AutoCAD or Photoshop. That is just not going to work on an iPad.

When we're travelling (read: holiday) she's carrying an old Lenovo ThinkPad 13 (great device!) just "in case" she needs to open AutoCAD and edit something minor or read the drawings/dimensions. But honestly, most of the time that device is turned off and dead weight.

Chicken Rice / Poached

· Apple

And of course the actual ad (how iPhone is super mega amazing) 🤷🏼‍♂️ but nice to see how they did it. And neat to see how tech evolved since my first iPhone 3G. What they fail to mention is the insane time it takes to film all that, and the post production editing... ;)

Custom CPUs

· Apple, Google, Hardware

"Google developing own CPUs for Chromebook laptops".

Interesting to see that many years after Apple started creating their CPUs for the iPhone (and now laptops/desktops), so many companies are following. Google is not new to building their chips (TPU, Titan (used in security keys and as encryption module for servers/Pixel phones), and likely more), but quite new to more generalised computing CPU for phones and laptops.

And it makes sense -- a lot of the generic CPUs were too generalist and not that great at their job (and are plagued with bugs). It came with heavy power usage. Having a ML/AI chip, a GPU chip, a generalist CPU chip (or two, one focussing on high performance, and one on efficiency, like the M1), one for security/encryption (Titan/T2), etc.

AirPod Max stuck at 74% battery

· Apple, Hardware

I've noticed my AirPod Max being stuck at ~74% battery and not wanting to charge any further. It's running the latest firmware and I usually charge them on a (legit) usb-A-to-lightning cable connected to my monitor. Even keeping them connected charging overnight would somehow max out at 74%.

There are a few Reddit posts with other people facing the same issue with AirPod Pros (case not wanting to charge further than 74%) but no concrete answer or solution is posted.