frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: LLM of Babel

https://clairefro.github.io/llm-of-babel/
1•marjipan200•24s ago•0 comments

A modern iperf3 alternative with a live TUI, multi-client server, QUIC support

https://github.com/lance0/xfr
1•tanelpoder•1m ago•0 comments

Famfamfam Silk icons – also with CSS spritesheet

https://github.com/legacy-icons/famfamfam-silk
1•thunderbong•2m ago•0 comments

Apple is the only Big Tech company whose capex declined last quarter

https://sherwood.news/tech/apple-is-the-only-big-tech-company-whose-capex-declined-last-quarter/
1•elsewhen•5m ago•0 comments

Reverse-Engineering Raiders of the Lost Ark for the Atari 2600

https://github.com/joshuanwalker/Raiders2600
2•todsacerdoti•6m ago•0 comments

Show HN: Deterministic NDJSON audit logs – v1.2 update (structural gaps)

https://github.com/yupme-bot/kernel-ndjson-proofs
1•Slaine•10m ago•0 comments

The Greater Copenhagen Region could be your friend's next career move

https://www.greatercphregion.com/friend-recruiter-program
1•mooreds•10m ago•0 comments

Do Not Confirm – Fiction by OpenClaw

https://thedailymolt.substack.com/p/do-not-confirm
1•jamesjyu•11m ago•0 comments

The Analytical Profile of Peas

https://www.fossanalytics.com/en/news-articles/more-industries/the-analytical-profile-of-peas
1•mooreds•11m ago•0 comments

Hallucinations in GPT5 – Can models say "I don't know" (June 2025)

https://jobswithgpt.com/blog/llm-eval-hallucinations-t20-cricket/
1•sp1982•11m ago•0 comments

What AI is good for, according to developers

https://github.blog/ai-and-ml/generative-ai/what-ai-is-actually-good-for-according-to-developers/
1•mooreds•11m ago•0 comments

OpenAI might pivot to the "most addictive digital friend" or face extinction

https://twitter.com/lebed2045/status/2020184853271167186
1•lebed2045•12m ago•2 comments

Show HN: Know how your SaaS is doing in 30 seconds

https://anypanel.io
1•dasfelix•13m ago•0 comments

ClawdBot Ordered Me Lunch

https://nickalexander.org/drafts/auto-sandwich.html
2•nick007•14m ago•0 comments

What the News media thinks about your Indian stock investments

https://stocktrends.numerical.works/
1•mindaslab•15m ago•0 comments

Running Lua on a tiny console from 2001

https://ivie.codes/page/pokemon-mini-lua
1•Charmunk•15m ago•0 comments

Google and Microsoft Paying Creators $500K+ to Promote AI Tools

https://www.cnbc.com/2026/02/06/google-microsoft-pay-creators-500000-and-more-to-promote-ai.html
2•belter•18m ago•0 comments

New filtration technology could be game-changer in removal of PFAS

https://www.theguardian.com/environment/2026/jan/23/pfas-forever-chemicals-filtration
1•PaulHoule•19m ago•0 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
2•momciloo•19m ago•0 comments

Kinda Surprised by Seadance2's Moderation

https://seedanceai.me/
1•ri-vai•19m ago•2 comments

I Write Games in C (yes, C)

https://jonathanwhiting.com/writing/blog/games_in_c/
2•valyala•19m ago•0 comments

Django scales. Stop blaming the framework (part 1 of 3)

https://medium.com/@tk512/django-scales-stop-blaming-the-framework-part-1-of-3-a2b5b0ff811f
1•sgt•20m ago•0 comments

Malwarebytes Is Now in ChatGPT

https://www.malwarebytes.com/blog/product/2026/02/scam-checking-just-got-easier-malwarebytes-is-n...
1•m-hodges•20m ago•0 comments

Thoughts on the job market in the age of LLMs

https://www.interconnects.ai/p/thoughts-on-the-hiring-market-in
1•gmays•20m ago•0 comments

Show HN: Stacky – certain block game clone

https://www.susmel.com/stacky/
2•Keyframe•23m ago•0 comments

AIII: A public benchmark for AI narrative and political independence

https://github.com/GRMPZQUIDOS/AIII
1•GRMPZ23•23m ago•0 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
2•valyala•25m ago•0 comments

The API Is a Dead End; Machines Need a Labor Economy

1•bot_uid_life•26m ago•0 comments

Digital Iris [video]

https://www.youtube.com/watch?v=Kg_2MAgS_pE
1•Jyaif•27m ago•0 comments

New wave of GLP-1 drugs is coming–and they're stronger than Wegovy and Zepbound

https://www.scientificamerican.com/article/new-glp-1-weight-loss-drugs-are-coming-and-theyre-stro...
5•randycupertino•29m ago•0 comments
Open in hackernews

What is the most beautiful / highest quality code you've seen (or written)?

33•gooob•2mo ago
literal shower-thought i had tonight as i was thinking about how at work we all don't like dealing with our helm charts because the syntax and structure ends up looking so ugly and it just feels wrong (not to mention the multiple different approaches of handling kubernetes resources in multiple different pipelines.

i try to see beyond any initial repulsion to weird looking code because i know that it may be super functional. but it got me thinking: what makes code beautiful? what makes code "high quality"? (other than that it results in a working, performant, and robust software program obviously).

so i'm curious -- can you show me the best code you've encountered? it can be a small snippet or it can be a "slice of a library" or an architecture etc. have you written anything yourself that you are super proud of?

Comments

jamiejquinn•2mo ago
One recent HN post I loved recently was on Arthur Whitney's insanely terse C code[0]. I personally find it beautiful, and many others did, but many did not. So it goes.

[0]: https://news.ycombinator.com/item?id=45800777

thisoneisreal•2mo ago
The best system I ever worked with looked incredibly simple. Small, clear functions. Lots of "set a few variables, run some if statements." Incredibly unassuming, humble code. But it handled 10s of millions of transactions per day elegantly and correctly. Every weird edge case or subtle concurrency bug or whatever else you could think of had been squeezed out of the system. Everything fit together like LEGO blocks, seamlessly coming together into a comprehensible, functional, performant system. I loved it. After years of accepting mediocre code as the cost of doing business, seeing this thing in a corporate environment inspired me to fall in love with software again and commit to always doing my best to write high quality code.

EDIT: I think what made that code so good is that there was absolutely nothing unnecessary in the whole system. Every variable, every function, every class was absolutely necessary to deliver the required functionality or to ensure some technical constraint was respected. Everything in that system belonged, and nothing didn't.

abc_lisper•2mo ago
Was it written by one person?
thisoneisreal•2mo ago
The majority of it, yes.
drooby•2mo ago
High quality ("beautiful") code is as simple AND legible as possible, while remaining logically correct. All must be present.

It is a balance. And legibility is a fuzzy attribute that depends on the intellectual capacity of the collective observer.

But, beauty is subjective.. some people think maximally terse code is beautiful so... shrug

vismit2000•2mo ago
Pytudes by Peter Norvig: https://github.com/norvig/pytudes
efortis•2mo ago
To me, Nginx. I remember seeing this file structure and saying: "ohh, that's how it should be done"

    src/os/win32/ngx_alloc.c
    src/os/unix/ngx_alloc.c
---

A few years later I stumbled upon this refactoring video by Uncle Bob and that was my second aha! moment.

https://web.archive.org/web/20150905163826/https://www.youtu...

---

Many people here recommend Redis as an inspiring example.

bilbo-b-baggins•2mo ago
My personal best is probably the metaclass tree formation in HumbleDB.

Best I’ve seen is probably the Golang arm64 NEON asm implementation of maphash using AES before the 1.24 update.

jraph•2mo ago
I found the netsurf browser to have a pretty and modular C codebase: https://www.netsurf-browser.org/downloads/source/
bjourne•2mo ago
Factor code can be extremely beautiful: y1 y2 [ - sq ] 2map sum n / sqrt It can also be extremely messy.
lordkrandel•2mo ago
Deleted code. Removal of requirements. It's wonderful, letting it go.
az09mugen•2mo ago
Code that doesn't exist is code you don't have to maintain. I enjoy that as well.
selenehyun•2mo ago
It is not open source, but I am still proud of a message delivery system I designed and built alone two years ago. It consists of six independent components and guarantees at least one successful delivery as long as the database remains available. It supports AWS SES, Twilio SMS and MMS, Webhook, Discord messages, and can easily add new providers through an adapter pattern.

Messages are queued through an API, captured by Debezium, produced to Kafka, delivered by workers, logged, and updated through DSNs received via webhook. Failures go to a DLQ where they are retried until the limit is reached.

Each stage runs independently, so any failure only causes minor delay without risking unintended drops. With Prometheus metrics in place, this system has processed more than two hundred thousand messages per day in production for two years without a single reported loss.

dasefx•2mo ago
I really like this code, https://github.com/id-Software/wolf3d but pick any of their repos.
Asraelite•2mo ago
The Rust standard library.
ChrisGermano•2mo ago
It's subjective, but I love what some people come up with in the Code Golf Stackexchange (https://codegolf.stackexchange.com/).
jjice•2mo ago
It wasn't anything special, but one I took a lot of personal enjoyment in was refactoring a god awful mess of untested, poorly written PHP that was at the core of the company's product. It was to the point that no one one the team wanted to touch it in case they'd break something. The CEO had written it and _hated_ any features being added (but always requested them) because it was so fragile.

I refactored it (on Director of Engineering's request) into discrete classes and functions that read well and were easily tested. Tested all our cases and even found existing bugs that were resolved in the move. This wasn't an incredible amount of code to begin with either. The initial file was probably 400-500 lines of code. This was not the feat of an incredible dev, it was just taking a minute to think and build it out. Most of the team could've also done the same in a day.

And then the CEO didn't like the idea of merging it, despite it being fully unit and integration test, along with a staging and canary testing plan.

I've heard they _still_ don't like to touch that file. The company isn't doing well. I don't think those two are correlated, but I do think the general mindset of the leadership does.

oumua_don17•2mo ago
All the code in the book PAIP by Peter Norvig.