<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alberto</title>
    <description>The latest articles on DEV Community by Alberto (@thecoder507).</description>
    <link>https://dev.to/thecoder507</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1465007%2Fb94c1f86-2a93-410e-bc63-7e46dbc02016.jpg</url>
      <title>DEV Community: Alberto</title>
      <link>https://dev.to/thecoder507</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thecoder507"/>
    <language>en</language>
    <item>
      <title>I Built a Simple MIPS CPU Simulator in Python 🧠</title>
      <dc:creator>Alberto</dc:creator>
      <pubDate>Thu, 08 Jan 2026 23:47:23 +0000</pubDate>
      <link>https://dev.to/thecoder507/i-built-a-simple-mips-cpu-simulator-in-python-1h19</link>
      <guid>https://dev.to/thecoder507/i-built-a-simple-mips-cpu-simulator-in-python-1h19</guid>
      <description>&lt;h2&gt;
  
  
  Why I Built It
&lt;/h2&gt;

&lt;p&gt;In the Computer Architecture module within the Computer Science course, I learned the fundamental concepts of registers, memory, and instructions that explain how a CPU works. As part of the CS104 project, I decided to put that theory into practice by building a small MIPS-style CPU simulator in Python, which allowed me to observe step by step how instructions are executed and directly connect what I learned in class with hands-on experimentation.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the Program Does
&lt;/h2&gt;

&lt;p&gt;The simulator models a very small CPU with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Registers
&lt;/li&gt;
&lt;li&gt;Main memory
&lt;/li&gt;
&lt;li&gt;A program counter (PC)
&lt;/li&gt;
&lt;li&gt;A fetch–decode–execute loop
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It supports basic MIPS-like instructions such as:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ADD&lt;/code&gt;, &lt;code&gt;ADDI&lt;/code&gt;, &lt;code&gt;LW&lt;/code&gt;, &lt;code&gt;SW&lt;/code&gt;, &lt;code&gt;BEQ&lt;/code&gt;, and &lt;code&gt;HALT&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Instructions are loaded from a text file and executed one by one, printing register states after each step.&lt;/p&gt;




&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk6n54sg6mk02w76zeks1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk6n54sg6mk02w76zeks1.png" alt=" " width="800" height="406"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Seeing the registers update after each instruction makes the CPU behavior easy to follow.&lt;/p&gt;




&lt;h2&gt;
  
  
  How It’s Built (Brief)
&lt;/h2&gt;

&lt;p&gt;The project is written in &lt;strong&gt;Python&lt;/strong&gt; and organized into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;code&gt;CPU&lt;/code&gt; class to handle instruction execution
&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;Memory&lt;/code&gt; class to simulate main memory
&lt;/li&gt;
&lt;li&gt;A simple instruction parsers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The code is heavily commented and designed for clarity rather than performance.&lt;/p&gt;




&lt;h2&gt;
  
  
  Source Code
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub Repository:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
👉 &lt;a href="https://github.com/thecoder507/cpu_simulator_python" rel="noopener noreferrer"&gt;https://github.com/thecoder507/cpu_simulator_python&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(Full explanation and documentation are available in the README.)&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>codecademy</category>
      <category>architecture</category>
    </item>
    <item>
      <title>My First Database – LPF (Liga Panameña de Fútbol)⚽</title>
      <dc:creator>Alberto</dc:creator>
      <pubDate>Wed, 24 Sep 2025 19:15:57 +0000</pubDate>
      <link>https://dev.to/thecoder507/my-first-database-lpf-liga-panamena-de-futbol-113b</link>
      <guid>https://dev.to/thecoder507/my-first-database-lpf-liga-panamena-de-futbol-113b</guid>
      <description>&lt;h2&gt;
  
  
  Project Overview
&lt;/h2&gt;

&lt;p&gt;This database is part of a project for the Computer Science course on Codecademy, where I put into practice the resources provided about databases. I decided to focus on the &lt;strong&gt;LPF, the Panamanian Football League&lt;/strong&gt;, specifically on the &lt;strong&gt;Apertura 2024&lt;/strong&gt; tournament.&lt;/p&gt;




&lt;h2&gt;
  
  
  LPF Database ERD
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzv2yk2eskdbw9biimcg1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzv2yk2eskdbw9biimcg1.png" alt="LPF Database ERD" width="800" height="448"&gt;&lt;/a&gt; &lt;/p&gt;




&lt;h2&gt;
  
  
  Interactive Version
&lt;/h2&gt;

&lt;p&gt;You can explore the interactive version of the LPF database ERD on &lt;a href="https://dbdiagram.io/d/LPF-689a7b7b1d75ee360a1fb446" rel="noopener noreferrer"&gt;dbdiagram.io&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Repository
&lt;/h2&gt;

&lt;p&gt;You can view the full repository here: &lt;a href="https://github.com/thecoder507/lpf-database" rel="noopener noreferrer"&gt;LPF Database Repository&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Any Recommendations Are Welcome – Thanks for Reading!
&lt;/h2&gt;

</description>
      <category>postgres</category>
      <category>database</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>Pizza Radar🍕: Finding Pizzerias in Panama City with LinkedLists</title>
      <dc:creator>Alberto</dc:creator>
      <pubDate>Thu, 17 Apr 2025 19:49:15 +0000</pubDate>
      <link>https://dev.to/thecoder507/pizza-radar-finding-pizzerias-in-panama-city-with-linkedlists-3ogh</link>
      <guid>https://dev.to/thecoder507/pizza-radar-finding-pizzerias-in-panama-city-with-linkedlists-3ogh</guid>
      <description>&lt;p&gt;Hi guys! I hope you're all having a great day. &lt;/p&gt;

&lt;p&gt;Pizza Radar is a practice project I created as a beginner in programming, with the help of the CS course on Codecademy. Its goal is to organize and search for pizzerias in Panama City by district using linked lists. Each district is a node that contains its own list of pizzerias. This project helped me understand how to manage data dynamically and apply key programming concepts in a practical and fun way.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0z208p7gzzj6ghonvtz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0z208p7gzzj6ghonvtz.png" alt=" " width="800" height="315"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/thecoder507/Recommendation-Software" rel="noopener noreferrer"&gt;https://github.com/thecoder507/Recommendation-Software&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any feedback is welcome!&lt;/p&gt;

</description>
      <category>datastructures</category>
      <category>codenewbie</category>
      <category>programming</category>
      <category>python</category>
    </item>
    <item>
      <title>My first code as a beginner!!</title>
      <dc:creator>Alberto</dc:creator>
      <pubDate>Thu, 02 May 2024 21:32:28 +0000</pubDate>
      <link>https://dev.to/thecoder507/my-first-code-as-a-beginner-2cid</link>
      <guid>https://dev.to/thecoder507/my-first-code-as-a-beginner-2cid</guid>
      <description>&lt;p&gt;Today I completed one of the many programs that I will develop, it is the famous game called Tic Tac Toe, thanks to CodeAcademy I have learned about this world of programming and I am totally in love because I love challenges and one day I hope to be a great programmer, Like many of those who are on this platform, here I leave my code, if you are interested in seeing it, any tips to improve, I am all ears.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8yj8vxho9roddkb52y1t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8yj8vxho9roddkb52y1t.png" alt=" " width="800" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/thecoder507/Python" rel="noopener noreferrer"&gt;https://github.com/thecoder507/Python&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Love&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>games</category>
      <category>codeacademy</category>
    </item>
  </channel>
</rss>
