frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

NVIDIA Announces CEO Transition

https://nvidianews.nvidia.com/news/nvidia-announces-ceo-transition
1254•lldb•2h ago•1049 comments

Anthropic IPO

https://ipo.anthropic.com/us/
443•josephljohnston•4h ago•458 comments

Abandoned Quake 4 expansion finished by modders and now playable

https://www.moddb.com/mods/openq4/downloads/openq4-0141-windows-x64
92•klaussilveira•2h ago•30 comments

Talking Zen 6 with Mike Clark at AMD In-Depth

https://chipsandcheese.com/p/talking-zen-6-with-mike-clark-at
79•dverlaeckt80•2h ago•0 comments

Show HN: Fable52.games – Play and inspect Fable 5.2 single-file HTML games

https://fable52.games
24•felixne•1h ago•14 comments

Why Writing Correct Software Is Hard

https://pron.github.io/posts/correctness-and-complexity
251•AriFordsham•6h ago•100 comments

I'm making LLMs work on small and old devices

https://github.com/hyperionaidev/smolmaxxing/
22•mrashad74•1h ago•6 comments

Libreagi – Save OSS Models

https://libreagi.com/
49•satuke•2h ago•14 comments

ExcalidrawZ: Local Native Excalidraw on macOS/iOS

https://github.com/chocoford/ExcalidrawZ
19•Qision•1h ago•2 comments

Socratic Tutor

https://github.com/janestreet/agent_skills/blob/master/socratic-tutor/SKILL.md
524•tosh•2d ago•124 comments

Electric Ship Batteries Promise Compact, Cooler Power

https://spectrum.ieee.org/electric-ship-batteries
28•rbanffy•2h ago•16 comments

A live tree of systemd jobs on the boot console

https://codeberg.org/wvhulle/bootvine
253•orhunp_•3d ago•100 comments

Researchers discover rare star system that emits radio signals every 8 minutes

https://www.curtin.edu.au/news/media-release/researchers-discover-rare-star-system-that-emits-rad...
74•giuliomagnifico•5h ago•36 comments

Running web sites makes me not want to

https://lowkey.party/running-web-sites-makes-me-not-want-to
18•speckx•2h ago•7 comments

Fitting Four 32 GB Resizable Bars Behind a PCIe Switch on Linux

https://doug.sh/posts/gpu-bars-behind-a-pcie-switch/
16•dougcalobrisi•1h ago•4 comments

Tim Peters has died

https://discuss.python.org/t/in-memoriam-tim-peters-1952-2026/110028
1358•ayhanfuat•1d ago•165 comments

Our software engineering interviews are changing (a little)

https://blog.janestreet.com/software-engineering-interviews-are-changing-a-little/
71•maitland•2h ago•56 comments

93% of paint splatters are valid Perl programs (2019)

https://www.mcmillen.dev/sigbovik/
536•zenincognito•18h ago•69 comments

Critical RCE Vulnerability in Apache HTTP Server

https://www.wiz.io/blog/cve-2026-119618-rce-apache-http-server-vulnerability
318•soheilpro•14h ago•161 comments

AWS emulator

https://github.com/aws/aws-emulator
931•super_linear•22h ago•255 comments

Show HN: Build a PC in 3D in the Browser

https://www.buildcores.com
29•ozaiworld•3d ago•7 comments

Making a €40 USB-C hub work as a Nintendo Switch 2 dock

http://blog.nozomi.space/posts/sw2_dock/
105•mkopec•2d ago•33 comments

Pulling the Lever in a Subway Problem

https://www.jefftk.com/p/pulling-the-lever-in-a-subway-problem
7•NaOH•21h ago•4 comments

PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released

https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/
52•plaur782•2h ago•4 comments

Show HN: A self-hosted PHP platform combining CMS, e-commerce and more, built-in

https://getvale.org
4•c_guru•1h ago•1 comments

Research taste in history: the importance of learning Babylonian math

https://resobscura.substack.com/p/research-taste-in-history-the-importance
45•benbreen•1d ago•5 comments

A false smoke alarm almost drowned Jane Street's only NYC datacenter

https://michael.bacarella.com/2026/11/10/false-smoke-alarm-jane-street-datacenter/
547•mbac32768•23h ago•259 comments

Gemini Decisions API

https://blog.google/innovation-and-ai/technology/developers-tools/gemini-decisions-api/
526•iamdelirium•22h ago•151 comments

Roadside investigations of psyllids, ants and eucs

https://bencology.bearblog.dev/eucalypt-psyllids-meat-ants/
3•caminanteblanco•1h ago•1 comments

I'm Working on a FOSS Linux Pinbal Simulation Engine

https://www.getlazarus.org/forums/topic/17/
104•sysrpl•10h ago•35 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.