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•9mo ago

Comments

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

Ask HN: Why not have cemeteries for lines of descent?

1•amichail•48s ago•0 comments

AI Engineering: Pi 5 x K8s x Nvidia GPU passthrough [video]

https://www.youtube.com/shorts/3W_t9fJ1R1Q
1•johnsmith2076•1m ago•0 comments

Just because Linus Torvalds vibe codes doesn't mean it's a good idea

https://www.theregister.com/2026/01/16/linus_torvalds_vibe_coding/
2•CrankyBear•2m ago•0 comments

Trump's Crypto Gamble

https://www.foreignaffairs.com/united-states/trumps-crypto-gamble
2•petethomas•4m ago•0 comments

Ask HN: When has humanities/history knowledge helped you in tech?

1•amadeuswoo•8m ago•0 comments

Show HN: GitClassic, a simple GitHub client without JavaScript & AI

https://gitclassic.com
1•heythisischris•8m ago•0 comments

New in Llama.cpp: Anthropic Messages API

https://huggingface.co/blog/ggml-org/anthropic-messages-api-in-llamacpp
1•gslin•8m ago•0 comments

Stop resetting your product philosophy every quarter

1•jchitla•10m ago•1 comments

2.4x Faster Token Generation on CPU – Without Sacrificing Persona

https://github.com/dingste/mallama
1•dingte•11m ago•0 comments

The Loss of Stop Conditions in Modern Life

https://www.slideshare.net/slideshow/anchors-and-constraints-practical-cognitive-hygiene-in-moder...
2•realitydrift•11m ago•1 comments

Seamless Claude Code Handoff: SSH from Your Phone with Tmux

https://elliotbonneville.com/phone-to-mac-persistent-terminal/
1•elliotbnvl•14m ago•0 comments

Our collective obsession with boredom: Interview with a boredom lab researcher

https://nautil.us/why-the-do-nothing-challenge-doesnt-do-much-for-you-1262005/
2•akakievich•15m ago•0 comments

Enough with the microservices (2017)

https://adamdrake.com/enough-with-the-microservices.html
1•martinlaz•18m ago•0 comments

Why Go (the game) is going nowhere

https://www.economist.com/asia/2026/01/15/why-go-is-going-nowhere
1•andsoitis•19m ago•0 comments

Level s4 solar radiation event

https://www.swpc.noaa.gov/news/g4-severe-geomagnetic-storm-levels-reached-19-jan-2026
1•WorldPeas•19m ago•1 comments

Faster restart of Windows 95 when you hold the shift key

https://devblogs.microsoft.com/oldnewthing/20260119-06/?p=111995
3•todsacerdoti•20m ago•0 comments

How to Know What's Worth Learning

https://joshfonseca.com/blogs/how-to-know-whats-worth-learning
2•vuciv•21m ago•0 comments

Computing with projected light: the folk computer

https://www.youtube.com/watch?v=hrXEtG3JILo
1•todsacerdoti•22m ago•0 comments

The Transactional Outbox Pattern: Reliable Event Publishing

https://james-carr.org/posts/2026-01-15-transactional-outbox-pattern/
1•mooreds•24m ago•0 comments

Seventh Grader on Educational Technology

https://bsky.app/profile/biblioracle.bsky.social/post/3mcsemzgb5c25
1•subdomain•25m ago•0 comments

Show HN: Config-driven extensions to ghuntley's ralph loop technique

https://github.com/cvemprala/ralph-addons
1•codenlearn•25m ago•0 comments

Counting from Zero, Again

https://countingfromzero.blog/2026/01/19/counting-from-zero-again/
1•mooreds•25m ago•0 comments

YC Events

2•obedvega•25m ago•0 comments

I joined the POSSE Party

https://jerodsanto.net/2026/01/i-joined-the-posse-party/
1•mooreds•26m ago•0 comments

2026 AI Forecasting Survey

https://forecast2026.ai/
2•p1esk•26m ago•0 comments

Mammals have evolved into ant eaters 12 times since the dinosaur age,study finds

https://phys.org/news/2025-07-mammals-evolved-ant-eaters-dinosaur.html
8•MaysonL•27m ago•0 comments

Does software piracy exist? (2021)

https://matthewbutterick.com/chron/does-software-piracy-exist.html
3•CharlesW•27m ago•0 comments

Pg-Aiguide – Agentic Coding for PostgreSQL

https://www.i-programmer.info/news/105-artificial-intelligence/18603-pg-aiguide-agentic-coding-fo...
2•aquastorm•28m ago•0 comments

Threads edges out X in daily mobile users, new data shows

https://techcrunch.com/2026/01/18/threads-edges-out-x-in-daily-mobile-users-new-data-shows/
39•toomanyrichies•28m ago•5 comments

Lean Game Server

https://adam.math.hhu.de
2•Tachyooon•28m ago•0 comments