PyCon US 2022 来了

原文: PyCoder's Weekly - Issue #515

pycoder

  • 220310 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
  • 220310 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

It’s episode 100 of the Real Python Podcast 🎉 This week you’ll learn how to define Python functions that accept optional arguments or default values, and you’ll get tips for going beyond the beginner stage with Python.

(是也乎:

“Beginner”

突破小鲜肉...

)

“I decided to deepen my knowledge in this field and explore cache poisoning vulnerabilities in the open source domain. I focused my research on the most popular web frameworks, such as Flask, Bottle, and Tornado. Eventually, I found and fixed a vulnerability in Python.”

  • Data Elixir: 数据科学通讯
    • DATA ELIXIR
    • SPONSOR Data Elixir is an email newsletter that keeps you on top of the latest tools and trends in Data Science. Covers machine learning, data visualization, analytics, and strategy.

Data Elixir: Data Science Newsletter

(是也乎:

就象 RoR 逈 Django 迁移, Pythoneer 逈 Elixir 转向也是正义的

)

Although written for Data Science teams, a good article on why any team of coders should do code reviews. How to do them, what to look for, and how to improve your code.

(是也乎:

所以, code review 也内卷分化为不同领域的专门嗯嗯嗯了

)


探讨/吐糟

Discussions

“If there was to ever be Python 4 (not a minor version increment, but full fledged new Python), what would you like to see in it?”

(是也乎:

其实只有一个: 嫑变C++

)


文章/教程/嗯哼

Articles, Tutorials and Talks

“When it comes to performance optimization, people usually focus only on speed and CPU usage. Rarely is anyone concerned with memory consumption, well, until they run out of RAM. There are many reasons to try to limit memory usage, not just avoiding having your application crash because of out-of-memory errors.”

(是也乎:

其实吧, 追加内存是最优解

)

Discover how to use two common Python serialization libraries: pickle and HDF5. This article talks about what can be serialized, how to do it, where you can use it, and how to choose between the two methods discussed.

(是也乎:

HDF5 的硬广, 虽然支持 TensorFlow , 但是, 怎么比得上 内建 模块?

)

StaticFrame is an alternative to Pandas that has immutable DataFrames. Learn all about its core containers: Bus, Batch, Quilt, and Yarn, all of which provide abstractions for multi-table datasets.

Use Django to build a to-do list manager app. This step-by-step tutorial will teach you how to use Django’s class-based views to build a powerful app while dramatically reducing your development time.

(是也乎:

Manage2do

其实一个 DaaS 平台挂个 CLI 界面就足够了..

)

pytest has two different ways of marking a test so that it isn’t run. This article shows the difference between pytest.mark.skip and pytest.mark.xfail and why to use xfail.

(是也乎:

pytest ~ 真.事实标准

)

Python optimizes smaller strings. If you assign multiple variables with the same string value, all the variables will refer to the same string underneath. Learn how it works.

How to install and switch between multiple versions of Python, manage dependencies & virtual environments, and how to reproduce and environment on another machine.

(是也乎:

Environment

老问题了, 一直没能完备解决.

)

Word or text clouds are a common way for analysts to display textural, qualitative, or semantical data analysis. Learn how to build one in Python.

(是也乎:

Word

叕一个词云生成教程...当然, 想支持中文还有一段嗯哼

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

嗯哼? Wordpress 的 Django 版本? 不过, 这的确是叕一个使用 Django 的理由.

)

(是也乎:

msgspec

logo 走肾了

)

(是也乎:

其实每个人在折腾过程中都有积累类似笔记, 但是, 能整理为可发布形态, 又是另外一个能力了;

)

(是也乎:

嗯哼? ScraPy 已经快要被功夫认证了... 不过, 这么多年了, 除了美汤, 竟然没有出现其它解析模块也是神奇.

)


📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心


DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)


PS:

PPS:

不觉中蟒周刊快译已经到了第10个年头

去年开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...

问为什么:

[皱眉]每周新闻资讯 怎么能错过 
看看有什么新东西 
当有新的发现时:
    what f**k 还能这样玩? 还有这东西?
    每周开彩蛋[吃瓜]

无法同意更多... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.


好文笔,感叹号年度配额: 1/3

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->