frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: NjordDeploy – Agentless self-hosting engine with Docker and Podman

https://github.com/HenkVanHoek/njord-deploy
1•HenkVanHoek•27s ago•0 comments

Anthropic warns of AI 'worms' spreading across smart gadgets

https://techxplore.com/news/2026-10-anthropic-ai-worms-smart-gadgets.html
1•tagawa•39s ago•0 comments

How to Brag

https://coached.com/essays/how-to-brag/
1•rohanm93•1m ago•0 comments

Sipeed announces MaixStation local AI computer

https://sipeed.com/maixstation/
1•seikixtc•1m ago•0 comments

WCAG 3: a different future for accessibility

https://tetralogical.com/blog/2026/10/15/wcag3/
1•robin_reala•2m ago•0 comments

Management in the Age of AI

https://staysaasy.com/management-in-the-age-of-ai/
2•thisismytest•4m ago•0 comments

Mastodon Stories for Systemd v262

https://0pointer.net/blog/mastodon-stories-for-systemd-v262.html
1•pekim•5m ago•0 comments

How Is Music Possible

https://www.henrikkarlsson.xyz/p/music
1•jger15•8m ago•0 comments

The Aesthetics of Quantum Computing

https://www.ft.com/content/f0c877e2-7f9c-4c5a-8b06-e2f9e659fa12
1•giuliomagnifico•10m ago•0 comments

How Researchers Made Contact with a Chinese AI Agent Fleet

https://quickchat.ai/post/chinese-ai-agent-fleet
3•piotrgrudzien•12m ago•0 comments

Laser Fault Injection on a Budget: RP2350 Edition

https://courk.cc/rp2350-challenge-laser
1•gregsadetsky•14m ago•0 comments

What's on That Access Port?

https://danielmangum.com/posts/whats-on-that-access-port/
1•hasheddan•15m ago•0 comments

Cat-Belling Problems

https://www.lesswrong.com/posts/SwYBLQvo8MddDcCwz/cat-belling-problems
1•amanverasia•15m ago•0 comments

Ling 3.1 Flash: 560B open-weight MoE, MIT license, 1M context

https://huggingface.co/inclusionAI/Ling-3.1-flash
1•joshcsimmons•17m ago•0 comments

How are you centralising AI for development at your company?

1•simianwords•23m ago•0 comments

Anthropic's Claude AI submitted false murder tip to Philadelphia police

https://arstechnica.com/tech-policy/2026/10/anthropics-claude-ai-submitted-false-murder-tip-to-ph...
2•vintagedave•23m ago•0 comments

Google Deep Review

https://research.google/blog/analyzing-technical-documents-with-deep-review/
1•vcf•24m ago•0 comments

Europe's reliance on US gas is as serious a risk as Russian gas used to be

https://euobserver.com/242692/europes-reliance-on-us-gas-is-as-serious-a-risk-to-eu-and-ukrainian...
6•vrganj•25m ago•0 comments

Will Everyone Become an Entrepreneur Soon?

https://www.vincentschmalbach.com/will-everyone-become-an-entrepreneur-soon/
2•vincent_s•25m ago•0 comments

Gemma 3 1B at 114 tokens per second on a laptop CPU

https://knl.co.in/posts/gemma-3-1b-ternary/
2•kunalsin9h•26m ago•0 comments

Court rejects gov. effort to dismiss social media surveillance lawsuit

https://www.eff.org/press/releases/victory-court-rejects-government-effort-dismiss-social-media-s...
2•M95D•27m ago•0 comments

Certified State Reductions and Semantics of Conjecture-Checking Turing Machines

https://github.com/google-deepmind/cryptids
1•lairv•27m ago•1 comments

Are Harnesses Worth the Cost?

https://martinfowler.com/articles/are-harnesses-worth-the-cost.html
1•saikatsg•28m ago•0 comments

Build Your Slide Template

https://martinfowler.com/articles/never-send-slides/build-your-slide-template.html
1•saikatsg•29m ago•0 comments

I analyzed 8k social media posts to rank the most-mentioned brands

https://www.buzzindex.io/brand-mentions-leaderboard
3•SquirrelFan•34m ago•1 comments

Show HN: Theorem – Offline PDF/ePub reader that writes highlights to Local Vault

https://theorem.fundaments.work/
4•sapienskid•36m ago•0 comments

Show HN: A free web-based weather and sail routing tool

https://fairlysoon.com/
2•jamesgpearce•36m ago•0 comments

Costs of Switching AI Models

https://www.youtube.com/watch?v=zUCeaaGCRuc
3•swolpers•37m ago•0 comments

macOS Golden Gate is a buggy mess

https://lapcatsoftware.com/articles/2026/10/5.html
7•robin_reala•39m ago•2 comments

Meta's Smart Glasses May Have Been Recording People Without Their Knowledge

https://gizmodo.com/metas-smart-glasses-recording-without-consent-2000826018
3•Lio•43m 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.