Hunting a 16-year-old SQLite WAL bug with TLA+
11–20 of 37 posts
Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#12Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#13Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#14[flagged]
Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#15Author of the article here. I am surprised to see the post was submitted and made it to the front page! Happy to answer any questions
Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#16Author of the article here. I am surprised to see the post was submitted and made it to the front page! Happy to answer any questions
Thanks for the nice article. The SQLite docs that explain this bug are emphatic about how utterly rare, even irreproducible it is. How, then, was it found, one wonders?
Something similar happened to me when I was working on some code that should clear the state and, by inspection, I noticed some field was not properly cleared under specific circumstances. Then I tested the hypothesis and indeed found a bug. Sometimes intuition and guessing is what it takes.
Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#17Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#18Author of the article here. I am surprised to see the post was submitted and made it to the front page! Happy to answer any questions
Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#19Earlier quoted context omitted.
So there's \in, \subseteq and probably many others that are written just like in Latex. Notably \cap and \cup were also copied from Latex, which describe the shape of the symbol instead of its meaning. But not \to, \mapsto, \Vee and \Wedge, they're written as ASCII art ->, |->, \/ and /\. Then there's SUBSET, which means power set ... yeah. -_-
Leslie Lamport is also the original creator of LaTeX.
[0] https://en.wikipedia.org/wiki/LaTeX
Re: Hunting a 16-year-old SQLite WAL bug with TLA+
#20Author of the article here. I am surprised to see the post was submitted and made it to the front page! Happy to answer any questions
You’re in a desert walking along in the sand when all of the sudden you look down, and you see a tortoise, it’s crawling toward you. You reach down, you flip the tortoise over on its back. The tortoise lays on its back, its belly baking in the hot sun, beating its legs trying to turn itself over, but it can’t, not without your help. But you’re not helping. Why is that?