frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Spot SponsorBlock: skip sponsor segments in Spotify podcasts

https://spotsponsorblock.org/
1•ProxyTracer•11s ago•0 comments

Ask HN: How do swarms of AI agents work?

2•dsrtslnd23•2m ago•0 comments

Barnette's Conjecture proof AI explained

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

ninjatracing – convert .ninja_log files to Chrome's about:tracing format

https://github.com/nico/ninjatracing
1•gjvc•4m ago•0 comments

Why are my posts banned?

1•colwont•5m ago•0 comments

Flights for Agents

https://www.flyskye.ai/partners
1•sakshamkapur•6m ago•0 comments

Why we turn Left

https://www.odt.co.nz/life-and-style/the-mix/the-unexplained-mystery-of-why-we-turn-left-dxl8nz80
1•worik•10m ago•1 comments

USDCraft: Programmatic Modeling of Articulated 3D Assets for Simulation

https://xingyoujun.github.io/usdcraft/
1•msadowski•10m ago•0 comments

HyperNormalisation (2016)

https://www.imdb.com/title/tt6156350/
1•beepdyboop•12m ago•0 comments

The probability of data loss in large clusters (2017)

https://martin.kleppmann.com/2017/01/26/data-loss-in-large-clusters.html
1•mdspan•13m ago•0 comments

Cartographers of North Korea

https://cartographers-nk.wonyoung.so/
2•edent•13m ago•0 comments

Yandex: Ukraine strikes data centre in third attack on Russian tech giant

https://www.bbc.com/news/articles/cw0k0g57mk3zo
5•kristianp•13m ago•0 comments

Taskmaster as a Thermodynamic System

https://jasmcole.com/2026/10/06/all-the-information-theory-is-on-the-task/
2•jasmcole•13m ago•0 comments

Artificial Insanity

https://richwhitehouse.com/index.php?postid=78
1•leglock•15m ago•0 comments

Inside the mind of Solveig Lovseth, the world’s fittest woman

https://www.nytimes.com/athletic/7671570/2026/10/09/solveig-lovseth-ironman-world-championship/
1•mooreds•16m ago•0 comments

Be The Onion's Hero for Once

https://mailchi.mp/email.theonion.com/archivehunt
10•mooreds•16m ago•0 comments

Scoop: AI companies plot "day after" scenarios for public revolt

https://www.yahoo.com/news/politics/articles/scoop-ai-companies-plot-day-093011371.html
3•pluc•17m ago•0 comments

Qwen 3.8 27B: Taiwan Pilled

https://huggingface.co/noisebridge/qwen3.8-27b-taiwan-pilled
1•teaearlgraycold•17m ago•0 comments

Corporations Showed Us How This Goes

https://www.mooreds.com/wordpress/archives/3755
1•mooreds•17m ago•0 comments

Show HN: DeadBolt – a local execution gate for agent tool calls

https://github.com/seanebones-lang/deadbolt
1•nexteleven•18m ago•0 comments

Send me slop, and I will prompt you: How not to be a meat proxy

https://iacgm.com/articles/meatproxy/
1•iacgm•18m ago•0 comments

British PM says it is 'clear' Russia interfered with Brexit vote

https://www.bbc.com/news/articles/c6jdm3zggl0ko
8•MilnerRoute•21m ago•1 comments

Show HN: Tracon (air traffic control for subagents)

https://github.com/phalladar/tracon
1•allocate•24m ago•0 comments

Vista is a Marathon 2 museum

https://vista.daniloc.workers.dev/
1•czottmann•24m ago•1 comments

Show HN: A calendar tracker for OpenAI's 28-day Codex reset challenge

https://resetalerts.com/codex-28-day-challenge
2•samfeldman•26m ago•0 comments

Strandbeest

https://www.strandbeest.com/
2•bobajeff•32m ago•0 comments

Tesla wants to increase emissions near a Bay Area elementary school

https://www.sfgate.com/tech/article/bringhurst-tesla-emissions-22468661.php
11•littlexsparkee•32m ago•0 comments

Nvidia-backed data centre firm scraps IPO as AI valuation concerns deepen

https://www.bbc.com/news/articles/ck9dzpw4ll8po
11•devonnull•34m ago•1 comments

Fast GPIO on Linux

https://bitbanksoftware.blogspot.com/2026/10/really-really-fast-gpio-on-linux.html
3•bitbank•35m ago•0 comments

The Unreasonable Effectiveness of Vex in NixOS

https://blog.kammel.dev/post/nixos_vex/
4•datosh•37m 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.