frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Cerebras Built Its Enterprise Knowledge Base

https://www.cerebras.ai/blog/how-we-built-our-knowledge-base
1•haritha1313•5s ago•0 comments

Show HN: Justif – publication-grade text justification for the web

https://justif.lyall.co/
1•lyall•50s ago•0 comments

WTF are modular forms (2024)

https://graemephi.github.io/posts/modular-forms/
1•marysminefnuf•54s ago•0 comments

No Shark Is Safe: Shark Vacuums Are Vulnerable to RCE

https://tokay0.com/posts/millions-of-shark-vacuums-vulnerable-to-rce.html
1•dlgeek•1m ago•0 comments

'Rust makes coding fun again': Greg explains why Linux is moving away from C

https://www.zdnet.com/article/greg-kroah-hartman-linux-kernel-rust/
1•maxloh•6m ago•0 comments

Lingbot-map: A 3D foundation model for reconstructing scenes from streaming data

https://github.com/Robbyant/lingbot-map
1•olalonde•12m ago•0 comments

Alphabet shares fall on Gemini 3.5 Pro delay

https://www.cnbc.com/2026/07/16/alphabet-stock-gemini-3-5-pro-ai.html
3•PessimalDecimal•13m ago•0 comments

DEI Ain't Dead According to New Study

https://www.blackenterprise.com/dei-isnt-dead-companies-still-back-workplace-inclusion/
2•ohjeez•17m ago•0 comments

The Auditor's Opinion

https://www.cringely.com/2026/07/16/the-auditors-opinion/
1•dxs•19m ago•0 comments

Against "Stochastic Terrorism"

https://www.astralcodexten.com/p/against-stochastic-terrorism
1•paulpauper•23m ago•1 comments

Why Legal Personhood Is Neither Necessary nor Sufficient

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7127038
1•paulpauper•24m ago•0 comments

Why is it so difficult (and crazy expensive) to fly within Africa?

https://www.africanistperspective.com/p/why-is-it-so-difficult-and-crazy
2•paulpauper•24m ago•1 comments

ReactBench

https://www.reactbench.com/blog
1•gmays•27m ago•0 comments

Apple's Vision Pro Tool Contains Traces of Defunct Game Engine 'The Machinery'

https://www.macrumors.com/2026/06/23/apple-reality-composer-pro-the-machinery/
4•bananaboy•32m ago•0 comments

AI that builds and runs your business, 24/7

https://www.leapd.ai
2•Cyrus2050•35m ago•3 comments

Xiaomi Opens a 38B World Model Built to Generate Robot Data

https://topicqueue.substack.com/p/xiaomi-opens-a-38b-world-model-built
3•DISCURSIVE•38m ago•0 comments

Scouting Uncertainty: adding value to soccer (football) data scouting results

https://marclamberts.medium.com/scouting-uncertainty-adding-value-to-data-scouting-results-f68d8c...
2•sebg•44m ago•0 comments

The Self-Driving Company

https://twitter.com/amasad/status/2077802290304684404
3•bilsbie•46m ago•0 comments

Why Not HP Printers (2019)

https://productrevue.ca/index.php/2019/04/23/why-not-hp-printers/
3•thisislife2•47m ago•0 comments

Cyberattack at Nichirei leads to food shortages at eateries, stores

https://www.asahi.com/ajw/articles/16731347
4•rawgabbit•49m ago•0 comments

AI Data Centers and the Concentration of Wealth

https://www.schneier.com/blog/archives/2026/07/ai-data-centers-and-the-concentration-of-wealth.html
7•birdculture•57m ago•0 comments

Can AI make honest mistakes?

https://twitter.com/thsottiaux/status/2077630111499882637
3•throwaway2027•1h ago•2 comments

The Rise and Fall of a Tech Company

https://amrshawky.com/posts/rise-and-fall/
6•amr_shawky•1h ago•0 comments

AegisDB – self-hosted memory for AI agents, in one C binary

https://github.com/d4n-larsson/aegisdb
2•d4n-larsson•1h ago•0 comments

Trends That Defined AI Engineering at Fair 2026

https://www.latent.space/p/aiewf26trends
2•gmays•1h ago•0 comments

Mortality (Book)

https://en.wikipedia.org/wiki/Mortality_(book)
3•chistev•1h ago•1 comments

Show HN: Deadly Dispatch – A physics puzzle game 13 years in the making

https://store.steampowered.com/app/4890070/Deadly_Dispatch/
2•BernardGatt•1h ago•0 comments

What Is a Smith Chart?

https://www.arenaphysica.com/publications/smith-charts
5•sebg•1h ago•0 comments

SecretSpec 0.15: Provider Credentials, Azure Key Vault / Gopass, and PHP SDK

https://secretspec.dev/blog/secretspec-0-15-provider-credentials-azure-key-vault-gopass-and-php-sdk/
2•domenkozar•1h ago•0 comments

Kalshi says it caught Trump's teleprompter operator insider trading

https://www.theverge.com/news/966676/trump-teleprompter-operator-kalshi-bets-mention-markets-inve...
10•sbulaev•1h ago•2 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.