frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

What learning react won't teach you: Image Formats

https://idiallo.com/blog/react-and-image-format
13•foxfired•5mo ago

Comments

jagthebeetle•5mo ago
A bit of a nit, but the 17kb PNG actually looks slightly blurry, or "artifact-ed" on my MacBook screen. Happily though, the author included a section on SVG at the bottom, which was my knee-jerk reaction for the appropriate format for lettering at that scale.
wmf•5mo ago
It seems weird to blame React for this.
zahlman•5mo ago
Do front-end devs really not know this sort of thing in 2025? I haven't done serious web development since the jQuery days and it's still second nature to me. (Granted, WebP barely existed at that point.) Honestly, when I was growing up this sort of thing was something ordinary users would know about.
firefoxd•5mo ago
In the days of jquery, it was much more common for people to worry about file size and load time. With faster mobile internet, there are less incentives to learn about image formats and their benefits. Many developers coming from bootcamps often lack this knowledge.
politelemon•5mo ago
I'm sorry but they do not. React is used as a cargo crutch for web development these days. Its necessity is not considered for problem solving, it is simply assumed as needed, based on learning by rote. What you now have is a legion of web developers who pay little attention to optimisation both within the framework and in general without.
sxp•5mo ago
> This is a SVG. Only 2KB!

That's the uncompressed size. Since most production webservers use compression, the actual transfered data according to Chrome's Inspector was .9kb. Ironically, the favicon.ico was a 32kb file that compressed to 4.3kb and was loaded when I looked at https://cdn.idiallo.com/images/assets/527/ping_svg.svg

jemmyw•5mo ago
React tutorials shouldn't cover this. They're for learning React. Otherwise every tutorial for anything web based would need to include all the basics about the web too, every time.

I don't have an answer for where the best place to learn it in the course of becoming a dev. I learnt this stuff over 25 years ago when I was a teenager. The thing is, it was a necessity then. Now I can download a whole movie in less time than a poorly optimized webpage in the 90s. So while I still obsessively try to get the smallest best looking images when I'm doing frontend dev, I'm not sure it's really worth my time.

The author mentions automated tooling and I can see that being the best middle ground these days.

DoNotNotify is now Open Source

https://donotnotify.com/opensource.html
91•awaaz•2h ago•12 comments

Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

https://github.com/localgpt-app/localgpt
222•yi_wang•8h ago•90 comments

Haskell for all: Beyond agentic coding

https://haskellforall.com/2026/02/beyond-agentic-coding
115•RebelPotato•8h ago•31 comments

SectorC: A C Compiler in 512 bytes (2023)

https://xorvoid.com/sectorc.html
304•valyala•16h ago•59 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
118•swah•5d ago•205 comments

The Architecture of Open Source Applications (Volume 1) Berkeley DB

https://aosabook.org/en/v1/bdb.html
31•grep_it•5d ago•3 comments

Moroccan sardine prices to stabilise via new measures: officials

https://maghrebi.org/2026/01/27/moroccan-sardine-prices-to-stabilise-via-new-measures-officials/
30•mooreds•5d ago•2 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
235•mellosouls•19h ago•390 comments

Matchlock: Linux-based sandboxing for AI agents

https://github.com/jingkaihe/matchlock
4•jingkai_he•1h ago•0 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
185•surprisetalk•15h ago•191 comments

LineageOS 23.2

https://lineageos.org/Changelog-31/
59•pentagrama•4h ago•11 comments

Modern and Antique Technologies Reveal a Dynamic Cosmos

https://www.quantamagazine.org/how-modern-and-antique-technologies-reveal-a-dynamic-cosmos-20260202/
4•sohkamyung•5d ago•0 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
195•AlexeyBrin•21h ago•36 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
203•vinhnx•19h ago•21 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
80•gnufx•14h ago•65 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
366•jesperordrup•1d ago•108 comments

Wood Gas Vehicles: Firewood in the Fuel Tank (2010)

https://solar.lowtechmagazine.com/2010/01/wood-gas-vehicles-firewood-in-the-fuel-tank/
53•Rygian•3d ago•21 comments

uLauncher

https://github.com/jrpie/launcher
26•dtj1123•4d ago•6 comments

First Proof

https://arxiv.org/abs/2602.05192
148•samasblack•18h ago•93 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
104•momciloo•16h ago•24 comments

Substack confirms data breach affects users’ email addresses and phone numbers

https://techcrunch.com/2026/02/05/substack-confirms-data-breach-affecting-email-addresses-and-pho...
59•witnessme•5h ago•22 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
611•theblazehen•3d ago•219 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
113•thelok•18h ago•25 comments

The AI boom is causing shortages everywhere else

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

LLMs as Language Compilers: Lessons from Fortran for the Future of Coding

https://cyber-omelette.com/posts/the-abstraction-rises.html
6•birdculture•1h ago•1 comments

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

https://openciv3.org/
922•klaussilveira•1d ago•282 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
181•speckx•4d ago•267 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
46•mbitsnbites•3d ago•7 comments

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

https://github.com/valdanylchuk/breezydemo
312•isitcontent•1d ago•39 comments

The Scriptovision Super Micro Script video titler is almost a home computer

http://oldvcr.blogspot.com/2026/02/the-scriptovision-super-micro-script.html
11•todsacerdoti•7h ago•1 comments