frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
233•theblazehen•2d ago•68 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
695•klaussilveira•15h ago•206 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
7•AlexeyBrin•1h ago•0 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
962•xnx•20h ago•555 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
130•matheusalmeida•2d ago•35 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
67•videotopia•4d ago•6 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
54•jesperordrup•5h ago•25 comments

ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
11•matt_d•3d ago•2 comments

Jeffrey Snover: "Welcome to the Room"

https://www.jsnover.com/blog/2026/02/01/welcome-to-the-room/
37•kaonwarb•3d ago•27 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
236•isitcontent•15h ago•26 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
234•dmpetrov•16h ago•125 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
33•speckx•3d ago•21 comments

UK infants ill after drinking contaminated baby formula of Nestle and Danone

https://www.bbc.com/news/articles/c931rxnwn3lo
12•__natty__•3h ago•0 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
335•vecti•17h ago•147 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
502•todsacerdoti•23h ago•244 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
386•ostacke•21h ago•97 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
300•eljojo•18h ago•186 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
361•aktau•22h ago•185 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
425•lstoll•21h ago•282 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
68•kmm•5d ago•10 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
96•quibono•4d ago•22 comments

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
21•bikenaga•3d ago•11 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
19•1vuio0pswjnm7•1h ago•5 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
265•i5heu•18h ago•217 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
33•romes•4d ago•3 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
64•gfortaine•13h ago•28 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1077•cdrnsf•1d ago•460 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
39•gmays•10h ago•13 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
298•surprisetalk•3d ago•44 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
154•vmatsiiako•20h ago•72 comments
Open in hackernews

Lánczos Interpolation Explained (2022)

https://mazzo.li/posts/lanczos.html
166•tobr•4mo ago

Comments

jeffreygoesto•4mo ago
Kind of related: https://johncostella.com/magic/ and its discussion https://news.ycombinator.com/item?id=41756205
magicalhippo•3mo ago
That was a very nice and detailed description of the Láczos filter. It gave some new perspectives that were not covered by the sources I've read earlier.
wartywhoa23•3mo ago
Not only a very nice explanation, but it's also presented in such an aesthetically pleasing way! The layout, the typography, the colors..

The blog is a thing of beauty.

trhway•3mo ago
Difference with Gabors kernels (that are in our visual cortex and what the first level CNN kernels look to converge to) is the scaling factor 1/t instead of e^(-t)
adzm•3mo ago
I know bicubic is similar to lanczos with less ringing and less sharp but still felt like a glaring omission not comparing it with lanczos. That said, great article and great details, I learned a lot.
magicalhippo•3mo ago
Author does explain why it in a footnote:

Cubic interpolation is not included in the showcase since it is a family of filters rather than a single filter — most cubic filters used in practice end up looking similar to Lánczos, although probably a bit less sharp but with less ringing.

jgalt212•3mo ago
So just one method with common paramters and display those.
jgalt212•3mo ago
I came to say just that. Why are there no pictures comparing the two? A competent high school student could write a method that beats linear and nearest.
nasretdinov•3mo ago
It's fascinating how the "ringing" around the edges looks so much like JPEG compression that it took me around 10 minutes to stop ignoring it and actually start looking at the images properly
Sesse__•3mo ago
It's the exact same phenomenon. :-) The high frequencies are abruptly cut off in both cases.
zozbot234•3mo ago
The claim that the best interpolation kernel for 2d images is just a product of two Lanczos kernels in the X and Y directions seems wrong to me. Rather, there is a proper 2D analog to the sinc function known as the jinc, or "Sombrero" function https://en.wikipedia.org/wiki/Sombrero_function . (This function is mathematically related to the "Airy" ringing patterns found in the optics of lenses.) Resampling with a jinc-based circular-window kernel should show a far lower intensity of ringing artifacts compared to the simple composition of two 1D Lanczos filters.

On a different point, when approximating a "brickwall" frequency spectrum an 'equiripple' pattern is generally considered desirable, and this will lead to a different kernel than the Lanczos approach does.

rostayob•3mo ago
(I'm the author)

I don't really claim that Lanczos interpolation as presented is the "best" 2D interpolation there is. It is definitely popular though, and I couldn't find a source explaining how it is derived, so I thought it'd be an interesting topic for a blog post.

petermcneeley•3mo ago
Thank you for this article. Are the graphs images? and how were they generated?
hilbert42•3mo ago
An interesting article, especially given the links to the YouTube interview of Cornelius Lánczos. I've used the Lánczos algorithm for years for interpolation but until now I'd not put a face and voice to his work.

It's interesting to compare Lánczos (and other) resampling algorithms in digital imaging with what's known as K-factor (aka K-rating)—a measurement in analog television for rating image quality. There are interesting similarities between the two.

An image is an image whether it's generated digitally or by analog means, so it's only to be expected that ways of measuring image quality between these two systems would have some things in common. That's done by comparing the output signal with the original image but it's not as straightforward as it seems as human perception and subjectivity get in the way.

As per article we've seen Lánczos, (sync, (sin x)/x) resampling quality is better than say nearest neighbour, Mitchell, triangle, etc. but the problem of human subjectivity remains as it's often difficult to compare image quality visually and or consistently. Analog television has long had methods of objectively evaluating images without the human factor and again the solution is mathematical, and as I'll show it has some interesting parallels with Lánczos resampling.

To determine image quality/K-factor of a television transmission system an electronic test signal replaces the subjective image and it's measured for distortion products after it exits the system. The mathematical parameters of this test signal are carefully defined to detect distortions and artifacts that are most noticeable to the human eye.

The test signal consists of a sine-squared pulse of specified duration followed by bar (a square wave with a transient response the same as the pulse). The K-factor is determined by measuring the deviation in the pulse and bar risetimes together with generated artifacts such as ringing and under and or overshoot. As the Pulse & Bar is a precision test signal input/output comparisons aren't necessary, thus a single measurement simplifies testing.

For those interested see BBC Monograph 58 'Sine-squared Pulse and Bar Testing in Colour Television'. 1965. PDF https://www.bbc.co.uk/rd/publications/bbc_monograph_58

Unfortunately, this ref. is behind a firewall: Macdiarmid, I.F. and Phillips, B. 'A Pulse & Bar Waveform Generator for Testing Television Links.' Proc I.E.E. Vol. 105, Part B, p.) 440. 1958.

adonovan•3mo ago
> An interesting article, especially given the links to the YouTube interview of Cornelius Lánczos. I've used the Lánczos algorithm for years for interpolation but until now I'd not put a face and voice to his work.

Indeed. What a fascinating and delightful memoir of a life in science! (I am envious of his ability to extemporize so flawlessly, in English, no less, which he says he acquired quite deliberately only after 1931, at age 38.)

hilbert42•3mo ago
Yeah, absolutely. Remember, Lánczos was one of those amazing Hungarian "Martians" whose intelligence seemed to defy all logic and reasoning.

I had a Hungarian physicist friend who unfortunately is now deceased who I used to rib over the brilliance of these Hungarian scientists. I'd ask him "what's in the water over there, what magic potion were they on?" and he'd just shrug his shoulders and say something like "I think it's the education system".

I can't say I was fully satisfied with his answers (although as I've just learned from the video on his life, Lánczos himself adds support for Hungary's strong education system).

When one lists the many remarkable achievements of these exceptionally gifted individuals it really does seem they're aliens from another world: https://en.wikipedia.org/wiki/The_Martians_(scientists)

:-)

sfpotter•3mo ago
One way to think of the sinc function is as the reproducing kernel (the point evaluation functional) for the space of bandlimited functions, thought of as a reproducing kernel Hilbert space. I guess the Shannon/Nyquist theorem just kind of falls out of this.