frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Memoirs of Extraordinary Popular Delusions and the Madness of Crowds (1852)

https://www.gutenberg.org/ebooks/24518
61•lstodd•2h ago•9 comments

Looking Ahead to Postgres 19

https://www.snowflake.com/en/blog/engineering/postgresql-19-features-beta/
24•thinkingemote•47m ago•16 comments

Building a custom octocopter from scratch with no prior hardware experience

https://karolina.mgdubiel.com/drone/
182•noleary•2d ago•41 comments

European digital ID wallets rely on safety services of Google and Apple

https://waag.org/en/article/european-digital-id-wallets-are-gift-google-and-apple/
490•donohoe•4h ago•206 comments

Open Source Low Tech

https://opensourcelowtech.org/
455•grep_it•4d ago•95 comments

Zluda 6 release (run unmodified CUDA applications on non-Nvidia GPUs)

https://vosen.github.io/ZLUDA/blog/zluda-update-q1q2-2026/
57•Tiberium•4h ago•5 comments

Exercise intensity influences body composition in healthy older adults (2025)

https://www.maturitas.org/article/S0378-5122(25)00571-7/fulltext
115•bookofjoe•4h ago•92 comments

Qwen 3.6 27B is the sweet spot for local development

https://quesma.com/blog/qwen-36-is-awesome/
1036•stared•21h ago•672 comments

Words Are a Byproduct of Consciousness. For LLMs, It's Backwards

https://ranpara.net/posts/words-are-a-byproduct-of-consciousness/
51•DevarshRanpara•45m ago•68 comments

Parse, Don't Validate – In a Language That Doesn't Want You To

https://cekrem.github.io/posts/parse-dont-validate-typescript/
84•fagnerbrack•4h ago•67 comments

.self: A new top-level domain designed to support self-hosting

https://hccf.onmy.cloud/2026/06/21/reclaiming-our-digital-selves-hccfs-vision-for-a-human-centere...
592•HumanCCF•19h ago•338 comments

Free the Icons

https://weblog.rogueamoeba.com/2026/06/26/free-the-icons/
571•zdw•2d ago•210 comments

Have You Restarted Your Computer This Week?

https://taonaw.com/2026/06/27/have-you-restarted-your-computer.html
21•surprisetalk•46m ago•35 comments

Knoppix

https://www.knopper.net/knoppix/index-en.html
15•hoangvmpc•2h ago•10 comments

Beware, Claude Code deletes >30 day old transcripts. Anthropic won't fix it

https://github.com/anthropics/claude-code/issues/62476
11•ojura•1h ago•11 comments

Who are the fire-tamers?

https://aeon.co/essays/who-are-the-fire-taming-healers-of-modern-france
18•Caiero•1d ago•10 comments

Memory Safe Context Switching

https://fil-c.org/context_switches
170•modeless•14h ago•26 comments

All Logic, No Bite

https://lcamtuf.substack.com/p/all-logic-no-bite
28•surprisetalk•3d ago•6 comments

I'm building a Space Cadet Pinball Machine! [video]

https://www.youtube.com/watch?v=lHQ8c8i42VE
23•skibz•3d ago•6 comments

The US ambassador had Belgian police stop our reporting

https://europeancorrespondent.com/en/r/the-us-ambassador-had-belgian-police-stop-our-reporting
544•robtherobber•4h ago•198 comments

LongCat-2.0, a large-scale MoE model with 1.6T total and 48B Active

https://longcat.chat/blog/longcat-2.0/
206•benjiro29•14h ago•57 comments

Rocketlab acquires Iridium

https://investors.rocketlabcorp.com/news-releases/news-release-details/rocket-lab-acquire-iridium...
437•everfrustrated•1d ago•288 comments

Linux for the Sega MegaDrive

https://github.com/LinuxMD/linuxmd
170•HardwareLust•1d ago•39 comments

Exploring PDP-1 Lisp (1960)

https://obsolescence.dev/pdp1-lisp-introduction.html
96•ozymandiax•14h ago•23 comments

Old Computer Challenge

http://occ.sdf.org/
93•wrxd•2d ago•43 comments

Why problem statements aren't enough

https://letters.unchartedpathbreakthroughs.com/posts/why-problem-statements-arent-enough
19•mooreds•4d ago•6 comments

One million passports leaked online

https://www.theverge.com/tech/947157/passports-data-breach-cannabis-club-systems-nefos-puffpal
371•jruohonen•2d ago•214 comments

Ornith-1.0: self-improving open-source models for agentic coding

https://github.com/deepreinforce-ai/Ornith-1
236•danboarder•21h ago•44 comments

How to corrupt an SQLite database file

https://www.sqlite.org/howtocorrupt.html
129•tosh•3d ago•32 comments

US Supreme Court rules geofence warrants require constitutional protections

https://www.theguardian.com/us-news/2026/jun/29/supreme-court-geofence-warrants-case-decision
574•cdrnsf•23h ago•273 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.