<?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 Curtis O&#39;Dell on Medium]]></title>
        <description><![CDATA[Stories by Curtis O&#39;Dell on Medium]]></description>
        <link>https://medium.com/@curtisodell?source=rss-adfd50203aaf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xBN7cOwuwtcREGxC8XRuMQ.jpeg</url>
            <title>Stories by Curtis O&amp;#39;Dell on Medium</title>
            <link>https://medium.com/@curtisodell?source=rss-adfd50203aaf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 05:59:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@curtisodell/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[Encryptionyay]]></title>
            <link>https://medium.com/@curtisodell/encryptionyay-90aaa85977dd?source=rss-adfd50203aaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/90aaa85977dd</guid>
            <dc:creator><![CDATA[Curtis O'Dell]]></dc:creator>
            <pubDate>Thu, 19 Oct 2023 15:03:12 GMT</pubDate>
            <atom:updated>2023-10-19T15:03:12.922Z</atom:updated>
            <content:encoded><![CDATA[<p>Well before starting at Flatiron school I have dealt with the joys and hardships of encryption. From deciphering pig latin as a child on the playground to being party to adventures rife with secret keys and trap doors (the sort we find in some Nicholas Cage’s best-known work: National Treasure Book of Secrets).</p><p>When it comes to programming encryption is a key component for user privacy and site safety. Not all encryption is created equally though. There are several types that are common within web development. We’ll take a look at them and the common uses:</p><p><strong>Base64 —</strong> Commonly used within cookie sessions, Base64 encoding is like taking a computer’s binary data and converting it into plain text so that it can be easily shared and used in things like websites and emails. In web development, it’s often used to embed images and other data directly into web pages, making them load faster. While it’s not a form of encryption, it is worth an honorable mention. The data isn’t secret or protected; it’s just a way to make it more web-friendly.</p><p><strong>Advanced Encryption Standard (AES)</strong> — is like a super-secure lock for your digital information. It’s a widely-used method for scrambling data so that only someone with the right key can unscramble and read it. AES is like the gold standard of encryption, trusted by governments, banks, and anyone who needs to keep data safe. It works by transforming your data into a secret code that’s nearly impossible to crack without the correct key. AES is the reason your passwords and sensitive information stay secure when you shop online or send messages, ensuring that your digital secrets remain well-protected.</p><p><strong>Transport Layer Security (TLS) &amp; Secure Sockets Layer (SSL) —</strong> are like the bodyguards of the internet. They create a safe and private tunnel for your online communications. Imagine you’re sending a letter, and TLS/SSL is like putting it in an unbreakable envelope and sending it through a super-secret postal service. It makes sure your personal information, like credit card details or messages, are kept confidential and secure when you’re shopping, banking, or chatting online. It’s the reason you can trust that your data won’t be intercepted by snoops while it travels over the internet.</p><p>A cool aspect of TLS is the Handshake and Record protocols. In the first part, the Handshake Protocol is used to verify the connection is to the correct party. Like going on a date with your tinder match to make sure you aren’t being catfished. Now, the Record Protocol is where the actual secure communication happens (ooh la la). Once you’ve made sure the connection is valid you can exchange that smooch (err data)!</p><p>Overall learning about encryption methods is important for creating a safe and enjoyable online environment!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90aaa85977dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[back to basics: binary]]></title>
            <link>https://medium.com/@curtisodell/back-to-basics-binary-ff8668d80f25?source=rss-adfd50203aaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff8668d80f25</guid>
            <category><![CDATA[compilers]]></category>
            <category><![CDATA[binary]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Curtis O'Dell]]></dc:creator>
            <pubDate>Fri, 29 Sep 2023 15:35:18 GMT</pubDate>
            <atom:updated>2023-09-29T15:35:18.152Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eHdC8MmEccvb1fvt" /><figcaption>Photo by <a href="https://unsplash.com/@swimstaralex?utm_source=medium&amp;utm_medium=referral">Alexander Sinn</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I’ve worked in tech for the past several years. A few months back I decided to take things a step further and join a coding bootcamp. Overall, I’ve learned so much especially on the more practical side, but in talking with folks in the industry it became apparent just how important an understanding of the underlying concepts are, the most fundamental of these being binary.</p><p>Most everyone is familiar with the definition of binary in one way or the other (ha!). The more math focused explanation is a base-2 numeral system (as opposed to the base-10, decimal system, we are used to). This means we’re only able to take through 2 values ‘1&#39; and ‘0&#39;. To a computer these values determine if a switch is turned on or off and in doing so we’re able to convey a request that a machine can understand.</p><p>While there are other numeral systems that are used in order to convey desired results (honorable mention to hexcodes on the color side of things, we see you with your base-16 system!) binary is a core part of computer history and many clever solutions have been built around this foundational element.</p><p><strong>Binary Error Handling</strong>, okay so we know of the 1s and 0s and how they can represent on or off and true or false (respectively). Using these to determine inputs and communicate with a computer are essential. Before you even begin building something though, there is a desire to ensure what you are doing is correct. This is where error handling comes in. Using parity bits (<a href="https://www.youtube.com/watch?v=X8jsijhllIA&amp;t=864s">check out this video</a>) we’re able to determine if the message we’ve sent is the same as what is received. In short, parity bits are like a simple game of sudoku they always work to even out the 1’s and 0’s of a message, changing their value to help set the balance. At scale these are able to create a grid of sorts to identify errors in bitcode.</p><p><strong>Data Structures</strong> are a great example of the binary thought process being applied to real world applications. Two that stood out to me are binary search and binary search trees.</p><p>Similar to the 1 &amp; 0 concept of binary, binary search returns true or false based on the value input being larger or smaller than the chosen target. While this does require data to be stored in an ordered way the benefits of using this search process are huge when it comes to computing costs.</p><p>Below I asked ChatGPT to write a sample piece of code to represent a binary search function. It does well to demonstrate what is happening.</p><pre>def binary_search(arr, target):<br>    left, right = 0, len(arr) - 1<br>    <br>    while left &lt;= right:<br>        mid = left + (right - left) // 2  # Calculate the middle index<br>        <br>        # Check if the middle element is the target<br>        if arr[mid] == target:<br>            return mid  # Target found, return its index<br>        elif arr[mid] &lt; target:<br>            left = mid + 1  # Target is in the right half<br>        else:<br>            right = mid - 1  # Target is in the left half<br>    <br>    return -1  # Target not found in the list</pre><p>Binary search trees (BST’s if you’re cool) work in much the same way. When adding in values data is determined to be either greater than or less than the current position and forking to the left or the right.</p><p>A fun way to imagine these search functions are as a game of hide and seek. Binary search gives the computer input that its moving in the right direction (warm or cold), the more sexy the search function the more efficient it can be! By default BST’s allows for you to systematically rule out half of the room at a time with every step you take.</p><p><strong>How a snake talks to a computer</strong> Almost everyone who is coding is doing so in a language that is more human friendly as opposed to machine readable. In the case of Python, this requires the code to be interpreted by the languages compiler turning it into bytecode which is then further translated to binary code or ‘machine code’ which is executed by the computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*bP7Gyj1R97fsqelK0I90hg.png" /><figcaption><a href="https://www.geeksforgeeks.org/understanding-the-execution-of-python-program/">https://www.geeksforgeeks.org/understanding-the-execution-of-python-program/</a></figcaption></figure><p>To learn a bit more about compilers <a href="https://www.youtube.com/watch?v=zIjI8H945T8&amp;t=113s">check out this video</a>. It definitely deserves it’s own blog post!</p><p>While there are many ways binary is used in the computing world, I’ll leave those for you to explore further. Here are some videos/resources that piqued my interest while exploring this topic:<br>- <a href="https://www.youtube.com/watch?v=lJYufx0bfpw&amp;t=455s">Probabilistic Counting,</a> by leveraging 0’s at the end of a sequence you can estimate (fairly closely) the number of unique items in a set. <br>- <a href="https://www.youtube.com/watch?v=b4b8ktEV4Bg">Hash Algorithms</a>, while not binary a lot of similar ideas are used in these. <br>- <a href="https://www.math.drexel.edu/~jsteuber/Educ525/History/history.html#:~:text=The%20Mayans%20used%20a%20vigesimal,giving%2020%20fingers%20and%20toes.">Base number systems</a>, you might think a base 60 system is wild, but take a minute and think about it ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff8668d80f25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linked Lists]]></title>
            <link>https://medium.com/@curtisodell/linked-lists-f8727aec3a18?source=rss-adfd50203aaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8727aec3a18</guid>
            <dc:creator><![CDATA[Curtis O'Dell]]></dc:creator>
            <pubDate>Fri, 08 Sep 2023 04:22:04 GMT</pubDate>
            <atom:updated>2023-09-08T04:22:04.193Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article we’ll be focusing on understanding Linked Lists through common real world examples. I’ve linked to several articles that may be helpful if you’re looking for examples to help with coding.</p><h3>What is a <strong>Linked List:</strong></h3><p>Simply, a <strong>linked list</strong> is a tool for storing data where each data point has at least two pieces of information: The data it is storing and the location of the next data node.</p><p>Common real world examples include playlists, to-do lists, or a queue for a call center.</p><p>You may have already noticed from these examples, the main benefit <strong>as opposed to an Array </strong>is the ability of a Linked List to grow with the data added. Alternatively, Arrays need to allocate memory. Upon reaching their allocated memory Arrays are required to search for more memory, copy all contents and move (it’s not very efficient to have a town move every time a new baby is born).</p><p>Common Structures for Linked Lists:</p><p><strong>Single Linked</strong> — Think of this like the email chain from the early 2000s. You can’t send it back to the person that sent it to you. Forward is the only option. If you are the end of the chain you have a Null value as you haven’t sent it along to anyone else. There’s always potential to find those old emails and send them along though!</p><p><strong>Double Linked</strong> — You’re standing across from your childhood enemies in gym class. Everyone is holding hands as you chant “Red Rover Red Rover…” This is a time when you were a part of a double linked list. You know who is on either side of you based on who’s hand you’re holding!</p><p><strong>Circularly Linked </strong>— Again with the nostalgia, “ring around the rosie…” is being chanted everyone is holding hands, as more kids gather around room is made and new hands are being held.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fqp8u-frRAnU%3Fstart%3D482%26feature%3Doembed%26start%3D482&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dqp8u-frRAnU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fqp8u-frRAnU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8446853f08d000356346cc5d9e088711/href">https://medium.com/media/8446853f08d000356346cc5d9e088711/href</a></iframe><ul><li><a href="https://www.geeksforgeeks.org/python-linked-list/">Python Linked List - GeeksforGeeks</a></li><li><a href="https://www.geeksforgeeks.org/circular-linked-list/">Introduction to Circular Linked List - GeeksforGeeks</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8727aec3a18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oh my, is that your API?]]></title>
            <link>https://medium.com/@curtisodell/oh-my-is-that-your-api-ceafd901ef6c?source=rss-adfd50203aaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/ceafd901ef6c</guid>
            <dc:creator><![CDATA[Curtis O'Dell]]></dc:creator>
            <pubDate>Fri, 18 Aug 2023 04:24:38 GMT</pubDate>
            <atom:updated>2023-08-18T04:24:38.683Z</atom:updated>
            <content:encoded><![CDATA[<p>In many ways being in a software engineering boot camp feels like you’re a goldfish that is constantly out-growing their bowl…. Your understanding and knowledge is growing too fast and you’re forced to break out of your comfortable home lest you adapt your knowledge to be contained.</p><p>As I’m wrapping up the second phase of the bootcamp I’ve now built two projects using external data sources (application program interface or API for short). The experiences between the two have been markedly different and with it I wanted to share a few takeaways for anyone looking to build with an API and is rather new.</p><h3>Before you start…</h3><ol><li><strong>Plan around the data you’ll need to use</strong> — Just having an API that matches the topic you want to build your personal project on is not enough. Understand the end goals and outline the data you’ll be using to accomplish them. When you begin searching for APIs look at the documentation and see how easy (or impossibly hard) it would be to access the information you want.</li><li><strong>Develop a list of feature requirements </strong>— Again, you’re likely going to be using a free API, but understanding the response time from the server, call limit, or other important information will help you choose a data source that you can rely on. High latency, low call rates, or updates with a bit of dust on them are all things you’ll likely want to avoid for a personal project.</li><li><strong>Know where to look and what you’re looking for </strong>— There are many places to search for great APIs and a google search will go far, but this list by <a href="https://mixedanalytics.com/blog/list-actually-free-open-no-auth-needed-apis/">Mixed Analytics</a> and <a href="https://rapidapi.com/hub">Rapid API</a> are two great places I’ve used.</li></ol><h3>Getting the most out of your queries…</h3><p>Once you’ve begun reading through the documentation it may be rather straightforward to get the information you want, but chances are you’ll want to pre-filter the results you’re bringing into your app.</p><p>You can combine search operators in the URL to help refine the information. While there are definitely stipulations around this there are quite a few ways to reduce unwanted results from showing up.</p><p>For example adding ‘ &amp;country=US ’ to the end of my url helped to filter results to only shows in the US.</p><p>While I found this out by being curious and trial and error, I’d suggest to you (and myself if I had a time machine) to learn a bit more about query operators for JSON via URL search. <a href="https://www.baeldung.com/openapi-json-query-parameters">This article over on Baeldung</a> looks to do a good job of explaining the general premise.</p><h3>Measure twice cut once :)</h3><p><strong>While it may be tempting to jump right in, understanding your goals and taking the time to ensure the data source you use can meet your needs will save you many headaches.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ceafd901ef6c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Truth about localStorage]]></title>
            <link>https://medium.com/@curtisodell/the-truth-about-localstorage-e88507514ca5?source=rss-adfd50203aaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e88507514ca5</guid>
            <category><![CDATA[localstorage]]></category>
            <category><![CDATA[chrome]]></category>
            <category><![CDATA[js-localstorage]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Curtis O'Dell]]></dc:creator>
            <pubDate>Fri, 28 Jul 2023 04:09:56 GMT</pubDate>
            <atom:updated>2023-07-28T14:11:12.912Z</atom:updated>
            <content:encoded><![CDATA[<p>Local storage aka localStorage in JS is one of many ways to store information on the client side (check out <a href="https://javascript.plainenglish.io/introduction-to-client-side-storage-31b103909fb9">this article</a> by Santosh Shinde for more on that). Here we’ll dive into what localStorage ‘is’, a few common reasons you’d use localStorage, and some ‘shortcomings’ to be aware of.</p><p>What is it? In short, <strong>localStorage is client-side data storage in the form of Key—Value pairs that must be ‘string’ type objects</strong>. This is important to note as this plays a major role in how you interact with this tool. Go ahead and see how Medium is using this tool by opening your developer tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s7s6Rh8sD2zDrzHgHFSXbw.png" /><figcaption>Here on Medium, if you open your developer tools and go to ‘Application’ you’ll see several nuggets of information stored. Mostly around user ID and maybe a past article or two.</figcaption></figure><p><strong>Syntax for localStorage:</strong></p><p>Interacting with localStorage can be done through dot notation. Most common commands include the following code block or can be accessed at the source, <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage">Mozilla</a>.</p><pre>localStorage.setItem(&quot;key&quot;, &quot;value&quot;) <br>// ^Used to store/overwrite information <br>localStorage.getItem(&quot;key&quot;) <br>// ^Used to access information stored on localStorage<br>localStorage.removeItem(&quot;key&quot;) <br>// ^remove this Key and corresponding values<br>localStorage.clear()<br>// ^everything in localStorage is now gone... ¯\_(ツ)_/¯</pre><p><strong>Strings are the sole data type allowed, but(!):</strong></p><p>Using variables allows you to create array-like storage that will be turned into a string. This is useful if you’re wanting to create a list of items that will persist through page refreshes— <em>localStorage does not have an expiration date unlike its counterparts sessionsStorage (upon closing the browser) and cookies (</em><a href="https://policies.google.com/technologies/cookies?hl=en-US"><em>varies</em></a><em>).</em></p><pre>//declare your variable (even set it equal to an array)<br>//and give it information prior to stringification<br>localStorage.setItem(&quot;key&quot;, JSON.stringify(variable))<br><br>//when you want to access the information stored turn it back to an array<br>//do this by using parse<br>JSON.parse(localStorage.getItem(&quot;key&quot;)</pre><p>Knowing how to leverage localStorage for client-side persisted data storage has its perks.</p><p>Whether that be storing user identifiers for a seamless experience, building content recommendations for a site visitor without an associated account, or simply <a href="https://github.com/Curtisodell1/groupProjectPhase1">creating a dream island with your favorite Animal Crossing villagers </a>:)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e88507514ca5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>