<?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[Panda Koder’s devblog]]></title><description><![CDATA[How a one-person project gets built: Lang Switcher, a Rust tool that fixes words typed in the wrong keyboard layout, plus plain guides to keyboard settings in W]]></description><link>https://panda-devblog.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/69e8fa9bbca83cce6c576c82/b33e5a65-3604-46ff-b397-dcdba8fedb06.png</url><title>Panda Koder’s devblog</title><link>https://panda-devblog.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 14:31:28 GMT</lastBuildDate><atom:link href="https://panda-devblog.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Lang Switcher: A Keyboard Layout Switcher With an Undo Key]]></title><description><![CDATA[Lang Switcher is an open-source keyboard layout switcher in Rust: Pause retypes the last word in the other layout, and a second press undoes the fix.]]></description><link>https://panda-devblog.hashnode.dev/lang-switcher-keyboard-layout-switcher-undo-key</link><guid isPermaLink="true">https://panda-devblog.hashnode.dev/lang-switcher-keyboard-layout-switcher-undo-key</guid><category><![CDATA[Rust]]></category><category><![CDATA[Windows]]></category><category><![CDATA[open source]]></category><category><![CDATA[Developer Tools]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Panda Koder]]></dc:creator><pubDate>Tue, 10 Nov 2026 13:59:45 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/69e8fa9bbca83cce6c576c82/dae60a79-fba3-45ec-9f3b-4ff12d7867e7.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hi, I’m Panda Koder, and this post is about Lang Switcher, a small open-source tray app I wrote in Rust to fix text typed in the wrong keyboard layout. The source is on <a href="https://github.com/panda-pishet-kod/lang-switcher">GitHub</a>; the installer, the docs and the FAQ live on the <a href="https://panda-pishet-kod.dev/en/langswitcher/">Lang Switcher page</a> of my site. It’s free, under MIT or Apache-2.0, your pick.</p>
<p>Plenty of tools will change the keyboard layout for you. Lang Switcher fixes the word you already typed, and — the part I care about most — it can take that fix back.</p>
<p>It’s a non-commercial side project. I’m posting it here because developers who type in more than one alphabet are exactly the people who’ll find where it falls short, and that kind of feedback is what it needs most right now.</p>
<h2>The bug I kept reproducing by hand</h2>
<p>You leave a review comment right after a chat in Russian, and “looks good” lands as “дщщлы пщщв”. Or you come back from writing Greek, and “hello” turns into “ηελλο”. The layout indicator was right there in the corner; you just didn’t look. Delete, Win+Space, retype. It’s a tiny chore, and it never goes away.</p>
<h2>One key to fix it, the same key to undo</h2>
<p>Press Pause right after the word, and Lang Switcher retypes it in the other layout and switches the layout, so the next word comes out right. If the whole line is off, select it first, and Pause fixes every word in the selection.</p>
<img src="https://cdn.hashnode.com/uploads/covers/69e8fa9bbca83cce6c576c82/acc5ce1a-45c7-4aa8-874a-943aa50b37e1.png" alt="Panda in a cap with the Lang Switcher logo at a laptop that shows hello and руддщ, next to a Pause key and an undo arrow" title="Press Pause once to fix the word, twice to get your own text back." />

<p>The undo is the feature I’d defend in a code review. A fix you can’t take back makes you hesitate before pressing the key, and this one is reversible: hit Pause a second time, and the original text comes back, letter for letter.</p>
<p>With three or more layouts, the same key walks a cycle of up to eight, in the order you choose. Every press shifts the word one layout further along, and after the last one you’re back where you started. The program page shows it with three layouts: руддщ, then hello, then יקךךם, then руддщ again. If you’d rather not cycle, “Pair” mode fixes one source and one target and leaves the other layouts alone.</p>
<img src="https://cdn.hashnode.com/uploads/covers/69e8fa9bbca83cce6c576c82/a2b34db6-cb70-4492-89e1-d0a21a71a11e.png" alt="Lang Switcher settings, Layouts panel: Pair mode with English as the source and Russian as the target" title="The Layouts panel: a fixed pair, or a cycle of up to eight layouts." />

<p>That’s my definition of an automatic keyboard layout switcher: one keystroke from you, and the program handles everything else, but it never guesses and never acts on its own. Until you ask, Lang Switcher changes nothing.</p>
<h2>How it works (the public parts)</h2>
<p>All of this is in the <a href="https://panda-pishet-kod.dev/en/langswitcher/docs/">documentation</a> and in the source.</p>
<ul>
<li><strong>Keys, not letters.</strong> The program remembers the keys you pressed rather than the characters they produced. On Pause, it asks Windows what the same keys type in the other layout. That’s how Shift+2 becomes @ in English and " in Russian without any per-language tables, and why any Windows layout works: Hebrew, Arabic, Greek, Ukrainian, layouts for more than 100 languages.</li>
<li><strong>Where that breaks down.</strong> Chinese, Japanese and Korean build each character from several keystrokes, so there’s no key-to-key mapping, and those layouts stay out.</li>
<li><strong>Replacing text.</strong> In ordinary windows, it selects the word you typed and types the replacement over it in one go, so autocomplete can’t eat any letters. The clipboard isn’t touched for that; converting a selection does go through it, and the program puts it back exactly as it was. Consoles are the exception: the word you just typed gets fixed, but a selection can’t be, because reading it would take Ctrl+C, and in a console that stops the running command.</li>
<li><strong>Layout state.</strong> Switching by hand with Alt+Shift, Ctrl+Shift or Win+Space doesn’t lose the word, since the layout is stored with every keystroke. When Windows 11 keeps a separate layout per window, it switches the one you’re typing in.</li>
<li><strong>Elevated windows.</strong> It works in windows of programs run as administrator. To make that possible, the installer creates its own code-signing certificate on your machine, signs the program with it and destroys the key right away; uninstalling removes the certificate. What Windows doesn’t allow, it doesn’t try: no keystrokes on the UAC prompt, the Ctrl+Alt+Del screen or the sign-in screen.</li>
<li><strong>Kill switch.</strong> Ctrl+Alt+Shift+F12 removes the keyboard hook and exits. It’s checked before anything else, and you can’t assign it as the hotkey.</li>
</ul>
<h2>What I was careful about</h2>
<p>Installing a keyboard hook is a big ask, so here’s what happens to your input:</p>
<ul>
<li>There’s no telemetry and nothing about you.</li>
<li>Nothing you type is ever written to disk. The buffer lives in memory and gets overwritten with zeros at every reset.</li>
<li>Password fields get no typing buffer. The program spots them with three checks, UI Automation among them, and answers Pause there with a dull thud. One caveat: a field whose type can’t be determined is treated as an ordinary one.</li>
<li>Network: it fetches a short news file from my site once a day, and nothing about your computer goes with it. Updates come from the same place; it checks my signature and installs them while the computer is idle.</li>
<li>Feedback: “Write to the author…” in the tray menu shows you a preview and sends the message to my site with one button, Send. Nothing leaves until you click Send yourself, and what leaves is exactly the text you saw. A contact is optional, only in case I need to ask you something. If my site doesn’t answer, press Retry, or email the same text to <a href="mailto:lang.switcher@panda-pishet-kod.dev">lang.switcher@panda-pishet-kod.dev</a>, or save it to a file.</li>
</ul>
<img src="https://cdn.hashnode.com/uploads/covers/69e8fa9bbca83cce6c576c82/ae6d7908-04dd-4584-bd65-f61a865e6c26.png" alt="Lang Switcher Write to the author wizard, lower part of the last step: the message text, an optional contact field, and the Cancel, Back and Send buttons" title="Nothing leaves before you press Send, and you see every word first." />

<h2>Setting it up</h2>
<img src="https://cdn.hashnode.com/uploads/covers/69e8fa9bbca83cce6c576c82/7c7a9aed-07f4-4ced-8cf6-f0b93f8959a1.png" alt="Lang Switcher tray menu in Windows 11: Suspend, Settings, Start when I sign in, Write to the author, About and Exit" title="Everything starts from the tray icon." />

<ul>
<li><strong>System:</strong> Windows 10 version 1607 or later, or Windows 11, 64-bit.</li>
<li><strong>Install:</strong> grab it from the <a href="https://panda-pishet-kod.dev/en/langswitcher/download/">download page</a> or from GitHub releases. Because the installer carries my own signature, Windows flags an unknown publisher and asks you to confirm.</li>
<li><strong>Configure:</strong> with two layouts, you don’t. The hotkey, layouts and exclusions are in Settings, and all of it lives in one file, %APPDATA%\Lang_Switcher\config.toml, which is handy when you move to a new machine.</li>
<li><strong>No Pause key?</strong> “Settings…” → “Hotkey” → “Set” accepts a single key, a Ctrl, Alt or Shift combo, or a double Shift press.</li>
<li><strong>Exclusions:</strong> in an excluded program, nothing you type is remembered, and the hotkey goes to the program itself.</li>
<li><strong>Interface:</strong> 66 languages.</li>
</ul>
<h2>Other tools solve different problems</h2>
<p>This isn’t a ranking. Each of these was built for a different habit:</p>
<ul>
<li>Caramba Switcher guesses the language from your letters and switches the layout on its own, and so does Punto Switcher.</li>
<li>LangOver wants a selection first: highlight the text and press F10.</li>
<li>PowerToys Keyboard Manager and AutoHotkey remap keys, so the layout shortcut can live on Caps Lock. AutoHotkey also means writing the script and looking after it on your own. Neither one fixes text that’s already typed, and PowerToys has had an open request for a converter between layouts since December 2021 (#14850).</li>
</ul>
<p>Lang Switcher’s niche is narrow on purpose: fix the last word or the selection when you ask, and let you undo it.</p>
<h2>Thanks for reading</h2>
<p>Thanks for reading this far. If you type in two alphabets, give it a try. And if it breaks somewhere, whether it’s a layout, an editor or a strange text field, I’d really like to hear about it on <a href="https://github.com/panda-pishet-kod/lang-switcher/issues">GitHub Issues</a> or through “Write to the author…” in the tray menu. I’d be glad to have you among its users.</p>
<p><em>This post was written with the help of an AI assistant. I reviewed it and checked the facts against the program and its documentation.</em></p>
]]></content:encoded></item><item><title><![CDATA[M-Click 2.4.10: Rewriting the DNA of my 3D Furniture Configurator]]></title><description><![CDATA[Since my last post, I’ve spent countless hours refactoring the core logic of M-Click (Мебель Клик). Building a professional-grade online furniture…]]></description><link>https://panda-devblog.hashnode.dev/m-click-2-4-10-rewriting-the-dna-of-my-3d-furniture-configurator</link><guid isPermaLink="true">https://panda-devblog.hashnode.dev/m-click-2-4-10-rewriting-the-dna-of-my-3d-furniture-configurator</guid><dc:creator><![CDATA[Panda Koder]]></dc:creator><pubDate>Mon, 04 May 2026 17:02:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/69e8fa9bbca83cce6c576c82/b117de04-06ec-4388-aa12-8df030dc53e2.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Since my last post, I’ve spent countless hours refactoring the core logic of <strong>M-Click (Мебель Клик)</strong>. Building a professional-grade <strong>online furniture configurator</strong> as a solo developer is a marathon, and version 2.4.10 marks a major milestone where the project shifts from a "visualizer" to a legitimate engineering tool.</p>
<p>Here is what I’ve been working on:</p>
<h3>🕹 A New "Project Creator" &amp; Multi-modal Architecture</h3>
<p>I completely overhauled the main menu and entry logic. Instead of a basic input form, I built a dedicated <code>Project Creator</code>. This isn't just about a prettier UI; it’s a structural foundation for <strong>multi-modality</strong>. The architecture now allows me to add different furniture types (wardrobes, kitchens, or free-form geometry) without cluttering the workspace. The interface is now more intuitive, letting users define the cabinet's "skeleton"—like top and bottom types—before the 3D scene even loads.</p>
<h3>🎨 Rendering Evolution: PBR &amp; Real-World Scale</h3>
<p>I realized that "good enough" graphics weren't enough. I rewrote the object rendering logic from scratch.</p>
<ul>
<li><p><strong>PBR Materials:</strong> I added support for Physically Based Rendering, including normal and roughness maps. This means textures like wood grain or solid colors react realistically to the "City" HDRI environment light.</p>
</li>
<li><p><strong>Real-World Scale:</strong> One of my biggest technical wins was implementing a logic where textures (like the new Lamarty catalog) are mapped based on the actual physical dimensions of a chipboard sheet (2750x1830 mm). No more tiled "wallpaper" looks—the wood grain looks exactly as it would on a real 2-meter tall panel.</p>
</li>
<li><p><strong>Edge Definition:</strong> I used the <code>Edges</code> helper from <code>@react-three/drei</code> to programmatically draw clean outlines around every panel, preventing parts of the same color from merging into a single blob.</p>
</li>
</ul>
<h3>📐 Engineering Precision: Edge Banding (Кромка)</h3>
<p>This was the most requested feature from the furniture-making community. <strong>M-Click</strong> now supports <strong>Edge Banding</strong>.</p>
<ul>
<li><p>It’s not just a visual strip; it’s integrated into the math. The system automatically calculates <strong>sawing dimensions</strong> by deducting the edge thickness (0.4mm to 2mm) from the panel's raw size.</p>
</li>
<li><p>The 3D engine is smart enough to know which sides to "edge"—for example, all four sides of a door but only the front face of an internal shelf.</p>
</li>
</ul>
<h3>📄 From Browser to Workshop: PDF Exports</h3>
<p>I’ve finished the first iteration of the <code>Specification</code> module. With one click, I generate a PDF report that includes a snapshot of the 3D model (the scene automatically switches to a clean white background for print), a date stamp, and a detailed parts list. The system even flags panels in red if they exceed the dimensions of a standard material sheet.</p>
<h3>The Solo Grind</h3>
<p>I fixed hundreds of bugs, ranging from TypeScript <code>any</code> type issues to mobile CSS height glitches. Navigating the "day job/night code" routine is tough, but seeing the tool start to provide actual production value makes it worth it.</p>
<p><strong>Test the latest stable build:</strong></p>
<p>👉 <a href="https://m-click.dev">https://m-click.dev</a></p>
<p><strong>I need your dev feedback:</strong></p>
<ol>
<li><p>How is the performance of the PBR materials on your mobile browser?</p>
</li>
<li><p>Does the new <code>Project Creator</code> flow make sense from a UX perspective?</p>
</li>
<li><p>Any suggestions for optimizing the <code>Zustand</code> store for even more complex nested geometry?</p>
</li>
</ol>
<p>I share all my technical "f***ups" and small wins in my Telegram devlog:</p>
<p>📢 <a href="https://t.me/mebel_click">t.me/mebel_click</a></p>
<p>Let’s build the future of accessible CAD together!</p>
<p>#react #threejs #webdev #showdev #typescript</p>
]]></content:encoded></item><item><title><![CDATA[Building a 3D Furniture Configurator from Scratch: The Story of M-Click]]></title><description><![CDATA[Building a 3D Furniture Configurator from Scratch]]></description><link>https://panda-devblog.hashnode.dev/building-a-3d-furniture-configurator-from-scratch-the-story-of-m-click</link><guid isPermaLink="true">https://panda-devblog.hashnode.dev/building-a-3d-furniture-configurator-from-scratch-the-story-of-m-click</guid><category><![CDATA[React]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[webdev]]></category><dc:creator><![CDATA[Panda Koder]]></dc:creator><pubDate>Wed, 22 Apr 2026 17:23:35 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/69e8fa9bbca83cce6c576c82/e225de8c-b17b-4e19-9424-8a6baf488da3.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Building complex web tools is often seen as a task for large teams. But what happens when you combine a passion for furniture design with the power of modern WebGL libraries?</p>
<p>My name is Panda, and I’m a solo developer building <strong>M-Click</strong> — a free, web-based 3D furniture configurator. I’d like to share how it works under the hood and why I decided to take on this challenge alone.</p>
<h3>The Vision: Why another 3D tool?</h3>
<p>Custom furniture is expensive, and visualizing it shouldn't be. Most existing CAD tools are either too heavy for the browser or too complicated for the average user. I wanted to create something fast, intuitive, and accessible directly via a URL.</p>
<p>That’s how <strong>M-Click</strong> was born. It’s a tool that allows you to design cabinets, lockers, and shelving units in real-time, calculating every board and shelf with precision.</p>
<h3>The Tech Stack: React + Three.js + Zustand</h3>
<p>To make the performance snappy and the code maintainable, I chose a modern stack:</p>
<ul>
<li><p><strong>React &amp; TypeScript:</strong> For a robust UI and predictable state.</p>
</li>
<li><p><strong>Three.js (@react-three/fiber):</strong> The core of the 3D scene. It handles the rendering of every furniture part as individual meshes.</p>
</li>
<li><p><strong>Zustand:</strong> This was a game-changer for state management. When you change the height of a cabinet, dozens of components (boards, doors, shelves) need to recalculate their positions instantly. Zustand’s lightweight approach makes these updates seamless.</p>
</li>
<li><p><strong>Tailwind CSS:</strong> For a clean, responsive sidebar and UI controls.</p>
</li>
</ul>
<h3>How it works: From Data to Geometry</h3>
<p>The logic is centered around a "Section" system. Instead of hard-coding shapes, M-Click generates geometry dynamically:</p>
<ol>
<li><p>The user defines global dimensions (Height, Width, Depth).</p>
</li>
<li><p>The engine calculates the "Skeleton" of the furniture.</p>
</li>
<li><p>Each component (like a <code>Board</code> or a <code>Shelf</code>) is rendered based on the material thickness and relative offsets.</p>
</li>
<li><p>Features like "Auto-distribute" automatically calculate the equal spacing between shelves, taking material thickness into account.</p>
</li>
</ol>
<h3>The Solo Dev Journey (and being Free)</h3>
<p>I’m developing M-Click entirely on my own, fueled by enthusiasm and coffee. Right now, the project is <strong>completely free</strong>. My goal isn't to lock it behind a paywall but to build a tool that people actually enjoy using.</p>
<p>Being a solo dev means I'm the architect, the coder, and the QA tester. It’s a steep learning curve, but seeing a virtual cabinet come to life based on a few lines of code is incredibly rewarding.</p>
<h3>I Need Your Feedback!</h3>
<p>The project is currently in its "pre-launch" phase. The core engine is working, but I’m constantly refining the UX and adding new features (like more door types and export options).</p>
<p>I’m looking for fellow developers and 3D enthusiasts to:</p>
<ol>
<li><p><strong>Try out the early version:</strong> <a href="http://m-click.dev">m-click.dev</a></p>
</li>
<li><p><strong>Break it:</strong> Tell me what’s missing or what feels clunky.</p>
</li>
<li><p><strong>Join the community:</strong> I share all the "behind-the-scenes" updates and technical hurdles in my <a href="https://t.me/mebel_click">Telegram channel</a>.</p>
</li>
</ol>
<p><strong>What do you think about the current state of 3D on the web? Could React-Three-Fiber be the future of specialized CAD tools? Let’s discuss in the comments!</strong></p>
]]></content:encoded></item></channel></rss>