At brunch at Floriditas in Wellington yesterday I was looking out on this electronic billboard and space mural.

Mural shows colourful planets against a background of black. On the left an electronic billboard advertises Zealandia.

It's rare to see BBEdit discounted, but WinterFest 2024 is offering a coupon:

BBEdit is the leading professional-strength text and code editor for the Mac. Crafted to serve the needs of writers, web authors, software developers, and everyone else who deals with text

BBEdit is my text workhorse.

Today we visited Wellington for brunch at Floriditas, where I ate Brioche french toast, Lewis Farms strawberries, strawberry caramel syrup & chantilly, first with a hot chocolate and then with a green tea.

It was fun to join half a dozen others in our now 30+ year Brunch Group.

Hot chocolate.
White plate with a slice of brioche, strawberries, and a cream like substance, topped with green leaves.

It's baby rabbit season.

A small brown wild rabbit nibbles on blades of grass.

Working on a friend's tiny plain HTML and CSS web page. Grr, doesn't work … still not working … still not working.

Brain wakes up: try editing the correct file. 😵‍💫

Well! Would you look at that! 😁

I wanted to watch something light and fluffy. The Grinch did not disappoint.

I liked all of it, but especially the animals, Max the dog, Fred the reindeer, the reindeer family and also the goat.

It was a fun watch. 🎥

The_Grinch poster.

A wee reminder for Kiwis who may have $20 to spare. This time of year family violence intensifies. Gift A Safe Night to Women's Refuge:

One night of safety at Women's Refuge for a woman and child costs just $20. It includes A safe, clean bed; Secure transport; Hot meals; Supportive staff; 24/7 crisis line; Helpful advice.

Thrilled that there were 3 little Tūturiwhatu | New Zealand dotterel chicks hooning round on the beach this morning. This one was watching me carefully. 🐦

Dotterel chick staning quite upright, looking at me.

Not sure about this, but I think the Spur-winged Plovers that hang around the beach have also reared chicks. The one closest to the camera looks smaller than the other two. 🐦

Three Spur-winged plovers.

The adventure continues in Dreadnought And Shuttle: Halcyone Space, book 3 by LJ Cohen. Our team of heroes are enterprising and creative. Another good read. 📚

As the former shipmates track Maldonado down, each course they plot endangers the life of his hostage, threatens to reveal Ithaka, and uncovers conspiracies that could brand them all traitors.

Book cover: Dreadnought And Shuttle.

Beautiful and amazing 5 minute video — 5,000 drones light up the night sky in a record-breaking winter show – The Kid Should See This — included Santa and his reindeer flying over planet Earth:

Like pixels in a three-dimensional display, each drone carries programmable LED lights and precise positioning systems. Computer programming orchestrates the images, maintaining exact coordinates, colors, and movements within the dark canvas above.

Well, today's Waikawa Beach news. The driver can't have known there's nowhere to go with a car once at Waikawa Beach. And those Walkers Lane paddocks — just a short sprint from our house.

But look how quickly it went down: about 10 minutes.

Screenshot of a Facebook post about a police pursuit of a fleeing driver at Waikawa Beach. The driver was quickly arrested.

Thanks to Collin Donnell for the Image Playground inspiration. This was fun. Our two dogs, Oshi and Sasha, as camper and astronaut …

Small brown and white dog in animation style with tent and mountains in the background.
Small animation style black dog in astronaut suit with space scifi background.

I asked Image Playground to make one of my dogs a fantasy hero and the other a chef. Seems pretty accurate.

You may have to look very closely at these photos to make them out. Above the zendo door is a mud bowl swallow nest. Yesterday when I touched my fingers inside the nest I could feel warm bodies. There was no squeaking though.

The camera angle is tricky, with no room to manoeuvre. Baby swallows. 🐦

Swallow chick with white fluff behind and wide white mouth visible behind a small dark beak. One eye can be seen.
Swallow chick with wide white mouth visible behind a small dark beak. One eye can be seen. At least one other chick can be discerned, maybe even 3.

Last night around 10 pm a southerly storm arrived suddenly. I went round and closed all the open windows. Rain lashed, wind, where gusts normally rock the house, was almost vibrating the house, sheets of lightning flashed frequently and thunder rumbled.

This morning we had a wee earthquake …

Someone needs to get on our roof to pull a huge clump of grass from the gutter. Foolishly I went with some rando who advertised on the local Facebook group.

The day he was meant to come it was rainy so he begged off — fair enough.

Since then communication has been terribly lacking. Just cancelled.

Mars Edit Post Category Counter AppleScript

I had Claude help me write an AppleScript and prepare this blog post. The AppleScript helps solve the problem of counting posts in categories on my Micro.Blog.

Mars Edit Post Category Counter AppleScript

This AppleScript is designed for bloggers and writers who use Mars Edit and want to quickly analyze the categories of their selected blog posts. The script provides a simple way to count how many posts are in specific categories without manual tallying. Before running the script, you'll need to:

  • Have Mars Edit installed on your Mac
  • Select the posts you want to analyze in the Mars Edit interface
  • Ensure your posts have categories named exactly "Birds" and "Books" (or modify the script for your specific categories)
  • Have AppleScript enabled on your system

The Script

-- Mars Edit Post Category Counter
-- Counts selected posts in Birds and Books categories

tell application "MarsEdit"
    -- Initialize counters
    set totalSelectedPosts to 0
    set birdsPosts to 0
    set booksPosts to 0
    
    -- Get the selected posts
    set selectedPosts to selected posts
    
    -- Count total selected posts
    set totalSelectedPosts to count of selectedPosts
    
    -- Iterate through selected posts and count categories
    repeat with thisPost in selectedPosts
        set postCategories to category names of thisPost
        
        -- Check and count Birds category
        if "Birds" is in postCategories then
            set birdsPosts to birdsPosts + 1
        end if
        
        -- Check and count Books category
        if "Books" is in postCategories then
            set booksPosts to booksPosts + 1
        end if
    end repeat
    
    -- Prepare report text
    set reportText to "Category Count Report:" & return & return & ¬
        "Total Selected Posts: " & totalSelectedPosts & return & ¬
        "Posts in Birds Category: " & birdsPosts & return & ¬
        "Posts in Books Category: " & booksPosts & return & return & ¬
        "Note: This report has been copied to the Clipboard."
    
    -- Display results in a dialog
    display dialog reportText buttons {"OK"} with icon note
    
    -- Copy report to clipboard
    set the clipboard to reportText
end tell

How to Use

  1. Open Mars Edit
  2. Select the posts you want to analyze
  3. Run the AppleScript
  4. A dialog will appear showing the category counts
  5. The report will be automatically copied to your clipboard

Note: You may need to modify the category names in the script to match your specific blog categories.

I quite often have good ideas for work someone else can do. 🤣

I've just sent in a Mars Edit feature request for some kind of on-demand Stats report.

I've easily discovered that in this calendar year to date I've posted around 842 times. Getting categories is a bit more fiddly.

Screenshot of part of Mars Edit window shows a list of posts, dates and categories.

The Oystercatcher chick is of course getting bigger, and darker, every day. 🐦

Oystercatcher chick and parent amongst driftwood.

Yummm. The 2-hour Fastest No Knead Rolls, Crusty Rolls | Jenny Can Cook were delicious.

After browsing the comments I changed the recipe in a few ways: I brushed the rolls with butter before baking, and I baked them for only 20 minutes. I also placed them on two baking mats.

Raw rolls before cooking.
Rolls brushed with butter on their way into the oven.
Properly browned rolls straight from the oven.