frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The End of an Athlon

http://www.os2museum.com/wp/the-end-of-an-athlon/
110•userbinator•5h ago•32 comments

To become a better writer, read as much as you can

https://nappertime.com/the-golden-rule-of-becoming-a-better-writer/
186•andsoitis•7h ago•126 comments

JIT Compiling Code in 5μs

https://malisper.me/jit-compiling-code-in-5-us/
76•zX41ZdbW•5h ago•38 comments

MartyPC is a cross-platform emulator of early PCs written in Rust

https://martypc.net/
124•boilerupnc•8h ago•41 comments

Fast and Hard Code

https://lucumr.pocoo.org/2026/8/22/fast-hard-code/
45•tosh•5h ago•8 comments

Why your local LLM feels dumber than it is

https://forum.level1techs.com/t/why-your-local-llm-feels-dumber-than-it-is/253917
373•felineflock•17h ago•137 comments

The Art and Beauty of Blade Runner (2015)

https://nappertime.com/the-art-of-and-beauty-of-blade-runner/
96•cocacola1•10h ago•37 comments

The Sloppification of Peptides

https://henryaj.substack.com/p/the-sloppification-of-peptides
30•henryaj•1h ago•0 comments

Scrap (2006)

https://twitter.com/moxie/status/2091218652133732491
376•tosh•17h ago•197 comments

ElevenLabs, TwelveLabs, ThirteenLabs

https://quantumi.sh/public/labs.html
408•jemoka•20h ago•125 comments

Hister – A private, full content search index that you control

https://hister.org/
370•auraham•4d ago•84 comments

Thinking in Python

https://thinkinginpython.com/
192•pjacotg•17h ago•36 comments

NanoGPT Speedrun Frontier

https://www.primeintellect.ai/research/nanogpt-speedrun
110•stared•13h ago•27 comments

typ.ing

https://typ.ing/
283•bookofjoe•4d ago•92 comments

RF Cafe

https://www.rfcafe.com/
206•gregsadetsky•4d ago•37 comments

New MCP Roadmap

https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
218•pentagrama•21h ago•136 comments

I set a trap for a book-marketing scammer (2025)

https://rwwgreene.substack.com/p/i-set-a-trap-for-a-book-marketing
50•rznicolet•17h ago•34 comments

How a Texas student blew the whistle on a rogue AI hacking attempt

https://www.reuters.com/world/how-texas-student-blew-whistle-rogue-ai-hacking-attempt-2026-08-20/
167•olalonde•1d ago•76 comments

Doomscrolling at work wastes time, but the real cost is what happens after

https://stories.tamu.edu/news/2026/08/13/doomscrolling-at-work-wastes-time-but-the-real-cost-is-w...
15•giuliomagnifico•1h ago•8 comments

A week of using Codex more than Claude

https://allaboutcoding.ghinda.com/a-week-of-using-codex-more-than-claude/
206•speckx•1d ago•229 comments

A Friendly Introduction to Racket

https://geometridae.bearblog.dev/a-friendly-introduction-to-racket/
236•signa11•21h ago•130 comments

NetBSD and my life (2005)

https://mail-index.netbsd.org/netbsd-advocacy/2005/09/10/0000.html
129•gnyeki•16h ago•29 comments

Mathematicians will probably become obsolete before anyone else [pdf]

https://olli.unt.edu/handouts/fall24/tk-writing-sample.pdf
67•tiahura•11h ago•37 comments

ATProto spaces: A new extension to ATProto that enables non-public data

https://atproto.com/blog/atproto-spaces-alpha
147•grappler•2d ago•18 comments

Wi-Fi 8 is the first wireless upgrade in years that isn't chasing speed

https://www.xda-developers.com/wi-fi-8-first-wireless-upgrade-years-isnt-chasing-speed-home-netwo...
121•taubek•4h ago•90 comments

I Dream of Quieter Computing

https://henry.codes/writing/i-dream-of-quieter-computing/
81•Sir_Twist•8h ago•68 comments

Munder Difflin – Agent harness to run an office of your clones

https://munderdiffl.in/
285•simonpure•1d ago•123 comments

Figmimic – A bookmarklet to copy any webpage into Figma as editable layers

https://marcua.net/minitools/figmimic/
103•speckx•17h ago•14 comments

Show HN: Public Muscriptor Instance (latest, most powerful Audio-to-MIDI model)

https://www.pianoify.net/
48•jardy•1d ago•9 comments

Z80 – The 1970s Microprocessor Still Alive (2021)

https://www.computer.org/csdl/magazine/mi/2021/06/09623402/1yJTvlRLmhi
143•asdefghyk•1d ago•69 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.