<?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 Samuel Surfboard on Medium]]></title>
        <description><![CDATA[Stories by Samuel Surfboard on Medium]]></description>
        <link>https://medium.com/@samuelsurf?source=rss-c9c50c8bde29------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*zTc3oQtVj9lzCOgP</url>
            <title>Stories by Samuel Surfboard on Medium</title>
            <link>https://medium.com/@samuelsurf?source=rss-c9c50c8bde29------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:44:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@samuelsurf/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[I researched neural networks for 10 hours in depth-Here's what you need to know about them]]></title>
            <link>https://samuelsurf.medium.com/i-researched-neural-networks-for-8-hours-in-depth-heres-what-you-need-to-know-about-them-d464d30d6ae5?source=rss-c9c50c8bde29------2</link>
            <guid isPermaLink="false">https://medium.com/p/d464d30d6ae5</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[brain]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Samuel Surfboard]]></dc:creator>
            <pubDate>Tue, 04 Mar 2025 22:36:19 GMT</pubDate>
            <atom:updated>2025-03-04T22:46:41.181Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="An infographic giving a summary of neural networks" src="https://cdn-images-1.medium.com/max/1024/1*ot6ronB7Kddk6PVivBwIVg.png" /><figcaption>Neural networks summarized</figcaption></figure><p>I did the research on neural networks because they indeed power a lot of the technological advancements we have been seeing today like Large Language Transformer models like ChatGPT, Gemini, DeepSeek, etc, Image generation models like OpenAI&#39;s Whisper, Google&#39;s Imagen, Midjourney and much much more. I searched for books to read on the subject and François Chollet’s <strong>Deep Learning with Python </strong>(shoutout to François for making it fun!) and <strong>Hands On Machine Learning with Scikit-Learn, Keras and Tensorflow</strong> by Aurélien Géron popped up as the recommended options, this guide will walk you through the essentials of neural networks— step by step, just like the image did and expand upon the image, to save you hours of stress and have you appreciate the world of Machine Learning and Deep Learning. Spoiler alert: neural networks aren’t that “deep” to understand (pun intended!). So, buckle up as we explore how these technologies work, from their building blocks to their learning process, and why they’re revolutionizing the world around us.</p><h3>Deep Learning and Neural Networks: The Foundation</h3><figure><img alt="Neural Networks and Deep Learning shaking hands" src="https://cdn-images-1.medium.com/max/696/1*oJ6Z-NJeAfVzYSY9XioPPQ.png" /><figcaption>Neural networks and Deep Learning go hand in hand</figcaption></figure><p>First off, <strong>deep learning</strong> doesn’t mean it&#39;s a concept with a lot of depth and nuance, no it&#39;s not that poetic or philosophical! It’s about <strong>layers</strong>, plain and simple. Imagine a <strong>machine learning </strong>system stacked with multiple layers of processing units, kind of like a multi-tiered cake. Each of these layers has its own set of <strong>weights</strong> (tunable knobs) that the system tweaks to figure out patterns in data. So, when you hear “deep learning,” think of a <strong>multi-layered machine learning</strong> setup. Sure, “multi-layered machine learning” might be a more accurate mouthful, but let’s be real — “deep learning” just sounds cooler, and it’s stuck around.</p><p>Here’s how it works in a nutshell:</p><ul><li><strong>Input</strong> goes in one end (say, you send the model a picture of your door).</li><li>It passes through several <strong>layers</strong>, each tweaking the data with its weights.</li><li>Out pops an <strong>output</strong> (like, “yep, that’s a door”).</li></ul><p>The “deep” part comes from having lots of these layers — sometimes dozens or even hundreds — working together to find intricacies and solve complex problems. No literal depth, just a tall stack of mathematics. Yeah Deep Learning is a lot of Maths and coding. You might be wondering why I am talking about Deep Learning when the topic is Neural Networks, well the model used in Deep Learning is a Neural Network, the whole deep learning process is just how Artificial Neural Networks work. Now, where did this all come from? The term <strong>neural networks</strong> popped up back in the <strong>1940s</strong>, and it was inspired by the human brain. Picture neurons firing in your head — neural networks borrow that idea, with their own “neurons” passing signals around. But here’s the catch: it’s a loose connection, not a blueprint. Think of it like <strong>birds and airplanes</strong> — both fly, but their “working principles” are very different. Birds flap their wings; planes use engines and aerodynamics. Similarly, neural networks might look brain-ish with their interconnected nodes, but they’re really just a mathematical function crunching numbers, not thinking or feeling like we do. But, they produce very extraordinary results, as you have seen in modern LLMs (Large Language Models) like ChatGPT, Gemini, Claude, DeepSeek, etc. This brings us to the guys who clean the data and write the neural networks for a living — <strong>data scientists</strong>. They’re very smart people, but they get a bit annoyed when people oversimplify neural networks as “artificial brains.” Funny stuff, right? It’s not that the brain analogy is dead wrong — it’s just misleading. Neural networks are very good at spotting patterns (like recognizing faces or translating languages), but they don’t reason, dream, or ponder life’s mysteries like our brain does. It&#39;s all just functions and systems working hand in hand in multiple iterations to get closer to the expected value.</p><h3>Weights, Bias, and Learning: The Building Blocks</h3><p>To understand neural networks, let’s start with the foundational pieces — the terms that make them tick. Picture these as the ingredients in a recipe for artificial intelligence:</p><p><strong>Weights (W)</strong>: Think of weights as adjustable dials. They determine how much influence an input (say, a pixel in an image) has on a neuron’s output. Represented as a matrix or <strong>tensor</strong>, weights shape the network’s decisions — like turning up the volume on important clues.</p><p><strong>Bias (b)</strong>: Bias refers to the term that shifts the activation fucntion from the 0,0 point. With a bias, it allows the function to always return an output even when there is no input, a bias just like a weight is also a parameter of the layers. But biases are vectors rather than matrices.</p><p><strong>Learning</strong>: The magic of neural networks lies in their ability to learn. It’s the process of tweaking weights and biases based on data to improve predictions over time — like a student getting better with practice.</p><p><strong>Activation Function</strong>: An activation function is a function that adds non-linearity to the stack of layers, without non-linearity, the function wouldn&#39;t perform any better than a regular linear regression (y = ax + b) or logistic regression model. This non-linearity is key — it lets the network learn the complex and intricate patterns of data (like the different tones in an image) that straight lines ( linear functions) can’t capture. A popular choice is the <strong><em>Rectified Linear Unit (ReLU)</em></strong>, which is fast and simple: it lets positive values pass through unchanged but blocks negatives with a zero. Other types include Sigmoid, Tanh(Hyperbolic Tangent), etc.</p><p><strong>Machine Learning</strong>: Machine learning is simply teaching computers how to learn by feeding it a lot of data and they learn without being explicitly programmed to learn. This slightly paraphrased definition came from Arthur Samuel (he is a Samuel like me, very very cool).</p><p><strong>Neuron</strong>: The basic building block, inspired by brain cells. A neuron takes inputs, mixes them with weights and bias, applies an activation function, and sends an output to the next layer — like a tiny decision-maker.</p><p><strong>Loss Function</strong>: The scorekeeper. It measures how far off the network’s guesses (predictions) are from the correct answers. The goal? Minimize this “loss” to sharpen the network’s skills.</p><p><strong>Tensor: </strong>This is the data type used when dealing with neural networks. It is off different orders, regular numbers are known as 0-order tensors, vectors(bias) are known as 1-order tensors, Matrices(Weights) are known as 2-order tensors, and of course, there are higher order tensors when dealing with neural networks. Google&#39;s Tensorflow library and Meta/Facebooks Pytorch (these are Python libraries for working with neural networks) work with tensors as their datatype and it helps them create all sorts of neural networks.</p><p>Now all these terms when they come together, we can realize the function that represents neural networks</p><h3>Output = activation_function((weights * Inputs) + bias)</h3><p>Simple additions and multiplications with a non-linear activation function, stacked cleverly, turn raw data into smart predictions.</p><h3>Layers: The Stacked Power of Neural Networks</h3><p>Now, let’s zoom into <strong>layers</strong> which is the heart of a neural network’s structure. Data flows from an input layer (like a photo’s pixels) through hidden layers to an output layer (like “cat” or “not cat”). Each layer transforms the data, building on what came before. The thumbnail showed four layers as an example, but how can have as many layers as you want depending on the size and complexity of the network. Here’s how they work:</p><p><strong>Dense Layers (Fully Connected)</strong>: Every neuron in one layer connects to every neuron in the next — like a team huddle where everyone shares everything. These layers combine features for final predictions, making them jacks-of-all-trades.</p><p><strong>Convolutional Layers</strong>: They are layers that find and extract features from the data. Perfect for images or spatial data, they use filters to spot patterns — edges, textures, even cat ears — making them stars in tasks like image recognition.</p><p><strong>Pooling Layers</strong>: They are layers that simplify and downsize the data. They shrink the data, cutting down on noise and computation so the neural network can focus on what matters.</p><figure><img alt="An illustration of a multi layer perceptron" src="https://cdn-images-1.medium.com/max/1024/1*UIzUm1-Tzs-eI2EN_Q1LsQ.png" /><figcaption>Multi-layer Perceptron</figcaption></figure><p>Stack these layers, and you’ve got a <strong>multi-layer perceptron (MLP)</strong> or a deep network — each layer peeling back a new level of understanding, from basic shapes to full-on feline faces.</p><h3>Perceptron: The Simplest version of a neural network</h3><p>Before we get too deep, let’s meet the <strong>Perceptron</strong>, the granddaddy of neural networks. It’s a single-layer model that takes inputs, applies weights and a bias, and outputs a 0 or 1 based on this formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*dp2yiHCbGUd5IW0HUYKVGQ.png" /><figcaption>The simple formula showing what a perceptron is</figcaption></figure><p>This kind of function is called a piecewise function. Here, w is the weights, x is the input, and b is the bias. It’s great for simple yes/no decisions — like “is this point above the line?” — but it stumbles on trickier, twisty patterns. That’s why we stack layers in modern networks, but the perceptron’s simplicity laid the groundwork.</p><h3>Gradient Descent and Back-propagation: How Modern Neural Networks Learn</h3><p>So, how do neural networks go from random guesses to cat-spotting pros? It’s all about <strong>gradient descent</strong> and <strong>back-propagation</strong> — the duo that powers learning. Here’s the step-by-step breakdown:</p><p>1. <strong>Gather Some Examples</strong>: We collect a batch of inputs (x) and their correct answers (y_actual). For a cat detector, `x` might be cat photos, and `y_actual` would be “cat” or “not cat.”</p><p>2. <strong>Make a Guess (Forward Pass)</strong>: Using its starting weights (W), the network predicts outputs (y_pred). Early on, it’s like a wild guess — random weights mean random results.</p><p>3. <strong>Check the Mistake (Compute the Loss)</strong>: We measure the gap between `y_pred` and `y_actual` with the loss function. A big loss means the network’s predicted value is too far from the actual value; a small one means it’s getting close.</p><p>4. <strong>Figure Out What Went Wrong (Backward Pass)</strong>: Back-propagation kicks in, tracing the error back through the layers. It calculates how each weight and bias contributed to the mistake (this is called the <strong>gradient</strong>), think of it as reverse-engineering the problem.</p><p>5. <strong>Make a Small Adjustment (Update Parameters)</strong>: The network nudges its weights using gradient descent: <br> New weight (W_new) = Old weight (W_old) — (learning_rate * gradient). <br> The <strong>learning rate</strong> is the speed, basically how fast the network is adapting to the mistakes. What the formula is signifying is the updated weights are going in the opposite direction of the loss, making the weights more accurate and reducing the loss function. This calculation is repeated multiple times.</p><p>This loop — guess, check, adjust — repeats thousands of times, teaching the network to generalize from examples to new data. It’s like training a pet: lots of treats (data) and gentle corrections (updates) lead to a well-behaved model.</p><h3>Feature Engineering: The Deep Learning Advantage</h3><p>In traditional <strong>machine learning</strong>, a very important step is feature engineering, this is where traits of the data are picked, this is based on domain knowledge of the data (like edges or colors in an image) to help the model during it&#39;s prediction and training process. It’s like organizing the data and giving it more titles/headings, this is a very tedious process in Machine learning. <strong>Deep learning </strong>does it better: those stacked layers automatically learn what matters, from raw pixels to cat faces, no manual tinkering required. This is what made deep learning so ground-breaking, powering breakthroughs in image recognition, speech processing, and beyond.</p><h3>Wrapping It Up: The Power of Neural Networks</h3><p>Neural networks and deep learning are like a superpower for machines — turning raw data into insights through layers of neurons, weights, and biases. They learn by minimizing loss with gradient descent and back-propagation, evolving from simple perceptrons to complex systems that conquer non-linear challenges. Best of all, they ditch manual feature engineering, letting their layers do the heavy lifting. Whether it’s spotting cats or decoding speech, these technologies are reshaping our world, one clever prediction at a time.</p><p>Do you want to dig deeper? Grab François Chollet’s <strong>Deep Learning with Python</strong> — it’s a fun, hands-on way to explore this exciting field. Now, go experiment — maybe you’ll teach an artificial neural network(ANNs for short) to spot your door knob for fun/educational purposes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d464d30d6ae5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A.W.A STYLE: ArchLinux: the "Do-it yourself" operating system]]></title>
            <link>https://samuelsurf.medium.com/a-w-a-style-archlinux-the-do-it-yourself-operating-system-482bb8d1e46d?source=rss-c9c50c8bde29------2</link>
            <guid isPermaLink="false">https://medium.com/p/482bb8d1e46d</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[diy]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Samuel Surfboard]]></dc:creator>
            <pubDate>Sun, 12 Jan 2025 12:03:03 GMT</pubDate>
            <atom:updated>2025-01-12T12:03:03.522Z</atom:updated>
            <content:encoded><![CDATA[<h3>A.W.A STYLE: ArchLinux</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3qZA0Cqg_TtKxtypBnEgkQ.jpeg" /><figcaption>I use Arch btw</figcaption></figure><p>Hey everyone! Have you ever looked at your computer or phone and wondered, “How does this thing <em>actually</em> work?” Like, how does it know to show you this article? Well, what you’re using to read these words right now is called an <strong>operating system</strong>! Yep, whether you’re on your phone, a fancy tablet, or a good old laptop, you’re using one right now. But what <em>is</em> an operating system, and what does it do? Let’s dive in!</p><p><strong>Actions (A): What is an Operating System?</strong></p><p>Imagine your computer is like a really smart robot, but a robot that doesn’t understand English (or any language). The operating system is like the robot’s interpreter, the program that allows you to talk to the robot. It’s like the robot’s brain. It makes sure that the screen shows you what you want to see, the speakers play the sound you want to hear, the keyboard types the letters you want to type, and all the programs you use work together.</p><p>Deep down, the operating system has this core part called the <strong>kernel</strong>. Think of the kernel as the heart of the system, it is the first thing that turns on when you boot up your computer and its role is to control and allocate resources for everything to work, like making sure that every program gets its turn to use the processor.</p><p>You might know the names of some operating systems already, like <strong>Windows</strong> on a PC, <strong>macOS</strong> on a Mac computer, or <strong>Android</strong> or <strong>iOS</strong> on your phone. Each of these operating systems allows you to do the things you need to do on a daily basis, like accessing the internet, playing games or watching videos.</p><p>But there is one operating system that’s a bit different than the others, it’s called <strong>Linux</strong>. Linux is a special kind of operating system, and it’s super popular with people who love to play with computers, it is very flexible and can be changed how they want, they can make it do what they want. There are tons of different versions of Linux, like different flavors of ice cream. It is the go-to operating system for programmers and people who love to tinker with their machines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BaINYSrh2Lo5EoSx04Rqvg.png" /><figcaption>Operating system logos</figcaption></figure><p><strong>Why (W): The Appeal of Linux</strong></p><p>I particularly relate to the tinker aspect of Linux, as I said before Linux is for people who love to play with computers, you get the parts and you can do whatever you want with it. And this brings us to <strong>Arch Linux</strong>!</p><p>Why Arch Linux over the rest? Well, I’ve tried different operating systems over the years. I had the normal Windows experience, and then I had a short stint with macOS, then I moved to Linux and tried Linux Mint, which is a very beginner-friendly distro. I liked it, but I felt like I was missing out on something, so I tried Arch Linux, and that’s where I really fell in love with Linux.</p><p>You see, Arch Linux is like the ultimate “do-it-yourself” operating system. It’s not like Windows or macOS, where you just buy a computer and the operating system is already there. With Arch, you get a blank canvas, you are given a bucket and you must fill it with your own programs (water), all according to your needs. This means that you choose exactly what you want, and you get a system that’s perfect for you. The advantage of having full control over the programs and the packages that your system has, it means your computer can be exactly what you need it to be. It’s like having a tailor-made suit instead of a “one-size-fits-all” outfit, and also you get the latest versions of programs.</p><p>The original creator of Arch, Judd Vinet, loved the simplicity of early Linux operating systems. So he created Arch to be simple too, but that doesn’t mean it’s easy. Let’s differentiate between simple and easy. Simple means that it’s made of few moving parts and that it’s straightforward to understand. Easy means that it’s effortless. Arch is simple, as it gives you all the tools you need (pacman package manager and the basic shell), but it’s not easy because you have to build your system from scratch, that takes some effort.</p><p>So, here’s the deal with Arch: You get a tool called <strong>Pacman</strong> (the package manager), a way to connect to the internet, a basic terminal with a blank screen and you are told to install the operating system. A very unorthodox way of doing things, but also very fun. Imagine being given a hammer (pacman), a toolbox (the shell) and a dream (a working system). That’s the mindset you should have when working with Arch. The secret to succeeding is knowing the correct steps and not missing a single one. That’s it! Follow the steps and you get your desired system, and the steps haven’t changed that much for years, which means you don’t have to worry about getting outdated information. And once you do, you can proudly say <strong>“I use Arch btw”</strong> with a knowing smile. It’s a line that instills a sense of quiet (and sometimes not so quiet!) superiority because you have overcome the hurdle and built a system for yourself that works. Don’t worry, you too can be one of the cool kids who can beat their chest and spread the word that you use Arch btw (yes, it’s a thing, and it’s funny!).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8CSB0Y2U47AVkQ31KLvAPA.png" /><figcaption>Arch-Linux system information</figcaption></figure><p><strong>(Personal Anecdote)</strong></p><p>I once met someone who said he prefers to get older cars that are easy to fix and upgrade instead of new and shiny cars, because if a problem occurs, he can easily guess where the issue is and fix it himself. That’s the kind of crazy mentality Arch has given me. I understand every piece of my system, so I can easily troubleshoot where problems are, and new problems are solvable with my already acquired skills.</p><p><strong>Achieved (A): What Have We Learned?</strong></p><p>By now you should have a good understanding of what an operating system is, that there are different types of operating systems out there that we use daily like Windows, MacOS, Android and IOS. We have touched on Linux, a tinkerer’s favorite operating system, and what Arch Linux is, that it’s a very hands-on system, where you get to build your system exactly how you want it. And that you have the power to build your own system, one that is tailor-made for you.</p><p>In the next episode, in order for you to appreciate this system even more, we will go deeper into the toolbox so you know what you are getting yourself into. Our first focus will be on the hammer: Pacman. So get ready to use this amazing tool!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=482bb8d1e46d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing A.W.A style: Technology can make sense after all]]></title>
            <link>https://samuelsurf.medium.com/introducing-a-w-a-style-technology-can-make-sense-after-all-cac6ae6c26ec?source=rss-c9c50c8bde29------2</link>
            <guid isPermaLink="false">https://medium.com/p/cac6ae6c26ec</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[fun]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[computers]]></category>
            <dc:creator><![CDATA[Samuel Surfboard]]></dc:creator>
            <pubDate>Thu, 09 Jan 2025 18:02:59 GMT</pubDate>
            <atom:updated>2025-01-09T18:02:59.305Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PaNrHPZedUwsoDeg63JxFA.jpeg" /></figure><p>Hey everyone! Have you ever looked at a computer and felt like it was speaking a different language? Like, what does all that <em>tech stuff</em> even mean? I know I have! Sometimes it feels like magic, but it’s not. It’s just stuff we can learn and play with!</p><p>That’s why I’m starting something new and exciting called “A.W.A Style”! Think of it like a super clear way to learn about the cool things computers and technology can do.</p><p>So, what does “A.W.A” mean? It’s like a super easy secret code to understanding things:</p><ul><li><strong>A</strong> is for <strong>Actions</strong>: This is like when we’re doing something, step by step. Like when you build with LEGOs! You follow the steps to get the thing you want.</li><li><strong>W</strong> is for <strong>Why</strong>: This is the most important part! Why are we doing these actions? What is it we are trying to make? Understanding the ‘why’ makes it all make sense! Like when you build a LEGO house because you want a place for your mini-figures to live, you aren’t just placing blocks without reason!</li><li><strong>A</strong> is for <strong>Achieved</strong>: This is what happens at the end! It’s the cool thing we made or the awesome thing we learned. Like your finished LEGO house! What we made or what we did!</li></ul><p>Think of it like following a recipe to bake a cake!</p><ol><li><strong>Actions</strong>: First, we mix the flour and eggs.</li><li><strong>Why</strong>: Because those things mixed together will form the base of our cake.</li><li><strong>Achieved</strong>: The yummy cake we all get to eat!</li></ol><p>See? It’s pretty easy!</p><p>My aim is to take all the tricky tech stuff — the kind that usually makes people say “Huh?” — and break it down into these simple steps. I want to show you what’s happening, <em>why</em> it’s happening, and what we’ll get when we do it all. It’s like turning on a lightbulb in your head! <em>click!</em> and it all makes sense!</p><p>We’re going to be doing all kinds of fun things: building apps, exploring computers and a whole lot more! I’m hoping you become excited and eager to try things out after you join me, so you’re not scared of tech anymore!</p><p>I hope you’re as excited as I am to start this journey! Because, guess what? It’s going to be really fun!</p><p>My first episode, my first adventure with “A.W.A Style” is going to be about something called <strong>Arch Linux</strong>. Now, Arch Linux is a little different from other computers. It’s a bit like a super-powered LEGO set, where you get to build everything yourself. Some people think it’s a bit hard, but I think it’s <em>also</em> a whole lot of fun! We’ll be doing everything step-by-step, from start to finish, so we can understand it all.</p><p>So, get ready! I hope you stick around to check out my upcoming first episode, on Arch Linux! Let’s make this tech thing make sense, together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cac6ae6c26ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey to Finding the Ideal Python Development Environment]]></title>
            <link>https://samuelsurf.medium.com/my-journey-to-finding-the-ideal-python-development-environment-8b84f5d9f722?source=rss-c9c50c8bde29------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b84f5d9f722</guid>
            <category><![CDATA[visual-studio-code]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[jupyter-notebook]]></category>
            <category><![CDATA[pycharm]]></category>
            <category><![CDATA[vscode]]></category>
            <dc:creator><![CDATA[Samuel Surfboard]]></dc:creator>
            <pubDate>Sat, 25 Mar 2023 22:26:49 GMT</pubDate>
            <atom:updated>2023-03-25T22:26:49.937Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I’ll share my journey of finding the ideal Python development environment, exploring various Integrated Development Environments (IDEs) and tools along the way. I’ll discuss the challenges I faced and the insights I gained, ultimately leading me to my current setup.</p><h3>1. Starting with PyCharm</h3><p>I began by downloading Python 3.10 and the free community version of PyCharm. After using it for a while, I wanted to explore other options to ensure I was using the best tools available.</p><h3>2. Discovering Visual Studio Code</h3><p>I heard about Visual Studio Code (VSCode) and its popularity as an IDE. Intrigued, I downloaded it and installed the Python extension as recommended.</p><h3>3. Exploring Extensions and Jupyter Notebooks</h3><p>The Python extension came with several additional downloads, such as Pylance and Jupyter Notebook. I was pleasantly surprised to learn that VSCode supported Jupyter notebooks, a feature that the free version of PyCharm lacked.</p><h3>4. Diving into Multiple Languages</h3><p>VSCode’s support for numerous programming languages led me to explore various languages and tools, such as Flutter, Dart, Go, C#, C++, and C. I downloaded the Flutter SDK, the .NET SDK and Google’s Go engine. I justified this exploration by telling myself that programmers often learn multiple languages. I later realized it was a waste of time as I wasn’t planning to use them anytime soon.</p><h3>5. The Anaconda Distribution</h3><p>After hearing about the Anaconda distribution, I decided to download it. It came with Python 3.9, Spyder IDE, Jupyter notebooks, and the main Anaconda app, along with options to download additional apps or plugins.</p><h3>6. Realizing Anaconda Wasn’t for Me</h3><p>Despite its features, I found Anaconda slow and didn’t feel inspired by the Spyder IDE. Ultimately, I decided to stick with VSCode.</p><h3>7. Customizing VSCode</h3><p>I discovered how to customize the look of VSCode on Twitter and enjoyed personalizing my IDE.</p><h3>8. Upgrading to Python 3.11</h3><p>When Python 3.11 was released, I upgraded due to its promised performance improvements.</p><h3>9. Encountering Conflicts</h3><p>After some months, I faced conflicts between Python 3.10 and 3.11 when trying to install modules with pip. It was errors with OpenSSL I encountered in this endeavor. I attempted to fix the issues using ChatGPT and Stack Overflow, but eventually concluded that I needed to delete and reinstall Python.</p><h3>10. Settling on a Stable Setup</h3><p>I deleted Anaconda, Python 3.10, and Python 3.11, and then installed the latest Python (Python 3.10.10). This fixed my Python environment, and I have been using this stable setup for both Jupyter notebooks and Python files ever since.</p><h3><strong>11. Lessons Learned</strong></h3><p>I learned that for Python that finding the right setup for your programming needs requires trial and error. It’s important to be cautious when upgrading to new Python versions to avoid conflict and potential issues which can be very frustrating. I learnt that downloading multiple extensions can often be a waste of time because you may not even use all of them.</p><h3>12. Experimenting on Mobile</h3><p>I wanted a way to allow me to do some simple code without me having to open my laptop, so I went on the Playstore and I discovered the Python app for Android Pydroid 3. I love this app, it has so many capabilities. It supports downloading modules from pip and it can plot graphs with matplotlib and Seaborn. So, it became my mini python environment for writing quick codes on the go.</p><h3>My current setup</h3><p>I use Visual Studio Code with Python 3.10.10 and this is how mine looks now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E_lwCz8rIZi8fxLLjo77rg.png" /><figcaption>My VsCode look</figcaption></figure><p>My setup with Pydroid looks like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*S-8Gxc-QOmmc2FyG.jpg" /><figcaption>My Pydroid 3 on mobile</figcaption></figure><p>In conclusion, I found that Visual Studio Code, with its Python extension and support for Jupyter notebooks, is the ideal development environment for my Python projects. While exploring other languages and tools was educational, I settled on a stable and efficient setup that meets my needs as a Python developer. I also learnt that mobile apps like Pydroid 3 can also be useful for quick experiments and testing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b84f5d9f722" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Efficient Ways to Find Math and Calculation Help Online]]></title>
            <link>https://samuelsurf.medium.com/efficient-ways-to-find-math-and-calculation-help-online-139115bbbbee?source=rss-c9c50c8bde29------2</link>
            <guid isPermaLink="false">https://medium.com/p/139115bbbbee</guid>
            <category><![CDATA[bing]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[search]]></category>
            <category><![CDATA[calculus]]></category>
            <dc:creator><![CDATA[Samuel Surfboard]]></dc:creator>
            <pubDate>Wed, 22 Mar 2023 19:05:03 GMT</pubDate>
            <atom:updated>2023-03-22T19:29:42.924Z</atom:updated>
            <content:encoded><![CDATA[<p>Despite the vast amount of information available online, it can be challenging to know how to search for the right solutions effectively. Some of us have experienced being asked by friends or acquaintances for help with Math problems online. While it’s great to help a friend, I couldn’t help but wonder why they couldn’t find the solution themselves with so many features available on the Internet. Through my own research and experience, I have discovered several effective ways to find Maths and Calculations help online.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*Jx8hXoYSYDaMpxkXiIzQNw.jpeg" /></figure><p>1.<strong> Symbolab: An Online Math Solver You Can Count On</strong></p><p>I’ve been using Symbolab for the past three years, and I’m always surprised by how many people don’t know about this powerful, free tool. As long as your math problem isn’t a word problem, Symbolab can usually help you find the solution. The interface is user-friendly, and it provides step-by-step solutions to help you understand the problems better. For example, this is a matrix problem a friend gave me to help and solve</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*AxXkotUSaFLFhCLZjwBWuQ.jpeg" /><figcaption>Matrix problem</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q2LAI8l8MQy6YNKFzDQ4Ag.jpeg" /></figure><p>If you click on the place they wrote</p><p>‘Multiply the rows of the first’, you will see the full solution to the problem.</p><p><strong>2. Google Your Problem: A Surprisingly Effective Technique</strong></p><p>Sometimes, all it takes to find the solution to a math problem is to type the first ten to sixteen words of the problem into Google. Chances are, you’ll find a Chegg answer or a similar question that’s been solved on Chegg. You can then use that information to base your solution on. Chegg is a popular online platform that provides step-by-step solutions to various problems. Not only Chegg, you can find various other sites that have solved similar problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hHskHXozNx-t-iC62wHhGw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VaWSAouWyIxMpL2sqA1Itw.jpeg" /><figcaption>Chegg already has it solved</figcaption></figure><p><strong>3. Bing AI: A Smart Helper for Your Math Problems</strong></p><p>Bing AI is another effective way to find Maths and Calculations help online. It’s a smart search engine that uses artificial intelligence to solve problems or find you specific links to where the problems can be solved. Bing AI is no longer on the waitlist, so it’s available to everyone. To access it, download the Bing app from the Play Store for Android or the App Store for Apple. On a computer, simply go to Bing.com and click on the “chat” button at the top of the page.</p><p>Once you’re in the Bing AI chat, describe your problem and ask for a recommendation for a site that has solved similar problems or an exact problem like yours. Bing AI will understand your explanation and provide you with links to relevant websites.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*AWMk3eDe63DOGAGgBS2tjw.jpeg" /><figcaption>Typing the question for Bing</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*-_cMoeO6-gWjmXTZL0V-bw.jpeg" /><figcaption>It attempts solving the question</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*aCPtKHJYjDb9EAYSXvEaAg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NkQmutNYBSm8X5gM0w95cQ.jpeg" /></figure><p><strong>4. YouTube: A Treasure Trove of Math Tutorials</strong></p><p>There are times when the solution to a specific problem is already available on YouTube. I once needed help with a thermodynamics problem and was shocked to find the exact question solved in a YouTube video. Since then, I’ve relied on YouTube more for math help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zi9a6iYRfMkucrSP8tSB2A.jpeg" /><figcaption>searching on YouTube</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w_zn_NNyjRejRljZkHq4Xw.jpeg" /><figcaption>A video already pops up showing how to approach the problem I searched for.</figcaption></figure><p>In conclusion, there are numerous resources available online for math help, and you don’t have to feel overwhelmed or helpless. By using tools like Symbolab, Google, Bing AI, and YouTube, you can quickly and easily find the information you need to solve even the most challenging math problems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=139115bbbbee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Box Plots: A Comprehensive Guide]]></title>
            <link>https://samuelsurf.medium.com/demystifying-box-plots-a-comprehensive-guide-db5d6752c69f?source=rss-c9c50c8bde29------2</link>
            <guid isPermaLink="false">https://medium.com/p/db5d6752c69f</guid>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[box-plot]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Samuel Surfboard]]></dc:creator>
            <pubDate>Fri, 17 Mar 2023 14:44:13 GMT</pubDate>
            <atom:updated>2023-03-17T14:44:13.388Z</atom:updated>
            <content:encoded><![CDATA[<p>With the help of box plots, a powerful tool for data visualization, we can quickly spot important characteristics of a dataset, including its central tendency, spread, and potential outliers. Box plots, while seemingly simple, can be confusing for beginners who are unfamiliar with the jargon and ideas behind them — but don’t worry, you’re not alone! The main elements of a box plot will be dissected in this article, along with an explanation of what each one means. We’ll talk about things like skewness, outliers, the median, interquartile range, quartiles, and whiskers. You will have a clear understanding of what box plots are and how to interpret them by the end of this article.</p><h3>What is a Box Plot?</h3><p>A box plot (also known as box and whisker plot) is a standardized way of displaying the distribution of data based on five key summary statistics: minimum, first quartile, median, third quartile, and maximum. By showing these values in a simple and clear way, box plots can help us quickly identify patterns and trends in our data.</p><h3>Key Components of Box Plots</h3><ol><li><strong>Quartiles</strong>: Box plots show the quartiles of a dataset, which divide the data into four equal parts. The first quartile (Q1) marks the 25th percentile, the second quartile (Q2) is the median (50th percentile), and the third quartile (Q3) represents the 75th percentile.</li><li><strong>Whiskers</strong>: The lines extending from the box on either side are called whiskers. These represent the range from the minimum value to Q1 and from Q3 to the maximum value.</li><li><strong>Interquartile Range (IQR)</strong>: This is the range between Q1 and Q3 and represents the central portion of the data.</li><li><strong>Median</strong>: The median is the line within the box that represents the middle value of the dataset, or the 50th percentile.</li></ol><h3>Interpreting Box Plots</h3><p>Box plots can reveal a lot about the distribution of your data, including skewness and the presence of outliers.</p><h4>Skewness</h4><p>Skewness refers to the asymmetry of a distribution. When the median line is in the middle of the box, the data is evenly distributed and follows a normal distribution. If the median line is not in the center, the box plot is skewed.</p><ul><li><strong>Negative Skew</strong>: When the median is closer to Q1, the data is concentrated towards the lower part of the plot. In this case, the median is a better measure of central tendency than the mean.</li><li><strong>Positive Skew</strong>: When the median is closer to Q3, the data is concentrated towards the higher part of the plot.</li></ul><p>Skewness in data usually needs to be addressed before performing further analysis.</p><h4>Outliers</h4><p>Outliers are data points that fall outside the whiskers of the box plot. They can significantly influence the overall distribution and are typically defined as values more than 1.5 times the IQR away from the quartiles. Outliers may need to be removed or subjected to other statistical treatments, depending on the specific analysis being performed.</p><p>In conclusion, box plots are indispensable tools for visualizing and understanding the distribution of data. By mastering the concepts of quartiles, skewness, and outliers, you’ll be well-equipped to make informed decisions about your data and the analyses you perform.</p><p><strong>Matplotlib</strong></p><p>I wrote up a simple code using the pandas and matplotlib library in Python when I was learning about data analysis to show a box plot</p><pre>import pandas as pd<br>import matplotlib.pyplot as plt<br><br># Turning a list into a DataFrame<br>data_earthquake_properties = [x[&#39;properties&#39;] for x in earthquake_json[&#39;features&#39;]] # making properties dict to become a list<br>df = pd.DataFrame(data_earthquake_properties)<br># Create the box plot<br>df.plot.box(x=&#39;mag&#39;, y=&#39;time&#39;, color=&#39;blue&#39;)<br><br>plt.xlabel(&#39;x&#39;)<br>plt.ylabel(&#39;magnitude&#39;)<br>plt.grid(True)<br>plt.title(&#39;A box plot of Magnitude against time&#39;)<br>plt.show()</pre><p>This was the graph I got:</p><figure><img alt="A simple box plot of magnitude against time using Matplotlib and pandas" src="https://cdn-images-1.medium.com/max/593/1*8Iru_GcKj4pwWex40ldLnQ.png" /></figure><p>Box plots are a powerful tool for visualizing and understanding data, as I discovered when working with earthquake data from the book ‘Hands-on Data Analysis with Pandas’ by Stefanie Molin. Through my research, I learned the key components of a box plot and how to interpret them, allowing me to understand the data a bit more. Whether you’re a beginner or an experienced data analyst, box plots are an essential tool to have in your arsenal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db5d6752c69f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>