原文: PyCoder's Weekly - Issue #380

realpython


Learn what you need to know to manage users in Django admin. Out of the box, Django admin doesn't enforce special restrictions on the user admin. This can lead to dangerous scenarios that might compromise your system.

(是也乎:

当年的时尚, 今天就变成黑魔法了...

)

"Mocking is a powerful technique for isolating tests from undesired interactions among components. But often people find their mock isn't taking effect, and it's not clear why. Hopefully this explanation will clear things up."

(是也乎:

所以, 还是 Docker 中给真东西测试吧

)

Addresses DoS possibilities in django.utils.text.Truncator, strip_tags(), django.utils.encoding.uri_to_iri(), and a potential SQL injection issue in JSONField/HStoreField.

(是也乎:

三连发...可见 Django 基金会是真赚銭的...

)

Take your first steps with Spark, PySpark, and Big Data processing concepts using intermediate Python concepts.

This blog post is an introduction into unit testing in Django. It offers an explanation on what are faker and factories and code examples illustrating them.

This article describes memory management in CPython 3.6 and how it uses a pool allocator called PyMalloc to speed-up memory operations and reduce fragmentation.

(是也乎:

随着 Python 越来越 C++ 化, 内存问题也必然回到程序猿眼前...

)

讨论

Discussions

(是也乎:

.pypirc 渠道..不过, 不稳定...

)

(是也乎:

什么鬼...这怎么 PK 哪...

)

文章,教程和嗯哼

Articles, Tutorials and Talks

"Data Visualization can be a great tool for mathematical exploration and experimentation. In this article, I show you an example using Matplotlib and Python."

(是也乎:

对比隔壁的 Seaborn 们就知道 matplotlob 是老了...

)

Learn how to make scatter plots, adding trend lines, text, rotating the labels, changing color, and markers, among other things.

"Sometimes your Python process will behave strangely, run slowly, or give you the wrong answers. And while hopefully you have logging, the logging isn't always enough. So how do you debug this process?"

(是也乎:

OTP 已经成熟使用20年的小技巧, 当然, LISP 用的时间更加长

)

In this course, you'll see several learning strategies and tips that will help you jumpstart your journey towards becoming a rockstar Python programmer!

(是也乎:

学习 Python 11 种最佳开始姿势:

Code Every Day ~ 每天编程
Write It Out  ~ 写下来
Go Interactive  ~ 运行起来
Take Breaks  ~ 追踪错误
Become a Bug Bounty Hunter ~ 找到问题
Surround Yourself With Others Who Are Learning ~ 和其它人交流
Teach ~ 教导自己
Pair Program  ~ 结对编程
Ask GOOD Questions ~ 问好问题
Build Something, Anything  ~ 构造点什么
Contribute to Open Source ~ 为开源作贡献

这不就是 Hacker 的养成手册嘛?

)

In this article you'll go over the theory behind transfer learning and see how to carry out an example of transfer learning on Convolutional Neural Networks (CNNs) in PyTorch.

(是也乎:

transfer

转移学习?

)

Learn how to write a Python script to create a quadtree based filter for stylizing photos.

(是也乎:

stylizing

风格化图片?

)

What Softmax is, how it's used, and how to implement it in Python.

(是也乎:

本家? Princeton 学生, 已经分别在 Google/Airbnb/Facebook 实习过了...

Softmax 函式是神经网络计算中一种算法, 不是 Python 自己的新嗯哼...

)

Make the leap from Beginner to Intermediate in Python with this complete curriculum freshly updated for Python 3.7. Includes exercises, interactive quizzes, and sample projects so you'll always know what to focus on next. Get the book today and save 27% →

(是也乎:

嗯哼? 真蟒 作培训果然积累出书了,毕竟国外出版业还比较健康, 有銭赚...

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

不得不说, 作为全球最大同性交际网站,

awesome-* 实在是开创了一种标签文化.

就象那些综合性论文...帮助很多用心但没什么技术的好人, 获得了足量 star )

(是也乎:

还在早期, 刚刚完成了一个特性的样子...

)

(是也乎:

嗯哼, 从洪教授的 Ring 开始, 就一直有这个方向的尝试...

gui

其实, 图元的嗯哼, 一直不是难事儿, 困难的是包含功能时...

)

(是也乎:

叕一个进度条... 可能这是 CLI 中最无害又最漂亮的小东西了...

)

(是也乎:

Jupter 中分解出来的小工具? 将 Py 代码批量改换为标准 md.

)

(是也乎:

嗯哼? 印象中首个面向 CPU 的 Py 项目?

)

(是也乎:

Bill 手写的就好了...

)

📆🐍 活动/大会

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

(是也乎:

Pythoneer 才是 Python 狂热用户的自称

)

logo.png (PNG Image, 400 × 400 pixels)

DAMA

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

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

(是也乎:

Do With Py

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

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

)

Jobs:

必须 Pythonic 相关

...

是也乎

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

NN 3732


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->