Hi, I'm Harrison. I currently work at me&u as a software engineer. I enjoy golfing, gaming, travel and playing with my dog Spud.

Thanks for reading my newsletter ❤️. This edition was delivered on 8 January 2024.

7 January 2024

Nintendo Annual Predictions#youtube.com

Arlo always does such a good job with these prediction videos.

If Switch 2 lands like this it's going to be a good year!

The prediction of Nintendogs and new 3D Mario sounds pretty spot on in terms of strategy.

Secrets Of The National Parks#tiktok.com

Can confirm Badlands in one of the most incredible places in the world. Wall is also cool.

It is also a magical change between to being suddenly in the west.

5 January 2024

The Death Of Test Cricket#youtube.com

Test cricket is in such a sad state.

There really has to be blocks of when tests can he held and when T20 can be held so there isn't any clashes.

I don't know how this would work best but the ICC needs to sort it out.

Using 1Password Properly

I need to start using the 1Password shortcuts properly.

To open 1Password use:

shift + command + space

if the app isn't open I need to fingerprint scan.

I can then search for what I need

Search: mac

and then open the entry with right arrow.

I can then down arrow and copy the field I need with enter.

Cloudflare Caching

I've been learning a few things about Cloudflare in the past few weeks.

Yesterday I discovered that by default Cloudflare caches certain file types.

I had a file garden.js that I'm using to render tooltips on my /garden page. I updated it and due to caching the updates weren't actually rendering on my live site.

To change this default behaviour I needed to update the "Cache-Control" headers to this:

app.get("/garden.js", async () => {
  const path = "./garden.js";

  const file = Bun.file(path);

  const text = await file.text();

  return new Response(text, {
    headers: {
      "Content-Type": "text/javascript",
      "Cache-Control": "no-store, no-cache, max-age=0",
    },
  });
});

Once I refreshed the cache in my browser it started working correctly.

The response header that I now see in my browser (once the request goes through Cloudflare) looks like this:

Cache-Control: no-store, no-cache, max-age=0
cf-cache-status: BYPASS

4 January 2024

Garden Update

Me and Emma have been hard at work in the garden this week.

We now have 2 new garden boxes filled with fresh soil, marigolds and cucumber.

We've refreshed some patchy grass near these 2 new boxes.

And we've added some more cucumber to the garden box at the back left.

To track all these changes I've added a new /garden page to my site. It's basically a grid that represents my backyard and where all my plants are located. It's nice to have a visual on things and also to remember the dates everything was planted. I might also add a notes field so I can track harvests and how long it took for vegetables to grow.

3 January 2024

The Rock Is Back#youtube.com

Wrestlemania this year will be huge!

The debate is on as to when The Rock will face Roman Reigns. It could be the pay per view in Perth.

1 January 2024

New Email Look

I've updated the look of my email newsletter.

I want it to be plain text as I believe that's how all email should be sent out.

I think it's more user friendly too as you can actually see the full urls of the links you click on.