Optimizing code is like trying to get the last bits of toothpaste out of the tube: the more you do it, the more difficult it becomes, but in hindsight it's surprising how much you managed overall.

Just got an integration loop from >400μs to <160μs and it took me only 22 hours. \o/

I'm supposed to profile the simulation code I've been working on for a bit over a year from three different phases during its development. Looking at the year old code I can only say one thing: One year younger me deserves to be slapped hard for being so fucking stupid. /slap @Hunaja

Then again, it would be sad to find out the code was better a year ago than it's now... 🤔

Personally I've never used perl for anything, and I never will, if using cpan is a reflection of how things are done in the perl world. This is horribly, horribly, horribly messy compared to the user experience of e.g. pip. I mean, the default solution to uninstalling a module is to find out all the files that cpan installed and then manually remove them? Well, I guess I better grab "stat" and start hunting then.

Small things that makes one happy: You forget that you still have some coffee in your mug. You notice it, drink it and it's still warm.

There's an offer for a bunch of unix stickers for very little money: stickermule.com/unixstickers

If you like (melodic) metal music, check out
They have a new single called "Maa martona makaa", and holy crap is it good.

A balancing act: allowing myself to be lazy and unproductive to avoid burnout while figuring out when I'm trying to trick myself with an excuse to avoid doing unpleasant or boring stuff. I guess that pretty much sums up adult life?

I was surprised to see my simulation code isn't deterministic with the same inputs (incl. rng seed), until I remembered that floating point operations are non-commutative and the order of atomic operations on the GPU is essentially random.

How to delete your account from a small webshop 2019 edition:

"Please fill in the attached form and send it back to us. You can for example scan the form once you have filled it."

Great 👌

I'm starting the slow process of changing email addresses. I've been using the free one from the search engine people until now, but I'm changing to

I'm not looking forward to the process, but I am looking forward to the moment it's finished.

I was not aware "toot" was slang for farting :D. Well, human language is an evolving thing, so let's slowly change that meaning as more and more of us non-native speakers start tooting without understanding the aforementioned connotations.

My first toot!

I'm a C++ developer, currently studying & working in the area of computational physics and gpgpu programming. Been a :ubuntu: user for many years, but finally this year decided to give :archlinux: a go. Also very excited for PinePhone later this year!
Now let's figure out this :mastodon: thing (you can see I already found the emoticons...).

Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.