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•8mo ago

Comments

dagss•8mo 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•8mo 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?

NPM-agentskills – Bundle AI agent documentation with NPM packages

https://github.com/onmax/npm-agentskills
1•onmax•21s ago•1 comments

Show HN: A tiny free job application tracker so you stop forgetting follow-ups

https://applytrack.netlify.app/
1•p-stanchev•1m ago•0 comments

A Python Integration of Asset Allocation Based on Modern Portfolio Theory

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5915004
2•7777777phil•1m ago•0 comments

Recommended sources to read up on new tech and thinking

2•wnscooke•3m ago•0 comments

Show HN: UebGuard – Email Protection to Stop Phishing Before Users Click

https://www.uebguard.com/
2•arlindb•4m ago•0 comments

Djjkk

1•jzksbvyskb•5m ago•0 comments

A coder considers the waning days of the craft (2023)

https://www.newyorker.com/magazine/2023/11/20/a-coder-considers-the-waning-days-of-the-craft
1•jsomers•7m ago•0 comments

Designing a Design Contract for AI

https://askcodi.substack.com/p/designing-a-design-contract-for-ai
1•himalayansailor•8m ago•0 comments

Is the Iranian Regime About to Collapse?

https://www.theatlantic.com/international/2026/01/iran-revolution-protests-collapse/685578/
3•mpweiher•13m ago•0 comments

Why Object of Arrays beat interleaved arrays: a JavaScript performance issue

https://www.royalbhati.com/posts/js-array-vs-typedarray
1•howToTestFE•13m ago•0 comments

Tiny Coder – AI coding agent in ~300 LOC writing itself

https://github.com/xrip/tinycode
1•xrip•14m ago•0 comments

Will LLMs Help or Hurt New Programming Languages?

https://blog.flix.dev/blog/will-llms-help-or-hurt-new-programming-languages/
2•appliku•14m ago•0 comments

BasiliskII Macintosh 68k Emulator Ported to ESP32-P4 / M5Stack Tab5

https://github.com/amcchord/M5Tab-Macintosh
1•rcarmo•16m ago•0 comments

Show HN: Meshii – Open-source AI tool to generate 3D meshes for game development

https://github.com/sciences44/meshii
2•sciences44•19m ago•1 comments

The Ralph Wiggum Loop from first principles (by the creator of Ralph)

https://www.youtube.com/watch?v=4Nna09dG_c0
1•ghuntley•20m ago•0 comments

Matrix.envs.net Is Shutting Down

https://envs.net/
1•Sami_Lehtinen•22m ago•0 comments

Lava Lamps Protect Your Data [video]

https://www.youtube.com/shorts/oW6YwSUyfzw
2•doener•23m ago•0 comments

Matrix.envs.net Is Shutting Down

https://matrix.to/#/!dDZYx7e4nzZjqR2tnC6v1pDbZX52HJVfQRuuBpinG9U/$QUY4XtMR2WS56N-VN9na768Fd37_N7Y...
1•Sami_Lehtinen•24m ago•2 comments

The Permanent Emergency

https://www.astralcodexten.com/p/the-permanent-emergency
1•ipnon•25m ago•0 comments

Ask HN: Are we overthinking maintainability of LLM written code?

1•grainier•26m ago•0 comments

Show HN: Ultralight iOS apps (~1 MB), no tracking, on-device only

https://mindbebop.com/
1•kentaroyamauchi•29m ago•0 comments

YouTube Playlist Length Calculator

https://ytplaylistlength.one/
1•wangxin199•29m ago•0 comments

MCP Server with X402

https://twitter.com/fveiras_/status/2010083092502069348
1•fveiras•31m ago•0 comments

Why Selling WhatsApp to Facebook Would Be the Biggest Mistake (2012)

https://www.forbes.com/sites/ericjackson/2012/12/03/why-selling-whatsapp-to-facebook-would-be-the...
4•chistev•32m ago•1 comments

I Build an Idea I Love. I Need You to Tear It Apart

2•indigoeagle•33m ago•2 comments

Wong Kar-wai on technology and AI

https://twitter.com/RadiantFilm/status/2010104914274341236
2•keepamovin•37m ago•1 comments

AI memory is sold out, causing an unprecedented surge in prices

https://www.cnbc.com/2026/01/10/micron-ai-memory-shortage-hbm-nvidia-samsung.html
2•jonbaer•38m ago•0 comments

AI "cheating", anti-intellectualism and the carceral

https://overland.org.au/2025/10/ai-cheating-anti-intellectualism-and-the-carceral/
1•Pamar•40m ago•0 comments

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
2•akhuettel•40m ago•0 comments

Show HN: Typical is TypeScript with type-safety at runtime

https://typical.elliots.dev/
2•elliotshep•41m ago•1 comments