frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Postgres sequences can commit out-of-order

https://blog.sequinstream.com/postgres-sequences-can-commit-out-of-order/
4•dagss•2mo ago

Comments

dagss•2mo ago
This details an approach to working with commit-ordered event IDs which is a very powerful primitive to, e.g., do pub/sub event processing within a SQL database without having to deal with outbox patterns, event brokers and so on.

People throw Kafka or Event Hub at everything, but really, if you do not need to offload your DB for storage/access of massive amounts of events, you may not need them...

I have a lot of experience with this approach on MS SQL (https://github.com/vippsas/mssql-changefeed), interesting to see the same thing on postgres.

Hope databases gets these things built in (i.e., supported more directly) in the future.

dagss•2mo ago
I wonder if this is a bug:

   -- If no locks are found, return the maximum possible bigint value
    if max_seq is null then
        return 9223372036854775807;
    end if;
Would be a race here by returning a big number to the caller, then more data is written in between? Should instead check the current max sequence number before checking the locks?

The world of Voronoi diagrams (2021)

https://fbellelli.com/posts/2021-07-08-the-fascinating-world-of-voronoi-diagrams/
1•nickcotter•6m ago•0 comments

How I Built a P2P Texas Hold'em Game (Part 1: Protocol and Encryption)

https://medium.com/@predator.ray/how-i-built-a-p2p-texas-holdem-game-part-1-protocol-encryption-d043edb93288
1•zetaplusae•9m ago•0 comments

Denial vs. OpenAI, Inc. (ND Cal 2025) [pdf]

https://archive.org/download/gov.uscourts.cand.452129/gov.uscourts.cand.452129.1.0.pdf
1•1vuio0pswjnm7•13m ago•0 comments

Kilmar Abrego Garcia describes beatings and psychological torture in CECOT

https://www.politico.com/news/2025/07/02/kilmar-abrego-garcia-salvadoran-prison-account-00438153
2•wk_end•18m ago•0 comments

Dalai Lama vows he won't be the last leader of Tibetan Buddhism

https://www.cnn.com/2025/07/02/asia/dalai-lama-reincarnation-announcement-intl-hnk
1•Tomte•33m ago•0 comments

OfflineInstallers – Download browser and .NET Framework offline installers

https://offlineinstallers.com/
1•louizo79•35m ago•0 comments

Colossus: The Forbin Project (1970) [video]

https://archive.org/details/colossus-the-forbin-project-1970
1•petethomas•39m ago•0 comments

What's wrong with AAA games? The development of the next Battlefield has answers

https://arstechnica.com/gaming/2025/07/behind-the-next-battlefield-game-culture-clash-crunch-and-colossal-stakes/
3•Tomte•40m ago•1 comments

Options for Handling Form Submissions Without a Back End

https://devmatter.app/blog/how-to-handle-form-submissions-without-a-backend
1•adityavinodh•43m ago•1 comments

AetherScript: AI-Assisted Development That You Can Trust

1•papabili•44m ago•0 comments

NIH Scientists Link Air Pollution and Lung Cancer Mutations in Non-Smokers

https://insideclimatenews.org/news/02072025/air-pollution-linked-to-lung-cancer-mutations/
4•OutOfHere•47m ago•0 comments

Demonstration of Algorithmic Quantum Speedup for an Abelian Hidden Subgroup

https://journals.aps.org/prx/abstract/10.1103/PhysRevX.15.021082
2•boilerupnc•48m ago•0 comments

Show HN: Track your favorite music, movies, shows, games, books and more

https://calendia-app.com
1•Andrew8581•57m ago•0 comments

Nothing's Untestable

https://antithesis.com/blog/2025/bugbash_2025/mitchell_hashimoto/
2•zdw•1h ago•0 comments

Show HN: I made a social media platform

https://onelined.tech/
2•sahil423•1h ago•0 comments

How to write Rust in the kernel part 1

https://lwn.net/Articles/1024202/
2•pkilgore•1h ago•0 comments

CEOs Start Saying the Quiet Part Out Loud: AI Will Wipe Out Jobs

https://www.wsj.com/tech/ai/ai-white-collar-job-loss-b9856259
5•planetjones•1h ago•1 comments

Debian on Apple M1/M2: status and call for testers

https://lists.debian.org/msgid-search/86037b55-e1b8-49e6-a0c9-f961b4ddc1a1@disroot.org
6•pabs3•1h ago•1 comments

GitHub Copilot coding agent now has a Playwright web browser

https://github.blog/changelog/2025-07-02-copilot-coding-agent-now-has-its-own-web-browser/
1•felineflock•1h ago•0 comments

Show HN: Piskvor Prime: a five-in-a-row iOS game with a reactive AI opponent

https://vojtahavlicek.github.io/vojtanyc/posts/piskvor_prime/
1•vh311•1h ago•0 comments

Show HN: Wyntk.ai – anti horseless carriage email

https://www.wyntk.ai/
1•gregorvand•1h ago•0 comments

Give Footnotes a Spec

https://nathansnelgrove.com/2025/07/give-footnotes-a-spec
2•OuterVale•1h ago•0 comments

Braess Paradox [video]

https://www.youtube.com/watch?v=-QTkPfq7w1A
1•travisgriggs•1h ago•2 comments

TPC-DS Benchmark: Trino 476, Spark 4.0.0, and Hive 4 on MR3 2.1

https://mr3docs.datamonad.com/blog/2025-07-02-performance-evaluation-2.1/
1•epdlxjmonad•1h ago•1 comments

Show HN: GenZ AI – Your Voice, but Fluent in Gen Z

https://twitter.com/MisbahSy/status/1940609386927521900
1•misbahsy•1h ago•0 comments

Ask HN: Building for Joy vs. Building for Scale

1•chbkall•1h ago•0 comments

OpenAI to Sponsor Driver Alex Palou at Mid-Ohio IndyCar Race

https://www.sportsbusinessjournal.com/Articles/2025/07/02/openai-gets-first-livery-position-with-ganassi-at-mid-ohio-as-ai-leader-looks-to-racing-for-insights/
1•tekdude•1h ago•0 comments

Learning F# with Falco: Response Localization

https://rewiring.bearblog.dev/learning-f-with-falco-response-localization/
1•Mossy9•1h ago•0 comments

Why the superyachts are getting bigger and bigger

https://www.bbc.com/news/articles/cvgnwx0lwwdo
2•andsoitis•1h ago•1 comments

Aphrodisiac

https://www.rxjourney.net/the-ultimate-aphrodisiac
1•chidieberechigo•1h ago•0 comments