<?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: Crazy Codigo</title>
    <description>The latest articles on DEV Community by Crazy Codigo (@crazycodigo).</description>
    <link>https://dev.to/crazycodigo</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%2F765277%2Fd4e8ae33-1b82-435d-b4bc-ce3c6e65252e.jpg</url>
      <title>DEV Community: Crazy Codigo</title>
      <link>https://dev.to/crazycodigo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/crazycodigo"/>
    <language>en</language>
    <item>
      <title>Why Do Programmers Need Math?</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Fri, 19 Aug 2022 16:56:05 +0000</pubDate>
      <link>https://dev.to/crazycodigo/why-do-programmers-need-math-2ln0</link>
      <guid>https://dev.to/crazycodigo/why-do-programmers-need-math-2ln0</guid>
      <description>&lt;h2&gt;
  
  
  By Annesha Mukhopadhyay
&lt;/h2&gt;

&lt;p&gt;“Does programming require math?” is a question a lot of us have while starting out with programming. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PM7Oqw8F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x5ocpcxy5l23u0bswvgf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PM7Oqw8F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x5ocpcxy5l23u0bswvgf.png" alt="Math in programming" width="880" height="587"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And to answer simply: Yes. &lt;/p&gt;

&lt;p&gt;Most of programming does require a basic understanding of mathematics. &lt;/p&gt;

&lt;p&gt;However, you won’t inherently be bad at it just because you weren’t the best at math in high school. If you are intrigued and want to know more, read on as I dive into the various applications of this mysterious subject in programming.&lt;/p&gt;

&lt;h2&gt;
  
  
  What kind of math is important for programming
&lt;/h2&gt;

&lt;p&gt;You don’t need to be very good at pen and paper math to excel as a programmer. It’s far more necessary to understand the concept of mathematics than to master how to solve a mathematical problem. &lt;/p&gt;

&lt;p&gt;More often than not, you will use a library or a built in function that implements your algorithm or equation for you and your knowledge of math just needs to help you understand and develop it. &lt;/p&gt;

&lt;p&gt;Take a look at the different branches of math and how they find a place in the world of programming.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Linear Algebra
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6QlOhBm9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k87exc6xqal7d4ctnelg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6QlOhBm9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k87exc6xqal7d4ctnelg.png" alt="Linear Algebra in coding" width="400" height="300"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Linear algebra provides concepts that are crucial to many areas of computer science, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;graphics&lt;/li&gt;
&lt;li&gt;image processing &lt;/li&gt;
&lt;li&gt;cryptography &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/crazycodigo/ml-starter-pack-a-roadmap-1leh"&gt;machine learning&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;computer vision &lt;/li&gt;
&lt;li&gt;optimization &lt;/li&gt;
&lt;li&gt;graph algorithms &lt;/li&gt;
&lt;li&gt;quantum computation &lt;/li&gt;
&lt;li&gt;computational biology
&lt;/li&gt;
&lt;li&gt;information retrieval &lt;/li&gt;
&lt;li&gt;web search &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So, a basic understanding of mathematics will help you in the long run.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Calculus
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--j8lPWNBi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ndg9huo25ugh68aeu082.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--j8lPWNBi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ndg9huo25ugh68aeu082.png" alt="calculus programming" width="775" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Broadly speaking, calculus is the study of continuous change. &lt;/p&gt;

&lt;p&gt;So, anything that changes in a continuous way will involve calculus. To optimize a machine learning algorithm, you’ll need to use multivariate calculus. You might also use calculus in simulation-based programs when objects have to interact with each other based on the laws of physics.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Statistics
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6eDZhVYC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/91e37phxgzkkbmzoxyuf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6eDZhVYC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/91e37phxgzkkbmzoxyuf.png" alt="Stats in coding" width="750" height="523"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Statistics is another branch of math employed in a computer science degree. It utilizes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;quantified models&lt;/li&gt;
&lt;li&gt;synopses&lt;/li&gt;
&lt;li&gt;representations &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It uses these for a given collection of actual studies or experimental data. &lt;/p&gt;

&lt;p&gt;It also studies methodologies for obtaining, reviewing, evaluating, and forming conclusions from available data.&lt;/p&gt;

&lt;h2&gt;
  
  
  To Wrap it Up
&lt;/h2&gt;

&lt;p&gt;Your understanding of mathematics won’t define your entire programming journey. But knowing the basic concepts will certainly make it a tad bit easier.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QHPqGBdR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ebtjjk8kuujna7gbgouj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QHPqGBdR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ebtjjk8kuujna7gbgouj.png" alt="algorithms" width="750" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We have a few math geniuses in the house (including myself, hehe). I admit that we probably cannot do high level math but we know enough to figure out great algorithms. This knowledge eventually help in creating algorithms that have less time complexity and work a lot faster. &lt;/p&gt;

&lt;p&gt;If you ever want to get in touch with us, or get your math homework done from Shivpreet, you can join the &lt;a href="https://discord.gg/nyHHW5nmVp"&gt;Crazy Codigo Discord Community&lt;/a&gt; and tag him. &lt;/p&gt;

&lt;p&gt;That's all for this one. Cya!&lt;/p&gt;

&lt;p&gt;~ Mijo&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>cpp</category>
      <category>python</category>
      <category>programming</category>
    </item>
    <item>
      <title>What The Hell is COW?</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Sun, 14 Aug 2022 16:28:27 +0000</pubDate>
      <link>https://dev.to/crazycodigo/what-the-hell-is-cow-47c</link>
      <guid>https://dev.to/crazycodigo/what-the-hell-is-cow-47c</guid>
      <description>&lt;h3&gt;
  
  
  By Jayanti Goswami
&lt;/h3&gt;

&lt;p&gt;Some of you might have seen our poster for Crazy COW. Sounds kind of amusing, does it not?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ttR4dxP5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fpm3uzsrdlal06bpuih1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ttR4dxP5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fpm3uzsrdlal06bpuih1.png" alt="Crazy COW competitive coding" width="880" height="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well, COW stands for Coder of the Week. &lt;/p&gt;

&lt;p&gt;It is a new contest for all of you guys who might be interested in competitive coding. This weekly contest will be held on our &lt;a href="https://discord.gg/nyHHW5nmVp"&gt;Discord server&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Read on to find out more details.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Rules of the Contest
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Everyone participating has to join a voice channel at a specific time on Friday.&lt;/em&gt; The time will be mentioned on our Discord server and may change by an hour or so every week.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--c7tY_Dsz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/prooo4gy8y9pa3o5d8nc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--c7tY_Dsz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/prooo4gy8y9pa3o5d8nc.png" alt="Discord vc" width="309" height="94"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;The question will be posted in contest alerts.&lt;/em&gt; You get one hour to solve it independently. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Y_65kmOP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dcopvh4i7c648vdqx00j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y_65kmOP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dcopvh4i7c648vdqx00j.png" alt="Contest alerts" width="880" height="427"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;There is no specific language.&lt;/em&gt; All languages allowed by the site that the question is from are accepted by us. So, solve it in whichever language you are most comfortable with. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Po5Doprf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tzaqjvpn9bo6rl8movyz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Po5Doprf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tzaqjvpn9bo6rl8movyz.png" alt="Competitive programming languages" width="611" height="402"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;At the end, one winner will be chosen. The criteria for winning in order of preference is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;All test cases passed.&lt;/li&gt;
&lt;li&gt;Most test cases passed.&lt;/li&gt;
&lt;li&gt;Least time taken.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This winner will be crowned &lt;strong&gt;Crazy COW&lt;/strong&gt;!&lt;/p&gt;

&lt;h2&gt;
  
  
  The Perks that Crazy COW gets
&lt;/h2&gt;

&lt;p&gt;The Crazy COW gets three huge perks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Their name will be displayed above everyone else until the next competition. &lt;/li&gt;
&lt;li&gt;They get a shiny Crazy COW badge that they can show off on any social media platform :)&lt;/li&gt;
&lt;li&gt;They get to choose the question for the next week's competition and crown their successor!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Q-2DynPQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mk1piw3u7vn3pq1ccmpf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Q-2DynPQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mk1piw3u7vn3pq1ccmpf.png" alt="Crown Crazy COW" width="300" height="168"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to practice
&lt;/h2&gt;

&lt;p&gt;If you really wanna win but are in desperate need of practice, we have you covered. Every day, except Friday, a question will be posted on the contest alerts and you get 12 hours to solve it and discuss with others. &lt;/p&gt;

&lt;p&gt;So, don't worry about being out of touch. Just practice with us. &lt;/p&gt;

&lt;p&gt;And if you are not sure about how to get started, just take a look at &lt;a href="https://dev.to/crazycodigo/a-beginners-guide-to-competitive-coding-1009"&gt;Sam's blog&lt;/a&gt;. It is sure to help.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;If you are not in our Discord server yet, what are you waiting for? &lt;a href="https://www.youtube.com/watch?v=_nNw08y1RkM"&gt;Join us&lt;/a&gt;, participate, and become the Crazy COW! &lt;/p&gt;

&lt;p&gt;It is the coolest title of all time. Sources? Trust me bro. &lt;/p&gt;

&lt;p&gt;First competition: 19 August, 2022&lt;br&gt;
Cya there!&lt;/p&gt;

&lt;p&gt;~ J&lt;/p&gt;

</description>
      <category>computerscience</category>
      <category>codenewbie</category>
      <category>cpp</category>
      <category>java</category>
    </item>
    <item>
      <title>A Beginner's Guide to Competitive Coding</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Fri, 12 Aug 2022 14:39:00 +0000</pubDate>
      <link>https://dev.to/crazycodigo/a-beginners-guide-to-competitive-coding-1009</link>
      <guid>https://dev.to/crazycodigo/a-beginners-guide-to-competitive-coding-1009</guid>
      <description>&lt;h3&gt;
  
  
  By Samrat Chakraborty
&lt;/h3&gt;

&lt;p&gt;Competitive programming teaches the art of breaking a problem into small pieces and making working solutions for them. Besides, for development one needs to learn a whole new language or framework (JS, CSS, Django etc.).&lt;/p&gt;

&lt;p&gt;One can get started into competitive programming with basic languages taught in school like C++, JAVA, and Python.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started:
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1) Learn a Programming Language :
&lt;/h3&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%2F8xw0t05j9rs6i1w1nkmj.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%2F8xw0t05j9rs6i1w1nkmj.png" alt="Programing languages for Competitive Programming"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Some of the most used languages for Competitive Programming are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;C++ &lt;/li&gt;
&lt;li&gt;Java &lt;/li&gt;
&lt;li&gt;Python &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Although Python is simple and easy to learn, it is a relatively slow language. In fact, it is not even allowed in a few competitions. &lt;/p&gt;

&lt;p&gt;Java is preferred by some people but its codes are longer to write. Also, you may get TLE(Time Limit Exceeded) in some cases due to being slow on the time limit side.&lt;/p&gt;

&lt;p&gt;C++ is fastest among Python and Java and is comparable to C. It offers you a very powerful Library(Standard Template Library) which makes many things easy for Competitive Programmers.(Eg: Predefined Functions for sorting, searching, Vectors, Sets, Maps, Pairs, etc.)&lt;/p&gt;

&lt;h3&gt;
  
  
  2) Start practicing and take part in Contests :
&lt;/h3&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%2Ft11ngekxc114c3wquy09.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%2Ft11ngekxc114c3wquy09.png" alt="Sites for competitions"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As a beginner, start solving the Problem Solving section on Hacker rank. Cover Topics like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Implementation &lt;/li&gt;
&lt;li&gt;Strings &lt;/li&gt;
&lt;li&gt;Sorting &lt;/li&gt;
&lt;li&gt;Searching &lt;/li&gt;
&lt;li&gt;Greedy&lt;/li&gt;
&lt;li&gt;Bit Manipulation &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Proceed in order of Easy-Medium-Hard. &lt;/p&gt;

&lt;p&gt;Try to get 6 stars in it and you will begin to feel that you have learned a lot of new things. Your code length will decrease and you will begin to write more efficient code.&lt;/p&gt;

&lt;p&gt;Meanwhile, take part in contests on sites like CodeChef and Codeforces as they are a great way to learn some new concepts. In the beginning, you may find the language of problems a bit hard to understand but after some contests, you will get used to it.&lt;/p&gt;

&lt;p&gt;Also, don’t forget to up-solve the problems which you were unable to solve in the contest.&lt;/p&gt;

&lt;h3&gt;
  
  
  3) Learn Data Structures and Algorithms:
&lt;/h3&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%2Fnk6255bp0kzdkscxyeuy.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%2Fnk6255bp0kzdkscxyeuy.png" alt="DSA for Competitive coding"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While practicing and taking part in contests, get your hands dirty in Data Structures and Algorithms.&lt;/p&gt;

&lt;p&gt;It is the most important part of coding where you learn how to make your program more efficient. Having good knowledge of Data Structures will help you in selecting the optimal Data Structure for a problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Some Do’s and Don’ts that you should keep in mind:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;While practicing on any platform, do not look into the solution/editorial without giving your best.&lt;/strong&gt; Peeking into the solution will not do any good for you. Always give your best to find a solution to a problem.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;After the contest gets over, always try to up-solve the problems which you were unable to solve in the contest.&lt;/strong&gt; This is where the real learning starts. Look at Editorials and discussions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Do not hesitate to look at the solution of other people/friends after the contest.&lt;/strong&gt; Maybe your friend’s approach could be better than yours.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Do read Blogs on Codeforces written by High Rated Coders.&lt;/strong&gt; You will get to learn a lot from them for sure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Do not stick just too easy problems.&lt;/strong&gt; Get out of your comfort zone and challenge yourself. Start solving problems that push you.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Do not worry about ratings on various Coding Platforms.&lt;/strong&gt; Rather focus on your growth. Your ratings will automatically increase if you focus on learning.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Do not get demotivated or disheartened if you cannot perform well in a contest&lt;/strong&gt; or cannot solve solve a problem. It happens, just learn from your mistakes and try not to repeat them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Competitive Coding is much more about practice.&lt;/strong&gt; It takes time to become a master in it. So never give up unless you don’t enjoy doing it and never have self-doubt upon yourself.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Wrapping up:
&lt;/h2&gt;

&lt;p&gt;Over this blog you have learnt how can you start your Competitive Coding journey and what Do’s and Don’t you should follow.&lt;/p&gt;

&lt;p&gt;Also if you are a newbie to the world of coding you can join the Crazy Codigo’s community as its weekly &lt;em&gt;COW (Coder Of the Week)&lt;/em&gt; competition will help you gain a lot of knowledge and experience and will help you start your journey. &lt;br&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%2Fa51l15g9z6pryyyboz3l.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%2Fa51l15g9z6pryyyboz3l.png" alt="Crazy COW competitive coding contest"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For any further help u can join our &lt;a href="https://discord.gg/XgDDB7BwPa" rel="noopener noreferrer"&gt;Discord Server&lt;/a&gt; and we can grow together as a community!&lt;/p&gt;

&lt;p&gt;Bbye :)&lt;/p&gt;

&lt;p&gt;~ Sam&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>computerscience</category>
      <category>cpp</category>
      <category>java</category>
    </item>
    <item>
      <title>A Roadmap to C++</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Sun, 07 Aug 2022 16:28:19 +0000</pubDate>
      <link>https://dev.to/crazycodigo/a-roadmap-to-c-49e2</link>
      <guid>https://dev.to/crazycodigo/a-roadmap-to-c-49e2</guid>
      <description>&lt;h3&gt;
  
  
  By Suvendu Panda
&lt;/h3&gt;

&lt;p&gt;Hey there. College lecturers going real fast in C++ and you can't keep up with it? Well, we got you. &lt;/p&gt;

&lt;p&gt;To be honest, the shortcut to being fast and fluent in C++ is……..well, there is no shortcut except to practice and practice more.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0HlT8Xqt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t220gi6off8f6oxndje3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0HlT8Xqt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t220gi6off8f6oxndje3.png" alt="Practice C++" width="880" height="523"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But I can help you get started with the basics of C++.&lt;/p&gt;

&lt;h2&gt;
  
  
  Intro:
&lt;/h2&gt;

&lt;p&gt;I hope you have an IDE(integrated development environment) installed on your laptop like Visual Studio Code, ubuntu, or any other compiler. If not, there are a lot of &lt;a href="https://www.onlinegdb.com/"&gt;online compilers&lt;/a&gt; that can help you get what you want. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--S1ZeROKS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3qati07nq17q9plk9yy3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--S1ZeROKS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3qati07nq17q9plk9yy3.png" alt="IDEs for C++" width="880" height="423"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What do we want next?
&lt;/h2&gt;

&lt;p&gt;We need to know the basics of C++. Open up your compiler and type in the basic “boring” code. The code goes like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#include&amp;lt;iostream&amp;gt;
using namespace std;
int main()
{
cout&amp;lt;&amp;lt;” HELLO WORLD ”;
return 0;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Cannot understand any part of the program? No issues. &lt;/p&gt;

&lt;p&gt;Just run the program and be familiar with your compiler. Check how the output screen is. Save the file correctly, and be sure to name it &lt;code&gt;MYFIRSTPROGRAM&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;Why? Because that is &lt;strong&gt;the law&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Next, we will learn what parts of this program do what.&lt;/p&gt;

&lt;h2&gt;
  
  
  The first line of the program: &lt;code&gt;#include &amp;lt;iostream&amp;gt;&lt;/code&gt;.
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;iostream&amp;gt;&lt;/code&gt; is a header file required to add a bunch of already defined functions to the program. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;#include&lt;/code&gt; is used to direct the preprocessor to add the header file. There are a bunch of header files that we shall learn later, but the basics first.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does &lt;code&gt;int main()&lt;/code&gt; do?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;int&lt;/code&gt; stands for integer which is a return type, or what kind of value the function will return after it has been executed. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;main()&lt;/code&gt; is a function, a predefined function, that does not need a declaration. Anything in between &lt;strong&gt;{}&lt;/strong&gt; parenthesis is called &lt;em&gt;the body of the program&lt;/em&gt;, which is important because that is where the basic coding goes. That is where you tell the program what to do and what not to do. &lt;/p&gt;

&lt;p&gt;In this case, we have a&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cout&amp;lt;&amp;lt;"HELLO WORLD";
return 0; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;in the body. &lt;/p&gt;

&lt;h2&gt;
  
  
  What is "cout"?
&lt;/h2&gt;

&lt;p&gt;Basically, it is an object that is used to print the outputs we want to show in the terminal. The "&amp;lt;&amp;lt;" is the right shift operator which is followed just after a cout. Anything we want to print, like a text line, suppose your name, goes between " ". &lt;/p&gt;

&lt;p&gt;For example,&lt;code&gt;cout&amp;lt;&amp;lt;"HEY READER";&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To end a line we need to have a ";" at the end. That is the way how the compiler understands, &lt;em&gt;oh, okay this is the end of the line, cool.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The last part of the program, the &lt;code&gt;return 0;&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Remember how we added &lt;code&gt;int&lt;/code&gt;before the main function. This &lt;code&gt;return 0&lt;/code&gt; is used to return a "0" or null value at the end of the program.&lt;/p&gt;

&lt;p&gt;There you have it, folks, you have understood the basics of the basics to C++. To learn even further, I would suggest you some of the websites or YouTube tutorials that can help you get better at it.&lt;/p&gt;

&lt;p&gt;Here is a list of the YouTube channels that will help you get better at coding:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CodeBeauty&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZV7zAS47--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xx1yvi1fy0icadl6wm5d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZV7zAS47--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xx1yvi1fy0icadl6wm5d.png" alt="CodeBeauty YouTube channel" width="880" height="772"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;freeCodeCamp.org&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TWIcUpDg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qazt8xi0sonfp34ekew8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TWIcUpDg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qazt8xi0sonfp34ekew8.png" alt="freeCodeCamp.org YouTube channel" width="880" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;thenewboston&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tDfTUmx1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/51l99njl21ewva4rn3ma.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tDfTUmx1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/51l99njl21ewva4rn3ma.png" alt="thenewboston YouTube channel" width="880" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and many websites that can help you get going with the basics.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;w3schools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gZj02y_a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gmjdr435g6rf8fdogyj5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gZj02y_a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gmjdr435g6rf8fdogyj5.png" alt="w3schools.com" width="880" height="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;programiz&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xd-qkeKz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l0b1p3z7o1srn60eh43x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xd-qkeKz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l0b1p3z7o1srn60eh43x.png" alt="programiz.com" width="880" height="844"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;tutorialspoint&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--75i57KaU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/of5uv2x3rws0si401r4o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--75i57KaU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/of5uv2x3rws0si401r4o.png" alt="tutorialspoint" width="880" height="765"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you are good with the basics I would suggest you go through &lt;a href="https://dev.to/crazycodigo/c-projects-from-beginners-to-advanced-46j6"&gt;some C++ projects&lt;/a&gt; so that you will be fluent with them.&lt;/p&gt;

&lt;h2&gt;
  
  
  THINGS TO KEEP IN MIND:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;If you are learning with the help of YouTube tutorials, &lt;strong&gt;pause and type the codes by yourself&lt;/strong&gt;, because there are many times when you face problems while writing the program on your own.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Keep taking notes.&lt;/strong&gt; Make a rough copy or a digital note where you can include all the things that are required. That may be definitions, confusing codes, or syntax.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Note down &lt;strong&gt;where you are making mistakes&lt;/strong&gt;, and keep a track of them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Practice&lt;/strong&gt; as much as you can.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cya!&lt;br&gt;
~ Suvendu&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>computerscience</category>
    </item>
    <item>
      <title>ML Starter Pack - A Roadmap</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Fri, 05 Aug 2022 14:49:03 +0000</pubDate>
      <link>https://dev.to/crazycodigo/ml-starter-pack-a-roadmap-1leh</link>
      <guid>https://dev.to/crazycodigo/ml-starter-pack-a-roadmap-1leh</guid>
      <description>&lt;h3&gt;
  
  
  By Jayanti Goswami
&lt;/h3&gt;

&lt;p&gt;Have you been hearing about how great Machine Learning is almost everywhere but aren't sure how to get started on it? All I can say is been there, done that.&lt;/p&gt;

&lt;p&gt;But the good part about someone else's "been there, done that" is that there is a chance you may not have to be there. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xYXSoAju--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ku3m2b94ddusopusagvf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xYXSoAju--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ku3m2b94ddusopusagvf.png" alt="Machine Learning Starter Pack" width="880" height="576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With this article, I want to bring to you everything you need to learn as you proceed to make ML models. From languages to modules, this is your perfect starter pack. &lt;/p&gt;

&lt;p&gt;So, let's dive right in.&lt;/p&gt;

&lt;h2&gt;
  
  
  The base language
&lt;/h2&gt;

&lt;p&gt;Like everything else in coding, you can do machine learning in any language you want. However, this branch is filled with complex stats and math. Wouldn't you want something that makes your life as easy as possible?&lt;/p&gt;

&lt;p&gt;And that is exactly why people lean towards Python when doing ML. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1fMGoW0B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m0tjtvaj13gls2bpogru.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1fMGoW0B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m0tjtvaj13gls2bpogru.png" alt="Python programming" width="640" height="250"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you understand the basic processes involved, Python takes care of the rest. Modules you will want to understand completely are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Numpy&lt;/li&gt;
&lt;li&gt;Pandas&lt;/li&gt;
&lt;li&gt;Matplotlib&lt;/li&gt;
&lt;li&gt;SkLearn&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These modules help you when dealing with matrices, data visualization, and large data sets. SkLearn even gives you various algorithms that you can customize according to your requirements to make simple models. &lt;/p&gt;

&lt;h2&gt;
  
  
  Concepts you need
&lt;/h2&gt;

&lt;p&gt;Machine learning is largely based on hit and trial. As it tries to predict real life, the algorithms are highly experimental. &lt;/p&gt;

&lt;p&gt;So, there is no way of saying that the approach that works for situation A will work in situation B or not. &lt;/p&gt;

&lt;p&gt;However, there are still some basic algorithms and concepts that remain constant:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Linear regression&lt;/li&gt;
&lt;li&gt;Neural networks&lt;/li&gt;
&lt;li&gt;Convolutional neural networks (CNN) &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--B9DvgxIa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6p7o7o9igimqj97ldbov.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--B9DvgxIa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6p7o7o9igimqj97ldbov.png" alt="Linear regression in machine learning" width="880" height="552"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Linear regression uses approaches like the &lt;a href="https://github.com/crazycodigo/ML-Workshop-Day_Two"&gt;gradient descent algorithm&lt;/a&gt; to find the right outputs. It is used for simple models that only use one input feature. Hence, linear regression is one of the first concepts you should grasp when starting machine learning.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JL8NkBqY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ujt3i5cnwok0mqbkeso8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JL8NkBqY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ujt3i5cnwok0mqbkeso8.png" alt="Neural networks in machine learning" width="721" height="589"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Neural networks are a stack of linear regressors that use various input features. They try to imitate the functioning of the human nervous system for making predictions. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xfZeeNKK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cefizh1qevsacotcfu7p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xfZeeNKK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cefizh1qevsacotcfu7p.png" alt="CNN in machine learning" width="850" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CNN is pretty much your final step. It is where you can deal with images and help your model learn more complex things. &lt;/p&gt;

&lt;h2&gt;
  
  
  Types of Machine Learning
&lt;/h2&gt;

&lt;p&gt;There are primarily two kinds of ML models:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Unsupervised learning&lt;/li&gt;
&lt;li&gt;Supervised learning

&lt;ul&gt;
&lt;li&gt;Classification&lt;/li&gt;
&lt;li&gt;Regression&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As a newbie in the world of ML, you should first start with supervised learning and make classification as well as regression models. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ykJho-06--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7r8si8hg2nufh5o84fpa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ykJho-06--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7r8si8hg2nufh5o84fpa.png" alt="Supervised machine learning" width="471" height="209"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Unsupervised learning is used for models that will be deployed in alien environments where there is no labeling possible. The model has to learn on the go and do the labeling work on its own. &lt;/p&gt;

&lt;h2&gt;
  
  
  Building your first ML model
&lt;/h2&gt;

&lt;p&gt;Crazy Codigo recently got its first gig. We will be holding a workshop called Building your First ML Model and is on behalf of a tech-ed company called &lt;a href="https://ineuron.ai/"&gt;iNeuron&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cfy5PAZU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/964igyzllmty0wrjvm55.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cfy5PAZU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/964igyzllmty0wrjvm55.png" alt="Building Your First ML Model" width="628" height="627"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you signed up for it, then we will see you there! &lt;/p&gt;

&lt;p&gt;However, if you missed it for some reason, you can join our &lt;a href="https://discord.gg/nyHHW5nmVp"&gt;Discord community&lt;/a&gt; as this is definitely only the first of many such sessions to come.&lt;/p&gt;

&lt;p&gt;That's it for this blog. Cya!&lt;/p&gt;

&lt;p&gt;~ J&lt;/p&gt;

</description>
      <category>python</category>
      <category>machinelearning</category>
      <category>ai</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>How Crazy Codigo Got Its First Gig</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Sun, 31 Jul 2022 14:42:34 +0000</pubDate>
      <link>https://dev.to/crazycodigo/how-crazy-codigo-got-its-first-gig-2j6i</link>
      <guid>https://dev.to/crazycodigo/how-crazy-codigo-got-its-first-gig-2j6i</guid>
      <description>&lt;h3&gt;
  
  
  By Annesha Mukhopadhyay
&lt;/h3&gt;

&lt;p&gt;A couple of days ago, J was approached with what happens to be the coolest thing Crazy Codigo has ever done: Hosting a Virtual Workshop!&lt;br&gt;
We had to do it on Behalf of a tech-education company called iNeuron. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8MALuYwg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w9xkr9u0owq573xk68yk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8MALuYwg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w9xkr9u0owq573xk68yk.png" alt="iNeuron" width="220" height="82"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, when on an average Wednesday afternoon, J called me with this news, I obviously had to say yes. And then after informing Shiv and Sam about it, we got to work to make sure that this event was a huge success. &lt;/p&gt;

&lt;h2&gt;
  
  
  Deciding whether we wanted to do it
&lt;/h2&gt;

&lt;p&gt;This was actually a no brainer for all of us. &lt;/p&gt;

&lt;p&gt;Of course we wanted to host it! Not just that, we also wanted it to be the most poggers event ever. But that is easier said than done. &lt;/p&gt;

&lt;p&gt;So we did the first logical thing everyone should do while organising an event: Join a voice channel on the &lt;a href="https://discord.gg/GejKJACMHw"&gt;Crazy Codigo Discord Server&lt;/a&gt; to divide work and have an action plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing the Topic and Date
&lt;/h2&gt;

&lt;p&gt;Choosing the Topic was easy. It had to be something cool and what is cooler than teaching people how to build their first ML model? &lt;/p&gt;

&lt;p&gt;But the date wasn’t that easy. After considering a lot of factors like college reporting and us running on almost opposite schedules, we came to the conclusion that 6th and 7th August seemed like an almost perfect fit. &lt;/p&gt;

&lt;h2&gt;
  
  
  Making a Poster, Registration Form, Writing Mails and Posting on Socials
&lt;/h2&gt;

&lt;p&gt;The first step was obviously making a poster for the event. You can’t promote an event without a poster.&lt;/p&gt;

&lt;p&gt;After a lot of trial and error and sending each other 25 billion samples we decided on this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8MSrJVX7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mzgqz3ocz88qjwnx2nq6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8MSrJVX7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mzgqz3ocz88qjwnx2nq6.png" alt="Build Your First ML Project: A Virtual Workshop&amp;lt;br&amp;gt;
" width="880" height="1245"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And while I was making sure that the poster is the prettiest thing ever, Sam made a google form for the registration and got onto the monotonous job of mailing every 2nd and 3rd year student at KIIT (Thank God that KIIT has a mailing list situation). &lt;/p&gt;

&lt;p&gt;We also posted the poster and all the information on Crazy Codigo’s Instagram page, KIIT Instagram page and every WhatsApp group we were part of.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping Up
&lt;/h2&gt;

&lt;p&gt;As you can evidently see, I and everyone else are very excited for this workshop and can’t wait to see all of you there. &lt;/p&gt;

&lt;p&gt;And if this is the first time you are hearing about it and haven’t registered for it yet, well what are you waiting for? Go fill out the &lt;a href="https://forms.gle/HdPUdc3cfFuxpDFw9"&gt;registration form&lt;/a&gt; right now and join us on 6th and 7th August. &lt;/p&gt;

&lt;p&gt;Oh another cool fact: All participants will be provided with a certificate from iNeuron upon completion of the workshop!&lt;/p&gt;

&lt;p&gt;~ A&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>tutorial</category>
      <category>programming</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Create a Quiz App Using Android Studio</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Fri, 29 Jul 2022 14:36:47 +0000</pubDate>
      <link>https://dev.to/crazycodigo/create-a-quiz-app-using-android-studio-4boa</link>
      <guid>https://dev.to/crazycodigo/create-a-quiz-app-using-android-studio-4boa</guid>
      <description>&lt;h3&gt;
  
  
  By Samrat Chakraborty
&lt;/h3&gt;

&lt;p&gt;For an Android app developer,user interface is the key. &lt;/p&gt;

&lt;p&gt;Your app may have cutting edge functionality, but if its wrapped in an unappealing UI, its unlikely that users will stay around long enough to discover how great your app really is.&lt;/p&gt;

&lt;p&gt;In this project we will cover the following :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;LinearLayout&lt;/li&gt;
&lt;li&gt;Designing for multiple screens&lt;/li&gt;
&lt;li&gt;Adding image resources&lt;/li&gt;
&lt;li&gt;App accessibility&lt;/li&gt;
&lt;li&gt;Custom XML styles&lt;/li&gt;
&lt;li&gt;Making Buttons&lt;/li&gt;
&lt;li&gt;Toast Notifications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Start by creating an Android project called ‘QuizApp’ and a new activity go for empty activity. (Refer to &lt;a href="https://dev.to/crazycodigo/android-studio-guide-for-beginners-3mmn"&gt;my previous blog&lt;/a&gt; if you aren't sure how)&lt;/p&gt;

&lt;h2&gt;
  
  
  Define a LinearLayout
&lt;/h2&gt;

&lt;p&gt;A LinearLayout is a flexible layout that will allow you to organize UI elements in relation to one another. This feature makes it particularly useful to developers needing control over the exact positioning of their UI components.&lt;/p&gt;

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

&amp;lt;?xml version=”1.0” encoding=”utf-8”?&amp;gt;
&amp;lt;LinearLayout xmlns:android=”http://schmas.android.com/apk/res/android”
xmlns:app=”http://schemas.android.com/apk/res-auto”
xmlns:app=”http://schemas.android.com/tools”
android:layout_width=”match_parent”
android:layout_height=”match_parent”


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

&lt;/div&gt;
&lt;h2&gt;
  
  
  Designing for Multiple Screens: Background Image:
&lt;/h2&gt;

&lt;p&gt;Open the ‘res’ folder here you can add the images that you want to display as background  in your app screen.&lt;br&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%2F1a41yso9jcx26dpq2gep.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%2F1a41yso9jcx26dpq2gep.png" alt="android studio res folder"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Modify your layout code by adding the id of the background image that you want in your Quiz App.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;?xml version=”1.0” encoding=”utf-8”?&amp;gt;
&amp;lt;LinearLayout xmlns:android=”http://schmas.android.com/apk/res/android”
xmlns:app=”http://schemas.android.com/apk/res-auto”
xmlns:app=”http://schemas.android.com/tools”
android:layout_width=”match_parent”
android:layout_height=”match_parent”
android:gravity=”center”
android:background=”@drawable/ic_bg”
android:orientation=”vertical”
Tools:context=”.MainActivity”


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

&lt;/div&gt;
&lt;h2&gt;
  
  
  Creating Buttons:
&lt;/h2&gt;

&lt;p&gt;In the main activity file you can create your own button and give it an ID so that you can access it anywhere in your project.&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%2F6pgjn9ybyqpjmfe8fqv7.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%2F6pgjn9ybyqpjmfe8fqv7.png" alt="Android Studio tutorial button"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Here is the complete Main Layout code that I'm using :
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center"
    android:background="@drawable/ic_bg"
    android:orientation="vertical"
    tools:context=".MainActivity"&amp;gt;

    &amp;lt;TextView
        android:id="@+id/tv_app_name"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="30dp"
        android:text="@string/app_name"
        android:gravity="center"
        android:textColor="@android:color/white"
        android:textSize="25sp"
        android:textStyle="bold" /&amp;gt;

    &amp;lt;androidx.cardview.widget.CardView
        android:id="@+id/cv_main"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="20dp"
        android:layout_marginEnd="20dp"
        android:background="@android:color/white"
        app:cardCornerRadius="8dp"
        app:cardElevation="5dp"&amp;gt;

        &amp;lt;LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:padding="16dp"&amp;gt;

            &amp;lt;TextView
                android:id="@+id/tv_title"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:text="Welcome"
                android:textColor="#363A43"
                android:textSize="30sp"
                android:textStyle="bold" /&amp;gt;

            &amp;lt;TextView
                android:id="@+id/tv_description"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:layout_marginTop="16dp"
                android:text="Please enter your name."
                android:textColor="#7A8089"
                android:textSize="16sp" /&amp;gt;

            &amp;lt;com.google.android.material.textfield.TextInputLayout
                android:id="@+id/til_name"
                style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="20dp"&amp;gt;

                &amp;lt;androidx.appcompat.widget.AppCompatEditText
                    android:id="@+id/et_name"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:imeOptions="actionGo"
                    android:hint="Name"
                    android:inputType="textCapWords"
                    android:textColor="#363A43"
                    android:textColorHint="#7A8089" /&amp;gt;
            &amp;lt;/com.google.android.material.textfield.TextInputLayout&amp;gt;

            &amp;lt;Button
                android:id="@+id/btn_start"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="16dp"
                android:background="@color/colorPrimary"
                android:text="Start"
                android:textColor="@android:color/white"
                android:textSize="18sp" /&amp;gt;
        &amp;lt;/LinearLayout&amp;gt;
    &amp;lt;/androidx.cardview.widget.CardView&amp;gt;
&amp;lt;/LinearLayout&amp;gt;


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

&lt;/div&gt;
&lt;h2&gt;
  
  
  Adding Questions to your Quiz App:
&lt;/h2&gt;

&lt;p&gt;Under layout tab add another &lt;code&gt;.xml&lt;/code&gt; file to add pages to your quiz with questions and give respective IDs to them so that they are easily accessible.&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%2Feaw1xd4yy3nmrpmmyrl0.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%2Feaw1xd4yy3nmrpmmyrl0.png" alt="Android Studio adding multiple pages"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Above Image code states giving id to the picture displayed in the quiz.&lt;/p&gt;

&lt;p&gt;After giving the picture, you now have to go ahead and give the number of options for the answer. Also, create the submit button.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;TextView
android:id="@+id/tv_option_one"
android:layout_width="match_parent"
android:layout_height="wrap_content" 
android:layout_margin="10dp"
android:background="@drawable/default_option_border_bg",
android:gravity="center" 
android:padding="15 dp" 
android:textcolor="#7A8089" 
android:textSize="18sp" 
tools:text="Apple"


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

&lt;/div&gt;

&lt;p&gt;Repeat the above code for as many options as you want to give.&lt;/p&gt;

&lt;p&gt;Make a final Submit button at the end of the quiz and then go to the kotlin file to work on the functionality of the app.&lt;/p&gt;

&lt;h2&gt;
  
  
  Coding the Kotlin files:
&lt;/h2&gt;

&lt;p&gt;In this File set an On Click Listener to the start button of the quiz.&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%2Fodg0q1u87yf0plmdi60j.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%2Fodg0q1u87yf0plmdi60j.png" alt="Kotlin on click listener"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Make variables for everything displayed in your QuizApp&lt;/p&gt;

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

package com.quizapp
data class Questions(
    val id: Int, 
    val question: String, 
    val image: Int, 
    val optionOne: String, 
    val option Two: String, 
    val optionThree: String, 
    val optionFour: String, 
    val correctAnswer: Int
)


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

&lt;/div&gt;

&lt;p&gt;Set On Click Listener to all the options and the final submit button:&lt;/p&gt;

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

tv_option_one.setOnClickListener(this) 
tv_option_two.setOnClickListener(this)
tv_option_three.setOnClickListener(this)
tv_option_four.setOnClickListener(this) 
btn_submit.setOnClickListener(this)


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

&lt;/div&gt;

&lt;p&gt;Finally Run the App with your Emulator provided by Android Studio. Boom! You just made your first App  :)&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping Up:
&lt;/h2&gt;

&lt;p&gt;Over this blog, you have learned the essentials of Android UI design and have created a simple, yet effective UI with some working functionality. Try applying some of these techniques to your own Android projects, to ensure your UI doesn’t let your app down.&lt;/p&gt;

&lt;p&gt;You can download the entire source code for this project on &lt;a href="https://github.com/Samrat1507/Meme-Quiz-Apk" rel="noopener noreferrer"&gt;my GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And for more Blogs and Coding related things, you can follow &lt;a href="https://linktr.ee/crazycodigo" rel="noopener noreferrer"&gt;Crazy Codigo’s social handles&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;~ Sam&lt;/p&gt;

</description>
      <category>android</category>
      <category>java</category>
      <category>beginners</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>How We Made Our First Web-Dev Project</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Sun, 24 Jul 2022 14:33:04 +0000</pubDate>
      <link>https://dev.to/crazycodigo/how-we-made-our-first-web-dev-project-lae</link>
      <guid>https://dev.to/crazycodigo/how-we-made-our-first-web-dev-project-lae</guid>
      <description>&lt;h3&gt;
  
  
  By Jayanti Goswami
&lt;/h3&gt;

&lt;p&gt;Crazy Codigo has been putting out a lot of technical content lately. So, I thought I would use my slot to give you guys a sweet little break and tell you about how we are still quite stupid / awesome :)&lt;/p&gt;

&lt;p&gt;Since we miraculously got into a college last year, Annesha and I have made friends (surprised? me too): Sam and Shiv. They've been working on Crazy Codigo too and coding with us. &lt;/p&gt;

&lt;p&gt;So, when we started thinking about web dev, Shiv took the lead. &lt;br&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%2Fyl74b4ydw6d4188s2yqc.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%2Fyl74b4ydw6d4188s2yqc.png" alt="HTML CSS JS"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;From HTML to CSS to JS - the man covered more videos in a day than Barney had in his porn stash. &lt;/p&gt;

&lt;p&gt;So, we did what we do while learning anything new:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Our First Web Dev Project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;The first step to working on any project is finding a project. Now, this was not too much of a struggle for us. &lt;br&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%2F63i1ncystmuiz8npx8ss.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%2F63i1ncystmuiz8npx8ss.png" alt="Idea"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We had a lot of options:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Re-create the Crazy Codigo website (put it on the back burner for now)&lt;/li&gt;
&lt;li&gt;Make a business website for some relatives (hmmmmm....)&lt;/li&gt;
&lt;li&gt;Create a gaming website for our friend Delight &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So, obviously, we went with the third one. Always nicer to make something fun as a first project. &lt;/p&gt;
&lt;h2&gt;
  
  
  The plan
&lt;/h2&gt;

&lt;p&gt;Ah, yes. My vision for Delight's website was simple. In fact, it can be summed up in one sentence:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;It has to be poggers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is it. That was all I wanted. &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%2Fkxg3lxumxs3fo2fbsw1b.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%2Fkxg3lxumxs3fo2fbsw1b.png" alt="Poggers"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But Shiv said he needed a bit more direction than that. So, then we had to sit down and actually plan it. &lt;/p&gt;

&lt;p&gt;Shiv wanted to put everything he had seen and learnt into the website. I wanted something that looked intricate and yet, simple. So, we kept ricocheting between "We can do more" and "We're doing too much."&lt;/p&gt;

&lt;p&gt;After a lot of bickering, we settled on a plan:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The website will have 4 sections&lt;/li&gt;
&lt;li&gt;It will be graphics and visual based&lt;/li&gt;
&lt;li&gt;The content will be minimal and we'll put in our favorite effects: A rotating cube, Parallaxes, Glossy cards, and Circles!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And so began, the making of &lt;a href="https://delightedev.com/" rel="noopener noreferrer"&gt;delightedev.com&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The code
&lt;/h2&gt;

&lt;p&gt;The code was a struggle thanks to our one terrible habit: procrastination. We were still only two coders with a passion for procrastination. Only this time it was Shiv and me in the depths of it. &lt;/p&gt;

&lt;p&gt;So, we took a month to complete a code that should not have taken longer than a week. But that's okay. We did make a poggers website :)&lt;br&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%2F2t3wxza448hkgdzbhrts.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%2F2t3wxza448hkgdzbhrts.png" alt="Git code"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are curious, you can take a look at the code on &lt;a href="https://github.com/crazycodigo/website.github.io" rel="noopener noreferrer"&gt;our GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The technical debt
&lt;/h2&gt;

&lt;p&gt;We took a lot of technical debt with this project. The code is far from complete. &lt;/p&gt;

&lt;p&gt;Some places for improvement include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The website is not responsive. Do &lt;strong&gt;NOT&lt;/strong&gt; view it on your phone. The view may be fatal.&lt;/li&gt;
&lt;li&gt;As devs, we knew what we were up to. As content writers, not so much. So, the &lt;a href="https://delightedev.com/link.html" rel="noopener noreferrer"&gt;links page&lt;/a&gt; is um... interesting. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some aspects of the website are still under development so no judgement. But, it still looks pretty good and Delight seemed happy. &lt;/p&gt;

&lt;h2&gt;
  
  
  The deployment
&lt;/h2&gt;

&lt;p&gt;After a lot of sweat and tears (thankfully no blood), we presented the website to Delight on his birthday. Or at least what I thought was his birthday. We don't talk about that bit. &lt;/p&gt;

&lt;p&gt;He was kind of pleased with how it had turned out and wanted to host it on his domain right away. &lt;br&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%2F9xo5ba8psxl0jzwi70cu.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%2F9xo5ba8psxl0jzwi70cu.png" alt="Website"&gt;&lt;/a&gt; &lt;br&gt;
So, we used GitHub pages to deploy it. If you want to learn how to do that, you can take a look at &lt;a href="https://dev.to/crazycodigo/deploy-your-first-website-on-github-pages-13g3"&gt;Shiv's latest blog&lt;/a&gt;. And that is the story of how our first web dev project got went live. &lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;This blog just documents our first web dev experience. If you have interesting ideas that you want to collaborate on, you can reach out to us on any of &lt;a href="https://linktr.ee/crazycodigo" rel="noopener noreferrer"&gt;our socials&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;That's all for this one. Cya!&lt;/p&gt;

&lt;p&gt;~ J&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>javascript</category>
      <category>html</category>
    </item>
    <item>
      <title>Deploy Your First Website On GITHUB pages</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Fri, 22 Jul 2022 17:01:01 +0000</pubDate>
      <link>https://dev.to/crazycodigo/deploy-your-first-website-on-github-pages-13g3</link>
      <guid>https://dev.to/crazycodigo/deploy-your-first-website-on-github-pages-13g3</guid>
      <description>&lt;h3&gt;
  
  
  By Shivpreet Padhi
&lt;/h3&gt;

&lt;p&gt;Have you made a very cool looking website and want to show your friends. Or have you made a portfolio and u need to show it to the interviewer. You can do it for free using GitHub pages. &lt;/p&gt;

&lt;p&gt;You don't know how? I gotcha covered...&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Make a GitHub account:
&lt;/h2&gt;

&lt;p&gt;Don't tell me you cant make a GitHub account! In case you don't, search it up on YouTube. Not the toughest job in the world.&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%2F29qm1ld5e812pejg233p.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%2F29qm1ld5e812pejg233p.png" alt="GitHub"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Make a new Repository:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create a new repository and set it as public. Private repos cannot be deployed by GitHub pages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Name the repo lets say "example"(because that is what tutorials use... cliché but ok) &lt;/p&gt;&lt;/li&gt;
&lt;/ul&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%2F58kpftogwbf1g9sjpxji.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%2F58kpftogwbf1g9sjpxji.png" alt="Repository"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Then add &lt;strong&gt;.github.io&lt;/strong&gt;. This is a very important step. If you miss it, sad luck it will be F in chat.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Speaking of important steps... Don't forget to add a &lt;strong&gt;README.md&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then create the repository.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Upload the files:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;In the repository upload the html, CSS, JavaScript and the assets.&lt;/li&gt;
&lt;/ul&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%2Fxjxm0krt6c750dkdrcmz.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%2Fxjxm0krt6c750dkdrcmz.png" alt="uploading files"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;index.html&lt;/strong&gt; is a must. It is the page that will be visible at the beginning. &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Deployment:
&lt;/h3&gt;

&lt;p&gt;If you have followed these steps completely, with full dedication and righteousness, you are ready for the final step: &lt;strong&gt;THE DEPLOYMENT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It's the most simple step in the whole process of making a website and deploying. It may sound intimidating but hear me out guys:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go to settings for your repository.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go to pages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set the &lt;strong&gt;Branch&lt;/strong&gt; to whichever one you want to deploy (preferably main).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set the folder to &lt;strong&gt;/(root)&lt;/strong&gt;.&lt;br&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%2Fmnl7pyfb47awdbsocooj.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%2Fmnl7pyfb47awdbsocooj.png" alt="Deployment"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's it guys you are done. Save the changes and you will get a free website that you can showoff to anyone u want. Go ahead pat yourself on the back and brag about it to your friends who are still using google sites (&lt;em&gt;Nervously looks at the &lt;a href="https://sites.google.com/view/crazycodigo/home" rel="noopener noreferrer"&gt;Crazy Codigo site&lt;/a&gt;&lt;/em&gt;). &lt;/p&gt;

&lt;p&gt;That was a very basic deployment. You can add custom domains and themes if you want. It's right there is the &lt;strong&gt;pages&lt;/strong&gt; option. If you want to learn more about it you can refer the &lt;a href="https://docs.github.com/en/pages" rel="noopener noreferrer"&gt;GitHub pages documentations&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;With this you have learnt to deploy a website. Personally when I deployed my first website it was one of the best feelings I ever had. Hope you get that feeling. Happy coding :)&lt;/p&gt;

&lt;p&gt;That’s all for this one. If you want to contact me or more of the crazy coders out there join our discord server. &lt;a href="https://linktr.ee/crazycodigo" rel="noopener noreferrer"&gt;Follow us&lt;/a&gt; on all socials to stay updated about when we put out new content.&lt;/p&gt;

&lt;p&gt;Cya!&lt;/p&gt;

&lt;p&gt;~ Shiv&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>github</category>
      <category>tutorial</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Android Studio: Guide For Beginners</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Sun, 17 Jul 2022 14:30:14 +0000</pubDate>
      <link>https://dev.to/crazycodigo/android-studio-guide-for-beginners-3mmn</link>
      <guid>https://dev.to/crazycodigo/android-studio-guide-for-beginners-3mmn</guid>
      <description>&lt;h3&gt;
  
  
  By Samrat Chakraborty
&lt;/h3&gt;

&lt;p&gt;When you start Android Studio it provides you with a number of templates that you can use while making your very first Android Studio project.&lt;/p&gt;

&lt;p&gt;To create a new project in Android Studio, click on new project. After that, select from the number of predefined templates that you can use in your project without coding for the same. If the desired template is not present then you can select Basic or Empty Activity template.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WlimxhVo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bmvj1pju0w04khtovtas.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WlimxhVo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bmvj1pju0w04khtovtas.png" alt="Selecting Template" width="528" height="381"&gt;&lt;/a&gt;&lt;br&gt;
After selecting the desired template, click on next and then enter the name of the application, package name, location, the language in which you want to write your code (java/kotlin) and minimum API level (this is the minimum API supported by your app). After this, click on finish.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ak7m1n_z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/29lppeznbuq5z7n47z0i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ak7m1n_z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/29lppeznbuq5z7n47z0i.png" alt="Starting a new project" width="539" height="347"&gt;&lt;/a&gt;&lt;br&gt;
Now, after you have completed making the basics of your project, you can run this project on your device by connecting the device with an USB and then run your first android application. Now, below you can see the workspace of android studio to modify your app according to your needs.&lt;/p&gt;

&lt;p&gt;Then, coming to the workspace that Android Studio provides here you can see different sections: -&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The Top part is also known as the &lt;strong&gt;Menu Part&lt;/strong&gt;. Here you will get various options like File where you can create a new project, open an existing project, etc. You also have an option Build which will build your APK.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the mid-section on the right you can see the &lt;strong&gt;Coding Area&lt;/strong&gt; where you can actually write code for your kotlin or java file.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The left side of the mid-section is called as &lt;strong&gt;Project Structure&lt;/strong&gt;. This is the part from where you can access all the files present in your project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The bottom part is called the &lt;strong&gt;Terminal&lt;/strong&gt; or the &lt;strong&gt;Current execution part&lt;/strong&gt;. This is the most import part of Android Studio. Here, you can see the currently executing processes or activity. If your code has errors then it will show up in the Terminal.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oHI4bjX5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cu7mwj2tcse5fprduq72.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oHI4bjX5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cu7mwj2tcse5fprduq72.png" alt="First Code" width="483" height="272"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Coming to the Designing part
&lt;/h2&gt;

&lt;p&gt;You can create the UI of your Android application by writing your code in your .xml file. You can access this file in your res&amp;gt;layout&amp;gt;activity_main.xml. &lt;/p&gt;

&lt;p&gt;Here, you can design your Apk in two ways, i.e., either the text way or the design way. In text way you can write the .xml code for your android application and you can see the preview on your mobile screen.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wJ-xlXbp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jb6cls2bj1a91afp2mxh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wJ-xlXbp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jb6cls2bj1a91afp2mxh.png" alt="Text Code for Making the UI" width="481" height="270"&gt;&lt;/a&gt;&lt;br&gt;
Android Studio, provides a way to drag and drop various widgets and use it in making your application. This is the Design way.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xh2NFf38--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m6gb67jd09o48zrb8dbk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xh2NFf38--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m6gb67jd09o48zrb8dbk.png" alt="Design way for Making the UI" width="477" height="268"&gt;&lt;/a&gt;&lt;br&gt;
To Run the App u can use keyboard shortcut (SHIFT+F10) or press the play button next to your virtual device name.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this blog, we looked at the basics of Android Studio and learned some features of how to use it. We learnt how to design the UI of our apk and run it.&lt;/p&gt;

&lt;p&gt;If you want to discuss your app ideas with me directly, you can join the &lt;a href="https://discord.gg/GejKJACMHw"&gt;Crazy Codigo&lt;/a&gt; server.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://linktr.ee/crazycodigo"&gt;Follow our socials&lt;/a&gt; to get updated whenever we post. &lt;/p&gt;

&lt;p&gt;Hope you liked this blog :))&lt;/p&gt;

&lt;p&gt;~Sam&lt;/p&gt;

</description>
      <category>android</category>
      <category>beginners</category>
      <category>java</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Time And Space Complexity</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Fri, 15 Jul 2022 16:37:11 +0000</pubDate>
      <link>https://dev.to/crazycodigo/time-and-space-complexity-43c8</link>
      <guid>https://dev.to/crazycodigo/time-and-space-complexity-43c8</guid>
      <description>&lt;h3&gt;
  
  
  By Annesha Mukhopadhyay
&lt;/h3&gt;

&lt;h2&gt;
  
  
  Why Do We Care About Complexity
&lt;/h2&gt;

&lt;p&gt;If you are someone who has been writing codes for quite some time now, you are bound to have heard of time and space complexity. But why are they important? To understand that, we first need to understand what time and space complexity are.&lt;/p&gt;

&lt;h2&gt;
  
  
  Time Complexity
&lt;/h2&gt;

&lt;p&gt;Time Complexity of an algorithm quantifies the amount of time taken by an algorithm to run as a function of the length of the input.&lt;/p&gt;

&lt;p&gt;Time Complexity is an umbrella term for the different types of time complexities we can calculate which includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Worst Case Time Complexity&lt;/strong&gt;: This is the maximum number of times an operation needs to be executed before the algorithm is completed&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Average Case Time Complexity&lt;/strong&gt;: This is the average number of times an operation needs to be executed before the code is completed&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Best Case Time Complexity&lt;/strong&gt;: This is the least number of time an operation needs to be completed&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We should keep in mind that time complexity is not the actual amount of time taken by the machine on which the algorithm is running.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aT8YGalq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pmh3krqo2t8wd3pknhid.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aT8YGalq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pmh3krqo2t8wd3pknhid.png" alt="Image description" width="880" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Space Complexity
&lt;/h2&gt;

&lt;p&gt;Space complexity is basically the total space used by an algorithm with respect to the input size. It includes both auxiliary space (i.e., the temporary space used during the execution of an algorithm) and the space used by the input.&lt;/p&gt;

&lt;p&gt;It is important to remember that space complexity depends on a variety of factors like the programming language used, the compiler or even the machine running the algorithm.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xX8vfe-2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sl7nmx2rrwa5ooqdpz90.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xX8vfe-2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sl7nmx2rrwa5ooqdpz90.png" alt="Image description" width="313" height="214"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In simpler terms, given the size of the input, the number of steps the algorithm will need to perform to be completed is the time complexity and the amount of storage the algorithm requires while working, I.e., performing all those steps is the space complexity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why do time and space complexity matter?
&lt;/h2&gt;

&lt;p&gt;In a real world scenario, programmers and developers are bound by the physical constraints of the device they intend to run their applications on and this is where time and space complexity become important. We don’t want an algorithm that exceeds the amount of usable  space a system has at any given point. At the same time, we also don’t want the algorithm to take so long that the application gets slowed down.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yJKazg3B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4qghpv3unoqlfalzmw25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yJKazg3B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4qghpv3unoqlfalzmw25.png" alt="Image description" width="880" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Neither of the two are more important than the other and the key to writing efficient codes is finding the balance between the two. Since space is reusable it is sometimes smarter to use more space to speed up the algorithm. But at the same time using too much space will eventually slow down the application because the total amount of space is fixed for any hardware. So, your algorithms should not have a very high time complexity but should also not have an absurdly high space complexity.&lt;/p&gt;

&lt;p&gt;~Mijo&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>computerscience</category>
      <category>algorithms</category>
    </item>
    <item>
      <title>C++ Projects: From Beginners to Advanced</title>
      <dc:creator>Crazy Codigo</dc:creator>
      <pubDate>Sun, 10 Jul 2022 14:31:13 +0000</pubDate>
      <link>https://dev.to/crazycodigo/c-projects-from-beginners-to-advanced-46j6</link>
      <guid>https://dev.to/crazycodigo/c-projects-from-beginners-to-advanced-46j6</guid>
      <description>&lt;h3&gt;
  
  
  By Shivpreet Padhi
&lt;/h3&gt;

&lt;p&gt;C++ is one of the most powerful languages in the world of devs. Hence, it may be slightly tricky to wrap your head around. The trick to mastering any language is... (drum rolls) practice!! &lt;/p&gt;

&lt;p&gt;And projects are the best way to practice.&lt;/p&gt;

&lt;p&gt;When I was introduced to C++ in 11th grade the learning curve was steep, until I did a big project on my own. This is probably the story of every person who fell in love with coding.&lt;/p&gt;

&lt;p&gt;Projects teach you new concepts, bug fixing, exception handling, and spice up your learning experience. &lt;/p&gt;

&lt;p&gt;So here, in this very blog, I have listed out some exciting C++ projects from beginners to advanced.&lt;/p&gt;

&lt;p&gt;Happy coding :)&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Management system:
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Level: Beginner
&lt;/h3&gt;

&lt;p&gt;Management systems are a very essential part of the functioning of an organization. Most of these systems are written in C++ because of its efficiency, speed and security. &lt;br&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%2Fia06ex38s6i2u9y5mx9o.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%2Fia06ex38s6i2u9y5mx9o.png" alt="Management Systems"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The idea is simple, you need to maintain organizational records. It can be:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hotel management system&lt;/strong&gt;: Track customer details, room vacancies and payments.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hospital management system&lt;/strong&gt;: Track patient details, staff details, bed availability, and appointments.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Library management system&lt;/strong&gt;: Track book issues, reading room books, readers entry and exit details, and new book purchase details.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It may be a beginner level project, however you can add your own touch to it and make it advanced as well. &lt;/p&gt;

&lt;p&gt;Concepts used:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- File handling
- Functions
- Structures
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Games:
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Level: Intermediate
&lt;/h3&gt;

&lt;p&gt;As someone who loves gaming, the idea of recreating iconic games using C++ was very fascinating. So, I set on a journey to create all  my favorite arcade games which do not require very high conceptual knowledge.&lt;/p&gt;

&lt;p&gt;This project is intermediate not because of the concepts used, but the logic applied. &lt;/p&gt;

&lt;p&gt;For starters it can be a terminal game. However, you can add external window  and make it a fully fledged game. But of course, there are more efficient ways to do that.&lt;/p&gt;

&lt;p&gt;Game ideas you can do this very moment:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tic Tac Toe&lt;/li&gt;
&lt;li&gt;Snake game&lt;/li&gt;
&lt;li&gt;Google offline game&lt;/li&gt;
&lt;li&gt;Pin ball&lt;/li&gt;
&lt;li&gt;Tetris&lt;/li&gt;
&lt;/ul&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%2Fjy5ivw4gbd7gspldabgb.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%2Fjy5ivw4gbd7gspldabgb.png" alt="tic tac toe"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Concepts used:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- C++ STL (standard template library)
- Structures
- Class
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Fun fact: All the high level games are made using game engines whose core is C++.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Rubik's cube solver:
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Level: Advanced
&lt;/h3&gt;

&lt;p&gt;I learnt to solve a cube when I was in 6th grade. One random day of surfing YouTube videos, I saw someone write an algorithm for the same. It was very exciting to discover just how much you can do with C++.&lt;br&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%2Fhqsfe7t4j30p5p2g60sy.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%2Fhqsfe7t4j30p5p2g60sy.png" alt="Rubik's Cube"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Concepts used:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- Open GL
- C++ STL
- Classes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If any of you guys actually make it, connect with me over discord on the &lt;a href="https://discord.gg/GejKJACMHw" rel="noopener noreferrer"&gt;Crazy Codigo server&lt;/a&gt; because I would be very interested in the code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;I have tried creating a list of C++ projects you can try out. Personally, I believe that working on a specific project makes it easier to learn a language rather than trying to learn every aspect one at a time.&lt;/p&gt;

&lt;p&gt;As for those of you wondering, I am one of the new guys writing blogs for Crazy Codigo as J mentioned in the &lt;a href="https://dev.to/crazycodigo/5-simple-projects-for-python-beginners-4p32"&gt;previous blog&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;That’s all for this one. &lt;a href="https://linktr.ee/crazycodigo" rel="noopener noreferrer"&gt;Follow us&lt;/a&gt; on all socials to stay updated about when we put out new content.&lt;/p&gt;

&lt;p&gt;Cya!&lt;/p&gt;

&lt;p&gt;~ Shiv&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>codenewbie</category>
      <category>programming</category>
      <category>computerscience</category>
    </item>
  </channel>
</rss>
