frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: WattFactory – Browser Based Indoor Cycling

https://wattfactory.fit
1•robputt•30s ago•0 comments

What Happens When Europeans Find Out How Poor They Are?

https://www.wsj.com/opinion/what-happens-when-europeans-find-out-how-poor-they-are-270cff5d
1•harambae•36s ago•0 comments

iOrchestra.ai prompt to hardware mass production platform YC looks for [video]

https://www.youtube.com/shorts/0gCeJFyRYx4
1•andresparraarz•3m ago•1 comments

Midori, the first browser to offer a VPN with Mesh technology

https://astian.org/midori-en/performance-adblock-and-more-in-midori-11-7-1/
1•ponchale•10m ago•0 comments

Kloak: Kernel-space secret injection via eBPF on Kubernetes

https://a-cup-of.coffee/blog/kloak/
1•ankitg12•12m ago•0 comments

OSTree Overview – Ostreedev/Ostree

https://ostreedev.github.io/ostree/introduction/
1•ankitg12•18m ago•0 comments

Ask.com, home of search butler Jeeves closes as conversational search comes back

https://www.theregister.com/2026/05/04/askjeeves_closes/
1•beardyw•18m ago•0 comments

CARA 2.0 – "I Built an Better Robot Dog"

https://www.aaedmusa.com/projects/cara2
1•hakonjdjohnsen•18m ago•0 comments

Rootshell – The terminal, reimagined for Apple platforms

https://rootshell.com/
1•theshrike79•19m ago•0 comments

Allegedly Nintendo Stopped Selling to Amazon After Being Asked to Break the Law

https://kotaku.com/reggie-fils-aime-says-nintendo-stopped-selling-to-amazon-after-being-asked-to-...
2•croes•19m ago•0 comments

Call JavaScript functions across thread boundaries like they were local

https://www.npmjs.com/package/achi-rpc
1•stiles11•22m ago•0 comments

Golang Tutorial: Find and fix vulnerable dependencies with govulncheck

https://go.dev/doc/tutorial/govulncheck
1•l1am0•23m ago•0 comments

The Myth of RAM, part I (2014)

https://www.ilikebigbits.com/2014_04_21_myth_of_ram_1.html
1•downbad_•24m ago•1 comments

The Back-end for Front-end Pattern (BFF) (2015)

https://philcalcado.com/2015/09/18/the_back_end_for_front_end_pattern_bff.html
1•locknitpicker•27m ago•0 comments

AWS Lambda Cold Start: Java, Python, Go, Rust

https://medium.com/@yalovoy/four-million-lambda-invokes-across-python-java-rust-and-go-5b9218f64563
1•zero-ground-445•30m ago•0 comments

Ping Poetics (2009)

https://electronicbookreview.com/publications/ping-poetics/
1•jruohonen•31m ago•0 comments

Package and distribute Electron apps with "auto update" support

https://www.electron.build/index.html
2•ankitg12•40m ago•0 comments

Banger: One-command dev sandboxes on Firecracker microVMs

https://git.thaloco.com/thaloco/banger
1•thunderbong•41m ago•0 comments

Vampires, prisoners, and late-stage capitalism

https://gagliardoni.net/#20260504_vampire_capitalism
2•tomgag•48m ago•0 comments

AI Coding Models You Can Run Locally on Consumer Hardware

https://firethering.com/best-coding-models-consumer-hardware/
1•steveharing1•51m ago•1 comments

Microelectrode Techniques: The Plymouth Workshop Handbook

https://plymsea.ac.uk/id/eprint/7954/
2•teleforce•54m ago•0 comments

DSPy – Programming – not prompting – LMs

https://dspy.ai/
1•sakompella•54m ago•0 comments

Text Files as a User Interface

https://ratfactor.com/cards/text-files-as-ui
1•ingve•1h ago•0 comments

Pinecone Nexus: The Knowledge Engine for Agents

https://www.pinecone.io/blog/knowledge-infrastructure-for-agents/
1•berlianta•1h ago•0 comments

Designing Microkernel IPC

https://seiya.me/blog/microkernel-ipc-design
1•ingve•1h ago•1 comments

Evolving the Android and Chrome Vulnerability Reward Programs for the AI Era

https://bughunters.google.com/blog/evolving-the-android-chrome-vrps-for-the-ai-era
3•tjek•1h ago•0 comments

Clawback: Safer OpenClaw Upgrade Rehearsals

https://github.com/haishmg/Clawback
1•princeharry86•1h ago•0 comments

YouTube Transcript API

https://youtubetranscript.us/
1•nikitarogers•1h ago•0 comments

Electrophysiology

https://en.wikipedia.org/wiki/Electrophysiology
2•teleforce•1h ago•0 comments

Strawberry Browser

https://strawberrybrowser.com/
1•simonebrunozzi•1h 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.