<?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: Алексей Егельский</title>
    <description>The latest articles on DEV Community by Алексей Егельский (@eao777).</description>
    <link>https://dev.to/eao777</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3985856%2Fa7ae56f5-70db-43d7-93ab-da52cb46370d.jpg</url>
      <title>DEV Community: Алексей Егельский</title>
      <link>https://dev.to/eao777</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eao777"/>
    <language>en</language>
    <item>
      <title>Why closing your MacBook lid does not turn off the mini-LED screen (and how to fix it)</title>
      <dc:creator>Алексей Егельский</dc:creator>
      <pubDate>Thu, 22 Oct 2026 00:27:41 +0000</pubDate>
      <link>https://dev.to/eao777/why-closing-your-macbook-lid-does-not-turn-off-the-mini-led-screen-and-how-to-fix-it-2835</link>
      <guid>https://dev.to/eao777/why-closing-your-macbook-lid-does-not-turn-off-the-mini-led-screen-and-how-to-fix-it-2835</guid>
      <description>&lt;p&gt;If you own an Apple Silicon MacBook Pro or Air (M1, M2, M3, or M4), you might have noticed something strange when running long tasks with the lid closed: &lt;strong&gt;your laptop gets warm, and your battery drains faster than it should.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here is the technical reality of what's happening under the hood, and how I built an open-source native Swift utility to fix it.&lt;/p&gt;




&lt;h3&gt;
  
  
  The Clamshell Problem on Modern Liquid Retina Screens
&lt;/h3&gt;

&lt;p&gt;Like many developers, I often run long-running tasks on my MacBook:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Compiling large codebases or Docker builds&lt;/li&gt;
&lt;li&gt;Running local LLM inference (Ollama / MLX)&lt;/li&gt;
&lt;li&gt;Exporting 4K video renders in Final Cut Pro / Premiere&lt;/li&gt;
&lt;li&gt;Large asset downloads&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Naturally, you don't want to leave your laptop wide open taking up desk space, so you close the lid. And to keep the Mac awake without an external monitor, you use a keep-awake utility like &lt;strong&gt;Amphetamine&lt;/strong&gt;, &lt;strong&gt;KeepingYouAwake&lt;/strong&gt;, or &lt;code&gt;caffeinate&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here's the catch:&lt;/strong&gt;&lt;br&gt;
On Apple Silicon MacBooks, when you close the lid with a keep-awake assertion active (without an external monitor connected), &lt;strong&gt;macOS does NOT turn off the Liquid Retina / mini-LED display backlight.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Even though the clamshell lid is completely closed, thousands of mini-LEDs continue burning beneath the screen. They shine directly into the keyboard and display coatings, building up trapped heat and draining battery life.&lt;/p&gt;


&lt;h3&gt;
  
  
  Why Existing Tools Don't Solve This
&lt;/h3&gt;

&lt;p&gt;Traditional tools like Amphetamine or &lt;code&gt;caffeinate&lt;/code&gt; create a power assertion:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;&lt;span class="n"&gt;IOPMAssertionCreateWithName&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;kIOPMAssertionTypePreventUserIdleSystemSleep&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This tells macOS: &lt;em&gt;"Don't put the CPU to sleep."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;However, because macOS treats clamshell mode without an external monitor as an edge case, the display subsystem stays energized. Even setting display sleep timers often causes annoying backlight flickering because the kernel repeatedly attempts to wake the display.&lt;/p&gt;




&lt;h3&gt;
  
  
  The Native Fix: Enter Dopamine
&lt;/h3&gt;

&lt;p&gt;I spent the past few weeks building &lt;strong&gt;Dopamine&lt;/strong&gt;, a 100% native Swift menu bar utility built specifically for Apple Silicon.&lt;/p&gt;

&lt;p&gt;Here is how it works:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Hardware Clamshell Detection&lt;/strong&gt;: Dopamine registers an IOKit event listener directly with the &lt;code&gt;IOPMrootDomain&lt;/code&gt; service to catch &lt;code&gt;AppleClamshellState&lt;/code&gt; state changes instantly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True 0.0-Nit Backlight Cutoff&lt;/strong&gt;: The moment the lid closes, Dopamine drops the hardware backlight to &lt;strong&gt;absolute 0.0 nits&lt;/strong&gt; (complete blackout / DPMS sleep) while maintaining the CPU/GPU keep-awake assertion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instant Wake&lt;/strong&gt;: The millisecond you lift the lid, Dopamine restores your previous brightness smoothly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lightweight &amp;amp; Clean&lt;/strong&gt;: Built with pure Swift and AppKit. Zero Electron bloat, ~15MB RAM footprint, and 0% idle CPU overhead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security &amp;amp; Apple Notarization&lt;/strong&gt;: Fully codesigned with an official Apple Developer ID and notarized by Apple's Notary Service (Gatekeeper trusted).&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  How to Install
&lt;/h3&gt;

&lt;p&gt;Dopamine is 100% free and open-source under the MIT license.&lt;/p&gt;

&lt;h4&gt;
  
  
  Via Homebrew Cask:
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--cask&lt;/span&gt; universalsdk/dopamine/dopamine
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Direct Download:
&lt;/h4&gt;

&lt;p&gt;You can grab the notarized &lt;code&gt;Dopamine.dmg&lt;/code&gt; directly from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Website&lt;/strong&gt;: &lt;a href="https://dopamine.33rd.pro" rel="noopener noreferrer"&gt;dopamine.33rd.pro&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🐙 &lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/UniversalSDK/Dopamine" rel="noopener noreferrer"&gt;github.com/UniversalSDK/Dopamine&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Open Source &amp;amp; Community
&lt;/h3&gt;

&lt;p&gt;The entire codebase is open on GitHub. If you're a Mac developer, feel free to inspect the Swift power assertion and display controllers, leave feedback, or submit a PR!&lt;/p&gt;

&lt;p&gt;Hope this helps anyone who noticed their closed MacBook heating up during overnight renders or compiles!&lt;/p&gt;

</description>
      <category>macos</category>
      <category>swift</category>
      <category>opensource</category>
      <category>apple</category>
    </item>
    <item>
      <title>Best Careers for Every MBTI Personality Type: The Cognitive Guide</title>
      <dc:creator>Алексей Егельский</dc:creator>
      <pubDate>Tue, 06 Oct 2026 13:45:40 +0000</pubDate>
      <link>https://dev.to/eao777/best-careers-for-every-mbti-personality-type-the-cognitive-guide-7nj</link>
      <guid>https://dev.to/eao777/best-careers-for-every-mbti-personality-type-the-cognitive-guide-7nj</guid>
      <description>&lt;p&gt;Choosing a career trajectory aligned with your natural cognitive functions is one of the single most pivotal decisions in modern life. Using the Myers-Briggs Type Indicator (MBTI) cognitive framework provides profound clarity on optimal work environments, problem-solving styles, and collaboration dynamics.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The Analysts: Rational Architects &amp;amp; Strategists (INTJ, INTP, ENTJ, ENTP)
&lt;/h2&gt;

&lt;p&gt;Analysts operate with dominant or auxiliary Intuition and Thinking (NT). They thrive when solving high-complexity systemic puzzles and designing scalable architectures.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;INTJ (Architect)&lt;/strong&gt;: Excels in Systems Architecture, Deep Tech Research, Quantitative Finance, and Strategic Operations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;INTP (Logician)&lt;/strong&gt;: Natural fit for Software Engineering, Algorithm Design, Mathematics, and Theoretical Physics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ENTJ (Commander)&lt;/strong&gt;: Thrives in Executive Leadership, High-Growth Startups, Corporate Strategy, and Venture Capital.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ENTP (Visionary)&lt;/strong&gt;: Shines in Product Management, Rapid Prototyping, IP Law, and Disruptive Innovation.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. The Diplomats: Empathetic Catalysts &amp;amp; Writers (INFJ, INFP, ENFJ, ENFP)
&lt;/h2&gt;

&lt;p&gt;Diplomats operate with Intuition and Feeling (NF). They are driven by core values, human potential, and ethical impact.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;INFJ (Advocate)&lt;/strong&gt;: Ideal for Executive Coaching, Clinical Psychotherapy, Organizational Culture, and Non-Profit Leadership.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;INFP (Mediator)&lt;/strong&gt;: Reaches mastery in UX Writing, Narrative Design, Creative Direction, and Independent Authorship.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ENFJ (Protagonist)&lt;/strong&gt;: Powerful in People Operations, Corporate Training, Educational Leadership, and Public Affairs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ENFP (Campaigner)&lt;/strong&gt;: Flourishes in Creative Strategy, Public Relations, Growth Marketing, and Brand Architecture.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. The Sentinels: Reliable Pillars &amp;amp; Process Masters (ISTJ, ISFJ, ESTJ, ESFJ)
&lt;/h2&gt;

&lt;p&gt;Sentinels operate with Sensing and Judging (SJ). They excel in structured systems, precision execution, and organizational continuity.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ISTJ (Inspector)&lt;/strong&gt;: Peak performance in Financial Auditing, Cybersecurity Compliance, Data Governance, and Logistics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ISFJ (Protector)&lt;/strong&gt;: Excels in Healthcare Administration, Human Resources, Primary Education, and Customer Experience Architecture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ESTJ (Executive)&lt;/strong&gt;: Thrives in Operations Management, Engineering Leadership, Project Management, and Government Administration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ESFJ (Consul)&lt;/strong&gt;: Natural leaders in Community Management, Medical Services, Hospitality Management, and Event Production.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. The Explorers: Agile Tacticians &amp;amp; Creators (ISTP, ISFP, ESTP, ESFP)
&lt;/h2&gt;

&lt;p&gt;Explorers operate with Sensing and Perceiving (SP). They live in the tangible present, master practical tools, and adapt instantly to chaotic conditions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ISTP (Craftsman)&lt;/strong&gt;: Superb in Hardware Engineering, DevOps Triage, Forensic Investigation, Aviation, and Precision Mechanics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ISFP (Artist)&lt;/strong&gt;: Excels in Visual UI/UX Design, Audio Production, Landscape Architecture, and Artisan Crafting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ESTP (Dynamo)&lt;/strong&gt;: High achievers in High-Stakes Enterprise Sales, Incident Response, Angel Investing, and Emergency Medicine.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ESFP (Entertainer)&lt;/strong&gt;: Shines in Media Production, Public Relations, Sales Enablement, and Experience Design.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Where to Assess Your Cognitive Profile
&lt;/h2&gt;

&lt;p&gt;Discovering your true 4-letter type requires an assessment built on genuine psychometric dichotomies rather than superficial personality quizzes.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://testlab.33rd.pro/en/test/mbti/" rel="noopener noreferrer"&gt;Take the Free Scientific MBTI Test on TestLab&lt;/a&gt;&lt;/strong&gt; — Complete 60-item cognitive breakdown with career trajectory dossier and zero registration fees.&lt;/p&gt;

&lt;p&gt;Explore the full research analysis at: &lt;a href="https://testlab.33rd.pro/en/blog/best-careers-for-personality-types/" rel="noopener noreferrer"&gt;TestLab Career Matrix&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>career</category>
      <category>psychology</category>
      <category>productivity</category>
      <category>management</category>
    </item>
    <item>
      <title>The 12 Jungian Archetypes: Complete Personality Matrix &amp; Self-Discovery Guide</title>
      <dc:creator>Алексей Егельский</dc:creator>
      <pubDate>Tue, 06 Oct 2026 13:45:23 +0000</pubDate>
      <link>https://dev.to/eao777/the-12-jungian-archetypes-complete-personality-matrix-self-discovery-guide-1k1k</link>
      <guid>https://dev.to/eao777/the-12-jungian-archetypes-complete-personality-matrix-self-discovery-guide-1k1k</guid>
      <description>&lt;p&gt;Carl Jung's theory of psychological archetypes represents universal, archaic patterns and images that derive from the collective unconscious. Expanded by Carol S. Pearson into a structured 12-archetype matrix, this framework is widely utilized today across executive coaching, career development, narrative branding, and psychometric research.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 4 Cardinal Human Motivations
&lt;/h2&gt;

&lt;p&gt;The 12 archetypes are divided across four foundational quadrants based on primary psychological orientations:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Order &amp;amp; Structure
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Ruler&lt;/strong&gt;: Strives for excellence, stability, and benevolent authority. Driven to build enduring systems, lead organizations, and maintain high standards of accountability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Creator&lt;/strong&gt;: Driven by authentic self-expression and innovation. Compelled to bring visionary concepts into tangible reality through design, code, art, or architecture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Caregiver&lt;/strong&gt;: Motivated by empathy, protection, and nurturing. Protects others from harm and builds psychological safety in teams and communities.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Social Belonging &amp;amp; Connection
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Everyman (Citizen)&lt;/strong&gt;: Embodies genuine equality, realism, and down-to-earth authenticity. Connects effortlessly and values deep camaraderie.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Lover&lt;/strong&gt;: Driven by intimacy, passion, aesthetic appreciation, and deep relational synergy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Jester&lt;/strong&gt;: Master of humor, playful spontaneity, and present-moment agility. Cuts through tension and brings innovative perspective.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Mastery &amp;amp; Ego Transformation
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Hero&lt;/strong&gt;: Relentless pursuit of mastery, courage, and overcoming impossible obstacles. Thrives under pressure and champions excellence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Magician&lt;/strong&gt;: Catalyst for rapid paradigm shifts, deep transformation, and holistic innovation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Rebel (Outlaw)&lt;/strong&gt;: Disrupts stale status quo, challenges dogmas, and sparks structural revolution.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Independence &amp;amp; Fulfillment
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Innocent&lt;/strong&gt;: Seeks pure optimism, faith, ethics, and foundational simplicity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Explorer&lt;/strong&gt;: Seeks uncharted frontiers, personal autonomy, and truth beyond conventional horizons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Sage&lt;/strong&gt;: Devoted to rigorous research, empirical truth, data synthesis, and intellectual illumination.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Discovering Your Dominant &amp;amp; Shadow Archetypes
&lt;/h2&gt;

&lt;p&gt;Every individual typically operates with a &lt;strong&gt;Dominant Archetype&lt;/strong&gt; (primary decision filter), a &lt;strong&gt;Secondary Wing&lt;/strong&gt; (contextual modifier), and an unintegrated &lt;strong&gt;Shadow Archetype&lt;/strong&gt; (blind spot under acute stress).&lt;/p&gt;

&lt;p&gt;To pinpoint your precise psychometric distribution across all 12 archetypes without cost:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://testlab.33rd.pro/en/test/archetypes/" rel="noopener noreferrer"&gt;Take the Free 12 Archetypes Test Online on TestLab&lt;/a&gt;&lt;/strong&gt; — Instant detailed psychological breakdown, career mappings, and shadow integration report with zero registration required.&lt;/p&gt;

</description>
      <category>psychology</category>
      <category>productivity</category>
      <category>career</category>
      <category>leadership</category>
    </item>
  </channel>
</rss>
