<?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 Aneesh Relan on Medium]]></title>
        <description><![CDATA[Stories by Aneesh Relan on Medium]]></description>
        <link>https://medium.com/@aneeshrelan?source=rss-18ffad87ea2c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zOvgOmPImj-yNypGn3GZmg.jpeg</url>
            <title>Stories by Aneesh Relan on Medium</title>
            <link>https://medium.com/@aneeshrelan?source=rss-18ffad87ea2c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 23:45:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aneeshrelan/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[Boost up your developer productivity with these Mac Apps]]></title>
            <link>https://medium.com/safe-engineering/boost-up-your-developer-productivity-with-these-mac-apps-63c2b11ec932?source=rss-18ffad87ea2c------2</link>
            <guid isPermaLink="false">https://medium.com/p/63c2b11ec932</guid>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[developer-experience]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Aneesh Relan]]></dc:creator>
            <pubDate>Wed, 22 Sep 2021 04:31:19 GMT</pubDate>
            <atom:updated>2021-09-22T04:31:19.522Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fRmvJ-UUxYMYedISxXP9GA.jpeg" /><figcaption>Picture Credits: <a href="https://unsplash.com/">Unsplash</a></figcaption></figure><p>Our CEO, Saket Modi, promised the entire engineering to be upgraded top-end Macbooks as soon as we get good funding, till then we were responsible to get the best out of our existing laptops. We went through multiple RAM and SSD upgrades (basically, utilised every last drop of the CPU juice that we could) to scale and enhance our product, SAFE to raise a good investment round</p><p>And recently, our engineering promises came true when we raised about <a href="https://medium.com/safe-engineering/announcing-our-33mn-funding-lead-by-british-telecom-bt-b54d5cb1498d?source=collection_home---4------2-----------------------">$33 mn from British Telecom</a>! 🤑</p><p>And weeks after we announced we had our shiny new Macbooks getting delivered all across our engineering teams and everyone getting their new toys to play with (and now a top of the end Macbook Pro is a bare minimum for any new developer entry 😎)</p><p>A lot of us were experiencing our first Mac development environment, a few already had a fair amount of experience. I, being in the latter, as soon as I got my machine, went on tweaking and customising based on my liking and a few apps that I’ve always wanted, but couldn’t in the Linux environment. A few of my teammates and other engineering folks reached out with some Mac help so wanted to just put down my favourite apps (all FREE!)</p><h3>AppCleaner</h3><p>Download Link: <a href="https://freemacsoft.net/appcleaner/">Here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/0*WPQkunPjFRzamtCt.png" /><figcaption>Picture Credits: <a href="https://freemacsoft.net/appcleaner/">FreeMacSoft</a></figcaption></figure><p>All Mac users out there know how simple it is to install <em>most</em><strong><em> </em></strong>of the apps (excluding AppStore). These come in a simple .dmg file and all that one needs is to copy them to their <em>Applications</em> folder and you’re ready to go. How about the uninstallation? Simple, <em>Move to Trash</em> and <em>Empty</em> the trash!</p><p>However, a lot of the apps now start generating a lot of data in configuration files, local caches and a lot of other files depending upon the apps. At times, I have faced that re-installing the apps sometimes magically brings back my old data (old data was problematic and re-installing didn’t help which made me find this a long time back). The AppCleaner is the neatest app to do a <strong>complete uninstallation </strong>of any Mac App. Instead of moving to the trash, just move the App to the AppCleaner window, it’ll list down all the linked files across your filesystem and you can put all of them into the bin at once!</p><h3>Maccy</h3><p>Download Link: <a href="https://maccy.app/">Here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6evgmCICMEhYEFS8.png" /><figcaption>Picture Credits: <a href="https://maccy.app/">Maccy</a></figcaption></figure><p><em>“May-see”</em>, is what I used to call it the first time I read about this app. I just checked the pronunciation before writing this. Seems like, it’s <em>“Maxy</em>”. Nevertheless, in short, it’s an amazing Clipboard Manager app</p><p>I came about Clipboard Manager apps just recently and started using apps like <a href="https://hluk.github.io/CopyQ/">CopyQ</a> on a Linux environment and were pretty cool. I have always been copying multiple things at once, logging into remote machines, passwords, images, screencasts, code, everything and almost every second time, I had to copy multiple things, pasting them one by one was unnecessary slowness, and these clipboard managers made my life easy.</p><p>I was looking for a similar experience in Mac and stumbled upon this. Maccy is one of the simplest apps that get the work done just <strong>perfectly!</strong> It supports text, images, videos, everything you’d generally be using in a copy-paste scenario. The ease of use, with a simple <strong>⌘-Shift-C </strong>keyboard shortcut it pops up in a small dropdown fashion and lists down your recent copied items (you can configure how many items to remember). It works on any app, terminal, IDE, browser</p><h3>Microsoft Remote Desktop</h3><p>Download Link: <a href="https://apps.apple.com/us/app/microsoft-remote-desktop/id1295203466?mt=12">Mac App Store</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iCghRfijO9rYoRo8" /><figcaption>Picture Credits: Mac App Store</figcaption></figure><p>Working with multiple CI systems, remote environments, a lot of being Windows machines generally need to use some RDP clients to log on and work. <a href="https://remmina.org/">Remmina</a> has been my most favourite on a Linux, and honestly, haven’t been able to find the closest to this on a Mac with all the features that Remmina had to offer. My most loved and used was the ability to use a Jump Host over SSH and RDP, I have extensively relied on this since the majority of our Windows CI systems have been in Private subnets in our cloud infrastructure</p><p>Coming back to the actual app in talks here. Microsoft Remote Desktop has a clean, RDP interface. That’s it. If you want to connect to a remote windows machine, configure it once and off you go. Nothing more, nothing less</p><h3>Numi</h3><p>Download Link: <a href="https://numi.app/">Here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*rPe9ISOX3NHAi-n2" /><figcaption>Picture Credits: <a href="https://numi.app/">Numi</a></figcaption></figure><p>The built-in calculator is quite handy for most operations. Also, the Spotlight has built-in support for some basic calculator use cases as well as some unit and currency conversions. But that’s all. Numi provides a whole new experience to the calculator. Currency conversions, unit conversions, equations, dates, times and everything that you’ll never need to add/subtract/multiple/divide/solve is handled by Numi</p><p>It’s lightweight and can be enabled to be toggled from a menu bar app as well for easy access. I don’t use it that often, but whenever I have to (mostly validating some dates, calculations involving currencies), it’s such a breeze to use that than the native calculator which needs almost double the number of operations (for things like currencies)</p><h3>Rectangle</h3><p>Download Link: <a href="https://rectangleapp.com/">Here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/148/0*5s3ooSQdj0Rq0JM7.png" /></figure><p>One thing I’ve always liked about Windows is the window arrangement that is used to offer. With a simple keyboard shortcut of Win+Arrow Keys, you can arrange multiple windows in a productive arrangement. In a Mac system, you only get very limited options out of the box, which is just a full-screen mode and two apps in one full-screen window.</p><p>Rectangle brings seamless window management and plugins in some very convenient keyboard shortcuts to use these. My favourite has been the two-column mode by Simple ^+⌥+← and on the other window ^+⌥+→ . The other frequently used is maximising the active window with a straight ^+⌥+↩ shortcut. It also adds a tiny little menu bar for mo›››re options and other shortcuts to verify. The entire value of this apps adds up if you have multiple monitors as the shortcuts work well with monitors as well based on the layout selected</p><h3>SnipperApp 2</h3><p>Download Link: <a href="https://apps.apple.com/us/app/snipperapp-2/id1469182443?mt=12">Mac App Store</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HIJcNALBKXQI5rAe" /><figcaption>Picture Credits: <a href="https://snipper.app/">SnipperApp</a></figcaption></figure><p>This is one of a kind that I’ve recently started using and has been part of my daily development routine more than any other app. I have a lot of handy commands, code snippets, monitoring utilities, debugging scripts that I had noted in a few random places (Notes, personal slack chat, etc.) and had to always go back to them, copy and paste to wherever it was required. A lot of the time saving was a pain as all these aren’t native development tools (I mean notes, etc.) and make such code snippet management difficult</p><p>SnipperApp 2, has a very nice interface, supporting a host of programming languages for syntax highlighting to save your snippets (of any size). For some extra money, you can add Cloud Sync and backups to the app as well, but everything is free if you want to remain on a single system in an offline mode (has both a subscription-based payment mode as well as a one-time upfront fee)</p><p>My usage of the Snipper App has been mainly around some lengthy terminal commands for our stack, docker containers. It comes with a menu bar app as well which places a fancy icon on the menu with one-click access to all your snippets (I didn’t like the search functionality much, as it doesn’t work well on the snippet titles). But the menu bar app lists all your snippets and clicking any one of the saved snippets, automatically copies it to your clipboard (you now know how to manage your clipboard as well 😉)</p><p>I know there are a few paid alternatives that are much better, but I liked this because it’s FREE and gives a lot of functionalities, almost everything I need. Although, I’m still evaluating <a href="https://www.renfei.org/snippets-lab/">SnippetsLab</a> as an alternative, but haven’t found major differences in paying that amount of money as compared to this free option</p><h3>Stats</h3><p>Download Link: <a href="https://github.com/exelban/stats">Here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zawizsQz6WOYpFYO" /><figcaption>Picture Credits: <a href="https://github.com/exelban/stats">Stats</a></figcaption></figure><p>I’ve always had this weird knack of monitoring my system resources time and again. Some of our docker containers are kind of heavy and at times eat up a bit more resources than we want in the development environment owing to file watchers and instant code refresh mechanisms. I have this habit of monitoring the system temps and usage at such times to ensure, if there is a bad thing going, I get to know it almost instantly</p><p>Earlier, I preferred the <a href="https://bjango.com/mac/istatmenus/">iStat Menus</a>, but somehow felt that it added up to the system resources with only this running, nothing else. The other aspect was the unfair pricing. As soon as I got the new mac, searched for similar utilities and Stats was the first result, that too of a GitHub page (open source, yay! 🥳). Installation and setup was a breeze and once you experience it, no one can say it’s a free, open-source app. I could get each and every (more than what I wanted, and have disabled some) system metric right onto my menu bar, refreshed in real-time. I have mostly configured the core temps, N/W usage, RAM &amp; CPU usage which serves most of my needs. This has truly become one of my best open-source findings as a Mac App!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yoDQyLacwY1YYkJS" /></figure><p>Let me know your favourite, interesting app discoveries and I’d love to try them out. Please clap if any of the above apps help you and follow us for more 🤓</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63c2b11ec932" width="1" height="1" alt=""><hr><p><a href="https://medium.com/safe-engineering/boost-up-your-developer-productivity-with-these-mac-apps-63c2b11ec932">Boost up your developer productivity with these Mac Apps</a> was originally published in <a href="https://medium.com/safe-engineering">SAFE Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcing our $33mn funding lead by British Telecom (BT)]]></title>
            <link>https://medium.com/safe-engineering/announcing-our-33mn-funding-lead-by-british-telecom-bt-b54d5cb1498d?source=rss-18ffad87ea2c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b54d5cb1498d</guid>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[funding]]></category>
            <dc:creator><![CDATA[Aneesh Relan]]></dc:creator>
            <pubDate>Thu, 05 Aug 2021 07:13:30 GMT</pubDate>
            <atom:updated>2021-08-05T07:13:30.640Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mhk12juI_5q8UI_8wm3_PA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/KFIjzXYg1RM">Jeremy Bishop</a> on <a href="https://unsplash.com/">Unsplash</a></figcaption></figure><p>We’re very excited to announce our latest round of funding lead by the <strong>British Telecom (BT) Group</strong> for a total of <strong>$33 million</strong> 💸</p><p>Amidst the pandemic, our organisation has thrived! We’ve grown exponentially and have signed multiple global customers, who are actively using our platform SAFE</p><blockquote>“Cybersecurity is now at the top of the agenda for businesses and governments, who need to be able to trust that they are protected against increasing levels of attack. Adding SAFE to BT’s proactive, predictive security services will give customers an enhanced view of their threat level, and rapidly pinpoint specific actions needed to strengthen their defences. Already one of the world’s leading providers in a highly fragmented security market, this investment is a clear sign of BT’s ambition to grow further” — Philip Jansen, CEO, BT</blockquote><p>The major chunk of this investment will go into accelerating product growth and capabilities. To achieve this, we are aiming to double our engineering team by the end of 2021. We’re actively looking out for rockstar engineers to achieve higher milestones than this, innovate and solve some complex problems in the world of Cyber Security</p><p>We have multiple vacancies in our Engineering. Check out our <a href="https://www.linkedin.com/company/safesecurity-inc/jobs/">LinkedIn</a> Page for the latest job opportunities. If you still don’t find a match, feel free to email us at <a href="/service/mailto:ta@safe.security">ta@safe.security</a> (if you mention that you’re coming through the Medium blog post, we might have some advantages for you as well, ssh! 🤭)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*EAVfODZWdB30agFE.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b54d5cb1498d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/safe-engineering/announcing-our-33mn-funding-lead-by-british-telecom-bt-b54d5cb1498d">Announcing our $33mn funding lead by British Telecom (BT)</a> was originally published in <a href="https://medium.com/safe-engineering">SAFE Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[16 VS Code Extensions for 10X developer experience]]></title>
            <link>https://medium.com/safe-engineering/16-vs-code-extensions-for-10x-developer-experience-e8b9015c33a3?source=rss-18ffad87ea2c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8b9015c33a3</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[vscode-extension]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[developer-experience]]></category>
            <category><![CDATA[developer-productivity]]></category>
            <dc:creator><![CDATA[Aneesh Relan]]></dc:creator>
            <pubDate>Fri, 22 Jan 2021 12:28:20 GMT</pubDate>
            <atom:updated>2021-01-22T12:28:20.506Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*IPdStNSOC98lSnSSsyNZsA.png" /></figure><p>Yet another VS Code Extensions blog! :P</p><p>Being a major Typescript driven team, the choice for our Code Editor was quite obvious and it had to be VS Code, and with this comes a whole world of amazing extensions to improve developer productivity. So, below we share our experiences with the top 16 VS Code Extensions that our developers use and simply love the developer experience with them. The extensions that enable the code to adhere to our standards and guidelines are mandatory for all our developers and the others (mostly my favourites) are great additions to the developer toolset.</p><ol><li><strong>Bracket Pair Colorizer</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*B7MkV-rLmEd05I5kDdj-uw.png" /></figure><p>This would be one extension common in all blog posts, and has to be, because of the amazing job it does to help developers survive in the bracket mayhem. Although this now has a successor <a href="https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2">Bracket Pair Colorizer 2</a>, haven’t tried it yet, although their FAQ says about increased speed, honestly, this one itself seems to be sufficient</p><p><strong>2. change-case</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*fTowc1bIG3vwnxe7.gif" /></figure><p>This has been an instant help tool at times when I’m lazy to rename variables, especially refactoring old code, with not so good naming. But this actually makes the renaming variables and entities very easy. All you need is select the entity, “Ctrl-Shift-P”, “Change case “, select the required one</p><p>I’ve mostly used to change variables to UPPER_CASE and PascalCase for constants. Once you get used to this, there’s no going back :)</p><p><strong>3. Code Spell Checker</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*Jgjug1DeBFiGJMXZbQV4sw.gif" /></figure><p>This spell checker for code is my most favourite extension and have been pushing everyone to start using this extension. I have been very particular about incorrect spellings and typos (even in comments, some devs hate me for this :P). It has wide support of words and the way it adapts to code, especially camelCase variables. You can also create a workspace dictionary with words that might be specific to your project or organization, or even update your local personal dictionary. I wish this had a simple command-line utility as well to put on our Jenkins server to ensure each Pull Request doesn’t have any typo (if you know an easy way to do this, please reach out)</p><p><strong>4. ESLint</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V-9orMbv6Bv3ndLoQPXKWg.png" /></figure><p>In one of the last post, I shared the ESLint journey that we started with a few months back which introduced this “must-have” extension for the team. This simply picks up the project’s ESLint configuration from the .eslintrc.json, the file that we add and provides real-time feedback with all the squiggly lines just like a traditional compiler and enabling the developer to know of code smells and violations of our guidelines during the coding process.</p><p>Leveraging the automatic fixing, this also adds support to the “Quick Fix” for fixing some trivial lint warnings and issues.</p><p><strong>5. GitLens</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jAkRo6anj8oVLyL8rBhS3g.png" /></figure><p>With multiple Scrum teams working on a big enterprise product and multiple microservices, there are numerous times when we want to see the last change on the file, line leading us to the pull request and the exact JIRA ticket (from the branch name) and GitLens provides a great way to see all this right in VS Code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QaOp1ayXweSwD-8o0EoNbA.png" /></figure><p>You can see an overall git history, line-by-line changes and the timeline of the changes on a particular file. With a few clicks, you can easily go back in time to a specific commit if in case code breaks on a newer commit</p><p><strong>6. Jira and BitBucket (Official)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*cU_BAxr8eQi1UZ2z" /></figure><p>We’ve been on the Atlassian Cloud for almost 2+ years, using JIRA for issue tracking, BitBucket for our code repository and Confluence for documentation. Having all these tools integrate within the developer’s code editor is a blessing. This provides instant access to JIRA issues and Bitbucket Pull Requests in VS Code itself</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WHIY5aEa6Mt-1aGubUSYTA.png" /></figure><p>The best use case for me has been the Pull Request reviewing within VS Code. The default BitBucket Pull Request experience has not been up to the mark, have seen multiple issues almost every month where it shows an incorrect diff. With this extension, all the Pull Requests are within my VS Code and I can carry out the entire review process from the code editor itself. Starting from checking out the branch, to verifying the diff, commenting and creating tasks as code feedback. The commenting system is near perfect, as it supports tagging author and others. Adding links, emojis is kind of lacking, links work if you’re comfy with the Markdown syntax, emojis are not supported, but overall is a great addition</p><p><strong>7. Live Share Extension Pack</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*APgQbNAUjQjOvGu7.png" /></figure><p>Not quite sure if this extension has been out there for quite some time, but it probably gained popularity with the extensive Remote Work culture during the COVID-19 times. I wanted a good code collaboration utility for my Pair Programming sessions with my team and tried Hangouts (our usual meeting option), but the quality of screen sharing was not up to the mark, seeing and reading code on a screen sharing session is difficult. Even the Slack calls weren’t up to the mark and that’s when I found this (had been in “preview” for some time). There are still some initial hiccups in setting it up, installing the extension (specifically the audio extension)</p><p>This extension is actually a combination of 2 extensions: the actual Live Share utility and the <a href="https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare-audio">Live Share Audio</a> which adds audio call capabilities to the sharing session. It makes the pair programming really simple as it provides all VS Code features (even a few extensions support) to all the ones joined on the coding session. The quality of the audio call is near perfect and worked for us even on an unstable or a slow internet connection. This has now become our standard option for a Pair Programming session</p><p><strong>8. Markdown All in One</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKKEnzbmjYbtqRQs0kz99w.png" /></figure><p>All software and code need some documentation, and to have a standard format and version-controlled technical documentation, Markdown is the widely accepted standard across developers. Most of our developer guides and documentation are within the repository itself as .md files, making sure developers keep it updated within their code changes.</p><p>This extension provides nice Preview support and other Markdown syntax support within the code editor to enable devs to work on such docs. I generally use it in a two-column mode with the actual contents on the left, and the live preview on the right</p><p><strong>9. PHP Debug</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2kLmrxWo3ftYGYUYy9ETJg.png" /></figure><p>We started out as a PHP monolith application, back when we started out. Although the majority of the code has been moved to entirely Typescript, there still remains some major portions running on PHP. With legacy code, comes a whole new level of debugging and can never be entirely solved by just adding print or echo statements. For a smooth debugging experience, PHP Debug provides the ease of adding breakpoints and step-by-step execution of our PHP code invocations, helping devs to find out the root cause of the problem efficiently.</p><p><strong>10. PHP Intelephense</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*NjKZXYD5XbHhdzf6" /></figure><p>Like mentioned, we still have some portions of the product coded in legacy PHP, to maintain these portions, ensuring our devs follow a set guideline and code formatting for the PHP code, we use the PHP Intelephense extension. This plays along well with VS Code’s “Format On Save” for PHP files and applies a standard PSR-12 formatting standard. These formatting checks are also validated in our CI checks to ensure these are not missed out by any dev, but mostly all that is needed is this extension be enabled</p><p><strong>11. Prettier</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*yw8usvAWKi2vxog0" /></figure><p>With almost 10M downloads on the VS Code Marketplace (as of writing this post), this is by far the most popular formatting extension. Our entire JS/TS code is formatted with this ultra-awesome plugin. We have modified the configuration slightly to suit our needs (conf below, for anyone to refer). Like the PHP formatting, these are also under our CI checks using the <a href="https://www.npmjs.com/package/prettier">prettier-cli</a>. There is absolutely no match to the speed with which it formats and checks thousands of files</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a8728e58f33538db6ad8dfde793ea00/href">https://medium.com/media/8a8728e58f33538db6ad8dfde793ea00/href</a></iframe><p><strong>12. Project Manager</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*YbeLCRx7yxHtFiXq.png" /></figure><p>This has been the most recent addition to my personal extension arsenal. The major product is as a monorepo in our repository so, like 90% of the time, it’s just a single repository we work with. But with some recent side-projects and products, we’re creating new repositories for better management. Switching b/w these projects and opening multiple VS code windows becomes a pain when you have to do it often. Adding this extension and setting the repository paths as a one-time configuration, this provides a simple one-click switch b/w repositories and projects and without going to the directory and opening up multiple windows</p><p><strong>13. Python</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*M-biGrBZkkMterf9j36Qvw.png" /></figure><p>Python takes care of our Linux and non-windows security assessment scripting domain. To cater to the teams and devs working on this, this extension provides good support of the language within the same code editor experience. This is mainly used for formatting (using the Black formatter) and <a href="https://www.pylint.org/">pylint</a> for the obvious linting issues</p><p><strong>14. Remote SSH</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*wMQbumpXL9x2B3q7" /></figure><p>Having multiple dev and internal servers with just SSH access, it tends to get difficult when you have to do a slight change of code, observe and test changes. To also support remote development, when we need more compute than our laptops, this extension provides an exact replica of the coding environment over an SSH connection. The only drawback is you have to re-install any specific extension on the remote server, but once you do that, you get the same IDE environment like your local machine. With this, our remote development and tweaking code on internal servers has become a breeze!</p><p><strong>15. TODO Highlight</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xJpsaT_hK_3BmCfmgZOMyQ.png" /></figure><p>Probably the simplest extension up here. It does one thing and very efficiently, as the name suggests, highlights any TODO in your code comments to specify some open item and proper attention is given to.</p><p>Clubbing this with the JIRA extension above, it provides a great shortcut to creating a JIRA ticket to track the TODO on your JIRA board which is pretty neat.</p><p>I have seen <a href="https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments">Better Comments</a> doing somewhat the same thing and providing extra colours to other comments, but personally, a big bold highlight is all I need</p><p><strong>16. YAML</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*F1g6wuu3njQ6r3tj" /></figure><p>We have been using YAML files for mainly three purposes quite extensively:</p><ul><li>docker-compose</li><li>ansible automation</li><li>configuration files for Linux assessment scripts</li></ul><p>For just the above, this extension is a great addition to handle such .yml files. For ansible and docker-compose, it also has built-in IntelliSense and code completion which makes scripting these a simple task</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/0*_UECFUB_pXuOYsU1.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8b9015c33a3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/safe-engineering/16-vs-code-extensions-for-10x-developer-experience-e8b9015c33a3">16 VS Code Extensions for 10X developer experience</a> was originally published in <a href="https://medium.com/safe-engineering">SAFE Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starting our code linting journey]]></title>
            <link>https://medium.com/safe-engineering/starting-our-code-linting-journey-5a9af33d5d72?source=rss-18ffad87ea2c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a9af33d5d72</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[code-quality]]></category>
            <category><![CDATA[eslint]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Aneesh Relan]]></dc:creator>
            <pubDate>Wed, 13 Jan 2021 08:49:33 GMT</pubDate>
            <atom:updated>2021-01-13T08:49:33.025Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*5SSSJ-19afcaQ9O87KI_JA.png" /><figcaption>Image courtesy: <a href="https://www.perforce.com/blog/qac/what-lint-code-and-why-linting-important">Perforce</a></figcaption></figure><h3>Background</h3><p>We started our TypeScript journey sometime last year, where it all began (like most projects would go through) with JavaScript as the major language for all our new projects. I will talk about the PHP to NodeJS migration in a dedicated post later. With some good control on JavaScript, it was time to take the next leap i.e. TypeScript and that is what we did with a completely new project. This became SAFE’s first project completely in TypeScript (the front end was React with Typescript too!)</p><p>Fast forward to 2020, all our projects are now pure Typescript and we’ve taken TypeScript as the standard language for every project at Lucideus. With over 15+ micro-services powering some intensive operations in our product. Now, being a start-up, urgent requirements, <em>agile deliveries</em>, lean development is part of our daily charter and there have been numerous times where we had to compromise a bit on the code quality to deliver value. There have also been almost an equal amount of times, where the engineering has pushed back on the requirements to design it well and not incur much of a “Tech Debt”.</p><h3>Introducing ESLint</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*xSRLLMayD1MGsRBHeJEYWA.png" /></figure><p>Looking at the Best practices in the industry for Javascript and Typescript, I found out the concept of “linting” as a standard practice to ensure code quality bringing me to <a href="https://eslint.org/">ESLint</a></p><p>We started to test it out in a few projects and it provided great results, some of them were actual logical flaws that it detected analysing the code flow and the structure. Once we got comfortable with the rules, we wanted to create a shareable configuration that any developer in the team can use just like a plug-n-play library and this was how <a href="https://github.com/lucideus-repo/eslint-config-lucideus">eslint-config-lucideus</a> was introduced</p><h3>eslint-config-lucideus</h3><p>We did our very first, small little open-source contribution by creating a shareable configuration incorporating a wide variety of recommended rules and also including some third party plugins that were really helpful in our use-case, hoping that someone out there will also benefit from a similar configuration (it’s a bit towards the stricter side)</p><p>Included plugins:</p><ul><li><a href="https://github.com/typescript-eslint/typescript-eslint">typescript-eslint</a>: Since we’re a Typescript standard team, this was a must-have to make sure the original eslint rules apply in a Typescript world</li><li><a href="https://www.npmjs.com/package/eslint-plugin-import">eslint-plugin-import</a>: Quite a popular one to enforce some module import styling ( order is a nice opinionated style-guide that we wanted to adopt)</li><li><a href="https://www.npmjs.com/package/eslint-plugin-functional">eslint-plugin-functional</a>: This is one of my personal favourites. We’re trying to adopt a modern functional programming paradigm and move away from the conventional object-oriented methodology and this enforces some good rules and practices of functional programming for our devs ( I’m sure lot of our devs reading this might already be furious at this :P), but it has been a great learning curve for all of us adopting these methodologies and this plugin has helped extensively</li><li><a href="https://www.npmjs.com/package/eslint-plugin-no-param-reassign-allow-reduce">eslint-plugin-no-param-reassign-allow-reduce</a>: This is mainly to strike a balance between what eslint’s <a href="https://eslint.org/docs/rules/no-param-reassign">no-param-reassign</a> wanted and how it didn’t support the usage of the reduce() method. With this small plugin, we could achieve the best of both worlds</li><li><a href="https://www.npmjs.com/package/eslint-plugin-no-secrets">eslint-plugin-no-secrets</a>: Needless to say, being a security company, this was a no-brainer to prevent our developers from (unintentionally) keeping secrets and credentials in the code</li><li><a href="https://www.npmjs.com/package/eslint-plugin-react">eslint-plugin-react</a>: Our frontend application(s) are pure React SPAs and to ensure quality is attained on the view layer itself, this was the go-to addition to our linting suite</li><li><a href="https://www.npmjs.com/package/eslint-plugin-react-redux">eslint-plugin-react-redux</a>: <a href="https://redux.js.org/">Redux</a> has been our state management driver for our React code and making sure we follow standards, is what this plugin ensures (although have identified a few false results, we’re still in the process of evaluating this one)</li><li><a href="https://www.npmjs.com/package/eslint-plugin-security">eslint-plugin-security</a>: Another must-have for a team like ours as it ensures a neat secure coding practice within the JS ecosystem</li><li><a href="https://www.npmjs.com/package/eslint-plugin-sonarjs">eslint-plugin-sonarjs</a>: I, personally treat this plugin like the “icing on the cake”, a final layer of validation to adhere to the industry standard rules by <a href="https://www.sonarqube.org/">SonarQube</a></li></ul><h3>Lint Enforcement</h3><p>We heavily rely on VS Code as our sole IDE for our entire development, and to ensure we keep getting timely lint feedback while the coding process, we mandated the use of the <a href="https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint">ESLint VS Code Extension</a></p><p>We wanted to include this enforcement within our Pull Request Guidelines (implemented using Jenkins) and wanted to ensure we don’t introduce any linting error. However, the challenge here was, we knew that we won’t be clean on the first day of the introduction and that’s what happened, linting reported a truckload of issues as “errors” which we couldn’t fix right away. The only option that we had was to lower these down to “warnings” and keep a tab on the number of warnings and their progress. All teams had strict instructions to keep a watch on the warnings and should not increase much. This was achieved by just overriding the rules in the service’s .eslintrc.json file (example below)</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5ce0d5bc51efb91102701752025cfb4e/href">https://medium.com/media/5ce0d5bc51efb91102701752025cfb4e/href</a></iframe><h3>Progress</h3><p>It’s now been ~4 months since I introduced linting, and we still have a long way to go, grow as developers and improve our code quality</p><figure><img alt="Our current linting progress" src="https://cdn-images-1.medium.com/max/836/1*WO6iWxqoUh-QfpHN-Uf1tg.png" /><figcaption>Our current linting progress</figcaption></figure><p>Combining all our microservices (some 15+ projects), we were at a total of around ~46K (warnings), which was a huge eye-opener for us. During the initial sprints, we reduced by a very small amount. The major drop that you see is where we upgraded our rules, especially removing the <a href="https://eslint.org/docs/rules/no-magic-numbers">no-magic-numbers</a> rule from our list as it had way too much noise and didn’t yield many results. With some constant education to our engineering and internal sessions, we’re now seeing a gradual drop in the warnings and a great increase in our code quality making it uniform, standardised all across.</p><p>Would be great if you want to try out our linting configuration for any of your TS projects. Please feel free to contribute and raise any requests to <a href="https://github.com/lucideus-repo/eslint-config-lucideus">eslint-config-lucideus</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a9af33d5d72" width="1" height="1" alt=""><hr><p><a href="https://medium.com/safe-engineering/starting-our-code-linting-journey-5a9af33d5d72">Starting our code linting journey</a> was originally published in <a href="https://medium.com/safe-engineering">SAFE Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>