<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Roberto on Medium]]></title>
        <description><![CDATA[Stories by Roberto on Medium]]></description>
        <link>https://medium.com/@roberto.cyberkid?source=rss-53e84945a57------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*N6NiRgiWU5OsmueegzOXDQ.png</url>
            <title>Stories by Roberto on Medium</title>
            <link>https://medium.com/@roberto.cyberkid?source=rss-53e84945a57------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 21:19:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@roberto.cyberkid/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why you should care about the xz exploit]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://infosecwriteups.com/why-you-should-care-about-the-xz-exploit-7144ca210160?source=rss-53e84945a57------2"><img src="https://cdn-images-1.medium.com/max/2600/0*ZjbYeyGteoH7zzi4" width="7952"></a></p><p class="medium-feed-snippet">The greatest backdoor there never was: CVE-2024&#x2013;3094</p><p class="medium-feed-link"><a href="https://infosecwriteups.com/why-you-should-care-about-the-xz-exploit-7144ca210160?source=rss-53e84945a57------2">Continue reading on InfoSec Write-ups »</a></p></div>]]></description>
            <link>https://infosecwriteups.com/why-you-should-care-about-the-xz-exploit-7144ca210160?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/7144ca210160</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Wed, 10 Apr 2024 13:22:01 GMT</pubDate>
            <atom:updated>2024-04-12T03:35:03.995Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building a game in Solid.js]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/geekculture/building-a-game-in-solid-js-65fb7d0b22d6?source=rss-53e84945a57------2"><img src="https://cdn-images-1.medium.com/max/1390/1*8Vm3XPd4A-BCZoBBiUT8bg.png" width="1390"></a></p><p class="medium-feed-snippet">Simple game development on the web</p><p class="medium-feed-link"><a href="https://medium.com/geekculture/building-a-game-in-solid-js-65fb7d0b22d6?source=rss-53e84945a57------2">Continue reading on Geek Culture »</a></p></div>]]></description>
            <link>https://medium.com/geekculture/building-a-game-in-solid-js-65fb7d0b22d6?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/65fb7d0b22d6</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Mon, 08 Apr 2024 12:31:57 GMT</pubDate>
            <atom:updated>2024-04-08T12:31:57.594Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[5 Concepts Every Brand New Programmer Needs to Know]]></title>
            <link>https://medium.com/geekculture/5-concepts-every-brand-new-programmer-needs-to-know-704574c0144d?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/704574c0144d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Mon, 18 Dec 2023 17:31:34 GMT</pubDate>
            <atom:updated>2023-12-18T17:31:34.731Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rN6y3ITU9CgutsTv" /><figcaption>Photo by <a href="https://unsplash.com/@dbmartin00?utm_source=medium&amp;utm_medium=referral">David Brooke Martin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So, you just got started with programming? Every programming language is different, but there are many concepts that are universally shared among them. Learning about these basic concepts — <strong>variables, operators, conditionals, functions, and common data structures</strong> — will greatly improve your coding skills!</p><h4>Variables</h4><p>What is a variable? In simplest terms, this is some value that has a name.</p><pre># example Python code<br>message = &quot;Hello world&quot;</pre><p>In the above example, we declare a variable called message in Python which stores the value &quot;Hello world&quot; . Now, it is possible use the stored value by referencing the variable message . A good analogy I remember being taught was the concept of variables as cups. You can imagine the variable message being a cup and you’ve poured the liquid Hello world into it. This is helpful because now we don’t have to go around saying writing Hello world everywhere; we can just reference our variable message , and our code will know what we’re referring to.</p><p>Variables are called “variable” because you can change their value — just like how you can change what liquid a cup is holding. In the example below, we can take our variable message and change it from saying Hello world to Goodbye world .</p><pre># Python code<br>message = &quot;Hello world&quot;<br><br>print(message) # Outputs --&gt; Hello world<br> <br>message = &quot;Goodbye world&quot; <br>print(message) # Outputs --&gt; Goodbye world</pre><p>In almost all programming languages, the value you assign to a variable has a designated “type”. For example, the value &quot;Hello world&quot; is generally of type string or str . The most basic types are often referred to as “primitives” as well since they make up other types. Here are some common types:</p><ul><li>Boolean or bool — holds the value True or False</li><li>Various Numbers (integers, floats, doubles, etc.) — hold numeric values</li><li>Char — holds a single text character value</li><li>String or str — holds text</li></ul><p>Why do we have different types? It boils down to making it easier for the computer to interpret what a value is supposed to be. Remember that at the lowest level, all a computer really understands is binary code, which are all 1’s and 0’s, and in order to make it easier to translate human-readable code to 1’s and 0’s, types exist. Once you’re more comfortable with general types in your programming language, you can learn how to optimize or choose the right variable types <em>(for example, choosing between a signed vs. unsigned integers of 32 vs. 64 bits)</em>, but these are problems for a later date!</p><p>Some languages are stricter than others in terms of how you use variables and types. In Python and JavaScript, you can declare a variable of a string type and then change it to be an integer type. These type of languages are sometimes referred to as “untyped,” “dynamically typed,” or “weakly typed.”</p><pre># Python example<br>message = &quot;this is a str&quot; # declaring a str<br>message = 5 # changing str to be an int</pre><p>This is in contrast with “typed,” “statically typed,” or “strictly typed” languages, such as Go and Java. In these languages, once you declare a variable of a certain type, you can only modify it as a value of the same type.</p><pre>// Go example <br>message := &quot;this is a string&quot; <br>message = 5 // Will NOT compile or run, Error</pre><p>Going back to the cup analogy, in a dynamically typed language, you can use the same cup to hold coffee, water, wine, beer, etc,. — it doesn’t matter. In a statically typed language, you can only use a coffee cup to hold coffee, a wine glass to hold wine, beer mug to hold beer, and so on.</p><p>Now, there are some variables that we don’t want to ever update; we want to keep the value the same the entire time, or “constant.” These “consts” cannot change value once they’re declared — they are cups that once you pour something in, you can’t pour anything new in or out of the cup. There are different ways of declaring constants in different languages, as shown below.</p><pre>MESSAGE = &quot;I cannot change&quot; # Python example<br><br>const message = &quot;I cannot change&quot;; // JavaScript example<br><br>const message = &quot;I cannot change&quot; // Go example <br><br>let message = &quot;I cannot change&quot; // Swift example</pre><p>The last fundamental for variables — scopes — we will talk about once we get to functions.</p><h4>Operators</h4><p>What is an operator? An operator is a symbol or character that represents some process or action on some value.</p><p>The first operator type we’ve actually already used is called <strong>assignment</strong>. This is most commonly the = sign. The variable on the left hand side will be “assigned” the value of the right hand side.</p><pre># Python code<br>x = 5</pre><p>The next type of operator is called an <strong>arithmetic</strong> operator. These perform your common math operations, such as addition, subtraction, multiplication, exponents, division, and modulo/remainder. This operator type will return a number value.</p><pre># Python code<br>1 + 2  # addition symbol &quot;+&quot; - value is 3 <br>3 - 1  # subtraction symbol &quot;-&quot; - value is 2<br>3 * 2  # multiplication symbol &quot;+&quot; - value is 6<br>3 ** 2 # exponent symbol &quot;**&quot; - value is 9 <br>10 / 2 # division symbol &quot;+&quot; - value is 5<br>13 % 4 # modulo symbol &quot;%&quot; - value is 1</pre><p>The only new concept you may not have seen before in the above is the modulo symbol. This essentially divides the first number by the second number and returns the integer remainder value (i.e 13 % 1 is 0 since 13 divided by 1 has no remainder, 13 % 2 is 1 since 13 divided by 2 has a remainder of 1, and so on).</p><p>In some languages, such as Python, there exists a combination of assignment and arithmetic operators, where you are assigning and doing arithmetic at the same time.</p><pre># Python code<br>x = 5    # assigning to x the value 5<br>x *= 2   # assigning to x the value of x * 2<br># x currently equals 10, since 5 * 2 = 10 <br><br>x += 1   # assigning to x the value of x + 1<br># x currently equals 11, since 10 + 1 = 11</pre><p>The next type of operator is called a <strong>comparison</strong> operator. These operators “compare” two values.</p><pre># Python code<br>x = 5    <br>y = 10 <br><br>x == y     # false<br>x != y     # true --&gt; the &quot;!&quot; sign is usually negates statements<br>x &lt; y      # true<br>x &lt;= y     # true<br>x &gt; y      # false <br>x * 2 &gt;= y # true</pre><p>The entire statement using a comparison operator (i.e x == y ) is often called a <strong>condition</strong>. The entire condition will return true or false depending on if the comparison being made is true or false. You can combine these conditions together using <strong>logical operators.</strong> These are usually thought of as the conjunctions AND and OR, and also the special word NOT.</p><p>If we combine two conditions with an AND (usually the &amp;&amp; symbol or and ), then they both must be true in order for the combined conditions to return true. If either is false, then the entire condition is false.</p><p>If we combine two conditions with an OR (usually the || symbol or or ), then they if either condition is true, the entire condition is true. If both are false, then the entire condition is false.</p><p>The NOT operator (usually the ! symbol) is less of a conjunction and more just a modification to a condition. For example, the condition 5 &gt; 3 returns true, but the condition !(5 &gt; 3) returns false because the negation (or opposite) of 5 &gt; 3 is 5 &lt;= 3 , which is false.</p><p>The last type of operator that you should at least know exists are called bitwise operators. These operate on values at the bit level. Once you understand more about binary and how values are represented to the computer, you should read <a href="https://medium.com/swlh/an-illustrated-guide-to-bitwise-operators-60b1b1ad5ac">this article</a> that does a good job of describing these operators.</p><h4>Conditionals</h4><p>We’ve already talked about conditionals, and conditional statements are simply an extension of that. These conditional statements are the backbone of making the computer do a certain thing in certain cases.</p><p>The most common conditional statement is and <strong>if/else statement</strong>. These work very similarly to how they do in English: If it is cold outside, wear a coat. Else, wear a shirt. In this statement, if the condition cold outside is true, we’ll wear a coat, and if the condition is false, we’ll wear a shirt. If this were code, it’d look something like:</p><pre># Python code <br>if weather == &quot;cold&quot;: <br>  print(&quot;wear a jacket&quot;)<br>else: <br>  print(&quot;wear a shirt&quot;)</pre><p>If/else statements can have multiple parts to it that will check in the order you put them. These parts can be used using else if logic.</p><pre># Python code <br><br>if weather == &quot;cold&quot; : <br>  print(&quot;wear a jacket&quot;)<br>elif weather == &quot;hot&quot;: <br>  print(&quot;wear a bathing suit&quot;)<br>else: <br>  print(&quot;wear a shirt&quot;)</pre><p>In the above example, first we check if it’s cold. If it is cold, then we wear a jacket. If it is not cold, then we check if it’s hot. If it is hot, then we wear a bathing suit. If all else is not true, then we wear a shirt.</p><p>An extremely similar concept to if-else statements is <strong>switch</strong> statements. I’ve heard these called slightly less intuitively so let’s take a look at the following example that uses an equivalent if/else and switch statement.</p><pre>// Go code<br>// If/else statement <br>if x == 1 {<br>  fmt.Println(&quot;x equals 1&quot;)<br>} else if x == 2 {<br>  fmt.Println(&quot;x equals 2&quot;)<br>} else { <br>  fmt.Println(&quot;x is not 1 or 2&quot;)<br>}<br><br>// switch statement<br>switch x {<br>case 1: <br>  fmt.Println(&quot;x equals 1&quot;)<br>case 2: <br>  fmt.Println(&quot;x equals 2&quot;)<br>default: <br>  fmt.Println(&quot;x is not 1 or 2&quot;)<br>}</pre><p>Both of the above ways of evaluating the value of x result in the same behavior. This would generally be considered a good time to use a switch statement over an if/else statement because the conditional statements are looking at a single variable. In most cases, if you can use a switch statement, there is a slight performance boost due to the way the code compiles, which is when your code gets into machine instructions. However, there is no right or wrong way to do something like this, but it’s important to know it exists!</p><p>The last type of conditional you should be familiar with is <strong>for-loops </strong>and, by extension, <strong>while-loops </strong>(pro-tip, these are also called <strong>iterative</strong> loops).<strong> </strong>This last conditional is arguably what allows us to truly benefit from writing code. In for loops, your code will execute “for” a certain number of times. In while loops, your code will execute “while” a certain condition is true. Let’s take a look at the 3 examples: one using no loops, one using a for-loop, and one using a while-loop.</p><pre>// JavaScript code <br><br>// No loops <br>let x = 0; <br>x += 10;<br>x += 10; <br>x += 10; <br>x == 30; // True <br><br>// For loop <br>let x = 0;<br>for (let i=0; i &lt; 3; i++) {<br>   x += 10<br>}<br>x == 30; // True <br><br>// While loop <br>let x = 0; <br>while x &lt; 30 {<br>  x += 10<br>}<br>x == 30; // True</pre><p>In the no loops example, we manually write out x+=10 3 times, giving us a result of 30. This might seem fine when you only have to write it out 3 times, but what happens if you need to do it 5, 10, 100, or 10000000 times? That would be crazy.</p><p>In the for loop, we also do the operation x+=10 3 times. Let’s break down the for loop. The first statement let i=0 is declaring a variable i equal to 0. The second statement i&lt;3 is declaring the condition we will run the for loop under; the for loop will execute while i is less than 3. The last statement i++ is saying that at the end of each loop, we will add one to i . So to recap what is happening from beginning to end on the for loop:</p><pre>Loop 1: i = 0 (less than 3) -&gt; add 10 to x -&gt; add 1 to i<br>Loop 2: i = 1 (less than 3) -&gt; add 10 to x -&gt; add 1 to i<br>Loop 3: i = 2 (less than 3) -&gt; add 10 to x -&gt; add 1 to i<br>STOP because i = 3 which is not less than 3. </pre><p>In the while loop, we also do the operation x+=10 3 times. We declare our condition x &lt; 30 , and while that is true, we will continue to loop.</p><pre>Loop 1: x = 0, which means x &lt; 30 -&gt; add 10 to x<br>Loop 2: x = 10, which means x &lt; 30 -&gt; add 10 to x<br>Loop 3: x = 20, which means x &lt; 30 -&gt; add 10 to x<br>STOP because x = 30, which means x is not less than 30. </pre><p>When do you want to use for loops versus while loops? Like the switch statements versus if/else statements, there is no right or wrong answer. Generally, you want to use for loops when you know the specific amount of times you want to run the loop, and on the flip side, while loops can be more intuitive when you don’t necessarily know how many loops you need to meet a certain condition.</p><h4>Functions</h4><p>What is a function? A function is essentially some sort of defined, packaged piece of code. It essentially allows us to repeat our code multiple times without having to rewrite it when we want it to execute.</p><p>Let’s say you want to do the following operation each time you get a value x to get a y : y = x^2 + 20x — 15 . You could do the following:</p><pre>// JavaScript code <br>const X1 = 1; <br>const X2 = 2; <br>const X3 = 3; <br><br>const Y1 = X1**2 + 20*X1 - 15; <br>const Y2 = X2**2 + 20*X2 - 15;<br>const Y3 = X3**2 + 20*X3 - 15;</pre><p>Again, imagine you had to do this 100 times. Each time you write it, you could make a mistake, and it also wastes a bunch of time. You could replace this with a function.</p><pre>// JavaScript code <br>function ourFunction(x) {<br>  return x**2 + 20*x - 15; <br>}<br><br>const X1 = 1; <br>const X2 = 2; <br>const X3 = 3; <br><br>const Y1 = ourFunction(X1); <br>const Y2 = ourFunction(X2);<br>const Y3 = ourFunction(X3);</pre><p>Now, we’ve declared a function ourFunction that takes in a parameter x , does our x^2 + 20x — 15 math, and then returns that value. It makes it very easy to do it to any value we want without having to rewrite it. That’s the basics of functions.</p><p>In the above case, since we’re returning a value, we can call it a <strong>value-returning</strong> function. If we don’t return a value, then we call those <strong>void functions, </strong>or<strong> </strong>non-value returning functions. For example:</p><pre>// JavaScript code<br>function printValue(x) {<br>  const y = x**2 + 20*x - 15;<br>  console.log(y);<br>}<br><br>const y = printValue(1); <br>y == undefined; // true! </pre><p>Now, if we call printValue , we do the same math, but now we just print out the value and don’t return anything. We would see in the console 5 printed out, and y == undefined is true since printValue(1) doesn’t return a value.</p><p>In the above cases, we gave our function some <strong>parameter</strong> x . This is a parameter that the function uses to do some behavior. You can list as many as you want for your function, or none at all!</p><p>Next, we can have something called an <strong>anonymous function.</strong> This is a more advanced topic, but essentially these are functions that don’t have names. The proper usecase for these is highly debated (check out this <a href="https://stackoverflow.com/questions/10273185/what-are-the-benefits-to-using-anonymous-functions-instead-of-named-functions-fo">stackoverflow article</a> haha), but generally, these can be useful to do some operation once.</p><p>The last topic for functions is <strong>scopes</strong>! This is also slightly a more advanced topic, and the rules slightly vary from language to language, but this might cause a headache when you’re first starting. Generally speaking, variables are scoped to wherever they’re declared. If they are declared outside of any functions, they are called <strong>global </strong>variables, and can be accessed from wherever in the code. If a variable is declared within a function, they are generally called <strong>local</strong> variables and CANNOT be accessed outside of the scope they were declared in (for most programming languages).</p><pre># Python code<br>x = 10 # global variable <br><br><br>def printFunc:  # this is how you declare a function in python<br>  y = 10  # local variable<br>  print(y+x)<br> <br>printFunc() # prints out 20 <br><br>print(y+x) # ERROR ERROR ERROR </pre><p>In the above code, you’ll get an error on the print(y+x) line because at that point, y is undefined as it was only defined inside the printFunc function. Double check the scope of your variables in case you get this issue!</p><h4>Common Structures</h4><p>Everything we’ve done so far has been using only primitive types, but hat are some of the most common data structures you can use to enhance your programming? <strong>Arrays</strong> and <strong>maps</strong>! There are many others (see <a href="https://towardsdatascience.com/8-common-data-structures-every-programmer-must-know-171acf6a1a42">this article</a> if you’re feeling adventurous) , but if you’re just getting started, these two will help start to make things easier.</p><p>You can think of arrays as a list of values held together in a fixed-length structure. In most programming languages, the values in an array are of the same type (i.e all integers, all floats, all strings), with JavaScript being a notable exception. Arrays are synonymous with open and closed square brackets [] .</p><p>In the above functions example, I declared the x values individually.</p><pre>// Previous code without array. <br>const X1 = 1; <br>const X2 = 2; <br>const X3 = 3;<br><br>// Using array<br>const xValues = [1, 2, 3]; </pre><p>Now, we have our x values grouped together. How am I supposed to now access the value 1 ? Arrays are <strong>indexable </strong>which means they are indexed with their position in the array. Most programming languages are zero-indexed, which means the first element in the array is at position 0. So in the above case xValues[0] == 1 , xValues[1] == 2 , and xValues[2] == 3 . Different programming languages have different functionalities on how they treat/call arrays, but most of them share similarities in how to get the length of an array, indexing, adding/removing elements to an array, finding elements within an array, and iterating through an array.</p><p>Maps (also called dictionaries) are a different type of data structure found in most programming languages. Dictionaries are a good way of thinking about them. In maps, you can have some <strong>key</strong> that maps to some <strong>value. </strong>Like a dictionary — where the key would be a word, and the value would be the definition. Maps are very useful when there is more semantic meaning rather than indexing via arrays.</p><pre># Python code<br>ourDict = {<br>  &quot;author&quot;: &quot;Roberto&quot;,<br>  &quot;website&quot;: &quot;Medium&quot;,<br>}<br><br>print(ourDict[&quot;author&quot;]) # Outputs &quot;Roberto&quot;<br>print(ourDict[&quot;website&quot;]) # Outputs &quot;Medium&quot;<br>print(ourDict[&quot;random&quot;]) # ERROR!</pre><p>Now, you don’t have to group everything into an array or a map, but they can be useful when you need them!</p><h3>Summary</h3><p>These are 5 concepts I think are very important and will allow you to do many cool things with programming. There are many more important concepts to know to become a good programmer — both in terms the theory/concepts of how things actually work (i.e what happens when I go to google.com ? How does my browser know what to do?) and in terms of how to make more useful code (i.e algorithms, more data structures, etc.), but you need to start somewhere!</p><p>If you’re looking to learn more information, or hire me for tutoring/contracting services, please consider contacting me at <strong>roberto@tidallabs.io</strong>, following me on Medium, <a href="https://www.buymeacoffee.com/robertocyberkid">buying me a coffee</a>, following me on <a href="https://twitter.com/CyberKidLama">twitter</a>, or connecting with me on <a href="https://www.linkedin.com/in/roberto-lama-9a126a123/">LinkedIn</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=704574c0144d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/5-concepts-every-brand-new-programmer-needs-to-know-704574c0144d">5 Concepts Every Brand New Programmer Needs to Know</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zero-Experience Coder]]></title>
            <link>https://medium.com/geekculture/zero-experience-coder-85e5f0dfcc04?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/85e5f0dfcc04</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Sun, 26 Nov 2023 20:39:42 GMT</pubDate>
            <atom:updated>2023-11-27T01:17:29.245Z</atom:updated>
            <content:encoded><![CDATA[<h3>What’s the first programming language should I learn?</h3><h4>How to choose your first programming language</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ihUXqeHgiLjPvVMB" /><figcaption>Photo by <a href="https://unsplash.com/@cgower?utm_source=medium&amp;utm_medium=referral">Christopher Gower</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>“How do I start programming?” “I’ve always wanted to learn to code, but it seems too complicated,” “I don’t really know where to get started.” These are all types of phrases I hear from people all the time. Programming/coding can be very complicated indeed, but that’s why we have to start with the <strong>basics</strong>. Slowly, with time and experience (<em>like every other skill</em>), you can get good.</p><p>There isn’t a right or wrong way/path/structured guide to learn the art of coding — it all really depends on what you want to do. There are a ton of <strong>programming languages </strong>(<em>definition: a defined way/structure/notation of writing “instructions” for a computer. You can even build your own!</em>), and each one was created for a different reason.</p><blockquote>Why do you want to code?</blockquote><p>Depending on the answer to this question, we can find out what programming language you should probably start with. Once you understand programming fundamentals, you can learn other languages more quickly!</p><h3>“I want to learn to code in order to…”</h3><h4>…build websites and web apps.</h4><p>If this sounds like you, you should probably start out with <a href="https://www.javascript.com/"><strong>JavaScript</strong></a> (or JS for short). You’ll need to learn and understand other technologies such as <a href="https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/HTML_basics"><strong>HTML</strong></a> and <a href="https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics"><strong>CSS</strong></a> to actually build websites, but from the programming side of things, JS is where you should start.</p><p>JS is the scripting language of the web and is what allows a lot of the cool, modern web functionality to take place. It has a lot of interesting quirks other languages don’t have (<a href="https://github.com/denysdovhan/wtfjs">see here</a>), but it is a bonafide language with which you can learn the fundamentals. The first code I wrote was in JS.</p><h4>… build AI (artificial intelligence) models and do data science.</h4><p>AI has been around for a few decades, but if you’re trying to get in on the boom cycle of AI and ChatGPT we currently have, <a href="https://www.python.org/"><strong>Python</strong></a> is the language for you. I’m lumping in data science here as well since many of the underlying tools/concepts/use cases are very similar.</p><p>Python is considered one of the easiest programming languages to learn since it doesn’t feature a lot of syntax that can occasionally scare off beginners. You can easily learn all the programming fundamentals as with other languages. There are many easy-to-use libraries <em>(definition: code other people have written that you can leverage), </em>such as <a href="https://numpy.org/">NumPy</a>, that you will be able to learn quickly to build incredible things.</p><h4>… write scripts to do automation.</h4><p>Python here is the winner again… most of the time. There are other popular scripting languages, such as <a href="https://www.gnu.org/software/bash/"><strong>Bash</strong></a>, but many times this is dependent on what type of Operating System <em>(shortened: OS, definition: the most base layer software on your computer that helps manage the hardware and other software running).</em></p><p>Python can be used as a scripting language as well and can easily automate tasks such as deleting certain files, clicking buttons on a web page, and aggregating information. Automation and scripts can save a lot of time and manual effort when doing mundane tasks.</p><h4>… build physical devices (i.e Arduino/Raspberry Pi/etc).</h4><p>If you want to work with physical hardware or embedded systems, you’ll probably have to learn<strong> C/C++</strong>, which are generally considered more difficult to learn (<em>you’d get a lot of programmer street cred though</em>). C and C++ languages (<em>which are technically two different languages, although often referred to together</em>) are considered “<strong>low-level</strong>” programming languages, which give you more raw control over hardware and devices. They are “low-level” because they are “lower” to the bits and bytes, and there’s less in between. This is good for creating optimized, fast programs, but they usually have much larger learning curves than a “higher” level language, like Python, which abstracts a lot of that control away.</p><p>If you’re making some electronic gadget using an Arduino/Raspberry Pi or some other micro-controller, you’re probably going to have to learn some subset of C/C++. However, in some out-of-the-box micro controllers, like the Raspberry Pi, some other languages are also supported, such as Python! So, another option is to learn python first (again).</p><h4><strong>… make video games.</strong></h4><p>If you want to become a video game developer, it’ll depend on which game engine you want to build on. Traditionally, this is either C# or C++. <strong>C# </strong>is NOT the same as C or C++.</p><p>I haven’t really built too many video games, but Unreal Engine is known to use C#, and Unity is known to use C++. Here’s a more <a href="https://circuitstream.com/blog/c-vs-c-complete-comparison-between-unity-and-unreal-programming-languages">complete breakdown</a>.</p><h4><strong>… build iOS/macOS apps.</strong></h4><p>If you want to build ONLY iOS or macOS apps, then you should learn <a href="https://developer.apple.com/swift/"><strong>Swift</strong></a> as your first language.</p><p>Swift is Apple’s own modern programming language that is designed to work efficiently and cleanly with Apple products. If you investigate, you’ll see references to <strong>Objective C</strong>, an older programming language, but this language is no longer the standard for new development in Apple products. Swift doesn’t do much else outside of Apple products, but like the other languages here, it’s a good one to start on.</p><h4><strong>… build Android apps.</strong></h4><p>If you want to build Android apps, the traditional advice is to learn <a href="https://www.java.com/en/"><strong>Java</strong></a> since most apps on Android are built using it. Java formerly was the most popular programming language for developing sophisticated apps across many domains.</p><p>The new language to learn and start out with if you want to build Android apps is <a href="https://kotlinlang.org/docs/basic-syntax.html"><strong>Kotlin</strong></a>. Kotlin is a much more modern programming language and looks to be the future of Android app development.</p><h4>… become a software engineer.</h4><p>This is a tricky one since software engineers since technically software engineers can be hired to do a variety of the above. Depending on the job requirements or interests, it’s possible a software engineer might only be doing web development and therefore only really need to use JS (or it’s younger brother, <a href="https://www.typescriptlang.org/"><strong>TypeScript</strong></a>). These type of programmers are often called “frontend” engineers as they build software that you can see and interact with directly in a UI.</p><p>The other general characterization of software engineers is a “backend” engineer, who writes software that you don’t necessarily interact with directly <em>(note: a “full-stack” engineer works across frontend and backend)</em>. This is where a lot of computation/processing can occur, interaction with databases, and saving/retrieving information. There are many languages that you could learn here, but I think one of the easier ones would be <a href="https://go.dev/"><strong>Go</strong></a>. It’s a more modern language that is more readable and generally safer to use in the backend than some older languages <em>(PS: Python can also be used here).</em></p><h3>Summary</h3><p>There are many more pros and cons of a language than what I’ve summarized here and many of the languages I mentioned have significantly more use-cases than what I’ve mentioned, but when you’re first learning to code, don’t worry about that stuff until later.</p><p>If you’re still not sure what path you want to start on, then I’d suggest learning Python while you figure it out. Its ease of use plus its general versatility makes it a great first option. The other mentioned languages include:</p><ul><li>JavaScript (Web development section)</li><li>C/C++ (Embedded systems or gaming sections)</li><li>Swift (iOS/Apple)</li><li>C# (Gaming section)</li><li>Kotlin or Java (Android)</li><li>Go (Backend)</li></ul><p>If you’re looking to learn more information, or hire me for tutoring/contracting services, please consider contacting me at <strong>roberto@tidallabs.io</strong>, following me on Medium, <a href="https://www.buymeacoffee.com/robertocyberkid">buying me a coffee</a>, following me on <a href="https://twitter.com/CyberKidLama">twitter</a>, or connecting with me on <a href="https://www.linkedin.com/in/roberto-lama-9a126a123/">LinkedIn</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85e5f0dfcc04" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/zero-experience-coder-85e5f0dfcc04">Zero-Experience Coder</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Found My FIRST Vulnerability/Bug Bounty and How You Can Too: Part 1]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://infosecwriteups.com/how-i-found-my-first-vulnerability-bug-bounty-and-how-you-can-too-part-1-f2dd0b7d7665?source=rss-53e84945a57------2"><img src="https://cdn-images-1.medium.com/max/1024/1*jnKaUju7BKX0wO5afMRS8g.png" width="1024"></a></p><p class="medium-feed-snippet">How to start ethically hacking websites</p><p class="medium-feed-link"><a href="https://infosecwriteups.com/how-i-found-my-first-vulnerability-bug-bounty-and-how-you-can-too-part-1-f2dd0b7d7665?source=rss-53e84945a57------2">Continue reading on InfoSec Write-ups »</a></p></div>]]></description>
            <link>https://infosecwriteups.com/how-i-found-my-first-vulnerability-bug-bounty-and-how-you-can-too-part-1-f2dd0b7d7665?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2dd0b7d7665</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Sat, 17 Sep 2022 22:54:14 GMT</pubDate>
            <atom:updated>2022-09-19T07:01:51.255Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How I Found My FIRST Vulnerability/Bug Bounty and How You Can Too: Part 2]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://infosecwriteups.com/how-i-found-my-first-vulnerability-bug-bounty-and-how-you-can-too-part-2-2e8681f4e3b7?source=rss-53e84945a57------2"><img src="https://cdn-images-1.medium.com/max/1024/1*b1htFX-Uy2ieSGT-fol-Ag.png" width="1024"></a></p><p class="medium-feed-snippet">Simple hacks!</p><p class="medium-feed-link"><a href="https://infosecwriteups.com/how-i-found-my-first-vulnerability-bug-bounty-and-how-you-can-too-part-2-2e8681f4e3b7?source=rss-53e84945a57------2">Continue reading on InfoSec Write-ups »</a></p></div>]]></description>
            <link>https://infosecwriteups.com/how-i-found-my-first-vulnerability-bug-bounty-and-how-you-can-too-part-2-2e8681f4e3b7?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e8681f4e3b7</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[web-application-security]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Sat, 17 Sep 2022 22:53:42 GMT</pubDate>
            <atom:updated>2022-09-19T07:02:23.582Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Sometimes times the best hack is no hack at all — $2900 Shopify Bug Bounty]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://infosecwriteups.com/sometimes-times-the-best-hack-is-no-hack-at-all-2900-shopify-bug-bounty-38531b279c67?source=rss-53e84945a57------2"><img src="https://cdn-images-1.medium.com/max/2600/0*JBC8ZRklV_pU_Q2c" width="3840"></a></p><p class="medium-feed-snippet">Access control is key.</p><p class="medium-feed-link"><a href="https://infosecwriteups.com/sometimes-times-the-best-hack-is-no-hack-at-all-2900-shopify-bug-bounty-38531b279c67?source=rss-53e84945a57------2">Continue reading on InfoSec Write-ups »</a></p></div>]]></description>
            <link>https://infosecwriteups.com/sometimes-times-the-best-hack-is-no-hack-at-all-2900-shopify-bug-bounty-38531b279c67?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/38531b279c67</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Fri, 26 Aug 2022 07:58:16 GMT</pubDate>
            <atom:updated>2022-08-26T07:58:16.737Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[This SIMPLE trick will exploit image uploads - $2500 TikTok bug bounty.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://infosecwriteups.com/this-simple-trick-will-exploit-image-uploads-2500-tiktok-bug-bounty-41fc01128ee?source=rss-53e84945a57------2"><img src="https://cdn-images-1.medium.com/max/1000/1*_5yeoPC54yupPaf0KGJ_Pg.png" width="1000"></a></p><p class="medium-feed-snippet">Stored XSS in SVG files.</p><p class="medium-feed-link"><a href="https://infosecwriteups.com/this-simple-trick-will-exploit-image-uploads-2500-tiktok-bug-bounty-41fc01128ee?source=rss-53e84945a57------2">Continue reading on InfoSec Write-ups »</a></p></div>]]></description>
            <link>https://infosecwriteups.com/this-simple-trick-will-exploit-image-uploads-2500-tiktok-bug-bounty-41fc01128ee?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/41fc01128ee</guid>
            <category><![CDATA[web-applications]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Thu, 25 Aug 2022 11:22:09 GMT</pubDate>
            <atom:updated>2022-08-25T11:22:09.813Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Protect Against the Most Dangerous Web Application Security Risk]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/geekculture/how-to-protect-against-the-most-dangerous-web-application-security-risk-e3fe38555c2e?source=rss-53e84945a57------2"><img src="https://cdn-images-1.medium.com/max/982/1*oNFHiqaoQmUwHa07UPi0Xg.png" width="982"></a></p><p class="medium-feed-snippet">3 easy ways to prevent a data leak.</p><p class="medium-feed-link"><a href="https://medium.com/geekculture/how-to-protect-against-the-most-dangerous-web-application-security-risk-e3fe38555c2e?source=rss-53e84945a57------2">Continue reading on Geek Culture »</a></p></div>]]></description>
            <link>https://medium.com/geekculture/how-to-protect-against-the-most-dangerous-web-application-security-risk-e3fe38555c2e?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3fe38555c2e</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Sun, 21 Aug 2022 07:01:28 GMT</pubDate>
            <atom:updated>2022-08-21T07:01:28.137Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Create 4K Artwork using DALL·E 2]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@roberto.cyberkid/how-to-create-4k-artwork-using-dall-e-2-3a846acc53c0?source=rss-53e84945a57------2"><img src="https://cdn-images-1.medium.com/max/1024/1*wu9oY_9_8BOEiUovQQZmhw.png" width="1024"></a></p><p class="medium-feed-snippet">Don&#x2019;t be restricted by the default 1000x1000 pixel outputs.</p><p class="medium-feed-link"><a href="https://medium.com/@roberto.cyberkid/how-to-create-4k-artwork-using-dall-e-2-3a846acc53c0?source=rss-53e84945a57------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@roberto.cyberkid/how-to-create-4k-artwork-using-dall-e-2-3a846acc53c0?source=rss-53e84945a57------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a846acc53c0</guid>
            <category><![CDATA[artist]]></category>
            <category><![CDATA[digital-art]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[art]]></category>
            <category><![CDATA[dalle-2]]></category>
            <dc:creator><![CDATA[Roberto]]></dc:creator>
            <pubDate>Sat, 20 Aug 2022 02:18:00 GMT</pubDate>
            <atom:updated>2022-08-20T02:18:00.605Z</atom:updated>
        </item>
    </channel>
</rss>