Adam Silkey
adamsilkey.bsky.social
Adam Silkey
@adamsilkey.bsky.social
The lack of trailing commas is one of my big problems with JSON.
January 15, 2025 at 4:02 PM
Congrats!!!
December 21, 2024 at 1:47 AM
Jonathan Coulton's early stuff is great. Someone recorded an entire concert he did back in his early years... you can watch the whole thing here starting here:

www.youtube.com/watch?v=1BmK...
Jonathan Coulton in LA -01-The Future Soon
YouTube video by Gle3nn
www.youtube.com
December 17, 2024 at 5:48 AM
A never ending list! The problems of being a writer!
December 17, 2024 at 5:45 AM
This is very cool!!! I'm excited to see how cross-compatible this is with Windows (since I switch pretty frequently). Also, I love the little `0` shell script. That's very cool.

Have you written a post about other sorts of small scripts that you have on your system that are useful?
December 12, 2024 at 6:15 PM
The difference comes from COMPARE_OP needing to load something, whereas IS_OP already has access to the object's ID.

gist.github.com/adamsilkey/6...
Is vs Equals?
Is vs Equals? GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
December 12, 2024 at 6:03 PM
This is a case where PEP 8's convention reflects a real world performance gain for no mental overhead.

❯ python -m timeit -s 'a = 1' 'a is None'
50000000 loops, best of 5: 6.28 nsec per loop

❯ python -m timeit -s 'a = 1' 'a == None'
20000000 loops, best of 5: 15.1 nsec per loop
December 12, 2024 at 5:55 PM
I don't think it's too compact. Comprehensions are really fast, so they're good to use.

I agree with what @browniebroke.com said about how you formatted the comprehension to make it more readable. And if this were checked into prod code, I'd probably have explanatory comments in the code/commit.
December 12, 2024 at 5:23 PM
This was a beautiful story, Ned. Thank you for sharing your experiences.
December 3, 2024 at 4:02 PM