Issue 369

原文: PyCoder’s Weekly - Issue #369 和 Bokeh 用 Python 进行交互式数据可视化 REAL PYTHON video This course will get you up and running with the Bokeh library, using examples and a real-world dataset. You’ll learn how to visualize your data, customize and organize your visualizations, and add interactivity. (是也乎: 没说的…这真的是一种设计精良, 输出又实用的数据可视化模块 ) 使用 Nvidia Jetson Nano 和 Python 以150美元的价格构建基于硬件的人脸识别系统 ADAM GEITGEY “With the Nvidia Jetson Nano, you can build stand-alone hardware systems that run GPU-accelerated deep learning models on a tiny budget. It’s just like a Raspberry Pi, but a lot faster.” 接受PEP 581(使用CPython的GitHub问题) PYTHON.ORG CPython’s issue tracker will be migrated from Roundup to GitHub issues. (是也乎: 顺应民意… ) 虽然内建电池, 可丫们都漏汤了 PYFOUND.BLOGSPOT.COM “Amber Brown of the Twisted project shared her criticisms of the Python standard library [at PyCon 2019]. This proved to be the day’s most controversial talk; Guido van Rossum stormed from the room during Q & A.” Related discussion on Hacker News (是也乎: Twisted 的确有资格蔑视一切网络库. ) Python 中的 Unicode 和字符编码: 无痛指南 REAL PYTHON Get a Python-centric introduction to character encodings and unicode. Handling character encodings and numbering systems can at times seem painful and complicated, but this guide is here to help with easy-to-follow Python examples. (是也乎: 其实, 最简单的对策: 不写中文… ) 值得学习的 Python 内建函式 TREY HUNNER “Which built-ins should you know about? I estimate most Python developers will only ever need about 30 built-in functions, but which 30 depends on what you’re actually doing with Python.” PSF Q2 2019 筹款活动 PYTHON.ORG Support the Python Software Foundation by donating in the quarterly donation drive. Your donations help fund Python conferences, workshops, user groups, community web services, and more. 讨论 Discussions ...

2019-05-22 · 4 min · 1516 words · ZoomQuiet

Issue 368

原文: PyCoder’s Weekly - Issue #368 CPython 3.8.0a4 已可测试 PYTHON.ORG Among the new major new features and changes so far: Assignment expressions (PEP 572), Positional-only arguments (PEP 570), multiprocessing can now use shared memory to avoid pickling, typed_ast is back. 用 Python 播放和录制声音 REAL PYTHON In this tutorial, you’ll learn about libraries that can be used for playing and recording sound in Python, such as PyAudio and python-sounddevice. You’ll also see code snippets for playing and recording sound files and arrays, as well as for converting between different sound file formats. (是也乎: 总之有太多模块可以使用, 但是, 没有完美解决所有问题的… 所以, 要组合来嗯哼… 推荐外部专用软件来嗯哼, python 就进行管理就好. ) Dropbox 客户端如何用 Python ANVILVENTURES.COM “This blog post talks about reverse engineering the Dropbox client, breaking its obfuscation mechanisms, de-compiling it to Python code as well as modifying the client in order to use debug features which are normally hidden from view.” (是也乎: 终于有人站出来分析靠谱的 py 客户端技巧了… 虽然有麻烦, 但是, 都能嗯哼掉 ) Python GIL 是否已 Slain? ANTHONY SHAW A discussion of PEP554 (subinterpreters) and how it relates to the global interpreter lock (GIL) in CPython. (是也乎: 有关 PEP 的讨论越来越公开了… 毕竟, BDLF 退位了, 大家终于能愉快的吵架了… ) PEP 554 将终结 GIL 嘛? PYTHON BYTES podcast Another discussion of subinterpreters (PEP 554) and how they will allow true in-process parallelism. 可能不会在 Python 3 中使用的, 但, 应该 VINKO KODŽOMAN (是也乎: 叕一则鼓动使用 py3 新特性的文章… 问题是, 用 py2 的经验来写 py3 并无太大不同哪… ) 讨论 Discussions ...

2019-05-15 · 4 min · 1633 words · ZoomQuiet

Elixir Weekly #148

原文: ElixirWeekly - Elixir Community Newsletter, one email every Thursday. Every Thursday: No frills, no click-through, no spam. 当周 不老药 This week in Elixir 伞形应用的问题 Jack’s makes the point that umbrella projects/apps are hard to maintain and shouldn’t be used unless you’re deploying the child apps individually. (是也乎: 和微服务一样, 某一架构泛滥时,总是撞到不合适的场景 ) Phoenix LiveView Round-Up: 迄今为止的故事 Darin wrote a blog post showing off some of the fantastic work that folks are doing with Phoenix LiveView. Phoenix LiveView 集锦 Another amazing collection of demos and experiments that people are building with Phoenix LiveView by Leandro. (是也乎: Phoenix LiveView 杂耍 ) Horde 0.5.0 有什么新东西 ? Horde 0.5.0 just got released and it’s a big one! Derek wrote about some of the highlights in this post. Telemetry 之于 Elixir 应用 Learn how to produce and report on telemetry metrics for your Elixir application in this post by Ben. Ecto - Cast-ing Sugar Adam wrote a blog post introducing his library EctoMorph! 📆🐍 社区 Even more from around the Elixir community ...

2019-05-09 · 2 min · 989 words · ZoomQuiet

Issue 367

原文: PyCoder’s Weekly - Issue #367 这是 PyCon 2019 TWITTER.COM PyCon 2019 in Cleveland was an amazing experience! A big Thank You to all of the organizers and volunteers who made it happen! At the link above you’ll find a list of tweets from the conference to give you a sense of what it was like there. Also check out the talk recordings on YouTube. (是也乎: 今年大会是 Py2 在世最后一次了… 得看看, 大家怎么看 Py2 没有的世界… ) Guido 表示: 请职 BDFL 决定中 SNS 发挥了重要作用 TFIR.IO • Shared by revyuh.com video “I did not enjoy at all when the central developers were sending me hints on Twitter questioning my authority and the wisdom of my decisions, instead of telling me in my face and having an honest debate about things.” (是也乎: 网络暴力无论谁, 也无法真正无视… 因为人脑是自动化处理信息的, 主意识只能起个分流作用… garbage in garbage out ) 反思科学计算:调试,性能和信任 ITAMAR TURNER-TRAURING “You’ve run your batch process with your scientific model, and after hours and hours it spit out a result. And the result is wrong.” Itamar’s article has some valuable tips on how to debug this type of situation in your own Python programs. (是也乎: 如何避免长期运行后才有结果的程序, 给出错误结果… ) 通过 Vettery 找 Python 工作 VETTERY sponsor Vettery specializes in developer roles and is completely free for job seekers. Interested? Submit your profile, and if accepted, you can receive interview requests directly from top companies seeking Python devs. Get started → (是也乎: 想肉身翻越的可以一试… 另外 FCC 也是好渠道… ) 有关 PyPI “商业模式” 的讨论 DUSTIN INGRAM Challenges in making a package index turn a profit and what happened in the JavaScript community with NPM. Recommended reading! (是也乎: 这是向服务厂商进化的必然, 就看 PFP 是否够胆了… 否则, PyPi 永远无法成为生产线中的一环… ) Python 分析中的确定性和统计 GABRIELE TORNETTA • Shared by Gabriele Tornetta This post discusses some of the current profiling tools and techniques for Python apps: “The official documentation has a whole section on the subject, but we shall go beyond that and have a look at some alternative solutions, especially in the area of sampling profilers.” Nice read! (是也乎: 真心没那么简单,好在早已有方便工具: ) 用 Python 制作自己的 GeoIP API ENZO CALAMIA This article shows you how to maintain your own GeoIP database and how to implement an API around it. Very cool, I had no idea this data was available for free. Python 中的 sorted() vs sort() REAL PYTHON Learn how to sort various types of data in different data structures, customize the order, and work with two different ways of sorting in Python. (是也乎: 真蟒的插画真心可以出画册了.. ) 讨论 Discussions NIL ...

2019-05-08 · 5 min · 2089 words · ZoomQuiet