<?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 Edwin Hernandez on Medium]]></title>
        <description><![CDATA[Stories by Edwin Hernandez on Medium]]></description>
        <link>https://medium.com/@edwinhern?source=rss-f84180e5354c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NqGjw0dd7E1f9z1nKgp4pA.png</url>
            <title>Stories by Edwin Hernandez on Medium</title>
            <link>https://medium.com/@edwinhern?source=rss-f84180e5354c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:46:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@edwinhern/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[Navigating Next.js 13: Simplified Data Fetching with App Router]]></title>
            <link>https://edwinhern.medium.com/navigating-next-js-13-simplified-data-fetching-with-app-router-331056e472e3?source=rss-f84180e5354c------2</link>
            <guid isPermaLink="false">https://medium.com/p/331056e472e3</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Edwin Hernandez]]></dc:creator>
            <pubDate>Thu, 26 Oct 2023 03:51:04 GMT</pubDate>
            <atom:updated>2023-10-26T03:51:04.479Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, esteemed devs! 🌟 In the vibrant realm of Next.js 13, a new hero emerges — the App Router, simplifying our data fetching quests. Today, we’re taking a joyride to explore this marvel and unveil the simplicity it brings to our codebases. Ready? Let’s zoom through!</p><h3>The Magical Ride Begins</h3><p>In Next.js 13, fetching data is an effortless breeze thanks to the App Router. Just create an async component, fetch your data at the top, and present it in your template like a pro. Here’s a look at this simplicity in action:</p><pre>// app/page.jsx<br>export default async function Page() {<br>  const res = await fetch(&quot;https://jsonplaceholder.typicode.com/posts&quot;);<br>  const posts = await res.json();<br><br>  return (<br>    &lt;div&gt;<br>      &lt;h1&gt;Posts&lt;/h1&gt;<br>      &lt;ul&gt;<br>        {posts.map((post) =&gt; (<br>          &lt;li key={post.id}&gt;{post.title}&lt;/li&gt;<br>        ))}<br>      &lt;/ul&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><h3>Why Ride the App Router Wave?</h3><ol><li>Server-Side Superpowers: Fetch data server-side, pre-rendering pages with the data already in place. SEO and performance? Check and check! 🚀</li><li>Client-Side Coolness: Need data on the client? Libraries like SWR have got your back, making client-side fetching a chill experience. 🏄‍♀️</li><li>Caching and Revalidating with Ease: Adjust caching and revalidation effortlessly, ensuring your data is fresh, yet your performance stays top-notch.</li></ol><pre>// app/page.jsx<br>export default async function Page() {<br>  const res = await fetch(&quot;https://jsonplaceholder.typicode.com/posts&quot;, {<br>    next: { revalidate: 3600 }, // Will revalidate every 1 hour<br>  });<br>  const posts = await res.json();<br>}</pre><p>Next.js 13’s App Router is indeed a game-changer, making data fetching as easy as a Sunday morning. So, hop on and let this simplified data fetching journey spark joy in your developer heart. Embrace the ease, explore the code, and let the magic of Next.js 13 fuel your projects forward! 🌈</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=331056e472e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[System Design Basics: How YouTube and Spotify Handle Millions of Us!]]></title>
            <link>https://edwinhern.medium.com/system-design-basics-how-youtube-and-spotify-handle-millions-of-us-0e0028abe131?source=rss-f84180e5354c------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e0028abe131</guid>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Edwin Hernandez]]></dc:creator>
            <pubDate>Thu, 26 Oct 2023 00:32:30 GMT</pubDate>
            <atom:updated>2023-10-26T01:35:39.387Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever binge-watched videos on YouTube or streamed your favorite playlist on Spotify without a glitch? Ever wondered how? Let’s dive into the captivating world of system design, the unsung hero behind your uninterrupted streams.</p><h3>1. System Design: A Quick Intro</h3><p>In essence, system design is like city planning. It’s about creating blueprints — determining where to place roads, buildings, and parks to ensure the city functions smoothly, even as its population explodes.</p><h3>2. Why is it Crucial?</h3><p>Imagine YouTube being down on a day you wanted to learn a new recipe or Spotify not playing that song you needed for motivation. Efficient system design ensures these platforms accommodate everyone, from casual listeners to hardcore binge-watchers.</p><h3>3. The Pillars of Good System Design</h3><ul><li>Simplicity: Like learning to ride a bike before a motorbike. Start simple, then evolve.</li><li>Scalability: Ensuring Spotify can add the next hot track or YouTube can host your viral video.</li><li>Modularity: Think LEGO blocks — creating small, interchangeable pieces that fit together but can also stand alone.</li><li>Robustness: Like a reliable friend, being there even when things go south.</li></ul><h3>4. Let’s Talk Tools &amp; Techniques</h3><ul><li>Load Balancers: Imagine a traffic cop directing cars to less busy roads. They ensure no single server is swamped with too many requests.</li><li>Databases: Your personal library. Places like Spotify and YouTube use them to store songs, videos, user data, and more.</li><li>Caches: The “favorites” tab of a browser, remembering frequently visited pages (or songs/videos) for quicker access.</li><li>CDN (Content Delivery Network): Imagine having multiple storage units across a city. It helps bring data closer to users, ensuring faster delivery.</li></ul><h3>5. The Delicate Dance: CAP Theorem</h3><p>Think of it as choosing between fast food, gourmet dining, and home-cooked meals:</p><ul><li>Consistency (Gourmet Dining): Every user gets the most recent update, but it might take time.</li><li>Availability (Fast Food): Quick and always up, but might not always have the latest update.</li><li>Partition Tolerance (Home-Cooked): Even if one ingredient (server) is missing, you can still have a meal (the system works).</li></ul><p>However, like in dining, you can usually pick only two!</p><h3>6. Wrapping Up</h3><p>Next time you’re jamming to a tune on Spotify or laughing at a YouTube video, spare a thought for the intricate dance of system design playing out behind the scenes. And as you delve deeper into the tech world, remember: every massive platform began with a simple, well-thought-out design. Yours can too!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e0028abe131" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Engineering Self-Care: Nurturing the Mind Behind the Code]]></title>
            <link>https://edwinhern.medium.com/software-engineering-self-care-nurturing-the-mind-behind-the-code-a7c1959a183d?source=rss-f84180e5354c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7c1959a183d</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[self-care]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Edwin Hernandez]]></dc:creator>
            <pubDate>Wed, 25 Oct 2023 05:56:36 GMT</pubDate>
            <atom:updated>2023-10-25T05:56:36.402Z</atom:updated>
            <content:encoded><![CDATA[<p>In the fast-paced world of software development, it’s easy to get lost in the sea of deadlines, feature requests, and bug reports. Amidst the chaos, it’s important to remember the well-being of the most critical tool in the software engineering process: you.</p><h3>1. Physical Health: Beyond the Keyboard</h3><ul><li>Move Around: Prolonged sitting can lead to various health issues. Make it a point to stand, stretch, or even take a short walk every hour.</li><li>Ergonomics: Invest in a good chair and an adjustable desk. Ensure your screen is at eye level and your keyboard and mouse are positioned comfortably.</li></ul><h3>2. Mental Health: Debugging the Mind</h3><ul><li>Breaks Are Essential: Continuous coding can lead to burnout. Take short, regular breaks to clear your mind. The <a href="https://en.wikipedia.org/wiki/Pomodoro_Technique">Pomodoro Technique</a> is a popular method.</li><li>Stay Connected: While coding can be solitary, don’t isolate yourself. Stay connected with peers, attend meet-ups, or simply chat with friends.</li></ul><h3>3. Continuous Learning: But At Your Pace</h3><ul><li>It’s Okay Not To Know Everything: The tech field evolves rapidly, but it’s okay if you don’t know the latest framework or language. Focus on mastering the basics and the rest will follow.</li><li>Dedicate Learning Time: Instead of overwhelming yourself with constant learning, allocate specific time slots in your week for it.</li></ul><h3>4. Work-Life Balance: There’s Life Beyond Git Commits</h3><ul><li>Set Boundaries: It’s important to have a clear boundary between work and personal time. Avoid checking work emails or Slack during off-hours.</li><li>Pursue Hobbies: Do something you love outside of coding. It could be reading, painting, or any other hobby. This helps to relax and rejuvenate.</li></ul><h3>5. Seeking Help: It’s a Sign of Strength</h3><ul><li>Talk: If you feel overwhelmed, speak to someone. It could be a trusted colleague, a friend, or a professional therapist.</li><li>Mental Health Apps: There are many apps available that offer meditation, relaxation techniques, and other forms of self-help.</li></ul><h3>Conclusion</h3><p>In the quest to build the next big software or to meet that looming deadline, don’t neglect the software engineer that makes it all happen: you. Regular maintenance and self-care are crucial to ensure that both you and your code thrive.</p><p><em>Remember, a happy coder is a productive coder!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7c1959a183d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building My Portfolio with Next.js, Shadcn, TailwindCSS, and More]]></title>
            <link>https://edwinhern.medium.com/building-my-portfolio-with-next-js-shadcn-tailwindcss-and-more-dff279d76396?source=rss-f84180e5354c------2</link>
            <guid isPermaLink="false">https://medium.com/p/dff279d76396</guid>
            <category><![CDATA[nextjs-with-seo]]></category>
            <category><![CDATA[tailwind]]></category>
            <category><![CDATA[shadcn]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Edwin Hernandez]]></dc:creator>
            <pubDate>Mon, 16 Oct 2023 07:10:00 GMT</pubDate>
            <atom:updated>2023-10-18T23:47:17.347Z</atom:updated>
            <content:encoded><![CDATA[<p>When embarking on the journey to build my portfolio website, my top priority was to use tools that are efficient, flexible, and would seamlessly integrate with each other. After some research and experimentation, I settled on a combination that I’ve absolutely loved: Next.js for its robust framework capabilities, Shadcn as a UI framework, and TailwindCSS for styling.</p><h4>Why Next.js?</h4><p>Next.js has always been a frontrunner when it comes to creating React applications. With built-in features such as Server Side Rendering and Static Site Generation, it ensures optimal performance. Its integration capabilities with various tools made it a no-brainer for me. And let’s not forget the ease with which I could set up development and production scripts, making my development process smooth and efficient.</p><h4>Shadcn: A Refreshing UI Approach</h4><p>Shadcn caught my attention due to its modular approach. Instead of downloading a heavy bundle of components, Shadcn offers the flexibility to download specific components as per the project needs. This ensures my site remains lightweight and efficient.</p><p>Another feature that’s worth mentioning is Shadcn’s theme configurator. It provides an intuitive way to define a style theme which works in harmony with the components. This theme can be easily integrated into my tailwind.config.ts, providing a unified styling guide across my project.</p><h4>TailwindCSS: Utility-first Magic</h4><p>TailwindCSS has changed the way I approach styling. Its utility-first methodology allows for rapid UI development without sacrificing readability or maintainability. The ability to create custom utilities and seamlessly integrate them with Shadcn components has been a game-changer for me.</p><h4>Light/Dark Mode with Next-Themes</h4><p>One tool that made a significant impact with minimal effort is next-themes. It allowed me to easily integrate light/dark mode capabilities into my project, and it worked right off the shelf. This ensured my site provides an optimal viewing experience regardless of the user&#39;s theme preferences.</p><h4>Enhancing Mobile UX with React Multi Carousel</h4><p>When it comes to mobile responsiveness, it’s not just about adjusting layouts. It’s about rethinking user interactions. I employed react-multi-carousel to transform how content is presented on mobile devices. Rather than showing multiple card components that showcase my projects, I opted for a carousel component. This allows users to scroll through the items effortlessly, saving on scroll space and offering a modern, clean, and streamlined look.</p><h4>Monitoring with Vercel Analytics</h4><p>To understand my site’s performance and gather insights about my audience, I’ve integrated @vercel/analytics. It provides a comprehensive overview of website performance, helping me ensure optimal user experience. Plus, getting insights about the types of users visiting my site has been invaluable.</p><h4>SEO Made Easy with Next-SEO</h4><p>In the digital age, having great content isn’t enough. It needs to be discoverable. next-seo has been a great addition, allowing me to set a default SEO configuration and then build upon it for individual pages. This ensures my portfolio is easily discoverable and stands out in search results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8WcsQ_OHxPM4D1-6dNDgYQ.png" /><figcaption>10.16.23 — Website design</figcaption></figure><h4>Conclusion</h4><p>Building my portfolio has been a journey of learning and experimentation. The combination of tools and libraries I’ve used provided a robust foundation, letting me focus on what truly matters: showcasing my work and ensuring a delightful user experience. I highly recommend these tools to anyone looking to build a modern, efficient, and stylish web project.</p><p><a href="https://portfolio-v3-edwinhern.vercel.app/">Edwin H - Home Page</a></p><p>10.18.28 — Here’s an updated look</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xJMXuy_P3QqqKs1Ig0ypCw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dff279d76396" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>