frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Pancreatic cancer just met its match: its death sentence is treatable

https://www.worksinprogress.news/p/pancreatic-cancer-just-met-its-match
1•NewCzech•4m ago•0 comments

A Lo-Fi Rebellion Against A.I

https://www.newyorker.com/culture/infinite-scroll/a-lo-fi-rebellion-against-ai
1•XzetaU8•5m ago•1 comments

Recent Kernel exploits, attack surface reduction, example IPSEC

https://www.openwall.com/lists/oss-security/2026/05/16/3
1•birdculture•6m ago•0 comments

The Gervais Principle

https://chamoda.com/the-gervais-principle
1•chamoda•16m ago•0 comments

When can the C++ compiler devirtualize a call?

https://quuxplusone.github.io/blog/2021/02/15/devirtualization/
1•lionkor•20m ago•0 comments

Fast16 Sabotage Tool Was Built to Subvert Nuclear Weapons Simulations

https://www.security.com/threat-intelligence/fast16-nuclear-sabotage
2•ledoge•20m ago•0 comments

Writing Z80 assembly, 4 decades later:-)

https://github.com/ttsiodras/3D-on-a-ZX-Spectrum-48K/
1•ttsiodras•23m ago•0 comments

MegaTrain Full Precision Training of 100B+ Parameter LLMs on a Single GPU

https://github.com/DLYuanGod/MegaTrain
1•adulau•25m ago•0 comments

WHO declares Ebola outbreak in DR Congo a global health emergency

https://www.bbc.co.uk/news/articles/c2l2p0wwzzdo
2•lifeisstillgood•26m ago•0 comments

Ra

https://qntm.org/ra
3•sim04ful•37m ago•0 comments

How to Tell If You're Living in a Binary Crisis

https://www.honest-broker.com/p/how-to-tell-if-youre-living-in-a-8ee
2•Khaine•41m ago•0 comments

Strait of Hormuz submarine cable

https://www.cnn.com/2026/05/17/middleeast/iran-hormuz-undersea-cables-intl
1•reconnecting•42m ago•0 comments

Towards local plug-and-play AI

https://adlrocha.substack.com/p/adlrocha-towards-local-plug-and-play
1•adlrocha•48m ago•0 comments

Why are there squares everywhere in statistics?

https://statmodeling.stat.columbia.edu/2026/05/16/why-are-there-squares-everywhere-in-statistics-...
2•Tomte•52m ago•0 comments

Show HN: Extendable API Gateway Written in Go

2•starwalkn•53m ago•1 comments

Std: Is_heap Could Be Faster

https://quuxplusone.github.io/blog/2026/05/11/is-heap/
1•signa11•53m ago•0 comments

Trump's More Than 3,700 Trades Astonish Wall Street Insiders

https://www.bloomberg.com/news/articles/2026-05-14/trump-bought-nvidia-boeing-microsoft-in-flurry...
4•_tk_•53m ago•2 comments

Unit Testing's Eval Twin

https://volary.ai/articles/unit-testings-eval-twin
2•CamouflagedKiwi•1h ago•0 comments

Show HN: Onami Radio, a simple radio app for iOS

https://marigov.github.io/onami/
3•marigov•1h ago•0 comments

BT.1886 Shorthand Is a Trap

https://daejeonchronicles.com/2026/05/07/bt-1886-shorthand-is-a-trap/
2•Prasadnarava•1h ago•0 comments

Judge Says Krafton Must Rehire Fired 'Subnautica' CEO

https://www.bloomberg.com/news/articles/2026-03-16/judge-says-krafton-must-rehire-fired-subnautic...
1•_tk_•1h ago•0 comments

Softmax in front of CrossEntropyLoss: 16 other bugs PyTorch won't catch

https://gaox.substack.com/p/how-a-road-network-library-helped
1•neurarch•1h ago•0 comments

A Basic Interpreter in Markdown, Running "Natively" in Claude Code

https://dunkels.com/adam/llm-basic-interpreter-markdown/
1•adunk•1h ago•0 comments

Playing Atari ST Music on the Amiga with Zero CPU

https://arnaud-carre.github.io/2026-05-15-ym-fast-emu/
24•z303•1h ago•1 comments

Patrick Collison – Detroit Impressions

https://twitter.com/patrickc/status/2055733308877881807
1•rmason•1h ago•1 comments

UWB Mobile Suica isn't just walk-through gates, it's payments too

https://atadistance.net/2026/05/13/uwb-mobile-suica-isnt-just-walkthrough-gates-its-payments-too/
2•ksec•1h ago•0 comments

ConnectAI – LinkedIn DM Generator

https://chromewebstore.google.com/detail/connectai-—-linkedin-dm-g/cjfnhjpheldgcfmipcmibbmlfmpf...
1•sujalmeena•1h ago•2 comments

Contrast-Proofing Colors with CSS

https://dan-webnotes.com/posts/2026-05-16-contrast-proofing-colors/
2•dandep•1h ago•0 comments

Ten Signs of Fascism. America has all of them

https://rutgerbregman.substack.com/p/10-signs-of-fascism-america-has-all
51•fredski42•1h ago•14 comments

What the FDA won't tell you about your medications (transcript, Propublica)

https://www.propublica.org/podcast/what-fda-wont-tell-you-generic-drugs-safety
2•abawany•1h 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!