frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Spec-Driven Development?

1•reconstructapp•2m ago•0 comments

The most complex model we understand [video]

https://www.youtube.com/watch?v=D8GOeCFFby4
1•bearseascape•5m ago•0 comments

What happens to a small Nebraska town when 3,200 workers lose their jobs

https://apnews.com/article/tyson-closure-workers-lexington-nebraska-beef-plant-638e615f6225bc7452...
2•mooreds•8m ago•0 comments

A dangerous guide to beachcombing (2017)

https://www.chemistryworld.com/news/a-dangerous-guide-to-beachcombing/3008056.article
1•thunderbong•8m ago•0 comments

A One-Shot Catastrophe Avoidance Benchmark for RL Agents

https://zenodo.org/records/18027900
1•anima-core•10m ago•1 comments

The 60 Minutes report that Bari Weiss censored is now internet contraband

https://www.theverge.com/policy/849432/60-minutes-cecot-censored-canada-leak
3•lateforwork•12m ago•1 comments

Runner laps Toronto's new $2.6B LRT train

https://runningmagazine.ca/the-scene/runner-laps-torontos-new-2-6-billion-lrt-train/
1•canucker2016•14m ago•1 comments

CD Pipelines: Operational Control, Not a Delivery Convenience

https://substack.com/home/post/p-182081800
1•gpi•14m ago•0 comments

Open Forms

https://www.aryank.in/posts/2025-12-21-introducing-open-forms/
1•todsacerdoti•19m ago•0 comments

Ask HN: LLC or Sole Proprietorship

3•dandeto•22m ago•0 comments

While You Watched Venezuela, China Won the Oil War – Yanis Varoufakis

https://www.youtube.com/watch?v=4dEHDUwAsII
3•thelastgallon•23m ago•0 comments

Measuring the impact of AI on developer productivity at Meta

https://www.youtube.com/watch?v=1OzxYK2-qsI
1•Ianjit•25m ago•1 comments

The WW1 Christmas Truce (2023)

https://www.bbc.com/culture/article/20231219-the-ww1-christmas-truce-the-war-for-that-moment-came...
1•1659447091•25m ago•0 comments

Rex is a safe kernel extension framework that allows Rust in the place of eBPF

https://github.com/rex-rs/rex
1•zdw•28m ago•0 comments

Diesel pollution particles impair lysosomal functions of iPSC-derived microglia

https://www.sciencedirect.com/science/article/pii/S0160412025002181
8•PaulHoule•30m ago•0 comments

Russia's new anti-satellite weapon project would target Starlink with shrapnel

https://apnews.com/article/russia-starlink-musk-ukraine-space-china-canada-c69c1fda5ffc93828712ab...
1•T-A•31m ago•0 comments

Show HN: A dashboard for understanding Kubernetes operators

https://lynq.sh/blog/introducing-lynq-dashboard
1•selenehyun•32m ago•0 comments

Teenagers Are Running Their Own AI Companies

https://www.wsj.com/business/entrepreneurship/teenage-founders-ecb9cbd3
2•kwar13•36m ago•0 comments

How I taught an AI to use a computer

https://blog.jamesmurdza.com/how-i-taught-an-ai-to-use-a-computer
1•phlummox•37m ago•0 comments

Screen Reader HTML Support – Lookup

https://tetralogical.github.io/screen-reader-HTML-support/lookup/lookup.html
2•dbaupp•37m ago•0 comments

Show HN: Eze – AI startup roadmap co‑pilot (Day 3 update)

https://eze.lovable.app/
1•foolmarshal•40m ago•0 comments

Should We Ban Phones in the Classroom?

https://nicholasdecker.substack.com/p/should-we-ban-phones-in-the-classroom
1•barry-cotter•42m ago•0 comments

Would this idea work? SkillCircle

https://pure-modern--dinakarm3.replit.app/
2•DinakarS•43m ago•2 comments

Extroverts, Introverts, Aspies and Codies (2011)

https://www.ribbonfarm.com/2011/04/07/extroverts-introverts-aspies-and-codies/
2•rzk•44m ago•0 comments

'Never again,' says Windsor senior after embarrassment of empty gift cards

https://www.cbc.ca/news/canada/windsor/scammed-gift-cards-tim-hortons-windsor-9.7021349
2•canucker2016•45m ago•0 comments

Ivan Zhao on X: "Steam, Steel, and Infinite Minds" / X

https://twitter.com/ivanhzhao/status/2003192654545539400
1•bilsbie•47m ago•0 comments

Minutes segment cancelled by CBS was available on Global TV website

https://www.theglobeandmail.com/world/us-politics/article-60-minutes-segment-cancelled-by-cbs-was...
7•healsdata•48m ago•4 comments

ByteDance plans $23B AI spending spree to keep pace with US rivals

https://www.ft.com/content/9f550bb6-5708-41e3-aef6-ce8d7bb405ad
3•smurda•50m ago•0 comments

Next-Generation Guided-Missile Destroyer

https://en.wikipedia.org/wiki/DDG(X)
1•xqcgrek2•51m ago•0 comments

Show HN: Do Models Represent Epistemic Stance?

https://github.com/neelsomani/epistemic-stance-mechinterp
1•nsomani•53m ago•0 comments
Open in hackernews

Avoid Continue

https://www.teamten.com/lawrence/programming/avoid-continue.html
2•todsacerdoti•8mo ago

Comments

zoezoezoezoe•8mo 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•8mo 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.