frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Kernighan's Lever

https://linusakesson.net/programming/kernighans-lever/index.php
23•xk3•2d ago

Comments

zahlman•1h ago
(2012)

> You effortlessly wield clever programming techniques today that would've baffled your younger self. (If not, then I'm afraid you stopped evolving as a programmer long ago.)

... Perhaps if we allow that "clever techniques" can yield simpler results than my former self did.

lupire•1h ago
This article says nothing of substance.
userbinator•1h ago
(2012)

This article can be summarised in one word: learning. I've noticed over the years that there seems to be a growing divide amongst programmers, between those who believe in learning, and those who don't (and actively try to avoid it); unfortunately the latter has become a majority position, but I still try to show others this article when they don't understand code that I've written and would rather I stoop to their level.

A look around the site at what else he has accomplished, should be enough evidence that he isn't just a charlatan, unlike some others who have made a consulting career out of spouting pompous hot air about methodology.

yodon•1h ago
This feels like a lot of rationalization for the purpose of excusing writing exactly the sort of code that Kernighan advised against.

Advising against writing complex code is not advising against learning.

The person who solves a hard problem correctly using simple code has generally spent more time learning than the person who solves it using complex code.

GMoromisato•54m ago
Yes, I agree this is true in some (many?) cases. But it is also true that sometimes the more complex solution is better, either for performance reasons or because it makes things simpler for users/API callers.
GMoromisato•58m ago
I like this insight, even though I think they are pushing Kernighan's quip a little too far.

I take away two ideas:

1. Always be learning. I think everyone believes this, but we often come up with plausible reasons to stick to what we know. This is a good reminder that we should fight that impulse and put in the effort to learn.

2. Always be fearless. This, I think, is the key insight. Fear is easy. We fear the unknown, whether they be APIs or someone else's code. We fear errors, particularly when they have real-world consequences. And we fear complexity, because we think we might not be able to deal with it. But the opposite of fear isn't recklessness, it's confidence. We should be confident that we will figure it out. And even if we don't figure it out, we should be confident that we can revert the code. Face your fears and grow.

A guide to local coding models

https://www.aiforswes.com/p/you-dont-need-to-spend-100mo-on-claude
316•mpweiher•8h ago•156 comments

Deliberate Internet Shutdowns

https://www.schneier.com/blog/archives/2025/12/deliberate-internet-shutdowns.html
98•WaitWaitWha•3d ago•31 comments

I'm just having fun

https://jyn.dev/i-m-just-having-fun/
251•lemper•5d ago•78 comments

Disney Imagineering Debuts Next-Generation Robotic Character, Olaf

https://disneyparksblog.com/disney-experiences/robotic-olaf-marks-new-era-of-disney-innovation/
146•ChrisArchitect•7h ago•61 comments

Webb observes exoplanet that may have an exotic helium and carbon atmosphere

https://science.nasa.gov/missions/webb/nasas-webb-observes-exoplanet-whose-composition-defies-exp...
13•taubek•2d ago•3 comments

Build Android apps using Rust and Iced

https://github.com/ibaryshnikov/android-iced-example
21•rekireki•3h ago•3 comments

ONNX Runtime and CoreML May Silently Convert Your Model to FP16

https://ym2132.github.io/ONNX_MLProgram_NN_exploration
52•Two_hands•4h ago•5 comments

Show HN: Books mentioned on Hacker News in 2025

https://hackernews-readings-613604506318.us-west1.run.app
382•seinvak•13h ago•146 comments

Show HN: Rust/WASM lighting data toolkit – parses legacy formats, generates SVGs

https://eulumdat.icu
6•holg•8h ago•0 comments

Kernighan's Lever

https://linusakesson.net/programming/kernighans-lever/index.php
23•xk3•2d ago•6 comments

Luke Howard’s essay on the modification of clouds (1865)

https://publicdomainreview.org/collection/essay-on-the-modification-of-clouds/
4•Petiver•16h ago•0 comments

Show HN: WalletWallet – create Apple passes from anything

https://walletwallet.alen.ro/
333•alentodorov•13h ago•96 comments

I wish people were more public

https://borretti.me/article/i-wish-people-were-more-public
53•swah•5h ago•35 comments

CO2 batteries that store grid energy take off globally

https://spectrum.ieee.org/co2-battery-energy-storage
183•rbanffy•13h ago•163 comments

Evaluating chain-of-thought monitorability

https://openai.com/index/evaluating-chain-of-thought-monitorability/
44•mfiguiere•2d ago•16 comments

I program on the subway

https://www.scd31.com/posts/programming-on-the-subway
195•evankhoury•5d ago•132 comments

The Going Dark initiative or ProtectEU is a Chat Control 3.0 attempt

https://mastodon.online/@mullvadnet/115742530333573065
504•janandonly•10h ago•166 comments

Show HN: GenresFox – Open-source, customizable new tab page extension in WASM

https://github.com/zayokami/GenresFox
5•zayoka•14h ago•5 comments

Show HN: Autograd.c – A tiny ML framework built from scratch

https://github.com/sueszli/autograd.c
71•sueszli•5d ago•8 comments

86Box v5.3

https://86box.net/2025/12/21/86box-v5-3.html
45•chungy•3h ago•0 comments

Exploring Speculative JIT Compilation for Emacs Lisp with Java

https://kyo.iroiro.party/en/posts/juicemacs-exploring-jit-for-elisp/
4•gudzpoz•2d ago•0 comments

E.W.Dijkstra Archive

https://www.cs.utexas.edu/~EWD/welcome.html
122•surprisetalk•13h ago•11 comments

You’re not burnt out, you’re existentially starving

https://neilthanedar.com/youre-not-burnt-out-youre-existentially-starving/
258•thanedar•10h ago•311 comments

Autoland saves King Air, everyone reported safe

https://avbrief.com/autoland-saves-king-air-everyone-reported-safe/
178•bradleybuda•12h ago•106 comments

I can't upgrade to Windows 11, now leave me alone

https://idiallo.com/byte-size/cant-update-to-windows-11-leave-me-alone
421•firefoxd•10h ago•383 comments

Ruby website redesigned

https://www.ruby-lang.org/en/
379•psxuaw•22h ago•153 comments

Indoor tanning makes youthful skin much older on a genetic level

https://www.ucsf.edu/news/2025/12/431206/indoor-tanning-makes-youthful-skin-much-older-genetic-level
226•SanjayMehta•1d ago•174 comments

Structured outputs create false confidence

https://boundaryml.com/blog/structured-outputs-create-false-confidence
127•gmays•14h ago•60 comments

Waymo halts service during S.F. blackout after causing traffic jams

https://missionlocal.org/2025/12/sf-waymo-halts-service-blackout/
232•rwoll•1d ago•334 comments

ARIN Public Incident Report – 4.10 Misissuance Error

https://www.arin.net/announcements/20251212/
135•immibis•14h ago•35 comments