frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

hdiutil is deprecated in macOS 27 Golden Gate

https://lapcatsoftware.com/articles/2026/8/7.html
142•zdw•3h ago•49 comments

Scrap

https://twitter.com/moxie/status/2091218652133732491
198•tosh•4h ago•82 comments

Why your local LLM feels dumber than it is

https://forum.level1techs.com/t/why-your-local-llm-feels-dumber-than-it-is/253917
110•felineflock•4h ago•31 comments

NetBSD and My Life (2005)

https://mail-index.netbsd.org/netbsd-advocacy/2005/09/10/0000.html
69•gnyeki•3h ago•19 comments

ElevenLabs, TwelveLabs, ThirteenLabs

https://quantumi.sh/public/labs.html
273•jemoka•7h ago•89 comments

Hister – A private, full content search index that you control

https://hister.org/
184•auraham•4d ago•58 comments

How a Texas student blew the whistle on a rogue AI hacking attempt

https://www.reuters.com/world/how-texas-student-blew-whistle-rogue-ai-hacking-attempt-2026-08-20/
85•olalonde•1d ago•19 comments

RF Cafe

https://www.rfcafe.com/
119•gregsadetsky•3d ago•15 comments

A Friendly Introduction to Racket

https://geometridae.bearblog.dev/a-friendly-introduction-to-racket/
172•signa11•8h ago•72 comments

typ.ing

https://typ.ing/
138•bookofjoe•4d ago•37 comments

English ↔ Claudish Translator

https://programasweights.com/claudish
29•leumon•3h ago•20 comments

ATProto spaces: A new extension to ATProto that enables non-public data

https://atproto.com/blog/atproto-spaces-alpha
83•grappler•2d ago•10 comments

Canada will match US tariffs 'dollar for dollar' as trade talks break down

https://www.bbc.com/news/articles/cvgvyy4x2mvo
396•tartoran•16h ago•1088 comments

Guess which of these LLM outputs is watermarked

https://sgoedecke.github.io/watermark-quiz/
57•gfysfm•2d ago•54 comments

One night in Uzbekistan: Why was this one data point so influential?

https://statmodeling.stat.columbia.edu/2026/08/20/we-couldnt-reproduce-their-findings-and-realize...
53•paulpauper•1d ago•4 comments

Munder Difflin – Agent harness to run an office of your clones

https://munderdiffl.in/
236•simonpure•12h ago•110 comments

Why it might be time to rethink the human family tree

https://nautil.us/why-it-might-be-time-to-rethink-the-human-family-tree-1283985
49•Anon84•2d ago•25 comments

Mythic's analog compute-in-memory architecture

https://www.mythic.ai
40•janandonly•4d ago•22 comments

Dynamical dark energy and the week that broke cosmology

https://perimeterinstitute.ca/news/dynamical-dark-energy-and-week-broke-cosmology
34•rznicolet•1d ago•8 comments

New MCP Roadmap

https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
167•pentagrama•9h ago•120 comments

Z80 – The 1970s Microprocessor Still Alive (2021)

https://www.computer.org/csdl/magazine/mi/2021/06/09623402/1yJTvlRLmhi
111•asdefghyk•12h ago•52 comments

Show HN: terminal-code – VS Code inside the terminal

https://terminal-code.com
59•robpruzan•3d ago•15 comments

MiniageOS: "Dumbphone" Version of LineageOS

https://github.com/ofdryads/miniageOS
36•ashenke•2d ago•19 comments

What's in a PowerPoint File?

https://editide.com/blog/what-is-a-pptx-file/
43•danielochoa0620•3d ago•22 comments

Anthropic appears to be A/B testing reduced effort levels in Claude Code

https://twitter.com/argofowl/status/2091150597374537729
148•matthieu_bl•5h ago•138 comments

Thinking in Python by Bruce Eckel

https://thinkinginpython.com/
14•pjacotg•4h ago•1 comments

Rust Glancer: Rust LSP using 100x less RAM

https://rust-glancer.github.io/blog/hello-world/
392•matklad•1d ago•94 comments

The Creation of Abulafia

https://blog.veitheller.de/abulafia.html
27•saulpw•1d ago•7 comments

ProgramBench Vetted: Reverse Engineering from a Runnable Binary

https://vetto.ai/companies/programbench-vetted.html
22•rigelbm•2d ago•1 comments

Stop Making TUIs

https://sockpuppet.org/blog/2026/08/20/stop-making-tuis/
375•underdeserver•1d ago•489 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.