2025-08-12

44 篇热帖

1. Wikipedia loses challenge against Online Safety Act (www.bbc.com)

The Wikimedia Foundation says the new rules could threaten user privacy and safety.

3. Why are there so many rationalist cults? (asteriskmag.com)

There’s a lot to like about the Rationalist community, but they do have a certain tendency to spawn — shall we say — high demand groups. We sent a card-carrying Rat to investigate what’s really going on.

4. GitHub was having issues (www.githubstatus.com)

GitHub's Status Page - Incident with search on GitHub we are seeing increased failure rates.

5. Australian court finds Apple, Google guilty of being anticompetitive (www.ghacks.net)

Apple and Google have been dealt a big blow in a Federal Court trial in Australia.

7. StarDict sends X11 clipboard to remote servers (lwn.net)

StarDict is a GPLv3-licensed cross-platform dictionary application. It includes dictionaries f [...]

8. Training language models to be warm and empathetic makes them less reliable (arxiv.org)

Abstract page for arXiv paper 2507.21919: Training language models to be warm and empathetic makes them less reliable and more sycophantic

9. Starbucks in Korea asks customers to stop bringing in printers/desktop computers (fortune.com)

“You can just go and have a cup of coffee, work there—but people are taking it a little bit to the extreme nowadays,” one Korean studies professor said.

10. That viral video of a 'deactivated' Tesla Cybertruck is a fake (www.theverge.com)

A viral video of a “deactivated” Tesla Cybertuck has been confirmed as a hoax.

12. Journaling using Nix, Vim and coreutils (tangled.sh)

使用Nix、Vim和核心工具进行日志记录

该日志系统基于Ryder Carroll的子弹笔记法,使用Nix、Vim(或neovim)、核心工具(coreutils)和dateutils构建。系统以纯文本形式管理,强调简洁性与可定制性。

系统结构与格式

  • 文件组织:日志按年份和月份组织为目录和文件。每个年份是一个目录(如2023/),其中包含12个文件,分别对应每个月(如0112)。
  • 月历生成:每个文件以通过cal -m命令生成的月历开头,提供日期概览。
  • 周计划:用户按周规划,每周以标题(如week 1)开始,每条记录占一行。条目使用前缀符号区分类型:
    • todo(待办)
    • done(已完成)
    • event(事件)
    • note(备注)
    • moved(已迁移)

符号优化与排序

  • 简化输入:使用Vim的缩写功能(:iabbrev)将常用符号(如tododone)自动替换为更简洁的Unicode字符(如·×),提升可读性。
  • 条目分组与排序:利用Vim的排序功能(sort)自动按符号分组排列条目。通过设置formatprg变量,可使用gqip快捷键对当前周的条目进行排序,将待办事项置顶。

语法高亮增强

通过定义语法匹配规则(:syntax match)和高亮组(:highlight),为不同类型的条目添加颜色(如待办项、已完成项、事件等),增强视觉区分度。

习惯跟踪(示例功能)

  • 在周条目中可添加习惯跟踪标题(如spend),下列具体项目(如支出记录)。
  • 使用awk脚本(如spend.awk)统计月度总支出,展示如何通过外部命令处理日志数据。

多文件查看与反思

  • 使用Vim的多窗口功能(vim -O)同时打开多个月份文件,便于回顾和对照历史记录。

减少操作摩擦

  • 快速打开当前月份:通过组合date和Vim命令,直接打开基于系统日期的当月文件。
  • 打开时间窗口内文件:利用dateutils工具中的dateseq生成日期范围,结合Vim命令打开前后各两个月的日志文件,方便集中查看近期记录。

环境配置

系统提供Nix flake文件和示例vimrc,通过nix develop和示例脚本可快速搭建环境,启动日志记录。

该方法利用命令行工具和Vim的强大编辑功能,实现了灵活、高效且可定制的纯文本日志管理。

14. Japan's largest paper, Yomiuri Shimbun, sues Perplexity for copyright violations (www.niemanlab.org)

The Yomiuri Shimbun, Japan’s largest newspaper by circulation, has sued the generative AI startup Perplexity for copyright infringement. The lawsuit, filed in Tokyo District Court on August 7, marks the first copyright challenge by a major Japanese news publisher against an AI company.

The fil…

15. Enlisting in the Fight Against Link Rot (jszym.com)

Google is killing a decade of its shortened links. Will you enlist in the fight against link rot?

16. Show HN: I built an offline, open‑source desktop Pixel Art Editor in Python (github.com)

Tilf (Tiny Elf) is a free, simple yet powerful pixel art editor built with PySide6. It’s designed for creating sprites, icons, and small 2D assets with essential drawing tools, live preview, undo/redo, export options and more. - danterolle/tilf

17. Ollama and gguf (github.com)

Ollama GGUF模型加载失败问题

问题描述

用户报告在运行GGUF格式模型时遇到错误,而原始模型可以正常运行。问题被初步诊断为可能需要更新Ollama内部使用的ggml库依赖。

关键错误日志

在模型初始化过程中出现以下错误:

gguf_init_from_file_impl: tensor 'blk.0.ffn_down_exps.weight' has invalid ggml type 39 (NONE)
gguf_init_from_file_impl: failed to read tensor info

这表明Ollama在解析GGUF文件时,遇到了一个其内置ggml类型系统无法识别的张量类型(类型编号39,对应NONE类型)。

核心矛盾点

  • 同一模型,不同表现:该GGUF模型在独立的 llama.cpp 中可以正常运行。
  • 问题定位:这明确指向问题源于 Ollama 内部集成的 ggml/llama.cpp 版本与当前生成的某些GGUF模型格式之间存在兼容性差距。

潜在解决方案

用户引用了一个相关的上游仓库Pull Request (ggml-org/llama.cpp#15091),暗示解决此问题可能需要将Ollama项目依赖的 llama.cpp 库更新到包含该修复的版本,以支持更新的GGUF张量类型。

19. Kodak says it might have to cease operations (www.cnn.com)

Eastman Kodak, the 133-year-old photography company, is warning investors thats it might not survive much longer.

21. Neki – sharded Postgres by the team behind Vitess (planetscale.com)

Sharded Postgres by the team behind Vitess

22. What does it mean to be thirsty? (www.quantamagazine.org)

The effects of insufficient water are felt by every cell in the body, but it’s the brain that manifests our experience of thirst.

23. ARM adds neural accelerators to GPUs (newsroom.arm.com)

Explore Arm Neural Technology, the first to integrate neural accelerators into GPUs, enhancing mobile graphics with AI.

24. Qodo CLI agent scores 71.2% on SWE-bench Verified (www.qodo.ai)

Read about Qodo scores 71.2% on SWE-bench Verified in our blog.

25. UK government advises deleting emails to save water (www.gov.uk)

Five areas remain in drought with six more in prolonged dry weather

27. Recto – A Truly 2D Language (masatohagiwara.net)

Recto is a 2D programming language that uses nested rectangles as its core syntax, encoding structure and recursion directly in space instead of a linear stream of text. Recto explores new ways to write, parse, and reason about code—and even natural language—spatially.

30. Progress towards universal Copy/Paste shortcuts on Linux (mark.stosberg.com)

Linux终端中复制/粘贴快捷键传统上需要额外的Shift修饰符(如Ctrl+Shift+C/V)。本文介绍了一种基于历史键盘物理复制/粘贴键码的通用解决方案,预计到2025年底将在大多数应用中无需额外软件即可使用。

硬件方面,可编程键盘(如System76 Launch、Framework 16、ZSA Moonlander、Keychron Q10)支持自定义层,可将按键映射为发送复制/粘贴键码。用户可通过键盘配置工具(如System76配置工具或Vial)设置,例如在按下功能层时,C/V键触发复制/粘贴操作。

软件方面,关键进展在于GUI工具包的支持:GTK于2025年1月添加了复制/粘贴键码支持;QT计划在2025年9月发布的6.10版本中支持。这将覆盖大量GNOME、KDE及其他应用。终端应用如Alacritty、Foot和Wezterm已支持,Gnome Terminal和Konsole预计在2025年底前更新后支持。浏览器方面,Firefox、Zen和Vivaldi已支持粘贴键码,而Chromium和Brave尚不支持。

目前尚未有项目拒绝将复制/粘贴键码默认绑定到对应操作。文章鼓励用户为缺失支持的应用提交问题或补丁,并探索可编程键盘的其他层功能(如便捷访问Home、End等键)。

31. Chris Simpkins, creator of Hack font, has died (typo.social)

Sadly, Christopher Simpkins (@csimpkins) died on June 20th 2025. He was kind, patient deeply curious and knowledgeable. I miss his humble, enlightening, and cheerful ways.

Chris managed the development of the recently published Google Sans Code typeface. He was passionate about the project and I enjoyed working with him to gather Developer community feedback. https://github.com/googlefonts/googlesans-code

The funeral home provides an opportunity to read, and leave messages: https://www.rand-wilson.com/obituary/christopher-simpkins

32. Compiler Bug Causes Compiler Bug: How a 12-Year-Old G++ Bug Took Down Solidity (osec.io)

A subtle G++ bug from 2012, C++20's new comparison rules, and legacy Boost code can collide to crash Solidity's compiler on valid code. We unpack the surprising chain reaction and how to fix it.

33. The value of institutional memory (timharford.com)

In 1978, a dredging gang working for British Waterways was struggling with a problem. They were trying to clear obstacles on the Chesterfield Canal so they could stabilise a concrete wall — not an easy day’s work. But what really had them stumped was a heavy iron chain on the canal bottom. After various attempts,…

34. Learn, Reflect, Apply, Prepare: The Four Daily Practices That Changed How I Live (opuslabs.substack.com)

The Four Daily Practices That Changed How I Live and Work

35. Syncthing 2.0 Released (github.com)

Open Source Continuous File Synchronization. Contribute to syncthing/syncthing development by creating an account on GitHub.

37. LLMs' "simulated reasoning" abilities are a brittle mirage (arstechnica.com)

Chain-of-thought AI "degrades significantly" when asked to generalize beyond training.

38. Radicle 1.3.0 (radicle.xyz)

The Radicle forge is an open source, peer-to-peer code collaboration stack built on Git.

42. Reddit will block the Internet Archive (www.theverge.com)

Reddit caught AI companies scraping its data from the Internet Archive’s Wayback Machine, so it’s going to limit the Internet Archive from indexing some data.

43. The Joy of Mixing Custom Elements, Web Components, and Markdown (deanebarker.net)

Custom Elements are basically Markdown for HTML