蠎周刊:Issue 389

原创
2019/10/09 17:41
阅读数 89
AI总结

> Rust 来解决 Python 环境管理问题->pyflow

原文: PyCoder's Weekly - Issue #389

PyCoder

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

In this course, you’ll learn the basics of creating powerful web applications with Django, a Python web framework. You’ll build a portfolio website to showcase your web development projects, complete with a fully functioning blog.

(是也乎:

好象今年开始, 真蟒 已经占据主要周刊内容了...

)

An auto formatter is a tool that will format your code in a way it complies with the tool or any other standard it set. But which auto formatter should you use with Python code?

(是也乎:

这种事儿叫用户选择会出人命的, 学习 golang, 及时官方钦定一个并内建才对

)

Debug and optimize your code by tracing requests across web servers, databases, and services in your environment—and seamlessly correlate those traces with metrics and logs to troubleshoot issues. Try Datadog in your environment with a free 14-day trial →

(是也乎:

非常实诚的好服务

)

CPython uses Timsort for sorting containers. Timsort is a fast O(n log n) stable sorting algorithm built for the real world — not constructed in academia.

PyPy has a new and faster JSON parser implementation. This post covers the design decisions that were made to develop the new and improved parser.

(是也乎:

好象只有 PyPy 还在继续 Pythonic 之旅

)

Tired of having to reload a module each time you change it? IPython’s %autoreload to the rescue!

{% for ... %} {% empty %} {% endfor %} anyone?

(是也乎:

为什么不常用? 原因很明显了哪

)

When and why 2 + 2 = 4.00000000000000000001…

(是也乎:

老爹当年一闪神, 到今反复嗯哼永不断

)

(是也乎:

放心万里长城永不倒

)

讨论

> Discussions

Twitter discussion about everyone’s best-loved Python libraries. What’s your personal favorite?

(是也乎:

只能是 this

)

文章,教程和嗯哼

> Articles, Tutorials and Talks

Learn what hash tables are, why you would use them, and how they’re used to implement dictionaries in the most popular Python interpreter: CPython.

(是也乎:

其实, 就是当年 Python 源代码鉴赏的片段思考

)

Learn how to write Python interfaces in C. Find out how to invoke C functions from within Python and build Python C extension modules. You’ll learn how to parse arguments, return values, and raise custom exceptions using the Python API.

(是也乎:

Cython 即安.

Extension

)

“Is the Rectified Adam (RAdam) optimizer actually better than the standard Adam optimizer? According to my 24 experiments, the answer is no, typically not (but there are cases where you do want to use it instead of Adam).”

(是也乎:

作者发现, 还是原版好

)

How to use Python’s built-in zip() function to solve common programming problems. You’ll learn how to traverse multiple iterables in parallel and create dictionaries with just a few lines of code.

What the Py 2.x end-of-life deadline means in practice, e.g. “Just because the PSF consider Python 2 unsupported does not mean that Python 2 is unsupported within RHEL.” Also see the related discussion on Hacker News.

(是也乎:

大厂也曰了, 官方不支持, 不是事儿

)

Derive PCA from first principles and implement a working version in Python by writing all the linear algebra code from scratch. Nice tutorial!

(是也乎:

> 从头开始

也就是说

> From Scratch

已经变成一种文体了

)

Tips on acing your Python coding interview, PSF has a new Code of Conduct, and regex testing tools.

(是也乎:

国外电台节目, 应聘, 一样是热点

)

Do your own data science exploration and analysis on the annual developer survey’s dataset.

(是也乎:

叕来了, 几乎有流量就有一切, 包含公知

)

Learn how to add maps and location-based data to your web applications using Mapbox.

(是也乎:

好象 K8s 是万能一般...

)

(是也乎:

其实吧, 最快和全面的还是无头浏览器们... 推荐国产 mini-blink

)

(是也乎:

Hiding

其实, Matplotlib 一直有参数控制,只是...

)

好物

> Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

叕一个尝试解决 正则表达式 困境的工具...

)

(是也乎:

老李推荐的? 大西雅图地区 华人工程师

Waffle

Waffle -> 华夫饼..

)

(是也乎:

老梗了...

)

(是也乎:

一个 PEP 需要模块来支持, 也是没什么了...

)

(是也乎:

Seamless -> 差点儿看成 无耻了...

只是,为什么要在 C++11 和 Py 间转换? 难道是想叛逃?

)

(是也乎:

神奇哪, 用 Rust 开发的, 解决 Python 开发/维护/运行时一应问题的工具, 准备替代 Pyenv/Pipenv/... 各种*env 工具

)

📆🐍 活动/大会

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

DAMA

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

> 第3期已开课, 为期6周; 191103 按时结束, 到时再约 4py ;-)

是也乎

> NN 3795

蟒营™:Python 入门班||图谱||幻灯||维基

101camp3py 进行中

  • 190922 已开课
  • 191103 将结束

Powered by: Zoom.Quiet / 昧因科技®

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
AI总结
返回顶部
顶部