frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Squashfs: Fix a lot of AI issues and AI style issues

https://lkml.iu.edu/hypermail/linux/kernel/2611.2/22806.html
26•gpi•37m ago•5 comments

Bob's Company

https://lucumr.pocoo.org/2026/11/28/bob/
219•BerislavLopac•4h ago•121 comments

Baggins End

https://www.bagginsend.net/
15•tosh•1h ago•5 comments

Show HN: A GUI for polishing the text your coding agent writes

https://draftmux.raine.dev/
26•rane•1h ago•8 comments

Initial Assessment of Anthropic's Findings on Lattice Cryptography

https://cirg.org/statements/1/
707•nwcs•13h ago•354 comments

Best Buy Putting 4K UHD Discs Back on Store Shelves

https://www.mediaplaynews.com/the-odyssey-was-not-a-one-off-best-buy-putting-4k-uhd-discs-back-on...
493•kartik147•13h ago•347 comments

Cloudflare Clairic System One Extraction Models Are Now Open-Weight

https://blog.cloudflare.com/open-clairic/
206•reddmachine•9h ago•44 comments

Hetzner Inference API

https://www.hetzner.com/ai/inference-api/
270•PaoloBarbolini•3h ago•95 comments

Red heads are linked to a mutation that makes them resistant to anesthesia (2024)

https://health.clevelandclinic.org/why-do-redheads-need-more-anesthesia
212•illidan1000•12h ago•120 comments

CrowdGPT – A Collaboratively Trained AI

https://www.crowdgpt.net/
504•Vxtzq•17h ago•193 comments

Galactic quasi-polynomial quantum algorithms for integral and module lattices [pdf]

https://github.com/anthropics/formal-math/blob/main/lattices/papers/01-quasi-polynomial-quantum-a...
283•Skrillor•13h ago•146 comments

Goals don't work. Rely on your values

https://adam.ci/train/goals-do-not-work/
35•adamci•1h ago•5 comments

The Exponential Rise of Agent Instruction Files

https://homes.cs.washington.edu/~reshabh/posts/exponential-rise-of-agent-instruction-files.html
23•reshabh•1d ago•11 comments

Chez Scheme from a Clojurian Perspective

https://get-aksh.com/blog/chez-from-a-clojurian-perspective
30•pushpankar•2d ago•27 comments

Advent of Puzzles – An advent calendar with 25 logic puzzles

https://adventofpuzzles.io/
277•ruslan5t•12h ago•65 comments

Usb2shell: Root on Linux from a USB Plug-In

https://usb2shell.com/
303•matanyall•15h ago•128 comments

We Must Pace the Frontier, Part 2

https://darioamodei.com/post/we-must-pace-the-frontier-part-2
533•denysvitali•23h ago•1064 comments

Adhesive coatings in naval archaeology: Materials from Roman Republican wreck

https://www.frontiersin.org/journals/materials/articles/10.3389/fmats.2026.1758862/full
3•bookofjoe•1d ago•0 comments

Homomorphic encrypted Llama 3.1 8B at 1.7 tokens per second

https://bel.belfortlabs.com/
206•solyin•14h ago•83 comments

Satmux: 3.6x faster inflight Wi-Fi via BBR TCP multiplexing

https://github.com/Th0rgal/satmux
131•joshcsimmons•2d ago•20 comments

Post-quantum cryptography is still safe

https://blog.cloudflare.com/pq-is-still-safe/
156•soheilpro•11h ago•28 comments

Reading unreadable tapes: A universal reader for mini QIC cartridges

https://dmitrybrant.com/2026/11/28/mini-qic-universal-reader
33•zdw•2d ago•2 comments

Writing a paper is no longer a signal

https://lemire.me/blog/2026/11/30/writing-a-paper-is-no-longer-a-signal/
283•zdw•15h ago•230 comments

The Camera Caps Kenyans Are Paid to Wear While Going About Daily Lives

https://www.tuko.co.ke/people/family/647605-nairobi-mysterious-camera-caps-kenyans-paid-wear-dail...
72•gnabgib•2d ago•37 comments

'Big fat lady' hawk who ate too many chickens to fly soars free once again

https://www.cbc.ca/radio/asithappens/hefty-hawk-released-9.7439479
20•randycupertino•2d ago•5 comments

A Visual Guide to Agent Harnesses

https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-agent-harnesses
348•mariuz•20h ago•57 comments

People must remain in control of the future

https://openai.com/index/people-must-remain-in-control-of-the-future/
271•j4mie•18h ago•409 comments

Why is the keyboard and telephone numbers in a different order? (2020)

https://retrocomputing.stackexchange.com/questions/15611
107•Skyfall106•12h ago•33 comments

DoorDash reduced LLM search costs by 98% without losing accuracy

https://careersatdoordash.com/blog/how-doordash-reduced-llm-search-costs-by-98-without-losing-acc...
234•ersinesen•18h ago•187 comments

Netflix turns low-fidelity media into production-grade HDR with GlowNet

https://netflixtechblog.com/how-netflix-turns-low-fidelity-media-into-production-grade-hdr-with-g...
206•mfrw•17h ago•156 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.