I am of two brains. I need structure, but I hate planning. We had decided to stay in Iceland for a few weeks while visiting family and attending family gatherings. But, that left a lot of empty columns in the calendar, and people asking me if we have any plans. I shrugged and asked if they had any ideas. As time kept creeping in on me, I eventually decided that I should try to put some plan…
As an old school programmer, I thought I'd write down my journey into agentic AI and reflect on it. Why I love programming I've been programming for as long as I remember. My parents bought an Amstrad CPC 128k (yes, that's the RAM size) and I was immediatly hooked, at the age of 8. After getting bored of the computer games it came with I turned my attention to the manual. It, being in a foreign…
Writing web applications in 2026 I've been creating web pages for a long time. I started with Microsoft Frontpage, graduated to plain HTML (think table layouts, font color, limited css) and then when PHP v3 dropped I started building web applications. These applications were all server rendered, and when Google released Gmail/Calendar and everyone was like "The browser can do what?!". Then the…
Go (or Golang for some) may not be the best-in-class language for everything, but I think it's ideally suited for LLM coding. The community is special in a way that is a bit differrent than communities of other programming languages. There's a strong feeling of doing things "The right way", "The Go way", "Idiomatic" and "avoid external dependencies". For this reason, I find it much easier to…
I've been having a bunch of fun learning n8n during the holiday vacation. I've hooked it up so that when I write a blog post in my site, it's published to RSS and... Checks if the URL is already processed, abort if it is Content is summarized by an LLM (I'm lazy, sorry) Stored in a data-table Then occasionally, it checks if the post has been shared on social-media: If it's shared already, abort…
A few useful snippets while using MariaDB/MySQL. Copied from my notes. Get ready for some YELLING. -- show slave status without your eyes bleeding SHOW SLAVE STATUS\G -- show master status SHOW MASTER STATUS\G -- processes SHOW PROCESSLIST; -- show users SELECT User, Host FROM mysql.user; --- show permissions SHOW GRANTS FOR 'username'@'host'; -- change password ALTER USER 'repl'@'%' IDENTIFIED BY…
Improving engagement of your online content can come down to how it's previewed on social-media services. If you're like me, and not keen on creating these open-graph images by hand for every post then you can generate them programmatically. Takumi Takumi is a tool that receives JSX and outputs images. It has support for (some) CSS, Tailwind and HTML. We'll be using React's JSX in this example;…
Have you ever joined a new project and then spend an entire day setting up your developer-environment? Worked on a large project where one of the many tech-debts are that nobody updated the runtime for 10 years, and now nobody dares touch it? "What version of Java/Python/etc do I need to run the backend?" "How do I start a dev server?" "Can you send me that ENV file we use for DEV?" "How do I run…
I've always been interested in technology, and not much else. When social networks emerged I was excited for all the technical content I'd have access to. Unfortunately big-tech has no interest in allowing us to control how we consume content. Facebook started out with allowing you to select all your interests so that they could better show you interesting things. Typing this out loud now, makes…
Some of the podcasts I enjoy during my bike-trip to work. Soft Skills Engineering Soft Skills are an underrated ability in engineers and Dave and Jamison deliver their advise in such a funny and helpful way that it's hard not to smile while listening to it. Syntax.fm Scott and Wes are really in touch with what's trending in the tech world and usually have both great guests and interesting takes on…
import video from "./live-reloading-golang.mp4"; I was playing around with server-rendering, and couldn't really find a good workflow for restarting the Go server, generate templates and generate CSS on changes without manually reloading it. <video controls> <source src={video} /> </video> It's not quite as instant as hot-module-reloading in JS, but it's better than managing it yourself. NPM…
An environmental-variable is a way for the environment (your operating-system, or shell) to share information with future processes. Some ENV vars are global (and set by the OS), others are only useful in a certain context. You could be using a configuration file, but the world of hosting has very much adopted the 12 Factor App way of configuring applications. For environments like CI/CD, Heroku…
Hosting doesn't have to be complicated or expensive. I'll show you how to host a static site for $6/mo on DigitalOcean ( ref link ). Be warned, this is a bit technical and you will need to type some things into a terminal. I will explain what each line does on the way. Creating the server Log on to the DigitalOcean cloud console and create a new Droplet. Distribution : Ubuntu LTS or Debian is fine…
Before I started my carrier in Software Development, I was a System- and Network Administrator. I used to setup web servers and managed my own little server room. I truly, do not miss upgrading operating-systems on live services or dealing with hardware failure. However, hosting web-pages back then was much easier. You'd get an FTP/SFTP access and you'd upload your files. Then they got served…
Finding the motivation to blog has always been hard for me. Sometimes, because I have nothing to blog about, and that's fair. But sometimes it is because I'm not on a computer with my Gatsby site setup, or I just want to write something down quick. Maybe unsurprising, I have the same problem with note-taking and I've attempted and abandoned countless platforms. Recently I bought Nextcloud hosting…
At work, we use Microsoft Teams, and we used to (and sort of still) use Slack. I recently switched from a Macbook Pro to a Linux laptop (again), and what annoys me greatly is that when I "share screen/application" in the Slack or Teams app it offers me only to share my entire monitor. Chrome can do it! By accident, I stumbled upon that Slack running in Chrome on Linux can share windows just fine.…
In this series, we are going to setup continuous deployment on Github Actions that will deploy a full environment in the cloud. Then we will setup a scheduled action to tear it all down, if we're not using it. Part 1: Covers the infrastructure setup and backend Part 2: Covers Github Actions Note: While this is perfectly fine for development-environments, you should probably NOT do this in…
Are you working from home? Here's a list of some great tools that you can use for free. If you have anything to add to the list, please give me a shout at @andrioid . Video Conferencing and chat Jitsi Meet Not quite as polished as some of the commercial options, but quite capable. Works best with Chrome, but seemed to work fine in Firefox too. No account required: ✅ No organization required: ✅…
Every year, or that was my plan back in 2013; I do a review of what technology I've been using during the year and reflect on my experiences. This year has been fun in many ways. I have been creating apps, websites, microservices and APIs. React When I started playing with React 4 years ago, Angular was insanely popular in Denmark and everyone was looking at me funny. There was no standard tool…
Ever seen those images shown next to posts on Twitter, Slack or Facebook? Ever wonder where they come from? Me too! This plugin will create automatic cards for your (ReMark) at build-time. Announcing I am ready to announce my new Gatsby plugin, gatsby-plugin-social-cards. There are a few alternatives for Gatsby social-cards, but I wanted to try making these cards with SVG, React and the Sharp…
How to build a slim Docker container for your Go application using multi-stage images. I'm using Go 1.13 and the community module proxy to build the binary and Alpine as a base image. It adds a user and group instead of running as root. Dockerfile Be sure to replace "cmd/server/server.go" with your main file. FROM golang:1.13 as builder WORKDIR /app COPY . /app RUN CGO_ENABLED=0 GOOS=linux…
As part of my talk preperation for Aalborg Frontend Meetup, I was going to do a walkthrough of a new Gatsby site and use gatsby-source-meetup to import the upcoming events. Imagine my surprise, when I discovered that Meetup had stopped issuing API keys. gatsby-source-ical Gatsby has a wonderful collection of source plugins, and one of them happens to be gatsby-source-ical . I'll hand it to Meetup…
Imagine that you're a CTO, a Tech Lead or someone that has to make an early technical decision that will effect the company for years to come. What programming language do you choose? The cost of abstraction Systems tend to have two types of complexity. Complexity from the business-domain, and complexity from the technical-domain. In my experience, the technical-complexity takes up more room than…
TLDR; See my CV See the code But why? I never much cared for pixel-pushing on screen. It has always been a necessary evil. But, print? Love that shit. I did my university reports in LaTeX, even the graphics and even though the errors were HORRIBLE, it remained a loyal TeX fan. So when I received a task at work to evaluate react-pdf vs CSS-printing I knew I had something special to play with. I…
As you can see from my frontpage, I haven't blogged since 2014. Sorry about that. I'm learning new things while building this site, again again. It's currently running on Gatsby with Tailwind-CSS, GraphQL and a few plugins. I'm also playing around with react-pdf and JSON-Resume. My CV is currently generated with the site and I plan to make the site, and the CV fetch data from my resume.json. More…
As I do pretty much, every year. 2013 was spent learning new technologies. Here's a short list. Go: I taught myself a little bit of Golang and made a few small prototypes in it. I love the language so far, and while it is a bit restrictive, it's for my own good, as the code is easier to handle. PostgreSQL: While a pain in the ass to setup, pgsql is an awesome database and with HSTORE and JSON data…
I have a little VPS that hosts my blog and other various small projects. With a recent nginx update, my configuration files stopped working and I had to cut fastcgi-caching from my setup. I spent about 2 hours searching for this, so I am putting it up here - in case anyone has uses for it. This setup uses php5-fpm and nginx. cache.conf Include this from the nginx.conf (include…