Log

🪵 A living log combining my main feeds: articles, micro and photos.

Now, if you decide to curl my website curl -L hacdias.com, you’ll get the same contents as my humans.txt file. Just a fun feature for curl users!

Recently

As I usually say, one more month has passed and we’re already in June! If everything goes on well, this is the last month of classes and exams of my Master’s first year.

It’s been very busy, and I’m pretty sure this month will be even more. There’s assignments to deliver almost every week for the many courses I have and I have to start preparing for the exams too.

In other news, I visited Den Haag, Maastricht and Tilburg! I also managed to dedicate more time to photography and revamp my photos page. But let’s be honest: I’m always changing something on this website so it’s not as if that’s news.

I leave you with one of my favorite pictures of the month, but I invite you to check out the other ones!

A few days ago I saw a blog post by GitHub announcing their support for security keys in SSH operations. After a bit of search, I discovered that OpenSSL 8.2, released last year, lets us use our FIDO2 devices (such as Yubikeys) to “unlock” our SSH private keys. This way, we don’t need the cumbersome GPG <-> SSH relation.

I tried it, and it was nice. I don’t know if I’m going to start using it right away because not every place uses OpenSSL 8.2+ yet, but soon, very soon.

cd subdirectory alias with completions in zsh

For quite some time, I’ve had a helper function on my ZSH config to quickly be able to cd to specific directories. It looked something like this:

function cdc() {
cd "$HOME/Code/$1"
}


So simply typing cdc or even cdc hacdias/hacdias.com would work perfectly. But there was a problem: I was seeing myself just typing cdc, pressing enter, and then “cding” to the right directory. This mostly happened because there was no autocomplete with this function.

Yesterday I decided to investigate how to enable autocomplete for this function and it’s actually pretty straightforward. To do so, you need to implement a definition function. It is standard to call it _{name of alias}. Hence, in our case, it would be _cdc.

jlelse's Blog 20 May 2021 20:23

I can now mark text with ==text== in GoBlog. This is probably even better in some cases than using bold text. Isn’t it? 🤔

Hmm… The marked text doesn’t seem to show up on Miniflux. Not sure if it’s not in the feed at all, or if Miniflux just removes it 😮

I’m thinking of changing how my “photos” section works, or maybe have two different sections. On one hand, I the possibility of being able to just share a random, single photo I liked, like on Instagram. On the other hand, I really enjoy the aspect of curating stories - like here and here.

I think it’s possible to do both, but is it worth it? Should I invest my time in doing so? I’m gonna work on some ideas and possibly update it on the near future. Who knows?

It seems my column layout didn’t last long. As I was writing the post I had an idea: what about a mixed grid with the latest micro, articles and photos? Bingo!

Now the latest section in my homepage contains my latest micro post with full width, then a 2 by 2 grid with the latest 4 articles and a 2 by 3 grid with the latest 6 picture series!

I just updated my home page to show my last 10 posts (articles, micro and photos). Before, I was displaying two columns: one with articles and one with pictures. But I felt it wasn’t dynamic enough as I don’t post as many of those.

Now I’m using CSS columns which doesn’t make me particularly happy because the order of the posts is from top to bottom and not from left to right. I see there’s a masonry grid layour in the works so it may be a nice option for the future.

For now, I’m not even sure if I’ll keep it like this or change it soon. Let’s see. What do you think?

I’ve shared this piece in the past in a post where I talked about trying pixel art. However, I feel it deserves its own micro post. Hereby I present you the chemistry tower of my previous university 🇵🇹