frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

DRAM Prices Rise Again as Samsung Adds 30% Increase

https://www.eteknix.com/dram-prices-rise-again-as-samsung-adds-30-increase/
1•elorant•3m ago•0 comments

Talat's AI meeting notes stay on your machine, not in the cloud

https://techcrunch.com/2026/03/24/talats-ai-meeting-notes-stay-on-your-machine-not-in-the-cloud/
1•PaulHoule•4m ago•0 comments

Reasons Dumbphones Work

https://josebriones.substack.com/p/3-reasons-dumbphones-work
1•toomuchtodo•6m ago•1 comments

Block secrets before they enter LLM's Context with Agentmask

https://github.com/adithyan-ak/agentmask
1•akoffsec•7m ago•0 comments

Show HN: We unionized Maxwell's Demon– A paper on labor rights in thermodynamics

https://zenodo.org/records/19442828
1•Serena_Zayn•9m ago•0 comments

Thick Steps and Thin Steps in the AI Era

https://aparnacd.substack.com/p/thick-steps-and-thin-steps-in-the
1•nowflux•10m ago•0 comments

OpenClaw CVE Tracker

https://days-since-openclaw-cve.com
1•cdrnsf•10m ago•0 comments

Show HN: I built a site that turns your Steam gaming hours into a RL skill tree

https://alternatelife.xyz/
1•naorz•10m ago•0 comments

Show HN: Jbofs – explicit file placement across independent disks

https://github.com/aozgaa/jbofs
2•aozgaa•11m ago•1 comments

Legal Is Next

https://www.harvey.ai/blog/autonomous-agents-legal-is-next
1•nowflux•13m ago•0 comments

AI vs. Human Intelligence: Comparing Strengths and Limits

https://www.intuit.com/blog/innovative-thinking/ai-vs-human-intelligence/
1•salkahfi•14m ago•0 comments

Nutella product placement on Artemis II [video]

https://www.youtube.com/watch?v=lr0T1QCTl-M
1•reconnecting•15m ago•0 comments

Tim Cook Is an Embarrassing Coward

https://karlbode.com/tim-cook-is-an-embarrassing-coward/
2•cdrnsf•16m ago•0 comments

Subagent Invocation: Why Your Chatbot Needs a Team

https://wpp.opero.so
1•juancruzguillen•16m ago•0 comments

$2000 Bug Bounty to Whoever Fixes the Lenovo Legion Pro 7's Speakers on Linux

https://github.com/nadimkobeissi/16iax10h-linux-sound-saga/blob/main/PLEDGE.md
1•nickswalker•20m ago•0 comments

Orientale basin photographed by Artemis II

https://www.nasa.gov/image-detail/amf-art002e009212/
2•ajd555•23m ago•1 comments

The Downfall and Enshittification of Microsoft in 2026

https://caio.ca/blog/the-downfall-and-enshittification-of-microsoft.html
2•speckx•23m ago•1 comments

College instructor uses typewriters to curb AI work and teach life lessons

https://apnews.com/article/typewriter-ai-cheating-chatgpt-cornell-ce10e1ca0f10c96f79b7d988bb56448b
3•jethronethro•25m ago•0 comments

If No One Pays for Proof, Everyone Will Pay for the Loss

https://freakonometrics.hypotheses.org/89367
1•cdrnsf•25m ago•0 comments

Ask HN: Alternatives to Claude (Code)?

1•vixalien•26m ago•0 comments

Inside a Corporate Retreat That Went Very Badly Wrong

https://www.wsj.com/lifestyle/workplace/corporate-retreat-gone-wrong-07754741
4•dsr12•26m ago•0 comments

L-System Tree Planter

https://manymanytrees.com/
1•diogocteles•26m ago•0 comments

Show HN: Mactic – Open source touchpad haptics tool for MacBooks

https://github.com/MatMercer/mactic
2•MatMercer•27m ago•0 comments

Dor: The Structure Is the Product

https://twitter.com/dorvonlevi/status/2041220562283110579
1•nadis•27m ago•0 comments

Why Enterprise AI Needs More Than Documents

https://kimura.yumiwillems.com/p/human-as-context-why-enterprise-ai
1•yumiatlead•27m ago•0 comments

Root Persistence via macOS Recovery Mode Safari

https://yaseenghanem.com/recovery-unrestricted-write-access/
7•yaseeng•29m ago•3 comments

'Microshifting' puts a new spin on 9-to-5 schedules

https://apnews.com/article/microshifting-work-time-flexible-schedule-balance-97a98519916b447cd60c...
5•billybuckwheat•30m ago•0 comments

Jsonlogic-Fast

https://github.com/JPatronC92/jsonlogic-fast
1•JPatronC92•30m ago•0 comments

They're Putting AI Cameras in School Buses

https://www.usermag.co/p/theyre-putting-ai-cameras-in-school
2•defrost•31m ago•0 comments

We upgraded our agent to Opus and our costs went down

https://www.mendral.com/blog/frontier-model-lower-costs
2•shad42•32m ago•0 comments
Open in hackernews

Avoid Continue

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

Comments

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