frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

API Traffic Analyzer for Kubernetes

https://kubeshark.com/
1•l1am0•2m ago•0 comments

Hermes Agent

https://github.com/NousResearch/hermes-agent
1•tosh•2m ago•0 comments

Show HN: commitgen-cc – Generate Conventional Commit message locally with Ollama

https://github.com/Eaglemann/commitgen-cc
1•eagleman•3m ago•1 comments

Ask HN: What is your oldest living presence on the World Wide Web?

1•dhruv3006•5m ago•0 comments

The Economy of Loneliness

https://app.dateseriously.com/the-economy-of-loneliness.html
1•skanderbm•5m ago•0 comments

Show HN: Think Better – Inject Decision Frameworks into Claude and Copilot

https://github.com/HoangTheQuyen/think-better
1•hoangthequyen01•10m ago•0 comments

35 days in. 28 training cycles across 3 base models

https://forgeintelligence.substack.com/p/forge-intelligence-edition-5
1•beakmull•10m ago•0 comments

Returning to Rails in 2026

https://www.markround.com/blog/2026/03/05/returning-to-rails-in-2026/
2•todsacerdoti•10m ago•0 comments

Russian hackers breach Signal and WhatsApp accounts officials, Netherlands warns

https://www.reuters.com/world/europe/russia-backed-hackers-breach-signal-whatsapp-accounts-offici...
2•repelsteeltje•11m ago•0 comments

Gyro-Claw – Secure execution runtime for AI agents

4•gyroscape•12m ago•0 comments

Building GREMLIN's Lair

https://peebs.org/building-gremlins-lair/
2•nemesisj•12m ago•0 comments

Every language should have a UUID type

https://nafees.bearblog.dev/every-language-should-have-a-uuid-type/
2•mnafees•17m ago•0 comments

Building a Stripe dashboard with an ESP32 desktop clock and Rust

https://duggan.ie/posts/building-a-stripe-dashboard-with-an-esp32-desktop-clock-and-rust
1•duggan•18m ago•0 comments

Show HN: VS Code Agent Kanban: Task Management for the AI-Assisted Developer

https://www.appsoftware.com/blog/introducing-vs-code-agent-kanban-task-management-for-the-ai-assi...
2•gbro3n•18m ago•0 comments

Show HN: SubstanceWiki – Open-source encyclopedia of psychoactive substances

https://substancewiki.org
2•toprak123•23m ago•0 comments

What if you never had to get an API key ever again?

https://stevekrouse.com/x402
2•Tiberium•24m ago•0 comments

A willingness to look stupid is the most underrated moat in doing creative work

https://sharif.io/looking-stupid
2•Samin100•24m ago•0 comments

Why use F# for scripting and automation?

https://iev.ee/blog/why-use-fsharp/
2•nsm•27m ago•1 comments

Custom Agents in Visual Studio

https://devblogs.microsoft.com/visualstudio/custom-agents-in-visual-studio-built-in-and-build-you...
1•ankitg12•29m ago•1 comments

Advice for Operating a Public-Facing API (2023)

https://jcs.org/2023/07/12/api
2•wrxd•29m ago•0 comments

Show HN: TemplUI v1.7.0 – UI components for Go and templ, now with import mode

https://github.com/templui/templui
1•axadrn•30m ago•0 comments

Gemini Exporter – Save Gemini to PDF, Word, Google Docs and Notion

https://chromewebstore.google.com/detail/gemini-exporter-save-gemi/lgipeakgdkcgnkdljeagconfbfeolidj
3•backrun•30m ago•2 comments

Ireland shuts last coal plant, becomes 15th coal-free country in Europe

https://www.pv-magazine.com/2025/06/20/ireland-coal-free-ends-coal-power-generation-moneypoint/
4•robin_reala•31m ago•0 comments

Gemini Exporter – Export Gemini Chat to PDF, Word, and Notion in One Click

3•backrun•34m ago•1 comments

Probability and Induction

https://iep.utm.edu/probability-and-induction/
1•jruohonen•38m ago•0 comments

Quantum Simulates Properties of First Half-Möbius Molecule by IBM Researchers

https://research.ibm.com/blog/half-mobius-molecule
2•birdculture•39m ago•0 comments

Show HN: I built a secure AI mediator to handle my own marital conflicts

https://ashti.ai
1•thedevguy•39m ago•1 comments

Show HN: Generate HTTP and Jsonrpc from IDL

https://github.com/xidl/xidl
2•battery8318•39m ago•1 comments

The Window Chrome of Our Discontent

https://pxlnv.com/blog/window-chrome-of-our-discontent/
3•crbelaus•41m ago•0 comments

Ask HN: Do AI providers optimize for "Pelican riding a bicycle”?

1•kandros•41m ago•0 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.