frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Mistral Large 4

https://mistral.ai/news/mistral-large-4/\
1343•Philpax•7h ago•835 comments

Nobel Prize in Physics 2026: Francis Halzen

https://www.nobelprize.org/prizes/physics/2026/
457•solarist•10h ago•153 comments

A sustainable web career, for when all this blows over

https://dbushell.com/2026/10/07/sustainable-web-career/
16•ibobev•1h ago•6 comments

Lawmakers Introduce Multiple Laws to Curb Flock After 404 Media Coverage

https://www.404media.co/lawmakers-introduce-multiple-laws-to-curb-flock-after-404-media-coverage/
59•awoodbeck•49m ago•17 comments

Berthd

https://berthd.app/
33•handfuloflight•1h ago•38 comments

Tapo (Rust/Python library) now speaks TP-Link's TPAP protocol

https://mihai.dinculescu.dev/posts/tapo-speaks-tpap/
116•faithraven•6h ago•53 comments

Benchmark in Milliseconds

https://matklad.github.io/2026/10/05/benchmark-milliseconds.html
103•surprisetalk•1d ago•24 comments

The Early History of Smalltalk (1993)

https://worrydream.com/EarlyHistoryOfSmalltalk/
84•_reza•5h ago•38 comments

Gleam doesn't compile to Erlang source anymore

https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/
262•ingve•12h ago•105 comments

Paramount completes $111B Warner merger, creating "Skydance" behemoth

https://arstechnica.com/tech-policy/2026/10/paramount-completes-111b-warner-merger-creating-skyda...
9•Mgtyalx•10m ago•3 comments

Mathematics of Geothermal Energy

https://www.ebsco.com/research-starters/power-and-energy/mathematics-geothermal-energy/
56•srameshc•7h ago•28 comments

EmbeddingGemma 2

https://blog.google/innovation-and-ai/technology/developers-tools/embeddinggemma-2/
33•ilreb•4h ago•3 comments

Subquadratic 3SUM and Subcubic APSP

https://arxiv.org/abs/2610.06783
69•mauriziocalo•8h ago•25 comments

Polars 2.0

https://pola.rs/posts/release-polars-2/
369•simicd•8h ago•85 comments

Show HN: I turned my iPhone and a $20 smart plug into an f-stop timer

https://peterszentkiralyi.eu/darkplug/
47•pentakkusu•6h ago•7 comments

Nature's capacity to 'bounce back' when species are lost is overestimated: study

https://phys.org/news/2026-10-nature-capacity-species-lost-vastly.html
275•pseudolus•9h ago•139 comments

Beam: Reflection's 501B open-weight model

https://reflection.ai/blog/introducing-beam
529•Philpax•1d ago•164 comments

What's Earth's dominant species by mass?

https://signoregalilei.com/2026/09/27/whats-earths-dominant-species-by-mass/
61•surprisetalk•8h ago•18 comments

Show HN: Parseable, an open observability datalake, handles 100M time-series/min

https://www.parseable.com
63•yashdotrv•7h ago•13 comments

Example.com just launched the biggest redesign in decades

https://www.debugbear.com/blog/example-dot-com-redesign-history
325•jgx0•21h ago•220 comments

Erdosproblems.com Succumbs to the AI Onslaught

https://www.erdosproblems.com/forum/thread/blog:9
42•pfdietz•7h ago•4 comments

Find the flattest route between any two points in SF

https://flattensf.com/
294•ishan0102•23h ago•104 comments

Dust: Pretraining Transformers Without Backpropagation

https://qlabs.sh/research/dust
261•E-Reverance•23h ago•75 comments

Direct retinal projection display for smart glasses using a meta-optic mirror

https://www.tdk.com/en/news_center/press/20261002_01.html
113•bookofjoe•3d ago•54 comments

Friendship ended with Deno, now Node is my best friend

https://dbushell.com/2026/10/03/deno-to-node/
296•ibobev•22h ago•223 comments

System-level ad-blocking in Android

https://kevinboone.me/adblock.html
3•birdculture•15m ago•0 comments

Best-selling Zigbee temperature sensors tested and compared

https://smarthomescene.com/reviews/best-selling-zigbee-temperature-sensors-tested/
213•walrus01•2d ago•116 comments

World's First enhanced geothermal power plant completed in just 23 months

https://techcrunch.com/2026/10/01/worlds-first-enhanced-geothermal-power-plant-completed-in-just-...
135•hochmartinez•9h ago•56 comments

Competitive Programmer's Handbook (2018) [pdf]

https://cses.fi/book/book.pdf
297•vinhnx•3d ago•76 comments

Toronto-Based VPN Provider Plans to Quit Canada over Lawful-Access Bill

https://citizenlab.ca/toronto-based-vpn-provider-plans-to-quit-canada-over-lawful-access-bill/
8•speckx•1h ago•0 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.