如何摆脱教程地狱? 当然不是爱...

原文: PyCoder's Weekly - Issue #528

pycoder

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

“Static files like CSS, JavaScript, and fonts are a core piece of any modern web application. They are also typically confusing for Django newcomers since Django provides tremendous flexibility around how these files are used. This tutorial will demonstrate current best practices for configuring static files in both local development and production.”

In this video course, you’ll learn how to clean up messy data using pandas and NumPy. You’ll become equipped to deal with a range of problems, such as missing values, inconsistent formatting, malformed records, and nonsensical outliers.

Datadog’s APM generates detailed flame graphs to provide you with deeper insights into code-level performance enabling teams to identify bottlenecks and latency in their Python code. Navigate seamlessly between app traces, logs and metrics to resolve app issues fast. Optimize Python Code Inefficiencies and Latency With Datadog Application Monitoring

(是也乎:

Datadog

事实证明, logo 可爱能提高转化率

)

“Have you ever noticed that a string with just a few characters in Python uses several dozen bytes of memory? We handle a lot of short strings and I have been wondering why Python seems to store strings seemingly so inefficiently.”

(是也乎:

News

)


探讨/吐糟

Discussions

(是也乎:

这真的是所有在线教育的天坑, 所以, 有了 蟒营®101.camp 开源网络课程框架

教育不在灌输, 而在召唤...召唤出自主思考以及探索... 这过程中, 课程提供的其实应该是信心:

我能学会

然后, 一切神奇就发生了...

)

(是也乎:

是的 , HW

news.ycombinator.com

其实, 并不存在

)


文章/教程/嗯哼

Articles, Tutorials and Talks

Recent security issues with ctx on PyPI followed shortly by the discovery of some typeosquatting has everyone re-examining their package supply chain. Jurgen writes about finding weirdness with two of the most popular packages out there.

No matter how good you are, sometimes your code just runs slow. Learning how to properly profile your software to identify and fix bottlenecks is a useful skill. This article talks about what you need to know to measure your code’s performance and how to use the cProfile, profile, and timeit libraries, along with others.

In this tutorial, you’ll learn about two popular coding styles in Python: look before you leap (LBYL) and easier to ask forgiveness than permission (EAFP). You can use these styles to deal with errors and exceptional situations in your code. You’ll dive into the LBYL vs EAFP discussion in Python.

(是也乎:

Handling

重要姿态选择:

EAFP ~Easier to Ask for Forgiveness than Permission.”
    请求宽恕比许可更容易
LBYL ~Look Before You Leap”
    三思而后行

先上车再补票, 还是先结婚再上车? 普通人的选择很明显了...

)

What do you do when your data science project doesn’t fit within your computer’s memory? One solution is to distribute it across multiple worker machines. This week on the show, Guido Imperiale from Coiled talks about Dask and managing large data science projects through distributed computing.

(是也乎:

Dask

真正在开始使用互联网资源的姿势...

)

Behind all the most popular packages you routinely pip install are a host of people whose names you likely don’t recognize. This thoughtful article talks about what we as a coding community can do to acknowledge maintainers more and contribute.

(是也乎:

Chain

pip 值得升级追加这种信息哪, 每天都值得知道自己当前工作, 有多少先贤在看着...

)

This is a step-by-step coding Kata based on a workshop that Brenton ran at DjangoConEU 2018. It gives you practice in using a Test-Driven-Development approach by writing tests for a “get time” API in Django.

A step-by-step tutorial on developing an asynchronous API with FastAPI and MongoDB using the Beanie ODM library to interact with MongoDB .

(是也乎:

ABDULAZEEZ

)

Installing packages with pip, Poetry, and Pipenv can be slow. Learn how to ensure it’s not even slower, and a potential speed-up.

A step-by-step tutorial on how to send your first transaction on the Ethereum blockchain using Python and the web3 package.

(是也乎:

针对 Ethereum 的 Python 开发指南

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

huey

是作者小喵的名字...

)

(是也乎:

因为老爹承诺了提高 Py 性能, 所以各种性能检验工具就爆了...

)


📆🐍 活动/大会

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


DAMA

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

ACM-O

(是也乎:

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

)


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



自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:


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


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

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:

追问

任何问题, 随时邮件提问可也:
askdama@googlegroups.com

-->