frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I'm reluctant to verify my identity or age for any online services

https://neilzone.co.uk/2026/03/im-struggling-to-think-of-any-online-services-for-which-id-be-will...
646•speckx•5h ago•402 comments

Intel's make-or-break 18A process node debuts for data center with 288-core Xeon

https://www.tomshardware.com/pc-components/cpus/intels-make-or-break-18a-process-node-debuts-for-...
50•vanburen•39m ago•12 comments

GitHub Is Having Issues

https://www.githubstatus.com/incidents/n07yy1bk6kc4
69•Simpliplant•30m ago•29 comments

MacBook Pro with new M5 Pro and M5 Max

https://www.apple.com/newsroom/2026/03/apple-introduces-macbook-pro-with-all-new-m5-pro-and-m5-max/
472•scrlk•5h ago•468 comments

GPT‑5.3 Instant

https://openai.com/index/gpt-5-3-instant/
79•meetpateltech•1h ago•31 comments

Physics Girl: Super-Kamiokande – Imaging the sun by detecting neutrinos [video]

https://www.youtube.com/watch?v=B3m3AMRlYfc
271•pcdavid•4h ago•41 comments

Iran War Cost Tracker

https://iran-cost-ticker.com
28•TSiege•31m ago•31 comments

MacBook Air with M5

https://www.apple.com/newsroom/2026/03/apple-introduces-the-new-macbook-air-with-m5/
261•Garbage•5h ago•257 comments

Don't become an engineering manager

https://newsletter.manager.dev/p/dont-become-an-engineering-manager
190•flail•5h ago•132 comments

Why payment fees matter more than you think

https://cuencahighlife.com/why-payment-fees-matter-more-than-you-think/
17•dxs•1h ago•3 comments

Claude's Cycles [pdf]

https://www-cs-faculty.stanford.edu/~knuth/papers/claude-cycles.pdf
295•fs123•8h ago•143 comments

The Xkcd thing, now interactive

https://editor.p5js.org/isohedral/full/vJa5RiZWs
910•memalign•8h ago•128 comments

Apple Studio Display and Studio Display XDR

https://www.apple.com/newsroom/2026/03/apple-unveils-new-studio-display-and-all-new-studio-displa...
151•victorbjorklund•5h ago•166 comments

When AI writes the software, who verifies it?

https://leodemoura.github.io/blog/2026/02/28/when-ai-writes-the-worlds-software.html
57•todsacerdoti•2h ago•34 comments

Launch HN: Cekura (YC F24) – Testing and monitoring for voice and chat AI agents

41•atarus•5h ago•8 comments

TorchLean: Formalizing Neural Networks in Lean

https://leandojo.org/torchlean.html
26•matt_d•2d ago•3 comments

Tell HN: GitHub Having Issues

38•Sytten•34m ago•21 comments

Arm's Cortex X925: Reaching Desktop Performance

https://chipsandcheese.com/p/arms-cortex-x925-reaching-desktop
230•ingve•11h ago•126 comments

I'm losing the SEO battle for my own open source project

https://twitter.com/Gavriel_Cohen/status/2028821432759717930
320•devinitely•5h ago•167 comments

Show HN: Explain Curl Commands

https://github.com/akgitrepos/explain-my-curl
7•akgitrepos•2d ago•0 comments

Disable Your SSH access accidentally with scp

https://sny.sh/hypha/blog/scp
56•zdw•3d ago•17 comments

Show HN: Open-Source Article 12 Logging Infrastructure for the EU AI Act

16•systima•9h ago•0 comments

Simplifying Application Architecture with Modular Design and MIM

https://codingfox.net.pl/posts/mim/
19•codingfox•10h ago•0 comments

The beauty and terror of modding Windows

https://windowsread.me/p/windhawk-explained
85•wild_pointer•8h ago•75 comments

Points on a ring: An interactive walkthrough of a popular math problem

https://growingswe.com/blog/points-on-ring
29•evakhoury•1d ago•5 comments

Most-read tech publications have lost over half their Google traffic since 2024

https://growtika.com/blog/tech-media-collapse
174•Growtika•5h ago•118 comments

Pass-Through of Tariffs: Evidence from European Wine Imports

https://www.nber.org/202603/digest/pass-through-tariffs-evidence-european-wine-imports
59•neehao•2h ago•65 comments

Meta’s AI smart glasses and data privacy concerns

https://www.svd.se/a/K8nrV4/metas-ai-smart-glasses-and-data-privacy-concerns-workers-say-we-see-e...
1323•sandbach•21h ago•743 comments

Show HN: Effective Git

https://github.com/nolasoft/okgit
13•nola-a•2d ago•1 comments

Simple screw counter

https://mitxela.com/projects/screwcounter
245•jk_tech•2d ago•66 comments
Open in hackernews

Pglocks.org

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

Comments

whilenot-dev•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
I agree, it is not so straightforward to find out.
braiamp•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
Very practical! Locking is one of the things that can really bite when doing migrations.