frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What type of mathematician are you?

https://lionellevine.github.io/quiz-what-type-of-mathematician-are-you/
2•sashank_1509•2m ago•0 comments

Turn your coding-agent sessions into private evals

https://github.com/ibragim-bad/evals-from-sessions
2•EvgeniyZh•4m ago•0 comments

Netocracy

https://en.wikipedia.org/wiki/Netocracy
1•henry700•5m ago•0 comments

How the Elizabeth Holmes Doc 'You Can See Everything' Is Deceiving You

https://www.readtheprofile.com/p/elizabeth-holmes-documentary-you-can-see-everything
2•MaysonL•10m ago•0 comments

Starting a New Journal

https://terrytao.wordpress.com/2026/10/17/starting-a-new-journal/
3•smilelamp•18m ago•0 comments

Falsehoods programmers believe about invoices

https://dev.cordhq.app/dev-blog/en/falsehoods-programmers-believe-about-invoices
3•andrevallee•19m ago•0 comments

Hugging Face Pricing 2026: Complete Cost Guide (Free Tier and Paid Plans)

https://www.metacto.com/blogs/the-true-cost-of-hugging-face-a-guide-to-pricing-and-integration
1•peter_d_sherman•22m ago•0 comments

Did Nintendo Kill Switch Emulation? The State of Yuzu, Ryujinx, and Their Forks

https://boilingsteam.com/did-nintendo-kill-switch-emulation-the-state-of-yuzu-ryujinx-and-their-f...
1•ekianjo•30m ago•0 comments

Training and Deploying Production Cyber Monitors on Kimi K3

https://www.goodfire.com/research/production-cyber-monitors-on-kimi-k3
1•a_w•31m ago•0 comments

Ask HN: How can we stop UX people from changing UIs to get promotions?

2•ex-aws-dude•31m ago•0 comments

Who Wants to Live Forever

https://ksetiya.substack.com/p/who-wants-to-live-forever
2•andsoitis•36m ago•0 comments

Defer, Panic, and Recover – The Go Blog

https://go.dev/blog/defer-panic-and-recover
2•doodlesdev•41m ago•0 comments

Making an 88x31 book-button using ImageMagick

https://k.sosnierz.me/08-11-24/
4•DanielVZ•48m ago•1 comments

When will we have flying cars? (2022)

https://www.popsci.com/aviation/history-of-flying-cars/
2•gmays•50m ago•0 comments

Best Free GPU Cloud Options for AI Startups and Researchers

https://www.gmicloud.ai/ja/blog/best-free-gpu-cloud-options-for-ai-startups-and-researchers
1•peter_d_sherman•55m ago•0 comments

Alt Propulsion Is Now AltSci

https://www.altsci.net/
2•timventura•55m ago•0 comments

Google Fonts as a Protest Piece?

1•soundworlds•59m ago•0 comments

Ukraine targets "Russia's Google" as the internet becomes a new front line

https://www.cnn.com/2026/10/17/europe/russia-yandex-data-center-internet-ukraine-intl
1•cisc•1h ago•0 comments

Bluesky aware of a phishing attack that has compromised more than 4,500 accounts

https://bsky.app/profile/safety.bsky.app/post/3my3zch7j4225
1•rorylawless•1h ago•0 comments

August in Servo: CSS Grid, text selection, and more

https://servo.org/blog/2026/10/09/august-in-servo/
2•msub2•1h ago•0 comments

Woodworking Tools and Knowledge Tools

https://peterkaminski.ai/writing/woodworking/
3•cyb0rg0•1h ago•1 comments

OpenAI Saudi national bugging case shows threat to U.S. leadership in AI

https://www.cnbc.com/2026/10/16/ai-espionage-openai-jay-clayton.html
1•snarky-comments•1h ago•0 comments

A 1987 Shellsort variant is 3x faster than Shellsort when branch-free

https://github.com/utahisnotastate/utah_sort
1•utahisnotastate•1h ago•0 comments

Ninth Circuit Holds Copilot Creates New Code, Not Stripped Copies

https://www.fenwick.com/insights/publications/nothing-remove-ninth-circuit-holds-copilot-creates-...
2•ollien•1h ago•0 comments

Anthropic reports reducing recruitment of entry-level engineers

https://angadh.com/ai-and-jobs-1
1•angadh•1h ago•1 comments

BugShield Scout: 1,415 WordPress theme vulnerabilities

https://bugshield.co.uk/blog/wordpress-theme-vulnerabilities-bugshield-scout
1•wondersky•1h ago•0 comments

Mini organs launching to space may help future astronauts stay healthy

https://abcnews.com/Health/mini-organs-launching-space-future-astronauts-humans-earth/story?id=13...
2•gmays•1h ago•0 comments

Show HN: Moonrain – a free, offline sleep-sound mixer for iOS with no tracking

https://apps.apple.com/us/app/moonrain-sleep-sounds/id6789770084
1•gsl0001•1h ago•0 comments

Perhaps the most underappreciated engineer of the Industrial Revolution

https://twitter.com/andrewmccalip/status/2110977221347475675
3•delichon•1h ago•0 comments

Changing the Ratio

https://crackedegg.press/posts/changing-the-ratio/
2•CqtGLRGcukpy•1h ago•0 comments
Open in hackernews

Avoid Continue

https://www.teamten.com/lawrence/programming/avoid-continue.html
2•todsacerdoti•1y ago

Comments

zoezoezoezoe•1y ago
I dont know if I fully agree. Sure, there is definitely an argument the be had about whether or not `continue` is the best word to use in this instance, but why avoid it entirely? Every programmer is able to easily understand what code like this would do:

``` for (Node node : nodeList) { if (node.isBad()) { continue; } processNode(node); } ```

Every keyword in any programming language is largely arbitrary in my opinion let's take a look at the beginning of the codeblock `for (Node node : nodeList)` also completely arbitrary, though it's clear to anyone who's ever written C++ that it is equivalent to saying "for every node in nodeList".

Continue is not meant to read as "continue execution" it's meant to be "continue to the next item of the list", and I think avoiding it entirely is a pointless effort.

Ukv•1y ago
I feel `skip` may have been a better name, but disagree with it being logically difficult to parse beyond that.

If I'm reading a loop and see

    for x in y {
        if exclusions.contains(x) { skip; }
        if x.children.length == 0 { skip; }
        if os.file.exists(x.name) { skip; }
        ...
I instantly know that processing for those elements is skipped, and they won't be relevant for the rest of the loop.

Whereas if I see

    for x in y {
        if !exclusions.contains(x) {
            if x.children.length != 0 {
                if !os.file.exists(x.name) {
        ...
I feel like there's still mental overload with not knowing where those `if` blocks end, and so having to keep the conditions in mind. It doesn't immediately tell me that the rest of the loop is being skipped.

The `log()` mistake seems no less likely to happen using early-returns in function instead, and I'd argue nesting checks actually introduces more room for that kind of error overall, where you append something at the end within the wrong set of brackets, compared to a flatter structure.