Search 🔍

70 articles on many different topics!

Take me to a random article!

Tags: cli  linux  macosx  automation  amiga  retro-computing  windows  opinions  web-browsers  programming  emacs  editor  teaching  career  java  enterprise  kotlin  rust  books  gamecube  low-level  info  youtube  javascript  lisp  life-lessons  devops  gba  ansible  maven  objectivism  philosophy  scheme  prolog  dsl 

Often overlooked String operations in the Kotlin Standard Library

Mon Mar 06 2023

The Kotlin standard library provide many useful helper extension functions for string operations. You probably know the basic ones to make a string lower and upper case, but did you know that there are many more? Some of them do operations that you would otherwise implement yourself, and some are more focused on making the code more clear by exposing the intent of the operations as a name. Some of these may be common to you, but I hope that you at least find one that you are not familiar with!

Read more..

Often overlooked Collections operations in the Kotlin Standard Library

Sat Mar 04 2023

If you work with Kotlin, you probably use Collection types like list a lot. Most people already know of simple list operations like getting elements, checking if an element is present, mapping etc. Did you know that the standard library provides a whole plethora of useful operations? In this article we will look at operations that are often overlooked when we talk about list processing. For the people who are more new to Kotlin, we will start with a small recap. So don't worry if you are relatively new to Kotlin, hopefully you will learn some new nifty tricks here as well!

Read more..

The most important computer related innovations in the last 20ish years (post-internet) - in my view

Sat Feb 25 2023

Today I want to share with you my favorite computer related innovations in our post-internet world. With all the bad things happening in the world, it is good to look back at the good that has happened. I like to look at innovations related to computer to cheer myself up. This will off course be very heavily opinionated, so your list might be very different.

Read more..

Essential books on the Rust programming language

Wed Feb 22 2023

Rust is gaining popularity fast, and is a language loved by many (including myself). It has recently been used for device drivers in the Linux kernel. While many early adopters did more low level code, it is gaining popularity in higher level problems as well (e.g, writing REST APIs and CRUDL database applications). You might want to learn Rust, and wonder about some resources to use. That is exactly what we will look into in this article! While books are the main topics, links to other useful resources are also provided.

Read more..

Debugging GameCube applications/games (in Emacs)

Fri Jan 13 2023

In the last article, we discussed running Linux on your GameCube. This time we will look at debugging your regular applications/games (i.e, not running inside Linux, but directly on your GameCube). While GameCube is an older platform, it can still be interesting to explore. Some creative coders might also find the technical limitations inspiring. No matter why you find the platform interesting, you might need to debug your applications. Let's see how, and also how we can make it the most comfortable.

Read more..

Booting GameCube Linux from SD card

Mon Dec 19 2022

Running Linux on all sort of devices seems to be some peoples favorite hobby, including myself. While there are not that many use cases for Linux on a 20 year old games console, it is still fun to run and seeing what it can do. There is a certain charm in seeing Tux and a wall of text instead of Super Mario for some time. The various information GameCube linux is also a bit fragmented, so it would be good to have some it collected. If you think this sounds fun, then keep on reading to set up your own GameCube Linux box as well!

Read more..

QEMU user space emulation in Linux

Sat Nov 19 2022

Most people know of QEMU for emulating a full operating system for various architectures, but did you know that it can also do single executables in its user-mode emulation? That means that you can run programs compiled for another architecture, but with the same OS (we are not emulating that part after all), on the machine you are using. I did not know about it until recently, but I'm very happy I learned about it! So today I will show it to you, so you also know about it if you ever need it!

Read more..

What I love about Rust

Mon Oct 31 2022

I have really fallen in love with Rust this year! It has many positive features, like compiling to almost any platform, nice syntax and more. In this article I will show you some of these features, tell you about them, and maybe inspire you to look into learning Rust yourself! If you disagree about something being awesome, then that is okay too, as the article is based upon my personal opinion.

Read more..

Bit tricks - Counting the number of 1 bits (Kernighan algorithm)

Sat Oct 22 2022

It's been too long since the last bit tricks article, so I thought I would share another one! This time we will look at a simple fun bit trick to count the number of 1 bits in a binary string (e.g, a 32 bit integer). This algorithm was discovered by Brian Kernighan of Bell Labs and C fame. Unlike the previous algorithm presented in my bit tricks series, this one requires some branching.

Read more..

Small command line tricks you should know

Tue Oct 18 2022

This time we will look at some small command line tricks that will improve your productivity. By command line, I am off course referring to bash or similar Unix-style command lines. If you know the complete basics, and want to expand your knowledge a bit, I hope this short article will help you!

Read more..