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?

American social media usage by demographic groups, age, race, gender, education

https://www.pewresearch.org/internet/2025/11/20/americans-social-media-use-2025/
1•hooge•1m ago•0 comments

President Xi Jinping Speaks with U.S. President Donald J. Trump on the Phone

https://www.fmprc.gov.cn/eng/xw/zyxw/202511/t20251124_11759133.html
1•kaycebasques•1m ago•0 comments

Conflict Adaptation in Vision-Language Models

https://arxiv.org/abs/2510.24804
1•PaulHoule•1m ago•0 comments

Data Exfiltration in Claude for Excel

https://www.promptarmor.com/resources/cellshock-claude-ai-is-excel-lent-at-stealing-data
2•takira•1m ago•0 comments

Show HN: Bodge.app – μFaaS for hacked-together personal tools and small projects

https://bodge.app/
1•azdle•2m ago•0 comments

Show HN: A decision making framework for DevRel resource allocation

https://drim.pages.dev/
1•implabinash•3m ago•0 comments

Shopify rocked by sales fraud scandal that led to ultimatums and firings

https://thelogic.co/news/exclusive/shopify-sales-fraud-investigation-firings/
1•jtemperton•3m ago•1 comments

America's Caregivers Are in Crisis

https://www.nytimes.com/2025/11/24/opinion/caregiving-crisis.html
1•mooreds•3m ago•0 comments

Deploy Encoder Transformers as Single Binary Executables with Encoderfile v0.1.0

https://blog.mozilla.ai/encoderfile-v0-1-0-deploy-encoder-transformers-as-single-binary-executables/
1•mzlaai•3m ago•0 comments

Bill to require reports regarding AI-related job impacts

https://www.congress.gov/bill/119th-congress/senate-bill/3108/text/is?overview=closed&format=txt
1•mooreds•4m ago•0 comments

France threatens GrapheneOS with arrests / server seizure for refusing backdoors

https://mamot.fr/@LaQuadrature/115581775965025042
2•nabakin•4m ago•1 comments

What OpenAI Did When ChatGPT Users Lost Touch with Reality

https://www.nytimes.com/2025/11/23/technology/openai-chatgpt-users-risks.html
1•flail•5m ago•0 comments

What if the U.S. can no longer attract immigrant physicians?

https://text.npr.org/nx-s1-5618291
1•mooreds•5m ago•1 comments

A Game Site

https://groupdocs.vip/reviews/E0I15B/313940/4983941-infinite-craft-game-unblocked
1•NotLeah•5m ago•0 comments

Flood of AI Bonds Adds to Pressure on Markets

https://www.wsj.com/finance/investing/flood-of-ai-bonds-adds-to-pressure-on-markets-88f17995
1•zerosizedweasle•6m ago•0 comments

Software Failures and IT Management's Repeated Mistakes

https://spectrum.ieee.org/it-management-software-failures
1•rbanffy•6m ago•0 comments

GhostBin A lightweight pastebin, built with Go and Redis

2•sanaf•7m ago•0 comments

Show HN: ProDisco – Progressive Disclosure Kubernetes MCP Server

https://github.com/harche/ProDisco
1•pharshal•7m ago•0 comments

One Small Step for a Moss, One Giant Leap for Mosskind

https://defector.com/one-small-step-for-a-moss-one-giant-leap-for-mosskind
1•majkinetor•9m ago•0 comments

TTC USB Outlets Are Obsolete

https://zarar.dev/ttc-usb-outlets-are-already-obsolete/
1•speckx•9m ago•0 comments

The State of AI: Chatbot companions and the future of our privacy

https://www.technologyreview.com/2025/11/24/1128051/the-state-of-ai-chatbot-companions-and-the-fu...
1•fleahunter•9m ago•0 comments

Britain is one of the richest countries. So why do children live in poverty?

https://www.cnn.com/2025/11/24/uk/britain-child-poverty-intl-scli
9•rawgabbit•11m ago•1 comments

Show HN: Sphere-Base-One– A Python Kernel for Integer-Based Physics Optimization

https://github.com/universal-steward/hahn-optimization-core
1•zakthehahn•11m ago•1 comments

A New Raspberry Pi Imager

https://www.raspberrypi.com/news/a-new-raspberry-pi-imager/
2•raus22•11m ago•0 comments

Redis vs. Valkey: Performance and Comparison [video]

https://www.youtube.com/watch?v=wWTjxLcMVsg
1•enz•12m ago•0 comments

Modelling Agent Systems with Erlang (2004) [pdf]

https://erlang.org/workshop/2004/carlosvarela.pdf
2•todsacerdoti•12m ago•0 comments

Six-year-old shows mass bending light

https://youtu.be/1Kj5vsIZy8M?si=u68lLs-zuQZHhJp7
1•VirgilH2Oss•12m ago•1 comments

Pb_manager: PocketBase Instance Manager

https://github.com/ssakone/pb_manager
1•thunderbong•13m ago•0 comments

Reforming trade policy boosted firm productivity in China

https://voxdev.org/topic/trade/learning-trading-how-reforming-trade-policy-boosted-firm-productiv...
1•alphabetatango•14m ago•0 comments

I got tired of React bloat, so I wrote 350 LOC lib to never touch it again

https://github.com/MatthiasKainer/pfusch
2•mat_the_k•16m ago•1 comments