frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Operational Cost of Vacuuming in PostgreSQL

https://mariadb.org/the-real-operational-cost-of-vacuuming-in-postgresql/
1•theodorejb•1m ago•0 comments

Swiss e-voting can't count 2,048 ballots after USB keys fail to decrypt them

https://www.theregister.com/2026/03/11/swiss_evote_usb_snafu/
1•jjgreen•1m ago•0 comments

Zero Parameter Dual Pathway Derivation of the Cosmological Constant with SymPy

https://github.com/drlm13/cosmological-constant-derivation
1•drluke13•4m ago•1 comments

Pg_10046: Oracle SQL_trace inspired SQL and wait event tracing for PostgreSQL

https://github.com/DmitryNFomin/pg_10046
1•tanelpoder•4m ago•0 comments

Aaru: The Billion-Dollar AI Startup That Was Founded by Teenagers

https://www.wsj.com/business/ai-startup-aaru-young-founders-35da7f87
1•fortran77•5m ago•1 comments

Anthropic vs. Trump Administration: What Happens When Firms Push Back

https://joycevance.substack.com/p/anthropic-sues-the-administration
1•taskset•7m ago•0 comments

Logicplanes vs. Kaeso – better tech brand?

https://logicplanes.com/
1•devinoldenburg•7m ago•1 comments

Show HN: I built a tool to detect almost any object in images using a prompt

https://www.useful-ai-tools.com/tools/detect-anything/
1•eyasu6464•8m ago•0 comments

Show HN: Canopy – A kid-friendly Plex client for iOS

https://canopykids.app/
1•ashlance•8m ago•0 comments

IdeaRank – Startup Analysis Engine

1•TMDev•8m ago•0 comments

CSS Naked Day 2020

https://meyerweb.com/eric/thoughts/2020/04/09/css-naked-day-2020/
2•theandrewbailey•9m ago•1 comments

Make anything AI-ready. AI-ready in 30 seconds

https://vinkius.com/en
1•renatomarinho•9m ago•0 comments

AI embeddings linearly encode their own accuracy

https://devlogs.lgnd.ai/posts/2026-03-01-self-aware-embeddings/
1•brunosan•10m ago•1 comments

I've made an iOS client for OpenCode AI

https://github.com/martynpekala/openlens-qr
1•martini_bambini•10m ago•1 comments

Apple's New MacBooks Have a Keyboard Change You Might Have Missed

https://www.macrumors.com/2026/03/10/macbook-keyboard-change/
1•ksec•12m ago•0 comments

Systemantics: How systems work and especially how they fail

https://en.wikipedia.org/wiki/Systemantics
1•pramodbiligiri•13m ago•0 comments

Don't Be a Sucker – Other Title:Educational Film, No. 6

https://catalog.archives.gov/id/24376
1•SockThief•16m ago•1 comments

Kanban Code – The IDE for 2026

https://github.com/langwatch/kanban-code
1•jangletown•16m ago•0 comments

Nix on macOS – The Good, the Bad and the Ugly

https://drakerossman.com/blog/nix-on-macos-the-good-the-bad-and-the-ugly
1•wrxd•18m ago•0 comments

Directory for mail clubs and subscription boxes

https://www.findmailclubs.com/
1•creativedee•19m ago•1 comments

Anyone using Cloudflare Workflows in production?

2•mertguvencli•20m ago•0 comments

The Impact of a Large Number of API Features

https://apichangelog.substack.com/p/the-impact-of-a-large-number-of-api
1•mariuz•20m ago•0 comments

Show HN: Agent-triage – diagnosis of agent failures from production traces

https://github.com/converra/agent-triage
1•oren1531•22m ago•0 comments

Agent-debate – AI agents review code by editing a shared Markdown file

https://github.com/gumbel-ai/agent-debate
2•marutiagarwal•23m ago•1 comments

Show HN: Engagement Experiment – Venmo vs. Cash App

https://wrpolls.com
1•wr639•24m ago•0 comments

The day the father of computing Federico Faggin described my universe

https://evertonb.substack.com/p/the-day-the-father-of-computing-federico
1•EvertonB•26m ago•1 comments

Sliceland [Game]

https://strangestloop.io/sliceland/
1•tasshin•29m ago•0 comments

Google's Data Center Buildout Could Top $1T

https://www.forbes.com/sites/richardnieva/2026/03/02/googles-data-center-buildout-could-top-1-tri...
1•bookofjoe•30m ago•0 comments

What Pages Should You Monitor on a Competitor Website?

https://adversa.io/blog/what-pages-should-you-monitor-on-a-competitor-website/
1•robinweller•30m ago•0 comments

Microsoft BitNet: 100B Param 1-Bit model for local CPUs

https://github.com/microsoft/BitNet
21•redm•31m ago•2 comments
Open in hackernews

Avoid Continue

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

Comments

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