Knut Haugen
knuthaug.bsky.social
Knut Haugen
@knuthaug.bsky.social
I make video players for NRK for a living, and I live to ride bikes in the forest. I can juggle.
Wrote some words on how to live a moderately happy life with (too) many dependencies in javascript, docker and github actions, in the shadow of the resurgence of the Shai-hulud worm

blog.knuthaugen.no/code/2025/11...
Living With Deep Dependency Structures
Views on code, IT and the life of a Nerd
blog.knuthaugen.no
November 29, 2025 at 8:19 PM
Sometimes it's the little things in life.

My (work) life improved by _a lot_ when I discovered split view in chrome, displaying two tabs at once. Two for the price of one!
November 13, 2025 at 7:40 AM
If blog.glyphdrawing.club/font-with-bu... isn't some serious crazy scientist stuff in a font packaging, I don't know what is.

Mind. Thoroughly. Blown.
Font with Built-In Syntax Highlighting
An experiment in javascript-free syntax highlighting, made possible by opentype contextual alternates and COLR table
blog.glyphdrawing.club
November 6, 2025 at 8:14 PM
Reposted by Knut Haugen
October 27, 2025 at 5:53 PM
I've been an AI curmudgeon for a long time, I am getting old after all, but the chrome devtools mcp server (github.com/ChromeDevToo...) is very promising for analysing and working with performance related stuff. And probably more.
GitHub - ChromeDevTools/chrome-devtools-mcp: Chrome DevTools for coding agents
Chrome DevTools for coding agents. Contribute to ChromeDevTools/chrome-devtools-mcp development by creating an account on GitHub.
github.com
October 15, 2025 at 8:36 AM
Reposted by Knut Haugen
“A better future for JavaScript that won't happen”

https://drewdevault.com/2025/09/17/2025-09-17-An-impossible-future-for-JS.html

> people have been sounding the alarm for years that this approach to dependency management is reckless and dangerous and broken by design.
September 17, 2025 at 11:10 AM
I'm gonna give a talk at @javazone.bsky.social on web and browser performance this year. Happy, exceited and scared shitless at the same time.

Oh, and I'm gonna throw some shade on React and friends, I have learnt from the master @infrequently.org
August 7, 2025 at 11:43 AM
Reposted by Knut Haugen
This blog post remains super important because it's one of the few comparisons I've seen that talks about the main JS framework scaling limit: framework size + code per component

webcomponents.dev/blog/all-the...
July 30, 2025 at 8:51 PM
Reposted by Knut Haugen
Firefox shipping scheduler.postTask() and scheduler.yield() for all your long task-avoiding scheduling needs!!
June 27, 2025 at 5:01 PM
I had a passing idea that it would be cool to do a talk about everything in our tech stack/domain (i.e the things I have to be aware/handle/interact with from time to time) and it struck me: how many _days_ would I need to talk about it all. There just so much
June 7, 2025 at 8:38 AM
The biggest lie the devil ever told was the one in Outlook where it claims "What a productive day! You've accomplished a lot" when your inbox is empty.

W.T.F?

I've accomplished moving the emails somewhere else.
June 6, 2025 at 11:59 AM
I was today days old when I learned about the `touch-action` css property and the `pointercancel event`, fixing an android bug. Turns out chrome for android is more picky about these things than mobile safari.

developer.mozilla.org/en-US/docs/W...
touch-action - CSS: Cascading Style Sheets | MDN
The touch-action CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser).
developer.mozilla.org
June 3, 2025 at 12:47 PM
Reposted by Knut Haugen
CSS if() function landed today(!!!) in Chrome 137 🥳

along with another rad feature: reading-flow 🥳

So I put together a quick video showcasing both:
youtu.be/Apn8ucs7AL0
CSS if() functions & reading-flow (in Chrome 137)
YouTube video by Una Kravets
youtu.be
May 27, 2025 at 9:29 PM
Reposted by Knut Haugen
Here's my talk from I/O along with the companion blog post that rounds up all of the links mentioned. It's been a very exciting year for the web, and all the new Baseline tooling we've just announced can help you understand when to adopt these new features. web.dev/blog/whats-n...
What's new in web  |  Blog  |  web.dev
A roundup of everything mentioned in the What's New in Web talk at Google I/O.
web.dev
May 22, 2025 at 6:10 PM
Reposted by Knut Haugen
Don't mess with zooming on a website.
Don't mess with scrolling on a website.
Don't mess with default cursors on a website.
Don't mess with the default Tab order.
Don't mess with the back button in the browser.
Thank you.
May 16, 2025 at 10:54 AM
Reposted by Knut Haugen
we totally agree
May 7, 2025 at 11:57 PM
You think you have the topics for a talk nailed, but then you start researching and all these new topics crop up, and the slide tally just keeps increasing!

Super cool, actually to discover all these new things. But then again not so cool :-(
May 2, 2025 at 2:04 PM
Reposted by Knut Haugen
New in Chrome DevTools: Accurately emulate CPU performance of a low/mid tier phone with Automatic CPU throttling calibration! 📲

This feature calculates slow-downs for your specific device. Wanted this for years! We just shipped it.
February 23, 2025 at 5:40 AM
You know you've really found a good book when you wish your commute was longer, so you'd get in a few more chapters before you've arrived.
February 21, 2025 at 4:47 PM
Reposted by Knut Haugen
Every web deve...sorrry, "full stack engineer", should watch this talk by @programmingart.bsky.social :

fosdem.org/2025/schedule/ev…
February 15, 2025 at 10:51 PM
I wrote some words (well, quite a few actually) about Web Vitals and how to use them for tracking ana analysing web site performance. As usual when I start to dig around on web technology, I end up in a deeper hole than I thought.

blog.knuthaugen.no/web/2025/02/...
Tracking Web Vitals on the Cheap
Views on code, IT and the life of a Nerd
blog.knuthaugen.no
February 15, 2025 at 8:33 PM
My life changed for the better when I started opening bananas from the correct end.

I highly recommend it.
January 23, 2025 at 7:59 AM
Todays random internet curiosa: there is a mountain, which is also an active volcano, called Mount Terror. As it is in Antarctica I can only imagine it's aptly named even though it is named after a ship and sadly not a camping trip gone properly off the rails.

en.wikipedia.org/wiki/Mount_T...
Mount Terror (Antarctica) - Wikipedia
en.wikipedia.org
January 6, 2025 at 11:05 AM