为什么工程师需要无聊

原文: PyCoder's Weekly - Issue #578

pycoder

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

Large language models have gained popularity since OpenAI released ChatGPT. In this tutorial, you’ll learn how to use ChatGPT as your Python coding mentor. You’ll study a variety of use cases, learn how to interpret results, and learn to beware of incorrect and irrelevant responses.

(是也乎:

不过, 随着使用费用的上升, 大家到最后发现, 还是找个退休程序猿来用更加划算?

ChatGPT

)

This interview with Samuel Colvin from Pydantic and Sebastián Ramírez from FastAPI took place at PyCon 2023 and covers the changes to Pydantic as part of its 2.0 release along with the impacts that has on libraries built on top of it.

(是也乎:

Pydantic 作为一个通用数据类型校验器,真的很给力, 而 FastAPI 直接内置了这一模块, 可以说决心很大了...

)

This article teaches you how to use properties to add dynamic behavior to your attributes. It covers the most common use cases for properties, how to use them, and shows examples of real-world usages of this feature.

Due to a large volume of traffic from malicious users, PyPI temporarily suspended new account and project registrations on May 20th. The suspension was lifted 30 hours later on May 21st.


探讨/吐糟

Discussions

(是也乎:

在中国普通网络中可以访问的?

)


文章/教程/嗯哼

Articles, Tutorials and Talks

Do you feel you’re fighting your tools? Do you feel you’re relying too much on autocomplete and inline documentation? tl;dr: Most good documentation won’t show up in your IDE – rather, it is about how to use the library, and the problem the library is solving.

(是也乎:

开始用 GPT 们作为辅助时, 才发现, 人家并不知道你真正的目的, 只是根据提供的文本猜最大可能应该配套什么字符, 所以, 解决方案代码, 很多和你的目标并无关系, 只有官方文档才是我们最可依赖的关键信息源.

)

This is a Python/Pandas vs Julia cheatsheet and comparison. You can find what is the equivalent of Pandas in Julia or vice versa. With an associated Hacker News Discussion.

Metaclasses are an important but mysterious behind-the-scenes mechanism for instantiating classes in Python. In this video course, you’ll learn how Python’s metaclasses work in object-oriented programming.

(是也乎:

像很多语言的很多内建后门式特性一样, 能不用就不用...

Metaclasses

元类感觉原本就为了方便改进 Python 自身而留的后门之一, 一般有专门的适用领域, 并不是普通项目中也必须的...

)

This is the second part of an article describing the conversations at PyCon around CPython optimizations and performance improvements being worked on as part of the Faster CPython project.

(是也乎:

这肯定不是一件简单的事儿, 但是, Python 社区能忍到现在才开始是真的佛还是智慧?

)

This post is a good guide to the latest in Python packaging, including the minimal configuration you need to adopt the most recent packaging standards.

How and why to implement and API caching strategy when using the Django Rest Framework. A few lines of code can make a big difference in performance.

Missing data are a frequent source of headache and bugs. This post discusses three guidelines that make it less error-prone.

An analysis on boredom in engineering productivity and how it can lead to deeper innovation.

(是也乎:

无法同意更多哪, 不过,提前是你开始折腾的后果是可承担的, 否则,...

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

纯 Python 实现...这就很给力了, 随着 Py 自身的执行效率在提高, 这类工具可用场景也能越来越多了...

)


📆🐍 活动/大会

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


历史上的这周


DAMA

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

      _~^-^~_
  \/ /  ♡ ◷  \ \/
    '_   ⏝   _'
    ( '-----' <

...act by ferris-actor v0.2.4 (built on 23.0303.201916)

PS:

Happy Pythoning!

Copyright © 2023 PyCoder’s Weekly, All rights reserved.

PPS:

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

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

问为什么:

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

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

所以++> 锈周刊 -> Weekly :: China


好文笔,感叹号年度配额: 2/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
-->