Enrico Zini: Consensually doing things together?
On 2017-08-06 I have a talk at DebConf17 in
Montreal titled
"Consensually doing things together?"
(video).
Here are the talk notes.
Abstract
At DebConf Heidelberg I talked about how Free Software has a lot to do about
consensually doing things together. Is that always true, at least in Debian?
I d like to explore what motivates one to start a project and what motivates
one to keep maintaining it. What are the energy levels required to manage bits
of Debian as the project keeps growing. How easy it is to say no. Whether we
have roles in Debian that require irreplaceable heroes to keep them going. What
could be done to make life easier for heroes, easy enough that mere mortals can
help, or take their place.
Unhappy is the community that needs heroes, and unhappy is the community that
needs martyrs.
I d like to try and make sure that now, or in the very near future, Debian is
not such an unhappy community.
Consensually doing things together
I gave a talk in Heidelberg.
Valhalla
made
stickers
Debian France distributed
many of them.
There's one on my laptop.
Which reminds me of what we ought to be doing.
Of what we have a chance to do, if we play our cards right.
I'm going to talk about relationships. Consensual relationships.
Relationships in short.
Nonconsensual relationships are usually called abuse.
I like to see Debian as a relationship between multiple people.
And I'd like it to be a consensual one.
I'd like it not to be abuse.
Consent
From wikpedia:
The Thomas-Kilmann Conflict Mode Instrument: source png.
Motivations
Quick poll:
In Canada "consent means the voluntary agreement of the complainant to engage in sexual activity" without abuse or exploitation of "trust, power or authority", coercion or threats.[7] Consent can also be revoked at any moment.[8] There are 3 pillars often included in the description of sexual consent, or "the way we let others know what we're up for, be it a good-night kiss or the moments leading up to sex." They are:Saying "I've decided I won't do laundry anymore" when the other partner is tired, or busy doing things. Is different than saying "I've decided I won't do laundry anymore" when the other partner has a chance to say "why? tell me more" and take part in negotiation. Resources: Relationships Debian is the Universal Operating System. Debian is made and maintained by people. The long term health of debian is a consequence of the long term health of the relationship between Debian contributors. Debian doesn't need to be technically perfect, it needs to be socially healthy. Technical problems can be fixed by a healty community.
- Knowing exactly what and how much I'm agreeing to
- Expressing my intent to participate
- Deciding freely and voluntarily to participate[20]
The Thomas-Kilmann Conflict Mode Instrument: source png.
Motivations
Quick poll:
- how many of you do things in Debian because you want to?
- how many of you do things in Debian because you have to?
- how many of you do both?
- healthy sustain the relationship
- unhealthy may explode spectacularly at some point
- I have an idea for for something fun or useful
- I see something broken and I have an idea how to fix it
- Nobody else can do it
- Nobody else can be trusted to do it
- Nobody else who can and can be trusted to do it is doing it
- Somebody is paying me to do it
- it takes me little time?
- it's useful for me
- It's fun
- It saves me time to keep something running that if it breaks when I or somebody else needs it
- it makes me feel useful? (then if I stop, I become useless, then I can't afford to stop?)
- Getting positive feedback (more "you're good" than "i use it") ?
- what tasks are done by people motivated by guilt / motivated by Galadriel?
- if I volunteer to help team X that is in trouble, will I get stuck doing all the work as soon as people realise things move fine again and finally feel free to step back?
"Spoons" are a visual representation used as a unit of measure used to quantify how much energy a person has throughout a given day. Each activity requires a given number of spoons, which will only be replaced as the person "recharges" through rest. A person who runs out of spoons has no choice but to rest until their spoons are replenished.
- https://s-media-cache-ak0.pinimg.com/736x/c3/05/dc/c305dc9d3ac3c2219f267dbc47bfacf5.jpg
- https://feckingme.files.wordpress.com/2015/05/keep-track-of-your-spoons.jpg
- Routine task: 1 spoon
- Context switch: 2 spoons
- New corner case: 5 spoons
- Well written bug report: -1 spoon
- Interesting thread: -1 spoon
- New flamewar: 3 spoons
- are the things that we expect a person to do the things that one person can do?
- having a history of people who can do it anyway is no excuse: show compassion to those people, take some of their work, thank them, but don't glorify them
- If someone is out of spoons, they're out of spoons; they don't get more spoons if you insist; if you insist, you probably take even more spoons from them
- If someone needs their spoons for something else, they are entitled to
- If someone gets out of spoons for something important, and nobody else can do it, it's not their fault but a shared responsibility
- If you are out of spoons, you are out of spoons
- If you need spoons for something else, use them for something else
- If you are out of spoons for something important, and nobody else can do it, it's not your problem, it's a problem in the community
- Don't expect few people to take care of everything
- Leave space for more people to take responsibility for things
- Turnover empowers
- Humans are a renewable resource, but only if you think of them that way
- routine is ok
- non-routine tends to get stuck in the mailbox waiting for a day with more
free time
- are we able to listen when tricky cases happen?
- are we able to respond when tricky cases happen?
- are we able to listen/respond when socially tricky cases happen?
- are we able to listen/respond when harassment happens?
- can we tell people raising valid issues from troublemakers?
- in NM
- it's easier to accept a new maintainer than to reject them
- it's hard or impossible to make a call on a controversial candidate when one doesn't know that side of Debian
- I'm tired, why you report a bug? I don't want to deal with your bug. Maybe you are wrong and your bug is invalid? It would be good if you were wrong and your bug was invalid.
- even politeness goes when out of spoons because it's too much effort
- release team
- DAM (amount of energy to deal with when things go wrong; only dealing with when things go spectacularly wrong?)
- DPL (how many people candidate to this year elections?)
- heroes are rare
- heroes are hard to replace
- heroes burn out
- heroes can become martyrs
- heroes can become villains
- heroes tend to be accidents waiting to happen
- Someone who has a lot of energy can take more and more tasks out of people who have less, and slowly drive all the others away
- Good for results, bad for the team
- Then we have another person who is too big to fail, and another accident waiting to happen
- you think everything is fine, and you discover they've been suffering all the time and you never had a clue
- They depend on a constant supply of achievement or admiration to have a sense of worth, therefore have a lot of spoons to invest into getting it
- However, when something they do is challenged, such as by pointing out a mistake one has made, or a problem with their behaviour, all hell breaks loose, beacuse they see their whole sense of worth challenged, too
- Examples of abuse patterns (trigger warning: judgemental)
- Wikipedia on narcissist personality, supply, injury and rage (trigger warning: medical)
- These topics are often very medicalised, and targeted at people who are victims of abuse and domestic violence.
- I find them useful to develop regular expressions for pattern matching of behaviours, and I consider them dangerous if they are used for pattern matching of people.
- you heard someone say no
- you had an argument with someone and the outcome was positive for both
- you feel demeaned
- you feel invalidated
My software ate(inspired by a 1934 poem by William Carlos Williams) Don't be afraid to fail Don't be afraid to fail or drop the ball. I think that anything that has a label attached of "if you don't do it, nobody will", shouldn't fall on anybody's shoulders and should be shared no matter what. Shared or dropped. Share the responsibility for a healthy relationship Don't expect that the more experienced mates will take care of everything. In a project with active people counted by the thousand, it's unlikely that harassment isn't happening. Is anyone writing anti-harassment? Do we have stats? Is having an email address and a CoC giving us a false sense of security?
the files
that where in
your home directory and which
you were probably
needing
for work Forgive me
it was so quick to write
without tests
and it worked so well for me
When you get involved in a new community, such as Debian, find out early where, if that happens, you can find support, understanding, and help to make it stop. If you cannot find any, or if the only thing you can find is people who say "it never happens here", consider whether you really want to be in that community.(from http://www.enricozini.org/blog/2016/debian/you-ll-thank-me-later/)
There are some nice people in the world. I mean nice people, the sort I couldn t describe myself as. People who are friends with everyone, who are somehow never involved in any argument, who seem content to spend their time drawing pictures of bumblebees on flowers that make everyone happy. Those people are great to have around. You want to hold onto them as much as you can. But people only have so much tolerance for jerkiness, and really nice people often have less tolerance than the rest of us. The trouble with not ejecting a jerk whether their shenanigans are deliberate or incidental is that you allow the average jerkiness of the community to rise slightly. The higher it goes, the more likely it is that those really nice people will come around less often, or stop coming around at all. That, in turn, makes the average jerkiness rise even more, which teaches the original jerk that their behavior is acceptable and makes your community more appealing to other jerks. Meanwhile, more people at the nice end of the scale are drifting away.(from https://eev.ee/blog/2016/07/22/on-a-technicality/) Give people freedom If someone tries something in Debian, try to acknowledge and accept their work. You can give feedback on what they are doing, and try not to stand in their way, unless what they are doing is actually hurting you. In that case, try to collaborate, so that you all can get what you need. It's ok if you don't like everything that they are doing. I personally don't care if people tell me I'm good when I do something, I perceive it a bit like "good boy" or "good dog". I rather prefer if people show an interest, say "that looks useful" or "how does it work?" or "what do you need to deploy this?" Acknowledge that I've done something. I don't care if it's especially liked, give me the freedom to keep doing it. Don't give me rewards, give me space and dignity. Rather than feeding my ego, feed by freedom, and feed my possibility to create.
Welcome to the eight post in the ramblingly random R rants series, or
Dear all, This would be a biggish one so please have a chai/coffee or something stronger as it would take a while.
I would start with attempt at some alcohol humor. While some people know that I have had a
It included couple of co-organizers with most people being newbies so while I had thought of showing how to contribute via reporting bugs or putting up patches, had to set that aside and explain how things work in free software and open-source world. We didn t get into the debate of free vs open-source or free/open-source/open-core as that would have been counter-productive and probably confusing for newbies.
We did however share the debian tree structure
I was stumped by /var and /proc . I hadn t taken my lappy as it is expensive (a lenovo thinkpad I love very dearly) and I was unsure if I would be able to take care of it (weight wise). Dhanesh had told me that he had Debian on his lappy + zsh both of which are my favourites.
While back at home I realized /var has been relegated to having apache/server logs and stuff like that, I do recall (vaguely) a thread on debian-devel about removing /var although that discussion went nowhere.
One of the bugs that we hit early on is that nobody had enough space on their hdd to have Debian comfortably. It took a while to get an external hdd and push some of the content from somebody s lappy to the external drive to have space for the installation.
I did share the /. /home, optional swap while Dhanesh helped by sharing about having a separate /boot partition as well which I had forgotten. I can t even begin to remember the number of times having a separate /boot partition has helped me in all of my systems.
That done, we did try to install/show Debian 9 without network but were hit with
Dhanesh is on the left while I m on the right.
We did have a cute 3-4 year old boy as our guest as well bud didn t get good pictures of him.
Lastly, the Debian cake itself
We also talked about the kernel and subsystem maintainers and how Linus is the overlord.
Look forward to comments. I am hoping Dhanesh might recollect some points that I might have missed/forgotten.
Update 07/07/17 All programming languages stats. can be seen





In fact, after some more time stepping through the loop repeatedly and printing
out all the objects, nothing obvious shows up. Time to re-read the source code
of
Debugging R packages
To investigate why (for example)
And on the master branch as of
An interesting thing to note here is that the glibc allocator runaway memory use was, this time, more pronounced on 0.4.0 than on master. It was the opposite originally, but as I mentioned in the past ASLR is making it not happen exactly the same way each time.
While I m here, one thing I failed to mention in the previous posts is that all these measurements were done by cloning a local mercurial clone of
So where does that put us?
A few observations to make here:
(Bucket size is 16 bytes)
What is not completely obvious from the logarithmic scale is that, in fact, 98.4% of the allocations are less than 512 bytes with the current master (35c18e7), and they were 95.5% with be75326. Interestingly, though, in absolute numbers, there are less allocations smaller than 512 bytes in current master than in be75326 (1,194,268,071 vs 1,214,784,494). This suggests the extra allocations that happen during some phases are larger than that.
There are clearly less allocations across the board (apart from very few exceptions), and close to an order of magnitude less allocations larger than 1MiB. In fact, widening the bucket size to 32KiB shows an order of magnitude difference (or close) for most buckets:
An interesting thing to note is how some sizes are largely overrepresented in the data with buckets of 16 bytes, like 768, 1104, 2048, 4128, with other smaller bumps for e.g. 2144, 2464, 2832, 3232, 3696, 4208, 4786, 5424, 6144, 6992, 7920 While some of those are powers of 2, most aren t, and some of them may actually represent objects sized with a power of 2, but that have an extra PyObject overhead.
While looking at allocation stats, I got to wonder what the lifetimes of those allocations looked like. So I scanned the allocator logs and measured the distance between when an allocation is made and when it is
What comes out of this data:
Today I ended reading an interesting article by the 4th spanish ISP
regarding IPv6 and
Others ISP operators are giving IPv6 strong precedence over IPv4, that s the case
of Verizon in USA:
(Note that in the graph above and the graphs that follow, the horizontal axis represents the number of allocator function calls performed)
While I was here, I figured I d check how mozjemalloc performs, and it has a better behavior (although it has more overhead).
What doesn t appear on this graph, though, is that mozjemalloc also tells the OS to drop some pages even if it keeps them mapped (
(It looks like it has better memory usage than mozjemalloc for this use case, but its stats are being thrown off at some point, I ll have to investigate)
Going back to the first graph, let s get a closer look at what the allocations look like when the system bytes number is increasing a lot. The highlights in the following graphs indicate the range the next graph will be showing.
So what we have here is a bunch of small allocations (small enough that they don t seem to move the requested line ; most under 512 bytes, so under normal circumstances, they would be allocated by python, a few between 512 and 2048 bytes), and a few large allocations, one of which triggers a bump in memory use.
What can appear weird at first glance is that we have a large allocation not requiring more system memory, later followed by a smaller one that does. What the allocations actually look like is the following:
(Note this hasn t actually landed on the
(Note, those memory sizes are RSS, minus shared )
It also was taking an unexpected long time, but then, I hadn t cloned a large repository like mozilla-central from scratch in a while, so I wasn t sure if it was just related to its recent growth in size or otherwise. So I collected data on 0.4.0 as well.
Less time spent, less memory usage ok. There s definitely something wrong on master. But wait a minute, that slope from ~2GB to ~4GB on the git-remote-hg process doesn t actually make any kind of sense. I mean, I d understand it if it were starting and finishing with the Import manifest phase, but it starts in the middle of it, and ends long before it finishes. WTH?
First things first, since RSS can be a variety of things, I checked
There are two things of note on this data:
Aha! I thought. That definitely looks much better. Less gap between what glibc says it requested from the system and the RSS size. And, more importantly, no runaway increase of memory usage in the middle of nowhere.
I was preparing myself to write a post about how mixing allocators could have unintended consequences. As a comparison point, I went ahead and ran another test, with the
Heh. It turns out glibc was acting up all alone. So much for my (plausible) theory. (I still think mixing allocators can have unintended consequences.)
(Note, however, that the reason why the python allocator exists is valid: without it, the overall clone took almost 10 more minutes)
And since I had been getting all this data with 0.4.0, I gathered new data without the python allocator with the master branch.
This paints a rather different picture than the original data on that branch, with much less memory use regression than one would think. In fact, there isn t much difference, except for the spike at the end, which got worse, and some of the noise during the Import manifests phase that got bigger, implying larger amounts of temporary memory used. The latter may contribute to the allocation patterns that throw glibc s memory allocator off.
It turns out tracking memory usage in python 2.7 is rather painful, and not all the tools paint a complete picture of it. I hear python 3.x is somewhat better in that regard, and I hope it s true, but at the moment, I m stuck with 2.7. The most reliable tool I ve used here, it turns out, is