<?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>Forem: Muhammad Iqbal</title>
    <description>The latest articles on Forem by Muhammad Iqbal (@itsiqbal).</description>
    <link>https://forem.com/itsiqbal</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%2F332238%2F331b5fd2-241c-41db-8d7e-60232daca69c.jpeg</url>
      <title>Forem: Muhammad Iqbal</title>
      <link>https://forem.com/itsiqbal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/itsiqbal"/>
    <language>en</language>
    <item>
      <title>Stop Nitpicking: Simplifying Code Reviews for Greater Impact</title>
      <dc:creator>Muhammad Iqbal</dc:creator>
      <pubDate>Tue, 27 Feb 2024 12:44:26 +0000</pubDate>
      <link>https://forem.com/itsiqbal/stop-nitpicking-simplifying-code-reviews-for-greater-impact-2jbk</link>
      <guid>https://forem.com/itsiqbal/stop-nitpicking-simplifying-code-reviews-for-greater-impact-2jbk</guid>
      <description>&lt;p&gt;Stop nitpicking in code reviews because its bad for reviewer as well for reviewee. &lt;br&gt;
What is nitpicking ?. it is focusing on minor issue in code rather than addressing more significant concerns. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Common examples of nitpicking.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pointing out issues with spacing, code alignment and indentation.&lt;/li&gt;
&lt;li&gt;Pointing out variable names that could use appropriate word.&lt;/li&gt;
&lt;li&gt;Asking to simplify condition or minor logic simplification.&lt;/li&gt;
&lt;li&gt;Flagging issues related to use the extra white space and line breaks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thorough code reviews are necessary but extra nitpicking can be ineffective. It may frustrate the developer whose code being reviewed and it can divert attention and could introduce more critical issues in codebase e.g Logic errors, security vulnerabilities, or architectural concerns.&lt;/p&gt;

&lt;p&gt;Code reviews should be balance between addressing important issues that impact codebase quality and providing constructive feedback on minor details.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PS:&lt;/strong&gt; Share your thoughts on this topic.&lt;/p&gt;

</description>
      <category>code</category>
      <category>codereview</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Install JMeter on Mac (Apple Silicon M1,M2,M3... processor)</title>
      <dc:creator>Muhammad Iqbal</dc:creator>
      <pubDate>Wed, 06 Dec 2023 05:17:12 +0000</pubDate>
      <link>https://forem.com/itsiqbal/install-jmeter-on-mac-apple-silicon-m1m2m3-processor-43k5</link>
      <guid>https://forem.com/itsiqbal/install-jmeter-on-mac-apple-silicon-m1m2m3-processor-43k5</guid>
      <description>&lt;h2&gt;
  
  
  Intro
&lt;/h2&gt;

&lt;p&gt;Apache JMeter is a free, open-source software designed to test performance both on static and dynamic resources, Web dynamic applications.&lt;br&gt;
It can be used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load types. JMeter is widely used for load testing, stress testing, and analyzing the performance of web services.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites for Installing JMeter:
&lt;/h2&gt;

&lt;p&gt;Java Runtime Environment (JRE): Install Java 8 or later. Verify Java installation with &lt;code&gt;java -version&lt;/code&gt; in the terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install Apache JMeter
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;brew install jmeter

uname -r # =&amp;gt; 23.1.0

uname -m # =&amp;gt; arm64

brew install corretto
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Run JMeter
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# =&amp;gt; successful launch on an M1
JAVA_HOME=/Library/Java/JavaVirtualMachines/amazon-corretto-21.jdk/Contents/Home/ exec /opt/homebrew/Cellar/jmeter/5.6.2/libexec/bin/jmeter
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Happy Testing 😄
&lt;/h4&gt;

</description>
      <category>testing</category>
      <category>jmeter</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Run Node.js app with ES6 features</title>
      <dc:creator>Muhammad Iqbal</dc:creator>
      <pubDate>Fri, 14 May 2021 21:43:55 +0000</pubDate>
      <link>https://forem.com/itsiqbal/run-node-js-app-with-es6-features-59o3</link>
      <guid>https://forem.com/itsiqbal/run-node-js-app-with-es6-features-59o3</guid>
      <description>&lt;p&gt;In this article, we will learn how to use ES6 syntax to write your &lt;strong&gt;Node Server&lt;/strong&gt; in few simple steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing babel as dev dependencies in the project
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Babel is a toolchain that is mainly used to convert ECMAScript 2015+&lt;br&gt;
code into a backward-compatible version of JavaScript in current and&lt;br&gt;
older browsers or environments. Here are the main things Babel can do&lt;br&gt;
for you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Transform syntax&lt;/li&gt;
&lt;li&gt;  Polyfill features that are missing in your target environment (through a third-party polyfill such as
&lt;a href="https://github.com/zloirock/core-js" rel="noopener noreferrer"&gt;core-js&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;  Source code transformations (codemods)&lt;/li&gt;
&lt;li&gt;  And more! (check out these &lt;a href="https://babeljs.io/videos.html" rel="noopener noreferrer"&gt;videos&lt;/a&gt; for inspiration)&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Installation with npm&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install --save-dev @babel/core @babel/node @babel/preset-env
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Installation with yarn&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn add @babel/core @babel/node @babel/preset-env -D
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;After successful installations of dev-dependencies create a file named &lt;strong&gt;.babelrc&lt;/strong&gt; like this. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.ibb.co%2FSXNjpYV%2FScreenshot-2021-05-15-at-2-23-46-AM.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.ibb.co%2FSXNjpYV%2FScreenshot-2021-05-15-at-2-23-46-AM.png" alt=".babelrc-file"&gt;&lt;/a&gt;&lt;br&gt;
and paste the following code in it and save the .babelrc file.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "presets":  ["@babel/preset-env"]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Running the ES6 Code
&lt;/h2&gt;

&lt;p&gt;Now you can run your node.js project with ES6 features by running the following command.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn babel-node index.js
or
npx babel-node index.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;That is it for this short article. &lt;/p&gt;

&lt;p&gt;I am writing this first time please forgive me for my mistakes. I hope you guys find it informative.&lt;/p&gt;

</description>
      <category>node</category>
      <category>es6</category>
      <category>babel</category>
      <category>babelnode</category>
    </item>
  </channel>
</rss>
