Various thoughts about leadership, software engineering, data science, and building tools to help people with data.
There is no such thing as a flaky test
2024-03-27
“Is that failure a flaky test? — We can ignore that failure, it’s a flake — Let me rerun these; that’s a flake.” everywhere that I’ve worked; every team I’ve worked with; I’ve heard these or similar.1 When I was earlier in my career this felt reassuring and calming. The test failed, but it’s ok! It sometimes just does that, click re-run and move on. Simple!
But it also left me unsatisfied: I couldn’t ever stop that nagging voice in my head from asking “but why? ...
4 tricks to be a more efficient data scientist
2020-08-29
Since transitioning from an academic background to doing data science in industry to leading teams of data scientists, I’ve learned all manner of exciting things. I’ve also had many ☕️ chats (recently more virtual than in person)1 with people who want to get into data science who ask me what skills they need to join the field. There’s no dearth of pages, blog posts, etc. about all the skills that some people think are needed for a successful interview or career in data science. ...
Introducing {dittodb}
2020-07-24
Today {dittodb} was released on CRAN. It is designed to make testing database connections easy, reliable, and even fun.
There are already a number of packages that facilitate HTTP-based external services (eg {httptest}, {webmockr}), but there haven’t been good solutions for testing against databases. {dittodb} is designed to solve that: It works by recording (and editing if needed) database interactions as fixtures and then uses those fixtures for automated testing. ...