My Screensavers - Turn up the good

One person that has had a great influence on me over the last 10 years or so is Woody Zuill. I’ve learned, benefitted, and become a proponent of many of his ideas; mob programming, no estimates, and his general view on life.

One of the things that Woody once told me stuck with me hard enough to have it as one of my daily reminders. It’s great and will change your outlook on life.

This post is part of a series of blog posts that I’ve written on some images I have a screensaver and what they remind me of. Here are all the posts in my series:

Read More

My screensavers: What would Jesus do

Yes, yes … I know that a lot of Swedish people gets nervous reading that heading alone. Don’t worry - there’s very little religion in this blog posts. It will merely serve as a good example.

You ok, most-secular-country-in-the-world-citizen? Ok - let’s go. The rest of you - welcome.

I’ve started a little series about the screensavers that I have running on my computer. They consists of some sayings, phrases or ideas that I’ve found useful over the years. And I wanted to share these ideas with you.

Here are the screensavers that I’m flicking through each day.

Read More

My screensavers: Simple Good - Complex Bad

I’ve started this little series of posts about things that I remind myself frequently enough to make into my screensaver.

For each of these items, there’s a story and some thoughts that pop into my head when I see them, and I wanted to share them with you.

Here are the screensavers that I’m flicking through each day.

Read More

My screensavers: Kindness is better

I’ve been in a slump in my life, which just about knocked me out totally, experiencing a few years with fatigue syndrome and depression. Getting out of that is an ongoing process and I find myself leaning back on old lessons, but trying to make them more real in my life.

One thing that I did was that I added a few sayings that I’ve picked up and that builds me up, as screensavers.

Screensavers, kids, was an old thing that we had running on our computers when we didn’t work at them. Otherwise, the old monitors would etch the text shown into the screen permanently… but they were totally safe sitting in front all day. I’m quite … BZZZT … normal.

I wanted to share them with you and also what I’m thinking about when seeing these sayings or phrases.

Here are the screensavers that I’m flicking through each...

Read More

How I tackled a hard problem in a new language

I’ve just started a lot of new things in my life; programming Scala (and Python), data engineering and a new client.

Luckily the things we have built until now is algorithmically pretty simple and … what was that? Calculate the what-now temperature?! The wet-bulb temperature? Wash your mouth with soap, young man! What on earth is that?!

And you want me to write this in Scala?! This is horrible.

In this blog post I’ll walk you through my thinking and application of experience to write one of the most complicated calculations I’ve ever put into a program, in a programming language that I’ve never seen 2 months ago.

It actually took me all of 1 hour to get this to work - and still be confident that it works.

Read More

Learning about Python list comprehensions

I’m learning a brand new programming language. That should probably say, new for me.Because it’s Python. I haven’t touched it before. Yes yes - I’m slow, old and everything. But I am still learning new things… so I’m not all in all bad.

Ok - Python is for the most part very nice to work with and reading and writing code has been easy so far. Until I saw a backwards for-loop. It just looked… weird.

Turns out it was not a for-loop at all, but rather a list comprehension.

Read More

Next.JS - testing async React components

I had the great joy of teaching a course on Next JS 13 this last week. Next has for a long time been a favorite of mine and with version 13 they have really stepped it up a notch. Or three.

But what they still are lacking, and for the life of me I cannot understand why, is a good out-of-the-box testing story.

This caused me and the group I was teaching considerable head-ache - especially when we tried to test the server-side async components that Next.JS is plugging hard.

Therefor I have two goals with this post:

  1. Help me (and you?) to easily get started with testing
  2. Show a way to test async server components

Let’s do this.

Read More

Deploying. NET 6 WebAPI using ARM Template

I’m putting together a course where I want students to easily deploy their code. Since the course is on .NET 6 WebAPIs (and Entity Framework (core)) I thought that Azure would make a great choice to deploy to.

And nowadays ARM templates seems to be the way to go (maybe BICEPs but I’m doing ARM for now).

But I ran into problems, and I wanted to share with you those problems and how I overcame it. Just your normal post on this blog in other words.

Read More

Plans are theoretical

I just had an aha-experience that shook me; first I found it interesting, and then I was ashamed that I haven’t realized this before.

Here it is:

Plans are theoretical

Let me tell you how I realized this and how I think it is important.

Read More