frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gemini 3.6 Flash, 3.5 Flash-Lite, and 3.5 Flash Cyber

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-6-flash-3-5-flas...
185•logickkk1•1h ago•127 comments

Long Presumed Dead, a Thriving Coral Reef Is Discovered in West Africa

https://e360.yale.edu/digest/benin-coral-reef
38•speckx•42m ago•1 comments

NPM's release cooldown is security theater

https://blog.outv.im/2026/npm-cooldown-security-theater/
25•outloudvi•38m ago•17 comments

PCjs Machines

https://www.pcjs.org/
74•naves•2h ago•6 comments

Qwen-Image-3.0: Rich Content, Authentic Details, Deep Knowledge

https://qwen.ai/blog?id=qwen-image-3.0
427•ilreb•7h ago•177 comments

Apple Defeats Liability for Not Scanning iCloud for CSAM

https://blog.ericgoldman.org/archives/2026/07/apple-defeats-liability-for-not-scanning-icloud-for...
134•speckx•1h ago•82 comments

The World's 2,400 Castles

https://thecastlemap.com/
6•marklit•18m ago•0 comments

France's Anssi Will Block PQC-Free Products from Certification Starting 2027

https://postquantum.com/security-pqc/anssi-pqc-certification-2027/
8•Sami_Lehtinen•22m ago•0 comments

Amid Increased Scrutiny, ICE Detention and Deportation Data Goes Dark

https://www.themarshallproject.org/2026/07/15/ice-data-immigration-detention-transparency
89•Jimmc414•1h ago•7 comments

ICE to Pay Thomson Reuters $125M to Find Voter Fraud

https://www.404media.co/ice-to-pay-thomson-reuters-125-million-to-find-voter-fraud/
133•Jimmc414•1h ago•58 comments

Python 3.15's Ultra-Low Overhead Interpreter Profiling Mode – Ken Jin's Blog

https://fidget-spinner.github.io/posts/ultra-fast-tracing.html
98•rbanffy•6d ago•3 comments

Who's afraid of Chinese models?

https://stratechery.com/2026/whos-afraid-of-chinese-models/
875•mfiguiere•1d ago•708 comments

Oracle could face $7B collateral bill for Wisconsin data centre

https://www.ft.com/content/b37030b6-bda8-4ba9-8e08-e6b88687b8f5
46•1vuio0pswjnm7•1h ago•19 comments

Incremental – A library for incremental computations

https://github.com/janestreet/incremental
304•handfuloflight•12h ago•57 comments

Show HN: Explore 6048 YC companies as an interactive galaxy

https://artifacta.io/a/pg_x9pombpdybx90q2s16eu
24•jnakano89•2d ago•8 comments

Jelly UI: Soft-body physics for native HTML form controls

https://jelly-ui.com/
621•baldvinmar•23h ago•189 comments

Claude Is Not a Compiler

https://blog.exe.dev/claude-is-not-a-compiler
85•bryanmikaelian•1h ago•82 comments

Kimi Work

https://www.kimi.com/products/kimi-work
638•ms7892•23h ago•262 comments

Human mathematicians are being outcounterexampled

https://xenaproject.wordpress.com/2026/07/20/human-mathematicians-are-being-outcounterexampled/
438•artninja1988•21h ago•215 comments

How to pack ternary numbers in 8-bit bytes

https://compilade.net/blog/ternary-packing
74•JoshTriplett•6d ago•39 comments

Arduino Launches Plug-and-Play Modules for Long-Range Sensor Projects

https://www.allaboutcircuits.com/news/arduino-launches-plug-and-play-modules-for-long-range-senso...
69•WaitWaitWha•3d ago•32 comments

The unreasonable difficulty of time series forecasting

https://suzyahyah.github.io/machine%20learning/2026/06/27/trouble-with-time-series.html
3•suzyahyah•2d ago•0 comments

Running Doom on Our Custom CPU and Going Viral

https://www.armaangomes.com/blogs/doom/
121•arghunter•12h ago•33 comments

Motion Sensors and Home Security Gadgets Without Cameras

https://www.wired.com/story/best-motion-sensors-private-alternatives-security/
34•joozio•2d ago•14 comments

Nativ: Run frontier open models locally on your Mac

https://blaizzy.github.io/nativ/
349•aratahikaru5•22h ago•121 comments

Shanay-Timpishka, a boiling hot river 700km from the nearest active volcano

https://terradaily.com/anything-that-falls-into-a-four-kilometre-stretch-of-a-river-in-the-centra...
20•camtarn•4d ago•4 comments

Show HN: Immersive Gaussian Splat tour of grace cathedral, San Francisco

https://vincentwoo.com/3d/grace_cathedral/
237•akanet•20h ago•51 comments

A Koi Pond Mosaic Made from 10 Pounds of 3D Printer Waste

https://www.instructables.com/A-Koi-Pond-Mosaic-Made-From-10-Pounds-of-3D-Printe/
65•sudo_cowsay•12h ago•44 comments

I wrote an bash enumerator because I was sick of xargs

https://numerlab.org/2025/07/20/bashumerate-enumerator/
187•wallach-game•20h ago•163 comments

Amid nurse shortage, a university rolls out the welcome mat for men

https://text.npr.org/nx-s1-5869813
7•mooreds•23m 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.