frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

We reduced a real Node.js production Docker image from 1.2GB to 78MB

https://the-practical-developer.online/posts/docker-image-from-1gb-to-80mb/
26•milkikomasiko•1h ago

Comments

tpaksoy•52m ago
We had issues running our Node app on alpine. Specifically the dns lookup for our API calls were taking several hundred milliseconds *every* time.

Switching to debian reduced it to microseconds.

Does anyone here know what I was doing wrong with alpine?

Tiberium•50m ago
Musl is much less optimized than glibc, random example: https://andygrove.io/2020/05/why-musl-extremely-slow/
ashishb•48m ago
Alpine is a bad idea for a non-trivial application written in Python, Node.js, or any other interpreted language.

Too many weird edge cases to deal with, especially related to Alpine using musl libc instead of glibc.

At best, your builds are slower.

At worst, certain code paths are broken.

And if you are using Go, then go directly to SCRATCH images (add timezone and TLS data - https://ashishb.net/programming/docker-scratch-image/).

stavros•31m ago
I had this experience as well, nowadays I use Debian slim. Too much random breakage in Alpine.
1a527dd5•44m ago
Surely this is ripped content?

https://sandeepbansod.medium.com/why-your-docker-container-i...

simondotau•21m ago
Yep, it’s also AI slop. @dang ?
coolThingsFirst•38m ago
Ditch docker and use Golang to bring it to 4MB.
stavros•30m ago
Ditch Golang and use a textfile containing the text "Hello world!" to bring it to 12 bytes.
wxw•32m ago
This website seems entirely filled with AI slop articles targeted towards software eng.
Eighth•30m ago
Good post. Using slim is the easiest and biggest impact change.

It's time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
216•hggh•4h ago•120 comments

Don't Roll Your Own

https://susam.net/do-not-roll-your-own.html
32•adunk•1h ago•17 comments

My two-part desk setup (2025)

https://arslan.io/2025/11/18/my-two-part-desk-setup/
182•James72689•3d ago•113 comments

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
331•ravenical•10h ago•102 comments

.NET (OK, C#) finally gets union types

https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/
116•ingve•1d ago•93 comments

Sales and Dungeons: Thermal printer TTRPG utility

https://sales-and-dungeons.app/
11•hyperific•1d ago•2 comments

Green card seekers must leave U.S. to apply, Trump administration says

https://www.nytimes.com/2026/05/22/us/politics/green-card-changes-trump.html
422•tlhunter•1d ago•773 comments

Toxic chemical leak at a manufacturing facility in Orange County

https://www.bbc.com/news/articles/c3w2l249j8go
58•borski•1h ago•32 comments

My I3-Emacs Integration

https://khz.ac/software/i3-integration.html
3•nosolace•22m ago•0 comments

Hengefinder: Finding when the sun aligns with your street

https://victoriaritvo.com/blog/hengefinder/
94•evakhoury•1d ago•24 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
77•elpocko•7h ago•8 comments

New map reveals lost roads of the Roman Empire

https://www.scientificamerican.com/article/new-high-resolution-map-transforms-what-we-know-about-...
26•sohkamyung•3d ago•4 comments

Byrne's Euclid

https://www.c82.net/euclid/
6•layer8•1h ago•2 comments

SpaceX launches Starship v3 rocket

https://www.space.com/space-exploration/launches-spacecraft/spacex-starship-v3-megarocket-first-t...
327•busymom0•23h ago•224 comments

80386 microcode disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
211•nand2mario•11h ago•42 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
172•dxs•10h ago•115 comments

PHP's Oddities

https://flowtwo.io/post/php%27s-oddities
89•thejoeflow•4d ago•97 comments

Judson's Last Ride

https://www.realclearpolitics.com/articles/2026/05/22/judsons_last_ride_154150.html
3•NaOH•11h ago•0 comments

Making deep learning go brrrr from first principles (2022)

https://horace.io/brrr_intro.html
143•tosh•11h ago•56 comments

Bun.Image

https://bun.com/docs/runtime/image
12•chakintosh•38m ago•1 comments

Texas woman arrested for Facebook post about town water quality

https://reclaimthenet.org/texas-woman-arrested-for-facebook-post-about-town-water-quality
574•abawany•5h ago•250 comments

-​-dangerously-skip-reading-code

https://olano.dev/blog/dangerously-skip/
79•fagnerbrack•13h ago•97 comments

Italy moves to Airbus A330 tankers

https://www.euronews.com/my-europe/2026/05/21/italy-moves-to-airbus-a330-tankers-in-major-nato-al...
220•embedding-shape•7h ago•76 comments

Kindle loyalists scramble as Amazon turns page on old e-readers

https://www.reuters.com/business/retail-consumer/kindle-loyalists-scramble-amazon-turns-page-old-...
100•cf100clunk•4d ago•107 comments

sp.h: Fixing C by giving it a high quality, ultra portable standard library

https://spader.zone/sp/
181•dboon•3d ago•163 comments

A self-powered computer in actual credit-card size (~1mm thick)

https://old.reddit.com/r/electronics/comments/1td7yxl/i_built_a_fully_selfpowered_computer_in_act...
33•gnabgib•2h ago•3 comments

Rubish: A Unix shell written in pure Ruby

https://github.com/amatsuda/rubish
166•winebarrel•17h ago•98 comments

Highest Random Weight in Elixir

https://jola.dev/posts/highest-random-weight-in-elixir
58•shintoist•2d ago•2 comments

Oura says it gets government demands for user data

https://this.weekinsecurity.com/oura-says-it-gets-government-demands-for-user-data-will-it-share-...
248•donohoe•9h ago•142 comments

Spanish court declines to fine NordVPN over LaLiga piracy blocking order

https://torrentfreak.com/spanish-court-declines-to-fine-nordvpn-over-laliga-piracy-blocking-order/
104•gslin•16h ago•83 comments