<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=rQgMQH4QWFc' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
<p>Sponsored by <a href="https://pythonbytes.fm/compiler"><strong>Complier Podcast from RedHat</strong></a></p>
<p><strong>Michael #0</strong>: New livestream time - <strong>11am PT on Tuesdays</strong>. Also, subscribe to <a href="https://pythonbytes.fm/youtube"><strong>the youtube channel</strong></a> and “hit the bell” to get notified of all the live streams.</p>
<p><strong>Brian #1:</strong> <strong>It’s PyCon US 2023 CFP time</strong></p>
<ul>
<li>Will be held in Salt Lake City, Salt Palace Convention Center</li>
<li>Talks are Friday - Sunday, April 19-23</li>
<li><a href="https://pycon.blogspot.com/2022/10/pycon-us-2023-launches.html">PyCon US 2023 launch announcement</a></li>
<li><a href="https://us.pycon.org/2023/">PyCon 2023</a> site features images taken from past PyCon artwork</li>
<li><a href="https://us.pycon.org/2023/speaking/guidelines/">Call for proposals</a> open until Dec 9, but please don’t wait that long.</li>
</ul>
<p><strong>Michael #2:</strong> <a href="https://anyio.readthedocs.io/en/stable/index.html"><strong>Any.io</strong></a></p>
<ul>
<li>AnyIO is an asynchronous networking and concurrency library that works on top of either <a href="https://docs.python.org/3/library/asyncio.html">asyncio</a> or <a href="https://github.com/python-trio/trio">trio</a>. It implements trio-like <a href="https://en.wikipedia.org/wiki/Structured_concurrency">structured concurrency</a> (SC) on top of asyncio.</li>
<li>Cool <a href="https://anyio.readthedocs.io/en/stable/threads.html#working-with-threads"><strong>interpretability</strong></a> between native threads and asyncio</li>
<li><a href="https://anyio.readthedocs.io/en/stable/subprocesses.html"><strong>Using subprocesses</strong></a>: AnyIO allows you to run arbitrary executables in subprocesses, either as a one-shot call or by opening a process handle for you that gives you more control over the subprocess.</li>
<li><a href="https://anyio.readthedocs.io/en/stable/fileio.html#asynchronous-file-i-o-support"><strong>Async file I/O</strong></a>: AnyIO provides asynchronous wrappers for blocking file operations. These wrappers run blocking operations in worker threads.</li>
<li><a href="https://anyio.readthedocs.io/en/stable/synchronization.html"><strong>Cool synchronization primitives</strong></a> too.</li>
<li>Catch the Talk Python episode with Alex: <a href="https://talkpython.fm/episodes/show/385/higher-level-python-asyncio-with-anyio"><strong>talkpython.fm/385</strong></a></li>
</ul>
<p><strong>Brian #3:</strong> <a href="https://lerner.co.il/2022/10/19/how-to-propose-a-winning-conference-talk/"><strong>How to propose a winning conference talk</strong></a></p>
<ul>
<li>Reuven Lerner</li>
<li>Some nice tips and advice</li>
<li>Build a list of topics
<ul>
<li>If you train, teach, mentor, lead, or coach already:
<ul>
<li>what questions to people always ask you?</li>
<li>what knowledge would help people to have?</li>
<li>where do people seem to just “not get it”?</li>
</ul></li>
<li>If you don’t train or teach, then maybe hit up Stack Overflow…</li>
<li>From Brian: I think you can imagine yourself a year or two ago and think about stuff you know now you wish you knew then and could learn faster.</li>
</ul></li>
<li>Build an outline with times
<ul>
<li>This part often seems scary, but Reuven’s example is 10 bullets with (x min) notes. </li>
</ul></li>
<li>Write up a summary. One short, one longer.
<ul>
<li>Indicate who will benefit, what they will come out knowing, and how it will help them.</li>
</ul></li>
<li>Propose to multiple conferences. Why not?</li>
<li>Practice</li>
<li>(from Brian: Even if you get rejected, you’ve gained. Turn it into a youTube video or blog post or both.)</li>
-
</ul>
<p><strong>Michael #4:</strong> <a href="https://sanic.dev/en/"><strong>Sanic release adds background workers</strong></a></p>
<ul>
<li>via Felix</li>
<li>In v22.9 (go cal-ver!), the main new feature is the <a href="https://sanic.dev/en/guide/release-notes/v22.9.html#important-new-worker-manager">worker process management</a> - the main Sanic process handles a pool of workers. </li>
<li>They are normally used for handling requests but you can also use them to handle background jobs and similar things. You could probably use it for a lot of the reasons people turn to something like Celery.</li>
<li>The lead developer (Adam Hopkins) <a href="https://amhopkins.com/posts/background-job-worker.html"><strong>has written a blog post</strong></a> about this feature.</li>
<li>MK: Sanic has been flying a bit under my radar. Maybe time to dive into it a bit more.</li>
</ul>
<p><strong>Extras</strong> </p>
<p>Brian: </p>
<ul>
<li><a href="https://mljar.com/blog/jupyter-notebook-presentation/"><strong>Create Presentation from Jupyter Note</strong></a><a href="https://mljar.com/blog/jupyter-notebook-presentation/"><strong>book</strong></a>
<ul>
<li>Cool walkthrough of how to use the built in slideshow features of Jupyter Notebooks.</li>
</ul></li>
<li><a href="https://docs.pytest.org/en/7.2.x/changelog.html">pytest 7.2.0 is out</a>
<ul>
<li>No longer depends on the <code>py</code> library. So if you do, you need to add it to your dependencies. </li>
<li><code>nose</code> officially deprecated, which includes <code>setup()</code> and <code>teardown()</code>. Really glad I dropped the “x unit” section on the <a href="https://pythontest.com/pytest-book/">2nd edition of the pytest book</a>. </li>
<li><code>testpaths</code> now supports shell-style wildcards</li>
<li>Lots of other improvements. check out the change log</li>
</ul></li>
</ul>
<p>Michael:</p>
<ul>
<li><a href="https://jeff.glass/project/richdemo/"><strong>Rich on pyscript</strong></a> (via Matt Kramer)</li>
<li><a href="https://youtu.be/8NQGZA1wWiQ"><strong>Python 3.11 in 100 seconds video</strong></a> from Michael</li>
</ul>
<p><strong>Joke:</strong> <a href="https://twitter.com/PR0GRAMMERHUM0R/status/1585285144407162880"><strong>Deep questions</strong></a> & <a href="https://twitter.com/i/topics/848921413196984320?pt=1586795095147565056"><strong>Relationship advice from geeks</strong></a></p>
↧