frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Postgres sequences can commit out-of-order

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

Comments

dagss•7mo 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•7mo 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?

Restoring Ability Through Engineering

https://www.patreon.com/posts/143860573
1•sloped•8m ago•0 comments

Why China's Ports Empire Has the US Worried [video]

https://www.youtube.com/watch?v=NfiIXoWyOLI
1•mgh2•10m ago•0 comments

Git-embigenner: Spam empty commits

https://github.com/veqqq/git-embigenner
1•todsacerdoti•15m ago•0 comments

Familial Alzheimer's mutation: Role of SORLA in release of neurotrophic exosomes

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/alz.70591
1•bookofjoe•37m ago•0 comments

Pirate Site Operator's Appeal Goes Bad, Court Extends Prison Term by 50%

https://torrentfreak.com/pirate-site-operators-appeal-goes-bad-court-extends-prison-term-by-50-25...
2•gslin•41m ago•0 comments

Kyoto and the Stories We Still Need to Tell About Fossil Fuel Obstruction

https://blog.ucs.org/delta-merner/kyoto-and-the-stories-we-still-need-to-tell-about-fossil-fuel-o...
1•cratermoon•46m ago•0 comments

When did cats become domesticated? New DNA evidence changes the story.

https://www.nationalgeographic.com/animals/article/when-did-cats-become-domesticated
3•donsupreme•48m ago•1 comments

SpecFive Strike: compact handheld Linux workstation

https://specfive.com/products/spec5-strike
3•nateb2022•51m ago•0 comments

Okeymeta

https://www.okeymeta.com.ng/
1•b16m•52m ago•0 comments

Ask HN: What Are You Working On?

5•dserban•56m ago•2 comments

Trump Cut Europe Out of Ukraine Talks. Here’s How Europe Pushed Back.

https://www.nytimes.com/2025/11/27/world/europe/europe-ukraine-trump.html
7•maxloh•59m ago•1 comments

Modern Developer Tools as Attack Surfaces: Lessons from Shai-Hulud

https://sitezwin.com/posts/2025-11-29-sha-hulud-the-second-coming-encouter/
3•meel-hd•1h ago•0 comments

Damage at Baikonur after Soyuz launch: Russia can't send people to space

https://unn.ua/en/news/damage-at-baikonur-after-soyuz-launch-russia-temporarily-lost-the-ability-...
3•cryptoz•1h ago•0 comments

Intelligence is too high-dimensional for any low-dimensional narrative

https://mathstodon.xyz/@tao/115620261936846090
4•gmays•1h ago•1 comments

20/80

https://blog.greg.technology/2025/11/27/2080.html
2•gregsadetsky•1h ago•0 comments

The Supreme Court Is About to Hear a Case That Could Rewrite Internet Access

https://slate.com/news-and-politics/2025/11/supreme-court-sony-cox-copryight-internet-case.html
10•anthonyu•1h ago•3 comments

Show HN: Generate Sheet Music Using AI (Scribe)

https://scribe.rifflabs.io
2•hwittenborn•1h ago•0 comments

Tesla looks to reset strategy amid sluggish India sales

https://www.bbc.com/news/articles/cdrn00pn1m7o
3•breve•1h ago•1 comments

Chumbox (Advertising)

https://en.wikipedia.org/wiki/Chumbox
4•rickcarlino•1h ago•1 comments

Large Type Pieces.txt

https://github.com/PhMajerus/Documents/blob/main/HowTos/HowTo%20Large%20Type%20Pieces.txt
2•cardamomo•1h ago•0 comments

Every mathematician has only a few tricks

https://mathoverflow.net/questions/363119/every-mathematician-has-only-a-few-tricks
5•nill0•1h ago•0 comments

Plotting a Northrop B2 Spirit

https://youtu.be/TSQWZF4zdN4
2•russelltaylor05•1h ago•0 comments

The Risky Movement to Make America Nuclear Again

https://nuclear-news.net/2025/11/04/1-a-the-risky-movement-to-make-america-nuclear-again/
2•pmoriarty•1h ago•0 comments

Rocketwerkz CEO says frameworks, not engines, are the future of game development

https://www.gamedeveloper.com/programming/rocketwerkz-ceo-predicts-frameworks-not-engines-will-be...
5•jibe•1h ago•0 comments

Mongolian Script

https://en.wikipedia.org/wiki/Mongolian_script
3•Razengan•1h ago•0 comments

The Impossible Prompt That's Easy for Humans

https://teodordyakov.github.io/the-impossible-promt/
2•ssdsa•1h ago•2 comments

Why GitHub's War on Toasts Is Bad News for Accessibility

https://medium.com/offmessageorg/why-githubs-war-on-toasts-is-bad-news-for-accessibility-a88ddbad...
3•bochoh•2h ago•0 comments

Beijing's prison silences Chinese journalist and lawyer of Covid19 in Wuhan fame

https://www.bushcenter.org/publications/the-struggle-for-freedom-beijings-revolving-prison-doors-...
5•737min•2h ago•0 comments

Show HN: MCP for finding the better NPM dependencies

https://web-production-0200a.up.railway.app
1•jsafaiyeh•2h ago•0 comments

Show HN: Native macOS timeout (Rust) – handles system sleep, no coreutils

https://github.com/denispol/darwin-timeout
1•denispol•2h ago•0 comments