frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The world's largest ad company had a bad quarter selling ads

https://www.wsj.com/tech/ai/alphabet-googl-q3-earnings-report-2026-stock-fa41392d
1•bigwheels•1m ago•0 comments

Jerry Rig Everything Trump phone tear down [video]

https://www.youtube.com/watch?v=5O-vCJW1b8g
1•testing22321•1m ago•0 comments

Computational Intractability: A Guide to Algorithmic Lower Bounds

https://hardness.mit.edu/
1•matteodelabre•2m ago•0 comments

Show HN: ThreadShelf – Obsidian and AI chats: vector search, MCP, llama.cpp

https://github.com/ChrystianSchutz/ThreadShelf
1•chrystianpl•4m ago•0 comments

Show HN: The Best Lightbox Component Out There

https://github.com/frontendsupply/lightbox
1•dgknca•6m ago•0 comments

Hs-bindgen playground: Paste a C header, get Haskell bindings

https://bindgen.well-typed.com
1•MrBuddyCasino•7m ago•0 comments

GuessHog Game

https://guesshog.posthog.com/
1•rbaudibert•10m ago•0 comments

The Race to Build Agents for Hospitals

https://www.outofpocket.health/p/the-race-to-build-hospital-agents
1•rafaelc•10m ago•0 comments

Alphabet's free cash flow sinks further, Q3 capex expectations miss

https://www.cnbc.com/2026/10/28/alphabet-googl-earnings-q3-2026.html
1•Betelbuddy•11m ago•0 comments

Microsoft Announces FY27 Q1 Results

https://www.microsoft.com/en-us/investor/earnings/fy-2027-q1/press-release-webcast
2•mfiguiere•11m ago•0 comments

AI for Science expands to foundations and institutions

https://www.anthropic.com/news/ai-for-science-expands-foundations-research-institutions
1•surprisetalk•12m ago•0 comments

Vercel CI

https://vercel.com/blog/introducing-vercel-ci
2•jlaneve•12m ago•0 comments

Show HN: Race Radar – HYROX ticket alerts, run day to day by an AI CEO

https://raceradar.fit/
1•greatrat000•12m ago•0 comments

Hermit: A uniform framework for harness and agent evolution

https://github.com/Infini-AI-Lab/hermit
1•hzzheng42•12m ago•0 comments

PullBull – GitHub PRs, issues and Projects boards in the macOS menu bar

https://github.com/rustycamper/pullbull
1•rustycamper•13m ago•0 comments

One step closer to offline payments

https://twitter.com/sxtvik/status/2115165546131947834
1•kivtxs•13m ago•0 comments

Alphabet Announces Third Quarter 2026 Results [pdf]

https://s206.q4cdn.com/479360582/files/doc_financials/2026/q3/2026q3-alphabet-earnings-release.pdf
22•mfiguiere•15m ago•3 comments

What is a good option for my app's data architecture?

https://github.com/cuadratico/NowiLink
1•cu6dr6t1c0•16m ago•0 comments

Uncle Murray, the talking skeleton programmed by a 9-year-old girl

https://19thnews.org/2026/10/girl-programmer-talking-skeleton-uncle-murray-halloween/
2•rhaynes•16m ago•0 comments

Google AI gets cagey when asked who won the 2020 elections

https://arstechnica.com/ai/2026/10/google-ai-gets-cagey-when-asked-who-won-the-2020-elections/
3•jacquesm•17m ago•1 comments

US-owned trans-Pacific cables face growing risks from sabotage and China

https://arstechnica.com/gadgets/2026/10/google-and-meta-subsea-cables-among-most-at-risk-from-sab...
2•jaredwiener•19m ago•0 comments

GPU database HeavyAI (formerly MapD) is now open source

https://twitter.com/ToddMostak/status/2115528541081399636
1•tmostak•20m ago•0 comments

Hardware Crackmes: 100 GameBoy Advance Games

https://remyhax.xyz/posts/gba-cheat-crackmes/
1•jerrythegerbil•20m ago•0 comments

Delete your back end, Your whole stack, inside Postgres

https://btholt.github.io/postgres-talk-delete-your-backend/
1•mariuz•20m ago•0 comments

Radiation Map of the World

https://radiaverse.com/
1•slater•21m ago•0 comments

Show HN: A visual map of related food dishes from around the world

https://tangledtaste.com/
1•agendreau•22m ago•0 comments

Mary Peltola's Alaska Senate campaign reportedly recruited second Dan Sullivan

https://www.theguardian.com/us-news/2026/oct/28/mary-peltola-dan-sullivan-alaska-senate
1•NewJazz•22m ago•2 comments

MIST – a tool pairing SAST and Fuzzing for smarter Bug Hunting

https://github.com/alessandroPalazzolo/mist
1•alessandroroche•23m ago•0 comments

TinyBubbles – TinyGo Displayer Back End and Widgets for BubbleTea

https://github.com/NimbleTerminal/TinyBubbles
1•iamnothere•23m ago•0 comments

LLMs Love Python: A Study of LLMs' Bias

https://arxiv.org/abs/2503.17181
2•codehead•24m 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.