2026-01-22

24 篇热帖

Show HN: Sweep, Open-weights 1.5B model for next-edit autocomplete

Sweep Next-Edit 代码补全模型总结

该模型是一个1.5B参数的下一编辑补全模型,已量化为Q8_0 GGUF格式。

主要特点:

  • 功能描述: Sweep Next-Edit旨在预测开发者接下来要做的代码编辑。
  • 性能: 模型可以在笔记本电脑上本地运行,延迟小于500ms(使用投机解码),并在下一编辑基准测试中优于其四倍大小的模型。
  • 使用方法:
    • 下载 run_model.py 和模型文件。
    • 使用 pip install llama-cpp-python huggingface_hub 安装依赖。
    • 运行 python run_model.py 启动模型。
  • 模型细节:
    • 格式: GGUF (Q8_0 量化)
    • 参数量: 1.5B
    • 上下文长度: 8192 tokens
    • 基础模型: Qwen2.5-Coder
  • 提示格式: 模型使用特定的提示格式,包含文件上下文、最近的diff以及当前状态,用于预测下一个编辑。 具体示例请参考 run_model.py

相关链接:

许可证: Apache 2.0

We will ban you and ridicule you in public if you waste our time on crap reports

curl 项目安全漏洞报告政策摘要

该文档概述了 curl 开源项目关于安全漏洞报告的处理政策。以下为主要内容:

Scientists find a way to regrow cartilage in mice and human tissue samples

Scientists at Stanford Medicine have discovered a treatment that can reverse cartilage loss in aging joints and even prevent arthritis after knee injuries. By blocking a protein linked to aging, the therapy restored healthy, shock-absorbing cartilage in old mice and injured joints, dramatically improving movement and joint function. Human cartilage samples from knee replacement surgeries also began regenerating when exposed to the treatment.

JPEG XL Test Page

JPEG XL 测试页面总结

该页面旨在展示 JPEG XL 图像,以测试浏览器对该图像格式的支持情况。截至2026年1月,目前仅Safari浏览器能够正确显示该图像,其他浏览器支持情况请参考Can I Use

页面中包含一张图像,图像中的人物是Jon Sneyers,他是JPEG XL规范的联合作者,并且也是“Free Lossless Image Format”的创建者。

该页面作者认为JPEG XL的开发历史颇具意义。曾经,JPEG XL曾在Chrome浏览器中实现,但被隐藏在功能标记后面。之后,Chrome表示由于使用量不足(这其实并不令人意外),便将其移除。如今,Chrome重新认可了JPEG XL,并正在重新添加支持。 更多相关信息可以在JPEG XL Wikipedia页面中找到。

总结关键点:

  • 目的: 测试浏览器对JPEG XL图像格式的支持。
  • 现状: 目前仅Safari支持。
  • 人物: 图像中的人物为Jon Sneyers,JPEG XL规范的联合作者。
  • 历史: JPEG XL在Chrome浏览器中的实现经历过启用、移除和重新添加的过程。
  • 参考: 提供了Can I Use和Wikipedia页面链接,方便读者了解更多信息。
TerabyteDeals – Compare storage prices by $/TB

Okay, I'm ready. Please provide the content you want me to summarize. I will do my best to provide a concise and accurate summary in markdown format and Chinese language, adhering to your specified constraints. I'll wait for your input.

From stealth blackout to whitelisting: Inside the Iranian shutdown

Iran is in the midst of one of the world’s most severe communications blackouts. This post uses Kentik data to detail how this historic event unfolded, where this event lies in the context of previous Iranian shutdowns, and finally discusses what might be in store next for Iran.

Show HN: Rails UI

Professionally designed Tailwind CSS UI components and templates made exclusively for Ruby on Rails. Ship faster with beautiful, production-ready designs.

FreeBSD

A constantly evolving, comprehensive resource for FreeBSD users