frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I like 'em thick: an apology to my English teachers

https://www.experimental-history.com/p/i-like-em-thick
288•Ariarule•2d ago•121 comments

AliExpress runs silent WebAudio fingerprinting that breaks Bluetooth multipoint

https://blog.laserphile.com/2026/08/aliexpress-webpage-keeping-multipoint.html
679•emctech•8h ago•225 comments

HTML Can Do That

https://chrisburnell.com/html-can-do-that/
301•encyclopedism•1d ago•87 comments

CIA funding helped keep NeXT afloat in the 80s

https://www.wsj.com/tech/steve-jobs-apple-next-cia-161b65f9?st=NWWds1&reflink=desktopwebshare_per...
190•EwanG•18h ago•99 comments

Show HN: I trained a 125M model to autocomplete piano on-device

https://simedw.com/2026/08/20/midi-autocomplete/
366•simedw•6h ago•87 comments

Linux 7.2 Released

https://www.igalia.com/2026/08/19/Linux-72-Released.html
56•mariuz•2h ago•13 comments

Malicious Rust crate Arrayref runs a build-time payload

https://safedep.io/arrayref-proc-macro1-rust-build-time-malware/
277•abhisek•4h ago•218 comments

Sixtyfour (YC P25) Is Hiring

https://www.ycombinator.com/companies/sixtyfour/jobs/39SkSrA-software-engineering-intern
1•HPMOR•1h ago

Show HN: We chased a weather balloon across Montana and never found it

https://radi8.dev/blog/uplink/
15•radeeyate•42m ago•6 comments

How to compromise your system with a job interview

https://www.codedge.de/posts/how-to-compromise-your-system-with-a-job-interview
52•codedge•2h ago•23 comments

DiffusionGemma Technical Report

https://arxiv.org/abs/2608.00146
103•gmays•4h ago•19 comments

I should have loved biology

https://jsomers.net/i-should-have-loved-biology/
6•tyre•25m ago•1 comments

Xorg-Server 26.0.99.901

https://lists.x.org/archives/xorg-announce/2026-August/003741.html
80•st_goliath•5h ago•39 comments

URL shortener links stored in your ATProto PDS

https://atpr.to/
11•jcbhmr•52m ago•1 comments

Generic Methods in Go 1.27

https://dominik.info/blog/go-generic-methods
35•EspressoGPT•2h ago•13 comments

Clean up Claude 5's token vomit with a separate LLM

https://github.com/zachahn/vomit
101•Bluestein•2h ago•95 comments

Mojo is now open source

https://www.modular.com/blog/mojo-open-source
252•visheshdembla•2d ago•60 comments

Launch HN: Vendo (YC S26) – Let users build features on top of your product

https://github.com/runvendo/vendo
23•yousefh409•2h ago•10 comments

Hacking with Claude on a $27 Smart Watch

https://www.mikekasberg.com/blog/2026/08/19/hacking-with-claude-on-a-27-smart-watch.html
56•speckx•4h ago•32 comments

The Defense-Tech Bubble Is Headed for Consolidation

https://foxandlion.pub/analysis/the-defense-tech-bubble-is-headed-for-consolidation
13•asdfwebdf•1h ago•3 comments

Show HN: Omacosy – Omarchy-style tiling desktop for macOS, no SIP

https://github.com/paulsp94/omacosy
9•paulsp•4h ago•4 comments

Git at any scale

https://cursor.com/blog/git-at-any-scale
169•meetpateltech•2d ago•28 comments

An elliptic curve of rank ≥ 30

https://elliptic-rank.icarm.cloud/curve/273
61•robinhouston•4h ago•16 comments

Every Model Cheats

https://dreadnode.io/research/every-model-cheats-prompt-level-mitigation-of-cheating-on-offensive...
46•vga805•4h ago•31 comments

Optimizing Things in the USSR

https://chris-said.io/2016/05/11/optimizing-things-in-the-ussr/
4•cassepipe•20m ago•1 comments

Windows brings out the Rorschach test in everyone (2003)

https://devblogs.microsoft.com/oldnewthing/20030825-00/?p=42803
323•luu•11h ago•116 comments

Show HN: Open-source Stripe Connect alternative

https://zoneless.com
37•tinyprojects•3h ago•18 comments

Show HN: Check if any of the $656M in unclaimed royalties at The MLC is yours

https://pub.doub.ly/
45•knaught•3h ago•23 comments

Nearly 1,400 live streams from Japan

https://tomarigi.me/
74•pajop•2d ago•15 comments

Anti-AI fonts are useless and harmful

https://blog.yaros.ae/anti-ai-fonts-are-useless-and-harmful/
55•speckx•3h ago•43 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.