frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

After 7 months, Glasswing overwelms maintainers with underwhelming findings

https://www.vulncheck.com/blog/anthropic-glasswing-november-update
210•panic•3h ago•83 comments

.name Grandfathered

https://neil.fraser.name/news/2026/11/10/
684•p4bl0•9h ago•157 comments

Scion is back and is going to sell a kei truck in America

https://www.theautopian.com/scion-is-back-and-its-going-to-sell-a-freaking-kei-truck-in-america/
323•NaOH•5h ago•245 comments

Smart home devices should work without the internet

https://docodethatmatters.com/home-automation-overnight-success/
709•skittleson•10h ago•252 comments

Six Math Essentials by Terence Tao

https://teorth.github.io/tao-web/six-math-essentials.html
123•digital55•4h ago•25 comments

Synaptics patent claims stop work on DisplayLink drivers

https://lwn.net/SubscriberLink/1102549/acbc92e00cee3a3f/
293•speckx•7h ago•163 comments

Starlink Mini 2

https://starlink.com/mini-2
232•robertjfclarke•7h ago•245 comments

Val Town is winding down

https://blog.val.town/winding-down
305•tosh•8h ago•81 comments

Hacking the meta ray-ban smartglasses

https://p0pcycle.com/2026/11/06/hacking-the-meta-ray-ban-smartglasses/
41•moooooky•3d ago•14 comments

Pinot Noir: inside the criminal gangs making fake wine

https://www.economist.com/interactive/2026/11/06/pinot-noir-inside-the-criminal-gangs-making-fake...
29•axiomdata316•2d ago•6 comments

AlphaProof Code

https://deepmind.google/blog/introducing-alphaproof-code/
577•ilreb•13h ago•177 comments

Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives

https://github.com/GoogleChrome/modern-web-guidance
261•paulirish•7h ago•77 comments

The DRAM interface and the PHY (why a DDR3+ interface must be tuned at boot)

https://github.com/enjoy-digital/litedram/blob/master/doc/manual/03_dram_interface.md
15•peter_d_sherman•2h ago•0 comments

What objective is reasoning solving?

https://alexwang.ai/posts/reasoning-as-pathfinding/
102•gmays•6h ago•45 comments

AMD's Zen 6 Family: Feeding the Beast

https://chipsandcheese.com/p/amds-zen-6-family-feeding-the-beast
183•pixelpoet•8h ago•69 comments

Ergodic Literature

https://en.wikipedia.org/wiki/Ergodic_literature
10•aragonite•1d ago•2 comments

$30M Raised to Redo the CPU

https://tendrils.co/blog/2026-11-10/30m-raised
27•shioyama•3h ago•14 comments

A comprehensive study of how fingerprintable users are

https://fingerprinting.study/
73•tomrittervg•6h ago•31 comments

Process Explorer for macOS

https://github.com/microsoft/Procexp-Mac
138•ingve•1d ago•47 comments

Sherman Anti-Trust Act (1890)

https://www.archives.gov/milestone-documents/sherman-anti-trust-act
72•hashmap•4h ago•43 comments

Ableton Live 13

https://www.ableton.com/en/live/
273•phaser•12h ago•296 comments

Show HN: Aircad – Professional drafting and 3D modeling in the browser

https://aircad.com
14•peetle•10h ago•6 comments

Research taste in history: the importance of learning Babylonian math

https://resobscura.substack.com/p/research-taste-in-history-the-importance
11•benbreen•6h ago•0 comments

Show HN: Valencia, Spain in Sim City/Isometric View

https://tinyvalencia.com/
191•leugim•10h ago•49 comments

Simon Winchester has died

https://www.nytimes.com/2026/11/04/obituaries/simon-winchester-dead.html
71•benbreen•2d ago•25 comments

LLMs Play Zachtronics' TIS-100

https://tis-100.wincon.dev/
5•fairestvalue•1h ago•0 comments

AI usage generates a fragile codebase

https://evanxmerz.com/post/ai-usage-generates-a-fragile-codebase/
376•plun9•15h ago•405 comments

What's new in the .NET 11 runtime

https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-11/runtime
239•stevefan1999•13h ago•174 comments

Blender 5.3 released with Gaussian Splat support

https://www.blender.org/download/releases/5-3/
434•amlib•9h ago•65 comments

AI is an information gateway. Audiences still don't want it making their news

https://www.niemanlab.org/2026/11/ai-is-becoming-an-information-gateway-audiences-still-dont-want...
5•rdmuser•1h ago•1 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.