Site icon The Data are Alright

snowfakery progress!

To keep up with the latest project news and updates, please visit our Github repos here, here, and here. We also have a Chatter group in the Trailblazer Community here. To get started, I suggest completing these two Trailhead trails (Install Developer Tools and Build Applications with CumulusCI).

About a year ago, I published a blog post detailing triumphs and tribulations with using the open source tool Snowfakery to generate complex datasets of completely made-up values. Well, what a year it has been! Last year, I had to speeddial more than one friend to accomplish the basic tasks of installing/accessing/using even the most rudimentary features.

Today, my friend reached out to me because she was not quite able to interpret the instructions and get Snowfakery up and running. Guess what? I knew enough to be able to hop on a Zoom and help in real time, with zero prep! I’m still not using Snowfakery on a regular basis, and I still get stuck quite a bit, but today was a red-letter-day because I was able to use my hard-fought skills to help another community member.

Sometimes, I feel like my knowledge of github, YAML, cumulusci, and Snowfakery specifically, is as fleeting as a snowflake. As soon as I catch it, it melts away. Then again, as time passes and I maintain my effort to learn these tools, also like snow, I see the accumulation beginning to stick. Forecast? 1-3 inches!

Photo by Egor Kamelev on Pexels.com

getting stuck and unstuck

Let’s talk about some places where my friend got stuck, and how we worked together to get her unstuck! These are *also* places where I’ve been stuck, so this was a welcome opportunity to practice explaining the concepts to someone who does not identify as a developer (therefore, neither of us find this stuff in our comfort zones).

- object: Account
  fields:
    Name:
      fake: company
    Description:
      fake: catch_phrase
    NumberOfEmployees:
      random_number:
        min: 0
        max: 200000
$ snowfakery --output-format JSON --output-file account.json account.yml

Now that we got this working in JSON, we were ready to run it in Salesforce. Here’s the argument for that:

$ cci task run generate_and_load_from_yaml -o generator_yaml account.yml --org dev

scaling up

[Tangent alert] A long time ago, I remember sitting on the floor in a university conference room, scribbling on flipchart paper. I was working with a crew of intergenerational activists to plan a sequence of actions, targeting a major bank for investing in mountaintop removal coal mining. At the same time, in a living room on the other side of town, a different group of co-conspirators were painting props, or phonebanking, or some such useful endeavor. Now I can’t remember what it was! And I remember thinking, “we will never get burned out when we have so many people willing to take turns doing the work.” Now, this didn’t turn out to be 100% accurate. People did get burned out, and we tried to limit this as much as possible. But I felt then (and still do), that rotating leadership is the best way to build skills while making a social justice project sustainable for volunteers. Even better is braiding/overlapping those spurts of volunteers so that no one feels overly responsible for everything that needs to happen. (Want to learn more about this model? Check out this extremely useful article from my dear friend, Ryan).

So perhaps you can imagine my excitement as the Data Generation Toolkit team expanded our leadership circle, and welcomed new people to take on responsibility just last month!

Moreover, I had a taste of that feeling today, when I zoomed out to appreciate the plethora of creative and useful tasks that Snowfakery community members are contributing. Just off the top of my head…

In reflecting on all of this juicy goodness, the image of a snowflake once again came to mind. The engineer(s) who built Snowfakery came up with the name because each dataset that it produces is unique “like a snowflake.” What I can see now is that the community of people using and supporting Snowfakery is also like a snowflake, branching out in tendrils that are impossible to predict, beautiful to behold, and intricately unique. By learning Snowfakery, I was able to help another person quickly clear the obstacles that we both encountered in our path. In her learning, she will also be able to advocate and empower more people to use it. While snowflakes don’t branch out in infinite size, perhaps this metaphor can! It’s exciting and energizing to see so much engagement and creativity. I can’t wait to experience what’s next!

Exit mobile version