<?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 Yago Martinez-Falero Hein on Medium]]></title>
        <description><![CDATA[Stories by Yago Martinez-Falero Hein on Medium]]></description>
        <link>https://medium.com/@yagomfhein?source=rss-cabaead0b641------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Mz00Bw-APvNY94J9Fgc4Jg.png</url>
            <title>Stories by Yago Martinez-Falero Hein on Medium</title>
            <link>https://medium.com/@yagomfhein?source=rss-cabaead0b641------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:43:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yagomfhein/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[The TypeScript Parser Is Just One Giant File — And It’s 10,819 Lines Long]]></title>
            <link>https://yagomfhein.medium.com/the-typescript-parser-is-just-one-giant-file-and-its-10-819-lines-long-f0ac7b3beb0a?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0ac7b3beb0a</guid>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Thu, 14 Aug 2025 20:32:26 GMT</pubDate>
            <atom:updated>2025-08-14T20:32:26.506Z</atom:updated>
            <content:encoded><![CDATA[<h3>The TypeScript Parser Is Just One Giant File — And It’s 10,819 Lines Long</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fibSQ_l3D6rexjnJIoXZ_g.png" /></figure><p>Ever opened a file and thought, “Oh… this is bigger than my entire project”?<br> That’s pretty much what happens when you peek inside TypeScript’s parser. It’s a single file — parser.ts — that’s 10,819 lines and about 527 KB. Yes, half a megabyte… in plain text.</p><h3>Why is it all in one file?</h3><p>You might expect something as complex as a language parser to be split into tidy little modules. Functions over here, syntax handling over there, maybe a sprinkle of helpers in another file.<br> Nope. The TypeScript parser is a single sprawling file, sitting in src/compiler/parser.ts on GitHub.</p><p>Part of the reason is historical: TypeScript’s codebase started over a decade ago, when splitting a big parsing state machine into multiple files was more trouble than it was worth. Everything stayed in one place because… it worked. And when something works, developers often keep the mess contained rather than risk breaking it.</p><h3>Living with a monster file</h3><p>Big files aren’t inherently bad, but they’re… intimidating. Imagine opening parser.ts to fix a bug and your text editor’s scroll bar becomes a microscopic dot. You search for a function name and find <em>twelve</em> versions of it, each handling a different corner case.</p><p>A friend of mine once inherited a single-file backend script for a warehouse system. It was 18,000 lines of PHP. Every “quick fix” meant scrolling for minutes and hoping you didn’t miss the right spot. He used to joke that working on it felt like wandering into a labyrinth with no map — you just kept walking until something happened.</p><h3>What’s inside the TypeScript parser?</h3><p>If you skim parser.ts, you’ll find:</p><ul><li>Code for tokenizing and interpreting TypeScript syntax</li><li>Rules for understanding interface, enum, type, and class</li><li>Special cases for JSX, decorators, and async/await</li><li>Logic for parsing plain JavaScript (since TypeScript supports that too)</li><li>Utilities for tracking errors, positions, and comments</li></ul><p>In other words, this file <em>is</em> the part of TypeScript that turns raw code into something the compiler can understand.</p><h3>Does this make it harder to work on?</h3><p>Yes and no. The upside is that all the parsing logic lives in one place — no hunting across files to figure out how function* is handled. The downside is that changes can be risky. Add a new syntax feature and you might break something 8,000 lines away.</p><p>For most contributors, reading parser.ts is like studying a dense novel. You start with good intentions, take a break halfway, and when you come back, you’ve forgotten the plot. But for the core TypeScript team, this is just “home.” They’ve lived in this file for years, and they know the strange little quirks and shortcuts baked into it.</p><h3>So… should you put everything in one file?</h3><p>Probably not. For small scripts? Sure. For anything you plan to maintain long-term? Breaking things into logical pieces usually makes life easier. But sometimes, like with TypeScript, the single-file approach becomes part of the project’s DNA. Splitting it up now would be a massive undertaking — and there’s no guarantee it’d be worth the effort.</p><p>And if nothing else, it’s kind of comforting to know that even one of the most-used programming languages on the planet has a little “mess” in it.</p><p>What’s the biggest file you’ve ever worked on, and how did you survive?</p><p>Image Prompt: A wide, messy computer screen filled with a giant code file scrolling endlessly, lines of TypeScript code visible, a programmer leaning back in their chair with a mix of awe and exhaustion, warm desk lighting, cozy workspace.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0ac7b3beb0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prometheus — A 2025-Ready TypeScript SSR Stack To Hopefully Blow Your Mind ]]></title>
            <link>https://yagomfhein.medium.com/prometheus-a-2025-ready-typescript-ssr-stack-that-will-blow-your-mind-4ec3ef567985?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ec3ef567985</guid>
            <category><![CDATA[drizzle]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[tanstack]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[trpc]]></category>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Mon, 19 May 2025 15:09:11 GMT</pubDate>
            <atom:updated>2025-05-20T10:27:29.129Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XdnmTgpvscUpljZPbxAtBg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@howyblackbelt?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Holger Woizick</a> on <a href="https://unsplash.com/photos/a-golden-statue-of-a-man-and-a-woman-on-a-boat-Bhs6i1YhqNc?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><p>In the ever-evolving landscape of web development, staying ahead of the curve requires leveraging the most cutting-edge technologies and best practices. Enter Prometheus, a modern full-stack web application template that combines the latest advancements in web development to create a powerful, scalable, and developer-friendly foundation for your next project.</p><p><a href="https://yagomfhein.medium.com/prometheus-a-2025-ready-typescript-ssr-stack-that-will-blow-your-mind-4ec3ef567985?source=friends_link&amp;sk=fb7d286dcaff94a447efeeb6bf35aafc">Not a member? Click here.</a></p><h3>The Power of Modern Technology Stack</h3><h4>1. React 19 and <a href="https://tanstack.com/start/latest">TanStack Start</a></h4><p>At the core of Prometheus lies React 19, the latest iteration of the world’s most popular frontend library. Combined with TanStack Start, developers get access to a robust framework that provides:</p><ul><li>Enhanced performance optimizations</li><li>Improved developer experience</li><li>Built-in routing capabilities</li><li>Advanced state management solutions</li></ul><h4>2. Type-Safe API Layer with <a href="https://trpc.io/">tRPC</a></h4><p>This boilerplate implements tRPC, revolutionizing how we handle API calls:</p><ul><li>End-to-end type safety</li><li>Automatic type inference</li><li>Zero API schemas or code generation</li><li>Seamless integration with TypeScript</li></ul><h4>3. Modern Database Management</h4><p>The project leverages PostgreSQL with <a href="https://orm.drizzle.team/">Drizzle ORM</a>, offering:</p><ul><li>Type-safe database queries</li><li>Efficient schema management</li><li>Built-in migration tools</li><li>Powerful query builder</li><li>Database studio for visual management</li></ul><h4>4. Enhanced Authentication</h4><p>Security is paramount, and that’s why it implements <a href="http://better-auth.com/">better-auth</a>:</p><ul><li>Modern authentication flows</li><li>Secure session management</li><li>OAuth integration capabilities</li><li>Role-based access control</li></ul><h4>5. Beautiful UI with <a href="https://chakra-ui.com/">Chakra UI</a></h4><p>The user interface is built with Chakra UI, providing:</p><ul><li>Accessible components</li><li>Customizable design system</li><li>Dark mode support</li><li>Responsive layouts</li><li>Modern animations with Framer Motion</li></ul><h3>Developer Experience Features</h3><h4>1. Comprehensive Development Tools</h4><ul><li>TypeScript for type safety</li><li>ESLint for code quality</li><li>Prettier for consistent formatting</li><li>TailwindCSS for utility-first styling</li></ul><h4>2. Docker Integration</h4><p>Prometheus includes full Docker support:</p><ul><li>Development and production environments</li><li>Easy deployment</li><li>Consistent development experience</li><li>Scalable containerization</li></ul><h4>3. Database Management Scripts</h4><pre>pnpm db:generate  # Generate migrations<br>pnpm db:migrate   # Run migrations<br>pnpm db:push     # Push changes<br>pnpm db:seed     # Seed database<br>pnpm db:studio   # Visual database management</pre><h3>Why Choose Prometheus?</h3><h4>1. Future-Proof Architecture</h4><p>Built with the latest technologies and best practices, this boilerplate’s attempt is to ensure your application remains relevant and maintainable for years to come.</p><h4>2. Developer Productivity</h4><ul><li>Hot module replacement</li><li>Type-safe development</li><li>Comprehensive development tools</li><li>Built-in testing capabilities</li></ul><h4>3. Scalability</h4><ul><li>Microservices-ready architecture</li><li>Containerized deployment</li><li>Efficient database management</li><li>Optimized performance</li></ul><h4>4. Security First</h4><ul><li>Type-safe API layer</li><li>Modern authentication</li><li>Secure session management</li><li>Best practices implementation</li></ul><h3>Getting Started</h3><p>The setup process is straightforward:</p><pre>git clone git@github.com:Yagomfh/prometheus.git<br>cd prometheus<br>pnpm install<br>cp .env.example .env<br>pnpm dev</pre><h3>The Power Behind the Name</h3><p>In Greek mythology, Prometheus was the titan who brought fire to humanity, symbolizing knowledge, progress, and the advancement of civilization. Like its namesake, this framework brings the “fire” of modern web development to developers, empowering them with cutting-edge tools and technologies. Just as Prometheus defied the status quo to bring innovation to humanity, this framework challenges conventional web development approaches by combining the most advanced technologies in a single, cohesive stack. It’s not just a name — it’s a promise of bringing the future of web development to your fingertips, today.</p><h3>Conclusion</h3><p>Prometheus is an attempt to setup the standard for 2025 full-stack development, combining cutting-edge technologies with developer-friendly features. Whether you’re building a startup MVP or a large-scale enterprise application, this stack provides the tools and structure needed for success.</p><h3>Repository</h3><p>Here is what you’ve been looking for: <a href="https://github.com/Yagomfh/prometheus">https://github.com/Yagomfh/prometheus</a></p><h3>Special thanks</h3><p>This repository was an adaptation of the original repo: <a href="https://github.com/jellekuipers/kolm-start">https://github.com/jellekuipers/kolm-start</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ec3ef567985" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Does Full-Stack Developer Mean?]]></title>
            <link>https://yagomfhein.medium.com/what-does-full-stack-developer-mean-cb0c9e4fe3ac?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb0c9e4fe3ac</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[full-stack-developer]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[backend]]></category>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Mon, 10 May 2021 12:25:31 GMT</pubDate>
            <atom:updated>2021-05-10T12:25:31.744Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*MGUY0w_VqOSsFSTq" /></figure><p>If I tell you “I’m a full-stack developer” what kind of question would you ask me next?</p><p>If you’d ask me “Oh! What language are you coding in?” then this article will be perfect for you.</p><p>If, on the other hand, you ask me “Which stack are you most comfortable in?” or even “Which tech you mostly use for your back-end?” then I assume what I about to explain will seem obvious to you (and if not just let me know!).</p><p>When people talk about Full-Stack developers, they do not often know exactly what this means. In this article, I will try to give a simple explanation of what it means.</p><h3>What is a web developer?</h3><p>In the professional field of software engineering which is a branch of STEM (science, technology, engineering, and mathematics), there are “sub-categories” or areas of expertise, and a web developer is one of them. It is probably one of the most popular expertise due to the number of services provided on the internet.</p><h4>The importance of choosing a role in this field</h4><p>Web development is not the only one. You can also find software engineers working in machine learning, game development, <a href="https://yagomfhein.medium.com/iot-explained-63012a171fef">IoT</a>, blockchain, and many other.</p><p>However, the knowledge you acquire in one field does not necessarily make you understand the others.</p><h4>What makes this role similar to others?</h4><p>Ultimately, software engineers learn how computers work and how to give them a set of instructions to accomplish a specific task. Even if each sub-field requires extra knowledge. The foundations are the same. Hence, if you have the basic set of skills it is only a question of time and your own motivation to become a machine learning engineer or a blockchain developer even if you were previously a web developer.</p><p>Now, web development has also its own “sub-categories”. The most notable ones are:</p><ul><li>Fullstack</li><li>Backend</li><li>Frontend</li><li>Dev-Ops</li></ul><h3>What does “Frontend” mean?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*2G-UyRfR6aijQeO5" /></figure><p>To put it real simple, the frontend is the part of the website that you CAN SEE.</p><blockquote>The frontend of a software program or website is everything with which the user interacts. From a user standpoint, the frontend is synonymous with the user interface. From a developer standpoint, it is the interface design and the programming that makes the interface function.</blockquote><p>The programming is mainly done with HTML, CSS, and Javascript. Although, today there are libraries and frameworks that help developers build web applications much faster such as Bootstrap, React, Angular JS, Vue JS, JQuery… etc.</p><p>One of the primary goals of frontend development is to create a smooth or “frictionless” user experience. In other words, the front end of an application or website should be intuitive and easy to use.</p><p>Back at the beginning of the internet, most web pages will only have a frontend application. They were called “static” web pages. The main issue comes with its description… Those websites could not load dynamic pages.</p><p>For instance, a Twitter with only frontend tech would have been impossible to achieve. Because these technologies do not allow the website to load new tweets made from users or even have a specific home feed per user. The magic of a dynamic website is possible thanks to the backend part of a web app.</p><h3>What does “Backend” mean?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*l2I0Q6Bv67U7Dmxq" /></figure><p>The backend is the backbone of your web app. It is where the business logic is implemented. It runs behind the scenes and ensures that data is processed in the right way.</p><p>In programming terminology, the backend is the “data access layer,” while the frontend is the “presentation layer.”</p><p>As we said earlier most modern websites are dynamic, meaning webpage content is generated on the fly. A dynamic page contains one or more scripts that run on the web server each time the page is accessed. These scripts generate the content of the page, which is sent to the user’s web browser. Everything that happens before the page is displayed in a web browser is part of the backend.</p><p>Some of the things the backend is responsible for are:</p><ul><li>Answering client requests</li><li>Communicates with the database</li><li>Get the desired data to build a page</li><li>Encrypting data</li><li>Deleting, getting, or updating record on the database</li></ul><p>Backend developers have also a wide range of tools to facilitate their job. If you hear about terms such as Flask, Django, Ruby on Rails, ExpressJS, Meteor, Laravel then you’re hearing about frontend frameworks.</p><h3>Backend + frontend = fullstack</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FPvvSfSDFoAL5e%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FPvvSfSDFoAL5e%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExcWp3NmxvdmM3Z3N5MDd5aWVkbjVqbXh3bDlud2QzZmZmYXBmenh0eiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FPvvSfSDFoAL5e%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/044b9ec8248feb4cb276d5cf09ef7827/href">https://medium.com/media/044b9ec8248feb4cb276d5cf09ef7827/href</a></iframe><p>Well, now that you know what the front and the backend are, it is super easy to understand what a full-stack developer does. He or she does both at the same time.</p><p>While in big companies like Google or Netflix, you will most likely work on one of the two stacks. Full-stack developers are often seen in startups or small companies which have a small team in charge of the entire tech par of their products.</p><h3>Pros and cons about this position?</h3><h4>Pros:</h4><ul><li>You hold more value to the eyes of the company as you are responsible for the entire functioning of the web app</li><li>You get to learn more aspects of the tech you work on</li><li>You carry out several tasks</li></ul><p><strong>Cons</strong>:</p><ul><li>You have to keep up with the new trends</li><li>You have to be polyvalent and understand both stacks well</li><li>It is harder to be a specialist for a specific field</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb0c9e4fe3ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Magic Behind Typing An URL And Pressing ENTER]]></title>
            <link>https://yagomfhein.medium.com/the-magic-behind-typing-an-url-and-pressing-enter-ce3e979da929?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce3e979da929</guid>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Fri, 23 Apr 2021 13:15:30 GMT</pubDate>
            <atom:updated>2021-04-23T13:15:30.602Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*SI9LTMMKkWRZyn8f" /></figure><p>We do it dozens if not hundreds of times. We surf through the web and barely know what happens in the background so that when to type <a href="http://www.netflix.com/">www.netflix.com</a> you can watch your favorite movies and shows.</p><p>In this article, we will explore the main steps that occur behind the scenes, starting from the point we press Enter to the point the desired website is loaded and appears on our screen.</p><p>Before we even begin to scrape the surface of this topic, let’s quickly define four main concepts: servers, web servers, client-server models, and IP addresses.</p><h3>What is a server?</h3><blockquote>A <strong>server</strong> is a special computer without a keyboard, mouse, or screen, that serves information to other computers. These computers, called “clients”, can connect to a <strong>server</strong> through either a local area network or a wide area network, such as the internet.</blockquote><p>All websites are composed of different files like HTML documents, images, CSS stylesheets, and JavaScript files… Those are stored inside a server and delivered to the client by a web server.</p><h3>What is a web server?</h3><blockquote>It’s a computer program that distributes <strong>web</strong> pages as they are requisitioned. Famous web servers today are Nginx and Apache. The basic objective is to store, process, and deliver <strong>web</strong> pages to the clients. This intercommunication is done using Hypertext Transfer Protocol (<strong>HTTP</strong>).</blockquote><h3>The client-server model</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*S_ZRin2Lg5rFJlVL.png" /></figure><p>Whenever we enter an URL in a browser, we actually ask for specific files that are hosted on a server. The <strong>server</strong> hears the request, verifies credentials, and if everything checks out, serves the <strong>client</strong> the requested file. The communication between <strong>clients</strong> and servers is a two-way street. Finally, the browser interprets the files to make them readable for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hBAfKvzRyLEgk27Q" /></figure><p>Let’s take a look at the example above, the user types “www.foobar.com&quot;, the browser first, looks for the IP address of the server hosting the website files. when the browser find the IP address (which is 8.8.8.8 in the example), it sends a HTTP request to the server. The web server (nginx) that is installed on that server, listens to any HTTP requests, it accepts the request and responds with the files.</p><h3>What is an IP address?</h3><blockquote>An <strong>IP address</strong> is a unique <strong>address</strong> that identifies a device on the internet or a local network. <strong>IP</strong> stands for “Internet Protocol,” which is the set of rules governing the format of data sent via the internet or local network.</blockquote><p>There are 2 types of IP addresses: IP Version 4 (IPv4) and IP Version 6 (IPv6).</p><p>IPv4 (IP version 4) addresses are sequences of four numbers (from 0–255), separated by a dot (8.8.8.8).</p><p>Under IPv4, there are only 232 possible combinations, which offers just under 4.3 billion unique addresses. Due to the increase of the number of computers and devices on the Internet, we are running out of unique IPv4 addresses.</p><p>IPv6 came to the rescue by offering a much bigger number of unique IPs. An IPv6 address is a sequence of six segments of letters and/or numbers (0-F) separated by a semicolon.</p><h3>What is the difference between an IP and an URL</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gIh-4SReDl4OXjP3" /></figure><p>When you type an URL (Uniform Ressource Locator) in the browser, you don’t send the request right away. This is not something that points to the server your looking for. Actually, URLs are made for humans. Since we are better at learning words than numbers, URLs are a sort of intermediate layer between humans and computers. As a result, your browser has to convert your URL into an IP address.</p><p>So, in order to get the IP address of a server, the web browser will check first if its cache contains the IP address of the typed domain name and if doesn&#39;t find the IP, it will next ask the operating system.</p><p>Note that, if the website was visited previously by the user, the browser will find the IP in the cache.</p><p>Let’s assume that the user visited the website for the first time and that the browser didn’t locally find the IP address of the website. In this case, the browser will make a query to a remote DNS server…</p><h3>DNS request</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P6_hbqu15Hh1FHFs" /></figure><p>DNS or Domain Name System is, in simple words, the technology that translates human-adapted, text-based domain names to machine-adapted, numerical-based IP.</p><p>The DNS request first goes through the resolver. The resolver is usually our Internet Service Provider. Most ISPs have servers dedicated to resolving domain names. If the resolver knows the IP, then, the resolution process ends and it will send it back to the browser.</p><p>If the resolver doesn’t know, the request will go to the root server. The root server doesn’t know the IP address of any website, instead, it knows where the TLD (Top-Level Domain) server is. In our examples, “foobar.com” and “netflix.com”, the top-level domain is “.com<em>”.</em></p><p>If the TLD server doesn’t know the IP, it points the resolver to the Authoritative Name Servers of the domain name. These are the servers that will know the IP address of the domain name (if the website actually exists) and can send it back to the resolver then to the web browser.</p><p>If the website doesn’t exist, an error will be displayed on the screen.</p><p>After getting the IP address, it gets registered locally in the cache to avoid this long trip of DNS resolution process next time.</p><p>Now the browser has the IP address of the server so now it can process an HTTP request to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LGwQTjJ-vqc8jrTN" /></figure><h3>What is a network protocol?</h3><blockquote>A <strong>network protocol</strong> is an established set of rules that determine how data is transmitted between different devices in the same <strong>network</strong>. Essentially, it allows connected devices to communicate with each other, regardless of any differences in their internal processes, structure, or design.</blockquote><p>Without protocols, devices wouldn’t be able to understand the electronic signals that they send to each other.</p><h3>What is HTTP?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/0*zAS79vBU5pyTYPNV" /></figure><blockquote>Stands for “Hypertext Transfer Protocol.” <strong>HTTP</strong> is the protocol used to transfer data over the web. It is part of the Internet protocol suite and defines commands and services used for transmitting webpage data</blockquote><p>For example, when the browser sends a HTTP request, the HTTP verb/method is GET by default, that means, the browser tries to get data from a specified ressource in the server.</p><p>There are other HTTP verbs or methods, like POST, PUT, HEAD, DELETE. The method POST, for example, is used to send data to a server to create/update a resource.</p><h3>What is TCP/IP protocol?</h3><blockquote><strong>TCP</strong>/<strong>IP</strong> (Transmission Control <strong>Protocol</strong>/<strong>Internet Protocol</strong>), also referred to as the <strong>Internet Protocol</strong> Suite, is the World Wide Web’s core communication system that enables every <strong>Internet</strong>-connected device to communicate with every other such device simultaneously.</blockquote><p>Although TCP and IP are two separate computer network protocols, they’re so often used together. As a result, the “TCP/IP” model is a recognized terminology</p><p>IP is the part that obtains the address to which data is sent while TCP is responsible for the way data is delivered, received, ordered, and error-checked over the network.</p><h3>How TCP works</h3><blockquote>The Transmission Control Protocol (<strong>TCP</strong>) is a communications standard that enables application programs and computing devices to exchange messages over a network. It is designed to send packets across the internet and ensure the successful delivery of data and messages over networks.</blockquote><p>When a client sends a request to a server, the data is broken into packets. A packet is a small parcel of information that gets transmitted over the network. In the same way, The web server responds by sending back other packets.</p><p>Using TCP, all packets that are sent, are tracked so no data is lost or corrupted in transit. This means TCP is reliable.</p><h3>Difference between TCP and UDP</h3><p>Just like TCP, UDP (User Datagram Protocol) is another widely used protocol for sending packets over the Internet. TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol. The speed for TCP is slower while the speed of UDP is faster. It is used when you don’t care too much if you get all data always like:</p><ul><li>Tunneling/VPN (lost packets are ok — the tunneled protocol takes care of it)</li><li>Media streaming (lost frames are ok)</li><li>Games that don’t care if you get <em>every</em> update</li></ul><h3>Application server</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mvKXq2PTPd2zFfIj.png" /></figure><p>Having only a web server in the server means that the delivered page will be only static. There won’t be any interaction happening between users and the website. In order to have a dynamic website, we need an application server.</p><p>Application servers are dedicated to take some parameters and return static content to the web server, then the webserver sends the content to the client.</p><h3>Database and database server</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ueUQxanj0-P4_nOP.png" /></figure><p>In order to store, extract, manipulate information, we need to have a database and a database server on the server.</p><p>A database is an organized collection of data. There are a few types of databases. the most commonly used type is relational databases. A relational database stores data in the form of tables. These tables may or may not, be linked to each other through primary and foreign keys.</p><h3>Now, what about database servers?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*L9Fr-YKgw7UmL5HX" /></figure><p>A database server is software that allows us to interact with the database. Using a database server, we will be able to perform many tasks such as data analysis, storage, data manipulation, archiving, and other non-user-specific tasks.</p><h3>The load balancer</h3><p>When a website has a large number of visitors, it would be impossible for one single server to handle all these requests. In order to have the website running all the time without any downtime, it would make sense to use many servers instead of one.</p><h3>But how are client requests going to be sent to servers? which server will they be forwarded to first?</h3><p>A load balancer is, as its name indicates, a software that will balance or distribute the load of traffic or requests accross the servers following a load-balancing algorithm. HAproxy is a very commonly used load-balancer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/0*p0v02FsHeo2e5WHF" /></figure><p>There are several load-balancing algorithms, like: round-robin, weighted and least connections algorithm.</p><p>Round-robin alogrithm: Round Robin passes each new connection request to the next server in line, eventually distributing connections evenly across the array of machines being load balanced.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*arPkb6RdIeqv_VBV" /></figure><p>Weighted algorithm: The number of requests that each server/machine receives is proportionate to a ratio weight that we define for each machine. This weight can be defined based on each machine capabilities.</p><p>For example, we can say “Machine 3 can handle 2x the load of machine 1 or 2”, and the load balancer will send two requests to machine 3 for each request sent to the two others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0ab-ICGT99tEdHLX" /></figure><p>Least Connections algorithm: in this algorithm, Requests are served first to the server which is currently handling least number of persistent connections.</p><h3>HTTPS/SSL</h3><p>In this example of url “https://www.holbertonschool.com&quot;, we can see that the protocol is https, Not http. So, what is HTTPS?</p><p>Hyper Text Transfer Protocol Secure (HTTPS) is the secure version of HTTP. The ‘S’ at the end of HTTPS stands for ‘Secure’. It means all communications between the web browser and the wesbite are encrypted. HTTPS is often used to protect highly confidential online transactions like online banking and online shopping order forms.</p><p>With regular HTTP connections, all communications are in ‘plain text’ and can be read by any hacker that manages to break into the connection between the browser and the website. This presents a clear danger if the communication includes sensitive information like credit card details or social security number. With a HTTPS connection, all communications are securely encrypted. This means that even if somebody managed to break into the connection, they would not be able decrypt any of the data which passes between you and the website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/0*LWFkOJk1pfdJ2oHj" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*KX7FyAUYA5vKf1gR" /></figure><p>When a website uses HTTPS protocol, we can see a padlock icon in the address bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*qsG-75kAkkeLrERp" /></figure><h3>How Does HTTPS Work?</h3><p>HTTPS websites typically use one of two secure protocols to encrypt communications — SSL (Secure Sockets Layer) or TLS (Transport Layer Security). Both the TLS and SSL protocols use what is known as an asymmetric Public Key Infrastructure system.</p><p>An asymmetric system uses two keys to encrypt communications, a public key and a private key. Anything encrypted with the public key can only be decrypted by the private key.</p><p>So, when we request a HTTPS connection to a website that uses HTTPS protocol, the website first sends its SSL certificate to the browser. This certificate contains the public key of the server. That means, if we encrypt any data using that public key, only the server that has the corresponding private key can decrypt and read it. After receiving the SSL certificate, the “SSL handshake” occurs and a secure connection between the two machines is established.</p><h3>Firewall</h3><p>A firewall is a network security system designed to prevent unauthorized access to or from a private network. Firewalls can be hardware or software.</p><p>There is two categories of firewalls: network firewalls or host-based firewalls:</p><p>Network firewalls are frequently used to prevent unauthorized Internet users from accessing private networks connected to the Internet, especially intranets. That means, All messages entering or leaving the intranet pass through the firewall, which examines each message and blocks those that do not meet the specified security criterias. Host-based firewalls run on host computers and control network traffic in and out of those machines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Hjwc2Ibv7FoV1pvf" /></figure><p>In order to be protected from hackers and attacks, servers and load balancers are often equipped with firewalls.</p><p>For example, We can configure a firewall to accept connections coming from only port 22 (ssh port), 80 (http port) and 443 (https port). In that way, if an attacker tries to connect on another port, the firewall doesn’t allow his request. we can also configure the firewall to accept only a certain list or range of IP addresses…</p><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c9OeCRZqUDN6XNEX" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce3e979da929" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IoT explained]]></title>
            <link>https://yagomfhein.medium.com/iot-explained-63012a171fef?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/63012a171fef</guid>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Mon, 12 Apr 2021 14:15:41 GMT</pubDate>
            <atom:updated>2021-04-12T14:15:41.286Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*9_ZbrnAikIWC71Ta" /></figure><p>Imagine you’re off for the weekend and forgot to water your plants before leaving. Instead of traveling all the way back home, what if you could simply take your smartphone, know the humidity levels of your different plants, and water those in need by just pressing a button?</p><p>Well, that’s a precise application for what we call the Internet Of Things (IoT).</p><h3>What is IoT?</h3><p>Up until recently, the internet was mainly accessed by computers and mobile phones. But now with IoT, a wide range of appliances can be connected to the Internet and thus controlled remotely. This can be done with your TV, your heating systems at home, your fridge, or in the previous case: your water system. This allows us to have a more precise and deep understanding of the working of things around us.</p><p>But to put it simply:</p><blockquote>The Internet of Things is made up of devices — from simple sensors to smartphones and wearables — connected together to gather information, analyze it and create an action. — <a href="https://www.wired.co.uk/article/internet-of-things-what-is-explained-iot">Wired</a></blockquote><h3>How does it work?</h3><h4>1. Collecting Information</h4><p>The primary element of IoT is sensors that collect information from their environment. They can for example measure moisture, temperature, light, air quality, distances, location, motion, and many more!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Uv2jDi6DEEmm4B4M.jpg" /><figcaption>Some Arduino sensors</figcaption></figure><p>These output data which can be used to make informed decisions.</p><p>On a farm, having details about soil moisture automatically will tell farmers when their crops need to be watered. Instead of watering too much or too little (which can result in poor results), the farmer can ensure that crops receive the exact amount of water they need.</p><h4>2. Sending Information — Connectivity</h4><p>The sensors/devices can be connected to the cloud through a variety of methods including cellular, satellite, WiFi, Bluetooth, low-power wide-area networks (LPWAN), or connecting directly to the internet via ethernet.</p><p>Each method has its advantages and disadvantages depending on the application. Nonetheless, these serve a very simple purpose: sending data to the ‘cloud’.</p><h4>3. Processing the information</h4><p>Here the information is passed onto the software to treat the information and decide on what to do next.</p><p>It could take decisions on its own based on a set of instructions given to it. In our first example, instead, a program could automatically turn on the watering system when the humidity levels are without a specific range.</p><p>But sometimes, you might want to get the user to perform an action according to the data received and that when user interface comes in</p><h4>4. User interface</h4><p>This may be done by sending a message to the recipient (email, text, notification, etc). For eg, if the temperature in the company’s cold storage is too hot, a text message will be sent.</p><p>Also, a user might have an interface that allows them to proactively check in on the system. For example, a user might want to check the video feeds in their house via a phone app or a web browser.</p><p>However, it’s not always a one-way street. Depending on the IoT application, the user may also be able to perform an action and affect the system. For example, the user might remotely adjust the temperature in the cold storage via an app on their phone.</p><h3>Why does it matter?</h3><p>IoT applications can have several benefits.</p><h4>1. Cost reduction</h4><p>When IoT systems are combined with sensors to maintain business equipment operating at full performance, maintenance costs can be reduced.</p><p>On-the-spot workplace equipment troubleshooting detects issues until they affect personnel and customers, saving time and money on costly maintenance.</p><p>One of the advantages the Internet of Things provides to your processes and maintenance workflow is the reduction of expensive long downtime for repairs.2. Efficiency &amp; productivity</p><h4>2. Efficiency &amp; productivity</h4><blockquote>One way to leverage the power of IoT to increase company efficiency is to use it to cut down on repetitive or time-consuming tasks. An example IoT function for this strategy would be an <a href="https://www.information-age.com/enterprise-iot-workplace-efficiency-123483826/">automated PDF conversion and creation tool</a> that removes the obstacles to PDF editing and archiving, increasing communication and documentation speeds. — <a href="https://www.impactmybiz.com/blog/blog-5-benefits-of-the-internet-of-things-for-smbs/">Impact</a></blockquote><h4>3. Customer experience</h4><p>All of this new capability provides opportunities to increase the level of dialog and interaction with customers. Consider the utility bill that you receive each month.</p><p>Most likely, it provides you with an estimate of what you might expect to pay over the next couple of months. Use that example and work with your marketing and business development partners to translate the IoT data you are capturing and into models that will increase customer dialog, trust and retention.</p><h4>4. More monitoring layers</h4><p>With IoT, sensors and smart devices provide the capability to manage a network of physical objects. Consider monitoring across multiple layers of the network and infrastructure used by you and your customers. The data that you collect from an onsite monitor could be enhanced with data about hardware version, firmware version, and location. Go beyond the sensor data and look at how that data is captured and transferred, such as timestamps and error logs to improve network performance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63012a171fef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recursion Explained With Drawings ]]></title>
            <link>https://medium.com/swlh/recursion-explained-with-drawings-e881b835b16b?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/e881b835b16b</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[recursion]]></category>
            <category><![CDATA[c-programming]]></category>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Wed, 27 Jan 2021 11:05:28 GMT</pubDate>
            <atom:updated>2021-01-27T11:05:28.751Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*NmjH7S-BwetbbI17m61grQ.gif" /></figure><p>Because an image is worth 1000 words, let’s go over what recursion is, how it works and how it is handled by the stack.</p><h3>Recursion</h3><p>The definition of recursion is very straight forward:</p><blockquote><strong><em>A recursive function is a function that calls itself.</em></strong></blockquote><p>Here is an example:</p><pre>float _pow_recursion(float x, float y)<br>{<br>    if (y == 0)<br>        return (1);<br>    if (y &lt; 0)<br>        return (_pow_recursion(x, y + 1) / x);<br><br>    return (_pow_recursion(x, y - 1) * x);<br>}</pre><p>Simply put, this function calls itself to find the x to the power of y with the following logic:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JkFPRzISa95JT3cLJawiAA.jpeg" /></figure><p>Let’s see for example what happens if we do: _pow_recursion(5, 3) :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QlqcxqmzGpDiXFUY5-j2Zg.jpeg" /></figure><p>As we can see, here y acts as a counter and each time the function calls itself, its value is reduced by one. That way we can go 4 iterations deep before returning 1 and then multiply this value by 4 until it reaches the 1st iteration, thus doing 5³ .</p><h3>Recursion and the stack</h3><p>In this example, we saw the function depends on the previous invocation of itself in order to return the final result. This is what we call: <strong>the call stack (or execution stack).</strong></p><blockquote><em>The call stack operates on a </em><strong><em>“Last In, First Out” (LIFO) </em></strong><em>basis. An item is “pushed” onto a stack to add to it, and an item is “popped” off the stack when removed from it (when that function returns a value).</em></blockquote><p>So this is how the computer handles the memory during recursion:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2pFxlbbWYJz-ShExTO7Y7A.jpeg" /></figure><p>Awesome isn’t it?! Doesn’t that remind you of something?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F7pHTiZYbAoq40%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F7pHTiZYbAoq40%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F7pHTiZYbAoq40%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="300" frameborder="0" scrolling="no"><a href="https://medium.com/media/e4cd7794d8264133feb6e72507794acf/href">https://medium.com/media/e4cd7794d8264133feb6e72507794acf/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e881b835b16b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/recursion-explained-with-drawings-e881b835b16b">Recursion Explained With Drawings 🎨</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Objects 101 — Mutable vs Immutable]]></title>
            <link>https://medium.com/swlh/python-objects-101-mutable-vs-immutable-e3e5e2245913?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3e5e2245913</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Wed, 13 Jan 2021 10:31:37 GMT</pubDate>
            <atom:updated>2021-01-19T16:07:53.909Z</atom:updated>
            <content:encoded><![CDATA[<h3>Python Objects 101 — Mutable vs Immutable</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yE5UmhyOrFyoGbwk.png" /></figure><p>Python ‘variables’, at first, seem to have superpowers! You can assign an int, a float, a list, a dict… But that what you might want to call a ‘variable’ isn’t really one and that’s the magic of python!</p><p>In python, everything is an object, and the so-called ‘variables’ are more like a label with a reference to an object. And those objects have particular characteristics that any newcomer must learn about.</p><h3>Introduction</h3><p>What does immutable and mutable mean? Well:</p><blockquote><em>Simply placed, after it is made, a </em><strong><em>mutable</em></strong><em> object can be altered, while an </em><strong><em>immutable</em></strong><em> object can’t.</em></blockquote><p>When you initiate an object, Python gives it a unique ID. Once its type is set, it cannot be changed, however, some objects can have their state modified. Here’s the full list of mutable and immutable objects:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/0*2B-M2B95iyFHY_RD.png" /></figure><h3>Id and type</h3><p>We talked about ID and type previously but let dive deeper into how this actually works.</p><p>Python has two built-in functions that allow you to retrieve the unique id of an object and its type:</p><p>id() : returns the ID in the form of an int which corresponds to its address in memory.</p><p>type() : return the type of the object.</p><p>Let’s see an example:</p><pre>&gt;&gt;&gt; a = 1<br>&gt;&gt;&gt; b = &quot;foo&quot;<br>&gt;&gt;&gt; id(a)<br>4335832752<br>&gt;&gt;&gt; id(b)<br>4339084568<br>&gt;&gt;&gt; type(a)<br>&lt;class &#39;int&#39;&gt;<br>&gt;&gt;&gt; type(b)<br>&lt;class &#39;str&#39;&gt;</pre><p>A little notice before we carry on:</p><blockquote><em>Variables are not objects. Variables point to objects in memory by storing their address i.e. their </em><em>id() . Rather than variable we call them </em><strong><em>identifiers</em></strong><em>.</em></blockquote><p>As we can see, id() and type() allows us to see if they are the same object or if they have the same type. But we can also figure that out this way:</p><pre>&gt;&gt;&gt; a = 1<br>&gt;&gt;&gt; b = &quot;foo&quot;<br>&gt;&gt;&gt; a is b &#39;&#39;&#39;comparing the types&#39;&#39;&#39;<br>False</pre><h3>Mutable and Immutable Objects</h3><h4>Immutable Objects:</h4><p>Let’s go over the following example to understand the mutability of object types:</p><pre>x = 5<br>y = x</pre><p>Here we created an object of type int. Let’s look at their IDs:</p><pre>&gt;&gt;&gt; id(x)<br>4538056496<br>&gt;&gt;&gt; id(y)<br>4538056496<br>&gt;&gt;&gt; id(5)<br>4538056496</pre><p>So here we see: id(x) == id(y) == id(5)</p><p>If we do the following operation: x = x * 2 then the IDs will be the following:</p><pre>&gt;&gt;&gt; id(x)<br>4538056656<br>&gt;&gt;&gt; id(y)<br>4538056496<br>&gt;&gt;&gt; id(5)<br>4538056496</pre><p>Here id(x) != id(y) and id(5)</p><p>Therefore, <strong>immutable objects CANNOT be modified after their creation</strong>.</p><h4>Mutable Objects:</h4><pre>l1 = list([1, 2, 3])<br>l2 = l1</pre><p>In this example, we created two objects of type list . Let’s look at their IDs:</p><pre>&gt;&gt;&gt; id(l1)<br>4541599816<br>&gt;&gt;&gt; id(l2)<br>4541599816</pre><p>Let’s add an item to the list l1.append(4) and check their IDs once more:</p><pre>&gt;&gt;&gt; id(l1)<br>4541599816<br>&gt;&gt;&gt; id(l2)<br>4541599816</pre><p>Here: id(l1) == id(l2)</p><p>Therefore, <strong>mutable objects CAN be modified after their creation</strong>.</p><p>Now we know the main difference between mutable and immutable objects.</p><h3>How Differently Does Python Treat Mutable And Immutable Objects?</h3><ul><li><strong>Immutable </strong>objects<strong> </strong>are quicker to access</li><li><strong>Mutable</strong> objects<strong> </strong>are slower to access.</li><li><strong>Immutables</strong> are used when you need to ensure that the object you made will always stay the same.</li><li><strong>Mutable</strong> objects are great to use when you need to change the size of the object, for example, list, dict etc..</li><li><strong>Immutable</strong> objects are fundamentally expensive to “change”, because doing so involves creating a copy.</li><li>Changing <strong>mutable</strong> objects is cheap.</li></ul><h3>Exceptions</h3><p>The Python tuple-like containers are <strong>immutable</strong>. That means you can’t adjust the value of a tuple after it’s made.</p><p>But a tuple’s ‘value’ is simply a list of names that have unchangeable object bindings.</p><blockquote><em>The key thing to note is that the bindings are unchangeable, not the objects they are bound to.</em></blockquote><p>For example, t = (&#39;foo&#39;, [1, 2, 3]) combines an <strong>immutable string</strong> with a <strong>mutable list. </strong>So… The tuple is immutable and its string content too, but the list is mutable.</p><blockquote><em>The “value” of an immutable object can’t change, but it’s constituent objects can.</em></blockquote><h3>Objects Passed To Functions</h3><p>Here we want to know more about how arguments are passed to functions and what does that imply for mutable and immutable objects.</p><p>Here is the book definition:</p><blockquote><em>Python uses a mechanism, which is known as “Call-by-Object”, sometimes also called “Call by Object Reference” or “Call by Sharing”.</em></blockquote><h4>Immutable:</h4><p>If you pass to a function immutable arguments such as integers, strings, or tuples, the passing works like call-by-value.</p><p>The object referenced is passed on to the parameters of the function. Inside, they can’t be modified so they can’t be changed at all, i.e., they’re immutable.</p><pre>&gt;&gt;&gt; def ref_demo(x):<br>...    print &quot;x=&quot;,x,&quot; id=&quot;,id(x)<br>...    x=42<br>...    print &quot;x=&quot;,x,&quot; id=&quot;,id(x)<br>...<br>&gt;&gt;&gt; x = 9<br>&gt;&gt;&gt; id(x)<br>41902552<br>&gt;&gt;&gt; ref_demo(x)<br>x= 9  id= 41902552<br>x= 42  id= 41903752<br>&gt;&gt;&gt; id(x)<br>41902552</pre><h4>Mutable:</h4><p>They are often transferred via object relation, but in the function, they can be modified in place.</p><p>If we pass a list to a function, we have to remember two cases:</p><ul><li>It is possible to modify the list elements in place, i.e. the list can be changed even within the scope of the caller.</li><li>If the name is assigned to a new list, the existing list will not be changed, i.e. the list beyond the control of the caller will remain unchanged.</li></ul><pre>&gt;&gt;&gt; def ref_demo(l):<br>...    print l<br>...    l += [47,11]<br>...    print l<br>...<br>&gt;&gt;&gt; list_1 = [1, 2, 3]<br>&gt;&gt;&gt; ref_demo(list_1)<br>[1, 2, 3]<br>[1, 2, 3, 47, 11]<br>&gt;&gt;&gt; print list_1<br>[1, 2, 3, 47, 11]</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3e5e2245913" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/python-objects-101-mutable-vs-immutable-e3e5e2245913">Python Objects 101 — Mutable vs Immutable</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is The Difference Between Dynamic And Static Libraries]]></title>
            <link>https://yagomfhein.medium.com/what-is-the-difference-between-dynamic-and-static-libraries-358e7ac93cf6?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/358e7ac93cf6</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[c-programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Mon, 14 Dec 2020 18:21:44 GMT</pubDate>
            <atom:updated>2020-12-14T18:21:44.477Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QjnWHDyO0xYSTcPr" /></figure><p>As a software engineer, you often go about solving big problems by breaking them down into several smaller problems. Most of the time, you want to write one function to solve one problem. For example, you can create a function called _strlen() to calculate the length of a string.</p><p>This will be the kind of function you’ll use a thousand times while coding. It’s OK to rewrite them each time you start a new program. But it’s better if you could save yourself the hassle, and that’s what<strong> libraries </strong>are all about: <strong>making functions reusable in multiple programs.</strong></p><p>In this article, we will cover: the difference between static and dynamic libraries, their pros and cons, how they work, how to create them and, how to use them.</p><h3>Static vs Dynamic Libraries</h3><ul><li>Static libraries, even if they can be used in multiple programs, are locked into the program at compile time.</li><li>Dynamic libraries can also be used in several programs but they exist as separate files and are not locked to the executable file.</li></ul><h3>Upsides And Downsides</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mXxc4IWC-m2nkiJQDTeJCQ.png" /></figure><h3>How To Create Them</h3><h4>Dynamic Libraries (Linux only)</h4><p>In your shell type the following commands:</p><pre>gcc *.c -c -fpic</pre><p>This command essentially generates one object file .o for each source file .c . You need to make sure you prepare you .c files before compiling.</p><p><strong>Flags</strong>:</p><ul><li>-fPIC ensures that the code is position-independent.</li><li>-c option ensures that each .o file isn’t linked yet.</li></ul><pre>gcc *.o -shared -o liball.so</pre><p>The wildcard * tells the compiler to compile all the .o files into a dynamic library which is specified by the -shared flag.</p><p>The prefix lib is a convention for dynamic library files which end with the extension .so .</p><pre>export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH</pre><p>This will export the path for libraries so that programs know where to look for them.</p><h4>Static Libraries (Linux only)</h4><p>In your shell type the following commands:</p><pre>gcc *.c -c -fpic</pre><p>We start the same way by creating object files from our .c files. Then we archive the library using:</p><pre>ar rcs liball.a *.o</pre><p>Now both our static and dynamic libraries are ready to be used.</p><h3>How to use your libraries</h3><p>It’s very simple to use your libraries. You will have to include them at compilation using the following command:</p><pre>gcc -L -liball YOUR_C_FILE -o YOUR_EXEC_NAME</pre><p>Here the -L flag tells it we want to include library files.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=358e7ac93cf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[C Static Libraries 101]]></title>
            <link>https://yagomfhein.medium.com/c-static-libraries-101-c9ceb0c43291?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9ceb0c43291</guid>
            <category><![CDATA[libraries]]></category>
            <category><![CDATA[c-programming]]></category>
            <category><![CDATA[c-programming-language]]></category>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Sun, 11 Oct 2020 09:20:43 GMT</pubDate>
            <atom:updated>2020-10-11T09:20:43.316Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*_hqBZatU6r2rI_dw" /></figure><p>C static libraries as an essential tool for software engineers. Is this article we will covert the most important things you need to know about then:</p><ul><li>Why use libraries</li><li>How they work</li><li>How to create them</li><li>How to use them</li></ul><h3>Why use libraries</h3><blockquote>A library is a file containing several object files, that can be used as a single entity in a linking phase of a program — <a href="http://docencia.ac.upc.edu/FIB/USO/Bibliografia/unix-c-libraries.html#:~:text=One%20of%20the%20tools%20that,and%20so%20on)%20in%20them.">source</a>.</blockquote><p>If you’re not familiar with how C programs are compiled <a href="https://medium.com/@yagomfhein/the-process-of-compiling-c-programs-explained-cbe4f2dc557">have a look a this first</a>.</p><p>In software engineering, you tend to break a large problem into several little problems and then solve a little problem at the time. In other words, you will code a function at the time.</p><p>What often happens is that some functions are to be used several times throughout a project. However, in C language, this process could be very time consuming because you must explicitly link the function to every program that uses it.</p><p>Hence libraries.</p><blockquote>They are particularly useful for storing frequently used routines because you do not need to explicitly link them to every program that uses them. The linker automatically looks in libraries for routines that it does not find elsewhere — <a href="https://www.webopedia.com/TERM/L/library.html">source</a>.</blockquote><p>You can use two types of libraries: static or shared.</p><h3>How they work</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/0*yG6OpfeZptMx9XLW.png" /></figure><p>A static library is the result of the linker making copy of all used library functions to the executable file. Static Linking creates larger binary files, and need more space on disk and main memory. Examples of static libraries (libraries which are statically linked) are, <strong><em>.a</em></strong> files in Linux and <strong><em>.lib </em></strong>files in Windows.</p><h3>How to create them</h3><h4><strong>1.</strong> Create a C file that contains functions in your library.</h4><pre>/* Filename: 2-strlen.c */</pre><pre><strong>#include</strong> &quot;holberton.h&quot; </pre><pre>/**<br>* _strlen - the length of a string<br>* @s: the string<br>*<br>* Return: the lenght of the string<br>*/ </pre><pre>int <strong>_strlen</strong>(char *s)<br>{<br>     <strong>int</strong> result = 0;<br>     <strong>while</strong> (*s != &#39;\0&#39;) <br>     {  <br>          result++;  <br>          s++; <br>     } <br>     <strong>return</strong> (result);<br>}</pre><p>Here there is only one function for simplicity but you can more!</p><h4><strong>2.</strong> Create a header file for the library</h4><pre>/* Filename: lib_mylib.h */</pre><pre>#ifndef HOLBERTON_H<br>#define HOLBERTON_H <br>#include &lt;stdlib.h&gt;<br>#include &lt;stdio.h&gt;</pre><pre>int <strong>_strlen</strong>(char *s);</pre><pre>#endif</pre><h4><strong>3. </strong>Compile library files.</h4><pre><strong>gcc</strong> -pedantic -Wall -Werror -Wextra -c *.c</pre><p>This will compile all your files ending with “.c” into “.o” object files.</p><h4><strong>4. </strong>Create static library.</h4><pre><strong>ar</strong> -rc liball.a *.o</pre><p>This will take all the object files and bundle them into a static library called “liball.a”.</p><p>If needed use the “ranlib liball.a” to index the library.</p><h3>How to use them</h3><h4><strong>1.</strong> Create a C file with main function</h4><pre>/* filename: test_lib.c  */</pre><pre>#include &quot;liball.h&quot;</pre><pre><strong>void</strong> main()</pre><pre>{<br>    <strong>_strlen</strong>(&quot;How long is this string?&quot;);<br>}</pre><h4><strong>2.</strong> Compile the test_lib program.</h4><pre><strong>gcc</strong> -c test_lib.c</pre><h4><strong>3.</strong> Link the compiled test_lib program to the static library.</h4><pre><strong>gcc</strong> test_lib.c -L. -lall -o test_lib</pre><p>‘-L’ specifies the library path.<br>‘-l’ goes before the library name.</p><h4>4. Run the test_lib program</h4><pre>./test_lib</pre><p>And your output should be:</p><pre>22</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9ceb0c43291" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Process Of Compiling C Programs Explained]]></title>
            <link>https://yagomfhein.medium.com/the-process-of-compiling-c-programs-explained-cbe4f2dc557?source=rss-cabaead0b641------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbe4f2dc557</guid>
            <category><![CDATA[compilers]]></category>
            <category><![CDATA[c-programming]]></category>
            <category><![CDATA[c-program]]></category>
            <category><![CDATA[compiling]]></category>
            <dc:creator><![CDATA[Yago Martinez-Falero Hein]]></dc:creator>
            <pubDate>Wed, 16 Sep 2020 12:54:53 GMT</pubDate>
            <atom:updated>2020-09-16T12:54:53.442Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="What happens when you type “gcc main.c”? | LaptrinhX" src="https://cdn-images-1.medium.com/proxy/1*2-86wUXX2mRHEjGkZhvQGg.jpeg" /></figure><p>C is a low-level programming language meaning that by itself it cannot be read by the computer. It needs to be compiled with a compiler (gcc for example) in order to be “translated” into code that your computer will understand (i.e. binary). In this article, we will explain the process of compiling C programs.</p><h3>The compiler components</h3><p>The compiler is not a single module compiler, it has four big modules and can be simply described as it follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/0*hL9rOt8mnQDtjiyj.png" /></figure><ul><li><strong>Preprocessor: </strong>a program that modifies data to conform with the input requirements of the compiler.</li><li><strong>Compiler: </strong>generates an assembly code from the preprocessor input</li><li><strong>Assembler</strong>: convert the assembly code into a computer-readable code (i.e. binary)</li><li><strong>Linker</strong>: used with the assembler to provide links to the libraries needed for an executable program</li></ul><h3>Let’s look at these steps in-depth</h3><p>For the sake of this exercise, let’s consider the following C program hello.c:</p><pre>#include &lt;stdio.h&gt;<br><br>/**<br> * main - Entry point<br> *<br> * Return: Always 0 (Success)<br> */<br>int main(void)<br>{<br>   printf(&quot;Hello World\n&quot;); <br>   return (0);<br>}</pre><p>If we were to run this program the <strong>expected output</strong> should simply be:</p><p>Hello World</p><p>But before this happens we need to compile the program so it can be executed.</p><p>For that, we will be using the shell command gcc . Obviously, the command gcc hello.c allows you to firectly create a a.out executable file for your C program. Like so:</p><p><strong>Command</strong>: gcc hello.c &amp;&amp; ./a.out</p><p><strong>Output</strong>: Hello World</p><p>But in order to understand the process we will brake it down into the 4 modules to check out how the compiler works.</p><h3>Preprocessor</h3><p>The gcc command allows us to process the file without compiling, assembling and linking it.</p><p>Let’s preprocess it and save its output on a file named hello_p and print the first 10 lines:</p><p><strong>Command</strong>:</p><p>gcc -E hello.c &gt; hello_p and then… head hello_p</p><p><strong>Output:</strong></p><pre># 1 &quot;hello.c&quot;</pre><pre># 1 &quot;&lt;built-in&gt;&quot;</pre><pre># 1 &quot;&lt;command-line&gt;&quot;</pre><pre># 1 &quot;/usr/include/stdc-predef.h&quot; 1 3 4</pre><pre># 1 &quot;&lt;command-line&gt;&quot; 2</pre><pre># 1 &quot;hello.c&quot;</pre><pre># 1 &quot;/usr/include/stdio.h&quot; 1 3 4</pre><pre># 27 &quot;/usr/include/stdio.h&quot; 3 4</pre><pre># 1 &quot;/usr/include/features.h&quot; 1 3 4</pre><pre># 374 &quot;/usr/include/features.h&quot; 3 4</pre><h3>Compiler</h3><p>Now let’s compile it only and see its output in the file hello.o :</p><p><strong>Command</strong>:</p><p>gcc -c hello.c &gt; hello.o and less hello.o</p><p><strong>Output:</strong></p><pre>^?ELF^B^A^A^@^@^@^@^@^@^@^@^@^A^@&gt;^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@0^A^@^@^@^@^@^@^@</pre><pre>^@^@^@@^@^@^@^@^@@^@^M^@</pre><pre>^@UH&lt;89&gt;&lt;E5&gt;&lt;BF&gt;^@^@^@^@&lt;E8&gt;^@^@^@^@&lt;B8&gt;^@^@^@^@]&lt;C3&gt;Hello World^@^@GCC: (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4^@^@^@^@^T^@^@^@^@^@^@^@^AzR^@^Ax^P^AESC^L^G^H&lt;90&gt;^A^@^@^\^@^@^@^\^@^@^@^@^@^@^@^U^@^@^@^@A^N^P&lt;86&gt;^BC^M^FP^L^G^H^@^@^@^@.symtab^@.strtab^@.shstrtab^@.rela.text^@.data^@.bss^@.rodata^@.comment^@.note.GNU-stack^@.rela.eh_frame^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@</pre><pre>^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^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@^@^@^@^@^@^@^@^@^@^@^@^@^@^C^@^F^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@       ^@^@^@^R^@^A^@^@^@^@^@^@^@^@^@^U^@^@^@^@^@^@^@^N^@^@^@^P^@^@^@^@^@^@^@^@^@^@^@</pre><pre>^@^@^@^@^@^@^@^@^@hello.c^@main^@puts^@^@^@^@^@^@^E^@^@^@^@^@^@^</pre><h3>Assembler</h3><p>Now let’s assemble it only and see its output in the file hello.s :</p><p><strong>Command</strong>:</p><p>gcc -S hello.c &gt; hello.s and less hello.s</p><p><strong>Output:</strong></p><pre>.file   &quot;hello.c&quot;</pre><pre>.section        .rodata</pre><pre>.LC0:</pre><pre>.string &quot;Hello World&quot;</pre><pre>.text</pre><pre>.globl  main</pre><pre>.type   main, @function</pre><pre>main:</pre><pre>.LFB0:</pre><pre>.cfi_startproc</pre><pre>pushq   %rbp</pre><pre>.cfi_def_cfa_offset 16</pre><pre>.cfi_offset 6, -16</pre><pre>movq    %rsp, %rbp</pre><pre>.cfi_def_cfa_register 6</pre><pre>movl    $.LC0, %edi</pre><pre>call    puts</pre><pre>movl    $0, %eax</pre><pre>popq    %rbp</pre><pre>.cfi_def_cfa 7, 8</pre><pre>ret</pre><pre>.cfi_endproc</pre><pre>.LFE0:</pre><pre>.size   main, .-main</pre><pre>.ident  &quot;GCC: (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4&quot;</pre><pre>.section        .note.GNU-stack,&quot;&quot;,@progbits</pre><h3>Linker</h3><p>This time we’ll checkout what a fully compiled file looks like.</p><p>Now we can directly insert the following:</p><p><strong>Command</strong>: gcc hello.c and then less a.out</p><p><strong>Output</strong>:</p><pre>^?ELF^B^A^A^@^@^@^@^@^@^@^@^@^B^@&gt;^@^A^@^@^@@^D@^@^@^@^@^@@^@^@^@^@^@^@^@x^Q^@^@^@^@^@^@^@^@^@^@@^@8^@  ^@@^@^^^@ESC^@^F^@^@^@^E^@^@^@@^@^@^@^@^@^@^@@^@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QUH&lt;89&gt;&lt;E5&gt;&lt;E8&gt;~&lt;FF&gt;</pre><pre>&lt;FF&gt;&lt;FF&gt;]&lt;C6&gt;^EF^K ^@^A&lt;F3&gt;&lt;C3&gt;^O^_@^@H&lt;83&gt;=^X       ^@^@t^^&lt;B8&gt;^@^@^@^@H&lt;85&gt;&lt;C0&gt;t^TU&lt;BF&gt; ^N`</pre><pre>^@H&lt;89&gt;&lt;E5&gt;&lt;FF&gt;&lt;D0&gt;]&lt;E9&gt;{&lt;FF&gt;&lt;FF&gt;&lt;FF&gt;^O^_^@&lt;E9&gt;s&lt;FF&gt;&lt;FF&gt;&lt;FF&gt;UH&lt;89&gt;&lt;E5&gt;&lt;BF&gt;&lt;D4&gt;^E@^@&lt;E8&gt;&lt;D5&gt;</pre><pre>&lt;FE&gt;&lt;FF&gt;&lt;FF&gt;&lt;B8&gt;^@^@^@^@]&lt;C3&gt;f.^O^_&lt;84&gt;^@^@^@^@^@^O^_@^@AWA&lt;89&gt;&lt;FF&gt;AVI&lt;89&gt;&lt;F6&gt;AUI&lt;89&gt;&lt;D5&gt;ATL</pre><pre>a.out</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbe4f2dc557" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>