frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gaussian Function

https://en.wikipedia.org/wiki/Gaussian_function
1•tristenharr•1m ago•0 comments

Show HN: Neural Fit game -Adjust the network's weights and biases

https://neuralfit.ai201.site/
2•Gooblebrai•2m ago•0 comments

Trump Made $1B on Crypto Deals While His Fans Lost a Fortune

https://www.wsj.com/finance/currencies/trump-made-1-billion-on-crypto-deals-while-his-fans-lost-a...
4•doener•4m ago•0 comments

Borrowing the Night: Reclaiming Idle Inference GPUs for Research

https://runwayml.com/news/borrowing-the-night-reclaiming-idle-inference-gpus-for-research
2•nielka•4m ago•0 comments

Spiritual Bypass

https://en.wikipedia.org/wiki/Spiritual_bypass
2•wslh•7m ago•0 comments

Show HN: Visualizing Contrastive Language-Audio Pretraining (Clap)

https://adamsohn.com/clap/
2•dataviz1000•8m ago•0 comments

Code Search: How Agents Search Across Snap's Codebase

https://eng.snap.com/code_search
3•Kaedon•9m ago•0 comments

Gen Z is forgoing the institution of mariage

https://www.cnbc.com/2026/07/02/gen-z-marriage-rates-american-dream.html
3•cramer4next•9m ago•1 comments

BlastRadar – paste a Git diff, get a production risk score in 10 seconds

https://blastradar.vercel.app/
2•M_Carpenter•10m ago•0 comments

China Tells Telecom Carriers to Phase Out Foreign Chips by 2027 (2024)

https://www.wsj.com/tech/china-telecom-intel-amd-chips-99ae99a9
2•mgh2•13m ago•1 comments

Show HN: Material 3 Expressive Web Components

https://matraic.github.io/m3e/
2•matraic•14m ago•0 comments

The 'Father of the Internet' is finally retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
5•rmason•14m ago•1 comments

Burned out, how do I get out of the rut?

2•brandgefahr•17m ago•2 comments

NLRB Case of Denise Unterwurzacher and Atlassian

https://www.nlrb.gov/case/16-CA-324971
3•abeppu•18m ago•1 comments

Microsoft Frontier Company – Announcement

https://blogs.microsoft.com/blog/2026/07/02/microsoft-frontier-company-ai-engineering-that-amplif...
3•dzonga•19m ago•0 comments

Swift-Nio-QUIC

https://github.com/apple/swift-nio-quic
2•frizlab•19m ago•0 comments

What's new in Swift: June 2026 Edition

https://swift.org/blog/whats-new-in-swift-june-2026/
2•frizlab•20m ago•0 comments

'Separate in name and power': How America reinvented English

https://www.bbc.com/future/article/20260630-how-america-reinvented-english
4•1659447091•20m ago•1 comments

Fly Through Hogwarts

https://hogwarts-production.up.railway.app/
2•memalign•23m ago•0 comments

Running a Virtual Machine on a Cloud Box That Can't Run Virtual Machines

https://www.frankchiarulli.com/blog/nix-pvm/
2•fcjr•25m ago•0 comments

Virginia Bans Sale of Geolocation Data

https://www.hunton.com/privacy-and-cybersecurity-law-blog/virginia-bans-sale-of-geolocation-data
4•toomuchtodo•26m ago•1 comments

GitLab founder when facing terminal cancer attacks it like a startup problem

https://twitter.com/afshineemrani/status/2072363127552016501
2•rmason•27m ago•0 comments

The Music of Destruction

https://thebaffler.com/latest/the-music-of-destruction-fuelling
3•lermontov•28m ago•0 comments

WhatsApp to roll out username system, allowing users to hide phone numbers

3•PetaTech-News•30m ago•1 comments

Show HN: LaunchPact - Get upvotes for your Product Hunt launch

https://www.launchpact.io
1•launchpact_io•30m ago•2 comments

The Ramanujan Challenge for AI

https://www.ramanujanmachine.com/ramanujan-challenge/
1•robinhouston•31m ago•0 comments

Pacific West Real Estate Group

https://www.pacificwestre.ca/
1•PWREALESTATE•31m ago•1 comments

Fundamental Attribution Error

https://en.wikipedia.org/wiki/Fundamental_attribution_error
2•chistev•34m ago•0 comments

Hands-Free Lockpicking: Critical Vulns in Dormakaba's Access Control System

https://sec-consult.com/blog/detail/hands-free-lockpicking-critical-vulnerabilities-in-dormakabas...
1•denysvitali•34m ago•0 comments

Recommending Linux Distros Has Never Been This Fun [video]

https://www.youtube.com/watch?v=855QEhMlFXg
2•ashitlerferad•35m 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!