This morning I woke up with the idea for a new random text generator: Random breakfast cereals! But more on that later. First it was a Sunday morning walk with the wife and Scully. We did a roughly 5 kilometre loop, stopping at a nice bakery/cafe along the way for morning tea.
Back at home, I finished work on tonight’s new Darths & Droids comic. Then I implemented the random breakfast cereal generator. Technical coding details follow in the next paragraph (feel free to skip it if not interested in coding nitty-gritty):
One issue critical with this generator was a problem that Andrew Coker and I have wanted to tackle for some time. The idea was to generate a cereal name (e.g. Crunchy Chcolate Bombs), and then a description of the cereal. But the description should use some of the same words as in the name, so that it’s described as “Scrummy bombs of chocolate with extra marshmallow bits” rather than, say, “Yummy shreds of bran with raisins”. To do this we needed to store some of the randomly generated words in a context dictionary and then recall them later on using variable names, rather than just generate more random text. Doing this required quite a bit of code refactoring, and a lot of heavily nested text replacements in the partially munged output string. This of course generated a slew of bugs with other replacements such as capitalisations and stuff. So we worked together to track them down and squash them. After a few hours of coding, we think we have it working properly.
TL;DR: Here’s the brand new mezzacotta breakfast cereal generator!
Another thing I’ve been doing is getting back into my Italian language practice. I’ve been practising regularly on Duolingo for a few years, doing some every day, but I slipped after my last overseas trip and didn’t start up again when I got back home, until a few days ago. Now I’m back into doing some revision every day. Fortunately it seems like I haven’t forgotten too much! If you use Duolingo, you can follow my profile here.
And a photo today, another behind-the-scenes of a set I built for the Cliffhangers theme. It might not be obvious where they are from this, but when you see the actual comic hopefully it’ll be convincing enough.
Spent time with the wife and Scully today. We did a 5 km walk around the neighbourhood, passing two dog parks along the way where Scully got to run around and chase a tennis ball. We stopped at a bakery for morning tea, and then walked home via the marina down in the bay.
Work-wise, I wrote some scripts for new Irregular Webcomic! strips, tidied up tonight’s new Darths & Droids strip for publication, and worked a bit on the mezzacotta random generators. Andrew Coker, whose original idea led to these random generators, did a lot of coding work today, developing a new generator to produce random art description plaques, like you see in art galleries, that give the title, artist, and a description of the work. It’s not quite ready to show off yet, but if you look at the Github project you can see the code as we commit and push it.
Here are some preview samples of the sort of artwork titles we can generate:
- Portrait of the artist’s sister-in-law
- Composition of pentagons and squiggles
- Self-portrait as Agamemnon
- The perfection of love in the toe of someone laughing
- Allegory on the vision of Satyr
It’s Saturday evening here and it’s been another beautiful warm winter’s day. I know there’s currently a record-breaking heatwave in Europe. It should be winter here at this time of year, but I swear it’s almost as if autumn never really ended, while spring has already begun. There are a lot of deciduous trees with old leaves still on them, while at the same time a lot of trees are flowering for spring already. There are magnolias, cherry blossoms, rhododendrons, camellias, and some others that I don’t know the names of flowering all over the neighbourhood. Oh, the golden wattle is also flowering, but then that always flowers in winter:
Today I took Scully to the vet for her first annual booster vaccination. She’s 16 months old now, and the vet says she’s looking fit and healthy.
I was planning to write a bunch of Irregular Webcomic! strips today, as I want to photograph and make a new batch in the upcoming week, but I never got around to it, doing other little things and household chores that chopped up the day. I’ll have another go tomorrow.
But what I did complete today was uploading photos for another day of my travel diary from my trip to Portugal back in May. I posted the diary entry over on my personal blog, where I post such things.
Hi everyone! I’ve been thinking for quite a while about making a new portal page for people interested in following my creative work and other stuff. Yesterday I decided to knuckle down and make it, and I previewed it early to my Patreon patrons to get some feedback while I was fiddling with the graphic design.
(Techy details: I had to dig pretty deep into WordPress custom CSS to get the design working how I wanted, removing a lot of excessive negative space in the sidebar. And then it turned out I’d stupidly installed the code into a sub-subdirectory rather than a subdirectory of my web root, so I spent another couple of hours moving directories, editing config files, and trawling through the WordPress database to edit all mentions of the sub-subdirectory. And then hack the .htaccess file to change the default landing page for the web domain. Thankfully it all seems to be working, but it’s possible there’ll be a glitch somewhere.)
TL;DR: It took more work than I’d expected, but we’re up and running!
The other thing I did today was write a new Proof that the Earth is a Globe: #21. Zodiacal light. I started about 9am and worked on that to about 2pm, so that was most of the day. But I’m pleased with this one. How often do you get to cite Brian May’s Ph.D. thesis in a piece of scientific writing?
Then I took Scully (my dog) out for a bit of walk, and spent the rest of the afternoon getting this new home page up and running. Here’s a photo of Scully (taken a couple of days ago):
Isn’t she cute?