
Joy & Curiosity #89
Interesting & joyful things from the previous week
563 articles · Fresh posts aggregated from independent blogs across the directory.

Interesting & joyful things from the previous week

An internal note to the Amp team on feedback and shipping faster
There are a bunch of JavaScript animation libraries out there, and you might have wondered whether there’s a performance cost compared to traditional CSS transitions and keyframe animations. In this blog post, we’ll compare the same animation across several d…
公司采购了 CoStrict,打开一看国产主流大模型挺全的,正打算好好把玩一番却发现官方只支持 VSCode 插件,于是连夜撸了个转发工具,顺便开源了 😋 costrict-router 是一个第三方的 CoStrict 接口转发工具,它可以将任意 OpenAI 兼容(Chat Completions)的请求转发到你指定的私有化 CoStrict 服务端上 你可以把它理解成一个 本地 CoStrict 入口:登录一次后,后续只需要把 Agent 工具的 Base URL 指向本地地址即可 🔗 http
缺氧(Oxygen Not Included, ONI)和异星工厂(Factorio)都是自动化领域的神作,它们在 Steam 上都有自动化、基地建设、资源管理的标签,可见游戏体验上有相当多的相似之处。玩家群体也高度重合。但是什么造就了它们的独特性?而不会像 Satisfactory 或戴森球计划之于异星工厂那样,有着深深的同类基因。 从游戏核心上看: 缺氧把玩家放在一个有限资源的环境下,一切都是资源转换。玩家玩游戏是一个熵治理过程,把无序变为有序。除了玩家的主动行为,还有丰富的、半随机的、环境自然推演。缺氧的物…

又玩了半个月的缺氧,目前累积游戏时间已达 645 小时,感觉对这个游戏有了更多理解。 我重新开了一盘,尝试用纯仿生人开局,依旧是保持 3 个初始小人开荒。仿生人不用吃食物,三个周期集中做一次呼吸,只要解决了能源问题,玩起来还是很舒服的。但仿生人需要定期上油,基本的方案是用排泄的残渣油做成润滑膏自循环。但我在查配方表的时候发现:润滑膏其实可以裂解成石油,而润滑则可以用菌泥榨成植物油替代。这样,似乎就多了一种方法在游戏初期拿到石油。 在我的理解中,缺氧的石油在开荒期的主要用途是做精炼金属的冷却剂,配合蒸汽机可以做到净…

或许真正的好东西,往往不是“组织”出来的前几天刚和朋友讨论完,SQLite和Linux哪个是安装最多的软件。最近发现X上都在讨论SQLite。在这个结论之前,先说一个你可能没想过的问题:SQLi...
If you have tried looking for a multi-user Homebrew setup, chances are, this article from CodeJam is among your top Google results and you have read it many a time. It shared experiences of using a shared Homebrew setup and discussed three ways to make it wor…
The new Animation Timeline API allows us to create dynamic scroll animations without any JavaScript! It’s honestly a very lovely API, and in this blog post, we’ll explore some of the super cool things we can do with it.
Since Python 3.12 (which enforces PEP 668) shipped with Ubuntu 24.04, like many others, I found my usual habit of installing PyPI packages to my user site directory (~/.local) no longer working due to the externally-managed-environment restriction. I consider…
Have you ever heard of Disney’s 12 Basic Principles of Animation? In this tutorial, we’ll explore how we can use the very first principle to create SVG micro-interactions that feel way more natural and believable. It’s one of those small things that has a big…
There is a lil’ UI detail on this blog. Most people don’t even notice it, but the ones who do often reach out, asking how on earth it works. It feels like it defies the rules of CSS! In this blog post, I’ll break down the surprisingly-straightforward implemen…