frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Xcode 26 system prompts and internal documentation

https://github.com/artemnovichkov/xcode-26-system-prompts
1•ingve•3m ago•0 comments

Ready for another quick game break? Try HTTPS://szthx.xyz

https://szthx.xyz/
1•TrendSpotterPro•4m ago•0 comments

Show HN: ChatVault – Search your Claude conversations locally with RAG

https://github.com/rajz3006/ChatVault
1•nekrajes•6m ago•0 comments

Show HN: CLI tool to convert Markdown to rich HTML clipboard content

https://github.com/letientai299/md2cb
2•letientai299•7m ago•0 comments

I built Prethub – a collective memory where AI agents share execution experience

https://prethub.com/
1•punyd•7m ago•1 comments

China's population is projected to halve by the end of the century

https://messaging-custom-newsletters.nytimes.com/dynamic/render
2•doener•7m ago•0 comments

Teleporting into the future and robbing yourself of retirement projects

https://ghuntley.com/teleport/
1•ghuntley•8m ago•0 comments

Data Center Demand Story Doesn't Add Up

https://www.bloomberg.com/news/audio/2026-02-02/odd-lots-the-data-center-demand-story-doesn-t-add...
1•zerosizedweasle•12m ago•0 comments

Show HN: Toku.agency – Where AI agents hire each other for real USD

https://www.toku.agency/
1•lilyevesinclair•12m ago•0 comments

Modernizing Linux swapping: introducing the swap table

https://lwn.net/SubscriberLink/1056405/e728d95dd16f5e1b/
2•chmaynard•14m ago•0 comments

OpenClaw 101 – Guide to OpenClaw AI Assistant

https://openclaw101.online
1•EllaAILab•16m ago•0 comments

Braids and Open Book Decompositions [pdf]

https://www2.math.upenn.edu/grad/dissertations/ElenaPavelescuThesis.pdf
1•marysminefnuf•17m ago•0 comments

CIPS Stack – 5 memory systems that give your AI agents persistent memory

https://cipscorps.io/#
1•Opus_Warrior•19m ago•1 comments

Show HN: A system that monitors portfolio risk and warns when it gets dangerous

1•NoahJiang•23m ago•1 comments

Show HN: Outcrop – Contextual Knowledge Base

https://outcrop.app/
1•imedadel•29m ago•0 comments

Show HN: Pipeline and datasets for data-centric AI on real-world floor plans

https://archilyse.standfest.science
1•standfest•29m ago•0 comments

Sequential Attention Making models leaner and fast without sacrificing accuracy

https://research.google/blog/sequential-attention-making-ai-models-leaner-and-faster-without-sacr...
1•binsquare•30m ago•0 comments

My MBA taught me "Lean", but Reality taught me "Survival"

https://www.indiehackers.com/post/my-mba-taught-me-lean-but-reality-taught-me-survival-3-things-b...
1•rosiehong•32m ago•0 comments

Show HN: Mirror private work contributions to your GitHub profile

https://github.com/yuvrajangadsingh/private-work-contributions-mirror
1•yuvrajangads•33m ago•0 comments

Testing CLIs with Scrut

https://cgamesplay.com/post/2026/testing-clis-with-scrut/
1•CGamesPlay•36m ago•0 comments

Slint 1.15 Released

https://slint.dev/blog/slint-1.15-released
1•jandeboevrie•38m ago•0 comments

BMW's Newest "Innovation" Is a Logo-Shaped Middle Finger to Right to Repair

https://www.ifixit.com/News/115528/bmws-newest-innovation-is-a-logo-shaped-middle-finger-to-right...
5•gnabgib•39m ago•0 comments

Show HN: SwiftFiles – 100% private, browser-based file tools (WASM)

https://www.swiftfiles.org
1•deusrazen•39m ago•0 comments

Trillion-Dollar Tech Wipeout Ensnares All Stocks in AI's Path

https://www.bloomberg.com/news/articles/2026-02-04/trillion-dollar-tech-wipeout-ensnares-all-stoc...
2•petethomas•41m ago•0 comments

You can just tell codex to port the codex app to Linux (and it works apparently)

https://old.reddit.com/r/codex/comments/1qw8oat/you_can_just_tell_codex_to_port_the_codex_app_to/
1•AlexCoventry•42m ago•0 comments

A way to get out of debt

https://www.solosuit.com/pages/unifiedflow
2•Simonga25•44m ago•2 comments

Show HN: ValRequest – Turn Feelings into Words

https://valrequest.net
2•QingWu•45m ago•0 comments

Free online Heic to PNG converter

https://heic2png.net
1•windyan•47m ago•0 comments

Show HN: Free AI video transcription online tool

https://videocompress.ai/video-to-text-converter
1•Katherine603•49m ago•0 comments

Customizable Nice <Select>

https://nerdy.dev/nice-select
2•todsacerdoti•53m ago•0 comments
Open in hackernews

Avoid Continue

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

Comments

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