frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ghostty is leaving GitHub

https://mitchellh.com/writing/ghostty-leaving-github
1756•WadeGrimridge•6h ago•565 comments

ChatGPT serves ads. Here's the full attribution loop

https://www.buchodi.com/how-chatgpt-serves-ads-heres-the-full-attribution-loop/
156•lmbbuchodi•2h ago•101 comments

Claude system prompt bug wastes user money and bricks managed agents

https://github.com/anthropics/claude-code/issues/49363
111•thomashobohm•2h ago•31 comments

Before GitHub

https://lucumr.pocoo.org/2026/4/28/before-github/
275•mlex•5h ago•75 comments

We decreased our LLM costs with Opus

https://www.mendral.com/blog/frontier-model-lower-costs
31•shad42•1h ago•4 comments

Claude for Creative Work

https://www.anthropic.com/news/claude-for-creative-work
55•elsewhen•2h ago•38 comments

OpenAI models coming to Amazon Bedrock: Interview with OpenAI and AWS CEOs

https://stratechery.com/2026/an-interview-with-openai-ceo-sam-altman-and-aws-ceo-matt-garman-abou...
186•translocator•7h ago•71 comments

I won a championship that doesn't exist

https://ron.stoner.com/How_I_Won_a_Championship_That_Doesnt_Exist/
84•SEJeff•5h ago•59 comments

Intel Arc Pro B70 Review

https://www.pugetsystems.com/labs/articles/intel-arc-pro-b70-review/
118•zdw•4d ago•62 comments

Behavioral timescale synaptic plasticity rewires the brain after an experience

https://www.quantamagazine.org/a-new-type-of-neuroplasticity-rewires-the-brain-after-a-single-exp...
61•ibobev•1d ago•0 comments

GitHub RCE Vulnerability: CVE-2026-3854 Breakdown

https://www.wiz.io/blog/github-rce-vulnerability-cve-2026-3854
253•bo0tzz•10h ago•63 comments

CJIT: C, Just in Time

https://dyne.org/cjit/
90•smartmic•7h ago•25 comments

Your phone is about to stop being yours

https://keepandroidopen.org/en/
1005•doener•11h ago•488 comments

Who owns the code Claude Code wrote?

https://legallayer.substack.com/p/who-owns-the-claude-code-wrote
262•senaevren•15h ago•300 comments

Warp is now open-source

https://www.warp.dev/blog/warp-is-now-open-source
169•meetpateltech•10h ago•54 comments

Carrot Disclosure: Forgejo

https://dustri.org/b/carrot-disclosure-forgejo.html
101•bo0tzz•4h ago•39 comments

Localsend: An open-source cross-platform alternative to AirDrop

https://github.com/localsend/localsend
743•bilsbie•14h ago•235 comments

Nonlinearity Affects a Pendulum

https://www.johndcook.com/blog/2026/04/24/nonlinear-pendulum/
3•ibobev•1d ago•0 comments

Patch applies fake diffs from commit messages

https://samizdat.dev/phantom-patch/
83•reconquestio•1d ago•24 comments

VibeVoice: Open-source frontier voice AI

https://github.com/microsoft/VibeVoice
321•tosh•14h ago•168 comments

UAE to leave OPEC

https://www.ft.com/content/8c354f2d-3e66-47f1-aad4-9b4aa30e386d
347•bazzmt•13h ago•479 comments

I have officially retired from Emacs

https://nullprogram.com/blog/2026/04/26/
182•Fudgel•3d ago•120 comments

Talkie: a 13B vintage language model from 1930

https://talkie-lm.com/introducing-talkie
648•jekude•1d ago•262 comments

A playable DOOM MCP app

https://chrisnager.com/blog/doom-runs-in-chatgpt-and-claude/
78•chrisnager•7h ago•28 comments

Infisical (YC W23) Is Hiring Full Stack Software Engineers (Remote)

https://jobs.ashbyhq.com/infisical/782b9da8-20e1-48b2-919e-6c5430c58628
1•vmatsiiako•9h ago

An update on GitHub availability

https://github.blog/news-insights/company-news/an-update-on-github-availability/
321•salkahfi•16h ago•211 comments

Show HN: Drive any macOS app in the background without stealing the cursor

https://github.com/trycua/cua
60•frabonacci•10h ago•22 comments

APL\? (1990)

https://dl.acm.org/doi/epdf/10.1145/97811.97845
21•tosh•4d ago•8 comments

Waymo in Portland

https://waymo.com/blog/shorts/waymo-in-portland/
253•xnx•8h ago•408 comments

Show HN: Live Sun and Moon Dashboard with NASA Footage

https://www.lumara-space.app/
163•beeswaxpat•13h ago•58 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.