<?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: TheDevSide</title>
    <description>The latest articles on DEV Community by TheDevSide (@dev_owls).</description>
    <link>https://dev.to/dev_owls</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%2F3643860%2F3f9cc5f3-f9bc-4b39-b01e-8fc81e5e6136.png</url>
      <title>DEV Community: TheDevSide</title>
      <link>https://dev.to/dev_owls</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dev_owls"/>
    <language>en</language>
    <item>
      <title>I Tracked Every Context Switch for a Week. Here's What Broke My Brain.</title>
      <dc:creator>TheDevSide</dc:creator>
      <pubDate>Mon, 08 Dec 2025 06:30:14 +0000</pubDate>
      <link>https://dev.to/dev_owls/i-tracked-every-context-switch-for-a-week-heres-what-broke-my-brain-4k8i</link>
      <guid>https://dev.to/dev_owls/i-tracked-every-context-switch-for-a-week-heres-what-broke-my-brain-4k8i</guid>
      <description>&lt;p&gt;Last month, I felt like I was working 10 hours but only getting 4 hours of real work done.&lt;/p&gt;

&lt;p&gt;So I ran an experiment: I tracked every single time I left my code editor for a whole week. Every tab switch. Every app open. Every "quick" Google search.&lt;/p&gt;

&lt;p&gt;The results were embarrassing.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Setup
&lt;/h2&gt;

&lt;p&gt;Simple rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tally mark every time I leave VS Code&lt;/li&gt;
&lt;li&gt;Note what I left for&lt;/li&gt;
&lt;li&gt;Be honest (no cheating)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I stuck a Post-it on my monitor and kept count.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 1: Denial
&lt;/h2&gt;

&lt;p&gt;By lunch, I had 23 tally marks.&lt;/p&gt;

&lt;p&gt;Most common reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"What's 15% tip on $67?" → Google&lt;/li&gt;
&lt;li&gt;"What time is it in Singapore?" → World clock app&lt;/li&gt;
&lt;li&gt;"When's 3 weeks from today?" → Calendar&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I told myself this was a weird day. Lots of meetings. Unusual.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 3: Reality
&lt;/h2&gt;

&lt;p&gt;Average per day: &lt;strong&gt;31 context switches&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;But here's what killed me — it wasn't the big stuff. It wasn't debugging or architecture decisions pulling me out of flow.&lt;/p&gt;

&lt;p&gt;It was &lt;em&gt;tiny&lt;/em&gt; things:&lt;/p&gt;

&lt;p&gt;| Task | Time to Do | Time to Recover Focus |&lt;br&gt;
  |------|------------|----------------------|&lt;br&gt;
  | Currency conversion | 15 sec | 3-5 min |&lt;br&gt;
  | Timezone check | 10 sec | 3-5 min |&lt;br&gt;
  | Quick calculation | 20 sec | 3-5 min |&lt;/p&gt;

&lt;p&gt;The actual task took seconds. Getting back into my code took &lt;em&gt;minutes&lt;/em&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Math That Hurt
&lt;/h2&gt;

&lt;p&gt;Let's be conservative:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;30 context switches/day&lt;/li&gt;
&lt;li&gt;3 minutes average to refocus&lt;/li&gt;
&lt;li&gt;That's &lt;strong&gt;90 minutes of dead time&lt;/strong&gt;. Every. Single. Day.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In a 5-day week: &lt;strong&gt;7.5 hours lost&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I was basically losing a full workday every week to "quick" searches.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 5: The Rabbit Holes
&lt;/h2&gt;

&lt;p&gt;Tracked something else — what happened &lt;em&gt;after&lt;/em&gt; the initial search.&lt;/p&gt;

&lt;p&gt;Went to Google for "45 EUR to USD"...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Noticed an interesting headline&lt;/li&gt;
&lt;li&gt;Clicked it&lt;/li&gt;
&lt;li&gt;Read half the article&lt;/li&gt;
&lt;li&gt;Remembered I was working&lt;/li&gt;
&lt;li&gt;8 minutes gone&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This happened 4-5 times a day.&lt;/p&gt;

&lt;p&gt;The browser isn't just a tool. It's a trap with a search bar.&lt;/p&gt;




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

&lt;p&gt;Week 2, I tried to fix it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rule 1: No browser for simple stuff&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If it's a calculation, conversion, or quick lookup — don't open Chrome. The rabbit hole isn't worth it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rule 2: Reduce app switching&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every app I open is a chance to get distracted. Fewer apps = fewer escape routes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rule 3: Keep tools at keyboard distance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If I have to reach for my mouse, click through menus, or wait for page loads — I'll get distracted while waiting.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Tools That Actually Helped
&lt;/h2&gt;

&lt;p&gt;I started looking for single-purpose tools that do one thing fast.&lt;/p&gt;

&lt;p&gt;For calculations, I switched to a text-based calculator. Type &lt;code&gt;$67 + 15% tip&lt;/code&gt; → get answer → done. No browser. No buttons. No rabbit holes.&lt;/p&gt;

&lt;p&gt;For timezones, same thing. Type &lt;code&gt;time in Singapore&lt;/code&gt; → see the time → back to code.&lt;/p&gt;

&lt;p&gt;Sounds small. But removing 20+ daily context switches changed everything.&lt;/p&gt;




&lt;h2&gt;
  
  
  One Week Later
&lt;/h2&gt;

&lt;p&gt;Ran the experiment again.&lt;/p&gt;

&lt;p&gt;| Metric | Before | After |&lt;br&gt;
  |--------|--------|-------|&lt;br&gt;
  | Context switches/day | 31 | 12 |&lt;br&gt;
  | Browser opens for "quick" stuff | 15+ | 2-3 |&lt;br&gt;
  | Rabbit holes | 4-5/day | ~1/day |&lt;br&gt;
  | Focus time | ~5 hrs | ~7 hrs |&lt;/p&gt;

&lt;p&gt;Not perfect. But noticeably better.&lt;/p&gt;

&lt;p&gt;The secret wasn't discipline. It was removing the &lt;em&gt;opportunity&lt;/em&gt; to get distracted.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Boring Takeaway
&lt;/h2&gt;

&lt;p&gt;Productivity isn't about working harder. It's about protecting focus.&lt;/p&gt;

&lt;p&gt;Every "quick" Google search is a gamble. Sometimes you get your answer in 10 seconds. Sometimes you lose 15 minutes to a Wikipedia spiral.&lt;/p&gt;

&lt;p&gt;The fix isn't willpower. It's environment design.&lt;/p&gt;

&lt;p&gt;Fewer tabs. Fewer apps. Faster tools.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Use Now
&lt;/h2&gt;

&lt;p&gt;Built a small toolkit for myself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Text-based calculator that understands natural language&lt;/li&gt;
&lt;li&gt;Offline-first so there's no loading time&lt;/li&gt;
&lt;li&gt;Keyboard-driven so I never touch the mouse&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Eventually turned it into a real product: &lt;a href="https://octa.techyowls.io" rel="noopener noreferrer"&gt;Octa&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're losing time to the same "quick" distractions, might be worth trying something similar.&lt;/p&gt;

&lt;p&gt;We write more about developer productivity and tools we're building at &lt;a href="https://techyowls.io" rel="noopener noreferrer"&gt;techyowls.io&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;What's your biggest focus killer? I'm curious if others have the same "quick Google" problem.&lt;/em&gt;&lt;/p&gt;




</description>
      <category>productivity</category>
      <category>developers</category>
      <category>programming</category>
      <category>tooling</category>
    </item>
    <item>
      <title>Things I Wish I Knew Before Building My First Tauri App</title>
      <dc:creator>TheDevSide</dc:creator>
      <pubDate>Fri, 05 Dec 2025 04:54:29 +0000</pubDate>
      <link>https://dev.to/dev_owls/things-i-wish-i-knew-before-building-my-first-tauri-app-48k6</link>
      <guid>https://dev.to/dev_owls/things-i-wish-i-knew-before-building-my-first-tauri-app-48k6</guid>
      <description>&lt;p&gt;I built a small desktop calculator as a side project — nothing fancy, just wanted something where I could type stuff like 100 + 10% or time in Tokyo and get quick answers.&lt;/p&gt;

&lt;p&gt;Chose Tauri because I didn't want another 150MB Electron app on my machine. Here's what I learned along the way.&lt;/p&gt;




&lt;h2&gt;
  
  
  Tauri is Great, But...
&lt;/h2&gt;

&lt;p&gt;The good stuff first: my app ended up at ~5MB, uses barely any RAM, and      starts instantly. Rust backend means actual native performance. No regrets there.&lt;/p&gt;

&lt;p&gt;But I ran into some gotchas that nobody warned me about.&lt;/p&gt;




&lt;h2&gt;
  
  
  Percentage Math is Tricky
&lt;/h2&gt;

&lt;p&gt;Spent an embarrassing amount of time wondering why 100 + 10% gave me 100.1 instead of 110.&lt;/p&gt;

&lt;p&gt;Turns out I was treating 10% as 0.1 and just adding it. But that's not how humans think — when someone types $50 + 20% tip, they want 20% of $50 added, not 0.2 added.&lt;/p&gt;

&lt;p&gt;Simple fix once I realized it, but it's the kind of thing you don't catch until you actually use your own app for real calculations.&lt;/p&gt;




&lt;h2&gt;
  
  
  Users Don't Think in Code
&lt;/h2&gt;

&lt;p&gt;Built a timezone feature. time in tokyo worked great. time in New York? Nothing.&lt;/p&gt;

&lt;p&gt;My regex only matched single words. Took me way too long to realize most major cities have spaces in their names.&lt;/p&gt;

&lt;p&gt;Same thing with country names — people type time in germany, not time in Europe/Berlin. Had to add a bunch of mappings for common country names to their capital city timezones.&lt;/p&gt;




&lt;h2&gt;
  
  
  Helpful Fallbacks Can Bite You
&lt;/h2&gt;

&lt;p&gt;I had this clever fallback: if parsing fails, just extract any number from the input and show that. Great for partial typing, terrible for actual errors.&lt;/p&gt;

&lt;p&gt;5 / 0 was returning 5 because my "helpful" fallback extracted the 5 and showed it. Division by zero? What division by zero?&lt;/p&gt;

&lt;p&gt;Lesson: be explicit about which errors should trigger fallbacks and which should just fail.&lt;/p&gt;




&lt;h2&gt;
  
  
  Check the Plugin Ecosystem First
&lt;/h2&gt;

&lt;p&gt;Wasted time building my own window position persistence. Then discovered tauri-plugin-window-state does it in one line.&lt;/p&gt;

&lt;p&gt;Same with single-instance handling (preventing multiple windows when you click the app twice). There's a plugin for that too.&lt;/p&gt;

&lt;p&gt;Tauri 2's plugin ecosystem is solid — check it before building something yourself.&lt;/p&gt;




&lt;h2&gt;
  
  
  Three-State Booleans
&lt;/h2&gt;

&lt;p&gt;Had a loading flash where the wrong screen showed for a split second before the real content appeared.&lt;/p&gt;

&lt;p&gt;The problem: I initialized my state as false, then async-loaded the real value. During that async gap, false meant "show the wrong thing."&lt;/p&gt;

&lt;p&gt;Fix: use null for "I don't know yet", true for yes, false for no. Show a loader when it's null.&lt;/p&gt;




&lt;p&gt;## Was It Worth It?&lt;/p&gt;

&lt;p&gt;Definitely. The final app is tiny, fast, and actually feels native. Rust is fun once you stop fighting the borrow checker.&lt;/p&gt;

&lt;p&gt;Would I use Tauri again? Yes — but I'd check the plugin ecosystem first and test with real inputs earlier.&lt;/p&gt;




&lt;p&gt;## The Project&lt;/p&gt;

&lt;p&gt;Built this for myself but figured others might find it useful too:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://octa.techyowls.io" rel="noopener noreferrer"&gt;octa.techyowls.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's a text calculator — type naturally, get answers. Works offline, runs on Mac/Windows/Linux.&lt;/p&gt;




&lt;h2&gt;
  
  
  Anyone else building with Tauri? What gotchas did you run into?
&lt;/h2&gt;




</description>
      <category>rust</category>
      <category>tauri</category>
      <category>desktop</category>
      <category>productivity</category>
    </item>
    <item>
      <title>I Got Tired of Tab-Switching for Simple Calculations, So I Built This</title>
      <dc:creator>TheDevSide</dc:creator>
      <pubDate>Wed, 03 Dec 2025 17:11:02 +0000</pubDate>
      <link>https://dev.to/dev_owls/i-got-tired-of-tab-switching-for-simple-calculations-so-i-built-this-5984</link>
      <guid>https://dev.to/dev_owls/i-got-tired-of-tab-switching-for-simple-calculations-so-i-built-this-5984</guid>
      <description>&lt;p&gt;As developers, we spend our days solving complex problems. But somehow, the simplest tasks still break our flow:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"What's 150 EUR in USD?" → Open Google&lt;/li&gt;
&lt;li&gt;"What time is it in Tokyo right now?" → Check world clock&lt;/li&gt;
&lt;li&gt;"When is 45 days from today?" → Open calendar, count manually&lt;/li&gt;
&lt;li&gt;"What's 18% tip on $85?" → Pull out phone calculator&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Every tab switch is a context switch. Every context switch costs focus.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I kept thinking: why can't I just &lt;em&gt;type what I'm thinking&lt;/em&gt; and get the answer?&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem with Traditional Calculators
&lt;/h2&gt;

&lt;p&gt;Most calculators are built for &lt;em&gt;numbers&lt;/em&gt;, not &lt;em&gt;questions&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;You can't type &lt;code&gt;$150 + 20% tax&lt;/code&gt; into a standard calculator. You have to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Type 150&lt;/li&gt;
&lt;li&gt;Multiply by 0.20&lt;/li&gt;
&lt;li&gt;Add the result to 150&lt;/li&gt;
&lt;li&gt;Remember what you were doing before&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And for currency? Time zones? Date math? Forget it. Those need separate apps entirely.&lt;/p&gt;




&lt;h2&gt;
  
  
  What If Your Calculator Understood You?
&lt;/h2&gt;

&lt;p&gt;That's the idea behind &lt;strong&gt;Octa&lt;/strong&gt; — a text-based calculator that works the way your brain does.&lt;/p&gt;

&lt;p&gt;Instead of buttons and separate apps, you just type naturally:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What You Type&lt;/th&gt;
&lt;th&gt;What You Get&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;150 EUR to USD&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$162.45 (live rates)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;time in Tokyo&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;2:30 AM JST&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;today + 45 days&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;February 17, 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;$85 + 18% tip&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$100.30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;5 miles in km&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;8.05 km&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;BMI 75kg, 1.80m&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;23.15 (Normal)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;No mode switching. No app hopping. Just type → answer.&lt;/p&gt;




&lt;h2&gt;
  
  
  Built for Developer Workflows
&lt;/h2&gt;

&lt;p&gt;A few things that make it feel right for daily dev work:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instant Results&lt;/strong&gt;&lt;br&gt;
Results appear as you type. No Enter key needed for simple stuff. Your brain stays in flow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multi-line Scratch Pad&lt;/strong&gt;&lt;br&gt;
Work through multiple calculations at once. Compare values. Keep notes. It's like a smart notepad that happens to calculate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Works Offline&lt;/strong&gt;&lt;br&gt;
No internet needed for math, unit conversions, or date calculations. Currency and time zone sync when you're online, then work offline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keyboard-First&lt;/strong&gt;&lt;br&gt;
No mouse required. Global hotkey to summon it, type your question, get your answer, dismiss. Back to coding in seconds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dark Mode Native&lt;/strong&gt;&lt;br&gt;
Built with a dark interface that doesn't blast your eyes at 2 AM debugging sessions.&lt;/p&gt;




&lt;h2&gt;
  
  
  Things You Didn't Know You Needed
&lt;/h2&gt;

&lt;p&gt;Once you start using natural input, you find uses everywhere:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sprint planning&lt;/strong&gt;: &lt;code&gt;today + 14 days&lt;/code&gt; for sprint end dates&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;International meetings&lt;/strong&gt;: &lt;code&gt;3pm PST in Berlin&lt;/code&gt; before scheduling&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Freelance invoices&lt;/strong&gt;: &lt;code&gt;$2500 * 0.85&lt;/code&gt; for after-platform fees&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quick health check&lt;/strong&gt;: &lt;code&gt;BMI 70kg, 175cm&lt;/code&gt; during a break&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Travel planning&lt;/strong&gt;: &lt;code&gt;500 USD to JPY&lt;/code&gt; for budget estimates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The pattern is always the same: &lt;strong&gt;type what you're thinking, get the answer.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Not Just Use Google?
&lt;/h2&gt;

&lt;p&gt;You could. But:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Privacy&lt;/strong&gt; — Your calculations stay on your machine, not in search history&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speed&lt;/strong&gt; — No page load, no ads, no "did you mean..."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline&lt;/strong&gt; — Works on planes, in tunnels, anywhere&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Focus&lt;/strong&gt; — No temptation to check "just one more thing" while the browser is open&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every time you open a browser for a quick calculation, you risk the rabbit hole.&lt;/p&gt;




&lt;h2&gt;
  
  
  Cross-Platform, Lightweight
&lt;/h2&gt;

&lt;p&gt;Octa runs on &lt;strong&gt;macOS, Windows, and Linux&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Built with Tauri (not Electron), so it's about 5MB instead of 150MB+. Starts instantly, barely touches your RAM.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;p&gt;If you're tired of breaking flow for simple calculations, give it a shot:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://octa.techyowls.io" rel="noopener noreferrer"&gt;octa.techyowls.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear what calculations you find yourself doing most often. Always looking for patterns to support better.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;What's your most annoying "simple task" that breaks your coding flow? Drop it in the comments — curious if others have the same frustrations.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Tags:&lt;/strong&gt; &lt;code&gt;#productivity&lt;/code&gt; &lt;code&gt;#tools&lt;/code&gt; &lt;code&gt;#developers&lt;/code&gt; &lt;code&gt;#workflow&lt;/code&gt; &lt;code&gt;#showdev&lt;/code&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>showdev</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
