frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

ClassRoot: Class Management Built by a Studio Owner

https://classroot.app
1•payanai•1m ago•0 comments

DuckDB-WASM startup: from 6.8 to 2.3 seconds with Haybarn-WASM

https://query.farm/blog/duckdb-wasm-startup-time/
1•rustyconover•1m ago•0 comments

One Hash Bloom Filters

https://www.calabro.io/ohbf
1•fanf2•1m ago•0 comments

Dynamic MCP Server Discovery on Google Cloud

https://leoy.blog/posts/dynamic-mcp-server-discovery/
1•minherz•1m ago•0 comments

The Tell: Tom Goldstein's Double Life

https://www.thfndry.com/the-tell/
1•Tomte•1m ago•0 comments

Build a Basic AI Agent from Scratch: Session Management

https://www.ruxu.dev/articles/ai/build-an-ai-agent-sessions/
1•ruxudev•2m ago•0 comments

Show HN: Stillplay – The Windows XP games, rebuilt in C and WASM for the browser

https://github.com/btahir/stillplay
1•bilater•3m ago•0 comments

Refactoring Factorials

https://www.johndcook.com/blog/2026/10/19/refactoring-factorials/
1•ibobev•6m ago•0 comments

My Problem with Omarchy Is What I Like About Arch

https://dayvster.com/blog/my-problem-with-omarchy-is-what-i-like-about-arch/
2•ibobev•6m ago•0 comments

Thing About Side Projects Is Being Allowed to Care Too Much

https://dayvster.com/blog/the-best-thing-about-side-projects-is-being-allowed-to-care-too-much/
1•ibobev•6m ago•0 comments

Open source license compliance generally available

https://github.blog/changelog/2026-10-16-open-source-license-compliance-generally-available/
1•Tomte•8m ago•0 comments

Find My throws away the route. So I built the thing that keeps it

https://gregakespret.substack.com/p/find-my-throws-away-the-route-so
1•DeGi•9m ago•1 comments

Show HN: Remakecraft – Claude Code plugin that rewrites apps from behaviour

https://github.com/remakecraft/remakecraft
1•hellosverre•10m ago•0 comments

Show HN: Vlmhub – Simple Unified Python interface for vision-language models

https://github.com/dbiswas55/vlmhub
1•db55•10m ago•0 comments

Europe EV sales rose 70.3% in September, 32.6% of market share

https://www.reuters.com/business/europe-ev-sales-rose-70-september-almost-30-market-share-2026-10...
22•giuliomagnifico•12m ago•0 comments

The EU energy battle rages on – and Italy is losing

https://europe.repubblica.it/en/news/2026/10/19/news/italy_eu_energy_battle_meloni_carbon_pricing...
2•simonebrunozzi•13m ago•0 comments

Top cases on the US Supreme Court's docket

https://www.reuters.com/world/us/top-cases-us-supreme-courts-docket-2026-10-19/
1•usernomdeguerre•15m ago•1 comments

Inception "Mercury 3", 1000 tok/s diffusion LLM

https://www.inceptionlabs.ai/blog/introducing-mercury-3
23•cmrdporcupine•16m ago•4 comments

Ukraine carries out first ever aerial drone evacuation of a wounded soldier

https://www.dailymail.com/news/article-16220441/Ukraine-carries-aerial-drone-evacuation-wounded-s...
3•theflyingelvis•16m ago•0 comments

Show HN: Senseplane open-source eyes and ears for AI agents, on your own cameras

https://github.com/senseplane-ai/senseplane
1•oludareodedoyin•18m ago•0 comments

Securing the Agentic Insider

https://blogs.microsoft.com/blog/2026/10/19/securing-the-agentic-insider/
1•AnhTho_FR•19m ago•0 comments

Prism – a fast, open-source IDM alternative for Windows and Linux

https://github.com/FortoGraphy/prism-download-manager
1•FortoGraphy•21m ago•0 comments

Tests don't prove anything, but they are a model

https://blog.drgriffin.au/posts/tests-are-a-model
1•discodave•22m ago•1 comments

Ask HN: Cheaper ways to estimate age and gender from selfies?

2•mimexi4851•22m ago•0 comments

MongoDB API compatible DocumentDB announces 1.0

https://documentdb.io/blogs/posts/documentdb-1-0/
4•xgerman•23m ago•0 comments

A Little League coach pulled aside an opposing player [Meta Glasses]

https://www.nytimes.com/athletic/7693356/2026/10/16/little-league-coach-viral-leadership-2/
2•compiler-guy•24m ago•0 comments

And Soon It Will Be Forgotten

https://desmolysium.substack.com/p/and-soon-it-will-be-forgotten
1•paulpauper•26m ago•0 comments

The Death of the Comeback

https://morbidcuriosity.substack.com/p/the-death-of-the-comeback
1•paulpauper•26m ago•0 comments

The big lie we tell ourselves as we get older

https://coached.com/essays/the-big-lie-we-tell-ourselves-as-we-get-older/
1•rohanm93•26m ago•1 comments

Lilly code editor outperforms Neovim using custom treesitter equivalent

https://tauraamui.site/blog/lilly-perf-vs-neovim-and-others
1•bloostar•27m 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.