90sleep - a sleep cycle calculator

I've launched a new project: 90sleep.com - a sleep cycle calculator to help you figure out the best times to sleep and wake.

I was inspired by an old sleep calculator that's no longer available. The original app worked by calculating sleep cycles between now and your targeted wake time, helping you wake during the shallow phase of your sleep rather than in the middle of a deep sleep cycle. I rebuilt it as 90sleep.

The science is straightforward: sleep ☞

Introducing Remotely.nz

I've launched a new project: Remotely.nz - a job board for genuinely remote work in New Zealand.

My story is straightforward. I fell in love with New Plymouth and want to settle here. It's a beautiful place - good waves, good coffee, stunning landscape - but let's face it, it's no tech hub. My search for a truly remote job in New Zealand opened my eyes to how broken the current job market is for remote workers here.

The frustrations are real ☞

I've launched BuyVsRent.co.uk

I've launched BuyVsRent.co.uk, a simple calculator to help you figure out whether buying or renting makes more financial sense.

The motivation behind this came from a pretty simple problem: there are a lot of property calculators out there, but most of them are either incomplete, misleading or don't give much flexibility in the investment comparisons. When I was trying to work through the numbers myself, I realised I needed something that actually accounted for investment returns on the ☞

Rental yield calculator

I put a new project online: rentalyieldcalculator.co.uk. It's a simple tool to help mortgage lenders, letting agents, landlords (or potential landlords!) calculate their annual rental yield.

There are many yield calculators online already but this one is mine :D and it's conveniently located at a memorable UK domain name.

This is the first single page application I've created. It's also the first form I've written which doesn't POST to a server. The auto-calculate functionality was implemented using the ☞

Weekly routine changes

I recently made four weekly routine changes all at the same time. This is rare for me - the last comparable change I made would be in June 2019 when I decided (and started) to lift consistently three days a week.

  • Three weeks ago I started swiming in the sea at 6pm on workout days;
  • A week ago I moved my 3x weekly weightlifting from 7pm to 5:30am;
  • I stopped drinking coffee (usually 2 cups over the course of a ☞

How to Refactor Code

Seems obvious, right? You just edit it until it works the way you want it to. Not so fast. Reckless code changes will turn your project into a big ball of mud before you know it. Done in the right way you'll experience less frustration and fewer crises.

While you may write code as a developer, your main task is not writing code: it's removing ambiguity and mitigating project risks.

If you're working on a personal project or in a ☞