frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

PipePipe: NewPipe hard fork implementing SponsorBlock

https://github.com/InfinityLoop1308/PipePipe
215•Qision•1d ago•100 comments

Drawgent: Coding agent on a live Excalidraw canvas

https://tangled.org/yanndegat.tngl.sh/drawgent
65•parasitid•4h ago•22 comments

Show HN: Reladraw – A diagram language where you decide where to place things

https://github.com/reladraw/reladraw
48•jpwalsh234•3h ago•12 comments

A searchable library of forgotten public-domain film clips from 1915 onward

https://www.movingimagearchive.com/
41•momentmaker•2d ago•10 comments

The Lost Atomic Update on Loongson CPU

https://jia.je/hardware/2026/09/24/loongson-cpu-erratum-en/
74•jiegec•2d ago•4 comments

Fifteen years later, the Apple Cards origin story

https://lexontech.org/fifteen-years-later-the-apple-cards-origin-story
292•ksec•11h ago•63 comments

Modern Object Pascal Introduction for Programmers

https://castle-engine.io/modern_pascal
108•birdculture•2d ago•37 comments

Revealing the details of how OpenAI agents hacked Hugging Face

https://swarmtraces.org/
668•specked-citrus•23h ago•425 comments

We're gonna need a lot more mathematicians

https://terrytao.wordpress.com/2026/09/24/were-gonna-need-a-lot-more-mathematicians/
321•srcreigh•17h ago•423 comments

Reflections on 1,000 Days of Math

https://gmays.com/reflections-on-1000-days-of-math/
67•gmays•3d ago•29 comments

DeepSeek Elastic Compute (DSec)

https://arxiv.org/abs/2609.22978
8•shenli3514•2h ago•2 comments

Breaking Up with Google Play: Why Conversations Is Now Free

https://gultsch.de/posts/breaking-up-with-google-play/
578•ezst•9h ago•225 comments

Analyzing Frontier Model Progress with My Favourite Game: Prince of Persia

https://blog.priyan.in/2026/09/analyzing-frontier-model-progress-with.html
39•msephton•23h ago•30 comments

The Rise of Audio AR

https://www.dbreunig.com/2024/04/10/the_rise_of_audio_ar.html
14•dbreunig•2d ago•2 comments

Plan mode is dead

https://www.aymannadeem.com/artificial/intelligence,/developer/tools/2026/09/24/plan-mode-is-dead...
518•jmvldz•1d ago•449 comments

Plunging test scores are a slow-moving catastrophe

https://www.economist.com/leaders/2026/09/10/plunging-test-scores-are-a-slow-moving-catastrophe
123•vinni2•5h ago•234 comments

How to keep enjoying programming in a world of LLMs

https://discourse.haskell.org/t/how-to-keep-enjoying-programming-in-a-world-of-llms/14705
101•signa11•10h ago•150 comments

The Murky History of Soviet-Born Tetris

https://thereader.mitpress.mit.edu/the-bizarre-murky-history-of-soviet-born-tetris/
94•EA-3167•1d ago•23 comments

Banks and Credit Unions to Team Up Against Apple Pay Fees

https://www.macrumors.com/2026/09/25/apple-pay-antitrust-lawsuit-advances/
86•Brajeshwar•4h ago•56 comments

Ollaya – Ollama for open-source, Jev-style decision models

https://ollaya.dev/
572•Ardakilic•1d ago•138 comments

Experiencing writing at our recent Chinese calligraphy workshop

https://viewsproject.wordpress.com/2026/09/06/chinese-calligraphy-workshop/
27•surprisetalk•2d ago•1 comments

OpenAI bots meddled with multiple US Government agency sites

https://www.bbc.com/news/articles/cw62jje658dlo
66•Betelbuddy•6h ago•92 comments

Automattic has a new board after failed attempt to put CEO on leave

https://techcrunch.com/2026/09/25/automattic-has-a-new-board-after-failed-attempt-to-put-ceo-on-l...
78•ilamont•4h ago•84 comments

Show HN: Jev Plays Pokémon Red

https://jev-pokemon.vercel.app/
248•pancomplex•1d ago•105 comments

Floci: Locally emulating any cloud service

https://floci.io
132•theanonymousone•11h ago•27 comments

Is your Postgres migration safe or not safe?

https://safenotsafe.dev/
111•vira28•12h ago•38 comments

16GB iPod Nano 3G Upgrade

https://tuckerosman.com/projects/16gb-ipod-nano
128•Ivoah•2d ago•15 comments

Show HN: A Claude Code skill to analyze your chess games

https://github.com/brumar/chess-postmortem-skills
66•brumar•4h ago•46 comments

I'm the mom in that viral Giants clip. Let me tell you about my husband

https://themomoftheyear.substack.com/p/im-the-mom-in-that-viral-giants-clip
328•minimaxir•4h ago•138 comments

What even is an OS now?

https://sockpuppet.org/blog/2026/09/25/what-even-is-an-os-now/
279•fratellobigio•22h ago•424 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.