# Week of Jan 24

- Link: https://cagrimmett.com/2022/01/29/week-of-jan-24/
- Published: 2022-01-29T08:56:38-05:00
- Author: Chuck Grimmett

_I’ve been reading [Jeremy Felt’s weekly posts](https://jeremyfelt.com/2022/01/28/a-weekly-note-16/)
for the past year and decided to write my own._

### Thoughts

 * Dinners go better when I plan them out a day in advance. Gone are the days when
   I don’t give dinner a thought until it is time to cook.
 * Speaking of “gone are the days”, I now need to write my to-do list for the next
   day at the end of each day, otherwise things get dropped. This is a best practice
   and I sometimes did it, but now it is a necessity. Sleep deprivation is a heck
   of a drug.
 * Speaking of sleeping, there is a baby taking a nap on me as I write this. What
   an incredible feeling!
 * I’m taking the second half of my paternity leave starting next week and will 
   be the primary caretaker for Charlie during the day. We timed our parental leaves
   so that mine picks back up as Amanda goes back to work. I’m very much looking
   forward to spending the days with Charlie!
 * Life was pretty busy for most of January (travel, Amanda going back to work, 
   me finishing up projects before I go on leave), I so I only did a third of the
   [Genuary](https://genuary.art/) prompts. I doubt I’ll go back and finish the 
   prompts later, as I have other generative projects I want to work on. I learned
   some new techniques in the third I did complete, though! Blog post forthcoming.
    - Those other generative projects I want to work on: Finishing the generative
      cocktails project I started and exploring [asemic writing](https://glaem.com/manuscript/).

### What I’m reading

 * [The Inimitable Jeeves](https://www.gutenberg.org/ebooks/59254) by P. G. Wodehouse
 * [Murder on the Orient Express](https://archive.org/details/MurderOnTheOrientExpress_201803)
   by Agatha Christie

Speaking of reading, my friend (and purveyor of [fine RSS feeds](https://hnrss.github.io/))
Eric Davis found [BookFeed.io](https://bookfeed.io/), a neat little tool that creates
an RSS feed to follow new releases from your favorite authors. Liked and subscribed.

### Ideas

 * Notion to WXR conversion ([tweet](https://twitter.com/cagrimmett/status/1486912240515170306))
    - Notion is cool, but it is pricy and a walled garden. Now that Notion finally
      has an API that returns nice JSON, I think that it might be time to make a
      tool that converts Notion blocks to WordPress Gutenberg blocks, which have
      parity with Notion’s standard blocks (not sure how to handle Notion’s database
      blocks yet)
    - Thinking WXR file rather than a wp-cli command, which makes it more accessible
      to WP site owners. Not everyone has access to wp-cli, but everyone has access
      to the native importer. And the native importer is a lot easier to use than
      wp-cli for non-developers.
    - The `/search` endpoint will be useful for getting a list of pages https://
      developers.notion.com/reference/post-search
    - The `/get-block-children` will be useful for getting the top-level blocks 
      for each page. https://developers.notion.com/reference/get-block-children
    - This project looks like a good starting point for the Gutenberg markup conversion,
      though I’d need to add things like Tweets, Maps, etc. https://github.com/bmorrisondev/
      notion-to-html/blob/master/main.js
    - Cover images -> Featured images
 * Accessibility tool: Color contrast checker with suggestions
    - Tyler Hobbs’s discussion of RGB vs HSB color spaces in [Working with Color in Generative Art](https://tylerxhobbs.com/essays/2016/working-with-color-in-generative-art)
      gave me an idea: Since you can easily increment either the hue, saturation,
      or brightness in HSB, contrast checkers can give suggestions of how much one
      would need to change a color in order to have higher contrast.
    - Since most colors on the web are written in hex format, first I’d need to 
      [convert into HSB](https://stackoverflow.com/questions/3732046/how-do-you-get-the-hue-of-a-xxxxxx-colour),
      run a test to see if the brightness needs to be increased or decreased, then
      increase or decrease it in a while loop until the contrast ratio meets accessibility
      standards and convert that resulting color back to hex and display it for 
      the user. No reason that incrementing approach couldn’t work with suggesting
      font weight increases, too.
 * Website updates
    - I’m getting that old itch to update my theme again. I’ve had a sidebar nav
      for a while, but I’d like to expand my post width to show art and write more
      tutorials, so I think I’ll put the nav back up at the top. I might swap out
      my homepage for a landing page and move the blog to its own page again, too.
      Likely going to use the [Blockbase theme](https://blockbasetheme.com/)[Archived Link](http://web.archive.org/web/20230529144720/https://blockbasetheme.com/)
      + FSE, which I just had a great experience using at work.

I’ve been enjoying Wordle. Here are my stats. I didn’t get it the first day I played
because I didn’t understand the rules and tried to play with the letters in the 
example ð¤¦ââï¸

![](https://i0.wp.com/cagrimmett.com/wp-content/uploads/2022/01/IMG_9798.jpg?resize
=960%2C1024&ssl=1)

That is it for this week, and Charlie is waking up from his nap! ð

## Comments

### By: Week of January 30, 2023

- Link: https://cagrimmett.com/week-of/2023/02/05/week-of-january-30-2023/
- Published: 2023-02-25T21:35:52-05:00

This Article was mentioned on [cagrimmett.com](https://cagrimmett.com/week-of/2023/02/05/week-of-january-30-2023/)

Loading...
