frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Spotify won court order against Anna's Archive, taking down .org domain

https://arstechnica.com/tech-policy/2026/01/annas-archive-said-spotify-scrape-didnt-cause-domain-...
37•voxadam•1h ago•12 comments

Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

https://github.com/ChartGPU/ChartGPU
430•huntergemmer•7h ago•135 comments

Claude's new constitution

https://www.anthropic.com/news/claude-new-constitution
199•meetpateltech•6h ago•130 comments

Challenges in join optimization

https://www.starrocks.io/blog/inside-starrocks-why-joins-are-faster-than-youd-expect
24•HermitX•5h ago•1 comments

OpenAI API Logs: Unpatched data exfiltration

https://www.promptarmor.com/resources/openai-api-logs-unpatched-data-exfiltration
26•takira•2h ago•11 comments

Show HN: Rails UI

https://railsui.com/
81•justalever•4h ago•58 comments

Skip is now free and open source

https://skip.dev/blog/skip-is-free/
213•dayanruben•7h ago•68 comments

Jerry (YC S17) Is Hiring

https://www.ycombinator.com/companies/jerry-inc/jobs/QaoK3rw-software-engineer-core-automation-ma...
1•linaz•1h ago

The WebRacket language is a subset of Racket that compiles to WebAssembly

https://github.com/soegaard/webracket
62•mfru•4d ago•13 comments

Three types of LLM workloads and how to serve them

https://modal.com/llm-almanac/workloads
14•charles_irl•6h ago•1 comments

TeraWave Satellite Communications Network

https://www.blueorigin.com/news/blue-origin-introduces-terawave-space-based-network-for-global-co...
97•T-A•4h ago•62 comments

Letting Claude play text adventures

https://borretti.me/article/letting-claude-play-text-adventures
40•varjag•5d ago•16 comments

eBay explicitly bans AI "buy for me" agents in user agreement update

https://www.valueaddedresource.net/ebay-bans-ai-agents-updates-arbitration-user-agreement-feb-2026/
67•bdcravens•1h ago•34 comments

Waiting for dawn in search: Search index, Google rulings and impact on Kagi

https://blog.kagi.com/waiting-dawn-search
177•josephwegner•5h ago•119 comments

TrustTunnel: AdGuard VPN protocol goes open-source

https://adguard-vpn.com/en/blog/adguard-vpn-protocol-goes-open-source-meet-trusttunnel.html
24•kumrayu•5h ago•3 comments

What if AI is both good and not that disruptive?

https://deadneurons.substack.com/p/what-if-ai-is-both-really-good-and
15•nr378•1h ago•10 comments

Setting Up a Cluster of Tiny PCs for Parallel Computing

https://www.kenkoonwong.com/blog/parallel-computing/
9•speckx•3h ago•0 comments

Show HN: RatatuiRuby wraps Rust Ratatui as a RubyGem – TUIs with the joy of Ruby

https://www.ratatui-ruby.dev/
8•Kerrick•4d ago•1 comments

Slouching Towards Bethlehem – Joan Didion (1967)

https://www.saturdayeveningpost.com/2017/06/didion/
45•jxmorris12•4h ago•1 comments

Show HN: Grov – Multiplayer for AI coding agents

https://github.com/TonyStef/Grov
9•tonyystef•51m ago•5 comments

Show HN: UltraContext – A simple context API for AI agents with auto-versioning

https://ultracontext.ai/
15•ofabioroma•7h ago•16 comments

SIMD programming in pure Rust

https://kerkour.com/introduction-rust-simd
25•randomint64•2d ago•5 comments

Tell HN: 2 years building a kids audio app as a solo dev – lessons learned

9•oliverjanssen•8h ago•0 comments

Show HN: TerabyteDeals – Compare storage prices by $/TB

https://terabytedeals.com
10•vektor888•1h ago•10 comments

Scientists find a way to regrow cartilage in mice and human tissue samples

https://www.sciencedaily.com/releases/2026/01/260120000333.htm
213•saikatsg•4h ago•60 comments

Open source server code for the BitCraft MMORPG

https://github.com/clockworklabs/BitCraftPublic
17•sfkgtbor•5h ago•3 comments

Show HN: Semantic search engine for Studio Ghibli movie

https://ghibli-search.anini.workers.dev/
10•aninibread•8h ago•2 comments

Nested code fences in Markdown

https://susam.net/nested-code-fences.html
168•todsacerdoti•9h ago•57 comments

Show HN: Amazon shopping automation without vision

4•tonyww•7h ago•1 comments

Can you slim macOS down?

https://eclecticlight.co/2026/01/21/can-you-slim-macos-down/
141•ingve•14h ago•191 comments
Open in hackernews

Pglocks.org

https://pglocks.org/
80•hnasr•8mo ago

Comments

whilenot-dev•8mo ago
I'm a bit lost here.

Locking is a challenging problem in complex systems. Is this list to be interpreted as a "TODO: get rid of locking conflicts in future releases" or more a "NOTE: be aware there are known conflicts that will not change - find ways to work around them"?

EDIT: Also, is the creation of this list an automated or a manual effort?

tux3•8mo ago
I think this is intended as educational material, not a list of things to fix.

The locks are here by necessity, it is not so easy at all to get rid of them. And even in special cases where it is possible, the complexity you have to introduce is not to be taken lightly...

If even a tenth of these disapppeared, it would be incredible, in a very surprising way.

atombender•8mo ago
The creator looks like a developer and teacher, not a Postgres core team member. So I assume this is for documentation purposes.

I actually like this a lot, as there isn't a single place in the Postgres documentation that lists all the possible locks; it's spread out all over. Having a quick reference for what kinds of commands you'd be blocking with your transaction is valuable.

It's pretty evident that the pages have been programmatically generated, but I'd love know what it's generated from. I think you can derive this information from the documentation, but not sure if you can do it in an automated way without an LLM.

braiamp•8mo ago
> there isn't a single place in the Postgres documentation that lists all the possible locks

Did you read this page? https://www.postgresql.org/docs/current/explicit-locking.htm...

atombender•8mo ago
That's a great page, but it has several issues.

First, it isn't complete; as I said, the locking behaviour is spread out all over the Postgres documentation. For example, that page doesn't list what locks DROP INDEX takes. To find that out, you have to go to the documentation page for that command and read it carefully. In fact, really carefully — the locking behaviour is only documented under the section about CONCURRENTLY.

The page also doesn't list what possible commands are then blocked. Locks interact in subtle (and incorrectly named!) ways that are explained in the tables on that page ("Conflicting lock modes"), so to understand if something will block something else you have to look at the two commands you are curious about and then look at how their locks interact.

gulcin_xata•8mo ago
I agree, it is not so straightforward to find out.
braiamp•8mo ago
These are database locks, which means that depending which arrives first, the later transaction has to wait till the first one finishes to complete. These locks are about SQL commands and which commands can run concurrently with the others. There's a graph here of how that looks like https://pankrat.github.io/2015/django-migrations-without-dow...

Usually for maximum performance (minimum latency, maximum throughput) you want to have operations not lock each other, unless absolutely necessary, in which case you want them to be short.

whilenot-dev•8mo ago
You make it sound like the conflict is just affecting performance and won't result in a deadlock. So it's for performance aware postgres clients/users, and not for postgres developers?
andyferris•8mo ago
It is a guide for developers using postgres as a client, who need to write systems that don't deadlock, are performant and are correct. These are the (rather sharp) tools that postgres provides for doing so (or else you can use e.g. serializable isolation and optimistic concurrency, but in my experience that has too many false positives and bail out rather eagerly, whereas these tools let you be very precise and granular).
mebcitto•8mo ago
Other relevant talks/blogs that I found really useful for understanding Postgres locks are:

* Unlocking the Postgres Lock Manager by Bruce Momjian: https://momjian.us/main/writings/pgsql/locking.pdf

* Anatomy of table-level locks by Gulcin Yildirim Jelinek: https://xata.io/blog/anatomy-of-locks

pasxizeis•8mo ago
Shameless plug: I wrote a tool[1] that executes a given migration against a test database (e.g. in your CI) and reports back what locks it acquired.

The rationale being to have a "lock diagnostics report" commented in your PR's migration file.

It's a prototype and has a few rough edges and missing functionality, but feedback is more than welcome.

[1] https://github.com/agis/pglockanalyze

jononor•8mo ago
Very practical! Locking is one of the things that can really bite when doing migrations.