Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.
#323 AI search wars have begun
About the show
Sponsored by Microsoft for Startups Founders Hub.
Connect with the hosts
- Michael: @mkennedy@fosstodon.org
- Brian: @brianokken@fosstodon.org - may be a minute or two late.
- Show: @pythonbytes@fosstodon.org
- Special guest: Pamela Fox - @pamelafox@fosstodon.org
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.
Michael #1: camply
- A tool to find campsites at sold out campgrounds through sites like recreation.gov and Yellowstone
- Finding reservations at sold out campgrounds can be tough.
- Searches the APIs of booking services like recreation.gov (which indexes thousands of campgrounds across the USA) to continuously check for cancellations and availabilities to pop up.
- Once a campsite becomes available, camply sends you a notification to book your spot!
Want to camp in a tower in California?
camply campgrounds --search "Fire Lookout Towers" --state CA
Brian #2: hatch-fancy-pypi-readme
- Your ✨Fancy✨ Project Deserves a ✨Fancy✨ PyPI Readme! 🧐
- Hynek Schlawack
- Include lots of extras in a README.md
- text fragments
- files, like AUTHORS.md or Changelog.md, with custom start, stop, pattern includes, etc.
- regular expression substitutions
- Several projects with examples, including black.
Pamela #3: Pyodide dev branch now supports 3.11
- Python 3.11 PR
- Benchmark Py3.11 and Py3.10
- pyodide console
- TODO list for 0.23.0 alpha release
- Dis-this: specializing adaptive interpreter
- Recursion visualizer
Michael #4: EU hates open source?
- via Pamphile Roy
- The Cyber Resilience Act (CRA) is an interesting and important proposal for a European law that aims to drive the safety and integrity of software
- The proposal includes a requirement for self-certification by suppliers of software to attest conformity with the requirements of the CRA including security, privacy and the absence of Critical Vulnerability Events (CVEs).
- We recognize that the European Commission has framed an exception in recital 10 attempting to ensure these provisions do not accidentally impact Open Source software.
- However, drawing on more than two decades of experience, we at the Open Source Initiative can clearly see that the current text will cause extensive problems for Open Source software.
- Since the goal is to avoid harming Open Source software this goal should be stated at the start of the paragraph as the rationale, replacing the introductory wording about avoiding harm to "research and innovation" to avoid over-narrowing the exception.
- The reference to "non-commercial" as a qualifier should be substituted. The term “commercial” has always led to legal uncertainty for software and is a term which should not be applied in the context of open source
- OSI recommends further work on the Open Source exception to the requirements within the body of the Act to exclude all activities prior to commercial deployment of the software and to clearly ensure that responsibility for CE marks does not rest with any actor who is not a direct commercial beneficiary of deployment.
Brian #5: So, Single (‘) or Double (“) Quotes in Python?
- Marcin Kozak
- PEP8 doesn’t recommend anything.
- REPL uses single quotes. >>> x = "one" >>> x 'one'
- Black sides with “double quotes”, due to the apostrophe in the string problem.
- 'Don\'t be so sad.' vs “Don’t be sad.”
- You get to pick, and don’t be bullied by black-fanatics.
- There’s always blue, which is just like black, but
- defaults to single-quotes
- line length defaults to 79, not black’s 88.
- preserves whitespace before hash marks for right hanging comments (so multiple lines can line up).
Pamela #6: Frozen-Flask
Extras
Brian:
- What does everyone think of GitHub pricing?
Michael:
- Much much better transcripts, for example, this episode.
- Means our search works way better too
- The AI search wars have begun - Google Panics Over ChatGPT [The AI Wars Have Begun] video
- Free PyCharm for all the Talk Python customers
- Thanks for the help with finding a good Flutter dev.
- Important Talk Python episode: Fusion Ignition Breakthrough and Python
Pamela:
Jokes: