frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why I Stopped Arguing with People

https://wangcong.org/2026-06-30-why-i-stopped-arguing-with-people.html
391•backlit4034•2h ago•307 comments

For First Time, a Cell Built from Scratch Grows and Divides

https://www.quantamagazine.org/for-the-first-time-a-cell-built-from-scratch-grows-and-divides-202...
67•defrost•1h ago•13 comments

Asahi Linux 7.1 Progress Report

https://asahilinux.org/2026/06/progress-report-7-1/
393•pantalaimon•5h ago•114 comments

SpudCell: The first synthetic cell with a complete cell cycle

https://biotic.org/research/spudcell/
20•godwinson__4-8•37m ago•1 comments

Single Dose of Frog-Derived Gut Bacterium Eradicates 100% of Tumors in Mice

https://www.thefocalpoints.com/p/new-study-frog-derived-gut-bacterium
317•mpweiher•6h ago•160 comments

Announcing Box3D :: Box2D

https://box2d.org/posts/2026/06/announcing-box3d/
97•makepanic•3h ago•21 comments

Red Programming Language: Static linking support

https://www.red-lang.org/2026/06/static-linking-support.html
22•em-bee•1d ago•2 comments

Nintendo has raised its employees base salary by 10%

https://mynintendonews.com/2026/06/26/nintendo-has-raised-its-employees-base-salary-by-10/
296•_tk_•3h ago•135 comments

Launch HN: Parsewise (YC P25) – Reason Across Documents with an API

17•gergelycsegzi•1h ago•11 comments

Manufact (YC S25) Is Hiring a Developer Advocate in SF

https://www.ycombinator.com/companies/manufact/jobs/4cyWd6S-developer-advocate-partnerships-devrel
1•luigipederzani•2h ago

Newly discovered spider builds spring loaded snare to catch ants

https://phys.org/news/2026-06-newly-australian-ballista-spider-snare.html
185•chimpanzee•2d ago•37 comments

Monetization Gateway

https://blog.cloudflare.com/monetization-gateway/
25•soheilpro•1h ago•5 comments

Sony Deletes 551 Movies PlayStation Owners Paid For

https://reclaimthenet.org/sony-deletes-551-studiocanal-movies-playstation-owners-paid-for
67•bilsbie•1h ago•23 comments

The Anti-Palantir Manifesto

https://nym.com/blog/anti-palantir-manifesto
32•eustoria•46m ago•3 comments

Claude Sonnet 5

https://www.anthropic.com/news/claude-sonnet-5
1210•marinesebastian•21h ago•743 comments

Obfuscation: Building the final boss of cryptography (Part I)

https://vitalik.eth.limo/general/2026/06/29/obfuscation1.html
57•fbrusch•1d ago•4 comments

Godot will no longer accept AI-authored code contributions

https://www.pcgamer.com/gaming-industry/open-source-game-engine-godot-will-no-longer-accept-ai-au...
466•pjmlp•7h ago•292 comments

ArXiv's Next Chapter

https://blog.arxiv.org/2026/06/30/arxivs-next-chapter/
219•subset•12h ago•65 comments

The Internet I Grew Up with Doesn't Exist Anymore

https://cleberg.net/blog/internet.html
212•felixdoerp•5h ago•198 comments

Compiler-Assisted Floating-Point Error Analysis and Profiling with FPChecker

https://fpanalysistools.org/ISC26/
21•matt_d•1d ago•2 comments

1-Bit Pixel Art Emojis

https://hypertalking.com/2023/05/15/1-bit-pixel-art-emojis/
8•surprisetalk•6d ago•0 comments

A deep dive into SmallVector:push_back

https://maskray.me/blog/2026-06-27-a-deep-dive-into-smallvector-push-back
21•mariuz•1d ago•5 comments

Your Kids' School Bus Is About to Become a Roaming Surveillance Vehicle

https://www.thedrive.com/news/your-kids-school-bus-is-about-to-become-a-roaming-surveillance-vehicle
57•cf100clunk•1h ago•31 comments

Internal Combustion Engine

https://ciechanow.ski/internal-combustion-engine/
11•StefanBatory•2h ago•1 comments

Google copybara: moving code between repositories

https://github.com/google/copybara
270•reconnecting•15h ago•52 comments

Claude Code is steganographically marking requests

https://thereallo.dev/blog/claude-code-prompt-steganography
2298•kirushik•23h ago•688 comments

Show HN: Frond – a frontend runtime for your app's dependency graph

https://frondruntime.dev
14•romanonthego•3h ago•8 comments

This Cell Feeds, Grows and Reproduces. and It's Manmade

https://www.nytimes.com/interactive/2026/07/01/science/spudcells-synthetic-cell.html
21•quux•1h ago•5 comments

Claude Science

https://claude.com/product/claude-science
538•lebovic•22h ago•155 comments

Leanstral 1.5

https://docs.mistral.ai/models/model-cards/leanstral-1-5-26-06
285•vetronauta•18h ago•122 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.