<?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: Biki Kc</title>
    <description>The latest articles on DEV Community by Biki Kc (@biki_kc).</description>
    <link>https://dev.to/biki_kc</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%2F3972318%2F609d46dc-f483-4b16-92a2-29f507e0ccda.png</url>
      <title>DEV Community: Biki Kc</title>
      <link>https://dev.to/biki_kc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/biki_kc"/>
    <language>en</language>
    <item>
      <title>RepoTrace — Make failing commands repeatable, inspectable, and testable</title>
      <dc:creator>Biki Kc</dc:creator>
      <pubDate>Mon, 19 Oct 2026 03:47:07 +0000</pubDate>
      <link>https://dev.to/biki_kc/repotrace-make-failing-commands-repeatable-inspectable-and-testable-3iod</link>
      <guid>https://dev.to/biki_kc/repotrace-make-failing-commands-repeatable-inspectable-and-testable-3iod</guid>
      <description>&lt;p&gt;&lt;strong&gt;Why it matters&lt;/strong&gt;&lt;br&gt;
When a command fails in your project or CI, “it failed” is rarely enough to act on. RepoTrace saves the exact argv, exit code, stdout/stderr, working directory, and interpreter metadata so a failure becomes a replayable artifact — a single-file, JSON bug report that you can rerun, render as Markdown, or convert into a standalone pytest regression test. That preserves the signal of the original failure and turns debugging into a repeatable, auditable process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What RepoTrace is&lt;/strong&gt;&lt;br&gt;
RepoTrace is a small Python CLI and library (Python 3.12+) that captures command runs and produces:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Structured bug reports persisted as JSON files under a report store (.repotrace/reports by default).&lt;/li&gt;
&lt;li&gt;Replay functionality to re-run recorded commands and compare results to the original trace.&lt;/li&gt;
&lt;li&gt;Markdown rendering for human-friendly reports.&lt;/li&gt;
&lt;li&gt;Generation of self-contained pytest regression tests that embed the command and expected output.&lt;/li&gt;
&lt;/ul&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%2Fuhzkqupuawy04ca01u2d.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%2Fuhzkqupuawy04ca01u2d.png" alt=" " width="711" height="637"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Core benefits&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reproducibility:&lt;/strong&gt; replay a failure later (or on another machine) to confirm whether it still reproduces.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Traceability:&lt;/strong&gt; keep a single-file record suitable for committing alongside a codebase or attaching to an issue.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CI friendliness:&lt;/strong&gt; use capture/replay in pipelines to collect failing commands automatically and assert regressions as tests.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Fast triage:&lt;/strong&gt; readable Markdown and tests remove context-switching and guesswork from debugging.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Quick highlights&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Language: Python 3.12+&lt;/li&gt;
&lt;li&gt;CLI: repotrace (Typer-based)&lt;/li&gt;
&lt;li&gt;Notable libraries: Pydantic v2 (structured models), Rich (console output), Typer (CLI)&lt;/li&gt;
&lt;li&gt;License: MIT&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why teams should try RepoTrace&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Speed up debugging: capturing everything about a failing command means no more “works on my machine” guessing.&lt;/li&gt;
&lt;li&gt;Create durable artifacts: JSON reports are easy to inspect, diff, and commit; generated tests are ready to land in CI.&lt;/li&gt;
&lt;li&gt;Reduce friction between triage and fix: a report plus a generated test gives a precise spec of the problem that a reviewer or teammate can reproduce **locally.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Installation &amp;amp; Resources&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;ReproTrace is distributed under the MIT license and can be installed using standard Python package managers:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PyPI: https://pypi.org/project/repotrace/

GitHub Repository: https://github.com/BiTech5/repotrace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Join the Journey&lt;/strong&gt;&lt;br&gt;
Join RepoTrace — short invite RepoTrace turns failing commands into replayable bug reports and ready-to-commit regression tests — help make debugging reproducible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quick start&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Fork &amp;amp; clone https://github.com/BiTech5/repotrace
uv sync &amp;amp;&amp;amp; source .venv/bin/activate
Run a focused test: .venv/bin/python -m pytest tests/test_replay.py -q
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Good first contributions&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Fix small bugs, improve README examples, add edge-case tests, or generate CI/usage walkthroughs.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Conclusion / Call to action&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;RepoTrace reduces the time and friction of turning an observed failure into a replayable, testable artifact. If your team spends time reproducing flaky or intermittent failures, trying RepoTrace on a representative failing command (or a CI job) can immediately pay dividends: you get a concrete, versionable report and the option to convert it into a regression test that prevents regressions from returning.&lt;/p&gt;

&lt;p&gt;Would you like a short blog-ready version of this article (250–400 words), or a ready-made example demonstrating capture → generate → commit for a small sample project?&lt;/p&gt;

</description>
      <category>cli</category>
      <category>debugging</category>
      <category>python</category>
      <category>testing</category>
    </item>
    <item>
      <title>🎨 DiagramAi: AI-Powered System Diagrams Made Simple</title>
      <dc:creator>Biki Kc</dc:creator>
      <pubDate>Wed, 15 Jul 2026 00:56:18 +0000</pubDate>
      <link>https://dev.to/biki_kc/diagramai-ai-powered-system-diagrams-made-simple-9fm</link>
      <guid>https://dev.to/biki_kc/diagramai-ai-powered-system-diagrams-made-simple-9fm</guid>
      <description>&lt;p&gt;Creating diagrams is a crucial part of software design and documentation. Whether it’s explaining workflows, modeling systems, or teaching concepts, visuals make ideas easier to grasp. But drawing them manually can be tedious.&lt;/p&gt;

&lt;p&gt;That’s why I built &lt;a href="https://diagramaii.vercel.app/" rel="noopener noreferrer"&gt;DiagramAi &lt;/a&gt;— a web app that generates system diagrams using AI.&lt;/p&gt;

&lt;p&gt;✨ What DiagramAi Offers&lt;br&gt;
Right now, DiagramAi focuses on core system diagram types that developers and architects use most often:&lt;/p&gt;

&lt;p&gt;🔄 Sequence Diagram – Show interactions step by step&lt;/p&gt;

&lt;p&gt;🎭 Use Case Diagram – Capture user-system relationships&lt;/p&gt;

&lt;p&gt;🧩 Component Architecture Diagram – Visualize modular system design&lt;/p&gt;

&lt;p&gt;📚 Class Diagram – Model object-oriented structures&lt;/p&gt;

&lt;p&gt;🏃 Activity Diagram – Represent workflows and processes&lt;/p&gt;

&lt;p&gt;🔀 State Machine Diagram – Map out states and transitions&lt;/p&gt;

&lt;p&gt;Simply describe what you want, and DiagramAi generates a clean diagram for you.&lt;/p&gt;

&lt;p&gt;🚀 Why I Built It&lt;br&gt;
I wanted a tool that could bridge natural language and visual representation. Instead of dragging shapes around, you just type:&lt;/p&gt;

&lt;p&gt;“Create a sequence diagram for user login with authentication service and database.”&lt;/p&gt;

&lt;p&gt;And you’ll instantly get a diagram you can tweak, export, and share.&lt;/p&gt;

&lt;p&gt;🔒 About the Source Code&lt;br&gt;
For now, DiagramAii is not open source. I’m keeping the code private while I refine the features and explore future directions. But the app is live and free to use.&lt;/p&gt;

&lt;p&gt;🌍 Use Cases&lt;br&gt;
System Design: Quickly sketch architectures during team discussions.&lt;/p&gt;

&lt;p&gt;Documentation: Add visuals to README files or wikis.&lt;/p&gt;

&lt;p&gt;Education: Help students understand workflows and system behavior.&lt;/p&gt;

&lt;p&gt;Brainstorming: Turn rough ideas into structured diagrams instantly.&lt;/p&gt;

&lt;p&gt;🎯 Try It Yourself&lt;br&gt;
👉 &lt;a href="https://diagramaii.vercel.app/" rel="noopener noreferrer"&gt;https://diagramaii.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It’s lightweight, intuitive, and designed to make diagramming effortless for developers.&lt;/p&gt;

&lt;p&gt;💡 I’d love to hear from the Dev.to community: Which diagram types should I add next? Should I expand into ER diagrams, network diagrams, or even mind maps?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>showdev</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>Windows for Students, Linux for Developers — My Unexpected Dilemma</title>
      <dc:creator>Biki Kc</dc:creator>
      <pubDate>Fri, 26 Jun 2026 15:12:42 +0000</pubDate>
      <link>https://dev.to/biki_kc/windows-for-students-linux-for-developers-my-unexpected-dilemma-5dm8</link>
      <guid>https://dev.to/biki_kc/windows-for-students-linux-for-developers-my-unexpected-dilemma-5dm8</guid>
      <description>&lt;p&gt;I recently bought a new laptop, and for the first time in years, I decided to stick with the pre-installed Windows 11 instead of immediately installing Arch Linux.&lt;/p&gt;

&lt;p&gt;As someone who has spent years daily driving Arch, that felt strange.&lt;/p&gt;

&lt;p&gt;But there was a good reason.&lt;/p&gt;

&lt;p&gt;Why I Stayed on Windows&lt;/p&gt;

&lt;p&gt;I'm a college student, and Windows comes with something that Linux still struggles to replace perfectly for my workflow: Microsoft Office.&lt;/p&gt;

&lt;p&gt;PowerPoint, Word, and Excel just work.&lt;/p&gt;

&lt;p&gt;Yes, LibreOffice is good, and Google Docs exists, but when professors expect .pptx files with perfect formatting or group projects revolve around Office, having the native applications is genuinely convenient.&lt;/p&gt;

&lt;p&gt;For my academic life, Windows has been surprisingly comfortable.&lt;/p&gt;

&lt;p&gt;I honestly have no complaints there.&lt;/p&gt;

&lt;p&gt;Then I Started Developing Again...&lt;/p&gt;

&lt;p&gt;That's when reality hit.&lt;/p&gt;

&lt;p&gt;I joined an open-source project that required services like Redis and Supabase.&lt;/p&gt;

&lt;p&gt;On Arch Linux, I probably would have installed everything in a few minutes.&lt;/p&gt;

&lt;p&gt;sudo pacman -S redis&lt;/p&gt;

&lt;p&gt;Done.&lt;/p&gt;

&lt;p&gt;Need Docker?&lt;/p&gt;

&lt;p&gt;sudo pacman -S docker&lt;/p&gt;

&lt;p&gt;Need PostgreSQL?&lt;/p&gt;

&lt;p&gt;sudo pacman -S postgresql&lt;/p&gt;

&lt;p&gt;Everything lives in one package manager. Life is simple.&lt;/p&gt;

&lt;p&gt;On Windows, it became a completely different story.&lt;/p&gt;

&lt;p&gt;Some tools require installers.&lt;/p&gt;

&lt;p&gt;Some recommend Docker.&lt;/p&gt;

&lt;p&gt;Others simply tell you:&lt;/p&gt;

&lt;p&gt;"Use WSL."&lt;/p&gt;

&lt;p&gt;At first I thought, "Okay, maybe that's fine."&lt;/p&gt;

&lt;p&gt;But after setting it up, I couldn't stop asking myself...&lt;/p&gt;

&lt;p&gt;If I'm using Linux inside Windows just to develop... why am I using Windows in the first place?&lt;/p&gt;

&lt;p&gt;WSL Isn't Bad&lt;/p&gt;

&lt;p&gt;Before anyone gets offended, I don't think WSL is a bad technology.&lt;/p&gt;

&lt;p&gt;It's actually impressive.&lt;/p&gt;

&lt;p&gt;Running a real Linux environment inside Windows is a huge achievement.&lt;/p&gt;

&lt;p&gt;The problem isn't WSL itself.&lt;/p&gt;

&lt;p&gt;The problem is that many modern development tools assume Linux as the default environment.&lt;/p&gt;

&lt;p&gt;Instead of Windows becoming a better Unix-like development platform, the recommendation is often:&lt;/p&gt;

&lt;p&gt;"Just install Linux inside Windows."&lt;/p&gt;

&lt;p&gt;As someone who already knows Linux, that feels a little ironic.&lt;/p&gt;

&lt;p&gt;The Things I Miss from Arch&lt;/p&gt;

&lt;p&gt;After spending years on Arch Linux, you start appreciating the little things.&lt;/p&gt;

&lt;p&gt;One package manager for almost everything.&lt;br&gt;
Consistent CLI-first workflows.&lt;br&gt;
Native Docker experience.&lt;br&gt;
Easier setup for databases and backend tools.&lt;br&gt;
Development environments that closely match production Linux servers.&lt;/p&gt;

&lt;p&gt;More importantly...&lt;/p&gt;

&lt;p&gt;The terminal feels like home.&lt;/p&gt;

&lt;p&gt;But Windows Isn't All Bad&lt;/p&gt;

&lt;p&gt;To be fair, Windows has improved a lot.&lt;/p&gt;

&lt;p&gt;Better hardware support.&lt;br&gt;
Great battery life on many laptops.&lt;br&gt;
Excellent Office applications.&lt;br&gt;
Better compatibility with university software.&lt;br&gt;
WSL for developers who need Linux tools.&lt;/p&gt;

&lt;p&gt;For many people, it's probably the best balance.&lt;/p&gt;

&lt;p&gt;I just haven't fully adapted after years of Linux.&lt;/p&gt;

&lt;p&gt;So... Should I Switch Back?&lt;/p&gt;

&lt;p&gt;That's the question I've been asking myself.&lt;/p&gt;

&lt;p&gt;Should I:&lt;/p&gt;

&lt;p&gt;Keep Windows and use WSL for development?&lt;br&gt;
Dual boot Windows and Arch Linux?&lt;br&gt;
Install Arch as the primary OS and run Windows only when I need Office?&lt;br&gt;
Or just accept that WSL is now part of modern Windows development?&lt;/p&gt;

&lt;p&gt;I'm genuinely curious what other developers think.&lt;/p&gt;

&lt;p&gt;Especially those who have switched between Linux and Windows multiple times.&lt;/p&gt;

&lt;p&gt;How do you balance productivity for work or college with a development environment that feels natural?&lt;/p&gt;

&lt;p&gt;I'd love to hear your experience.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>linux</category>
      <category>microsoft</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
