<?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: M__</title>
    <description>The latest articles on DEV Community by M__ (@idimaimuna).</description>
    <link>https://dev.to/idimaimuna</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%2F404495%2Ff9df7949-cd9b-4686-9c91-2d83bbc23680.jpg</url>
      <title>DEV Community: M__</title>
      <link>https://dev.to/idimaimuna</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/idimaimuna"/>
    <language>en</language>
    <item>
      <title>My Web Development Achievement.</title>
      <dc:creator>M__</dc:creator>
      <pubDate>Wed, 10 Mar 2021 10:32:06 +0000</pubDate>
      <link>https://dev.to/idimaimuna/my-web-development-achievement-ja</link>
      <guid>https://dev.to/idimaimuna/my-web-development-achievement-ja</guid>
      <description>&lt;p&gt;Early this year, I made a decision that resulted in me having to get back to the drawing board and start over.&lt;br&gt;
I decided to look for a Bootcamp of sorts and follow through till the end and that's when I found &lt;a href="https://www.theodinproject.com/"&gt;The Odin Project&lt;/a&gt; Foundations course and decided to take the leap.&lt;/p&gt;

&lt;p&gt;For the first bit, I have learned some basics of Git and set up &lt;a href="https://github.com/Mwanaidi-M"&gt;my GitHub&lt;/a&gt; then started on HTML and CSS by following &lt;a href="https://www.freecodecamp.org"&gt;FreeCodeCamp's&lt;/a&gt; Responsive Web Design Curriculum and I'm happy to report that I completed it and got my certification.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/3NtY188QaxDdC/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/3NtY188QaxDdC/giphy.gif" alt="happy-face"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While going through the curriculum, I got help from Google, Youtube, and some blogs and it feels good having seen something from start to finish.&lt;/p&gt;

&lt;p&gt;So I would like to share the link to &lt;a href="https://codepen.io/mwanaidi-m"&gt;my CodePen&lt;/a&gt; and would appreciate it if you could take a look at some of the projects I've done and give some feedback or remarks. It would be very helpful.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>codenewbie</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Nevertheless, M__ Coded in 2021!</title>
      <dc:creator>M__</dc:creator>
      <pubDate>Tue, 09 Mar 2021 07:13:07 +0000</pubDate>
      <link>https://dev.to/idimaimuna/nevertheless-m-coded-in-2021-2pf1</link>
      <guid>https://dev.to/idimaimuna/nevertheless-m-coded-in-2021-2pf1</guid>
      <description>&lt;h2&gt;
  
  
  My most recent achievement was:
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Going back to the drawing board to relearn web development all over again because after being in a certain internship, I realized that I did not know as much as I thought and that I had a long way to go.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I'm currently going through &lt;a href="https://www.theodinproject.com/home"&gt;the Odin Project&lt;/a&gt; Foundations course and I'm happy that I'm able to grasp the concepts a bit better than I did before. That's progress.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Advocating for myself looks like:
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Being courageous enough to stand up for myself when I feel like I'm not being heard. It's very important to speak up regardless of the situation because it's worse to be silent especially when a matter affects you or others either on a personal level or not.&lt;/em&gt; &lt;/p&gt;

&lt;h4&gt;
  
  
  The truth will always win.
&lt;/h4&gt;

&lt;h2&gt;
  
  
  My biggest goal is:
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Become a notable developer regardless of my gender or race or religion and stand out by my work and ensure that whatever I do is of help to anyone and everyone. Sharing knowledge is part of growth.&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Have mentors and be a mentor to anyone struggling with tech in one way or another.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My advice for allies to support underrepresented folks who code is:
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Never downplay or undermine any questions a new developer asks. Be willing to help because how you guide them will affect how they learn and eventually how they assist developers who come after them.&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Always check up on them because some of us(like me) are introverted and might be afraid or shy to ask questions because we might be told off. Checking up on us always makes us feel like yes, someone does care and wants to see me succeed as well.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Kindness goes a long way in helping someone.
&lt;/h2&gt;

</description>
      <category>wecoded</category>
    </item>
    <item>
      <title>List Comprehension</title>
      <dc:creator>M__</dc:creator>
      <pubDate>Fri, 31 Jul 2020 11:51:53 +0000</pubDate>
      <link>https://dev.to/idimaimuna/list-comprehension-1c7k</link>
      <guid>https://dev.to/idimaimuna/list-comprehension-1c7k</guid>
      <description>&lt;p&gt;Hi there, I am back with another python concept; &lt;strong&gt;list comprehension&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A list is a collection of related data e.g. a collection of my favorite movies or books. Lists in python can contain numbers, strings, lists etc. In python you can create lists like so:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;my_movies&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;'Gone Girl’, ‘The Current War’, ‘Crazy Rich Asians'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;#if you are creating a list of a number of elements from input given
&lt;/span&gt;&lt;span class="n"&gt;my_movies&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="c1"&gt;#declare an empty list
&lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="c1"&gt;#loop through 3 elements
&lt;/span&gt;    &lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;input&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="c1"&gt;#accept input from the user
&lt;/span&gt;    &lt;span class="n"&gt;my_movies&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#add that input to your list
&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_movies&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#display your complete list
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A &lt;strong&gt;list comprehension&lt;/strong&gt; is a simple way of creating lists in one line instead of writing many lines of code. One thing I noticed is when using list comprehensions most of the time ranges are involved:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;#loops through numbers starting from 1 and stopping at 11(not inclusive)
&lt;/span&gt;&lt;span class="n"&gt;first_ten_numbers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;first_ten_numbers&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="s"&gt;'''
Output:
[1,2,3,4,5,6,7,8,9,10]
'''&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One can also use ‘if- statements’ in list comprehensions to check a certain condition:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;#loops through numbers starting from 1 and stopping at 11(not inclusive) and display only even numbers
&lt;/span&gt;&lt;span class="n"&gt;first_ten_even_numbers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;first_ten_even_numbers&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="s"&gt;'''
Output:
[2,4,6,8,10]
'''&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is also possible to make nested lists:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;#loops through numbers starting from 1 and stopping at 4(not inclusive) 
&lt;/span&gt;&lt;span class="n"&gt;multi_list&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;multi_list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="s"&gt;'''
Output:
[[1, 1], [1, 2], [1, 3], [2, 1], [2, 2], [2, 3], [3, 1], [3, 2], [3, 3]] 
'''&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;List comprehensions can be very helpful when you need to create simple lists and it saves you a couple lines of code so it’s worth noting.&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Have you made such an Application</title>
      <dc:creator>M__</dc:creator>
      <pubDate>Sat, 18 Jul 2020 09:40:35 +0000</pubDate>
      <link>https://dev.to/idimaimuna/have-you-made-such-an-application-1318</link>
      <guid>https://dev.to/idimaimuna/have-you-made-such-an-application-1318</guid>
      <description>&lt;p&gt;Hello there, I hope you're doing well and are keeping safe.&lt;/p&gt;

&lt;p&gt;I'm doing okay as well just occupied with trying to keep on self learning and my internship and I'm back with another question PHP related.&lt;/p&gt;

&lt;p&gt;Has any of you ever made a message board kind of application: you have three columns, first column has a list of messages received from different platforms, second column has the area where you can chat with your client then the third column has profile information of the client you're talking to.&lt;/p&gt;

&lt;p&gt;It's like a crm software but one you made yourself that fully works and can display messages from different platforms like Facebook, Twitter, gmail and such?&lt;/p&gt;

</description>
      <category>php</category>
      <category>programming</category>
    </item>
    <item>
      <title>PHP MVC</title>
      <dc:creator>M__</dc:creator>
      <pubDate>Sat, 11 Jul 2020 17:27:34 +0000</pubDate>
      <link>https://dev.to/idimaimuna/php-mvc-3kbf</link>
      <guid>https://dev.to/idimaimuna/php-mvc-3kbf</guid>
      <description>&lt;p&gt;So I got an internship somewhere and assigned a project that uses php...my knowledge of PHP is very basic to be honest and one of the specifications for implementing the project is using MVC.&lt;/p&gt;

&lt;p&gt;I am familiar with the concept but I have tried researching and writing some code for the login and registration but every time I want to connect it to a database, a sea of errors is what I get.&lt;/p&gt;

&lt;p&gt;I have tried looking for content online that can clearly explain the concept with easily understandable code but nothing so far.&lt;br&gt;
Such are the struggles of a programmer...😞&lt;/p&gt;

</description>
      <category>php</category>
      <category>help</category>
    </item>
  </channel>
</rss>
