frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I created a free tool that pairs your Nasic and past performance to win contract

https://www.fedfinder.net/
1•sentinelowl•1m ago•0 comments

Claude Fable 5 Backlash Grows

https://tech.yahoo.com/ai/claude/articles/claude-fable-5-backlash-grows-213000534.html
1•cybermango•5m ago•0 comments

NASA's Webb Studies How Planet Survived Death of Its Star

https://science.nasa.gov/missions/webb/nasas-webb-studies-how-planet-survived-death-of-its-star/
1•gmays•7m ago•0 comments

Swapheic – Convert images in the browser, everything happens locally, no uploads

https://swapheic.com/
1•rajsuper123•9m ago•0 comments

Scratch Linux Kernel Modules (scratchnative.at.github)

https://scratch.mit.edu/projects/706685974/editor/
1•oliculipolicula•9m ago•0 comments

The New BMW iX5 Hydrogen

https://www.bmwgroup.com/en/news/general/2026/the-new-bmw-ix5-hydrogen.html
1•plun9•11m ago•0 comments

First-ever reverse-aging drug was just injected into a human

https://www.businessinsider.com/first-ever-reverse-aging-treatment-injected-into-a-human-2026-6
2•cybermango•12m ago•0 comments

What Is Neocloud?

https://www.cisco.com/site/us/en/learn/topics/computing/what-is-neocloud.html
1•plun9•13m ago•0 comments

Breakthrough drug reverses aging in skin and dramatically speeds healing

https://www.sciencedaily.com/releases/2026/05/260519003215.htm
1•cybermango•13m ago•0 comments

The AI-Native Founder

https://www.wensenwu.com/thoughts/ai-native-founder
3•matmult•14m ago•0 comments

Tencent Hy3

https://huggingface.co/tencent/Hy3
2•droidjj•14m ago•0 comments

Math Master

https://www.angryflower.com/1666.html
1•oliculipolicula•16m ago•0 comments

Emerging evidence links tire pollution to Alzheimer's risk

https://medicalxpress.com/news/2026-07-emerging-evidence-links-pollution-alzheimer.html
1•OutOfHere•23m ago•1 comments

UUIDs, ULIDs and Sqids: A Practical Deep Dive

https://wendelladriel.com/blog/uuids-ulids-and-sqids-a-practical-deep-dive
2•shaunpud•26m ago•0 comments

Strata – An app that talks me out of dying outdoors

https://strata.highloop.co/
2•cloocher•28m ago•0 comments

The healing power of watching the boys of 'Jackass' do stupid things

https://www.yahoo.com/entertainment/general/article/the-healing-power-of-watching-the-boys-of-jac...
2•herbertl•30m ago•0 comments

Show HN: Tarot.free – Free Tarot Readings

https://tarot.free/
2•nadermx•32m ago•0 comments

The Hard Parts of Streaming Audio in Voice Agents

2•gokuljs•32m ago•0 comments

Binvariants: Register-Level Invaraint-Guided Fuzzing for Binaries

https://github.com/FuturesLab/Binvariants
2•matt_d•35m ago•0 comments

Env.style: Deployment environment disambiguation via favicon

https://www.env.style/
2•handfuloflight•37m ago•0 comments

Cewsco – the AI that keeps up with you

https://cewsco.com/
2•kalkalka•40m ago•2 comments

Show HN: Dedtxt is a quiet, cross-platform plain-text editor

https://dedtxt.app/
2•chrisportka•40m ago•0 comments

Moody Bible Institute breach leaves 2.3M accounts needing salvation

https://www.theregister.com/security/2026/07/06/moody-bible-institute-breach-leaves-23m-accounts-...
6•Bender•42m ago•1 comments

Brit supermarket giant triples down on facial recog to nab shoplifters

https://www.theregister.com/security/2026/07/06/brit-supermarket-giant-triples-down-on-facial-rec...
3•Bender•43m ago•2 comments

GitHub cuts short offer to burn repos on CD after mockery ensues

https://www.theregister.com/devops/2026/07/06/github-cuts-short-offer-to-burn-repos-on-cd-after-m...
6•Bender•43m ago•2 comments

PuzzleMoE: Efficient Compression of Large Mixture-of-Experts Models

https://supercomputing-system-ai-lab.github.io/projects/puzzlemoe/
2•matt_d•43m ago•0 comments

Jackrong LLM Fine-Tuning Guide

https://github.com/R6410418/Jackrong-llm-finetuning-guide
2•verdverm•45m ago•0 comments

Claude Sonnet 5: Anthropic's Most Agentic AI Model Arrives at a Reduced Price (2026)

https://lucasaguiar.xyz/en/posts/claude-sonnet-5-2026/
3•isfttr•46m ago•0 comments

How to sequence your own DNA at home

https://bradleywoolf.com/links-1/sequencing-my-own-dna-at-home
21•bilsbie•47m ago•2 comments

Supporting Ordering in Schema.org

https://blog.schema.org/2026/06/17/supporting-ordering-in-schema-org/
2•tingletech•48m 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.