frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Science confirms: Cats help you only when there's something in it for them

https://www.scientificamerican.com/article/cats-unlike-dogs-and-toddlers-help-you-only-when-it-he...
1•haltingproblem•34s ago•0 comments

Ask HN: Is there a metric for AI code quality?

1•fractalf•47s ago•0 comments

The story behind Argentina's new World Cup jersey

https://www.rte.ie/brainstorm/2026/0611/1577523-argentina-world-cup-2026-alternative-jersey-filet...
1•austinallegro•55s ago•0 comments

The U.S. Is Terrorizing Cuba to Make Rich Men Richer

https://www.currentaffairs.org/news/the-u.s.-is-terrorizing-cuba-to-make-rich-men-richer
3•robtherobber•5m ago•0 comments

Sitemaps and robots.txt – Practical guide for SEOs and developers

https://mysevenstars.com/articles/SEO-SiteMaps-Robots-Google.html
1•mssblogs•6m ago•0 comments

Steve Jobs in Exile is a fine profile of Jobs' years at NeXT

https://arstechnica.com/apple/2026/06/steve-jobs-in-exile-is-a-fine-profile-of-jobs-years-at-next/
2•initramfs•7m ago•0 comments

Why tracking ports is better than tracking vessels for supply chain data

https://coloneltoad.substack.com/p/the-hard-part-of-alternative-data
1•tolugenius•8m ago•0 comments

Passports and photo IDs were left unprotected on the public internet

https://www.theverge.com/tech/947157/passports-data-breach-cannabis-club-systems-nefos-puffpal
2•SockThief•9m ago•0 comments

Miz Framework

https://eazymizy.com
1•sajjadws•11m ago•0 comments

AI Boom Stokes Inflation with Memory Chips at 'Insane' Prices

https://www.bloomberg.com/news/articles/2026-06-11/us-inflation-driven-partly-by-ai-boom-fueling-...
1•emot•12m ago•0 comments

Human migration has surged since 2000 – these maps reveal where people are going

https://www.nature.com/articles/d41586-026-01796-y
6•tzury•14m ago•2 comments

Show HN: I applied Lyapunov stability theory to detect when LLM agents spiral

https://github.com/vishal-dehurdle/state-harness
2•visha1v•18m ago•0 comments

WSP WordPress MCP – Connect AI Coding Agents to WordPress

https://github.com/bilalnaseer/wsp-wordpress-mcp
1•ibrarmaikah•19m ago•0 comments

The Illusion of Determinism

https://www.normallydistributed.dev/the-illusion-of-determinsim/
3•jillcates•20m ago•0 comments

DiffFlow: Developer-Grade Website Change Monitoring

https://diffflow.com/blog/announcing-diffflow/
1•7rin0•21m ago•0 comments

Andrew Neil's new podcast [video]

https://www.youtube.com/watch?v=cfF-susbboI
1•mellosouls•24m ago•0 comments

Feds will abruptly dismantle system monitoring climate change, oceans

https://www.usatoday.com/story/news/nation/2026/06/11/climate-change-ocean-monitoring-system-dism...
4•OutOfHere•28m ago•0 comments

Stadium Selfie

https://apps.apple.com/us/app/stadium-selfie/id6776387163
1•IAmbarbosa•28m ago•0 comments

Ranking the random voice chat apps/platforms

https://mindfuse.io/random-voice-chat
2•Joeribon•28m ago•0 comments

Bye-bye Butterflies

https://europeancorrespondent.com/en/r/byebye-butterflies
2•stared•28m ago•0 comments

Show HN: Realtime voice agent that sees, hears, and interrupts – on a CPU laptop

https://github.com/kouhxp/cheap-im
1•mrkn1•31m ago•0 comments

American capitalism is run by millionaires, not billionaires

https://www.economist.com/business/2026/06/10/american-capitalism-is-run-by-millionaires-not-bill...
3•bazzmt•32m ago•2 comments

Show HN: A skill to audit your dbt project for what an AI agent will get wrong

https://github.com/GetCassis/dbt-agent-readiness
2•matthieu_bl•33m ago•0 comments

Show HN: Claumon – forecasting Claude Code usage limits with a Gamma process

https://github.com/fabioconcina/claumon
2•fabioconcina•34m ago•0 comments

Kelsey Martin Wins Kavli Prize in Neuroscience

https://www.simonsfoundation.org/2026/06/10/kelsey-martin-wins-kavli-prize-in-neuroscience/
1•bookofjoe•35m ago•0 comments

Endgame: Russia's war economy hits its limits

https://www.kielinstitut.de/publications/news/endgame-russias-war-economy-hits-its-limits/
2•dennis-tra•37m ago•0 comments

Tell HN: Claude Code keeps getting worse

1•prmph•38m ago•0 comments

Soccer's Data Renaissance

https://www.technologyreview.com/2026/06/11/1138506/inside-soccer-data-renaissance-jesse-davis/
2•joozio•38m ago•0 comments

Show HN: Offsend – local Mac app that masks secrets before AI tools see them

https://github.com/Offsend/Offsend
2•hudishkin•39m ago•0 comments

Did AI speed us up? The honest ROI take

https://aibuilderseries.substack.com/p/did-ai-speed-us-up
3•seantheviking•40m 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!