frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Seedance 2.0 Release

https://seedancy2.com/
1•funnycoding•35s ago•0 comments

Leisure Suit Larry's Al Lowe on model trains, funny deaths and Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
1•thelok•38s ago•0 comments

Towards Self-Driving Codebases

https://cursor.com/blog/self-driving-codebases
1•edwinarbus•56s ago•0 comments

VCF West: Whirlwind Software Restoration – Guy Fedorkow [video]

https://www.youtube.com/watch?v=YLoXodz1N9A
1•stmw•1m ago•1 comments

Show HN: COGext – A minimalist, open-source system monitor for Chrome (<550KB)

https://github.com/tchoa91/cog-ext
1•tchoa91•2m ago•0 comments

FOSDEM 26 – My Hallway Track Takeaways

https://sluongng.substack.com/p/fosdem-26-my-hallway-track-takeaways
1•birdculture•3m ago•0 comments

Show HN: Env-shelf – Open-source desktop app to manage .env files

https://env-shelf.vercel.app/
1•ivanglpz•6m ago•0 comments

Show HN: Almostnode – Run Node.js, Next.js, and Express in the Browser

https://almostnode.dev/
1•PetrBrzyBrzek•7m ago•0 comments

Dell support (and hardware) is so bad, I almost sued them

https://blog.joshattic.us/posts/2026-02-07-dell-support-lawsuit
1•radeeyate•7m ago•0 comments

Project Pterodactyl: Incremental Architecture

https://www.jonmsterling.com/01K7/
1•matt_d•8m ago•0 comments

Styling: Search-Text and Other Highlight-Y Pseudo-Elements

https://css-tricks.com/how-to-style-the-new-search-text-and-other-highlight-pseudo-elements/
1•blenderob•10m ago•0 comments

Crypto firm accidentally sends $40B in Bitcoin to users

https://finance.yahoo.com/news/crypto-firm-accidentally-sends-40-055054321.html
1•CommonGuy•10m ago•0 comments

Magnetic fields can change carbon diffusion in steel

https://www.sciencedaily.com/releases/2026/01/260125083427.htm
1•fanf2•11m ago•0 comments

Fantasy football that celebrates great games

https://www.silvestar.codes/articles/ultigamemate/
1•blenderob•11m ago•0 comments

Show HN: Animalese

https://animalese.barcoloudly.com/
1•noreplica•11m ago•0 comments

StrongDM's AI team build serious software without even looking at the code

https://simonwillison.net/2026/Feb/7/software-factory/
2•simonw•12m ago•0 comments

John Haugeland on the failure of micro-worlds

https://blog.plover.com/tech/gpt/micro-worlds.html
1•blenderob•12m ago•0 comments

Show HN: Velocity - Free/Cheaper Linear Clone but with MCP for agents

https://velocity.quest
2•kevinelliott•13m ago•2 comments

Corning Invented a New Fiber-Optic Cable for AI and Landed a $6B Meta Deal [video]

https://www.youtube.com/watch?v=Y3KLbc5DlRs
1•ksec•14m ago•0 comments

Show HN: XAPIs.dev – Twitter API Alternative at 90% Lower Cost

https://xapis.dev
2•nmfccodes•15m ago•1 comments

Near-Instantly Aborting the Worst Pain Imaginable with Psychedelics

https://psychotechnology.substack.com/p/near-instantly-aborting-the-worst
2•eatitraw•21m ago•0 comments

Show HN: Nginx-defender – realtime abuse blocking for Nginx

https://github.com/Anipaleja/nginx-defender
2•anipaleja•21m ago•0 comments

The Super Sharp Blade

https://netzhansa.com/the-super-sharp-blade/
1•robin_reala•22m ago•0 comments

Smart Homes Are Terrible

https://www.theatlantic.com/ideas/2026/02/smart-homes-technology/685867/
2•tusslewake•24m ago•0 comments

What I haven't figured out

https://macwright.com/2026/01/29/what-i-havent-figured-out
1•stevekrouse•25m ago•0 comments

KPMG pressed its auditor to pass on AI cost savings

https://www.irishtimes.com/business/2026/02/06/kpmg-pressed-its-auditor-to-pass-on-ai-cost-savings/
1•cainxinth•25m ago•0 comments

Open-source Claude skill that optimizes Hinge profiles. Pretty well.

https://twitter.com/b1rdmania/status/2020155122181869666
3•birdmania•25m ago•1 comments

First Proof

https://arxiv.org/abs/2602.05192
8•samasblack•27m ago•4 comments

I squeezed a BERT sentiment analyzer into 1GB RAM on a $5 VPS

https://mohammedeabdelaziz.github.io/articles/trendscope-market-scanner
1•mohammede•28m ago•0 comments

Kagi Translate

https://translate.kagi.com
2•microflash•29m ago•0 comments
Open in hackernews

Ask HN: How do you catch silent logic bugs that don't crash?

1•vortexshadow•2w ago
I’ve seen cases where JavaScript code keeps running fine, tests pass, and there are no errors, but the internal logic becomes invalid.

For example:

order.status = "paid" order.invoiceId = null

No crash. No exception. Just wrong state.

How do experienced teams usually detect or guard against this kind of issue in real production systems?

Comments

OsrsNeedsf2P•2w ago
Fail as early as possible. In this specific case, invariants help.
vortexshadow•2w ago
Exactly.

Failing early is the key part — especially before invalid state has a chance to propagate through the system.

What I’ve found tricky in React apps is identifying where those invariants should live when the logic spans multiple async updates.

Do you usually enforce them close to state updates, or at higher-level boundaries?

vortexshadow•2w ago
To add some context: I’m specifically thinking about cases where each individual state update looks valid on its own, but the combination over time breaks a business rule.

For example, async flows where status updates and data creation are handled in different places.

Curious how teams make these kinds of assumptions explicit in practice.

al_borland•2w ago
Wouldn’t this be a gap in the tests that needs to be closed?
vortexshadow•2w ago
Tests definitely help, and I agree they should cover as much logic as possible.

The gap I’ve seen is that tests usually validate expected scenarios, while some invariants only break after specific sequences of events or over time — especially with async flows and state that evolves across renders.

In practice, we found tests and runtime checks to be complementary: tests verify intent, invariants catch unexpected drift when reality doesn’t match assumptions.

vortexshadow•2w ago
One nuance I keep seeing is that each individual update is valid, but the invariant only breaks after a specific sequence of events.

That’s where things get tricky to reason about upfront.

rekabis•2w ago
Re-framing the logic of the app can also help.

For example, in your example is there any situation where there is an invoice that has not been paid?

In the vast majority of shopping cart systems, that would be a hard NO. There would be an Order ID, for carts that have not yet been paid for, sure, but an Invoice ID only makes sense if the order has been fully paid for, and not at any stage previous to that.

As such, why have an Order Status at all? Have the mere presence of the Invoice ID be the flag that states the order has been paid for. As in: null = not paid, not null = paid.

vortexshadow•2w ago
For what it’s worth, this discussion is exactly what pushed me to experiment with a small runtime invariant helper for React/JS.

The idea wasn’t to replace good modeling or tests, but to fail early when real-world state temporarily drifts away from its intended shape (especially in async or legacy flows).

I put a small prototype here if anyone’s curious: https://github.com/vortexshadow678-hash/invariant-guard