Kind: Notes
Short content: a post or status update with just plain content and typically without a title.
-
"Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm."
Alt
A fawn-coloured French Bulldog wrapped in a blanket in a way reminiscent of robes. This, combined with her wrinkled features, makes her look a little like Yoda.
-
Working with an old codebase today, I moved a method from one file to another. CI was happy.
Then I realised the method didn't have any automated tests, so I wrote one. It turns out its entire (new) file didn't have any, so my change would improve test coverage. Nice.
But it didn't. CI complained that test coverage had dropped. Wait, what? All I did was move some code and add a unit test.
Then I realised that the coverage analysis tool was only counting files that actually contained any tested code. By adding a test to part of a previously-untested file, that file became part of the scored codebase. Uh-oh.
Looked deeper. Turns out the code coverage tool was also counting the test files themselves as being part of the code-under-test.
Fixed all of the above. Code coverage score dropped by about 40%. ๐ฑ
Now I've got more work to do.
Happy Friday. Check what your coverage tool is inspecting, folks.
-
Got to say, it's very sporting of AWS to make compliance with their terms of service and acceptable use policy optional.
Alt
Screenshot of dropdown field labelled 'Will you will comply with AWS Service Terms and AUP - optional', currently set to 'Yes'. The label is saying that the field is optional, but the joke is that it sounds like complying with the terms of service is optional.
-
Note to self: ignore search results that say to install a plugin; the absolute fastest way to send a test email from a WordPress/ClassicPress installation (assuming you're using WP-CLI) is just to run something like:
wp eval 'wp_mail("recipient@example.com", "Test Email", "A test email from WP-CLI");' -
There are many things I don't like about the kitchen in the Chicory House where we're living medium-term following our house flood.
But I like the fact that the integrated spice rack makes it much easier to see where we perhaps have a very-specific blind spot for "buying a new one where the last one's still more than half-full".
Alt
Close-up of a spice rack containing not one, not two, not three but four tubs of 'ground white pepper by Sainsburys'.
-
I think I'm probably done with my blog (and podcast) series of Wikpedia @ 25 posts. It's been a surprising amount of work.
But don't think I've stopped hitting Random Article! Today I was reading about surface plasmon resonance, and, despite looking at it on and off all day... I still don't think I "get" it. I've even dived into the linked articles to try to get a background understanding of the topics around it, but... nope. It's still all gibberish to me!
Think I need the ELI5 version!
-
I let the elder kid choose her lunch. She chose a pizza so huge that each slice is larger than her entire face. Needless to say, she needed a little help with it!
Alt
Two preteen children sit in front of an enormous pepperoni pizza.
-
As both the UK's heatwave and my up-and-down England road trip continue, I think I've finally found a fan big enough to cool me off.
Alt
A large wind turbine.
-
Drinking a coffee while editing a podcast episode in the beautiful Ullswater valley, and this lovely little pied wagtail came by to say good morning!
Alt
Pied Wagtail (motacilla alba yarrelli) atop a dry stone wall.
-
I spent a while failing to interpret this sign. It seemed to be saying that if you didn't clear your tray... then you'd get ketchup poured on your wrist?
Alt
Printed sign reading 'this is a self-clear area; thank you' beneath a red illuminated icon of a hand onto whose wrist a bottle drips.
It turns out there's a baby bottle warming station on the other side of the bins.
(It is possible they my brain is struggling from a lack of sleep.)
-
It's been too damn hot out, so Ruth, the kids, and I took refuge at the snow park of an indoor ski centre!
Alt
Ring riders on an indoor ski slope.
-
Wikipedia @ 25: Milices Patriotiques
My random Wikipedia article of the day was Milices Patriotiques, who were a 22,000-strong communist group and part of the Belgian resistance in the Second World War. Which sounded really interesting, but their article was tragically short so that's pretty much all I have to say about them!
-
Hold your head up high and show some PRIDE.
Alt
A pride parade.
-
If the Romans played bingo, do you think the callers would have used 'bingo lingo'?
- Legs two
- Growing up the wall, four
- Seagull in flight, five
- Long-nosed dead man, nineteen
- Pornography, thirty
- Use your tongue, fifty-nine
- Smiling in a blindfold, a hundred and one
Alt
An American-style bingo card with Roman numerals in place of the numbers and 'quadrum gratuitum' in place of the free space. Based on an original photo by Oeil De Vautour / Edwin Torres, used under a Creative Commons Attribution 2.0 Generic license.
-
Wikipedia @ 25: Jim Marshall
Today's random Wikipedia article was Jim Marshall (photographer). I enjoyed reading about him and even looked up some of the many photographs that he took of musicians in the 60s and 70s, but decided that because I was literally just writing about a photographer that I learned-about on Wikipedia, it probably wasn't the time to write about another!