We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode #403 A machine learning algorithm walks into a bar…

#403 A machine learning algorithm walks into a bar…

2024/9/30
logo of podcast Python Bytes

Python Bytes

AI Deep Dive AI Chapters Transcript
People
B
Brian
Python 开发者和播客主持人,专注于测试和软件开发教育。
M
Michael
帮助医生和高收入专业人士管理财务的金融教育者和播客主持人。
Topics
Michael认为UV是一个强大且具有变革性的工具,正在改进Python的包管理,但它也引发了一些争议。一些人对UV的商业模式表示担忧,担心其VC背景对其长期发展的影响。开源项目失败是常有的事,UV的Rust编写也引发了关于可维护性的担忧。UV之所以特殊,是因为它是一个单一的编译后的二进制文件,可以用于引导和维护Python开发。有人担心企业会控制Python生态系统,因此对Astral(UV的开发公司)的动向保持关注。Astral公司不打算通过其工具盈利,而是计划开发与开源工具垂直整合的软件来销售给企业。即使Astral公司出现问题,UV也具有良好的可分叉性和可维护性。即使Astral公司被出售,UV也可能面临风险,因此可分叉性至关重要。 其他参与者表达了他们对UV的各种看法,既有积极的也有消极的。一些人对UV的效率和创新性表示赞赏,另一些人则对它的商业模式和潜在风险表示担忧。他们还讨论了Rust语言在UV开发中的作用以及它对可维护性的影响。

Deep Dive

Chapters
This chapter dives into the ongoing discussion surrounding UV, a new Python packaging tool, on Mastodon. Concerns about Astral's business model and the use of Rust are debated, alongside the potential for corporate capture of the Python ecosystem. The discussion highlights both enthusiasm and apprehension towards UV's impact on Python packaging.
  • Concerns raised on Mastodon regarding UV's potential impact on Python packaging.
  • Debate about Astral's business model and its implications for the open-source community.
  • Discussion on the challenges and benefits of UV being written in Rust.
  • Concerns about corporate capture of the Python ecosystem.

Shownotes Transcript

Topics covered in this episode:

- **[uv under discussion on Mastodon](https://simonwillison.net/2024/Sep/8/uv-under-discussion-on-mastodon/?featured_on=pythonbytes))**

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)

  • They wrote about it on Why we wrote a new form library for Django)

  • 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…)