frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Making Illegal State Unrepresentable

https://blog.frankel.ch/illegal-state-unrepresentable/
1•Tomte•32s ago•0 comments

We Need a New Product Hunt

https://molodtsov.me/2026/04/we-need-a-new-product-hunt/
1•twapi•53s ago•0 comments

You're Invisible on the Internet. Here's the Why

https://medium.com/@simbamudonzvo/youre-invisible-on-the-internet-here-s-the-why-fbe086d99d62
1•TechOnionKing•1m ago•0 comments

The Best Photos of the Artemis II Mission

https://nautil.us/the-best-photos-of-the-artemis-ii-mission-1279789
1•Bender•2m ago•0 comments

Embedded Rust discovery guide for the official Rust ESP32-C3 board

https://github.com/melastmohican/esp-rust-board-discovery
1•melastmohican•3m ago•0 comments

Passmark: Open-source Playwright library for AI regression testing

https://passmark.dev
1•hliyan•4m ago•1 comments

Sandboxed AI agent orchestration platform

https://github.com/superhq-ai/superhq
2•purusa0x6c•4m ago•0 comments

The Secret Life of Circuits

https://lcamtuf.coredump.cx/electronics/
1•signa11•6m ago•0 comments

Turtle WoW classic server announces shutdown after Blizzard wins injunction

https://www.pcgamer.com/games/world-of-warcraft/turtle-wow-classic-server-announces-shutdown-afte...
2•Brajeshwar•7m ago•0 comments

Claude Brain

https://github.com/memvid/claude-brain
1•DeathArrow•7m ago•0 comments

Per-Screen Virtual Desktops Is Finally on KDE Plasma

https://www.neowin.net/news/after-21-years-of-waiting-kde-plasma-is-finally-adding-this-long-requ...
1•bundie•9m ago•0 comments

Against an Endless Present

https://thedispatch.com/article/short-video-memory-culture-books/
1•XzetaU8•9m ago•0 comments

What Category Is Prune?

https://contemplativegames.com/prune
1•justinneuman•10m ago•0 comments

Have your agent post Markdown/HTML/JSX to internet

https://www.saved.md/
1•anboias•13m ago•0 comments

Show HN: Find jobs and know your fit before you apply

https://karriero.net/
1•alenn_m•13m ago•1 comments

Who Voted You King?

https://chrisabraham.substack.com/p/who-voted-you-king
1•chrisabraham•14m ago•0 comments

Ηuman collective intelligence through space, body and material symbols

https://royalsocietypublishing.org/rstb/article/381/1948/20240448/481362/Scaffolding-minds-human-...
1•XzetaU8•14m ago•0 comments

Moonspans

https://moonpans.com/
1•tcp_handshaker•14m ago•0 comments

The first compliance-native Git platform

https://www.guardgit.com/
1•quietproof•15m ago•0 comments

Show HN: Ratio Royale – A playable simulation of the Dead Internet theory

https://vibeaxis.com/ratio-royale/
1•XQorp•16m ago•0 comments

Tesla owner uses emergency solar to trickle charge after running out of battery

https://electrek.co/2026/04/18/tesla-model-x-solar-charging-atacama-desert-chile-pan-american-hig...
2•Bender•20m ago•0 comments

I've fired one of Americas most powerful lasers heres what a shot day looks like

https://theconversation.com/ive-fired-one-of-americas-most-powerful-lasers-heres-what-a-shot-day-...
2•Bender•22m ago•0 comments

Steal My Password (Technique)

https://mastodon.social/@DazRunner/116431049586713261
2•keiste_sales•24m ago•0 comments

When I Quit My PhD

https://www.lowimpactfruit.com/p/when-i-quit-my-phd
2•mnky9800n•24m ago•0 comments

What we once had (at the height of the XMPP era of the Internet) (2023)

https://www.kirsle.net/what-we-once-had-at-the-height-of-the-xmpp-era-of-the-internet
2•lolpython•26m ago•0 comments

One codebase → every store, registry, CDN, and channel. Ads on every network

https://github.com/profullstack/sh1pt
2•buffer_overlord•27m ago•0 comments

Scoring 500 Show HN pages for AI design slop

https://www.adriankrebs.ch/blog/design-slop/
2•hubraumhugo•27m ago•0 comments

Ask HN: What makes a good Product Manager

3•chairhairair•28m ago•1 comments

Git Blame: From Passive-Aggressive Forensics to Active-Aggressive Emails [pdf]

https://github.com/BarishNamazov/gitblame/blob/main/paper/gitblame.pdf
2•barishnamazov•28m ago•0 comments

Deploying Gemma 4 26B on an RTX 5090

https://datapnt.com/blog/deploying-gemma-4-26b-a4b-on-rtx-5090
3•sudo_ls_ads•30m ago•1 comments
Open in hackernews

Avoid Continue

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

Comments

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