500期了...从第一期开始没中断快译
原文: PyCoder's Weekly - Issue #500
- 211124 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
- 211124 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- Python 新闻: 10 月有哪些新变化?
- REAL PYTHON
The Python community gave a warm welcome to Python 3.10 in October 2021. In this article, you’ll catch up on some big events that happened this past month, including Python being named TIOBE’s most popular programming language.
(是也乎:
)
- 请忽略所有 Web 性能测试/包括这篇
- MIGUEL GRINBERG
- • Shared by Caleb Hattingh
”[…] measuring web application performance is incredibly complex […] In this article you can see the results of my effort in understanding and fixing this benchmark, re-running it, and finally arriving at a shocking revelation.”
(是也乎:
这才是一视同仁, 所有性能评测都不值得看, 包含作者自己这篇 ;-)
是的, 没有 Django
)
- 用 Python AI 构建神经网络进行预测
- REAL PYTHON
- COURSE
In this step-by-step course, you’ll build a neural network from scratch as an introduction to the world of artificial intelligence (AI) in Python. You’ll learn how to train your neural network and make accurate predictions based on a given dataset.
(是也乎:
一个 step by step 的开始很重要.
)
- 用协议在 Python 中引入静态鸭子类型
- DAAN DEBIE
Protocols in Python provide a nice way to use duck typing while still having some static type guarantees. You can define contracts for your functions without caring too much about the actual types of your inputs.
- Minimax Algorithm and Alpha-Beta Pruning
- RODRIGO GIRÃO SERRÃO
- • Shared by Rodrigo Girão Serrão
The minimax algorithm and alpha-beta pruning can be used to implement AIs to play games. This tutorial will teach you about the minimax algorithm and alpha-beta pruning, from a beginner’s perspective.
- PyPI 用户反馈: PyPI 团队功能
- PYPI TEAM
The PyPI team is seeking feedback from teams using PyPI. If you use PyPI as a team, consider responding to the (short) poll form at the link.
(是也乎:
只有一个原意:
恢复 pip search 并持续加速, 至少和中国高铁同步
)
-
Django 4.0 Release Candidate 1 发布
- DJANGO SOFTWARE FOUNDATION
-
CPython Dev In-Residence 周报, November 15–21
- ŁUKASZ LANGA
探讨/吐糟
Discussions
-
- TWITTER.COM/ADAMCHAINZ
-
可以用 "\N{NAME_OF_EMOJI}" 插入Emoji
文章/教程/嗯哼
Articles, Tutorials and Talks
- 用 Python 构建内容聚合器并发布 RSS
- REAL PYTHON
- PODCAST
Have you wanted to work with RSS feeds in Python? Maybe you’re looking for a new project to build for your portfolio that uses Django, unit tests, and custom commands. This week on the show, it’s Real Python author Ricky White talking about his recent step-by-step project titled, “Build a Content Aggregator in Python.”
(是也乎:
很明显在信息茧房成功后, 清醒的人又回到信息聚合场景中来, 只是, 这种情景能持续发展下去嘛?
)
- 聚合不同 Python 版本的覆盖范围
- JÜRGEN GMACH • Shared by Jürgen Gmach
Is it enough to run code coverage for a single Python version? Probably, but not necessarily. While this is or was a super important topic when you still needed to support Python 2, also now this is still valid as Python 3 moves forward quickly and requires to have different code paths for different versions.
- Python 社区采访 Eric Wastl
- REAL PYTHON
An interview with Eric Wastl, a Senior Architect at TCGPlayer and the founder of Advent of Code (AoC). Join us as we discuss the inception of AoC, how to avoid common pitfalls when solving code challenges in AoC, and what Eric gets up to in the “3.8 seconds” of free time he has per year.
(是也乎:
)
- 用 Python’s .append() 构建列表
- REAL PYTHON
- COURSE
In this step-by-step course, you’ll learn how Python’s .append() works and how to use it for adding items to your list in place. You’ll also learn how to code your own stacks and queues using .append() and .pop().
(是也乎:
)
- 井字游戏 in Python
- MISHA BEHERSKY
- • Shared by Misha Behersky
Introduction into game development with Python by writing a simple Tic Tac Toe game. Best development practices and designed patterns are included into this step-by-step tutorial.
- 在 Django 中使用 PostgreSQL 视图
- JOSH ALLETTO
- • Shared by Manuel Weiss
This article explains how views differ from materialized views and shows how using Postgres views makes querying aggregated data easier and (with materialized views) faster.
(是也乎:
绕过 Django-orm 可不容易哪
)
- 用 Python 复刻 Minecraft World Generation
- BILAL HIMITE
“I used to play Minecraft as a kid and I always wondered how does it generate never-ending worlds. In this article, I am going to try to replicate this in Python.”
(是也乎:
WoW 这个得支持
)
- Python 字符串格式比较
- RODRIGO GIRÃO SERRÃO
This article compares the three main string formatting methods in Python and suggests which methods to use in each situation.
(是也乎:
Python 就是任性, 光是一个字符串格式化就给出至少3种方案,
)
- 用 Mamba 加速您的 Conda 安装
- ITAMAR TURNER-TRAURING
“Conda installs are very slow, but you can speed them with a much-faster Conda reimplementation called Mamba.”
(是也乎:
不是, 安装快慢不主要是网络速度问题嘛?
)
- 我的 7521 行 Python 类型检查之旅
- PATRICK NSUKAMI
- • Shared by Patrick Nsukami
A small recap on how the author added type annotations to the Logilab’s RQL package.
(是也乎:
所以, 7.5k 就是大工程了.
Mypy 广告, 内置工具足以高效完成检验, 只是永远不可能达到 Rust 的变态程度, 话说, Rust 核心团队集体辞职了, 又是 M$ 挖角成功?
)
- 特殊的自我参考
- SUSAM PAL
Here is a tiny Python example that creates a self-referential list…
- 用 GPT-2 生成电影名称
- JOHN LUDHI
(是也乎:
不是, 等等? 电影取名儿也必须 AI 了?
)
- 我是如何不小心用 Python/Django 构建了一个 Podcast API 业务的
- WENBIN FANG • Shared by Wenbin Fang
(是也乎:
小方同学的意外之行...
)
- 超越基础/Python 中的数据可视化
- GITHUB.COM/STEFMOLIN
- • Shared by Stefanie Molin
(是也乎:
其实可视化, 一向的矛盾并不在技术, 而在领导们持续滑落的注意力/理解能力, 和设计师永远高涨的创意内卷间不可调合的矛盾.
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- prometeo: 实验性的 Python-to-C 转换器和 DSL
- GITHUB.COM/ZANELLIA
(是也乎:
嗯哼? 叕一个自动编程工具, 将 Py 转化为标准可执行 C 代码, 当然, 不用期望可以兼容框架, 最多在关键行为上加速原先 Python 模块
)
-
lark-parser: 友好的/生产就绪的/综合的解析工具包
- GITHUB.COM/LARK-PARSER
-
- SPACK.READTHEDOCS.IO
(是也乎:
叕一个包管理工具, 其实, 单独包管理并不解决工程问题, 得包含自动化部署的才行.
)
- friendly-traceback: 现在支持西班牙语
- ANDRÉ ROBERGE
(是也乎:
嗯哼? 中文早已支持?
)
- objprint: 以人类可读的格式打印 Python 对象
- GITHUB.COM/GAOGAOTIANTIAN
- • Shared by Tian Gao
(是也乎:
节省调试时输入.
)
- 拉取请求的评论网页截图 (GitHub Action)
- GITHUB.COM/SAADMK11
- • Shared by Maksudul Haque
(是也乎:
淦...免费的 爬虫引擎?
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- November 24 to November 25, 2021
-
- Meetup November 27, 2021
-
⋅ Introduction to the Python Programming Language (In Persian)
- November 30, 2021
- 波斯语
-
- November 30, 2021
-
- December 1 to December 5, 2021
-
- December 1 to December 6, 2021
-
- December 2 to December 4, 2021
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
(是也乎:
老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:
)
PS:
PPS:
不觉中蟒周刊快译已经到了第9个年头
去年开始有小伙伴加入承担 pythonisa
周刊的翻译,
从来没提醒过, 可就这么默默坚持下来了...
问为什么:
[皱眉]每周新闻资讯 怎么能错过
看看有什么新东西
当有新的发现时:
what f**k 还能这样玩? 还有这东西?
每周开彩蛋[吃瓜]
无法同意更多
...
很多社区贡献看起来辛苦,
其实受益最多的,
就是主动承担者也.
好文笔,感叹号年度配额: 2/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments