<?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 Ackshaey Singh on Medium]]></title>
        <description><![CDATA[Stories by Ackshaey Singh on Medium]]></description>
        <link>https://medium.com/@ackshaey?source=rss-4a3f9b60ea1f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_PDZkAqZgo_YPwi7Lk_z1w.jpeg</url>
            <title>Stories by Ackshaey Singh on Medium</title>
            <link>https://medium.com/@ackshaey?source=rss-4a3f9b60ea1f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 09:07:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ackshaey/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[The 30-Second Hack That Will Speed Up Your Coding More Than Any Framework]]></title>
            <link>https://ackshaey.medium.com/the-30-second-hack-that-will-speed-up-your-coding-more-than-any-framework-93f6e8e277c6?source=rss-4a3f9b60ea1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/93f6e8e277c6</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[macos]]></category>
            <dc:creator><![CDATA[Ackshaey Singh]]></dc:creator>
            <pubDate>Wed, 17 Dec 2025 20:43:56 GMT</pubDate>
            <atom:updated>2025-12-17T20:46:20.699Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*aXUe6uqDVCbBxToi.png" /></figure><p>As software engineers we’re always chasing the next productivity tool. A faster build system. A smarter IDE. A new framework that promises to 10x our output.</p><p>More than anything else, this setting makes more of a tangible difference to my daily coding speed than any tool I’ve adopted over the past decade.</p><h3>Sound familiar?</h3><p>Think about how much time you spend holding down keys:</p><ul><li>Scrolling through terminal output with arrow keys</li><li>Deleting a line with backspace</li><li>Moving through code with hjkl in vim</li><li>Navigating long file paths in the shell</li><li>Holding down arrow keys to select text</li></ul><p>By default, MacOS has conservative key repeat settings — which makes sense because Apple doesn’t tailor MacOS out of the box for keyboard first use. When you hold a key, there’s a 225ms delay before it starts repeating, then it repeats every 30ms. That might not sound slow, but over thousands of operations per day, it adds up.</p><p><strong>I estimate this costs the average terminal-heavy developer 15–20 minutes per day.</strong> That’s scrolling lag. Waiting for the cursor to catch up. The micro-frustration of mashing delete harder because it feels too slow. Over a year? That’s roughly <strong>80 hours of your life spent waiting for keys to repeat.</strong></p><h3>Do this</h3><p>MacOS allows you to set key repeat values below the System Preferences minimums via the command line:</p><pre>defaults write -g InitialKeyRepeat -int 10 # 150ms delay (default: 225ms)<br>defaults write -g KeyRepeat -int 2 # 30ms repeat (already at GUI minimum)</pre><p>Or if you want ludicrous speed:</p><pre>defaults write -g InitialKeyRepeat -int 10<br>defaults write -g KeyRepeat -int 1 # 15ms repeat (2x faster than GUI minimum)</pre><p><strong>Log out and log back in</strong> for changes to take effect.</p><h3>Why This Matters for Developers</h3><p>Terminal scrolling alone is transformative. When you run a test suite or check git logs, you’re not just scrolling-you’re <strong>scanning</strong> for errors, searching for context, navigating to specific lines. With default settings, you’re fighting the UI. With these settings, the terminal keeps pace with your eyes.</p><p>The same applies to:</p><ul><li><strong>Code navigation</strong>: Moving through files in vim/emacs at the speed of thought</li><li><strong>Editing</strong>: Deleting/rewriting code without the frustrating “hurry up” feeling</li><li><strong>Command line</strong>: Fixing typos and navigating bash history instantly</li></ul><h3>Start Conservative</h3><p>I recommend starting with KeyRepeat=2 rather than 1. The difference between 30ms and 15ms is enormous-1 can feel almost too fast if you&#39;re not used to it. Give yourself a day to adjust.</p><p>If you want to go back:</p><pre>defaults delete -g InitialKeyRepeat<br>defaults delete -g KeyRepeat</pre><h3>A Decade Later, Still the Best Hack</h3><p>I’ve switched between dozens of editors, languages, and frameworks. I’ve adopted and abandoned countless productivity tools. But this setting? <strong>I notice within 5 seconds when it’s missing.</strong></p><p>That’s why, after setting up my new MacBook and feeling that familiar sluggishness, I had to write this down.</p><p>YMMV. But if you spend hours in the terminal every day, this is the fastest way to speed up your development workflow. Not a new language. Not a better framework. Just two commands and a logout.</p><p>Try it for a day. I bet you’ll never go back.</p><p><em>Originally published at </em><a href="https://dev.to/ackshaey/the-30-second-hack-that-will-speed-up-your-coding-more-than-any-framework-2men"><em>https://dev.to</em></a><em> on December 17, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93f6e8e277c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Harnessing Client-Side Caching in Rails: The Power of `expires_in`]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://ackshaey.medium.com/harnessing-client-side-caching-in-rails-the-power-of-expires-in-0ca90443880f?source=rss-4a3f9b60ea1f------2"><img src="https://cdn-images-1.medium.com/max/1360/0*O3QFVE90GLWnsZ4D.png" width="1360"></a></p><p class="medium-feed-snippet">In your journey as a software developer, you&#x2019;ll encounter myriad tools and techniques designed to optimize and streamline web applications&#x2026;</p><p class="medium-feed-link"><a href="https://ackshaey.medium.com/harnessing-client-side-caching-in-rails-the-power-of-expires-in-0ca90443880f?source=rss-4a3f9b60ea1f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ackshaey.medium.com/harnessing-client-side-caching-in-rails-the-power-of-expires-in-0ca90443880f?source=rss-4a3f9b60ea1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ca90443880f</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[performance]]></category>
            <dc:creator><![CDATA[Ackshaey Singh]]></dc:creator>
            <pubDate>Thu, 05 Oct 2023 12:29:45 GMT</pubDate>
            <atom:updated>2023-10-05T12:29:45.444Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Feature flags in Rails: How to roll out and manage your features like a pro]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://ackshaey.medium.com/feature-flags-in-rails-how-to-roll-out-and-manage-your-features-like-a-pro-6838edd84c4f?source=rss-4a3f9b60ea1f------2"><img src="https://cdn-images-1.medium.com/max/1200/1*_8nrhsb0PTi7r3kctvls_w.png" width="1200"></a></p><p class="medium-feed-snippet">Feature flagging is a widely adopted technique used in software development that enables developers to turn features or sections of their&#x2026;</p><p class="medium-feed-link"><a href="https://ackshaey.medium.com/feature-flags-in-rails-how-to-roll-out-and-manage-your-features-like-a-pro-6838edd84c4f?source=rss-4a3f9b60ea1f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ackshaey.medium.com/feature-flags-in-rails-how-to-roll-out-and-manage-your-features-like-a-pro-6838edd84c4f?source=rss-4a3f9b60ea1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6838edd84c4f</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[feature-flags]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Ackshaey Singh]]></dc:creator>
            <pubDate>Thu, 06 Apr 2023 14:25:49 GMT</pubDate>
            <atom:updated>2023-04-06T14:25:49.462Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Switching it up: How Tailwind CSS helped me create a dark mode logo in Rails]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://ackshaey.medium.com/switching-it-up-how-tailwind-css-helped-me-create-a-dark-mode-logo-in-rails-99225a9a395a?source=rss-4a3f9b60ea1f------2"><img src="https://cdn-images-1.medium.com/max/1180/1*QbqPItmxd2fxzV2QcCQnsQ.png" width="1180"></a></p><p class="medium-feed-snippet">As someone that still swears by Bootstrap, I recently had the opportunity to try Tailwind CSS. I&#x2019;m currently working on a new Rails 7 app&#x2026;</p><p class="medium-feed-link"><a href="https://ackshaey.medium.com/switching-it-up-how-tailwind-css-helped-me-create-a-dark-mode-logo-in-rails-99225a9a395a?source=rss-4a3f9b60ea1f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ackshaey.medium.com/switching-it-up-how-tailwind-css-helped-me-create-a-dark-mode-logo-in-rails-99225a9a395a?source=rss-4a3f9b60ea1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/99225a9a395a</guid>
            <category><![CDATA[full-stack]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[tailwind-css]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Ackshaey Singh]]></dc:creator>
            <pubDate>Wed, 22 Mar 2023 11:58:20 GMT</pubDate>
            <atom:updated>2023-03-22T11:58:20.798Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Setting up Devise for User Authentication on Rails 7]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://ackshaey.medium.com/setting-devise-for-user-authentication-on-rails-7-26051fa04496?source=rss-4a3f9b60ea1f------2"><img src="https://cdn-images-1.medium.com/max/1200/0*2AwXvJBx5A6zy15M.jpg" width="1200"></a></p><p class="medium-feed-snippet">If you are a frequent user of Ruby on Rails, you know that building authentication and user management systems can be a time-consuming and&#x2026;</p><p class="medium-feed-link"><a href="https://ackshaey.medium.com/setting-devise-for-user-authentication-on-rails-7-26051fa04496?source=rss-4a3f9b60ea1f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ackshaey.medium.com/setting-devise-for-user-authentication-on-rails-7-26051fa04496?source=rss-4a3f9b60ea1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/26051fa04496</guid>
            <category><![CDATA[full-stack]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Ackshaey Singh]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 22:18:17 GMT</pubDate>
            <atom:updated>2023-03-20T22:18:39.530Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[So what exactly are those pesky versions in your package.json]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://ackshaey.medium.com/so-what-exactly-are-those-pesky-versions-in-your-package-json-8c4b09cba5a2?source=rss-4a3f9b60ea1f------2"><img src="https://cdn-images-1.medium.com/max/1992/1*5e_Az7BLEkqnA4tsrLEy-Q.png" width="1992"></a></p><p class="medium-feed-snippet">You may not give it a second thought, but as a software engineer, you come across Semantic Versioning every day. Simply put, it&#x2019;s a way of&#x2026;</p><p class="medium-feed-link"><a href="https://ackshaey.medium.com/so-what-exactly-are-those-pesky-versions-in-your-package-json-8c4b09cba5a2?source=rss-4a3f9b60ea1f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ackshaey.medium.com/so-what-exactly-are-those-pesky-versions-in-your-package-json-8c4b09cba5a2?source=rss-4a3f9b60ea1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c4b09cba5a2</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Ackshaey Singh]]></dc:creator>
            <pubDate>Tue, 14 Mar 2023 21:28:43 GMT</pubDate>
            <atom:updated>2023-03-14T21:28:43.195Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Level up your JavaScript browser logs with these console.log() tips]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://ackshaey.medium.com/level-up-your-javascript-browser-logs-with-these-console-log-tips-415e1043b0ad?source=rss-4a3f9b60ea1f------2"><img src="https://cdn-images-1.medium.com/max/1366/1*vbPBD2piB4b_CDaFbvQe8Q.png" width="1366"></a></p><p class="medium-feed-snippet">I consider myself a backend software engineer&#x200A;&#x2014;&#x200A;and as any backend engineer would attest, a large part of our life is spent monitoring&#x2026;</p><p class="medium-feed-link"><a href="https://ackshaey.medium.com/level-up-your-javascript-browser-logs-with-these-console-log-tips-415e1043b0ad?source=rss-4a3f9b60ea1f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ackshaey.medium.com/level-up-your-javascript-browser-logs-with-these-console-log-tips-415e1043b0ad?source=rss-4a3f9b60ea1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/415e1043b0ad</guid>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ackshaey Singh]]></dc:creator>
            <pubDate>Mon, 02 Nov 2020 19:33:40 GMT</pubDate>
            <atom:updated>2020-12-04T20:28:06.460Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[MacOS vs Linux — the cp command will trip you up!]]></title>
            <link>https://ackshaey.medium.com/macos-vs-linux-the-cp-command-will-trip-you-up-835c0b608339?source=rss-4a3f9b60ea1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/835c0b608339</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Ackshaey Singh]]></dc:creator>
            <pubDate>Fri, 23 Oct 2020 22:38:17 GMT</pubDate>
            <atom:updated>2020-10-23T22:38:17.829Z</atom:updated>
            <content:encoded><![CDATA[<h3>MacOS vs Linux — the cp command will trip you up!</h3><figure><img alt="BSD and Linux mascots" src="https://cdn-images-1.medium.com/max/960/1*2CYX4cVhMC61oEkiN4jmow@2x.png" /></figure><p>While building <a href="http://www.firecode.io/">Firecode.io</a> I was recently confronted with more than a hundred failing unit tests when running the test suite locally on my MacOS machine, rather than in a Linux Docker container the platform is configured to run tests in.</p><figure><img alt="Screen showing test failures" src="https://cdn-images-1.medium.com/max/1024/1*foNUu-qutFgUnu38eUjgXw.png" /></figure><p>I use a MacBook Pro for software development, primarily because the BSD based MacOS provides a development experience that’s <em>very similar </em>to other Linux distros. All of my most frequently used navigation commands — cd, cp, mv, mkdir, touch, etc...work with 1:1 parity across both flavors of operating systems, or at least that’s what I thought. As I discovered after spending a good hour debugging these failures, there’s a subtle difference between the <a href="https://en.wikipedia.org/wiki/Berkeley_Software_Distribution">BSD</a> and <a href="https://www.gnu.org/home.en.html">GNU</a> implementations of the cp -R command, which I got hit with when running my tests on different environments.</p><p>Here’s the difference, illustrated with an example run in both MacOS and Linux:</p><pre><em># Creates &quot;source_directory&quot; in the current working directory</em><br><strong>$ mkdir source_directory</strong></pre><pre><em># Creates 2 new empty files within &quot;source_directory&quot;</em><br><strong>$ touch source_directory/{file1,file2}</strong></pre><pre><em># Creates &quot;destination_directory&quot; in the current working directory</em><br><strong>$ mkdir destination_directory</strong></pre><pre><em># Intended to copy the contents of &quot;source_directory&quot; to &quot;destination_directory&quot;, hence the trailing slashes</em><br><strong>$ cp -R source_directory/ destination_directory/</strong></pre><pre><em># Lists the contents of &quot;</em>destination_directory&quot;<br><strong>$ ls destination_directory</strong></pre><p>So what would you expect to be printed with ls? Turns out the Linux GNU implementation of cp copies the source_directory <strong>directory</strong> to destination_directory, whereas on BSD MacOS the contents are unpacked and copied, as I’d expected it to behave on both environments:</p><h4>GNU (Linux):</h4><pre>$ ls destination_directory<br><strong>source_directory</strong></pre><h4>BSD (MacOS):</h4><pre>$ ls destination_directory<strong><br>file1 file2</strong></pre><p>The trailing slash is significant in BSD, whereas the GNU implementation treats both source_directory/ and source_directory the same. The workaround, thankfully, is really simple — append a period when you intend for the contents to be copied and you’ll see the same behavior on both BSD and GNU : cp -R source_directory/. destination_directory/.</p><p>I hope this tidbit helps you write better cross environment code on MacOS and helps you save some time debugging unexpected results.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=835c0b608339" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>