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...
@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.
@cnx I used a serrated knife to cut it in half along the short dimension, then a dremel to cut away the rectangular sections of the bone I removed.
Today's #science experiment with the boy: dissecting a turkey bone to see the marrow where new blood is made!
@Firaas Totally worth it for shredded pecs, brah. 😅
@cstanhope Haha, thanks. I seem to be doing better after a cortisone shot and I've gotten a trainer to help me with my form, so hopefully that helps.
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
@SchizoZoomer @HotPolishTakes @RoyalJohnny242 This Wikipedia article says all eel blood is actually poisonous to humans unless you cook it, so apparently even being deadly isn't enough.
@trinsec I was lying next to him and he stuck his finger in my eye. I thought he had displaced the contact because my vision in that eye seemed fuzzy, but when I went to adjust it it was just missing!
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.
@Firaas It was an Amazon Echo Dot, so whatever that was.
TBH he has fixed it that way before, but this time the issue was that the modem was unplugged, so while I was fixing that he did his plug/unplug cycle and decided it worked. 😅
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
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.