blog

This blog is me talking about my stuff, what I do and from time to time, in order to improve the state of the internet and promote better content and google hits for other people, I will also post solutions to various other problems I’ve found.

Enjoy!

2025 in Review
5 January 2026

spotlight

I spent about 2 weeks on spotlight, my hugo blog featuring pretty windows spotlight images. My windows have stopped showing me new images, not sure what’s up with that so the contributions have more or less stopped. I should learn about how image processing works and publish it this year.

Star trek

The year started with me watching star trek TNG and desperately watching the full series of deep space 9 before it was removed from netflix the last 2 to 3 weeks of the year.

Read the rest...

2024 in Review
6 January 2025

games

THe only game I made this year, was a game made in 4 hours for the spelsylt gamejam.

I think one of my new years resolutions will be making and publishing the car game is some way or another. I’m really keen on working on the arcade car game.

klotter

The year started strong with implementing framebuffer/post proc, cubemaps, skyboxes and uniform buffers and continued with code cleaning in the end of february but then I just stopped and was stuck on instancing and having some sort of analysis paralysis and ignoring for most of the year before almost completing it before the end.

Read the rest...

2023 in review
6 January 2024

Another year full of devlogs and another review of what I have achieved and failed to achieve.

workbench, euphoria, gaf and json

Workbench started out as a repo of various build scripts, but is now a single tool for running all those “scripts”. This year I ported everything from rust to c# and scoured my repos for other tools to integrate it into the code base.

One of the big reasons for choosing C# is so that I can use the spectre project to get a nicer cli. The other big reason is that I use c# as a language for work so I’m very familiar with it. I can also use resharper to clean up the code and do major refactorings, that wasn’t really possible with the rust or the python version.

Read the rest...

Check Your Assumptions
22 April 2023

In November of last year I noticed that the time it took to process inputs in Ride was way too high, almost a full second between each key input and for a text editor that’s unbearable. I tried to tweak the event handling but nothing helped and lost motivation, put the project on ice and started working on other things.

About 3 weeks ago the motivation came back and I started hacking and refactoring on the code to support multiple “backends” for rendering and handling input. Currently it’s using OpenGL but I previously had both a wxWidgets and a software renderer backend so it was “only” a matter of bringing them back from the depths of the git history.

Read the rest...

2022 in review
1 January 2023

I recently realized that I’ve been writing my devlog since 2017 but I have never compiled all the devblogs into a longer post starting from today. I’ll summarize and write a smallish review of what I’ve done on all my hobby projects the past year.

Euphoria

Euphoria is my hobby game engine and to much surprise I did a couple of cool things related to it.

Code wise I’ve continued to code cleanup (replacing streams with fmt), both warnings and enabled warning-as-errors(with w4/Wall+extra), I also added both a clang-tidy and coverage step on github actions so I can keep the code clean and strive towards a 100% coverage for the core. Added a PCH cut the compilation time by roughly 66%.

Read the rest...

I took Open AI: Chat for a spin and it’s easy to get it to write a fictional conversation between one or more people that probably never going to have a conversation. Here are some of theese meetings that I found entertaining.

Sorry for focusing so much on Uncle Bob. He’s the name I think the AI would have read most about and the only name I can think of that has written about many various topics that could be discussed with various fictional characters.

Read the rest...

Clean Code - Chapter 2
23 January 2022

Introduction

Clean Code, mostly authored by Robert C. Martin, aka Uncle Bob, has come up lately in discussions and apparently it is still being read. I haven’t read it and only read the responses about how bad it is and I’ve read that it’s pretty popular to hate on it and who am I to miss a trend. Join me as I read chapter to chapter and express my feelings and thoughts about each chapter. This journey might take a while, I’m a slow reader.

Read the rest...

Restarting Alsa
23 July 2017

Sometimes after I wake up my computer after a hibernate I notice that sound is not playing. A simple fix for this seems to be to restart alsa:

$ pulseaudio -k && sudo alsa force-reload

Found on Stack overflow

I recently got a notice that my SSD C: drive was getting low on space and after a quick check with WinDirStat I noticed that spoitfy was filling it up with loads of weird files in the AppData\Local\Spotify\Data folder, even after I have moved my cache location.

It turns out the “cached location” is only the saved playlists, and the Data folder is the cached songs that arent in a playlist.

Read the rest...

A better git log
22 February 2017

I’ve just changed my git log command from the standard:

old

to the more compact and colorful:

new

It’s simple to get this log. Just type in:

$ git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

I guess that’s a bit too long, eh? Let’s just make an alias. Copy and paste the line below on your terminal:

$ git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

And every time you need to see your log, just type in

Read the rest...

 #git  #code or (all)