frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

GPT-5.4

https://openai.com/index/introducing-gpt-5-4/
343•mudkipdev•2h ago•318 comments

Wikipedia in read-only mode following mass admin account compromise

https://www.wikimediastatus.net
686•greyface-•4h ago•218 comments

The Brand Age

https://paulgraham.com/brandage.html
102•bigwheels•3h ago•85 comments

Pentagon Formally Labels Anthropic Supply-Chain Risk

https://www.wsj.com/politics/national-security/pentagon-formally-labels-anthropic-supply-chain-ri...
203•klausa•1h ago•88 comments

Let's Get Physical

https://m4iler.cloud/posts/lets-get-physical/
46•MBCook•1h ago•5 comments

Hardware hotplug events on Linux, the gory details

https://arcanenibble.github.io/hardware-hotplug-events-on-linux-the-gory-details.html
48•todsacerdoti•3d ago•0 comments

Good software knows when to stop

https://ogirardot.writizzy.com/p/good-software-knows-when-to-stop
257•ssaboum•7h ago•146 comments

A GitHub Issue Title Compromised 4k Developer Machines

https://grith.ai/blog/clinejection-when-your-ai-tool-installs-another
203•edf13•4h ago•47 comments

Show HN: Jido 2.0, Elixir Agent Framework

https://jido.run/blog/jido-2-0-is-here
193•mikehostetler•5h ago•39 comments

Launch HN: Vela (YC W26) – AI for complex scheduling

23•Gobhanu•3h ago•20 comments

Optimizing Recommendation Systems with JDK's Vector API

https://netflixtechblog.com/optimizing-recommendation-systems-with-jdks-vector-api-30d2830401ec
43•mariuz•2d ago•1 comments

The Government Uses Targeted Advertising to Track Your Location

https://www.eff.org/deeplinks/2026/03/targeted-advertising-gives-your-location-government-just-as...
200•hn_acker•3h ago•75 comments

Datasets for Reconstructing Visual Perception from Brain Data

https://github.com/seelikat/neuro-visual-reconstruction-dataset-index
35•katsee•4h ago•6 comments

Remotely unlocking an encrypted hard disk

https://jyn.dev/remotely-unlocking-an-encrypted-hard-disk/
27•janandonly•2h ago•5 comments

Show HN: PageAgent, A GUI agent that lives inside your web app

https://alibaba.github.io/page-agent/
49•simon_luv_pho•3h ago•27 comments

Nvidia PersonaPlex 7B on Apple Silicon: Full-Duplex Speech-to-Speech in Swift

https://blog.ivan.digital/nvidia-personaplex-7b-on-apple-silicon-full-duplex-speech-to-speech-in-...
336•ipotapov•13h ago•112 comments

A ternary plot of citrus geneology

https://www.jlauf.com/writing/citrus/
7•jlauf•2d ago•0 comments

Google Workspace CLI

https://github.com/googleworkspace/cli
868•gonzalovargas•20h ago•273 comments

A man who broke into jail

https://www.newyorker.com/magazine/2026/03/09/alexander-friedmann-profile-prison-reform
81•fortran77•1d ago•36 comments

Greg Kroah-Hartman Stretches Support Periods for Key Linux LTS Kernels

https://fossforce.com/2026/03/greg-kroah-hartman-stretches-support-periods-for-key-linux-lts-kern...
44•brideoflinux•3d ago•19 comments

OpenTitan Shipping in Production

https://opensource.googleblog.com/2026/03/opentitan-shipping-in-production.html
15•rayhaanj•2h ago•0 comments

World-first gigabit laser link between aircraft and geostationary satellite

https://www.esa.int/Applications/Connectivity_and_Secure_Communications/World-first_gigabit-per-s...
147•giuliomagnifico•4d ago•56 comments

Fast-Servers

https://geocar.sdf1.org/fast-servers.html
84•tosh•6h ago•26 comments

Relicensing with AI-Assisted Rewrite

https://tuananh.net/2026/03/05/relicensing-with-ai-assisted-rewrite/
347•tuananh•15h ago•341 comments

AI and the Ship of Theseus

https://lucumr.pocoo.org/2026/3/5/theseus/
33•pixelmonkey•5h ago•14 comments

Poor Man's Polaroid

https://boxart.lt/blog/poor_mans_polaroid
173•ZacnyLos•13h ago•48 comments

Google Safe Browsing missed 84% of confirmed phishing sites

https://www.norn-labs.com/blog/huginn-report-feb-2026
239•jdup7•5h ago•69 comments

Comparing Python packages for A/B test analysis (with code examples)

https://e10v.me/python-packages-for-ab-test-analysis/
7•e10v_me•3d ago•1 comments

Building a new Flash

https://bill.newgrounds.com/news/post/1607118
698•TechPlasma•1d ago•226 comments

AMD will bring its “Ryzen AI” processors to standard desktop PCs for first time

https://arstechnica.com/gadgets/2026/03/amd-ryzen-ai-400-cpus-will-bring-upgraded-graphics-to-soc...
208•Bender•3d ago•192 comments
Open in hackernews

Pglocks.org

https://pglocks.org/
80•hnasr•9mo ago

Comments

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