« * K @brandonrohrer.com
1 AWS is fighting hard to keep up with GPU demand on the West Coast today, and th…
@brandonrohrer.com
2 jeez claude, rein it in a bit. I don't get paid by the line.
@brandonrohrer.com
3 You can still put positional and optional keywords before the asterisk. `def es…
@brandonrohrer.com
4 This means that now when I write ``` def sum(*, a=None, b=None): return a + b `…
@brandonrohrer.com
5 I always did this by setting all the parameter keyword defaults to `None`, then…
@brandonrohrer.com
6 Cool Python trick: Sometimes you want functions to have keyword arguments, but …
@brandonrohrer.com
7 Available on pypi uv add redsho or pip install redsho Or you can check out the …
@brandonrohrer.com
8 It looks through the parameter combinations it has tried already and picks one …
@brandonrohrer.com
9 redsho takes a middle ground approach for when the effects of parameters and op…
@brandonrohrer.com
# MoreBack a pageBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup