<?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 Nayana on Medium]]></title>
        <description><![CDATA[Stories by Nayana on Medium]]></description>
        <link>https://medium.com/@nayanak872?source=rss-d2c2a3f12b92------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FA7tdWQdI8nRNyYlUVHAnA@2x.jpeg</url>
            <title>Stories by Nayana on Medium</title>
            <link>https://medium.com/@nayanak872?source=rss-d2c2a3f12b92------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 22:19:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nayanak872/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[Cracking the AI-generated Code: You probably gotta update your DevSecOps practices!]]></title>
            <link>https://medium.com/devsecops-ai/cracking-the-ai-generated-code-you-probably-gotta-update-your-devsecops-practices-2a1749dd2375?source=rss-d2c2a3f12b92------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a1749dd2375</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cicd]]></category>
            <dc:creator><![CDATA[Nayana]]></dc:creator>
            <pubDate>Wed, 12 Mar 2025 04:30:35 GMT</pubDate>
            <atom:updated>2025-05-10T20:18:11.049Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qt0dVczE9g6_p7y6ekLCug.png" /><figcaption>The new normal in the AI driven age</figcaption></figure><p>The rise of AI assistants like <a href="https://x.com/@GitHubCopilot">@GitHubCopilot</a>, <a href="https://x.com/@DevinAI">@DevinAI</a> , etc. in software development has revolutionized productivity, streamlining code generation and reducing mundane tasks for developers. However, this efficiency comes with hidden security costs that traditional DevSecOps approaches weren’t designed to address. As organizations increasingly rely on AI to generate code, a new security paradigm is needed.</p><p>This article explores the unique security challenges posed by AI-generated code and offers practical strategies to adapt DevSecOps practices for this new reality.</p><h3><strong>The Rise of AI in Code Generation — and Its Security Risks</strong></h3><p>AI coding assistants are trained on vast repositories of public code, which include both secure and insecure examples. As a result, they can replicate vulnerabilities without developers noticing. A <a href="https://amplication.com/blog/7-best-ai-coding-tools-to-generate-entire-apps">2024 study from the University of Waterloo</a> found that tools like GitHub Copilot reproduce vulnerable code about 33% of the time, compared to 25% for fixed code.</p><p><strong>Note that the AI Assistants:</strong></p><ol><li>Might recommend outdated libraries with known flaws, deprecated dependencies, or even “hallucinated” packages that don’t exist. These risks can lead to broken builds, delayed projects, or worse — security breaches in production <br><strong>Example:</strong> An AI assistant suggested using a popular image processing library with loose version constraints. The suggestion didn’t account for a critical vulnerability in recent versions that could enable remote code execution</li><li>Don’t understand your application’s specific security requirements. They generate code based on patterns they’ve learned, not your unique threat model <br><strong>Example:</strong> An AI might suggest storing API keys in environment variables (generally good practice) but fail to recognize when generating code for a frontend application where this approach would expose secrets in client-side code</li><li>Consistently generate code that requests broader permissions than necessary, violating the principle of least privilege <br><strong>Example:</strong> When asked to create a file-reading function, an AI might generate code with full read/write permissions to the entire file system rather than limiting access to specific directories or using more restricted capabilities</li></ol><h3>Adapting DevSecOps for AI-Generated Code</h3><p>Here’s how organizations can evolve their DevSecOps practices to address these unique challenges:</p><p><strong>1. Enhanced Pipeline Security Controls</strong></p><p>Traditional security scanning isn’t optimized for catching AI-specific patterns. Implement these additional pipeline controls:</p><ul><li><strong>AI-aware dependency scanning:</strong> Configure dependency scanners like Snyk or OWASP Dependency-Check to flag loose version constraints and overly broad dependency imports</li><li><strong>Permission boundary checkers:</strong> Add automated checks that verify code adheres to least-privilege principles</li><li><strong>Context-aware security linting:</strong> Develop custom linters that understand your application’s security boundaries and flag violations</li></ul><p>Implementation Example:</p><pre># Example GitHub Action for AI-code scanning<br>name: AI Code Security Scan<br><br>on: [pull_request]<br><br>jobs:<br>  scan:<br>    runs-on: ubuntu-latest<br>    steps:<br>      - uses: actions/checkout@v3<br>      <br>      - name: Dependency Pinning Check<br>        run: ./scripts/check-dep-pinning.sh<br>        <br>      - name: Least Privilege Validator<br>        uses: example/least-privilege-check@v1<br>        <br>      - name: Custom Security Linting<br>        run: npx eslint --config .eslintrc-ai-security.js</pre><p><strong>2. Prompt Engineering for Security</strong></p><p>Developers need training on security-focused prompt engineering. Here are effective approaches:</p><p><strong>Basic Prompts: <br></strong>❌ “Write a function to process user uploads”</p><p><strong>Security-Enhanced Prompts: <br></strong>✅ “Write a function to process user uploads that validates file paths, prevents path traversal attacks, avoids command injection, and follows the principle of least privilege”</p><p>Example template for Security-Focused Prompts:</p><pre>Write [function/code] that:<br>1. Implements [core functionality]<br>2. Validates all inputs using [specific validation approach]<br>3. Handles errors with [appropriate error handling]<br>4. Follows these security principles: [principle 1, principle 2]<br>5. Avoids [specific vulnerability]</pre><p><strong>Case Study: Before and After Remediation</strong></p><p>Let’s examine a real example of AI-generated code vulnerability and its remediation:</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a1749dd2375" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devsecops-ai/cracking-the-ai-generated-code-you-probably-gotta-update-your-devsecops-practices-2a1749dd2375">Cracking the AI-generated Code: You probably gotta update your DevSecOps practices!</a> was originally published in <a href="https://medium.com/devsecops-ai">DevSecOps &amp; AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why should you consider applying to the HarvardWECode Conference’23?]]></title>
            <link>https://medium.com/@nayanak872/why-should-you-consider-applying-to-the-harvardwecode-conference23-277868832a03?source=rss-d2c2a3f12b92------2</link>
            <guid isPermaLink="false">https://medium.com/p/277868832a03</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[women-in-stem]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[harvard]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Nayana]]></dc:creator>
            <pubDate>Sat, 03 Dec 2022 09:00:44 GMT</pubDate>
            <atom:updated>2022-12-03T12:47:32.689Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Insights &amp; pointers to encourage female undergrads from all over the world to apply for this conference through my experience</strong></p><p>First of all, Why am I the right person to inform anything about this?</p><p>I came to know about this conference quite late on tech journey during the pandemic in 2020 and got the opportunity to attended this conference 2 years in succession, first as a attendee/scholar and then as a Tech Fellow, both times virtually. Since, I’ve already graduated this year, I cannot attend this time. Although secretly, I wish I could have been a part of this awesome technical initiative because it’s in person this year. But as Taylor Swift once said, would’ve, could’ve, should’ve 🧣</p><p>Now, that being out of the way, I intend to leave this piece of information here so that it reaches the relevant seeker/attendee finding any answers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qgy-3_K0H9Oeb1eQ" /></figure><p><strong>Why should you try and attend this conference?</strong></p><ul><li>It encourages women in tech studying in college to apply regardless of their experience level, gender or geographic location</li><li>It can help you with networking with like-minded students from top schools in different aspects from your tech domain of your interest to people pitching their startups while still in college! Not to mention you become a lifetime member through the Slack Community hence making lifelong connections</li><li>You’ll get insights and direct interaction with women professionals of the tech industry and recruiters sharing relevant information about the hiring process, Resume review opportunities and a ton of help as an international student</li></ul><p><strong>Eligibility Criteria:</strong></p><ul><li>Being an undergrad female or non-binary student</li></ul><p><strong>How to apply:</strong></p><ul><li>One way is to purchase the ticket directly on an early bird price. Later, the prices shoot up to regular ones. But, applying through a Tech Fellow’s referral code at a deferred point of time also enables some discounted price</li><li>A group of college students are welcome to apply for group discounts as well which would be an efficient way to travel together,etc. also</li><li>If you’re a member of partner/sponsoring organizations like the RTC (Rewriting the Code), using the codes provided by them helps with some discount on the ticket at any stage</li><li>This year, 2 scholarships named as the WEAmplify scholarship are being sponsored to facilitate the attendees to be able to attend in person. Link to know more — <a href="https://www.harvardwecode.com/weamplify-scholarship">https://www.harvardwecode.com/weamplify-scholarship</a></li><li>Note that a special Housing Scholarship is also available this year to aid your staying arrangements during the conference and you can know more about it right here — <a href="https://www.harvardwecode.com/tech-fellowship-copy">https://www.harvardwecode.com/tech-fellowship-copy</a></li></ul><p><strong>Info on the WEAmplify Scholarship:</strong></p><p>Many students from all over the world were able get this scholarship to attend the conference last year and I was able to help some of the attendees receive it. Testimonials:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*NUtzVZS9gkzHFZ18nIy5sg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*aMuRjsbs6Z1lvcUXft65-w.png" /></figure><p>This year there are 2 types coming under this scholarship — The WEAmplify Basic Scholarship and The WEAmplify Extended Scholarship. The process to apply remains the same this year as well, and the deciding factor lies in some well-thought out answers to the 3–4 questions demanding about 150 words from the applicant’s end. Attaching a Resume is optional. Answering these questions will help clear your mind about Tech even if you don’t get a scholarship and framing these answers will help you get selected somewhere else through some other program now that you’ve made up your mind to be in this tech space, if not here so its a win-win for everyone!</p><p>Now, Let’s dive into framing your answers while applying for this scholarship:</p><ul><li>Take a question and roughly list down the points that come to your mind and relate them to the tech domain of your interest like AI, etc. and be really enthusiastic in showcasing this interest</li><li>Be professional and authentic while answering these questions but you don’t need to have any prior experience in your domain of interest or community. Give it a good thought, and mention your unique perspective about the impact and possible changes tech can bring and how would you play a role in this change, big or small</li><li>Relate these points within the word limit, if it’s less than 150 that’d work but shouldn’t be more than that, it will hardly take an hour or 2 at max</li><li>Side Note: Make sure to fill in the basic details like geographical location,etc. correctly and reach out to people associated with the conference if not sure what to answer. People will definitely help if you reach out and ask the right questions</li></ul><p>All the best if this interested you and you’re considering to apply!</p><p>Give this story a 👏 if you liked it and Feel free to connect with me on <a href="https://www.linkedin.com/in/nayana-k-955411170/">LinkedIn </a>or <a href="https://twitter.com/uncommonnayana">Twitter</a> : )</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=277868832a03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The best metrics for developer relation teams:]]></title>
            <link>https://medium.com/@nayanak872/the-best-metrics-for-developer-relation-teams-e39df45bbb3b?source=rss-d2c2a3f12b92------2</link>
            <guid isPermaLink="false">https://medium.com/p/e39df45bbb3b</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[team-collaboration]]></category>
            <category><![CDATA[developer-relations]]></category>
            <category><![CDATA[developer-advocacy]]></category>
            <category><![CDATA[developer-experience]]></category>
            <dc:creator><![CDATA[Nayana]]></dc:creator>
            <pubDate>Tue, 29 Nov 2022 20:34:40 GMT</pubDate>
            <atom:updated>2022-11-30T09:41:20.564Z</atom:updated>
            <content:encoded><![CDATA[<h3>An overview of industry practices employed to measure the success of Developer Relations as a Team</h3><p>The first question that comes into the picture when we first hear about the relatively new yet already existing just-named role is,</p><p><strong>Why do organizations need a separate team named developer relations?</strong></p><p>Depending on the organization, a separate DevRel/DevEx team is required to aid the storytelling and support not only the marketing side of the product but also to handle the internal and external communications. They are also required to aid with the trailing technical tasks of the company with the objective of growth as a community by being the point of contact in a developer-concentric community. Since a relatively larger organization in terms of headcount is more inclined to include a full-fledged team for facilitating its relationships, most likely the founding (senior) engineer sets the tone or metrics for the incoming team members in this space who try to implement their unique, and authentic methods to eventually lead to the first principles/foundations set by the founding DevRel engineer. These metrics aren’t laid by analysis but by consistent optimization based on trial and error on what works and what doesn’t work depending on the experience of the team members. This process is quite analogous to the product builder’s journey in a team where the engineers need to deliver quality features consistently chasing that ever-growing mountain every time on reaching the peak. In this journey, comes a point when the plateau is reached, or growth saturates and they need to figure out new best practices for scaling by adapting to the demands of the marketplace hence leading the competition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/0*bLT_6okubAoobv26" /></figure><p>No perfect metrics exist that measure the inputs of the Developer Relations Team correctly because the process isn’t a repeatable one for different teams due to differences in:</p><ul><li>The nature of the product and hence the community interests</li><li>The focus being on quality over quantity.</li></ul><p>However, some minimum viable cues that validate the work of the team through visible contributions can be:</p><ol><li><strong>Different outputs at different stages: </strong>Initially, the team invests their time and efforts to make the product visible through strategies that look creative to make a noise in the industry and gain a foothold in their online presence. But, once the awareness stage is surpassed the focus is on educating about the product and developer experiences through tutorials in different formats, increasing outreach through collaborations or events, and building sustainable communities. So, the input metrics grow here with the community growth.</li><li><strong>Team approach transitions from breadth-first-demands to depth-second-content: </strong>As the team grows, members are assigned to handle a particular niche of the responsibilities that were earlier managed by the team generalists wearing multiple hats. So, output metrics grow here with the growth of each member of the DevRel team who comes together and leads with consistent learning and sharing.</li><li><strong>Being mindful of internal and external connections:</strong> This pointer is analogous to meditation in the sense of reflecting once in a while and employing effective methods to increase cross-team work awareness within the organization. A good metric here would be the cross-domain teams being aware of the point of contact for internal and external communications, even within the DevRel team associated with a particular function like developer experience, success, marketing, or relations.</li><li><strong>Doing improved creative work, not just telling but showing visible numbers gives an ROI:</strong> Being flexible and adaptable with the mode of reaching out to the relevant audience yet consistent and authentic during difficult times like the pandemic or the ongoing recession calls for different not desperate measures. There were no in-person conferences for quite some time so twitch streams and youtube tutorials replaced them to pitch the product and kept people engaged and curious, making it easy for them to understand the product, and its initiatives and grow a community. These efforts of the DevRel teams have successfully created a bridge between a technical as well as a non-technical audience and a complete technical product through innovative ways like video or written content in different ways like newsletters on different platforms. The direct user interaction on these platforms over a period of time accounts for the ROI and serves as a metric to track the community interaction followed by tools in place to track the conversion ratio as well as sustaining audience and users. The different platforms are indicative of the “how” and the “what” can be improved according to the response.</li><li><strong>Framing company requirements into interval-spaced out goals and tracking them:</strong> Different organizations have different goals for DevRel teams as some may be focused on improving the technical documentation, some may be focused on increasing community engagement, etc. Having clarity regarding the areas of work to be worked on, in advance helps the team to plan long-term goals and set achievable milestones with trackable progress serving as the metric.</li><li><strong>Feedback collection and data analysis:</strong> Finally, since the DevRel teams are exposed to any and every possible way of interaction and engagement, constant data collection from those at the receiving end through surveys, etc. plays a crucial metric to check the response, analyze different areas, and improve according to the feedback loop.</li></ol><p><strong>Quick Reminder: </strong>Request to be empathy-driven for these amazing people in tech doing a really creative and demanding job who manage a lot of stuff/madness that goes behind the scenes thankless. They are the first contact point of the organization if things go south internally or externally but their stability is the first one that gets affected by the restructuring of an organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/0*Tp73HAUrrMwgTW1E" /></figure><p>Hope this article helped any person looking forward to or already in the DevRel Space. Feel free to let me know how can I improve:)</p><p>Connect with me on <a href="https://www.linkedin.com/in/nayana-k-955411170/">LinkedIn</a> or <a href="https://twitter.com/uncommonnayana">Twitter</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e39df45bbb3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tech Communities: active & not-so-active ones]]></title>
            <link>https://medium.com/@nayanak872/tech-communities-active-not-so-active-ones-d321d8b6cac2?source=rss-d2c2a3f12b92------2</link>
            <guid isPermaLink="false">https://medium.com/p/d321d8b6cac2</guid>
            <category><![CDATA[community-engagement]]></category>
            <category><![CDATA[developer-relations]]></category>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[community]]></category>
            <dc:creator><![CDATA[Nayana]]></dc:creator>
            <pubDate>Sun, 27 Nov 2022 12:46:46 GMT</pubDate>
            <atom:updated>2022-12-03T12:49:01.576Z</atom:updated>
            <content:encoded><![CDATA[<h3>An analysis of winning &amp; losing tech communities based on outreach, user support &amp; rewards</h3><p>Disclaimer: This blog is a personal perspective based on analysis with no intention of defaming a community so any constructive feedback is welcome:)</p><p>The chosen niche of analysis: Developer-concentric communities based on an open-source solution to a problem in the development workflow.</p><p>In this scenario, the term “communities” refers to every individual associated with the product, be it, someone, from the developer ecosystem at any tech level giving their invaluable insights as a user, interested enterprises willing to test the solution for further collaboration, or the individual collaborators looking forward to contribute through open-source.</p><p>Let’s consider 2 communities — A and B in our chosen analysis niche. On careful observation, it is noticed that community A has quite an active online presence, and everyone is talking about their software, there is hype around every feature launch in this community, and the users and incoming collaborators are really satisfied with the product experience. This community is ever-growing organically, through word of mouth and everyone is happy with the overall growth in the product, which helps to plan better for scaling. However, community B is quite the opposite despite having a pretty good product. This community is not as active as community A in the sense that it doesn’t have an active online presence on different platforms, no regular communication with the interested users with a continuous product feedback cycle in place, and collaborators aren’t aware of their services. It’s safe to say that community A is winning here in the tech space with some simple systems in place.</p><p>What are some lessons we can learn from community A?</p><ul><li>An active online presence, be it big or small has a Snowball Effect.</li></ul><figure><img alt="The Snowball Effect" src="https://cdn-images-1.medium.com/max/545/0*zkacXKuvhItgH3BM" /></figure><ul><li>Quick support for product-related issues helps develop a trust system. It might be a technical or a non-technical issue bugging the user but an active support system motivates the user to reach out.</li></ul><figure><img alt="People will forget what you said, people will forget what you did but people will never forget how you made them feel" src="https://cdn-images-1.medium.com/max/735/0*RPAbncM7cfMLdq4V" /></figure><ul><li>Active product feedback cycle. Being open to constructive online discussions regarding the product helped team A to get rid of some possible issues which weren’t obvious to them initially because they were more focused on the product. This helped them make the best use of the open-source ecosystem.</li></ul><figure><img alt="Ask, Categorize, Act, Follow-up" src="https://cdn-images-1.medium.com/max/900/0*6Jk86bVuMa5esTUs" /></figure><ul><li>A personalized experience like emailing without any spamming for active users and interested collaborators goes out a long way. Team A is of the opinion that it wins only if everyone in the community wins, they strive to provide a positive and inclusive experience to the members.</li></ul><figure><img alt="Together we can take it higher" src="https://cdn-images-1.medium.com/max/1024/0*ag8K0G_c5ZurDPaO" /></figure><ul><li>Fun Collaborations are a part of their process to reach out to the relevant/target audience, they don’t require a marketing Team, their product speaks for itself. They invest some of their efforts to present their product at conferences of their tech domain, and have candid conversations (not necessarily technical) to make sure that the community is engaging and people are looking forward to the next feature.</li></ul><figure><img alt="Collaboration is the key to everything" src="https://cdn-images-1.medium.com/max/961/0*lWBhoPlz2dlmQmaz" /></figure><p>What are some pain points of community B that should be addressed with actionable lessons?</p><ul><li>Having a great tech product is, unfortunately of no use if it doesn’t reach the target user/audience. Being more vocal about the product through different platforms is really important for organic outreach.</li></ul><figure><img alt="Make some noise" src="https://cdn-images-1.medium.com/max/1024/0*pKzfxgXC3J59h1wr" /></figure><ul><li>Developers are busy people and it’s understandable that they might not be available 24*7 for some user queries but small gestures like providing curated FAQs for possible problems a beginner might encounter or a chatbot assistant solves the problem of user-accessible support in some cases.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/0*8iqQNkBPZp6ZUMT7" /></figure><ul><li>Asynchronous communication is better than no communication, it’s okay if the community wasn’t active for some time but taking the initiative to rekindle user/collaborator interests helps to overcome the dead silence.</li></ul><figure><img alt="Just Do it!" src="https://cdn-images-1.medium.com/max/700/0*yeQryUk-Y8-PexZN" /></figure><ul><li>Take the helpful feedback from the community to work on required areas, to build momentum as well as to make the community more engaging.</li></ul><figure><img alt="A linear graph showcasing Momentum" src="https://cdn-images-1.medium.com/max/552/0*STScq-YNGhBMQjam" /></figure><ul><li>Collaborate, collaborate &amp; collaborate, even if in a small way.</li></ul><figure><img alt="Collaboration for the Win" src="https://cdn-images-1.medium.com/max/313/0*kfdGzMXJXpHV17Ot" /></figure><p>Thanks for reading this, feel feel to let me know if you gained any value from this blog, and areas where I can improve through your suggestions or collaborate on a fun project!:)</p><p>Give this story a 👏 if you liked it and Feel Free to connect with me on <a href="https://www.linkedin.com/in/nayana-k-955411170/">Linkedin </a>or <a href="https://twitter.com/uncommonnayana">Twitter</a> !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d321d8b6cac2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git 101 with Linux commands]]></title>
            <link>https://medium.com/@nayanak872/git-101-with-linux-commands-32f2abd2e47d?source=rss-d2c2a3f12b92------2</link>
            <guid isPermaLink="false">https://medium.com/p/32f2abd2e47d</guid>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Nayana]]></dc:creator>
            <pubDate>Tue, 01 Nov 2022 12:23:16 GMT</pubDate>
            <atom:updated>2022-11-28T11:53:22.546Z</atom:updated>
            <content:encoded><![CDATA[<h3>Let’s Git Up</h3><p>I believe every month is an opportunity to get started with open source not just October. This is a list of commands that I just wanted to note and share that might be helpful for those just getting started; )</p><figure><img alt="Ross, Chandler &amp; Joey dancing" src="https://cdn-images-1.medium.com/max/376/0*sY9-2epcc6P4Ear3.gif" /></figure><p>Reference for getting started with GitHub, setting up SSH keys, etc. — <a href="http://shorturl.at/rEFOZ">shorturl.at/rEFOZ</a></p><p>Commonly used Git Commands we use during local development:</p><ul><li>git init — to initialize a remote git repository</li><li>pwd — prints the current working directory</li><li>ls -a : to list any files in the current directory including hidden files like .git</li><li>mkdir folder_name — to create a new folder from the command line</li><li>touch file_name, cd filename — to create and travel to the file</li><li>rm -r filename — to delete the file and anything inside it (recursively), Note that rm filename also does the job</li><li>If any code changes are made, we use git commit to take a screenshot of the changes at that particular point in time and note that the next commit is dependent on the previous one which means we use the last commit’s hash id to delete/deal with the next one and similarly used when we want to add multiple commits in one go/commit which I felt was a pretty cool trick to know (done using git reset command)</li><li>git diff — to track any changes made in a file before it has been staged</li><li>git add . / folder/filename : to prepare all the changes to get ready for a screenshot/commit</li><li>git restore — — staged fileName : to restore a removed file to the stage</li><li>git status — just in case you want to know if all the changes have reached the stage</li><li>git commit -m “screenshot message” : the big moment is here</li><li>git log — to track all the commits made so far in the current branch</li><li>git reset commitID — to remove the commit from the staged area</li><li>git stash — if any of the changes feel they’re not ready yet, they’re sent backstage without affecting any other changes</li><li>git stash clear — if the changes have withdrawn their interest from being committed yet 😉</li><li>git stash list — lists the items/staged commits in the stash</li><li>git stash pop — if the changes are ready to get committed (LIFO- a pile of changes &amp; top/most recent change is called using pop)</li><li>git remote add origin repoURL , git push -u origin master : to push the files with all changes to the GitHub repo created using git init.</li><li>git reset — — hard commitID : use this with caution as it cannot be reversed, used to rewrite the working tree from the required commit</li></ul><p>Commonly used Git Commands when working on a project while collaborating:</p><ul><li>git checkout -b newBranchName</li><li>git checkout existingBranchName</li><li>git push — — set-upstream origin branchName : to push the new branch with changes to the repo, to merge all the changes to the main branch, a pull request can be created and merged if all the test cases pass</li><li>git push origin branchName -f : to forcefully push the branch after deleting a commit/making a change remotely which is different from the git branch</li><li>git pull/fetch — to stay up to date with any changes in the main repo and keep code changes in sync with your working directory. Alternatively, git provides an option of fetch &amp; merge on noticing the changes to get this job done.</li><li>git merge alias/branch — to merge the specified branch’s history into the current one.</li></ul><p>Commonly used Git Commands when working with a forked Github repo:</p><ul><li>git clone URL or click on Fork button on GitHub</li><li>git checkout branchName(main of forked rep)</li><li>git fetch — — all — — prune : to fetch all the changes in the main branch from git repo including deleted ones</li><li>git reset — — hard upstream/main : to reset the main branch of origin to main branch of upstream/original repo(to sync main branches of forked and original repo)</li><li>git push origin main: to push the main branch of local to the forked repo</li><li>git pull upstream main: to pull all code changes in one line of command</li><li>An alternative to these commands is using the fetch upstream icon appearing on the forked Github repo</li><li>Merge conflicts can be resolved manually, so leave that for now</li></ul><p>Good to know commands:</p><ul><li>git rebase -i commitID : to squash(overwrite pick with “s” or pick required commits).</li><li>echo message &gt; fileName — to add a message to the file</li><li>cat fileName — to print/see the contents of the file</li><li>find ./ —name “fileName” (to be more specific) — self-explanatory, alternative to it can be: grep message fileName — to find the message in the file and display it</li><li>clear — to clean up the cmd console</li><li>ls -l — used to display long format of files based on read-write type permissions</li><li>ls -al — displays the long format of read-write files including hidden ones</li><li>cd .. — to go back to the root directory, same as cd /</li><li>cd ~ — to go to the home directory</li><li>cd — : to go back to the previous directory</li><li>nano fileName — to make any changes in the file from the cmd</li><li>ping websiteName</li></ul><p>It’s definitely worth having some fun with these newly learned commands, for which you can check out these — <a href="https://overthewire.org/wargames/bandit/">https://overthewire.org/wargames/bandit/</a> &amp; <a href="https://learngitbranching.js.org/">https://learngitbranching.js.org/</a></p><p>Finally, I’d like to share a resource to get started with open source with proper guidance on projects while contributing to a cause — <a href="https://skills.yourlearning.ibm.com/activity/PLAN-59E2188081D7">https://skills.yourlearning.ibm.com/activity/PLAN-59E2188081D7</a></p><p>CheatSheet by GitHub — <a href="https://education.github.com/git-cheat-sheet-education.pdf">https://education.github.com/git-cheat-sheet-education.pdf</a></p><p>Hope this helps, let me know if you’d like me to add a cool/tricky command you’re aware of to this list. Thanks for reading.</p><p>Feel Free to connect with me on <a href="https://www.linkedin.com/in/nayana-k-955411170/">Linkedin </a>or <a href="https://twitter.com/uncommonnayana">Twitter</a> !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32f2abd2e47d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[High on Code guilt?]]></title>
            <link>https://medium.com/@nayanak872/high-on-code-guilt-ae05c21fec85?source=rss-d2c2a3f12b92------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae05c21fec85</guid>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[remote-work]]></category>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Nayana]]></dc:creator>
            <pubDate>Sat, 25 Dec 2021 06:01:25 GMT</pubDate>
            <atom:updated>2022-11-28T11:54:00.258Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>High on Code guilt?</strong></p><p>Hello there, it’s the holiday season and what better reference to use than this?</p><p>Imagine yourself walking the snow ridden streets or just a cold afternoon, after months of staying at a place, you’re getting a chance to escape, loose yourself and explore the market place with all sorts of things you can think of this holiday season, that feeling of love &amp; warmth in the air and the excitement of sending out &amp; receiving gifts, my favourite part is the chocolate cake, can’t let that one go😆</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/110/1*-wKlUAcPvDQRvxk_FjDakQ@2x.jpeg" /></figure><blockquote>(Excited me, literally!)</blockquote><p>Now, in this Disneyland-like affair there’s just so much to look up to. Confused? How is this even remotely related to tech? Hold on, just like you’ve got so many exciting things to choose from, you’ve come across several languages, frameworks and libraries to choose to do the same job. Personally, it was heck of a decision for me to make up my mind to stick to one! But actually I’ve realised it’s not all that black and white. Actually, it’s kind of grey. Each language, framework and library has a reason for its existence, they were brought to life to get a job done at a particular point in time for a particular task. I started out with Java, I knew it had been used for game development when I learnt it because that brewing hot beverage in a cup symbol appeared every time before I played them, although I’ve never used them for game development. Then, I were introduced to C which had a tad bit different syntax from Java but it was kind of Okayish to get through my sem classes with an A grade in the concluding lab alongside the course. Then on, I came to know about FAANG/MAANG and quickly became obsessed with the YT videos of people who got in there through CP. They had a language in common, atleast here in India, C++, when I started learning it, I realised it was kind of not the easiest language to pick up but definitely rewarding if you got hold of it. So, I continued following this language until I could pass the LinkedIn Assessment, which btw took me 2 attempts. I don’t know why but I set that as the standard to test my knowledge instead of actually applying it to projects/Open source. I mean, who does that🤷🏻‍♀️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*msPx3gnpDNdva8DSaJApSA@2x.jpeg" /></figure><blockquote>(Me after doing the unproductive part lol!)</blockquote><p>Remember about the fancy things on the shelves in the marketplace we saw earlier? The tech stacks in Web Development and open source looked exactly like that to me. There are so many of them and all are good at relevant places of implementation. For eg, C++ might be fast and the space-handling in pretty good here but Python is much more readable, and much more friendly in terms of Object-Orientation and the code-length. And then of course there are these cool libraries that save on your efforts and minimises your code length while being quite efficiently in the task execution. I’m totally guilty of skipping to and forth from to the other. But, I did that in different areas according to the requirements which worked for me. I mean I learned JavaScript for front-end but learned python with django rather than express for back-end because I had to contribute to a code base that used python as it did a better job. Similarly, I had to learn Rust &amp; Typscript because it was the language in which the codebase was written while contributing to an open-source project. All these languages and frameworks are meant to do one job just like those different gifts and the whole setting was to make you feel at home, even if completely different in terms of then syntax, usage,etc. The point is that there is no one size fits all here and it’s totally okay. Rather, these have been customised according to the requirements of the task at hand so there is no one language or framework better than the other. They have to work synchronously, which obviously depends on the purpose of application and that’s when the magic happens and you see &amp; feel something surreal! So, it’s never a hard n fast rule to stick to one unless you’re doing the same job in different languages just to figure out which is better like building a react native and a flutter app to test which one is better for developing mobile applications. That is something you should worry about. I mean you can always choose, to quote it from a P!nk song,</p><p><em>“I wish someone would have told me that this life is ours to choose</em></p><p><em>No one’s handing you the keys or a book with all the rules</em></p><p><em>The little that I know I’ll tell to you…..”</em></p><p>Yeah, you heard her, I tried to code the same damn thing in different languages and spent so much time nit picking until I realised I need them all but there’s a time and place for them. Till then, I’ll just use whatever gets the job done, which is to write GOOD CODE. So, tech should be positively overwhelming and not negatively, that ain’t allowed here. Happy Holidays!</p><p>Also Note that this is not applicable for Interviews because you’ll have to focus one mastering one skill to be able to showcase your skill set according to the job description. I ain’t no expert but This is just to prevent anyone like me to overcome the overwhelming feeling when starting out on this beautiful journey. Happy Coding!</p><p>Do check this out for some help if you still suffer with code guilt-</p><p><a href="https://youtu.be/Sxxw3qtb3_g">https://youtu.be/Sxxw3qtb3_g</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*Dweja2KpG5c31Zgc165B3w@2x.jpeg" /></figure><p>This got a bit deep but,</p><p>Writing this down to remind myself if I forget it again. Comment down your perspective, would love to hear!</p><p>Feel Free to connect with me on <a href="https://www.linkedin.com/in/nayana-k-955411170/">Linkedin </a>or <a href="https://twitter.com/uncommonnayana">Twitter</a> !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae05c21fec85" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>