This is a good point, but also this bisection in and of itself is pretty amazing to be able to do, when each bisection test takes 4 hours to figure out if the commit is good or bad!
RE: https://mastodon.social/@ratkins/112675470604166076
@robdaemon I’m currently using pytest and its fixtures + monkeypatching (though I don’t know of any objective reason to use pytest monkey patching over unittest mocking - I do it mostly to remain within the same library so I don’t need to bounce across different documentation). At least w/pytest fixtures, I don’t need to worry about ordering.
Though even with monkeypatching, it’s still using unittest mocks, so the API there is still trash.
@robdaemon I’ve internalized it and understand it now, but it’s still so, so annoying to deal with. I’m still looking for a half-decent pattern for doing DI for testing in Python.
@robdaemon Mocking in Python is so miserable, though you can at least work around this by using pytest’s fixtures to vend mocks instead.
@robdaemon Sure is easier to have better results when you can ignore externalities!
Yet another time when Go pretends it has static type-checking but internally is poking all around an IO object to see if it can seek or close or whatever.
Inside of you there are two engineers.
One is sobbing desperately and asking for everyone to use the right tool for the task. Please, they cry, avoid the awful hacky workarounds!
One is sobbing desperately and asking for everyone to use the same tool for the task. Please, they cry, make information actually discoverable!
Both sob in commiseration together as they end up using 5 separate tools, duplicating the data 3x, and suffer all of the hacky workarounds with none of the discoverability.
Half the time when I see BDFL, I read the B as “bastard” instead of “benevolent”, probably because of BOFH.
My inner urbanist winces every time S wants to build a parking lot when playing with his duplos (which is often).
As, I guess, promised, the blog post on access control and private methods in Ruby:
https://noelrappin.com/blog/2024/06/better-know-access-control-part-2/
I tried to make this measured, though it probably would read better as a straight-up rant. It'd certainly be shorter…
Coming to a mailbox near you if you are a subscriber.
hot take: ephemeral chat is actually kinda nice because if there's no history to search it means you'll be more likely to put important info somewhere it actually belongs like a wiki or mailing list
chill out and let chat just be chat
Woo, so excited to see the virtual #ORCA card available in Google Pay! Curious when it'll make its way to iPhone too, but a big milestone for sure 😁
#SoundTransit #KingCountyMetro #Seattle #Transit
@kingcountymetro_bot https://mastodon.gruezi.net/@kingcountymetro_bot/112673607041203736
I feel this way about senior engineers.
https://www.nytimes.com/2024/06/24/crosswords/chess-players-grandmaster.html
Often the best code documentation is a commit message that links to an issue thread full of notes and screenshots
@Brodyberg @presstype I actually have no idea, since I’m too far off the deep end really, sorry!
So, today I was here. This was one of the most unusual historical marker signs I have ever seen.
Charming. Serious. And #NinjaTurtles. #TMNT
#DoverNH
I’m for the most part a Forgetter and it always impresses me how some people I’ve worked with can pull out such detailed memories of things they’ve done in the past, but my memories of such are generally pretty spotty.
https://www.thecut.com/article/memory-people-who-remember-vs-forget.html