Issue 412 ~蠎週刊 ~聚集全球蠎事兒 ;-)

原文: PyCoder's Weekly - Issue #412html

PyCoder

  • 200318 Zoom.Quiet(大媽) 用時 42 分鐘 完成快譯
  • 200318 Zoom.Quiet(大媽) 用時 37 分鐘 完成格式轉抄.

「Code metrics are a popular way to analyse the complexity of our software. For some reason, we are attracted to single-figure summaries of quality, whether it’s lines of code, cyclomatic complexity, or the Pylint score. Personally, I think using these are about as valuable as judging another person based on one of their visible or measurable characteristics.」git

(是也乎:github

對 圈複雜度 們的叕一次私人反擊, 可是, 資本將重構一切.web

)算法

In this step-by-step course, you’ll learn how to use PyGame. This library allows you to create games and rich multimedia programs in Python. You’ll learn how to draw items on your screen, implement collision detection, handle user input, and much more.api

(是也乎:數據結構

Side-Scroller

卷軸式遊戲從無到有...app

)

The field of data science is rapidly growing and relies heavily on Machine Learning; with hundreds of ML libraries, Python has become the language of choice for most engineers. Check out ActiveState’s list of the top 10 ML packages to learn →

(是也乎:

一直低調賺錢的 ACTIVESTATE , 發佈的 Python 發行版本能夠說是最穩定的一支;
他們心目中的 ML 模塊是:

#10 Matplotlib
#9 Natural Language Toolkit (NLTK)
#8 Pandas
#7 Scikit-learn
#6 Seaborn
#5 NumPy
#4 Keras
#3 SciPy
#2 Pytorch
#1 TensorFlow

嗯哼, 有兩個純粹可視化模塊...

以及, TF 完勝 PyTorch ...

)

The Django core team, the Django Technical Board, and the Board of Directors of the Django Software Foundation have held their deliberations and voted to accept Django Enhancement Proposal (DEP) 10. Learn what the adoption of DEP 10 means for Django now and in the future.

What makes a good log? When should you log something, and when is logging overkill? In this opinion piece, Nikita Sobolev argues that logging isn’t always best-practice in an application and discuss some alternatives that might make better sense from a business perspective.

「[On the] recommendation to add a ‘service layer’ to Django applications. The short version of my opinion on this is: it’s probably not what you want in Django apps.」

(是也乎:

Monty

Monty Python 真的是人類歷史上最偉大的喜劇團體了...

)

討論

Discussions

NIL

文章,教程和嗯哼

Articles, Tutorials and Talks

Why is it so difficult to write good documentation? Why are documentation authors for projects often invisible? In this article, Melissa Mendonça investigates the answers to these questions and describes a new NumPy Enhancement Proposal that aims to restructure the NumPy documentation, build a documentation team, and diversify the contributor base.

(是也乎:

說的沒錯, 但是如今人們不看文字了, 這又怎麼辦?

)

「World Wandering Dudes is a simulation framework in which you initiate a ‘world’ which consists of a ‘field’ and a set of ‘creatures’ (dudes). The field has food on it. Each day, the creatures run around gathering the food which they need to survive and reproduce.」

Binary search is a classic algorithm in computer science. In this step-by-step tutorial, you’ll learn how to implement this algorithm in Python. You’ll learn how to leverage existing libraries as well as craft your own binary search Python implementation.

(是也乎:

Binary

真蟒也開始算法細節的嗯哼了..

)

Learn how the Python defaultdict type works and how to use it for handling missing keys when you’re working with dictionaries. You’ll also learn how to use a defaultdict to solve problems like grouping or counting the items in a sequence or collection.

(是也乎:

defaultdict

新型內建數據結構, 最大的問題只是不兼容老代碼而已

)

The Django ORM and SQLAlchemy are two of the most popular Python ORMs, but they have some pretty significant differences. Explore how common actions work in each framework, including transactions, models, queries, and dealing with the N+1 problem.

(是也乎:

Django 內置的 ORM 是最好的.對於 Django 而言.

)

「A couple of months ago, I was at work waiting patiently for some documentation to go live about a new type of attacks against modern web applications called HTTP Desync attacks. Here is the story of my findings in gunicorn!」

(是也乎:

AWS 的問題以及應對,永遠不會缺少關注者

)

Does it make sense for all() to return True for an empty list? Is 「all unicorns are blue」 a true statement? Does shaving your dog contradict the statement 「all mammals have fur?」 You’ll have to read to find out!

「How inappropriate data access patterns massively slow down programs and how the same problems arise with RESTful APIs.」

(是也乎:

看起來又是篇爲 RPC 復辟叫好的文章.

)

Learn how to implement a simple video chat application in Python and JavaScript that leverages WebRTC.

(是也乎:

Twisted 的好,不單單在她很知名,
還在她是真的與時俱進的活的框架,
)

(是也乎:

叕一則對迭代工具包的介紹,
其實, 如此大力的宣傳, 並不必定有效,
畢竟 Python 是過程型腳本語言, 不是純函式語言哪

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

叕一個 IPython notebook 的再製品?

)

(是也乎:

開始對經常使用數據結構死扣內存/CPU 效率了...
這說明, Python 已經進入 盛年
)

📆🐍 活動/大會

Events, MeetUp 真的是全球線下活動組織中心

EuroPython 2020 is still scheduled

(是也乎:

歐洲就是奔放哪...
)

PyData statement on COVID-19 and Spring 2020 PyData events.

(是也乎:

乖的...

)

(是也乎:

熊國纔不怕什麼病毒

)

DAMA

❤️ Happy Pythonic ;-( 大媽私人無責任播報)

(是也乎:

nCoV 最新海外信息

文科生的戰鬥, 雖然沒辦法象 wuhan2020 們那樣快速組織工程師,
先於國家完成各類實用系統;

可是, 文科生經過大量海外報道的瀏覽/對比/翻譯/報道/...

能夠幫助人們經過真實世界的反應, 來更好的理解當前狀態.

並且, 一個徹底沒有技術基礎的文科團隊, 天然經過 github 完成全部協同,
實在..感動 -> github 太好用了.

)

PS:


NN 3956

好文筆,感嘆號年度配額: 1/3


ZoomQuiet/大媽

就是四處 是也乎,( ̄▽ ̄) 的那個大媽:

私自嗯哼: ZoomQuiet (訂閱號: ZoomQuiet42)
公開課程: 蟒營 (訂閱號: Mainium)

核心成員: PyChina (訂閱號: PyChinaOrg)
本地組織: 
    GDG珠海 (訂閱號: GDG-ZhuHai)
    TFUG珠海 (訂閱號: ZH_TFUG)

蟒營™Python入門班 第6期 立刻截止報名:

  • 報名截止 2020.3.22
  • 正式開課 2020.3.29
  • 按時結束 2020.5.10

報名表

蟒營™式 原創課程服務:

伴你重享學習樂趣

蟒營™:Py入門班/圖譜

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

本文由博客一文多發平臺 OpenWrite 發佈;
相關文章
相關標籤/搜索