I make computers go beep boop.
Writing code, making coffee, and posting shit in Zürich, Switzerland.
| pronouns | he/him; they/them |
| location | Zürich, Switzerland |
| blog | https://monospacedmonologues.com |
| https://twitter.com/SamirTalwar |
I make computers go beep boop.
Writing code, making coffee, and posting shit in Zürich, Switzerland.
| pronouns | he/him; they/them |
| location | Zürich, Switzerland |
| blog | https://monospacedmonologues.com |
| https://twitter.com/SamirTalwar |
The title of this thread is called "Angry Black Women".
On January 20, 2017 this picture was my Facebook avatar. It is Michelle Obama at the inauguration of the 45th president. About a month later, a white female person I know texted me "Can you change your avatar photo, now." Which I did. The following is a selection of the Angry Black Women avatars I used since. These Angry Black Women changed our lives for the better.
Wrote some more J as a warmup for #adventofcode. This is AOC 2021, day 3, part 1.
Screenshot attached, code's also at https://gist.github.com/SamirTalwar/a0dddc670bda4a5cc757574bdeb5abde#file-aoc_03_1-ijs.
I think I'm done warming up now. Looking forward to the real deal.
Next, I think, "I've got a lot of shell scripts that use Docker and I don't want to rewrite them. Can I use an environment variable?"
`DOCKER_CONTEXT=other docker ps`
And it works!
I just guessed these; I didn't read a man page.
That's how you design a CLI.
Fucking about with Docker, and I discover Docker contexts for running against a remote host over SSH. This is very cool.
I discover you can use `docker context use` to switch contexts. I don't like this. It's stateful. I'll forget to switch it back. So on a whim, I try `docker --context=other ps` and it works!
Most powerful language features to enable reliable software and fast iteration:
- immutability
- enums (sum types/variants)
- static types (real ones, not like java/C++)
- higher-order functions (eg map/filter)
Nothing else comes close