frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The async builder pattern in Rust

https://blog.yoshuawuyts.com/async-finalizers/
1•fanf2•1m ago•0 comments

(Golang) Self referential functions and the design of options

https://commandcenter.blogspot.com/2014/01/self-referential-functions-and-design.html
1•hambes•1m ago•0 comments

Show HN: Model Training Memory Simulator

https://czheo.github.io/2026/02/08/model-training-memory-simulator/
1•czheo•4m ago•0 comments

Claude Code Controller

https://github.com/The-Vibe-Company/claude-code-controller
1•shidhincr•7m ago•0 comments

Software design is now cheap

https://dottedmag.net/blog/cheap-design/
1•dottedmag•7m ago•0 comments

Show HN: Are You Random? – A game that predicts your "random" choices

https://github.com/OvidijusParsiunas/are-you-random
1•ovisource•13m ago•0 comments

Poland to probe possible links between Epstein and Russia

https://www.reuters.com/world/poland-probe-possible-links-between-epstein-russia-pm-tusk-says-202...
1•doener•21m ago•0 comments

Effectiveness of AI detection tools in identifying AI-generated articles

https://www.ijoms.com/article/S0901-5027(26)00025-1/fulltext
1•XzetaU8•27m ago•0 comments

Warsaw Circle

https://wildtopology.com/bestiary/warsaw-circle/
1•hackandthink•27m ago•0 comments

Reverse Engineering Raiders of the Lost Ark for the Atari 2600

https://github.com/joshuanwalker/Raiders2600
1•pacod•32m ago•0 comments

The AI4Agile Practitioners Report 2026

https://age-of-product.com/ai4agile-practitioners-report-2026/
1•swolpers•34m ago•0 comments

Digital Independence Day

https://di.day/
1•pabs3•37m ago•0 comments

What a bot hacking attempt looks like: SQL injections galore

https://old.reddit.com/r/vibecoding/comments/1qz3a7y/what_a_bot_hacking_attempt_looks_like_i_set_up/
1•cryptoz•38m ago•0 comments

Show HN: FlashMesh – An encrypted file mesh across Google Drive and Dropbox

https://flashmesh.netlify.app
1•Elevanix•40m ago•0 comments

Show HN: AgentLens – Open-source observability and audit trail for AI agents

https://github.com/amitpaz1/agentlens
1•amit_paz•40m ago•0 comments

Show HN: ShipClaw – Deploy OpenClaw to the Cloud in One Click

https://shipclaw.app
1•sunpy•43m ago•0 comments

Unlock the Power of Real-Time Google Trends Visit: Www.daily-Trending.org

https://daily-trending.org
1•azamsayeedit•44m ago•1 comments

Explanation of British Class System

https://www.youtube.com/watch?v=Ob1zWfnXI70
1•lifeisstillgood•45m ago•0 comments

Show HN: Jwtpeek – minimal, user-friendly JWT inspector in Go

https://github.com/alesr/jwtpeek
1•alesrdev•48m ago•0 comments

Willow – Protocols for an uncertain future [video]

https://fosdem.org/2026/schedule/event/CVGZAV-willow/
1•todsacerdoti•50m ago•0 comments

Feedback on a client-side, privacy-first PDF editor I built

https://pdffreeeditor.com/
1•Maaz-Sohail•54m ago•0 comments

Clay Christensen's Milkshake Marketing (2011)

https://www.library.hbs.edu/working-knowledge/clay-christensens-milkshake-marketing
2•vismit2000•1h ago•0 comments

Show HN: WeaveMind – AI Workflows with human-in-the-loop

https://weavemind.ai
9•quentin101010•1h ago•2 comments

Show HN: Seedream 5.0: free AI image generator that claims strong text rendering

https://seedream5ai.org
1•dallen97•1h ago•0 comments

A contributor trust management system based on explicit vouches

https://github.com/mitchellh/vouch
2•admp•1h ago•1 comments

Show HN: Analyzing 9 years of HN side projects that reached $500/month

3•haileyzhou•1h ago•1 comments

The Floating Dock for Developers

https://snap-dock.co
2•OsamaJaber•1h ago•0 comments

Arcan Explained – A browser for different webs

https://arcan-fe.com/2026/01/26/arcan-explained-a-browser-for-different-webs/
2•walterbell•1h ago•0 comments

We are not scared of AI, we are scared of irrelevance

https://adlrocha.substack.com/p/adlrocha-we-are-not-scared-of-ai
1•adlrocha•1h ago•0 comments

Quartz Crystals

https://www.pa3fwm.nl/technotes/tn13a.html
3•gtsnexp•1h ago•0 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•4mo 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•4mo 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•4mo 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•4mo 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•4mo 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•4mo 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.