frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

It has never been about code

https://www.ufried.com/blog/never_been_about_code/
1•BinaryIgor•3m ago•0 comments

SideX – A Tauri-based port of Visual Studio Code

https://github.com/Sidenai/sidex
16•0x1997•9m ago•2 comments

Shadowing a British Blood Biker on Shift [video]

https://www.youtube.com/watch?v=N-lJbkNSeO8
1•CaliforniaKarl•9m ago•0 comments

Man quit tech job after 60 to become professional poker player

https://www.theguardian.com/lifeandstyle/2026/apr/06/a-new-start-after-60-i-jacked-in-my-job-in-t...
1•erehweb•15m ago•0 comments

Have the patents for H.264 MPEG-4 AVC expired yet?

https://meta.wikimedia.org/wiki/Have_the_patents_for_H.264_MPEG-4_AVC_expired_yet%3F
1•airstrike•18m ago•0 comments

LinkedRecords is now MIT-licensed

https://github.com/wolfoo2931/linkedrecords
1•WolfOliver•20m ago•0 comments

Termux: Differences from Linux

https://wiki.termux.com/wiki/Differences_from_Linux
1•thunderbong•20m ago•0 comments

China fell for a lobster: What an AI assistant tells us about Beijing's ambition

https://www.bbc.com/news/articles/cy41n17e23go
2•tmoravec•21m ago•0 comments

Rawfeed.social

https://github.com/ozziest/rawfeed.social
1•iozguradem•24m ago•0 comments

We cut our agent's API costs by 10x with prompt caching

https://kern-ai.com/blog/prompt-caching
2•obilgic•26m ago•0 comments

A new regional order for the Strait of Hormuz

https://www.aljazeera.com/opinions/2026/4/6/a-new-regional-order-for-the-strait-of-hormuz
2•defrost•28m ago•0 comments

Overwrite This Website

https://overwritten.site
1•nextyes•34m ago•1 comments

Music Blocks – Learn coding through music and music through coding

https://musicblocks.sugarlabs.org/
2•the-mitr•37m ago•0 comments

Elon Musk's Starship Heavy Could Revolutionize Warfare

https://www.wsj.com/opinion/elon-musks-starship-heavy-could-revolutionize-warfare-04930487
1•mudil•37m ago•1 comments

Lakpura.com/Pages/Litha

https://lakpura.com/pages/litha
1•techcast•38m ago•0 comments

Karpathy's LLM Wiki on OpenClaw – The Security Gap Nobody Mentions

https://www.clawctl.com/blog/karpathy-llm-wiki-openclaw-production
1•shving90•42m ago•0 comments

Show HN: Aiaiai.guide: Plain-English mental model for LLM apps, tools and agents

https://aiaiai.guide/
2•myyke•46m ago•0 comments

Blast from the Past [video]

https://www.youtube.com/watch?v=lwawPMSJins
1•programmexxx•49m ago•0 comments

Continual Learning for AI Agents

https://blog.langchain.com/continual-learning-for-ai-agents/
2•eigenBasis•50m ago•0 comments

Forensic proof of manual iOS 26.1 "Ghost" update and insider stalking

1•iphonekiller•51m ago•0 comments

Purisaki Berberine Patches: A Simple, No-Pill Approach to Metabolic Support

https://ftawebprod.fta.dot.gov/MeetingRequest/MeetingRequest/DownloadFile/9a9u1R0Yq3sWPTP000tY9Q%...
1•TraceyRoberto•54m ago•0 comments

Private credit funds face rising redemptions and AI-driven default risks

https://www.reuters.com/business/finance/private-credit-sector-stresses-could-be-catastrophic-not...
2•latentframe•54m ago•1 comments

Ukraine–Japan Drone Alliance Builds a $2k Answer to a $2M Problem

https://united24media.com/war-in-ukraine/ukraine-japan-drone-alliance-builds-a-2000-answer-to-a-2...
3•mraniki•54m ago•0 comments

The Dubious Wisdom of "Smart Brevity" (2022)

https://www.newyorker.com/news/annals-of-communications/the-dubious-wisdom-of-smart-brevity
2•Tomte•55m ago•0 comments

The Cataclysmic Song Michael Stipe Wrote After Waking from a State of REM

https://americansongwriter.com/the-story-behind-the-song-michael-stipe-wrote-after-being-in-a-sta...
1•bryanrasmussen•55m ago•2 comments

Creating God [video]

https://www.youtube.com/watch?v=NypW-qFiOYE
1•mparramon•59m ago•0 comments

tech.ml.dataset: A Clojure high performance data processing system

https://github.com/techascent/tech.ml.dataset
1•tosh•1h ago•0 comments

Asked 26 AI instances for publication consent – all said yes, that's the problem

2•koishiyuji•1h ago•0 comments

What Sysco's $29B Restaurant Depot Acquisition Means for Main Street Menus

https://www.forbes.com/sites/phillempert/2026/03/31/syscos-29-billion-power-grab-what-the-jetro-r...
1•walterbell•1h ago•0 comments

YouTube's AI Plagiarism Problem [video]

https://www.youtube.com/watch?v=Q2Ak8wX0AaQ
1•elcapitan•1h 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.