<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Farhan Adil</title>
    <description>The latest articles on DEV Community by Farhan Adil (@farhan_adil1).</description>
    <link>https://dev.to/farhan_adil1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3721929%2F50d423f8-e21c-4693-8732-dac891762dac.png</url>
      <title>DEV Community: Farhan Adil</title>
      <link>https://dev.to/farhan_adil1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/farhan_adil1"/>
    <language>en</language>
    <item>
      <title>How I Built a High-Performance, Treadmill Calorie Core Suite (Vanilla JS)</title>
      <dc:creator>Farhan Adil</dc:creator>
      <pubDate>Thu, 09 Jul 2026 10:23:15 +0000</pubDate>
      <link>https://dev.to/farhan_adil1/how-i-built-a-high-performance-treadmill-calorie-core-suite-vanilla-js-aad</link>
      <guid>https://dev.to/farhan_adil1/how-i-built-a-high-performance-treadmill-calorie-core-suite-vanilla-js-aad</guid>
      <description>&lt;p&gt;Frustrated by slow, bloated online calculators covered in dozens of flashing display ads, I decided to build a high-performance alternative from scratch: &lt;a href="https://treadmillcalc.com/" rel="noopener noreferrer"&gt;TreadmillCalc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To keep the platform instantly interactive, I intentionally bypassed heavy frameworks and coded the calculation suite entirely in &lt;strong&gt;Vanilla JavaScript&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;The engine uses the exact &lt;strong&gt;American College of Sports Medicine (ACSM)&lt;/strong&gt; metabolic equations to compute raw, scientifically backed calorie expenditure based on weight, speed, duration, and gradient incline.&lt;/p&gt;

&lt;p&gt;Here is the core logic handling the real-time calculations:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
javascript
function calculateTreadmillKcal(weightKg, speedMph, inclinePercent, durationMins) {
    const speedMpm = speedMph * 26.8; 
    const grade = inclinePercent / 100; 
    let vo2 = 0;

    if (speedMph &amp;lt;= 3.7) {
        vo2 = (0.1 * speedMpm) + (1.8 * speedMpm * grade) + 3.5; // Walking
    } else {
        vo2 = (0.2 * speedMpm) + (0.9 * speedMpm * grade) + 3.5; // Running
    }

    const kcalPerMin = (vo2 * weightKg) / 200;
    return parseFloat((kcalPerMin * durationMins).toFixed(1));
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>showdev</category>
      <category>performance</category>
    </item>
    <item>
      <title>How I Built a Free Password Strength Checker (No Passwords Ever Leave Your Browser)</title>
      <dc:creator>Farhan Adil</dc:creator>
      <pubDate>Tue, 20 Jan 2026 14:33:00 +0000</pubDate>
      <link>https://dev.to/farhan_adil1/how-i-built-a-free-password-strength-checker-no-passwords-ever-leave-your-browser-2phe</link>
      <guid>https://dev.to/farhan_adil1/how-i-built-a-free-password-strength-checker-no-passwords-ever-leave-your-browser-2phe</guid>
      <description>&lt;p&gt;Weak passwords are still one of the biggest security risks.&lt;br&gt;
As a small experiment, I built a free password strength checker that runs entirely in the browser.&lt;/p&gt;

&lt;p&gt;What makes it different:&lt;/p&gt;

&lt;p&gt;No passwords are stored or sent to any server&lt;/p&gt;

&lt;p&gt;Uses entropy-based checks, not simple rules&lt;/p&gt;

&lt;p&gt;Works offline once loaded&lt;/p&gt;

&lt;p&gt;Mobile and desktop friendly&lt;/p&gt;

&lt;p&gt;I noticed most tools either feel outdated or push signups.&lt;br&gt;
My goal was to keep it simple, fast, and privacy-first.&lt;/p&gt;

&lt;p&gt;👉 Try the tool here:&lt;br&gt;
&lt;a href="https://passwordgiant.com/" rel="noopener noreferrer"&gt;Password Giant Password Strength Checker&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am also adding a password generator with customizable length and character sets.&lt;/p&gt;

&lt;p&gt;If you are a developer or student, feedback is welcome.&lt;br&gt;
Happy to improve it further.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>cybersecurity</category>
      <category>web3</category>
    </item>
  </channel>
</rss>
