sure, it’s nice in theory to get rid of the car lane on prospect park’s east drive, but then you actually have to get rid of the cars. maintenance vehicles now have no official dedicated lane, so naturally they veer into the bike lane. sounds like blasphemy, but they should’ve kept the car lane, maybe specifying that it’s for maintenance vehicles only and banning outside traffic through the park
Using Python 3.11 or higher, I want to create an output file and add a line describing it to a log file as an atomic operation: either the output file is created and the log entry is added, or neither happens. fcntl.flock() is only advisory - will something else give me stronger guarantees, preferably on all three major OSes? #python#file-lock #atomic-operation #question
What a great summary of the daily risk and work of being a woman in patriarchy:
"If I deny his attempts at closeness by leaving or setting a boundary, he could feel frustrated, rejected, or ashamed. If he doesn’t know how to recognize or manage those feelings, he’s likely to experience them as anger. And then I’m a solo woman stuck in a forest with an angry man, which is exactly what women are most afraid of."
"There’s no time to think, so I operate on instinct. My task is ridiculously complex. I need to deescalate any signs of aggression, guide the man into a state of emotional balance, and exit the situation safely, all at once. This process requires all of my attention, energy, and intellect. It’s really hard. "
I've been doing this complex survival dance since I was 10 years old and this is why I embrace middle-aged woman invisibility gratefully
@danderson@palats my Apple watch says my HRV is around 40 and my chest strap says more like 60 (units unknown) which is nice because the HRV my watch reports is not great!
#WritersCoffeeClub Day 20: When did you first know you wanted to be a writer?
It's less that I want to be a writer and more that I get excited about writing specific things and then I write them. I am curious how many other writers have a similar mindset
@bert_hubert I have not, thank you! I liked: "Writing a book is a horrible, exhausting struggle, like a long bout of some painful illness. One would never undertake such a thing if one were not driven on by some demon whom one can neither resist or understand."
Remember that blog post "I got robbed of my first kernel contribution" where a maintainer slightly rewrote a patch and took credit for it? Well, I decided to do something about it.
I co-authored a guide with Maria Matějka and some other folks on documenting how your project gives credit and otherwise handles contributions. If your project's policy is to lightly rewrite contributions and take credit for them, say so! Subscriber link (free) to the LWN article:
When I started work on a credit policy for open source projects, I was mostly thinking about preventing a particular kind of plagiarism, in which a maintainer edits or slightly rewrites someone else's work and takes primary (or sole) credit.
But then a lot of maintainers who try hard to give credit told me about situations that look similar but weren't their fault. Someone submits a patch that doesn't get a review , then another person writes the same feature and gets accused of plagiarism.
Another surprise approach to contributing to open source projects was finding projects with a policy of not accepting outside contributions or always rewriting them for security or correctness reasons. It's hard to insert a subtle backdoor like the xz one if a trusted person reimplements it. (Of course in this case the ethical thing to do is list the original author as primary or co-author.)
Some projects make it obvious that only the maintainer gets credit for the entire project. When I sent in a minor bug fix to xscreensaver as I described in the LWN article, I knew I would not get credit because no one other than the primary author was credited.
The problem is projects that make it look like contributors get credit for their work, but in reality the maintainers take as much credit as they can for other people's work and rely on a supply of naive new contributors to plagiarize.
Then there is the true grey area: one person worries a first draft, another person edits, rewrites, refactors, implements from scratch... at some point, they have done more work than the original author. When is that?
Our recommendation is to bias your credit policy in favor of rewarding the behavior you want to incentivize. Need more reviews? Maybe consider giving all reviewers co-author credit. Whatever you want people to do more of, make your contributions and credit policy reward that.
I want to thank and credit again all the people who helped develop this guide to writing a contributions and credit policy. They are in the credits file in the guide (link below) as well.
Maria Matějka: writing, editing, the naming policy, and making the git repo
Marcos Sanz and Martin Winter: several ideas, making space for it at the RIPE Open Source Working Group
Many members of the RIPE OS WG for comments, suggestions, and ideas
My goal is that this is becomes like codes of conduct: so many projects have a written contributions and credits policy that the ones that don't start to stand out. I suspect that most maintainers aren't bold enough to have a written policy that says, "If I think I can get away with it, I will slightly edit your contribution and take primary credit for it." :)
In the train to Hamburg. A dude starts playing music on his phone loudly. I ask him to use earphones. He says he has none. And he gets aggressive towards me and asks me to move. And then accuses me of being aggressive because I got annoyed. 😡
@jon@quixoticgeek my go-to for this situation is to start playing "Wicked Game" at full volume on my phone while bopping along. I love the song and it is guaranteed to irritate anyone playing music out loud on transit
I want to see a few pretty flowers near me in my last days and don't have the spoons to devote my life to ecology.
I live literally in the middle of Los Angeles; I can walk two blocks and see piles of actual trash, rusted chain link, piles of tires. But a flower is the threat?
All the stuff that's "native" and "belongs" to an area is a nostalgic snapshot of a climate gone by anyway.
Please don't shame me about something that gives me a reason to smile on the way to chemo.
@mishellbaker I love the Dutch approach to flower gardens. People just plant whatever anywhere they feel like it... I see hollyhocks growing out of random cracks next to the sidewalk. My apartment management company sent me one of those cards that has seeds embedded in the paper and told me to tear it up and plant the pieces around the neighborhood. Of course they have nothing resembling unaltered wilderness in the entire country :)