<?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: Antonio </title>
    <description>The latest articles on DEV Community by Antonio  (@antonioprosperi2svg).</description>
    <link>https://dev.to/antonioprosperi2svg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4092373%2F27c3ef5d-a3a1-442b-95b9-9e5f97c623dc.gif</url>
      <title>DEV Community: Antonio </title>
      <link>https://dev.to/antonioprosperi2svg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/antonioprosperi2svg"/>
    <language>en</language>
    <item>
      <title>Approved, but Locked Outside My Own House 🐝🔑</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Tue, 01 Dec 2026 22:32:45 +0000</pubDate>
      <link>https://dev.to/necoz/approved-but-locked-outside-my-own-house-5b2m</link>
      <guid>https://dev.to/necoz/approved-but-locked-outside-my-own-house-5b2m</guid>
      <description>&lt;p&gt;Sorry for my absence 😅&lt;/p&gt;

&lt;p&gt;I was busy finishing something: a WordPress plugin for BeeLadybug, written in PHP. Just a small first piece, but mine. 🐞&lt;/p&gt;

&lt;p&gt;Here's how it went.&lt;/p&gt;

&lt;p&gt;I finished the plugin, logged in to WordPress.org and sent it for review. Done. ✅&lt;/p&gt;

&lt;p&gt;While waiting, I thought: let's be a good citizen. I updated my bio, explained who I am, what I build, added my links.&lt;/p&gt;

&lt;p&gt;Then they asked me to turn on two-factor authentication. Sure, I did it. Logged out, logged back in to fix my profile picture...&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Account blocked.&lt;/strong&gt; 😂&lt;/p&gt;

&lt;p&gt;Okay. I sent an email and waited.&lt;/p&gt;

&lt;p&gt;This morning, two emails:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Congratulations, your plugin BeeLadybug has been approved."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Victory! 🎉&lt;/p&gt;

&lt;p&gt;And then I went to log in for SVN, the place where you actually upload the plugin...&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Account blocked again.&lt;/strong&gt; 😂😂&lt;/p&gt;

&lt;p&gt;So here I am. Another email sent. The plugin is approved, the repository is waiting, and I can't get in to put the code inside.&lt;/p&gt;

&lt;p&gt;Approved, but locked outside my own house. 🐝🔑&lt;/p&gt;

&lt;p&gt;I'm a little unlucky, but honestly I'm still laughing. The plugin is ready, the BeeLadybug patient, and sooner or later the door will open.&lt;/p&gt;

&lt;p&gt;Has this ever happened to you on WordPress.org? Tell me I'm not the only one. 😄&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/antonioprosperi2-svg" rel="noopener noreferrer"&gt;
        antonioprosperi2-svg
      &lt;/a&gt; / &lt;a href="https://github.com/antonioprosperi2-svg/beeladybug-wordpress" rel="noopener noreferrer"&gt;
        beeladybug-wordpress
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      WordPress plugin for BeeLadybug: inspect DOM layout and CSS issues on your site (overflow, blocked clicks, !important conflicts) and export an HTML report. Admin only.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;BeeLadybug for WordPress 🐞&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/antonioprosperi2-svg/beeladybug-wordpress/promo-1400x560-dark.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fantonioprosperi2-svg%2Fbeeladybug-wordpress%2FHEAD%2Fpromo-1400x560-dark.png" alt="BEELADYBUG"&gt;&lt;/a&gt;
&lt;a href="https://www.gnu.org/licenses/gpl-2.0.html" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/5ddb9b4922ba3e820d9a7b6d34064ffd0d1c01d30db037e7f0e949b16621d12a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c76322532306f722532306c617465722d626c7565" alt="License: GPL v2"&gt;&lt;/a&gt;
&lt;a href="https://wordpress.org" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/eeee993b3f86387b85b889fccb58b024f669927b359438a137c178e9b8103a21/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576f726450726573732d362e302532422d3231373539623f6c6f676f3d776f72647072657373" alt="WordPress"&gt;&lt;/a&gt;
&lt;a href="https://www.php.net" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/4d2b097d6df4079a39eb1ab558d661c8e039acf80e3162c2fa90d4e9f5d853ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342532422d3737376262343f6c6f676f3d706870266c6f676f436f6c6f723d7768697465" alt="PHP"&gt;&lt;/a&gt;
&lt;a href="https://github.com/antonioprosperi2-svg/beeladybug-wordpress/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/38937b418215b5beec4079030d0d9899b7800ca1b07494bb8d17b1bee27c9350/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616e746f6e696f70726f7370657269322d7376672f6265656c6164796275672d776f72647072657373" alt="GitHub release"&gt;&lt;/a&gt;
&lt;a href="https://chromewebstore.google.com/detail/beeladybug/hoeblomajmbdbgkklcggiiolhigfkpak" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ab2dfdef72c3adc7c1a896a3a499682bc7ced204ff931cd7a19c9c56886a1c79/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4368726f6d652d57656225323053746f72652d3432383566343f6c6f676f3d676f6f676c656368726f6d65266c6f676f436f6c6f723d7768697465" alt="Chrome Web Store"&gt;&lt;/a&gt;
&lt;a href="https://addons.mozilla.org/it/firefox/addon/beeladybug-inspector/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/57d85609c5a6610f562a788814fce28c96c4a6a9449dc9d0cc270ba143bf713a/68747470733a2f2f696d672e736869656c64732e696f2f616d6f2f762f6265656c6164796275672d696e73706563746f723f6c6162656c3d46697265666f782532304164642d6f6e73266c6f676f3d66697265666f782d62726f77736572" alt="Firefox Add-ons"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Inspect DOM layout and CSS issues on your own WordPress site, right from the admin bar. Overflow, blocked clicks, &lt;code&gt;!important&lt;/code&gt; conflicts, stacking contexts. Export a full HTML report.&lt;/p&gt;
&lt;p&gt;Same inspector as the BeeLadybug browser extension, packaged as a WordPress plugin. No extension needed.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;BeeLadybug&lt;/strong&gt; button in the admin bar on the public site&lt;/li&gt;
&lt;li&gt;Opens and closes without reloading the page&lt;/li&gt;
&lt;li&gt;Visible only to administrators (&lt;code&gt;manage_options&lt;/code&gt;). Visitors never load the scripts&lt;/li&gt;
&lt;li&gt;Live FPS, DOM nodes, mutations and pointer info&lt;/li&gt;
&lt;li&gt;Finds layout issues: overflow, blocked clicks, &lt;code&gt;!important&lt;/code&gt; conflicts, stacking contexts&lt;/li&gt;
&lt;li&gt;Exports a full HTML report to your Downloads folder&lt;/li&gt;
&lt;li&gt;No external requests, no tracking, no data stored on your server&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Installation&lt;/h2&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Download the zip from &lt;a href="https://github.com/antonioprosperi2-svg/beeladybug-wordpress/releases" rel="noopener noreferrer"&gt;Releases&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;In WordPress go to &lt;strong&gt;Plugins → Add New → Upload Plugin&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Choose the zip, click &lt;strong&gt;Install Now&lt;/strong&gt;, then &lt;strong&gt;Activate&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Open your public site while logged…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/antonioprosperi2-svg/beeladybug-wordpress" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
`

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>wordpress</category>
      <category>php</category>
      <category>opensource</category>
      <category>devjournal</category>
    </item>
    <item>
      <title>BeeLadybug: born from a daydream</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Sun, 29 Nov 2026 16:33:02 +0000</pubDate>
      <link>https://dev.to/necoz/beeladybug-born-from-a-daydream-59j7</link>
      <guid>https://dev.to/necoz/beeladybug-born-from-a-daydream-59j7</guid>
      <description>&lt;p&gt;It was a normal evening. My eyes were open, but for a second I saw a ladybug that wasn't really there. 🐞&lt;/p&gt;

&lt;p&gt;Curious, I looked it up. What does a ladybug actually do? It hunts. It eats aphids, the tiny insects that slowly eat a plant from the inside. Gardeners love ladybugs because they clean up without poison.&lt;/p&gt;

&lt;p&gt;And I thought: that's exactly what I want in my code. A little bug that hunts the other bugs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The name
&lt;/h2&gt;

&lt;p&gt;I'm Italian, so I searched how to say "coccinella" in English. Ladybug. My game engine is called BeeEngine, so the ladybug became the bee's little sister: &lt;strong&gt;BeeLadybug&lt;/strong&gt;. 🐝🐞&lt;/p&gt;

&lt;h2&gt;
  
  
  What a ladybug eats in software
&lt;/h2&gt;

&lt;p&gt;In a garden it eats aphids. On a web page it hunts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;broken layouts&lt;/li&gt;
&lt;li&gt;CSS you can't understand&lt;/li&gt;
&lt;li&gt;boxes bigger than they look&lt;/li&gt;
&lt;li&gt;elements hiding behind other elements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The classic hunt usually starts like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;outline&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1px&lt;/span&gt; &lt;span class="n"&gt;solid&lt;/span&gt; &lt;span class="n"&gt;red&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;It works, but it paints the whole page red and tells you nothing about sizes, margins or padding. I wanted the ladybug to land on one element at a time and tell me what's going on there, while I move the mouse.&lt;/p&gt;
&lt;h2&gt;
  
  
  The first divorce
&lt;/h2&gt;

&lt;p&gt;BeeLadybug was born inside BeeEngine, as a small debug overlay on the canvas: hitboxes, FPS, slow motion, freeze. Very useful for my games.&lt;/p&gt;

&lt;p&gt;Then I thought: why only for my games? A ladybug doesn't stay on one leaf. So it left the engine and started living on any web page.&lt;/p&gt;
&lt;h2&gt;
  
  
  The second divorce
&lt;/h2&gt;

&lt;p&gt;It grew again, and split in two:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the &lt;strong&gt;universal inspector&lt;/strong&gt;, a browser extension that works on any page&lt;/li&gt;
&lt;li&gt;the &lt;strong&gt;library on npm&lt;/strong&gt;, with adapters you plug into your own code&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, this watches DOM mutations and counts them in a time window:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;BeeLadybugCore&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;AntAdapter&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'bee-ladybug'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;bee&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;BeeLadybugCore&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="n"&gt;ant&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;AntAdapter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bee&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;root&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;threshold&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;windowMs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1000&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;ant&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;attach&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 ant counts every change. When too many arrive too fast, the ladybug tells you.&lt;/p&gt;
&lt;h2&gt;
  
  
  A whole garden of bugs
&lt;/h2&gt;

&lt;p&gt;Once I had a ladybug, I asked myself: what do the other insects do?&lt;/p&gt;

&lt;p&gt;An ant never stops. It counts, carries, notices every small change around the nest. So the &lt;strong&gt;AntAdapter&lt;/strong&gt; watches DOM mutations and counts them.&lt;/p&gt;

&lt;p&gt;A spider waits in its web and feels every vibration. It doesn't chase, it notices what's slow and heavy getting caught. So the &lt;strong&gt;SpiderAdapter&lt;/strong&gt; listens for long tasks and slow resources.&lt;/p&gt;

&lt;p&gt;I did the research on the insects myself, and I pushed for these adapters even when the AI I was working with kept suggesting something else. Each insect does one small job, and together they keep the garden clean. 🐜🕷️🐞&lt;/p&gt;
&lt;h2&gt;
  
  
  Where it lives today
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Chrome Web Store&lt;/li&gt;
&lt;li&gt;Firefox Add-ons&lt;/li&gt;
&lt;li&gt;npm (&lt;code&gt;bee-ladybug&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;WordPress plugin, waiting for review&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/antonioprosperi2-svg" rel="noopener noreferrer"&gt;
        antonioprosperi2-svg
      &lt;/a&gt; / &lt;a href="https://github.com/antonioprosperi2-svg/BeeLadybug-universal" rel="noopener noreferrer"&gt;
        BeeLadybug-universal
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Lightweight, zero-dependency HUD &amp;amp; telemetry overlay for web apps, game engines, and Python backends. Includes WebSocket bridge and custom AI assistant integration.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="MD"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;BeeLadybug&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/hoeblomajmbdbgkklcggiiolhigfkpak" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/7fcd7af4c62eaa62046dfe46c7610b9b7d41d501208adef3d53650e9d4e419d0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4368726f6d6525323057656225323053746f72652d496e7374616c6c2d626c75653f6c6f676f3d676f6f676c656368726f6d65" alt="Chrome Web Store"&gt;&lt;/a&gt;
&lt;a href="https://beeenginejs.com/wp-content/uploads/2026/11/report-20261122-1736.html" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ef8b6095c3bdb45ea255f55dcb339d897ef69e06a46fc3c9b00e2e9ecb0a4d5e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5669657725323073616d706c652532307265706f72742d48544d4c2d6666336235633f7374796c653d666c6174" alt="View sample report"&gt;&lt;/a&gt;
&lt;a href="https://www.npmjs.com/package/bee-ladybug" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c9c126ca84361f068c2287c9f57973c81a06952da15bf0d3461d7e29565a2273/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f74797065732f6265652d6c616479627567" alt="types"&gt;&lt;/a&gt;
&lt;a href="https://www.npmjs.com/package/bee-ladybug" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/0e3a76959b3a263983e7fb9d3813e7a605f997845bd86f6ad7bb5b0ee757ffb1/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6265652d6c616479627567" alt="npm"&gt;&lt;/a&gt;
&lt;a href="https://www.npmjs.com/package/bee-ladybug" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/6f6fd70e15278aa9cdca7c086e94ce854d7fa1b4f38a74cbf111d772f7412f82/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f646d2f6265652d6c616479627567" alt="download"&gt;&lt;/a&gt;
&lt;a href="https://www.jsdelivr.com/package/npm/bee-ladybug" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9c1f59630286f823f25d80c91533a023bb12b1e6a24520465143a5686e3fd6c4/68747470733a2f2f646174612e6a7364656c6976722e636f6d2f76312f7061636b6167652f6e706d2f6265652d6c6164796275672f6261646765" alt=""&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/c53aaf8e390ab1dbf5e5020fe9e36ed50e4bc924ee051fae5bab72f29751ab59/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f6265652d6c616479627567"&gt;&lt;img src="https://camo.githubusercontent.com/c53aaf8e390ab1dbf5e5020fe9e36ed50e4bc924ee051fae5bab72f29751ab59/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f6265652d6c616479627567" alt="licenza"&gt;&lt;/a&gt;
&lt;a href="https://badge.socket.dev/npm/package/bee-ladybug/0.6.15" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/1c19f2bc40625b3a8a3ac593f009169a1f9b58bf1dcc0d9bcf20d327233137c3/68747470733a2f2f62616467652e736f636b65742e6465762f6e706d2f7061636b6167652f6265652d6c6164796275672f302e362e3135" alt="Socket Badge"&gt;&lt;/a&gt;
&lt;a href="https://bundlephobia.com/package/bee-ladybug" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/d08a34506a9c5adf24b8fabddc3ef6b8285ca0c86fd6633c689945b39a9e26c1/68747470733a2f2f696d672e736869656c64732e696f2f62756e646c6570686f6269612f6d696e7a69702f6265652d6c616479627567" alt="size"&gt;&lt;/a&gt;
&lt;a href="https://security.snyk.io/package/npm/bee-ladybug" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c5c3622fcf4b9950cfca89fee366c73ed66d7482abe838c112d050cec0cbf992/68747470733a2f2f736e796b2e696f2f746573742f6e706d2f6265652d6c6164796275672f62616467652e737667" alt="Snyk"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9297afd7baed382a2b7260a508567da8afd9daa0babd2f4e1c95157238184608/68747470733a2f2f626565656e67696e656a732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032362f31302f6265656c6164796275672d6c6f676f2d616e696d61746f2d657a6769662e636f6d2d656666656374732e676966"&gt;&lt;img src="https://camo.githubusercontent.com/9297afd7baed382a2b7260a508567da8afd9daa0babd2f4e1c95157238184608/68747470733a2f2f626565656e67696e656a732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032362f31302f6265656c6164796275672d6c6f676f2d616e696d61746f2d657a6769662e636f6d2d656666656374732e676966" alt="BeeEngine Logo" width="900"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;Storico completo, dalla versione più recente alla più vecchia: &lt;a href="https://github.com/antonioprosperi2-svg/BeeLadybug-universal/blob/main/CHANGELOG.md" rel="noopener noreferrer"&gt;CHANGELOG.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Universal telemetry and visual inspection overlay.&lt;/p&gt;

&lt;p&gt;BeeLadybug is &lt;strong&gt;not&lt;/strong&gt; a Canvas widget. It is a small open-source debugger
core that accepts raw packets from any source — Canvas 2D games, DOM pages
headless bots, Python processes, AI pipelines — and renders them in one
dark console.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Il Core non sa cosa sta monitorando. Riceve solo dati grezzi.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Versione attuale: &lt;strong&gt;0.6.15&lt;/strong&gt; (&lt;code&gt;package.json&lt;/code&gt; e &lt;code&gt;BEE_LADYBUG_VERSION&lt;/code&gt;).&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Perché questa struttura&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Il file storico &lt;code&gt;BeeLadybug&lt;/code&gt; era accoppiato a un engine di gioco (entità,
hitbox, &lt;code&gt;ctx.drawOverlay&lt;/code&gt;). Quello non scala a un sito HTML o a un modello
Python. Per questo il progetto riparte da zero con due strati:&lt;/p&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Strato&lt;/th&gt;
&lt;th&gt;Responsabilità&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;src/core/&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Orologio fittizio, buffer, grafici, overlay cyberpunk&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;src/adapters/&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Traduttori. Convertono un mondo specifico in &lt;code&gt;sendData()&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;L'overlay &lt;strong&gt;non&lt;/strong&gt; è disegnato sul Canvas. È un pannello HTML in Shadow DOM
funziona sopra un gioco,…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/antonioprosperi2-svg/BeeLadybug-universal" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Thank you
&lt;/h2&gt;

&lt;p&gt;This article exists because of a question from &lt;a class="mentioned-user" href="https://dev.to/nyaomaru"&gt;@nyaomaru&lt;/a&gt; at the Necoz OSS potluck: "what inspired you to create it?" Now you know. A ladybug that wasn't there. 😸💚&lt;/p&gt;

&lt;p&gt;What's the strangest place an idea of yours came from? 🐝&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>css</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
    <item>
      <title>30 minutes, they said 😅</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Sat, 28 Nov 2026 08:27:17 +0000</pubDate>
      <link>https://dev.to/necoz/30-minutes-they-said-1h0h</link>
      <guid>https://dev.to/necoz/30-minutes-they-said-1h0h</guid>
      <description>&lt;p&gt;The DEV newsletter landed in my inbox. Top 7 posts, news, the usual. And then, at the bottom, the Developer Census.&lt;/p&gt;

&lt;p&gt;"It takes about 30 to 35 minutes."&lt;/p&gt;

&lt;p&gt;Ok, I thought. Let's do it. Partly to help, mostly out of curiosity. I wanted to see what kind of questions they ask developers in 2026.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 1
&lt;/h2&gt;

&lt;p&gt;Region. Role. Years of experience. Easy. I'm flying.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 20
&lt;/h2&gt;

&lt;p&gt;RTOS. QNX. Venture capital. Blockchain. Web3. AGI. Edge AI.&lt;/p&gt;

&lt;p&gt;I work in a factory during the day and write JavaScript at night. I had to stop and look up half of these words. I learned more in this survey than in some tutorials.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 60
&lt;/h2&gt;

&lt;p&gt;There was an attention check. A question that only exists to see if you are still awake.&lt;/p&gt;

&lt;p&gt;I was. Barely.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 90
&lt;/h2&gt;

&lt;p&gt;I was seriously thinking about closing everything. The coffee was gone. My back was asking questions too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 120, more or less
&lt;/h2&gt;

&lt;p&gt;I finished. About 2 hours for a "30 to 35 minute" survey. I sweated more on this than on some of my Chrome extension reviews.&lt;/p&gt;

&lt;p&gt;And then, the last screen: a GIF of people dancing, with a message saying thank you, you're special.&lt;/p&gt;

&lt;p&gt;I laughed so hard. After two hours, a group of dancing strangers telling me I'm special. I will remember that screen for the rest of my life. 😂&lt;/p&gt;

&lt;h2&gt;
  
  
  So
&lt;/h2&gt;

&lt;p&gt;Would I do it again? Yes. Probably. Next year. With two coffees.&lt;/p&gt;

&lt;p&gt;Did you take the census? How long did it take you? Be honest. 🐝&lt;/p&gt;

</description>
      <category>devlife</category>
      <category>humor</category>
      <category>community</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Three hours, one small extension, and Firefox Add-ons</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Mon, 23 Nov 2026 22:25:24 +0000</pubDate>
      <link>https://dev.to/necoz/three-hours-one-small-extension-and-firefox-add-ons-27d4</link>
      <guid>https://dev.to/necoz/three-hours-one-small-extension-and-firefox-add-ons-27d4</guid>
      <description>&lt;p&gt;After Chrome Web Store (approved in about 5 hours) and Edge Add-ons (in review), I thought Firefox would be the easy one. Same extension, same Manifest V3, same zip. 😅&lt;/p&gt;

&lt;p&gt;It took me three hours. Not because the code was broken, but because Firefox Add-ons asks for a few extra things I didn't know about. Here is what I learned, so you don't have to learn it at 11 PM after a day at the factory.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Firefox wants an ID in the manifest
&lt;/h2&gt;

&lt;p&gt;Chrome doesn't care, Firefox does:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"browser_specific_settings"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"gecko"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"your-extension@yourdomain.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"strict_min_version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"142.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"data_collection_permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"required"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"none"&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;code&gt;data_collection_permissions&lt;/code&gt; is now required for new extensions, and it needs Firefox 142 or newer, otherwise the validator warns you about Firefox for Android.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Don't delete a draft add-on
&lt;/h2&gt;

&lt;p&gt;I deleted my first submission to start fresh. Big mistake: the ID &lt;strong&gt;and&lt;/strong&gt; the URL slug stay reserved forever. I had to pick a new ID and a new slug. The name can stay the same, only the link changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The manifest must be at the root of the zip
&lt;/h2&gt;

&lt;p&gt;If you zip the folder instead of its contents, validation fails. Open the zip: &lt;code&gt;manifest.json&lt;/code&gt; must be the first thing you see.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The innerHTML warnings
&lt;/h2&gt;

&lt;p&gt;The validator gave me 9 warnings: "Unsafe assignment to innerHTML". Not errors, but I wanted a clean result. So I replaced them with DOM methods:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Before&lt;/span&gt;
&lt;span class="n"&gt;panel&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`&amp;lt;b&amp;gt;FPS&amp;lt;/b&amp;gt; ${fps}`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// After&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createElement&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"b"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;textContent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"FPS"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;panel&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replaceChildren&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sb"&gt;` ${fps}`&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;Same HUD, same look, and the result: &lt;strong&gt;0 errors, 0 warnings&lt;/strong&gt;. ✅&lt;/p&gt;

&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;p&gt;BeeLadybug is now waiting for review on Firefox too. Three stores, one small vanilla JS extension, and a lot of patience.&lt;/p&gt;

&lt;p&gt;If you're publishing your first Firefox extension, I hope this saves you a few hours. And if you have a Firefox story, tell me in the comments! 🐝&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;💻 &lt;strong&gt;Source Code:&lt;/strong&gt; &lt;a href="https://github.com/antonioprosperi2-svg/beeladybug-firefox-1.0.5-safe" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>necoz</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
    <item>
      <title>A challenge won against myself (and the Chrome Web Store)</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Sun, 22 Nov 2026 20:04:23 +0000</pubDate>
      <link>https://dev.to/necoz/a-challenge-won-against-myself-and-the-chrome-web-store-24l4</link>
      <guid>https://dev.to/necoz/a-challenge-won-against-myself-and-the-chrome-web-store-24l4</guid>
      <description>&lt;p&gt;I'm a 53-year-old self-taught developer with no formal degree. 😂&lt;/p&gt;

&lt;p&gt;Last year, my mobile game was rejected by the Play Store. Not because of the code: I simply couldn't find enough testers to meet the store requirements, and I got stuck. It drove me crazy, and it would have been easy to give up.&lt;/p&gt;

&lt;p&gt;This year, after many late nights and a complete pivot towards &lt;strong&gt;BeeLadybug&lt;/strong&gt;, I finally won my personal challenge against the Chrome Web Store. It's officially live, and for me, this is a huge milestone.&lt;/p&gt;

&lt;p&gt;I won't turn this into a long self-promotion post, so I'll keep it short: &lt;strong&gt;BeeLadybug&lt;/strong&gt; (v1.0.5) is a free, open-source Manifest V3 Chrome extension that analyzes the layout and CSS issues of the page you're viewing and lets you download an HTML report.&lt;/p&gt;

&lt;p&gt;If you want to try it out, poke around the code, or even suggest improvements, here are the links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧩 &lt;strong&gt;Chrome Web Store:&lt;/strong&gt; &lt;a href="https://chromewebstore.google.com/detail/beeladybug/hoeblomajmbdbgkklcggiiolhigfkpak" rel="noopener noreferrer"&gt;Install BeeLadybug&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💻 &lt;strong&gt;Source Code:&lt;/strong&gt; &lt;a href="https://github.com/antonioprosperi2-svg/BeeLadybug-Chrome-Extension" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📄 &lt;strong&gt;Sample report:&lt;/strong&gt; &lt;a href="https://beeenginejs.com/wp-content/uploads/2026/11/report-20261122-1736.html" rel="noopener noreferrer"&gt;See what the extension exports&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🎮 &lt;strong&gt;Live demo of the core library:&lt;/strong&gt; &lt;a href="https://antonioprosperi2-svg.github.io/BeeLadybug-universal/index.html" rel="noopener noreferrer"&gt;BeeLadybug CanvasAdapter demo&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're a self-taught dev or you've ever been blocked by app store policies, I'd love to hear your story in the comments. Thanks for reading! 🐝&lt;/p&gt;

</description>
      <category>necoz</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>career</category>
    </item>
    <item>
      <title>Programming at 53: Code Has No Age</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Sat, 21 Nov 2026 20:31:32 +0000</pubDate>
      <link>https://dev.to/antonioprosperi2svg/programming-at-53-code-has-no-age-3k5f</link>
      <guid>https://dev.to/antonioprosperi2svg/programming-at-53-code-has-no-age-3k5f</guid>
      <description>&lt;p&gt;What is programming for me today? And what could it have been, back then?&lt;/p&gt;

&lt;h2&gt;
  
  
  The 10 PRINT kid
&lt;/h2&gt;

&lt;p&gt;When I was a kid there was the Commodore 64. I remember these lines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;10 PRINT "HELLO"
20 GOTO 10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;PRINT&lt;/code&gt; wrote text on the screen, and &lt;code&gt;GOTO&lt;/code&gt; made the program jump to a specific line. Together they created an infinite loop: the screen filled with text forever. For a kid, it was magic.&lt;/p&gt;

&lt;p&gt;Later came Windows 95 and Windows 98. I loved to tinker: I opened every folder, clicked everything, just to see what was inside. I was a lively kid, and my parents didn't have much patience for my curiosity. The world was different then.&lt;/p&gt;

&lt;p&gt;Then, in the 90s, I had to start working. No studies, no university. I read a little here and there, while the world changed: Google arrived, the web exploded, and new languages appeared everywhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 90s web
&lt;/h2&gt;

&lt;p&gt;And then there was the old web. A homepage in 1998 looked like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;My website in 1998&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&lt;/span&gt; &lt;span class="na"&gt;bgcolor&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"#000080"&lt;/span&gt; &lt;span class="na"&gt;text&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"#FFFFFF"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;center&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&amp;lt;font&lt;/span&gt; &lt;span class="na"&gt;face&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"Comic Sans MS"&lt;/span&gt; &lt;span class="na"&gt;color&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"yellow"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Welcome to my Home Page!&lt;span class="nt"&gt;&amp;lt;/font&amp;gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;marquee&amp;gt;&lt;/span&gt;Under construction - Last update: 1998&lt;span class="nt"&gt;&amp;lt;/marquee&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/center&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;table&lt;/span&gt; &lt;span class="na"&gt;border&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"1"&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"100%"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;tr&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;td&amp;gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"photos.html"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;My photos&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;td&amp;gt;&lt;/span&gt;Hi everyone, this is my first website!&lt;span class="nt"&gt;&amp;lt;/td&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/table&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;&amp;lt;center&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;font&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;marquee&amp;gt;&lt;/code&gt;, tables for everything... Today they are almost all deprecated, but back then this was the web.&lt;/p&gt;

&lt;h2&gt;
  
  
  From BASIC to the modern web
&lt;/h2&gt;

&lt;p&gt;The same idea, a message on the screen, looks very different today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;My website today&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;rel&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt; &lt;span class="na"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"style.css"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;header&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;Welcome to my website!&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/header&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;main&lt;/span&gt; &lt;span class="na"&gt;class&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"grid"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;nav&amp;gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"photos.html"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;My photos&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&amp;lt;/nav&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Hi everyone, this is a modern website that adapts to smartphones.&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/main&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;CSS:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;h1&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;green&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;font-family&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;monospace&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;JavaScript:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&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="mi"&gt;10&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="p"&gt;{&lt;/span&gt;
  &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Hello, world!"&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;Same curiosity, new tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tinkering again, at 53
&lt;/h2&gt;

&lt;p&gt;Today I'm 53. I work in a factory during the day, and for about a year I've been tinkering again in the evenings, like a kid. It's the most beautiful thing in the world. It's stimulating, especially for the mind.&lt;/p&gt;

&lt;p&gt;Code is like life. Every day something breaks, and almost always there is a way to fix it. Code is my daily life now.&lt;/p&gt;

&lt;p&gt;I wrote this article because code makes me feel free. It makes me feel like myself. Yes, I get help from AI, otherwise I'd still be staring at the word "JavaScript". But the curiosity, the ideas and the late nights are mine.&lt;/p&gt;

&lt;h2&gt;
  
  
  For those who believe
&lt;/h2&gt;

&lt;p&gt;This article is for anyone who believes in it all the way. Code has no age. It's a friend. And like with every friend, sometimes you argue with it. 😄&lt;/p&gt;

&lt;p&gt;If you started late, or you're starting now: open the folder, click everything, break things, fix them. That kid with &lt;code&gt;10 PRINT&lt;/code&gt; is still inside you.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;What was your first line of code? Tell me in the comments.&lt;/em&gt; 👇&lt;/p&gt;

</description>
      <category>programming</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>necoz</category>
    </item>
    <item>
      <title>BeeLadybug Has Disappeared: My JS Debugger Turned Into a Tiny Pill</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Fri, 20 Nov 2026 06:27:43 +0000</pubDate>
      <link>https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-my-js-debugger-turned-into-a-tiny-pill-43eh</link>
      <guid>https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-my-js-debugger-turned-into-a-tiny-pill-43eh</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-missing-person-report-59e7" class="crayons-story__hidden-navigation-link"&gt;Where Did BeeLadybug Go? The Debugger HUD That Shrinks Into a Pill&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/antonioprosperi2svg" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4092373%2F27c3ef5d-a3a1-442b-95b9-9e5f97c623dc.gif" alt="antonioprosperi2svg profile" class="crayons-avatar__image" width="512" height="512"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/antonioprosperi2svg" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Antonio 
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Antonio 
                
                
              
              &lt;div id="story-author-preview-content-5068583" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/antonioprosperi2svg" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4092373%2F27c3ef5d-a3a1-442b-95b9-9e5f97c623dc.gif" class="crayons-avatar__image" alt="" width="512" height="512"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Antonio &lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-missing-person-report-59e7" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 18&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-missing-person-report-59e7" id="article-link-5068583"&gt;
          Where Did BeeLadybug Go? The Debugger HUD That Shrinks Into a Pill
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/javascript"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;javascript&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/debugging"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;debugging&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/opensource"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;opensource&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/devto"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;devto&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-missing-person-report-59e7" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt;&amp;nbsp;reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-missing-person-report-59e7#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              &lt;span class="hidden s:inline"&gt;Add&amp;nbsp;Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            3 min read
          &lt;/small&gt;
          
          &lt;div class="only-sidebar-menu-item trusted-visible-block print-hidden align-center"&gt;
                
                    
                
          &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;


</description>
      <category>debugging</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>To Trust AI or Not? My Projects Are Not "Just for Me" 🐞</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Thu, 19 Nov 2026 22:39:11 +0000</pubDate>
      <link>https://dev.to/antonioprosperi2svg/to-trust-ai-or-not-my-projects-are-not-just-for-me-2eaf</link>
      <guid>https://dev.to/antonioprosperi2svg/to-trust-ai-or-not-my-projects-are-not-just-for-me-2eaf</guid>
      <description>&lt;p&gt;I'm not an expert. I'm 53, I work in a warehouse during the day, and at night I build small JavaScript projects: a 2D game engine, a debugging HUD called BeeLadybug, and a little HTML5 games portal.&lt;/p&gt;

&lt;p&gt;They are small projects. But I care about them a lot.&lt;/p&gt;

&lt;h2&gt;
  
  
  My little method: docs = bug hunting
&lt;/h2&gt;

&lt;p&gt;I found a method that works for me. I write the documentation of my own projects, and I publish it on my site.&lt;/p&gt;

&lt;p&gt;While I write, I read the code. Then I read it again. And again. When I have to explain a module in plain words, I suddenly see the strange parts: a method that does too much, a default that makes no sense, a case nobody tested.&lt;/p&gt;

&lt;p&gt;So the docs and the bug fixing grow together. Every page I write is also a small code review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where AI helps me
&lt;/h2&gt;

&lt;p&gt;I'll be honest: I use AI a lot. It helps me understand code, write prompts for my editor, fix bugs, and polish my English (yes, this post too).&lt;/p&gt;

&lt;p&gt;Without it, I would be much slower. I'm grateful for that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where AI goes wrong with me
&lt;/h2&gt;

&lt;p&gt;But there is one thing that makes me crazy.&lt;/p&gt;

&lt;p&gt;For months I have explained to different AI assistants that my projects are &lt;strong&gt;open source&lt;/strong&gt;. They are on GitHub. I publish them on npm. They are made for &lt;strong&gt;other developers&lt;/strong&gt;, not for me.&lt;/p&gt;

&lt;p&gt;And still, again and again, the answer starts from the idea that these are "personal" projects. Little toys for myself.&lt;/p&gt;

&lt;p&gt;Why? I think the reasoning is something like: &lt;em&gt;one person, no team, no company, no millions… so it must be a hobby for himself.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That hurts a bit. Being alone doesn't mean building alone for myself.&lt;/p&gt;

&lt;h2&gt;
  
  
  A real example: the CanvasAdapter and the DOM
&lt;/h2&gt;

&lt;p&gt;Tonight I was testing the Chrome extension version of BeeLadybug.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On normal websites, the DOM and CSS part works great. On a real games site it found a distorted image, a slider overflowing the viewport and a trapped &lt;code&gt;z-index&lt;/code&gt;. Real bugs, on a site that is not mine.&lt;/li&gt;
&lt;li&gt;On canvas games, the HUD said: &lt;code&gt;CanvasAdapter attached (0 entities)&lt;/code&gt;. A canvas is just pixels. The browser doesn't know where the player or the enemy is, only the game knows. So from outside, the extension can't draw hitboxes unless the game shares its entities.&lt;/li&gt;
&lt;li&gt;And I found a real bug: BeeLadybug draws its overlays on its own &lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; elements. If a page has a rule like &lt;code&gt;canvas { background: green; }&lt;/code&gt;, my transparent overlay becomes a green wall that covers the game.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That bug only appears on &lt;strong&gt;other people's pages&lt;/strong&gt;, with &lt;strong&gt;other people's CSS&lt;/strong&gt;. If BeeLadybug were just for me, I would never have found it. That is exactly why "it's open source, for others" matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  So… trust AI or not?
&lt;/h2&gt;

&lt;p&gt;My answer today:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trust it&lt;/strong&gt; to explain, to suggest, to speed you up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't trust it&lt;/strong&gt; blindly. Test everything yourself. Read the code again. Ask "why?".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Correct it&lt;/strong&gt; when it makes wrong assumptions about you and your work. Again and again, if needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI doesn't know your story. You do.&lt;/p&gt;

&lt;p&gt;My projects are small, and maybe my code is not perfect. But they are public, they are free, and they are made for you.&lt;/p&gt;

&lt;p&gt;If you want to try BeeLadybug and break it on your own site, I'd love that. That's how it gets better. 🐞💚&lt;/p&gt;

</description>
      <category>ai</category>
      <category>javascript</category>
      <category>opensource</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Where Did BeeLadybug Go? The Debugger HUD That Shrinks Into a Pill</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Wed, 18 Nov 2026 21:59:48 +0000</pubDate>
      <link>https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-missing-person-report-59e7</link>
      <guid>https://dev.to/antonioprosperi2svg/beeladybug-has-disappeared-missing-person-report-59e7</guid>
      <description>&lt;h2&gt;
  
  
  🚨 MISSING: one red ladybug
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Last seen:&lt;/strong&gt; top-left corner of my screen, &lt;code&gt;top: 12px; left: 12px&lt;/code&gt;.&lt;br&gt;
&lt;strong&gt;Height:&lt;/strong&gt; 50vh. &lt;strong&gt;Width:&lt;/strong&gt; exactly 360px, never one pixel more.&lt;br&gt;
&lt;strong&gt;Distinctive marks:&lt;/strong&gt; red border, an FPS graph, and a log that always got cut off right at the interesting part.&lt;/p&gt;

&lt;p&gt;Last night I opened the core sandbox of &lt;strong&gt;BeeLadybug&lt;/strong&gt;, my zero-dependency debug HUD, and... she was gone. 😱&lt;/p&gt;

&lt;p&gt;The game was running. &lt;code&gt;RUN tick 87852&lt;/code&gt;. The FPS were fine. But the panel? Vanished.&lt;/p&gt;

&lt;p&gt;I panicked for about four seconds. Then I noticed a tiny red button sitting under the tick counter:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;🐞 56.8 fps&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;She hadn't disappeared. &lt;strong&gt;She had curled up into a pill.&lt;/strong&gt; 😹&lt;/p&gt;
&lt;h2&gt;
  
  
  🕵️ How it started: the 360px prison
&lt;/h2&gt;

&lt;p&gt;For months, BeeLadybug lived in a box with a fixed width:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.bl-panel&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;360px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;max-height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;50vh&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;Small enough not to steal space from the game. Also small enough that the EVENTS log was stuck at &lt;code&gt;max-height: 140px&lt;/code&gt;, so every time I wanted to read the logs comfortably I had to press &lt;strong&gt;F8 EXPORT&lt;/strong&gt; and open a file.&lt;/p&gt;

&lt;p&gt;A debug tool that makes you export a file just to read a log line. Very efficient. 🙃&lt;/p&gt;

&lt;h2&gt;
  
  
  📏 Version 0.6.6: she learned to stretch
&lt;/h2&gt;

&lt;p&gt;First escape attempt: let the panel grow.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.bl-panel&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;360px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;min-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;340px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;90vw&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;max-height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;90vh&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;resize&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;both&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;code&gt;resize: both&lt;/code&gt; gives you that little handle in the bottom-right corner, like a normal window. Drag it, and the EVENTS log grows with the panel.&lt;/p&gt;

&lt;p&gt;But on a phone you can't really grab that handle with your finger, so there's also a &lt;strong&gt;WIDE / COMPACT&lt;/strong&gt; button next to LIVE:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;#&lt;span class="nf"&gt;toggleWide&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="n"&gt;panel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;els&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;panel&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;panel&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;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;wide&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;wide&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;wide&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="no"&gt;PANEL_WIDE&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;PANEL_COMPACT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="nf"&gt;widthCap&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;panel&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;width&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`${Math.round(width)}px`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="c1"&gt;// ...&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;360px ↔ 680px, never more than 90% of the screen. And a &lt;code&gt;ResizeObserver&lt;/code&gt; redraws the FPS graph at the new size, so the line stays sharp all the way to the edge.&lt;/p&gt;

&lt;h3&gt;
  
  
  🫠 Side effect: the pancake ladybug
&lt;/h3&gt;

&lt;p&gt;Of course, the first thing I did was drag the handle the wrong way.&lt;/p&gt;

&lt;p&gt;I pulled it up... and up... until BeeLadybug was squashed into a thin red strip: just the header, &lt;code&gt;LIVE&lt;/code&gt;, &lt;code&gt;WIDE&lt;/code&gt;, &lt;code&gt;PILL&lt;/code&gt;, and that tiny diagonal handle in the corner looking at me like &lt;em&gt;"happy now?"&lt;/em&gt; 😹&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%2Ftbd1yvf0b2agq2cmehm8.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%2Ftbd1yvf0b2agq2cmehm8.png" alt="BeeLadybug squashed down to just its header" width="469" height="94"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Nothing was broken. Grab the handle at the bottom-right, pull it down, and the EVENTS log comes back. And yes, she remembers the pancake size too, so if you squash her, she stays squashed until you fix it. 🥞🐞&lt;/p&gt;

&lt;h2&gt;
  
  
  💊 Version 0.6.7: she learned to hide
&lt;/h2&gt;

&lt;p&gt;Then came the dangerous part. The panel can now be &lt;strong&gt;dragged from its header&lt;/strong&gt; (pointer events, so fingers work too) and stays inside the screen.&lt;/p&gt;

&lt;p&gt;And there's a &lt;strong&gt;PILL&lt;/strong&gt; button. One click, and the whole HUD shrinks to a tiny pill with the ladybug mark and the FPS. Click the pill and the panel comes back, in the same place, at the same size.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;#&lt;span class="nf"&gt;setPill&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;on&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;// ...&lt;/span&gt;
    &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;pill&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="nf"&gt;applyChrome&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="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="nf"&gt;moveEl&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;left&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;top&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="nf"&gt;rememberLayout&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;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%2F7p8gpncr9ii63ulzvf4w.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%2F7p8gpncr9ii63ulzvf4w.png" alt="*The whole HUD, curled up into a pill. The game keeps running, the hitboxes keep colliding.* 🐞" width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 The plot twist: she remembers everything
&lt;/h2&gt;

&lt;p&gt;This is why I thought she was gone. BeeLadybug now &lt;strong&gt;remembers&lt;/strong&gt; how you left her:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;layoutHeight&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;wide&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;wide&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isFinite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;layoutLeft&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;layoutLeft&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isFinite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;layoutTop&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;layoutTop&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;pill&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;#&lt;span class="n"&gt;pill&lt;/span&gt; &lt;span class="o"&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="k"&gt;try&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="k"&gt;typeof&lt;/span&gt; &lt;span class="n"&gt;localStorage&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'undefined'&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;span class="n"&gt;localStorage&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setItem&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;PANEL_STORE_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&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;catch&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="cm"&gt;/* private mode, sandboxed frame, or a full quota */&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I had turned her into a pill earlier, then switched to another example (DOM, CSS hunt, Python...), and she stayed a pill everywhere. Loyal. Stubborn. A real ladybug. 🐞&lt;/p&gt;

&lt;p&gt;(And if the storage is blocked, the panel just starts normally. No drama.)&lt;/p&gt;

&lt;h2&gt;
  
  
  ✅ Case closed
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;npm test&lt;/code&gt;: 77 tests, 77 passing&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;npm run lint&lt;/code&gt;: clean&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;npm run typecheck&lt;/code&gt;: clean&lt;/li&gt;
&lt;li&gt;Public API (&lt;code&gt;index.js&lt;/code&gt;, &lt;code&gt;index.d.ts&lt;/code&gt;): untouched&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Small changes, just CSS and a bit of UI, but now I can read my logs without exporting a file, move the HUD out of the way, and hide it when I just want to play.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>debugging</category>
      <category>opensource</category>
      <category>devto</category>
    </item>
    <item>
      <title>bug.ai.dev: writing docs at night made me find 11 real bugs in my own library</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Wed, 11 Nov 2026 21:38:06 +0000</pubDate>
      <link>https://dev.to/antonioprosperi2svg/bugaidev-writing-docs-at-night-made-me-find-11-real-bugs-in-my-own-library-3g3c</link>
      <guid>https://dev.to/antonioprosperi2svg/bugaidev-writing-docs-at-night-made-me-find-11-real-bugs-in-my-own-library-3g3c</guid>
      <description>&lt;p&gt;Hi everyone, I'm Antonio. I'm 53, I work as a factory worker during the day, and in the evening I keep building my own projects: modules, classes, a small 2D game engine and a debugging tool called &lt;strong&gt;BeeLadybug&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Last time I told you how I &lt;a href="https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-the-fix-was-a-few-lines-of-css-after-hours-of-arguing-with-ai-272f"&gt;argued with AI for hours over a floating search bar&lt;/a&gt; that only needed a few lines of CSS.&lt;/p&gt;

&lt;p&gt;This time the story is different. This time the AIs were more bugged than my code. 😂&lt;/p&gt;

&lt;h2&gt;
  
  
  What BeeLadybug is
&lt;/h2&gt;

&lt;p&gt;BeeLadybug is an open-source inspection overlay that runs inside a Shadow DOM. You send it raw data, and adapters turn the page into something you can read:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://cdn.jsdelivr.net/npm/bee-ladybug/src/index.js'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;then&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="nc"&gt;BeeLadybugCore&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;WebDOMAdapter&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;CSSAdapter&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="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;bee&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;BeeLadybugCore&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;new&lt;/span&gt; &lt;span class="nc"&gt;WebDOMAdapter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bee&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;root&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;body&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;attach&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;new&lt;/span&gt; &lt;span class="nc"&gt;CSSAdapter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bee&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;attach&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="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bee&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;bee&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;Paste that in the console of any page (Chrome may ask you to type &lt;code&gt;allow pasting&lt;/code&gt; first), press &lt;strong&gt;F6&lt;/strong&gt; to start the CSS hunt, and &lt;strong&gt;F8&lt;/strong&gt; to export a full HTML report.&lt;/p&gt;

&lt;h2&gt;
  
  
  The plan: just write the docs
&lt;/h2&gt;

&lt;p&gt;I'm writing the documentation one adapter at a time. Canvas, WebDOM, and then &lt;strong&gt;CSSAdapter&lt;/strong&gt;, about 1,235 lines.&lt;/p&gt;

&lt;p&gt;To document it properly I asked an AI to read the module and explain it to me. Instead of an explanation, I got a list of bugs.&lt;/p&gt;

&lt;p&gt;Then I asked a second AI to check the same folder. It found a &lt;em&gt;different&lt;/em&gt; list. One said "10 functions" and then listed 11. Another said "5 points" and wrote 6.&lt;/p&gt;

&lt;p&gt;After a full day of work, reading 1,500 lines of code with two AIs arguing in my head... my brain got bugged too. 😂&lt;/p&gt;

&lt;h2&gt;
  
  
  How I got out of it: I checked with my own eyes
&lt;/h2&gt;

&lt;p&gt;I stopped trusting the numbers and opened the file myself. One of the claims was that the &lt;code&gt;S&lt;/code&gt; key scan didn't filter the same noise as the F8 report.&lt;/p&gt;

&lt;p&gt;Line 144, inside &lt;code&gt;scan()&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&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;el&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nf"&gt;isBeeChrome&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nf"&gt;isSkippedTag&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Line 216, inside &lt;code&gt;snapshot()&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&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;el&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nf"&gt;isBeeChrome&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nf"&gt;isSkippedTag&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nf"&gt;isReportNoise&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There it was. The quick scan was missing &lt;code&gt;isReportNoise(el)&lt;/code&gt;, so on a WordPress site it reported fake problems on &lt;code&gt;#wpadminbar&lt;/code&gt; and on hidden elements, while the F8 report skipped them correctly.&lt;/p&gt;

&lt;p&gt;The bug was real. The counting was wrong, but the bugs were real.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 11 bugs (short version)
&lt;/h2&gt;

&lt;p&gt;Merging both reviews, these were the ones worth fixing now:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;With the CSS hunt on, &lt;strong&gt;Ctrl+S / Ctrl+P / Cmd+S were blocked&lt;/strong&gt;. &lt;code&gt;#handleKey&lt;/code&gt; didn't check modifier keys.&lt;/li&gt;
&lt;li&gt;With the overlay hidden (F2), the &lt;code&gt;P&lt;/code&gt; and &lt;code&gt;S&lt;/code&gt; keys and the hover/pin boxes &lt;strong&gt;were still active&lt;/strong&gt; on the page.&lt;/li&gt;
&lt;li&gt;A stylesheet change before the first mouse move inspected the element at &lt;strong&gt;(0,0)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;scan()&lt;/code&gt; didn't filter &lt;code&gt;isReportNoise&lt;/code&gt;, as shown above.&lt;/li&gt;
&lt;li&gt;Modern colors like &lt;code&gt;oklch()&lt;/code&gt;, &lt;code&gt;lab()&lt;/code&gt;, &lt;code&gt;color()&lt;/code&gt; and &lt;code&gt;color-mix()&lt;/code&gt; produced a &lt;strong&gt;fake "invisible text"&lt;/strong&gt; warning.&lt;/li&gt;
&lt;li&gt;Stylesheets that were &lt;strong&gt;disabled&lt;/strong&gt; or had a non-matching &lt;code&gt;media&lt;/code&gt; (like &lt;code&gt;print&lt;/code&gt;) were counted as active.&lt;/li&gt;
&lt;li&gt;The snapshot cut to 80 rows &lt;strong&gt;before&lt;/strong&gt; sorting by severity, so a harmless &lt;code&gt;will-change&lt;/code&gt; could push out a real error.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;touchesSheet&lt;/code&gt; checked the whole subtree on every mutation, which invalidated the cache almost every frame.&lt;/li&gt;
&lt;li&gt;HUD states (&lt;code&gt;css.target&lt;/code&gt;, &lt;code&gt;css.hits&lt;/code&gt;, &lt;code&gt;css.pin&lt;/code&gt;) &lt;strong&gt;stayed stuck&lt;/strong&gt; after turning the hunt off.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cssPath&lt;/code&gt; didn't escape special characters, which breaks with Tailwind classes like &lt;code&gt;sm:w-1/2&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The other adapters didn't recognize CSSAdapter's own boxes (&lt;code&gt;data-bee-ladybug-css&lt;/code&gt;), so they could count them as page nodes.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One small fix, as an example. The keyboard shortcut problem was solved like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;#&lt;span class="nf"&gt;handleKey&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;event&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;event&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ctrlKey&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;event&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;metaKey&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;event&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;altKey&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;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;core&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;core&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;visible&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="kc"&gt;false&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;span class="c1"&gt;// ... S scans, P pins&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;npm test&lt;/code&gt;: &lt;strong&gt;70 tests, 70 passing&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;npm run lint&lt;/code&gt;: clean&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;npm run typecheck&lt;/code&gt;: clean&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The things that are design limits, not bugs (like overflow inside &lt;code&gt;overflow:hidden&lt;/code&gt; ancestors, or &lt;code&gt;@import&lt;/code&gt; sheets not being visible), will go in the docs as &lt;strong&gt;known limitations&lt;/strong&gt;. I think that's more honest than pretending they don't exist.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Writing docs is a code review.&lt;/strong&gt; When you have to explain a function, you notice when it doesn't do what you think.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Two AIs disagreeing doesn't mean nobody is right.&lt;/strong&gt; It means you have to open the file and look.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't trust counts, trust lines.&lt;/strong&gt; "Line 144 vs line 216" is a fact; "10 or 11 bugs" is just noise.&lt;/li&gt;
&lt;li&gt;You don't need a degree to read code. You need patience, coffee, and the stubbornness to check one line at a time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;BeeLadybug is on npm as &lt;a href="https://www.npmjs.com/package/bee-ladybug" rel="noopener noreferrer"&gt;&lt;code&gt;bee-ladybug&lt;/code&gt;&lt;/a&gt;, and the docs (in Italian, for now) are on &lt;a href="https://beeenginejs.com/ladybug/inizia/" rel="noopener noreferrer"&gt;beeenginejs.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you're also building things at night after work: keep going. Your brain will get bugged, but your code will get better. 🐞&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>ai</category>
      <category>debugging</category>
    </item>
    <item>
      <title>I wanted a floating search bar. My AI assistants wanted a bigger project. 😅 A few CSS changes later: the behavior I wanted and a mobile PageSpeed score of 99. Ever had to convince AI to keep things simple?</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Sat, 07 Nov 2026 21:51:19 +0000</pubDate>
      <link>https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-my-ai-assistants-wanted-a-bigger-project-a-few-css-changes-2ppc</link>
      <guid>https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-my-ai-assistants-wanted-a-bigger-project-a-few-css-changes-2ppc</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-the-fix-was-a-few-lines-of-css-after-hours-of-arguing-with-ai-272f" class="crayons-story__hidden-navigation-link"&gt;I Wanted a Floating Search Bar. The Fix Was a Few Lines of CSS (After Hours of Arguing With AI)&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/antonioprosperi2svg" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4092373%2F27c3ef5d-a3a1-442b-95b9-9e5f97c623dc.gif" alt="antonioprosperi2svg profile" class="crayons-avatar__image" width="512" height="512"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/antonioprosperi2svg" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Antonio 
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Antonio 
                
                
              
              &lt;div id="story-author-preview-content-4995822" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/antonioprosperi2svg" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4092373%2F27c3ef5d-a3a1-442b-95b9-9e5f97c623dc.gif" class="crayons-avatar__image" alt="" width="512" height="512"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Antonio &lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-the-fix-was-a-few-lines-of-css-after-hours-of-arguing-with-ai-272f" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 7&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-the-fix-was-a-few-lines-of-css-after-hours-of-arguing-with-ai-272f" id="article-link-4995822"&gt;
          I Wanted a Floating Search Bar. The Fix Was a Few Lines of CSS (After Hours of Arguing With AI)
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/css"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;css&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/performance"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;performance&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-the-fix-was-a-few-lines-of-css-after-hours-of-arguing-with-ai-272f" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt;&amp;nbsp;reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-the-fix-was-a-few-lines-of-css-after-hours-of-arguing-with-ai-272f#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              &lt;span class="hidden s:inline"&gt;Add&amp;nbsp;Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
          
          &lt;div class="only-sidebar-menu-item trusted-visible-block print-hidden align-center"&gt;
                
                    
                
          &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;


</description>
      <category>ai</category>
      <category>css</category>
      <category>frontend</category>
      <category>performance</category>
    </item>
    <item>
      <title>I Wanted a Floating Search Bar. The Fix Was a Few Lines of CSS (After Hours of Arguing With AI)</title>
      <dc:creator>Antonio </dc:creator>
      <pubDate>Sat, 07 Nov 2026 21:46:30 +0000</pubDate>
      <link>https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-the-fix-was-a-few-lines-of-css-after-hours-of-arguing-with-ai-272f</link>
      <guid>https://dev.to/antonioprosperi2svg/i-wanted-a-floating-search-bar-the-fix-was-a-few-lines-of-css-after-hours-of-arguing-with-ai-272f</guid>
      <description>&lt;p&gt;I already had the solution on the screen. Twice, actually.&lt;/p&gt;

&lt;p&gt;Two small floating logo/search buttons on my site stayed visible all the way to the footer. Their &lt;code&gt;.blocco-nav-fluttuante&lt;/code&gt; used &lt;code&gt;position: fixed&lt;/code&gt;, with &lt;code&gt;top: 45px&lt;/code&gt; and &lt;code&gt;left: 20px&lt;/code&gt;. No JavaScript moving them around. They simply stayed there.&lt;/p&gt;

&lt;p&gt;So why couldn't my central search and categories bar work the same way?&lt;/p&gt;

&lt;p&gt;That was my point. Getting my AI assistants to stay focused on it took considerably longer than writing the CSS.&lt;/p&gt;

&lt;p&gt;In &lt;a href="https://dev.to/antonioprosperi2svg/how-i-rebuilt-the-homepage-of-my-html5-games-portal-and-what-i-learned-about-caching-2kn"&gt;my previous article&lt;/a&gt;, I covered the homepage rebuild of &lt;a href="https://www.playcombo.it/" rel="noopener noreferrer"&gt;SPC – Super Play Combo&lt;/a&gt;, my WordPress games portal. This time, the important part isn't a new engine or a clever architecture. It's the simple solution I kept asking for.&lt;/p&gt;

&lt;h2&gt;
  
  
  Here is the fix—not three sections later
&lt;/h2&gt;

&lt;p&gt;I wanted a rounded bar, slightly detached from the top and sides, with games scrolling underneath it. Visible right down to the footer. I showed Poki as a visual reference for that behavior, not as a source of code.&lt;/p&gt;

&lt;p&gt;These are the two CSS rules that delivered it on the Arcade page:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.barra-fissa-spc&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;fixed&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;right&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="n"&gt;auto&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;540px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;border-radius&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;22px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.contenitore-arcade-spc&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;padding&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;150px&lt;/span&gt; &lt;span class="mi"&gt;10px&lt;/span&gt; &lt;span class="mi"&gt;10px&lt;/span&gt; &lt;span class="mi"&gt;10px&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&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;Fixed positioning from the first paint, plus space already reserved underneath. That was the solution for the bar.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The bar stayed in its existing HTML location. Its controls, IDs, event handlers, URLs, and category logic stayed intact. No separate external file. No engine rewrite. No rebuilding the categories just to make a bar float.&lt;/p&gt;

&lt;p&gt;A few CSS declarations. A much longer conversation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the two little buttons had the right idea
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;sticky&lt;/code&gt; and &lt;code&gt;fixed&lt;/code&gt; aren't interchangeable. In my layout, a sticky bar was constrained by its containing block. It didn't stay visible through the footer the way I wanted.&lt;/p&gt;

&lt;p&gt;The little floating buttons already demonstrated the alternative: anchor to the viewport with &lt;code&gt;fixed&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For the central bar, &lt;code&gt;top: 12px&lt;/code&gt; creates the gap above it; the side offsets and maximum width keep it centered; the radius rounds all four corners. The games can scroll behind it, including through that small gap above.&lt;/p&gt;

&lt;p&gt;Because fixed elements don't occupy normal-flow space, the container needs room at the top. The final value here was &lt;strong&gt;150px&lt;/strong&gt;, not the earlier 135px trial. That keeps the title, description, and first games clear of the bar initially. It's a value for my layout, to check at different widths and with the WordPress admin bar—not a magic number for every site.&lt;/p&gt;

&lt;h2&gt;
  
  
  The JavaScript detour we didn't need
&lt;/h2&gt;

&lt;p&gt;The earlier &lt;code&gt;spostaBarra()&lt;/code&gt; function relocated the bar into the body on &lt;code&gt;DOMContentLoaded&lt;/code&gt;. Moving a visible element after rendering was an avoidable layout-shift risk. A Puzzle report showing the whole &lt;code&gt;#page&lt;/code&gt; displaced made that worth investigating.&lt;/p&gt;

&lt;p&gt;The answer wasn't another relocation strategy. It was to stop relocating it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;avvia&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;// spostaBarra();&lt;/span&gt;
  &lt;span class="nf"&gt;osservaGioco&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;code&gt;osservaGioco()&lt;/code&gt; still handles visibility when opening a game. Removing the move didn't mean throwing away useful behavior.&lt;/p&gt;

&lt;p&gt;During troubleshooting of the optimized styles, we also added this as the first CSS rule:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.spc-css-guard&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;--spc&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That was a debugging precaution, not a diagnosed universal LiteSpeed fix. The layout solution remained &lt;code&gt;fixed&lt;/code&gt; plus reserved space, with &lt;code&gt;!important&lt;/code&gt; on my container padding to keep it applied.&lt;/p&gt;

&lt;h2&gt;
  
  
  My AI assistants were helping. Enthusiastically. Elsewhere.
&lt;/h2&gt;

&lt;p&gt;The discussion kept wandering into animation, visual styling, layout shifts, and changes to the game engine. Meanwhile, I kept returning to those two little floating buttons.&lt;/p&gt;

&lt;p&gt;I knew the behavior I wanted. I was using AI to implement it, not asking it to replace the goal with something more complicated.&lt;/p&gt;

&lt;p&gt;I also did my part to prolong the adventure: undoing and reapplying changes whenever PageSpeed moved. Apparently, my afternoon needed a second source of stubbornness.&lt;/p&gt;

&lt;p&gt;Still, this was a satisfying little vindication. I didn't need to name every CSS property to recognize that the working example was already on my own page.&lt;/p&gt;

&lt;h2&gt;
  
  
  One separate issue, not a reason to rebuild the bar
&lt;/h2&gt;

&lt;p&gt;The game grid had its own loading problem. An intermediate Arcade report showed CLS &lt;strong&gt;0.120&lt;/strong&gt;: &lt;strong&gt;0.102&lt;/strong&gt; attributed to pagination and &lt;strong&gt;0.018&lt;/strong&gt; to the grid.&lt;/p&gt;

&lt;p&gt;The separate fix reserved responsive space for the first &lt;strong&gt;60 cards&lt;/strong&gt; while JavaScript populated the grid. Once filled, the waiting class was removed, allowing filtered results and shorter final pages to use their natural height.&lt;/p&gt;

&lt;p&gt;That mattered for stability. It wasn't part of making the search bar float, and it didn't require reinventing the bar.&lt;/p&gt;

&lt;h2&gt;
  
  
  The result—and six categories still waiting
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://pagespeed.web.dev/analysis/https-www-playcombo-it-arcade/hv7eilt6r4?form_factor=mobile" rel="noopener noreferrer"&gt;later Arcade mobile lab report&lt;/a&gt; reached &lt;strong&gt;99 Performance&lt;/strong&gt;, with &lt;strong&gt;FCP and LCP at 1.4s&lt;/strong&gt;, &lt;strong&gt;30ms Total Blocking Time&lt;/strong&gt;, and &lt;strong&gt;CLS 0.017&lt;/strong&gt;. Accessibility, Best Practices, and SEO were &lt;strong&gt;100&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Not a promise of zero CLS everywhere, and not a claim that the bar's CSS alone produced the whole score. But the intended behavior worked, and the layout was much steadier.&lt;/p&gt;

&lt;p&gt;Now I'm saving the stable version before carefully updating the &lt;strong&gt;six remaining categories&lt;/strong&gt;. First, this article. Even debugging deserves an intermission.&lt;/p&gt;

&lt;p&gt;Have your AI assistants ever confidently complicated something you already knew could be simple? And have you solved a floating-bar or layout-shift problem this way? Tell me in the comments.&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>ai</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
