<?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: Mimino11</title>
    <description>The latest articles on DEV Community by Mimino11 (@mohimamimino11).</description>
    <link>https://dev.to/mohimamimino11</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%2F552472%2F34da0f4c-4366-4b5c-afd5-9fa0dedab5a3.png</url>
      <title>DEV Community: Mimino11</title>
      <link>https://dev.to/mohimamimino11</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohimamimino11"/>
    <language>en</language>
    <item>
      <title>A guide to set up OpenGL projects in Debian.</title>
      <dc:creator>Mimino11</dc:creator>
      <pubDate>Sun, 14 May 2023 11:37:30 +0000</pubDate>
      <link>https://dev.to/mohimamimino11/a-guide-to-set-up-opengl-projects-in-debian-2mi7</link>
      <guid>https://dev.to/mohimamimino11/a-guide-to-set-up-opengl-projects-in-debian-2mi7</guid>
      <description>&lt;p&gt;You will find a lot of articles on what OpenGL is &amp;amp; what's the uses of it. So, let's get straight into OpenGL initial setup which is given below step by step:&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 1
&lt;/h4&gt;

&lt;p&gt;installing dependencies:&lt;/p&gt;

&lt;p&gt;Before installing the required libraries, we’ll first have to install a few dependencies. So open your terminal and run the following commands:&lt;/p&gt;

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

sudo apt-get update
sudo apt-get install cmake pkg-config
sudo apt-get install g++ mesa-utils libglu1-mesa-dev freeglut3 freeglut3-dev mesa-common-dev
sudo apt-get install libglew-dev libglfw3-dev libglm-dev
sudo apt-get install libao-dev libmpg123-dev


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
  
  
  Step 2
&lt;/h4&gt;

&lt;p&gt;Installing and setting up the GLFW library:&lt;/p&gt;

&lt;p&gt;Running the below commands would install GLFW in your system:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

sudo nautlius


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The above command will grant you access to editing the root folders as a root administrator. Go to /usr and open the terminal there it should look something like this:&lt;/p&gt;

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

&lt;p&gt;Afterward, run these commands in the terminal:&lt;/p&gt;

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

cd local/lib/
git clone https://github.com/glfw/glfw.git
cd glfw
cmake .
make
sudo make install


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
  
  
  Step 3
&lt;/h4&gt;

&lt;p&gt;Now let's install GLAD library,It is an open-source library that makes use of a web service, allowing us to instruct GLAD as to the version of OpenGL we want to define and load all pertinent OpenGL functions for.&lt;br&gt;
So to install this library, perform the following steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Head on to the GLAD &lt;a href="https://glad.dav1d.de/" rel="noopener noreferrer"&gt;web service&lt;/a&gt;.
2.Set the language to C++ and choose the specification as OpenGL.&lt;/li&gt;
&lt;li&gt;In the API section, select gl version of at least 3.3, make sure the profile is set to Core, and that the Generate a loader option is ticked.
4.Ignore the extensions and click Generate to produce the resulting library files.
5.GLAD, by now, should have provided you a zip file: &lt;code&gt;glad.zip&lt;/code&gt; containing two folders(&lt;code&gt;include&lt;/code&gt; and &lt;code&gt;src&lt;/code&gt;).
6.Copy the folders inside &lt;code&gt;include&lt;/code&gt; (&lt;code&gt;glad&lt;/code&gt; and &lt;code&gt;KHR&lt;/code&gt;) into your include(s) directory: &lt;code&gt;cp -R include/* /usr/include/&lt;/code&gt;
7.Now copy the file &lt;code&gt;glad.c&lt;/code&gt; inside the &lt;code&gt;src&lt;/code&gt; folder to your current working directory.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;
  
  
  Step 4
&lt;/h4&gt;

&lt;p&gt;Now choose your prefered IDE as you’re now done with installing the required libraries. It's time to check that everything was installed correctly using the "Hello Triangle" application, a straightforward triangle rendering tool. The code is available &lt;a href="https://learnopengl.com/code_viewer_gh.php?code=src/1.getting_started/2.1.hello_triangle/hello_triangle.cpp" rel="noopener noreferrer"&gt;here&lt;/a&gt; ; you can copy it and save it as&lt;code&gt;hello_triangle.cpp&lt;/code&gt;&lt;br&gt;
Let’s compile our code &amp;amp; generate an executable &lt;code&gt;a.out&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

g++ hello_triangle.cpp glad.c -ldl -lglfw


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Run &lt;code&gt;./a.out&lt;/code&gt; to see the program work. You should get the output as below:&lt;/p&gt;

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

&lt;p&gt;Your setup for OpenGL is now complete. I hope things went smoothly and you were successful. Read &lt;a href="https://learnopengl.com/Getting-started/Hello-Window" rel="noopener noreferrer"&gt;this&lt;/a&gt; if you want to understand more about the source code you just copied!&lt;/p&gt;

&lt;p&gt;See you then. Until next time! &lt;/p&gt;

</description>
      <category>debian</category>
      <category>opengl</category>
      <category>glut</category>
      <category>linux</category>
    </item>
    <item>
      <title>The Roller-coaster Journey Of Programmer A Newbie………</title>
      <dc:creator>Mimino11</dc:creator>
      <pubDate>Sun, 03 Jan 2021 14:54:41 +0000</pubDate>
      <link>https://dev.to/mohimamimino11/the-roller-coaster-journey-of-programmer-a-newbie-489m</link>
      <guid>https://dev.to/mohimamimino11/the-roller-coaster-journey-of-programmer-a-newbie-489m</guid>
      <description>&lt;p&gt;You might be assuming why I’m calling it in such a way? You could think I’m trying to make you fancy/scared about programming probably. But It’s you who can decide after reading it whole if it’s scary or hard but awesome for you. I’ll tell you why here below:&lt;br&gt;
-First thing first never think for once that coding skills are the only thing you need to be a good programmer. Because Anyone could be a coder but not everyone could be a programmer. A good programmer is someone who’s always curious, patient, and fascinated about their work no matter how hard it is. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You should never mess with mathematics if you want to be a good programmer! Well, it’s a lie that some people say, but not fully a lie. Let me explain, whether you need to know math or not it depends on the role you want to fulfill with your programming skills for example if you want to be a web developer you won’t be required knowing math for it. But when you want to be a Software Developer you’ll probably require to know a lot of math.&lt;/li&gt;
&lt;li&gt;Always work on your logical thinking and problem-solving skills if you want to be a Good Programmer. &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;How My Journey Started In programming:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Back in October 2019, When I first got to know about programming. I was suggested to start with freecodecamp.org. Which I think to this date is a pretty awesome platform to start learning to code. I literally practiced until applied visual design without really knowing and acknowledging what to do with what I’m learning or practicing. One dumb thing I used to do is I used to take notes of whole codes of HTML, CSS and whatever was in the code. I used to think I have to memorize every line of code to be a programmer. I really don’t know why in the era of the internet anyone would do such a stupid act seriously!? Well, it’s because I was a noob and I didn’t know that there were millions of resources on the internet for helping me If I ever get stuck while working on a project. But everybody makes mistakes while starting something new.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Facing Imposter Syndrome:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Soon My motivation went drastically down it is when I was recommended a video on Clever Programmer’s YT channel. Where Qazi talks about what is the power of the Python language. So Yeah after watching that I really started learning python from Clever Programmer's 11hr course on YT. (This one is a really good course for the basics of Python).  But after this for several months I was stuck in tutorial purgatory without even realizing it. I thought I’m learning so many things I’m definitely going to get a job soon. One day probably in August I read an article in &lt;a href="https://www.freecodecamp.org/news/escape-tutorial-purgatory/"&gt;https://www.freecodecamp.org/news/escape-tutorial-purgatory/&lt;/a&gt;.  about tutorial purgatory. So, I decided to build a simple project in python and that’s when the big Usain bolt hits me hard on my face. I couldn’t write a single line without the help of a tutorial. At this point, I lost my motivation much more than before and I didn’t write a single line of code for 2 weeks. My burning desire for working on tech was still there, So I decided to explore more options. I actually spent a good amount of time exploring game development, for some days I even thought maybe I could be a good game developer. It was the little demon in my mind misguiding me which I understood after when I hated learning the art, graphics, and music part of game development. Trust me if you don’t have a great passion for gaming learning even Unity ( &lt;a href="https://unity.com/"&gt;https://unity.com/&lt;/a&gt; ) could be a really hard thing. After that, I was on hibernation for a month. This feeling of not knowing what to do with your life really sucks!&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Getting A New Start:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Then a time came where I got to know about Software Development, AI, and Web Development. Artificial Intelligence fascinated me the most. But to be an AI engineer I must need a bachelor’s and Master’s degree in a relevant field. As there was no chance to have a bachelor’s degree in AI.  I’ve chosen Computer Science as my major.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;My Thoughts About Programming:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Programming Just doesn’t teach you how to code. It’s that magic wand that will teach you how to self-taught yourself. It’s been shown on various statistics and Glassdoor and Stackoverflow that in bigger companies the number of self-taught developers has been rising in recent years. Programmers know about time-management better than average people. Programming will always increase your logical thinking and problem-solving ability. &lt;br&gt;
In the end, the best quality of Programmers I think is they know how to unlearn the thing called “Giving Up”.    &lt;/p&gt;

</description>
      <category>programming</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
