frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Beam: Reflection's 501B open-weight model

https://reflection.ai/blog/introducing-beam
84•Philpax•46m ago•20 comments

Why Plain Text Is Still One of the Best Technologies We Have

https://deadparrotbbs.com/why-plain-text-is-still-one-of-the-best-technologies-we-have/
45•speckx•1h ago•10 comments

Web Search API

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/
388•tosh•9h ago•188 comments

OpenAI "rogue" agent activities found on Wikimedia projects

https://diff.wikimedia.org/2026/10/05/openai-rogue-agent-activities-found-on-wikimedia-projects/
181•brokensegue•2h ago•113 comments

The future of independence is interdependence

https://onlys.ky/independence-is-interdependence/
110•eustoria•4h ago•71 comments

Making a GTK application in Haskell, part 1

https://floreal.tech/blog/2026/making-a-gtk-app-in-haskell-part-1/
108•Vosporos•5h ago•19 comments

How did Rosalind Franklin miss the helix in her iconic DNA image? She didn't

https://www.science.org/content/article/how-did-rosalind-franklin-miss-helix-her-iconic-dna-image...
18•pavel_lishin•56m ago•5 comments

Show HN: Nightwatch – a Mac menu-bar app that tells you when tonight is clear

https://github.com/rsutcliffe/nightwatch
40•delphidolphin•1d ago•4 comments

Denmark Data Breach Exposes 8.8M People's Personal Data

https://www.cpr.dk/cpr-nyt/nyhedsarkiv/2026/okt/omfattende-uautoriseret-adgang-til-borgeres-cpr-o...
424•clan•11h ago•305 comments

Linux containers in 500 lines of code

https://blog.lizzie.io/linux-containers-in-500-loc.html
58•mkornaukhov•5h ago•11 comments

Competitive Programmer's Handbook (2018) [pdf]

https://cses.fi/book/book.pdf
12•vinhnx•2d ago•0 comments

Anthropic reported diary entry to police, woman faces felony charge

https://www.techspot.com/news/114091-florida-woman-used-claude-diary-anthropic-reported-shoot.html
309•emptybits•14h ago•239 comments

Huawei and Qualcomm announce broad patent license agreement

https://www.huawei.com/en/news/2026/10/qualcomm-broad-patent-agreement
159•0xedb•12h ago•95 comments

Norway Eyes Partial Ban of Smart Glasses

https://www.barrons.com/news/norway-eyes-partial-ban-of-smart-glasses-e65dc239
38•pseudolus•1h ago•8 comments

The technology to eradicate mosquito-borne disease exists

https://worksinprogress.co/issue/mosquitoes-are-a-choice/
199•benbreen•1d ago•149 comments

The designer lamps in my house

https://arslan.io/2026/10/05/the-lamps-in-my-house/
53•farslan•5h ago•30 comments

Differences Between `Foldl` and `Foldr`

https://blog.haskell.org/foldl-and-foldr/
115•signa11•4d ago•25 comments

Beating the Compiler

https://www.mattkeeter.com/blog/2024-07-12-interpreter/
49•andsoitis•4d ago•31 comments

US closely monitoring case of lab worker who possibly died of plague in Siberia

https://www.theguardian.com/world/2026/oct/05/russia-lab-worker-possibly-dies-of-plague-siberia-q...
169•tosh•3h ago•144 comments

One person is now a quorum at the SEC

https://www.ft.com/content/3120782c-1ea0-4fdc-9462-0a4b4658f70f
27•mooreds•56m ago•8 comments

Pixel 11 doesn't yet meet the GrapheneOS security standards and may be skipped

https://discuss.grapheneos.org/d/41564-pixel-11-doesnt-yet-meet-the-grapheneos-security-standards...
362•finnlab•7h ago•201 comments

2026 Nobel Prize in Physiology or Medicine: Deisseroth, Hegemann, Nagel

https://www.nobelprize.org/prizes/medicine/2026/summary/
82•lode•10h ago•37 comments

Mold Linker Version 3.0.0 Release – Rewritten in Rust

https://github.com/rui314/mold/releases/tag/v3.0.0
202•roflcopter69•8h ago•116 comments

AI Companies Are Parasites

https://www.coryd.dev/posts/2026/ai-companies-are-parasites
11•cdrnsf•33m ago•0 comments

Greenvolt begins building 600 MW/2.4 GWh BESS in Poland

https://www.ess-news.com/2026/09/25/greenvolt-begins-building-600-mw-2-4-gwh-bess-in-poland/
20•msalsas•1h ago•12 comments

Martian chaos terrain

https://en.wikipedia.org/wiki/Martian_chaos_terrain
74•tiagod•3d ago•19 comments

Hot Flashing Guide Rev. 2.0 (2004)

https://archive.techarp.com/showarticle504a.html?pgno=0
5•userbinator•2d ago•0 comments

In the wake of Tippett Studios’ closure, a digital archive appears online

https://filmstories.co.uk/news/tippett-studios-in-the-wake-of-its-closure-a-digital-archive-of-an...
229•rdmuser•23h ago•30 comments

Mystery Function

https://codeset.ai/function
35•andre15silva•3d ago•8 comments

A browser-native classic Visual Basic VB6 IDE

https://wieslawsoltes.github.io/VB6/
377•wiso•1d ago•126 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.