<?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: Mario Bustos Jimenez</title>
    <description>The latest articles on DEV Community by Mario Bustos Jimenez (@mario_bustosjimenez_f8d3).</description>
    <link>https://dev.to/mario_bustosjimenez_f8d3</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%2F1221891%2Fe9e0364f-4cac-476e-9b0c-7ecf9568395c.png</url>
      <title>DEV Community: Mario Bustos Jimenez</title>
      <link>https://dev.to/mario_bustosjimenez_f8d3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mario_bustosjimenez_f8d3"/>
    <language>en</language>
    <item>
      <title>[Boost]</title>
      <dc:creator>Mario Bustos Jimenez</dc:creator>
      <pubDate>Mon, 23 Nov 2026 02:32:37 +0000</pubDate>
      <link>https://dev.to/mario_bustosjimenez_f8d3/-1b58</link>
      <guid>https://dev.to/mario_bustosjimenez_f8d3/-1b58</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mario_bustosjimenez_f8d3/prelude-a-calm-pause-before-your-standup-guided-by-your-own-breath-2io1" class="crayons-story__hidden-navigation-link"&gt;Prelude: a calm pause before your standup, guided by your own breath&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
      &lt;a href="https://dev.to/mario_bustosjimenez_f8d3/prelude-a-calm-pause-before-your-standup-guided-by-your-own-breath-2io1" class="crayons-article__context-note crayons-article__context-note__feed"&gt;&lt;p&gt;Presage SmartSpectra SDK Challenge Submission&lt;/p&gt;

&lt;/a&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mario_bustosjimenez_f8d3" class="crayons-avatar  crayons-avatar--l  "&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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1221891%2Fe9e0364f-4cac-476e-9b0c-7ecf9568395c.png" alt="mario_bustosjimenez_f8d3 profile" class="crayons-avatar__image" width="400" height="400"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mario_bustosjimenez_f8d3" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Mario Bustos Jimenez
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Mario Bustos Jimenez
                
                
              
              &lt;div id="story-author-preview-content-5096839" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mario_bustosjimenez_f8d3" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1221891%2Fe9e0364f-4cac-476e-9b0c-7ecf9568395c.png" class="crayons-avatar__image" alt="" width="400" height="400"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Mario Bustos Jimenez&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mario_bustosjimenez_f8d3/prelude-a-calm-pause-before-your-standup-guided-by-your-own-breath-2io1" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 23&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mario_bustosjimenez_f8d3/prelude-a-calm-pause-before-your-standup-guided-by-your-own-breath-2io1" id="article-link-5096839"&gt;
          Prelude: a calm pause before your standup, guided by your own breath
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/devchallenge"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;devchallenge&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/presagechallenge"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;presagechallenge&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/electron"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;electron&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/mentalhealth"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;mentalhealth&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mario_bustosjimenez_f8d3/prelude-a-calm-pause-before-your-standup-guided-by-your-own-breath-2io1" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt;&amp;nbsp;reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mario_bustosjimenez_f8d3/prelude-a-calm-pause-before-your-standup-guided-by-your-own-breath-2io1#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              &lt;span class="hidden s:inline"&gt;Add&amp;nbsp;Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
          
          &lt;div class="only-sidebar-menu-item trusted-visible-block print-hidden align-center"&gt;
                
                    
                
          &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;


</description>
      <category>mentalhealth</category>
      <category>motivation</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Prelude: a calm pause before your standup, guided by your own breath</title>
      <dc:creator>Mario Bustos Jimenez</dc:creator>
      <pubDate>Mon, 23 Nov 2026 02:29:15 +0000</pubDate>
      <link>https://dev.to/mario_bustosjimenez_f8d3/prelude-a-calm-pause-before-your-standup-guided-by-your-own-breath-2io1</link>
      <guid>https://dev.to/mario_bustosjimenez_f8d3/prelude-a-calm-pause-before-your-standup-guided-by-your-own-breath-2io1</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Prelude is a 90-second breathing pause for right before the daily standup.&lt;/p&gt;

&lt;p&gt;I kept jumping from a bug straight into the standup, still wound up. So I built the pause in between. Prelude reads your breathing from the webcam with the SmartSpectra SDK, starts the guide at &lt;em&gt;your&lt;/em&gt; current pace and slows it down from there. At the end it tells you (and only you) how you're arriving.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvig8ujlbsgjypp7k6kc3.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvig8ujlbsgjypp7k6kc3.png" alt="Guided pause with the live signal, cropped from the video" width="800" height="521"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A few things I cared about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The guide adapts.&lt;/strong&gt; It starts at the breathing rate the SDK just measured and eases down to the technique's pace. A lavender ring around the circle shows your actual chest movement, so you can see if you're in step.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Honest signals.&lt;/strong&gt; Each signal has a real countdown ("ready in 18 s"). If the SDK can't stabilise a reading, the app says so and leaves it out instead of faking a number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your face doesn't decide.&lt;/strong&gt; Expression is shown as a hint but never used for the result. Facial expressions don't reliably map to emotions (Barrett et al., 2019), and the EU AI Act bans emotion inference at work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Small touches:&lt;/strong&gt; four breathing techniques with sources, generated sounds (including your own breathing turned into sound), an optional spoken guide, a "meetings up next" strip (from a local &lt;code&gt;PRELUDE_MEETINGS&lt;/code&gt; setting or a labelled example, no calendar access), and a 1–5 mood check before and after. English and Spanish, light and dark.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/cwriw0K8Mqw" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;One take with the live signal: consent, getting ready, the guided pause, and the result. This is the summary from that take (straight from &lt;em&gt;Copy my summary&lt;/em&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Reading: You are arriving calm
Breathing: 11.1 br/min before, 6.1 br/min at the end
Pulse: 84 bpm before, 92 bpm at the end
Stress index: 1.05 (low confidence) before, 0.53 (low confidence) at the end
You breathed in step with the guide for 1:28 (98%). Calm moments: 2.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;HRV never stabilised on my webcam, so stress shows as low confidence and doesn't count. The "calm" result is a read of how you arrive (breathing and pulse both under the thresholds), not a claim that the pause lowered your pulse. Mine actually went up a bit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0h6etfhq39jwlltr4eq6.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0h6etfhq39jwlltr4eq6.gif" alt="The live take, cropped from the video" width="600" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Repo: &lt;a href="https://github.com/mariobustosjmz/respira-presage-challenge" rel="noopener noreferrer"&gt;github.com/mariobustosjmz/respira-presage-challenge&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Node 22.12+ and a free Presage key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/mariobustosjmz/respira-presage-challenge.git
&lt;span class="nb"&gt;cd&lt;/span&gt; respira-presage-challenge
npm install
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"SMARTSPECTRA_API_KEY=your_key"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; .env
npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;npm test&lt;/code&gt; runs 65 unit tests, no camera needed. There's a demo mode if you don't have a key, and &lt;code&gt;npm run dist:mac&lt;/code&gt; builds a macOS installer.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;p&gt;Electron + TypeScript on &lt;code&gt;@smartspectra/node-sdk&lt;/code&gt; 3.5.0. All SDK code lives in one folder. The decisions (pacer, readiness, the result rule) are plain functions with tests.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Signal&lt;/th&gt;
&lt;th&gt;SDK field&lt;/th&gt;
&lt;th&gt;What Prelude does with it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Breathing rate&lt;/td&gt;
&lt;td&gt;&lt;code&gt;breathing.rate&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Readiness, the guide's starting pace, "in step" feedback, before/after&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Chest movement&lt;/td&gt;
&lt;td&gt;&lt;code&gt;breathing.upperTrace&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Live meter, the ring around the guide, the "your breath as sound" mode&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pulse, HRV, stress&lt;/td&gt;
&lt;td&gt;&lt;code&gt;cardio.*&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Before/after, only when the SDK marks them stable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Expression&lt;/td&gt;
&lt;td&gt;&lt;code&gt;face.expression&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Shown as a hint, never decides&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Talking&lt;/td&gt;
&lt;td&gt;&lt;code&gt;face.talking&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;"Readings need silence" note; those seconds don't count&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Setup check&lt;/td&gt;
&lt;td&gt;&lt;code&gt;checkDeviceReadiness()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Optional check before starting (~23 s on my MacBook)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Things I learned from the real SDK:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A sandboxed preload can only &lt;code&gt;require&lt;/code&gt; Electron modules, so I bundle the preload with esbuild.&lt;/li&gt;
&lt;li&gt;Packets arrive with partial fields, so I merge them as they come.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;face.talking&lt;/code&gt; flickers mid-sentence. Bridging gaps under 600 ms fixed it.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;face.blinking&lt;/code&gt; fires per blink, not "eyes closed". I'd built "close your eyes and the voice starts" and removed it after testing. The spoken guide is a toggle now.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;destroy()&lt;/code&gt; frees the camera right away. &lt;code&gt;stop()&lt;/code&gt; can wait up to 30 s.&lt;/li&gt;
&lt;li&gt;Closing the window mid-session crashed the native layer. Now the app releases the SDK first, then closes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result rule is on screen: "tense" if stress rose more than 10% (only when reliable), breathing on arrival was over 20 br/min, or pulse over 100 bpm. The 10% is my design choice, not a clinical threshold, and the app says that too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Best Thoughtful Real-World Use. It targets one everyday moment, meets you at your own pace, asks for consent per signal, shows signal quality instead of fake precision, and stores nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Consent first.&lt;/strong&gt; The camera stays off until you tick "I agree to turn on my camera". Pulse/HRV/stress is a separate opt-in. While it's on you see a preview, a "Camera on" badge and a Stop button.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Camera only.&lt;/strong&gt; Electron grants the camera to the app's own page, never the microphone. No remote content.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No video kept.&lt;/strong&gt; Prelude never records, saves or sends camera frames itself; it only hands them to the SDK to read the signals.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nothing stored.&lt;/strong&gt; Numbers live in memory and are gone when you close the window. No accounts, no analytics. &lt;em&gt;Copy my summary&lt;/em&gt; only touches your clipboard when you press it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network.&lt;/strong&gt; The app makes no requests of its own. The SDK talks to Presage to check the key and count credits. SDK telemetry is off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not medical, not monitoring.&lt;/strong&gt; General wellness only. It's a personal check, not a way to evaluate anyone on a team.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;References: Balban et al. 2023 (doi:10.1016/j.xcrm.2022.100895), Lehrer &amp;amp; Gevirtz 2014 (doi:10.3389/fpsyg.2014.00756), Zaccaro et al. 2018 (doi:10.3389/fnhum.2018.00353), Barrett et al. 2019 (doi:10.1177/1529100619832930), EU AI Act Art. 5(1)(f).&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>presagechallenge</category>
      <category>electron</category>
      <category>mentalhealth</category>
    </item>
  </channel>
</rss>
