周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
NASA实锤对比Py和多种主力数据科学语言 原文: PyCoder’s Weekly - Issue #388 191006 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 191006 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Python 中如何用 Generators 和 Yield REAL PYTHON Learn about generators and yielding in Python. You’ll create generator functions and generator expressions using multiple Python yield statements. You’ll also see how to build data pipelines that take advantage of these Pythonic tools. (是也乎: 可以说, 真蟒, 一己之力, 将 Python 领域所有值得嗯哼的事儿, 这几年全部重新嗯哼了一遍… 这是为了获得完全自主产权的教材, 来构筑课程池? ) 对比 Python, Julia, Matlab, IDL 以及 Java NASA.GOV “We use simple test cases to compare various high level programming languages. We implement the test cases from an angle of a novice programmer who is not familiar with the optimization techniques available in the languages. The goal is to highlight the strengths and weaknesses of each language but not to claim that one language is better than the others.” (是也乎: 实锤了…. 没有一枝独秀, 只有相对优势. 如果自己用 Python 没毛病, 如果公司来, Java 永远正确. ) 正则表达式在 Python 中的性能 JUN WU “Working with regex, you have to understand what you are doing: the regex engine for Python, the type of statement you are writing, and alternative tools that are available for your purposes. Yes, there are instances when the re package may not be the best tool to use.” PEG 在 Core Developer Sprint GUIDO VAN ROSSUM “Every year for the past four years a bunch of Python core developers get together for a week-long sprint at an exotic location. These sprints are sponsored by the PSF as well as by the company hosting the sprint.” (是也乎: 老爹真的开始放飞了, 敢于放权给大家玩内核了… ) Mypy 0.730 发布 MYPY-LANG.BLOGSPOT.COM Mypy 0.730 is out, with prettier, colored output and error code support, along with many other fixes and improvements. (是也乎: 兼容 Py2 的生态圈已经正式起航…再次. ) Django Bugfix 发布: 2.2.6, 2.1.13 and 1.11.25 DJANGOPROJECT.COM 讨论 Discussions ...
原文: PyCoder’s Weekly - Issue #387 190925 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 190925 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 用 pdb 调试 Python REAL PYTHON video Learn the basics of using pdb, Python’s interactive source code debugger. pdb is a great tool for tracking down hard-to-find bugs, and it allows you to fix faulty code more quickly. (是也乎: 这是屠龙技,轻易用不上, 真要用上了, 也说明已经身陷焦油坑, 难以逃离了… ) H如何验证 PyPI 是否信任? BRETT CANNON “A co-worker of mine attended a technical talk about how Go’s module mirror works and he asked me whether there was something there that Python should do.” (是也乎: 这真心是件基础又忧心的事儿… 好在, 一直有标准精良自检方案 ) PSF 中的 requests 所有权已转移给新维护者 GITHUB.COM/PSF Also see the related discussion on Reddit. (是也乎: 多年媳妇, 熬成??? 叕一例… ) What’s in a Name? Tales of Python, Perl, and the GIMP SVEN GREGORI Fun read about the challenges of naming and renaming open-source projects. PyCascades 2020 CFP PAPERCALL.IO Portland The PyCascades call for proposals is open until October 1st. 讨论 Discussions ...
原文: PyCoder’s Weekly - Issue #386 190918 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 190918 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Call for Proposals for PyCon 2020 Is Open PYCON.BLOGSPOT.COM The submission deadlines are: Tutorial proposals are due November 22, 2019. Talk, Charlas, Poster, and Education Summit proposals are due December 20, 2019. (是也乎: 对比 PyCon China 2019 我们才开始, 人家已经面向 2020 了… 其实, 这才是应该的节奏; 不过, 今年 PyCon19中国, 扩张到6个城市, 也是世界之最了. 欢迎来嗯哼, 俺也去其中一个, 猜, 哪个? ) Python vs C++: Selecting the Right Tool for the Job REAL PYTHON Explore the similarities and differences you’ll find when comparing Python vs C++. You’ll learn about memory management, virtual machines, object-oriented programming differences, and much more. (是也乎: 其实, C++ 是创始人都在警告: 想想瓦萨号 的一种失控语言 ) PEP 603: Adding a frozenmap Type to collections PYTHON.ORG A draft PEP that proposes adding a new fully persistent and immutable mapping type called frozenmap to the collections module in the Python standard library. (是也乎: 不可变量是系统安全的基础, 可惜… ) Java Primer for Python Developers MAX MAUTNER “There are large distinctions between the two programming languages, but I’ll try to give the most notable that I encountered–as I approached Java from a Python-heavy background.” The Boring Technology Behind a One-Person Internet Company WENBING FANG The Python-powered tech stack of a one-person company (ListenNotes podcast search engine). (是也乎: 单人企业就得优先选择 无聊技术栈; 终于, Python 从 PHP 手中抢走了这一称号. ) Types for Python HTTP APIs ANIRUDH PADMARAO (INSTAGRAM) How Instagram uses types to document and enforce a contract for their Python HTTP APIs. 讨论 Discussions ...
原文: PyCoder’s Weekly - Issue #385 190911 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 190911 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Python 登顶 “IEEE Top Programming Languages of 2019” 排名 IEEE.ORG Python’s growth in popularity has been incredible. This list is interesting because it allows you to adjust the weights for the various factors that determine the ranking. (是也乎: 国内早已大吼了… 实在是其它语言, 对快速变化的混乱数据一直并没什么关注, 反而一直在一线和各种混乱共处的 Python 长期积累出来一堆神器. ) MATLAB vs Python: 为什么以及如何进行切换 REAL PYTHON Learn about MATLAB vs Python, why you should switch from MATLAB to Python, the packages you’ll need to make a smooth transition, and the bumps you’ll most likely encounter along the way. (是也乎: 其实很友好咯… ) 我们的类型之旅: 检验4百万行 Python 代码 DROPBOX.COM “Dropbox has been one of the first companies to adopt Python static type checking at this scale. These days thousands of projects use mypy, and things are quite battle tested.” Related discussion on Hacker News. (是也乎: Dropbox 实锤,为什么值得上类型系统… ) 跟踪自然语言处理的进展 NLPPROGRESS.COM Repository to track the progress in Natural Language Processing (NLP), including the datasets and the current state-of-the-art for the most common NLP tasks. Python *args 和 **kwargs : 揭秘 REAL PYTHON In this step-by-step tutorial, you’ll learn how to use args and kwargs in Python to add more flexibility to your functions. You’ll also take a closer look at the single and double-asterisk unpacking operators, which you can use to unpack any iterable object in Python. (是也乎: 这个插画很传神… ) 落日背影 Python 2 PYTHON.ORG PSF notes about the end of support for Python 2.x. Related discussion on Hacker News. Django 3.0 Alpha 1 发布 DJANGOPROJECT.COM Changelog here. 讨论 Discussions ...