X 归档 2022-12-23
How we used WebAssembly to annihilate 80,000 lines of legacy code https://ziglang.org/news/goodbye-cpp/
我们如何用 WebAssembly 全歼 8 万行遗留代码 https://ziglang.org/news/goodbye-cpp/
Today I learned there are viewport units that consider writing mode (`vi` / `vb`). 🤯
https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/
Video alt: example component showing how vi / vb affect an element's sizing.
https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/
Video alt: example component showing how vi / vb affect an element's sizing.
今天学到了:原来还有会考虑书写模式的视口单位(`vi` / `vb`)。🤯
https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/
视频说明:示例组件展示 vi / vb 如何影响元素的尺寸。
https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/
视频说明:示例组件展示 vi / vb 如何影响元素的尺寸。
I was today years old when I learned that you can take a screenshot of any website and find similar images via @Google Lens 🤯
我今天才知道,原来可以对任意网站截图,再通过 @Google Lens 找相似图片 🤯
Introducing bunx
auto-install & run an executable from npm
100x faster than npx
left: "bunx esbuild --version" (1k runs)
right: "npx esbuild --version" (1k runs)
auto-install & run an executable from npm
100x faster than npx
left: "bunx esbuild --version" (1k runs)
right: "npx esbuild --version" (1k runs)
隆重介绍 bunx
自动安装并运行 npm 上的可执行文件
比 npx 快 100 倍
左边:"bunx esbuild --version"(运行 1 千次)
右边:"npx esbuild --version"(运行 1 千次)
自动安装并运行 npm 上的可执行文件
比 npx 快 100 倍
左边:"bunx esbuild --version"(运行 1 千次)
右边:"npx esbuild --version"(运行 1 千次)
@kdy1dev `{}` means "non-nullable any" in TypeScript, not object
@kdy1dev `{}` 在 TypeScript 里的意思是“不可为 null 的 any”,而不是 object
Today I learned there are viewport units that consider writing mode (`vi` / `vb`). 🤯
https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/
Video alt: example component showing how vi / vb affect an element's sizing.
https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/
Video alt: example component showing how vi / vb affect an element's sizing.
今天学到了:原来还有会考虑书写模式的视口单位(`vi` / `vb`)。🤯
https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/
视频说明:示例组件展示 vi / vb 如何影响元素的尺寸。
https://www.stefanjudis.com/today-i-learned/viewport-units-can-consider-the-writing-mode/
视频说明:示例组件展示 vi / vb 如何影响元素的尺寸。
How we used WebAssembly to annihilate 80,000 lines of legacy code https://ziglang.org/news/goodbye-cpp/
我们如何用 WebAssembly 全歼 8 万行遗留代码 https://ziglang.org/news/goodbye-cpp/




