I think ... - deathhttps://blog.kmonsoor.com/2015-12-23T00:00:00+06:00Open Source as-if You Gonna Die Tonight2015-12-22T00:00:00+06:002015-12-23T00:00:00+06:00Khaled Monsoortag:blog.kmonsoor.com,2015-12-22:/open-source-as-if-you-gonna-die-tonight/<p>You should open-source as-if you gonna die tonight.&nbsp;Literally.</p><p><strong><em>[ To keep the spirit of this post honest, I am going to publish this blog, immidiately. No <strong>draft</strong>-ing. This post will be, I hope, under continuous improvement.<br> This post is <a href="https://github.com/kmonsoor/blog.kmonsoor.com/edit/live/content/articles/open-your-source-as-if-you-gonna-die-tonight.md">available for edit on GitHub</a>, currently in its version 0.0.6&nbsp;]</em></strong></p> <p><strong>Yes, I mean it.&nbsp;Literally.</strong></p> <p>I see too many post/comments/blogs, in different meeting-places for techies e.g. hackernews, reddit, etc., which say the same&nbsp;thing: </p> <blockquote> <p><span class="dquo">&ldquo;</span>I am working on <strong><em>something</em></strong> which I will open-source/publish <strong><em>someday</em></strong> after taking it <strong><em>somewhere</em></strong>.&rdquo;</p> </blockquote> <p>See the ambiguous sense in the&nbsp;words? </p> <p>Unless the code/script/blog you are working on is something sensitive which will make a mess published a &ldquo;draft&rdquo; form, you should not wait for &ldquo;someday&rdquo;. Or if you have thousands of subscribers to your blog&nbsp;;)</p> <p>Or if you decided that you will <strong><em>never</em></strong> publish it in public - that&rsquo;s an entirely different&nbsp;story.</p> <p>If it is something of your company&rsquo;s code-base, commit it in your remote branch, so that your last 19 days of work isn&rsquo;t just gone just because you are&nbsp;&ldquo;gone&rdquo;.</p> <p><strong>As human, we are far more fragile than we&nbsp;think.</strong></p> <p>I am not talking about publishing a physical book using a printing press. In that scenario, writers were supposed to write the perfect words, then type it using type-writer to avoid any handwriting-related gotchas. Then it went to the reviewer, then proofreader, then the typesetter makes a block character-by-character. Then comes printing on the paper. The writer had to be sure what he is writing about, <span class="caps">ABSOLUTELY</span>. Else, each of the <em>2000</em> copies of the <em>first-edition</em> would have the same&nbsp;mistakes.</p> <p>I am also not talking about pushing the critical code in the <code>production</code> server. That stuff should go through rigorous coding practices, code-reviews, testing&nbsp;etc.</p> <p>Aside from those cases, <strong>this is 2015</strong> - How much does each <code>git push origin gh-pages</code> cost? How much each WordPress post update cost? Or, a single GitHub&nbsp;gist?</p> <p>Publishing your stuff is free, no matter how many times you update&nbsp;it.</p> <p><strong>So, why do we think about the paradigm of the printing press when we think of&nbsp;&ldquo;publishing&rdquo;?</strong></p> <h2 id="frequently-shared-confusions-fsq">Frequently shared confusions (<span class="caps">FSQ</span>)<a class="headerlink" href="#frequently-shared-confusions-fsq" title="Permanent link">&para;</a></h2> <ul> <li> <p><strong>What if this, my thing, is just plain crap ?</strong><br> <strong>A.</strong> Are you sure? You never know for sure. Throw it in the wild. If it is really crap, nobody will remember or hold you responsible for it. How many crappy DaVinci paintings you know? I guess, <strong><em>none.</em></strong> But the <a href="https://en.wikipedia.org/wiki/Mona_Lisa">Mona Lisa</a> didn&rsquo;t just appear from thin air. Did&nbsp;it?</p> </li> <li> <p><strong>This is my toy(or pet) project.</strong><br> <strong>A.</strong> Don&rsquo;t be that selfish kid from the school who don&rsquo;t let others touch it just because. If you are having fun building something why not let others join in the&nbsp;fun?</p> </li> <li> <p><strong>This is a one-off script on this ancient <em><span class="caps">COBOL</span></em> platform, no one is going to need it. Ever.</strong><br> <strong>A.</strong> You never know. You are a human. You can&rsquo;t imagine what people gonna need. Throw it in a <a href="https://gist.github.com/">gist</a>, just include a suitable title. Add in some comments if you please. May be couple of years later, your script will save someone&rsquo;s job, and he can still put food on the table. You never&nbsp;know. </p> </li> <li> <p><strong>If I publish this now some genius with free time will steal my idea and make it something grand without me.</strong><br> <strong>A.</strong> Unless you are a big hot-shot with a ground-breaking idea, no one will even notice it. Most <em>genius&rsquo;</em> mind is already filled with their own to-do list. Even if they take your idea, let them. Move on. Don&rsquo;t be a muddy pond, rather be like a river. Rivers don&rsquo;t dry off due to peasants &ldquo;stealing&rdquo; some&nbsp;water. </p> </li> <li> <p><strong>I haven&rsquo;t collected my thoughts enough to make this post a grand one yet.</strong><br> <strong>A.</strong> Don&rsquo;t think too high yourself. Let others do that for you.<br> No project is born grand, and no great man born great. Your contributions is what goes ahead. You the person? Not so much. Time passed along &ldquo;Romeo <span class="amp">&amp;</span> Juliet&rdquo;, but Shakespeare is dead and&nbsp;gone. </p> </li> <li> <p><strong>I am special. My words/code should be special, perfect, coherent like a pearl-necklace.</strong> <em>(yes, we all feel like that, we just don&rsquo;t acknowledge it publicly.)</em><br> <strong>A.</strong> No, you are not. You are not a special unique snowflake. See the previous&nbsp;answer.</p> </li> <li> <p><strong>Who the ***k are you to tell me what to do?</strong><br> <strong>A.</strong> It&rsquo;s not about me, I am nobody. Just a open-source enthusiast who wants to see more and more open-source projects, scripts, blog-posts which haven&rsquo;t gone to grave with their mortal creators. I&rsquo;m just sharing my own thoughts about it. <strong>It is your code on your own personal-pc, after&nbsp;all.</strong></p> </li> </ul> <h2 id="why-should-i-open-my-sourcepostthoughtsetc-tonight">Why should I open my source(post/thoughts/etc) tonight?<a class="headerlink" href="#why-should-i-open-my-sourcepostthoughtsetc-tonight" title="Permanent link">&para;</a></h2> <ul> <li> <p>You can literally die tonight. Then all of your pet-projects are just gone. &lsquo;Cause probably none in your family is in coding business or they aren&rsquo;t sure about your&nbsp;intention. </p> </li> <li> <p>Tomorrow morning, your mind will just drift-away.<br> What is a vivid idea tonight that could impact thousands of people&rsquo;s lives, tomorrow morning will become a faded, will-do-it-someday idea. One month after tonight, you probably will probably be oblivious about your own idea, draft, script,&nbsp;code.</p> </li> <li> <p>It&rsquo;s a mind-trick to force ourselves to work on something to avoid public shame. We feel obliged to correct errata that is in public, but something hidden away in a private, hidden, local folder we don&rsquo;t have to feel bad&nbsp;about. </p> </li> </ul> <h2 id="to-avoid-embarrassment">To avoid embarrassment<a class="headerlink" href="#to-avoid-embarrassment" title="Permanent link">&para;</a></h2> <ul> <li> <p>Make sure your audience (or colleagues for that matter) know the content&rsquo;s status. Put a &ldquo;prelude&rdquo; section mentioning the half-done condition. Better yet, use some <a href="http://semver.org/">version number</a>.</p> </li> <li> <p>Make your genereal idea clear. For code, point out what it is and what it is supposed to do. For a blog, present the basic idea at least, even if it is not with perfect&nbsp;grammer.</p> </li> </ul> <h2 id="how-infrastructure-can-improve">How infrastructure can improve<a class="headerlink" href="#how-infrastructure-can-improve" title="Permanent link">&para;</a></h2> <p>Open-source mainstream hosting platforms e.g. Github, Bitbucket, GitLab etc. could have a <strong>&ldquo;Open the source&rdquo;</strong> trigger-switch for individual projects where a software developer can enable the trigger with some condition&nbsp;like:</p> <ul> <li><span class="dquo">&ldquo;</span><strong>Open the source</strong>&rdquo; if I don&rsquo;t login GitHub for <code>1 year</code> (which means I am dead or I&rsquo;ve gone crazy trying to remember&nbsp;GitHub)</li> <li><span class="dquo">&ldquo;</span><strong>Open the source</strong>&rdquo; on a pre-set date e.g. <code>2020-02-20</code></li> </ul> <p><em>[dear reader, thanks a lot for reading up to here. I am sure there are many points missing on this post. Also, as English is not my first language, hence there must some misused words or phrase. But you get the idea. Please comment/criticise/point out the missing stuff. I will try to discuss, update, correct&nbsp;that.]</em></p> <hr> <h2 id="contributors">Contributors<a class="headerlink" href="#contributors" title="Permanent link">&para;</a></h2> <table> <thead> <tr> <th></th> <th></th> </tr> </thead> <tbody> <tr> <td><a href="https://github.com/kmonsoor">Khaled Monsoor</a></td> <td>initial author, maintainer</td> </tr> <tr> <td><a href="https://github.com/waynew">Wayne Werner</a></td> <td>editor (v.0.0.3 &rarr; v.0.0.4)</td> </tr> </tbody> </table> <h2 id="some-related-inspirations-from-some-open-source-jedis">Some related inspirations from some open-source jedis<a class="headerlink" href="#some-related-inspirations-from-some-open-source-jedis" title="Permanent link">&para;</a></h2> <ul> <li><a href="https://rhettinger.wordpress.com/2011/01/28/open-your-source-more/">Raymond Hettinger :: Open Source Challenge: Open Your Source,&nbsp;More</a></li> <li><a href="https://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/">Jeff Knupp :: Open Sourcing a Python Project the Right&nbsp;Way</a></li> <li><a href="https://archive.org/stream/GuerillaOpenAccessManifesto/Goamjuly2008_djvu.txt">Aaron Swartz :: Guerilla Open Access&nbsp;Manifesto</a></li> </ul>