Stream

A living stream combining articles, micro and photos.

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.

Some links:

Picture Henrique Dias

Change to Custom Directory 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:

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

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.

READ MORE
Picture Henrique Dias

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 ๐Ÿ˜ฎ

Picture Henrique Dias

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?

Picture Henrique Dias

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!

Picture Henrique Dias

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?

Picture Henrique Dias

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 ๐Ÿ‡ต๐Ÿ‡น

Picture Henrique Dias

In the past few days, I made a few updates on my website to improve both looks and performance. I started by updating my guestbook a few days ago.

Then, I looked at the CSS and I noticed there were huge chunks of CSS regarding cards and webmentions. Those and some other parts are now only added to the pages that require them.

I also decided to delete my GoodReads account and cleanup a bit my readings page. I still don’t have a fancy interface to edit them, but I’ll have soon enough. It’s not as if I’m reading tons of books every day.

Picture Henrique Dias

Recently in April '21

One more month has passed! It is unbelievable how fast this academic year - and 2021 in general - is passing. I’m already in my last quartile, having my last courses for the year.

There’s not a lot new about what happened in April, besides a very weird day here in Eindhoven where the weather had a heart attack and it was sunny, then it was hailing, then it was raining, then it was snowing, then it was sunny again. It was… dramatic!

I also got a scare: somehow I dodged Covid-19, which was very weird and stressful and it was during my exams week! Fortunately all exams went well. I already received almost all grades. Just waiting for an assignment for Machine Learning Engineering.

Besides that, I managed to visit Utrecht. It was a very very beautiful city. It contrasts a lot to the city I’m living in because it’s older, it has canals, and a very different vibe. I really enjoyed my few hours walking there and I hope to come back soon now that more things are open once again!

Utrecht Canals

Utrecht Canals

We’re now in May! Sun is coming and hopefully something good for all of us! Have fun, but stay safe.

READ MORE
Picture Henrique Dias