frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Tell me why this UUID pattern is stupid

3•yakkasean•1h ago
Considering if you have multiple databases with uuidv7 pk’s and debezium+kafka pushing updates from each to the others, and simple consumers that just insert, delete and update records from the Kafka queue, you’ll end up with round trips for each operation at a minimum, and infinite loops if your debezium connector doesn’t drop messages where before and after are identical.

Why not then implement a different uuid spec similar to v7 in which the last 62 or 60 bits are a combination of random data and an identifier of the datacenter (say the first 30 bits of the hash of the datacenter.

Then in your debezium connectors simply add a plugin that takes the datacenter name as a config option and parses the uuid of every payload’s record and drops those in which the datacenter bits do not match its config, thereby eliminating round trips and also risks of infinite loops.

There’s a somewhat greater risk of collision, but as long as you’re not taking tens of thousand of inserts per ms should be fine. Maybe this is a poor man’s version of something that has a more robust spec, but it seems viable to me.

Comments

benoau•53m ago
It sounds similar to Twitter's Snowflake?

https://en.wikipedia.org/wiki/Snowflake_ID

yakkasean•27m ago
It does look similar. I’m confused though how they coordinate sequence bits with only 2^10 (1024) workers. Surely they have more web servers than that, so sequence must be coordinated in a centralized way. Also, this is a 62 bit spec.

The Tree House: A voyage to the source of a backyard dream

https://www.laphamsquarterly.org/roundtable/tree-house
1•Caiero•1m ago•0 comments

Red Hot Chili Peppers sell music catalogue for $300M

https://guitar.com/news/industry-news/red-hot-chili-peppers-sell-music-catalogue/
2•randycupertino•4m ago•0 comments

The AI agent economy is going mainstream

https://datadome.co/agent-trust-management/why-anthropics-connector-expansion-makes-mcp-security-...
3•nrengan•6m ago•0 comments

Agentic AI is giving cyber criminals nation-state-like powers

https://www.defenseone.com/threats/2026/05/pentagon-leaders-love-agentic-ai-its-giving-cyber-crim...
1•jethronethro•6m ago•1 comments

SignalForge – A Local-First, Zero-Cloud Autonomous Agent with UI Verification

https://peerlist.io/aliberkcanli/project/signalforge
1•ABCanli•7m ago•0 comments

W – The European social network for verified humans

https://wsocial.news/
1•layer8•7m ago•0 comments

Library for fast mapping of Java records to native memory

https://github.com/mamba-studio/TypedMemory
2•joe_mwangi•8m ago•0 comments

I Ran the NSA This Is How to Defeat China's Hacker Army

https://www.nytimes.com/2026/05/11/opinion/international-world/i-ran-the-nsa-this-is-how-to-defea...
2•frb•11m ago•0 comments

Agentic AI vs. AI Agents: The Governance Shift

https://rootcx.com/blog/agentic-ai-vs-ai-agents
2•seyz•17m ago•0 comments

Ask HN: What makes a good intern in 2026?

3•ThePhillipLin•18m ago•1 comments

Show HN: Agentic productivity platform for high perfomers

https://www.mainthread.app/
2•bolshchikov•18m ago•0 comments

German data protectionists push for final end to Chat Control

https://www.heise.de/en/news/German-data-protectionists-push-for-final-end-to-chat-control-112830...
4•theanonymousone•20m ago•0 comments

Nvidia embraces AI investor, topping $40B in equity bets 2026

https://www.cnbc.com/2026/05/09/nvidia-embraces-ai-investor-topping-40-billion-in-equity-bets-202...
3•gmays•20m ago•2 comments

Will AI Produce the Next Great Divergence?

https://www.lawfaremedia.org/article/will-ai-produce-the-next-great-divergence
2•speckx•22m ago•0 comments

Mac App Store Review Times Increasing

https://mjtsai.com/blog/2026/03/02/mac-app-store-review-times-increasing/
4•jhack•22m ago•0 comments

FormulaBase: A Markdown editor with LaTeX support

https://formulario-five.vercel.app/
2•developer_ai_•23m ago•0 comments

A modern desktop music player for people tired of streaming apps

https://github.com/heartached/Noctis
3•heartached•23m ago•1 comments

Myst's Game Design Proposal document (1991)

https://archive.org/details/myst_proposal
2•gaws•27m ago•0 comments

Expat 2.8.1 released, CVE-2026-45186 and CVSS unreliability

https://blog.hartwork.org/posts/expat-2-8-1-released/
2•spyc•29m ago•0 comments

Golden Testing a CAD Library

https://doscienceto.it/blog/posts/2026-04-27-golden-testing-cad.html
2•PaulHoule•29m ago•0 comments

I built a simpler, more powerful "Dropbox" for devs and creators

https://dropscodes.vercel.app/
2•ghassan_gaidi•30m ago•0 comments

MobyDB – The Geospatial-Native Database

https://mobydb.com/
2•petethomas•30m ago•0 comments

DepthWork – iOS app that scores focus quality with a neuroscience-based index

https://depthwork.io/
2•CubusWaw•32m ago•0 comments

Sunburn inspired a new way to store energy

https://www.bbc.com/news/articles/c62l9gnx775o
6•devonnull•33m ago•0 comments

Cloudflare "issue" blocking legitimate access from humans for days

https://www.cloudflarestatus.com/incidents/xlh20wf0hd70
5•BrunoBernardino•34m ago•0 comments

Privacy, ownership, and freedom are being taken away from you

https://spicygarbagesoup.bearblog.dev/privacy-ownership-and-freedom-are-being-taken-away/
4•y0eswddl•34m ago•0 comments

History of CRMs APL

https://www.computer.org/csdl/magazine/an/2026/01/11442828/2eXehpB3Ybe
2•tosh•34m ago•0 comments

Using LLM in the shebang line of a script

https://til.simonwillison.net/llms/llm-shebang
3•twapi•36m ago•0 comments

Landslide created a 500-meter-high tsunami in a major tourist area

https://arstechnica.com/science/2026/05/how-a-melting-glacier-led-to-a-500-meter-high-tsunami/
4•thm•37m ago•0 comments

The Last Company

https://catboosted.bearblog.dev/thelastcompany/
4•OxfordOutlander•37m ago•0 comments