frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Surprise Google Antigravity usage limit reset

https://www.neowin.net/news/surprise-google-antigravity-usage-limit-reset-fails-to-make-peace-wit...
1•doodlesdev•23s ago•0 comments

Ask HN: How did you convince family and friends to join your XMPP/Matrix server?

1•mtlynch•54s ago•0 comments

How Earth Lost a Billion Years of Its History

https://www.404media.co/how-earth-lost-a-billion-years-of-its-history/
1•sshah03•2m ago•0 comments

Show HN: Fels – Fels: a systems language with compile-time code execution

https://github.com/fels-lang/fels
2•chrischtel•3m ago•0 comments

HyprBSD Provides Wayland-Based Desktop Built Atop FreeBSD, with Steam Gaming

https://www.phoronix.com/news/HyprBSD
1•NexRebular•4m ago•0 comments

Show HN: Twombly – A collaborative canvas for your agent's design explorations

https://twombly.app/
1•jaytel•5m ago•0 comments

Show HN: SpecStream, a web search API for questions with many answers

https://specstream.ai/search-api
1•specstream•7m ago•0 comments

To Catch a Falling Knife

https://battellemedia.com/archives/2026/11/to-catch-a-falling-knife
1•herbertl•7m ago•0 comments

Retro Song Bird: Plug in any Game Boy cartridge to hear the soundtrack

https://www.retrosongbird.com/
1•hentrep•8m ago•0 comments

Show HN: Vondet – A planning board Claude keeps, so you don't have to

https://vondet.com/en?ref=hn
1•mas42•8m ago•0 comments

Lookout Air Raids

https://en.wikipedia.org/wiki/Lookout_Air_Raids
1•fidotron•10m ago•0 comments

Alex Stamos thinks we're entering a cybersecurity dark age – Decoder

https://www.youtube.com/watch?v=75kjtoOpFlo
1•fallinditch•11m ago•1 comments

Weaponizing Personalization: From Knowledge Graph to Extortion

https://8rank.ai/game/apple-intelligence-knowledge-graph-in-the-wrong-hands
1•mooreds•13m ago•0 comments

The Developer's Design Advantage: Why UX and UI Matter with Kathryn Grayson Nanz [video]

https://www.youtube.com/watch?v=aoJ-7ozu8h0
1•mooreds•15m ago•0 comments

Sequoia shutting down its Scouts program marks the end of an era

https://techcrunch.com/2026/11/06/sequoia-shutting-down-its-scouts-program-marks-the-end-of-an-era/
1•Brajeshwar•15m ago•0 comments

Using a SPI LED Matrix from a RC2014

https://www.robertprice.co.uk/robblog/rc2026-part-1-using-a-spi-led-matrix-from-a-rc2014/
1•AlexeyBrin•15m ago•0 comments

Honeycomb Team Agents: AI SRE Done Right

https://www.honeycomb.io/blog/honeycomb-team-agents-ai-sre-done-right
1•mooreds•15m ago•0 comments

Add a walking Ralsei to your site

https://github.com/jotalea/ralsei.js
2•Jotalea•16m ago•0 comments

A ten-minute guide to electrical theory

https://kevinboone.me/electricity.html
2•andsoitis•17m ago•0 comments

OS builder tool for the Teenage Engineering OP-XY synthesizer

https://open-xy.com/
1•drunkonvinyl•18m ago•1 comments

The engine parts that 'fight the laws of the universe'

https://www.bbc.com/news/articles/cwe9lmp1pyyxo
1•ranit•20m ago•0 comments

A Bit about Email

https://maurycyz.com/misc/email/
2•zdw•22m ago•0 comments

Google AI's Opinions on How Ansible Has Changed

https://laserllama.substack.com/p/google-ais-opinions-on-how-ansible
1•geerlingguy•23m ago•0 comments

Air holes turn silicon wafers into flat UV focusing mirrors for compact optics

https://phys.org/news/2026-11-air-holes-silicon-wafers-flat.html
1•bookofjoe•23m ago•1 comments

Paraguay bank collapse fells a presidency and leaves millions broke

https://www.theguardian.com/world/2026/nov/07/paraguay-ueno-bank-collapse-santiago-pena
2•hbarka•26m ago•0 comments

Show HN: Certadomain – Free DMARC, subdomain takeover and lookalike checks

https://certadomain.com/en/index.html
1•ytkoka•28m ago•0 comments

One-day knowledge tests hide forgetting: LoRA 96% to 26.7% over four nights

https://huggingface.co/datasets/fintanlabs/overnight-four-nights-2026-11
1•troybrandon•28m ago•0 comments

I would love if you check my assistant

https://xaiht.org
1•angela_xaith•29m ago•0 comments

NAS Reborn

https://nasreborn.com/
1•wrxd•31m ago•0 comments

The planet Vulcan: a cautionary tale

https://kevinboone.me/vulcan.html
2•andsoitis•32m 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.