iOS

All the 14’s

I do a lot of work on my iPad and I don’t normally advocate diving into iOS betas in general anyway. And even though my iPhone isn’t as critical to me now as it was before I really got into modern iPads, I still need it to last through the day and generally be stable. So you might think I decided to avoid the iOS and iPadOS 14 betas like the plague.

Narrator: He did not avoid the iOS and iPadOS 14 betas like the plague.

The 14’s: iPadOS and iOS

The funny thing is that while Apple didn’t mention performance and stability at all during the WWDC 2020 keynote, iOS and iPadOS 14 are quite performant and very stable, remarkably so for any beta let alone the first beta. It’s about as far from last year’s iOS 13 beta experience as you …

(Read More)

Inspect Browser

I’ve been doing a lot of website testing lately as Vic and I work together on a podcast theme for Hugo. Part of website testing involves using the element inspectors and developer tools available in most (all?) desktop browsers. Sadly (I thought) I couldn’t do this in the same way on iPadOS, which I spend a huge percentage of my time working in.

I was wrong.

Inspect Browser is one of those third-party iOS apps that proves that while Apple may not care much about enabling people to get real work done on their “Pro” devices, the people out there doing the work do care.

The developer of Inspect Browser claims on the website that their app provides desktop-class web development tools and features, and they are not kidding.

JavaScript console, HTML and CSS element inspectors, device previews for responsive design work, network inspector – it’s all there. …

(Read More)

You greedy, greedy RegEx

Remember not too long ago I had to confess my regular expressions deficiencies to you, the dear reader, regarding an overly verbose regular expression I needlessly crafted, not realizing the greedy nature of the RegEx rendered part of it completely unnecessary?

It happened again.

This time it happened to me with a regular expression that I’ve used many times before. It has to do with my blog posting shortcut(s) and how I handle parsing markdown footnotes in iA Writer documents.

Here’s the regular expression I was using to find footnotes in my iA Writer texts:

\[\^(.+)]

My thinking when I wrote it is that it would find anything starting with [^, followed by one or more of any character, and ending in ]. Which it did, and it usually did it the way I expected it to. But then one day I typed the following paragraph: …

(Read More)

My iPad Upgrade

You may have observed that my frequency of writing here has slowed a bit, but I’m not dead yet. Vic and I are working on a website for Ronnie’s soon-to-debut podcast. In addition to that, I’ve spent some fairly non-productive time this past week playing with a major upgrade to my iPad life, namely a 2020 12.9” iPad Pro with Magic Keyboard.

My 2020 12.9” iPad Pro with Magic Keyboard

Coming from a 10.5” 2019 iPad Air, this iPad Pro seemed massive at first, and I really worried that I’d made a mistake. But now I know I didn’t. I do a lot of work on my iPad, and I love the screen real estate.

I also use my iPad as a tablet much of the time, if not most of the time, and while the 12.9” model is a little more unwieldy for that, it’s fine. …

(Read More)

Regular Expressions and Shortcuts, Part 4

This post is part of a series on Regular Expressions and their applications in the Shortcuts app.

Regular Expressions and Shortcuts, Part 1

Regular Expressions and Shortcuts, Part 2

Regular Expressions and Shortcuts, Part 3

Regular Expressions and Shortcuts, part 3.5

Using regular expressions in shortcuts is pretty simple. The Match Text block will always treat the text to match as a regular expression, and the Replace Text block has an option to treat the text to replace as a regular expression.

Shortcut actions to grab file names from a directory listing supplied by Secure Shellfish

In the above image, the Match Text block takes the directory contents list, which looks like this:

hugo-files/data/links/cars.json
hugo-files/data/links/podcasts.json
hugo-files/data/links/language.json
hugo-files/data/links/apps.json
hugo-files/data/links/security.json
hugo-files/data/links/linux.json
hugo-files/data/links/programming.json
hugo-files/data/links/apple.json

And performs a match to grab just the file name without the file extension, using the regular expression I talked …

(Read More)