<?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 Arian Al Lami on Medium]]></title>
        <description><![CDATA[Stories by Arian Al Lami on Medium]]></description>
        <link>https://medium.com/@arianallami?source=rss-4bf10b111392------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*B-pQUgcMxWTFVSltGvb4vg.png</url>
            <title>Stories by Arian Al Lami on Medium</title>
            <link>https://medium.com/@arianallami?source=rss-4bf10b111392------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 09:21:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arianallami/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[Github branch Rules every developer should know]]></title>
            <link>https://arianallami.medium.com/github-branch-rules-every-developer-should-know-28c04f15df4?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/28c04f15df4</guid>
            <category><![CDATA[github-branch]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Wed, 19 Apr 2023 10:21:54 GMT</pubDate>
            <atom:updated>2023-04-19T10:24:33.120Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UZija0ru88q2wrCN" /><figcaption>Photo by <a href="https://unsplash.com/@synkevych?utm_source=medium&amp;utm_medium=referral">Roman Synkevych 🇺🇦</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>When you are working on your own in your git repo its ok but if you are working as part of the team you need to have branch protection otherwise any one will be able to commit directly to your repo, they can commit a virus, or commit delete of all the important code without any checks so please read below to make your repo secure.</p><p>Login to your repo and go to the settings click on the branch from the left hand menu click add rule.</p><p><strong>Require Pull Request: <br></strong>Click on Require pull request that will make sure no one can directly commit to your master branch they would have to raise pull request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0pnWLYW1-Rpu4Qsxua_1RA.png" /><figcaption>Git adding branch rule</figcaption></figure><p>Click on require approval best practice is to have 2 approval it means two developer would have to check the code and approve it before it get merge to master.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QWZ98DRqTfZYwCzf3huqUA.png" /><figcaption>Git require pull request</figcaption></figure><p>But we can’t always rely on humans we make errors so definitely do the below to make your branch more secure, add “Require status checks”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MTQu5ubMOmDhTBBm3sXHBA.png" /><figcaption>Git Require status check</figcaption></figure><p>click on the require status check and in the search bar type the checks you already have in your repo for example Lint, Built-test (unit tests) SonarCloud to check the code coverage. NOTE: the name and types of tests on each repo will be different above image is an example only, search for the names you have set in your package.json scripts section.<br>the above check will run on each Pull request and if the lint fails or test coverage is low or if the build test fails then the engineer would get the error and they would have to work on their branch and fix them.</p><p>Thats all from on this topic please clap or follow, it will encourage me to write more articles. Happy coding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28c04f15df4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Will ChatGPT take software engineer’s jobs?]]></title>
            <link>https://arianallami.medium.com/will-chatgpt-take-software-engineers-jobs-3e79784bf11d?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e79784bf11d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Fri, 27 Jan 2023 19:06:32 GMT</pubDate>
            <atom:updated>2023-01-27T19:10:29.436Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZHmZi_HkpcNLNKL5WhrYyQ.png" /><figcaption>Chat GPT</figcaption></figure><p>These days everyone is freaking out that chatGPT will take everyone’s jobs, let’s look at this in more detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k1rVMNYEWiXeJfqv" /><figcaption>Photo by <a href="https://unsplash.com/@randyfath?utm_source=medium&amp;utm_medium=referral">Randy Fath</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>To explain this I would like you to look at history, when first tractors were made lots of farmers were scared that it will take their jobs but when it was actually launched there were lots of factories that make the tractors it needed lots of labour as well as engineers and mechanics and them admin to look after them so in the end tractors created way more jobs then it took. But yes there was a shift in job market as instead of farmer you would be engineer, labour or mechanic.</p><p>Just because people start sending email they did not stop mailing stuff, intact post office is still very much part of our day today life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CCeOE_mpWGDTjsp3" /><figcaption>Photo by <a href="https://unsplash.com/@rocinante_11?utm_source=medium&amp;utm_medium=referral">Mick Haupt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Also just because TV was launched people did not just stop using radio. radio still exists you can listen to it over the internet or car etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AFoXiCTWOWqefK-M" /><figcaption>Photo by <a href="https://unsplash.com/@samuele_piccarini?utm_source=medium&amp;utm_medium=referral">Samuele Errico Piccarini</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>so considering all that the conclusion is that even thoug chat GPT is storng and it will effect our life we should embrace its powers and use it for good rather than being scared of it. I can’t say if it will take and engineer’s job but i can easy for sure that it will make a software engineer’s job easier.</p><p>and second most important take away from this post is that AI = Artificial Intelligence is here to stay and will change how we do everything else, now would be the good time to do a course in AI to be ready for the new job market.</p><p>If u like this post please don’t forget to follow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e79784bf11d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Life saving concourse commands]]></title>
            <link>https://arianallami.medium.com/life-saving-concourse-commands-4a8f10367e7b?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a8f10367e7b</guid>
            <category><![CDATA[concourse]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Tue, 03 Jan 2023 22:36:49 GMT</pubDate>
            <atom:updated>2023-01-03T22:39:02.839Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="concourse" src="https://cdn-images-1.medium.com/max/1024/1*2BaZzpHBMO2vRT7atxiWUw.png" /></figure><p>If you use concourse to run and update your pipeline you must know the below commands.</p><p>Note: in below commands for the variable i am using &lt;&gt; it means you should delete them and add the correct name that is relavent to your organisation.</p><p>Logout from concourse:</p><pre>fly logout --all</pre><p>Login in concourse:</p><pre>fly -t &lt;target-name&gt; login -n &lt;team-name&gt; -c  &lt;ulr of your concourse&gt;<br><br>OR<br><br>fly -t test-target login -n test-team-name -c https:concourse-test.com</pre><p>above code can also be written like below: because -t is short or target -c is short for the concourse-url and -n is short for the team-name</p><pre>fly --target &lt;target-name&gt; login --team-name &lt;team-name&gt; --concourse-url &lt;concourse url&gt;</pre><p>To see what targets are currently known to fly, run:</p><pre>$ fly targets</pre><p>This will show each target’s name, URL, and when its token expires.</p><p>Delete pipeline:</p><pre>fly --target &lt;target-name&gt; destroy-pipeline --pipeline &lt;name of the pipeline&gt;<br><br>OR<br><br>fly --target test-target destroy-pipeline --pipeline test-pipeline-name</pre><p>Add pipeline:</p><pre>fly -t &lt;target-name&gt; set-pipeline -c &lt;pipeline-file-saved-in-your-repo&gt; -p &lt;pipeline-name&gt;<br><br>OR<br><br>fly -t test-target set-pipeline -c dev/ci/pipeline.yml -p test-pipeline</pre><p>I hope the above are helpful I have used the above lots of time so decide to write about them to help others and and safe keeping too. You can read more about the concourse pipeline and find-out even more commands in <a href="https://concourse-ci.org/fly.html#fly-targets">concourse website</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a8f10367e7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jest 27 Update and error fixes:]]></title>
            <link>https://arianallami.medium.com/jest-update-466f08181d06?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/466f08181d06</guid>
            <category><![CDATA[jest]]></category>
            <category><![CDATA[jest-update-error-fix]]></category>
            <category><![CDATA[jest-update]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 19:16:46 GMT</pubDate>
            <atom:updated>2023-01-12T16:51:57.122Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZccMcuufxXBj8bqV_vF__w.png" /></figure><p>Jest 27 Update and error fixes:</p><p>Couple of days ago I updated the version of Node in our organisation’s react app repo and i had to update the version of jest from 25 to jest 27 and all the hell break loose around 90% of the tests failed it was a night mare so I decided to share with you how i fixed it.</p><p>1st Error: ReferenceError: window is not defined</p><pre>ReferenceError: window is not defined</pre><p>1st Fix: To fix that error you need to add the below code in your jest config file Or if you keep the jest config in your package.json file you can add it there as well.</p><pre> &quot;globals&quot;: {<br>      &quot;window&quot;: {}<br>    }</pre><p>2nd Error:</p><pre> ReferenceError: document is not defined</pre><p>1st option Fix for 2nd error: To fix above error you two options. option 1 is to add the below line on top of test file where test is failing, its just a comment but it fixes the error trust me. problem is if you have ten test files failing you would need to add it ten times.</p><pre>/**<br> * @jest-environment jsdom <br> */</pre><p>2nd option fix for 2nd error: To fix the same error is to add the below in your jest config you add it once and it will work for all the tests that failed due to same error but it might cause some other errors in my case i choose the option 1 and add it on top of all failing files.</p><pre>testEnvironment: &#39;jsdom&#39;</pre><p>3 Eror: TypeError: tabbable.tabbable is not a function</p><pre>Your focus-trap must have at least one container with at least one tabbable node in it at all times</pre><pre>TypeError: tabbable.tabbable is not a function</pre><p>3rd Fix:</p><p>You need to create tabbanle.js file inside your __mocks__ folder, now if you do not have the folder in you IDE look for __test__ folder in my repository I added the folder in the src/server/models/__mocks__/tabbable.js</p><p>And add the below code in that file.</p><pre>// __mocks__/tabbable.js<br><br>const lib = jest.requireActual(&#39;tabbable&#39;);<br><br>const tabbable = {<br>   ...lib,<br>   tabbable: (node, options) =&gt; lib.tabbable(node, { ...options, displayCheck: &#39;none&#39; }),<br>   focusable: (node, options) =&gt; lib.focusable(node, { ...options, displayCheck: &#39;none&#39; }),<br>   isFocusable: (node, options) =&gt; lib.isFocusable(node, { ...options, displayCheck: &#39;none&#39; }),<br>   isTabbable: (node, options) =&gt; lib.isTabbable(node, { ...options, displayCheck: &#39;none&#39; }),<br>};<br><br>module.exports = tabbable;</pre><p>just save the file and run your tests again and the error would have magically disappeared.</p><p>4th Error: <a href="https://lightrun.com/answers/storybookjs-storybook-typeerror-require-is-not-a-function-in-initstoryshots">TypeError: require(…) is not a function</a></p><pre>TypeError: require(...) is not a function </pre><p>I was getting this error in all of the mocks that i added with the require and below is how I fixed it.</p><pre>BEFORE:<br>const inlineReferenceHelpers = require.requireMock(<br>    &#39;../../server/models/helpers/inlineReferenceHelpers&#39;,<br>);<br><br><br>AFTER:<br>import inlineReferenceHelpers from &#39;../../server/models/helpers/inlineReferenceHelpers&#39;;</pre><p>One other error that I saw regarding the dotenv requre is below:</p><pre>Error: <br><br>TypeError: Cannot read property &#39;exports&#39; of undefined<br>require(&#39;dotenv&#39;).config();<br><br><br>Fix: <br>import {} from &#39;dotenv/config&#39;;</pre><p>There you have it, I hope it help you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=466f08181d06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install concourse cli]]></title>
            <link>https://arianallami.medium.com/how-to-install-concourse-cli-64f293498a3?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/64f293498a3</guid>
            <category><![CDATA[concours]]></category>
            <category><![CDATA[install-concourse]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 17:31:53 GMT</pubDate>
            <atom:updated>2022-12-30T17:31:53.022Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cryb7S7mH6jIoqvGDvIQpw.png" /></figure><p>Concourse uses fly as its cli, if you want to update your pipeline, edit or add new pipeline in concourse you would need to install fly.</p><p>The version of the fly in your machine has to match the version of the concourse your organisation is using other wise you will not be able to make any pipeline changes.</p><p>in order to download the concourse version of ur organisation just go to the concourse url of your organisation, at the bottom/footer you will be able to see the version number as well as download link. for example in the image below the concourse version is 6.6.0 now based on your machine click on apple for mac and window or linx.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ulpA-HohZ0wYwD9EyY3O6Q.png" /></figure><p>once you have downloaded the fly. Open the terminal and cd into your download folder.</p><pre>install fly /usr/local/bin</pre><p>now type the below</p><pre>which fly</pre><p>you should see the result like below:</p><pre>/usr/local/bin/fly</pre><p>Now you can check the version of the fly installed in your machine with below cmd</p><pre>fly -v<br>6.6.0</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64f293498a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to update Node version]]></title>
            <link>https://arianallami.medium.com/how-to-update-node-version-c0d592d5f5c2?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0d592d5f5c2</guid>
            <category><![CDATA[node]]></category>
            <category><![CDATA[node-update]]></category>
            <category><![CDATA[node-upgrade]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Thu, 29 Dec 2022 12:44:39 GMT</pubDate>
            <atom:updated>2023-01-09T11:50:40.281Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aq6VkQBD98cmBPlP41CL0Q.png" /></figure><p>Every now and then we have to update the version of Node in your machine and your application repository and following are the generic steps I take to update mine.</p><p>The steps are generic you can use them to update to any x version.</p><p>Check you current node and npm version with below cmd</p><pre>npm -v<br>node -v</pre><p>First of all update your machine. you can download it from the <a href="https://nodejs.org/en/">node website</a></p><p>after the update if you use the same cmds it will should show you different version to update the npm version you use the below cmds</p><pre>npm install -g npm@latest</pre><p>Updating the Repo:</p><p>for example if you are updating from Node 12.10 to Node 14.21 then go to your visual studio code and search for the 12.10 and change all the relevent node version to 14.21, change the npm version too then do</p><p>npm i</p><p>after the npm i use the below cmd to check what dependencies are out of date now</p><pre>npm outdated</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PzACOTpofD_KMRkoyVejfw.png" /></figure><p>in the above image you can see that it is will show you what is the current version of dependency, what is the wanted version and what is the latest version of dependency available.</p><p>now run the below cmd</p><pre>npm update</pre><p>It will run and remove some dependencies, it also works as clean up and it will also update ur dependencies to the wanted version. now id you run the npm outdated again the dependency report would have changed significantly. see below image for reference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VNXr1kka9R77fXlxsUwIYw.png" /></figure><p>Now build and run your application again to make sure the update has not broken any thing commit your changes in your git branch.</p><p>After the initial commit you can check the dependencies that have breaking changes read their release doc and competiability with ur current node version and make changes accordingly.</p><p>happy coding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0d592d5f5c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Webpack 4 to webpack 5 migration]]></title>
            <link>https://arianallami.medium.com/webpack-4-to-webpack-5-migration-9bc683d2bc72?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bc683d2bc72</guid>
            <category><![CDATA[webpack4]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[webpack-5]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 12:59:33 GMT</pubDate>
            <atom:updated>2021-07-04T14:48:38.804Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TsW_WNtJ2NFllF8E" /><figcaption>Photo by <a href="https://unsplash.com/@jstrippa?utm_source=medium&amp;utm_medium=referral">James Harrison</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I am a software engineer and couple of moths ago I was given a task to upgrade the weback from 4 to webpack 5 now this is a major breaking change for your application and I faced lots of problems and decided to share with you my journey of how I resolved them, so with out further ado lets start.</p><p>Install webpack-cli latest</p><p>The file path has changed from, Before:</p><pre><strong>Before: </strong><br>options: {</pre><pre>   name: &#39;fonts/[name]-[hash].[ext]&#39;</pre><pre>}</pre><pre><strong>Now: </strong></pre><pre>generator: {</pre><pre>   filename: &#39;fonts/[name]-[contenthash][ext]&#39;</pre><pre>}</pre><p>Change all the hash to contenthash according to webpack doc it is more efficient.</p><p>If you were using the below remove the “.” from it other wise your assets will be abc..png</p><pre>BEFORE:<br>fonts/[name]-[contenthash].[ext]   <br>NOW: <br>&#39;fonts/[name]-[contenthash][ext]&#39;</pre><p>your output path will change to below:</p><pre>output: {</pre><pre>path: __dirname + &#39;/../../assets&#39;,</pre><pre>assetModuleFilename: &#39;images/[name]-[contenthash][ext]&#39;,</pre><pre>}</pre><p>If you start getting lots of build error like</p><blockquote><strong>“ERROR in ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./node_modules/extract-text-webpack-plugin/dist/loader.js?”</strong></blockquote><p>Got the website of node-sass below and install node-sass version that is compatible with the node version that you are using here is the <a href="https://www.npmjs.com/package/node-sass">link</a></p><p>This is how i resolved the below error</p><blockquote>ReferenceError: process is not defined</blockquote><ol><li>npm i — save-dev process</li><li>delete the node modules folder</li><li>in your webpack config file plugin section add below</li></ol><pre>plugins: [<br>new webpack.ProvidePlugin({<br>    process: &#39;process/browser&#39;,<br>}),</pre><p>Also in the webpack add the alias like below:</p><pre>resolve: {<br>    alias: {<br>        process: &quot;process/browser&quot;<br>    },</pre><p>Now do <strong>npm i</strong> and when you build your application the error will disappear.</p><p>Below is how you can configure the Terser for Webpack 5 as now they have removed the separate module and made it as part of Webpack to the setting will change as below;</p><pre><strong>Before:</strong></pre><pre>minimizer: [<br>        new TerserPlugin({<br>            terserOptions: {<br>                mangle: {<br>                  compress: {},<br>                },<br>            }<br>        })<br>    ]</pre><pre><br><strong>After:</strong></pre><pre>minimizer: [<br>        (compiler) =&gt; {<br>            const TerserPlugin = require(&#39;terser-webpack-plugin&#39;);<br>            new TerserPlugin({<br>              terserOptions: {<br>                    compress: {},<br>                }<br>            }).apply(compiler);<br>        },<br>    ]</pre><p>You can read more about it here <a href="https://webpack.js.org/configuration/optimization/">https://webpack.js.org/configuration/optimization/ </a>and to check the terser option check this url <a href="https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions">https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions</a></p><p>Your babel configuration will change like below:</p><pre><strong>Before:</strong></pre><pre>rules:[{<br>     use: {                    <br>        loader: &#39;babel-loader&#39;                <br>      }}]</pre><pre><strong>After:</strong><br>   rules: [{</pre><pre>    use: {</pre><pre>        loader: &#39;babel-loader&#39;,</pre><pre>        options: {</pre><pre>           presets: [&#39;@babel/preset-env&#39;]</pre><pre>                }</pre><pre>        }</pre><pre>}]</pre><p>If it helped you please give it a clap it will encourage me to write more.</p><p>Also the if you are using the splitChunks to combine your common css and js file that has been modified and become part of webpack to use it modify your webpack config like below.</p><pre><strong>Before:</strong></pre><pre>optimization: {        <br>   splitChunks: {            <br>      chunks: &#39;all&#39;,            <br>      name: &#39;common&#39;,            <br>      minChunks: 2      <br>   },<br>}<br></pre><pre><strong>After:</strong><br>optimization: {<br>   splitChunks: {<br>      chunks: &#39;all&#39;,<br>      minChunks:2,<br>      cacheGroups: {<br>         commons: {<br>            name: &#39;common&#39;<br>         },<br>       },<br>    },<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bc683d2bc72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to date]]></title>
            <link>https://arianallami.medium.com/how-to-date-23674998cdc6?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/23674998cdc6</guid>
            <category><![CDATA[dating-tips]]></category>
            <category><![CDATA[dating-advice]]></category>
            <category><![CDATA[dating]]></category>
            <category><![CDATA[relationships]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Sat, 24 Aug 2019 08:50:37 GMT</pubDate>
            <atom:updated>2019-09-06T16:40:27.824Z</atom:updated>
            <content:encoded><![CDATA[<h3>The ultimate rules of dating.</h3><figure><img alt="What dating is all about" src="https://cdn-images-1.medium.com/max/1024/0*1P8fO8xPA1Djele-" /><figcaption>Photo by <a href="https://unsplash.com/@huyphan2602?utm_source=medium&amp;utm_medium=referral">Huy Phan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So what do you think dating/dating process is, You dress up nice nice perfume, nice restaurant, meet a new person and may be get lucky if thinks go extremely well. You are wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N5HLOIsum-CnKMNG" /><figcaption>Photo by <a href="https://unsplash.com/@stayandroam?utm_source=medium&amp;utm_medium=referral">Gemma Evans</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Yes the above things are part of it but that’s not the point. The point of dating is to find out if that person is worthy enough to become your partner or not.</p><p>Think of it as a job, the world’s most important job. Think about it, if that person becomes your partner you will spending most of your time with time, going movies, going on holidays, sharing your food, in future your room your bed. That is serious stuff, you can just give the post of your partner to just any one who looks good or comes on time on the date. Our company had to hire senior engineer it took them 2 years to find 1 person for a job that he/she can quit any time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_bhooEagqiFdXRyX" /><figcaption>Photo by <a href="https://unsplash.com/@daoud_absml?utm_source=medium&amp;utm_medium=referral">Daoud Abismail</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Dating is interviewing the other person if he is fit for you. You need to know your self well and I have another story that explains the process of having a basic list in finding the person to date<a href="https://medium.com/@arianpopalyar/how-to-find-the-mr-right-perfect-partner-9e0a0b07204d"> click here to read that</a>, but once you are dating you need to have certain questions in you head, which will be the deal breaker for you.</p><p>For example if you love traveling and want to travel the world and the other person is scared of flights. You would have to deal with that every time you travel, then you need to ask your self can you live with that?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wRuOv4JKRlIcRAel" /><figcaption>Photo by <a href="https://unsplash.com/@youxventures?utm_source=medium&amp;utm_medium=referral">You X Ventures</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Or you hate smoking and the other person smokes a lot and have no plan on quitting any time soon or ever. Like in my case I was dating some one from a different culture and everything else was going great so I asked him If his family or may be future partner has to follow certain dress code, and he said not It does not matter whether you wear she wears bikini or hijab its her choice and nothing to do with me. wear whatever the hell she likes. That was the perfect answer for me if he had said I would have to cover or wear certain clothes I would have said bye see you never and block his number. <br> I had a friend who was marring some one and she did not even know if he had college degree or he had finished his school or not and guess what she is getting a divorce now.</p><p>Another friend who is in divorce process and she did love marriage and before and she did not find out much about her partner and she said there were some red flags in beginning that she ignored, as she was blinded by love.</p><p>My advice is to hold off your emotions until you know every thing about the other person.</p><p>Being in a wrong relationship in past will help you in your new relationship as based on your old experience you would know what you want and what you don’t want.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23674998cdc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to find the Mr Right/Perfect Partner]]></title>
            <link>https://arianallami.medium.com/how-to-find-the-mr-right-perfect-partner-9e0a0b07204d?source=rss-4bf10b111392------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e0a0b07204d</guid>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[partners]]></category>
            <category><![CDATA[love]]></category>
            <category><![CDATA[dating]]></category>
            <category><![CDATA[dating-advice]]></category>
            <dc:creator><![CDATA[Arian Al Lami]]></dc:creator>
            <pubDate>Thu, 22 Aug 2019 13:55:23 GMT</pubDate>
            <atom:updated>2019-08-29T09:39:33.993Z</atom:updated>
            <content:encoded><![CDATA[<p>The best tips on how to find your match</p><figure><img alt="Tips to find your match" src="https://cdn-images-1.medium.com/max/1024/0*L-Qe4vrOEfd4ZlA3" /><figcaption>Photo by <a href="https://unsplash.com/@guanfranco?utm_source=medium&amp;utm_medium=referral">Mickel Alexander</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>How to find the Mr Right/Perfect Partner, Or how to know if this is Mr right for me is the question I have asked my self and discussed with my friends many times, I would share with you my experience and learning from it. In order to find your perfect partner you need to know your self very well and you need to know what you want, or what you are actually looking for when you are looking for partner, the recipe would be different for every one but the process is same.</p><p>Let me elaborate on that. You see there is millions/gazillion amount of people living on this earth surely there is some out there for you all you are looking for is that one person. And if you know for sure what you are looking for and say it out loud to universe. Universe will help you find it.</p><p>Most of the time the problem is that we don’t know what we want in our partner we are confused, so when we meet people we get even more confused. We end up in wrong relation ship etc.</p><p>If you want to find your perfect partner I want you to sit down quietly and think about the main 5 or more qualities that you want your partner to have, don’t exceed more then 10 though. I am saying 5 because in my real life example I was looking for 5 qualities in my partner 1.Handsome, 2.Educated (at least Bachelor degree), 3.tall 4. Similar believe. 5.loves me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WZeBWyIltH4YPQ01" /><figcaption>Photo by <a href="https://unsplash.com/@glenncarstenspeters?utm_source=medium&amp;utm_medium=referral">Glenn Carstens-Peters</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I put the love in then end because, only if some passes the first 4 categories I would consider to date them. Now these were the main points for me and I had said to myself we will work on the rest of the stuff. Now every one’s list is different some would say I don’t care about education but he has to be rich. Some one would say I don’t care about looks but he has to love traveling etc. now this game of finding partner has some rules too that are below.</p><p>1. You can’t put a person in your list. But pick the best quality of that person in your list.</p><p>2. Don’t make your list too long, don’t be too fussy</p><p>3. Don’t put vague quality in your list, ie I want him to be nice person. Every one is nice when you first meet them their true colour comes out with time. You need to put quality that you can see</p><p>4. and last but not the least be ready to compromise for some small defects that other person has. You did not mention it in your list so it did not matter to you a lot before, be ready to accept them.</p><p>One more very important mistake that I see specially girls do is that, they date some one and they do not like some thing about that person and it is some thing they can not stand and they say to themselves He/she will change with time, or worse my love will change him/her.</p><p>If some thing bothers you it will always bother you, I you want to change some one to love them you don’t actually love them.</p><p>May be you hate that about them but they actually love that quality.</p><p>Humans hardly change if they don’t want to, you forcing some thing on some is only going to hurt them and in future your relationship. So in short if there is red flags that you don’t like in some one it’s time to move on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6PN9PqYizXPzEDEO" /><figcaption>Photo by <a href="https://unsplash.com/@raulcachophoto?utm_source=medium&amp;utm_medium=referral">Raul Cacho Oses</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Why the list game/ theory works and is effective.</p><p>Because if you have clear list picture in your head of what you want then you know what you are looking for in a person and when you meet thousands of people that Mr right will stand up/ stand out to you from the crowd.</p><p>Knowing what you want always help you in your life weather its about finding your partner or life goal, if you know exactly what you want the chances of you finding is 100% and if you have no idea then you will get hurt and and will hurt a lot of people in process of finding some one.</p><p>For example if you don’t know the direction you will never get the destination you will be lost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n-48obxhwsAdbDm_" /><figcaption>Photo by <a href="https://unsplash.com/@dynamicwang?utm_source=medium&amp;utm_medium=referral">Dynamic Wang</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the end I wish you all the best in finding your Perfect partner.<a href="https://medium.com/@arianpopalyar/how-to-date-23674998cdc6"> Click here to read the the ultimate rules of dating/ how to date to actually find some one.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e0a0b07204d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>