frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

System 7 natively boots on the Mac mini G4

https://macos9lives.com/smforum/index.php?topic=7711.0
198•ibobev•7h ago•33 comments

WinApps: Run Windows apps as if they were a part of the native Linux OS

https://github.com/winapps-org/winapps
164•klaussilveira•3d ago•56 comments

Airbus A320 – intense solar radiation may corrupt data critical for flight

https://www.airbus.com/en/newsroom/press-releases/2025-11-airbus-update-on-a320-family-precaution...
325•pyrophoenix•13h ago•84 comments

Show HN: Explore what the browser exposes about you

https://neberej.github.io/exposedbydefault/
58•coffeecoders•4d ago•21 comments

Every mathematician has only a few tricks (2020)

https://mathoverflow.net/questions/363119/every-mathematician-has-only-a-few-tricks
132•nill0•9h ago•23 comments

Imgur geo-blocked the UK, so I geo-unblocked my network

https://blog.tymscar.com/posts/imgurukproxy/
402•tymscar•16h ago•132 comments

Garfield's Proof of the Pythagorean Theorem

https://en.wikipedia.org/wiki/Garfield%27s_proof_of_the_Pythagorean_theorem
34•benbreen•4h ago•15 comments

Confessions of a Software Developer: No More Self-Censorship

https://kerrick.blog/articles/2025/confessions-of-a-software-developer-no-more-self-censorship/
231•Kerrick•12h ago•199 comments

A triangle whose interior angles sum to zero

https://www.johndcook.com/blog/2025/11/28/tricusp-triangle/
106•tzury•10h ago•49 comments

Molly: An Improved Signal App

https://molly.im/
342•dtj1123•17h ago•201 comments

So you wanna build a local RAG?

https://blog.yakkomajuri.com/blog/local-rag
293•pedriquepacheco•18h ago•67 comments

Airloom – 3D Flight Tracker

https://objectiveunclear.com/airloom.html
223•azinman2•18h ago•70 comments

The original ABC language, Python's predecessor (1991)

https://github.com/gvanrossum/abc-unix
108•tony•15h ago•33 comments

Language is primarily a tool for communication rather than thought (2024) [pdf]

https://gwern.net/doc/psychology/linguistics/2024-fedorenko.pdf
70•netfortius•20h ago•28 comments

Show HN: Anthony Bourdain's Lost Li.st's

https://bourdain.greg.technology/
38•gregsadetsky•3d ago•13 comments

28M Hacker News comments as vector embedding search dataset

https://clickhouse.com/docs/getting-started/example-datasets/hackernews-vector-search-dataset
403•walterbell•17h ago•152 comments

The risk of round numbers and sharp thresholds in clinical practice

https://www.nature.com/articles/s41746-025-02079-y
26•asplake•1w ago•4 comments

Electron vs. Tauri

https://www.dolthub.com/blog/2025-11-13-electron-vs-tauri/
85•birdculture•14h ago•40 comments

A first look at Django's new background tasks

https://roam.be/notes/2025/a-first-look-at-djangos-new-background-tasks/
114•roam•13h ago•28 comments

Show HN: Choose your own adventure style Presentation

https://github.com/Skarlso/adventure-voter
39•skarlso•1w ago•7 comments

Show HN: Mu – The Micro Network

https://github.com/asim/mu
37•asim•4d ago•23 comments

How stealth addresses work in Monero

https://www.johndcook.com/blog/2025/11/24/monero-stealth-addresses/
8•ibobev•4d ago•3 comments

I mathematically proved the best "Guess Who?" strategy [video]

https://www.youtube.com/watch?v=_3RNB8eOSx0
67•surprisetalk•6d ago•17 comments

Fabric Project

https://github.com/Fabric-Project/Fabric
49•brcmthrowaway•12h ago•15 comments

Don't tug on that, you never know what it might be attached to (2016)

https://blog.plover.com/2016/07/01/#tmpdir
126•todsacerdoti•19h ago•58 comments

The 'S&P 493' reveals a different U.S. economy

https://www.msn.com/en-us/money/markets/the-s-p-493-reveals-a-very-different-us-economy/ar-AA1R1VUJ
79•MilnerRoute•5h ago•27 comments

True P2P Email on Top of Yggdrasil Network

https://github.com/JB-SelfCompany/Tyr
146•basemi•18h ago•23 comments

How good engineers write bad code at big companies

https://www.seangoedecke.com/bad-code-at-big-companies/
335•gfysfm•15h ago•227 comments

How to get Pandoc to respect custom table styles in Word templates

https://johnathandos.com/posts/2025-11-24-custom-tables-with-pandoc/
19•johnathandos•4d ago•2 comments

Flight disruption warning as Airbus requests modifications to 6k planes

https://www.bbc.com/news/live/cvg4y6g74ert
212•nrhrjrjrjtntbt•13h ago•98 comments
Open in hackernews

Pglocks.org

https://pglocks.org/
80•hnasr•6mo ago

Comments

whilenot-dev•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
I agree, it is not so straightforward to find out.
braiamp•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Very practical! Locking is one of the things that can really bite when doing migrations.