<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tech Art Corner - Karol Kowalczyk on Medium]]></title>
        <description><![CDATA[Stories by Tech Art Corner - Karol Kowalczyk on Medium]]></description>
        <link>https://medium.com/@TechArtCorner?source=rss-2cda44bd52da------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SlvcW04B40-I3piUEv6gpA.png</url>
            <title>Stories by Tech Art Corner - Karol Kowalczyk on Medium</title>
            <link>https://medium.com/@TechArtCorner?source=rss-2cda44bd52da------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 01:28:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@TechArtCorner/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Stop wasting memory in Python with slicing lists]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@TechArtCorner/stop-wasting-memory-in-python-with-slicing-82d2e5064b3d?source=rss-2cda44bd52da------2"><img src="https://cdn-images-1.medium.com/max/1280/1*VTUGCglo8yavzWzIoYnWXQ.png" width="1280"></a></p><p class="medium-feed-snippet">Paywall? Use this friend link to read without premium:</p><p class="medium-feed-link"><a href="https://medium.com/@TechArtCorner/stop-wasting-memory-in-python-with-slicing-82d2e5064b3d?source=rss-2cda44bd52da------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@TechArtCorner/stop-wasting-memory-in-python-with-slicing-82d2e5064b3d?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/82d2e5064b3d</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[numpy]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[performance]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Thu, 25 Jun 2026 18:18:05 GMT</pubDate>
            <atom:updated>2026-06-26T11:15:04.535Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[I fixed my Python REPL. Now it can Unindent code with a shortcut.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@TechArtCorner/i-fixed-my-python-repl-now-it-can-unindent-code-with-a-shortcut-0f43f0e352c7?source=rss-2cda44bd52da------2"><img src="https://cdn-images-1.medium.com/max/600/1*kieNaB20HNYLBlIMSkan-g.gif" width="600"></a></p><p class="medium-feed-snippet">I always hated that you cannot just unindent REPL line of code with 
Shift + Tab. Well. Now you can.</p><p class="medium-feed-link"><a href="https://medium.com/@TechArtCorner/i-fixed-my-python-repl-now-it-can-unindent-code-with-a-shortcut-0f43f0e352c7?source=rss-2cda44bd52da------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@TechArtCorner/i-fixed-my-python-repl-now-it-can-unindent-code-with-a-shortcut-0f43f0e352c7?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f43f0e352c7</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Fri, 10 Apr 2026 21:10:09 GMT</pubDate>
            <atom:updated>2026-04-10T21:10:56.020Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Editor Utility Combo Box Key in Unreal Engine]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@TechArtCorner/editor-utility-combo-box-key-in-unreal-engine-cf586d6afd0d?source=rss-2cda44bd52da------2"><img src="https://cdn-images-1.medium.com/max/654/1*WXOWwq1fFm_qzSMNrFzzJQ.gif" width="654"></a></p><p class="medium-feed-snippet">Combo Box Key is a more advanced variant of Combo Box String.
Instead of showing string options, it can show custom widgets.</p><p class="medium-feed-link"><a href="https://medium.com/@TechArtCorner/editor-utility-combo-box-key-in-unreal-engine-cf586d6afd0d?source=rss-2cda44bd52da------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@TechArtCorner/editor-utility-combo-box-key-in-unreal-engine-cf586d6afd0d?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf586d6afd0d</guid>
            <category><![CDATA[unreal-engine-5]]></category>
            <category><![CDATA[blueprint]]></category>
            <category><![CDATA[mugs]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[editor-utility-widgets]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Sun, 15 Mar 2026 12:03:07 GMT</pubDate>
            <atom:updated>2026-03-15T12:05:01.853Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Editor Utility Combo Box String in Unreal Engine]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@TechArtCorner/editor-utility-combo-box-string-in-unreal-engine-5943daadd284?source=rss-2cda44bd52da------2"><img src="https://cdn-images-1.medium.com/max/600/1*gb3LCkM0o7UzVYJPxVDMXg.gif" width="600"></a></p><p class="medium-feed-snippet">There are two kinds of Combo Boxes in Unreal Editor Utility Widgets:
Key and String.</p><p class="medium-feed-link"><a href="https://medium.com/@TechArtCorner/editor-utility-combo-box-string-in-unreal-engine-5943daadd284?source=rss-2cda44bd52da------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@TechArtCorner/editor-utility-combo-box-string-in-unreal-engine-5943daadd284?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/5943daadd284</guid>
            <category><![CDATA[unreal-engine-5]]></category>
            <category><![CDATA[mugs]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[editor-utility-widgets]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Sun, 15 Mar 2026 12:00:16 GMT</pubDate>
            <atom:updated>2026-03-15T12:04:27.549Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Gamedev conference talks are underrated. (watchlist included)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@TechArtCorner/gamedev-conference-talks-are-underrated-watchlist-included-4e7c5737bb8c?source=rss-2cda44bd52da------2"><img src="https://cdn-images-1.medium.com/max/1280/1*byPAHmLb86AT1yWf6gIbvA.png" width="1280"></a></p><p class="medium-feed-snippet">When you are new to game development, it&#x2019;s hard to find good content on what are the problems in big productions, in-depth summaries on&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@TechArtCorner/gamedev-conference-talks-are-underrated-watchlist-included-4e7c5737bb8c?source=rss-2cda44bd52da------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@TechArtCorner/gamedev-conference-talks-are-underrated-watchlist-included-4e7c5737bb8c?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e7c5737bb8c</guid>
            <category><![CDATA[tech-conference]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[gamedev]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Fri, 13 Feb 2026 14:46:00 GMT</pubDate>
            <atom:updated>2026-02-19T09:21:19.414Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Asset Validator with Blueprints in Unreal Engine]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@TechArtCorner/asset-validator-with-blueprints-in-unreal-engine-3895414e27c7?source=rss-2cda44bd52da------2"><img src="https://cdn-images-1.medium.com/max/600/1*lh9uwfc31DMRilFWXSpHxw.png" width="600"></a></p><p class="medium-feed-snippet">A simple way to automate catching simple bugs before they are even introduced.</p><p class="medium-feed-link"><a href="https://medium.com/@TechArtCorner/asset-validator-with-blueprints-in-unreal-engine-3895414e27c7?source=rss-2cda44bd52da------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@TechArtCorner/asset-validator-with-blueprints-in-unreal-engine-3895414e27c7?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/3895414e27c7</guid>
            <category><![CDATA[unreal-blueprint]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[blueprint]]></category>
            <category><![CDATA[editor-utility-widgets]]></category>
            <category><![CDATA[unreal-engine-5]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Wed, 11 Feb 2026 20:42:34 GMT</pubDate>
            <atom:updated>2026-02-19T09:23:08.878Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Python Remote Debugging — Debug External Applications with PyCharm]]></title>
            <link>https://medium.com/@TechArtCorner/python-remote-debugging-debug-external-applications-with-pycharm-1da72a88fde0?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/1da72a88fde0</guid>
            <category><![CDATA[pycharm]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 17:24:27 GMT</pubDate>
            <atom:updated>2026-01-20T17:24:27.772Z</atom:updated>
            <content:encoded><![CDATA[<h3>Python Remote Debugging — Debug External Applications with PyCharm</h3><p>Debugging is straightforward when you run an application directly from your IDE.<br> It becomes much harder when your code runs in a <strong>separate process</strong> or inside a <strong>third-party application</strong>.</p><p>This article explains how to use <strong>remote debugging with PyCharm</strong> to debug Python code running in external applications.</p><p>I often need to debug Python code running inside applications such as:</p><ul><li>Blender</li><li>Maya</li><li>Unreal Engine</li></ul><p>These applications are launched independently and do not start with a debugger attached.</p><p>Without remote debugging, the usual options are:</p><ul><li>Guessing what went wrong (haha)</li><li>Adding more and moreprint() statements</li><li>Executing snippets from a built-in console</li></ul><p>If only we could make our lives easier and find a way to use debugger remotely.</p><p>We can!<br>Remote Debugging is a way of connecting external debugger to your code.</p><p>It can be done with PyCharm, Visual Studio Code, PyDev and other IDEs but there are some differences between them.</p><p>This article focuses <strong>exclusively on PyCharm</strong>.</p><h4>PyCharm Limitations</h4><p>Remote debugging is <strong>not available</strong> in <strong>PyCharm Community Edition</strong>.<br>It is available in PyCharm Pro and under students license (free).</p><p>As an alternative, you can use free Visual Studio Code but in this case you have to refer to a different tutorial.</p><h3>Preparation</h3><h4>Install pydevd-pycharm</h4><p>We are going to connect Pycharm to remote debugger.<br>Remote debugger comes as a <em>`pydevd-pychar</em>m` module.</p><p>If you can install it as a dependency of your tool, it is great.</p><p>But if you can’t, don’t try to install it directly in the application interpreter.<br>There is another way and you don’t have to modify the original environment.</p><ol><li>Just install it to a different directory.</li></ol><pre>pip install --target C:\Some\Target\Directory pydevd-pycharm</pre><p>2. Even if the module is outside your application’s site-packages, you can still use it by modifying sys.path at runtime:</p><pre>import sys<br>sys.path.append(r&quot;C:\Some\Target\Directory&quot;)<br><br>import pydevd_pycharm</pre><h4>PyCharm Setup</h4><ol><li>Add source directories that you want to debug to your project structure<br>This is not necessary but makes navigating and placing breakpoints easier</li><li>Edit run configurations</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*89m2Q_ftiAtHZMN9_YsB0A.png" /></figure><p>3. Add new Remote Debugging Server configuration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/226/1*LAk1684V6HiM6kSRPR-2Ng.png" /></figure><p>4. Edit the configuration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*I9tsXwax4n-NBkPK-4qHnQ.png" /></figure><p>Don’t use Port 0. It assigns random free port.<br>Try to use something else instead.</p><p>I went with popular 5678 port but it’s sometimes occupied by my VS Code debug. I generally advise using some weird number because they are usually free.<br>Of course, don’t use popular port numbers like 3000 or 8080.</p><p>You may want to disable Suspend after connect as it automatically triggers a breakpoint when you connect and may be quite annoying.</p><p>Leave the rest default.<br>You may change host name if you are connecting to a remote machine.<br>In that case, make sure the firewall does not block your connection.</p><h3>Connecting the debugger</h3><p>Run the remote debugging server.<br>You should always run it before you try to connect.</p><p>By now you probably can see a console and some snippet of code.<br>You can use it to connect. Simply execute those two lines of code in your tool.</p><p>You can add those lines in the function you want to debug.<br>Or trigger it with a button.<br>It will also work fine (in most cases) if you simply type it into built in Python console in the software you are debugging.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*zkK8QYEzoRmLcKFiUdBSwA.png" /></figure><p>However, if you did not include pydevd as a dependency of your tool, you have to add it to sys path first. So the final code snippet is as follows:</p><pre>import sys<br>sys.path.append(r&quot;C:\Some\Target\Directory&quot;)<br><br>import pydevd_pycharm<br># Old pydevd:<br># pydevd_pycharm.settrace(&#39;localhost&#39;, port=5678, stdoutToServer=True, stderrToServer=True)<br># New: <br>pydevd_pycharm.settrace(&#39;localhost&#39;, port=5678, stdout_to_server=True, stderr_to_server=True)</pre><p>Voila! <br>Debugger should be connected. You can now debug the code just like it was running from your IDE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*wPE8Y9l-ZTwXkPPDGQNmrw.png" /></figure><h3>Troubleshooting</h3><h4>No connection could be made</h4><ul><li>The remote debugging server is not running</li><li>The port number does not match</li><li>The chosen port is already in use</li></ul><pre>[WinError 10061] No connection could be made because the target machine actively refused it</pre><h4>pydevd_pycharm.settrace()` not recognizing parameters `stdoutToServer`</h4><p>You must have notices that code snippet above has a comment with old settrace() call and there’s new one below.</p><p>After many years, pydevd finally had those function arguments renamed to be more pythonic.<br>You may still using older version of PyCharm and newer pydevd-pycharm module (or vice versa) and be getting an error.</p><p>It’s fine. You didn’t do anything wrong.<br>It’s just the rename that went in with an update. Fix your code or update and that’s all.</p><p>Related YouTrack issues:</p><p><a href="https://youtrack.jetbrains.com/projects/PY/issues/PY-83693/pydevdpycharm-arguments-names-updated-in-code-but-not-messages">https://youtrack.jetbrains.com/projects/PY/issues/PY-83693/pydevdpycharm-arguments-names-updated-in-code-but-not-messages</a></p><p><a href="https://youtrack.jetbrains.com/projects/PY/issues/PY-83096/pydevdpycharm.settrace-not-recognizing-parameters-stdoutToServer-and-stderrToServer">https://youtrack.jetbrains.com/projects/PY/issues/PY-83096/pydevdpycharm.settrace-not-recognizing-parameters-stdoutToServer-and-stderrToServer</a></p><h4>Crash on connecting debugger</h4><p>Some applications don’t work well with the debugger.</p><p>For instance, Autodesk MotionBuilder crashes if I connect debugger and then run a PySide (Qt) tool that is embedded in native MotionBuilder FBTool widget.</p><p><strong>Workaround? </strong><br>Run the tool first and then connect the debugger.</p><p>As silly as it sounds, it works.</p><p>You may have to find similar solutions for your self.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1da72a88fde0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using React Activity Component]]></title>
            <link>https://medium.com/@TechArtCorner/using-react-activity-component-a707b09626a8?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/a707b09626a8</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[frontend]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Fri, 16 Jan 2026 11:02:55 GMT</pubDate>
            <atom:updated>2026-01-16T11:02:55.188Z</atom:updated>
            <content:encoded><![CDATA[<p>The &lt;Activity /&gt; component was introduced in <strong>React 19.2</strong> to allow developers to hide and restore UI <strong>without losing component state</strong>. It addresses a long-standing issue with conditional rendering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_P-mu1MC3NBwh9fS-hhoYA.png" /></figure><h3>The Problem with Conditional Rendering</h3><p>A common pattern in React looks like this:</p><ol><li>A user opens a conditionally rendered form</li><li>The user fills in the form</li><li>The form is hidden (unmounted)</li><li>The form is shown again</li></ol><p><strong>Result:</strong> the form is empty — its state has been lost.</p><p>This happens because unmounting a component destroys its internal state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*flU18yK8WMt6R5011JHcUQ.gif" /></figure><h3>Real-World Example 1: Checkout Forms</h3><p>Consider an online store checkout page with multiple sections:</p><ul><li>Delivery options</li><li>Discounts</li><li>Payment method</li></ul><p>Each section contains its own form, logic, and validation.</p><p>If the user selects <strong>Credit Card</strong>, a credit card form appears.<br> If they switch to <strong>Cash</strong> or <strong>Online Payment</strong>, a different form is shown.</p><p>The problem arises when the credit card form is unmounted. If the user switches back, all previously entered card details are lost, forcing them to retype the information — an especially frustrating experience.</p><h3>Real-World Example 2: Collapsible Sidebar</h3><p>Imagine a website with a collapsible sidebar containing a large, nested tree of items.</p><p>Users may:</p><ul><li>Expand multiple nested sections</li><li>Scroll to a specific position</li><li>Select certain items</li></ul><p>If the sidebar is collapsed and reopened, all of that state is lost:</p><ul><li>Expanded nodes collapse</li><li>Scroll position resets</li><li>Selections disappear</li></ul><h3>Common Workarounds Before &lt;Activity /&gt;</h3><p>Before &lt;Activity /&gt;, developers typically relied on workarounds such as:</p><ul><li><strong>Lifting state up</strong> to a parent component or global store</li><li><strong>Persisting state externally</strong> (Redux, Zustand, etc.)</li><li><a href="https://stackoverflow.com/questions/27723226/show-hide-reactjs-components-without-losing-their-internal-state/30118898#30118898"><strong>Hiding components with CSS</strong></a>, which keeps state but can introduce layout, accessibility, or performance issues</li></ul><h3>Introducing &lt;Activity&gt;</h3><p>The &lt;Activity&gt; component allows you to show or hide a component without unmounting it.</p><p>When hidden:</p><ul><li>The component remains rendered</li><li>DOM nodes stay in the document</li><li>State is preserved</li><li>Effects are not re-mounted</li><li>Rendering occurs at a lower priority</li></ul><p>This means hidden components can still fetch data ahead of time and appear instantly when shown again.</p><h3>Basic Usage</h3><p>Switching between visible and hidden states is straightforward:</p><pre>&lt;Activity mode={isShowingSidebar ? &quot;visible&quot; : &quot;hidden&quot;}&gt;<br>  &lt;Sidebar /&gt;<br>&lt;/Activity&gt;<br>// https://react.dev/reference/react/Activity#restoring-the-state-of-hidden-components</pre><h3>Example: Preserving State in a Checkout Page</h3><p>With &lt;Activity /&gt;, the promo code remains intact even after hiding and showing the order summary.</p><h4>Gif:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*8PpLtZ6mlNEQ4mjHOY6_Fw.gif" /></figure><h4>Code:</h4><pre>// Remember that this feature was introduced in React 19.2!<br>import { Activity, useState } from &quot;react&quot;;<br><br>function CheckoutPage() {<br>  const [showSummary, setShowSummary] = useState(true);<br><br>  return (<br>    &lt;div className=&quot;layout&quot;&gt;<br>      &lt;button onClick={() =&gt; setShowSummary((v) =&gt; !v)}&gt;<br>        {showSummary ? &quot;Hide&quot; : &quot;Show&quot;} order summary<br>      &lt;/button&gt;<br><br>      &lt;Activity mode={showSummary ? &quot;visible&quot; : &quot;hidden&quot;}&gt;<br>        &lt;OrderSummary /&gt;<br>      &lt;/Activity&gt;<br>    &lt;/div&gt;<br>  );<br>}<br><br>function OrderSummary() {<br>  const [promoCode, setPromoCode] = useState(&quot;&quot;);<br><br>  return (<br>    &lt;aside&gt;<br>      &lt;h3&gt;Order summary&lt;/h3&gt;<br><br>      &lt;input<br>        placeholder=&quot;Promo code&quot;<br>        value={promoCode}<br>        onChange={(e) =&gt; setPromoCode(e.target.value)}<br>      /&gt;<br><br>      &lt;p&gt;Shipping, taxes, and totals update in real time.&lt;/p&gt;<br>    &lt;/aside&gt;<br>  );<br>}<br><br>export default function App() {<br>  return (<br>    &lt;div className=&quot;App&quot;&gt;<br>      &lt;CheckoutPage /&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a707b09626a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use Widget Switcher in Unreal Engine UMG]]></title>
            <link>https://medium.com/@TechArtCorner/how-to-use-widget-switcher-in-unreal-engine-umg-6d3033ce3061?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d3033ce3061</guid>
            <category><![CDATA[unreal-umg]]></category>
            <category><![CDATA[blueprint]]></category>
            <category><![CDATA[gamedev]]></category>
            <category><![CDATA[unreal-engine-5]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Tue, 13 Jan 2026 09:43:51 GMT</pubDate>
            <atom:updated>2026-01-13T09:43:51.402Z</atom:updated>
            <content:encoded><![CDATA[<p>Switch between displayed widgets with ease.</p><h3>Demo:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*ni85QP3HGo7DTmCf1bBoaA.gif" /></figure><h3>Tutorial</h3><p>You can find <em>Widget Switcher </em>in the<em> Palette</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*krnV3dL4qb6OlVgXy8AFRA.png" /></figure><p>Drop it to the <em>Hierarchy</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*N0lWAfMiyIdjJoRvbSHDkw.png" /></figure><p><em>Widget Switcher</em> is a container that can switch between displayed widgets.<br>It can contain singular widgets but it makes more sense to use layouts.</p><p>Each layout (widget) is going to be a single index that our widget can display.<br>They are numbered from top to bottom. <br>So the top Vertical Box is 0 and the bottom one is 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*9NMBcNJ40fM3DrihBLBpLQ.png" /></figure><p>Before we try switching displayed indexes, try implementing some simple UI so you can see what you are switching. In my case it is going to be some form and success page UI.</p><p>Don’t worry about Switcher<em> </em>not displaying your widget.<br>The editor automatically previews the widget you are working on.<br>If for any reason it you can’t see them, just peak into the next step ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*oVqYG8j2h0F4OW6kG_mR6Q.png" /></figure><p>Now that we have some UI to play with, it makes sense to test out the <em>Switcher</em>. Select it and go to <em>Details</em>.</p><p>You should notice <em>Active Widget Index</em> which you can use to switch between widgets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XqAJ4zfNSqdUQmq9zeWMcg.png" /></figure><p>This value is great for visualizing widget while working on the design but it cannot be bound to any variable.</p><p>We have to modify it using a <em>Set Active Widget Index</em> node.<br>Before you do that, make sure <em>Is Variable</em> is enabled on the <em>Switcher</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*TwYFvJ_FGQZAYl-vbZV4IQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*sy0qbsoR7lXH2MY2y-_hig.png" /></figure><h3>Graph behind the demo example</h3><p>You probably noticed that in my example UI, each panel has a button.<br>I used them to set indexes when clicked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5E7oYSMqn6k4xwV_MZlnuA.png" /></figure><p>And this is final result you have seen at the beginning of the tutorial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*ni85QP3HGo7DTmCf1bBoaA.gif" /></figure><h3>More on Editor Utility Widgets</h3><p>Find more tutorials on my profile and <a href="www.youtube.com/@techartcorner">YouTube</a></p><p>If you are into zero to hero courses, you can find my 8+ hours course on <a href="https://www.udemy.com/course/unreal-engine-blueprint-automation/?referralCode=477D1EC951CD34B6B95D">Blueprint Automation on Udemy</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d3033ce3061" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Filtering asset and actor lists with Unreal EditorFilterLibrary (Python)]]></title>
            <link>https://medium.com/@TechArtCorner/filtering-asset-and-actor-lists-with-unreal-editorfilterlibrary-python-59ac8234b395?source=rss-2cda44bd52da------2</link>
            <guid isPermaLink="false">https://medium.com/p/59ac8234b395</guid>
            <category><![CDATA[gamedev]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[unreal-engine-5]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[techart]]></category>
            <dc:creator><![CDATA[Tech Art Corner - Karol Kowalczyk]]></dc:creator>
            <pubDate>Tue, 13 Jan 2026 09:28:47 GMT</pubDate>
            <atom:updated>2026-01-13T09:28:47.824Z</atom:updated>
            <content:encoded><![CDATA[<p>There’s no need to write your own utils for filtering assets or actors by class, name, tag or selection. You can use a built in library.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q0CZWdSC-HluuAdFQQIEgA.png" /></figure><h4>Examples:</h4><p>Let’s start by preparing some lists of assets and actors.<br>I will rely on free Starter Content by Epic and actors belong to default level template.</p><pre>import unreal<br><br>EditorAssetLibrary = unreal.EditorAssetLibrary()<br>EditorActorSubsystem = unreal.get_editor_subsystem(unreal.EditorActorSubsystem)<br><br>paths = EditorAssetLibrary.list_assets(&quot;/Game/StarterContent/&quot;)<br>assets = [EditorAssetLibrary.load_asset(p) for p in paths]<br>actors = EditorActorSubsystem.get_all_level_actors()</pre><p>Now we can start filtering assets.<br>All the filters can be used by default (with INCLUDE filter type) or as inverted (with EXCLUDE filter type).</p><pre># Filter Assets or Actors<br>unreal.EditorFilterLibrary.by_class(assets, object_class=unreal.StaticMesh)<br>unreal.EditorFilterLibrary.by_class(assets, object_class=unreal.StaticMesh, filter_type=unreal.EditorScriptingFilterType.EXCLUDE)<br><br>### string_match can make a big difference<br>### /All/Game/StarterContent/Blueprints<br>unreal.EditorFilterLibrary.by_id_name(assets, name_sub_string=&quot;Effect&quot;)<br>unreal.EditorFilterLibrary.by_id_name(assets, name_sub_string=&quot;Effect&quot;, string_match=unreal.EditorScriptingStringMatchType.EXACT_MATCH)<br>unreal.EditorFilterLibrary.by_id_name(assets, name_sub_string=&quot;Blueprint_Effect_Fire&quot;, string_match=unreal.EditorScriptingStringMatchType.EXACT_MATCH)<br>unreal.EditorFilterLibrary.by_id_name(assets, name_sub_string=&quot;Blueprint_Effect_*&quot;, string_match=unreal.EditorScriptingStringMatchType.MATCHES_WILDCARD)<br><br># Filter Actors<br>unreal.EditorFilterLibrary.by_actor_label(actors, name_sub_string=&quot;Sky&quot;)<br>unreal.EditorFilterLibrary.by_actor_tag(actors, tag=&quot;my_tag&quot;)<br><br>unreal.EditorFilterLibrary.by_selection(actors)<br>unreal.EditorFilterLibrary.by_selection(actors, filter_type=unreal.EditorScriptingFilterType.EXCLUDE)</pre><h4>More filters</h4><p>All available filters are listed in the <a href="https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/EditorFilterLibrary">documentation</a>.</p><h4>Performance</h4><p>I wanted to say you should use a built in filter because it was implemented in C++, it’s native and therefore it’s faster.<br>Then I thought… what if I’m wrong? I should measure.</p><p>And well. It’s not necessarily faster. It depends which filter function you run.</p><p>Filtering by class seems to be faster in Python.</p><pre>def a_function(assets):<br>    return unreal.EditorFilterLibrary.by_class(assets, object_class=unreal.StaticMesh)<br>timeit.timeit(lambda: a_function(assets), number=100000)<br><br>Result: 0.2906084000132978<br><br><br>def b_function(assets):<br>    return [asset for asset in assets if isinstance(asset, unreal.StaticMesh)]<br>timeit.timeit(lambda: b_function(assets), number=100000)<br>Result: 0.05394520005211234</pre><p>But filtering by name (in default match CONTAINS mode) is faster in C++.</p><pre>def a_function(assets):<br>    return unreal.EditorFilterLibrary.by_id_name(assets, name_sub_string=&quot;Effect&quot;)<br>timeit.timeit(lambda: a_function(assets), number=100000)<br>Result: 3.5838558999821544<br><br><br><br>def b_function(assets):<br>    return [asset for asset in assets if &quot;Effect&quot; in str(asset.get_fname())]<br>timeit.timeit(lambda: b_function(assets), number=100000)<br>Result: 5.331127500161529</pre><p>That only proves you should not assume that specific implementation is faster and it’s best to measure if it is important for your case.</p><p>But I wouldn’t really bother with it unless you need to filter assets often (ex. on Tick) or if your periodically executed batch script takes so much time to run that every optimization matters.</p><p>I would simply use EditorFilterLibrary in those places where it limits the code complexity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59ac8234b395" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>