Artwork

Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Player FM -팟 캐스트 앱
Player FM 앱으로 오프라인으로 전환하세요!

#415 Just put the fries in the bag bro

32:59
 
공유
 

Manage episode 457193188 series 1305988
Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
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: dbos-transact-py

  • DBOS Transact is a Python library providing ultra-lightweight durable execution.
  • Durable execution means your program is resilient to any failure.
  • If it is ever interrupted or crashes, all your workflows will automatically resume from the last completed step.
  • Under the hood, DBOS Transact works by storing your program's execution state (which workflows are currently executing and which steps they've completed) in a Postgres database.
  • Incredibly fast, for example 25x faster than AWS Step Functions.

Brian #2: Typed Python in 2024: Well adopted, yet usability challenges persist

  • Aaron Pollack on Engineering at Meta blog
  • “Overall findings
    • 88% of respondents “Always” or “Often” use Types in their Python code.
    • IDE tooling, documentation, and catching bugs are drivers for the high adoption of types in survey responses,
    • The usability of types and ability to express complex patterns still are challenges that leave some code unchecked.
    • Latency in tooling and lack of types in popular libraries are limiting the effectiveness of type checkers.
    • Inconsistency in type check implementations and poor discoverability of the documentation create friction in onboarding types into a project and seeking help when using the tools. “
  • Notes
    • Seems to be a different survey than the 2023 (current) dev survey. Diff time frame and results. July 29 - Oct 8, 2024

Michael #3: RightTyper

  • A fast and efficient type assistant for Python, including tensor shape inference

Brian #4: Lazy self-installing Python scripts with uv

  • Trey Hunner
  • Creating your own ~/bin full of single-file command line scripts is common for *nix folks, still powerful but underutilized on Mac, and trickier but still useful on Windows.
  • Python has been difficult in the past to use for standalone scripts if you need dependencies, but that’s no longer the case with uv.
  • Trey walks through user scripts (*nix and Mac)
    • Using #! for scripts that don’thave dependencies
    • Using #! with uv run --script and /// script for dependencies
    • Discussion about how uv handles that.

Extras

Brian:

  • Courses at pythontest.com
    • If you live in a place (or are in a place in your life) where these prices are too much, let me know. I had a recent request and I really appreciate it.

Michael:

  • Python 3.14 update released
  • Top episodes of 2024 at Talk Python
  • Universal check for updates macOS:
    • Settings > Keyboard > Keyboard shortcuts > App shortcuts > +
    • Then add shortcut for single app, ^U and the menu title.

Joke: Python with rizz

  continue reading

425 에피소드

Artwork

#415 Just put the fries in the bag bro

Python Bytes

1,828 subscribers

published

icon공유
 
Manage episode 457193188 series 1305988
Michael Kennedy and Brian Okken에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Michael Kennedy and Brian Okken 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
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: dbos-transact-py

  • DBOS Transact is a Python library providing ultra-lightweight durable execution.
  • Durable execution means your program is resilient to any failure.
  • If it is ever interrupted or crashes, all your workflows will automatically resume from the last completed step.
  • Under the hood, DBOS Transact works by storing your program's execution state (which workflows are currently executing and which steps they've completed) in a Postgres database.
  • Incredibly fast, for example 25x faster than AWS Step Functions.

Brian #2: Typed Python in 2024: Well adopted, yet usability challenges persist

  • Aaron Pollack on Engineering at Meta blog
  • “Overall findings
    • 88% of respondents “Always” or “Often” use Types in their Python code.
    • IDE tooling, documentation, and catching bugs are drivers for the high adoption of types in survey responses,
    • The usability of types and ability to express complex patterns still are challenges that leave some code unchecked.
    • Latency in tooling and lack of types in popular libraries are limiting the effectiveness of type checkers.
    • Inconsistency in type check implementations and poor discoverability of the documentation create friction in onboarding types into a project and seeking help when using the tools. “
  • Notes
    • Seems to be a different survey than the 2023 (current) dev survey. Diff time frame and results. July 29 - Oct 8, 2024

Michael #3: RightTyper

  • A fast and efficient type assistant for Python, including tensor shape inference

Brian #4: Lazy self-installing Python scripts with uv

  • Trey Hunner
  • Creating your own ~/bin full of single-file command line scripts is common for *nix folks, still powerful but underutilized on Mac, and trickier but still useful on Windows.
  • Python has been difficult in the past to use for standalone scripts if you need dependencies, but that’s no longer the case with uv.
  • Trey walks through user scripts (*nix and Mac)
    • Using #! for scripts that don’thave dependencies
    • Using #! with uv run --script and /// script for dependencies
    • Discussion about how uv handles that.

Extras

Brian:

  • Courses at pythontest.com
    • If you live in a place (or are in a place in your life) where these prices are too much, let me know. I had a recent request and I really appreciate it.

Michael:

  • Python 3.14 update released
  • Top episodes of 2024 at Talk Python
  • Universal check for updates macOS:
    • Settings > Keyboard > Keyboard shortcuts > App shortcuts > +
    • Then add shortcut for single app, ^U and the menu title.

Joke: Python with rizz

  continue reading

425 에피소드

모든 에피소드

×
 
Loading …

플레이어 FM에 오신것을 환영합니다!

플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.

 

빠른 참조 가이드

탐색하는 동안 이 프로그램을 들어보세요.
재생