frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AI World Clocks

https://clocks.brianmoore.com/
918•waxpancake•12h ago•296 comments

So, you want to design your own language?

https://cs.lmu.edu/~ray/notes/languagedesignnotes/
8•veqq•1h ago•0 comments

SSL Configuration Generator

https://ssl-config.mozilla.org/
134•smartmic•8h ago•38 comments

A new Google model is nearly perfect on automated handwriting recognition

https://generativehistory.substack.com/p/has-google-quietly-solved-two-of
266•scrlk•3d ago•161 comments

AMD GPUs Go Brrr

https://hazyresearch.stanford.edu/blog/2025-11-09-amd-brr
32•vinhnx•4h ago•2 comments

HipKittens: Fast and furious AMD kernels

https://hazyresearch.stanford.edu/blog/2025-11-09-hk
134•dataminer•1d ago•46 comments

Unofficial Microsoft Teams client for Linux

https://github.com/IsmaelMartinez/teams-for-linux
74•basemi•1w ago•64 comments

No Leak, No Problem – Bypassing ASLR with a ROP Chain to Gain RCE

https://modzero.com/en/blog/no-leak-no-problem/
57•todsacerdoti•7h ago•4 comments

'No One Lives Forever' turns 25 and you still can't buy it legitimately

https://www.techdirt.com/2025/11/13/no-one-lives-forever-turns-25-you-still-cant-buy-it-legitimat...
219•speckx•14h ago•108 comments

Structured outputs on the Claude Developer Platform

https://www.claude.com/blog/structured-outputs-on-the-claude-developer-platform
126•adocomplete•11h ago•57 comments

All praise to the lunch ladies

https://bittersoutherner.com/issue-no-12/all-praise-to-the-lunch-ladies
164•gmays•10h ago•88 comments

A race condition in Aurora RDS

https://hightouch.com/blog/uncovering-a-race-condition-in-aurora-rds
210•theanomaly•12h ago•68 comments

I can't recommend Grafana anymore

https://henrikgerdes.me/blog/2025-11-grafana-mess/
118•gpi•2h ago•41 comments

Async Mutexes

https://matklad.github.io/2025/11/04/on-async-mutexes.html
23•ingve•1w ago•6 comments

Ucs-Detect

https://ucs-detect.readthedocs.io/intro.html
5•djoldman•1w ago•0 comments

GEN-0 / Embodied Foundation Models That Scale with Physical Interaction

https://generalistai.com/blog/nov-04-2025-GEN-0
41•jackdoe•1w ago•4 comments

Löb and Möb: Loops in Haskell

https://github.com/quchen/articles/blob/master/loeb-moeb.md
7•fanf2•1w ago•1 comments

Winamp clone in Swift for macOS

https://github.com/mgreenwood1001/winamp
210•hyperbole•18h ago•132 comments

Manganese is Lyme disease's double-edge sword

https://news.northwestern.edu/stories/2025/11/manganese-is-lyme-diseases-double-edge-sword
135•gmays•13h ago•76 comments

Show HN: Tiny Diffusion – A character-level text diffusion model from scratch

https://github.com/nathan-barry/tiny-diffusion
117•nathan-barry•4d ago•14 comments

Lawmakers want to ban VPNs and have no idea what they're doing

https://www.eff.org/deeplinks/2025/11/lawmakers-want-ban-vpns-and-they-have-no-idea-what-theyre-d...
128•gslin•1d ago•74 comments

The disguised return of EU Chat Control

https://reclaimthenet.org/the-disguised-return-of-the-eus-private-message-scanning-plot
586•egorfine•12h ago•248 comments

Mentra (YC W25) Is Hiring: Head of Growth to Make Smart Glasses Mainstream

https://www.ycombinator.com/companies/mentra/jobs/2YbQCRw-make-smart-glasses-mainstream-head-of-g...
1•caydenpiercehax•9h ago

Hiring the Joker

https://quarter--mile.com/hiring-the-joker
12•surprisetalk•1w ago•5 comments

Minisforum Stuffs Entire Arm Homelab in the MS-R1

https://www.jeffgeerling.com/blog/2025/minisforum-stuffs-entire-arm-homelab-ms-r1
76•kencausey•12h ago•41 comments

Awk Technical Notes (2023)

https://maximullaris.com/awk_tech_notes.html
122•signa11•1w ago•42 comments

Being poor vs. being broke

https://blog.ctms.me/posts/2025-11-14-being-poor-or-being-broke/
455•speckx•13h ago•533 comments

Linear algebra explains why some words are effectively untranslatable

https://aethermug.com/posts/linear-algebra-explains-why-some-words-are-effectively-untranslatable
133•mrcgnc•16h ago•103 comments

Go's Sweet 16

https://go.dev/blog/16years
138•0xedb•8h ago•76 comments

Bitchat for Gaza – messaging without internet

https://updates.techforpalestine.org/bitchat-for-gaza-messaging-without-internet/
414•ciconia•13h ago•221 comments
Open in hackernews

Mipmap selection in too much detail

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

Comments

pema99•6mo 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•6mo 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•6mo ago
Cool resource, haven't seen this before
PaulDavisThe1st•6mo 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•6mo ago
This was a wonderful article! I love this kind of exploration.
ImHereToVote•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Great article! If you think it has too much detail, you probably selected the wrong mipmap level for it ;)
flexagoon•6mo 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•6mo 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•6mo ago
I have close to zero experience with web development, I guess it shows
aeonik•6mo ago

    "You couldn’t implement these functions yourself - they are magic intrinsics which are implemented in hardware"
But why?
pema99•6mo 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•6mo 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•6mo ago
Ap Kon he
kajkojednojajko•6mo 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•6mo ago
Pretty cool seeing someone dig this deep - I always wish I understood these graphics tricks better
llm_nerd•6mo 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•6mo 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•6mo 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).