HeHeDa: https://jandan.net/t/6060963
OO: 158 XX: 19
律师中郎将: Make the history alive
OO: 55, XX: 0
Blastom: 抓老蒋,抓老蒋,只穿内裤的是老蒋!
OO: 20, XX: 3
Toys with the highest play-time and lowest clean-up-time (Score: 353+ in 11 hours)
Link: https://readhacker.news/s/6JcBX
Comments: https://readhacker.news/c/6JcBX
WebKit 引擎引入 CSS Grid Lanes:让 CSS 原生支持瀑布流,已上线苹果 Safari 技术预览版 234
IT之家 12 月 28 日消息,WebKit 浏览器引擎上周(12 月 19 日)更新开发文档,提出 CSS Grid Lanes 概念,旨在将瀑布流(Waterfall)排版放入浏览器原生 CSS 中。
官方文档中显示,CSS Grid Lanes 方案基于 Mozilla 与 WebKit 的早期工作,同时也经过 CSS 开发组与各大浏览器厂商的多轮讨论,目前已形成较为明确的开发方式。同时文档将 grid-lanes 和 inline-grid-lanes 纳入 display属性,定义Grid Lanes的布局模型及相关行为。官方强调,CSS Grid Lanes在可用性及无障碍方面改进显著,传统瀑布流网页存在视觉顺序与键盘操作顺序不一致的问题,例如当用户使用Tab键移动页面焦点时,一开始可能会移动到第一列的底部,然后才能跳回第二列的顶部,导致阅读和操作体验割裂。为了避免出现这种问题,WebKit引入了item-tolerance概念,可在保留瀑布流网页高密度视觉效果的同时,让用户能更自然地通过键盘操作网页,减少过去为测量内容高度、计算位置而不得不使用JavaScript介入布局的情况。
此外,W3C 协会还讨论了新特性的兼容性、降级问题,文档实例中提到,开发者可以先声明 display: grid 再声明 display: grid-lanes,使不支持 Grid Lanes 的浏览器忽略特性,仍以普通 Grid 布局呈现,只是可能在垂直方向上产生更多空隙,效果还算可以接受。
不过 Grid Lanes 目前还处于测试阶段,同时相关规范已在苹果 Safari 技术预览版(Safari Technology Preview) 234 浏览器中上线。
IT之家附 WebKit 官方文档地址如下:
https://webkit.org/blog/17660/introducing-css-grid-lanes/
https://hvpandya.com/liquid-glass
I do want to acknowledge this though: Perhaps Liquid Glass is not the end state, but a phase in transition. Perhaps it is the first visible step in a broader evolution toward a world where physical and digital blend more seamlessly. Perhaps Apple is laying down a visual foundation that will make more sense when more users are wearing their interfaces instead of holding and touching them.Читать полностью…
https://jsfiddle.net/XNvzW
操你妈,人生第一次大规模玩 CSS 3D 就遇到这么恶心的坑
https://www.youtube.com/watch?v=3sCHtyw9zgU
有点 FA 乐器的味道了
北京宇宙中心地里座标系
根据北京环数和到天安门的距离建模:
huan <- c(2, 3, 4, 5, 6)
distance <- c(3.3, 5.5, 7.8, 12.5, 16)
model_beijing <- lm(distance ~ -1 + huan + I(huan^2))
Call:
lm(formula = distance ~ -1 + huan + I(huan^2))
Residuals:
1 2 3 4 5
0.24698 0.05031 -0.62647 0.51664 -0.12036
Coefficients:
Estimate Std. Error t value Pr(>|t|)
huan 0.94640 0.22481 4.210 0.02448 *
I(huan^2) 0.29005 0.04472 6.486 0.00744 **
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 0.4958 on 3 degrees of freedom
Multiple R-squared: 0.9986, Adjusted R-squared: 0.9976
F-statistic: 1045 on 2 and 3 DF, p-value: 5.43e-05
距离 = 0.946 × 环 + 0.290 × 环²a <- coef(model_quad_zero)[2]
b <- coef(model_quad_zero)[1]
c <- -YOUR_DISTANCE
discriminant <- b^2 - 4*a*c
huan <- (-b + sqrt(discriminant)) / (2*a)
https://www.theguardian.com/commentisfree/2025/dec/19/us-supreme-court-legitimacy
抄送:赖清德
/channel/hacker_news_zh/17506
哈哈哈哈,我附议。
甚至更激进点,我支持全人类政府 AI 化!
Avoid mini-frameworks
Comments
via laike9m.com via jeremiahlee
AI Slop Report: The Global Rise of Low-Quality AI Videos (Score: 150+ in 13 hours)
Link: https://readhacker.news/s/6JgQp
Comments: https://readhacker.news/c/6JgQp
[Meme] isntUsingBracesBetterThanThis
https://redd.it/1pxtjfd
by @programmer_humor