frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Server prices in 2026, cheap NVMe options

https://blog.rackout.net/buying-servers-2026-tips-surviving-ram-ssd-price-spikes
1•jammo•14m ago•0 comments

Recursive Project Search in Emacs

https://lukeplant.me.uk/blog/posts/recursive-project-search-in-emacs/
1•dbaupp•14m ago•0 comments

Show HN: Depsy – one API for SaaS vendor status (is it us or them?)

https://depsy.io
1•malik_naji•16m ago•0 comments

An AI researcher in the Cathedral of molecular biology

https://chaitjo.substack.com/p/an-ai-researcher-in-the-cathedral
1•chaitjo•18m ago•1 comments

To Catch a Predator: Leak exposes the internal operations of mercenary spyware

https://securitylab.amnesty.org/latest/2025/12/intellexa-leaks-predator-spyware-operations-exposed/
7•walterbell•21m ago•0 comments

2001 [video]

https://www.youtube.com/watch?v=Fwnphd_QUXo
3•ipnon•22m ago•0 comments

Sydney Uni data goes walkabout after criminals raid code repo

https://www.theregister.com/2025/12/19/sydney_uni_breach/
4•breve•23m ago•0 comments

Glint AI – Turn text descriptions into animated videos in seconds

https://glintai.org/
1•pmeduri1•23m ago•1 comments

CIX releases P1 CPU TRM and developer guides and SDK source code

https://www.cnx-software.com/2025/12/13/cix-releases-p1-cpu-trm-and-developer-guides-for-gpu-ai-a...
1•mocular•30m ago•1 comments

Alma, Elegant AI Provider Orchestration

https://alma.now/
1•jinqueeny•30m ago•0 comments

Seeking honest feedback on production planning and scheduling pain points

https://taktora.ai
1•totallyscout•31m ago•1 comments

TikTok says Chinese owner will retain core US business

https://www.ft.com/content/7a778d46-8bf8-4b11-af4e-5e5bd891cb9d
2•SilverElfin•34m ago•0 comments

CPR: Christmas Present Rush

https://sublevelgames.itch.io/cpr-christmas-present-rush
2•greentec•46m ago•0 comments

Rust and the Price of Ignoring Theory [video]

https://www.youtube.com/watch?v=1iPWt1gvT_w
1•ok123456•46m ago•0 comments

Exposing Game Servers over Tailscale

https://chameth.com/exposing-game-servers-over-tailscale/
2•todsacerdoti•47m ago•0 comments

A Machine Learning Researcher's Notes from 5k Hours of Tekken

2•taha_moji•48m ago•0 comments

Watch these towers get wiggly

https://www.sfgate.com/national-parks/article/national-parks-under-threat-vibrations-21252643.php
2•ubasu•50m ago•0 comments

The Hum

https://en.wikipedia.org/wiki/The_Hum
2•doener•52m ago•0 comments

Text Similarity Search in Postgres

https://blog.kehvyn.dev/blog/pg-trgm-and-text-similarity-search/
1•kehvyn•54m ago•1 comments

Orbital Compute Control Room: A Space-based Data Centre Simulator

https://astrocompute.dev
3•throw0101a•57m ago•0 comments

What's new in Swift: December 2025 Edition

https://swift.org/blog/whats-new-in-swift-december-2025/
1•frizlab•1h ago•0 comments

Don't go to physics grad school and other cautionary tales

https://scottlocklin.wordpress.com/2025/12/19/dont-go-to-physics-grad-school-and-other-cautionary...
3•dxs•1h ago•0 comments

PulseScribe – Open-source voice-to-text for macOS with local AI

https://pulsescribe.me
2•fabszilla•1h ago•2 comments

TAS Explained: Super Mario Bros. 3 in 0.2 seconds [video]

https://www.youtube.com/watch?v=fQYX_AVxGq0
1•Sir_Twist•1h ago•0 comments

Lessons from a year of Postgres CDC in production

https://clickhouse.com/blog/postgres-cdc-year-in-review-2025
1•saisrirampur•1h ago•0 comments

We migrated off Django's storage API to a filesystem-first approach

https://goauthentik.io/blog/2025-12-19-why-we-revamped-file-management/
2•sdko•1h ago•0 comments

Hochul Reaches Deal on A.I. Regulation in New York

https://www.nytimes.com/2025/12/19/nyregion/ai-bill-regulations-ny.html
7•donohoe•1h ago•0 comments

The FOSS community acts like a cult and it's not helping the cause

https://torrent-empress.leaflet.pub/3mackqgyzh22t
7•Aloha•1h ago•11 comments

Ask HN: What was your worst typo?

1•juujian•1h ago•5 comments

Faith in the internet is fading among young Brits

https://www.theregister.com/2025/12/19/internet_bad_for_society/
12•Bender•1h ago•0 comments
Open in hackernews

Avoid Continue

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

Comments

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