On Cough Syrup and Cold Medicine

This is a great article, with fantastic takeaways: How to understand cough medicines Supplementing vitamins C and D might help prevent the common cold, and taking zinc might help shorten its duration. Staying well-hydrated will help with your symptoms. Drinking honey-and-lemon or glycerol syrup will help. If honey and lemon proves insufficient, reach for pseudoephedrine if your nose is blocked or you have a sinus headache, paracetamol if you’re experiencing pain and fever, guaifenesin if you want to cough up more mucus, or pholcodine or dextromethorphan if you’d like to suppress a cough. [Read More]

AWS ACM Moving to Dynamic Intermediates

I wonder how many things are going to break when AWS changes how ACM certs are issued. They’re moving to “dynamic” (ie, randomly allocated) intermediates starting 11th October 2022, which is surprisingly soon! They say not to use certificate pinning, but lots of people do, and I’m sure there’s a load of custom config/deployment methods out there that’ll rely on some kind of static intermediate. Good luck, friends! [Read More]

Stop Edge Sleeping Tabs

Microsoft’s Edge browser is pretty cool, I use it instead of Chrome because .. somehow Microsoft has become less creepy than Google? They’ve recently added efficiency mode, which is handy until it starts sleeping the tab that Octoprint is on, which queues up all the “live view” features and somehow makes them replay at super-speed when I go back to the tab. AAAAANNYWAY. I did some searching and couldn’t find the answer to “how do I stop Edge from sleeping pinned tab” because that’s not a thing (article on what can stop a tab to sleep here). [Read More]

Housing Cost Increases and Perception

The low cost of borrowing money combined with a few other forces have really pushed up housing prices around here lately, and people keep telling me that “oh but your place has gone up in value, it all works out!” I knew in my bones it wasn’t right, but I did some quick math. Mortgage Townhouse Value House Cost Mortgage Increase 2019 $250,000.00 $320,000.00 $480,000.00 $160,000.00 2022 $250,000.00 $450,000.00 $680,000.00 $230,000. [Read More]

GitHub's Dependabot and Actions

I sent this to a friend who I’d been talking to about automation things, they probably didn’t expect this huge wall of text 😁 Since this isn’t a DM over social media, I’ve included the code and cleaned up the links, and shared it so hopefully I can find it in the future and it’ll help someone else who’s interested. I’ve had this on my todo list so here goes.. I was going on about how cool Dependabot is, and how it automagically makes Pull Requests (PRs) for updating packages in repositories… since you asked for some details it’s probably easiest to show an example of how I’ve got it set up. [Read More]

Terraform, AWS Access Keys and Keybase

Per the Terraform AWS Provider docs for the aws_iam_access_key resource, I figured I’d try this Keybase PGP thing. This is the config I’ve got (and stayed with, because it wasn’t wrong): resource "aws_iam_access_key" "example_key" { user = aws_iam_user.example.name pgp_key = "keybase:yaleman" } While trying to apply the config however, I got this error… │ Error: Error retrieving Public Key for keybase:yaleman: unable to fetch keys for user(s) "yaleman" from keybase │ │ with aws_iam_access_key. [Read More]

Terraform, Kubernetes and Github Container Registry Oh My

After much muttering and searching and and then some help from the lovely people on the rands slack, I ended up with a snippet for authenticating my kubernetes cluster to the Github Container Registry using terraform configuration. tl;dr: create a dockerconfigjson-type secret and use it in the image_pull_secrets field Create a secret with the authentication details: resource "kubernetes_secret" "ghcr_auth" { metadata { name = "ghcr-auth" } type = "kubernetes.io/dockerconfigjson" data = { ". [Read More]

Week in Review 2022-05-29

This week’s been pretty slow, still catching up on work and reading and software updates and dying laptop after my holiday. Woo. Monday Went splat. Started blogging the Ghan trip. Went food shopping. Ugh, did I mention splat. Such tired. Tuesday Great quote. pro·duc·tion| prəˈdəkSH(ə)n | noun A test harness that escaped CI clusters Watched Better Living through Chemistry. Sam Rockwell always plays a great character and Olivia Wilde and Michelle Monaghan really spiced up a zany script. [Read More]

Mi Scusi Day 2 - Darwin City

Friday the 13th, WooOoOoooo. Slept in a bit - we flew in a day early in case there were flight cancellations - thanks, COVID. I went out looking for some breakfast, and by 9am it was already ~30º outside. After toddling around for a while, marvelling at the number of massage parlors and bars promoting their Defence-Force discount, I found a lovely bacon, egg and avocado roll at Monica’s Café - a nice family-run establishment directly across the road from the hotel. [Read More]