frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Did AI rediscover a cryptographic attack NSA had known since 2015?

https://an.dywa.ng/ecc.html
159•cbeuw•1h ago•102 comments

CleanYourTV: Remove Ads and Bloat from Android TV and Google TV

https://cleanyour.tv
70•kls0e•1h ago•23 comments

Wax: A User-Friendly Syntax for WebAssembly

https://tarides.com/blog/2026-11-26-wax/
59•theanonymousone•1h ago•13 comments

Got PQC?

https://www.gotpqc.com
199•owenthejumper•5h ago•100 comments

I pen plotted secp256k1 (Bitcoin's elliptic curve)

https://harmonique.one/posts/i-pen-plotted-secp256k1-bitcoin-s-elliptic-curve
16•futurecat•22m ago•0 comments

HN Jobs Trends

https://hnjobs.mathieularose.com/
72•rzk•1h ago•33 comments

How I almost found the eMudhra d=4 Private Key

https://blog.hboeck.de/archives/910-How-I-almost-found-the-eMudhra-d4-Private-Key.html
286•hannob•7h ago•47 comments

Google sent me to collections: GCP's 20-min AI alert fired 10h late ($76K bill)

https://www.reddit.com/r/googlecloud/comments/1yazk1p/google_sent_me_to_collections_20min_vertex_ai/
363•sheep1165•3h ago•174 comments

Examining a vintage RAM chip, I find a counterfeit with a different die (2017)

https://www.righto.com/2017/08/inside-fake-ram-chip-i-found-something.html
56•dverlaeckt80•1d ago•9 comments

US banks are sharing Social Security numbers with advertising giants Reddit, X

https://www.melurna.com/research/psa-online-forms-can-collect-your-data-even-if-you-never-hit-sub...
326•DeepLogin•4h ago•107 comments

An OS with no threads: The Actor Model

https://www.timdbg.com/posts/dbgos-actor-model/
221•ingve•7h ago•109 comments

Richest 0.01% of Americans now hold their largest share of wealth in US history

https://bsky.app/profile/steverattner.bsky.social/post/3n3txzafd7s2j
274•afavour•2h ago•173 comments

Keeping HTTPS Connections Safe in Chrome

https://blog.google/security/keeping-https-connections-safe-in-chrome/
433•arwt•11h ago•234 comments

The spectrum between coding and vibe coding

https://dmitryfrank.com/articles/ai_for_coding_in_2026
4•dimonomid•35m ago•0 comments

Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX

https://github.com/weavon/weavon
11•deyvium•1h ago•3 comments

Fears over OpenAI missing revenue targets prompt tech sell-off

https://www.theguardian.com/technology/2026/dec/04/openai-missing-revenue-targets-tech-sell-off
126•jcolot•3h ago•84 comments

Avoiding embarrassment is getting expensive

https://tornikeo.com/avoiding-embarrassment/
332•tornikeo•9h ago•205 comments

Where Does the Fourier Transform Come From?

https://fasterik.net/blog/where-does-the-fourier-transform-come-from/
6•fasterik•1h ago•0 comments

How far behind are open-weight models?

https://sebastianraschka.com/blog/2026/how-far-behind-are-open-weight-models.html
768•ModelForge•1d ago•599 comments

Rex is now available to everyone

https://www.superlogical.com/updates/rex-available-to-everyone
1009•kylebarron•23h ago•351 comments

Unmodified 748B DeepSeek-v4.1-Flash on one RTX 4090

https://axel-labs.com/research/deepseek-v4-1-flash-on-one-rtx-4090
380•bobbitybobob•20h ago•96 comments

Cloudflare will be fully post-quantum in 2027

https://blog.cloudflare.com/project-quantum-leap/
897•jupenur•1d ago•446 comments

Memtest86+ v9.10 adds NUMA support for multi-socket servers

https://github.com/memtest86plus/memtest86plus/releases/tag/v9.10
138•FiderHi•12h ago•6 comments

Plain Text Accounting

https://plaintextaccounting.org/
136•saikatsg•12h ago•52 comments

I quit big tech to build with AI

https://drawsolve.com/blog/building-with-ai
789•James_Stryker_D•16h ago•408 comments

Post-quantum key exchange in Tailscale v1.106

https://tailscale.com/blog/pqc-key-exchange
489•tatersolid•22h ago•95 comments

Intellectual Debt After Generative AI

https://www.noemamag.com/intellectual-debt-after-generative-ai/
325•theanonymousone•9h ago•267 comments

MiniMax-M4, an open-weight, natively multimodal Mixture-of-Experts model

https://github.com/MiniMax-AI/MiniMax-M4
549•cmrdporcupine•1d ago•189 comments

Qwen4-35B-A3B

https://huggingface.co/Qwen/Qwen4-35B-A3B
901•Philpax•14h ago•219 comments

Why Aren't We Working Less?

https://teodordermendzhiev.com/writing/why-arent-we-working-less/
259•tdermendjiev•3h ago•370 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.