frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Amazon Ergo: A fast, cost-effective open-weights model

https://www.aboutamazon.com/amazon-ergo
1029•mtw14•8h ago•433 comments

Advent of Code 2026

https://adventofcode.com/
388•saisundar•1d ago•523 comments

Bacteria linked to inflammatory bowel disease identified with help from gamers

https://today.ucsd.edu/story/bacteria-linked-to-inflammatory-bowel-disease-identified-with-help-f...
149•gmays•6h ago•41 comments

Can we stop with the vulnerability fear, uncertainty and doubt, please

https://shubs.io/can-we-stop-with-the-vulnerability-fear-uncertainty-and-doubt-please/
21•infosecau•1h ago•3 comments

Michael Levin's "Platonic Space Hypothesis" aims to explain emergent behavior

https://www.quantamagazine.org/does-behavior-emerge-from-beyond-the-physical-world-20261130/
99•ivell•8h ago•44 comments

Ty 1.0: Fast Python type checker and language server

https://astral.sh/blog/ty-1.0
460•burntsushi•9h ago•114 comments

ATProto's private data protocol is now in beta

https://atproto.com/blog/the-spaces-public-beta-is-now-live
242•pfraze•7h ago•110 comments

Warren Buffett has died

https://www.cnbc.com/2026/12/01/warren-buffett-dies-at-age-96.html
1154•United857•3h ago•444 comments

Caveling-2-Mini (post-trained/fine-tuned Inkling-2-Mini)

https://caveman.so/news/introducing-caveling-2-mini
80•cobychapple•5h ago•12 comments

So you just bought a $450M Leonardo da Vinci painting. Now what? (2017)

https://news.artnet.com/market/so-you-just-bought-a-450-million-da-vinci-now-what-1156268
49•NaOH•2d ago•23 comments

Cryptopocalypse

https://www.argmin.net/p/cryptopocalypse
494•_delirium•11h ago•281 comments

The cost of a story, and how it’s gone since we removed the paywall

https://www.sltrib.com/annual-report-2026/
69•danso•5h ago•29 comments

CellGemma: Predicting cell responses to help accelerate cancer research

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/cellgemma/
195•carlesonielfa•9h ago•48 comments

Show HN: Gully Cricket

https://varun.ca/gully-cricket/
11•winkerVSbecks•2d ago•4 comments

Z2RAM Claims SRAM Memory Speeds at Much Greater Density

https://spectrum.ieee.org/sram-memory-z2ram
75•hasheddan•6h ago•17 comments

TCP/IP over the air with LinHT

https://m17project.org/2026/11/27/tcp-ip-over-the-air-with-linht/
123•otto-mate•2d ago•18 comments

Micromorts – visualizing your chances of dying doing everyday activities

https://hugo0.com/micromorts
307•montenegrohugo•12h ago•168 comments

Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pauses

https://www.requesty.ai/blog/claude-5-minute-prompt-cache
337•danvdb•10h ago•149 comments

GTA 6 and the weaponization of copyright

https://blog.dera.page/posts/gta-6-weaponization-of-copyright/
220•Mubelotix•5h ago•179 comments

Amazon S3 now supports reading parts of multipart uploads in progress

https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-s3-supports-reading-parts-multipart-upl...
146•dabinat•1d ago•38 comments

Unnatural Maths

https://www.lrb.co.uk/blog/2026/december/unnatural-maths
69•themgt•5h ago•31 comments

Code-driven AI illustrations are more useful than images from image models

https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/
3•gmays•44m ago•0 comments

Finding your ISP router's credentials

https://xetera.dev/article/finding-your-isp-routers-credentials
13•8organicbits•2h ago•2 comments

Michael Caine has died

https://deadline.com/2026/12/michael-caine-dead-2-1237237066/
577•toomuchtodo•9h ago•164 comments

Goals don't work. Rely on your values

https://adam.ci/train/goals-do-not-work/
425•adamci•15h ago•168 comments

Cause of FAA systems failure that grounded flights identified, L3Harris says

https://www.local3news.com/regional-national/cause-of-faa-systems-failure-that-grounded-flights-n...
205•firesteelrain•23h ago•183 comments

Lithography War: Never Interrupt the Enemy

https://lithowar.com/lithography-war/
12•walterbell•2d ago•6 comments

The invention of the supermarket

https://www.worksinprogress.news/p/the-invention-of-the-supermarket
66•crescit_eundo•12h ago•38 comments

Jovial J73 Compiler

https://github.com/Zaneham/jovial-compiler
32•Bluestein•5h ago•10 comments

Baggins End

https://www.bagginsend.net/
96•tosh•14h ago•42 comments
Open in hackernews

Pglocks.org

https://pglocks.org/
80•hnasr•1y ago

Comments

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