原文: PyCoder's Weekly - Issue #381

realpython


In this course on face detection with Python, you'll learn about a historically important algorithm for object detection that can be successfully applied to finding the location of a human face within an image.

(是也乎:

Face Detection

当然, 现在 BAT 都有自己云 AI 了, 直接调用, 就不用本地生撸了...

)

Inversion of Control, in which code delegates control using plugins, is a powerful way of modularising software. It may sound complicated, but it can be achieved in Python with very little work. This article examines three different techniques for handling IOC in Python.

(是也乎:

IoC ~ 委托控制插入...

模块化软件的有效手段, 其实就是插件技术, 只是在代码层面上的...

大约是:

依赖注入,注册,猴补丁, 这几个思路.

)

"The 1.17.0 release contains a number of new features that should substantially improve its performance and usefulness. The Python versions supported are 3.5-3.7, note that Python 2.7 has been dropped."

(是也乎:

爱过...

)

Learn all there is to know about the print() function in Python and discover some of its lesser-known features. Avoid common mistakes, take your "hello world" to the next level, and know when to use a better alternative.

(是也乎:

深挖灵魂40层, 当问打印合理无.

print

)

An opinionated guide to tooling in Python covering pyenv, poetry, black, flake8, isort, pre-commit, pytest, coverage, tox, Azure Pipelines, sphinx, and readthedocs.

(是也乎:

每年这种文章都得更新一下, 非常值得对比检验自己武器库是否合理的:

Python 工具全景图

)

(是也乎:

叕一则从0 开始, 手撸框架, 只为了嗯哼明白到底什么是重要的

)

讨论

Discussions

(是也乎:

云队友工具?

I have surveyed various cloud-based services:

+ PythonAnywhere: Py3.6, used them in London (UK) perhaps one decade 
ago, team/"education" facility appears to work. Am checking with them...

+ ShiftEdit: have been awaiting promised credentials-email all day...

+ CodeAnywhere: 7-day trial free

and tomorrow will be experimenting with:

+ AWS Cloud9: (apparently will run on a small, free, cloud-server)

Then there is the possibility of installing a multi-user editor on my 
VPS or in an OpenStack PublicCloud instance:

+ Codiad: its need for PHP puts me off (haven't used/configured that 
language for >10yrs)

and tomorrow will be reviewing:

+ Koding: (no longer offer their own server/services so looks-like I'll 
have to dredge-up my inner-SysAdmin - small children should look away now!)

简单说, 没有... 不如用 zoom.us 持续开着屏幕共享, 相互用另外一个屏幕, 看对方在干什么...

有个真人陪伴的感觉就好...

)

(是也乎:

当然是隔壁 PHP 程序猿了

)

(是也乎:

糟点太多, 大家总结不过来了...

当然, 整体上主要就是非要将 Python 写成 C/C++/JAVA/PHP/... 引发各种不舒

)

(是也乎:

外国一样喜欢标题党, 这两天这个话题很激荡...

在 Hacker New 中也引发了上百页的回复讨论...

也算证明了 Pythoneer 数量真心不少了...

)

文章,教程和嗯哼

Articles, Tutorials and Talks

In this step-by-step tutorial, you'll learn about inheritance and composition in Python. You'll improve your object oriented programming skills by understanding how to use inheritance and composition and how to leverage them in their design.

(是也乎:

真蟒教材

OOP

能不用就嫑用...

)

Flake8 is a style guide enforcement tool for Python that you can use in place of PyLint to help you find errors in your code and more closely follow PEP8. This article shows you how to get up and running with Flake8.

(是也乎:

至今 Python 代码静态分析市场还没完成统一...

)

PythonPune is a meetup group in Pune India. This blog post is about how the author got involved in organizing the meetup and what the process looks like.

(是也乎:

简单说 MeetUP 已经考虑到线下组织活动的所有方面, 按照应用提供的功能和指示来就好...

关键是 meetUP 在印度几乎就是 QQ 在中国的状态, 网速又能保证... 简直太 easy 了...

)

A beginner-friendly guide on using Keras to implement a simple Convolutional Neural Network (CNN) in Python.

(是也乎:

本家毕业前, 目测将持续将自己自学过程嗯哼为科普文章...

)

"These are a few of the things I wish they were teaching at university instead of pure theory."

(是也乎:

防脱发技能...

)

"Computer vision + music = life-sized rhythm games"

(是也乎:

早年 好看薄 创始人, Alex 在周游世界定居 NZ 初期创业项目就是类似的白噪音服务, 基于 github 整体 commit/fork/merge/... 真随机事件, 作为数据源来生成无限心流音乐...

可惜09年就停止运营了.

)

(是也乎:

民科代码?

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

"The most interesting use of Austin is probably in conjunction with FlameGraph to profile Python applications while they are running, without the need of instrumentation. This means that Austin can be used on production code with little or even no impact on performance."

(是也乎:

austin

结合各种分析工具的可视化运行时分析, 也支持火焰图

)

(是也乎:

Black

自动 pprint 式代码排版... 不过, 对于大数据样本, 一样会卡...

)

(是也乎:

每年都会推荐的 FFmpeg 包装补品

)

Parses Python 3.7 source code as a CST tree that keeps all formatting details (comments, whitespaces, parentheses, etc). It's useful for building automated refactoring (codemod) applications and linters.

(是也乎:

ins. 开源作品

)

(是也乎:

叕一则 CLI 图表库

from chart import bar

x = [500, 200, 900, 400]
y = ['marc', 'mummify', 'chart', 'sausagelink']

bar(x, y)

       marc: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇             
    mummify: ▇▇▇▇▇▇▇                       
      chart: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇
sausagelink: ▇▇▇▇▇▇▇▇▇▇▇▇▇

好用. )

(是也乎:

TOTP => Time-Based One-Time Password

囧...通过 QR 码进行检验.

)

(是也乎:

PyPy 也在 Rust 化?

)

(是也乎:

叕一个包更新管理工具

)

(是也乎:

叕一个包及运行时管理工具, 基于 toml 管理依赖/版本关系.

和 conda 类似都要代理运行,

)

(是也乎:

scalpl

专注多层嵌入字典的使用

)

📆🐍 活动/大会

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

DAMA

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

进入 ch3, 下期 190901 左右启动...

本周准备上线 写作入门班

(是也乎:

Do With Py

总是永远有人问这个问题... 当然, 这个问题任何一个技术社区都有人在问...

其实, 本质上并不是对应技术是否有什么能力, 而是相反...

)

Jobs:

必须 Pythonic 相关

...

是也乎

  • 190814 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 190814 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄.

NN 3739


Comments


大妈的多重宇宙 - YouTube

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

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


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


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

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