MacOS curl error: “zsh: no matches found”

I’ve seen this error before with MacOS’s zsh and I can never remember what the issue is:

> curl https://localhost:8080/example?email=test
zsh: no matches found: https://localhost:8080/example?email=test

You can get this error with multiple different commands for the same reason. The ‘?’ in the param to curl is interpreted as a substitution wildcard character. To avoid the issue, either escape the ? as \? or just wrap the whole url in double quotes.

Samsung Picture by Picture (PBP) screen resolution support with MacOS

I recently just got a 4k Samsung monitor that supports Picture in Picture (PiP) and Picture By Picture (PBP) modes from multiple input sources, which is awesome because I tinker with a bunch of stuff on different machines at the same time. My 2015 MacBook Pro has no problem recognizing the unusual PBP resolution of half the width of a 4k display, but for my older 2008 Mac Pro that I use as my daily driver while I’m at my desk it stretches the resolution vertically which is not good. From this Samsung post here here it mentions the side by side resolution for 2 BPB inputs is 1920 x 2160. That’s definitely not a normal resolution, but the Nvidia web driver in my Mac Pro with a Nvidia 750ti doesn’t offer that resolution:

How to configure PIP/PBP size?

The way round this is to use SwitchResX to define a custom resolution. I’m running Mac OS X 10.11 on this Mac Pro, so I also need to follow these steps to temporarily disable SIP protection first in order to save the configs for the custom resolution.

To set a custom resolution of 1920 x 2160 – here I selected ‘Use simplified settings’ (which disabled a number of settings) and changed only the height/width and left all the other settings as default:

By default this set the vertical sync as 60hz and after rebooting the Display prefs didn’t pick this one up as a valid option. Dropping it to 30hz works through.

I also set a lower res to be more easily readable:

Save from menu bar, then it prompts to reboot to become active. After rebooting, open the Display settings in System Prefs, and now under the Scaled options for the monitor in PBP mode you’ll see the new custom resolutions available:

1920×2160 is almost too tiny to be readable for my eyes, but 1600×1800 is a comfortable resolution.

TenFourFox FPR32 will be the last release (Firefox for G4 and G5 Power Macs)

Sad to read today that the upcoming FPR32 release of TenFourFox, a browser built to run on older PowerPC G4 and G5 Macs, will no longer be developed.

I run TenFourFox on both a Power Mac G4 Quicksilver 2002 and a Power Mac G5, and have enjoyed having this option of a current browser that still runs and is able to access most modern websites on these older machines. Given that TenFourFox is developed and maintained by a single developer for free, it’s really nothing but outstanding that we’ve been able to enjoy having the option of running a modern browser on these aging machines.

Installing Windows XP on Virtual PC 7 for Mac OS X

Virtual PC 7 for Mac OS X comes with a preconfigured VM image for Windows XP. The approach for installing from disk image (.iso, .dmg) files instead of physical media is not so obvious, but here’s the steps that worked for me.

I’m installing on Virtual PC 7 on OS X 10.5 running on a dual G5 Power Mac.

Select the ‘Install from a Virtual PC for Mac CD’ option:

Next you’re prompted to install the install disk:

At this mount if you double-click the first of the .iso images for Virtual PC, it will mount the disk image, and should appear in Virtual PC:

This step seemed a bit flakey for me. If it doesn’t work, unmount the image, close Virtual PC and try again. I also noticed that it doesn’t work with the .dmg images, only the .iso images.

If it does pick it up, you’ll see in Virtual PC it shows the XP Pro disk is inserted:

Press Continue and it starts installing:

It only take a couple of minutes:

When it prompts for disk 2, double click the second of the .iso files:

Once installed, you’re ready to start up the VM:

XP starts up and you can continue through the XP setup steps: