frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I made a realtime and interactive chemical lab and reaction simulation [video]

https://www.youtube.com/shorts/w1bQarZnSf4
1•shroom1•9m ago•0 comments

Show HN: FOSS identity-based sandbox platform on K8s that eliminates credentials

https://github.com/octelium/cordium
1•geoctl•9m ago•0 comments

Amazon S3 now supports reading parts of multipart uploads in progress

https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-s3-supports-reading-parts-multipart-upl...
2•dabinat•13m ago•0 comments

Emulator for Symbolics XL-1200 Lisp machine

https://unya.github.io/xl1200-emu/
1•p_l•21m ago•1 comments

Ask HN: What software and hardware are you sing for self hosted LLM rigs?

1•NegativeLatency•25m ago•0 comments

Ask HN: What does the future of AI look like?

3•The-Ergster•30m ago•0 comments

The day open source died: a story about Minecraft, Bukkit, and the GPL

https://jwheel.org/blog/2020/04/open-source-minecraft-bukkit-gpl/
2•whwhyb•36m ago•0 comments

Ask HN: Is AI making you gain weight?

3•daxfohl•38m ago•0 comments

California Software Tax Rules to Hurt Startups

https://news.bloombergtax.com/tax-insights-and-commentary/week-in-insights-california-software-ta...
1•tldrthelaw•42m ago•0 comments

RISC-V Vector Bit Compress/Expand Project

https://fprox.substack.com/p/risc-v-vector-bit-compressexpand
1•hasheddan•42m ago•0 comments

Tsunami Warning (Aleutian Islands)

https://www.tsunami.gov/
4•jmward01•47m ago•2 comments

Sudoku's Hidden Rule

https://cyrusjavan.com/posts/solving-with-uniqueness/
15•multifasciatus•48m ago•1 comments

Ask HN: I can't come to a conclusion about AI. What should I do?

3•MS27•50m ago•0 comments

Compiling a Go program into a native binary for Nintendo Switch (2022)

https://ebitengine.org/en/blog/native_compiling_for_nintendo_switch.html
1•indigodaddy•55m ago•0 comments

Cathedral Ultimate Version

https://github.com/cathedral-cathedral-lab/CATHEDRAL-LAB/discussions/1
1•damienreeka•56m ago•0 comments

2 petaflops down, 50 to go as Square Kilometre Array preps for 'Cycle Zero'

https://www.theregister.com/hpc/2026/11/30/2-petaflops-down-50-to-go-as-square-kilometre-array-pr...
4•defrost•1h ago•0 comments

The Mastermind

https://www.vanityfair.com/story/the-mastermind
2•brettcvz•1h ago•0 comments

Post-quantum cryptography is breaking government censors

https://xetera.dev/article/post-quantum-crypto-is-breaking-gov-censors
2•whwhyb•1h ago•0 comments

New Balance Japan suffers breach exposing 3.7M customer records

https://www.bleepingcomputer.com/news/security/new-balance-japan-suffers-breach-exposing-37-milli...
3•extasetoi12•1h ago•0 comments

AI and the Burden of Thinking

https://journal.nyphilosophy.org/p/ai-and-the-burden-of-thinking
1•colinprince•1h ago•0 comments

A `fork(2)` in the road: Regimented stability versus relentless progress

https://brandur.org/fragments/fork-in-the-road
1•burntcaramel•1h ago•1 comments

Show HN: TulaDB – a ledger database with holds, limits and idempotent retries

https://tuladb.com/docs/quick-eval/
1•shubham3582•1h ago•0 comments

Show HN: Record a Playwright test in a cloud browser, then watch it run

https://blendra.app/try
1•blendemini•1h ago•0 comments

Show HN: Sibuna – A FOSS easy clustered load balancer to protect from AI bots

https://github.com/insanai/sibuna
1•vikrantrathore•1h ago•0 comments

Update on Google Account Suspensions

https://twitter.com/NewsFromGoogle/status/2127222026578563134
4•aragonite•1h ago•1 comments

Yu Deng: Will You Be the Last "Purely Human" Fields Medalist? "I'm Afraid So."

https://www.youtube.com/watch?v=WYq7e40YvRQ
1•doppp•1h ago•0 comments

Ask HN: Founders who shut down a company, what did you do with the code?

3•sethross•1h ago•0 comments

We spent $50K making Claude simulate a world where Jensen has harems

https://honeypotsimulator.com/
1•citguru•1h ago•1 comments

The Romanisation of Hindi

https://www.economist.com/asia/2026/11/29/the-romanisation-of-hindi
2•sbmthakur•1h ago•0 comments

Neuralink ALS Trial Approved

https://podnews.app/clip/5Ea2LyiryRY/454
2•nsemikey•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.