frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Medallion Architecture: Lessons from the Hard Way

https://medium.com/@parade4940/medallion-architecture-what-it-will-teach-you-the-hard-way-unless-...
1•Unviable3378•1m ago•0 comments

The World of Dreampolitik

https://novum.substack.com/p/the-world-of-dreampolitik
1•paulpauper•3m ago•0 comments

Anthropic and the Dow: Anthropic Responds

https://thezvi.substack.com/p/anthropic-and-the-dow-anthropic-responds
1•paulpauper•4m ago•0 comments

Show HN: PgQueuer – A PostgreSQL job queue that works without PostgreSQL

https://github.com/janbjorge/pgqueuer
1•jeeybee•5m ago•0 comments

Tools Say They Can Spot A.I. Fakes

https://www.nytimes.com/2026/02/25/technology/ai-detection-generated-photos-video.html
1•viewtransform•6m ago•1 comments

Are the Mysteries of Quantum Mechanics Beginning to Dissolve?

https://www.quantamagazine.org/are-the-mysteries-of-quantum-mechanics-beginning-to-dissolve-20260...
1•wjb3•10m ago•0 comments

Smart LED display lovers and enthusiasts

https://www.crowdsupply.com/meterbit-cybernetics/pixlpal
1•fustinus•10m ago•1 comments

The Colour of Production

https://lmika.org/2026/02/27/the-colour-of-production.html
1•captn3m0•11m ago•0 comments

Show HN: SwarmClaw – Orchestration dashboard for OpenClaw and AI agents

https://github.com/swarmclawai/swarmclaw
1•jamesweb•11m ago•0 comments

Securing Shell Execution Agents: From Validation to Custom DSLs

https://yortuc.com/posts/securing-shell-execution-agents/
1•xyortuc•12m ago•0 comments

Track your Claude Code ROI from the terminal

1•akshat2634•13m ago•0 comments

Kalshi voids some bets on Khamenei's ouster

https://www.theverge.com/tech/887210/kalshi-void-bets-khamenei-death
1•us321•14m ago•1 comments

Khamenei Trade

https://www.businessinsider.com/khamenei-prediction-markets-kalshi-polymarket-insider-trading-out...
1•us321•15m ago•0 comments

Brain, Think on Thyself

https://knowablemagazine.org/content/article/mind/2026/science-of-self-awareness-and-decision-making
3•wjb3•15m ago•0 comments

Ask HN: What's the best way to learn how Claude Code/codex works?

1•tabs_or_spaces•15m ago•0 comments

Scientists train human brain cells on a microchip to play Doom

https://www.dexerto.com/gaming/scientists-train-human-brain-cells-on-a-chip-to-play-doom-3326709/
2•Anon84•17m ago•0 comments

Show HN: A local AI news aggregator built with Vue 3, FastAPI, and Ollama

https://github.com/fanitarantsopoulou/ai-news-aggregator
2•ftarants•17m ago•1 comments

Show HN: Nopp – AI-generated interactive sales microwebsites

https://notpptx.com
2•rob-blaga•17m ago•0 comments

Show HN: Lightweight, S3-compatible object storage server with built-in web dash

https://github.com/eniz1806/VaultS3
2•open_source_new•18m ago•0 comments

Pentium 4 – 5GHz overclocked (2003) [video]

https://www.youtube.com/watch?v=z0jQZxH7NgM
1•st_goliath•18m ago•0 comments

MemVector: Local Vector API, Storage and Embedding Engine for PHP

https://github.com/memvector/ext-memvector
1•bruceduk•18m ago•0 comments

AI that makes life or death decisions should be interpretable

https://manidoraisamy.com/ai-interpretable.html
5•QueensGambit•20m ago•0 comments

Proposal: Built-in secret management for Claude Code

https://github.com/anthropics/claude-code/issues/29910
1•bicx•24m ago•1 comments

A girls' elementary school was hit in Iran

https://www.cnn.com/2026/03/01/world/video/osint-investigation-iran-minab-girls-school-iran-us-is...
6•simonebrunozzi•24m ago•2 comments

Ask HN: How to approach new people in 2026?

1•tavro•24m ago•1 comments

HN: JournalistDB – A searchable database of journalists and their contact info

https://journalistdb.com/
1•veritas9•26m ago•1 comments

An offline-first blog built on WASM, WebSockets, and SQLite

https://robida.net/entries/2026/01/28/having-fun-with-modern-web-apis
1•halicarnassus•26m ago•0 comments

I benchmarked 10 Claude.md profiles across 1,188 runs – empty won every time

https://techloom.it/blog/claudemd-benchmark-results.html
1•jchilcher•27m ago•0 comments

Why Are Chinese EVs So Cheap?

https://rhg.com/research/why-are-chinese-evs-so-cheap/
1•gmays•28m ago•0 comments

JWT Studio – Your local tokens, organized

https://github.com/MiguelRipoll23/jwt-studio
2•PhilDunphy23•28m ago•0 comments
Open in hackernews

Avoid Continue

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

Comments

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