frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Death to px, long live ch

https://shkspr.mobi/blog/2026/08/death-to-px-long-live-ch/
20•Brajeshwar•1h ago

Comments

microflash•40m ago
I’ve found that ch and ex units are heavily influenced by latin characters. They just give weird results with non-latin characters leading to magic numbers. But the concept is really solid: use them if you want the spacing relative to text.
LowTechHN•34m ago
Thought a magic number is when you hard code a number in logic instead of pulling from a data source
goda90•26m ago
I'm guessing the GP means the weird results leads to adding magic numbers to get good results.
shevy-java•26m ago
Nobody uses ch, let's be honest.
shevy-java•27m ago
There is no way I will abandon px.

In fact, I think CSS made the wrong decision by proliferating so many things, em, %, px, ch, whatever-else. The human brain is not well-equipped to have so many things for basically the same thing. That's a design flaw in CSS, plain and simple. And the author is thus also wrong. There won't be a mass movement of people using "ch". It would be a good first april article though.

rado•27m ago
Layout shift when the font loads
microflash•6m ago
Not necessarily. See https://screenspan.net/fallback
npn•24m ago
I also did some experiment with ch many years ago. I found that 60ch is ideal width for block text for easy reading. too bad it is pretty hard to make websites with only 60ch wide.
cynicalsecurity•14m ago
What happened to em?
somat•14m ago
What I want to know is who decided to break px, the last thing we need is yet another screwball physical measurement, css was already full of them. But what "tut tut, everybody is using px and these new hi-dpi displays are rendering things really tiny, we can't have that" and now px as a useful unit is ruined.

Is there a way to use real pixels? My, admittedly quick, search says no. at least nothing jumps out at me from the spec.

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
84•campuscodi•2h ago•34 comments

My favorite nonfiction books about cults, scams, and schemes

https://bookdna.com/best-books/nonfiction-about-cults-scams-and-schemes
35•bwb•1h ago•10 comments

What Is a Harness?

https://earendil.com/posts/what-is-a-harness/
19•tosh•45m ago•6 comments

Sydney Marathon medal mistakenly depicts Munich stadium

https://www.bbc.com/news/articles/cvg92y1wzn8o
84•epestr•4h ago•56 comments

Things I want in a modern relational query language

https://sporks.space/2026/08/19/things-i-want-in-a-modern-relational-query-language/
18•zdw•20h ago•5 comments

To become a better writer, read as much as you can

https://nappertime.com/the-golden-rule-of-becoming-a-better-writer/
310•andsoitis•11h ago•203 comments

The End of an Athlon

http://www.os2museum.com/wp/the-end-of-an-athlon/
142•userbinator•9h ago•56 comments

Slovakia finds Russian backdoor in traffic speed cameras

https://risky.biz/risky-bulletin-slovakia-finds-russian-backdoor-in-traffic-speed-cameras/
15•dredmorbius•31m ago•1 comments

Show HN: Live 3D satellite tracker and the declassified Pentagon UFO archive

https://skylens.yantraai.app/
35•skylensspace•5h ago•16 comments

I gave Qwen 3.8 27B a reverse-engineering job and it finished in 30 minutes

https://www.xda-developers.com/qwen-3-8-27b-reverse-engineering-job-frontier-model/
155•raybb•5h ago•78 comments

MartyPC is a cross-platform emulator of early PCs written in Rust

https://martypc.net/
154•boilerupnc•11h ago•55 comments

JIT Compiling Code in 5μs

https://malisper.me/jit-compiling-code-in-5-us/
122•zX41ZdbW•9h ago•75 comments

Fast and Hard Code

https://lucumr.pocoo.org/2026/8/22/fast-hard-code/
81•tosh•9h ago•42 comments

Why your local LLM feels dumber than it is

https://forum.level1techs.com/t/why-your-local-llm-feels-dumber-than-it-is/253917
413•felineflock•20h ago•170 comments

Death to px, long live ch

https://shkspr.mobi/blog/2026/08/death-to-px-long-live-ch/
20•Brajeshwar•1h ago•10 comments

The Art and Beauty of Blade Runner (2015)

https://nappertime.com/the-art-of-and-beauty-of-blade-runner/
134•cocacola1•14h ago•67 comments

Hister – A private, full content search index that you control

https://hister.org/
420•auraham•4d ago•93 comments

Thinking in Python

https://thinkinginpython.com/
247•pjacotg•20h ago•48 comments

ElevenLabs, TwelveLabs, ThirteenLabs

https://quantumi.sh/public/labs.html
436•jemoka•1d ago•130 comments

typ.ing

https://typ.ing/
318•bookofjoe•4d ago•101 comments

Scrap (2006)

https://twitter.com/moxie/status/2091218652133732491
386•tosh•21h ago•211 comments

RF Cafe

https://www.rfcafe.com/
225•gregsadetsky•4d ago•44 comments

NanoGPT Speedrun Frontier

https://www.primeintellect.ai/research/nanogpt-speedrun
127•stared•16h ago•31 comments

New MCP Roadmap

https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
241•pentagrama•1d ago•142 comments

Risk of transmission of amyloid β pathology via transfused blood products

https://doi.org/10.1016/S0140-6736(26)00767-1
22•sbulaev•9h ago•3 comments

Iranian hackers shut down UK power plant for 4 days

https://www.telegraph.co.uk/news/2026/08/22/iranian-hackers-shut-down-uk-power-plant/
55•giuliomagnifico•5h ago•31 comments

How a Texas student blew the whistle on a rogue AI hacking attempt

https://www.reuters.com/world/how-texas-student-blew-whistle-rogue-ai-hacking-attempt-2026-08-20/
185•olalonde•2d ago•97 comments

Authoritarianism of Code

https://zedshaw.com/blog/2020-10-07-authoritarianism-of-code/
4•wqlander•33m ago•2 comments

ATProto spaces: A new extension to ATProto that enables non-public data

https://atproto.com/blog/atproto-spaces-alpha
160•grappler•2d ago•25 comments

NetBSD and my life (2005)

https://mail-index.netbsd.org/netbsd-advocacy/2005/09/10/0000.html
139•gnyeki•20h ago•32 comments