DiscoverPython Bytes#403 A machine learning algorithm walks into a bar…
#403 A machine learning algorithm walks into a bar…

#403 A machine learning algorithm walks into a bar…

Update: 2024-09-30
Share

Description

Topics covered in this episode:


Watch on YouTube


About the show



Sponsored by us! Support our work through:





Connect with the hosts





Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.



Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.



Michael #1: uv under discussion on Mastodon




  • It’s interesting that uv is slightly controversial

  • Russell:


  • As enthusiastic as I am about the direction uv is going, I haven't adopted them anywhere - because I want very much to understand Astral’s intended business model before I hook my wagon to their tools.


  • Hynek:


  • As much as I hate VC, [...] FOSS projects flame out all the time too. … To me uv looks like a genius sting to trick VCs into paying to fix packaging. We’ll be better off either way.


  • Glyph:


  • Rust is more expensive and difficult to maintain, not to mention "non-native" to the average customer here. … it can burn out all the other projects in the ecosystem simultaneously, creating a risk of monoculture


  • Hynek on Rust:


  • I don’t think y’all quite grok what uv makes so special due to your seniority. The speed is really cool, but the reason Rust is elemental is that it’s one compiled blob that can be used to bootstrap and maintain a Python development.


  • Christopher Neugebauer:


  • Just dropping in here to say that corporate capture of the Python ecosystem is the #1 keeps-me-up-at-night subject in my community work, so I watch Astral with interest, even if I'm not yet too worried.


  • Armin Ronacher


  • What uv is doing, even in the worst possible future this is a very forkable and maintainable thing.


  • Finally, see the comment at the end by Charlie Marsh




Brian #2: erdantic: Entity Relationship Diagrams




  • “erdantic is a simple tool for drawing entity relationship diagrams (ERDs) for Python data model classes. Diagrams are rendered using the venerable Graphviz library.”

  • Supported data modeling frameworks are:

    • Pydantic V2

    • Pydantic V1 legacy

    • attrs

    • dataclasses




Michael #3: Extra, Extra, Extra





Brian #4: Django Extra, Extra, Extra




  • Django Project Ideas

    • Evgenia Verbina

    • Project ideas with list of tech stack stuff you’ll learn and/or work on with the project

    • Ex: Recipe organizer

      • tech stack: Django templates, Django ORM, Optional JavaScript

      • “Familiarize yourself with Django’s ORM (object-relational mapper) and database support by building an app to keep track of your favorite recipes. Add a web-based frontend with options to filter recipes by category, ingredients, and user ratings so you can easily browse for inspiration.”



  • DjangoTV

    • Jeff Triplett

    • Django conference videos and tutorials.


  • Django Commons

    • Heard about from Lacey Henschel

    • “Django Commons is an organization dedicated to supporting the community's efforts to maintain packages. It seeks to improve the maintenance experience for all contributors; reducing the barrier to entry for new contributors and reducing overhead for existing maintainers.”


  • Django 5 has simplified templates for better form field rendering

  • But if you want a completely different take on forms, maybe try iommi forms

  • Djade: a Django template formatter

    • Adam Johnson

    • Like black or ruff, but for Django templates.




Extras



Brian:





Joke: A Machine Learning algorithm walks into a bar…

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

#403 A machine learning algorithm walks into a bar…

#403 A machine learning algorithm walks into a bar…

Michael Kennedy and Brian Okken