ChiPy __Main__ Meeting


When: March 14, 2024, 6 p.m.

Where: Tegus

Attendance:
In Person Pythonistas: 48

Topics


  • ChiPy celebrates Pi Day
    By: Phil Robare
    Experience Level: Intermediate
    Length: 10 Minutes
    Description:

    The calculation of π to an insane number of digits is something that has an interesting history.  This talk will look at historic algorithms for the calculation π and implementation of the algorithms in Python.  And we will meditate upon how lucky we are to have computers to do the calculation. In doing this we will see things in the Python standard library that make it possible to calculate the crazy values needed in modern algorithms (e.g. one over a factorial cubed). The final demonstration is the calculation of π to 100 significant digits.

  • Headless CMS with Wagtail and Nextjs
    By: Josh Martin
    Experience Level: Novice
    Length: 30 Minutes
    Description:

    This talk will cover how to host a Wagtail/Django backend running on Digital Ocean with Dokku. And a Next.js frontend running on Vercel. This combination leads to an ultra-cheap solution for a scaleable and fault-tolerant solution for personal projects or startups.

  • Getting Started with Software Testing in Python
    By: Paul Zuradzki
    Experience Level: Novice
    Length: 30 Minutes
    Description:

    The goal of this talk is to give you a roadmap on a journey to writing stronger code with software testing. How do you actually know if your code really works? How do you know that you didn't break something "over there" when you changed something "over here"? In this talk, we'll demonstrate common problems and solutions with respect to verifying code correctness and improving maintainability.

    Maybe you've already started trying to learn testing and some things are still unclear: 
    - "What is the point of a mock?",  
    - "What is the difference between patching with pytest vs unittest or using a with-block vs a decorator?"
    - "I get stuck writing a test as soon as I go to a nontrivial example."