无可阻挡的 Python

原文: PyCoder's Weekly - Issue #538

pycoder

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

What’s the big breakthrough for Natural Language Processing (NLP) that has dramatically advanced machine learning into deep learning? What makes these transformer models unique, and what defines “attention?” This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, continues our talk about how machine learning (ML) models understand and generate text.

(是也乎:

Transformer

)

  • ["势不可挡" Python 仍然比 C 和 Java 更受欢迎(https://pycoders.com/link/9308/web)
    • SLASHDOT.ORG

“Python seems to be unstoppable,” argues the commentary on August’s edition of the TIOBE index, which attempts to calculate programming-language popularity based on search results for courses, vendors, and “skilled engineers”.

(是也乎:

无可阻挡, 就是无可替代

)

Scout APM is a python monitoring tool designed to help developers find and fix performance issues quickly. With an intuitive user interface, Scout will tie bottlenecks to source code so you can quickly pinpoint and resolve performance abnormalities. Scout APM: Built For Developers, By Developers

(是也乎:

好用不贵?

)

In light of recent supply-chain attacks on PyPi, people are talking about how to help secure their environments. Discussions on adding a security audit feature to pip have begun, but opinions differ widely. This article summarizes the conversation so far.

(是也乎:

有点儿象党国晚期?

反贪亡党, 不反亡国....

)

Statistical profiling takes a sample of your code at run time and in intervals inspects the performance. Learn how to use this to help determine your performance bottlenecks even in production code.

(是也乎:

顶得住是王道, 其它的都是为了 PPT

)


探讨/吐糟

Discussions

(是也乎:

这个糟吐的有点儿意思哪...

)

(是也乎:

嗯哼? 基本没用过... 坚持用 2.7 习惯, 毕竟太多老代码要兼容了... )


文章/教程/嗯哼

Articles, Tutorials and Talks

In this tutorial, you’ll get the lowdown on sorting Python dictionaries. By the end, you’ll be able to sort by key, value, or even nested attributes. But you won’t stop there—you’ll go on to measure the performance of variations when sorting and compare different key-value data structures.

(是也乎:

Sorting

老梗, 现在有有序字典了...

)

Somewhat surprising to math people, both floats and the Decimal package support negative zero. As this can cause strange results, Python Enhancement Proposal 682 suggests a change to the string format specification to automatically normalize negative zero to positive zero.

As Python has the dict type built-in and hashing is a common part of objects, it is easy to forget that there is more than one way to hash an object. This high-level article describes many ways hashes are used in programming and the associated algorithms.

(是也乎:

就象嘻哈一样

)

PyMuPDF is an open source Python programming library which provides convenient access to the C library MuPDF. This blog post explores text extraction using PyMUPDF and what differentiates it from other approaches.

“No one wants to read unformatted text.” This article teaches you how to use the Summernote WYSIWYG editor plug-in to add formatting and images to your posts.

(是也乎:

这年头为什么还在追求 WYSIWYG

)

Ten more malicious packages have been found in a series of supply-chain attacks on PyPi. Increasingly, hosting sites are discussing how to handle the situation, with GitHub creating an RFC on package signing.

(是也乎:

不确定是作息故意还是... 这么明显的恶意代码是如何进入公开包的呢?

)

In this Code Conversation video course, you’ll explore special function parameters that allow for positional-only arguments, keyword-only arguments, or a combination of the two.

(是也乎:

Special

怎么说呢? 特殊的就是不常用的, 不常用的就是不值得记忆的...

)

With a single line of code, you can integrate a stylesheet with your Matplotlib visualization. This tutorial shows you how to make your very own custom reusable stylesheet.

(是也乎:

专爱 XKCD

)

Learn how to use Python and Supabase to build a Slack-bot that consolidates messages from several channels.

(是也乎:

Supabase 的硬广, 就看宣传战了... 拼的过 Firebase 就活的了...

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

有 Cython 了, 谁会专门去学 Julia?

)

(是也乎:

看来挺复杂, Docker 出来这么久了, 还有非官方的镜像在折腾 )


📆🐍 活动/大会

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


DAMA

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

ACM-O

(是也乎:

谈崩了, 之前通过 ACM 会员可以每年 $25 享受 O'REILLY 在线图书馆服务...现在没了

)


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
-->