Artwork

Nội dung được cung cấp bởi Michael Kennedy and Brian Okken. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Michael Kennedy and Brian Okken hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.
Player FM - Ứng dụng Podcast
Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !

#379 Constable on the debugging case

20:13
 
Chia sẻ
 

Manage episode 412875050 series 1305988
Nội dung được cung cấp bởi Michael Kennedy and Brian Okken. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Michael Kennedy and Brian Okken hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.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 Tuesdays at 11am 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: How to Set Up Pre-Commit Hooks A step-by-step guide to installing and configuring pre-commit hooks on your project.

  • by Stefanie Molin
  • Pre-commit hooks are code checks that run as part of the “pre-commit” stage of the git commit process.
  • If any of these checks fail, git aborts the commit
  • Sometimes, we need to bypass the hooks temporarily. For these instances, we can pass the --no-verify option when we run git commit

Brian #2: difftastic

  • Found this a couple years ago, but really using it a lot now.
  • Excellent structurally diff tool that compares code based on syntax, not line by line.

Michael #3: Quarto

  • via Mathias Johansson
  • An open-source scientific and technical publishing system
  • Transforming a notebook into a pdf / HTML / MS Word / ePub with minimal effort, or even all formats at once.
  • Author using Jupyter notebooks or with plain text markdown in your favorite editor.
  • Write using Pandoc markdown, including equations, citations, crossrefs, figure panels, callouts, advanced layout, and more.

Brian #4: constable

  • “inserts print statements directly into the AST at runtime “
  • “If you find yourself aimlessly adding print statements while debugging your code, this is for you. !”
  • Add decorators like @constable.trace('a', 'b') to functions and you’ll get nice output showing when and how a and b changed.
  • see also icecream for another fun debugging with print project.

Extras

Brian:

Michael:

Joke: Hugo SciFi Award

  continue reading

387 tập

Artwork

#379 Constable on the debugging case

Python Bytes

1,807 subscribers

published

iconChia sẻ
 
Manage episode 412875050 series 1305988
Nội dung được cung cấp bởi Michael Kennedy and Brian Okken. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Michael Kennedy and Brian Okken hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.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 Tuesdays at 11am 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: How to Set Up Pre-Commit Hooks A step-by-step guide to installing and configuring pre-commit hooks on your project.

  • by Stefanie Molin
  • Pre-commit hooks are code checks that run as part of the “pre-commit” stage of the git commit process.
  • If any of these checks fail, git aborts the commit
  • Sometimes, we need to bypass the hooks temporarily. For these instances, we can pass the --no-verify option when we run git commit

Brian #2: difftastic

  • Found this a couple years ago, but really using it a lot now.
  • Excellent structurally diff tool that compares code based on syntax, not line by line.

Michael #3: Quarto

  • via Mathias Johansson
  • An open-source scientific and technical publishing system
  • Transforming a notebook into a pdf / HTML / MS Word / ePub with minimal effort, or even all formats at once.
  • Author using Jupyter notebooks or with plain text markdown in your favorite editor.
  • Write using Pandoc markdown, including equations, citations, crossrefs, figure panels, callouts, advanced layout, and more.

Brian #4: constable

  • “inserts print statements directly into the AST at runtime “
  • “If you find yourself aimlessly adding print statements while debugging your code, this is for you. !”
  • Add decorators like @constable.trace('a', 'b') to functions and you’ll get nice output showing when and how a and b changed.
  • see also icecream for another fun debugging with print project.

Extras

Brian:

Michael:

Joke: Hugo SciFi Award

  continue reading

387 tập

Tất cả các tập

×
 
Loading …

Chào mừng bạn đến với Player FM!

Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.

 

Hướng dẫn sử dụng nhanh