The blog of a very opinionated girl who loves coding, writing, and dancing!

Literally Living In The Console


I’m writing this in a tty console. No, not a terminal emulator, but the real thing. I can’t even take a screenshot right now, because that’s not how ttys work (2021-05-28: actually, you can!) And no, this isn’t just for the meme or trying to act h4cx0r g1rl… It’s actually part of my workflow. I’m a sway user. sway (or other WMs for that matter) is awesome for me because it makes my desktop almost totally free of any distractions.…
Read more ⟶

Should This Be A Feature?


One thing I’m very proud of is me releasing cras 2.0.0 earlier this week! A very… unique release indeed! Very few new features… less features than the 1.x series! (Have I become a GNOME developer?? /jk) Which features have been removed, you ask? Those which I feel are easily reproduced by means of using shell commands. Let me show you a very practical example from cras itself. $ cras example 2021-05-21 #01 [TODO] First task #02 [DONE] Second task #03 [DONE] Oh no, what a busy day!…
Read more ⟶

Freenode Is Dead... And Now What?


The news is well-known. We’ve lost Freenode as a trustworthy actor in the world of IRC. We’re dealing with a hostile takeover of the network, including legal threats to the voluntary staff, a quick migration to the new Liberachat network… lots of confusion… lots of people and projects migrating there or to OFTC… It’s sad. Very sad. The solution, namely, massively migrating to another server brings in the huge problem of moving lots of communities in a very short time, before something bad happens again… Some of them will jump late or won’t catch the train in time… Sighs… And some will choose to jump to other networks… maybe due to features… maybe due to preferences… maybe due to not fully trusting the people behind Liberachat… This is going to be a mess and it already is……
Read more ⟶

Tools I Love: Shellcheck


There are so many tools that I love! I feel I should give them a little shout-out once in a while. And there is one which I discovered just recently which has challenged some preconceptions I had as well as being really useful. It’s Shellcheck. Shellcheck is a shell script analyzer. As far as I know, it supports both POSIX shell and bash and is able to identify errors, give you a way better error message than any of our beloved shells, and even suggests style improvements which are, in all cases I’ve encountered, very, very recommendable.…
Read more ⟶

Three Levels Of Indentation


The Linux Kernel Coding Style includes this famous rule, apparently written by Linus himself: Now, some people will claim that having 8-character indentations makes the code move too far to the right, and makes it hard to read on a 80-character terminal screen. The answer to that is that if you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program. This is known as the Three Levels Of Indentation Rule, although “rule” is a word that usually doesn’t fit well to anything related to programming, IMHO.…
Read more ⟶

El Maestro Tito Puente


I love Tito Puente. There’s something in his way that made him special. King of Mambo after Dámaso Pérez Prado, but much more than just that… He mastered mambo, son in its various subgenres (montuno, guaracha, guajira, etc.), boleros, Latin jazz, you name it. One thing I respect him a lot for was his total respect for Cuban culture and the Afro-Cuban origin of the rhythms and genres he played. Unfortunately, some of his fellow Puerto Rican colleagues obscured this, especially during the Fania Era.…
Read more ⟶

getopts: A Story


It looks like I’m in a shell scripting fever lately… which is a great thing! You know, shell scripting is an amazing, very underestimated tool. How many things could’ve been easily tackled as shell scripts but aren’t… (sad noises) So this post is a bit of a follow-up to the last one: let’s dive into some more POSIX shell scripting! One thing I was doing in the very worst possible way in my shell scripts was parsing CLI arguments.…
Read more ⟶

Beware The POSIX Meme (apropos wc)


There’s this meme in some dark places of the Linux community: Standard compliance is always greener on the other side of the fence, namely on the BSDs, Plan 9-based/inspired systems, etc. Sometimes I believe people who say those kind of things have never seriously worked with any of those systems and just like to vent off baseless rants. Today I’m here to debunk some misconceptions I’ve come across repeatedly, some of which I myself believed because I just followed the meme.…
Read more ⟶

Worse Is Better


The other day I read that phrase, Worse is better… and it clicked with me. Not a very original statement, I know; just another iteration of Perfect is the enemy of good, but sometimes is not the words, but the phrasing. You don’t need a PhD in Linguistics to know this (but I happen to be one!) The point is that I’ve been struggling against the code of scalc for quite some weeks.…
Read more ⟶

A Tale Of strlcpy()


Oh… my… what a week! Apart from my Busy VIP Girl Life, in the code department it’s been rough. You might’ve seen some of it on my sourcehut feed… but let’s concentrate on cras today, because I think it’ll be interesting for you all folks. So, cras had a very nasty bug. I don’t feel like doing a huge analysis of it, because it’s actually trivial: string overflows yielded very, very bad things.…
Read more ⟶