Viewing profile — dassurma
dassurma
HN member- Joined
- Sun, Oct 15, 2017, 10:23 AM UTC
- HN karma
- 289
- Public activity
- 63 items
- HN profile
- View on Hacker News ↗
About dassurma
Recent public activity
- story
-
comment
Comment #30601723
I am not! I have no styles that should affect scrollbar visibility. What browser & OS are you on?
-
comment
Comment #30601703
The WebGPU spec is currently edited by two Google employees and one Mozilla employee. I am not sure how to make sense of your accusation.
-
comment
Comment #30601132
You can use the SPIR-V compiler toolchain to just transpile from GLSL to WGSL :)
-
comment
Comment #26995493
Hi! Squoosh team lead here :) What kind of explanation would you like to see? We link to the repo and the Privacy explainer at the bottom of the page. Why is it important to you to…
-
comment
Comment #26994785
The thing with GIF is that it’s rarely better than a paletted PNG. As for animations, video formats with a very low fps are usually way better suited and smaller than GIFs.
-
comment
Comment #26994200
The goal of Squoosh is more to teach out about all the options and levers codecs have. JPEG is not “suggested”, it’s just literally the first codec we ported to Wasm so that’s the …
- comment
-
comment
Comment #26993955
Do you mean serve the app from an S3 bucket? It’s a fully static site without any server-side components, so go nuts. If you mean compress all images in an S3 bucket? Not directly.…
-
comment
Comment #26993759
The difficulty is: Do you express the resulting file size or the amount saved? “30%” could mean you “30% of the original file size” or “you shaved off 30% of the original file size…
-
comment
Comment #26993730
Yes, that is Jake. This is Surma. You seem to be right. Gonna fix the CLI (the CLI is my doing)
-
comment
Comment #26808895
It _is_ cached, but the wasm binary itself as well as the optimized version to improve startup times. The cache however is per origin. So no other origin can make use of the cache …
-
comment
Comment #26807004
I did test that and maybe should have mentioned it in the article :) The repo history actually still has an RGBA buffer dump I think.
-
comment
Comment #26806978
Idk man. webassembly.org — the site authored by the inventors — literally starts with “WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machi…
-
comment
Comment #26806945
That’s the whole point. V8 is _really_ good at taking any form of JS code and making it fast, without me having to apply optimizations. The other languages only started being compe…
-
comment
Comment #26806921
Author here. Using ASC was intentional, _because_ it is somewhat immature, and still manages to outperform JavaScript in the first two cases. In the third case, where I couldn’t ge…
-
comment
Comment #26806867
Author here. It’s a trade-off for simplicity. It’s a small team and they are still working towards feature completeness. Deferring optimization to Binaryen is the easy way out at t…
-
comment
Comment #26806827
Author here! You even included in the quote: It’s important to warm-up the code is so you don’t measure a mixture of performance characteristics between interpreted JS and compiled…
-
comment
Comment #25645280
To be safe: There is some more graphic violence, but due to the dithering it’s not very offensive imo. However, pretty much the entire crew does die rather brutal deaths (and that’…
-
comment
Comment #25644568
TIL! I just redeployed with these styles added. Should be live in a couple minutes. Thank you.
-
comment
Comment #25639875
Ah, this happens when Firefox/Chrome scales the image. I added a note to the article a couple hours ago, not sure if you saw that. If you open the image in question in a new tab (t…
-
comment
Comment #25639840
This is a lovely compliment. Thank you for taking the time to write it :)
-
comment
Comment #25637402
Author here! I don’t think many people have researched or optimized on this, but I also work on https://squoosh.app , and from that experience I know that dithering makes compressi…
-
comment
Comment #25636799
Well, I hadn’t heard of it, so I’ll read this tomorrow :D Thanks for sharing.
-
comment
Comment #25636748
Thanks for the kind words!