What we're about
Upcoming events (2)
Hanna Neumann Building, Seminar Room 1.33
Presentation by Zac Hatfield-Dodds (starting ~6pm) + discussion, conversation and connection with the community. Pizza and drinks provided. ---- You care about writing correct code. Of course bugs happen, but for this project you want as few as possible. So you write unit test, integration tests, end-to-end tests. You get enough sleep. You review each other’s code. You’ve tried out static typing, linters, autoformatters, property-based testing - and kept everything that helped. What more could you do? Let’s do a deep dive into advanced techniques for computer-assisted testing - that is, systems which involve executing your code and checking what it does. (Type systems, static analysis, and formal verification are all awesome, but out of scope for a testing talk.) This talk is - alas! - not a box of magic bullets; many techniques are still in academic papers rather than on PyPI. Instead, learning about these techniques - what they do, how they’re implemented, and most importantly why they work - might change the way you think about software engineering (perhaps even for the better). Using Hypothesis as a pure-Python case study, we’ll cover the shocking power of “dumb fuzzing”, some of the many ways to make it smarter, and why they might (or might not) help. You’ll learn how to construct randomized tests that check much more than ‘does it crash’, and are implausibly likely to find bugs ‘randomly’. I’ll unveil the algorithms that Hypothesis uses to find minimal examples - and why it doesn’t use some others. And finally, we’ll survey some of the exciting new techniques and applications of property-based testing in the Python ecosystem… including how you can join in!
Join us for Hacktoberfest! Hacktoberfest is an annual, international, month-long celebration of Open Source. It's also a sponsored challenge: if you open four (non-spam) pull requests on Github at any time in October, you can get a limited-edition T-shirt! See https://hacktoberfest.digitalocean.com/ for more. We have a slack with a dedicated hacking channel: https://canberrapug.slack.com Like all our open source evenings, this will be a relaxed time for the Canberra Python community to work on open source projects, try out new libraries or share our love of old ones, and generally hang out while using Python as well as talking about it. We don't usually have sponsored T-shirts though! All experience levels are welcome, whether you're an experienced open sourcerer or just want to find out what all the fuss is about. Please bring a laptop, and an idea for a Python project you would like to work on or topic to learn about. CPUG - thanks to ANU - will provide tables, chairs, and a few power points. We're working on wifi but if you have a phone or other hotspot please bring that too!