frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

"genesis mission (US Government)" (Angela Collier on AI and research) [video]

https://www.youtube.com/watch?v=p6Ejmhwb8Sc
1•eqvinox•17s ago•0 comments

MCP for sandboxed, reproducible envs for agentic-first coding workflows

https://github.com/aniongithub/devcontainer-mcp
1•anionyt•1m ago•0 comments

Flipping the bozo bit on flips the learning off

https://surfingcomplexity.blog/2026/05/09/flipping-the-bozo-bit-on-flips-the-learning-off/
1•eatonphil•2m ago•0 comments

Powering the Inference Era: Inside the DigitalOcean AI-Native Cloud

https://www.digitalocean.com/blog/powering-the-inference-era
1•gmays•2m ago•0 comments

The Laboratory and the Artist

https://clereviewofbooks.com/the-laboratory-and-the-artist/
1•skogstokig•4m ago•0 comments

Memory device breaks high-temperature performance record

https://physicsworld.com/a/memory-device-breaks-high-temperature-performance-record/
1•EA-3167•4m ago•0 comments

How Israel's creation mirrors Greek independence – and why it's overlooked

https://www.jpost.com/opinion/article-895285
1•dima1830•7m ago•0 comments

DOS, Floppies, NetBSD and Nostalgia

https://exquisite.tube/w/dkV6kWiT9sp2y6xVwkH1iF
1•jaypatelani•7m ago•0 comments

Show HN: A Satellite Visualizer

https://github.com/aabiji/kepler
1•aabiji•11m ago•0 comments

Pocket Raspberry Pi Computer for Hackers [Pre-Sale]

https://shop.m5stack.com/pages/m5-cardputerzero
1•daniel_iversen•11m ago•0 comments

Show HN: Fixing AI memory blind spot on connected facts with benchmark

https://yourmemoryai.xyz/
1•SachitRafa•12m ago•0 comments

Plant Seeds Do Something When the Sound of Rain Strikes

https://www.sciencealert.com/plants-can-sense-the-sound-of-rain
1•m463•13m ago•0 comments

Show HN: Building a web server in assembly to give my life (a lack of) meaning

https://imtomt.github.io/ymawky/
11•imtomt•14m ago•1 comments

Anthropic weighs deal for near $1T valuation as revenue surges

https://www.ft.com/content/a40cafcc-0fa4-4e70-9e24-90d826aea56d
2•mfiguiere•23m ago•0 comments

Show HN: A Codex/Claude Code plugin for persistent product context thru sessions

https://github.com/idodekerobo/draft-cli-plugin
1•idodekerobo•23m ago•0 comments

Godot Usage and Engine Growth

https://godotengine.org/article/godot-growth-stats-2026/
1•JSLegendDev•23m ago•0 comments

Ask HN: Can a tinnitus be triggered by high frequency noises?

2•tinnitus_crazy•27m ago•2 comments

Situational Awareness Kindle eBook ePub

https://blog.cahillanelabs.com/kindle/epub/llm/2026/05/10/situational-awareness-ebook
1•linuxfan2718•29m ago•0 comments

The Case of the Kung Fu 'Phreak'

https://www.zdnet.com/article/the-case-of-the-kung-fu-phreak/
1•mindcrime•36m ago•0 comments

Model Provenance Kit: Know Where Your AI Models Come From

https://blogs.cisco.com/ai/model-provenance-kit
2•boh•40m ago•0 comments

Carbon footprint of Linus Tech Tips' private jet

https://lttjet.com
3•droidjj•43m ago•0 comments

7meter

https://blog.cloudflare.com/through-the-eyes-tech-support-engineer/
1•apriyobudi•45m ago•0 comments

Notion or Obsidian or Apple Notes?

1•apoorvdarshan•46m ago•2 comments

Fidelity to Cut 800 Staffers as It Overhauls Tech, Product Teams

https://www.bloomberg.com/news/articles/2026-05-07/fidelity-to-cut-800-staffers-as-it-overhauls-t...
3•littlexsparkee•49m ago•0 comments

Blank

1•insanepro•50m ago•1 comments

GitHub project reproduces 58 Schmidhuber papers with AI assistant

https://twitter.com/hardmaru/status/2053147759428178315
2•momentmaker•56m ago•0 comments

Crypto exchange Coinbase to lay off 14% of staff as AI reshapes work

https://www.latimes.com/business/story/2026-05-05/crypto-exchange-coinbase-to-lay-off-14-of-staff...
2•1vuio0pswjnm7•58m ago•0 comments

Coinbase steep first quarter loss after slide in crypto prices; shares fall 4%

https://www.cnbc.com/2026/05/07/coinbase-coin-earnings-q1-2026.html
4•1vuio0pswjnm7•59m ago•3 comments

Superintelligent Retrieval Agent: The Next Frontier of Information Retrieval

https://arxiv.org/abs/2605.06647
2•CharlesW•1h ago•0 comments

Opus 4.7 and DeepSeek V4-Pro select Buddhism as preferred religion

https://twitter.com/tszzl/status/2053022747765457005
4•momentmaker•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.