POPULARITY
Topics covered in this episode: How to Write a Git Commit Message Caddy Web Server Some new PEPs approved juv Extras Joke Watch on YouTube About the show Sponsored by Posit Connect: pythonbytes.fm/connect Connect with the hosts Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky) Brian: @brianokken@fosstodon.org / @brianokken.bsky.social Show: @pythonbytes@fosstodon.org / @pythonbytes.fm (bsky) 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. Brian #1: How to Write a Git Commit Message Chris Beams 7 rules of a great commit message Separate subject from body with a blank line Limit the subject line to 50 characters Capitalize the subject line Do not end the subject line with a period Use the imperative mood in the subject line Wrap the body at 72 characters Use the body to explain what and why vs. how Article also includes Why a good commit message matters Discussion about each of the 7 rules Cool hat tips to other articles on the subject “Keep in mind: This has all been said before.” Each word is a different link. Michael #2: Caddy Web Server via Fredrik Mellström Like a more modern NGINX Caddy automatically obtains and renews TLS certificates for all your sites. Caddy's native configuration is a JSON document. Even localhost and internal IPs are served with TLS using the intermediate of a fully-automated, self-managed CA that is automatically installed into most local trust stores. Configure multiple Caddy instances with the same storage, and they will automatically coordinate certificate management as a fleet. Production-grade static file server. Brian #3: Some new PEPs approved PEP 770 – Improving measurability of Python packages with Software Bill-of-Materials Accepted for packaging Author: Seth Larson, Sponsor Brett Cannon “This PEP proposes using SBOM documents included in Python packages as a means to improve automated software measurability for Python packages.” PEP 750 – Template Strings Accepted for Python 3.14 Author: Jim Baker, Guido van Rossum, Paul Everitt, Kaudai Aono, Lysandros Nikolaou, Dave Peck “Templates provide developers with access to the string and its interpolated values before they are combined. This brings native flexible string processing to the Python language and enables safety checks, web templating, domain-specific languages, and more.” Michael #4: juv A toolkit for reproducible Jupyter notebooks, powered by uv. Create, manage, and run Jupyter notebooks with their dependencies Pin dependencies with PEP 723 - inline script metadata Launch ephemeral sessions for multiple front ends (e.g., JupyterLab, Notebook, NbClassic) Powered by uv for fast dependency management Use uvx to run jupyterlab with ephemeral virtual environments and tracked dependencies. Extras Brian: Status of Python versions new-ish format Use this all the time. Can't remember if we've covered the new format yet. See also Python endoflife.date Same dates, very visible encouragement to move on to Python 3.13 if you haven't already. Michael: Python 3.13.3 is out. .git-blame-ignore-revs follow up Joke: BGPT (thanks Doug Farrell)
Doug Farrell, Southern New Hampshire singer/songwriter has been playing and honing his craft throughout Central NH since escaping New Jersey for the sanity of NH in the late '90s!
Doug Farrell has been programming for a long time in several languages and he has worked in process control, embedded systems, retail CD Rom software and both Internet and Intranet web applications. Currently Doug is fortunate enough to code in Python, with a large slice of JavaScript just for fun. He also teaches Python to kids at a STEM place near where he lives, and writes course materials for the same. He's also writing a book for Manning Publishing called “The Well-Grounded Python Developer”. ————————————————————————————— Connect with me here: ✉️ My weekly email newsletter: jousef.substack.com
Doug Farrell is a Songwriter from Southern New Hampshire who's been described as John Prine meets John Gorka. he's been featured on NHPR's Folk Show ,winner of several New England Songwiting contests. He has a CD out called Spirit Man, and also 2 CDs with Decatur Creek .http://www.dougfarrellmusic.com
In this episode I talk with Doug Farrell about using Python to help automate sysadmin tasks. Doug Farrell is a senior software developer with over 20 years of experience focusing on Python and JavaScript. Thanks to Manning Publications for sponsoring this episode! Visit www.manning.com and use the discount code podsys19 for 40% off any product. … Continue reading "SAS 044 – Python for SysAdmins with Doug Farrell"
Are you interested in building REST APIs with Flask and SQLAlchemy? This week we have Doug Farrell on the show. We talk about his four-part Real Python article series on Python REST APIs.
Talk Python To Me - Python conversations for passionate developers
How do you go from poking around at Python code to actually solving real problems, the right way? There are many paths. The longest one probably is to get a 4-year CS degree. Maybe faster, but pricy as well, is a solid in-person developer bootcamp. Have you considered reaching out to the community to find a mentor? Many Python meetups have project nights where folks who could help will be attending. If you're up for giving back, maybe you could become a mentor too. That's what this episode is about. We'll hear from two former guests of Talk Python, Rusti Gregory and Doug Farrell. They teamed up and are back to share their mentorship story! Links from the show Guests Rusti Gregory: talkpython.fm Doug Farrell: @writeson Doug's Real Python articles: realpython.com Code Mentor Program: codementor.io D-Tale Project: github.com Let Me Google That For You Example: lmgtfy.com JustPy Web Project: justpy.io Doug's Well-Grounded Python Dev Book: manning.com Sponsors Brilliant Linode Talk Python Training
Sponsored by us! Support us by visiting pythonbytes.fm/biz [courses] and pythonbytes.fm/pytest [book], or becoming a patron at patreon.com/pythonbytes Brian #1: Meditations on the Zen of Python Moshe Zadka The Zen of Python is not "the rules of Python" or "guidelines of Python". It is full of contradiction and allusion. It is not intended to be followed: it is intended to be meditated upon. Moshe give some of his thoughts on the different lines of the Zen of Python. Full Zen of Python can be found here or in a REPL with import this A few Beautiful is better than ugly Consistency helps. So black, flake8, pylint are useful. “But even more important, only humans can judge what humans find beautiful. Code reviews and a collaborative approach to writing code are the only realistic way to build beautiful code. Listening to other people is an important skill in software development.” Complex is better than complicated. “When solving a hard problem, it is often the case that no simple solution will do. In that case, the most Pythonic strategy is to go "bottom-up." Build simple tools and combine them to solve the problem.” Readability counts “In the face of immense pressure to throw readability to the side and just "solve the problem," the Zen of Python reminds us: readability counts. Writing the code so it can be read is a form of compassion for yourself and others.” Michael #2: nginx raided by Russian police Russian police have raided today the Moscow offices of NGINX, Inc., a subsidiary of F5 Networks and the company behind the internet's most popular web server technology. Russian search engine Rambler.ru claims full ownership of NGINX code. Rambler claims that Igor Sysoev developed NGINX while he was working as a system administrator for the company, hence they are the rightful owner of the project. Sysoev never denied creating NGINX while working at Rambler. In a 2012 interview, Sysoev claimed he developed NGINX in his free time and that Rambler wasn't even aware of it for years. Update Promptly following the event we took measures to ensure the security of our master software builds for NGINX, NGINX Plus, NGINX WAF and NGINX Unit—all of which are stored on servers outside of Russia. No other products are developed within Russia. F5 remains committed to innovating with NGINX, NGINX Plus, NGINX WAF and NGINX Unit, and we will continue to provide the best-in-class support you’ve come to expect. Brian #3: I'm not feeling the async pressure Armin Ronacher “Async is all the rage.” But before you go there, make sure you understand flow control and back pressure. “…back pressure is resistance that opposes the flow of data through a system. Back pressure sounds quite negative … but it's here to save your day.” If parts of your system are async, you have to make sure the entire flow throw the system doesn’t have overflow points. An example shown with reader/writer that is way hairier than you’d think it should be. “New Footguns: async/await is great but it encourages writing stuff that will behave catastrophically when overloaded.” “So for you developers of async libraries here is a new year's resolution for you: give back pressure and flow control the importance they deserve in documentation and API.” Michael #4: codetiming from Real Python via Doug Farrell A flexible, customizable timer for your Python code For a complete tutorial on how codetiming works, see Python Timer Functions: Three Ways to Monitor Your Code on Real Python. Time your code via A timer class A decorator A context manager Brian #5: Making Python Programs Blazingly Fast Martin Heinz Seemed like a good followup to the last topic Profiling with command line time python something.py python -m cProfile -s time something.py timing functions with wrapper Misses timeit, but see that also, https://docs.python.org/3.8/library/timeit.html How to make things faster: use built in types over custom types caching/memoization with lru_cache use local variables and local aliases when looping use functions… (kinda duh, but sure). don’t repeatedly access attributes in loops use f-strings over other formatting use generators. or at least experiment with them. the memory savings could result in speedup Michael #6: LocalStack via Graham Williamson and Jan 'oglop' Gazda A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline! LocalStack spins up the following core Cloud APIs on your local machine: S3, DynamoDB, Lambda, Elasticsearch see many more services paid one has more LocalStack builds on existing best-of-breed mocking/testing tools, most notably kinesalite/dynalite and moto. While these tools are awesome (!), they lack functionality for certain use cases. LocalStack combines the tools, makes them interoperable, and adds important missing functionality on top of them Has lots of config and knobs, but runs in docker so that helps Extras: Python Job Board Michael: Guido interviewed for JavaScript language! Microsoft: We're creating a new Rust-based programming language for secure coding New webcast: Python for the .NET developer Ace Python Interviews free course Joke: Types of software jobs.
Episode 90: The Flannel Men (and women!) come back to Strange Familiars. Timothy and Alison present a hint that there could be something supernatural to buffalo plaid itself. We read stories of Flannel Man from listeners; another story connecting Flannel Man to black dogs; Flannel Man stepping out of dreams and into bedrooms; and suggestions that these plaid-clad entities are far more than just ghosts - sometimes even harbingers of death or perhaps even the Grim Reaper himself. We also talk to several Flannel Man witnesses: including Kristina who was given a precognitive dream of a shooting event after seeing Flannel Man; Luke, who saw a series of strange symbols followed by a Flannel Man; Doug who saw a Flannel-wearing woman in his haunted apartment; and Felix who had multiple Flannel Man sightings of her own. If you would like to help us continue to make Strange Familiars, get bonus content, t-shirts, stickers, and more rewards, you can become a patron: http://www.patreon.com/StrangeFamiliars If you would prefer a one-time payment to help us out, here is a PayPal.me link - you can change the number 25 in the URL to any amount: https://www.paypal.me/timothyrenner/25 Check out the Strange Familiars ebay store: https://www.ebay.com/str/strangefamiliars Strange Familiars t-shirts and other designs are available here: https://www.teepublic.com/user/darkhollerarts Including the new Witch's Eye design: Episode 90 notes and links: The cover art for this episode is by Johnny Decker Miller (we will be talking with Johnny on an upcoming episode!). Johnny's website: http://johnnydeckermiller.comJohnny's bigcartel shop: https://johnnydeckermiller.bigcartel.comJohnny's is on instagram: @johnnydeckermiller The symbols Luke drew from his dream: Timothy's "mothman" signature emblem: Timothy's sigils: Doug Farrell's novel, Glamour Job, is available here: https://www.amazon.com/Glamour-Job-Fairy-Tale-Doug-Farrell/dp/141967496X/ Doug's rendering of the flannel-wearing woman he saw: Timothy’s books: https://www.amazon.com/Timothy-Renner/e/B072X44SD5 Our Lost Grave etsy shop has art, books, patches, and more ... including original art done for Strange Familiars: https://www.etsy.com/shop/lostgrave Alison: https://www.etsy.com/shop/odpeacock Contact us via email at: strangefamiliarspodcast@gmail.com http://www.facebook.com/strangefamiliars Join the Strange Familiars Gathering group on facebook: https://www.facebook.com/groups/strangefamiliars/ instagram: @strangefamiliars http://www.strangefamiliars.com Intro and background music by Stone Breath. You can find more at http://stonebreath.bandcamp.com The closing song is A Ballad of Trees and the Master by The Forest Beggars (with Stone Breath) - this is is available on the CD and box set versions version of the Stone Breath album The Shepherdess and the Bone-White Bird: https://stonebreath.bandcamp.com/album/the-shepherdess-and-the-bone-white-bird Friends of Strange Familiars: Sarada: http://www.etsy.com/shop/ArtBySarada Michael Anderson: https://drekka.bandcamp.com OK Talk: https://oktalk.podbean.com Phantoms and Monsters: https://www.phantomsandmonsters.com/ Singular Fortean: https://www.singularfortean.com/ Where Did the Road Go?: http://wheredidtheroadgo.comSupport this podcast at — https://redcircle.com/strange-familiars/donationsWant to advertise on this podcast? Go to https://redcircle.com/brands and sign up.