frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Commodore Unveils Cyberpunk 2077 Themed Special Edition Commodore 77

https://www.eteknix.com/commodore-unveils-cyberpunk-2077-themed-special-edition-commodore-77/
1•theanonymousone•45s ago•0 comments

VMs won't contain cyber-capable agents

https://blog.trailofbits.com/2026/08/26/vms-wont-contain-cyber-capable-agents/
2•polyrand•1m ago•0 comments

Meta agrees to settle social media case for $16.68B

https://finance.yahoo.com/technology/live/tech-stocks-today-meta-agrees-to-settle-social-media-ca...
1•phyzix5761•1m ago•0 comments

Requests for Startups: Energy

1•NarcisMirandes•1m ago•0 comments

Lody: A Local-First Workspace for Teams and Coding Agents

https://lody.ai/blog/lody-is-now-open-source/
1•czx111331•2m ago•0 comments

Show HN: Tabu, NSFW image and video API for explicit content moderation

https://tabushield.com/
1•jofo_s•5m ago•0 comments

C++26: Std:Inplace_vector

https://www.sandordargo.com/blog/2026/08/26/cpp26-inplace-vector
1•ibobev•7m ago•0 comments

Who Makes Your Supplements?

https://www.worseonpurpose.com/p/who-actually-makes-your-supplements
3•speckx•9m ago•0 comments

Show HN: Getting more users for my projects

https://www.joinindie.club/
1•AkshayS96•9m ago•1 comments

The next total solar eclipse is 500M miles away

https://signoregalilei.com/2026/08/17/the-next-total-solar-eclipse-is-500-million-miles-away/
1•surprisetalk•10m ago•0 comments

Hackers now exploit critical Gitea flaw in code injection attacks

https://www.bleepingcomputer.com/news/security/hackers-now-exploit-critical-gitea-flaw-in-code-in...
2•DemiGuru•11m ago•0 comments

I Am Still an AI Hater

https://anthonymoser.github.io/writing/ai/haterdom/2026/08/26/i-am-still-an-ai-hater.html
2•frizlab•12m ago•0 comments

Preserving glow-in-the-dark art and fashion for future generations

https://arstechnica.com/science/2026/08/how-chemistry-can-keep-glow-in-the-dark-pigments-from-fad...
1•Brajeshwar•13m ago•0 comments

Tool that finds hidden opportunities in your Google Search Console data

https://easyanalytica.com/tools/gsc-insight/
1•pdyc•13m ago•1 comments

MCP vs. CLI: 26,000 tokens burnt before your agent reads the prompt

https://blocks.ai/blog/mcp-vs-cli-context-window-cost
1•kayleykiwi•13m ago•1 comments

AI stock alert tool for people do not check screen all the time

https://signalalert.io/
1•willddy•14m ago•0 comments

Chrome update includes 327 security fixes, ten of which are critical

https://chromereleases.googleblog.com/2026/08/stable-channel-update-for-desktop_0256176589.html
2•speckx•16m ago•0 comments

Inside The Warehouse Where Amazon Scans and Destroys Books for AI Training

https://www.404media.co/inside-the-warehouse-where-amazon-scans-and-destroys-books-for-ai-training/
1•beardyw•19m ago•0 comments

The Fate of the Orange Petunia

https://oldworldoptimist.substack.com/p/the-fate-of-the-orange-petunia
1•larsiusprime•20m ago•0 comments

Why Google stores billions of lines of code in a single repository (2016)

https://dl.acm.org/doi/fullHtml/10.1145/2854146
1•speckx•20m ago•0 comments

Data members that want to use `size()`

https://quuxplusone.github.io/blog/2026/08/25/size-idioms/
1•ibobev•20m ago•0 comments

Farewell Golioth and Hello Nordic

https://danielmangum.com/posts/farewell-golioth-hello-nordic/
1•hasheddan•20m ago•0 comments

Forgejo hack: How to set a starting issue and pull request number

https://blog.miguelgrinberg.com/post/forgejo-hack-how-to-set-a-starting-issue-and-pull-request-nu...
1•ibobev•21m ago•0 comments

You could have invented PageRank

https://praveshkoirala.com/2026/08/26/you-could-have-invented-pagerank/
1•pkoird•21m ago•0 comments

How does a $35 monitor have more sensors than a $200 one? [video]

https://www.youtube.com/watch?v=t5yAZb5Blbs
1•tambourine_man•22m ago•0 comments

Content Creators New Money

https://twinlylab.com/
1•aleksnowacki•23m ago•0 comments

Ankit Gupta's "Flyover Country" Comments

https://twitter.com/santiagopliego/status/2092289647766642906
3•Tabular-Iceberg•24m ago•0 comments

A 2.4 KB backup of a 2.4 MB database, and pg_dump exited 0

https://proofdrill.g1ga.it/writing/force-rls-pg-dump
1•g1ga•25m ago•0 comments

Putting mice into hibernation causes a major loss of synapses

https://arstechnica.com/science/2026/08/memories-stick-around-even-after-half-the-synapses-are-gone/
1•bookofjoe•25m ago•0 comments

Eugenics: The Return of a Discredited Pseudoscience

https://nautil.us/the-return-of-a-discredited-pseudoscience-1283873
1•samizdis•26m 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.