frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Markov Random Field

https://en.wikipedia.org/wiki/Markov_random_field
1•teleforce•47s ago•0 comments

Two Years of Blender VSE

https://aras-p.info/blog/2025/11/23/Two-years-of-Blender-VSE/
1•ibobev•56s ago•0 comments

A Battle with My Blood

https://www.newyorker.com/culture/the-weekend-essay/a-battle-with-my-blood
1•akhayam•1m ago•0 comments

Data Independence

https://buttondown.com/jaffray/archive/data-independence/
1•ibobev•1m ago•0 comments

Who will win the trillion-dollar robotaxi race?

https://www.economist.com/business/2025/11/24/who-will-win-the-trillion-dollar-robotaxi-race
1•decimalenough•2m ago•1 comments

Show HN: WhatsApp Chat Exporter

https://chromewebstore.google.com/detail/whatsapp-chat-exporter/delkacehnlfpfmodhbgnnnabngeaoeoh
1•qwikhost•2m ago•0 comments

USAID shutdown has led to deaths

https://hsph.harvard.edu/news/usaid-shutdown-has-led-to-hundreds-of-thousands-of-deaths/
1•aloukissas•2m ago•0 comments

CPSC issues battery safety warning after Rad Power said it can't afford a recall

https://www.bicycleretailer.com/industry-news/2025/11/24/cpsc-warns-about-fire-hazard-rad-power-l...
1•jerlam•6m ago•0 comments

Build a Compiler in Five Projects

https://kmicinski.com/functional-programming/2025/11/23/build-a-language/
1•tzury•10m ago•1 comments

A mathematical ceiling limits generative AI to amateur-level creativity

https://www.psypost.org/a-mathematical-ceiling-limits-generative-ai-to-amateur-level-creativity/
2•geox•12m ago•0 comments

Japan weighs extending 5-year residency requirement for naturalization

https://asia.nikkei.com/spotlight/japan-immigration/japan-weighs-extending-5-year-residency-requi...
1•alephnerd•12m ago•0 comments

A 4MB EXE file replaced half my Windows utilities

https://www.makeuseof.com/alomware-toolbox-replaced-half-my-windows-utilities/
2•BarryGuff•12m ago•0 comments

Context privateering: debugging custom instructions like a pirate

https://huonw.github.io/blog/2025/11/piraite/
2•dbaupp•15m ago•0 comments

Waymo gets California DMV's approval to test robotaxis in more areas

https://www.engadget.com/transportation/waymo-gets-california-dmvs-approval-to-test-robotaxis-in-...
2•gmays•22m ago•0 comments

Jony Ive and Sam Altman say they have an AI hardware prototype

https://www.theverge.com/news/827607/openai-hardware-prototype-chatgpt-jony-ive-sam-altman
1•pseudolus•25m ago•1 comments

The Most Selective Tech Companies

https://www.jointaro.com/interviews/hardest/
1•jenthoven•30m ago•0 comments

Seeing a Molecule's Quantum Shadow

https://physics.aps.org/articles/v18/s149
2•lc0_stein•30m ago•0 comments

Hola

https://vdpxl0-ip-94-125-136-249.tunnelmole.net
1•jhhjfg•35m ago•0 comments

Major insurers move to avoid liability for AI lawsuits

https://www.tomshardware.com/tech-industry/artificial-intelligence/insurers-move-to-limit-ai-liab...
2•pseudolus•36m ago•1 comments

Reallocating demand from closed models to open models would reduce prices by 70%

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5767103
3•nreece•38m ago•0 comments

Show HN: Pastehub.app – 100 % client-side toolbox for whatever you just copied

https://www.pastehub.app/
1•jcfs•38m ago•0 comments

Fighting for 'The Right to Night' Under Starry, Rural Skies

https://www.nytimes.com/2025/11/24/science/astronomy-michigan-dark-sky.html
2•andsoitis•42m ago•0 comments

Ask HN: What work problems would your company pay to solve?

4•aryanchaurasia•43m ago•0 comments

Autobase 2.5 – Expert Mode brings advanced configuration right into the UI

https://www.postgresql.org/about/news/autobase-250-released-3176/
1•tamnd•44m ago•0 comments

SuperDuper Security Update v3.11

https://www.shirt-pocket.com/blog/index.php/shadedgrey/comments/superduper_security_update_v311/
2•colinprince•53m ago•0 comments

Rachel Reeves plans £7.5B tax rise in budget after U-turn on income tax rates

https://www.theguardian.com/business/2025/nov/14/uk-borrowing-costs-up-after-markets-spooked-by-r...
3•PaulHoule•53m ago•1 comments

CoreWeave: Where the AI and Private Credit Bubbles Collide

https://seekingalpha.com/article/4847246-coreweave-where-the-ai-and-private-credit-bubbles-collide
1•zerosizedweasle•55m ago•0 comments

Cheese Consumption and Dementia in Older Japanese Adults: The Jages Cohort Study

https://www.mdpi.com/2072-6643/17/21/3363
8•gnabgib•56m ago•2 comments

Show HN: A safe way to capture and create branded profile photos for your site

https://www.memoreco.com/explainers/branded-avatars
1•andupotorac•1h ago•0 comments

More Americans are getting their power shut off, as unpaid bills pile up

https://www.washingtonpost.com/business/2025/11/24/power-shutoffs-surge-electric-bills/
10•doener•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.