frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Claude Code runs Git reset –hard origin/main against project repo every 10 mins

https://github.com/anthropics/claude-code/issues/40710
127•mthwsjc_•2h ago•48 comments

The Cognitive Dark Forest

https://ryelang.org/blog/posts/cognitive-dark-forest/
206•kaycebasques•5h ago•101 comments

ChatGPT won't let you type until Cloudflare reads your React state

https://www.buchodi.com/chatgpt-wont-let-you-type-until-cloudflare-reads-your-react-state-i-decry...
300•alberto-m•4h ago•227 comments

Voyager 1 runs on 69 KB of memory and an 8-track tape recorder

https://techfixated.com/a-1977-time-capsule-voyager-1-runs-on-69-kb-of-memory-and-an-8-track-tape...
378•speckx•8h ago•153 comments

I'll buy your electronics to feed our robot

https://www.dayworkx.com/
45•skholinn•3d ago•7 comments

Coding Agents Could Make Free Software Matter Again

https://www.gjlondon.com/blog/ai-agents-could-make-free-software-matter-again/
88•rogueleaderr•2h ago•76 comments

There is No Spoon. A software engineers primer for demystified ML

https://github.com/dreddnafious/thereisnospoon
33•jmatthews•2h ago•9 comments

Midnight train from GA: A view of America from the tracks as airports struggle

https://isp.netscape.com/news/story/0001/20260329/e4d8ea591b3b036142c2bf2dee7dff5a
58•walterbell•4h ago•53 comments

Pretext: TypeScript library for multiline text measurement and layout

https://github.com/chenglou/pretext
182•emersonmacro•1d ago•31 comments

The road signs that teach travellers about France

https://www.bbc.com/travel/article/20260327-the-road-signs-that-teach-travellers-about-france
45•1659447091•4h ago•6 comments

About the Atmosphere

https://toni.org/2026/03/27/about-the-atmosphere/
15•Kye•2d ago•3 comments

C++26 is done ISO C++ standards meeting, Trip Report

https://herbsutter.com/2026/03/29/c26-is-done-trip-report-march-2026-iso-c-standards-meeting-lond...
158•pjmlp•7h ago•125 comments

Ohm's Peg-to-WASM Compiler

https://ohmjs.org/blog/2026/03/12/peg-to-wasm
38•azhenley•2d ago•9 comments

The RISE RISC-V Runners: free, native RISC-V CI on GitHub

https://riseproject.dev/2026/03/24/announcing-the-rise-risc-v-runners-free-native-risc-v-ci-on-gi...
107•thebeardisred•3d ago•28 comments

More on Version Control

https://bramcohen.com/p/more-on-version-control
49•velmu•5h ago•6 comments

Show HN: Crazierl – An Erlang Operating System

https://crazierl.org/demo/
35•toast0•4h ago•10 comments

15 Years of Forking

https://www.waterfox.com/blog/15-years-of-forking/
5•MrAlex94•2d ago•0 comments

Neovim 0.12.0

https://github.com/neovim/neovim/releases/tag/v0.12.0
285•pawelgrzybek•7h ago•125 comments

Show HN: QuickBEAM – run JavaScript as supervised Erlang/OTP processes

https://github.com/elixir-volt/quickbeam
76•dannote•1d ago•11 comments

Creating West Coast Buddhism (2024)

https://letter.palladiummag.com/p/creating-west-coast-buddhism
46•surprisetalk•3d ago•24 comments

The rise and fall of IBM's 4 Pi aerospace computers: an illustrated history

https://www.righto.com/2026/03/ibm-4-pi-computer-history.html
66•zdw•8h ago•20 comments

LinkedIn uses 2.4 GB RAM across two tabs

591•hrncode•15h ago•349 comments

Nitrile and latex gloves may cause overestimation of microplastics

https://news.umich.edu/nitrile-and-latex-gloves-may-cause-overestimation-of-microplastics-u-m-stu...
497•giuliomagnifico•14h ago•225 comments

Kyushu Railway Company Train Varieties

https://www.jrkyushu.co.jp/english/train/index.html
47•NaOH•5h ago•4 comments

AyaFlow: A high-performance, eBPF-based network traffic analyzer written in Rust

https://github.com/DavidHavoc/ayaFlow
81•tanelpoder•9h ago•4 comments

Police used AI facial recognition to wrongly arrest TN woman for crimes in ND

https://www.cnn.com/2026/03/29/us/angela-lipps-ai-facial-recognition
340•ourmandave•10h ago•140 comments

Miasma: A tool to trap AI web scrapers in an endless poison pit

https://github.com/austin-weeks/miasma
279•LucidLynx•14h ago•208 comments

Sky Wins Irish Court Order to Unmask 300 Pirate IPTV Users via Revolut Bank

https://torrentfreak.com/sky-wins-irish-court-order-to-unmask-300-pirate-iptv-users-via-revolut-b...
57•nixass•4h ago•27 comments

Full network of clitoral nerves mapped out for first time

https://www.theguardian.com/society/2026/mar/29/full-network-clitoral-nerves-mapped-out-first-tim...
230•onei•8h ago•74 comments

Show HN: I made a "programming language" looking for feedback

https://github.com/alonsovm44/glupe
25•alonsovm•6h ago•26 comments
Open in hackernews

Mipmap selection in too much detail

https://pema.dev/2025/05/09/mipmaps-too-much-detail/
99•luu•10mo ago

Comments

pema99•10mo ago
Author here - I imagine this is a bit too niche to get much traction on HN. There's a bit of discussion on bsky https://bsky.app/profile/pema99.bsky.social/post/3lotdtgowf2...
boulos•10mo ago
Great writeup!

I can't tell from your GLSL if these would have forced FMAs for a lot of the intermediate product sums. That would probably be a non-trivial effect, particularly for your large anisotropy cases.

The Heckbert paper also describes the basic theory, but you would want to supplement with some of the offline rendering work that followed it. OpenImageIO (OIIO) is pretty widely used, and has gone through several iterations of bug fixing like https://github.com/AcademySoftwareFoundation/OpenImageIO/pul...

But for your purposes, you probably just need to find all the magic epsilons and sign checks to make it match.

pema99•10mo ago
Cool resource, haven't seen this before
PaulDavisThe1st•10mo ago
Totally fantastic article. I don't do work that overlaps with this at all, but even after 37+ years as a C++ programmer, I found this enlightening, engaging and informative. Thank you very much.
Agentlien•10mo ago
This was a wonderful article! I love this kind of exploration.
ImHereToVote•10mo ago
This is very relevant to what I'm doing. I'm trying to reproduce the MIP pipeline to get anti-aliased procedural details in fragment. specifically converting high frequency details into roughness.
sebastianmestre•10mo ago
A while back I read a paper about downsampling normal maps and converting lost detail into roughness

I can try to find it if you want

ImHereToVote•10mo ago
Nvidia has a quite blocky MIP selection. Did an Nvidia engineer decide that consumers don't notice, and fixed functioned the hell out of it?
lloeki•10mo ago
I for one liked the article! Great visualisations.

There's a bit of nostalgia ;) Brought me back to the days where GL display lists were the fancy thing to do and any kind of non-ff shader were but a wild dream.

AshleysBrain•10mo ago
Perfect blog post for HN IMO - any blog title involving "in too much detail" will probably do well! Great job with the post, the visualizations are fantastic.
hmage•10mo ago
I have a hunch nvidia's mipmapping algorithm changes if you open nvidia control panel and change texture filtering to "high performance" vs "high quality"
DDoSQc•10mo ago
This is great! Would've been really useful a couple months ago when I was refactoring Lavapipe's texture filtering. I worked off the Vulkan spec, which doesn't mention the elliptical transformation. I did notice that the spec says:

> The minimum and maximum scale factors (ρmin, ρmax) should be the minor and major axes of this ellipse.

Where "should" probably means some transformation can be applied (would be "must" otherwise).

Now I'm tempted to implement your visualizations so I can compare my work to your hardware references, and spend more hours getting it closer to actual hardware.

TonyTrapp•10mo ago
Great article! If you think it has too much detail, you probably selected the wrong mipmap level for it ;)
flexagoon•10mo ago
Btw, in case you're not aware, the article is somewhat unreadable on mobile devices because the code blocks can't be scrolled horizontally, so half of the code just doesn't fit on the screen. Also, the long latex formula overflows the screen and causes the entire page to move horizontally.
sebastianmestre•10mo ago
Fyi; you can scroll the code blocks if you zoom out until there is no more horizontal scroll on the page

Still sucky but at leas you can read the code

pema99•10mo ago
I have close to zero experience with web development, I guess it shows
aeonik•10mo ago

    "You couldn’t implement these functions yourself - they are magic intrinsics which are implemented in hardware"
But why?
pema99•10mo ago
There simply isn't another way to access registers from one 'thread' on another thread without using an intrinsic. You need that to calculate finite differences. For a long time, the only option was ddx()/ddy(). Now we also wave intrinsics, which you couldn't implement yourself either.
Sharlin•10mo ago
You need to access the neighboring pixels (fragments) in a quad to compute d_dx and d_dy, but quads are an implementation detail not exposed to the programmer.
lifelesson701•10mo ago
Ap Kon he
kajkojednojajko•10mo ago
Insane deep-dive! Framing texture sampling as "Ideally, we’d like to integrate over the projection of the screen pixel onto the texture" was enlightening for me. I particularly enjoyed the explanation of anisotropic filtering because it always seemed like magic to me, and in the context of aligning ellipses on textures it just makes sense :D
gitroom•10mo ago
Pretty cool seeing someone dig this deep - I always wish I understood these graphics tricks better
llm_nerd•10mo ago
This isn't my specialty, and ultimately it really doesn't matter to the core point of this good submission about how the GPU chooses mipmap level to use, however the article gives the impression that we pre-calculate mipmap levels to improve distant aliasing, though the problem they demonstrate is solved with trivial texture filtering.

Mipmaps are a performance optimization[1]. You could just use a 4096x4096 brick texture across your entire game, and then use texture filtering to make it look good both close and far, but that means that rendering a distant wall polygon that might fill just a few pixels of the viewport needs to filter and apply a 16.7 million texel texture, redoing the filtering again and again and evicting everything else from caches just for that one texture. If instead it can apply a 32x32 pre-filtered texture to loads of distant objects, there are obviously massive performance ramifications. Which is why mipmaps are used, letting massive textures be used for those cases where the detail is valuable, without destroying performance when it's just some distant object.

And of course modern engines do the same thing with geometry now, where ideally there is hierarchy of differing level of detail geometry and it will choose the massive-vertices object when it fills the scene, and the tiny, super optimized one when it's just a few pixels.

[1] As one additional note, all major graphics platforms can automatically generate mipmaps for textures...but only if the root is uncompressed. Modern texture compression is hugely compute bound and yields major VRAM savings so almost all games pre-compute the mipmapping and then do the onerous compression in advance.

pema99•10mo ago
I agree that mipmapping is an optimization, but I also don't really consider it incorrect or misleading to call it a technique for mitigating aliasing - it's a practical technique for doing so. Fair point though, and perhaps I should have mentioned this.
ahartmetz•10mo ago
I didn't even read what these circle images mean, but it's fun to see that AMD and Adreno look the same... because Adreno is AMD / ATI's old mobile architecture that was sold off a long time ago (and an anagram of Radeon).