Notes from the San Francisco F# Dugnad

We had our first ever F# Dugnad at the San Francisco F# meetup last week! The event worked pretty well, and I figured I could share some quick notes on what we did, what worked, and what could be improved.

The origin story for this event is two-fold. First, the question of how to encourage people to start actively contributing to open source projects has been on my mind for a while. My personal experience with open source has been roughly this. I have always wanted to contribute back to projects, especially the ones that help me daily, but many small things get in the way. I clone a project, struggle for a bit (“how do I build this thing?”), and after some time, I give up. I also remember being terrified when I sent my first pull request - this is a very public process, with the risk of looking foolish in a very public way.

The second element was me coming across the wonderful Dugnad tradition in Norway.

A Dugnad is an event that traditionally takes place twice a year. Everybody from the neighborhood gathers and fixes the communal space together for an afternoon - clean up a park, repaint, fix whatever needs fixing … - and enjoy drinks and hot-dogs afterwards. I love the idea: it directly improves the environment for everyone with little effort, it creates a sense of common ownership and responsibility, and it is a wonderful way for people from the same community to connect with each other.

This got me wondering whether transposing the idea to open source software could work. After all, open source is our community space, and getting together for a few hours to “fix the neighborhood” seemed like a reasonable idea.

Setup

The setup was pretty simple. We organized a meetup a Saturday afternoon, 13:00 to 17:00, so we would have enough time to actually get things done. The good people at @RealtyShares were kind enough to host us, with a comfortable meeting room with tables and power outlets, and even some tacos (writing code takes some fuel!).

We wanted to be able to jump right in, without getting lost trying to figure out what to work on during the Dugnad itself. To do that, we started discussions a couple of weeks early on, over our meetup Slack, asking people to propose projects, or, even better, specific issues they wanted to take on, submitting them in the comments section of the Meetup page.

Starting that discussion early on helped zoom in on realistic tasks to take on. It also resulted in people coming in better prepared, having already cloned projects and done some of the basics beforehand, or even discussed with project maintainers to get some input on what they had in mind, and what might be useful to work on.

The meeting itself was fairly straightforward. We had 8 attendees, we started with a quick round of introductions - who are you, and if you want to work on something specifically, tell us about it so others can help out. And then… we got to work, some of us individually, some of us in groups. We periodically asked around, to see where everybody was at, and if anyone could help.

And then we went for drinks :)

Results

My informal hope was that each of us would have one pull request by the end of the day. I can’t swear everyone got one in, but I know a few were made.

I ended up teaming up with @Thuris and @sergeyz, and we worked on XPlot. It’s a library I use quite a bit; it allows you to create charts on-the-fly directly from the F# scripting environment, and pop them in the browser.

What we worked on was the documentation, which I suspected was unfriendly to beginners. As a first step, I challenged my 2 team-mates to create a basic histogram as quickly as possible, following the documentation, while I was sadistically watching them struggle and taking notes on the stumbling blocks. I’ll put it that way - this was painful to watch.

Based on that experience, we wrote a small tutorial. The goal is to have a fail-safe example, going from zero to seeing an actual chart in the browser, under 5 minutes flat. Our pull request is nothing earth shattering, but I hope it will help people coming to the library quickly get a sense for how to use it, and what to expect from it. Also, it was a lot of fun working with that team :)

Parting thoughts

Long story short: this was a lot of fun, and we will do it again! The current idea is to have these on a quarterly basis, with possibly smaller ones in between during a weekday evening. I encourage other user groups to try it out, and, perhaps one day, we can organize a worldwide F# Dugnad… In the meanwhile, if you have comments or questions, ping me!

Do you have a comment or a question?
Ping me on Mastodon!