“zsh: No match found” error

zsh attempts to expand any potential filename wildcard characters (such as ‘*’ and ‘?’) used in a command before executing it. This can lead to the confusing error “zsh: No match found” error. What makes this confusing is if you’re trying to execute a grep or something where you are trying to find or match something, since the error implies your search is not working, whereas the error is about the patterns zsh is attempting to expand in the command string, and not from executing the command itself.

Depending on what you’re trying to do, the easiest workaround is to wrap parameters in quotes or escape characters like ‘*’ and ‘?’.

e.g. for curl, wrap urls in quotes.

Using a Unisys VT terminal with VT132 as a wifi modem

I just picked up a Unisys TO300G VT terminal to use for a few retro projects, and tried connecting it to my VT132 and use it as a wifi AT modem. Initially I wasn’t getting anything echo’d to the screen, then remembered I needed to set the speed to 115200, and then started getting a response from the VT132.

Here’s the menu, with the speed initially at 19200 8N1 :

Now we’ve got responses echoing back but there’s a bunch of CR/LF chars:

Turns out they’re echo’d to the screen if you have the Monitor Mode set to ON, so turning this option off fixed this. Also, the backspace key wasn’t working, and the Recognize Del option set to ON fixed this:

Now using ATD to dial up bbb.fozztexx.com and we’re in business:

Loving the amber glow of the text on this terminal, and the smooth scrolling is <3

Mapping xml to Java POJOs with Jackson

Jackson is typically used for Json serialization and deserialization, but with the jackson-dataformat-xml dependency you can also use Jackson to easily map to/from XML too.

Maven dependencies:

	<dependency>
	    <groupId>com.fasterxml.jackson.core</groupId>
	    <artifactId>jackson-core</artifactId>
	    <version>2.12.4</version>
	</dependency>
	  
	<dependency>
	    <groupId>com.fasterxml.jackson.dataformat</groupId>
	    <artifactId>jackson-dataformat-xml</artifactId>
	    <version>2.12.4</version>
	</dependency>

If you have additional elements and attributes on elements that you’re not interested in, similar to Json, just add the ignore annotation at class level:

@JsonIgnoreProperties(ignoreUnknown = true)

In some XML docs you can have elements with the same name at the same level without a parent to exclusively group those elements. For example you can have xml that looks like this with a grouping:

<example>
    <name>example1</name>
    <items>
        <item>1</item>
        <item>2</item>
    </items>
</example>

This would be automatically handled by Jackson if your POJO class has a list of Item called items:

private List<Item> items;

but sometimes you’ll have a doc that looks like this:

<example>
    <name>example1</name>
    <item>1</item>
    <item>2</item>
</example>

To map this you need to use this annotation:

@JacksonXmlElementWrapper(useWrapping = false)
private List<Item> item;

Atoll locations in Microsoft Flight Simulator 2020 (part 1)

I’ve been doing some sightseeing in Microsoft Flight Simulator, flying over some of the major atoll locations around the world, and other famous Pacific island locations (e.g. Wake Island, featured in many Battlefield and other games)

Henderson Field, Midway Island – PMDY

https://en.wikipedia.org/wiki/Henderson_Field_(Midway_Atoll)

Bora Bora Airport – NTTB

https://en.wikipedia.org/wiki/Bora_Bora

Wake Island – PWAK

https://en.wikipedia.org/wiki/Wake_Island

Great Chagos Bank

https://en.wikipedia.org/wiki/Great_Chagos_Bank

The Maldives has many atolls spread across a whole archipelago of islands

VRMO Kooddoo – North eastern rim of the Huvadhu Atoll, Maldives

https://en.wikipedia.org/wiki/Kooddoo

This airport doesn’t appear to be in MSFS.

Kadhdhoo, Maldives

https://en.wikipedia.org/wiki/Kadhdhoo

Thimarafushi – Thaa Atoll, Maldives

https://en.wikipedia.org/wiki/Thimarafushi_(Thaa_Atoll)

https://skyvector.com/airport/VRNT/Thimarafushi-Airport

This is an odd one – in MSFS the island with the airport is just rendered as a large blocky beach:

Chuuk Lagoon, Micronesia – Chuuk International Airport PTKK

https://en.wikipedia.org/wiki/Chuuk_International_Airport

This is a view from approx 8000ft, the southeast rim of the atoll and looking back towards larger islands in the center:

I’ll follow up with another similar post soon.