简单是一种优势,但遗憾的是复杂性更好卖...人艰不拆

原文: PyCoder's Weekly - Issue #555

pycoder

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

How do you start packaging your code with pyproject.toml? Would you like to join a conversation that gently walks you through setting up your Python projects to share? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder’s Weekly articles and projects.

(是也乎:

打包/分发, 是一个开发语言最关键的输出形式, 但是, Python 这么多年了,一直在变化, pyproject.toml 是否能替代 setup.cfg/setup.py 统一所有打包工具, 还得看 M$ 的决心了?

)

In complex systems there may be a fight between the parallelism in your code vs the parallelism in the libraries you’re using. This fight can cause things to slow down. This article shows some examples and what you can do about it.

This article walks you through everything you need to know to get a Mastodon bot set up in on the AWS Free tier through DynamoDB and AWS Lambdas.

(是也乎:

PyPy 也开始努力了,毕竟不能比 CPython 还要慢吧?

)

(是也乎:

感觉到集团军样的气势, 看起来 M$ 投入了正规编制来推动?

)


探讨/吐糟

Discussions

(是也乎:

哈哈哈...

)

(是也乎:

等等,这种还有风格的?

)


文章/教程/嗯哼

Articles, Tutorials and Talks

A common interview question Ben asks candidates is to write a program that counts the frequency of words in a file, as a follow-up question he asks where the bottleneck is in the code. The most common answer, I/O, is not necessarily true on modern hardware. Read on to see the comparisons between Python and GO and where the program actually spends its time.

(是也乎:

喜大普奔?

)

The settings module is key to getting your Django project up and running, storing the info your project needs to run. As with all code, there are both good and bad habits. This article details some of the patterns you should avoid.

(是也乎:

ADAM

和图书装潢类似, 一个视觉上设计良好的网站,更能留住读者...

)

This opinion piece from Eugene Yan discusses why complexity is often touted over simplicity: the effort is more obvious and therefore must be superior. This is a trap in thinking. Eugene makes the tougher argument for simplicity.

(是也乎:

怪不得 Oracle/SAP 们一直卖的不错, 但是 SQLite 却没什么商业模式

)

One of the most useful data structures in Python is the dictionary. In this video course, you’ll learn what a dictionary is, how dictionaries differ from lists and tuples, and how to define and use dictionaries in your own code.

(是也乎:

Dictionaries

)

QR codes don’t have to look ‘industrial’ and they’re trivially easy to create in Python. This article focuses on personal, social, and human applications for the trusty old QR code.

(是也乎:

其实还有很多类似图形数据码, 但是, QR 码就象 JavaScript 已经内置到无数软件中, 开始了市场自我强化, 也只能继续在这个方向上内卷了...

)

PyTorch has released a new Getting Started guide with all the info you need to begin your PyTorch 2.0 journey.

(是也乎:

现在其它 ML/DL/... AI 框架的问题在, 拿不出类似 ChatGPT 的作品来, 再怎么加强宣传和教程, 也难以匹敌 TF 象当年 Chrome 一样快速统治市场?

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

git 本质上就是 分布式文件系统, 当然应该可以任意修订历史上各种信息的, 以往没有很好的界面,全靠指令摸索, 现在 go 开发了 TUI

)

(是也乎:

kangas

对AI 处理过程数据的探索界面

)

(是也乎:

之前还感觉 JAVA 是术语发源地/模式创造工厂, 现在, 无论什么模型/模式, Python 都能立即给出可用方案来...

)


📆🐍 活动/大会

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

(是也乎:

PyLadies 已经变成常设活动了, 其实对于传统的大家相互吐糟, 帮助小姐姐们很明显更加和谐...

)


DAMA

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


PS:

PPS:

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

开始有小伙伴加入承担 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

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->