HN user

hronecviktor

58 karma
Posts2
Comments15
View on HN

apt-get / apt-cache is one of those things that I simply cannot get out of my muscle memory. It's probably an alias under the hood by now, but I hope they never get rid of it.

Ofc stuff that is actually deprecated is a different story.

When I see some kind of tutorial or whatever from 2025 by a young dev and he is using ifconfig instead of ip or similar stuff... I am having a hard time holding myself back not telling them ifconfig was deprecated before they were even born :)

On the other hand sometimes when my brain goes full autopilot it still defaults to writing

/etc/init.d/someservice restart

Like sysV wasnt out for a decade by now

These are all courtesy of AI of course.

Still, I may be a little anal about this but I align with this. I quote everything in bash. In this case I would do single quotes as it's a literal. You never know when someone with lesser bash knowledge will modify your script and put a variable in there. Shell expansions are nothing but footguns everywhere. Proper quoting hygiene and `--` goes a long way

Dont even have to remap anything to cause issues. Case in point: we wanted to try mob programming with 2 colleagues.

I was using a 106 with US layout

Colleague #1 was using 60% with russian layout

Colleague #2 was on catalan layout

90% of the time we were just hunting for special chars

It's on a VM running behind caddy + bog-standard Let's Encrypt DV cert. It apparently works for nearly everyone, but I did have one user in the past that reported that *.0s.is domain doesnt work in his browser. Could not get enough info about what his setup was, if you could share what OS/Browser + versions you got that would be much appreciated

As an intern at @bankcompany I decided to go one step further than what my ticket was asking for and decided to implement something that crunched data in a very obvious way. Was nicely asked to revert it, because @bankcompany already had several fulltime employees doing exactly the same thing.

Trivial to work around using _envsubst_ utility (part of _gettext_). If you write something like: name: app-$KUSTOMIZE_NAMESPACE and run `kubectl kustomize | envsubst "$(printf '${%s} ' ${!KUSTOMIZE_} ${!CI_} ${!GITLAB_*})" | kubectl apply -f -` it will substitute the env vars that match the wildcard.