<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pranin Shakya on Medium]]></title>
        <description><![CDATA[Stories by Pranin Shakya on Medium]]></description>
        <link>https://medium.com/@shakyapranin?source=rss-e0459bcefc00------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*DhTlyu60dw_y4sDJ.jpg</url>
            <title>Stories by Pranin Shakya on Medium</title>
            <link>https://medium.com/@shakyapranin?source=rss-e0459bcefc00------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 12:02:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shakyapranin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Visualizing software system with C4 Model]]></title>
            <link>https://medium.com/@shakyapranin/visualizing-software-system-with-c4-model-890b782f5616?source=rss-e0459bcefc00------2</link>
            <guid isPermaLink="false">https://medium.com/p/890b782f5616</guid>
            <dc:creator><![CDATA[Pranin Shakya]]></dc:creator>
            <pubDate>Fri, 11 Aug 2023 15:43:15 GMT</pubDate>
            <atom:updated>2023-08-11T15:43:15.286Z</atom:updated>
            <content:encoded><![CDATA[<p>As an Engineer, I get to ideate and digitize a lot of software systems right from their germination phase.</p><p>Over the past 9 years in the software industry, I have been part of some exciting systems ranging from a WebRTC-based video streaming application, MIS for drug discovery scientists, an e-commerce application with top-class online merchandise customization, a marketplace for talents, to even a bare-bones static portfolio website.</p><p>In the course of collaborating in teams to turn these ideas into digital tools, explaining them becomes a significant challenge. Sketching out figures simple enough to portray such a system is a step further. Elaborating them to a non-technical audience takes it to a whole new level.</p><p>This is where the C4 model as an approach to software architecture was revolutionary for me.</p><p>I’ve composed a handful of architecture diagrams following it and they have proven to be more efficient at portraying systems in a simple manner.</p><blockquote>C4 is a set of hierarchical diagrams starting with the context, containers, components, and finally the code. Traversing this hierarchy is like exploring a map to know the geography of a system. C4 is however more art than science.</blockquote><blockquote>The main motivation behind C4 for Simon Brown, a London software architect was to express complex systems and avoid diagrams with tangled arrows and boxes.</blockquote><p>I’ll be taking <strong>Amazon.com as an example of the system</strong> under study for this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*mZ9s_Zn_wCVI--q1pI-8ig.gif" /></figure><h3><strong>More on 4 C’s in C4</strong></h3><p><strong>C1 — Context diagram</strong></p><ol><li>What — Things that <strong>people (actors) interact with</strong> alongside the system. Eg: The buyers and sellers, amazon.com, and google analytics.</li><li>Why — To provide the context of the system to the audience.</li><li>How — Start off with the main system at the center, show the actors, and show external things outside the boundary/control of system owners.</li><li>Audience — Technical and Non-Technical individuals.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PGSD4BYuTtNrVU8ptrXuw.png" /><figcaption>Context Diagram</figcaption></figure><p><strong>C2 — Container diagram</strong></p><ol><li>What — Things like a mobile application, a website, or a database that run and ship as a separate unit and collectively act as the system.</li><li>Why — To provide more insights on what are the units that cohesively work underneath the hood to provide service to the user.</li><li>How — Start off by listing small units of containers that serve a value. Eg: the Amazon website to view products, the database where data of products is stored, etc.</li><li>Audience — Technical people inside and outside of software development. Also a relatively tech-savvy crowd.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ksqAwwsgyoFQirexBWCxxw.png" /><figcaption>Container Diagram</figcaption></figure><p><strong>C3 — Component diagram</strong></p><ol><li>What — Things like code libraries, modules, plugins, services. Eg: JQuery, Backbone.js.</li><li>Why — To provide more insights on reusable pieces of code used to build a particular container.</li><li>How — Start off by listing all the libraries, plugins, etc used and show the interaction between them to reflect how they make the container work.</li><li>Audience — Software architects and developers.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GJrO8Ynzc8nxjXCyo0q2mQ.png" /><figcaption>Component Diagram</figcaption></figure><p><strong>C4 — Code diagram</strong></p><ol><li>What — Things like classes, functions, objects, and their relationship. Eg: Class diagrams and ER diagrams etc.</li><li>Why — To provide insights on code language level view of what actually is going on.</li><li>How — Generate UML Diagrams / ER diagrams using IDE tools</li><li>Audience — Software architects and developers.</li></ol><h3><strong>Do you use C4 model?</strong></h3><p>The C4 model has no hard and fast rules as to how the diagrams should be composed. It is more of a guideline to map out a complex system in a simplistic view. The main aim of having the different layers is to present different variations to different levels of audience. We can also use C1, C2, C3, and C4 to gradually build up an understanding of a system to clear out the confusion of the audiences.</p><h3>Approaching C4</h3><p>Usually, it’s best to use the effect pen-to-paper approach and sketch out C4 diagrams. However, these doodles are two-dimensional, non-scalable, non-distributable, and basically non-digital at their core. I’ve used online tools like <a href="https://app.diagrams.net/">draw.io</a>, <a href="https://lucid.app/">lucid chart</a> etc, but I have found <a href="https://icepanel.io/">Icepanel</a> to be the best one out there. The images and the gif also show a quick glance at how effective it is.</p><h3>Abbreviations</h3><ol><li>RTC — Real-time communication</li><li>MIS — Management Information System</li></ol><h3><strong>References</strong></h3><ol><li><a href="https://c4model.com/">https://c4model.com/</a></li><li><a href="https://icepanel.io/">https://icepanel.io/</a></li><li><a href="https://app.diagrams.net/">https://app.diagrams.net/</a></li><li><a href="https://lucid.app/">https://lucid.app/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=890b782f5616" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Life is too short to do everything.]]></title>
            <link>https://medium.com/@shakyapranin/life-is-too-short-to-do-everything-835c7afeecee?source=rss-e0459bcefc00------2</link>
            <guid isPermaLink="false">https://medium.com/p/835c7afeecee</guid>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Pranin Shakya]]></dc:creator>
            <pubDate>Tue, 31 Oct 2017 04:23:44 GMT</pubDate>
            <atom:updated>2017-10-31T04:30:40.534Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*xxz27qKqfleCdSLCWnLHrQ.jpeg" /></figure><p>Before proceeding with this article, ask yourself</p><p>What else you’d rather be doing at this very moment? Now compare it to what you were doing before reading this article.</p><p>Is this other thing more colorful and makes you smile a tiny bit more?</p><p>If so, then you are definitely working on something wrong.</p><p>You’ve probably heard someone say it before, but here it goes again</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*Iu1YsOHbRijIDN8iO2gbHQ.jpeg" /></figure><p>I know I’m too late realizing this on my own because I have wasted a year of my career on a software printing company doing something I was already good at.(Yes I just made up a word to describe my old job).</p><p>Although, my job described me as a programmer but I did almost everything, from formatting a broken OS, fixing broken CSS, FTP uploads to server, editing code in a production environment (Yes I was a savage then) to clamping RJ45 jacks.</p><p>Oh what a waste that was.</p><p>Mind me when I say it was a waste of time. I don’t by any means think those tasks were unimportant or less of a work. For me every task is a god task i.e. no task is small and no job is unimportant. It’s just that I didn’t know my priorities well and was lost on where I was heading. Seriously guys take the job description topic you’ve read on some HR article into consideration.</p><p>To be able to prioritize what I should be doing right now, I had to develop a road map of my career journey.</p><p>I have heard people say that the journey is the struggle. I don’t say its not but the vision and the plan to execute it to perfection is what scares me. Whenever someone asks me, <strong><em>Where do you see yourself in 5 years?</em></strong> , my heart shrinks a little. Let me tell you why, because I have been trying to do everything by myself for so long that my vision is blurred.</p><p>Yes I need to device my tracks again and rework my strengths, say no to stuff I would rather like someone else to do. I’d say delegate as much as you can.</p><p>Our life was not designed in a way that you had to do everything by yourself. Rather it was designed as a time frame to do something unique, that we shine at. So this is what I have as a mind set these days.</p><p>I would probably take a month off sometime soon and reconsider where my life is heading. We do need positivity and something to thrive upon at life, who knows may be I’m missing out on my music career. But then again</p><h3><strong>“Life is too short to do everything”.</strong></h3><p>Did my article click you in some way? A clap would push me to write more. Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=835c7afeecee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to adjust to the rapidly changing JavaScript ecosystem?]]></title>
            <link>https://medium.com/introcept-hub/how-to-adjust-to-the-rapidly-changing-javascript-ecosystem-d19f670fc272?source=rss-e0459bcefc00------2</link>
            <guid isPermaLink="false">https://medium.com/p/d19f670fc272</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Pranin Shakya]]></dc:creator>
            <pubDate>Wed, 07 Dec 2016 06:18:17 GMT</pubDate>
            <atom:updated>2016-12-07T09:00:24.100Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*QWtxJ7U2BjFd0H5nCYQLCA.png" /></figure><p>The question stated above was the panel discussion topic for the recent JS meet up held at FuseMachines in Kathmandu, Nepal. It certainly is a riddle, no JS developer has fully solved yet. So obviously, I see myself and everyone else struggling along side me.</p><p>If you are not a JS developer or haven’t been updated to the current JS ecosystem, I would recommend you to read an interesting article by <a href="https://medium.com/u/4eb81b32b99a">Jose Aguinaga</a> on <a href="https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.x8muh4dtj">How it feels to learn javascript in 2016</a>? before proceeding further.</p><p>Assuming, you have already read the article and still think</p><blockquote><strong>Jquery is awesome and it works for me.</strong></blockquote><p>You are not totally wrong. <a href="https://jquery.com/"><strong>Jquery</strong></a> is actually pretty awesome and for many simple use-cases, it is the quicker and rational choice. Then again, upon scaling your system, trust me it will get messy and complicated.</p><p>So, what shall we do?</p><p><strong>IF (</strong>You are a newbie<strong>)</strong></p><p>I would suggest you to get comfortable with a bit of core JS and start with basics of <a href="https://es6.io/"><strong>ES6</strong></a>. Just know the basics and build a “Hello world” application.</p><p>Why ES6? you ask.</p><p>Well, to that I would say -</p><p><strong><em>ES6 is like the shift you made from C to C++. i.e. from a procedural approach to a more organized object oriented approach.</em></strong></p><p>Don’t be too worried though, it is just <em>syntactic sugar</em> for JS.</p><p>I brought up ES6 because I’m pretty sure by 2017 it will be everywhere. So if you want to cope up with the changes, ES6 is a must.</p><p><strong>ELSE</strong></p><p>So you have done some Jquery here and there, know ES6 and have encountered a few JS frameworks like <a href="https://angular.io/"><strong>Angular</strong></a>, <a href="https://vuejs.org/"><strong>Vue</strong></a> etc. You aren’t much different than me.</p><p>The mantras I follow when dealing with new trends in JS are:</p><ol><li><strong>Know just the abc’s i.e don’t dive in too deep, too soon</strong> : A year ago Angular 1 was everywhere, I learned it but then <a href="https://reactjs.net/"><strong>React</strong></a> came along which is far more powerful and now all my effort is in vain. Even Angular 2 betrayed me with its vast shifts.</li><li><strong>Don’t use it be cause everyone is using it (Requirement Analysis)</strong>: It may sound like a <a href="https://www.devrant.io/"><strong>rant</strong></a> on Angular but it betrayed me again, this time with <a href="https://www.google.com.np/webhp?sourceid=chrome-instant&amp;ion=1&amp;espv=2&amp;ie=UTF-8#q=search+engine+optimization"><strong>SEO</strong></a>. As Angular was purely interpreted on the browser when rendering, all the web crawlers got was this =&gt;“{{ <a href="https://blog.kissmetrics.com/meta-description-magic/">meta_description</a> }}”. However, there was <a href="https://scotch.io/tutorials/angularjs-seo-with-prerender-io">Prerender</a> to rescue but still it was one more hassle to add to the system.</li><li><strong>Follow the community </strong>: The community will have valuable news you wouldn’t want to miss on.</li><li><strong>Don’t panic </strong>: There is no need to panic. Angular didn’t work out for me and React may, but I don’t know it just yet and it doesn’t matter. Something bigger and better lets say <em>‘metallica.js’</em> may be out in the future. Just move along.</li><li><strong>Change is inevitable, plan ahead and cope along</strong> : In my case shifting to something like React from Angular was impossible unless it was fully re written. The lesson from all this is that I shouldn’t have made my system overly dependent on a primitive framework and so should everyone.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d19f670fc272" width="1" height="1" alt=""><hr><p><a href="https://medium.com/introcept-hub/how-to-adjust-to-the-rapidly-changing-javascript-ecosystem-d19f670fc272">How to adjust to the rapidly changing JavaScript ecosystem?</a> was originally published in <a href="https://medium.com/introcept-hub">GlobalyHub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Work ethics I have flourished as a developer]]></title>
            <link>https://medium.com/introcept-hub/work-ethics-i-have-flourished-as-a-developer-e7dd96c5e6c4?source=rss-e0459bcefc00------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7dd96c5e6c4</guid>
            <category><![CDATA[work-ethic]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Pranin Shakya]]></dc:creator>
            <pubDate>Wed, 19 Oct 2016 12:03:24 GMT</pubDate>
            <atom:updated>2016-10-25T08:57:51.773Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*OQ7vzok9Tb3VAzzAE1SXlQ.jpeg" /></figure><p>I am not going to state about the projects I’ve done in my past nor am I going to brag about the programming languages that I thought I had mastered as a developer. I am just going to list out a few core values I think may be helpful to have a happy professional life. So here we go :</p><ol><li>Patience is the key.</li><li>Time is money, spend it well.</li><li>Listen more and speak less.</li><li>Don’t be afraid to make mistakes.</li><li>If its too hard for you, you are doing it wrong.</li><li>Update or else someday you will find yourself chatting with a flash developer on “How technology betrayed developers”.</li><li>Everything is a “Piece of cake” once you slice the large one for everyone to share.</li><li>Don’t rush into writing code until and unless you are absolutely clear on the requirements. First solve the problem, then write the code.</li><li>It is better to be ignorant than carry wrong information.</li><li>Documentation is the key to the treasure chest with all the gems you wrote.</li><li>Absorb only the positivity from criticisms and disagreements.</li><li>Get inspiration from something magical that comes along.</li><li>Leverage automation to the fullest.</li><li>Never kill your curiosity.</li><li>No idea is bad.</li><li>Always minimize your hate for the quality assurance engineer.</li><li>A challenge is hard as you make of it.</li><li>Music does help in creative thinking.</li><li>Always thrive for betterment.</li><li>Don’t do it just because everyone is doing it. Judge to evaluate before implementation.</li><li>Too little and incomplete knowledge is always a hindrance to productivity.</li><li>It is not always about working hard, but working smart will always turn out great.</li><li>Immediately implement a new idea to imprint it into your memory.</li><li>Sleep and rest is a huge boost for a sound mind.</li><li>Desk jobs are cruel, take time to cool off and stretch.</li><li>Drink plenty of water and eat well to have a healthy brain.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7dd96c5e6c4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/introcept-hub/work-ethics-i-have-flourished-as-a-developer-e7dd96c5e6c4">Work ethics I have flourished as a developer</a> was originally published in <a href="https://medium.com/introcept-hub">GlobalyHub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>