#Ansible: TINMTOWTDI 🙄
(I'm more the #TIMTOWTDI guy.)
#Ansible: TINMTOWTDI 🙄
(I'm more the #TIMTOWTDI guy.)
@ovid @barubary #TIMTOWTDI abounds, but for the past year I’ve favored https://asdf-vm.com and its https://github.com/asdf-community/asdf-direnv plug-in for pinning both single-language and polyglot projects’ runtimes and configs. Might want to look into it since it seems like you need to do a lot of shuffling from client to client.
I have a new appreciation for the holy wars waged over code formatting and tabs-vs-spaces.
That's because I've been hacking on @masukomi's Hey (https://github.com/masukomi/hey_3), which is a (quite nifty!) time-tracking CLI app. But it uses tabs and snake_case when the normal #rakulang practice is spaces and kebab-case.
I mean, #timtowtdi and there's nothing _wrong_ with those choices. And of course I followed those conventions in my PRs – anything is better than chaos.
But, man, my eyes, my eyes!
... one of #TIMTOWTDI #workarounds for the #Python #thorn_in_backside #wart
via (shallow) copy of the module-global🙃 (mutable) structure it is ...
from dataclasses import dataclass, field
default = [ 2 ]
@dataclass
class Initial_Mutable_Default:
# Look Ma, no "__post_init__()"!
attr :list[ int ] = field( default_factory = lambda: list( default ) )
print( Initial_Mutable_Default() )
🤷🏽♂️
For the third year, I'm organizing a #rakulang Advent of Code solutions repo for Rakoons to compare our solutions and learn from each other (#timtowtdi!)
https://github.com/codesections/advent-of-raku-2022
(I'm not sure if I'll be solving the #adventOfCode puzzles myself this year, but I still want to make sure it's there either way!)
So weit muss man nicht gehen. Sagen wir es wie die alten Perl-Programmierer.innen: „There is more than one way to do it.“ #TMTOWTDI #TIMTOWTDI /c