Joseph retweetledi
Joseph
7.5K posts

Joseph retweetledi

Joseph retweetledi

Want to reverse the source of a JS app?
Typical unminifiers struggle with statement sequencing, JSX lowering, and other bundler/minifier shenanigans like (0, m.f)(xx)
@pionxzh's Wakaru unpacks modules, formats the code, then runs AST transforms to recover intent, recovering readability where possible.
Demo video 👇
English
Joseph retweetledi
Joseph retweetledi
Joseph retweetledi
Joseph retweetledi
Joseph retweetledi
Joseph retweetledi
Joseph retweetledi

在移动端渲染数学公式,WebView 几乎是绕不过去的坑:一条公式背后拖着整套浏览器内核,内存吃得凶,启动也慢。
后来偶然发现 RaTeX:用纯 Rust 从零实现的公式渲染引擎,直接把 JavaScript 和 WebView 从链路里踢出去。
一套核心代码,覆盖 iOS、Android、Flutter、React Native、Web、PNG、SVG 七端;全原生渲染,零 JS 依赖。
GitHub:github.com/erweixin/RaTeX
语法对 KaTeX 兼容度约 99%,分数、根号、积分、矩阵等常用表达都稳。
还顺带支持化学方程式和物理单位书写,理工科场景基本够用。
完全离线可跑。做教育、学术类 App 的话,想摆脱 WebView 那套又重又慢的公式方案,RaTeX 值得一试。

中文
Joseph retweetledi
Joseph retweetledi

个人网站作者开源了,值得 Star
github.com/ITomPoland/por…
地址: itomdev.com
实现主要是用: Three.js + GSAP 想法比技术更重要!
中文
Joseph retweetledi
Joseph retweetledi
Joseph retweetledi
Joseph retweetledi
Joseph retweetledi

Codex Pet Skill 设计有点精妙,忍不住写了一篇长文解析。
mp.weixin.qq.com/s/uH71k1yAoF6x…
Skill 的本质不是角色扮演,也不只是轻量 workflow,而是把不可控的模型能力关进可控的工程边界里。
Pet Skill:github.com/openai/skills/…

中文
Joseph retweetledi

This one line of CSS will fix the annoying layout shift that scrollbars cause.
This happens when a non-scrollable container becomes scrollable due to its content.
This gets rid of that problem:
.container {
scrollbar-gutter: stable;
}
With that, space is reserved for the scrollbar before it even appears.
So there's no layout shifts when content grows.
Use both-edges if your content is centered.
It mirrors the reserved space on both sides of the container to keep the layout balanced.
If you found this one useful, follow for more. ❤️
English
Joseph retweetledi
Joseph retweetledi

又看了几遍,仔细看了每一个案例,点了每个 demo 演示,真的好棒,jakub.kr/writing/detail…
god is in the details,很喜欢关于圆角,字体,动画的众多 tips,也立马下载了 skills 应用在项目中。再推荐一次,这种文章现在真的不多见了。
Viking@vikingmute
太棒的一篇文章 Details That Make Interfaces Feel Better,标题就说出了我的心声 jakub.kr/writing/detail… 都是干货,都是细节,很受用,对于追求设计细节的人,真的太好了,作者最后总结了一个 skills npx skills add jakubkrehel/make-interfaces-feel-better 双层 border 的细节,动画的细节,文字的细节,每一条每一条都有示例,配有代码,都非常实用,当然作者也很值得关注。
中文
























