frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Brazil's Caixa insurer breach exposes names and tax IDs of all 7.6M customers

https://filemanager-cdn.mziq.com/published/3972906b-e50b-4f74-ab74-4d0d32125d11/9567a559-d20a-486...
82•dvaplima•1h ago•13 comments

Reverse Engineering My Coway Air Purifier to Ditch the Cloud

https://scottjg.com/posts/2026-11-11-reverse-engineering-my-coway-air-purifier-to-ditch-the-cloud/
302•scottjg•18h ago•78 comments

Why Zig over C for Systems Programming

https://www.mtsoukalos.eu/2026/11/why-zig-over-c-for-systems-programming/
128•torutofu•2h ago•72 comments

A technical vision for the Haskell ecosystem

https://discourse.haskell.org/t/a-technical-vision-for-the-haskell-ecosystem/15078
58•cosmic_quanta•2h ago•21 comments

Doomsday: Friday, 13 November, A.D. 2026 (1960)

https://www.science.org/doi/10.1126/science.132.3436.1291
320•voxleone•4h ago•221 comments

Jensen Huang resigns

https://apnews.com/article/nvidia-megaspeed-china-singapore-huang-5403f152a601cf82ce939f1d24fffa0f
3867•lldb•1d ago•3322 comments

Palmfrets, Minnesota guitarist's invention, strikes a new chord

https://www.echopress.com/business/minnesota-guitarists-invention-strikes-a-new-chord
24•bookofjoe•1h ago•20 comments

Lonewolf 0.3 – A standalone XMPP server written in Rust

https://github.com/lonewolf-im/lonewolf/releases/tag/v0.3.0
38•ortuman•2h ago•8 comments

U.S. October PPI Rises 6.5% YoY, Highest in Nearly Four Years

126•moonypto•2h ago•71 comments

Elevated errors on claude.ai, Claude Code, and platform.claude.com

https://status.claude.com/incidents/nn11wk485zfn
419•__vivek•6h ago•344 comments

IceWM

https://ice-wm.org/
310•inatreecrown2•12h ago•161 comments

Rust 1.100

https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/
816•mbStavola•22h ago•299 comments

US university students tell surveillance cameras to Flock off

https://www.theguardian.com/technology/ng-interactive/2026/nov/13/universities-drop-flock-camera-...
89•beardyw•2h ago•39 comments

Brave Search API now accepts agentic payments via the x402 protocol

https://brave.com/blog/search-api-agentic-payments/
214•sjdh76•13h ago•123 comments

EU Digital Identity Wallet rollout: every EU state on one board

https://myid.ie/business/eu-digital-wallet-tracker/
53•mooreds•1h ago•12 comments

Why is Google cutting off Search from AI-free schools? Here are some theories

https://text.npr.org/nx-s1-6029408
37•kamaraju•1h ago•19 comments

Show HN: My $300 embroidery machine needed a subscription, so I built my own app

https://github.com/simpsoka/zigzag
672•simpsoka•23h ago•220 comments

AI Is Destroying the Trust Between Writers and Readers

https://www.theatlantic.com/books/2026/11/ai-literary-scams-amazon/689391/
165•FinnLobsien•5h ago•74 comments

Gemini 4 Hydrogen and Orchestrator

https://antigravity.google/blog/gemini-4-hydrogen-in-google-antigravity/
471•jonbaer•22h ago•154 comments

Former Nvidia CEO Huang had a relationship with a second employee, sources say

https://www.reuters.com/technology/former-nvidia-ceo-huang-had-relationship-with-second-employee-...
399•jbredeche•21h ago•429 comments

Dwarf planet candidate appears which takes roughly 280 years to orbit our sun

https://www.smithsonianmag.com/smart-news/astronomers-found-a-mysterious-object-orbiting-far-beyo...
366•cybermango•21h ago•159 comments

Jonathan Blow – If AI Solved Coding, Why Is My Software Still the Same? [video]

https://www.youtube.com/watch?v=IRK8h67ol7Q
63•helloplanets•1h ago•27 comments

The 42-Year Journey to Bring 'Neuromancer' to the Screen

https://www.wired.com/story/exclusive-apple-tv-neuromancer-creator-interviews/
75•Brajeshwar•2h ago•53 comments

Edge0-145B: Frontier AI Capabilities on Your Own Computer

https://edge0.ai/blog/introducing-edge0-145b-frontier-ai-capabilities-on-your-own-computer
313•sroussey•17h ago•92 comments

US test reactor cleared for operations

https://www.world-nuclear-news.org/articles/us-test-reactor-cleared-for-operations
41•PaulHoule•3h ago•13 comments

Service degradation on Microsoft 365

https://status.cloud.microsoft/
1093•dkpk•22h ago•932 comments

I'm making LLMs work on small and old devices

https://github.com/hyperionaidev/smolmaxxing/
443•mrashad74•1d ago•171 comments

The Dawn of the Data Intelligence Engineer

https://motherduck.com/blog/the-data-intelligence-engineer/
110•jonbaer•7h ago•72 comments

Foundation Models framework

https://developer.apple.com/foundation-models-framework/
250•kermatt•19h ago•35 comments

Switcher (2004)

https://folklore.org/Switcher.html
128•sammatilda•13h ago•39 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.