What is the best in-depth up-to-date survey of the various models that individuals and companies have used to earn money from (or on top of) open source software, and the ups and down thereof? The last thing I saw that I would call systematic was an internal study at a big tech company seven years ago (so not shareable or citable), and even then it documented 20+ approaches. Pointers welcome - thanks. #opensource
OK Pythonistas: I want to include Python code snippets in a document. Rather than marking regions with specially-formatted comments, I use ast.parse to generate an AST, find the root node of the part I want to display (e.g., method M of class C), then use ast.unparse to turn it back into text. It's simple and effective except it doesn't preserve the indentation of the original: if (for example) I've split a dictionary across 3 lines, ast.unparse puts all the entries on a single line. 1/
Now Tom said, "Mom, wherever there's a cop beating a guy
Wherever a hungry newborn baby cries
Where there's a fight against the blood and hatred in the air
Look for me, Mom, I'll be there"
"Wherever somebody's fighting for a place to stand
Or a decent job or a helping hand
Wherever somebody's struggling to be free
Look in their eyes, Ma, and you'll see me"
Why is it "the dude abides" but "the dudes abide"? Wouldn't it make more sense if it was "the dude abide" (no 's' on either) and "the dudes abides" (both)? It makes no sense.
@gvwilson or just point people at @martin ‘s work +a few of the classic papers.
I do think someone needs to write a review of real world examples of people getting database isolation levels wrong, especially using bitcoin exchanges as “what not to do” references
@stevel I feel that's like telling people to read the source of Python to understand how an interpreter works rather than giving them https://craftinginterpreters.com/ first