frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AMD's random number generator can't generate a 0?

https://board.flatassembler.net/topic.php?t=24261
111•BruceEel•3h ago•57 comments

Can gzip be a language model?

https://nathan.rs/posts/gzip-lm/
202•networked•6h ago•78 comments

9 Ads per Minute: FIFA Cup 26 – "the price of the beautiful game"

https://www.bristol.ac.uk/news/2026/september/world-cup-viewers.html
90•KellyCriterion•1h ago•101 comments

MiMo v2.6

https://mimo.xiaomi.com/mimo-v2-6
946•volf_•16h ago•422 comments

Type Punning in C and C++

https://blog.pwkf.org/2026/09/21/correct-type-punning-in-c.html
13•ingve•48m ago•4 comments

Spymarks, Not Watermarks

https://brand.io/article/spymarks/
491•possibilistic•13h ago•121 comments

Verda (Finland) raises $189M in Series B

https://verda.com/blog/what-189m-in-funding-unlocks-for-verda-customers
36•cmrdporcupine•2h ago•11 comments

JetBrains Air: A System of Products for Agentic Software Development

https://blog.jetbrains.com/blog/2026/09/22/introducing-jetbrains-air/
42•FinnLobsien•1h ago•31 comments

Transformers Explained Visually

https://poloclub.github.io/transformer-explainer/
456•aray07•16h ago•71 comments

Attention is all you have

https://alicegg.tech/2026/09/21/attention
862•zer0tonin•21h ago•257 comments

I said no and Apple said yes

https://dbushell.com/2026/09/22/apple-intelligence/
313•thatslast•4h ago•229 comments

MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/mimo-v2-6-pro
98•theanonymousone•8h ago•31 comments

What Sun got wrong

https://bcantrill.dtrace.org/2026/09/20/what-sun-got-wrong/
607•chmaynard•22h ago•351 comments

A font that reads what you wrote

https://rohanadwankar.github.io/posts/semfont.html
32•RohanAdwankar•2d ago•17 comments

I don't want to read what you didn't write

https://blog.colinbreck.com/i-dont-want-to-read-what-you-didnt-write/
763•mooreds•13h ago•309 comments

JavaFX 27 Native Image on a Raspberry Pi 5

https://ennerf.github.io/2026/09/18/JavaFX-27-Native-Image-on-a-Raspberry-Pi-5.html
30•0x54MUR41•2d ago•4 comments

AI coding has made CI a bottleneck, so we reworked ours to keep up

https://linear.app/now/ci-bottleneck-reworked
260•julian_digital•16h ago•300 comments

Divide by depth for instant 3D

https://gabrieloc.com/2026/09/15/perspective.html
174•gabrieloc•2d ago•32 comments

Engineering Memory: On learning to memorize first 100 digits of pi (2024)

https://gregorygundersen.com/blog/2024/12/21/engineering-memory/
26•fuzzythinker•1d ago•13 comments

What It's Like to Work in One of America's Data Centers

https://www.wsj.com/business/what-its-like-to-work-in-one-of-americas-data-centers-b4358003
25•JumpCrisscross•1d ago•13 comments

A build graph that rolls dice

https://fzakaria.com/2026/09/20/a-build-graph-that-rolls-dice
5•ingve•23h ago•1 comments

World Wide Words

https://www.worldwidewords.org/genindex.html
26•Petiver•2d ago•2 comments

Looking forward to Git 2.56 – and 3.0

https://lwn.net/SubscriberLink/1094575/2385e98583715c2b/
150•chmaynard•13h ago•74 comments

NASA’s Mars Sample Return mission is dead

https://www.science.org/content/article/nasa-s-mars-sample-return-mission-dead
408•Muhammad523•17h ago•338 comments

The Advisory Group on Mathematics and Artificial Intelligence

https://terrytao.wordpress.com/2026/09/21/advisory-group-on-mathematics-and-artificial-intelligence/
146•digital55•17h ago•72 comments

Claude Status – Elevated errors for multiple models

https://status.claude.com/incidents/7g1qpkyz5gxh
123•corvad•11h ago•94 comments

Python Workers are now generally available

https://blog.cloudflare.com/python-workers-ga/
239•torutofu•22h ago•38 comments

HERMES radio enables voice and data communication over vast distances

https://spectrum.ieee.org/hermes-shortwave-radio-digital-data
152•SamuraiLion•20h ago•61 comments

Socrates vs. the Written Word (2011)

https://wondermark.com/socrates-vs-writing/
52•spectraldrift•12h ago•29 comments

How do traffic signals work? (2019)

https://practical.engineering/blog/2019/5/11/how-do-traffic-signals-work
95•at1as•20h ago•66 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.