frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Blender's UI and Runtime: Much Faster Than GPUI

https://github.com/ppmpreetham/BUI
70•ppmpreetham•1h ago•16 comments

Claude Code sends your email address to websites

https://github.com/anthropics/claude-code/issues/107757
1071•motoroco•10h ago•334 comments

sshole

https://sshhole.com
2664•josemrb•20h ago•634 comments

Multiplayer tanks that demolish real buildings from OpenStreetMap

https://worldstrike.fun/
18•n4ze3m•1h ago•3 comments

Britain to make salary disclosure in job ads mandatory

https://www.reuters.com/business/world-at-work/britain-make-salary-disclosure-job-ads-mandatory-2...
104•1659447091•1h ago•71 comments

MS Paint Remote Code Execution Vulnerability

https://www.cve.org/CVERecord?id=CVE-2026-83844
525•kuberwastaken•12h ago•189 comments

App Store 2026 in numbers: AI, pricing, abandoned apps

https://obelisk.club/research/app-store-2026
14•Peter216•1h ago•6 comments

Pwn.college

https://pwn.college/
139•tripdout•5h ago•17 comments

Kugelblitz – Mac-Native Google Earth Alternative

https://apps.metaebene.me/en/kugelblitz
28•luoc•1h ago•2 comments

Nvidia Kubernetes Engine (NVKE)

https://github.com/dsx-ai-factory/nvke
73•gkapur•5h ago•19 comments

Hardcoded credentials and other issues in Tata Motors App

https://www.cert-in.org.in/s2cMainServlet?pageid=PUBVLNOTES01&VLCODE=CIVN-2026-0537
11•qtqtqt•1h ago•3 comments

From Linux to Wikipedia: How Volunteers Build the Internet

https://thereader.mitpress.mit.edu/from-linux-to-wikipedia-how-volunteers-build-the-internet/
68•jonbaer•4h ago•30 comments

Inkling 2 Small

https://thinkingmachines.ai/news/inkling-2-small/
189•Philpax•9h ago•65 comments

The Hackintosh Reborn

https://www.naut.ca/blog/2026/11/05/the-hackintosh-reborn-with-ai/
305•rubatuga•13h ago•165 comments

I struggle to believe that AI R&D is ingenious

https://www.lesswrong.com/posts/DALNiKBjMGMF8grme/arjun-panickssery-s-shortform?commentId=fJtaHHH...
69•porridgeraisin•3h ago•51 comments

Window Sweaters

https://github.com/saragordic/window-sweaters
329•nickswalker•16h ago•99 comments

Living Maps: Bay Area tech since 1960s

https://tomorrowasusual.com/living-maps/bay-area-tech/
4•tudell•53m ago•3 comments

Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM

https://firenook.dev/
111•sanjevirau•19h ago•16 comments

Launch HN: Rivet (YC W23) – Scale and Orchestrate Agents on S3

https://github.com/rivet-dev/rivet
96•NathanFlurry•15h ago•50 comments

MoofTCP – A modern replacement for MacTCP on 68k Macs

https://github.com/matthewmrichter/mooftcp
44•marcusbasant•8h ago•20 comments

Motorola Signature 27 with GrapheneOS support

https://motorolanews.com/motorola-signature-27-2/
476•monneyboi•16h ago•342 comments

Cuban: Facebook knowingly runs AI deepfake scam ads; docs say $16B fraud revenue

https://finance.yahoo.com/technology/ai/articles/mark-cuban-says-facebook-knowingly-213000020.html
309•randycupertino•9h ago•143 comments

September in Servo: <progress>, rounded rectangles, and more

https://servo.org/blog/2026/11/05/september-in-servo/
233•iamnothere•18h ago•58 comments

Show HN: A decent text-to-image model trained for ~$20K (Apache 2.0 Weights)

https://www.linum.ai/field-notes/pjit-21k
218•schopra909•1d ago•19 comments

I wish tech companies knew more about me

https://rakhim.exotext.com/i-wish-tech-companies-knew-more-about-me
405•freetonik•19h ago•344 comments

Download your favourite YouTube videos

https://criminallyvulgar.dev/you-should-absolutely-download-your-favourite-youtube-videos/
339•surprisetalk•20h ago•157 comments

Goodbye from Salon

https://www.salon.com/2026/11/05/goodbye-from-salon/
571•mkeeter•12h ago•218 comments

Pangram Image 1.0

https://www.pangram.com/blog/introducing-pangram-image-1-0
99•gmays•13h ago•45 comments

MCP Explained

https://mcp-explained.com/
294•rwilinski•18h ago•123 comments

Global stocks tumble as AI panic grips markets after Democrats' midterm success

https://www.theguardian.com/business/live/2026/nov/06/global-stocks-tumble-ai-panic-markets-democ...
10•drayfield•1h ago•0 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.