frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Mira Murati's Thinking Machines seeks $50B valuation in funding talks

https://www.reuters.com/technology/mira-muratis-thinking-machines-seeks-50-billion-valuation-fund...
1•in-silico•1m ago•0 comments

Towards unlimited contexts: faster-than-GPU sparse logarithmic attention on CPU [video]

https://www.youtube.com/watch?v=s2L_wnbJbNQ
1•mfiguiere•4m ago•0 comments

New Proofs Probe Soap-Film Singularities

https://www.quantamagazine.org/new-proofs-probe-soap-film-singularities-20251112/
1•tzury•9m ago•0 comments

Be Moore Like Chuck

https://sigusr2.net/be-moore-like-chuck.html
1•andsoitis•20m ago•0 comments

WebGPU Benchmark: 15M Moving Nodes in Browser

https://ajlaston.github.io/Nova-Web/
1•ajlaston•23m ago•1 comments

Gamification of Programming Languages

https://sigusr2.net/gamification-of-programming-languages.html
1•signa11•24m ago•0 comments

This Isn't a Battle

https://my-notes.dragas.net/2025/11/14/this-isnt-a-battle/
1•signa11•26m ago•0 comments

Maryland taps AI for housing and government benefits

https://www.axios.com/2025/11/13/maryland-ai-housing-government-benefits
1•gmays•26m ago•0 comments

Revisiting Mojo: A Faster Python?

https://www.infoworld.com/article/4081105/revisiting-mojo-a-faster-python.html
1•MilnerRoute•31m ago•0 comments

Quantum chip gives China's AI data centres '1k-fold' speed boost

https://www.scmp.com/news/china/science/article/3332604/quantum-chip-gives-chinas-ai-data-centres...
1•baddash•35m ago•0 comments

GNU Guix IPv6/v4 Router

https://connorbey13.org/writings/gnu-guix-ipv6-v4-router.html
1•guix4all•40m ago•0 comments

New 1-day regimen for transcranial magnetic stimulation in Depression

https://www.sciencedirect.com/science/article/pii/S3050529125001163
1•carabiner•42m ago•1 comments

The AI water issue is fake

https://andymasley.substack.com/p/the-ai-water-issue-is-fake
1•supriyo-biswas•44m ago•0 comments

Free Online PDF AI Tools

https://pdf.chdaoai.com/en/
1•ace520•48m ago•0 comments

Is Content Still King?

https://contentbystanley.vercel.app
1•chiswanjo•56m ago•0 comments

Sam Altman Freaking Out as Gov Rejects Bailout Request [video]

https://www.youtube.com/watch?v=kj4zATlfwUU
5•shrike•1h ago•0 comments

Statistical Process Control According to W. Edwards Deming

https://www.thomas-huehn.com/deming/
2•jacques_chester•1h ago•0 comments

Scientists reverse kidney damage in mice, hope for humans next

https://www.sciencedaily.com/releases/2025/11/251114094525.htm
11•ashishgupta2209•1h ago•1 comments

I can't recommend Grafana anymore

https://henrikgerdes.me/blog/2025-11-grafana-mess/
65•gpi•1h ago•18 comments

content_scripts won't load with pdf.js tabs (2018)

https://bugzilla.mozilla.org/show_bug.cgi?id=1454760
1•susam•1h ago•0 comments

RAG Chunk: CLI tool to parse, chunk, and evaluate Markdown documents for RAG

https://github.com/messkan/rag-chunk
2•handfuloflight•1h ago•0 comments

State Department erases 15 pages of nuclear history – with no warning

https://www.washingtonpost.com/investigations/2025/11/13/state-department-deleted-records-about-r...
5•bookofjoe•1h ago•1 comments

Meet Reservoir – The World's Smartest Water Heater

https://www.reservoirhome.com/
3•flakespancakes•1h ago•0 comments

Apple intensifies succession planning for CEO Tim Cook

https://www.reuters.com/sustainability/boards-policy-regulation/apple-intensifies-succession-plan...
3•marcopolis•1h ago•1 comments

Repository Implementation on ActiveRecord

https://blog.arkency.com/activerecord-repository/
1•ksec•1h ago•0 comments

Using an old Starlink for internet? Update it this week

https://www.zdnet.com/home-and-office/networking/using-an-old-starlink-for-internet-update-it-thi...
5•wmf•1h ago•0 comments

The Mona Lisa Theft of 1911

https://web.archive.org/web/20090429103602/http://www.time.com/time/arts/article/0,8599,1894006,0...
1•nomilk•1h ago•1 comments

The world is in a new age of variable geometry, says Canadian PM Mark Carney

https://www.economist.com/the-world-ahead/2025/11/12/the-world-is-in-a-new-age-of-variable-geomet...
2•retrac•1h ago•0 comments

Theft of the Weeping Woman from the National Gallery of Victoria

https://en.wikipedia.org/wiki/Theft_of_The_Weeping_Woman_from_the_National_Gallery_of_Victoria
2•neom•1h ago•1 comments

Sperm Racing

https://www.spermracing.com/
2•brianhama•1h ago•0 comments
Open in hackernews

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

7•gooob•2h 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•1h 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•1h 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.

drooby•8m 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•4m ago
Pytudes by Peter Norvig: https://github.com/norvig/pytudes