上周蠎快讯 48/2023

简单!=轻松 原文: Python recap for week 48/2023 - discu.eu 231204 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 231204 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 文章/教程/嗯哼 Articles, Tutorials and Talks Python 很轻松。 Go 很简单。简单!=轻松 667 评注 in 4 讨论s Rust std fs 比 Python 慢!?不,是硬件 398 评注 in 5 讨论s 无类型 Python:以前的 Python 312 评注 in 3 讨论s (是也乎: 是的, 体验更加好… …Python 现在处于一个这样的境地:我花在打字上的时间并没有带来任何回报。另一方面,TypeScript 对我来说更倾向于提高生产力 类似的, 在 rust 中和编译器的搏斗带来的好处有多大? ) ...

2023-12-04 · 4 min · 1676 words · ZoomQuiet

上周蠎快讯 47/2023

依赖关系属于版本控制 原文: Python recap for week 47/2023 - discu.eu 231127 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 231127 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 文章/教程/嗯哼 Articles, Tutorials and Talks 证明 Android、Java 和 Python 的排序算法已损坏 (2015) 470 评注 in 8 讨论s (是也乎: 老案… ) 依赖关系属于版本控制 291 评注 in 5 讨论s (是也乎: 没毛病, 甚至于系统版本也应该包含在其中… 问题在根本不同的管理线路和节奏, 无法统一观察和匹配, Docker 是种懒政… ) 大规模编写和检查 Python 144 评注 in 1 讨论 (是也乎: 这得是 Python 生产运行代码超过百万行时的思考 ) 如何使用 Django 和 Stripe 创建订阅 SaaS 应用程序(2023 版) 127 评注 in 4 讨论s 最喜欢的单行代码:Python 版 87 评注 in 2 讨论s (是也乎: 有中文图书 Python一行流 (2021) https://book.douban.com/subject/35602079/ ) 用 Ruff 增强您的 Python 编码风格 35 评注 in 1 讨论 (是也乎: 是的, rust 开发的 Python 风格检验器 ) Python 软件基金会荣获 GitHub 颁发的热烈欢迎奖 32 评注 in 1 讨论 Python Multiprocessing 池:完整 API 指南 32 评注 in 2 讨论s (是也乎: superfastpython.com 竟然是私人网站… ) ...

2023-11-27 · 4 min · 1728 words · ZoomQuiet

上周蠎快讯 46/2023

datetime.utcnow() 现已弃用 原文: Python recap for week 46/2023 - discu.eu 231120 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 231120 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 文章/教程/嗯哼 Articles, Tutorials and Talks 是时候做出改变了:datetime.utcnow() 现已弃用 456 评注 in 4 讨论s (是也乎: Py 3.12 开始 from datetime import datetime, timezone def aware_utcnow(): return datetime.now(timezone.utc) def aware_utcfromtimestamp(timestamp): return datetime.fromtimestamp(timestamp, timezone.utc) def naive_utcnow(): return aware_utcnow().replace(tzinfo=None) def naive_utcfromtimestamp(timestamp): return aware_utcfromtimestamp(timestamp).replace(tzinfo=None) print(aware_utcnow()) print(aware_utcfromtimestamp(0)) print(naive_utcnow()) print(naive_utcfromtimestamp(0)) ) ...

2023-11-20 · 4 min · 1739 words · ZoomQuiet

上周蠎快讯 45/2023

Pandas 创建者 Wes McKinney 加入 Posit 原文: Python recap for week 45/2023 - discu.eu 231113 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 231113 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 文章/教程/嗯哼 Articles, Tutorials and Talks 在 Windows 上为 Python 3.12 构建 SciPy 是一个小奇迹 304 评注 in 4 讨论s (是也乎: 感觉在 windows 上构建任何开源项目都是个奇迹… ) Python Pandas 创建者 Wes McKinney 加入 Posit [前身为 RStudio] 130 评注 in 3 讨论s (是也乎: 所以, 熊猫也开始锈化? ) Python Requests 3 103 评注 in 2 讨论s Python 错误作为值:比较 Rust 和 Go 的有用模式 68 评注 in 3 讨论s (是也乎: 隔壁锈周刊也推荐了: RR23W45 - 锈周刊 -> Weekly :: China ) 将罗马数字文字添加到 Python (2003) 37 评注 in 1 讨论 (是也乎: 为了罗马军团复活? ) Python environment setup seems complicated and unsolvable Python环境搭建看起来很复杂,无解 31 评注 in 1 讨论 (是也乎: Orz… 明白人儿… ) 快速了解目标驱动的代码生成 19 评注 in 3 讨论s (是也乎: DDC? ) ...

2023-11-13 · 4 min · 1671 words · ZoomQuiet