frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

NIST Develops New Standards to Safeguard Computers Against Quantum Threats

https://www.nist.gov/blogs/taking-measure/quantum-computers-may-put-internet-traffic-risk-nist-sa...
1•birdculture•2m ago•0 comments

Wikimedia Foundation refuses union recognition, hires union-busting law firm

https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2026-08-02/News_and_notes
2•akolbe•4m ago•0 comments

Show HN: Fuse – statically typed functional programming language

https://fuselang.org
1•the_unproven•5m ago•0 comments

The Patch Paradox

https://whiletruelearn.dev/essays/patch-paradox/
1•krishnasangeeth•11m ago•0 comments

Bash Aliases

https://github.com/ctrlaltvikas/Awesome-Bash-Aliases
1•vikaskyadav•12m ago•0 comments

Twenty-Four Years of Wiki Engines

https://taoofmac.com/space/blog/2026/08/02/1130
1•rcarmo•13m ago•0 comments

Everything about my smart home and homelab setup

https://swiftrocks.com/everything-about-my-smart-home-and-homelab-setup
1•rockbruno•13m ago•0 comments

The Invariant Is Hiding

https://yusufaytas.com/the-invariant-is-hiding
7•yusufaytas•13m ago•0 comments

Auto Publishing with Lerobit: A Comprehensive Guide for Small Businesses

https://www.lerobit.com/blog/unlock-auto-publishing-lerobit-guide
1•akliluart•17m ago•0 comments

Impro is a handbook for running a cult

https://www.seangoedecke.com/impro/
1•swah•17m ago•0 comments

Post-P=NP: The World Reimagined

https://chatgpt.com/s/m_6a6f252612a08191b4081f60a92bceba
2•stagas•19m ago•0 comments

Clipping vs. Substepping in Physics Engines

https://easel.games/blog/2026-clipping-vs-substepping
2•BSTRhino•20m ago•1 comments

Returning to The Sims: 128 errors in a fresh lot

https://blog.backslasher.net/tsaas-saves.html
2•Backslasher•21m ago•0 comments

I made a Promise-aware debounce and throttle library for TypeScript

https://github.com/nyvexis1/temporize
2•slimy74•21m ago•0 comments

Generative AI floods and dilutes the market for books

https://arxiv.org/abs/2607.20349
3•theanonymousone•22m ago•0 comments

Europeans Are About to Find Out How Entrenched AI Is in Their Daily Lives

https://www.wired.com/story/europeans-are-about-to-find-out-how-entrenched-ai-is-in-their-daily-l...
2•joozio•26m ago•0 comments

For sale: early access to Trump's Truth Social posts

https://www.npr.org/2026/08/01/nx-s1-5912219/trump-truth-social-access-insider-trading
3•thm•29m ago•0 comments

What is the downside of coaching that I may not be seeing yet?

2•ikut3hva•30m ago•0 comments

LLM Counter-Defaults

https://counterdefaults.aixdesign.co/
2•bookofjoe•39m ago•0 comments

Damned if you do and damned if you don't: Can NOT using AI amount to negligence?

https://www.judiciary.uk/speech-by-the-master-of-the-rolls-to-the-professional-negligence-bar-ass...
2•MasterScrat•40m ago•0 comments

The Holy Grail of Engine Tech: Aerospike Engines Explained (Martian Chronicles) [video]

https://www.youtube.com/watch?v=C0DDxNcI2BA
2•zeristor•42m ago•0 comments

US Treasury undertakes historic intervention in yen market

https://www.ft.com/content/0f9b2fe7-bde4-4f5f-b49e-93ccb5da9ea8
7•23pointsNorth•42m ago•3 comments

Show HN: Katharos Functional programming and CSP-style concurrency for Python

https://github.com/kamalfarahani/katharos
2•kamalf•43m ago•1 comments

Show HN: CaLLMar – play a text-based adventure game in an LLM chat

https://github.com/lascauje/callmar
2•lascauje•44m ago•0 comments

I scraped the r/unixporn and made it filterable by distro, WM, and colorscheme

https://dotfiles.lol/
6•kewonit•47m ago•3 comments

Build a Dependency Injection Container in Vanilla JavaScript

https://jsdev.space/di-container-javascript/
2•javatuts•48m ago•0 comments

The Actor Was the Expensive Part

https://www.minid.net/2026/8/2/the-actor-was-the-expensive-part
2•meerita•49m ago•0 comments

Show HN: Documan – AI Powered Requirement Management Workspace

https://github.com/bbayer/DocuMan
2•bbayer•50m ago•0 comments

What Naur got wrong from The concept of mind

https://tssm.neocities.org/what-naur-got-wrong-from-the-concept-of-mind
2•mpweiher•51m ago•0 comments

Rexpaint – a powerful ASCII art editor

https://www.gridsagegames.com/rexpaint/
2•sph•52m 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!