I very much enjoyed reading Stumbling on Happiness by Daniel Gilbert. 📚

The book cover may be execrable, but the book itself was interesting and useful and stunningly readable. He has many many delightful turns of phrase.

Important fact: our brains lie to us all the time.

Stumbling on Happiness book cover. Screenshot of a page from the book with humorous text.

Vermilion sky at sunrise, and a blackbird (I think) welcoming the dawn.

Vermilion sky at sunrise.

Yay, my favourite author, Kristine Rusch, has early copies of her next books on Kickstarter 📚:

Boss, main character of Diving Universe … finally! returns in Thieves.

Squishy sent out teams to destroy something the Empire calls stealth tech.

Two excellent books for US$10!

Thieves book cover. Squishy’s Teams book cover.

Started watching TVNZ ☛ Rebecka Martinsson: Arctic Murders 📺:

When a childhood friend suddenly dies Rebecka Martinsson returns home to the north of Kiruna. But not everything is what it seems.

OK so far and Swedish scenery. 👍

Usually my photos of Kapiti Island are taken from Waikawa Beach, 20 Km north of here. Today we’re up close from Waikanae Beach.

Looking across a beach and sea to a large island.

Just before sunset I noticed this creeping inversion layer. Odd, with cows lost in the mist.

Paddocks, cows and a layer of ground fog. Paddocks with small hillocks and a layer of ground fog between the slopes.

Somehow I’ve never read any works by New Zealand crime writer

Dame Ngaio Marsh (1895 – 1982) … known as one of the “Queens of Crime”… primarily for her character Inspector Roderick Alleyn, gentleman detective who works for the Metropolitan Police (London).

Rectifying… 📚

Why women policymakers are better at fighting the pandemic | World Economic Forum:

COVID-19 outcomes are systematically and significantly better in countries led by women and, to some extent, this may be explained by the proactive policy responses they adopted.

Heh, my name is on board the Perseverance rover on its way to Mars 🚀:

3 fingernail-sized chips affixed to the upper-left corner of a placard feature the names of 10,932,295 people. They were individually stenciled onto the chips by electron beam

See you on Mars! Liftoff soon.

Mars Perseverance ‘boarding pass’.

It’s been far too long since I last used our cold press juicer. Today’s mix: carrot, Granny Smith apple, celery, ginger, lime, orange. Yum!

Applescript to copy info from MarsEdit

Micro.Blogger @hutaffe asked:

Is there a MarsEdit plugin or something that helps to quickly share a Link and title with some highlighted text for Firefox?

Update: after researching and writing the following I realised I had the question totally back to front. @hutaffe wants to select something in Firefox and send it to Mars Edit. Anyway, I hope the following is helpful for someone.

Use Applescript

My answer is: Here, have an Applescript.

The one tricky thing is the selected text. For my script you need to select some text and copy it then run the script.

Here's the actual Applescript:

tell application "MarsEdit"
-- first *copy* the text from the post that you want to include


tell selected post
	
	-- clear variables
	set myTitle to ""
	set myLink to ""
	set myPub to ""
	set myText to ""
	
	
	-- grab info and load into variables
	-- put each bit on a new line
	set myTitle to return & "Title: " & title
	set myLink to return & "Link: " & permalink
	set myPub to return & "Published: " & published date
	set myText to return & "Quote: " & (the clipboard) -- this is the selection you copied
	
	
	-- assemble into a chunk ready to paste elsewhere
	set the clipboard to myTitle & myLink & myPub & myText
	
end tell

end tell

Here's a screenshot:

MarsEdit Applescript screenshot.
MarsEdit Applescript screenshot.

The script copies Title, Permalink, Publication Date and your previously selected and copied text and puts it all on the clipboard ready to paste somewhere. I ran the script and then pasted to BBEdit, my text editor of choice.

Script results pasted to BBEdit.
Script results pasted to BBEdit.

How and where to run the script

For this Applescript you first copy some text then select a published post in the Main Window of Mars Edit, then run the script.

Selected post and text in MarsEdit main window.
Selected post and text in MarsEdit main window.

You can run the script direct from Script Editor (check tthe Utilities folder inside the main Applications folder on your Mac).

I usually run scripts via Keyboard Maestro where I can use a small scripts palette or assign a keystroke. Another option would be Red Sweater's own FastScripts (free for up to 10 shortcuts).

The script itself

Either copy the script above and paste into Script Editor, or email me and I'll send the script: miraz@firstbite.co.nz . (Once I figure out something better I'll add a link to simply download it.)

Aotearoa New Zealand has an election on Saturday 19 September 2020, so now all the nutters and conspiracy theorists are coming out to play — Covid-19 “a bioweapon being used against the public”, 5G cell towers, 1080 poison, anti-vax, fluoride… Sigh.

We watched The Kitchen:

the wives of Irish mobsters, take over organized crime operations in New York’s Hell’s Kitchen in the late 1970s, after the FBI arrests their husbands.

Based on a comic book miniseries.

Hmm, watched it through, but a bit meh about it. 🎬

The Kitchen poster.

Sasha had her stitches out today. The vet’s happy with how the wound is looking. 🐶 Sasha’s still slightly irritated by the wound but is coping well. Such a good dog!

World Science Fiction Convention hosted by NZ:

10 years of planning have gone into New Zealand’s first time hosting the World Science Fiction Convention. Several thousand ardent fans, guests and speakers were due to come to Wellington from around the world - about now.

the show must go on … more than 750 planned talks, sessions and workshops will be beamed out around the world online.

Our slightly more distant neighbour is now grazing her gorgeous part-Arab horse and its friend in the paddock right opposite our gate. I'm happy. 😎 🐎 The horse is very friendly too.

Side view of head and neck of a white horse.

Front view of head of a white horse.

Somehow the big load of firewood looks pretty small once it’s stacked in the firewood shed. We bought from the usual place, but this might be some of the best we’ve ever had. 🔥

A load of stacked firewood in a shed.

A former MP tells: I wake in the night shaking

We can argue that women should be safe to walk streets at night, go into men’s hotel rooms, visit doctors, without fear of being sexually assaulted, but that’s never going to happen. There will always be sexual predators

My job for this afternoon and tomorrow is to store 4 cubic metres of firewood — a mix of pine, macrocarpa and douglas fir — in the firewood shed. Half an hour today got about a third of it. The rest tomorrow.

A pile of firewood beside a small shed.

This praying mantis was on the garage door today. Apparently this isn’t the native mantis, but an invasive South African mantis. 🐜

Green praying mantis on blue background.