Scaling Knowledge Management For Technical Teams With Knowledge Repo

The Python Podcast.__init__

Episode | Podcast

Date: Sun, 20 Feb 2022 22:15:00 -0500

<div class="wp-block-jetpack-markdown"><h2>Summary</h2> <p>One of the most persistent challenges faced by organizations of all sizes is the recording and distribution of institutional knowledge. In technical teams this is exacerbated by the need to incorporate technical review feedback and manage access to data before publishing. When faced with this problem as an early data scientist at AirBnB, Chetan Sharma helped create the Knowledge Repo project as a solution. In this episode he shares the story behind its creation and growth, how and why it was released as open source, and the features that make it a compelling option for your own team&#8217;s knowledge management journey.</p> <h2>Announcements</h2> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python&#8217;s role in data and science.</li> <li>When you&#8217;re ready to launch your next app or want to try a project you hear about on the show, you&#8217;ll need somewhere to deploy it, so take a look at our friends over at Linode. With the launch of their managed Kubernetes platform it&#8217;s easy to get started with the next generation of deployment and scaling, powered by the battle tested Linode platform, including simple pricing, node balancers, 40Gbit networking, dedicated CPU and GPU instances, and worldwide data centers. Go to <a href="https://www.pythonpodcast.com/linode?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com/linode</a> and get a $100 credit to try out a Kubernetes cluster of your own. And don&#8217;t forget to thank them for their continued support of this show!</li> <li>Your host as usual is Tobias Macey and today I&#8217;m interviewing Chetan Sharma about Knowledge Repo, an open source framework for managing documentation for technical users</li> </ul> <h2>Interview</h2> <ul> <li> <p>Introductions</p> </li> <li> <p>How did you get introduced to Python?</p> <ul> <li>EE + CS/AI + Stats degrees</li> <li>Airbnb working on ML models</li> <li>Knowledge Repo itself</li> </ul> </li> <li> <p>Can you describe what Knowledge Repo is and the story behind it?</p> <ul> <li>We started seeing interviewees use ipython notebooks, thought they were great</li> <li>Wanted to push more people to use notebooks, but they weren’t very shareable, vettable</li> <li>Existing notebook hosting services weren’t very good, and weren’t built for people who aren’t data stakeholders. It was especially poor with images, annoying cell blocks</li> <li>Made a simple post processor to remove cell blocks, push the images to s3, and host on flask</li> <li>Once we were pushing notebooks into a Github repo for hosting on a flask app, so many things became possible <ul> <li>Review cycles</li> <li>Shareability / collaboration features</li> <li>Indexing / searching</li> </ul> </li> <li>Concurrently, great work was happening on developing internal R packages / python libraries to provide consistent, branded aesthetics</li> </ul> </li> <li> <p>What are some of the approaches that teams typically take for recording and sharing institutional knowledge?</p> <ul> <li>Copy and paste to google docs, slides</li> <li>Facebook was using facebook photo albums</li> <li>untrustworthy, not discoverable, divorced from the code</li> </ul> </li> <li> <p>What are the unique requirements that are introduced when attempting to record and distribute learnings related to data such as A/B experiments, analytical methods, data sets, etc.?</p> <ul> <li>Reproducibility is a big one</li> <li>Making sure the learnings are trustworthy (good data? no bugs?)</li> <li>Distributing widely, across the org and across time</li> <li>Experimentation <ul> <li>Experimentation is at the end of a research-design-build-measure cycle, strategic analysis is often before</li> <li>Capturing all of the context</li> </ul> </li> </ul> </li> <li> <p>Can you describe how the Knowledge Repo project is architected?</p> <ul> <li>Repositories: a store of posts, most commonly a github repo</li> <li>Markdown as original lingua franca, eventually a KR specific “KR post” concept (which is still basically markdown)</li> <li>Post processors <ul> <li>Convert whatever upstream file to markdown / KR post (Jupyter notebook, R Markdown, markdown were the original ones)</li> <li>Handle images and other large assets, usually pushing them to cloud storage</li> <li>Evolved to handle PDFs, googledocs, keynotes</li> </ul> </li> </ul> </li> <li> <p>What were the motivating factors for making it available as an open source project?</p> <ul> <li>It was such a common problem. Even incredibly sophisticated data teams at Uber, Facebook, etc. were begging us to share the system.</li> </ul> </li> <li> <p>What is the workflow for creating, sharing, and discovering information in an installation of Knowledge Repo?</p> <ul> <li>Create a github repo for hosting strategic analysis</li> <li>Use the KR script to create a stub/template for whatever format you’re working in</li> <li>Do your work in Jupyter, etc.</li> <li>Instead of using github scripts (git add) use knowledge scripts (knowledge add), which is basically the github scripts with postprocessors</li> <li>Do typical Github workflows</li> <li>See the result in the hosted knowledge repo app</li> </ul> </li> <li> <p>What are some of the options available for extending or customizing an installation of Knowledge Repo?</p> <ul> <li>More postprocessors! google docs, presentations, UX research, anything can be done in KR with a simple postprocessor to turn it to markdown/images/PDF</li> <li>Tying the system to your internal data tools. For example, an experimentation system like Eppo or whatever you use for marketing campaigns</li> </ul> </li> <li> <p>If you were to start over today, what are some of the ways that you might approach the solution to knowledge management differently?</p> <ul> <li>Think of it more holistically:</li> </ul> </li> <li> <p>What are the most interesting, innovative, or unexpected ways that you have seen Knowledge Repo used?</p> <ul> <li>UX research</li> <li>Writing up guide for acquihiring</li> <li>Demonstrating of capabilities, data framework</li> </ul> </li> <li> <p>What are the most interesting, unexpected, or challenging lessons that you have learned while working on Knowledge Repo?</p> <ul> <li>Strategic analysis needs to be elevated, this leads to paradigm changes</li> <li>Organization problems are helped by tools like KR: eg. promotions</li> <li>Meeting people’s tools/workflows where they are is powerful</li> </ul> </li> <li> <p>When is Knowledge Repo the wrong choice?</p> </li> </ul> <h2>Keep In Touch</h2> <ul> <li><a href="https://www.linkedin.com/in/chetanvsharma/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">LinkedIn</a></li> <li><a href="https://twitter.com/chesharma87?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">@chesharma87</a></li> </ul> <h2>Picks</h2> <ul> <li>Tobias <ul> <li><a href="https://www.fender.com/articles/play/best-way-to-learn-guitar?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Learning Guitar</a></li> </ul> </li> <li>Chetan <ul> <li>Underrated cooking ingredients: chickpea flour, butter fried kimchi (in grilled cheese, nachos)</li> </ul> </li> </ul> <h2>Closing Announcements</h2> <ul> <li>Thank you for listening! Don&#8217;t forget to check out our other show, the <a href="https://www.dataengineeringpodcast.com?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Data Engineering Podcast</a> for the latest on modern data management.</li> <li>Visit the <a href="https://www.pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">site</a> to subscribe to the show, sign up for the mailing list, and read the show notes.</li> <li>If you&#8217;ve learned something or tried out a project from the show then tell us about it! Email <a href="mailto:hosts@podcastinit.com">hosts@podcastinit.com</a>) with your story.</li> <li>To help other people find the show please leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a> and tell your friends and co-workers</li> </ul> <h2>Links</h2> <ul> <li><a href="https://www.geteppo.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Eppo</a> <ul> <li><a href="https://www.dataengineeringpodcast.com/eppo-experimentation-ab-testing-episode-244/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Data Engineering Podcast Episode</a></li> </ul> </li> <li><a href="https://knowledge-repo.readthedocs.io/en/latest/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Knowledge Repo</a></li> <li><a href="https://ipython.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">IPython</a></li> <li><a href="https://jupyter.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Jupyter</a></li> <li><a href="https://flask.palletsprojects.com/en/latest/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Flask</a></li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a></p> </div> <img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fwww.pythonpodcast.com%2Fknowledge-repo-open-source-knowledge-management-episode-353%2F&amp;action_name=Scaling+Knowledge+Management+For+Technical+Teams+With+Knowledge+Repo+-+Episode+353&amp;urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&amp;utm_source=rss&amp;utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" />