Quantcast
Channel: Programming – Gea-Suan Lin's BLOG
Browsing latest articles
Browse All 131 View Live

XSLT

居然看到 XSLT:「XSLT – Native, zero-config build system for the Web (github.com/pacocoursey)」,原連結是 GitHub 上的 pacocoursey/xslt。 一開始的 XSLT 可以吃 XML 資料進來 (現在的 XSLT 支援更多種類),然後透過語法轉換成 XHTML,不需要透過 JavaScript。 當年...

View Article


Rust Compiler 的加速方法

在 Hacker News 上看到「Why is the Rust compiler so slow? (sharnoff.io)」這篇在講 Rust Compiler 的加速方式,原文是:「"Why is the Rust compiler so slow?"」。 裡面有提到 optimization 是最花時間的部分,但比較有趣的是最後在發表後有人的給的建議,malloc...

View Article


傳統的 cgi-bin 遇到現代的硬體

前幾天先在 Lobsters 上看到「Serving 200 million requests per day with a cgi-bin 」這篇,在講上古時期 (1990?2000?) 實作動態網頁頗流行的 CGI 在現代的硬體上跑起來的情況。 CGI 是將資訊透過環境變數設定後,再用 fork() + exec() 執行 script,其中主要的問題就在於 script...

View Article

Apple 弄的 MLX 可以跑在 CUDA 上了

前幾天在「Apple's MLX adding CUDA support (github.com/ml-explore)」這邊看到的,原連結是個 Pull Request:「[WIP] CUDA backend #1983」,裡面有提到: This work is sponsored by Apple. 先前有壤 CUDA 的程式直接跑在非 Nvidia 的硬體上,包括了「在 Intel...

View Article

Zend 的多次易主

還是跟「PHP RFC: PHP License Update」這篇相關,裡面看到 Zend 與 Perforce 的資料才注意到 Zend 已經被交易好幾次了。 2015 年十月的時候被 Rogue Wave Software 收購: In October 2015, Louisville, Colorado-based software developer Rogue Wave Software...

View Article


PHP 提議將軟體授權改為 BSD-3-Clause

在東京的時候看到「PHP RFC: PHP License Update」這篇,花了不少時間看完整篇,先把其他兩個主題整理出來: OSI 的 legacy approval Zend 的多次易主 這次的提案想要把 PHP 的軟體授權改成 BSD-3-Clause,屬於 OSI 認定的 BSD licenses 之一,與其他 license 的相容性算是很好的。 裡面比較重要的是「Change...

View Article

PyPI 宣佈阻擋 inbox.ru 的註冊

在「PyPI Prohibits inbox.ru email domain registrations (pypi.org)」這邊看到的,PyPI 的公告在「Prohibiting inbox.ru email domain registrations」。 這次的公告比較特別,是有看到攻擊的「前置作業」而預先決定阻擋的: The projects were created with a...

View Article

Tailwind Plus 支援純 JavaScript 的版本

在 Hacker News 上的「Vanilla JavaScript support for Tailwind Plus (tailwindcss.com)」這邊看到的,原文在「Vanilla JavaScript support for Tailwind Plus」。 Tailwind Plus 前身叫做 Tailwind UI,今年改名的:「Tailwind UI is now...

View Article


Claude Code 要更嚴格的限流了

在「Claude Code weekly rate limits」這邊看到的,但這篇貼上的格式亂掉了,在另外一篇 id=44713754 比較清楚 (但前面那篇的討論比較多),從 2025/08/28 開始,本來的限流是五個小時 reset 一次,現在要改成一個禮拜 reset 一次了: Current: Usage limit that resets every 5 hours (no...

View Article


Image may be NSFW.
Clik here to view.

Cache full 時的 2-random 演算法

在 Simon Willison 的「tidwall/pogocache」這邊看到 tidwall/pogocache 這個專案,先前作者自己貼 Hacker News 的時候我也有看到,不過沒有太在意,因為他的宣稱沒有被其他人證實 (只有作者自己的 benchmark): Pogocache is faster than Memcache, Valkey, Redis, Dragonfly,...

View Article
Browsing latest articles
Browse All 131 View Live