Piotr Szotkowski 🛡️
banner
chastell.net
Piotr Szotkowski 🛡️
@chastell.net
👴 speedrunning retirement
🧑‍💻 (prev.) cheap science officer at Rebased
🤹‍♂️ (prev.) assistant professor at WUT’s cybersecurity division
💎 (bad co-)maintainer of Bogus & Reek
📷 (very amateur) street photographer
🫂 he/him, vim/nvim
🕸️ https://chastell.net
Please consider me on a coding/work hiatus at least till the end of September, due to health reasons. 🫠
July 22, 2025 at 4:39 PM
I was heavily offlined the last few weeks, so I’ll have Opinions™ more end-of-August at best! But my Vim clumsiness finally pays back, the basic bindings are the most I ever learnt. 😇
July 18, 2025 at 12:03 PM
Reposted by Piotr Szotkowski 🛡️
... and this is why I don't like to talk to journalists. I made an exception for The Economist: sent over 7 pages of details on the comp landscape and told them they can use it, plus quote from @pragmaticengineer.com as long as they link it.

They used my chart, redrew it as their own, did not link.
July 2, 2025 at 9:54 AM
Right, apologies. 🤦‍♂️

You can mutate the array because you have access to the passed-by-value pointer to it (`a`), but you can’t repoint it (this is why `a += [3]` doesn’t change the caller’s variable).

This is also why you can’t mutate immediates.
July 1, 2025 at 6:59 AM
This is because `a += [3]` is syntactic sugar for `a = a + [3]` – you are not modifying `a`, you create a new local `a` from the passed-in `a`.

`a.push(3)` is a call on the original `a` that modifies it.

(Ruby is pass-by-reference except some objects are immediates, like small integers… 😱)
July 1, 2025 at 6:18 AM
Can they do Polishness next? My paternal-paternal great-grandpa was Czech, my maternal-paternal one was Silesian, the majority of them identified as Poles probably, keine Ahnung – Poland didn’t exist for 123 years (that’s five generations?).

And then what does it mean to be Catalonian.
July 1, 2025 at 4:23 AM
(There’s also the infuriating ‘employees have to be in the office three times a week because we can’t trust them to not be doing another job in parallel’.)
July 1, 2025 at 4:10 AM
…or, just now – I had my daily blood pressure records in Obsidian oldest-first, but the list grew long and I’d rather add to the top of it:

tac blood_pressure.md | sponge blood_pressure.md
June 30, 2025 at 4:58 PM
like Popular with Friends (one of the official ones)?

bsky.app/profile/did:...
June 30, 2025 at 8:52 AM