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?

Reverse engineering Claude's memory system

https://manthanguptaa.in/posts/claude_memory/
1•Areibman•4m ago•0 comments

The Five Forces That Broke Capitalism – and One Possible Fix

https://www.bloomberg.com/news/features/2025-12-12/is-capitalism-failing-five-factors-that-broke-...
2•helsinkiandrew•7m ago•1 comments

The Path to Mojo 1.0

https://www.modular.com/blog/the-path-to-mojo-1-0
1•maxloh•8m ago•0 comments

'Godmother of AI' says degrees are less important in hiring

https://fortune.com/2025/12/12/fei-fei-li-stanford-professor-godmother-ai-college-degrees-skills-...
2•alexgotoi•8m ago•0 comments

Turning my reading list into podcasts

https://www.coryd.dev/posts/2025/turning-my-reading-list-into-podcasts
1•freediver•10m ago•0 comments

Fearless Website Updates with Hugo

https://home.expurple.me/posts/fearless-website-updates-with-hugo/
1•Expurple•11m ago•0 comments

Show HN: How to make Professional Footer for your website (Online-Tool) by me

https://medium.com/@fachaaccou/how-to-make-a-designed-footer-for-your-website-tutorial-online-too...
1•aminekhd•11m ago•0 comments

What I learned building an opinionated and minimal coding agent

https://mariozechner.at/posts/2025-11-30-pi-coding-agent/
1•gmays•12m ago•0 comments

Photonic Chips Are Coming Faster Than Anyone Expected – Akhetonics [video]

https://www.youtube.com/watch?v=9tqOPS6x9l8
1•starwatch•13m ago•0 comments

Stop writing if statements for your CLI flags

https://hackers.pub/@hongminhee/2025/stop-writing-if-statements-for-your-cli-flags
1•dahlia•20m ago•0 comments

My Gift to the Rustdoc Team

https://fasterthanli.me/articles/my-gift-to-the-rust-docs-team
1•joshka•28m ago•0 comments

Bamboos Blossomed in Japan in 2019

https://grapeejapan.com/114838
1•nvader•31m ago•0 comments

Medieval Moons

https://aeon.co/essays/what-the-moon-meant-to-medieval-christian-and-islamic-authors
1•prismatic•32m ago•0 comments

AI Analyzes Language as Well as a Human Expert

https://www.wired.com/story/in-a-first-ai-models-analyze-language-as-well-as-a-human-expert/
2•quapster•34m ago•0 comments

Tesla made a $350 pickleball paddle

https://www.popsci.com/technology/tesla-pickleball-racket/
2•Brajeshwar•36m ago•0 comments

I migrated cursor.com from a CMS to raw code and Markdown

https://leerob.com/agents
1•mherrmann•36m ago•2 comments

DIY 3D Printed Watercooling Distro Plate [video]

https://www.youtube.com/watch?v=LZRjqpvWzGo
1•edward28•38m ago•0 comments

Theory and AI Alignment

https://scottaaronson.blog/?p=9333
1•nsoonhui•43m ago•0 comments

Show HN: KV and wide-column database with CDN-scale replication

https://github.com/ankur-anand/unisondb
5•ankuranand•43m ago•0 comments

6 Months of Living with the Light Phone III

https://lukaswerner.com/post/2025-12-13@going-light
2•derHackerman•46m ago•1 comments

Microscopic robots that sense, think, act, and compute

https://www.science.org/doi/10.1126/scirobotics.adu8009
1•XzetaU8•48m ago•0 comments

Show HN: I built this after leaking my AWS keys on StackOverflow

https://codeanswr.com
2•saradev2025•49m ago•0 comments

Yet another P2P file transfer tool

https://xypd.zorig.dev/
1•zorig•49m ago•0 comments

Show HN: I built a one-click coin flip with no ads or tracking

https://wheelpage.com/coin-flip/
2•nalife520•57m ago•0 comments

Ask HN: New user here – unable to submit a link. Do I just need to wait?

1•ursAxZA•1h ago•1 comments

Show HN: I replaced a 5-person marketing team with a swarm of autonomous agents

https://blog.vect.pro/automated-marketing-strategy-guide
1•afrazullal•1h ago•0 comments

Show HN: I built an AI that scans 10k Reddit comments to find 'Blue Ocean' ideas

https://blog.vect.pro/trend-hacking-guide
1•WoWSaaS•1h ago•0 comments

Want to know what LLMs think about your brand?

https://www.spottedby.ai/
1•dalnoon•1h ago•1 comments

Positive Imagining Changes the Brain in Seconds

https://neurosciencenews.com/positive-imagining-social-neuroscience-30036/
1•ashishgupta2209•1h ago•0 comments

I grew up in Russia. Here's why we're afraid of freedom

https://www.youtube.com/watch?v=4hqz1NRUPy4
2•sakopov•1h ago•1 comments