#TIL
https://github.com/golang/go/issues/73707
slog.Logger is designed to be a logging frontend. if you need an alternative frontend, like in some bridge, we expect you to call slog.Handler directly.
https://github.com/golang/go/issues/73707
GitHub
proposal: log/slog: Add LogDepth · Issue #73707 · golang/go
Proposal Details When implementing bridging logger types with slog as backend, the pc used for getting source info is incorrect. The current workaround would be copying Logger.log, and tweaking the...
Forwarded from &'a ::rynco::UntitledChannel (Rynco Maekawa)
https://fixupx.com/usgraphics/status/1926153600104902961
我们有两组完全相同的8个仪表,异常仪表均位于坐标(3,1)位置。两组仪表偏离正常状态的角度完全一致,约为8度。
人类对线段角度方向的识别具有超凡的敏锐度——指针式仪表因此能实现更快速的读取。尽管存在相同量级的偏差(约8度),弧形仪表在视觉上却难以区分差异。即使集中注意力观察,仍很难辨别具体哪个仪表存在异常。
🧵 Thread • FixupX
U.S. Graphics Company (@usgraphics)
We have two identical groups of 8 gauges with anomalous gauge at position (3,1). The degree of anomaly is identical in both groups ~ 8 deg.
Humans have extreme hyperacuity with respect to detecting angular orientation of line segments—needle gauge is so…
Humans have extreme hyperacuity with respect to detecting angular orientation of line segments—needle gauge is so…
😱5😨4
review 别人的 PR,我习惯 checkout 之后 git reset --soft 一下,方便在 IDE 里直接看差异。
这是个怪习惯吗?
这是个怪习惯吗?
❤1
最喜欢的两行 Python 代码:
from pathlib import Path
pwd = Path(__file__).parent
🤔7👍2
草啊。
世界人民,联合起来!
网上交流请使用 UTC 时区或加上 UTC 偏移!
今天发现被太平洋时区坑了,-6-7-8一切皆有可能。
世界人民,联合起来!
网上交流请使用 UTC 时区或加上 UTC 偏移!
今天发现被太平洋时区坑了,-6-7-8一切皆有可能。
🌚7
Forwarded from 橘橘橘子汁 & 🍊
https://x.com/DIYgod/status/1932703374283284812
说的真好,这样看来 alist 其实一年前就死得差不多了
看群情激愤觉得贵州这个公司做了坏事,但是这些用户又做了什么呢,用着免费写的东西,在 issue 里骂着娘,甚至造一些所谓挂马的谣
维护一个大型开源项目要消耗相当相当多的精力,而 alist 的项目性质更是决定了其用户多是羊毛党,不可能收到太多捐赠...当热情消退以后,将项目转手给其它公司已是其最好的结局
怒骂 xhofe 的人们,为项目做了什么呢;批判“资本”的人们,有没有想过 xhofe 自己的付出和回报呢
在 issue 区无能狂怒地骂街,也许是一些人对开源生态的唯一“贡献”了吧
说的真好,这样看来 alist 其实一年前就死得差不多了
看群情激愤觉得贵州这个公司做了坏事,但是这些用户又做了什么呢,用着免费写的东西,在 issue 里骂着娘,甚至造一些所谓挂马的谣
维护一个大型开源项目要消耗相当相当多的精力,而 alist 的项目性质更是决定了其用户多是羊毛党,不可能收到太多捐赠...当热情消退以后,将项目转手给其它公司已是其最好的结局
怒骂 xhofe 的人们,为项目做了什么呢;批判“资本”的人们,有没有想过 xhofe 自己的付出和回报呢
在 issue 区无能狂怒地骂街,也许是一些人对开源生态的唯一“贡献”了吧
😢2
我会使用 DevEco 死丢丢,使用 ArkTS 写🌸 应用。
看我现场给你写一个!
万事俱备,只差一台🌸 设备了,望江湖义士赠我一台🌸 PC,助我🔼 。
看我现场给你写一个!
@Entry
@Component
struct JueQi {
@State isJueQi: boolean = false;
build() {
Column({space:20}){
if(this.isJueQi){
Image($r('app.media.鸿蒙崛起了'))
.height(300)
.width(300)
}else{
Image($r('app.media.隐忍中'))
.height(300)
.width(300)
}
Row({space:20}){
Button('崛起')
.onClick(()=>this.isJueQi = true
)
.backgroundColor(Color.Green)
Button('隐忍')
.onClick(()=>this.isJueQi = false)
.backgroundColor(Color.Red)
}
}
.width('100%')
.height('100%')
.justifyContent(FlexAlign.Center)
}
}
万事俱备,只差一台
Please open Telegram to view this post
VIEW IN TELEGRAM
🥰4
https://infra.spec.whatwg.org/#algorithm-conformance
To eat an orange, the user must:
1. Peel the orange.
2. Separate each slice of the orange.
3. Eat the orange slices.