frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Sears didn't miss e-commerce – Eddie Lampert stripped it [video]

https://www.youtube.com/watch?v=Vxe1kXKBClg
1•adhikaribipin•40s ago•0 comments

Show HN: Let your coding agents set up your test coverage

https://blog.codacy.com/introducing-codacy-skills-part-3-let-your-agent-set-up-test-coverage
1•ARayOutOfBounds•1m ago•0 comments

Tool to explore what skills employers ask for based on 1M+ job postings

https://corvi.careers/skills-explorer/
1•sp1982•2m ago•0 comments

Fewer contrails would be good for the climate

https://www.economist.com/leaders/2026/08/20/fewer-contrails-would-be-good-for-the-climate
1•Gander5739•2m ago•0 comments

Pursuit of AGI

https://cognitus.grrn.io
1•grrnteam•5m ago•0 comments

Satd (Full Bitcoin Node in Rust): Guided Code Tour

https://epochbtc.github.io/satd/tour.html
1•epochbtc•5m ago•0 comments

More than 150 Polymarket wallets may have traded on military secrets

https://www.msn.com/en-gb/money/economy/ar-AA2azznW
3•bcaulfield•7m ago•0 comments

Better Batteries

https://matklad.github.io/2026/08/20/better-batteries.html
1•surprisetalk•7m ago•0 comments

Surprise Treasury Move Can't Mask America's Record Debt Problem

https://www.bloomberg.com/news/newsletters/2026-08-20/surprise-treasury-buyback-can-t-mask-americ...
3•petethomas•8m ago•0 comments

Iceland cuts store losses by 80% with AI-powered theft detection

https://www.retailgazette.co.uk/blog/2026/08/iceland-cuts-store-losses-by-80-with-ai-powered-thef...
2•theanonymousone•9m ago•0 comments

Views on the Dollar Shortage Controversy

https://www.aeaweb.org/research/great-dollar-shortage-debate
1•wslh•11m ago•0 comments

Citizen Devs: Everyone is an engineer now

https://www.massdriver.cloud/blogs/the-citizen-developer
2•metal13•11m ago•0 comments

Ask HN: How did you write code on restricted hardware?

1•diselody•12m ago•1 comments

Go updates may delight diehard gophers but displease AI overlords

https://www.theregister.com/devops/2026/08/20/go-updates-may-delight-diehard-gophers-but-displeas...
1•joebuckwilliams•12m ago•0 comments

Code as an Artifact

https://pradeeproark.com/posts/code-as-an-artifact-means-to-an-end/
2•pradeeproark•12m ago•0 comments

Opus 5 Is Trash

1•no-user•12m ago•2 comments

Show HN: DumpSort – drop screenshots/PDFs, get a named zip (browser-only)

https://dumpsort.vercel.app
2•davidlifschitz•13m ago•0 comments

U.S. Workers Are Paying More for Healthcare, and Next Year Will Be Worse

https://www.wsj.com/health/healthcare/u-s-workers-are-paying-more-for-healthcare-and-next-year-wi...
3•tcp_handshaker•14m ago•0 comments

Software's Differentiated Sell-Off

https://www.a16z.news/p/charts-of-the-week-softwares-selective
1•gmays•14m ago•0 comments

The Hajji Baba Club

https://www.hajjibaba.org/
2•gregsadetsky•17m ago•0 comments

Discriminating stress from cognitive load using a wearable EDA device (2010)

https://pubmed.ncbi.nlm.nih.gov/19906598/
1•wslh•19m ago•0 comments

Meta launches new vibe-coding platform, Pocket, in the US

https://www.neowin.net/news/meta-launches-new-vibe-coding-platform-pocket-in-the-us/
2•bundie•20m ago•2 comments

US July gaming hardware spending dropped to near-2020 out-of-stock lows

https://www.eurogamer.net/circana-july-2026-hardware-software-sales
2•haunter•23m ago•0 comments

The Threat of AI to Media Archives

https://ebird.org/news/threat-of-ai-to-archives
2•steptwo•24m ago•0 comments

You Will Go To Mars (a picture story book)

https://www.youwillgotomars.com/
1•rtills•24m ago•0 comments

Robots are asking for tips. But who gets the money?

https://www.bbc.com/future/article/20260818-do-you-have-to-tip-the-robots
2•rmason•25m ago•1 comments

How to Destroy AI Scam Phone Calls (Short Video)

https://www.youtube.com/shorts/aa0v-24EFy0
1•rmason•28m ago•0 comments

Early-life stress leaves a 'scar' inside brain cells

https://medicine.washu.edu/news/how-early-life-stress-leaves-a-scar-inside-brain-cells/
2•gmays•29m ago•0 comments

Single-User Inference Card

https://markohaberl.substack.com/p/single-user-inference-card
2•mhaberl•31m ago•0 comments

The Jason Arday delusion: Scapegoating is punitive and crass

https://unherd.com/2026/08/the-jason-arday-delusion/
2•cahlingl•31m ago•0 comments
Open in hackernews

Decomposing Transactional Systems

https://transactional.blog/blog/2025-decomposing-transactional-systems
132•pongogogo•1y ago

Comments

karmakaze•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y ago
Hey Mark, I actually found this post via yours so thanks!