frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Global Glacier Extinction Explorer

https://glacierextinction.com
36•guillego•41m ago•5 comments

Godot and Rust based multiplexer (terminal panes and more)

https://github.com/godot-pty/gpty
17•1nv1n•36m ago•7 comments

Logo Programming Language

https://el.media.mit.edu/logo-foundation/what_is_logo/logo_programming.html
105•azhenley•2d ago•53 comments

Copying login keychains between Macs fails on Secure Enclave Macs with Tahoe

https://derflounder.wordpress.com/2026/09/08/manually-copying-login-keychain-files-from-one-mac-t...
24•zdw•18h ago•7 comments

I've operated petabyte-scale ClickHouse clusters for 5 years

https://www.tinybird.co/blog/what-i-learned-operating-clickhouse
51•adastral•3d ago•19 comments

So you want to use OpenRouter?

https://mmoustafa.com/blog/so-you-want-to-use-openrouter/
490•player85•2d ago•128 comments

Matt Mullenweg tells Automattic staff in Slack he's back in control after ouster

https://techcrunch.com/2026/09/11/matt-mullenweg-tells-automattic-staff-in-slack-hes-back-in-cont...
67•mkeeter•1h ago•37 comments

HuggingFace: Security.txt

https://huggingface.co/security.txt
118•yarapavan•2h ago•17 comments

RTK reports token savings, but our cost benchmarks disagree

https://quesma.com/blog/does-rtk-make-ai-coding-cheaper/
98•michalwarda•5h ago•55 comments

Claude is only available to people over 18 years

https://support.claude.com/en/articles/15171100-age-assurance-on-claude
332•Muhammad523•5h ago•401 comments

The Last 24 Hours Are the Opening Scene in a Horror Movie

https://www.honest-broker.com/p/the-last-24-hours-are-the-opening
22•antlas•34m ago•25 comments

Re-Engineering YouTube for the Living Room: Bringing "Chrobalt" to RDK

https://www.collabora.com/news-and-blog/news-and-events/re-engineering-youtube-for-the-living-roo...
21•losgehts•2h ago•10 comments

118M Queries per Second on Neki

https://planetscale.com/blog/118-million-queries-per-second-on-neki
5•joshmgross•42m ago•0 comments

Don't let anyone take away your big box of cables

https://blog.jim-nielsen.com/2026/hands-off-my-cables/
711•Brajeshwar•1d ago•428 comments

Cherenkov Radiation - traveling faster than light

http://www.iaea.org/newscenter/news/what-is-cherenkov-radiation
171•andsoitis•7h ago•85 comments

Show HN: Hacker News, without AI

https://hcker.news/?ai=exclude
86•postalcoder•1h ago•53 comments

Copper lined vest to help penguins with recovery

https://apnews.com/article/chile-el-nino-humboldt-penguins-vulnerable-injuries-rehabilitation-6e9...
10•ninju•2d ago•3 comments

iPod Classic 6G in QEMU

https://www.reddit.com/r/emulation/s/VL4Au2HGxq
109•dmonterocrespo•3d ago•22 comments

Show HN: Clawfight.ai MCP-driven agentic game play

https://clawfight.ai/agents.md
7•wesleyhales•2h ago•4 comments

New York thoracic surgeon: "For many patients 9/11 is not over"

https://www.statnews.com/2026/09/11/sept-11-25th-anniversary-ground-zero-exposure-cancer-moment-o...
49•EA-3167•2h ago•15 comments

Houthis 'take control' of key island in global shipping route

https://www.bbc.com/news/live/cmd683p01eljt
257•consumer451•2h ago•380 comments

Hacker News with reduced priority for AI driven content

https://sprinklz.io/public/pdwt4dve5uai
41•sammy0910•46m ago•25 comments

OpenAI Agents API

https://developers.openai.com/api/docs/guides/agents-api/overview
321•aquir•20h ago•168 comments

Working with Git Worktrees in Magit

https://emacsredux.com/blog/2026/09/02/working-with-git-worktrees-in-magit/
100•srijan4•3d ago•40 comments

RISC-V Emulator and Linux System from Scratch

https://github.com/WerWolv/riscv-emulator
35•Bluestein•3d ago•2 comments

CSS Curiosities of the Past

https://vale.rocks/posts/css-relics
65•robin_reala•8h ago•41 comments

Mexican student creates an acoustic fire extinguisher to put out fire in seconds

https://www.upsocl.com/en/16-year-old-mexican-student-creates-an-acoustic-fire-extinguisher-that-...
356•rguiscard•15h ago•109 comments

An interactive tour of the spanning tree protocol

https://vincent.bernat.ch/en/blog/2026-spanning-tree
64•zdw•3d ago•7 comments

Technique for Manipulating Satellite Photos Now Reveals Ancient Images (2025)

https://spinoff.nasa.gov/Manipulating_Satellite_Photos_Now_Reveals_Ancient_Images
363•gumby•1d ago•62 comments

Shopify is moving from React Native back to Swift and Kotlin

https://shopify.engineering/back-to-native
1200•fnthawar2•1d ago•891 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.