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?

How to Watch the Radiant Geminid Meteor Shower Tonight

https://www.smithsonianmag.com/smart-news/this-years-best-and-brightest-meteor-shower-peaks-this-...
1•cjbarber•6m ago•0 comments

Stop Blaming the "Weatherman"

https://developer.sealegs.ai/blog/stop-blaming-the-weatherman.html
1•mattkdev•8m ago•0 comments

Freeciv 3D – help improve it with AI

https://github.com/freecivx/freecivx
1•roschdal•8m ago•1 comments

What happens if you press 'x' in Helix in a Zellij pane running in Alacritty?

https://henry.catalinismith.se/2025/12/12/what-happens-if-you-press-x-in-helix-in-a-zellij-pane-r...
1•GardenLetter27•10m ago•0 comments

Dogspinner

https://www.pigenpalace.com/dogspinner/
2•tylersayshi•11m ago•0 comments

The Deadweight Loss of Entertainment

https://moultano.wordpress.com/2025/12/09/the-dead-weight-loss-of-entertainment/
1•paulpauper•11m ago•0 comments

This Year's Hottest Toy Is Made by a Tech Startup You've Never Heard Of

https://www.wsj.com/business/entrepreneurship/nex-playground-toy-game-console-holiday-shopping-af...
1•kjhughes•14m ago•0 comments

Purrtran – ᓚᘏᗢ – A Programming Language for Cat People

https://github.com/cmontella/purrtran
1•simonpure•16m ago•0 comments

How to Revive Biopharma Productivity

https://www.writingruxandrabio.com/p/a-manifesto-for-reviving-biopharma
1•paulpauper•19m ago•0 comments

Did humans make fire earlier than we had thought?

https://www.theguardian.com/science/2025/dec/10/man-made-fire-350000-years-earlier-than-previousl...
2•paulpauper•19m ago•1 comments

The Prosumer Shift in B2B SaaS: Where Consumer UX Meets Enterprise Value

https://middlelayer.substack.com/p/where-consumer-ux-meets-enterprise
1•logan1085•22m ago•0 comments

Show HN: A distraction-free writing environment

https://github.com/andrewmd5/dawn
1•andrew_rfc•23m ago•0 comments

Sony's Interactive Ad Patent

https://insights.greyb.com/sonys-interactive-ad-patent/
2•kafkaesque•24m ago•1 comments

Gemini Live Speech Translation

https://blog.google/products/gemini/gemini-audio-model-updates/
2•lukax•28m ago•0 comments

Deserted Racetrack Is Almost 30 Miles from the Nearest Paved Road

https://www.thedrive.com/news/this-deserted-racetrack-is-almost-30-miles-from-the-nearest-paved-road
2•PaulHoule•36m ago•0 comments

Pervasive behavioral pull of sunk cost as a force shaping our material reality

https://www.youtube.com/watch?v=Ymdut8EodIk
1•ambientenv•36m ago•0 comments

The AI-Native Software Development Lifecycle: Theoretical/ Practical Methodology

https://arxiv.org/abs/2408.03416
1•wek•37m ago•0 comments

I'll record a free demo video for your mobile site

1•admtal•37m ago•0 comments

Observational study of a lidocaine-based treatment for Long Covid

https://vu.nl/en/news/2025/observational-study-of-a-lidocaine-based-treatment-for-long-covid
1•amelius•37m ago•0 comments

Fast, Memory-Efficient Hash Table in Java: Borrowing the Best Ideas

https://bluuewhale.github.io/posts/building-a-fast-and-memory-efficient-hash-table-in-java-by-bor...
11•birdculture•38m ago•0 comments

We used Codex to build Sora for Android in 28 days

https://openai.com/index/shipping-sora-for-android-with-codex/
2•aschobel•38m ago•0 comments

Ownership of the Means of Thinking

https://mcrawford.substack.com/p/ownership-of-the-means-of-thinking
2•ambientenv•39m ago•0 comments

Modern humans in Australia about 60k years ago via 2 routes – genetic analysis

https://www.smithsonianmag.com/smart-news/modern-humans-reached-australia-around-60000-years-ago-...
2•bookofjoe•43m ago•0 comments

Depeche Mode's Prediction of Corporate Elitism, Lies, and Deceit

https://medium.com/@nsagheen/depeche-modes-prediction-of-corporate-elitism-lies-and-deceit-b2f4db...
2•nsagheen•44m ago•0 comments

Analysis finds anytime electricity from solar available as battery costs plummet

https://pv-magazine-usa.com/2025/12/12/analysis-finds-anytime-electricity-from-solar-available-as...
21•Matrixik•47m ago•6 comments

Using Nvi as a Minimal and Fast Text Editor

https://git.sr.ht/~r1w1s1/code-notes/blob/main/notes/NVI_Editor_Guide.txt
3•todsacerdoti•47m ago•0 comments

Problem: Why 32-Bit Systems Will Fail Like Y2K [video]

https://www.youtube.com/watch?v=yYY7V2CGT0g
1•senfiaj•48m ago•0 comments

MCP Security Scanner

https://github.com/Teycir/Mcpwn
1•teycirb•49m ago•1 comments

The Emerging Market for Intelligence: Pricing, Supply, and Demand for LLMs

https://twitter.com/AndreyFradkin/status/1999630104004329940
1•anecon2•50m ago•2 comments

Why Your AI Wakes Up Every Morning with No Memory (and How to Fix It)

https://lakshminp.substack.com/p/why-your-ai-wakes-up-every-morning
1•gmays•56m ago•1 comments