frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gemini 4 Argon

https://deepmind.google/models/gemini/
1108•737max•11h ago•806 comments

Ledger confirms spy chip implant behind wallet crypto thefts

https://www.bleepingcomputer.com/news/security/ledger-confirms-hardware-wallet-spy-implant-behind...
519•thm•1d ago•374 comments

Show HN: Guitoro, a virtual guitar you strum with your keyboard

https://guitoro.com/
338•talccc•8h ago•96 comments

Grace Hopper Celebration Cancelled

https://anitab.org/press-release
29•mooreds•5h ago•3 comments

Redesigning source control at Anthropic

https://www.anthropic.com/engineering/redesigning-source-control
608•Philpax•12h ago•581 comments

Apple HomeView

https://www.apple.com/apple-homeview/
697•etothet•14h ago•821 comments

I built a tool to track what AI leaders say and how their views change on video

https://blumify.io/people
31•gcsydney•2h ago•24 comments

900-Page Pre-Pantone Guide to Color from 1692 (With Complete High-Res Scan)

https://www.openculture.com/2026/10/a-900-page-pre-pantone-guide-to-color-from-1692.html
75•mdp2021•1d ago•8 comments

Thunderbird for iOS

https://blog.thunderbird.net/2026/10/thunderbird-for-ios-a-first-look-at-the-native-iphone-email-...
373•mjorgers•12h ago•162 comments

High-speed video reveals how honey bee stingers pump venom

https://arstechnica.com/science/2026/10/honey-bee-stingers-are-double-piston-venom-pumps/
36•gumby•2h ago•6 comments

Show HN: How random are you?

https://lab.specr.net/rigged-draw/
93•vunderba•11h ago•53 comments

Recreational Programming

https://www.cphiri.dev/presentations/recreational-programming
97•jslakro•5h ago•32 comments

Sound – Bartosz Ciechanowski

https://ciechanow.ski/sound/
5•dverlaeckt80•2d ago•1 comments

Show HN: Pulse Local, a Mac budgeting app whose AI models run on your machine

https://pulseos.finance
79•niztk•4h ago•45 comments

The United Kingdom generates less electricity per person than in the 1970s

https://ourworldindata.org/data-insights/electricity-generation-per-person-in-the-united-kingdom-...
233•karakoram•12h ago•326 comments

I posted to HN, and then my website was flooded with AI bot traffic

https://www.sammystraus.com/#i-posted-to-hn-and-then-my-website-was-flooded-with-ai-bot-traffic
281•sammy0910•12h ago•157 comments

AlphaNIST

https://alpha-nist.github.io/
56•jasonjmcghee•6h ago•14 comments

Apple's new 'Switch to Safari' campaign details why you should ditch Chrome

https://9to5mac.com/2026/10/12/apples-new-switch-to-safari-campaign-details-why-you-should-ditch-...
220•ivell•13h ago•362 comments

New Apple TV 4K

https://www.apple.com/newsroom/2026/10/apple-unveils-the-new-apple-tv-4k/
313•corvad•14h ago•569 comments

PostEra (YC W20) Is Hiring AI Researchers for Drug Discovery

https://jobs.lever.co/postera/c7d50a36-db0a-4574-bfe4-8700b74a22c0
1•morraa•7h ago

MIT class project turns into an FDA-cleared treatment for tremors

https://news.mit.edu/2026/mit-class-project-turns-into-fda-cleared-treatment-for-tremors-1002
175•zdw•1d ago•34 comments

Is 'Attention' the Essence of Intelligence?

https://www.quantamagazine.org/is-attention-the-essence-of-intelligence-20261012/
8•bcaulfield•50m ago•0 comments

Show HN: XY Music Notation

https://music.xy.dev/
57•jmole•10h ago•41 comments

OpenAI engineer arrested in bugging of executive conference room

https://sfstandard.com/2026/10/13/openai-engineer-arrested-alleged-bugging-executive-conference-r...
467•forthwall•7h ago•405 comments

Physical Intelligence API Beta: Frontier Models for Every Robot

https://www.pi.website/blog/api-beta
45•modeless•6h ago•0 comments

Maybe a better way to track the release history of a Git repo

https://blog.plover.com/prog/git/history-proposal.html
10•evakhoury•1d ago•0 comments

A Dynamic and Distributed Virtual GPU Cloud Built on Idle Apple Silicon Devices

https://machinelearning.apple.com/research/distributed-gpu-cloud
239•acossta•15h ago•96 comments

Hiking the world in search of rare cheeses

https://www.bbc.com/travel/article/20261007-the-man-hiking-the-world-in-search-of-rare-cheeses
74•tosh•1d ago•20 comments

Character.ai has initiated voluntary Chapter 11 bankruptcy

https://blog.character.ai/an-update-on-character-ai/
310•nryoo•20h ago•274 comments

The Four Colour Theorem: The first time machines mogged mathematicians

https://newsletter.pessimistsarchive.org/p/the-1st-time-machines-mogged-mathematicians
52•list•8h ago•30 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.