frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

UUIDv7 in Postgres 18. With time extraction

https://www.thenile.dev/blog/uuidv7
36•sierikov•2h ago

Comments

Recursing•1h ago
Interesting comment from a previous thread on UUIDv7 in Postgres: https://news.ycombinator.com/item?id=39262286
jph•46m ago
We evaluated UUIDv7 and determined that it's unwise to use it as a primary key.

We have applications where we control the creation of the primary key, and where the primary key will be exposed to end users, such as when using a typical web app framework built with Rails, Phoenix, Loco, Laravel, etc. For these applications, UUIDv7 time is too problematic for security, so we prefer binary-stored UUIDv4 even though it's less efficient.

We also have applications where we control the creation of the primary key, and where we can ensure the primary key is never shown to users. For these applications, UUIDv7 is slower at inserts and joins, so we prefer BIGSERIAL for primary key, and binary-stored UUIDv4 for showing to users such as in URLs.

wpollock•10m ago
I wonder if the issue is with exposing internal IDs to end users. I'm sure the experts here have already thought of this, but could someone explain why using encryption or even an HMAC for external views of a primary key doesn't make sense? Maybe because the extra processing is more expensive than just using UUIDv4?

(And why the heck are different types or variants of UUIDs called "versions"?)

kasperset•6m ago
Currently evaluating UUIDv7 as primary key for some inventory origin. I think it should be ok to use it for such use case since it will indicate the time of creation? Any thoughts?
gm678•2m ago
Does anyone know if there are any sorts of optimizations (either internally or available to the user) for a table with a UIIDv7 PK and a `date_created` column?

California bans masks meant to hide law enforcement officers' identities

https://www.npr.org/2025/09/20/nx-s1-5548532/newsom-trump-masked-ice-agents
1•1659447091•56s ago•0 comments

Rare flesh eating-bacteria claims another victim officials urge take precautions

https://www.dailymail.co.uk/health/article-15118479/flesh-eating-bacteria-Vibrio-vulnificus-Louis...
1•Bender•1m ago•0 comments

Reframing Biblical interpretation helps religious students accept evolution

https://www.psypost.org/reframing-biblical-interpretation-helps-religious-students-accept-evolution/
1•01-_-•2m ago•0 comments

VPN usage at risk in Michigan under new proposed adult content law

https://www.techradar.com/vpn/vpn-privacy-security/vpn-usage-at-risk-in-michigan-under-new-propos...
1•akyuu•2m ago•0 comments

A New Kind of Code

https://registerspill.thorstenball.com/p/a-new-kind-of-code
1•goranmoomin•3m ago•0 comments

Magnesium, the microbiome, and reducing the risk of colon cancer

https://newatlas.com/health-wellbeing/magnesium-supplements-gut-bacteria-colorectal-cancer/
1•01-_-•3m ago•0 comments

How a Vibrator Helped Me Debug a Motorcycle Brake Light System

https://bikesafe.me/blogs/news/how-a-vibrator-helped-me-debug-a-motorcycle-brake-light-system
1•CharlesW•6m ago•0 comments

Linux Ready to Upstream Support for Google's PSP Encryption for TCP Connections

https://www.phoronix.com/news/PSP-Encryption-Linux-6.18
3•Bender•7m ago•0 comments

Haiti: The Most Important Country in the World – (Class #1) [video]

https://www.youtube.com/watch?v=mjliyakWVl4&list=PL5VfCdafDjf8hJhJv3N3W-uax1dMbf1yI&index=8
1•evanjrowley•10m ago•0 comments

A simulator significantly inspired by the first commercial transistor computer

https://git.sr.ht/~nkali/mv950toy
2•todsacerdoti•13m ago•0 comments

Characterizing Fitness Landscape Structures in Prompt Engineering

https://arxiv.org/abs/2509.05375
2•PaulHoule•14m ago•0 comments

Ask HN: Does vibecoding destroy teens learning to code, or help them?

1•jimmydin7•15m ago•0 comments

The Homebuyer's Guide to Martian Settlement – Universe Today

https://www.universetoday.com/articles/the-homebuyers-guide-to-martian-settlement
1•rbanffy•19m ago•0 comments

Why Write About Degenerates?

https://secondvoice.substack.com/p/why-write-about-degenerates
1•paulpauper•19m ago•0 comments

Don't Be a Sucker [video]

https://www.youtube.com/watch?v=vGAqYNFQdZ4
1•alecst•20m ago•0 comments

Review: Project Xanadu – The Internet That Might Have Been

https://www.astralcodexten.com/p/your-review-project-xanadu-the-internet
5•paulpauper•21m ago•0 comments

Ask HN: Production deployed full AI generated applications

1•indianmouse•21m ago•0 comments

Tunnel your local HTTP(s) server to the world (Crystal port of unjs/untun)

https://github.com/krthr/untun.cr
3•krthr•24m ago•0 comments

Show HN: Freeing GPUs stuck by runaway jobs

https://github.com/kagehq/gpu-kill
2•lexokoh•24m ago•0 comments

Microstacks or Megadependencies over at Webdevcon 2025

https://berthub.eu/articles/posts/microstacks-or-megadependencies-webdev/
3•Bogdanp•24m ago•0 comments

Check Your References When Restoring a Car

https://www.caranddriver.com/features/g65654286/1980-nissan-280zx-1984-300zx-factory-restoration/
1•insane_dreamer•25m ago•1 comments

LaLiga's Anti-Piracy Crackdown Triggers Widespread Internet Disruptions in Spain

https://reclaimthenet.org/laligas-anti-piracy-crackdown-triggers-widespread-internet-disruptions
12•akyuu•27m ago•1 comments

Show HN: The Atlas – I Built a 3D Universe Simulation with Python and Three.js

https://github.com/SurceBeats/Atlas
1•SurceBeats•28m ago•0 comments

Ray Bradbury in 1984, interviewed about Fahrenheit 451 becoming a computer game

https://books.google.com/
1•ohjeez•29m ago•0 comments

Clean hydrogen is facing a big reality check

https://www.technologyreview.com/2025/09/18/1123818/hydrogen-reality-check-china/
2•rbanffy•30m ago•0 comments

The Future of AI Codecs: Specialisation

https://deeprender.ai/blog/future-ai-codecs-specialisation
1•ksec•31m ago•0 comments

RIP John H. Wolfe, the inventor of model-based clustering for continuous data

https://www.dignitymemorial.com/obituaries/san-diego-ca/john-wolfe-11789597
1•ohjeez•31m ago•1 comments

How AI can make coupon codes work – Kupondi

https://kupondi.com/?lang=en
1•pr-lanch•32m ago•0 comments

Oxford loses top 3 university ranking for the first time

https://hotminute.co.uk/2025/09/19/oxford-loses-top-3-university-ranking-for-the-first-time/
39•ilamont•33m ago•23 comments

Three Years and 100 Commits Later: A Reflection

https://priyavr.at/blog/100-commits/
1•prvt•34m ago•1 comments