<?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"><channel><title><![CDATA[The Engineering Journal]]></title><description><![CDATA[Exploring AI engineering, software development, intelligent systems, and real-world projects. Documenting the journey from curiosity to practical engineering solutions.]]></description><link>https://shekinahdev.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 21:33:23 GMT</lastBuildDate><atom:link href="https://shekinahdev.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[I Got Tired of My MacBook Freezing, So I Built ResourceGuard]]></title><description><![CDATA[How I turned recurring MacBook freezes into a lightweight native macOS utility using Swift and SwiftUI.]]></description><link>https://shekinahdev.hashnode.dev/i-got-tired-of-my-macbook-freezing-so-i-built-resourceguard</link><guid isPermaLink="true">https://shekinahdev.hashnode.dev/i-got-tired-of-my-macbook-freezing-so-i-built-resourceguard</guid><category><![CDATA[Swift, macOS, Software Engineering, Open Source, Build In Public]]></category><dc:creator><![CDATA[Patricia Shiloh Kanneh]]></dc:creator><pubDate>Fri, 27 Nov 2026 09:17:32 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0021ffac22eb5b32a34113/25b2ed4e-8100-4a44-97bd-47f999fdaf6a.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>It started with a frustration</h2>
<p>As a software engineer, I usually have multiple browser tabs, code editors, terminals, development servers, and AI tools running at the same time.</p>
<p>Unfortunately, my MacBook doesn't always agree with my workflow.</p>
<p>With 8 GB of RAM and limited available storage, I frequently experienced system slowdowns and unresponsive applications.</p>
<p>Then came the familiar macOS warning:</p>
<p><strong>"Your system has run out of application memory."</strong></p>
<p>I would find myself repeatedly force-quitting applications just to continue working.</p>
<p>It was frustrating, especially when I was deeply focused on a project.</p>
<p>Then I asked myself a question:</p>
<p><strong>What if I could know before it happened?</strong></p>
<p>That question led me to build ResourceGuard.</p>
<h2>Introducing ResourceGuard</h2>
<p>ResourceGuard is a lightweight, native macOS menu bar utility designed to monitor system resources and proactively warn users when their Mac is under pressure.</p>
<p>Instead of constantly checking Activity Monitor, I wanted something that could quietly run in the background and notify me when my attention was needed.</p>
<h2>What ResourceGuard does</h2>
<ul>
<li>Monitors memory usage and memory pressure.</li>
<li>Tracks CPU, swap usage, and available disk storage.</li>
<li>Identifies resource-intensive applications.</li>
<li>Sends proactive native macOS notifications.</li>
<li>Provides safe, user-approved application management.</li>
<li>Helps identify large files.</li>
<li>Runs entirely on the device.</li>
</ul>
<p>No cloud services. No external APIs. No unnecessary dependencies.</p>
<h2>Why Swift and SwiftUI?</h2>
<p>One of my biggest priorities was keeping the application lightweight.</p>
<p>Building a resource monitoring application that consumes excessive system resources would defeat its entire purpose.</p>
<p>I chose Swift and SwiftUI to build a native macOS experience while taking advantage of system-level APIs.</p>
<h2>Initial performance results</h2>
<p>During initial testing on my MacBook:</p>
<table>
<thead>
<tr>
<th>Metric</th>
<th>Result</th>
</tr>
</thead>
<tbody><tr>
<td>Memory consumption</td>
<td>12–26 MB</td>
</tr>
<tr>
<td>Idle CPU usage</td>
<td>Approximately 0%</td>
</tr>
<tr>
<td>Monitoring execution time</td>
<td>20–35 ms</td>
</tr>
<tr>
<td>Monitoring interval</td>
<td>20 seconds</td>
</tr>
<tr>
<td>Automated tests</td>
<td>13 passed</td>
</tr>
<tr>
<td>Network requests</td>
<td>None</td>
</tr>
</tbody></table>
<p>These are preliminary measurements from my development environment. Further testing is needed across different Mac configurations.</p>
<h2>Prevention rather than reaction</h2>
<p>The goal of ResourceGuard is not to replace Activity Monitor or guarantee that a Mac will never freeze.</p>
<p>Instead, it aims to provide earlier awareness of deteriorating system conditions, giving users an opportunity to save their work and reduce resource consumption.</p>
<p>ResourceGuard never automatically deletes files or force-quits applications.</p>
<p>The user remains in control.</p>
<h2>Engineering beyond AI</h2>
<p>I'm currently growing into AI Engineering and AI Systems.</p>
<p>However, I also believe engineering goes beyond specializing in a particular technology.</p>
<p>It's about identifying problems, understanding their causes, and building meaningful solutions.</p>
<p>ResourceGuard isn't powered by AI, and it doesn't need to be.</p>
<p>Sometimes, the best solution is a lightweight piece of software that solves a specific problem effectively.</p>
<h2>What's next?</h2>
<p>ResourceGuard is currently in its MVP stage.</p>
<p>I'm continuing to explore:</p>
<ul>
<li>Earlier resource pressure detection.</li>
<li>Resource usage trends.</li>
<li>Long-term reliability.</li>
<li>Improved recovery recommendations.</li>
<li>Open-source development and community feedback.</li>
</ul>
<p>I'm excited to see how this project evolves.</p>
<p>If you've experienced similar problems with your Mac, I'd love to hear about your experience.</p>
<p><strong>ResourceGuard — Stay ahead of system slowdowns.</strong></p>
<hr />
<p>This is my first entry in The Engineering Journal and on hashnodes, where I'll be documenting my journey through software engineering, AI systems, technical discoveries, and building solutions to real-world problems.</p>
<p>Explore ResourceGuard: <a href="https://github.com/shekinahwebdev/resourceguard">https://github.com/shekinahwebdev/resourceguard</a>
ResourceGuard is currently in active development. Feedback, suggestions, and contributions are welcome.</p>
<p><em>Learning deeply. Building intentionally. Solving real problems.</em></p>
]]></content:encoded></item></channel></rss>