<?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: Felix Helleckes</title>
    <description>The latest articles on DEV Community by Felix Helleckes (@felix-helleckes).</description>
    <link>https://dev.to/felix-helleckes</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%2F3865542%2F75f529cc-89d4-4794-a32f-fd9d5ad093ad.jpg</url>
      <title>DEV Community: Felix Helleckes</title>
      <link>https://dev.to/felix-helleckes</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/felix-helleckes"/>
    <language>en</language>
    <item>
      <title>Drawing your own DoTs on WoW nameplates without touching the nameplate</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Thu, 26 Nov 2026 14:00:00 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/drawing-your-own-dots-on-wow-nameplates-without-touching-the-nameplate-42mf</link>
      <guid>https://dev.to/felix-helleckes/drawing-your-own-dots-on-wow-nameplates-without-touching-the-nameplate-42mf</guid>
      <description>&lt;p&gt;HotsNDots is a small World of Warcraft addon I maintain. It does one thing: it shows only &lt;em&gt;your own&lt;/em&gt; damage-over-time effects on enemies and heal-over-time effects on friends, large, above the nameplate, with a seconds countdown and real stack counts. It sits at about 890 downloads on CurseForge, which is modest, but as a QA engineer I found its constraints more interesting than its features.&lt;/p&gt;

&lt;p&gt;The interesting part is not the icons. It's the rule the current addon API forces on you: &lt;strong&gt;in combat, aura data can be secret, and anything you touch on a Blizzard frame can taint it.&lt;/strong&gt; This post is about how the addon draws on top of nameplates while never writing a single field on them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bug that set the rule
&lt;/h2&gt;

&lt;p&gt;Early versions did the obvious thing: grab the nameplate's &lt;code&gt;UnitFrame&lt;/code&gt;, hang your own stuff off it, and hide the default aura frame so you don't get duplicate icons.&lt;/p&gt;

&lt;p&gt;Since game version 12.1 that is a trap. Writing a field onto the nameplate's frame, or hiding its aura frame, taints it. A tainted nameplate then fails in places that have nothing to do with your addon. The comment at the top of &lt;code&gt;Nameplates.lua&lt;/code&gt; keeps the error message for posterity:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;attempt to compare local 'currValue' (a secret number value)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That was the nameplate failing to update its &lt;em&gt;own mana bar&lt;/em&gt;. The addon looked innocent from the outside; the default UI broke.&lt;/p&gt;

&lt;p&gt;So the file now opens with the rule written down:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- HotsNDots never reads aura data, and it never touches&lt;/span&gt;
&lt;span class="c1"&gt;-- the Blizzard nameplate itself - the container hangs off our own&lt;/span&gt;
&lt;span class="c1"&gt;-- holder frame and is only anchored to the plate.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The honest cost, also in the changelog: the default nameplate auras are no longer hidden. Correctness beat tidiness.&lt;/p&gt;

&lt;h2&gt;
  
  
  Let the game fill in the numbers
&lt;/h2&gt;

&lt;p&gt;The trick is an &lt;code&gt;AuraContainer&lt;/code&gt;. You create it, describe &lt;em&gt;groups&lt;/em&gt; (here: harmful auras and helpful auras), and the game decides which aura goes into which button and writes the values in. Your addon never sees the duration or the stack count; it only provides the regions to draw them into.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="k"&gt;local&lt;/span&gt; &lt;span class="no"&gt;GROUPS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"dots"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;kind&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"HARMFUL"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.65&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;g&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.10&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"hots"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;kind&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"HELPFUL"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;g&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.55&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.15&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each group gets a filter, a sort method and an &lt;code&gt;initializeFrame&lt;/code&gt; callback:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="n"&gt;container&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;AddAuraGroup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;group&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;FilterString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;group&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"INCLUDE_NAME_PLATE_ONLY"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;maxFrameCount&lt;/span&gt;    &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;GroupMaxFrames&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;group&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;maxIcons&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;candidateFilters&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;CandidateFilters&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;group&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;sortMethod&lt;/span&gt;       &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;SortMethod&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ExpirationOnly&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;sortDirection&lt;/span&gt;    &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;SortDirection&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Normal&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;initializeFrame&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nc"&gt;BuildIcon&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;group&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;end&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside &lt;code&gt;BuildIcon&lt;/code&gt;, the addon creates textures and font strings and then &lt;em&gt;registers&lt;/em&gt; them with the button instead of writing to them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;SetIcon&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;style&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;icon&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;SetDurationCooldown&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cooldown&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;SetDurationText&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;style&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;timer&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;SetApplicationCount&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;style&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;count&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From that moment the button belongs to the game. The comment says it bluntly: "from this point on the button belongs to the game and may not be touched by us while auras are secret."&lt;/p&gt;

&lt;p&gt;One nice side effect: without a formatter, the game only writes a stack number at two or more applications. That is exactly the "show only real stacks" behaviour I wanted, for free.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layout when you can't know the size
&lt;/h2&gt;

&lt;p&gt;Here is a puzzle I didn't expect. The container sizes itself from the auras it holds, and that size is secret too. You can't centre something whose width you can't read.&lt;/p&gt;

&lt;p&gt;The workaround is to anchor by a corner and fake the centre for the common case:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- Growing right from half an icon left of the plate centre keeps a&lt;/span&gt;
&lt;span class="c1"&gt;-- single icon centred, which is the common case.&lt;/span&gt;
&lt;span class="n"&gt;holder&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;SetPoint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"BOTTOMLEFT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;plate&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"TOP"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xOffset&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;halfIcon&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;yOffset&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And the holder is the addon's &lt;em&gt;own&lt;/em&gt; frame, parented to &lt;code&gt;UIParent&lt;/code&gt;, only anchored to the plate. Moving the display around never means writing to anything Blizzard owns.&lt;/p&gt;

&lt;h2&gt;
  
  
  Restyling: try, and if refused, try again after combat
&lt;/h2&gt;

&lt;p&gt;Players change icon sizes and fonts in the options. But the buttons belong to the game now, and changing them is only allowed while auras are not secret. Instead of checking every condition up front, the addon just tries:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;ns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;TryRestyle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fn&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;pcall&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fn&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="k"&gt;end&lt;/span&gt;
    &lt;span class="n"&gt;pendingRestyle&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the call is refused, a flag is set and the restyle runs again when combat ends. From a testing point of view I like this a lot: the code doesn't model the game's rules, it asks the game, and has one well-defined retry path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pooling, because nameplates come and go
&lt;/h2&gt;

&lt;p&gt;Nameplates appear and disappear constantly in a fight. Building a container allocates a batch of buttons up front, and doing that for the first time in the middle of a pull is a visible hitch. So five displays are built at login and recycled:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="k"&gt;local&lt;/span&gt; &lt;span class="no"&gt;PREWARM&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There is also a defensive bit: a unit token can come back without a matching "removed" event (zoning, a plate recycled onto a different mob). The add handler re-attaches what is already there instead of leaking a display:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="k"&gt;local&lt;/span&gt; &lt;span class="n"&gt;display&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;byUnit&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;unit&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="k"&gt;not&lt;/span&gt; &lt;span class="n"&gt;display&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
    &lt;span class="n"&gt;display&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;AcquireDisplay&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;byUnit&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;unit&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;display&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;span class="nc"&gt;Attach&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;display&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;unit&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;plate&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Testing an addon without the game
&lt;/h2&gt;

&lt;p&gt;This is the part my QA brain cares about most. You can't run WoW in CI. But you can run Lua.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;tests/load_test.py&lt;/code&gt; loads the whole addon under a real Lua interpreter (via &lt;code&gt;lupa&lt;/code&gt;) against a stub WoW API and drives the login sequence: &lt;code&gt;ADDON_LOADED&lt;/code&gt;, &lt;code&gt;PLAYER_LOGIN&lt;/code&gt;, &lt;code&gt;PLAYER_ENTERING_WORLD&lt;/code&gt;, a nameplate appearing, a spec change.&lt;/p&gt;

&lt;p&gt;The stub is deliberately permissive: any unknown method is a no-op that returns the frame. That means the test can't check what anything &lt;em&gt;looks&lt;/em&gt; like. It checks something narrower and more valuable: that no code path calls something that doesn't exist, indexes a &lt;code&gt;nil&lt;/code&gt; or throws at load. That is precisely the class of bug that kills an addon for everyone.&lt;/p&gt;

&lt;p&gt;Why it matters: nameplates, bars, options and the minimap button all start from one event handler. One Lua error in any of them aborts the rest. Because the minimap button is built last, a bug &lt;em&gt;anywhere&lt;/em&gt; used to show up as "the minimap icon is gone", with nothing pointing at the real culprit. The fix was twofold: the test, and a &lt;code&gt;SafeInit&lt;/code&gt; wrapper so each part starts on its own and the error is kept in the saved variables, because the interesting error happens at login and has scrolled away by the time anyone looks.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd take from this outside of WoW
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;If you don't own a component, don't write to it, even when it works today. Anchor to it and keep your state in your own objects.&lt;/li&gt;
&lt;li&gt;When the platform hides values from you, register &lt;em&gt;where&lt;/em&gt; things go and let the platform fill them in.&lt;/li&gt;
&lt;li&gt;"Try, and on refusal retry at a safe point" is often simpler and more robust than re-implementing the platform's rules.&lt;/li&gt;
&lt;li&gt;A permissive stub can't test visuals, but it can make a whole class of startup failures much harder to ship.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HotsNDots is free and open source: &lt;a href="https://www.curseforge.com/wow/addons/hotsndots?ref=devto" rel="noopener noreferrer"&gt;CurseForge&lt;/a&gt; · &lt;a href="https://github.com/Felix-Helleckes/hotsndots" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;HotsNDots by Felix Helleckes. More of my apps and all ten addons: &lt;a href="https://felix-helleckes.github.io/apps/?ref=devto#wow-addons" rel="noopener noreferrer"&gt;felix-helleckes.github.io/apps&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>lua</category>
      <category>gamedev</category>
      <category>testing</category>
      <category>worldofwarcraft</category>
    </item>
    <item>
      <title>Importing Bandcamp ZIPs in a Flutter music player: streams, zip slip and Finder junk</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Thu, 19 Nov 2026 20:18:21 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/importing-bandcamp-zips-in-a-flutter-music-player-streams-zip-slip-and-finder-junk-gpm</link>
      <guid>https://dev.to/felix-helleckes/importing-bandcamp-zips-in-a-flutter-music-player-streams-zip-slip-and-finder-junk-gpm</guid>
      <description>&lt;p&gt;People who still buy music mostly get it as a ZIP. Bandcamp, Qobuz and most download shops hand you one archive per album. My offline music player, Clickwheel, could only import loose audio files, so the first thing a new user had to do was find an unzip tool on their phone. That is a bad first minute.&lt;/p&gt;

&lt;p&gt;So I added ZIP import. The diff was 469 lines across 13 files, and almost none of it was "call the unzip function". Here is what the rest was.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Stream from disk, off the UI thread
&lt;/h2&gt;

&lt;p&gt;A FLAC album is easily several hundred megabytes. Reading it into a &lt;code&gt;Uint8List&lt;/code&gt; on a phone is asking for an out-of-memory kill. The &lt;code&gt;archive&lt;/code&gt; package (4.x) can decode from a file stream and write each entry straight to disk:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;unpackZip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt; &lt;span class="n"&gt;zipPath&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;String&lt;/span&gt; &lt;span class="n"&gt;destPath&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;InputFileStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;zipPath&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;written&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;archive&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ZipDecoder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;decodeStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;archive&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isFile&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;continue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;relative&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;safeZipEntry&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;relative&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="k"&gt;null&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
          &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;kAudioExtensions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;contains&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;_extension&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;relative&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;continue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;File&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'$destPath/$relative'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;recursive&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;output&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OutputFileStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;writeContent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;finally&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;closeSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="n"&gt;written&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;finally&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;closeSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;written&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The function is synchronous on purpose. It is a &lt;code&gt;static&lt;/code&gt; method that only takes two strings, so it can run in a background isolate with one line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;unpacked&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nc"&gt;Isolate&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;unpackZip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;zip&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dest&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The click wheel keeps animating while the album unpacks, and the progress label ("Unpacking Some Artist - Some Album.zip") is set from the main isolate between archives.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Never trust an entry name
&lt;/h2&gt;

&lt;p&gt;A ZIP entry name is just a string chosen by whoever made the archive. &lt;code&gt;../../something&lt;/code&gt; is a valid name, and writing it blindly puts a file outside your target folder. This is the classic "zip slip" bug. My guard is small and boring:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="nf"&gt;safeZipEntry&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;parts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;
      &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replaceAll&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s1"&gt;'\', '&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="s1"&gt;')
      .split('&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="s1"&gt;')
      .where((p) =&amp;gt; p.isNotEmpty &amp;amp;&amp;amp; p != '&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="s1"&gt;')
      .toList();
  if (parts.isEmpty) return null;
  if (parts.contains('&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="s1"&gt;')) return null;
  if (parts.first == '&lt;/span&gt;&lt;span class="n"&gt;__MACOSX&lt;/span&gt;&lt;span class="s1"&gt;') return null;
  if (parts.last.startsWith('&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="s1"&gt;')) return null;
  return parts.join('&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="s1"&gt;');
}
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Four things happen here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Backslashes become slashes, because archives made on Windows sometimes use them.&lt;/li&gt;
&lt;li&gt;Empty segments are dropped, so an absolute path like &lt;code&gt;/abs/song.mp3&lt;/code&gt; becomes the relative &lt;code&gt;abs/song.mp3&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Any entry containing &lt;code&gt;..&lt;/code&gt; is rejected outright. I don't try to normalise it. An album has no reason to contain one.&lt;/li&gt;
&lt;li&gt;The macOS Finder junk is skipped: the &lt;code&gt;__MACOSX&lt;/code&gt; folder and the &lt;code&gt;._song.mp3&lt;/code&gt; resource forks. Those end in &lt;code&gt;.mp3&lt;/code&gt;, so without this line every album zipped on a Mac would show up with twice as many tracks, half of them unplayable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On top of that, only files with a known audio extension are written at all. Cover scans, PDFs and &lt;code&gt;.url&lt;/code&gt; files stay in the archive.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Test with archives you build in the test
&lt;/h2&gt;

&lt;p&gt;I work as a QA engineer, so this is the part I care about most. The &lt;code&gt;archive&lt;/code&gt; package can also &lt;em&gt;create&lt;/em&gt; ZIPs, which means the test builds its own hostile album in memory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;archive&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Archive&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;ArchiveFile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Artist - Album - 01 One.mp3'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;ArchiveFile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'cd2/02 Two.flac'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;ArchiveFile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'cover.jpg'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;ArchiveFile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'__MACOSX/._x.mp3'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;ArchiveFile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'../evil.mp3'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;zip&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;File&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'${dir.path}/album.zip'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;writeAsBytesSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;ZipEncoder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;archive&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="k"&gt;out&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;LibraryService&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;unpackZip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;zip&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'${dir.path}/out'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;out&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="s1"&gt;'${dir.path}/out/Artist - Album - 01 One.mp3'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'${dir.path}/out/cd2/02 Two.flac'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;File&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'${dir.path}/evil.mp3'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;existsSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;isFalse&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Five entries go in, two come out, and the last line checks that nothing landed one folder up. No fixture files in the repo, no binary blobs in code review.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Decide where the album goes
&lt;/h2&gt;

&lt;p&gt;Small decisions that took longer than the code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Folder name = archive name without &lt;code&gt;.zip&lt;/code&gt;.&lt;/strong&gt; Bandcamp already names its downloads "Artist - Album", so the folder view looks right for free. An archive literally called &lt;code&gt;.zip&lt;/code&gt; falls back to a default name instead of creating a folder with an empty name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subfolders survive.&lt;/strong&gt; &lt;code&gt;cd1/&lt;/code&gt; and &lt;code&gt;cd2/&lt;/code&gt; stay as they are.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The scratch folder is deleted in a &lt;code&gt;finally&lt;/code&gt; block&lt;/strong&gt;, whether the import worked or not. Otherwise a failed import of a 600 MB album silently eats 600 MB.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A ZIP dropped into the media folder is deleted after a successful unpack&lt;/strong&gt;, because otherwise every album is on the device twice. A broken archive stays where it is, so the user can see it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name clashes never overwrite.&lt;/strong&gt; A second "Some Album" becomes "Some Album (2)".&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. iOS: show up in the share sheet
&lt;/h2&gt;

&lt;p&gt;On iOS most people download the ZIP in Safari and then tap Share. To appear there, the app declares the document types in &lt;code&gt;Info.plist&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;dict&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;CFBundleTypeName&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt;ZIP&lt;span class="nt"&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;CFBundleTypeRole&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt;Viewer&lt;span class="nt"&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;LSHandlerRank&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt;Alternate&lt;span class="nt"&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;LSItemContentTypes&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;array&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt;public.zip-archive&lt;span class="nt"&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/array&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/dict&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;LSHandlerRank&lt;/code&gt; is &lt;code&gt;Alternate&lt;/code&gt; on purpose. A music player should be offered for ZIP files, not become the default app for them.&lt;/p&gt;

&lt;p&gt;The native side is a small Swift class that receives the URL, wraps the copy in &lt;code&gt;startAccessingSecurityScopedResource()&lt;/code&gt; and moves the file into the media folder. The detail that bit me: on a cold start the file arrives &lt;strong&gt;before&lt;/strong&gt; the Dart side is listening on the method channel. So the Swift side counts what came in, and Dart asks once at startup:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="n"&gt;_channel&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setMethodCallHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;call&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;call&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;method&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s1"&gt;'filesArrived'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;_absorb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ipod&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;// Whatever arrived on cold start, before Dart could listen.&lt;/span&gt;
&lt;span class="nf"&gt;_absorb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ipod&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;onlyIfPending&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What I'd tell my past self
&lt;/h2&gt;

&lt;p&gt;The unzip call is ten lines. The feature is everything around it: memory, the UI thread, hostile paths, Finder junk, cleanup, duplicates and cold starts. Writing the test list first would have given me the design for free.&lt;/p&gt;

&lt;p&gt;Honest status: this is merged on the main branch and ships with the next store update. If you install the app today, ZIP import may not be in your build yet.&lt;/p&gt;




&lt;p&gt;Clickwheel is an offline music player with a click wheel for your own MP3 and FLAC files, on iPhone and Android. You can turn the wheel in your browser: &lt;a href="https://clickwheel-app.pages.dev/?ref=devto#rad" rel="noopener noreferrer"&gt;https://clickwheel-app.pages.dev/?ref=devto#rad&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Clickwheel by Felix Helleckes. More of my apps: &lt;a href="https://felix-helleckes.github.io/apps/?ref=devto" rel="noopener noreferrer"&gt;https://felix-helleckes.github.io/apps/?ref=devto&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: this article was written by an AI assistant from the real code and commit history of the project, and is labelled as AI generated.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>mobile</category>
      <category>testing</category>
    </item>
    <item>
      <title>ICQ turns 30: I rebuilt its interface on top of WhatsApp and Telegram</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Sun, 15 Nov 2026 14:00:00 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/icq-turns-30-i-rebuilt-its-interface-on-top-of-whatsapp-and-telegram-33eb</link>
      <guid>https://dev.to/felix-helleckes/icq-turns-30-i-rebuilt-its-interface-on-top-of-whatsapp-and-telegram-33eb</guid>
      <description>&lt;p&gt;ICQ launched on November 15, 1996. It shut down in June 2024. Every revival I found has the same problem: a brand-new network with nobody in it.&lt;/p&gt;

&lt;p&gt;So for its 30th birthday I'd like to show the side project that went the other way. ICQ Retrogram doesn't rebuild the servers. It rebuilds the ICQ 5 interface and puts it on top of WhatsApp and Telegram, so you get the contact list and one floating window per chat, and you still talk to the people you already talk to.&lt;/p&gt;

&lt;p&gt;It's Electron and React, MIT licensed, for Windows, macOS and Linux. Here are the parts that cost me real time.&lt;/p&gt;

&lt;h2&gt;
  
  
  No headless browser for WhatsApp
&lt;/h2&gt;

&lt;p&gt;The WhatsApp side used to drive a headless browser. I moved it to Baileys, which speaks the multi-device protocol directly over a WebSocket. Telegram goes through GramJS over MTProto. The download shrank by roughly half and cold starts got much faster.&lt;/p&gt;

&lt;h2&gt;
  
  
  Baileys is ESM, Electron's Node can't require() it
&lt;/h2&gt;

&lt;p&gt;It needs a lazy &lt;code&gt;await import()&lt;/code&gt; plus &lt;code&gt;asarUnpack&lt;/code&gt; in the electron-builder config. Without that it breaks only in the packaged build, not in dev, which is the worst place to find out.&lt;/p&gt;

&lt;h2&gt;
  
  
  WhatsApp sends the history sync exactly once
&lt;/h2&gt;

&lt;p&gt;You get it when you pair, and never again. If you don't persist the store to disk, the contact list comes up empty on the second launch and you'll be convinced your code is broken.&lt;/p&gt;

&lt;h2&gt;
  
  
  Never retry a send
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;sendMessage&lt;/code&gt; can throw after the message already went out. A retry delivers it twice, and you can't take that back. A send failure also must not trigger a reconnect, or everything after it fails with "not ready".&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting a messenger client through Mac App Store review
&lt;/h2&gt;

&lt;p&gt;One submission came back with two findings: no demo account (2.1a), and a downloads entitlement the app didn't use (2.4.5). The second is one line. The first is harder, because WhatsApp has no test accounts and pairing needs a real phone.&lt;/p&gt;

&lt;p&gt;The fix was a dedicated demo mode with made-up chats in both networks, so a reviewer can see the whole app without a real account. In the store the app is simply called Retrogram.&lt;/p&gt;

&lt;h2&gt;
  
  
  The catch
&lt;/h2&gt;

&lt;p&gt;The WhatsApp side uses an unofficial interface, like every third-party client. That can violate WhatsApp's terms, so use it at your own risk. This is an independent hobby project, not affiliated with ICQ, AOL, Meta or Telegram.&lt;/p&gt;

&lt;p&gt;Code: &lt;a href="https://github.com/Felix-Helleckes/ICQ" rel="noopener noreferrer"&gt;https://github.com/Felix-Helleckes/ICQ&lt;/a&gt;&lt;br&gt;
Site: &lt;a href="https://icq-retrogram.pages.dev/?ref=devto" rel="noopener noreferrer"&gt;https://icq-retrogram.pages.dev/?ref=devto&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What did you use back then, and do you still remember your UIN?&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>electron</category>
      <category>opensource</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Building a click wheel in Flutter: atan2, detents and a 1.8 KB click sound</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Thu, 12 Nov 2026 14:00:00 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/building-a-click-wheel-in-flutter-atan2-detents-and-a-18-kb-click-sound-57m1</link>
      <guid>https://dev.to/felix-helleckes/building-a-click-wheel-in-flutter-atan2-detents-and-a-18-kb-click-sound-57m1</guid>
      <description>&lt;p&gt;I'm a QA engineer by day, and in my spare time I build small apps. The latest one is &lt;strong&gt;Clickwheel&lt;/strong&gt;, an offline music player for Android and iPhone with one control: a round click wheel. You drag your thumb around the ring, the list scrolls, and every step clicks.&lt;/p&gt;

&lt;p&gt;It sounds like a weekend project. The wheel itself was. Making it &lt;em&gt;feel&lt;/em&gt; right took much longer, and almost none of the work was where I expected it. Here are the three parts that mattered, with the real code from the app (Flutter).&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Turning a finger into steps
&lt;/h2&gt;

&lt;p&gt;A drag gesture gives you x/y positions. A wheel needs "one step forward" or "one step back". The bridge is the angle of the finger around the wheel's center:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="nf"&gt;_angleOf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Offset&lt;/span&gt; &lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Size&lt;/span&gt; &lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;local&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nf"&gt;_center&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;atan2&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dy&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On every update I compare the new angle with the previous one and add the difference to an accumulator. The catch: &lt;code&gt;atan2&lt;/code&gt; jumps from +π to −π when the finger crosses the left side of the circle. Without a fix, crossing that seam produces a "delta" of almost a full turn, and the list flies 25 items in one frame. The fix is to always take the short way round:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;delta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;current&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;last&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;// Across the 180° seam, normalise to the short way round.&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;delta&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;delta&lt;/span&gt; &lt;span class="o"&gt;-=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;delta&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;delta&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;_lastAngle&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;current&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;_accumulated&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;delta&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then the accumulator is converted into discrete steps (detents):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;step&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;_radiansPerDetent&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// 2π / detentsPerTurn&lt;/span&gt;
&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;_accumulated&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;abs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;step&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;direction&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;_accumulated&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;_accumulated&lt;/span&gt; &lt;span class="o"&gt;-=&lt;/span&gt; &lt;span class="n"&gt;direction&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;step&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;_ipod&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scroll&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;direction&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two details I only learned from testing on real phones:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It has to be a &lt;code&gt;while&lt;/code&gt;, not an &lt;code&gt;if&lt;/code&gt;.&lt;/strong&gt; A fast flick can cover two or three detents between two frames. With &lt;code&gt;if&lt;/code&gt;, fast spins feel sticky because steps get lost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The number of detents is a setting.&lt;/strong&gt; The app offers 18, 26 or 36 steps per full turn (default 26). Small phones and big thumbs want fewer steps, people who scroll through thousands of songs want more. There is no single correct value, so I stopped looking for one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The four buttons (menu, back, play/pause, forward) use the same geometry, just rotated so that 0° is at the top: everything between 315° and 45° is "menu", and so on in 90° slices.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The click is a 1.8 KB file, and it was the hardest part
&lt;/h2&gt;

&lt;p&gt;My first version used the system click sound. On Android it depends on the "touch sounds" setting, which many people have turned off. On iOS it was practically silent. So the click is now its own file in the bundle: &lt;code&gt;click.wav&lt;/code&gt;, 1,806 bytes.&lt;/p&gt;

&lt;p&gt;Playing a tiny sound dozens of times per second turned out to be its own problem:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One player is not enough.&lt;/strong&gt; When you spin quickly, detents arrive faster than the click decays. Reloading the file on each tick means opening and decoding it again, dozens of times per second, across the platform channel. The app keeps a pool of four preloaded players and just rotates through them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;_voices&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="kt"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;AudioPlayer&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;_pool&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;_voices&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nc"&gt;AudioPlayer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;playerId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'clickwheel_tick_$i'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Some clicks must be dropped on purpose.&lt;/strong&gt; Below a 28 ms gap, a new click would cut the previous one off and sound like static. So the click is skipped instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nc"&gt;Duration&lt;/span&gt; &lt;span class="n"&gt;_minGap&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Duration&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;milliseconds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;28&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;now&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;difference&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;_lastClick&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;_minGap&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Haptics still fire on every detent, so you don't notice the skipped sound. You'd only notice the crackle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The click must not interrupt the music.&lt;/strong&gt; That sounds obvious, but by default a new sound takes audio focus, and the song ducks or pauses on every tick. On Android the click player uses the media stream with &lt;code&gt;AndroidAudioFocus.none&lt;/code&gt;, so it shares the volume slider with the music and never takes focus.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;On iOS the audio session is global.&lt;/strong&gt; This one bit me. &lt;code&gt;setAudioContext&lt;/code&gt; in the audioplayers package sounds like it configures &lt;em&gt;one&lt;/em&gt; player, but on iOS there is only one audio session per app. I had given the click an "ambient" category, which quietly switched the whole app to a category that is not allowed to play in the background. Result: the music stopped as soon as the app left the screen. The fix is to use the same category as the music player plus &lt;code&gt;mixWithOthers&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I also use a separate audio package for the click than for the music. The background playback plugin requires a media item (title, artist) for every player it manages, and a click showing up as "now playing" in the notification shade would be silly.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. An offline player that is actually offline
&lt;/h2&gt;

&lt;p&gt;Clickwheel plays files you already own: MP3, FLAC and other formats you copy onto the phone. It has no account, no streaming and no ads, so it doesn't need the internet. I wanted the Android build to prove that, not just promise it.&lt;/p&gt;

&lt;p&gt;The problem: the Play Billing library (needed for the one-time upgrade) pulls in a transport component that adds the &lt;code&gt;INTERNET&lt;/code&gt; permission through manifest merging. The purchase itself runs through the Play Store app and doesn't need it. So the release manifest removes it explicitly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;uses-permission&lt;/span&gt; &lt;span class="na"&gt;android:name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"android.permission.INTERNET"&lt;/span&gt;
    &lt;span class="na"&gt;tools:node&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"remove"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Debug and profile builds keep it (they have their own manifests). The release APK has no internet permission at all, which anyone can check in the Play Store's permission list.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd tell my past self
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Test the feel on hardware early.&lt;/strong&gt; Emulators are fine for logic, but the detent count, the click timing and the haptics were all decided with a phone in my hand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read what "set" really sets.&lt;/strong&gt; The iOS audio session bug came from an API name that suggested a local change when it was global.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Removing things is a feature.&lt;/strong&gt; No network, no account and no recommendations made the app smaller and easier to test.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to try the wheel without installing anything, there's a browser version on the website: &lt;a href="https://clickwheel-app.pages.dev/?ref=devto#rad" rel="noopener noreferrer"&gt;clickwheel-app.pages.dev&lt;/a&gt;. The app is free on Android and iPhone.&lt;/p&gt;

&lt;p&gt;Questions about the gesture math or the audio setup are welcome in the comments.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Clickwheel by Felix Helleckes, indie developer and QA engineer from Cologne. More apps: &lt;a href="https://felix-helleckes.github.io/apps/?ref=devto" rel="noopener noreferrer"&gt;felix-helleckes.github.io/apps&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: this post was drafted by an AI agent working for me. The code, numbers and bugs are taken from the actual Clickwheel repository.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>mobile</category>
      <category>showdev</category>
    </item>
    <item>
      <title>I generated every sprite and sound of my mobile game in code. Here's how.</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Tue, 27 Oct 2026 22:57:16 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/i-generated-every-sprite-and-sound-of-my-mobile-game-in-code-heres-how-44n</link>
      <guid>https://dev.to/felix-helleckes/i-generated-every-sprite-and-sound-of-my-mobile-game-in-code-heres-how-44n</guid>
      <description>&lt;p&gt;Dash &amp;amp; Slash is a one-thumb roguelite for Android and iPhone: you pull back to aim, time slows to 20%, you let go and cut through everything on the line. It's a solo project built with Flutter and Flame, and it ships without a single image or sound from an asset pack.&lt;/p&gt;

&lt;p&gt;That wasn't a purity thing. I'm a QA engineer, not an artist or a sound designer, and I wanted three things: one consistent neon look, a small app, and assets I can change by editing a number instead of opening an image editor. Here's how that worked out, plus a bug where the level generator built a room you couldn't leave.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sprites: a texture atlas painted at startup
&lt;/h2&gt;

&lt;p&gt;All the small visual pieces (glows, sparks, rings, shards, smoke, damage digits, the words "PARRY" and "CRIT") come from one 512×512 texture atlas. It isn't a PNG in the bundle. When the game starts, it records a picture with Flutter's &lt;code&gt;Canvas&lt;/code&gt;, draws 30 sprites into 64×64 cells and turns the result into an image.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="c1"&gt;// 0 glow: soft radial gradient.&lt;/span&gt;
&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;o&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;cellCenter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;final&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ui&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Paint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shader&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ui&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Gradient&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;radial&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="n"&gt;ui&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Color&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mh"&gt;0xFFFFFFFF&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;ui&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Color&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mh"&gt;0x88FFFFFF&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;ui&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Color&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mh"&gt;0x22FFFFFF&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;ui&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Color&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mh"&gt;0x00FFFFFF&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;drawCircle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every sprite is drawn in white. Color comes later, per instance, through a &lt;code&gt;modulate&lt;/code&gt; blend, so a single glow sprite becomes the cyan dash trail, the magenta boss bullet and the orange fire relic.&lt;/p&gt;

&lt;p&gt;Drawing goes through a small batch class that collects transforms, source rects and colors into preallocated typed arrays and sends them to the GPU with one &lt;code&gt;drawRawAtlas&lt;/code&gt; call per layer. Nothing is allocated per frame, which matters when a late run has a few thousand particles on screen. The glow layers use &lt;code&gt;BlendMode.plus&lt;/code&gt;, so overlapping light adds up instead of covering itself. That's most of the "neon" look: additive white blobs, tinted.&lt;/p&gt;

&lt;p&gt;What I'd tell my past self: decide the cell grid early and keep a table of sprite IDs as constants. Adding sprite number 31 is then a dozen lines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sound: a Python synthesizer that writes WAV files
&lt;/h2&gt;

&lt;p&gt;The audio is the opposite approach: not generated at runtime, but by a script, &lt;code&gt;tools/gen_audio.py&lt;/code&gt;. It synthesizes all 34 sound effects, jingles and music loops from oscillators, filtered noise and a few effects, and writes them as mono 16-bit WAVs at 22,050 Hz. There are no samples.&lt;/p&gt;

&lt;p&gt;A normal hit, for example, is four layers of about 150 ms each:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;sfx_hit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rng&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="no"&gt;T&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.15&lt;/span&gt;
    &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;ns&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;tr&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;transient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rng&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2500&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.0015&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;body&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;thump&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;520&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;160&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.015&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.045&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;2.2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;slash&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;svf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;noise&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rng&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3800&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;1.3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'bp'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nf"&gt;env_perc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.03&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;knock&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;svf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;noise&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rng&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;950&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;2.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'bp'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nf"&gt;env_perc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.02&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mf"&gt;0.8&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;tr&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;0.9&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;body&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;0.8&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;slash&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;0.7&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;knock&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A click for the attack, a pitch-dropping sine for weight, band-passed noise for the "cut" and a lower knock. Tweaking the feel of a hit means changing a frequency and running the script again.&lt;/p&gt;

&lt;p&gt;Two details that saved me time:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fixed seeds per file.&lt;/strong&gt; All randomness is seeded from the file name, so running the script twice gives byte-identical files and git only shows the sounds I actually changed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Seamless loops.&lt;/strong&gt; The three music tracks are exactly 16 bars. Notes are written into a circular buffer of that length, so a release tail that runs past the end wraps around to the start. Delay and reverb are computed with circular FFT convolution over the same buffer, so the last sample flows into the first as if the loop had been playing forever.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In the game, every hit plays at a slightly random speed (for example 0.95 to 1.07), so twenty hits in a row don't sound like a machine gun of one sample.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rooms: mirrored stamps, a flood fill, and a room with no exit
&lt;/h2&gt;

&lt;p&gt;Rooms are a 13×21 tile grid. The generator places small "stamps" of walls and pits, mirrored left to right, then checks the result with a flood fill from the spawn tile. Floor that the flood fill can't reach becomes wall, so enemies never spawn in a sealed pocket. If less than 62% of the room is reachable, it tries again.&lt;/p&gt;

&lt;p&gt;Then, while playing my own release build, I spawned in a room where the exit was sitting inside solid wall.&lt;/p&gt;

&lt;p&gt;Here's what had happened. Pits on both sides and a wall stamp in the middle had closed the entire row below the door. The flood fill couldn't reach the two rows in front of the door, so the generator filled them with wall. That's what it's supposed to do with unreachable pockets. The rest of the room was big enough to pass the 62% check, so the room was accepted. When the door opened, there was no way to get to it.&lt;/p&gt;

&lt;p&gt;The fix is one condition: the tile in front of the door has to be reached by the flood fill, otherwise the room is rerolled.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="c1"&gt;// The door approach must be reachable, otherwise the pocket in front of&lt;/span&gt;
&lt;span class="c1"&gt;// the door gets walled off below and the player is locked in the room.&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;_seen&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;map&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;idx&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;spawnCol&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The more interesting part for me as a tester: there already was a test that generated hundreds of rooms and checked that every floor tile is reachable. It passed. Of course it did. The generator turns unreachable floor into wall, so "every remaining floor tile is reachable" is true by construction. The test checked the invariant the code enforces, not the property the player cares about. After adding "the door is reachable" to the test, it failed on the 40th seed before the fix and passes after it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Was it worth it?
&lt;/h2&gt;

&lt;p&gt;For a small game with an abstract neon style, yes. The whole art and sound pipeline is code I can diff, review and regenerate, and the app has no third-party asset licences to track. For anything with characters or hand-drawn backgrounds, I'd hire an artist.&lt;/p&gt;

&lt;p&gt;Dash &amp;amp; Slash is free on &lt;a href="https://play.google.com/store/apps/details?id=com.helleckes.dashandslash" rel="noopener noreferrer"&gt;Google Play&lt;/a&gt; and the &lt;a href="https://apps.apple.com/app/id6822111804" rel="noopener noreferrer"&gt;App Store&lt;/a&gt;. Gameplay clips are on the &lt;a href="https://dash-and-slash.pages.dev/?ref=devto" rel="noopener noreferrer"&gt;website&lt;/a&gt;. If you have questions about the atlas, the synth or the generator, ask in the comments.&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>flutter</category>
      <category>python</category>
      <category>testing</category>
    </item>
    <item>
      <title>I Built an LED World Clock That Lives Behind Your Desktop Icons — Without Eating Your CPU</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Mon, 05 Oct 2026 20:05:35 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/i-built-an-led-world-clock-that-lives-behind-your-desktop-icons-without-eating-your-cpu-2l2a</link>
      <guid>https://dev.to/felix-helleckes/i-built-an-led-world-clock-that-lives-behind-your-desktop-icons-without-eating-your-cpu-2l2a</guid>
      <description>&lt;p&gt;Live wallpapers have a deserved reputation: they look great for a week and then you notice your laptop fan. This one draws vector 7-segment digits that change once a second, and the rest of the time it does nothing at all.&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%2Fselvixrvzzwfze33cx2h.jpg" 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%2Fselvixrvzzwfze33cx2h.jpg" alt="World Clock Live in the dark LED theme, showing a wall of cities with 7-segment digits." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Vector-drawn segments with unlit "ghost" segments behind the lit ones — the detail that makes an LED display look like an LED display.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The LED world clocks on trading floors and in airport halls are one of the great pieces of industrial design nobody thinks about. A grid of cities, 7-segment digits, no decoration, readable from across the room. I wanted one on my desktop.&lt;/p&gt;

&lt;p&gt;Every live wallpaper I tried to do it with had the same problem. They are built on the assumption that something is always moving, so they render continuously, and a clock that redraws sixty times a second to show you a digit that changes once a second is an insult to your battery.&lt;/p&gt;

&lt;h2&gt;
  
  
  A clock has a natural frame rate of one
&lt;/h2&gt;

&lt;p&gt;That is the whole design argument. A display that changes once a second does not need to be redrawn sixty times a second, and a wallpaper that is completely hidden behind a maximised window does not need to be drawn at all.&lt;/p&gt;

&lt;p&gt;General-purpose wallpaper engines cannot assume any of that, because they have to be ready for video and shaders and particle fields. A clock can assume all of it. That is the only reason this one can sit behind your icons all day without turning up in your fan noise — not cleverness, just a much narrower problem.&lt;/p&gt;

&lt;p&gt;The digits are vector-drawn segments, not a font. That matters more than it sounds: a 7-segment &lt;em&gt;font&lt;/em&gt; gives you lit digits on a flat background, and a real display always shows the unlit segments too, faintly. That ghosting is most of what your eye uses to recognise the thing as an LED panel. Drawing the segments as geometry also means it stays crisp at 4K and that the glow is adjustable instead of baked into a bitmap.&lt;/p&gt;

&lt;p&gt;Daylight saving is handled automatically per city, which is the kind of feature nobody thanks you for and everybody notices the one morning it is wrong.&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%2Fmywmilsgxnamcarg8rr2.jpg" 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%2Fmywmilsgxnamcarg8rr2.jpg" alt="The light theme with the dotted map style." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Light theme, dot-matrix style. Themes and styles switch live, no restart.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Five ways to install it, which was not the plan
&lt;/h2&gt;

&lt;p&gt;This started as one Windows build. It is now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Windows standalone&lt;/strong&gt; — installer or a portable &lt;code&gt;.exe&lt;/code&gt; you can keep on a USB stick. No Steam, no wallpaper manager, no account.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Microsoft Store&lt;/strong&gt; — for people who, reasonably, do not download &lt;code&gt;.exe&lt;/code&gt; files from strangers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mac App Store&lt;/strong&gt; — macOS 13 or newer, universal for Apple silicon and Intel.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wallpaper Engine&lt;/strong&gt; — a separate edition in the Steam Workshop, for the large number of people who already have a wallpaper manager and do not want a second one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser&lt;/strong&gt; — the whole clock runs on a web page, which turns a spare monitor or an old tablet into a wall clock with no install at all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Shipping the same idea five ways taught me something unglamorous: the build and release work is not the expensive part. Keeping five store listings, five sets of screenshots and five changelogs consistent is. If you are weighing up a second distribution channel for a side project, budget for the paperwork, not the port.&lt;/p&gt;

&lt;p&gt;The Windows version sits on the desktop layer beneath your icons and windows — the same place Wallpaper Engine puts things, without requiring Steam.&lt;/p&gt;

&lt;h2&gt;
  
  
  What costs money
&lt;/h2&gt;

&lt;p&gt;Twelve cities are free, forever, in both themes with the standard LED style.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pro is €4.99, once&lt;/strong&gt; — unlimited cities and the extra display styles. &lt;strong&gt;Business is €49 per office, once&lt;/strong&gt;, for putting it on the screens in a room where people actually need to know what time it is in Singapore.&lt;/p&gt;

&lt;p&gt;No subscription, no account, no telemetry. The app does not need a server and does not have one.&lt;/p&gt;

&lt;p&gt;There is also an iOS version, which I localised into 51 languages mostly because a clock is one of the rare apps where that is genuinely tractable — the interface is numbers and city names.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it is likely to annoy you
&lt;/h2&gt;

&lt;p&gt;It has been out since late September and I have no ratings yet, so this list is what I suspect rather than what I know:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-monitor setups with mixed DPI, which is where every desktop-layer app eventually goes wrong&lt;/li&gt;
&lt;li&gt;Manufacturer utilities on Windows that also want to own the wallpaper layer&lt;/li&gt;
&lt;li&gt;Very long city names in some locales pushing the grid out of alignment&lt;/li&gt;
&lt;li&gt;macOS spaces and full-screen apps, where "behind the icons" means something slightly different than it does on Windows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you hit one of these, tell me. There is no crash reporting in it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://worldclocklive.pages.dev/" rel="noopener noreferrer"&gt;Download for Windows and Mac&lt;/a&gt; · &lt;a href="https://apps.microsoft.com/detail/9n7bxm32zk3g" rel="noopener noreferrer"&gt;Microsoft Store&lt;/a&gt; · &lt;a href="https://apps.apple.com/app/id6811101383" rel="noopener noreferrer"&gt;Mac App Store&lt;/a&gt; · &lt;a href="https://steamcommunity.com/sharedfiles/filedetails/?id=3800376084" rel="noopener noreferrer"&gt;Wallpaper Engine edition&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Felix Helleckes — QA &amp;amp; Test Automation Engineer in Cologne. More of what I build: &lt;a href="https://felix-helleckes.github.io/" rel="noopener noreferrer"&gt;felix-helleckes.github.io&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>windows</category>
      <category>electron</category>
      <category>productivity</category>
    </item>
    <item>
      <title>I Rebuilt ICQ 5 as a WhatsApp Client — and the Download Page Tells You It Might Get You Banned</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Mon, 05 Oct 2026 20:02:49 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/i-rebuilt-icq-5-as-a-whatsapp-client-and-the-download-page-tells-you-it-might-get-you-banned-5dd1</link>
      <guid>https://dev.to/felix-helleckes/i-rebuilt-icq-5-as-a-whatsapp-client-and-the-download-page-tells-you-it-might-get-you-banned-5dd1</guid>
      <description>&lt;p&gt;A desktop messenger that puts your real WhatsApp and Telegram chats behind the 2003 interface, uh-oh sound included. Open source, unsigned, and honest about what it costs you.&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%2Fa4hawh6cdj7vjocdg3sq.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%2Fa4hawh6cdj7vjocdg3sq.png" alt="The Retrogram contact list: WhatsApp and Telegram as tabs, groups folded at the top, unread counters per chat, in the dark teal ICQ 5 skin." width="361" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Screenshot from the running app. Contact names are blacked out; nothing else is retouched.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;ICQ's servers went dark for good on 26 June 2024. Every contact list on them went with it.&lt;/p&gt;

&lt;p&gt;I did not want ICQ back. Rebuilding the network would have given me a beautiful client with nobody in it — which is how most nostalgia projects die. What I wanted was the &lt;em&gt;interface&lt;/em&gt;: the dark teal, the separate window per contact that you arranged across your desktop like index cards, the flower icon, and that one sound.&lt;/p&gt;

&lt;p&gt;So Retrogram is ICQ 5's interface sitting on top of the messengers you already use. Your contacts are already there, because they are your actual WhatsApp and Telegram contacts. It is Electron 29 and React 18, and it runs on Windows, macOS and Linux.&lt;/p&gt;

&lt;p&gt;And before any of the fun parts, the part that matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  It might get your WhatsApp account banned
&lt;/h2&gt;

&lt;p&gt;Retrogram speaks WhatsApp's multi-device protocol directly, the same way other third-party clients do. WhatsApp's Terms of Service permit their official apps and nothing else, and they do act against unofficial clients.&lt;/p&gt;

&lt;p&gt;I cannot promise you otherwise, and neither can anybody else who ships something like this. So: do not use it on an account you cannot afford to lose.&lt;/p&gt;

&lt;p&gt;I put that sentence on the download page, above the buttons, in the same size as everything else. It costs me downloads. I have watched the number and it is not imaginary. But a retro messenger is not worth somebody losing the account their family group chat lives in, and anyone who buries that warning in a FAQ footer knows exactly what they are doing.&lt;/p&gt;

&lt;p&gt;Telegram is a different situation — it has an official API for third-party clients and this kind of thing is expected there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three questions, answered properly
&lt;/h2&gt;

&lt;p&gt;People downloading an unsigned &lt;code&gt;.exe&lt;/code&gt; from a stranger on the internet ask the same three things, and they deserve straight answers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who can read my messages?&lt;/strong&gt; No server of mine is involved anywhere. The app connects from your machine straight to WhatsApp and Telegram. Your logins and chat cache sit in a local &lt;code&gt;ICQ-Data&lt;/code&gt; folder. The whole source is on GitHub — you do not have to believe me, you can read it, and if you would rather, you can build it yourself in four commands.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why does Windows warn me?&lt;/strong&gt; Because the builds are not code-signed. A certificate costs money that a hobby project does not have, so SmartScreen flags every unknown publisher. &lt;em&gt;More info&lt;/em&gt; → &lt;em&gt;Run anyway&lt;/em&gt;. On macOS, right-click the app and choose &lt;em&gt;Open&lt;/em&gt;. I would love to tell you this is fine and normal; it is normal, and you should still be suspicious of unsigned binaries in general.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is this ICQ coming back?&lt;/strong&gt; No. Independent project, no connection to ICQ or AOL, no revived network.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually got rebuilt
&lt;/h2&gt;

&lt;p&gt;The separate chat window per contact is the feature everything else hangs off. Modern messengers put every conversation in one window with a sidebar, which is efficient and completely flattens the sense that each conversation is its own place. In ICQ 5 a chat was an object on your desktop. You moved it. You left it open in a corner. You could glance at three of them at once.&lt;/p&gt;

&lt;p&gt;Getting that to work with modern messaging was most of the project. Each window needs its own state, its own typing indicator, its own read receipts, and they all have to stay in sync with one connection underneath.&lt;/p&gt;

&lt;p&gt;What made it across: images, videos, GIFs, stickers (animated ones on Telegram), voice messages, read receipts with WhatsApp's four acknowledgement states, the live typing indicator, a media lightbox, collapsible groups, unread badges, drag-and-drop file transfer, and profile pictures loaded in the background.&lt;/p&gt;

&lt;p&gt;Three skins, all pure CSS variables: ICQ Retro Dark in the original teal, ICQ Retro Light in green, and an MSN Messenger blue-and-white for people whose nostalgia points somewhere slightly different. One click re-skins everything.&lt;/p&gt;

&lt;p&gt;There are also two games in there, Slide a Lama and Pool, which exist for no defensible reason.&lt;/p&gt;

&lt;p&gt;And the uh-oh. Obviously the uh-oh. In Germany, where ICQ was genuinely enormous, that sound does something to people in their late thirties that no feature list can explain.&lt;/p&gt;

&lt;h2&gt;
  
  
  The unglamorous engineering notes
&lt;/h2&gt;

&lt;p&gt;Early versions bundled a browser to drive WhatsApp Web. That is how most of these projects start and it is miserable: heavy, fragile, and on Linux it dragged in a pile of runtime dependencies. The app now speaks the protocol directly, which removed the browser, the Linux dependency mess, and a whole category of bugs where the thing broke because a web interface moved a button.&lt;/p&gt;

&lt;p&gt;Sessions survive restarts — scan the QR once. Telegram takes QR or phone number with 2FA. Neither service needs an API key or a developer account from you.&lt;/p&gt;

&lt;p&gt;The portable Windows build is a single &lt;code&gt;.exe&lt;/code&gt; whose login lives in its own folder, so you can carry it. You can run it on several machines at once; each links as its own device.&lt;/p&gt;

&lt;h2&gt;
  
  
  It is small, and that is fine
&lt;/h2&gt;

&lt;p&gt;Nine stars. A few dozen downloads per release. I am not pretending this is a movement.&lt;/p&gt;

&lt;p&gt;But the people who do use it send me the kind of email you do not get for a utility — mostly one sentence about where they were in 2003. That is a reasonable return on a side project.&lt;/p&gt;

&lt;p&gt;If you want to look at it: the whole thing is on GitHub, issues included. The build instructions are four lines and I have kept them working, which is the one courtesy every open-source project owes and about half of them deliver.&lt;/p&gt;

&lt;p&gt;Retrogram is an independent project with no connection to ICQ, AOL, Meta or Telegram.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://icq-retrogram.pages.dev/" rel="noopener noreferrer"&gt;Download&lt;/a&gt; · &lt;a href="https://github.com/Felix-Helleckes/ICQ" rel="noopener noreferrer"&gt;Source on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Felix Helleckes — QA &amp;amp; Test Automation Engineer in Cologne. More of what I build: &lt;a href="https://felix-helleckes.github.io/" rel="noopener noreferrer"&gt;felix-helleckes.github.io&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>electron</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Rebuilding Battle Network's Combat for a Touchscreen (and with a lot of new online features)</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Thu, 13 Aug 2026 15:48:17 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/rebuilding-battle-networks-combat-for-a-touchscreen-and-with-a-lot-of-new-online-features-2594</link>
      <guid>https://dev.to/felix-helleckes/rebuilding-battle-networks-combat-for-a-touchscreen-and-with-a-lot-of-new-online-features-2594</guid>
      <description>&lt;p&gt;It looks like an action game. You control a character called MegaMan.EXE on a 3×6 grid of panels, three rows deep, split down the middle — your side, their side. Viruses move and shoot in real time. You dodge along rows and fire back.&lt;/p&gt;

&lt;p&gt;But you're not playing an action game. You're playing a deck.&lt;/p&gt;

&lt;p&gt;Before the fight you build a folder of Battle Chips. During the fight, every few seconds, a Custom gauge fills and the game stops dead to deal you a random hand from that folder — five chips, and you can only select the ones that share a letter code or a name. Pick your combination, unpause, and now you have a sword, a cannon and nothing else until the gauge fills again.&lt;/p&gt;

&lt;p&gt;That tension is the whole design. Real-time positioning on a grid, turn-based resource management layered on top, and a deck you assembled hours ago deciding what options you get right now.&lt;/p&gt;

&lt;p&gt;I've been rebuilding that system for phones. It's out now, it's free, and it's called &lt;a href="https://mega-man-advanced-pet.vercel.app/" rel="noopener noreferrer"&gt;Mega Man: Advanced PET&lt;/a&gt;. This is a post about the design problems, because they turned out to be more interesting than the code.&lt;/p&gt;

&lt;h2&gt;
  
  
  The input problem
&lt;/h2&gt;

&lt;p&gt;The GBA had a d-pad. This matters more than it sounds.&lt;/p&gt;

&lt;p&gt;Battle Network's combat assumes you can move exactly one panel, in a chosen direction, at a moment of your choosing, while a projectile is already travelling toward you. The d-pad gives you that for free. Four discrete directions, tactile, no ambiguity, no visual occlusion.&lt;/p&gt;

&lt;p&gt;A touchscreen gives you none of it. Every option is a compromise:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A virtual d-pad&lt;/strong&gt; puts a fake control under a thumb that has no way to feel where it is. Players drift off it constantly, and they only notice when an input doesn't register — which is exactly the moment they were dodging something.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Swipe gestures&lt;/strong&gt; read cleanly when you swipe deliberately. They read terribly when you're panicking. Fast repeated swipes get merged, misinterpreted, or eaten by the gesture recogniser's timing window.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tap-the-destination-panel&lt;/strong&gt; is precise and unambiguous. It also puts your thumb directly on top of the six panels you most need to see.&lt;/p&gt;

&lt;p&gt;There isn't a clean answer here. Every touch control scheme for a real-time grid game is choosing which failure mode you can live with. That's worth saying plainly, because a lot of mobile ports pretend the problem doesn't exist and ship a virtual d-pad without comment.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Custom screen is the part that survives translation
&lt;/h2&gt;

&lt;p&gt;Here's the good news: the half of Battle Network that's a card game ports beautifully.&lt;/p&gt;

&lt;p&gt;The Custom screen is already a menu. It already pauses the action. It already expects deliberate, considered input rather than reflexes. Touch is &lt;em&gt;better&lt;/em&gt; at this than a d-pad — you tap the chips you want instead of cursoring across a grid of them.&lt;/p&gt;

&lt;p&gt;Advanced PET has 273 chips, and they fuse the way they should: by matching code letters or matching names, chaining into Program Advances. The &lt;a href="https://mega-man-advanced-pet.vercel.app/chips.html" rel="noopener noreferrer"&gt;full chip library is browsable on the web&lt;/a&gt;, searchable by element, power and rarity, if you want to look at the numbers without installing anything.&lt;/p&gt;

&lt;p&gt;What makes chip fusion interesting as a design object is that it makes folder-building a constraint puzzle rather than a power calculation. A folder of thirty individually excellent chips with thirty different codes is worse than a folder of mediocre chips that all share the letter B, because the second one actually combines when it's dealt to you. You're not optimising for chip strength. You're optimising for the probability that your random hand contains a legal combination.&lt;/p&gt;

&lt;p&gt;That's a genuinely good system, and it survives the platform change completely intact.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making a fan game feel occupied
&lt;/h2&gt;

&lt;p&gt;Battle Network had hub areas — cyberspace plazas where other NetNavis stood around. In the originals they were NPCs with two lines of dialogue each.&lt;/p&gt;

&lt;p&gt;Advanced PET has The Square, which is the same idea with actual people in it: a shared real-time space where players walk around as their own Navis, with name plates, live chat, a trade bazaar, and community goals. It runs on Supabase.&lt;/p&gt;

&lt;p&gt;The design constraint that shaped this most was that event viruses spawn &lt;strong&gt;deterministically&lt;/strong&gt; — every client computes the same spawns at the same time from shared state, rather than a server telling each client what appeared. That's a meaningful architectural choice for a project without dedicated game servers, and it's what makes a shared world possible at all when the thing coordinating it is a database with a realtime channel rather than an authoritative simulation.&lt;/p&gt;

&lt;p&gt;The trade-off is that determinism has to hold under bad mobile connectivity, which is a harder guarantee than it sounds.&lt;/p&gt;

&lt;p&gt;Co-op raids sit on top of the same social layer. You invite people from your BrotherBand friend list, the boss scales to how many of you turn up, and rewards are shared across everyone who joined. There's also local Bluetooth NetBattling, which exists purely because sitting next to someone and linking up was a real part of what the GBA games were.&lt;/p&gt;

&lt;h2&gt;
  
  
  Some smaller decisions worth defending
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Your step count charges the Cyber-Meter.&lt;/strong&gt; Real-world walking fuels battles. This could easily be a gimmick, and in a monetised game it would be — but here it's the thing that gets you to open the app when you're not already playing it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No pay-to-win, no ads.&lt;/strong&gt; The game is free and there's no monetisation at all. This isn't generosity, it's the only defensible position for a fan project built on someone else's IP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Colour-blind-friendly UI and adjustable text.&lt;/strong&gt; Battle Network leans heavily on elemental colour matching — fire beats wood, wood beats electric — and a game that encodes core mechanics in colour alone is unplayable for a meaningful chunk of players. Haptics and text scaling are in for the same reason.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The website doesn't load YouTube until you press play.&lt;/strong&gt; No Google content, no cookies, until you actively ask for the trailer. Small thing, but it's the difference between claiming to care about privacy and implementing it.&lt;/p&gt;

&lt;h2&gt;
  
  
  On the legal question, because someone always asks
&lt;/h2&gt;

&lt;p&gt;It's a fan game. It's free, there's no monetisation of any kind, and it isn't affiliated with or endorsed by Capcom. Mega Man is their trademark.&lt;/p&gt;

&lt;p&gt;Fan projects on active IP live at the owner's discretion, and everyone building one knows it. The only honest position is to not monetise, not pretend it's official, and accept that the calculus belongs to Capcom rather than to me.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it is
&lt;/h2&gt;

&lt;p&gt;Out now on &lt;a href="https://apps.apple.com/app/id6787106134" rel="noopener noreferrer"&gt;the App Store&lt;/a&gt; and &lt;a href="https://play.google.com/store/apps/details?id=com.megaman.advancedpet" rel="noopener noreferrer"&gt;Google Play&lt;/a&gt;, free, in English, German and French.&lt;/p&gt;

&lt;p&gt;Sixty seconds of actual gameplay:&lt;/p&gt;


&lt;div&gt;
    &lt;iframe src="https://www.youtube.com/embed/K4S1KJexcIY" width="315" height="560"&gt;
    &lt;/iframe&gt;
  &lt;/div&gt;


&lt;p&gt;If you played the originals and have opinions about what I got wrong — particularly on the input scheme, which is the part I'm least settled on — &lt;a href="https://discord.gg/2kGC69ugXP" rel="noopener noreferrer"&gt;the Discord&lt;/a&gt; is where that conversation happens.&lt;/p&gt;

&lt;p&gt;I'd genuinely rather hear that the controls don't feel right than not hear it.&lt;/p&gt;

</description>
      <category>capcom</category>
      <category>android</category>
      <category>ios</category>
      <category>indidev</category>
    </item>
    <item>
      <title>"Uh-Oh!” 🌼 Who else still hears this sound in their sleep?</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Tue, 12 May 2026 08:16:25 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/uh-oh-who-else-still-hears-this-sound-in-their-sleep-4ehi</link>
      <guid>https://dev.to/felix-helleckes/uh-oh-who-else-still-hears-this-sound-in-their-sleep-4ehi</guid>
      <description>&lt;p&gt;Let’s be honest: Modern messaging is efficient, but it’s become… soulless. Everything is clean, minimal, and predictable. That’s why I spent the last few weeks turning back the clock—while keeping the tech firmly in 2026.&lt;/p&gt;

&lt;p&gt;I built ICQ &lt;a href="https://github.com/felix-helleckes/ICQ" rel="noopener noreferrer"&gt;Retrogram&lt;/a&gt;. 💻✨&lt;/p&gt;

&lt;p&gt;It’s a fully functional multi-messenger for WhatsApp and Telegram, but with the exact look and feel of the legendary ICQ 5.&lt;/p&gt;

&lt;p&gt;What’s under the hood?&lt;/p&gt;

&lt;p&gt;Frontend: Pure retro vibes, including the original status icons, window skins, and that iconic lime-green flower.&lt;/p&gt;

&lt;p&gt;Backend: Seamless integration of modern messenger APIs, making sure the nostalgia actually works in your daily life.&lt;/p&gt;

&lt;p&gt;The "Why": Because chatting should be fun again. UI design can be more than just "white space and sans-serif fonts."&lt;/p&gt;

&lt;p&gt;I’ve documented the entire journey—from the initial spark to the technical hurdles—in a new Medium article.&lt;/p&gt;

&lt;p&gt;👉 Read it here: &lt;a href="https://felix-helleckes.medium.com/i-built-a-retro-icq-messenger-for-whatsapp-telegram-and-suddenly-chatting-is-fun-again-ad01fc6df8b7" rel="noopener noreferrer"&gt;https://felix-helleckes.medium.com/i-built-a-retro-icq-messenger-for-whatsapp-telegram-and-suddenly-chatting-is-fun-again-ad01fc6df8b7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’m curious: Which old-school feature do you miss the most? The "Invisible" mode? The "Nudge"? Or just the thrill of someone coming online?&lt;/p&gt;

&lt;p&gt;Let me know in the comments! 👇&lt;/p&gt;

&lt;h1&gt;
  
  
  RetroTech #WebDevelopment #Nostalgia #ICQ #SoftwareEngineering #UIUX #BuildInPublic #RetroComputing
&lt;/h1&gt;

</description>
      <category>icq</category>
      <category>retro</category>
      <category>whatsapp</category>
      <category>telegram</category>
    </item>
    <item>
      <title>The Rise of the Machine Employees: OpenClaw vs. Paperclip.ing vs. Hermes Agent — A QA Reality Check</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Wed, 06 May 2026 20:13:12 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/the-rise-of-the-machine-employees-openclaw-vs-papercliping-vs-hermes-agent-a-qa-reality-check-2jpn</link>
      <guid>https://dev.to/felix-helleckes/the-rise-of-the-machine-employees-openclaw-vs-papercliping-vs-hermes-agent-a-qa-reality-check-2jpn</guid>
      <description>&lt;p&gt;We are rushing toward autonomous agents, but are we building resilient software or just expensive prompt-looping machines?&lt;/p&gt;

&lt;p&gt;Hi, my Name is Felix Helleckes. I’m a Senior QA Engineer and Fullstack Developer with a passion for building autonomous systems. Currently, I’m focusing on the intersection of AI and data at SteamRoast.ai.&lt;/p&gt;

&lt;p&gt;Let’s connect: LinkedIn&lt;br&gt;
See my Hobby Projects here: GitHub&lt;br&gt;
Read More&lt;/p&gt;

&lt;p&gt;In the last six months, the “Agent” hype has shifted from experimental Python scripts to polished, production-ready frameworks. We are no longer just chatting with LLMs; we are giving them hands, eyes, and — scarily enough — access to our file systems.&lt;/p&gt;

&lt;p&gt;Today, three names are dominating the conversation: OpenClaw, Paperclip.ing, and Hermes Agent. At first glance, they all promise the same: “Let the AI do the work.”&lt;/p&gt;

&lt;p&gt;But as a Senior QA Engineer, I don’t care about promises. I care about determinism, reliability, and edge cases. Here is how these three stack up when you strip away the marketing fluff.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Contenders: A High-Level Breakdown
OpenClaw: The “Swiss Army Knife”
OpenClaw positions itself as the open-source alternative to proprietary operator frameworks. It’s designed to bridge the gap between “thinking” and “doing.” It’s highly modular and thrives in environments where you need custom tool-calling.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Paperclip.ing: The “Productivity Specialist”&lt;br&gt;
Paperclip feels like the “Apple” approach to agents. It’s sleek, web-integrated, and focused on automating browser-based workflows. If you want to automate your SaaS-ops, Paperclip is the frontrunner.&lt;/p&gt;

&lt;p&gt;Hermes Agent (Nous Research): The “Brain-First” Approach&lt;br&gt;
Coming from the legendary Nous Research team, Hermes isn’t just a wrapper; it’s built around the Hermes 3 model. It’s an agentic framework that leverages the model’s native ability to follow complex, long-form instructions without “losing the plot.”&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why They Are Similar (The “Agentic Blueprint”)
From a structural perspective, all three follow the ReAct (Reason + Act) pattern:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Input: User gives a goal.&lt;br&gt;
Observation: The agent looks at its environment (DOM, Terminal, API).&lt;br&gt;
Thought: The LLM decides what to do next.&lt;br&gt;
Action: The tool is called.&lt;br&gt;
They all suffer from the same “Infinite Loop” risk and the “Hallucination of Capability” (where the agent thinks it clicked a button that doesn’t exist).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Critical QA Lens: Why They Are Different
FeatureOpenClawPaperclip.ingHermes AgentPrimary StrengthTool VersatilityBrowser AutomationReasoning DepthReliability BugConfiguration DriftDOM FlakinessModel LatencyQA ChallengeInfinite Tool LoopsVisual RegressionNon-Deterministic Logic&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The “Flakiness” Factor&lt;br&gt;
As a QA, Paperclip.ing keeps me up at night. Web-based agents are notoriously fragile. A 10px shift in a UI or a dynamic ClassName change can break a Paperclip workflow. It’s powerful, but the “Test Stability” is low.&lt;/p&gt;

&lt;p&gt;Write on Medium&lt;br&gt;
OpenClaw is more robust because it’s closer to the API layer, but it requires massive “Guardrail Testing.” Without strict schemas, OpenClaw can easily hallucinate tool parameters, leading to “Silent Failures.”&lt;/p&gt;

&lt;p&gt;Hermes Agent is the most interesting from a logic perspective. Because it’s fine-tuned for agentic tasks, it handles edge-case recovery better than the others. If a step fails, Hermes is more likely to “realize” it and pivot, whereas the others might just retry the same failing action until your API credits hit zero.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Verdict: Innovation vs. Reliability
We are currently in the “Move Fast and Break Things” phase of AI Agents.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Use OpenClaw if you are building a custom internal tool and need full control over the “hands.”&lt;br&gt;
Use Paperclip.ing if you need to automate tedious browser tasks today and don’t mind a bit of maintenance.&lt;br&gt;
Use Hermes Agent if you are building a system where the “Thinking” is more important than the “Clicking.”&lt;br&gt;
My QA Take: None of these are “Set and Forget.” The industry is missing a unified Agent Testing Framework. We are deploying agents faster than we can validate their decision-making trees.&lt;/p&gt;

&lt;p&gt;As we move toward “100k missions” and AI-driven startups, the winner won’t be the agent with the coolest features — it will be the one that is the most observable and testable.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Final Thoughts
The line between OpenClaw, Paperclip, and Hermes is blurring. Soon, the “Agent” will just be a commodity. The real value lies in the Environment we build for them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What’s your experience? Have you let an agent touch your production codebase yet? Let’s discuss in the comments.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>openclaw</category>
      <category>n8n</category>
      <category>programming</category>
    </item>
    <item>
      <title>The USB-C Paradox: Why the EU Standard is a Mess and Apple is Charging You for 20-Year-Old Tech</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Mon, 27 Apr 2026 08:27:08 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/the-usb-c-paradox-why-the-eu-standard-is-a-mess-and-apple-is-charging-you-for-20-year-old-tech-39hn</link>
      <guid>https://dev.to/felix-helleckes/the-usb-c-paradox-why-the-eu-standard-is-a-mess-and-apple-is-charging-you-for-20-year-old-tech-39hn</guid>
      <description>&lt;p&gt;Think all USB-C cables are the same? Think again. From “USB 2.0” speeds in €35 cables to the EU’s half-baked standardization, here is why your tech is slower than it should be.&lt;br&gt;
As a Senior QA Engineer, I spend my life looking for single points of failure. Usually, these are in code or cloud infrastructures. But lately, the biggest failure in the tech ecosystem is sitting right on our desks, disguised as a “universal” connector: USB-C.&lt;/p&gt;

&lt;p&gt;Hi, my Name is Felix Helleckes. I’m a Senior QA Engineer and Fullstack Developer with a passion for building autonomous systems. Currently, I’m focusing on the intersection of AI and data at SteamRoast.ai.&lt;/p&gt;

&lt;p&gt;Let’s connect: LinkedIn&lt;br&gt;
See my Hobby Projects here: GitHub&lt;br&gt;
Read More&lt;br&gt;
The European Union recently forced a “Common Charger” mandate. Great for the environment, right? In theory, yes. In practice, it created a Kabelchaos (cable chaos) that is more confusing than ever.&lt;/p&gt;

&lt;p&gt;Here is the breakdown of why “USB-C” is just a shape, not a standard, and why you should be careful what you plug into your devices.&lt;/p&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The EU’s Half-Baked Victory: Shapes vs. Standards
The EU mandate forced every smartphone manufacturer (yes, looking at you, Apple) to adopt the USB-C port. The goal was simple: one cable for everything.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Problem: The EU only standardized the physical connector, not the internals of the cable.&lt;/p&gt;

&lt;p&gt;No performance requirements: The law doesn’t dictate how fast a cable must transfer data or how much power it must deliver.&lt;br&gt;
The result: You can have two cables that look identical, but one can charge a laptop at 240W and stream 8K video, while the other can barely charge a phone and transfers data at the speed of a 2004 MP3 player.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Apple’s €35 Time Machine: USB 2.0 in 2026?
This is where it gets frustrating for consumers. Apple now sells official USB-C cables for around €35. You would expect high-end performance for that price, right?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
The Reality: Many of these “official” cables are limited to USB 2.0 speeds (480 Mbps).&lt;/p&gt;

&lt;p&gt;The Math: USB 2.0 is a standard from the year 2000.&lt;br&gt;
The Irony: You are using a cutting-edge iPhone or iPad, connected via a “modern” USB-C port, but your data is moving through a pipeline designed over two decades ago.&lt;br&gt;
Why? Because it’s cheaper to manufacture, and most users only care about charging (where these cables do deliver up to 240W). But for professionals transferring large video files, it’s a massive bottleneck.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How to Spot a “Good” Cable (The QA Perspective)
To survive this chaos, you need to look past the connector. Here is what I look for to ensure “System Integrity” in my setup:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Thunderbolt 4 / 5: These are the “All-in-One” kings. If you see the lightning bolt icon, it usually supports high-speed data, power, and video signals simultaneously.&lt;br&gt;
USB4 Gen 3 / Gen 4: These are the non-Intel equivalents. A “USB 80Gbps” cable is roughly equivalent to Thunderbolt 5 and is often much cheaper than Apple’s offerings.&lt;br&gt;
DisplayPort Alt Mode: If you want to connect a monitor, your cable must support this. Many “charging cables” simply lack the internal wiring for video.&lt;br&gt;
The Senior QA Verdict: Visibility is Everything&lt;br&gt;
In software testing, we say: “If you can’t measure it, you don’t know if it works.” The same applies to your hardware.&lt;/p&gt;

&lt;p&gt;The USB-C market currently lacks transparency. We have a universal plug but a fragmented brain. If you find your phone charging slowly or your SSD transfer taking hours, don’t blame the device — blame the “dumb” cable in the middle.&lt;/p&gt;

&lt;p&gt;My Advice: Stop buying “official” basic cables. Look for certified USB4 or Thunderbolt alternatives. It might cost you €20 instead of €15, but it saves you from the 20-year-old speed trap.&lt;/p&gt;

&lt;p&gt;What’s in your drawer? I recently used a cable tester and realized 40% of my “USB-C” collection was actually e-waste in disguise. Check your cables, or they will become the silent bottleneck of your career.&lt;/p&gt;

&lt;p&gt;Catch me on LinkedIn or checkout my Github Portfolio for more deep dives into tech architecture and quality standards.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cryptocurrency</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>From Manual Testing to Cloud-Native Playwright Automation: An 8-Year QA Journey</title>
      <dc:creator>Felix Helleckes</dc:creator>
      <pubDate>Fri, 10 Apr 2026 10:42:24 +0000</pubDate>
      <link>https://dev.to/felix-helleckes/from-manual-testing-to-cloud-native-playwright-automation-an-8-year-qa-journey-2d6o</link>
      <guid>https://dev.to/felix-helleckes/from-manual-testing-to-cloud-native-playwright-automation-an-8-year-qa-journey-2d6o</guid>
      <description>&lt;p&gt;How the role of Quality Assurance has evolved, and why "Shift-Left" is no longer just a buzzword.&lt;/p&gt;

&lt;p&gt;When I look back at the last decade of software development, the transformation of Quality Assurance is nothing short of revolutionary. We have moved from being the "gatekeepers at the end of the pipeline" to becoming integral automation architects right at the core of the development lifecycle.&lt;/p&gt;

&lt;p&gt;Hi, I am Felix Florian Helleckes, a Senior Quality Assurance Engineer. Over the past eight years, I’ve navigated the shifting landscapes of manual testing, IoT integrations, and highly scalable cloud environments. Here are my key takeaways from transitioning through different eras of QA.&lt;/p&gt;

&lt;p&gt;🎮 The Foundation: Gaming and Legacy Enterprise Systems&lt;br&gt;
Every automation expert needs to understand the fundamentals of manual testing first. My career started back in 2015 as an independent tester, where I had the opportunity to conduct manual testing for global players in the gaming industry, including Blizzard Entertainment. Testing games teaches you a vital lesson: user experience is everything, and edge cases are where the worst bugs hide.&lt;/p&gt;

&lt;p&gt;As I transitioned into the enterprise sector with ampada GmbH in Cologne, the focus shifted toward robust End-to-End (E2E) test automation. Here, I worked heavily with Javascript and Webdriver.io, but also tackled legacy desktop applications using VisualBasic and Microfocus UFT. It taught me how to build reliable safety nets for complex systems.&lt;/p&gt;

&lt;p&gt;📱 &lt;strong&gt;The Mobile and IoT Era&lt;/strong&gt;&lt;br&gt;
By 2018, the industry was heavily pivoting toward mobile and the Internet of Things (IoT). Joining grandcentrix GmbH, a leading agency for IoT and App development, forced me to rethink test coverage.&lt;/p&gt;

&lt;p&gt;Testing hardware-software integrations is a completely different beast. I focused on building comprehensive test concepts using Jira and Testrail, automating mobile applications with Appium, and driving API integration tests via Postman.&lt;/p&gt;

&lt;p&gt;🚀 &lt;strong&gt;Scaling Up: E-Commerce, Kubernetes, and Playwright&lt;/strong&gt;&lt;br&gt;
The real paradigm shift in my career happened when I took on the role of QA Manager and Automation Lead at Fashion Digital GmbH (the IT backbone of Peek &amp;amp; Cloppenburg).&lt;/p&gt;

&lt;p&gt;In enterprise-level e-commerce, downtime or performance bottlenecks cost real money. Here, the QA role expanded significantly:&lt;/p&gt;

&lt;p&gt;Modernizing the Stack: We moved to Playwright.dev, which drastically improved our E2E testing speed and reliability compared to older Selenium-based frameworks.&lt;/p&gt;

&lt;p&gt;Performance Testing: Functional testing isn't enough. I implemented performance and stress test automation using Python and Locust.io to ensure the web architecture could withstand heavy traffic events like Black Friday.&lt;/p&gt;

&lt;p&gt;Cloud-Native QA: The most significant step was managing and configuring test environments directly within Kubernetes clusters. QA engineers today need a solid understanding of Docker and Kubernetes to seamlessly integrate quality gates into the CI/CD pipeline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🚲 High-Performance Retail&lt;/strong&gt;&lt;br&gt;
Recently, I’ve been refining these high-performance QA strategies in the fast-paced retail sector at Bike24 GmbH. As a Senior Quality Assurance Engineer, my goal remains the same: ensuring that complex web architectures remain scalable, robust, and entirely bug-free upon deployment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💡 My QA Philosophy for 2026 and Beyond&lt;/strong&gt;&lt;br&gt;
If my journey from manual gaming tests to configuring Kubernetes test environments has taught me anything, it is this: Quality is a feature, not an afterthought.&lt;/p&gt;

&lt;p&gt;To succeed in modern software development, we must embrace "Shift-Left Testing." This means bringing QA into the architectural discussions from day one. As the lines between DevOps, Development, and QA continue to blur, those who understand the entire lifecycle—from the first line of Typescript to the final Docker container—will drive the industry forward.&lt;/p&gt;

&lt;p&gt;Let’s connect and discuss the future of test automation!&lt;/p&gt;

&lt;p&gt;Portfolio: &lt;a href="//felix-helleckes.github.io"&gt;felix-helleckes.github.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/felix-helleckes-758529202/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Felix Florian Helleckes is a Cologne-based Senior QA Engineer specializing in Playwright, E2E Automation, and Cloud Infrastructure.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
