frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Three Inverse Laws of AI

https://susam.net/inverse-laws-of-robotics.html
177•blenderob•2h ago•96 comments

Accelerating Gemma 4: faster inference with multi-token prediction drafters

https://blog.google/innovation-and-ai/technology/developers-tools/multi-token-prediction-gemma-4/
96•amrrs•1h ago•32 comments

EEVblog: The 555 Timer is 55 years old

https://www.youtube.com/watch?v=6JhK8iCQuqI
77•brudgers•1h ago•13 comments

UK: Two millionth electric car registered as market rebounds strongly

https://www.smmt.co.uk/two-millionth-electric-car-registered-as-market-rebounds-strongly-from-tax...
93•kieranmaine•1h ago•82 comments

Computer Use Is 45x More Expensive Than Structured APIs

https://reflex.dev/blog/computer-use-is-45x-more-expensive-than-structured-apis/
54•palashawas•1h ago•30 comments

Proliferate (YC S25) Is Hiring- 200k for junior engineers

https://www.ycombinator.com/companies/proliferate/jobs/L3copvK-founding-engineer
1•pablo24602•40m ago

IBM didn't want Microsoft to use the Tab key to move between dialog fields

https://devblogs.microsoft.com/oldnewthing/20260505-00/?p=112298
11•SeenNotHeard•12m ago•1 comments

Should I Run Plain Docker Compose in Production in 2026?

https://distr.sh/blog/running-docker-in-production/
253•pmig•5d ago•192 comments

Async Rust never left the MVP state

https://tweedegolf.nl/en/blog/237/async-rust-never-left-the-mvp-state
369•pjmlp•10h ago•204 comments

iOS 27 is adding a 'Create a Pass' button to Apple Wallet

https://walletwallet.alen.ro/blog/ios-27-wallet-create-pass/
285•alentodorov•5h ago•230 comments

Agents for financial services and insurance

https://www.anthropic.com/news/finance-agents
98•louiereederson•2h ago•73 comments

Docker 29 has changed its default image store for new installs

https://docs.docker.com/engine/storage/containerd
83•neitsab•3d ago•39 comments

Show HN: Airbyte Agents – context for agents across multiple data sources

40•mtricot•2h ago•6 comments

AI Product Graveyard

https://tooldirectory.ai/ai-graveyard
206•StriverGuy•4h ago•79 comments

Collaborative Editing in CodeMirror

https://marijnhaverbeke.nl/blog/collaborative-editing-cm.html
7•luu•2d ago•0 comments

When everyone has AI and the company still learns nothing

https://www.robert-glaser.de/when-everyone-has-ai-and-the-company-still-learns-nothing/
204•youngbrioche•8h ago•135 comments

Simple Meta-Harness on Islo.dev

https://zozo123.github.io/meta-harness-on-islo-page/
29•zozo123-IB•3h ago•17 comments

Comparing the Z80 and 6502 to Their Relatives

https://bumbershootsoft.wordpress.com/2026/05/02/comparing-the-z80-and-6502-to-their-relatives/
61•ibobev•2d ago•0 comments

Empty Screenings – Finds AMC movie screenings with few or no tickets sold

https://walzr.com/empty-screenings
271•MrBuddyCasino•13h ago•227 comments

Incident with Actions

https://www.githubstatus.com/incidents/1j40g94rn22j
116•pera•3h ago•60 comments

I'm Scared About Biological Computing

https://kuber.studio/blog/Reflections/I%27m-Scared-About-Biological-Computing
8•kuberwastaken•1h ago•0 comments

AI didn't delete your database, you did

https://idiallo.com/blog/ai-didnt-delete-your-database-you-did
364•Brajeshwar•3h ago•194 comments

Did I photograph the Aurora or was it something else? (2016)

https://wp.lancs.ac.uk/aurorawatchuk/2016/03/16/did-i-photgraph-the-aurora-or-was-it-something-else/
11•susam•3d ago•3 comments

Google Chrome silently installs a 4 GB AI model on your device without consent

https://www.thatprivacyguy.com/blog/chrome-silent-nano-install/
820•john-doe•10h ago•572 comments

Lessons for Agentic Coding: What should we do when code is cheap?

https://www.dbreunig.com/2026/05/04/10-lessons-for-agentic-coding.html
179•ingve•10h ago•191 comments

Instagram Encrypted Messaging Ends on Friday, May 8

https://www.macrumors.com/2026/05/05/psa-instagram-encrypted-messaging-ends-may-8/
46•fraXis•1h ago•20 comments

The first photo published in a newspaper

https://phsne.org/the-first-photograph-published-in-a-newspaper-1848/
31•geuis•2d ago•14 comments

Show HN: I built a new word game, Wordtrak

https://wordtrak.com/blog/2026-05-05-I-built-a-new-word-game
50•qrush•5h ago•26 comments

Hand Drawn QR Codes (2025)

https://sethmlarson.dev/hand-drawn-qr-codes
186•jollyjerry•13h ago•39 comments

New Landing Page for Awesome PaaS

https://debarshibasak.github.io/awesome-paas/
7•debarshri•2h ago•5 comments
Open in hackernews

Pglocks.org

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

Comments

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