frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Before you fine-tune, compile: lessons from a payment-risk experiment

https://seldon-ai.com/blog/before-you-fine-tune-compile
1•nlpnerd•1m ago•0 comments

Claude versus "GPU'less AI architecture" reasoning competition

https://fleetingswallow.com/claude-vs-gpuless-ai-a-reasoning-showdown/
1•edwardchalk•6m ago•1 comments

CEOs are coding again – Amir Salihefendic, CEO of Todoist [video]

https://www.youtube.com/watch?v=Q8xEGnJgOzQ
1•mpweiher•6m ago•0 comments

Ask HN: Responsible Use of Agents for Cybersecurity

1•teekert•9m ago•0 comments

Discord is making messages from public servers discoverable on search engines

https://twitter.com/malwarebytes/status/2115206474192339322
1•taubek•14m ago•0 comments

Rocky Linux Creator Built a New "Not Linux" Kernel in 11 Days Using AI

https://itsfoss.com/news/ginux/
1•zoobab•15m ago•1 comments

Show HN: Self-diagnosis of vulnerabilities such as PHP2Shell via IP/Domain

https://aipentest.jclab.kr/selfcheck
1•joseph2024•17m ago•0 comments

The Bitter Lesson for Humans

https://gfrm.in/posts/bitter-lesson-for-persons/
1•slygent•19m ago•1 comments

Amazon EC2 I7i instances are now available in Amazon Web Services China regions

https://www.amazonaws.cn/en/new/2026/amazon-ec2-i7i-instances/
1•Chinaready•22m ago•0 comments

UniFi Long-Range Poe Switching

https://blog.ui.com/article/introducing-unifi-long-range-switching
3•janandonly•28m ago•0 comments

NoFlo 2.x Is Coming

https://bergie.iki.fi/blog/noflo-20-prep/
1•bergie•28m ago•0 comments

Pell Puzzles Review

https://dles.gg/reviews/pell-puzzles
1•trizoza•28m ago•0 comments

Show HN: NoVul – Open-source Mac app to Find and fix vulnerabilities on your Mac

https://github.com/misbahsy/novul
2•misbahsy•29m ago•0 comments

IanVisits turns twenty – two decades of exploring London

https://www.ianvisits.co.uk/articles/ianvisits-turns-twenty-two-decades-of-exploring-london-93536/
3•edent•30m ago•1 comments

AI is the real Soylent Green

https://www.danaco.se/ai-is-the-real-soylent-green/
2•zenbryo•35m ago•0 comments

Show HN: NoVul – Find and Fix Vulnerabilities On

1•misbahsy•35m ago•0 comments

Show HN: A Lego-like composable Framework for RSI

https://rsi-gear.github.io/
10•ethan1998•36m ago•0 comments

Show HN: Earithmetic – multiply in your head when digits are notes or rhythms

https://vernetit.github.io/earithmetic/
1•quietcircuit•39m ago•0 comments

Show HN: Hackerscad – Code-first CAD with MCP server for AI agents

https://hackerscad.com/
1•Kapendev•40m ago•0 comments

Best thing I read today, "how open is your software factory"

https://tessl.io/blog/how-open-is-your-software-factory
1•rohansrma•45m ago•0 comments

The piano test for program verification (2011)

https://blog.regehr.org/archives/364
1•azhenley•45m ago•0 comments

Dhwani: A self-hosted voice notes app built with Whistle by Cactus Compute

https://github.com/snehaldutta/Dhwani
1•deepDutta_003•45m ago•0 comments

Show HN: I use it to find ideas and figure out direction

https://seekstar.app
1•hanstyle•46m ago•0 comments

Discovering and exploiting vulnerabilities in critical software with Claude

https://www.anthropic.com/research/discovering-vulnerabilities-with-claude
4•serioussecurity•50m ago•1 comments

A QE Q&A [pdf]

https://www.hks.harvard.edu/sites/default/files/centers/mrcbg/files/PSheardQEQAAugust2014.pdf
1•burekqueen•53m ago•0 comments

A Second Look at Apple's Secure Kernel

https://www.antid0te.com/blog/secure-kernel-first-look-erratum.html
1•frostbyte7•53m ago•0 comments

Spatial Reality Display ELF-MN1 Developer Site

https://xyn.sony.net/en/developer/spatial-reality-display-mini
1•Bluestein•55m ago•0 comments

Mathematics of the Future [pdf]

https://math.mit.edu/~etingof/futuremath.pdf
1•the-mitr•1h ago•0 comments

Weibel Labs

https://weibellabs.com/
1•lokimedes•1h ago•0 comments

Each filter was right; together they let through two sentences a day

https://iampneuma.com/each-filter-was-right/
1•barronai•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.