frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Get your Windows license refund

https://en.refund4freedom.org/
319•smartmic•3h ago•115 comments

Just the rumour of a bug is enough to find an exploit these days

https://anil.recoil.org/notes/rumour-is-the-exploit
51•avsm•1h ago•15 comments

Inception-style curved map for turn-by-turn directions

https://www.orbify.eu/demo/
223•smoser•4h ago•79 comments

U.S. sanctions against the A/I Collective

https://www.inventati.org/
198•exiguus•4h ago•180 comments

GUIs should be fully keyboard-driven

https://ckardaris.com/blog/2026/08/28/keyboard-driven-guis.html
51•ckardaris•1h ago•39 comments

Attimet (YC F24) Is Hiring Members of Technical Staff – Engineering and Research

https://www.ycombinator.com/companies/attimet/jobs/6btZFDg-member-of-technical-staff-engineering
1•kbanothu•3m ago

GLM-5.3 is now open-weight

https://twitter.com/Zai_org/status/2093354097122455713
209•jeudesprits•1h ago•70 comments

Run Qwen3.8 27B locally: real numbers from my Mac Studio

https://terminalbytes.com/run-qwen-3-8-27b-locally/
47•speckx•1h ago•37 comments

Htmx 4.0.0

https://four.htmx.org/announcements/2026-08-28-htmx-4.0.0-is-released
106•rmsaksida•3h ago•27 comments

State of the Map 2026

https://2026.stateofthemap.org/
72•lode•3h ago•23 comments

How Dactyl Works

https://dactyl.dev/blog/how-dactyl-works/
32•anorak27•1h ago•2 comments

The conservationists helping to restore Africa’s wild dog populations

https://www.smithsonianmag.com/science-nature/africa-wild-dogs-most-hated-carnivores-continent-he...
26•speckx•2h ago•9 comments

The Twelve-Factor App

https://12factor.net/
78•jxmorris12•18h ago•41 comments

OpenAI: Migrating to HTTPX2

https://github.com/openai/openai-python/blob/main/httpx2.md
146•tosh•5h ago•59 comments

Hilariously Fast Volume Computation with the Divergence Theorem (2018)

https://alyssarosenzweig.ca/blog/hilariously-fast-volume-computation-with-the-divergence-theorem....
195•luu•8h ago•49 comments

“It works better in the app”

https://shkspr.mobi/blog/2026/08/it-works-better-in-the-app/
523•blenderob•4h ago•340 comments

An investigation into the state of corvid–human relations

https://www.audubon.org/magazine/are-crows-really-our-friends
52•speckx•4h ago•33 comments

Verschlimmbesserung: The Word Your Software Updates Need

https://geekyschmidt.com/post/2026-08-25-verschlimmbesserung/
19•speckx•2h ago•6 comments

Smaller reactors bring nuclear power closer to fulfilling its promise

https://www.nature.com/articles/d41586-026-02506-4
51•sohkamyung•4h ago•70 comments

Don't use musl if you care about performance

https://blog.brokk.ai/dont-use-musl-if-you-care-about-performance/
20•jbellis•1h ago•10 comments

Luanti removed from Google Play due to baseless AI copyright notice

https://blog.luanti.org/2026/08/27/luanti-dmca-tracer-ai/
257•miniBill•10h ago•77 comments

A deadly global war for sand (2015)

https://www.wired.com/2015/03/illegal-sand-mining/
5•EndXA•2d ago•0 comments

Barrier lake continues to pose flood risk, China warns

https://kathmandupost.com/national/2026/08/28/barrier-lake-continues-to-pose-flood-risk-china-warns
10•r721•1h ago•1 comments

HTTPX2 – A next-generation HTTP client for Python

https://github.com/pydantic/httpx2
71•tosh•5h ago•22 comments

Debugging my new network, when 10 Gigabit Ethernet Runs at 300 Megabits

https://www.hanselman.com/blog/debugging-my-new-network-when-10-gigabit-ethernet-runs-at-300-mega...
13•speckx•2h ago•2 comments

Judge rules Trump administration’s blacklisting of Anthropic was illegal

https://www.nytimes.com/2026/08/27/technology/anthropic-government-blacklisting-ruling.html
284•jbegley•14h ago•248 comments

I used AWS cognito for a startup. I wouldn't do it again

https://joshkaramuth.com/blog/aws-cognito-authentication-startup-nightmare/
128•speckx•3h ago•101 comments

“Weird” is a weird word

https://www.deadlanguagesociety.com/p/weird-is-a-weird-word
30•pseudolus•3h ago•11 comments

Interactive Warhammer 40k Galaxy Map

https://cartographia40k.com/
104•gbxyz•8h ago•31 comments

Interactive pattern discovery in binaries (FF-16-TUI)

https://github.com/HexLasso/FF-16-TUI
25•HexLasso•3h ago•2 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.