Skip to content

Commit

Permalink
Updating News...
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 1, 2024
1 parent 26457a8 commit 2fbe95c
Show file tree
Hide file tree
Showing 120 changed files with 26,211 additions and 11,566 deletions.
178 changes: 178 additions & 0 deletions docs/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/ar/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/bn/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/cs/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/da/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/de/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/el/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/es/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/fi/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/fr/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/he/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/hi/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/hu/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/id/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/it/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/ja/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/ko/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/nb/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/nl/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/pl/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/pt/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/ro/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/ru/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/sk/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/sv/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/ta/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/th/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/tr/docusaurus-plugin-content-docs/current/2024/05/01.md

Large diffs are not rendered by default.

178 changes: 178 additions & 0 deletions i18n/zh-Hans/docusaurus-plugin-content-docs/current/2024/05/01.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
---
slug: '/2024/05/01'
---

# 2024-05-01

## [美国缉毒局提议对大麻重新分类](https://apnews.com/article/marijuana-biden-dea-criminal-justice-pot-f833a8dae6ceb31a8658a5d65832a3b8)

- 美国缉毒署正在考虑将大麻重新归类为危险性较低的毒品,这有可能重塑美国的毒品政策。
- 拜登总统支持对联邦大麻法进行审查,并对持有大麻的人给予宽大处理。
- 拟议的变革可能会使联邦毒品政策与各州的合法化运动保持一致,并吸引年轻选民,从而可能有利于总统拜登的公众形象。

### [反应](https://news.ycombinator.com/item?id=40213591)

- 讨论深入探讨了美国大麻合法化和监管的各个方面,如重新分类、银行法规的影响、药房安全、商业挑战以及加密货币在交易中的使用。
- 它还探讨了联邦法律的影响、大麻零售市场以及对毒品使用和合法化的不同观点。
- 讨论中重点关注的问题包括错误信息、入门药物和大公司对市场的影响。

## [探索 CSS 网格中的音乐符号](https://cruncher.ch/blog/printing-music-with-css-grid/)

- Scribe 原型利用 CSS 网格生成网格状的五线谱,以提高音乐符号在网络上的可访问性和流畅性。
- 它演示了如何通过 CSS 网格和数据属性在谱表上定位音乐符号,使用 CSS 修改布局和间距,并强调了系统的限制和潜在的增强功能。
- 其他功能还包括鼓和钢琴的谱表分割、多谱表渲染,并提供了爵士乐标准曲目的可移调领奏乐谱。

### [反应](https://news.ycombinator.com/item?id=40216057)

- 文章深入探讨了如何在音乐符号中使用 CSS 网格,并概述了其优势和局限性。
- 评论者对 CSS 提出了改进建议,旨在更有效地解决音乐排版问题。
- 用户就渲染音乐符号交换意见,探索不同的工具和替代方法,并就 CSS 与其他方法相比的有效性发表不同意见。

## [利用 Pyinfra 简化基础设施自动化](https://pyinfra.com/)

- pyinfra 是一款用于基础架构自动化的 Python 工具,具有速度快、可扩展性强、用途广泛等特点,适用于临时命令、服务部署和配置管理。
- 它提供快速执行、即时调试、幂等操作以及与连接器的集成,使其成为基础设施自动化的全面解决方案。
- 用户可以通过 pip 安装 pyinfra,通过 SSH 运行命令,使用操作定义状态,使用 Python 代码部署任务,还可以使用 Python 软件包生态系统灵活地对其进行扩展。

### [反应](https://news.ycombinator.com/item?id=40211655)

- 比较 Pyinfra、Ansible、Puppet 和 Terraform 等基础设施自动化工具的声明式和命令式方法、复杂性、优势和局限性。
- 用户称赞基于 Python 的 Pyinfra 可用于自动化任务,对 Ansible 和 Puppet 的局限性表示担忧,并强调了状态管理在基础设施自动化中的重要性。
- 讨论内容包括高效管理大型服务器群所面临的挑战、声明式编程的好处,以及 DRY 编程原则与配置管理简易性之间的平衡。

## [Borgo:编译为 Go 的静态类型语言](https://github.com/borgo-lang/borgo)

- Borgo 是一种移植到 Go 的新编程语言,结合了 Go 的简洁性和 Rust 的表现力。
- 它包括代数数据类型、模式匹配、使用 ? 运算符进行错误处理,并与现有的 Go 软件包兼容。
- Borgo 语法与 Rust 相似,带有可选的分号,并提供了一些功能,如用于处理 nil 的 Option 和用于多个返回值的 Result,并通过一个猜谜游戏示例进行了演示。

### [反应](https://news.ycombinator.com/item?id=40211891)

- 讨论深入探讨了 Borgo(一种转译为 Go 的语言),它解决了 Go 代码中常见的问题,并提供了枚举和可选类型等附加功能。
- 用户对 Borgo 的功能很感兴趣,指出了 Go 等有主见语言的优点和缺点,讨论了通过 try/catch 处理错误与 Go 处理错误的比较,并强调了惯用命名规则的重要性。
- 对话还涉及编译器与转译器的区别、向后兼容性的挑战以及编译成其他语言的语言实例,重点是语言设计、错误管理和跨语言兼容性。

## [Reddit 曝光:机器人 10 个月后转贴主题](https://lemmy.blahaj.zone/post/11615413)

- Reddit 用户 Blaze 和 Lemmy.world 发现,在 10 个月后,机器人逐条评论重复发布了整个主题。
- 这一发现凸显了 Reddit 上机器人的存在,它们从事重复行为,并有可能操纵讨论。
- 这一事件引发了人们对平台上用户互动和内容真实性的担忧,强调了检测和处理僵尸活动的重要性。

### [反应](https://news.ycombinator.com/item?id=40211010)

- Reddit 对话的重点是机器人转贴内容、虚假账户推销产品以及通过人工智能生成的内容操纵讨论的可能性等问题。
- 关于信息可靠性、有偏见的维基百科编辑和企业影响的担忧是普遍的话题。
- 为应对这些挑战,提出的解决方案包括在线身份识别系统、护照验证以及用狗来对付机器人。

## [Extension.js:简化的网络扩展创建工具](https://github.com/cezaraugusto/extension.js)

- Extension.js 是一款浏览器扩展开发工具,通过提供对 TypeScript、WebAssembly、React 和现代 JavaScript 的内置支持,简化了开发流程。
- 它消除了对复杂配置和设置说明的要求,使开发人员能够专注于编码。
- 该工具可无缝集成到 npm 脚本中,简化了跨浏览器扩展的创建过程,无需进行构建配置。该工具最初是为扩展开发教育而创建的,现在面向公众开放使用,并鼓励反馈。

### [反应](https://news.ycombinator.com/item?id=40210627)

- Extension.js 是一款简化网络扩展创建的 CLI 工具,支持 TypeScript、WebAssembly、React 和现代 JavaScript,与 Chrome 和 Edge 完全兼容,未来还将兼容 Firefox 和 Safari。
- Github 和 HN 等平台上的讨论主要集中在 Extension.js 的功能、与 Plasmo 等框架的比较,以及使用突变观测器和 CSS 等工具修改网页和 SPA 的策略。
- 社区反馈涉及 Extension.js 的改进建议和即将推出的浏览器支持计划。

## [文件档案系统使用 Unix 工具处理现代数据](https://mgree.github.io/ffs/)

- ffs 是一个文件文件系统,用户可以将 JSON 等半结构化数据挂载到 Unix 文件系统上,并使用标准 shell 工具进行操作。
- 它支持 JSON、YAML 和 TOML 格式,支持就地文件编辑,在 Linux 上需要 FUSE,在 macOS 上需要 macFUSE,采用 GPLv3 许可。
- ffs 由 mgree 开发,与 jq 和 gron 等工具相比,它提供了一种不同的命令行数据处理方法。

### [反应](https://news.ycombinator.com/item?id=40213731)

- 争论的焦点是如何在 macOS 等操作系统上实现用户可访问的文件系统功能,由于苹果公司的 API 限制和对第三方工具(如 osxfuse)的依赖,这些功能面临着挑战。
- 用户对苹果对外部开发者的限制感到不满,担心可靠性和数据完整性,因此提出了利用 NFS 等建议。
- 讨论内容还包括将 Git 提交挂载为文件系统、将缓冲区视为文件、利用 XPath 技术将 XML 映射到文件系统等创新想法,并探讨了技术细节和技术社区内潜在的利弊。

## [Penpot 2.0:基于网络的新型开源设计工具,实现无缝协作](https://penpot.app/)

- Penpot 2.0 是一个基于网络的开源设计工具的新版本,可促进设计师和开发人员之间的协作。
- 用户可以自行托管 Penpot,并从其集成、开放式设计方法和支持性社区中获益。
- 该工具巧妙地利用网络和开发标准来加强设计和开发流程,促进无缝工作流程,在促进设计师和开发人员合作的 Penpot Fest 会议上展示了这一点。

### [反应](https://news.ycombinator.com/item?id=40218463)

- 对话将 Inkscape 和 Penpot 等开源设计工具与 Figma 等专有设计工具进行对比,强调优势和挑战。
- Inkscape 因其易于使用可缩放矢量图形 (SVG) 而受到称赞,Blender 向开放源代码的过渡也得到了认可。
- 设计人员和开发人员之间的合作被强调为软件开发中用户体验(UX)的关键,并展示了对 Figma 和 Penpot 等用户界面设计工具的不同看法。

## [欧洲的创业警钟](https://klinger.io/posts/eu-acc)

- 作者通过展示欧洲企业家的勤奋工作和冒险精神,反驳了欧洲人比美国人懒惰和规避风险的观念,从而挑战了人们的刻板印象。
- 建议包括在欧盟建立标准化的法律实体,加强英语教育,努力建立统一的商业市场,以解决监管差异和初创企业早期支持有限等障碍。
- 这些建议旨在为欧洲的创业营造更有利的环境,并鼓励政策制定者重新思考促进欧洲大陆创业发展的战略。

### [反应](https://news.ycombinator.com/item?id=40213400)

- 美国软件开发人员喜欢冒险,而欧洲则强调安全,两者在工作文化上存在差异。
- 旧金山是美国科技界独一无二的冒险和长时间工作中心,影响着生产力和招聘方式。
- 对话深入探讨了欧洲科技公司在英国脱欧后面临的挑战,强调了英语流利和投资对于与人工智能领域占主导地位的美国市场竞争的重要性。

## [用可微编程探索神经网络](https://www.sscardapane.it/alice-book)

- "爱丽丝可微分仙境历险记》是一本介绍神经网络和可微分编程的书籍,强调自动微分以优化函数。
- 本书涵盖了序列、图形、文本和音频的设计技术,重点介绍了卷积、注意和递归块,并使用 PyTorch 和 JAX 解释了大型语言模型和多模态架构等高级模型。
- 其他章节将深入探讨模型重用、密度估计、条件计算和模型调试等主题,旨在架起理论与实际代码执行之间的桥梁。

### [反应](https://news.ycombinator.com/item?id=40213292)

- 讨论涉及使用可微分基元优化神经网络,以及随机梯度下降和随机权重扰动等基于梯度的方法所面临的挑战。
- 重点在于准确描述算法、深入理解数学概念、结合雅各布矩阵以及区分神经网络中的函数式编程和传统编程。
- 就人工神经网络与生物神经元之间的关系展开辩论,探讨计算能力、操作、梯度泛化等方面的差异,以及与知识产权相关的潜在法律问题。

## [特斯拉裁掉整个超级充电站团队](https://electrek.co/2024/04/29/tesla-conducting-more-layoffs-including-entire-supercharger-team/)

- 特斯拉正在进行更多的裁员,整个超级充电器团队都将受到裁员的影响。
- 由于超级充电站网络在特斯拉基础设施中的重要性,该公司将超级充电站团队纳入裁员范围的决定引起了人们的关注。

### [反应](https://news.ycombinator.com/item?id=40209382)

- 股东们正在讨论埃隆-马斯克的领导力、决策和最近的裁员,包括 550 亿美元的股票授予。
- 人们对 SpaceX 和特斯拉的可持续性和盈利能力、马斯克的行为变化以及公司的工作保障表示担忧。
- 关于马斯克作为领导者的有效性、他的公司的未来以及他的决策对公司估值和成功的影响,质疑声一直不绝于耳。

## [美国缉毒署将大麻从附表一重新分类为附表三](https://norml.org/blog/2024/04/30/dea-accepts-health-agencys-recommendation-to-reclassify-cannabis/)

- 美国缉毒署将根据卫生与公众服务部的建议,将大麻从附表 I 改列附表 III,承认其治疗功效。
- 尽管进行了重新分类,但由于州和联邦大麻法律之间的差异,挑战依然存在。
- 这一过程包括白宫管理和预算办公室的审查、公众反馈、行政听证以及在实施任何修改之前的最终决定。

### [反应](https://news.ycombinator.com/item?id=40219201)

- 缉毒局接受了一个卫生组织的指导,对大麻进行了重新分类。
- 这一决定标志着大麻法律地位的重大转变。
- 有关详细信息,请参阅提供的链接。

## [用故事扩散释放创造力](https://storydiffusion.github.io/)

- StoryDiffusion 是一款多功能工具,它利用持续的自我关注来创作令人印象深刻的漫画和高质量视频,并保持角色的一致性。
- 它能生成一致的卡通人物图像,同时管理多个人物 ID,并能将用户输入的图像作为条件。
- 受布玛风格的启发,该工具采用了动作预测器来提高输出质量和独特性。

### [反应](https://news.ycombinator.com/item?id=40218021)

- StoryDiffusion 是一款生成具有自然动作的图像和视频的工具,不过用户也注意到了连续性错误。
- 用户讨论了使用生成式人工智能创建利基内容和潜在的垃圾邮件,对 GitHub 链接的隐私和亚马逊上自动生成的电子书的质量表示担忧。
- 对话深入探讨了生成式人工智能技术的能力和制约因素。

## [Arti:实施 Tor 匿名协议的 Rust 项目](https://tpo.pages.torproject.net/core/arti/)

- Arti 是一个 Rust 项目,它实现了 Tor 匿名协议,提供了一个功能强大的 Tor 客户端,并支持早期的洋葱服务。
- 目前正在进行开发,以提高安全性,使其与 C Tor 实现相匹配,因此目前只适合用于实验目的。
- 最新发布的版本是 1.2.0,提供了各种资源,如 README、源码库、API 文档、贡献指南、常见问题和 Tor 相关详细信息。

### [反应](https://news.ycombinator.com/item?id=40214763)

- 文章深入探讨了用 Rust 代码编写的 Tor 实现 Arti,分享了对其开发、融资的见解,以及对实验使用的建议。
- 就 Arti 的现状和潜在安全漏洞展开了讨论,引起了用户对重要注意事项的关注。
- Rust 中的 Arti 为 Tor 的实现提供了一个独特的视角,其开发方面和安全方面的影响引起了人们的兴趣。

<head>
<meta property="og:title" content="美国缉毒局提议对大麻重新分类" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://og.cho.sh/api/og/?title=%E7%BE%8E%E5%9B%BD%E7%BC%89%E6%AF%92%E5%B1%80%E6%8F%90%E8%AE%AE%E5%AF%B9%E5%A4%A7%E9%BA%BB%E9%87%8D%E6%96%B0%E5%88%86%E7%B1%BB&subheading=2024%E5%B9%B45%E6%9C%881%E6%97%A5%E6%98%9F%E6%9C%9F%E4%B8%89%3A%20%E9%BB%91%E5%AE%A2%E6%96%B0%E9%97%BB%E6%91%98%E8%A6%81" />
</head>

0 comments on commit 2fbe95c

Please sign in to comment.