frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Cyber Model Arena

https://www.wiz.io/cyber-model-arena
2•ram_rattle•9m ago•0 comments

Pg_stat_ch: A PostgreSQL extension that exports every metric to ClickHouse

https://clickhouse.com/blog/pg_stat_ch-postgres-extension-stats-to-clickhouse
2•saisrirampur•13m ago•0 comments

Why haven't humans been back to the moon in over 50 years?

https://www.cnn.com/2026/02/13/science/why-humans-have-not-been-back-to-moon
1•ablaba•15m ago•1 comments

Jikipedia, a new AI-powered wiki reporting on key figures in the Epstein scandal

https://twitter.com/jmailarchive/status/2022482688691835121
1•wenjel•18m ago•0 comments

Show HN: Heart Note – a tiny web app to send beautiful one‑off digital letters

https://heartnote.online
2•azabraao•33m ago•0 comments

SnowBall: Iterative Context Processing When It Won't Fit in the LLM Window

https://enji.ai/tech-articles/snowball-iterative-context-processing/
1•puzanov•33m ago•0 comments

How to be a good Asian parent (satire)

https://www.reddit.com/r/AsianParentStories/s/yyMDWcAUdh
1•carabiner•38m ago•1 comments

The Compliance Officer Who Flagged Epstein – and Lost Her Job

https://www.levernews.com/the-compliance-officer-who-flagged-epstein-and-lost-her-job/
1•cwwc•40m ago•0 comments

Convert URLs and Files to Markdown

https://markdown.new
2•salkahfi•41m ago•0 comments

Podcast: Solving Distributed Message Passing: NATS.io composite learning [video]

https://www.youtube.com/watch?v=5NXvU17a-iU
1•northlondoner•45m ago•3 comments

Lockdown Mode and Elevated Risk Labels in ChatGPT

https://openai.com/index/introducing-lockdown-mode-and-elevated-risk-labels-in-chatgpt/
2•ms7892•46m ago•0 comments

Living in the Petri Dish of the Future

https://om.co/2026/02/12/living-in-the-petri-dish-of-the-future/
1•herbertl•52m ago•0 comments

The feedback you're not giving is the problem you keep having

https://dougrathbone.com/blog/2026/02/14/the-feedback-youre-not-giving-is-the-problem-you-keep-ha...
1•wiredone•54m ago•0 comments

AI Fails at 96% of Jobs (New Study)

https://www.youtube.com/watch?v=z3kaLM8Oj4o
3•deterministic•57m ago•2 comments

LLM APIs is a State Synchronization Problem

https://lucumr.pocoo.org/2025/11/22/llm-apis/
1•goranmoomin•57m ago•0 comments

Show HN: Lucid – Catch hallucinations in AI-generated code before they ship

https://github.com/gtsbahamas/hallucination-reversing-system
3•jordanappsite•1h ago•0 comments

German-language Wikipedia considers comprehensive AI ban

https://www.heise.de/en/news/German-language-Wikipedia-considers-comprehensive-AI-ban-11175670.html
3•layer8•1h ago•0 comments

Evolving Git for the Next Decade

https://lwn.net/SubscriberLink/1057561/bddc1e61152fadf6/
2•dhruv3006•1h ago•0 comments

The Challenger Map

https://challengermap.ca/
1•blululu•1h ago•0 comments

Show HN: Why Playwright-CLI Beats MCP for AI‑Driven Browser Automation

1•tanmay001•1h ago•0 comments

Show HN: ReviewStack – API that aggregates reviews from YouTube and Reddit

https://reviewstack.vercel.app/demo
1•browndev•1h ago•0 comments

Op.gg but for Chess

https://chess-pulse-neon.vercel.app/
1•rayen_gh•1h ago•2 comments

China's adoption of industrial robots has surged over the past decade

https://ourworldindata.org/data-insights/chinas-adoption-of-industrial-robots-has-surged-over-the...
2•kamaraju•1h ago•0 comments

Backblaze Drive Stats for 2025

https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/
16•Brajeshwar•1h ago•3 comments

DC required daycare workers to get degrees. News only talked to those who stayed

https://abio.substack.com/p/dc-required-daycare-workers-to-get
2•NavinF•1h ago•0 comments

Interop 2026

https://webkit.org/blog/17818/announcing-interop-2026/
3•zb3•1h ago•0 comments

Why exercise isn't much help if you are trying to lose weight

https://www.newscientist.com/article/2514600-why-exercise-isnt-much-help-if-you-are-trying-to-los...
6•stevenwoo•1h ago•2 comments

Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

https://github.com/mickamy/sql-tap
18•mickamy•1h ago•2 comments

Terrence Tao: Why I Co-Founded SAIR [video]

https://www.youtube.com/watch?v=Z5GKnb4H_bM
1•abetusk•1h ago•0 comments

Terence Tao: Machine Assistance and the Future of Research Mathematics [video]

https://www.youtube.com/watch?v=SuTxpKggY30
2•abetusk•1h ago•1 comments
Open in hackernews

Avoid Continue

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

Comments

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