Recently I’ve installed OpenBSD on my laptop. I was curious about what the world of *BSD had to offer and I was planning on wiping the drive anyway. Here are some of my thoughts and tips. Enabling the middle mouse button Immediately after installing dwm I noticed that the middle mouse button was not working….

# Author: Gian Sass

## 2019

Sadly I’ve almost completely forgotten about my blog this year. I need to get back into the habit of writing out my thoughts in a concise and presentable way. Anyway, here are some cool things you should check out. NTop – htop-clone for Windows. I wrote this back in 2017 but this year it suddenly…

## Tweaking Vim To Be A More Suitable C/C++-IDE

Being a true Vim patriot requires me to share with my fellow brethren my repertoire of handmade tools, lest they should be forsaken. Therefore I will present in this very post some script fragments to drastically improve productivity when developing C/C++ inside Vim. All of these fragments are part of my .vimrc and can thus…

## Rapid Native Game Development With Live Code-Reloading

Developing games in C/C++ is a tedious process. Things like compiling take ages and in-game bugs are hard to debug and fix. And the vicious cycle of compiling, restarting, and backtracking destroys focus and productivity. To solve this problem, most implement a scripting language: Lua for instance is quite popular with game developers. One can…

## Locked Out Of Twitter

UPDATE: the prophecy was fulfilled. I’m now onÂ https://twitter.com/GianSass. They did it. The madman did it. On a Sunday evening I was casually glancing over my Twitter profile, making little adjustments. As my eyes jump to the birthdate section I noticed something off. I wasn’t born in 1998 was I? So of course my half-asleep me…

## Fun With Binary Palindromes

My recent vicissitudes have led me into the realm of palindromes. Binary palindromes. Essentially, palindromes are words or numbers that appear the same when read from left or right. The word “Anna” is a palindrome for example, as well as the number 13931. But my focus has been primarily on binary palindromic numbers, such as…

## The Julia set

Quite like I described the Mandelbrot set, the Julia set is also a Mathematical fractal that is computed with almost the exact iteration. The iteration is a quadratic polynomial in this case. Here, and are both complex numbers, but play a rather different role than in the Mandelbrot equation. Going back to our original understanding…

## Computational Complexity of Recursive Functions

A function is deemed recursive if it satisfies the following three rules: There must be at least one halting condition. The function must call itself. The parameters thereof must be altered such that the halting condition will eventually stop the recursion. The easiest example of a recursive function would be calculating the factorial of a…

## The Mandelbrot Set, Part 2: OpenGL Program

In the last part I tried to give a general overview of how the Mandelbrot set is generated and how it can be rendered using a simple algorithm. This part will focus on programming a simple realtime renderer that can also zoom and move around, as I showed in this video. Additionally, it will serve…

## Codesign gdb on OSX

Trying to use gdb on OSX El Capitan gave me following message. Solution? You need to codesign gdb with a custom certificate. Open Keychain Access In the menu, go to Certificate Assistant -> Create Certificate Choose an appropriate name like gdb-cert, set Identity Type to Self Signed Root, set Certificate Type to Codesign, and check…