Posts by Sarah Lewis
From Coding to Cooking: Practical Uses for ChatGPT
Six months ago, I started playing with ChatGPT, an AI developed by OpenAI. At first, it felt like being handed a high-tech gadget with a one-page manual—intriguing but a bit overwhelming. What was I supposed to do with it? Chat? Yet, as weeks morphed into months, I found that I was increasingly in conversation with…
Read MoreObsidian, the note-taker of my dreams
The backstory (Hate navel-gazing backstories? Just want the practical details? Feel free to skip to how I’m using Obsidian!) I’m one of those people who are always trying new systems, convinced that “all I need” to finally be on top of things is in the next system. Occasionally it’s even true, but usually takes a…
Read MorePlay Minecraft with your kids
I’ve written about why your kids like Minecraft, and hopefully that’s at least made you consider playing yourself. Now I’m going to tell you specifically why I think you should play with your kids.
Read MoreWhy your kids like Minecraft
A lot of parents find the appeal of Minecraft mystifying. It looks low-tech and old-fashioned, and they can’t figure out why their kids are so obsessed with it. I don’t claim to be able to explain your kids’ minds, but I’ll tell you what I like about Minecraft and what I hear from my 12-year-old…
Read MoreWooCommerce Subscriptions unexpected value: INF
Short and sweet, because I got no Google results for my search: When calling WCS_Switch_Cart_Item::get_old_price_per_day(), I got back INF as a result. After tracking it down, it was because I had filtered wcs_switch_proration_days_in_old_cycle but had a bug that was resulting in no value being returned.
Read MoreAdding or updating a Gravity Forms license on WordPress Multisite
Recently when I went to update plugins on a WordPress Multisite install, I noticed Gravity Forms wouldn’t update and gave the following error message: This didn’t come as a surprise because I knew the license was expired. I had a new license number to activate, but it wasn’t immediately obvious where I could do that.…
Read MoreReact Query – Essentials course errata
I’m learning React Query, specifically by going through Tanner Linsley’s React Query – Essentials course on Teachable. I had heard that there are some version-related inconsistencies in the course, and sure enough, I’ve run into them. The associated repo is also out-of-date, so no help there. I’m documenting them here as I encounter them in…
Read MoreCooking rice packets in a Thermos
A few facts led to embarking on this experiment: My 12-year-old son and I are both lazy uninterested when it comes to preparing entrees for him to take to school. Mornings are not a great time to do something involved, both due to a night-owl tendency on his part and the short window to get…
Read MoreThree creative ways to use up leftover marshmallow fondant
I made a couple of cakes for a school cakewalk last week, and ended up with leftover marshmallow fondant in four colors. Thinking there must be some reasonable way to use it up, I googled. The results were… uninspiring. Essentially, the advice was either to save it, practice with it, or use it as fondant.…
Read MoreSorting posts by meta_value when they’re saved as an ACF serialized array
What I searched for “acf” sort by meta_value serialized Why I searched for it I’m using Advanced Custom Fields to let a site manager pick one or more US states to associate with each Chapter (a custom post type). I want to display the Chapters in a list sorted by the state in alphabetical order;…
Read More