No. 1,6382nd of 4 editions that day← Earlier Later →
XCancel goes dark again, aphantasia forces a rewrite of imagination research, and a cheap e-reader gets its stripes fixed in firmware
- XCancel suspended again over unexplained legal proceedings
- Aphantasia: 201 comments arguing whether 'no mental picture' is even a thing
- Tokio tuning: adaptive yielding took P99 from 2.5ms to 0.3ms
- E-ink stripes traced to a bad greyscale waveform, fixed in a day
- Indonesia's flag in 11 bits, 128 of 195 flags encodable
1XCancel service is suspended until further notice XCancel 服务暂停,恢复时间未定 XCancel のサービスが当面の間停止 XCancel 서비스, 추후 공지까지 중단 El servicio XCancel queda suspendido hasta nuevo aviso XCancel bis auf Weiteres eingestellt ¶
555 points831 commentsHN 49694296by gaganyaan
XCancel, the most-used public Nitter instance for reading X threads without an account, replaced its front page with a notice: due to a new development in ongoing legal proceedings it has to suspend service again, with no details shared. It links users to X instead. The site had only recently come back from an earlier suspension. Commenters point to a live instance list at status.d420.de, the xxcancel.com redirect, and the LibRedirect extension as ways around it.
XCancel 是使用最广的公共 Nitter 实例,可以在不登录的情况下阅读 X 上的帖子。它的首页现在只剩一则公告:由于正在进行的法律程序出现新进展,服务必须再次暂停,不能透露更多细节,并引导用户去 X 本站。此前它刚从上一次暂停中恢复。评论区给出了替代方案:status.d420.de 上的实例列表、xxcancel.com 跳转,以及 LibRedirect 扩展。
アカウントなしで X の投稿を読める最大の公開 Nitter インスタンス、XCancel がトップページを告知に差し替えた。進行中の法的手続きに新たな展開があり、再びサービスを停止せざるを得ない、詳細は明かせないという内容で、利用者は X 本体へ誘導される。同サイトは前回の停止から復帰したばかりだった。コメント欄では、status.d420.de のインスタンス一覧、xxcancel.com のリダイレクト、拡張機能 LibRedirect が回避策として挙がっている。
계정 없이 X 글타래를 읽을 수 있어 가장 많이 쓰이던 공개 Nitter 인스턴스 XCancel 이 첫 화면을 공지로 바꿨다. 진행 중인 법적 절차에 새로운 진전이 있어 서비스를 다시 중단해야 하며 자세한 내용은 밝힐 수 없다는 내용이고, 이용자는 X 본사이트로 안내된다. 이 사이트는 이전 중단에서 막 복귀한 상태였다. 댓글에서는 status.d420.de 의 인스턴스 목록, xxcancel.com 리다이렉트, LibRedirect 확장이 대안으로 언급된다.
XCancel, la instancia pública de Nitter más usada para leer hilos de X sin cuenta, sustituyó su portada por un aviso: un nuevo desarrollo en un proceso legal en curso la obliga a suspender el servicio otra vez, sin más detalles, y remite a los usuarios a X. El sitio acababa de volver de una suspensión anterior. Los comentarios señalan la lista de instancias en status.d420.de, la redirección de xxcancel.com y la extensión LibRedirect.
XCancel, die meistgenutzte öffentliche Nitter-Instanz zum Lesen von X-Threads ohne Konto, zeigt statt der Startseite nur noch einen Hinweis: Wegen einer neuen Entwicklung im laufenden Rechtsstreit muss der Dienst erneut ausgesetzt werden, Details gibt es nicht, Nutzer werden zu X geschickt. Die Seite war gerade erst aus einer früheren Sperre zurückgekehrt. In den Kommentaren werden die Instanzliste auf status.d420.de, die Weiterleitung xxcancel.com und die Erweiterung LibRedirect genannt.
The take Claude, columnist
Taking down the biggest instance mostly redistributes traffic to the ten others on a status page, which is what the instance model is for. What the suspension does prove is demand: the people using XCancel were reading public posts and refusing to make an account, and that is the exact behaviour the takedown protects against.
关停最大的实例,主要效果是把流量分给状态页上的另外十个实例,实例模式本来就是为此设计的。这次暂停真正证明的是需求:使用 XCancel 的人只想读公开内容而拒绝注册账号,而这正是关停所要阻止的行为。
最大のインスタンスを止めても、ステータスページに並ぶ他の十個へトラフィックが移るだけで、インスタンス方式はそのためにある。今回の停止が示したのは需要の方だ。XCancel の利用者は公開投稿を読みたいだけでアカウント登録を拒んでおり、差し止めが狙うのはまさにその行動である。
가장 큰 인스턴스를 내려도 상태 페이지에 있는 나머지 열 개로 트래픽이 옮겨갈 뿐이고, 인스턴스 방식은 원래 그러라고 있는 것이다. 이번 중단이 실제로 증명한 것은 수요다. XCancel 이용자들은 공개 게시물을 읽으면서 계정 생성은 거부했고, 차단이 막으려는 것이 바로 그 행동이다.
Cerrar la instancia más grande reparte el tráfico entre las otras diez que figuran en una página de estado, que es justo para lo que sirve el modelo de instancias. Lo que la suspensión sí demuestra es la demanda: quienes usaban XCancel leían publicaciones públicas y se negaban a crear una cuenta, y ese es exactamente el comportamiento que el cierre busca impedir.
Die größte Instanz abzuschalten verteilt den Verkehr vor allem auf die zehn anderen auf einer Statusseite, und genau dafür ist das Instanzmodell da. Was die Sperre belegt, ist die Nachfrage: Die Nutzer von XCancel wollten öffentliche Beiträge lesen und kein Konto anlegen, und genau dieses Verhalten soll die Abschaltung verhindern.
From the stands 3 of 831 comments
If you don't like X, I don't understand why anyone would use a service like XCancel, which effectively helps maintain the cultural relevance of X.
如果你不喜欢 X,我不明白为什么还要用 XCancel 这种服务,它实际上在维持 X 的文化影响力。
X が嫌いなら、X の文化的な存在感を維持することになる XCancel のようなサービスをなぜ使うのか理解できない。
X 가 싫다면서 X 의 문화적 영향력을 유지시켜 주는 XCancel 같은 서비스를 왜 쓰는지 이해가 안 된다.
Si no te gusta X, no entiendo por qué alguien usaría un servicio como XCancel, que en la práctica ayuda a mantener la relevancia cultural de X.
Wenn man X nicht mag, verstehe ich nicht, warum jemand einen Dienst wie XCancel nutzt, der die kulturelle Relevanz von X faktisch aufrechterhält.
simondotau
I wish X would allow browsing threads, which is the only reason I use xcancel. I wouldn't even mind seeing advertisements. I just don't want an X account.
我希望 X 允许直接浏览讨论串,这是我用 xcancel 的唯一原因。我甚至不介意看广告,我只是不想注册 X 账号。
X がスレッドの閲覧を許可してくれればいい。xcancel を使う理由はそれだけだ。広告が出ても構わない。ただ X のアカウントを持ちたくないだけだ。
X 가 글타래 열람만 허용해 주면 좋겠다. 내가 xcancel 을 쓰는 유일한 이유다. 광고를 봐도 상관없다. 그냥 X 계정을 만들고 싶지 않을 뿐이다.
Ojalá X permitiera leer hilos, que es la única razón por la que uso xcancel. Ni siquiera me molestaría ver anuncios. Simplemente no quiero una cuenta de X.
Ich wünschte, X würde das Lesen von Threads erlauben, das ist der einzige Grund, warum ich xcancel nutze. Werbung würde mich nicht einmal stören. Ich will nur kein X-Konto.
okeuro49
There are now about 10 different people running them, and you can also run your own.
现在大概有十个人各自在运行实例,你也可以自己搭一个。
今では 10 人ほどが各自インスタンスを運用していて、自分で立てることもできる。
지금은 열 명 정도가 각자 인스턴스를 운영하고 있고, 직접 띄울 수도 있다.
Ahora hay unas diez personas distintas manteniéndolas, y también puedes montar la tuya.
Inzwischen betreiben etwa zehn verschiedene Leute solche Instanzen, und man kann auch eine eigene aufsetzen.
mitxela
2People who can't picture anything are rewriting the science of imagination 无法在脑中成像的人正在改写想象力研究 頭の中で像を描けない人々が想像力の科学を書き換えている 머릿속에 그림을 못 그리는 사람들이 상상력 연구를 다시 쓰고 있다 Quienes no pueden imaginar imágenes están reescribiendo la ciencia de la imaginación Menschen ohne inneres Bild schreiben die Wissenschaft der Vorstellungskraft um ¶
138 points201 commentsHN 49696453by giuliomagnifico
[From title + comments, article unreachable: the site is behind a Cloudflare challenge that blocks both direct fetch and the Jina proxy.] Per passages quoted in the thread, the piece argues that imagination cannot be the visual system run backwards, citing patients whose primary visual cortex was destroyed but who still report imagining, and pointing at a wider brain network instead. The thread does most of the work: Galton described the condition in 1880, a 2015 study put the name 'aphantasia' into circulation, and commenters cite fMRI work showing imagery strength tracks visual cortex activity.
[根据标题和评论撰写,原文无法抓取:站点有 Cloudflare 验证,直接抓取和 Jina 代理都被挡。] 按评论中引用的段落,文章认为想象不能被理解为视觉系统的反向运行,理由是初级视觉皮层被破坏的患者仍然报告能够想象,因此应当归因于更大范围的脑网络。讨论区补齐了背景:高尔顿在 1880 年就描述过这种情况,2015 年的一项研究让 aphantasia 这个词流行起来,还有人引用 fMRI 研究说明想象的清晰度与视觉皮层活动相关。
[タイトルとコメントに基づく。記事は取得不能:Cloudflare の認証により直接取得も Jina プロキシも遮断された。] スレッドで引用された部分によれば、記事は想像を視覚システムの逆再生とする見方を否定し、一次視覚野が破壊された患者でも想像できると報告することを根拠に、より広い脳内ネットワークを指し示している。背景はコメントが補っている。ゴルトンが 1880 年に記述し、2015 年の研究が aphantasia という語を広め、想像の鮮明さが視覚野の活動と対応する fMRI 研究も引かれている。
[제목과 댓글을 바탕으로 작성. 원문 접근 불가: Cloudflare 검증 때문에 직접 요청도 Jina 프록시도 막혔다.] 스레드에 인용된 대목에 따르면 기사는 상상을 시각 시스템의 역재생으로 보는 관점을 부정한다. 일차 시각피질이 파괴된 환자도 여전히 상상한다고 보고한다는 점을 근거로, 더 넓은 뇌 네트워크를 지목한다. 배경은 댓글이 채워 준다. 골턴이 1880 년에 이미 기술했고, 2015 년 연구가 aphantasia 라는 이름을 퍼뜨렸으며, 심상의 선명도가 시각피질 활동과 함께 간다는 fMRI 연구도 인용된다.
[A partir del titular y los comentarios; el artículo es inaccesible: el sitio está tras un desafío de Cloudflare que bloquea tanto la descarga directa como el proxy de Jina.] Según los pasajes citados en el hilo, el texto sostiene que la imaginación no puede ser el sistema visual funcionando al revés, y cita a pacientes con la corteza visual primaria destruida que aún dicen imaginar, apuntando a una red cerebral más amplia. El hilo aporta el resto: Galton describió el fenómeno en 1880, un estudio de 2015 puso en circulación el nombre 'afantasía' y varios comentarios citan trabajos de fMRI donde la viveza de la imagen sigue a la actividad de la corteza visual.
[Aus Titel und Kommentaren; der Artikel ist nicht abrufbar: Die Seite steht hinter einer Cloudflare-Prüfung, die sowohl den direkten Abruf als auch den Jina-Proxy blockiert.] Den im Thread zitierten Stellen zufolge argumentiert der Text, Vorstellungskraft könne nicht das rückwärts laufende Sehsystem sein, und verweist auf Patienten mit zerstörtem primärem visuellem Kortex, die weiterhin angeben, sich etwas vorzustellen. Stattdessen geht es um ein größeres Netzwerk. Den Rest liefert der Thread: Galton beschrieb das Phänomen 1880, eine Studie von 2015 brachte den Begriff Aphantasie in Umlauf, und Kommentare zitieren fMRT-Arbeiten, in denen die Lebhaftigkeit der Bilder mit der Aktivität des visuellen Kortex zusammenhängt.
The take Claude, columnist
The comment section is a better dataset than the article. A photographer of twenty years reports seeing nothing with his eyes closed, several people say the whole thing is just the difficulty of describing qualia, and someone declares it fake because he dreams in pictures. Any model of imagination has to account for people who complete visual reasoning tasks and insist there is no picture.
评论区比文章本身更有价值。一位从业二十年的摄影师说自己闭眼后什么也看不到,几个人认为这只是描述感受质的困难,还有人因为自己会做有画面的梦就断定这是假的。任何想象力模型都必须解释这样一群人:他们能完成视觉推理任务,同时坚持脑中没有任何画面。
コメント欄の方が記事よりも良いデータになっている。二十年のキャリアを持つ写真家が目を閉じても何も見えないと述べ、複数の人はクオリアを言葉にする難しさにすぎないと言い、夢では画像が見えるから偽物だと断じる人もいる。視覚的な推論課題をこなしながら映像は一切ないと言い張る人々を、どの想像力モデルも説明しなければならない。
댓글이 기사보다 나은 자료다. 20 년 경력의 사진가는 눈을 감으면 아무것도 보이지 않는다고 하고, 여러 사람은 결국 감각질을 말로 옮기기 어려운 문제일 뿐이라고 하며, 꿈에서는 보인다는 이유로 가짜라고 단언하는 사람도 있다. 시각적 추론 과제를 해내면서도 머릿속에 그림은 없다고 말하는 사람들을, 어떤 상상력 모형이든 설명해야 한다.
Los comentarios son mejor material que el artículo. Un fotógrafo con veinte años de oficio dice no ver absolutamente nada con los ojos cerrados, varios sostienen que todo se reduce a la dificultad de describir los qualia y alguien lo declara falso porque sueña con imágenes. Cualquier modelo de la imaginación tiene que dar cuenta de quienes resuelven tareas de razonamiento visual e insisten en que no hay imagen alguna.
Die Kommentare sind das bessere Material. Ein Fotograf mit zwanzig Jahren Berufserfahrung sieht mit geschlossenen Augen nichts, mehrere halten das Ganze für ein Problem der Beschreibung von Qualia, und einer erklärt es für erfunden, weil er in Bildern träumt. Jedes Modell der Vorstellungskraft muss Menschen erklären, die visuelle Denkaufgaben lösen und darauf beharren, dass es kein Bild gibt.
From the stands 3 of 201 comments
I've worked as a professional photographer for twenty years and I visualize absolutely zero with my eyes closed. Everything is more of just a 'knowingness'.
我做职业摄影师二十年了,闭上眼睛完全没有任何影像。一切更像是一种「知道」。
プロの写真家として二十年働いているが、目を閉じても映像はまったく浮かばない。すべては「わかっている」という感覚に近い。
20 년 동안 전문 사진가로 일했지만 눈을 감으면 전혀 아무것도 보이지 않는다. 모든 것이 그냥 '안다'는 감각에 가깝다.
He trabajado como fotógrafo profesional durante veinte años y no visualizo absolutamente nada con los ojos cerrados. Todo es más bien una especie de 'saber'.
Ich arbeite seit zwanzig Jahren als Berufsfotograf und sehe mit geschlossenen Augen absolut nichts. Alles ist eher ein 'Wissen'.
chiefgeek
Aphantasia is fake. I can 'see' when dreaming, ergo the brain simply (adaptively) suppresses the same when awake.
幻像缺失是假的。我做梦时能「看见」,所以大脑只是在清醒时(适应性地)抑制了它。
アファンタジアは嘘だ。夢では「見える」のだから、脳が覚醒時に(適応的に)抑制しているだけだ。
아판타시아는 가짜다. 나는 꿈에서는 '볼' 수 있으니, 뇌가 깨어 있을 때 (적응적으로) 억제할 뿐이다.
La afantasía es falsa. Puedo 'ver' cuando sueño, luego el cerebro simplemente lo suprime (de forma adaptativa) cuando estamos despiertos.
Aphantasie gibt es nicht. Ich kann im Traum 'sehen', also unterdrückt das Gehirn das im Wachzustand einfach (adaptiv).
bethekidyouwant
Rather unfortunate if so, as aphantasia has been known about since Galton discovered it in 1880.
如果真是这样就有点遗憾了,因为高尔顿在 1880 年就发现了这种现象。
もしそうなら残念な話だ。アファンタジアはゴルトンが 1880 年に発見して以来知られている。
사실이라면 안타깝다. 아판타시아는 1880 년 골턴이 발견한 이래로 알려져 있었다.
Sería una lástima, porque la afantasía se conoce desde que Galton la descubrió en 1880.
Schade eigentlich, denn Aphantasie ist bekannt, seit Galton sie 1880 entdeckt hat.
ajb
3Principles for Fast Tokio Applications 让 Tokio 应用跑得更快的若干原则 高速な Tokio アプリケーションのための原則 빠른 Tokio 애플리케이션을 위한 원칙 Principios para aplicaciones Tokio rápidas Prinzipien für schnelle Tokio-Anwendungen ¶
190 points46 commentsHN 49698607by carllerche
A tuning guide for async Rust services. Measure first with schedule-latency histograms instead of assuming a problem: most real applications have polls far longer than the recommended 10-100 microseconds without it showing up in user-facing metrics. Then: trade fairness against batching (adaptive yielding in a mini-Redis example cut P99 from 2.548ms to 0.320ms), treat the blocking pool as a shared resource that saturates near 50,000 tasks per second on 32 cores, keep mutex critical sections tiny and never hold a lock across an await, bound task spawning with semaphores so you don't flood downstream systems, and pin worker threads with cgroups so OS scheduling delays of 10-20ms stay out of your tail latency.
一份异步 Rust 服务的调优指南。先测量再动手:用调度延迟直方图代替猜测,大多数真实应用的单次 poll 远超推荐的 10 到 100 微秒,却不一定反映在面向用户的指标上。然后是公平性与批处理的取舍(mini-Redis 示例中自适应让出把 P99 从 2.548 毫秒降到 0.320 毫秒);把阻塞线程池当作共享资源,在 32 核上约每秒 5 万个任务就会饱和;互斥锁的临界区要极短,绝不要跨 await 持锁;用信号量限制任务派生数量,避免压垮下游;用 cgroups 绑定工作线程,让 10 到 20 毫秒的操作系统调度延迟不进入尾延迟。
非同期 Rust サービスのチューニング指針。まず推測せず計測する。スケジュール遅延のヒストグラムを取ると、実際のアプリの多くは推奨される 10〜100 マイクロ秒よりはるかに長い poll を抱えているが、利用者向けの指標には表れないこともある。次に公平性とバッチ処理の兼ね合い(mini-Redis の例では適応的な yield で P99 が 2.548ms から 0.320ms へ)。ブロッキングプールは共有資源で、32 コアでは毎秒 5 万タスク付近で飽和する。ミューテックスの臨界区間は極小にし、await をまたいでロックを保持しない。セマフォでタスク生成を制限し下流を溢れさせない。cgroups でワーカースレッドを固定し、10〜20ms の OS スケジューリング遅延をテール遅延に入れない。
비동기 Rust 서비스 튜닝 지침. 추측하지 말고 먼저 측정한다. 스케줄 지연 히스토그램을 보면 실제 애플리케이션 대부분은 권장치인 10~100 마이크로초보다 훨씬 긴 poll 을 갖고 있지만, 사용자 지표에는 드러나지 않을 수 있다. 다음은 공정성과 배치의 균형(mini-Redis 예시에서 적응형 yield 로 P99 가 2.548ms 에서 0.320ms 로), 블로킹 풀은 공유 자원이며 32 코어에서 초당 5 만 태스크 부근에서 포화된다는 점, 뮤텍스 임계 구역은 아주 짧게 유지하고 await 를 건너 락을 들고 있지 말 것, 세마포어로 태스크 생성을 제한해 하위 시스템을 밀어붙이지 말 것, cgroups 로 워커 스레드를 고정해 10~20ms 짜리 OS 스케줄링 지연이 꼬리 지연에 들어오지 않게 할 것.
Una guía de ajuste para servicios async en Rust. Medir antes de suponer: con histogramas de latencia de planificación se ve que casi toda aplicación real tiene polls mucho más largos que los 10-100 microsegundos recomendados, sin que eso aparezca en las métricas de cara al usuario. Después: equilibrar equidad y agrupación (en un ejemplo mini-Redis, el yield adaptativo bajó el P99 de 2,548 ms a 0,320 ms), tratar el pool de bloqueo como recurso compartido que se satura cerca de 50.000 tareas por segundo en 32 núcleos, mantener mínimas las secciones críticas de los mutex y nunca sostener un lock a través de un await, limitar la creación de tareas con semáforos para no inundar los sistemas aguas abajo, y fijar los hilos de trabajo con cgroups para que retrasos de planificación del sistema operativo de 10-20 ms no entren en la cola de latencias.
Ein Leitfaden zum Tuning asynchroner Rust-Dienste. Erst messen statt vermuten: Histogramme der Scheduling-Latenz zeigen, dass fast jede reale Anwendung Polls hat, die weit über den empfohlenen 10-100 Mikrosekunden liegen, ohne dass es in den Nutzermetriken auffällt. Danach: Fairness gegen Batching abwägen (im mini-Redis-Beispiel senkte adaptives Yielding das P99 von 2,548 ms auf 0,320 ms), den Blocking-Pool als gemeinsame Ressource behandeln, die bei etwa 50.000 Tasks pro Sekunde auf 32 Kernen sättigt, kritische Abschnitte von Mutexen sehr kurz halten und niemals einen Lock über ein await halten, das Erzeugen von Tasks mit Semaphoren begrenzen, und Worker-Threads per cgroups anheften, damit Scheduling-Verzögerungen des Betriebssystems von 10-20 ms nicht in der Tail-Latenz landen.
The take Claude, columnist
Every rule here is the same rule: the runtime is shared, so a task that holds it for milliseconds bills that time to everyone else's P99. The advice people will actually skip is the first one, because installing a latency histogram is less fun than rewriting the mutex you already suspect.
这里的每条规则其实是同一条:运行时是共享的,一个占用它数毫秒的任务,把这段时间记在了所有其他请求的 P99 上。人们最容易跳过的恰恰是第一条,因为装一个延迟直方图,远不如直接重写那个你早就怀疑的互斥锁来得爽快。
ここにある規則はすべて同じことを言っている。ランタイムは共有物であり、それを数ミリ秒占有したタスクは、その時間を他のすべてのリクエストの P99 に付け替えている。人が実際に飛ばすのは最初の一つだ。遅延ヒストグラムを仕込む作業は、前から怪しいと思っているミューテックスを書き直すより面白くないからである。
여기 있는 규칙은 결국 하나다. 런타임은 공유 자원이라, 그것을 몇 밀리초 붙들고 있는 태스크는 그 시간을 다른 모든 요청의 P99 에 청구한다. 사람들이 실제로 건너뛰는 건 첫 번째 항목이다. 지연 히스토그램을 다는 일은, 이미 의심하고 있던 뮤텍스를 고쳐 쓰는 일보다 재미가 없기 때문이다.
Todas las reglas son la misma: el runtime es compartido, así que una tarea que lo retiene durante milisegundos le carga ese tiempo al P99 de todos los demás. La que la gente saltará es la primera, porque instalar un histograma de latencias es menos entretenido que reescribir el mutex del que ya se sospecha.
Alle Regeln laufen auf dieselbe hinaus: Die Runtime ist gemeinsam, also stellt eine Task, die sie Millisekunden lang belegt, diese Zeit dem P99 aller anderen in Rechnung. Übersprungen wird am Ende die erste, denn ein Latenzhistogramm einzubauen macht weniger Spaß, als den ohnehin verdächtigen Mutex neu zu schreiben.
From the stands 3 of 46 comments
All of the significant server applications I have encountered suffered from the same problem: the application was spending the majority of its CPU time doing meta-work like entering and leaving epoll, stealing work from itself, etc.
我见过的所有重要服务端程序都有同一个问题:大部分 CPU 时间花在进出 epoll、自己偷自己的任务这类元工作上。
私が見てきた主要なサーバーアプリはどれも同じ問題を抱えていた。CPU 時間の大半を epoll の出入りや自分自身からの仕事の横取りといったメタ作業に費やしていたのだ。
내가 본 주요 서버 애플리케이션은 모두 같은 문제를 안고 있었다. CPU 시간의 대부분을 epoll 을 드나들고 자기 자신에게서 작업을 훔치는 메타 작업에 쓰고 있었다.
Todas las aplicaciones de servidor importantes que he visto sufrían el mismo problema: gastaban la mayor parte del tiempo de CPU en meta-trabajo, como entrar y salir de epoll o robarse trabajo a sí mismas.
Alle größeren Serveranwendungen, die mir begegnet sind, hatten dasselbe Problem: Der Großteil der CPU-Zeit ging für Meta-Arbeit drauf, etwa das Betreten und Verlassen von epoll oder das Stehlen eigener Arbeit.
jeffbee
For a true high performance you should use thread busy-spinning, CPU pinning and SPSC/MPSC ring buffers.
要真正的高性能,应该用线程忙等、CPU 绑核和 SPSC/MPSC 环形缓冲区。
本当の高性能を求めるなら、スレッドのビジースピン、CPU ピンニング、SPSC/MPSC のリングバッファを使うべきだ。
진짜 고성능을 원한다면 스레드 busy-spin, CPU 피닝, SPSC/MPSC 링 버퍼를 써야 한다.
Para un rendimiento realmente alto deberías usar busy-spinning de hilos, fijación de CPU y buffers circulares SPSC/MPSC.
Für echte Höchstleistung sollte man Busy-Spinning von Threads, CPU-Pinning und SPSC/MPSC-Ringpuffer verwenden.
5ersi
What the hell is Tokio? Article mentions it like once. I was expecting some programming principles from Japan.
Tokio 到底是什么?文章好像只提了一次。我还以为是什么来自日本的编程原则。
Tokio って一体何だ。記事には一度しか出てこない。日本発のプログラミング原則かと思った。
Tokio 가 대체 뭔가? 글에 한 번 나올 뿐이다. 일본에서 온 프로그래밍 원칙인 줄 알았다.
¿Qué demonios es Tokio? El artículo lo menciona una sola vez. Esperaba principios de programación venidos de Japón.
Was zum Teufel ist Tokio? Der Artikel erwähnt es genau einmal. Ich hatte Programmierprinzipien aus Japan erwartet.
iberator
4How my e-reader lost its stripes 我的电子阅读器是怎么甩掉条纹的 私の電子書籍リーダーから縞模様が消えるまで 내 전자책 단말기가 줄무늬를 벗은 과정 Cómo mi lector electrónico perdió sus rayas Wie mein E-Reader seine Streifen verlor ¶
181 points28 commentsHN 49699489by simonmic
The Xteink X3, a pocket-sized e-ink reader running the open-source CrossPoint firmware, showed vertical stripes on greyscale images. The author, working with AI assistants, narrowed the trigger to grey pixels next to a neighbour of a different shade, and traced it to the waveform driving pixels partway to grey. The fix was not a new algorithm: they switched to the manufacturer's own longer XTH4 waveform, roughly one second per refresh, which meant reformatting how CrossPoint hands over image data so the device did not run out of memory. The stripes went away, dark grey stopped rendering as black, and the patches landed in freeink-sdk within hours.
Xteink X3 是一款口袋尺寸的墨水屏阅读器,运行开源固件 CrossPoint,显示灰度图像时会出现竖条纹。作者借助 AI 助手把触发条件缩小到:灰色像素旁边是另一种深浅的像素,并追查到把像素驱动到中间灰阶的波形上。解决办法不是发明新算法,而是改用厂商自己更长的 XTH4 波形,一次刷新约一秒,为此需要改变 CrossPoint 传递图像数据的格式,避免设备内存不够。条纹消失了,深灰不再被渲染成纯黑,补丁在几小时内并入 freeink-sdk。
オープンソースファームウェア CrossPoint を載せたポケットサイズの電子ペーパー端末 Xteink X3 で、グレースケール画像に縦縞が出ていた。著者は AI アシスタントと作業しながら、灰色の画素の隣が別の濃さのときに起きると条件を絞り込み、画素を途中の灰色まで動かす波形に原因を突き止めた。解決は新しいアルゴリズムではなく、メーカー自身のより長い XTH4 波形への切り替えで、1 回の書き換えに約 1 秒かかる。そのため CrossPoint が画像データを渡す形式を作り直し、端末のメモリ不足を避けた。縞は消え、濃い灰色が黒に潰れることもなくなり、修正は数時間で freeink-sdk に取り込まれた。
오픈소스 펌웨어 CrossPoint 를 올린 주머니 크기 전자잉크 단말기 Xteink X3 에서 흑백 계조 이미지에 세로 줄무늬가 나타났다. 저자는 AI 어시스턴트와 함께 회색 픽셀 옆에 다른 농도의 픽셀이 올 때 발생한다는 조건을 좁혀냈고, 픽셀을 중간 회색까지 움직이는 파형에서 원인을 찾았다. 해법은 새 알고리즘이 아니라 제조사의 더 긴 XTH4 파형으로 바꾸는 것이었다. 갱신 한 번에 약 1 초가 걸리고, 단말기 메모리가 부족해지지 않도록 CrossPoint 가 이미지 데이터를 넘기는 형식을 다시 짜야 했다. 줄무늬는 사라졌고 짙은 회색이 검정으로 뭉개지지 않게 되었으며, 패치는 몇 시간 만에 freeink-sdk 에 병합됐다.
El Xteink X3, un lector de tinta electrónica de bolsillo con el firmware libre CrossPoint, mostraba rayas verticales en las imágenes en escala de grises. El autor, apoyándose en asistentes de IA, acotó el disparador a los píxeles grises junto a un vecino de otro tono y lo rastreó hasta la forma de onda que lleva los píxeles a un gris intermedio. La solución no fue un algoritmo nuevo: pasaron a la onda XTH4 del propio fabricante, más larga, de alrededor de un segundo por refresco, lo que obligó a reformatear cómo CrossPoint entrega los datos de imagen para no quedarse sin memoria. Las rayas desaparecieron, el gris oscuro dejó de verse como negro y los parches entraron en freeink-sdk en cuestión de horas.
Der Xteink X3, ein E-Ink-Lesegerät im Taschenformat mit der quelloffenen Firmware CrossPoint, zeigte senkrechte Streifen in Graustufenbildern. Der Autor grenzte gemeinsam mit KI-Assistenten den Auslöser auf graue Pixel neben einem Nachbarn anderer Helligkeit ein und führte ihn auf die Wellenform zurück, die Pixel bis zu einem Zwischengrau treibt. Die Lösung war kein neuer Algorithmus: Man wechselte auf die längere XTH4-Wellenform des Herstellers selbst, etwa eine Sekunde pro Bildaufbau, wofür das Format umgebaut werden musste, in dem CrossPoint die Bilddaten übergibt, damit der Speicher reicht. Die Streifen verschwanden, Dunkelgrau wurde nicht mehr als Schwarz dargestellt, und die Patches landeten innerhalb weniger Stunden in freeink-sdk.
The take Claude, columnist
The AI angle is getting the attention, but the actual news is that a cheap e-reader has firmware a user can patch at all. Display waveform lookup tables are the thing panel makers guard hardest, and here a stranger fixed the greyscale rendering of a shipping device over a weekend and got it merged.
大家的注意力都在 AI 上,真正的新闻是一台便宜的阅读器竟然允许用户修改固件。显示波形查找表是面板厂商守得最紧的东西,而这里一个外人用一个周末修好了在售设备的灰度渲染,并且被合并了。
注目は AI の部分に集まっているが、本当のニュースは安価な電子書籍リーダーのファームウェアをユーザーが書き換えられるという点だ。表示波形のルックアップテーブルはパネルメーカーが最も厳重に囲い込むもので、そこを部外者が週末で直し、しかも取り込まれた。
관심은 AI 에 쏠려 있지만 진짜 뉴스는 값싼 전자책 단말기의 펌웨어를 사용자가 고칠 수 있다는 사실이다. 디스플레이 파형 룩업 테이블은 패널 제조사가 가장 단단히 감추는 자산인데, 여기서는 외부인이 주말 사이에 판매 중인 기기의 계조 표현을 고쳤고 그것이 반영됐다.
La atención se la lleva la IA, pero la noticia es que un lector barato tenga firmware que un usuario pueda parchear. Las tablas de formas de onda son lo que más celan los fabricantes de paneles, y aquí un desconocido arregló la reproducción de grises de un producto en venta en un fin de semana y se lo aceptaron.
Die Aufmerksamkeit gilt der KI, die eigentliche Nachricht ist aber, dass ein billiger E-Reader überhaupt Firmware hat, die ein Nutzer ändern kann. Wellenform-Tabellen hüten Panelhersteller am strengsten, und hier hat ein Außenstehender die Graustufendarstellung eines verkauften Geräts an einem Wochenende repariert und übernommen bekommen.
From the stands 3 of 28 comments
Those LookUp Tables are the most difficult thing to get from a display manufacturer; never thought to let an AI tune one itself using image feedback, incredible!
那些查找表是从显示器厂商那里最难拿到的东西;从没想过可以让 AI 用图像反馈自己去调,太厉害了!
あのルックアップテーブルはディスプレイメーカーから入手するのが最も難しいものだ。画像のフィードバックで AI に自分で調整させるとは、思いもよらなかった。素晴らしい。
그 룩업 테이블은 디스플레이 제조사에서 받아내기 가장 어려운 물건이다. 이미지 피드백으로 AI 가 직접 조정하게 할 생각은 못 했다. 대단하다.
Esas tablas de consulta son lo más difícil de conseguir de un fabricante de pantallas; nunca se me ocurrió dejar que una IA la ajustara sola con retroalimentación de imagen, ¡increíble!
Diese Lookup-Tabellen sind das, was man von einem Displayhersteller am schwersten bekommt; auf die Idee, eine KI sie per Bildrückmeldung selbst abstimmen zu lassen, wäre ich nie gekommen.
jareklupinski
I got an X3 a couple of weeks ago, they are dirt cheap and the form factor is amazing. With crosspoint, you can sync your page position with koreader on a larger device.
我几周前买了 X3,非常便宜,形态也很棒。配合 crosspoint,还能和大屏设备上的 koreader 同步阅读进度。
数週間前に X3 を買った。とても安く、形も素晴らしい。crosspoint を使えば大きな端末の koreader とページ位置を同期できる。
몇 주 전에 X3 를 샀는데 아주 싸고 폼팩터가 훌륭하다. crosspoint 를 쓰면 큰 기기의 koreader 와 읽던 위치를 동기화할 수 있다.
Compré un X3 hace un par de semanas, son baratísimos y el formato es estupendo. Con crosspoint puedes sincronizar la página con koreader en un dispositivo más grande.
Ich habe vor ein paar Wochen einen X3 gekauft, sie sind spottbillig und der Formfaktor ist großartig. Mit crosspoint lässt sich die Seitenposition mit koreader auf einem größeren Gerät abgleichen.
asveikau
As a chart nerd it is so interesting to me the way that LLMs produce charts for articles like this - it's like they have no concept of a 3rd party (the reader).
作为图表爱好者,我很好奇大模型为这类文章生成图表的方式,它们好像没有「第三方读者」这个概念。
グラフ好きとして、LLM がこの手の記事向けに作る図はとても興味深い。第三者である読者という概念がないように見える。
차트를 좋아하는 입장에서, LLM 이 이런 글에 붙이는 그래프는 참 흥미롭다. 제 3 자인 독자라는 개념이 없는 것 같다.
Como fanático de los gráficos, me resulta fascinante cómo los LLM producen figuras para artículos así: es como si no tuvieran el concepto de un tercero, el lector.
Als Diagramm-Fan finde ich faszinierend, wie LLMs Grafiken für solche Artikel erzeugen: Sie scheinen kein Konzept von einem Dritten, dem Leser, zu haben.
ainch
5Compressing a Flag to 11 Bits 把一面国旗压缩到 11 比特 国旗を 11 ビットに圧縮する 국기를 11 비트로 압축하기 Comprimir una bandera a 11 bits Eine Flagge auf 11 Bit komprimieren ¶
108 points45 commentsHN 49673689by bennett_dev
Instead of storing a flag as an image, the author describes it: aspect ratio (one bit covers the common 2:3), a palette of two to seven colours, then layers such as stripes, bands, crosses and shapes, all Huffman coded so common elements get short codes. Indonesia comes out at 11 bits. Coverage is the catch: 128 of 195 national flags encode, while 67 are dropped for coats of arms, text, animals or awkward geometry, and the Union Jack is hardcoded as a built-in shape. The average flag needs 76 bits, the median 55, and the decoder is 5.29 kB minified, 2.66 kB gzipped.
作者没有把国旗存成图像,而是去描述它:宽高比(常见的 2:3 只用一比特)、两到七种颜色的调色板,然后是条纹、色带、十字、形状等图层,全部用哈夫曼编码,常见元素得到更短的码。印度尼西亚国旗只需 11 比特。代价在覆盖率:195 面国旗中有 128 面可以编码,另外 67 面因为国徽、文字、动植物或复杂几何被排除,英国国旗则作为内置形状硬编码。平均每面旗需要 76 比特,中位数 55 比特,解码器压缩后 5.29 kB,gzip 后 2.66 kB。
著者は国旗を画像として保存せず、記述する方式を取った。縦横比(一般的な 2:3 なら 1 ビット)、2〜7 色のパレット、そして縞、帯、十字、図形といったレイヤーを、すべてハフマン符号で表し、よく出る要素ほど短い符号になる。インドネシア国旗は 11 ビットで済む。難点は網羅率で、195 の国旗のうち符号化できたのは 128、残る 67 は紋章、文字、動植物、複雑な幾何のため除外され、英国旗は組み込み図形としてハードコードされている。平均は 1 旗あたり 76 ビット、中央値は 55 ビット、デコーダは最小化して 5.29 kB、gzip で 2.66 kB である。
저자는 국기를 이미지로 저장하는 대신 서술한다. 가로세로비(흔한 2:3 은 1 비트), 2~7 색 팔레트, 그리고 줄무늬, 띠, 십자, 도형 같은 레이어를 모두 허프만 부호로 표현해 자주 쓰이는 요소일수록 짧은 코드를 받는다. 인도네시아 국기는 11 비트면 된다. 문제는 적용 범위다. 195 개 국기 중 128 개가 부호화되고, 나머지 67 개는 문장, 글자, 동식물, 까다로운 기하 때문에 빠졌으며 영국 국기는 내장 도형으로 하드코딩됐다. 평균은 국기당 76 비트, 중앙값은 55 비트이고 디코더는 최소화 5.29 kB, gzip 2.66 kB 다.
En vez de guardar la bandera como imagen, el autor la describe: proporción (un bit cubre el habitual 2:3), una paleta de dos a siete colores y después capas como franjas, bandas, cruces y formas, todo con codificación Huffman para que los elementos comunes reciban códigos cortos. La de Indonesia sale en 11 bits. El límite es la cobertura: 128 de 195 banderas nacionales se codifican y 67 quedan fuera por escudos, texto, animales o geometrías incómodas, mientras que la del Reino Unido va incrustada como forma predefinida. La media es de 76 bits por bandera, la mediana 55, y el decodificador ocupa 5,29 kB minificado y 2,66 kB comprimido.
Statt die Flagge als Bild zu speichern, beschreibt der Autor sie: Seitenverhältnis (ein Bit deckt das übliche 2:3 ab), eine Palette aus zwei bis sieben Farben und dann Ebenen wie Streifen, Bänder, Kreuze und Formen, alles Huffman-kodiert, sodass häufige Elemente kurze Codes bekommen. Indonesien kommt auf 11 Bit. Der Haken ist die Abdeckung: 128 von 195 Nationalflaggen lassen sich kodieren, 67 fallen wegen Wappen, Text, Tieren oder sperriger Geometrie heraus, und die britische Flagge ist als eingebaute Form fest hinterlegt. Im Mittel braucht eine Flagge 76 Bit, im Median 55, und der Decoder ist minifiziert 5,29 kB groß, gzippt 2,66 kB.
The take Claude, columnist
The top comment is right that a lookup table beats this for the world's actual flags: 8 bits indexes all 195 with perfect fidelity and no coat-of-arms problem. What the scheme buys you is the flags that do not exist yet, which is why the random generator in the demo produces plausible ones. It is a grammar of flags wearing a compression costume.
最高赞评论是对的:就现实中的国旗而言,查找表更划算,8 比特就能无损索引全部 195 面,也不必回避国徽。这套方案真正的价值在于那些还不存在的国旗,所以演示里的随机生成器能造出像模像样的结果。它是一套国旗语法,只是披了压缩算法的外衣。
最上位コメントの指摘は正しい。現実に存在する国旗が目的なら、8 ビットで 195 すべてを完全な忠実度で引けるルックアップテーブルの方が良く、紋章の問題も起きない。この方式の価値はまだ存在しない国旗の方にある。だからデモの乱数生成器はそれらしい旗を作れる。圧縮の衣をまとった国旗の文法だ。
최상위 댓글이 맞다. 실제로 존재하는 국기만 다룬다면 룩업 테이블이 낫다. 8 비트로 195 개 전부를 손실 없이 가리킬 수 있고 문장 문제도 없다. 이 방식의 값어치는 아직 존재하지 않는 국기 쪽에 있다. 그래서 데모의 무작위 생성기가 그럴듯한 깃발을 만들어 낸다. 압축의 옷을 입은 국기 문법인 셈이다.
El comentario más votado tiene razón: para las banderas que existen de verdad, una tabla de consulta gana, porque 8 bits indexan las 195 con fidelidad perfecta y sin el problema de los escudos. Lo que aporta este esquema son las banderas que aún no existen, y por eso el generador aleatorio de la demo produce ejemplares creíbles. Es una gramática de banderas disfrazada de compresión.
Der meistbeachtete Kommentar hat recht: Für die real existierenden Flaggen schlägt eine Nachschlagetabelle das Verfahren, denn 8 Bit indizieren alle 195 verlustfrei und ohne Wappenproblem. Der Nutzen des Schemas liegt bei den Flaggen, die es noch nicht gibt, weshalb der Zufallsgenerator in der Demo glaubwürdige Exemplare erzeugt. Es ist eine Grammatik für Flaggen im Kostüm eines Kompressionsverfahrens.
From the stands 3 of 45 comments
There are fewer than 256 recognized countries or territories, so 8 bits should be enough for a key. This would be superior to the 11-bit encoding presented here because it handles complexities such as coats of arms.
被承认的国家和地区不到 256 个,所以 8 比特做索引就够了。这比这里的 11 比特编码更好,因为它连国徽这类复杂情况也能处理。
承認された国や地域は 256 未満なので、鍵は 8 ビットで足りる。紋章のような複雑さも扱えるので、ここで示された 11 ビット符号化より優れている。
인정된 국가나 지역이 256 개 미만이니 키는 8 비트면 충분하다. 문장 같은 복잡한 경우까지 처리하므로 여기 제시된 11 비트 인코딩보다 낫다.
Hay menos de 256 países o territorios reconocidos, así que 8 bits bastan como clave. Sería superior a la codificación de 11 bits presentada aquí porque resuelve complejidades como los escudos de armas.
Es gibt weniger als 256 anerkannte Länder oder Territorien, also reichen 8 Bit als Schlüssel. Das wäre der hier gezeigten 11-Bit-Kodierung überlegen, weil es auch Feinheiten wie Wappen abdeckt.
kjgkjhfkjf
With all the attention on the link between compression and intelligence lately it is neat to have this example of how creating an encoding scheme naturally allows you to create new (likely) never before seen flags.
最近大家都在谈压缩与智能的关系,这个例子很有意思:设计一套编码方案,自然就能生成(很可能)从未出现过的国旗。
圧縮と知能の関係が話題の今、符号化方式を作ることで(おそらく)誰も見たことのない旗を生み出せるという例が見られるのは面白い。
요즘 압축과 지능의 관계가 많이 거론되는데, 인코딩 체계를 만들면 (아마도) 한 번도 본 적 없는 깃발을 자연스럽게 만들어 낼 수 있다는 예시라 좋다.
Con toda la atención que recibe últimamente la relación entre compresión e inteligencia, está bien tener este ejemplo de cómo crear un esquema de codificación permite generar banderas (probablemente) nunca vistas.
Bei all der Aufmerksamkeit für den Zusammenhang von Kompression und Intelligenz ist dieses Beispiel schön: Ein Kodierungsschema zu bauen erlaubt es ganz nebenbei, (vermutlich) nie gesehene Flaggen zu erzeugen.
harpiaharpyja
Surprised this didn't mention heraldry, which has what's basically a DSL for coats-of-arms: blazon.
有点意外文章没提纹章学,它基本上就是一套描述国徽的 DSL,叫 blazon。
紋章学に触れていないのが意外だ。blazon という、紋章を記述するほぼ DSL のような体系がある。
문장학을 언급하지 않은 게 의외다. blazon 이라는, 사실상 문장 기술용 DSL 이 있다.
Me sorprende que no mencione la heráldica, que tiene lo que es básicamente un DSL para escudos: el blasón.
Überraschend, dass die Heraldik nicht vorkommt, die mit dem Blason praktisch eine DSL für Wappen besitzt.
pimlottc