<?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 Syeda Ismat Farjana on Medium]]></title>
        <description><![CDATA[Stories by Syeda Ismat Farjana on Medium]]></description>
        <link>https://medium.com/@syedaismatfarjana?source=rss-144a2078d19------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*4brNBVSdH-9yGICJoVlWUQ.jpeg</url>
            <title>Stories by Syeda Ismat Farjana on Medium</title>
            <link>https://medium.com/@syedaismatfarjana?source=rss-144a2078d19------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 11:28:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@syedaismatfarjana/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[Ruby & Js | while]]></title>
            <link>https://syedaismatfarjana.medium.com/ruby-js-while-7bef4c70ba63?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bef4c70ba63</guid>
            <category><![CDATA[while-loop]]></category>
            <category><![CDATA[js]]></category>
            <category><![CDATA[ruby]]></category>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Tue, 02 Mar 2021 20:44:42 GMT</pubDate>
            <atom:updated>2021-03-02T20:44:42.402Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*xIKWZ_IjXIHbac3MXYPL9w.png" /></figure><p>While loop is a control flow statement that executes a block of code while the given condition states true. The moment the condition of running the block turns false the loop stops executing the code. it is normally used when the number of iteration of a program is not fixed. The evaluation of the state is done before the block execution.</p><h4>Ruby syntax</h4><pre>while <em>condition is </em><strong><em>true</em></strong></pre><pre>statement</pre><pre>end</pre><p>As example:</p><pre>x = 5</pre><pre>while x &gt;= 0<br>  puts &quot;I am on line #{x}&quot;<br>  x -=1<br>end</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*Gzn9M13nosErl0XiZ0dxWw.png" /></figure><p>The given condition here is the while loop will execute the statement inside, till the value of x stays more than or equal to 0.</p><p>Each time the loop is running the statement is decrementing the given value of x by 1. The string interpolation is showing the decremented integer value.</p><h4>JS syntax</h4><pre>while (<em>condition is </em><strong><em>true</em></strong>)<br>  statement</pre><p>The while loop in js syntax is quite similar to ruby. Except for the condition is in parenthesis and the statement is in curly braces. While loop will execute the statement till the condition stays true.</p><pre><em>let</em> a = 0;<br><em>let</em> b = 10;</pre><pre>while (a &lt; 5) {</pre><pre><em>console</em>.log(`The value of a and b is: ${a} and ${b} `);<br>  a++;<br>  b += a;</pre><pre>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*1vzqGO7k5sF1mEr9-l3hcA.png" /></figure><p>The value of a is set 0 at the beginning. The condition is to run the statement inside the loop(logging a string with the values of a and b) till the value of a is less than 5.</p><h4>The infinite while loop</h4><pre># x = 0</pre><pre># while x &lt; 5</pre><pre>#   puts &quot;I am on line #{x}&quot;<br>#   x -=1</pre><pre># end</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*limBwE8C5MRg3HyFvrwAGw.png" /></figure><p>While loop will keep running till the value of x is less than 5( in this case). the problem is, The set value of x at the beginning is 0 which is already less than 5. So the code inside the while loop will keep running forever. Unless someone stops it.</p><h4>The do … while loop</h4><p>The do …while loop executes the statement until the given condition evaluates to false. The while condition is evaluated after the statement.</p><p>JS syntax</p><pre>do<br>   statement<br>while (condition);</pre><p>Ruby syntax</p><pre>loop do<br>  statement<br>  break if (condition)<br>end</pre><p>For more reading:</p><p><a href="https://www.javatpoint.com/ruby-while-and-do-while-loop">Ruby while loop, do… while loop</a>,</p><p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/while">JS while loop</a>,</p><p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/do...while">Js do… while loop</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bef4c70ba63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruby & JS | for loop]]></title>
            <link>https://syedaismatfarjana.medium.com/ruby-js-for-loop-c9be32dd58ca?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9be32dd58ca</guid>
            <category><![CDATA[js]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[for-in-loop]]></category>
            <category><![CDATA[for-of-loop]]></category>
            <category><![CDATA[for-loop]]></category>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Sat, 27 Feb 2021 23:57:59 GMT</pubDate>
            <atom:updated>2021-02-28T02:54:51.740Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>for(ruby) || for…of , for…in(js)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*xIKWZ_IjXIHbac3MXYPL9w.png" /></figure><p>We will use one simple array of rainbow colors to see the use of <strong>for</strong> (ruby), <strong>for…of</strong>,<strong> for…in</strong>(js)</p><h4>Ruby</h4><p>For loop iterates over an array. While iterating, it executes a specific block of code once for each one of the expressions of the array.</p><pre><strong>rainbow</strong> = [ &#39;violate&#39;, &#39;indigo&#39;, &#39;blue&#39;, &#39;green&#39;, &#39;yellow&#39;, &#39;orange&#39;, &#39;red&#39;]</pre><pre>for <strong>color</strong> in <strong>rainbow</strong> do</pre><pre>p &quot;One color of the rainbow is: #{<strong>color</strong>}&quot;</pre><pre>end</pre><pre>// --- after running <strong>ruby &lt;file name&gt;</strong> in the terminal, we will see this ---</pre><pre>// &quot;One color of the rainbow is: violate&quot;<br>// &quot;One color of the rainbow is: indigo&quot;<br>// &quot;One color of the rainbow is: blue&quot;<br>// &quot;One color of the rainbow is: green&quot;<br>// &quot;One color of the rainbow is: yellow&quot;<br>// &quot;One color of the rainbow is: orange&quot;<br>// &quot;One color of the rainbow is: red&quot;</pre><h4>JS</h4><p>We need to use <strong>for…of</strong> to have the same result.</p><pre><em>const</em> <strong>rainbow</strong> = [ &quot;violate&quot;, &quot;indigo&quot;, &quot;blue&quot;, &quot;green&quot;, &quot;yellow&quot;, &quot;orange&quot;, &quot;red&quot; ];</pre><pre>for (<em>const</em> <strong>color</strong> of <strong>rainbow</strong>) {</pre><pre><em>console</em>.log(`One color of the rainbow is: ${color}`);</pre><pre>}</pre><pre>// --- after running <strong>node &lt;file name&gt;</strong> in the terminal, we will see this ---</pre><pre>// One color of the rainbow is: violate<br>// One color of the rainbow is: indigo<br>// One color of the rainbow is: blue<br>// One color of the rainbow is: green<br>// One color of the rainbow is: yellow<br>// One color of the rainbow is: orange<br>// One color of the rainbow is: red</pre><p>If we use <strong>for…in</strong> to iterate over the array, we will get something different</p><pre><em>const</em> <strong>rainbow</strong> = [ &quot;violate&quot;, &quot;indigo&quot;, &quot;blue&quot;, &quot;green&quot;, &quot;yellow&quot;, &quot;orange&quot;, &quot;red&quot; ];</pre><pre>for (<em>const</em> color in rainbow) {</pre><pre><em>console</em>.log(color);</pre><pre>}</pre><pre>// --- after running <strong>node &lt;file name&gt;</strong> in the terminal, we will see this ---</pre><pre>// 0<br>// 1<br>// 2<br>// 3<br>// 4<br>// 5<br>// 6</pre><p>For…in loop returns the index of each color, not the color itself.</p><p>The reason is:</p><p>In the case of <strong>Array iteration</strong>, <strong>for…in</strong> only logs the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties">enumerable properties</a> of an iterable object, in arbitrary order. In this case, the enumerable property is the <strong>index</strong> of each color name and the color names are the <strong>values</strong>.</p><p>for…in is used for debugging purposes, to see the properties of an object.</p><p>For instance, to understand <strong>for…in</strong>, we have an Object named rainbow that holds few key-value pairs.</p><pre><em>const</em> rainbow = {</pre><pre>number: 7,</pre><pre>color: [&quot;violate&quot;, &quot;indigo&quot;, &quot;blue&quot;, &quot;green&quot;, &quot;yellow&quot;, &quot;orange&quot;, &quot;red&quot;],</pre><pre>occurance: &quot;after rain&quot;,</pre><pre>position: &quot;opposite the sun&quot;</pre><pre>};</pre><pre>for (<em>const</em> property in rainbow) {</pre><pre><em>console</em>.log(`${property}: ${rainbow[property]}`);</pre><pre>}</pre><pre>// --- after running <strong>node &lt;file name&gt;</strong> in the terminal, we will see this ---</pre><pre>// number: 7<br>// color: violate,indigo,blue,green,yellow,orange,red<br>// occurance: after rain<br>// position: opposite the sun</pre><p>for…in loop iterates over the objects enumerable and logs the property itself(key-value) as a string.</p><p>For more reading</p><p>js: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of">for…of</a>,</p><p>js: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in">for…in</a>,</p><p>ruby: <a href="https://docs.ruby-lang.org/en/2.4.0/syntax/control_expressions_rdoc.html#label-for+Loop">for</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9be32dd58ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruby & JS | if-else statements]]></title>
            <link>https://syedaismatfarjana.medium.com/ruby-js-if-else-statements-4f336fd2e0ed?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f336fd2e0ed</guid>
            <category><![CDATA[if-else]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[js]]></category>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Fri, 26 Feb 2021 21:43:51 GMT</pubDate>
            <atom:updated>2021-02-26T21:45:51.065Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*xIKWZ_IjXIHbac3MXYPL9w.png" /></figure><h4>Day 1: Solving 8 kyu Codewars kata.</h4><p><em>Teams and respective scores are given as two arrays. The challenge is to return the result which team wins or is it a draw! I used an if-else statement for both ruby and js.</em></p><p><strong>Ruby: if-else statement</strong></p><pre>def uefa_euro_2016(<em>team, scores</em>)</pre><pre>team1 = team[0]</pre><pre>team2 = team[1]</pre><pre>if scores[0] == scores[1]</pre><pre>p &quot;At match #{team1} - #{team2}, teams played draw.&quot;</pre><pre>else</pre><pre>scores[0] &gt; scores[1] ? (p &quot;At match #{team1} - #{team2}, #{team1} won!&quot;) : (p &quot;At match #{team1} - #{team2}, #{team2} won!&quot;)</pre><pre>end</pre><pre>end</pre><p><strong>Js: if else if statement</strong></p><pre><em>const</em> uefaEuro2016 = (<em>team</em>, <em>scores</em>) <em>=&gt;</em> {</pre><pre><em>let</em> result;</pre><pre>if (scores[0] &lt; scores[1]) {</pre><pre>result = `At match ${team[0]} - ${team[1]}, ${team[1]} won!`;</pre><pre>} else if (scores[0] &gt; scores[1]) {</pre><pre>result = `At match ${team[0]} - ${team[1]}, ${team[0]} won!`;</pre><pre>} else {</pre><pre>result = `At match ${team[0]} - ${team[1]}, teams played draw.`;</pre><pre>}</pre><pre>return result;</pre><pre>};</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f336fd2e0ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interview Log]]></title>
            <link>https://syedaismatfarjana.medium.com/interview-log-823b075cb05a?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/823b075cb05a</guid>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Fri, 19 Feb 2021 11:28:41 GMT</pubDate>
            <atom:updated>2021-02-19T11:28:41.601Z</atom:updated>
            <content:encoded><![CDATA[<h3>19 February 2021</h3><p>Today I had my very first official interview with an organization. I applied for the Software Developer role of the company. I want to take notes about the interview for my future reference:</p><p>I had scope to know about the company, how they are working now. What to expect about the working day routine. I answered few questions from the Tech lead. Few questions that I remember was these:</p><ol><li>What do I understand by the Business automation system?</li><li>How will I approach error handling from the client&#39;s point of view?</li><li>How will I approach error handling from the developer&#39;s point of view?</li><li>some question related to security</li><li>some question I don&#39;t remember but I remember the answer I gave</li><li>some routine questions: like telling us about the time managing a conflicting situation</li><li>a time when I faced a problem and solved it, how did I solve it</li><li>any experience that was hard for me how did I solve it(not the exact words.. I forgot the question)</li><li>what is my background? what will I bring to the company? what will I have from the company?</li></ol><p>So these were kinda few questions that I faced today.</p><p>The first thing I remember that I did wrong is not asking for elaborating the question that I didn’t understand. Answering randomly is not good at all. I should have asked them to clarify the question to me again.</p><p>After understanding the question, I should answer honestly. People can read attitude. So If I don’t know something, I will accept that and will learn about that if needed. Never ever throw an answer blindly. It is bad.</p><p>I don’t feel like I did enough research about the company prior to the interview. Which is not helpful to me at all. I am understanding it now because I already have faced a situation of how it feels like to not knowing enough to face the question. There is no term named over-prepared, but people can be under-prepared. To avoid that situation, I need to read the words of the circular carefully cause, it includes all the key points for interview questions. Those key points and doing research about the company and the post will help to prepare for the questions.</p><p>Self-confidence is the most important part here. There are few random questions for this that we all know. But it seems very hard to answer those questions. But it is not impossible. Few attempts of writing down the answers will give the scope of reading it and refine it until it sounds great to my own ear.</p><p>Improving the skill to be confident on the interview board is not magic. It requires a long time of practice, observation, and keep working on improving myself based on the observation. It is possible.</p><p><strong>I felt like an empty vase after the Interview. I will improve so this feeling never comes back again.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=823b075cb05a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey]]></title>
            <link>https://syedaismatfarjana.medium.com/my-journey-989e0f03da4b?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/989e0f03da4b</guid>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Sat, 06 Feb 2021 15:47:55 GMT</pubDate>
            <atom:updated>2021-02-07T12:10:36.110Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I want to share my journey, how I am holding a Degree in Medical science and a Degree in Information Technology, where I wasn’t even got the chance to be a science student at first in my school life.</p><p>To make it easy to understand the context, I have to mention some details. In Bangladesh, S.S.C. (Secondary School Certificate), H.S.C. (Higher Secondary Certificate) is the public examination taken by the students of school level and intermediate level. The marking method for these exams is the Grading system(GPA). The significance of the GPA points is, the total GPA of S.S.C. and H.S.C. adds to every Bachelor level admission test score. So the student who gets a GPA of 5 in both S.S.C. and H.S.C. has a better chance to get admitted to a gov. funded Medical college or Engineering college or any other university for doing Bachelor&#39;s degree. It explains why the GPA score is so important.</p><h4>Back in 2003, my S.S.C time frame</h4><p>In our school system when a class of students moves to grade 9, the school authority selects students depending on their final exam score of grade 8. Students cannot choose if they want to study science or arts or commerse. If the student has a good score on most of all the subjects (especially science and math) they get selected for science. And only the science faculty students have the options to choose if they want to stay in science class or want to move to anything else. The Arts and Commerce students do not have the freedom to choose science faculty. So it is very stressful for average level students and they need to work really hard to get selected for the science faculty.</p><p>I was in class 9 and didn’t get selected to attend the science section because of my poor mark on few subjects including social science, religion, literature, and grammar. I was sent to commerce class, it felt like a nightmare. I felt like I could die if I can&#39;t get to study science. Luckily that year my school held a special exam for us to join the science faculty. We got a chance to attend the science class with others just so we can prepare for that exam. It felt strange to join the class. The uncertainty of whether I will pass or not was crushing me inside every day. I remember, I borrowed the science books from a senior of my school so I can prepare for that exam. I studied hard like getting a chance in science was the last thing I want in my life. I passed that exam. The next day I went to my science class with the confidence that I earned my position in the science faculty after failing to get selected by the random exams.</p><h4>My H.S.C time frame</h4><p>H.S.C time frame: I got a GPA of 4.88 on my S.S.C. exam out of a GPA of 5. I wanted to die that day after the devastating result. I know it doesn’t look like that by the GPA score. 4.88 is not that bad. But the problem was, the GPA was being counted strictly to get admission to few remarkable elite colleges. I stayed in the college of my old school cause I wasn’t approved by any of those elite colleges because of my GPA of 4.88. And my parents were devasted for that. I want to mention here, most of the parents in our country feel so proud in the society if their kids get the chance to study in the greatest institutions of the country. I stopped unnecessary talking to everyone. Getting a GPA of 5 on H.S.C. was my do or die target. School to home to private tutors home that was my life. Detached from the world for two years. I got a GPA of 5. Everybody was happy. I remember my Zoology teacher said one day to me that I can do anything I want. I can be anything I want. I just need the right person to guide me. I felt so good that day. With proper appreciation from the right person, people can make anything possible.</p><h4>2007, M.B.B.S time frame</h4><p>I got admitted to one of the gov. funded medical colleges in Bangladesh. My family cried in the joy that day I remember. I was like “ Yeah, I have done everything..everyone is happy. Now I will just chill man.” But my private tutor came and gave me my general math and higher math book, told me to prepare for the engineering admission test. I remember he told me “You will regret one day if you don&#39;t take the engineering admission now. Listen to me, take the exam.” I didn&#39;t want to believe him. I thought I will be a doctor anyway. why will I regret that? So what if I like math, physics, and biology equally! I didn’t take that exam. I started my medical life journey far away from my family for the first time. It was a lot to take in a single shot. Surprisingly I started to feel different in my medical solo life. I started to fail constantly on my professional exams. I passed my first professional exam on the third attempt. I passed my second professional exam on the fourth attempt. I passed my final professional exam on 3rd attempt. I saw all my batchmates pass and start their life as a professional. I got enough time to think about life, relations, realities. It came to my realization that only those who suffer the pain understands it. I had no other options in my hand but to study hard and get out of the medical campus.</p><p>I passed and headed for the new chapter of my life.</p><h4>My new Life: 2015, Time frame of Diploma of I.T.</h4><p>I left the life of Bangladesh behind, started my new life in Australia in 2015 with my new family.</p><p>Having a decent maternal time with the kid, not starting professional life, is not good for a medical person in our perspective. Lots of pressure from the family I left behind. I gained 30kgs of extra weight. I faced body-shaming from people. No people started to take me for granted. I could feel the ignorance of people very strongly. I was in a serious depression for long 3 years. Then I decided, I need to stop waiting for people to grant me. I need to stop trying to please others. That vase approval has a hole in it, will never be filled by anything no matter how hard I try. I can&#39;t make others happy. I have to make myself happy. I cannot live for others. I have to live for myself. I decided to change my old life. All of it.</p><p>In 2017, I started to crochet to control my concentration level. I started gardening to regain my confidence. Started to draw Human portrait to learn to dive deep inside myself.</p><p>In 2018, I started to learn to make animated videos with Udemy to bring myself back to something serious.</p><p>In 2019, I started to learn HTML, CSS following a book. Also, I started to learn Ruby following Udemy.</p><p>I joined <a href="https://en.wikipedia.org/wiki/Codewars"><strong>Codewars</strong></a>. Playing around with the katas, solving problems, thinkings about finding the logic all took me back to my old life when I enjoyed mathematics. All those feelings of the past that I lost over the time I spend in medical started to come back. My kid started to go to the childcare so I started to spend my whole day solving kata( <strong>kata</strong> are real code challenges. These are focused on improving skill and technique by training with programming fundamentals, complex problem solving) with Ruby(programing language). I got upgraded from 8 <strong>kyu</strong>(kyu is the number of degrees away from master level) to 4kyu on Codewars. I saw myself go up on the leaderboard. Gathering all the courage, I started to prepare myself for changing my carrier pathway officially. I started to follow peoples in Tech, Founders, CEOs, on Linkedin, Twitter. I started to read more.</p><p>In 2020, I started my Bootcamp at Coder Academy. Today in 2021, I have finished my Diploma of I.T. and I have got a great opportunity with a great company to do my internship as a Software Engineer.</p><p>Every situation I have faced, every people I have met to come to at this point in my life has taught me something important. I have the whole control of my life to choose who I want to be and I have no regrets. I believe anyone can fulfill their dream if they have their heart and soul in the right place. That’s the core inspiration to guide us every time we get frustrated by the speed we are moving forward or sometimes, not moving at all. We are free to dream big.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oW4_zakz0aUzaIzoCGhzQQ.jpeg" /></figure><p>Being a Software engineer from a Medical practitioner is not an easy job and I knew that. A person needs to be the persistent one to make anything happen. And <strong>It&#39;s ok to feel vulnerable</strong>. As long as I have my <strong>perseverance</strong>, I can reach the right place where I want to be because time doesn’t matter if the path is right.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=989e0f03da4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a new Rails app( not finished yet)]]></title>
            <link>https://syedaismatfarjana.medium.com/creating-a-new-rails-app-not-finished-yet-93eff2e65c43?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/93eff2e65c43</guid>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Mon, 22 Jun 2020 04:49:29 GMT</pubDate>
            <atom:updated>2020-06-22T04:50:17.730Z</atom:updated>
            <content:encoded><![CDATA[<p>starting postgresql :</p><p>`pg_ctl -D /usr/local/var/postgres start`</p><p>After running the rail welcome page:</p><p>4 FEATURES:</p><ol><li>show the list of blogs =&gt; index =&gt; get</li><li>show one selected blogpost =&gt; get</li><li>create blog post =&gt; new / create=&gt; post</li><li>edit/update selected post =&gt; patch/put</li><li>delete selected post =&gt;delete</li></ol><p>rails routes: shows available routes for the application</p><p>STEPS:</p><ol><li>routes.rb : write root &#39;blog#index&#39;</li><li>`resources :blogs` to create all the paths to the required controller method. (get <em>&#39;/blogs&#39;</em>, to: <em>&#39;blogs#index&#39; ) , </em>(get <em>&#39;/blogs/:id&#39;</em>, to: <em>&#39;blogs#show&#39; ), </em>(get <em>&#39;/blogs/:id/edit&#39;</em>, to: <em>&#39;blogs#edit&#39; ), </em>(get <em>&#39;/blogs/new&#39;</em>, to: <em>&#39;blogs#new&#39;), </em>(post <em>&#39;/blogs&#39;</em>, to: <em>&#39;blogs#create&#39; )</em></li><li>controller file =&gt; blogs_controller.rb =&gt;</li></ol><p>def index</p><p>end</p><p>3. view folder =&gt; create blogs folder =&gt; create index.html.erb =&gt; add something to see if it works.</p><p>4. view folder =&gt; blogs folder =&gt; create _form.html.erb</p><p>5. view folder =&gt; blogs folder =&gt; create new.html.erb =&gt; add the form</p><p>6. controller file =&gt; blogs_controller.rb =&gt;</p><p>def new</p><p>end</p><p>7. In terminal: rails g model Blog title:string body:text author:string =&gt; it creates amigtare file</p><p>8. rails db:migrate</p><p>9. controller file =&gt; blogs_controller.rb =&gt;</p><p>def create</p><p>end</p><p>10. controller file = &gt;private method :</p><p>11. controller file =&gt; blogs_controller.rb =&gt;</p><p>def show</p><p>end</p><p>12.. controller file = &gt;private method : set_article</p><p>13. view folder =&gt; blogs folder =&gt; create show.html.erb =&gt; to show that specific post</p><p>14. controller file =&gt; blogs_controller.rb =&gt;</p><p>def edit</p><p>end</p><p>15. view folder =&gt; blogs folder =&gt; create edit.html.erb =&gt; to edit that specific post</p><p>16. controller file =&gt; blogs_controller.rb =&gt;</p><p>def update</p><p>end</p><p>17. controller file =&gt; blogs_controller.rb =&gt;</p><p>def delete</p><p>end</p><p>18. adding comment section.</p><p>19. in controller:</p><p>def show<br> @comment = Comment.new<br>end</p><p>20. rails g model Comment body:text article:references</p><p>21. rails db:migrate</p><p>22. routes =&gt;</p><p>root ‘articles#index’<br>resources : articles do<br> resources :comments<br>end</p><p>23. comments_controller.rb</p><p>24.</p><p>25.</p><p>26. heroku run db:migrate</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93eff2e65c43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fix Footer at The Bottom Of Rails Project]]></title>
            <link>https://syedaismatfarjana.medium.com/fix-footer-at-the-bottom-of-rails-project-81124db743a7?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/81124db743a7</guid>
            <category><![CDATA[responsive-web-design]]></category>
            <category><![CDATA[html-and-css]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[footer]]></category>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Thu, 18 Jun 2020 09:46:33 GMT</pubDate>
            <atom:updated>2020-06-18T13:31:09.557Z</atom:updated>
            <content:encoded><![CDATA[<h3>Fixing Footer at The Bottom Of Website</h3><p>As a novice developer, facing problems while designing a web page is a common thing. One is setting the footer at the bottom of the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aLbBlEv-vaYwTsyJpl_-6A.png" /></figure><p>If the footer part is under the element &lt;footer&gt;&lt;/footer&gt; in the HTML, the following set up in the CSS file will be enough to make a perfect responsive footer for a webpage.</p><pre>footer {<br>  color: rgb(xx, xx, xx);<br>  position: fixed;<br>  bottom: 0;<br>  width: 100%;<br>  font-size: 1rem;<br>  padding: 1vw 1rem;<br>  background-color:lightyellow;</pre><pre>  margin: 0 auto;<br>  font-family: &quot;Lato&quot;, sans-serif;<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81124db743a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interpreter and Compiler]]></title>
            <link>https://syedaismatfarjana.medium.com/interpreter-and-compiler-4a30564dcb6e?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a30564dcb6e</guid>
            <category><![CDATA[compilers]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[interpreters]]></category>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Thu, 04 Jun 2020 11:34:22 GMT</pubDate>
            <atom:updated>2020-06-04T11:34:22.125Z</atom:updated>
            <content:encoded><![CDATA[<p>In the world of computer science to do any kind of work we need to send the command to the computer. If I assume that a member of human species lands on an alien planet with a broken spaceship.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*iY4aPpoQhE1H1jVts8Ln8g.png" /><figcaption>image source: <a href="https://www.pinclipart.com/pindetail/iiTxbm_spaceship-clipart-free-spaceship-clipart-free-download-cartoon/">https://www.pinclipart.com/pindetail/iiTxbm_spaceship-clipart-free-spaceship-clipart-free-download-cartoon/</a></figcaption></figure><p>Now the human needs some help from the alien but no one understands others language. We need a “middle man” helping hand to translate the need of humans to the member of the fellow alien species. If we suppose the alien friend is the computer and the instruction list to fix the spaceship is the command to be passed on, this is where the explanation of “Interpreter” and “compiler” starts. Suppose there are two types of helping robots that can translate the situation in the alien language.</p><p>The interpreter will take the list of notes from humans and will translate it step by step to the alien language and then the alien fellow will do that step. This one step at a time method can keep going until the work is done. And if by any chance human gives a wrong note, there is enough time to correct that by giving the right notes to Interpreter and let the alien do it again until the work is finished happily. Though it is a little slower in the end the space ship is all ready to fly up high again without any bigger harm.</p><p>On the other hand, the Compiler will take the list of notes, will translate the whole at once, and will say bye-bye. All this might be a little more time consuming but after this everything is going to be very fast. After handing over the translated list to the alien friend, he can fix the spaceship so fast without any interruption. Now if the human gave some wrong instruction by mistake that was translated by the compiler, there is no way to stop the alien friend for correcting the problem because the compiler is not there anymore. So in the end, there is a big chance of doing big harm to that spaceship. The process seems faster but there is a big chance of doing it all wrong while working with the compiler.</p><p>This is the exact way the interpreter and the compiler work on the computer.</p><p>Interpreter:</p><p>The Interpreter is a computer program that starts right away, takes its time to run while translating the command, and gives the chance of fixing any mistakes by giving the chance of monitoring the result. The interpreter is always in between the program and the computer. It translates line by line.</p><p>Compiler:</p><p>The compiler is the program that takes an extra long time to prepare the translation all at once but after that, the program will run very quickly. Compiler piles together with the entire program and translates the whole thing all at once.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a30564dcb6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Be Gentle to Thyself]]></title>
            <link>https://syedaismatfarjana.medium.com/be-gentle-to-thyself-e9ff246d44a4?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9ff246d44a4</guid>
            <category><![CDATA[meditate]]></category>
            <category><![CDATA[forgive-thyself]]></category>
            <category><![CDATA[rethink]]></category>
            <category><![CDATA[coder-academy]]></category>
            <category><![CDATA[start-again]]></category>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Thu, 09 Apr 2020 01:15:52 GMT</pubDate>
            <atom:updated>2020-04-09T01:15:52.772Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*s9gOMS-YHEDqxdgO29QTLg.jpeg" /><figcaption><a href="https://cdn.everydaypower.com/wp-content/uploads/2018/02/forgive-and-forget-e1490057669738.jpg">https://cdn.everydaypower.com/wp-content/uploads/2018/02/forgive-and-forget-e1490057669738.jpg</a></figcaption></figure><p>In the process of learning it is very easy to get overwhelmed by the new concept. It becomes harder when the theory is understandable but implementation is not. That means it a possibility that the concept is not clear yet. No matter how more rewinding and listening are going on if the process of implementation of that understanding is not on progress, what does it mean?</p><p>That means it needs more time to get absorbed. Rushing will never gonna help in the process of learning a new concept. While being in a cohort, not being able to be in the same flow with others is stressful, but blaming and pushing thyself to forcefully do that is not the way to get over it.</p><h3>Meditate — Rethink</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*cdtdAip2Sy1cADFOdSEiaw.jpeg" /><figcaption><a href="https://c1.staticflickr.com/4/3074/2695406589_2517d8b0f2.jpg">https://c1.staticflickr.com/4/3074/2695406589_2517d8b0f2.jpg</a></figcaption></figure><p>Take a deep breath.</p><p>Start from the beginning.</p><p>When is the point that started the bad feeling?</p><p>For that, we need to find out where is the last point we understood everything and it felt good.</p><p>After that, forgiving thyself is important. It&#39;s ok to not understanding in the first place. We can move forward only if we are forgiving ourselves.</p><p>Learning pace is different for everyone. Knowing this is easy for everyone though it might be hard to accept for those who are falling behind. Try a different path to learn, analyze a bit more, read a bit more. Write over and over again until it makes sense. Everything makes sense when enough time is given.</p><p>If something is not making any sense that means it needs more time. Taking time is the only solution in this situation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*RQTDDr8_0uG0yzMMC6uzLQ.jpeg" /><figcaption><a href="https://www.lovethispic.com/uploaded_images/221578-Somethings-Take-Time.jpg">https://www.lovethispic.com/uploaded_images/221578-Somethings-Take-Time.jpg</a></figcaption></figure><blockquote>Syeda</blockquote><blockquote>End of week 3</blockquote><blockquote>Coder academy Flextrack Coding Bootcamp</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9ff246d44a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Think]]></title>
            <link>https://syedaismatfarjana.medium.com/think-bfba860cbdaf?source=rss-144a2078d19------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfba860cbdaf</guid>
            <category><![CDATA[thinking-hard-to-be-easy]]></category>
            <category><![CDATA[coder-academy]]></category>
            <dc:creator><![CDATA[Syeda Ismat Farjana]]></dc:creator>
            <pubDate>Wed, 01 Apr 2020 14:06:06 GMT</pubDate>
            <atom:updated>2020-04-01T20:26:19.920Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why I Need To Write Easy?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M_8SDBAJdldy2kEhjRgUVg.png" /><figcaption>image source: <a href="https://mitsloan.mit.edu/ideas-made-to-matter/design-thinking-explained">https://mitsloan.mit.edu/ideas-made-to-matter/design-thinking-explained</a></figcaption></figure><p>Being conscious about having a certain level of knowledge about something can interfere in the thinking process if not being careful.</p><p>While I am learning, and I am aware of how much I know about something, unconsciously I try to solve a problem from that level. It might work just fine but later, it may not be easily understandable. I am not thinking hard enough to be easy enough!</p><p>While solving problems, we need to use our Knowledge as a Physician, like increasing antibiotic doses from a lower grade to high, according to the strength of the foreign microbes inside the body. Surely, using fourth-generation medicine is not right for patient’s health rather it will make drug resistance if it can be properly cured by simply using first-generation medicine. Physicians’ depth of knowledge and clean decision-making together helps to make the right choice.</p><ul><li>A problem can be sought out in thousands of ways.<br>Finding out the level of the problem is the first task, then comes the part of writing it in an easy way. To make the program easy in the first place, the code needs to be written easily.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*XP6gdGupxvClhDEdH3kRxQ.jpeg" /><figcaption>image: <a href="https://www.skipprichard.com/9-behaviors-of-great-problem-solvers/">https://www.skipprichard.com/9-behaviors-of-great-problem-solvers/</a></figcaption></figure><ul><li>Thinking an easy way needs a clear analyzing calm mind to search for the pathway from the problem to the solution. It will take a lot of dedicated time for practice and experience which is worth it.</li></ul><p>Syeda<br>1 April 2020<br>Day 3, week 2 of Coder Academy Bootcamp.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfba860cbdaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>