The last post (at least for now) in my series on xfail is now live: "xfail and code coverage"
https://blog.ganssle.io/articles/2021/12/xfail-coverage.html
@bagder An Easter egg that actually caused some problems that sound kinda annoying to debug: https://unix.stackexchange.com/q/405783
`man -w` used to print `gimme gimme gimme` at 00:30, as a reference to the ABBA song.
Seems like that just caused someone's test suite to fail and not like a problem in production, but it is indicative of how unexpected behavior, even if a fun idea, might not be fun for all your users...
No easter eggs in curl https://daniel.haxx.se/blog/2021/12/06/no-easter-eggs-in-curl/ - With the risk of completely ruining my chances of ever being considered a fun person, I’ll take you through my thought process on why curl does not feature any Easter eggs.
Today's #science experiment with the boy: dissecting a turkey bone to see the marrow where new blood is made!
TFW the doctor tells you your shoulder bone is dissolving because you lift weights too much.
(See: https://en.wikipedia.org/wiki/Osteolysis#Distal_clavicular_osteolysis)
A pseudo-TDD workflow using expected failures, wherein I describe how you can use xfail and VCS history rewriting to make a TDD history even if you didn't do TDD (this probably makes more sense once you've read the article):
https://blog.ganssle.io/articles/2021/11/pseudo-tdd-xfail.html
It is wild to me that
1. nearly every commercial species of eel is endangered,
2. no one has ever successfully bred an eel in captivity\* and
3. eel is available in basically every sushi place in America (it's actually hard to avoid!
See https://en.wikipedia.org/wiki/Eel#Commercial_species
\*Some scientists managed to get some new eels hatched, but they died after 18 days. Not exactly a good foundation for aquaculture.
New blog post out today: How and why I use pytest's xfail: https://blog.ganssle.io/articles/2021/11/pytest-xfail.html
Male (bright blue) and female Variegated Fairywrens as seen from my veranda this morning.
The female was close enough that those shots aren't cropped.
Canon EOS 1D MkIV, 400/5.6L + 2xTC (effective field of view equiv to 1,040mm due to the 1.3x crop on APS-H sensors)
#bird #photo #nature #AustralianWildlife #VariegatedFairywren
@skunksarebetter Am I mis-remembering, or did you once recommend a CLI tool that would execute a terminal command in response to changes in a set of files? I remember it as being a recommendation for `fzf`, but I'm not seeing that anywhere, and `fzf` doesn't seem to advertise that capability.
I should probably be less negative and more grateful that my employer has allowed me to work on this on work time. Thanks, Google!
Coming soon to Python: A basically full-spec iso8601 parser.
Though I'm already pessimistically expecting a bunch of comments like, "Finally, I still didn't understand why they didn't do that in the first place." and "Oh this function is finally useful, thought the core devs were being intransigent on this."
I signed up for unsplash to share my full-size photos.
Comments available on HN (on the front page now!), subreddits r/Python and r/programming and lobste.rs:
https://lobste.rs/s/ajhbif/why_you_shouldn_t_invoke_setup_py_directly
Latest post is a big one: "Why you shouldn't invoke setup.py directly"
A lot of people don't know about this because we haven't been great about getting the word out. This blog post is in part an attempt to remedy this.
Please help spread the word!
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.