frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: How do you find out when someone links to your blog?

1•velcrovan•1m ago•0 comments

Newsom Moves to Empty California's Death Row by Commuting 548 Sentences

https://www.kqed.org/news/12108596/newsom-moves-to-empty-californias-death-row-by-commuting-548-s...
1•geox•1m ago•0 comments

Why You Should Care About The Political Project of Twisted

https://blog.glyph.im/2026/11/the-project-of-twisted.html
1•lumpa•3m ago•0 comments

Somebody made an AI clone of Mark Brown's indie game [video]

https://www.youtube.com/watch?v=8LMau1qXPYE
1•agnishom•7m ago•0 comments

The Dangerous Illusion of the "Two-Week AI Expert"

https://medcitynews.com/2026/11/the-dangerous-illusion-of-the-two-week-ai-expert-a-call-to-action...
1•sshah03•11m ago•0 comments

Robodinest – Robotics Supply Chain Visualize

https://robodienst.com/supply-chain/bd-atlas
1•iamanatom•11m ago•0 comments

Everything you need to know about the cybersecurity apocalypse

https://kerkour.com/cybersecurity-apocalypse
1•worik•16m ago•0 comments

Problems to Avoid When Building an Agentic Landing Page Translation System

https://www.kapwing.com/blog/ghost/#/editor/post/6aed27d52c0f98c7c385563a
1•jenthoven•25m ago•0 comments

NASA telescope is predicted to come crashing down after failed rescue mission

https://apnews.com/article/swift-observatory-nasa-telescope-e890935df7f468048594286566a96357
2•gmays•29m ago•1 comments

Switch to Safari

https://mjtsai.com/blog/2026/11/05/switch-to-safari/
2•gmays•30m ago•1 comments

Three way Git merging with meld

https://lukas.zapletalovi.com/posts/2012/three-way-git-merging-with-meld/
1•zahrevsky•34m ago•0 comments

Introduction to Mechanics for Engineers

http://ruina.tam.cornell.edu/Book/
1•pillars•36m ago•0 comments

Moving a Go CMS to encoding/JSON/v2

https://hatamoto.dev/post/moving-hatamoto-to-encoding-json-v2
1•zenincognito•37m ago•0 comments

Reachmap

https://reachmap.app/
1•wwaymonsam•39m ago•0 comments

EA re-releases 25 classic games, restores Wing Commander and Road Rash FMVs

https://www.ea.com/news/ea-classics-launch
2•bpierre•40m ago•0 comments

Ancient warriors got high on cannabis, burial mound reveals

https://www.thetimes.com/uk/history/article/scythians-cannabis-siberia-tunnug-herodotus-pm6vs6rlk
4•bookofjoe•41m ago•0 comments

Scarce Positions of Economic Power Gain from Increasingly Capable AI

https://commanding-heights.com/
1•benwen•44m ago•0 comments

Regulators approve generic HIV-prevention drug for low-income countries

https://apnews.com/article/generic-lenacapavir-gilead-who-prep-hiv-c3537796e84c54d60179eba3c56561e6
4•gmays•47m ago•0 comments

FrontierPhysics: Evaluating Agents for End-to-End Physics Research

https://arxiv.org/abs/2611.06910
1•bingran_you•48m ago•0 comments

Habla – I built a free Spanish-learning app for iOS

https://apps.apple.com/fr/app/habla-learn-spanish-fast/id6783860670
1•brmmuhoil•49m ago•0 comments

Proled XDR Display Technology Overview [pdf]

https://www.apple.com/macbook-pro/proled-xdr-display/pdf/PROLED_XDR_Display_Technical_Paper.pdf
1•interpol_p•54m ago•0 comments

How to Set Up Web Page Minification with VitePress

https://meiert.com/blog/web-page-minification-with-vitepress/
1•ykgoon•56m ago•0 comments

Supermicro Super AI Station Review: The AI Server That Doubles as a Workstation

https://www.servethehome.com/supermicro-super-ai-station-review-the-ai-server-that-doubles-as-a-w...
2•teleforce•57m ago•0 comments

Qualcomm Dragonwing Nabs Big SpaceX Starlink Mobile Nationwide US 5G Network Win

https://www.servethehome.com/qualcomm-dragonwing-nabs-a-big-spacex-starlink-mobile-nationwide-us-...
1•teleforce•58m ago•0 comments

World-Model MCP for Finance

https://ergen.ai/
2•alpbahadur•1h ago•0 comments

Mosaic – a tool to understand and simulate random architectures

https://github.com/xleelz/mosaic
1•xleelz•1h ago•1 comments

Unlimited-OCR-2 rejoins tables split across PDF pages

https://openteams.com/engineering-blog/unlimited-ocr-2-long-pdf-tables/
1•khuyentran1401•1h ago•0 comments

Skill to teach your agents how to use Jujutsu VCS

https://github.com/danverbraganza/jujutsu-skill
2•nvader•1h ago•0 comments

Investors wipe $2.5T off Nasdaq as blue tsunami prompts AI fears

https://www.reuters.com/legal/transactional/ai-data-center-stocks-slip-democratic-sweep-clouds-ex...
26•lilerjee•1h ago•2 comments

Understanding Nix Flakes

https://lwn.net/Articles/1094226/
2•signa11•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.