<?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: Robert Lynch</title>
    <description>The latest articles on DEV Community by Robert Lynch (@r3b00t).</description>
    <link>https://dev.to/r3b00t</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%2F592620%2F5b33f761-c996-472e-8bcb-5ca64d7e3107.jpeg</url>
      <title>DEV Community: Robert Lynch</title>
      <link>https://dev.to/r3b00t</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/r3b00t"/>
    <language>en</language>
    <item>
      <title>Most commonly used JavaScript methods</title>
      <dc:creator>Robert Lynch</dc:creator>
      <pubDate>Thu, 22 Dec 2022 18:56:34 +0000</pubDate>
      <link>https://dev.to/r3b00t/most-commonly-used-javascript-methods-36cd</link>
      <guid>https://dev.to/r3b00t/most-commonly-used-javascript-methods-36cd</guid>
      <description>&lt;h2&gt;
  
  
  There are many commonly used JavaScript methods, as the language has a large and comprehensive standard library. Some of the most commonly used methods include:
&lt;/h2&gt;






&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to log messages to the console. It is often used for debugging and testing purposes.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;document.getElementById()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to retrieve an element from the DOM (Document Object Model) by its unique ID.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;array.forEach()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to iterate over the elements of an array and perform a specific action on each element.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string.split()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to split a string into an array of substrings based on a specified delimiter.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string.replace()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to replace a specified value in a string with another value.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Math.random()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to generate a random number between 0 (inclusive) and 1 (exclusive).&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;array.sort()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to sort the elements of an array in place, according to their natural sort order or a custom sort function.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;array.map()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to create a new array by performing a specific action on each element of the original array.&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;object.hasOwnProperty()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to check if an object has a specific property defined directly on it (as opposed to inherited from its prototype).&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string.trim()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This method is used to remove leading and trailing white space from a string.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;These are just a few examples, but there are many other commonly used methods in the JavaScript language.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For a complete list check out the &lt;a href="https://developer.mozilla.org/" rel="noopener noreferrer"&gt;Mozilla Developers Network&lt;/a&gt;&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>Learning to code for beginners</title>
      <dc:creator>Robert Lynch</dc:creator>
      <pubDate>Thu, 15 Dec 2022 11:24:45 +0000</pubDate>
      <link>https://dev.to/r3b00t/learning-to-code-for-beginners-44ko</link>
      <guid>https://dev.to/r3b00t/learning-to-code-for-beginners-44ko</guid>
      <description>&lt;p&gt;Learning to code can be a rewarding and challenging experience. With the right resources and mindset, anyone can learn how to program and create their own software, websites, and applications.&lt;/p&gt;

&lt;p&gt;If you are new to coding, the first step is to choose a programming language to learn. There are many popular languages to choose from, each with their own strengths and uses. Some popular options for beginners include Python, JavaScript, and Java.&lt;/p&gt;

&lt;p&gt;Once you have chosen a language, it's time to start learning the basics. There are many online resources, tutorials, and courses that can help you get started. Some popular options include Codecademy, Khan Academy, and Coursera.&lt;/p&gt;

&lt;p&gt;In addition to online resources, there are also many books and guides that can help you learn to code. These can be a great way to supplement your online learning and help you understand the concepts in more depth. Some popular books for beginners include "Learn Python the Hard Way" and "JavaScript for Beginners".&lt;/p&gt;

&lt;p&gt;As you learn the basics of your chosen language, it's important to practice and apply what you have learned. This can help you develop your skills and build your confidence. One way to do this is by completing coding challenges and exercises on sites like HackerRank and Code Wars.&lt;/p&gt;

&lt;p&gt;Another way to practice and learn is by working on small projects. This can be anything from a simple program that prints "Hello, World!" to a more complex application or website. As you work on your projects, you will learn new concepts and techniques, and you can also share your work with others to get feedback and help.&lt;/p&gt;

&lt;p&gt;Learning to code can be a rewarding and challenging journey. With the right resources and mindset, you can learn the skills you need to create your own software and applications. Whether you want to build your own website, create a new app, or just learn more about how computers work, learning to code can open up new opportunities and possibilities.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Type Conversion.</title>
      <dc:creator>Robert Lynch</dc:creator>
      <pubDate>Fri, 08 Apr 2022 17:15:48 +0000</pubDate>
      <link>https://dev.to/r3b00t/type-conversion-3c3i</link>
      <guid>https://dev.to/r3b00t/type-conversion-3c3i</guid>
      <description>&lt;h2&gt;
  
  
  Type Conversion
&lt;/h2&gt;

&lt;p&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;Implicit&lt;/u&gt;&lt;/strong&gt;: byte b = 1; //takes 1 byte of memory&lt;br&gt;
         int i = b;  //integer takes 4 bytes&lt;br&gt;
         (you can copy a byte into an int, but not &lt;br&gt;
          an int into a byte). // won't Compile&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;Explicit&lt;/u&gt;&lt;/strong&gt;: float f = 1.0f;&lt;br&gt;
         int i = (int)f;(casting)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;Conversion between non-compatible types&lt;/u&gt;&lt;/strong&gt;:&lt;br&gt;
         string s = "1";&lt;br&gt;
         int i = Convert.ToInt32(s)&lt;br&gt;
         int j = int.Parse(s);  &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Convert Methods():Examples&lt;/u&gt;&lt;/strong&gt; &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;         ToByte() //To convert to a byte
         ToInt16() //To convert to a 16 "Short"
         ToInt32() //To convert to a 32 "int"
         ToInt64() //To convert to a 65 "Long"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>csharp</category>
      <category>dotnet</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>High demand for devs, Grueling hiring process.</title>
      <dc:creator>Robert Lynch</dc:creator>
      <pubDate>Sun, 28 Nov 2021 16:00:07 +0000</pubDate>
      <link>https://dev.to/r3b00t/high-demand-for-devs-grueling-hiring-process-27hg</link>
      <guid>https://dev.to/r3b00t/high-demand-for-devs-grueling-hiring-process-27hg</guid>
      <description>&lt;p&gt;Given the latest data on the demand for software Developers, I'm curious why companies don't fast track the interview/hiring process.&lt;br&gt;
Or even offer on the job training for entry level/junior Developers who show potential&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkys73p2x2rllq7ebrewf.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkys73p2x2rllq7ebrewf.jpg" alt="Image description" width="800" height="790"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
      <category>hiring</category>
    </item>
    <item>
      <title>Happy Birthday Linux!</title>
      <dc:creator>Robert Lynch</dc:creator>
      <pubDate>Sat, 17 Apr 2021 15:28:56 +0000</pubDate>
      <link>https://dev.to/r3b00t/happy-birthday-linux-4g9o</link>
      <guid>https://dev.to/r3b00t/happy-birthday-linux-4g9o</guid>
      <description>&lt;p&gt;Happy Birthday Linux. I installed you and never looked back. Special thanks to Linus Torvalds and all the Dev's who have contributed over the years. You are very much appreciated. &lt;/p&gt;

</description>
      <category>linux</category>
      <category>opensource</category>
      <category>cybersecurity</category>
      <category>hacking</category>
    </item>
  </channel>
</rss>
