frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Tuyaai

https://tuya.ai/
1•elinaaaaaa•3m ago•0 comments

Circular Obstacle Pathfinding (2017)

https://redblobgames.github.io/circular-obstacle-pathfinding/
1•kqr•4m ago•0 comments

Data-Center Builders Are Racing to Offload Stakes Worth Billions

https://www.wsj.com/finance/investing/data-center-builders-are-racing-to-offload-stakes-worth-bil...
1•doener•4m ago•0 comments

Spitting chips: A dive into the data and token industry, & who carries GPU risk

https://reneweconomy.com.au/spitting-chips-a-deep-dive-into-the-data-and-token-industry-and-who-c...
1•ggm•5m ago•0 comments

Why do some emoji look familiar?

https://jenniferdaniel.substack.com/p/why-do-some-new-emoji-look-familiar
2•lacieargyle•7m ago•0 comments

Chip toolmaker ASML expected to shine light on capacity and China challenges

https://www.reuters.com/world/china/chip-toolmaker-asml-expected-shine-light-capacity-china-chall...
2•technewssss•7m ago•0 comments

Show HN: QPilot – paste a manual test case, AI runs it in Chrome

https://github.com/broxhq/qpilot
1•Muhammad-21•8m ago•0 comments

Your 'App' Could Have Been a Webpage (so I fixed it for you)

https://danq.me/2026/07/09/your-app-could-have-been-a-webpage/
1•buildfocus•13m ago•0 comments

Satya Nadella has issued a warning to companies using AI

https://techcrunch.com/2026/07/13/satya-nadella-has-issued-a-shocking-warning-to-companies-using-ai/
3•nlpnerd•14m ago•1 comments

Improving Windows Search Box, with less clutter and more control

https://blogs.windows.com/windows-insider/2026/07/13/improving-windows-search-box-with-less-clutt...
1•thm•14m ago•0 comments

Simulating everything, sort of: The promise and limits of world models

https://arstechnica.com/ai/2026/07/simulating-everything-sort-of-the-promise-and-limits-of-world-...
2•thm•16m ago•0 comments

The OpenAI Super App, ChatGPT = Codex, Whither Chat

https://stratechery.com/2026/the-openai-super-app-chatgpt-codex-whither-chat/
1•swolpers•17m ago•0 comments

Global Nobel Laureates Assembly on AI and Nuclear War

https://globalnobelassembly.org/
2•dn2k•18m ago•0 comments

Don't Use aria-label on Static Text Elements (2024)

https://benmyers.dev/blog/dont-use-aria-label-on-static-text-elements/
1•birdculture•18m ago•0 comments

The Joy of Extending Tailwind

https://dan-webnotes.com/posts/2026-07-14-joy-extending-tailwind/
2•dandep•22m ago•0 comments

Why 2 Degrees of Global Warming Means 6 Degrees in Europe

https://www.tobiasreithmeier.de/en/blog/why-2-degrees-global-warming-means-6-in-europe
2•JuriKeller•23m ago•0 comments

Improve Router Hygiene to Protect Against Russian State-Sponsored Targeting

https://www.cisa.gov/news-events/cybersecurity-advisories/aa26-194a
2•giuliomagnifico•24m ago•0 comments

The Unfair Judge: A Mechanistic Interpretability Account of LLM-as-Judge

https://arxiv.org/abs/2607.11871
1•sbulaev•30m ago•0 comments

Euclid discovers the most ancient quasar in the Universe

https://www.esa.int/Science_Exploration/Space_Science/Euclid/Euclid_discovers_the_most_ancient_qu...
3•emot•32m ago•0 comments

Vizro: Upload spreadsheets. Get answers in minutes

https://www.vizro.ai
1•welsenesbros•34m ago•0 comments

UK Tokenization Roadmap Puts £33B on the Table and a Clock on the Wall

https://www.disruptionbanking.com/2026/07/14/uk-tokenization-roadmap-puts-33-billion-on-the-table...
2•emsidisii•37m ago•0 comments

Mensfeld/code-on-incus: Give each AI agent its own isolated machine

https://github.com/mensfeld/code-on-incus
1•Tomte•40m ago•0 comments

Rethinking MCP Security: A Large-Scale Study of Runtime MCP Servers

https://arxiv.org/abs/2607.11086
1•sbulaev•42m ago•0 comments

Making Software: How to make a font

https://www.makingsoftware.com/chapters/how-to-make-a-font
2•Garbage•42m ago•0 comments

The bubble of the age; or, The fallacy of railway investment (1848) [pdf]

https://dn721608.ca.archive.org/0/items/bubbleofageorfal00smit/bubbleofageorfal00smit.pdf
1•rfv6723•43m ago•0 comments

Zig creator calls Bun's Claude Rust rewrite 'unreviewed slop'

https://www.theregister.com/devops/2026/07/14/zig-creator-calls-buns-claude-rust-rewrite-unreview...
1•giamma•45m ago•4 comments

The Noise Floor of Latent Dissent, Interview with Harry Halpin Founder of NymVPN

https://diffractionscollective.com/2026/04/30/the-noise-floor-of-revolt-harry-halpin/
1•hansvs•46m ago•1 comments

JPEG for ASTC

https://github.com/BinomialLLC/basis_universal/wiki/JPEG-for-ASTC
1•edflsafoiewq•49m ago•0 comments

Ask HN: US Equivalent of Anabin?

1•xqb64•51m ago•0 comments

Introduction to Mainframe Scripting Languages

https://zubairidrisaweda.medium.com/introduction-to-mainframe-scripting-languages-83c1edd86e3e
2•rbanffy•51m 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.