<?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 Emine UĞURLU on Medium]]></title>
        <description><![CDATA[Stories by Emine UĞURLU on Medium]]></description>
        <link>https://medium.com/@emine.dev?source=rss-2749d9a9f890------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-EwIJyaVNphR2sctXWzSMQ.png</url>
            <title>Stories by Emine UĞURLU on Medium</title>
            <link>https://medium.com/@emine.dev?source=rss-2749d9a9f890------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 23:53:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@emine.dev/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[Building a Scalable Log Management System with FastAPI, Redis, and Docker: A Journey into…]]></title>
            <link>https://medium.com/@emine.dev/building-a-scalable-log-management-system-with-fastapi-redis-and-docker-a-journey-into-124d74041810?source=rss-2749d9a9f890------2</link>
            <guid isPermaLink="false">https://medium.com/p/124d74041810</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[fastapi]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Emine UĞURLU]]></dc:creator>
            <pubDate>Mon, 11 May 2026 12:13:47 GMT</pubDate>
            <atom:updated>2026-05-11T12:17:54.323Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a Scalable Log Management System with FastAPI, Redis, and Docker: A Journey into Microservices</h3><p>How I built “Lighthouse” — a decoupled, asynchronous logging engine to handle high-volume data.</p><p>In the world of modern backend engineering, performance and reliability are everything. Imagine a system generating millions of logs per second. If your API waits to process each log before responding, the entire system grinds to a halt. This is why I built <strong>Lighthouse</strong>.</p><p>In this article, I’ll walk you through how I used <strong>FastAPI</strong>, <strong>Redis</strong>, and <strong>Docker</strong> to create a decoupled logging architecture that stays fast under pressure.<br>The Problem: The “Wait” Dilemma</p><p>When a service sends a log, it shouldn’t wait for the database or a file write to finish. It needs an immediate “200 OK” to keep moving. The challenge was: <em>How do we ingest logs instantly without losing them?</em></p><h3>The Solution: The Producer-Consumer Pattern</h3><p>I decided to implement a decoupled architecture using three main components:</p><ol><li><strong>The Ingestor (FastAPI):</strong> Our entry point. It receives the log, validates it using Pydantic, and immediately pushes it into a Redis queue.</li><li><strong>The Buffer (Redis):</strong> Acts as our “safety net.” Even if our processing logic slows down, Redis holds the logs in a FIFO (First-In-First-Out) queue.</li><li><strong>The Processor (Worker):</strong> A standalone Python script that consumes logs from Redis and persists them to storage.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/1*o8FPPtOH3t_W4iQDfVlDRQ.png" /></figure><h3>Key Technical Takeaways</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LTFzWxiC3CTMIteVud1qdg.png" /></figure><h4>1. Asynchronous Ingestion with BackgroundTasks</h4><p>Using FastAPI’s BackgroundTasks, I ensured the API returns a response to the user <em>before</em> the data is even pushed to Redis. This keeps the latency near zero.</p><h4>2. Why Redis?</h4><p>I chose Redis because of its extreme speed and reliability. Using LPUSH and RPOP commands, I created a simple yet powerful message broker that handles the data flow between my API and Worker.</p><h4>4. Containerization with Docker Compose</h4><p>To make the system portable, I dockerized the entire stack. With one command — docker-compose up—anyone can spin up the API and the Redis instance, ensuring a &quot;works on my machine&quot; experience for everyone.<br>What I Learned</p><p>Building Lighthouse wasn’t just about writing code; it was about learning <strong>System Design</strong>. I faced challenges with Docker networking, JSON serialization, and environment variables. Solving these taught me that:</p><ul><li><strong>Decoupling is key:</strong> Services should be independent.</li><li><strong>Failures are expected:</strong> Designing for a scenario where the worker might crash is crucial.</li><li><strong>Documentation matters:</strong> A project is only as good as its README.</li></ul><h3>Conclusion</h3><p>Lighthouse is now live on GitHub, and it represents my first big step into distributed systems. As a Computer Engineering student, this project taught me that the best way to learn is to build, break, and fix.</p><p><strong>Check out the project here:</strong> <a href="https://github.com/emineugurlu/Lighthouse">https://github.com/emineugurlu/Lighthouse</a></p><p><strong>Let’s connect!</strong> 🚀</p><ul><li><strong>GitHub:</strong> <a href="https://github.com/emineugurlu">https://github.com/emineugurlu</a></li><li><strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/emine-ugurlu/">https://www.linkedin.com/in/emine-ugurlu/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=124d74041810" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Electrons Can Only Be in Certain Places — And Why That Explains Everything]]></title>
            <link>https://medium.com/@emine.dev/why-electrons-can-only-be-in-certain-places-and-why-that-explains-everything-f98347fd3aa6?source=rss-2749d9a9f890------2</link>
            <guid isPermaLink="false">https://medium.com/p/f98347fd3aa6</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[quantum-physics]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Emine UĞURLU]]></dc:creator>
            <pubDate>Fri, 08 May 2026 09:36:07 GMT</pubDate>
            <atom:updated>2026-05-08T09:36:07.249Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is a question that seems simple but isn’t.</p><p>Why can’t an electron in an atom have any energy it wants?</p><p>Why does it have to be at this level or that level, but never anywhere in between?</p><p>Why, when it jumps between levels, does it emit a photon of a very specific color — not a range of colors, not a spectrum, but a single precise wavelength?</p><p>The answer is one of the strangest and most beautiful ideas in all of physics. And I built a simulation to make it visible.</p><h3>The particle in a box</h3><p>Let’s start with the simplest possible quantum system: a particle trapped in a box.</p><p>The walls are infinitely high. The particle cannot escape. Inside, it moves freely.</p><p>In classical physics, this particle can have any energy. Bounce slowly — low energy. Bounce fast — high energy. Any value works.</p><p>In quantum mechanics, only specific energies are allowed:</p><pre>Eₙ = n²π²ℏ²/2mL²</pre><p>Where n = 1, 2, 3… but never 1.5, never 2.7, never anything that isn’t a whole number.</p><p>Why?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0pThNCe42660Sj-w3wy3DA.png" /><figcaption>n=1 ground state — tek tepe Alt yazı: “n=1 — the ground state. The particle has a 100% chance of being found near the center.</figcaption></figure><h3>The wave function has to fit</h3><p>The particle doesn’t just have a position. It has a wave function — a mathematical object that encodes the probability of finding it everywhere in space.</p><p>Inside the well, the wave function looks like this:</p><pre>ψₙ(x) = sin(nπx/L)</pre><p>A sine wave. Oscillating between the walls.</p><p>But here’s the constraint: at the walls, the wave function must be zero. The particle cannot be outside the box — so the probability of finding it there is zero — so ψ = 0 at both walls.</p><p>Now ask yourself: how many complete half-oscillations of a sine wave can fit between two zeros?</p><p>One. Two. Three. Any whole number.</p><p>But not one and a half. Not two and three-quarters.</p><p>If you try to fit 1.5 half-oscillations, the sine wave doesn’t land at zero at the right wall. It lands somewhere else. The boundary condition is violated. The solution doesn’t exist.</p><p><strong>Energy is quantized because wave functions have to fit inside the box.</strong></p><p>That’s it. That’s the whole reason.</p><h3>What the simulation shows</h3><p>I built an interactive simulation of this system. You can see the wave function animate in real time. You can drag a slider to change the energy level and watch the wave function transform.</p><p>At n=1: one smooth hump. The particle is most likely found in the middle.</p><p>At n=2: two humps. There’s a node exactly in the center — a point where the probability is exactly zero. The particle is never found there.</p><p>At n=4: four humps, three nodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gtu_EIeVQi1G7TnEjfr8Vw.png" /><figcaption>n=4 — four peaks in the probability density. Three nodes where the particle is never found.</figcaption></figure><p>The nodes are the strangest part. How does the particle get from one side of a node to the other if it’s never at the node itself?</p><p>The classical answer — it passes through quickly — is wrong. The particle doesn’t have a trajectory. It doesn’t travel from one side to the other. The wave function simply exists on both sides, with zero probability at the node.</p><p>This is one of those places where quantum mechanics stops making intuitive sense and you just have to accept what the math says.</p><h3>The wave function breathes</h3><p>The simulation adds something that static diagrams can’t show: time evolution.</p><p>The wave function doesn’t just sit there. It oscillates. The probability distribution shifts and pulses according to the energy of the level.</p><p>Turn on superposition mode — let the particle exist in two energy levels simultaneously — and something remarkable happens. The two wave functions oscillate at different frequencies (because they have different energies). Their interference creates a wave that sloshes back and forth across the well.</p><p>One moment the particle is probably on the left. A moment later it’s probably on the right. Then back again. Endlessly.</p><p>This is <strong>quantum beating</strong> — the temporal interference of superposed states.</p><p>It’s what happens inside atoms, molecules, and quantum computers every microsecond of every day.</p><h3>From the box to the universe</h3><p>The infinite potential well is a simplification. Real atoms aren’t square boxes. The potential that traps electrons is spherical, not rectangular, and it fades gradually rather than being infinitely steep.</p><p>But the physics is identical in its essentials.</p><p>Electrons in atoms are trapped by the electric attraction of the nucleus. Their wave functions have to satisfy boundary conditions — they have to fade to zero far from the nucleus, just like they have to be zero at the walls of the box. And the result is the same: only specific wave functions fit, only specific energies are allowed.</p><p>The specific shapes are different — three-dimensional, spherical, named with letters like s, p, d, f. But the reason they’re quantized is the same reason you can’t fit 1.5 sine waves in a box.</p><h3>Why the sky is blue. Why fire is orange. Why stars have colors.</h3><p>When an electron jumps from a higher energy level to a lower one, it releases the energy difference as a photon.</p><p>The energy of the photon determines its frequency. The frequency determines its color.</p><p>Because the energy levels are quantized — because only specific levels exist — the photons emitted have only specific energies. Only specific frequencies. Only specific colors.</p><p>This is why, when you heat hydrogen gas and pass its light through a prism, you don’t see a continuous rainbow. You see a few bright lines at very specific wavelengths. Each line corresponds to a specific jump between specific energy levels.</p><p>Every element has a unique set of spectral lines — a fingerprint of its quantized energy structure. Astronomers use these fingerprints to determine what distant stars and galaxies are made of, without ever visiting them.</p><p>The colors of fireworks come from specific elements burning at specific temperatures, causing specific electron transitions. The neon in neon signs glows orange-red because of specific transitions in neon atoms.</p><p>All of this — the colors of the visible universe — comes from wave functions fitting inside potential wells.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3fT7HDvf5g3YsvZ0WIiP7Q.png" /><figcaption>Superposition of two energy levels — the wave function oscillates between states.</figcaption></figure><h3>Try it yourself</h3><p>🔗 <strong>Live demo:</strong> <a href="https://emineugurlu.github.io/double-slit-simulation/">https://emineugurlu.github.io/double-slit-simulation/</a></p><p>Drag the energy level slider. Count the nodes. Turn on superposition. Watch the wave beat.</p><p>The physics behind the simulation is real — the same equations that explain atomic spectra, chemical bonds, and the periodic table.</p><h3>The complete series</h3><ul><li>✅ Double-Slit Experiment — wave-particle duality</li><li>✅ Wave Interference — superposition made visible</li><li>✅ Quantum Tunneling — particles through walls</li><li>✅ Schrödinger’s Equation — quantization and energy levels</li></ul><p><em>The colors of distant stars are encoded in wave functions fitting inside atomic potential wells. Every time you look at the night sky, you’re seeing quantum mechanics at work across billions of light years. I find that genuinely astonishing.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f98347fd3aa6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Messy Scripts to Open Source: Building a Python Automation Hub]]></title>
            <link>https://medium.com/@emine.dev/from-messy-scripts-to-open-source-building-a-python-automation-hub-44370d8966c8?source=rss-2749d9a9f890------2</link>
            <guid isPermaLink="false">https://medium.com/p/44370d8966c8</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Emine UĞURLU]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 10:03:33 GMT</pubDate>
            <atom:updated>2026-04-21T10:03:33.807Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How a folder full of forgotten Python scripts became a growing open-source project.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XDZ9ke1q4_NcfwuM4Dn7MQ.jpeg" /></figure><p>As a software developer who enjoys solving practical problems, I’ve always believed in one simple rule:</p><p><strong>If you have to do something more than twice, automate it.</strong></p><p>That mindset led me to build small Python scripts for everyday tasks. Over time, my computer became filled with tools that organized messy folders, tracked prices, cleaned data, and generated reports.</p><p>Most of them were sitting unused in random directories.</p><p>So instead of letting them collect dust, I decided to turn them into something bigger.</p><h3>🚀 Python Automation Hub</h3><p>An open-source repository of practical, beginner-friendly Python automation tools built to solve real-world problems.</p><h3>Why I Built It</h3><p>Automation often sounds complex or intimidating.</p><p>Many beginners think you need advanced knowledge, complicated frameworks, or years of experience to build something useful.</p><p>I wanted to prove the opposite.</p><p>Sometimes a simple Python script can save hours of repetitive work.</p><p>The goal of this project is to make automation more accessible — whether you’re a student writing your first lines of code or a developer looking to save time.</p><h3>What’s Inside the Hub?</h3><p>The project is organized into practical categories:</p><h3>📁 File Management</h3><p>Smart tools that automatically organize files into folders such as Images, Music, Documents, and Design assets.</p><h3>🌐 Web Scraping</h3><p>Useful trackers built with Python libraries like BeautifulSoup to monitor prices or collect public data.</p><h3>📊 Data Processing</h3><p>Scripts for cleaning, converting, and managing JSON or CSV files efficiently.</p><h3>⚡ Productivity Tools</h3><p>Automation scripts that transform logs, notes, or raw terminal outputs into polished PDF reports.</p><h3>The Moment It Felt Real</h3><p>A few days after launching the project, I received my first pull request.</p><p>One contributor, <strong>Nikhil</strong>, improved the File Organizer, added new categories, and followed the contribution guidelines perfectly.</p><p>It was a proud maintainer moment.</p><p>My small personal project was no longer just a private collection of scripts — it had become collaborative.</p><p>That experience reminded me why open source is so powerful.</p><h3>Why Open Source Matters to Me</h3><p>This project is about more than code.</p><p>It’s helping me grow in areas every developer needs:</p><ul><li><strong>Project Structure</strong> — Building repositories others can understand easily</li><li><strong>Collaboration</strong> — Reviewing pull requests and communicating clearly</li><li><strong>Documentation</strong> — Writing guides people can actually follow</li><li><strong>Community</strong> — Creating a beginner-friendly space for first contributions</li></ul><h3>This Is Just the Beginning</h3><p>The Python Automation Hub is still growing, and many new tools are planned.</p><p>If you’re looking to save time, learn Python through practical examples, or make your first open-source contribution, I’d love to have you on board.</p><p>🔗 GitHub Repository:<br><a href="https://github.com/emineugurlu/python-automation-hub">https://github.com/emineugurlu/python-automation-hub</a></p><h3>Final Thought</h3><p>If this project helps even one person automate a repetitive task or make their first GitHub contribution, then it has already succeeded.</p><p><strong>What is one task in your daily life that should be automated?</strong><br>Let’s discuss in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44370d8966c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Particle That Walks Through Walls — And Why Your Phone Depends On It]]></title>
            <link>https://medium.com/@emine.dev/the-particle-that-walks-through-walls-and-why-your-phone-depends-on-it-d1c53f1bbd6e?source=rss-2749d9a9f890------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1c53f1bbd6e</guid>
            <category><![CDATA[quantum-physics]]></category>
            <category><![CDATA[double-slit-experiment]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[canvas]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Emine UĞURLU]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 17:44:45 GMT</pubDate>
            <atom:updated>2026-03-23T17:44:45.690Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine throwing a ball at a wall.</p><p>The ball doesn’t have enough energy to climb over the wall.</p><p>So it bounces back. Obviously. Every time. This is not a controversial statement.</p><p>Now imagine the ball is an electron.</p><p>Sometimes it goes through the wall anyway.</p><p>Not over. Not around. <strong>Through the wall itself.</strong></p><p>This is quantum tunneling. It is not science fiction. It is not a metaphor. It is a measurable, reproducible physical phenomenon — and it is happening right now, billions of times per second, inside the device you are reading this on.</p><h3>The wall is a probability, not a fact</h3><p>In classical physics, a particle either has enough energy to cross a barrier or it doesn’t. The wall is real. The outcome is certain.</p><p>In quantum mechanics, nothing is certain until it is measured.</p><p>A particle exists as a <strong>wave function</strong> — a mathematical object that encodes the probability of finding the particle at every point in space. This wave function doesn’t stop at barriers. It penetrates them. It decays exponentially inside the barrier — but if the barrier is thin enough, the wave function emerges on the other side with a non-zero value.</p><p>Non-zero value means non-zero probability.</p><p>Non-zero probability means: sometimes, the particle is on the other side.</p><p>That’s it. That’s the whole trick.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Om4z2IK4nd4MSinw69dxMA.png" /><figcaption>“The wave function approaching the barrier.”</figcaption></figure><h3>How thin is thin enough?</h3><p>The transmission probability follows an exponential law:</p><pre>T ≈ e^(-2κL)</pre><p>Where L is the barrier width and κ depends on how much energy the particle is missing.</p><p>The exponential means: double the barrier width, and the probability doesn’t halve — it drops by orders of magnitude. This is why tunneling only matters at atomic scales. A tennis ball tunneling through a wall has a probability so small it would take longer than the age of the universe to observe it once.</p><p>But electrons are light. And in modern transistors, the barrier layers are only a few nanometers thick.</p><p>At that scale, tunneling is not a rare event. It is routine.</p><h3>The Sun is powered by the impossible</h3><p>Here is something that should bother you.</p><p>The core of the Sun is hot — around 15 million degrees. But even at that temperature, protons don’t have enough kinetic energy to overcome the electromagnetic repulsion between them and fuse.</p><p>The Sun should not be able to fuse hydrogen. The nuclear reactions that power it should not be happening.</p><p>And yet they are.</p><p>The protons tunnel through the Coulomb barrier. The probability is small — any given pair of protons will almost certainly bounce off each other. But there are an incomprehensible number of protons in the Sun’s core, and they’re colliding constantly.</p><p>The Sun shines because of quantum tunneling.</p><h3>I built a simulation</h3><p>I wanted to understand this more concretely. So I solved the time-dependent Schrödinger equation numerically — the equation that describes how wave functions evolve — and built an interactive simulation.</p><p>You fire a wave packet at a barrier. You watch it hit. Part of it reflects. Part of it — a small, eerie part — appears on the other side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*59rdfU4RcO_YNk4IgJqi0A.png" /><figcaption>Reflected wave (left) and tunneled wave (right). Same particle. Same barrier.</figcaption></figure><p>The simulation lets you change the barrier height and width in real time. Increase the barrier — the tunneled wave shrinks. Make it thinner — it grows. The exponential relationship is visible directly.</p><p>What I found is that building this forced me to confront something I had glossed over when reading about tunneling: the wave function doesn’t “try” to get through and sometimes succeed. The wave function is everywhere simultaneously, including inside and beyond the barrier. The question is not whether it penetrates — it always does. The question is how much of it makes it through.</p><p>The particle isn’t sneaking through a gap in the wall. The wall was never as solid as it appeared.</p><h3>What this means for your phone</h3><p>Modern transistors — the switches that perform every computation in every processor — work by controlling electron flow through thin semiconductor layers.</p><p>As transistors have gotten smaller, quantum tunneling has become a serious engineering problem. When the insulating layers are only a few atoms thick, electrons tunnel through them even when they’re supposed to be blocked. This creates leakage current, wastes energy, and generates heat.</p><p>Every processor generation, engineers have to work harder to manage tunneling effects that classical physics said shouldn’t exist.</p><p>The quantum weirdness that powers the Sun is also the quantum weirdness that limits how small your phone’s chip can get.</p><h3>The deeper strangeness</h3><p>There is something about tunneling that I keep thinking about.</p><p>The particle doesn’t “go through” the wall in any classical sense. It doesn’t drill a hole. It doesn’t find a weak spot. The wave function simply extends beyond the barrier, and there is a probability of finding the particle there.</p><p>What is the particle doing while it’s “inside” the barrier?</p><p>According to standard quantum mechanics — nothing. The question is meaningless. The particle doesn’t have a trajectory. It has a wave function. And the wave function is doing exactly what wave functions do: spreading, decaying, emerging.</p><p>The wall was never a wall. It was always a probability gradient.</p><p>And that is strange enough to be worth sitting with.</p><h3>Try it yourself</h3><p>🔗 <strong>Live demo:</strong> <a href="https://emineugurlu.github.io/double-slit-simulation/">https://emineugurlu.github.io/double-slit-simulation/</a></p><p>💻 <strong>GitHub:</strong> <a href="https://github.com/emineugurlu/double-slit-simulation">https://github.com/emineugurlu/double-slit-simulation</a></p><p>Fire a wave packet. Watch it tunnel. Adjust the sliders. The physics is real — the numbers come from the actual Schrödinger equation.</p><h3>The series so far</h3><ul><li>✅ Double-Slit Experiment — wave-particle duality</li><li>✅ Wave Interference — the physics behind the fringes</li><li>✅ Quantum Tunneling — particles through walls</li></ul><p>Next: Schrödinger’s Equation — visualizing the wave function in a potential well.</p><p><em>Your phone works because electrons do the impossible. The Sun shines because protons do the impossible. We built civilization on quantum weirdness we still don’t fully understand. I think that’s extraordinary.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1c53f1bbd6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Single Electron Knows When You’re Watching. We Still Don’t Know Why.]]></title>
            <link>https://medium.com/@emine.dev/a-single-electron-knows-when-youre-watching-we-still-don-t-know-why-56b6a815b24a?source=rss-2749d9a9f890------2</link>
            <guid isPermaLink="false">https://medium.com/p/56b6a815b24a</guid>
            <dc:creator><![CDATA[Emine UĞURLU]]></dc:creator>
            <pubDate>Sun, 22 Mar 2026 16:55:31 GMT</pubDate>
            <atom:updated>2026-03-22T16:55:31.357Z</atom:updated>
            <content:encoded><![CDATA[<p>There is an experiment that has been repeated thousands of times.</p><p>Every time, the result is the same.</p><p>And every time, nobody can fully explain why.</p><h3>The setup is simple. The result is not.</h3><p>Take a barrier. Cut two thin slits in it. Fire electrons at it one by one. Look at the screen behind it.</p><p>If electrons were tiny balls, you’d expect two bands on the screen — one behind each slit.</p><p>Instead, you get this:</p><p>Dozens of alternating bright and dark stripes. An interference pattern. The kind of pattern you only get when waves overlap.</p><p>Okay, you think. Electrons are waves. Fine.</p><p>But then the experiment gets strange.</p><p>You fire electrons one at a time. Single electrons. One. Wait. Another. Wait.</p><p>Slowly, over hundreds of electrons, the pattern appears again.</p><p>A single electron — alone, with nothing to interfere with — produced an interference pattern.</p><p>It interfered with itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g6ncu20Yev3BOkyH" /></figure><p>“The interference pattern, built one electron at a time.”</p><h3>Then someone looked.</h3><p>A detector was placed at one of the slits — just to see which one the electron went through.</p><p>The interference pattern vanished.</p><p>Not weakened. Not shifted. Gone.</p><p>The electron, now “observed,” behaved like a classical particle. It went through one slit. It left two bands.</p><p>The act of measurement — the act of knowing — changed the physical outcome of the experiment.</p><p>This is not a metaphor.</p><p>This is not a philosophical interpretation.</p><p>This is an experimental result, replicated in labs around the world for decades.</p><p><strong>Looking at something changes it.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*or9Gu4vWz0RHl8NG" /></figure><p>“Left: unobserved. Right: observed. Same setup. Different reality.”</p><h3>What is the electron doing when nobody is looking?</h3><p>This is the question that split physics into camps that still haven’t reconciled.</p><p>Before the detector turns on, the electron exists as a <strong>wave function</strong> — a mathematical object that describes not where it is, but where it <em>could be</em>. Every possible position, weighted by probability.</p><p>When you measure it, the wave function <strong>collapses</strong>. The electron is suddenly somewhere specific.</p><p>But here is the problem.</p><p>The math tells you exactly how the wave function evolves. It tells you exactly what the interference pattern will look like. It predicts experimental results with stunning precision.</p><p>What the math does not tell you is <em>why</em> the wave function collapses when you look.</p><p>That part — the most important part — is missing.</p><h3>Three answers. None of them satisfying.</h3><p><strong>Copenhagen Interpretation:</strong> Before measurement, position does not exist. The electron is not somewhere we don’t know — it is genuinely nowhere. Asking “where was it before I measured it?” is a meaningless question. Reality crystallizes at the moment of observation.</p><p>This is the standard answer. Most physicists use it. Most physicists are also quietly uncomfortable with it.</p><p><strong>Pilot Wave Theory (Bohm):</strong> The electron always had a position. There is a real, physical wave — the pilot wave — that guides it. The randomness we see is not fundamental; it comes from hidden variables we can’t access. Everything is deterministic. Quantum mechanics is incomplete, not mysterious.</p><p>This theory makes all the same predictions as standard quantum mechanics. It has never been ruled out. It has also never been widely accepted.</p><p><strong>Many Worlds Interpretation:</strong> The wave function never collapses. When you measure the electron, the universe branches. In one branch, the electron went through the left slit. In another, it went through the right. Both branches are equally real. You are living in one of them.</p><p>Every quantum event since the Big Bang has been branching the universe. There are versions of you, right now, reading a different article.</p><h3>I simulated it.</h3><p>I am a computer engineering student interested in quantum physics. I built an interactive simulation of the double-slit experiment — not because I thought it would answer these questions, but because I wanted to understand them better.</p><p>What I found is that writing the code forces a kind of understanding that reading equations never does.</p><p>To compute the interference pattern, you have to write:</p><pre>I(y) = |ψ₁ + ψ₂|²</pre><p>Add the amplitudes first. Then square.</p><p>The moment I wrote this, something clicked. The interference doesn’t happen because of some mystical quantum property. It happens because two amplitudes are present simultaneously and interact mathematically before you take the square.</p><p>When you turn on the detector — when you make only one slit active — you lose one of those amplitudes. The math changes. The pattern disappears.</p><p>The “mystery” of quantum mechanics, at least in this case, is encoded directly in the formula. Seeing it in code made it real in a way the textbook never did.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*njTyR1hSxJC4vgKh" /></figure><p>“Wave interference simulation — the physics behind the double-slit, made visible.”</p><h3>What the simulation can’t answer</h3><p>The simulation models the math perfectly.</p><p>It does not answer the deeper question.</p><p>Why does having information about the electron’s path — even information stored in a detector nobody will ever read — destroy the interference?</p><p>The standard answer is <strong>decoherence</strong>: the electron becomes entangled with the environment. The quantum coherence that makes interference possible leaks away into the surrounding atoms and photons. The pattern doesn’t disappear because someone observed it. It disappears because information about the electron’s path exists physically somewhere in the universe.</p><p>This is a better answer than “consciousness causes collapse.” But it still doesn’t tell you what is actually happening to the electron.</p><p>It tells you <em>when</em> the wave function collapses. It does not tell you <em>what</em> collapse is.</p><h3>The question I keep coming back to</h3><p>If the electron “knows” it’s being observed — if the mere physical existence of information about its path changes its behavior — what does that say about the relationship between information and reality?</p><p>Is reality made of matter? Or is it made of information?</p><p>Is the universe computing something?</p><p>I don’t know. Nobody does.</p><p>But I think these are the right questions to be asking. And I think building simulations is one of the best ways to ask them — because forcing a physical phenomenon into code requires you to be precise about what you actually understand and what you’re just pretending to understand.</p><h3>Try it yourself</h3><p>🔗 <strong>Live demo:</strong> <a href="https://emineugurlu.github.io/double-slit-simulation/">https://emineugurlu.github.io/double-slit-simulation/</a></p><p>💻 <strong>GitHub:</strong> <a href="https://github.com/emineugurlu/double-slit-simulation">https://github.com/emineugurlu/double-slit-simulation</a></p><p>Toggle the detector. Watch the pattern collapse. Drag the strength slider slowly — watch the transition happen gradually.</p><p>The next simulation in this series is quantum tunneling — a particle passing through a barrier it classically cannot cross. The phenomenon behind every transistor in every device you own.</p><p><em>The double-slit experiment has been called the most beautiful experiment in physics. I think it’s the most honest one. It shows us exactly how much we don’t understand — and it does it with devastating precision.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56b6a815b24a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>