I think I'll just start photographing messy code I find while at work.

For example, I have seen many instance of code looking like this:

if (condition1 && condition2) {}
else {

And if you "fix it", it crashes. 🤦‍♂️

It just so happend that condition1 or condition2 throw an exception and JS interpreter jumps to the other branch of execution. So as doing: `!condition1 || !conditon2` itself throws and exception and conditional body is not executed.

Show thread

For example, HTML documents have too much invalid elements. JavaScript code has too many access to attributes from undefined attributes.
and CSS has waaaaay too many !important and duplicates.

Show thread

As I explore more software projects, I find out more and more programmers that just copy some code and apply random changes until it works.

Further, the code does not work in a lot of cases, it's simple a coincidence we have expected results. Logs reveal too much errors and code keeps working because it is lax enough.

There are some genres of traditional Moroccan music, very niche, where an artiste may (never seen or heard someone do it) just keep sing for 24h straight without song repetition.

There are videos on the internet of 3 hours or so doing just that.

IRL there are so called nights, (Gnawa, Issawa, Hmadcha, etc) that keep sining all night.

I am using windows 10 for work and Fedora + Gnome on my laptop (was Fedora + Sway). I can confidently say GNU/Linux rocks on desktop!

I started using Gnome again. TBH, it is state of the art desktop.

It does recognise my mouse and battery level natively. It just worked. I hadn't had to install nor configure anything. It just works.


I gave my phone to friend to see something. He posted "pornhub". in his defense, he wanted to introduce me to some kind of hentai but generally don't know why he would write and submit in something else than a browser.

I think I drink too much coffee when working from home.

Show older
Social Touha.me

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!