Dom's current

My personal micro-blog

2023/06/03 14:33

I’m going to ignore all the contents of Will Larson’s The Staff Engineer for a moment to just point out how ingenious it is to put QR codes next to every article/post/book in the references! Such a simple change, but so helpful!

2023/05/02 22:10

Hey, look at that, almost exactly a month between my last 2 posts!

2023/05/02 22:08

Old habits really do die hard… you have to actively try to kill them, and they will jump at the first opportunity to rear their head. (ctx: After taking my digital usage down to a reasonable level I have relapsed for a month, but I’m starting to get it back under control, hopefully)

2023/04/02 21:18

Bookworm PSA: Buying an e-book reader is dangerous! Now the only thing stopping me from immediately buying and starting to read a book someone recommends me is my self-control. I am doomed!

P.S.: It’s also amazing, if you want to read huge fantasy series spanning multiple books, 700-900 pages each!

P.P.S.: I still love physical books, but the convenience factor is impossible to deny and hard to beat.

2023/03/09 22:15

TIL: When you are making large refactors to your code (e.g. when introducing a code formatter like black) and you don’t want them to muddle up your git blame, you can create an ignore file for specific revisions! No more false attribution and having to manually look up the change history for specific lines to find out the real source of truth!

Command for setting the .git-blame-ignore-revs file as your ignore file.

git config blame.ignoreRevsFile .git-blame-ignore-revs

The format for this file is a single git revision hash per line. This also automatically works with most IDEs I’ve tested (a restart might be required), as they use git blame under the hood.

2023/03/06 11:03

Investing a little bit regularly (every day) into keeping things in order / taking care of things applies the same way to tech debt as it does to household chores or self-love.

If you do it consistently, you might be able to prevent the big intervention/clean-up effort. Or at least significantly reduce its scope.

2023/01/21 14:57

With the first snow of the year here, I’m once again reminded what a great feeling coming in from the cold after a long walk, making a nice big pot of tea, and settling in with a good book is. 🫖🍵

2023/01/14 15:44

So, the current finally has working Atom, RSS & JSON feeds! So if you happen to be reading this feed and find any value in it, feel free to subscribe through any of these methods!

2023/01/13 19:41

“Therefore, you should be warned that this book, like all books, is biased and incomplete…”

Donella H. Meadows, Thinking in Systems: A Primer

Judging just on the Note from the Author, I know I’m in for a treat!

2023/01/13 07:57

When I first heard of the Godhart’s Law it resonated with me, as I believe it did with many people, because it describes a common pain developers feel. However, the more I thought about it, the more I realised that that’s all it does - describes the problem. It doesn’t in anyway help you identify the core issue, nor solve it in any way. That’s why when I ran into this article I was glad that someone else felt the same way and even provided a more useful formulation:

When people are pressured to meet a target value there are three ways they can proceed:

  1. They can work to improve the system
  2. They can distort the system
  3. Or they can distort the data

Thanks, Cedric Chin!