RSS Amplifier

Blog

Ole Ingemann Kjørmo

Recent content on Ole Ingemann Kjørmo

oleingemann.comRSS feed ↗32 posts

Latest posts

Kebab and tzatziki

Kebab skewers with a fresh tzatziki. Serve with pita, couscous, and salad.
Kebab Ingredients 400 g minced meat (with fat) 1 yellow onion, coarsely sliced Spring onions (vårløk), coarsely sliced 1 egg Lots of cumin Chili flakes 1 small spoon of cinnamon Garlic Salt and pepper Process Combine the minced meat, onion, spring onions, egg, cumin, chili flakes, cinnamon, and garlic in a bowl. Knead…

Macaroni party in a pot

One of my favourite Youtube chefs, Steve at Vivaldi’s, had a video where he showed off a macaroni dish he claimed had great results with kids. I liked the concept and decided to try it. He was right. My two boys loved it. It’s easy to prepare, doesn’t leave a lot of dishes, and compared to a lot of other options they enjoy, it’s quite healthy.
Here we…

Pasta carbonara

White classic Spaghetti (500g for a family serving size, meaning one full Norwegian package) Bacon Mushrooms 2.5 dl Cream Onion or Charlotte onion Parsley Lots of Parmesan Eggs (yolks only) Lemon juice Instructions Separate the eggs and whip them together with the cream and half of the parmesan. Fry the onions in some oil and add the bacon. Fry it until crispy. Remove the onions and bacon to the…

Thai red curry

I like this recipe because it has a professional taste and is super easy to make. There are a few ingredients, but there’s no x-factor in the process. Just chop, put in, and wait.
Ingredients 2 onions, finely chopped 2 cloves of garlic, finely chopped 2 tablespoons of rapeseed oil 2 teaspoons of red curry paste 2 cm of fresh ginger 1 pot of coriander 2 tablespoons of tomato puree 4…

Best of 2023 - Mixed categories

Software and computers So the highlight in terms of software for this year does not need much of an introduction. It’s a big one, and it’s artificial intelligence. The main player OpenAI with its ChatGPT blew up (at least for me) around March 20th this year. The day after, I wrote “10x by my side” on Twitter. The value was immediately obvious, and I could use it for…

Best of 2022 - Mixed categories

A year of widespread global uncertainty driven by war and increased polarization. Luckily, there are also advances in the tech and art space to create some breathing room. To me, this was a year filled with new integrations, new platforms, and simplifications.
Software The “best of” sections are often based on usage or importance rather than quality and how much I like the…

About

Your host
I am a business builder, engineer, and family man based in Stavanger, Norway. After spending some years in the oil and gas industry, my attention was drawn to the world of entrepreneurship, indie hackers, and the open-source scene. Especially the things revolving around Ruby and Ruby on Rails hit all the right spots for me. Since then I’ve worked on a wide variety of projects.…

Contact

We should get in touch. Why? 📩 I love hearing from people who visit my site. Say hi, where you’re at or what you’re working on. Or even how you found this page. You don’t have to ask questions or have any comments to the content, just plain and simple introduce yourself. I reply to all.
Your name: Email: Message: Where is submit button? Solve the slider ridle below Almost…

Now

2025-05 - Finding balance between Neovim and AI editors So I’m starting to see a pattern here that seems to stick. This is combining Neovim for most tasks (editing, writing code, creating files, in and out from the terminal etc.). However, these super ai editors still play a role. I use them to get a grasp of a new project (where I have not memorized the files yet, or if I’m in a new…

Reading

Title: Hillbilly Elegy: A Memoir of a Family and Culture in Crisis
Author: J.D Vance
Start: Dec 2024
Status: Completed Review: First of all, I am neither a fan nor a hater of the guy. I just wanted to see if all the criticism he received was backed by reality. I seem to remember during the campaign that his opponents claimed he was trashing his own kin. I did not recall this.

Subscribe

Yes, I have an email list. Join the party 👋 Why should you join in? I post updates from stuff I wonder about, or notifiy you if there’s anything new on my webpage.
PS: I do not email often so you'll maintain your A-level productivity. PSS: You can also follow me in any of the social platforms listed under the ‘Elsewhere’ section of my footer.

How to import data a Postgres DB with from a backup file

I use PostgresQL for most of my projects, and hence I need to swap the data, use a backup file or do other types of data migration. I’ll be writing this post while I do this operation so I can save the commands until next time.
Ended up using the following command to load the data from the .dump file
pg_restore -d mylocaldatabase-development /Users/oleingemann/Downloads/db.dump…

Linux part II - Ubuntu is no longer my main desktop operating system

It’s May 2022, and Linux is no longer my main operating system. It feels a bit ironic to write this, considering how convinced I was just three months ago that it would work. The gist of it is that I’m back on the Mac. The decision was made after spending countless hours trying to make Linux/Ubuntu work as my main workstation. Real work happened, and a long list of show-stopping issues…

Linux part I: Ubuntu is now my main desktop operating system

The distro (Linux version) used in this article is Ubuntu. All further references to Linux in this article is referring to Ubuntu version 20.04.
I’ve previously been evangelizing that Linux does not work if you value your time. I’ve had a lot of failed experiments trying to move to Linux as my go-to desktop in the past. First time I tried it? Probably around 2005. Compatibility…

How to make RubyMine exclude node_modules from indexing and search

When I started working with the new static site generator BridgetownRB, I had to include the node modules folder in my project. This is a requirement as BridgetownRB is using the package manager Yarn or NPM. As I still wanted to write code in RubyMine, I got into a problem when RubyMine started indexing the huge node_module folder. RubyMine would then hang and go into not-responding mode. As of…

Best of 2021 - Mixed categories

It’s time to kick off the awards for best (or most used, reintroduced etc.) software, books, movies, and music. This year will be remembered as the one where we thought Covid was gone but came back in full force with its omicron hybrid. Anyways, some best-of deserve to be mentioned regardless!
Software
Bootstrap 4 - Wow, that’s old! Yeah, but it’s a mature gem. I spent…

Sticky responsive footer, the Bootstrap 4 way

In a lot of projects, I find myself Googling around to find out how to make my footer behave as I want. It turns out that what I want is this:
A sticky footer, pushed all the way to the bottom, regardless if the content or not fill the vertical space, and at last, it needs to be responsive. This means fixed height won’t do.
Here is how I do it using Bootstrap 4

How to organize and backup photos from multiple folders in Windows

I came across a rather common data management problem recently, that I believe a lot of people struggle with.
The problem setup is something like this:
Huge collection of personal files or photos (jpg, png, PSD, raw, and others), distributed between multiple computers, USB-disc drives, and yes, even across multiple cloud providers. When I say huge, I mean 20 years or more of collecting…

Best of 2020 - Mixed categories

What a crazy year. In January, my partner Rita and I traveled to Rome for a vacation. Little did we know that Covid-19 was catching up fast and chasing our backs. Luckily, we got home one week before the spread got crazy. One year later, the virus is still active and deadly. Hopefully, the vaccines that are being rolled out now will help us bring back a normal life.
It was hard to pick the…

A note on hiring

Great hiring is a key component for all business who wants to thrive and grow. I recently went through the process of hiring two interns to work with us at Skolehuset.no. One week after publishing the vacancy, we had received more than hundred applications. I was very pleased with the response as well as the outcome. In this post, I summarize some takeaways.
Planning and proper tools - Hiring…

The power session: A productivity setup

Everyone has their way of getting things done. For a couple of years, I’ve contracted a method I describe as the power session.
So what is it?
A set of rules to accomplish more by working in small focused sprints. 45 min of deep productive work. Usually focused around 1 task or problem. Used to handle the toughest or demanding cognitive tasks. The power session should not be used on…

Should you split the static content and your app-logic into two different entities?

Let me start by explaining the two scenarios. By splitting, it means that you run two web-instances that make up your website or application. For the user, it should feel like the same app. The reasonable part to split is the app-logic itself, and possible static content. The app-logic is where you might have users, models, and logic that makes your app solve whatever problem it might offer. This…

Two paradoxes as an investor

To succeed in the financial markets requires you to overcome lots of psychological barriers. Most common are various forms of biasses, like confirmation bias, overconfidence, reducing regret among many others. What I find fascinating, is also a few paradoxes that you encounter as an investor or stock trader. If you are aware of these, you’ll get a better chance of winning. I am sure there…

A website is not complete unless it supports these features

Through the years I’ve launched multiple websites and web-apps.
One thing I’ve learned is that there are a couple of key features and elements that I regularly forget to add. If you use frameworks like Wordpress, Wix or others you’ll get most of these out of the box. However, since custom solutions are still the best in most cases, I thought I wanted to do a list. The…

Why and how I paint studies (Wacom tablet + Photoshop)

To me, study painting is the process of copying or replicating a subject with paint or sketching, in a quick way that still captures the essential expression. It could be of a photograph, a famous painting or just some stuff on a table. Wikipedia describes study paintings this way:
“In art, a study is a drawing, sketch or painting done in preparation for a finished piece, or as visual…

Best of 2019 - Mixed categories

It’s time for the annual best of again! Let’s have a look back and look at what’s worth remembering from the software, books and movies world.
Software GatsbyJS - is an open-source static site generator, built on top of React. It’s part of a new theme called the JAMstack. Gatsby comes with a lot of cool stuff, but also have some drawdowns. In short, this is my take on…

Create a new Postgres database for Rails and grant privileges

This is as much a note to self as ment for sharing purposes Since I normally prefer hosting Rails applications on Heroku these days, a Postgres DB is required as SQlite is not supported. Hence, I often need to create a new Postgres database and a user with permissions. If you need it too, you’ve probably seen this error message:
ActiveRecord::NoDatabaseError: FATAL: database…

Best of 2018 - Mixed categories

Time again for my ‘Best of’ post from mixed categories. Some of these might have slipped through in early 2019, but to get the list a bit longer I count them as 2018.
Software Heroku (Hosting platform) - Heroku has become well known among developers independently of preferred coding language. Why? Because dev ops tasks are still very time-consuming, difficult, expensive and very…

Download and read non UTF-8 files through FTP with Ruby

Some FTP-servers are set up with Windows software like FileZilla. A common thing to do is to store CSV or text files on such servers to aid import-workflows. Due to such files originally coming from a Windows OS, you may run into encoding issues reading those files in a Linux or Unix environment. I don’t know much about encoding, but I understand that UTF-8 is somehow preferable when working…

Best of 2017 - Mixed categories

In this post I’ve listed a few picks from various categories I believe made the most impact on me throughout 2017. These titles were not necessarily released in 2017, but that’s when they made an impact on me. I know the categories are a bit strange, but that’s all right. I’m the boss here.
Software Jekyll has been around since 2008 and is described as a simple, blog-aware, static site…

What I learned from spending two weeks with Jeff Bezos

I just finished reading The Everything Store: Jeff Bezos and the Age of Amazon by Brad Stone. With its 400 pages, it took me about two weeks to read. In a lot of ways, it gave me new perspectives, both in terms how I run my business and in the likes of Jeff Bezos as a person. It also addresses lots of small notes on Jeff’s fundamental thinking and reasoning about life in general.

How I model Many to many associations with checkbox collection in Rails

First of all, why do we need Active Record Relations and associations? Because associations make common operations simpler, faster and will save you a lot of time. It will also lead to better results for the end user. Associations extend your Rails-objects with methods that can be accessed anywhere to list, select or filter related objects with less code. Your code will also be dryer and easier to…