frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Mistral AI raises 1.7B€, enters strategic partnership with ASML

https://mistral.ai/news/mistral-ai-raises-1-7-b-to-accelerate-technological-progress-with-ai
445•TechTechTech•7h ago•262 comments

A clickable visual guide to the Rust type system

https://rustcurious.com/elements/
108•stmw•3d ago•10 comments

You too can run malware from NPM (I mean without consequences)

https://github.com/naugtur/running-qix-malware
64•naugtur•3h ago•46 comments

DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware

https://github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c
134•tosh•3h ago•80 comments

Hallucination Risk Calculator

https://github.com/leochlon/hallbayes
29•jadelcastillo•2h ago•8 comments

How can England possibly be running out of water?

https://www.theguardian.com/news/ng-interactive/2025/aug/17/how-can-england-possibly-be-running-o...
184•xrayarx•2d ago•278 comments

Weaponizing Ads: How Google and Facebook Ads Are Used to Wage Propaganda Wars

https://medium.com/@eslam.elsewedy/weaponizing-ads-how-governments-use-google-ads-and-facebook-ad...
35•bhouston•51m ago•12 comments

Signal Secure Backups

https://signal.org/blog/introducing-secure-backups/
890•keyboardJones•20h ago•394 comments

Nango (YC W23) Is Hiring a Staff Back End Engineer (Remote)

https://jobs.ashbyhq.com/Nango/3467f495-c833-4dcc-b119-cf43b7b93f84
1•bastienbeurier•1h ago

Liquid Glass in the Browser: Refraction with CSS and SVG

https://kube.io/blog/liquid-glass-css-svg/
373•Sateeshm•15h ago•96 comments

Anscombe's Quartet

https://en.wikipedia.org/wiki/Anscombe%27s_quartet
20•gidellav•1d ago•8 comments

iPhone dumbphone

https://stopa.io/post/297
535•joshmanders•19h ago•315 comments

Strong Eventual Consistency – The Big Idea Behind CRDTs

https://lewiscampbell.tech/blog/250908.html
85•tempodox•8h ago•34 comments

NPM debug and chalk packages compromised

https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised
1231•universesquid•21h ago•662 comments

Experimenting with Local LLMs on macOS

https://blog.6nok.org/experimenting-with-local-llms-on-macos/
341•frontsideair•22h ago•225 comments

Deluxe Paint on the Commodore Amiga

https://stonetools.ghost.io/deluxepaint-amiga/
52•doener•3d ago•13 comments

Microsoft doubles down on small modular reactors and fusion energy

https://www.techradar.com/pro/microsoft-joins-world-nuclear-association-as-it-doubles-down-on-sma...
147•mikece•18h ago•259 comments

The elegance of movement in Silksong

https://theahura.substack.com/p/the-elegance-of-movement-in-silksong
137•theahura•16h ago•207 comments

Alterego: Thought to Text

https://www.alterego.io/
158•oldfuture•16h ago•104 comments

Contracts for C

https://gustedt.wordpress.com/2025/03/10/contracts-for-c/
89•joexbayer•4d ago•69 comments

X Design Notes: Unifying OCaml Modules and Values

https://blog.polybdenum.com/2025/08/19/x-design-notes-unifying-ocaml-modules-and-values.html
12•todsacerdoti•3d ago•0 comments

Is OOXML Artifically Complex?

https://hsu.cy/2025/09/is-ooxml-artificially-complex/
117•firexcy•3d ago•112 comments

No adblocker detected

https://maurycyz.com/misc/ads/
507•LorenDB•12h ago•261 comments

Clankers Die on Christmas

https://remyhax.xyz/posts/clankers-die-on-christmas/
240•jerrythegerbil•22h ago•195 comments

Will Amazon S3 Vectors kill vector databases or save them?

https://zilliz.com/blog/will-amazon-s3-vectors-kill-vector-databases-or-save-them
246•Fendy•21h ago•111 comments

Majority in EU's biggest states believes bloc 'sold out' in US tariff deal

https://www.theguardian.com/world/2025/sep/09/majority-in-eu-biggest-states-believes-bloc-sold-ou...
11•belter•1h ago•1 comments

Show HN: Attempt – A CLI for retrying fallible commands

https://github.com/MaxBondABE/attempt
57•maxbond•11h ago•15 comments

The key points of "Working Effectively with Legacy Code"

https://understandlegacycode.com/blog/key-points-of-working-effectively-with-legacy-code/
156•lordleft•3d ago•61 comments

Seedship – Text-Based Game

https://philome.la/johnayliff/seedship/play/index.html
106•ntnbr•3d ago•41 comments

AMD claims Arm ISA doesn't offer efficiency advantage over x86

https://www.techpowerup.com/340779/amd-claims-arm-isa-doesnt-offer-efficiency-advantage-over-x86
196•ksec•22h ago•365 comments
Open in hackernews

Liquid Glass in the Browser: Refraction with CSS and SVG

https://kube.io/blog/liquid-glass-css-svg/
373•Sateeshm•15h ago

Comments

delta_p_delta_x•13h ago
Very nice, I really like the vector animations :)

One thing I'd say is to apply some anti-aliasing (MSAA, SMAA?)—even on a 4K display with a pixel density of 64.3 px/cm, the jaggies are visible, especially because of the extreme contrast of the caustics behind the dark background.

rezmason•13h ago
I'm not especially familiar with this, but I believe making the SVG element larger can increase its filter effects' resolution, and then using CSS transforms to scale the element's parent will return it to its original size, but with a higher resolution result. From there, additional changes to the filter effect (to incorporate a subtle blur for instance) may help it over the finish line.

Regardless, this is a great writeup for changes I wish to never see in ordinary UI.

altairprime•13h ago
I’d be very interested to compare the power efficiency of this implementation versus the OS-native version of same over a 12-hour benchmark.
tkzed49•13h ago
this is the first one I've seen that isn't just feTurbulence. Thank you for doing it right! I've been thinking about it since the first liquid glass clones!
explosion-s•12h ago
I made something similar to this with WebGL shaders (the benefit being it works across browsers): https://real-glass.vercel.app - The tricky thing for me was making it refract real HTML elements behind
davidmurdoch•11h ago
Impressive!
cycomanic•10h ago
Cool this looks like it even has dispersion, i.e. colors separate at the edge of the glass element.
lagrange77•4h ago
https://en.wikipedia.org/wiki/Chromatic_aberration

?

Lorin•8h ago
What is causing the ghosting/delay when moving the glass over text?
kaptainscarlet•1h ago
probably shaders are compiling and initialising on every drag movement
IshKebab•7h ago
Looks nice! It's too slow to actually use though. Op's is much smoother.
thisOtterBeGood•6h ago
Not over here. As far as I understand Op's solution does not utilize a gpu.
freehorse•6h ago
I actually see gpu utilisation in OP's website when I move things (m3 pro), but this other solution shows much less gpu utilisation (prob more efficient?).
qzio•6h ago
It's the opposite on my macbook pro/chrome computer... the OP is unusable, but the webGL version is super smooth
kaptainscarlet•1h ago
it's extremely quick on my M3 Mac too.
kubeio•49m ago
I considered WebGL, and I agree—a shader is more performant for real-time effects.

But WebGL comes with drawbacks:

- You need JS code running before anything shows up.

- Shaders can’t directly manipulate the DOM render. To make refraction work, you’d have to re-render everything into a canvas—which isn’t really “the web” anymore.

With the SVG/CSS approach, you can pre-render the displacement map (at build time or on the backend) and get the refraction visible on the very first frame. Plus, it integrates cleanly with existing, traditional UIs.

That said, this approach could definitely be improved. Ideally we’d have shader-like features in the SVG Filter spec (there was a proposal, but it seems abandoned). There are some matrix operations available in SVG Filters, but they’re limited—and for my first blog post I wanted to focus more on pedagogy, art, and technique than heavy optimization.

kkkqkqkqkqlqlql•43m ago
I'm on mobile and your site works much better than the WebGL one.
msy•12h ago
Impressive but also impressive in that scrolling down through the examples makes my fully-loaded M4-Max Macbook Pro judder. I hate to imaging the performance of a full UI leveraging this stuff. Apple can do it in the UI because they can optimize the hell out of it.
spicybright•12h ago
Same, very laggy on my machine. The spectacular border effects also didn't work for me.
StrangeDoctor•12h ago
Yeah this site does not scroll like butter as it were.

But I don’t think css can leverage the gpu in most (any?) cases. Apple has almost certainly baked something into the silicon to help handle the ui.

CognitiveLens•11h ago
Most browsers will engage the GPU for compositing layers if they think the layers can be separated - https://www.smashingmagazine.com/2016/12/gpu-animation-doing...
StrangeDoctor•35m ago
Interesting, thank you!
kubeio•12h ago
Haha, I’m the author of the post.

I planned to fix the performance issues before posting here (since I knew HN would be quick to point that out), but somebody posted it first. You’re absolutely right — it’s pretty slow right now and needs optimization.

And it’s not just the refraction/displacement map: plenty of other parts, like visualisations, aren’t optimized yet either.

jonahx•9h ago
Performance aside, this is really well done.
keepamovin•4h ago
lol this demo is SO cool. you have NOTHING to be anything but proud and happy of. you did excellently and this UI is the perfect realization of this idea. Well done!

It ran perfectly smoothly with no perf hit in 2020 mba m1. there are no issues with this.

kubeio•9h ago
I did a quick performance fix, should be a bit better, at least on Chrome.

(Safari stills seems to be a bit slow to render SVGs)

Anyway, I did not expect this blog post to be on HN, so still things to improve on it.

cpojer•12h ago
I forked a JS library for liquid-glass and patched it up with some positioning fixes. It's fun to use in presentations.

See https://github.com/nkzw-tech/liquid-glass

socalgal2•6h ago
Nice! I like yours more
WD-42•11h ago
Does this not work on Firefox? Just looks like regular gradients.
al_borland•11h ago
> Chrome‑only demo

> The interactive demo at the end currently works in Chrome only (due to SVG filters as backdrop‑filter). You can still read the article and interact with the inline simulations in other browsers.

WD-42•10h ago
I think I’ve trained myself to ignore shiny boxes outside the main text like that. Most of the time they are trying to sell something.
efilife•7h ago
Me too. Sometimes when I browse the internet with my girfriend aside she comments on something and I have no idea what she means. She has to literally point at the screen and show me the text I've ignored and it's ALWAYS the biggest and most flashy font ever
RestartKernel•11h ago
By far the most impressive browser implementation of glass I've seen. Though it doesn't seem like it'd be viable in a "real" website due to compatibility and performance.
thrtythreeforty•11h ago
How are the vector field animations done? The whole website is impressive but I'd love to be able to build those.
kubeio•11h ago
I used React with vanilla SVG and Motion to animate.
jrochkind1•9h ago
i'm amazed how good the write-up is, with amazing interactive visual aids!
LeoPanthera•9h ago
404'd?
tossit444•9h ago
404?
airstrike•9h ago
Strangely the "Playground" session seems to work well in Firefox but nothing else does
retox•9h ago
Maybe technically impressive but please don't use this on your websites, it looks like shit (the effect in general, not this specific implementation)
SchemaLoad•7h ago
It looks really good on iOS. I've been running the beta for a while and the execution is great.
internet2000•9h ago
Very close, but no cigar. The magnifying glass effect distorts the text just enough to make it look off compared to the real thing. The "l" in displacement is really tilted, and the angle changes as you move the lens around. https://i.imgur.com/PW4RAYq.png
creatonez•8h ago
The thing that makes liquid glass actually somewhat work compared to previous shiny glass designs is the automatic tint adjustment for contrast. Nothing I've seen actually pulls this off.
ryukoposting•8h ago
Very slick. Shame it doesn't work on Firefox.
_ZeD_•7h ago

  Chrome‑only demo
  The interactive demo at the end currently works in Chrome only (due to SVG filters as backdrop‑filter).
  You can still read the article and interact with the inline simulations in other browsers.
Dishonor on your WHOLE FAMILY! dishonor on you, dishonor on your cow...
ivolimmen•7h ago
I had the same reaction but the weird thing is: it looked ok in FireFox..?
yreg•7h ago
Yeah, curious. The mentioned backdrop-filter seems to be supported everywhere

https://caniuse.com/?search=backdrop-filter

Cu3PO42•6h ago
backdrop-filter is supported by all major browsers, but specifically using SVG filters, which are more powerful and is out-of-spec, is only supported in Chromium-based browsers.
freehorse•6h ago
Not sure if this is relevant, but while moving the slider around, in chromium i see 40% gpu utilisation, while in firefox less than 20% (macbook m3 pro). I do not observe any noticeable difference otherwise in terms of quality.

PS Neat website and explanations, but talking about the liquid glass as a design principle in general, I would rather ui elements in a random website not use that much of gpu for not great reasons but maybe that's my problem of not thinking different.

nine_k•5h ago
Not OK on mobile Firefox: displacement maps do not apply, so there's no actual refraction, the liquid feeling; there's only the specular effect at the edges. Try opening it in a Chromium-based browser and compare.
mirekrusin•5h ago
Try on chromium based browser - it's much better.
fuzzy2•4h ago
The backdrop-filter thingy most definitely does not work in Firefox. Everything above does.

It works on Chromium-based browsers but it does not look great, probably needs some filtering.

7bit•7h ago
Works fine on Firefox tho
pcardoso•6h ago
And for me it was where it was the smoothest. But it even worked in Safari, albeit a bit slowly.
hyperbolablabla•6h ago
Not on mobile
frizlab•4h ago
No. The effects are not fully there on Firefox/Safari.
jansan•3h ago
No. It becomes apparent in the "Magnifying Glass" demo. Nothing is magnified in Firefox, while it is a really cool effect in Chrome.
sonar_un•5h ago
Ok, this was the funniest comment i've read in a while.
conradfr•4h ago
What is funny is that for me the page on Chrome is slower and the scrolling jankier than on Firefox with the unsupported effects (macOS M1).

Besides that, very impressed by the article presentation.

chrisldgk•3h ago
I mean that makes sense though, right? Since it’s only available on Chrome, it’s the only one doing all the computations (GPU or otherwise) that other browsers won’t do, since they just ignore the rule.
Kiro•3h ago
This is exactly the kind of thing where this is OK since it's literally impossible otherwise. It's showcasing a specific feature that is not generally available.
sudarshandodiya•31m ago
In that case it would be more apt to title the post as "Liquid Glass in Chromium Browsers...", or something along those lines. People looking at the title are going to assume that it works accross all browsers, click on the link, and then get disappointed.
latexr•3h ago
For those wondering about the reference:

https://youtu.be/GamP4chXJ2I?t=17

wltr•43m ago
I had some feeling I know that from somewhere, but couldn’t recall the source. Thanks.
calrain•7h ago
Incredible work on the CSS and SVG!

But liquid glass is such a horrible idea for a UI!

Now I feel like an old person, but I live with glasses every day and absolutely love clean UI's.

Introducing glass lens f*ckery just for the sake of it is terrible.

occoder•7h ago
Apple design nowadays should be something we point to and laugh at, not something to imitate.

Apple lost the plot on design after Steve Jobs died and Jony Ive assumed full control.

It's not Jony Ive's fault. That's the nature of their partnership, he created and Steve Jobs edited. Ive, of all people, probably lost the most when Steve Jobs died.

It's all been downhill ever since. Ousting Jony Ive and putting Alan Dye in charge didn't help.

The problem remains: there's no longer an editor in charge.

Apple fans like to think that they've recovered a little since the iOS 7 debacle, but in reality it's just self delusion.

SchemaLoad•7h ago
I've been running the beta on my phone for a while ago, and I pretty much forgot about it. The new design works really well and is much less obtrusive than you'd imagine. Those few bad moments posted from the first dev beta have all been resolved now.
occoder•6h ago
Most people aren't very discerning about user interface intricacies.

Most people's reaction to the iOS 7 design disaster was: "ooh this feels like a whole new phone".

So there's that.

DHPersonal•1h ago
It still has plenty of consistency errors and issues for the devs. But even if they fix all the bugs, I still think the UI changes are regressive: now things are buried in even more icons; the menus warp, change color, and move in distracting ways; and text on button and menus have never been harder to read.
uni_baconcat•3h ago
You will see something similar to Liquid Glass in OneUI 9 or 10 or Material Design 4. I can tell.
levmiseri•7h ago
As much as I still dislike Liquid Glass, this is insanely impressive!
maxvij•6h ago
Agreed!
_pferreir_•6h ago
I first tried the demos on Firefox and was like "wow, this looks fancy". Then, I saw there was a "Chrome-only" warning. I actually prefer the way it looks on Firefox, TBH.
maelito•6h ago
None of it looks usable. Perfect for digital family photos.

Great article though.

hermitcrab•6h ago
Some serious work has gone into this article.

Unconvinced about the usability case for 'glass'.

Once again, Apple takes off and nukes it's developer ecosystem from orbit.

miyuru•6h ago
Netlfix's logged out UI has this glass effect for background for some time and it slows down the whole site.

https://www.netflix.com/browse/genre/839338

meindnoch•5h ago
Apple lost it when Johnny Ive died.
gyomu•5h ago
This is cool and a nice writeup but - Liquid Glass is the totality of the design language, including elements close to one another merging together meta-balls like, the different tinting/clear modes, the controls being on a distinct layer from the content...

This is "just" a glass shader.

jansan•3h ago
That merging can be done with another, much simple filter and people have been doing it for years. It has been called the "Goo" filter.

Here is an implementation: https://codepen.io/lenymo/pen/pJzWVy

mirekrusin•5h ago
Good work and pretty but part of me thinks - ah, ok, that's why our 12 orders of magnitude faster computers than zx spectrum lag more.
Gigachad•5h ago
Surprisingly the actual liquid glass ui seems to be perfect 120hz smooth on my 4 year old iPhone.
azatom•5h ago
Why is it so loud? On same machine Cyberpunk2077 goes with highest settings with same fan noise.
no_time•4h ago
In the announcement thread here about Liquid Glass there was a guy predicting an avalanche of people implementing this effect badly everywhere they can. Well, here we go.
stanko•4h ago
Nice write up! I'm always happy to see interactive articles.

As someone who also do interactive articles from time to time, I'm wondering what is the tech stack you are using to make these?

arbayi•3h ago
https://github.com/dashersw/liquid-glass-js maybe you can also check this out?
redbell•3h ago
Excellent attempt despite the browser support limitations. The inline, interactive examples were also an added value, which, at some point, I felt like I was reading one of Ciechanowski's articles (https://ciechanow.ski/).
buibuibui•3h ago
I think the bounciness of the elements is also a very charming characteristic part of the Liquid Glass UI that Apple introduces. But recreating that is probably very difficult with web technologies.
arghwhat•3h ago
Neat! Doesn't look particularly pleasant as the edges have high contrast single-pixel width artifacts, but maybe it's possible to smooth that out. Could also just be a quirk in chrome's svg/backdrop filter support that they'll fix.
jansan•3h ago
I was actually thinking about implementing exactly this (using feDisplacementMap), but never found time and I was not sure if it would be possible at all. Great to see that it actually works and someone with deep SVG knowledge implemented it.

The whole blog entry is a piece of art and on one level with Bartosz Ciechanowski's work. If you want to make money from it, you will have to find less niche subject's, though.

martzoukos•2h ago
Soon we'll be creating black hole simulations to run a browser effect.
a022311•2h ago
Despite being on Firefox and seeing the effects half-working (at least we get performance ;D), this looks like the best implementation I've seen up until now (for some reason I was researching it a lot the last few days).

What I loved most though is the website design and the carefully crafted interactive visualizations! For me, they're on the same level as those of Bartosz Ciechanowski and Josh Comeau. I really want to see the source code...

pshirshov•2h ago
I'm just wondering if the new ray-traced scrollbars and buttons are more functional and would make me more productive than ancient text-mode turbo vision ones, or those in Windows 3.
diabllicseagull•1h ago
I guess we all knew that liquid glass design language was gonna leak into the web eventually but if I see a website drain my battery so it can distort the text I’m trying to read I won’t be staying.

The stuttering has already been pointed out here so I won’t pile on.

jjuup•1h ago
Well done. Especially love the whole article layout and quality, aside from the good execution. Liquid glass as concept doesn't really enhance practical UX that much (and might even make it worse if overused), but it's a nice experience and something new and delightful.
andredurao•24m ago
I'm not sure about other browsers but using Chrome on linux the magnifying glass demo was weird. Though it looked like some glass distortion I couldn't drag it around vertically :(
seanobannon•17m ago
Don’t blame the author for the chrome only demo, blame Apple, and this bug from 2014! https://bugs.webkit.org/show_bug.cgi?id=127102