<?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: Dharmender Kumar</title>
    <description>The latest articles on DEV Community by Dharmender Kumar (@dharm_bhardwaj_0001).</description>
    <link>https://dev.to/dharm_bhardwaj_0001</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3150467%2F797c4d9d-4834-4415-a57e-d17979ae6552.jpg</url>
      <title>DEV Community: Dharmender Kumar</title>
      <link>https://dev.to/dharm_bhardwaj_0001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dharm_bhardwaj_0001"/>
    <language>en</language>
    <item>
      <title>No More Sneaky Uploads : How I Made My Node.js App Virus-Free🛡️🦠</title>
      <dc:creator>Dharmender Kumar</dc:creator>
      <pubDate>Sun, 15 Jun 2025 12:48:13 +0000</pubDate>
      <link>https://dev.to/dharm_bhardwaj_0001/no-more-sneaky-uploads-how-i-made-my-nodejs-app-virus-free-1bbf</link>
      <guid>https://dev.to/dharm_bhardwaj_0001/no-more-sneaky-uploads-how-i-made-my-nodejs-app-virus-free-1bbf</guid>
      <description>&lt;p&gt;So, I’m working on An app, and today it hit me like: What if someone tries to sneak in a virus through a file upload?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frogvrvacuijdukprbu3z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frogvrvacuijdukprbu3z.jpg" alt="Image description" width="620" height="548"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But then I found this awesome tool called ClamAV, and its command-line sidekick clamscan, which is like a hero for keeping your app safe from malicious files. Also it's super-easy to integrate in Node.js project.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Figured Out
&lt;/h2&gt;

&lt;p&gt;ClamAV is a free, open-source antivirus engine that scans files for viruses, trojans, and other nasty stuff. Think of it as the bouncer at your app’s file upload gate, checking IDs and kicking out troublemakers.&lt;strong&gt;(same like security guard of your college😁)&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  😎Quick Setup Guide-
&lt;/h2&gt;

&lt;p&gt;1). &lt;code&gt;npm i clamscan&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;2). How to use it in your code-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const NodeClam = require('clamscan');

(async () =&amp;gt; {
  const clamscan = await new NodeClam().init();
  const { isInfected, viruses } = await clamscan.isInfected('/path/to/your/file');

  if (isInfected) {
    console.log(`🚨 Uh-oh, infected file! Found: ${viruses}`);
    // Toss the file or block the upload
  } else {
    console.log('🎉 File’s all good!');
  }
})();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;that's it . this simple code block can prevent malicious files from being uploaded by users in database&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4azps11pxg85sqrx2r33.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4azps11pxg85sqrx2r33.jpeg" alt="Image description" width="260" height="194"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Hope this helps you,&lt;br&gt;
Let’s build safe and secure apps.&lt;/p&gt;

&lt;p&gt;-Dharm&lt;/p&gt;

</description>
      <category>security</category>
      <category>node</category>
      <category>backend</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to Find Full-Stack Projects That Get You Hired</title>
      <dc:creator>Dharmender Kumar</dc:creator>
      <pubDate>Wed, 28 May 2025 13:29:56 +0000</pubDate>
      <link>https://dev.to/dharm_bhardwaj_0001/how-to-find-full-stack-projects-that-get-you-hired-2744</link>
      <guid>https://dev.to/dharm_bhardwaj_0001/how-to-find-full-stack-projects-that-get-you-hired-2744</guid>
      <description>&lt;p&gt;if your portfolio screams “I built another Todo app,” you’re blending into a sea of clones faster than a TikTok dance trend. Don’t worry—I’m here to help you stand out, not become another NPC in the developer crowd&lt;/p&gt;

&lt;p&gt;Let’s talk about how to pick unique full-stack projects that make hiring managers sit up, take notice, and maybe even spill their coffee.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 1: Don’t Build What Everyone Else Is Building&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;You know the ones—those tired, predictable apps that every tutorial and bootcamp churns out like a fast-food chain. Building these won’t make you stand out; they’ll make you that developer who thought another weather app was a personality trait. Here are some common culprits to avoid:&lt;/p&gt;

&lt;p&gt;1).&lt;strong&gt;Todo Apps:&lt;/strong&gt; The darling of every “Learn React in 30 Days” course. Unless your Todo app predicts your tasks using AI or syncs with your fridge to remind you to buy milk, skip it.&lt;br&gt;
2).&lt;strong&gt;Weather Apps:&lt;/strong&gt; Fetching an API and displaying “It’s sunny!” doesn’t scream innovation. Everyone and their dog has built one.&lt;br&gt;
3).&lt;strong&gt;E-commerce Clones:&lt;/strong&gt; Another Amazon knockoff with a cart that barely works? Hard pass.&lt;br&gt;
4).&lt;strong&gt;Note-Taking Apps:&lt;/strong&gt; Unless it’s a note-taking app that adds notes based on recording audio.&lt;br&gt;
5).&lt;strong&gt;Portfolio Websites&lt;/strong&gt; (That Only Show Other Portfolio Websites): Meta, yes. Impressive? No.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 2: The Smart Way to Find Projects That Impress&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The goal is to build projects that are in demand, align with your skills, and show off your full-stack prowess without overwhelming you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1).Scout Freelancing Platforms Like a Pro&lt;/strong&gt;&lt;br&gt;
Head to freelancing sites like Upwork, Freelancer, or Toptal (or even niche ones like PeoplePerHour for smaller gigs). These platforms are goldmines for understanding what clients actually want. Filter projects by your tech stack—say, MERN (MongoDB, Express.js, React, Node.js) or Django + PostgreSQL—and start taking notes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2). Make a Demand-Driven Project List&lt;/strong&gt;&lt;br&gt;
Scroll through the job postings and compile a list of the most commonly requested project types. For example, you might see:&lt;br&gt;
&lt;strong&gt;a.&lt;/strong&gt; Custom CRM systems for small businesses&lt;br&gt;
&lt;strong&gt;b.&lt;/strong&gt; E-learning platforms with user progress tracking&lt;br&gt;
&lt;strong&gt;c.&lt;/strong&gt; Appointment scheduling apps with calendar integrations&lt;br&gt;
&lt;strong&gt;d.&lt;/strong&gt; Inventory management tools for retail&lt;br&gt;
&lt;strong&gt;e.&lt;/strong&gt; Community forums with real-time chat&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rank these by demand (how often they pop up)&lt;/strong&gt;. This gives you a sense of what’s hot in the market. For instance, if you see 50 posts for CRMs and only 5 for weather apps, you know where to focus.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3). Filter by Complexity (Don’t Bite Off More Than You Can Code)&lt;/strong&gt;&lt;br&gt;
Now, sort your list by complexity based on your current skill level. Be honest—don’t try to build a full-blown SaaS platform if you’re still shaky on API authentication. Categorize projects into:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;a.&lt;/strong&gt; Beginner-Friendly: Simple apps like a task tracker with basic CRUD (Create, Read, Update, Delete) functionality.&lt;br&gt;
&lt;strong&gt;b.&lt;/strong&gt; Intermediate: Projects with multiple features, like a booking system with payment integration (e.g., Stripe).&lt;br&gt;
&lt;strong&gt;c.&lt;/strong&gt; Advanced: Complex systems like a multi-user collaboration tool with real-time updates using WebSockets.&lt;/p&gt;

&lt;p&gt;Start with one or two projects from the beginner or intermediate tier, depending on your confidence. For example, if CRMs are in high demand, you could build a lightweight CRM for freelancers to track clients and invoices—functional, marketable, and not another Todo app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4). Build, Polish, Deploy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pick your top project and get coding. Make sure it’s:&lt;br&gt;
&lt;strong&gt;a.&lt;/strong&gt; Functional: It should work flawlessly, no bugs allowed.&lt;br&gt;
&lt;strong&gt;b.&lt;/strong&gt; Polished: A clean UI with a sprinkle of CSS magic (Tailwind CSS is your friend).&lt;br&gt;
&lt;strong&gt;c.&lt;/strong&gt; Deployed: Host it on platforms like Vercel, Netlify, or Heroku so recruiters can see it live.&lt;br&gt;
&lt;strong&gt;d.&lt;/strong&gt; Documented: A README that explains your tech choices and how to run it locally shows you mean business.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 3: Why This Strategy Is a Win-Win&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Here’s the beauty of this approach: you’re not just building for your portfolio—you’re building marketable projects. If hiring managers aren’t impressed (and trust me, they will be), you can pivot and sell these projects on freelancing platforms to clients who need them. That CRM you built? A small business might pay good money for it. That scheduling app? A local gym could be your first client. You’re not just coding for clout; you’re coding for cash.&lt;/p&gt;

&lt;p&gt;Plus, by aligning your projects with real-world demand, you’re showing recruiters you understand the market. You’re not just a coder—you’re a problem-solver who knows what businesses need. That’s the kind of developer who gets hired.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now go forth and code something awesome. The job market’s waiting, and you’re about to make it your playground.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;made with love by&lt;br&gt;
dharm&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Why Are Crypto's Buy and Sell Prices So Confusing?</title>
      <dc:creator>Dharmender Kumar</dc:creator>
      <pubDate>Mon, 19 May 2025 05:26:17 +0000</pubDate>
      <link>https://dev.to/dharm_bhardwaj_0001/why-are-cryptos-buy-and-sell-prices-so-confusing-4coa</link>
      <guid>https://dev.to/dharm_bhardwaj_0001/why-are-cryptos-buy-and-sell-prices-so-confusing-4coa</guid>
      <description>&lt;p&gt;&lt;strong&gt;You&lt;/strong&gt;: Bitcoin's at $103,500?? I'm about to SPEND my entire life savings! ( in case it goes To the moon! 🚀😏 )&lt;br&gt;
&lt;strong&gt;Coinbase&lt;/strong&gt;:💼 Sure thing, champ. But it's $104,500.&lt;br&gt;
&lt;strong&gt;You&lt;/strong&gt;: Wait—what? That's not the price I saw??&lt;br&gt;
&lt;strong&gt;Coinbase&lt;/strong&gt;:😎 That’s the buy price, my dude.&lt;br&gt;
&lt;strong&gt;You&lt;/strong&gt;: (panicking): Fine, then I’ll sell some of BTC instead!&lt;br&gt;
&lt;strong&gt;Coinbase&lt;/strong&gt;: 😏 Cool cool… we'll give you $101,950.&lt;br&gt;
&lt;strong&gt;You&lt;/strong&gt;: Wha—so y’all just... robbing me with math??&lt;br&gt;
&lt;strong&gt;Coinbase&lt;/strong&gt;: Not Really!📈💸 Welcome to the bid-ask spread. It’s like a cover charge to get wrecked.&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s This Spread Nonsense?
&lt;/h2&gt;

&lt;p&gt;In simple terms, the &lt;strong&gt;spread&lt;/strong&gt; is the difference between what you pay to buy Bitcoin (&lt;strong&gt;the ask price&lt;/strong&gt;) and what you get when you sell it (&lt;strong&gt;the bid price&lt;/strong&gt;). On Coinbase, when Bitcoin’s chilling at $103,500, the buy price is $104,500, and the sell price is $101,950. That $2,550 gap? That’s the spread, and it’s how Coinbase keeps the lights on.&lt;br&gt;
Think of Coinbase like a pawn shop for crypto. You bring in your old Bitcoin to sell, and they lowball you. Want to buy some shiny new BTC? They jack up the price. It’s not personal—it’s just business.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does the Spread Exist?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Here’s the deal&lt;/strong&gt;: Crypto exchanges aren’t running a charity. They’ve got servers to maintain, hackers to fend off, and probably a fancy office with a ping-pong table. The spread is their profit margin, but there’s more to it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Volatility Is Crypto’s Middle Name&lt;/strong&gt;
Bitcoin’s price can swing $5,000 in an hour (and has—remember those 2021 flash crashes?). Exchanges like Coinbase widen the spread to protect themselves from getting rekt if the price tanks mid-transaction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Liquidity Isn’t Always Lit&lt;/strong&gt;
The spread depends on how many people are buying and selling. If Coinbase’s order book is thin (fewer buyers or sellers), the spread gets chonkier. It’s like trying to sell a rare Pokémon card at 3 a.m.—good luck getting a fair price.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fees, Fees, and More Fees&lt;/strong&gt;
Coinbase tacks on transaction fees, but the spread also covers their risk of holding Bitcoin while they match buyers and sellers. It’s like paying extra for a concert ticket from a scalper because they’re taking the risk of getting stuck with it.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How to Outsmart the Spread
&lt;/h2&gt;

&lt;p&gt;1). &lt;strong&gt;Use Limit Orders&lt;/strong&gt;: Instead of buying at the market price, set a limit order to buy at a specific price. It’s like haggling at a flea market—you might get a better deal if you’re patient.&lt;br&gt;
2). &lt;strong&gt;Trade on Low-Volatility Days&lt;/strong&gt;: When Bitcoin’s price is stable, spreads tend to shrink. Avoid trading during Elon Musk tweetstorms.&lt;br&gt;
3). &lt;strong&gt;Check Other Exchanges&lt;/strong&gt;: Binance, Kraken, or even DEXs might have tighter spreads. Shop around like you’re hunting for Black Friday deals.&lt;br&gt;
4). &lt;strong&gt;HODL, Don’t Trade&lt;/strong&gt;: If you’re just gonna buy and hold, the spread hurts less over time. Bitcoin’s up 10x since 2020—$2,550 is pocket change in the long run.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F31gp8llgnqge73new5ll.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F31gp8llgnqge73new5ll.webp" alt="Image description" width="700" height="708"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope , it clears your Doubts about Spread&lt;/p&gt;

&lt;p&gt;love u all,&lt;br&gt;
Dharm&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>cryptocurrency</category>
      <category>bitcoin</category>
      <category>coinbase</category>
    </item>
    <item>
      <title>Cursor Terminates Student Discount in India: The Good The Bad and The Ugly</title>
      <dc:creator>Dharmender Kumar</dc:creator>
      <pubDate>Sun, 11 May 2025 15:42:08 +0000</pubDate>
      <link>https://dev.to/dharm_bhardwaj_0001/cursor-terminates-student-discount-in-india-the-good-the-bad-and-the-ugly-4cc1</link>
      <guid>https://dev.to/dharm_bhardwaj_0001/cursor-terminates-student-discount-in-india-the-good-the-bad-and-the-ugly-4cc1</guid>
      <description>&lt;p&gt;Before Starting , Picture this :)- You're a Tier 3 college student in India 🥲 running on 2 hours of sleep, 4 cups of chai, and sheer delusion. Suddenly, Cursor AI drops a free Pro plan for students.&lt;br&gt;
GPT-4o? 500 fast requests?&lt;br&gt;
Bro, take my student ID, my Aadhar, my soul — whatever you need. 😭💻&lt;/p&gt;

&lt;p&gt;But just when you and Cursor were becoming besties...&lt;br&gt;
BAM! They yank the student discount in India.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;BUT WHY....?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;A few legends thought,&lt;br&gt;
😎 Why get a CS degree when I can sell fake student accounts and get rich?"&lt;br&gt;
And they did. 😤💸&lt;/p&gt;

&lt;p&gt;Cursor’s kind-hearted “Free Pro for Students” offer turned into an underground economy faster than you can say Photoshop. People were whipping up fake college IDs, selling accounts, and basically speedrunning the downfall of a good thing.&lt;br&gt;
So what did Cursor do?&lt;br&gt;
Removed India from the list of student discount. &lt;/p&gt;

&lt;p&gt;Legit students: Bro, what did we do?☹️&lt;br&gt;
Cursor: Blame the Jeet(just an imaginary name) who sold 69 fake accounts on X or Telegram or Whatsapp😤.&lt;/p&gt;

&lt;p&gt;The student plan was meant to help real students with valid emails/IDs via SheerID. But once it got flooded with fakes, Cursor had two options:&lt;/p&gt;

&lt;p&gt;1). Go broke 💸&lt;/p&gt;

&lt;p&gt;2). Hit CTRL + ALT + DELETE on India’s student discount.&lt;br&gt;
They chose survival....🫠&lt;/p&gt;

&lt;p&gt;The only bad thing that happened was &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Legit Students Got Wrecked&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Tons of real students used Cursor to code like pros.&lt;br&gt;
Hackathons? ✅&lt;br&gt;
College projects? ✅&lt;br&gt;
AI-powered debugging at 3AM? ✅&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;But every coin 🪙 has 2 sides&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Yes, losing Cursor Pro for Indian students hurts—but maybe, just maybe, it’s a blessing in disguise.&lt;/p&gt;

&lt;p&gt;Now, students might-&lt;/p&gt;

&lt;p&gt;1).Focus more on learning the core concepts, instead of over-relying on AI to autocomplete their homework.&lt;/p&gt;

&lt;p&gt;2).Build a deeper understanding of how code works, rather than what an LLM thinks might work.&lt;/p&gt;

&lt;p&gt;3).Turn frustration into fuel—and possibly build something even better, homegrown and accessible.&lt;/p&gt;

&lt;h2&gt;
  
  
  some thoughts
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Trust is fragile. Abuse it, and everyone pays the price.&lt;/strong&gt;&lt;br&gt;
An entire generation of devs just got a front-row seat to how ethics aren't optional in tech.&lt;br&gt;
Not the lesson we asked for—but one we clearly needed. 👀&lt;/p&gt;

&lt;p&gt;love you&lt;br&gt;
Dharm&lt;/p&gt;

</description>
      <category>cursor</category>
      <category>beginners</category>
      <category>javascript</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
