Screenshot of suggested solution

React Tip: Only hyphenate really long words

In this quick tip we will learn how to enable css hyphenation only for extra long words, in a sentence.

Read article

about 1 month ago

Garden water faucet

Building a Garden Water Faucet

Our water supply for the garden is an old well located in the top corner of our property. The two first years we had to collect the water with buckets and carry it around to water our plants and trees. It builds character and strength. 😅 But in the end it was too much work. So for this garden season, one of our main projects was to install a pump and add some faucets at different locations in our garden.

Read article

8 months ago

Fictional poster for WWDC 24

Apple WWDC Wish List 2024 🧞‍♂️ (Updated July 26th)

Bugs and features I'm hoping to see fixed and implemented for WWDC in June of 2024.

Read article

8 months ago

Apple WWDC 23 Invite Poster

Summary: Apple WWDC 2023 Wish List 🧞‍♂️

Every year, as many other in the Apple developer ecosystem, I maintain a list of bugs and features I'm missing from Apple's platforms. Here's what got fixed or added during Apple's WWDC on Monday June 5th.

Read article

8 months ago

Screenshot of Safari showing an Apple MapKit JS example. The map displays a route in San Francisco, USA.

Apple MapKit JS: How to enable zoom on scroll?

Documenting the undocumented "scroll to zoom" feature flag in Apples MapKit JS framework.

Read article

almost 2 years ago

Screenshot of Reminders in macOS Ventura

Try macOS Ventura on a virtualised machine using UTM

Previous years I've always installed the new iOS and macOS betas right away, on my main work computer. But it always results in a few months of bugs and pain. Decided to install it on a virtualised machine. Here's how to do it!

Read article

almost 2 years ago

Screenshot from Apple WWDC page showing seven memojis

Summary: Apple WWDC Wish List 2022 🧞‍♂️

Every year, as many other in the Apple developer ecosystem, I maintain a list of bugs and features I'm missing from Apple's platforms. Here's what got fixed or added during Apple's WWDC on Monday June 6th.

Read article

almost 2 years ago

Factory function that can create runtime type-safe getter functions

Fetch runtime type-safe data from Sanity using io-ts

TypeScript is great. It reduces bugs related to mismatching types, it makes it easier to refactor our code, and helps us with nice auto completion. To name a few benefits. But as we know, since our browsers don't understand TypeScript, everything ultimately gets compiled down to JavaScript. This means during runtime, we loose all our type checking abilities. If we fetch som data from an api endpoint, we have to assume that the response is of the same shape as the types we modelled in TypeScript. Wouldn't it be nice if we could check the shape of the response data, and runtime validate that we get what we expect? This way we would be 100% sure that we only handle data with shapes we expect, in our application. `io-ts` will help us with this!

Read article

almost 2 years ago

Screenshot of code taken from the article.

Why and how to type HTML and CSS in React with TypeScript?

Why would we need to type HTML props and CSS properties, and how do we do it?

Read article

almost 2 years ago

Sun in the winter. Taken at Tingvang.

2022 – New Year Resolutions 🎇

This year I've decided be a bit more systematic with my new year resolutions. In this post Im listing out some of them, and giving some reasoning behind them. Hopefully this public post will also act as an accountability.

Read article

about 2 years ago

From our trip last summer to Lofoten/Vesterålen. This is from Bleik at Andøy.

2021 – Past Year Review 🎆

Inspired by Tim Feriss' "Past Year Review" I'm trying to take a look back at 2021, to see what I did achieve and look for improvement opportunities.

Read article

about 2 years ago

Screenshots of the app I'm working on

A side project to my side project: Collectibles.app

As too often happens, while working on my side project I had an idea for a new project, and started a side project to my side project. Collectibles: an iOS and macOS app to view NFT's across different blockchains. First version will support Etherium, Solana and Tezos.

Read article

over 2 years ago

Blurred desktop wallpaper for macOS

Wallpaper experiments

I've experimented with my brand colors and created some wallpapers.

Read article

almost 3 years ago

Screenshot of Weeks 3.0 for macOS

Weeks updated to version 3.0

A completely rewrite of Weeks, version 3.0 is out, with lot's of bug fixes and a new Big Sur style icon.

Read article

almost 3 years ago

Waving hand

Hello world

Welcome to my new website and my online notebook. What can you expect from this blog and what will I write about?

Read article

almost 3 years ago