frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Fine-tuned Qwen2.5-7B on 100 films for probabilistic story graphs

https://cinegraphs.ai/
1•graphpilled•4s ago•0 comments

A failed wantrepreneur's view on common startup advice

https://developerwithacat.com/blog/202602/startup-advice/
1•mmarian•10s ago•0 comments

Show HN: BestClaw Simple OpenClaw/MoltBot for non tech people

https://bestclaw.host/
1•nihey•37s ago•0 comments

AI is making me anxious and stupid

https://tom.so/posts/ai-is-making-me-anxious-and-stupid
1•tomupom•4m ago•0 comments

Show HN: Real-time path tracing of medical CT volumes in the browser via WebGPU

https://grenzwert.net/
1•MickGorobets•7m ago•1 comments

United States – Crypto Scam Help – Intelligence Cyber Wizard Safe Guide

1•Forensics•10m ago•0 comments

What to Do After a Crypto Scam (USA) Intelligence Cyber Wizard Explained

1•Forensics•11m ago•0 comments

The Physics of 588: A 17.64μm Isolation Barrier Strategy for 5nm Process

https://github.com/eggpine84-del/NHE-CODING
1•eggpine84•11m ago•0 comments

My Eighth Year as a Bootstrapped Founder

https://mtlynch.io/bootstrapped-founder-year-8/
1•mtlynch•13m ago•0 comments

Data Modelling Open Source

https://github.com/sqlmodel/sqlmodel
1•Sean766•15m ago•0 comments

Mid-life transitions

https://blogs.gnome.org/chergert/2026/02/06/mid-life-transitions/
2•pabs3•15m ago•0 comments

My Airships – My "No. 9," the Little Runabout

https://en.wikisource.org/wiki/My_Airships/Chapter_22
1•interstice•16m ago•0 comments

Show HN: Portview, A diagnostic-first port viewer for Linux (~930 KB, zero deps)

https://github.com/Mapika/portview
3•Mapika•16m ago•0 comments

Show HN: Claude has a compiler, I have SlopScript

https://slopscript.netlify.app/
1•hiten_sharma•19m ago•0 comments

Context Is Part of the Game

https://joy.pm/context-is-part-of-the-code/
1•rafadc•20m ago•0 comments

Dave Farber has passed away

https://lists.nanog.org/archives/list/nanog@lists.nanog.org/thread/TSNPJVFH4DKLINIKSMRIIVNHDG5XKJCM/
8•vitplister•21m ago•1 comments

Researchers find brain mechanism behind 'flashes of intuition'

https://medicalxpress.com/news/2026-02-brain-mechanism-intuition.html
1•pseudolus•23m ago•0 comments

Extracting Xcode's Claude Code Prompt

https://www.jackpearce.co.uk/posts/extracting-xcodes-claude-code-prompt
1•jkpe•24m ago•0 comments

AI is not another abstraction because god plays dice

https://rakhim.exotext.com/ai_is_not_another_abstraction_because_god_plays_dice
2•freetonik•25m ago•0 comments

Show HN: Tandem – An open-source, local-first AI workspace (Rust and React)

1•frumu•27m ago•0 comments

Show HN: AI Perks – A curated list of free AI credits and deals for developers

https://www.getaiperks.com/en
1•artluko•27m ago•0 comments

Why E cores make Apple Silicon fast

https://eclecticlight.co/2026/02/08/last-week-on-my-mac-why-e-cores-make-apple-silicon-fast/
2•ingve•28m ago•0 comments

Show HN: Google Maps but for your repo (Open Source)

https://github.com/zacharykapank/repomap
1•zacharykapank•29m ago•0 comments

Djevops: Host Django on Bare Metal

https://github.com/mherrmann/djevops
1•mherrmann•30m ago•0 comments

How to Destroy a Space Station

https://www.thequantumcat.space/p/how-to-destroy-a-space-station
1•verzali•31m ago•0 comments

Show HN: I built a framework to benchmark LLMs on System Design and Architecture

https://github.com/Ruhal-Doshi/hld-bench
1•ruhal•31m ago•0 comments

What do you expect from a Turkey-based hosting provider?

1•dpnet•32m ago•0 comments

Why Files Are Not Enough as Memory for AI Agents

https://medium.com/versanova/why-files-are-not-enough-as-memory-for-ai-agents-5a4aeca81154
2•gauravsc•32m ago•0 comments

Nabaztag: Embodiment of "IoT" that was before its time

https://nabaztag.com/archive/violet
1•simonjgreen•36m ago•0 comments

Show HN: Friends don't let friends do math after a few drinks

https://divvyai.app/
1•pieterdy•39m ago•0 comments
Open in hackernews

In defense of lock poisoning in Rust

https://sunshowers.io/posts/on-poisoning/
60•sunshowers•2mo ago

Comments

bheadmaster•2mo ago
As a Go programmer, I find it quite puzzling that Rust didn't handle panic edge cases as well as Go did with defer keyword. Defer executes at the end of a function, regardless of whether it returned or panic'd, so you can write safe mutex code just by doing something like:

    mutex.Lock()
    defer mutex.Unlock()
And if you need to unlock the mutex in one of multiple places, you can wrap it into a sync.Once.

There must be a reason Rust doesn't do something similar...

wahern•2mo ago
It does do something similar... and more. IIUC, when unwinding on panic Rust does unlock the mutex, but it also "poisons" it so that a subsequent attempt to lock will return an error. This is because on panic all the code protected by the mutex didn't get to run to completion, possibly leaving an inconsistent state. A poisoned mutex can be reset, though.
zidel•2mo ago
Rust handles this by automatically unlocking when the MutexGuard returned by lock() is dropped. The issue here is not that the mutex remains locked, but rather that the data protected by the mutex might be inconsistent (and the mutex unlocked) after a panic.
bheadmaster•2mo ago
Ah, so my understanding of the problem was wrong.

Thanks for the clarification.

IshKebab•2mo ago
I don't think editions can change library APIs. It's a good idea though.
sunshowers•2mo ago
Editions can definitely be made to alter standard library APIs in principle, thought the machinery for that probably needs to be developed a bit. But that's why I qualified my proposal with "if a breaking change is going to happen".