frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Algorithms for Competitive Programming

https://cp-algorithms.com/index.html
1•signa11•1m ago•0 comments

Fizz Buzz Through Monoids

https://entropicthoughts.com/fizzbuzz-through-monoids
1•crescit_eundo•3m ago•0 comments

Building AI Agents with Claude in Google Cloud's Vertex AI – Code with Claude [video]

https://www.youtube.com/watch?v=TUysIAtxyrQ
1•Anon84•3m ago•0 comments

Ask HN: Who's Still Hand Coding?

1•yipbub•3m ago•0 comments

Mocha: Not Just a Flavor (The history of a once-bustling trade city)

https://worldhistory.substack.com/p/mocha-not-just-a-flavor
1•crescit_eundo•4m ago•0 comments

Show HN: Extract and Run Code from Video

1•kanemarais•5m ago•0 comments

Cognitive Surrender

https://addyosmani.com/blog/cognitive-surrender/
1•BOOSTERHIDROGEN•6m ago•0 comments

China to Invest in DeepSeek at $50B Valuation

https://www.wsj.com/tech/ai/china-to-invest-in-deepseek-at-50-billion-valuation-045041d0
1•JumpCrisscross•10m ago•0 comments

Deep Learning with Python

https://deeplearningwithpython.io/
1•tosh•11m ago•0 comments

Bose Soundtouch end of life today

https://www.bose.com/soundtouch-end-of-life
1•bitslayer•13m ago•0 comments

When Claudia Met Claudius

https://unherd.com/2026/05/when-claudia-met-claudius/
1•olalonde•14m ago•0 comments

AI Is Forcing CEOs to Make a Stark Choice: Lay Off Workers or Make Them Do More

https://www.wsj.com/tech/ai/ai-is-forcing-ceos-to-make-a-stark-choice-lay-off-workers-or-make-the...
1•thm•14m ago•0 comments

Ling 2.6 (Flash and 1T): Efficient Open Models Competing on Agentic Benchmarks

https://firethering.com/ling-2-6-agentic-ai-model/
2•steveharing1•17m ago•0 comments

What even is a pidfd anyway?

https://www.corsix.org/content/what-is-a-pidfd
2•blenderob•18m ago•0 comments

Coordinated Vulnerability Disclosure

https://github.com/coordinated-vulnerability-disclosure/coordinated-vulnerability-disclosure
2•jph•18m ago•1 comments

The layoffs will continue till we learn to use AI

https://twitter.com/championswimmer/status/2051807284691612099
3•ayoisaiah•19m ago•0 comments

The problem with counterfeit people. (paywall)

https://www.theatlantic.com/technology/archive/2023/05/problem-counterfeit-people/674075/
2•fanf2•21m ago•0 comments

Meat-Based LLM Proxies

https://not-an-llm.bearblog.dev/meat-based-llm-proxies/
2•WhyNotHugo•22m ago•0 comments

Supercomputer networking to accelerate large scale AI training

https://openai.com/index/mrc-supercomputer-networking/
5•berlianta•24m ago•0 comments

81.1% vs. 13.6%: measuring retrieval accuracy for AIcoding context without embed

https://manojmallick.github.io/sigmap/guide/retrieval-benchmark.html
2•manoj079•24m ago•0 comments

Stop Sending IDE-Catchable AI Code Errors to Review

https://blog.jetbrains.com/ai/2026/05/stop-sending-ide-catchable-ai-code-errors-to-review/
3•bundie•27m ago•0 comments

Modern Developer Time Tracker

https://github.com/v1truv1us/rune
2•ankitg12•28m ago•0 comments

The Story of Mel (1983)

http://catb.org/jargon/html/story-of-mel.html
2•tosh•29m ago•0 comments

Brockman says OAI's compute cost for this year is $50B

https://twitter.com/GerritD/status/2051725302137770067
4•deanylev•31m ago•0 comments

Show HN: ContextWizard – AI context manager with undo and drag-drop

https://chromewebstore.google.com/
2•hacker2builder•34m ago•0 comments

Not your Weights, Not your Brain

https://mercurialsolo.github.io/posts/not-your-weights-not-your-brain/
2•blenderob•34m ago•0 comments

Building a DSL compiler on top of OpenAPI for UI generation

https://uigen-docs.vercel.app/blog/uigen-compiler-architecture
2•ombedzi•36m ago•0 comments

AI as a Mirror of Cognition: Compression, Prediction, and Semantic Drift [pdf]

https://github.com/therealitydrift/cognitive-drift-institute/blob/main/03_Research_and_Papers/03_...
2•realitydrift•37m ago•0 comments

Japan using game development engines for urban planning and disaster management

https://www.tomshardware.com/virtual-reality/japan-using-game-development-engines-for-urban-plann...
4•giuliomagnifico•38m ago•0 comments

The complexity of vibe coded apps (and why the dismissal is lazy)

https://www.getspectro.app/
2•ddtcx•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!