<?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: Arnav Patel</title>
    <description>The latest articles on DEV Community by Arnav Patel (@polymath_arnav).</description>
    <link>https://dev.to/polymath_arnav</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4166069%2Fe42a0245-5d61-414c-b59e-f04bed79b0a7.jpeg</url>
      <title>DEV Community: Arnav Patel</title>
      <link>https://dev.to/polymath_arnav</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/polymath_arnav"/>
    <language>en</language>
    <item>
      <title>First problem solved on time ✌️</title>
      <dc:creator>Arnav Patel</dc:creator>
      <pubDate>Sun, 11 Oct 2026 13:51:41 +0000</pubDate>
      <link>https://dev.to/polymath_arnav/first-problem-solved-on-time-2b0g</link>
      <guid>https://dev.to/polymath_arnav/first-problem-solved-on-time-2b0g</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/polymath_arnav/wildtrail-im-a-beginner-and-my-ai-wrote-a-fake-map-download-heres-what-i-shipped-for-touch-4ena" class="crayons-story__hidden-navigation-link"&gt;WildTrail: I'm a beginner, and my AI wrote a fake map download. Here's what I shipped for Touch Grass&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
      &lt;a href="https://dev.to/polymath_arnav/wildtrail-im-a-beginner-and-my-ai-wrote-a-fake-map-download-heres-what-i-shipped-for-touch-4ena" class="crayons-article__context-note crayons-article__context-note__feed"&gt;&lt;p&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Submission 🌿&lt;/p&gt;

&lt;/a&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="/polymath_arnav" class="crayons-avatar  crayons-avatar--l  "&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%2Fuser%2Fprofile_image%2F4166069%2Fe42a0245-5d61-414c-b59e-f04bed79b0a7.jpeg" alt="polymath_arnav profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/polymath_arnav" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Arnav Patel
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Arnav Patel
                
                
              
              &lt;div id="story-author-preview-content-4832938" 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="/polymath_arnav" 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%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4166069%2Fe42a0245-5d61-414c-b59e-f04bed79b0a7.jpeg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Arnav Patel&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/polymath_arnav/wildtrail-im-a-beginner-and-my-ai-wrote-a-fake-map-download-heres-what-i-shipped-for-touch-4ena" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Oct 11&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/polymath_arnav/wildtrail-im-a-beginner-and-my-ai-wrote-a-fake-map-download-heres-what-i-shipped-for-touch-4ena" id="article-link-4832938"&gt;
          WildTrail: I'm a beginner, and my AI wrote a fake map download. Here's what I shipped for Touch Grass
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/hf26challenge"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;hf26challenge&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/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/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&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/polymath_arnav/wildtrail-im-a-beginner-and-my-ai-wrote-a-fake-map-download-heres-what-i-shipped-for-touch-4ena" 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="18" height="18"&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/polymath_arnav/wildtrail-im-a-beginner-and-my-ai-wrote-a-fake-map-download-heres-what-i-shipped-for-touch-4ena#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              1&lt;span class="hidden s:inline"&gt;&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;
            6 min read
          &lt;/small&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>beginners</category>
      <category>devchallenge</category>
      <category>showdev</category>
    </item>
    <item>
      <title>WildTrail: I'm a beginner, and my AI wrote a fake map download. Here's what I shipped for Touch Grass</title>
      <dc:creator>Arnav Patel</dc:creator>
      <pubDate>Sun, 11 Oct 2026 13:39:50 +0000</pubDate>
      <link>https://dev.to/polymath_arnav/wildtrail-im-a-beginner-and-my-ai-wrote-a-fake-map-download-heres-what-i-shipped-for-touch-4ena</link>
      <guid>https://dev.to/polymath_arnav/wildtrail-im-a-beginner-and-my-ai-wrote-a-fake-map-download-heres-what-i-shipped-for-touch-4ena</guid>
      <description>&lt;p&gt;&lt;em&gt;This is my submission for the &lt;a href="https://dev.to/challenges/hf26"&gt;Hacktoberfest Open-Source AI Challenge, Week 1: Touch Grass&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I'm Arnav, from Bengaluru, and I'm new to coding. When the Touch Grass prompt arrived (build something with open-source AI at its core that gets people off their screens), I kept thinking of the one thing that makes people look up from a phone: collecting things in the real world.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;WildTrail&lt;/strong&gt;: point your camera at a real bird, plant, insect, or animal, let an AI model running locally on your phone guess what it is, and collect it as a 3D stamp in a digital field journal. As you walk outside, an RPG-style fog-of-war map clears around you.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live app:&lt;/strong&gt; &lt;a href="https://wildtrail-chi.vercel.app" rel="noopener noreferrer"&gt;https://wildtrail-chi.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code (MIT):&lt;/strong&gt; &lt;a href="https://github.com/XiaoArnav/wildtrail" rel="noopener noreferrer"&gt;https://github.com/XiaoArnav/wildtrail&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fspilbln9ga5i438qu3ca.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%2Fspilbln9ga5i438qu3ca.png" alt="The WildTrail field guide with collectible specimen stamps" width="799" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The AI.&lt;/strong&gt; An open-weight CLIP model (&lt;code&gt;clip-vit-base-patch32&lt;/code&gt;) runs inside the browser through &lt;a href="https://huggingface.co/docs/transformers.js" rel="noopener noreferrer"&gt;Transformers.js&lt;/a&gt;, pinned to version 3.8.1. It performs zero-shot image classification: I provide a curated dictionary of wildlife species and it scores how well your live photo matches each one via WebGPU or WebAssembly. No server ever sees your photo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The collection.&lt;/strong&gt; Confirmed finds are stored in the browser's IndexedDB, rendered as interactive tilting 3D stamps with gyroscope tilt physics, and can be exported as a vintage botanical postcard image. There are no accounts or paywalls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The map.&lt;/strong&gt; Your walk is divided into 20 m squares that light up as you cover them, unmasking territory and tracking your total distance. You can also export your walk as a GPX file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline.&lt;/strong&gt; After the first load, the app shell, vendor libraries, and AI model weights (~90 MB) are cached by the Service Worker and Cache Storage. You can import your own &lt;code&gt;.pmtiles&lt;/code&gt; map packs for offline map tiles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fde690hm5js7b9jnkdmt3.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%2Fde690hm5js7b9jnkdmt3.png" alt="The scanner suggesting species for a photo" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How it gets you outside
&lt;/h2&gt;

&lt;p&gt;I wanted the screen to be the shortest part of the walk. The app only asks for a few seconds: point, tap, and put the phone back in your pocket. Nothing happens while you're indoors, because the reward is the fog-of-war map clearing as you physically walk, and each new species needs you to find a real creature. There are no feeds, no notifications and no streaks. The scanning moment should take only a few seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why open source mattered here
&lt;/h2&gt;

&lt;p&gt;I didn't choose open source for the ideology. The idea simply doesn't work without it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;No signal on a trail.&lt;/strong&gt; A cloud vision API fails the moment your cell bars drop in a park or ravine. An open-weight model downloaded once to device storage keeps running anywhere. A closed cloud API would have given better accuracy on a fast connection, but it would have failed the moment you needed it most, in the park with no signal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Location is personal.&lt;/strong&gt; The AI inference, your photos, your finds, and your GPS track stay on your device. There is no backend, because the app has no use for one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No per-use cost.&lt;/strong&gt; There are no metered API keys, token fees or per-photo bills, so nothing in the app costs money per use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I can swap things.&lt;/strong&gt; The model and species taxonomy are plain code. Anyone can expand the wildlife list or swap in a specialized bird model through a pull request.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The one honest exception: the default basemap loads tiles from &lt;a href="https://openfreemap.org" rel="noopener noreferrer"&gt;OpenFreeMap&lt;/a&gt;, which can see your IP address and the area of map you view. Importing or downloading an offline PMTiles pack avoids that.&lt;/p&gt;

&lt;h2&gt;
  
  
  What went wrong (the part I'd want to read)
&lt;/h2&gt;

&lt;p&gt;I built this with AI coding assistants (Antigravity for most of the code, Claude as a reviewer and mentor, and GitHub Copilot on two issues). Because I'm a beginner, I couldn't trust any of it blindly, so I made a rule: &lt;strong&gt;read everything and verify the claims.&lt;/strong&gt; That rule uncovered real problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A fake download.&lt;/strong&gt; An early "Download offline map" button ran a loop with a 120 ms timer that updated a progress bar and saved a 2 KB empty placeholder. It looked finished, but did nothing. I had it completely removed and replaced with a real PMTiles import and header verification pipeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A broken map loader.&lt;/strong&gt; The first real offline loader called &lt;code&gt;pmtiles.BlobSource&lt;/code&gt;, an API that doesn't exist in PMTiles v3 (the actual class is &lt;code&gt;FileSource&lt;/code&gt;). It also loaded a plain vendor script as if it were an ES module. The map silently failed to appear. Fixing it required opening the library's actual exports and reading the documentation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Advertised species that didn't exist.&lt;/strong&gt; Early demo screenshots showed a tiger, a penguin, and a razorbill, but none of them were in the dictionary the AI could actually classify. I had to audit the species array to make sure every advertised animal could actually be identified.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy claims that outran the code.&lt;/strong&gt; The README proudly claimed "zero telemetry" and "100% client-side", even though OpenFreeMap tiles inevitably hit an external tile server, and an automatic pull request had added Vercel analytics scripts. I had them removed, rewrote the documentation, and added an honest privacy note to the app modal and docs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A blank map when offline.&lt;/strong&gt; If you lost cell signal without an offline pack loaded, the online vector map stayed completely blank. I had to add an explicit offline canvas fallback so the fog-of-war, GPS trail, and specimen pins draw reliably even with zero network.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The lesson I'd give another beginner: AI is happy to write code that &lt;em&gt;looks&lt;/em&gt; complete. Ask "is this actually doing the thing?" every single time.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔍 Behind the Scenes: The Full Agent Sessions
&lt;/h3&gt;

&lt;p&gt;To give the Hacktoberfest judges a transparent look at how WildTrail was built and reviewed, I've shared both public agent sessions. They document the implementation, debugging, and verification process behind the project.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/agent_sessions/wildtrail-building-on-device-ai-pwa-offline-vector-maps-with-antigravity-6o94eq"&gt;&lt;strong&gt;Antigravity — Building &amp;amp; Debugging&lt;/strong&gt;&lt;/a&gt; — Building the app, debugging issues, and implementing fixes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://dev.to/agent_sessions/wildtrail-a-beginner-verifying-ai-written-code-claude-mentor-and-review-session-og1cuk"&gt;Claude — Mentor &amp;amp; Code Reviewer&lt;/a&gt;&lt;/strong&gt; — Reviewing AI-generated code and verifying technical claims.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What Copilot did
&lt;/h2&gt;

&lt;p&gt;I opened two GitHub issues and assigned them to GitHub Copilot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GPX trail export&lt;/strong&gt; (&lt;a href="https://github.com/XiaoArnav/wildtrail/pull/7" rel="noopener noreferrer"&gt;PR #7&lt;/a&gt;): export your walk as a standard GPX 1.1 file to use in apps like Strava or Garmin.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High-contrast mode&lt;/strong&gt; (&lt;a href="https://github.com/XiaoArnav/wildtrail/pull/6" rel="noopener noreferrer"&gt;PR #6&lt;/a&gt;): a toggle so the map and compass cone remain readable under direct mid-day sunlight.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I reviewed Copilot's two pull requests before merging them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Taking it outside
&lt;/h2&gt;

&lt;p&gt;Honest status: I haven't taken WildTrail on a long outdoor walk yet; I built and checked it at my desk, so the camera, GPS and airplane-mode behaviour on a real phone are still untested by me. What I did verify is the code and the live site: I had every change checked against the code and fixed the problems above. If you try it outdoors, I'd love to hear what breaks, and issues are open on the repo.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it can't do yet
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;It can only identify species from its built-in taxonomy list, and CLIP will sometimes guess wrong, so results should be treated as suggestions rather than definitive botany.&lt;/li&gt;
&lt;li&gt;Offline maps require importing or downloading a &lt;code&gt;.pmtiles&lt;/code&gt; archive. The bundled demo pack covers a tiny area (~300 m) in Taipei.&lt;/li&gt;
&lt;li&gt;The very first load requires internet connectivity to fetch the libraries and download the ~90 MB vision model weights into browser cache.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Open &lt;a href="https://wildtrail-chi.vercel.app" rel="noopener noreferrer"&gt;https://wildtrail-chi.vercel.app&lt;/a&gt; on your phone, add it to your home screen, and go outside. Pull requests and feedback are welcome. Adding a new regional species to the classification dictionary is a great first contribution!&lt;/p&gt;

&lt;p&gt;Thanks to the Hacktoberfest team for the prompt. 🌱&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>opensource</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
