frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

MIT cryptography workshop had a panel on "Understanding the Anthropic results"

https://github.com/zkpstandard/latticefrontier/commit/fc671dd0f4bb6ebe8156477cb852e426be9b2fe3
131•nettlin•1h ago•54 comments

Why I can't sell you a €1 email inbox

https://www.jannis.io/why-i-cant-sell-you-a-eur1-email-inbox/
553•amaccuish•4h ago•278 comments

How the US Economy Works – an interactive map

https://economy.fogpier.com/
98•Indian_in_US•2h ago•34 comments

If you want failover to work well, use it often

https://bencane.com/posts/2026-11-25-failover-often/
232•madflojo•5h ago•63 comments

TrojanMaxxing: One-shotting VLM backdoors with weight-space programming

https://arxiv.org/abs/2611.27425
176•hvp1621•5h ago•64 comments

Nearly 2B credentials exposed in a publicly accessible database

https://www.expressvpn.com/research/2billion-credentials-exposed
161•basilgohar•5h ago•75 comments

The End of Robot Learning and the Last Research Agenda

https://vedder.io/misc/end_of_robot_learning.html
15•gmays•1h ago•5 comments

Google Antigravity ACP using "custom-agent" consumes 4x quota per token

https://github.com/google-antigravity/antigravity-cli/issues/1890
566•bloopernova•12h ago•289 comments

Microplastics in household dust

https://idw-online.de/en/news881452
106•randycupertino•5h ago•129 comments

Underrated reasons to be thankful VI

https://dynomight.net/thanks-6/
91•Curiositry•4h ago•32 comments

A Completely Useless Instruction?

https://www.os2museum.com/wp/a-completely-useless-instruction/
20•ingve•2d ago•0 comments

Borland's DOS compilers, rebuilt from their own binaries

https://github.com/abedegno/borland-reborn
184•frostbyte7•10h ago•75 comments

Four federal cases trace $974M in Nvidia chips and servers to China

https://ailately.com/articles/chip-smuggling-route-to-china
157•ryanedennis•4h ago•67 comments

"This message has been on the screen for almost two hours now."

https://unsung.aresluna.org/this-message-has-been-on-the-screen-for-almost-two-hours-now/
193•firloop•1d ago•121 comments

The Math Behind Counter-Strike Surfing

https://healeycodes.com/the-math-behind-counter-strike-surfing
245•v3gas•2d ago•39 comments

An exhaustive review of design tool hover areas

https://tldraw.dev/blog/a-review-of-design-tool-hover-areas
160•bpierre•1d ago•21 comments

Nvidia Seeded Pirated Books and Shared Them with Adobe, Authors Allege

https://torrentfreak.com/nvidia-seeded-pirated-books-and-shared-them-with-adobe-authors-allege/
267•DeepLogin•6h ago•72 comments

Your family should have a shared two-factor authentication code

https://shkspr.mobi/blog/2026/11/your-family-should-have-a-shared-two-factor-authentication-code/
315•robin_reala•9h ago•110 comments

Marmot, an Alternative Go Compiler

https://marmot.gaurav.zip/
77•andreynering•2d ago•22 comments

Study explains why radiation-triggered failures occur in electronics

https://news.ncsu.edu/2026/11/why-single-event-burnout-happens/
43•giuliomagnifico•3d ago•5 comments

Attention Kmart shoppers – music played over the store PA

https://www.attentionshoppers.net/
488•ChrisArchitect•20h ago•148 comments

Menutr: My favorite network condition diagnostic tool, now in your menu bar

https://davepedu.com/blog/2026/11/25/menutr/
3•dpedu•2d ago•0 comments

FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have

https://arxiv.org/abs/2609.37693
224•peter_d_sherman•16h ago•59 comments

So you want to build a mainstream formally verifiable language

https://danilafe.com/blog/verifiable_language/
88•mpweiher•11h ago•58 comments

Get a Cable Modem Go to Jail (1999)

http://telecom.csail.mit.edu/judy-sammel.html
187•romania1•14h ago•83 comments

ICE Is Spiking Its Use of Flock Cameras to Apprehend Immigrants

https://futurism.com/future-society/ice-immigration-enforcement-flock-alpr-surveillance-cops
16•pseudolus•55m ago•2 comments

Salesforce: Turning a Freescale Dev Board into a Macintosh

https://bbenchoff.com/pages/Salesforce.html
63•wanderingjew•6h ago•24 comments

Vernor Vinge: The curse of the mummy's tomb (1992)

https://akkartik.name/post/straumli
129•akkartik•3d ago•88 comments

A portable SCTP userland stack

https://github.com/sctplab/usrsctp
32•mococa•7h ago•24 comments

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan

https://adamgreenough.net/blog/wordpress-php-versions/
256•xadz•21h ago•122 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.