Weeknotes 3
18th July, 2021
“Office furniture and JavaScript”
-
I ordered a new office chair this week. It’s been a long time coming. I’ve been considering, researching, investigating, and thinking about buying a new chair for a few years now. Considering that my current chair is held in the up position using a piece of uPVC pipe I think this is necessary. It has a 14 day “no-hassle” returns policy so I decided to take the plunge and try it for a few days.
-
I’ve been writing JavaScript this week. It’s been a while since I’ve done so, so it’s been good|bad|terrible to be refreshing what I already know and also learning some new things. I wrote some tests using Jest and extended a Koa based REST API.
-
Redis has always been a dumb cache to me. I suspect that is the way most people use it - hook your app up and let it sit there being fast. However, my current project has greater needs than a simple cache. We’re storing results from a streaming API and will need to pull the data out again sorted by timestamp. Sorted sets seem to be just the ticket so I’ve been investigating how they work.