frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why the 'Strivers' Are Right

https://greyenlightenment.com/2026/02/03/the-strivers-were-right-all-along/
1•paulpauper•1m ago•0 comments

Brain Dumps as a Literary Form

https://davegriffith.substack.com/p/brain-dumps-as-a-literary-form
1•gmays•1m ago•0 comments

Agentic Coding and the Problem of Oracles

https://epkconsulting.substack.com/p/agentic-coding-and-the-problem-of
1•qingsworkshop•2m ago•0 comments

Malicious packages for dYdX cryptocurrency exchange empties user wallets

https://arstechnica.com/security/2026/02/malicious-packages-for-dydx-cryptocurrency-exchange-empt...
1•Bender•2m ago•0 comments

Show HN: I built a <400ms latency voice agent that runs on a 4gb vram GTX 1650"

https://github.com/pheonix-delta/axiom-voice-agent
1•shubham-coder•2m ago•0 comments

Penisgate erupts at Olympics; scandal exposes risks of bulking your bulge

https://arstechnica.com/health/2026/02/penisgate-erupts-at-olympics-scandal-exposes-risks-of-bulk...
2•Bender•3m ago•0 comments

Arcan Explained: A browser for different webs

https://arcan-fe.com/2026/01/26/arcan-explained-a-browser-for-different-webs/
1•fanf2•5m ago•0 comments

What did we learn from the AI Village in 2025?

https://theaidigest.org/village/blog/what-we-learned-2025
1•mrkO99•5m ago•0 comments

An open replacement for the IBM 3174 Establishment Controller

https://github.com/lowobservable/oec
1•bri3d•7m ago•0 comments

The P in PGP isn't for pain: encrypting emails in the browser

https://ckardaris.github.io/blog/2026/02/07/encrypted-email.html
2•ckardaris•10m ago•0 comments

Show HN: Mirror Parliament where users vote on top of politicians and draft laws

https://github.com/fokdelafons/lustra
1•fokdelafons•10m ago•1 comments

Ask HN: Opus 4.6 ignoring instructions, how to use 4.5 in Claude Code instead?

1•Chance-Device•12m ago•0 comments

We Mourn Our Craft

https://nolanlawson.com/2026/02/07/we-mourn-our-craft/
1•ColinWright•14m ago•0 comments

Jim Fan calls pixels the ultimate motor controller

https://robotsandstartups.substack.com/p/humanoids-platform-urdf-kitchen-nvidias
1•robotlaunch•18m ago•0 comments

Exploring a Modern SMTPE 2110 Broadcast Truck with My Dad

https://www.jeffgeerling.com/blog/2026/exploring-a-modern-smpte-2110-broadcast-truck-with-my-dad/
1•HotGarbage•18m ago•0 comments

AI UX Playground: Real-world examples of AI interaction design

https://www.aiuxplayground.com/
1•javiercr•19m ago•0 comments

The Field Guide to Design Futures

https://designfutures.guide/
1•andyjohnson0•19m ago•0 comments

The Other Leverage in Software and AI

https://tomtunguz.com/the-other-leverage-in-software-and-ai/
1•gmays•21m ago•0 comments

AUR malware scanner written in Rust

https://github.com/Sohimaster/traur
3•sohimaster•23m ago•1 comments

Free FFmpeg API [video]

https://www.youtube.com/watch?v=6RAuSVa4MLI
3•harshalone•23m ago•1 comments

Are AI agents ready for the workplace? A new benchmark raises doubts

https://techcrunch.com/2026/01/22/are-ai-agents-ready-for-the-workplace-a-new-benchmark-raises-do...
2•PaulHoule•28m ago•0 comments

Show HN: AI Watermark and Stego Scanner

https://ulrischa.github.io/AIWatermarkDetector/
1•ulrischa•29m ago•0 comments

Clarity vs. complexity: the invisible work of subtraction

https://www.alexscamp.com/p/clarity-vs-complexity-the-invisible
1•dovhyi•30m ago•0 comments

Solid-State Freezer Needs No Refrigerants

https://spectrum.ieee.org/subzero-elastocaloric-cooling
2•Brajeshwar•30m ago•0 comments

Ask HN: Will LLMs/AI Decrease Human Intelligence and Make Expertise a Commodity?

1•mc-0•31m ago•1 comments

From Zero to Hero: A Brief Introduction to Spring Boot

https://jcob-sikorski.github.io/me/writing/from-zero-to-hello-world-spring-boot
1•jcob_sikorski•32m ago•1 comments

NSA detected phone call between foreign intelligence and person close to Trump

https://www.theguardian.com/us-news/2026/feb/07/nsa-foreign-intelligence-trump-whistleblower
13•c420•32m ago•2 comments

How to Fake a Robotics Result

https://itcanthink.substack.com/p/how-to-fake-a-robotics-result
1•ai_critic•33m ago•0 comments

It's time for the world to boycott the US

https://www.aljazeera.com/opinions/2026/2/5/its-time-for-the-world-to-boycott-the-us
3•HotGarbage•33m ago•0 comments

Show HN: Semantic Search for terminal commands in the Browser (No Back end)

https://jslambda.github.io/tldr-vsearch/
1•jslambda•33m ago•1 comments
Open in hackernews

CSS Unit Might Be a Combination

https://www.oddbird.net/2025/09/23/type-units/
49•speckx•4mo ago

Comments

alberth•4mo ago
After 30-years of CSS, we’re still debating what is the best unit to use.
lmm•4mo ago
What would it take to get people to abandon the whole thing? CSS has never delivered on any of its promises, yet somehow people still defend it.
tyleo•4mo ago
I disagree. CSS can do a lot. I find myself yearning for it when working in non-web UI frameworks.
duskwuff•4mo ago
What would "abandoning" CSS even mean? Going back to table layouts? (Oh good lord no.)

Anyways, CSS is fine. The problem space is complicated.

lmm•4mo ago
> Going back to table layouts?

Nested tables and inline styling yeah. It works better. It's always worked better, unless you're handwriting your HTML, and virtually no-one does that anymore.

baggy_trough•4mo ago
I for one don't miss the one pixel spacer gif.
maxbond•4mo ago
You should check out Flexbox and Grid. They're fantastic and aren't as brittle as table layouts (eg you can reflow things on mobile rather than having a big horizontal scroll bar). There is some complexity but the dev tools help a lot.

https://css-tricks.com/snippets/css/a-guide-to-flexbox/

https://css-tricks.com/snippets/css/complete-guide-grid/

As an aside, hand-rolling HTML templates is still pretty common (such as for SSG themes), which is substantially similar to hand-rolling HTML. You just get `if` and `for` and a couple other primitives.

rjh29•4mo ago
So simple. Want a fancy border? Just make 9 images in photoshop and put them into a 3x3 table with your text inside. Those were the days...
fijiaarone•4mo ago
Tailwind is the solution to CSS
geuis•4mo ago
Tailwind is a hot bloat of a mess. Adds tons of crap to html elements. It's mostly popular among frontend folks who haven't taken the time to actually learn css.

I still remember the star selector pattern to prevent IE6 from reading malformed css. So me old.

But having grown up in my early career during the transition from embedding styles into html to sites like css zen garden, I am extremely critical of modern "frameworks".

I still see so much bloat in poor performing pages and often when I dig deeper it's tailwind in addition to other inefficiencies adding repeated cruft that doesn't help with site rendering.

A proper 20 year old understanding of css class style inheritance isn't hard, and it negates 80-90% of the complexity of maintaining complex web apps (react components mainly).

CSS grids are cute and useful, but for a hell of a lot of web interfaces a simple float and clear:left still works wonders.

bryanrasmussen•4mo ago
so you've decided to use Tailwind, now you have two problems: you don't know CSS and you're using Tailwind.
easyThrowaway•4mo ago
> What would it take to get people to abandon the whole thing?

A new styling language, with better syntax, written taking into account real-world scenarios, widely deployed across all browsers (or at least cross-compiling into CSS)?

I wouldn't hold my breath.

geuis•4mo ago
Agreed. I always used px versus anything else. It made for the easiest conversions from designer to interface. Was predictable and consistent for almost all users.

It has never translated well to custom font settings from a user browser, but it turns out those are exceptionally rare vs people who just ctl/cmd +/- on the keyboard or pinch and zoom on the phone.

paulddraper•4mo ago
After 70 years of programming languages, we're still debating what is the best language to use.
bryanrasmussen•4mo ago
After a few years of the comparison and math functions used in this article being widely available this article was written showing how to use them to improve CSS sizing. Not quite as punchy I guess.
tyleo•4mo ago
I use px. It seems less likely to break and most zoom setting I’m a custom to respect it (e.g., pinch, browser zoom).

On some em-based websites I’ve seen them break at high zoom levels defeating the purpose.

FrostKiwi•4mo ago
Doing lot's of WebGL, I'm still surprised we don't have a way to describe things in native screen pixels, but rely on a mix of dpr [1] and using 4 corners of a DOM object [2] to calculate true size in relation to CSS pixels. Works great across all platforms, but still doesn't give true pixels in certain combinations of screen DPI and resolution. I understand why web has to be this way, but it still baffles me that such a basic thing is so hard.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Window/devi...

[2] https://stackoverflow.com/a/35244519

paulddraper•4mo ago
I don't really understand your point.

This is common among visual technologies.

There are logical pixels, an abstract description of size.

And there are physical pixels, that are the actual dots of color.

---

This is not unlike a printed page of text.

The font size is measured in points.

The physical output is dots and determined by DPI.

01HNNWZ0MV43FF•4mo ago
Yeah but when I'm making a game it would be nice to render exactly the right amount of pixels for a desktop display

I targeted Firefox and ended up with some bonkers magic constant where a pixel was actually like 1.05 pixels or something.

If I don't render enough it'll be blurry. If I render too many it's wasteful. If I am slightly off then the filtering will make it look weird

It's not a phone with a Bayer matrix, it's not VR, I don't know why they have to be weird about it

SAI_Peregrinus•4mo ago
If I play your pixel-exact game on my 21" diagonal 3840x2160 pixel monitor, does it show up as 1/4 the size from when I play it on my 21" diagonal 1920x1080 monitor?
FrostKiwi•3mo ago
That of course depends on the implementation. The point is not the game or the UI ignoring DPI scaling or browser zoom, in fact you would want to support that. The point is, that you cannot do so on a pixel perfect-level across the board, because the widely supported way to do so, DevicePixelRatio, is just that: a ratio with precision issues under certain combinations of screen dpi and browser zoom.

The browser can do pixel perfect rendering, it has to for sharp text. But in WebGL there is no reliable way to get the coordinates to do so as well. Browser specific ways to do so exist, but using standard APIs doesn't work browser zooms like 130% or DPI scales like 1.25 in combination with certain resolutions.

paulddraper•4mo ago
To be honest, a lot of what you're saying doesn't make sense.

But yes you can have "bonkers" devicePixelRatio. Namely, when the browser is zoomed.

Logical pixels measure UI "size." And Physical pixels (logical pixels * devicePixelRatio) is the number of dots.

Your game layout should target logical pixels. And rasterization, textures, etc should target physical pixels.

If weird devicePixelRatio causes problems with a lot of pixel-exact UI, you may choose to use your own logical pixels that has a rounded devicePixelRatio.

---

I have a MacBook with a retina display. Versus a non-retina display, I would not expect that everything is 2x smaller, but rather 2x more detailed (or, if not that, the same level of detail but same size). That important distinction is reason for two different constants.

FrostKiwi•3mo ago
> If weird devicePixelRatio causes problems with a lot of pixel-exact UI, you may choose to use your own logical pixels that has a rounded devicePixelRatio.

Exactly that is unfortunately not possible, you may or may not get off by one resolution.

> I would not expect that everything is 2x smaller

Of course.

> but rather 2x more detailed

That's specifically the thing you cannot guarantee, as sometimes due to lack of standarization, it maybe 2.01x size, leading to those UI elements being the right size, but slightly blurry due to pixel grid mismatches.

FrostKiwi•3mo ago
Very much unlike printed text, for 3D and 2D rendering, the difference between native and non native resolutions is huge in terms of sharpness. A whole host of rendering techniques give subpar results if that cannot be guaranteed, even if off by one pixel. It's a basic necessity, that in WebGL you may or may not have.
o11c•4mo ago
Use an img srcset and inspect currentSrc?
bawolff•4mo ago
window.devicePixelRatio ?
o11c•4mo ago
Parent said that's not reliable apparently.
FrostKiwi•3mo ago
DevicePixelRatio changes with screen DPI and browser zoom, some combinations result in repeating decimals. You will get off by one pixel rendering and thus a sudden loss in sharpness due to the whole canvas getting bilinear interpolation.
jdashg•4mo ago
Well unfortunately, the device pixel size of something does actually depend not just on the css size and dpr scaling, but also on position and iirc even potentially what else is on the page due to think like border and thin line dilation. Unfortunately that's just how css layout works in practice, due to pixel snapping and dealing with ambiguities in how to render thin or generally non-integer-sized elements.

There are two approaches these days though: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/W...

FrostKiwi•3mo ago
> There are two approaches these days

I'm aware of those, it's just sad nothing is nailed as a standard. Those are two workarounds unfortunately. A browser API not supported on Apple Safari and pixel-presnap with JS doing the CSS px calculation backwards + snapping and even that code has an extra branch to fix a macOS+Chrome bug. The whole situation smells of duct tape.

zamadatix•4mo ago
I'm not sure which part of their set of approaches this stems from, but loading the page on my screen with standard DPI and zoom makes the article font a hard to read (due to size) 39.2 px. Zooming out to 25% it does get to a down reasonable effective size but the calculated font size became a silly 121px at that level.
Sniffnoy•4mo ago
Looks like the title-mangler mangled this title.
koolala•4mo ago
The real world units like mm and inches would be amazing in VR one day.
eduction•4mo ago
Auto editing rules written by subliterate YC partners made this headline completely illegible. Almost as bad as techmeme headlines.