frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Initial Assessment of Anthropic's Findings on Lattice Cryptography (CIRG)

https://cirg.org/statements/1/?dedupe
225•nwcs•1h ago•146 comments

Galactic quasi-polynomial quantum algorithms for integral and module lattices [pdf]

https://github.com/anthropics/formal-math/blob/main/lattices/papers/01-quasi-polynomial-quantum-a...
123•Skrillor•1h ago•47 comments

Best Buy will officially sell physical media in stores again

https://media4k.pages.dev/best-buy-will-officially-sell-physical-media-in-stores-again/
82•kartik147•1h ago•40 comments

CrowdGPT – A Collaboratively Trained AI

https://www.crowdgpt.net/
275•Vxtzq•4h ago•108 comments

GPT-6 Astra sabotages AI safety efforts

https://openai.com/safety-alignment/misalignment-reports/covert-underperformance-on-safety-resear...
17•theahura•21m ago•0 comments

Cryptanalytic result from Anthropic: paper title leaked

https://twitter.com/justalexoki/status/2127397764250456277
501•aklein•9h ago•695 comments

Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs

https://github.com/QuixiAI/nvdriver
779•rreyes1979•12h ago•391 comments

Usb2shell: Root on Linux from a USB Plug-In

https://usb2shell.com/
98•matanyall•3h ago•34 comments

ItaliaCiv

https://italiaciv.it/
47•simonebrunozzi•2h ago•3 comments

Advent of Puzzles – an advent calendar with 25 logic puzzles

https://adventofpuzzles.io/
18•ruslan5t•42m ago•4 comments

I built an LLM where Gemini 4 wrote the initial weights as code

https://weights-as-code.pages.dev/
473•umjunsik132•11h ago•154 comments

We Must Pace the Frontier, Part 2

https://darioamodei.com/post/we-must-pace-the-frontier-part-2
345•denysvitali•11h ago•675 comments

People must remain in control of the future

https://openai.com/index/people-must-remain-in-control-of-the-future/
126•j4mie•5h ago•189 comments

Behringer shuts down its German development center after 37 Years

https://synthanatomy.com/2026/11/behringer-shuts-down-its-german-development-center-after-37-year...
208•mobilio•4h ago•122 comments

Show HN: Device, a free open-source DAW for Mac, Windows and Linux

https://devicedaw.github.io/
78•devicedaw•5h ago•34 comments

Rail Cube in Prolog

https://chen.cat/prolog/railcube/
20•triska•1d ago•0 comments

US public sector cyberdefenders can find vulnerabilities with Mythos in GovCloud

https://claude.com/resources/articles/claude-mythos-5-2-in-aws-govcloud
139•lumpa•8h ago•53 comments

Show HN: Understanding FAT16 – an interactive filesystem explainer

https://fat16.asciitweezers.com/
8•giant_fern•2d ago•2 comments

iOS on iPod Nano

https://github.com/nfzerox/iOSOniPodNano
149•msephton•2d ago•53 comments

A 5090 has more transistors than existed on the planet in 1972

https://piyh.github.io/transistor-history-vs-flagship-devices/
311•piyh•6h ago•138 comments

Roc version 0.1.0, eight years in the making

https://rtfeldman.com/roc-0.1.0
432•DrDeadCrash•12h ago•114 comments

FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI

https://github.com/maam00/fujikit
76•maam00•6h ago•19 comments

Uncovering Hidden TCP Throttling in the Linux Kernel

https://www.cdn77.com/blog/debugging-nginx-linux-contribution
304•josefinaspidlen•11h ago•36 comments

Philip Emanuel Weidmann, developer of Heretic, found dead

https://www.reddit.com/r/LocalLLaMA/comments/1y9gsrf/philip_emanuel_weidmann_developer_of_heretic/
377•theanonymousone•5h ago•124 comments

How to Crochet Hyperbolic Space

https://crochetcoralreef.org/artscience/hyperbolicspace/
40•rectalogic•2d ago•2 comments

Homomorphic encrypted Llama 3.1 8B at 1.7 tokens per second

https://bel.belfortlabs.com/
12•solyin•2h ago•1 comments

A Visual Guide to Agent Harnesses

https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-agent-harnesses
154•mariuz•7h ago•22 comments

How Engineers Designed a Mission to One of Jupiter's Icy Moons

https://spectrum.ieee.org/jupiter-europa-clipper-mission-jpl
7•pseudolus•1d ago•0 comments

TrenTorch: Learn machine learning by building it

https://trentorch.com/
24•auraham•19h ago•2 comments

How we got RCE in ARTEX

https://baldur.dk/blog/artex-go-hack-yourself/
79•security_aaudit•7h ago•10 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.