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.


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.

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.

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.

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.

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: to the more compact and colorful: 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)
18 September 2016

I recently bought new shoes and needed to lace them, hence it’s time to google how to lace shoes again. Ians shoelace site is my favorite and I’ve been visiting it for what it seems like an eternity. I don’t know much about the competition, but I can’t find anything missing from it. It’s the best!

I have tried using /proc/acpi/wakeup and I’ve tried looking in /sys/bus/usb/devices/SOMETHING/power/wakeup for devices that will wake up the computer, however I finally fixed my random wakeup problems with a tool called acpitool. It is really quite simple. First you need to install it, unless you already have it installed: $ sudo apt-get install acpitool Once it’s installed you can list what you can do with it, and to make it works.

Read the rest...