frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Repository Pattern with Hygienic Macros in Scheme – Lisp

https://jointhefreeworld.org/blog/articles/lisps/functional-repository-pattern-in-scheme-with-mac...
1•jjba23•2m ago•0 comments

The Music of the Spheres: SMBC 5 part comic co-authored with Terry Tao

http://smbc-comics.com/comic/spheres-part-1
1•yeellow•4m ago•0 comments

Show HN: Go language extension with HTML templates

https://github.com/doors-dev/gox
1•derstruct•5m ago•0 comments

Show HN: The Stack, a Clay sculpture that writes poems through Wi-Fi [video]

https://vimeo.com/1181880000
1•G_S•6m ago•0 comments

Gender Medicine Set Itself Up for Disaster

https://www.compactmag.com/article/how-gender-medicine-set-itself-up-for-disaster/
1•isolli•6m ago•0 comments

Show HN: Polter – Agent Driven UI (react library)

https://mydatavalue.github.io/polter/
2•lemonade311•9m ago•0 comments

The Building Block Economy – Mitchell Hashimoto

https://mitchellh.com/writing/building-block-economy
1•futurecat•9m ago•0 comments

Untaxed hidden wealth surpasses wealth of the poorest half of humanity

https://www.oxfam.org/en/press-releases/untaxed-wealth-hidden-offshore-richest-01-surpasses-entir...
2•robtherobber•10m ago•0 comments

We're Getting the Wrong Message from Mythos

https://danielmiessler.com/blog/wrong-message-from-mythos
1•tobr•22m ago•0 comments

Mesurer: Measure and Align Everything on Localhost

https://mesurer.ibelick.com
1•handfuloflight•23m ago•0 comments

Supply chain attack on CPU-Z and HWMonitor

https://twitter.com/vxunderground/status/2042483067655262461
1•aprilnya•24m ago•1 comments

US plans to automatically register young men for military draft

https://www.bbc.com/news/articles/cd6lx2lpl9xo
3•georgecmu•28m ago•1 comments

Show HN: Open-Source MCP Servers – Twitter, Bluesky, LinkedIn, Google Ads, HN

https://github.com/isteamhq/mcp-servers
4•spotlayn•32m ago•0 comments

Elastic Tabstops (2006)

https://nick-gravgaard.com/elastic-tabstops/
1•dhruv3006•32m ago•0 comments

Show HN: Emduke32 – duke nukem 3D native in your web browser

https://originalsouth.github.io/emduke32/
1•originalsouth•34m ago•0 comments

Show HN: Hindsight Simulator – Go back in time and get rich

https://chrispattle.com/hindsight-simulator
4•pattle•35m ago•0 comments

Startup Focido joins the Limb accelerator

https://focido.com/
1•vladimir_fc•36m ago•0 comments

Running Terraform against Azure locally, without a subscription

https://topaz.thecloudtheory.com/blog/terraform-local-azure-no-subscription/
2•kamilmrzyglod•38m ago•0 comments

Show HN: Nvim plugin to jump to concrete interface implementation for Python

https://github.com/sigfriedCub1990/nvim.py_gti
1•sigfriedcub1990•38m ago•0 comments

TOON: Token-Oriented Object Notation

https://toonformat.dev/
2•pramodbiligiri•39m ago•0 comments

Kintify AI tool to analyze cloud issues and suggest fixes

1•kintify•40m ago•0 comments

Show HN: Mantyx – Agents that solve real problems for you and your business

https://mantyx.io/
2•mantyx•45m ago•0 comments

Architecting the Autonomous Enterprise with Agentic Workflows

https://viitorcloud.com/blog/ai-integration-services-for-agentic-workflows/
2•Olivia_Watson•47m ago•0 comments

I shipped a transaction bug, so I built a linter

https://leonh.fr/posts/go-transaction-linter/
1•leonhfr•47m ago•0 comments

Surelock

https://notes.brooklynzelenka.com/Blog/Surelock
1•lukastyrychtr•49m ago•0 comments

LLM Wiki v2 – extends Karpathy's take on LLM wiki

https://gist.github.com/rohitg00/2067ab416f7bbe447c1977edaaa681e2
1•rohitghumare•49m ago•0 comments

For AI, energy is the final frontier

https://m4ttl4w.substack.com/p/energy-the-final-frontier
1•mattyboomboom•50m ago•0 comments

We pay you 2x back if you follow the plan and miss your goal – 30 free codes

https://nano.com/
1•DiegoGilH•51m ago•0 comments

From $11/Month to $0: How I Used AI to Reclaim My Evening

https://www.rockoder.com/blog/website-migration/
2•ZacnyLos•54m ago•0 comments

Show HN: Keeper – embedded secret store for Go (help me break it)

https://github.com/agberohq/keeper
3•babawere•54m ago•0 comments
Open in hackernews

Decomposing Transactional Systems

https://transactional.blog/blog/2025-decomposing-transactional-systems
132•pongogogo•11mo ago

Comments

karmakaze•11mo ago
> commit version is chosen — the time at which the database claims all reads and writes occurred atomically.

This post doesn't mention transaction isolation specifically though it does say "How does this end up being equal to SERIALIZABLE MySQL?" So maybe I'm supposed to consider this post only for 'Every transactional system' running with SERIALIZABLE transaction isolation. I don't particularly care about that. I do care that the database I use clearly states what its isolation names mean in detail and that it does exactly what it says. e.g. I don't expect MySQL SERIALIZABLE to exactly mean the same as any other database that uses the same term.

mjb•11mo ago
MySQL Serializable is pretty similar to serializable in other databases, in terms of the observable anomalies. There's a good set of tests here: https://github.com/ept/hermitage

> So maybe I'm supposed to consider this post only for 'Every transactional system' running with SERIALIZABLE transaction isolation.

No, it's a general point about the nature of transactions in DBMSs, and the different implementation choices. As the article says, there are some variations (e.g. MVCC at levels lower than serializable inherently has two 'order' steps).

karmakaze•11mo ago
I'm not seeing the mention of two 'order' steps. Are you referring to the larger part of what I quoted?

> MVCC databases may assign two versions: an initial read version, and a final commit version. In this case, we’re mainly focused on the specific point at which the commit version is chosen — the time at which the database claims all reads and writes occurred atomically.

For non-SERIALIZABLE isolation there may be no such "time at which the database claims all reads and writes occurred atomically", which is how I took the rest of the post to mean when running with SERIALIZABLE isolation.

transactional•11mo ago
(Hi! Post author here.)

It is written with a lean towards serializable, partly because there's a wide variety of easy examples to pull which all implement serializable, but the ideas mostly extend to non-serializable as well. Non-serializable but still MVCC will also place all of their writes as having happened at a single commit timestamp, they just don't try to serialize the reads there, and that's fine. When looking at non-serializable not MVCC databases, it's still useful to just try to answer how the system does each of the four parts in isolation. Maybe I should have been more direct that you're welcome to bend/break the mental model in whatever ways are helpful to understand some database.

The line specifically about MySQL running at serializable was because it was in the Spanner section, and Spanner is a (strictly) serializable database.

karmakaze•11mo ago
Thanks for the clarifications and diagrams. I can see how using something like Spanner from the outset makes sense to use and stick with serializable isolation. With other SQL dbs, I've mostly seen repeatable read, read committed, and even read uncommitted used in the name of performance. Read committed works fine but you have to design everything for it from the start with thoughtful write and read sequences.

Moving to serializable should be easy but isn't in the case of Spanner and the like because you can't make 100+ of sub-millisecond queries to respond to an API request if that's how your app evolved.

The way I imagine the future is to bring the code closer to the data like stored procedures, but maybe in a new way like modern languages compiled to run (and if necessary retry) in a shard of the database.

mjb•11mo ago
This is great, really worth reading if you're interested in transactions.

I liked it so much I wrote up how the model applies to Amazon Aurora DSQL at https://brooker.co.za/blog/2025/04/17/decomposing.html It's interesting because of DSQL's distributed nature, and the decoupling between durability and application to storage in our architecture.

maniacalhack0r•11mo ago
DSQL is so cool - have been following since the release and once it supports more of the postgres feature set + extensions it’ll be a killer. Fantastic architecture deep dive at ReInvent as well.
pongogogo•11mo ago
Hey Mark, I actually found this post via yours so thanks!