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?

I Tried and Failed to Rebuild the 1996 Space Jam Website with Claude

https://j0nah.com/i-failed-to-recreate-the-1996-space-jam-website-with-claude/
1•thecr0w•33s ago•0 comments

India's Biggest Airline Falls into Chaos, Canceling More Than 1k Flights

https://www.nytimes.com/2025/12/05/business/india-indigo-airline-cancelations.html
2•bookofjoe•2m ago•1 comments

Prosopometamorphopsia and Facial Hallucinations [pdf]

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(14)61690-1/fulltext
1•thunderbong•2m ago•0 comments

Sega Dreamcast port of Star Fox 64

https://github.com/jnmartin84/sf64-dc
1•Venn1•4m ago•0 comments

Endangered bottlenose whale population begins to recover off Canada's east coast

https://news.mongabay.com/2025/12/a-rare-bright-spot-for-whales-decades-of-conservation-pay-off-f...
1•randycupertino•5m ago•0 comments

The Quest to Replace Passwords: a comparative evaluation of Web authn schemes

https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-817.html
1•BinaryIgor•9m ago•0 comments

Show HN: Why I built (yet another) AI writing app for macOS

https://textwisely.ai/
1•EdgarsHQ•11m ago•0 comments

MYRA stack – Modern Java FFM based libraries

https://www.roray.dev/blog/myra-stack/
1•clanky•12m ago•0 comments

Apple's chief chip architect has reportedly talked to CEO Tim Cook about leaving

https://www.tomshardware.com/tech-industry/apples-chief-chip-architect-for-the-last-decade-has-re...
1•gloxkiqcza•13m ago•1 comments

Crash, bang, wallop what a picture – Shane Black's film writing techniques

https://www.theguardian.com/film/2009/may/22/shane-black-12-rounds
1•lifeisstillgood•13m ago•0 comments

Australian teens are planning to get around their social media ban

https://www.newscientist.com/article/2507241-how-australian-teens-are-planning-to-get-around-thei...
1•ironyman•14m ago•1 comments

Semantic Compression (2014)

https://caseymuratori.com/blog_0015
3•tosh•24m ago•0 comments

What the heck is going on at Apple?

https://www.cnn.com/2025/12/06/tech/apple-tim-cook-leadership-changes
3•methuselah_in•24m ago•1 comments

Fluently AI English app review, by a qualified English teacher [video]

https://www.youtube.com/watch?v=B5hQkrOGnmY
2•runarberg•25m ago•1 comments

SigmaTest: A no-holds, < 60KB C testrunner with memleak detection

https://github.com/Quantum-Override/sigma-test/tree/v1.0.0-release
1•thebadkraft•28m ago•1 comments

Domain Modeling Made Denumerable

https://github.com/sgoguen/DenseCheck/blob/main/docs/2025/12/02-Happy-FS-Advent.md
1•dread88•28m ago•0 comments

Tech hopefuls are listing SF in their online bios even if they don't live there

https://www.businessinsider.com/tech-hopefuls-list-san-francisco-online-bios-live-elsewhere-2025-10
1•randycupertino•31m ago•1 comments

Chatting about Shadow DOM

https://thehistoryoftheweb.com/chatting-about-shadow-dom/
1•Brajeshwar•34m ago•0 comments

SQL Murder Mystery Solved

https://kick.com/implabinash
2•implabinash•34m ago•1 comments

Ziglings: Learn the Zig programming language by fixing tiny broken programs

https://codeberg.org/ziglings/exercises/#ziglings
3•tosh•35m ago•0 comments

When AI coding crossed the speed threshold

https://betweentheprompts.com/speed-threshold/
2•scastiel•35m ago•0 comments

The AI Wildfire Is Coming. It's Going to Be Painful and Healthy

https://ceodinner.substack.com/p/the-ai-wildfire-is-coming-its-going
2•LordAtlas•35m ago•0 comments

Scaling by "delegation" isn't good enough (2015)

https://longform.asmartbear.com/delegation/
2•Brajeshwar•37m ago•0 comments

Ask HN: Why don't we teach technical founders to sell their vision?

1•jclopezsDS•38m ago•1 comments

Show HN: A Vaadin 24, Spring algebra calculator with dynamic variable buttons

1•bellaOxmyx•38m ago•1 comments

Europe Is Under Siege

https://www.noahpinion.blog/p/europe-is-under-siege
2•mpbart•39m ago•1 comments

Teenagers Circumvent Australia Social Media Ban

https://www.bbc.co.uk/news/articles/crk7xgzj8y8o
1•microsoftedging•39m ago•0 comments

P-computers can solve spin-glass problems faster than quantum systems

https://news.ucsb.edu/2025/022239/new-ucsb-research-shows-p-computers-can-solve-spin-glass-proble...
2•magoghm•41m ago•0 comments

I Have a Human Arm

https://world.hey.com/ricardo.tavares/i-have-a-human-arm-75d11858
2•rickdg•43m ago•1 comments

Critical flaws found in AI development tools are dubbed an 'IDEsaster'

https://www.tomshardware.com/tech-industry/cyber-security/researchers-uncover-critical-ai-ide-fla...
2•prng2021•44m ago•0 comments