广场

科技爱好者周刊(第 418 期):如果科技停止在21世纪初

这里记录每周值得分享的科技内容,周五发布。 本杂志 开源 ,欢迎 投稿 。另有 《谁在招人》 服务,发布程序员招聘信息。合作请 邮件联系 (yifeng.ruan@gmail.com)。 封面图 雄安新区正在建设的雄安大剧院,它的幕墙采用 3D 打印装饰板拼贴而成,是世界最大的 3D 打印建筑幕墙。( via ) 如果科技停止在21世纪初 (1) 网上流行一道题目,大家应该都见过:" 如果可以穿越,你愿意生活在哪个朝代? " 我觉得,这个题目有点侮辱智商,因为答案显而易见。正常人肯定只愿意生活在现代,而且越现代越好。 理由很简单,古人没有科技,生活之艰难,现代人难以想象,更不要说亲身体验了。我随便说几点:食物调料只有盐,其他调料很少,更没有糖;没有冰箱保存食物,只能腌制和烟熏来长期保存;晚上点油灯或柴火照明;平均寿命30多岁。这样的生活,你愿意过吗? (2) 但是,前几天读到 一篇文章 ,却让我陷入了沉思。 作者明确希望,回到21世纪开始的那几年,而且人类文明就停在那里,不要再向前发展了。 他认为,技术并不是越现代越好,而是需要与人类平衡。21世纪初才是科技与现实生活的完美平衡点,人类既能生活得足够轻松方便,又能有生活的主导权。 再往后发展,到了现在,技术完全占据了主导,控制了社会,人类反倒成了附庸,自主权几乎丧失。 (3) 具体来说,就是他想回到2007年6月29日之前,最佳时期是2003年左右。 那一天,苹果公司发布了 iPhone,标志人类进入智能手机时代。 在此之前,大部分人都用功能手机,那种手机有一些智能功能,但又不足够智能。 它可以打电话、发短信、玩贪吃蛇、浏览简单…

阮一峰的网络日志开发技术中文

Yac 3.0 发布:常见缓存负载吞吐提升 42%

Yac 3.0 发布, 进一步优化了单机 PHP 共享内存缓存的核心读写路径:引入 Inline 存储,让短 key 携带短字符串和 double 值时不必分配 values block;用 Versioned Snapshot 降低读路径协调成本;通过 Memory Epoch 在可证明数据稳定时跳过 CRC-32C,并保留必要的校验 fallback;同时统一内部 serializer,并新增 Yac::has() 等 API。基准测试中,Yac 3.0 相比 2.4.2 在 6B 到 8KB 的匹配负载中几何平均吞吐提升 42.3%,常见小值路径最高提升 95.4%。

风雪之隅(鸟哥)开发技术中文

Universal I/O in Qdrant

Most software is built on an unspoken assumption: data lives on disk, and is read from and written to it. The assumption usually holds, until a new way (or need) of storing data appears. For Qdrant, that happened with serverless mode , where the data sits in object storage instead of on a disk next to the process. This blog tells the story of Universal I/O, the interface we built so that the same code could work in both worlds, and of the design choices that keep the local path cheap. This read is particularly relevant if you are a systems programmer, and some knowledge of Rust will help you follow the code, but the lessons should carry over to many other kinds of software.

QdrantAI 工具英文

The best way to use icons in Web UIs

TL;DR? Jump to demo I’ve always had a soft spot for icons 1 . Not only do they add polish to a UI, they can also tangibly improve usability. Familiar icons help users find what they need quickly, since we recognize pictures much faster than we read words. And as a web architect at heart, the current dominant ways we have to include icons on the Web make me sad. While there are many, many different ways to include icons in a Web UI, each with different performance characteristics , by far the most common ones involve adding inline SVG to the HTML. For example, a trash icon might be included like this: <button> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" …

Lea Verou开发技术英文

See You Down the Road

When I left Sixt, I sent a farewell letter to the people I worked with. This is that letter, with the names of people and internal systems left out. Those it thanks know who they are. Dear friends, colleagues, and everyone I have shared a project, a debate, a lunch, a late evening, a weekend, or an experience with: I am writing to wrap up my thesis at Sixt. As