frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Free alternative TV network built from the Internet Archive's forgotten videos

https://spelunkr.tv
97•SockThief•1h ago•13 comments

A Beginner's Guide to Local AI with Inkling, Qwen, and Unsloth

https://www.gpupartner.com/blog/beginners-guide-local-ai-inkling-qwen-unsloth
266•Retell15•5h ago•116 comments

Masullo on the Riemann Hypothesis

https://johncarlosbaez.wordpress.com/2026/11/22/masullo-on-the-riemann-hypothesis/
56•xiaoyu2006•15h ago•1 comments

The Birds of GTA 6: A Field Guide to Vice City and Leonida's Wildlife

https://www.audubon.org/magazine/birds-of-gta-6-field-guide-vice-city-wildlife
373•gaws•7h ago•175 comments

Cathedral floor emerges in Sudan, revealing one of the biggest medieval churches

https://apnews.com/article/sudan-antiquities-nubia-cathedral-1b16f67da881ee5592de4481ee55c527
123•graemep•4d ago•10 comments

GL.iNet Security Notice 2026-11-20

https://www.gl-inet.com/en-us/blogs/blog/glinet-security-notice-2026-11-20
100•gregsadetsky•3h ago•45 comments

A miniature San Francisco with live buses, planes and boats

https://smallsf.com/
159•dutilh•6h ago•70 comments

The Usefulness of Useless Knowledge [pdf] (1939)

https://www.ias.edu/sites/default/files/library/UsefulnessHarpers.pdf
69•hectormauer•4h ago•14 comments

The struggle for freedom: How BSD escaped AT&T licensing

https://fosscomics.com/posts/16.%20BSD%20Unix%20Part%206%20-%20The%20Struggle%20for%20Freedom/
51•joonehur•5h ago•14 comments

Nyx, the Oldest Internet Service Provider

https://nyx.net/
103•o_-_o•6h ago•12 comments

Perplexity and Intelligence

https://openai.com/index/perplexity-and-intelligence/
495•acossta•9h ago•346 comments

Progress map for the Lean formalization of Alessandro Masullo's manuscript

https://claude.ai/artifact/CtQyX8qfYAF822bgHJHHE3
163•Qision•3h ago•139 comments

Assume People Are Not Interested in Your Blog Post

https://danielsada.tech/blog/assume-people-are-not-interested-in-your-blog-post/
75•dshacker•7h ago•37 comments

What Happened to Silicon Valley?

https://www.oreilly.com/radar/what-happened-to-silicon-valley/
456•greenyouse•7h ago•262 comments

Show HN: I built a game where you are an LLM's subagent

https://github.com/gulivan/worker755
278•ivantgam•12h ago•65 comments

What we learned operating auth for 1k APIs

https://nango.dev/blog/lessons-from-operating-api-auth-for-900-apis/
8•fagnerbrack•1h ago•2 comments

Nespresso's project to reduce grams of coffee per capsule

https://alvinbunk.wordpress.com/2026/11/01/nespresso-project-olympus/
107•bobbiechen•2h ago•98 comments

Advice for Young Researchers

http://togelius.blogspot.com/2026/11/advice-for-young-researchers.html
57•tcumulus•4d ago•19 comments

Localcode, open source agentic coding on your Mac with one command

https://github.com/mjwsolo/localcode
27•mjwsolo•4h ago•7 comments

How the World Draws the World

https://googlemapsmania.blogspot.com/2026/10/how-world-draws-world.html
9•surprisetalk•2d ago•0 comments

Open Social Web Alliance

https://osw-alliance.net/en/
227•doener•11h ago•215 comments

I joined the NTP Pool, but not with my Stratum 1 Pi

https://www.jeffgeerling.com/blog/2026/i-joined-the-ntp-pool/
134•fortran77•11h ago•42 comments

The Unlicensed Gospel: Wisdom Tree's Bible Games on the Game Boy

https://www.gameboymuseum.com/single-post/the-unlicensed-gospel-wisdom-tree-s-bible-games-on-the-...
4•speckx•3d ago•0 comments

0rwx – A simple model of AI usage, inspired by Unix permissions

https://0rwx.com/
21•misswaterfairy•2h ago•6 comments

Will the first approved psychedelic become a blockbuster?

https://www.pharmavoice.com/news/race-first-psilocybin-blockbuster-compass-usona/875270/
28•randycupertino•5h ago•30 comments

Toyota, Nissan, and Honda to standardize parts to lower costs

https://www.caranddriver.com/news/a74490092/toyota-nissan-honda-standardize-parts-lower-costs/
1199•zdw•22h ago•682 comments

A Better Vocabulary for Testing

https://alperenkeles.com/posts/vocab-for-testing/
119•alpaylan•1d ago•29 comments

Harvard CS 2881R AI Safety

https://boazbk.github.io/mltheoryseminar/
45•enjoyyourlife•8h ago•5 comments

Ask HN: Tips for transitioning from web development to embedded/firmware?

120•llmblockchain•4d ago•74 comments

Inside PyPy: First Contact with RPython

https://bernsteinbear.com/blog/inside-pypy-first-contact-with-rpython/
61•lumpa•3d ago•9 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.