<?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: Sithija Seneviratne</title>
    <description>The latest articles on DEV Community by Sithija Seneviratne (@sithijaseneviratne).</description>
    <link>https://dev.to/sithijaseneviratne</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Sithija Seneviratne</title>
      <link>https://dev.to/sithijaseneviratne</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sithijaseneviratne"/>
    <language>en</language>
    <item>
      <title>ShadeWindow: A Little Shade. A Better Walk</title>
      <dc:creator>Sithija Seneviratne</dc:creator>
      <pubDate>Sat, 10 Oct 2026 19:20:32 +0000</pubDate>
      <link>https://dev.to/sithijaseneviratne/shadewindow-a-little-shade-a-better-walk-16en</link>
      <guid>https://dev.to/sithijaseneviratne/shadewindow-a-little-shade-a-better-walk-16en</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;A short walk sounds simple until you start deciding when to leave, how much sun you want, and whether there is somewhere to sit along the way.&lt;/p&gt;

&lt;p&gt;I built ShadeWindow, a local-AI walking planner around one question: When should I leave, and which walk will keep me in the shade?&lt;/p&gt;

&lt;p&gt;The idea is to make planning a small part of the experience. Describe your walk, compare a few options, save one card, and put the screen away.&lt;/p&gt;

&lt;p&gt;The experience has three steps:&lt;/p&gt;

&lt;p&gt;Plan. Choose a duration, departure window, pace, and preferences for shade, benches, and rain. You can also describe these to a local model.&lt;br&gt;
Compare. Explore three routes, their departure times, moving shadows, and score breakdowns.&lt;br&gt;
Save &amp;amp; go. Save a walk card in the browser, reopen it later, or print it.&lt;br&gt;
The moving-shade map is the central idea: a route that looks appealing now may have a different shade pattern by the time you reach its later segments.&lt;/p&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/Nivin-Sithija/ShadeWindow" rel="noopener noreferrer"&gt;ShadeWindow on GitHub&lt;/a&gt;&lt;br&gt;
Application code is MIT licensed; SunCalc and model weights have their own licenses.&lt;/p&gt;
&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Moving shade from solar geometry
&lt;/h3&gt;

&lt;p&gt;The interface uses plain HTML, CSS, and JavaScript, with a small Node.js server. SunCalc supplies solar altitude and azimuth.&lt;/p&gt;

&lt;p&gt;For each sampled route point, the planner checks whether a ray toward the sun intersects a synthetic building. Tree canopies are approximated as opaque disks projected onto the ground. Unknown building heights remain uncertain.&lt;/p&gt;

&lt;p&gt;The calculation uses the time the walker reaches each part of the route. Benches are checked for shade at arrival, too.&lt;/p&gt;
&lt;h3&gt;
  
  
  Local AI with a bounded job
&lt;/h3&gt;

&lt;p&gt;The tested model is &lt;strong&gt;Llama 3.1 8B through Ollama&lt;/strong&gt;. The app can be configured for an installed Gemma model, but the recorded verification uses Llama.&lt;/p&gt;

&lt;p&gt;The model handles two tasks:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Written request
  → validated preferences
  → calculated feasible routes and departures
  → model selects an existing candidate
  → checked walk card
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Walking preferences can reveal parts of a person's routine. Local inference lets the default setup process those preferences on the user's machine without a paid cloud inference API.&lt;/p&gt;

&lt;p&gt;The prompts, validation rules, fixtures, and calculations are inspectable. A different compatible local model can be configured while the geometry and scoring rules stay reproducible.&lt;/p&gt;

&lt;p&gt;That separation makes the prototype easier to question and improve. Someone can change the shade approximation, review a score formula, or test another model without treating the recommendation as a black box.&lt;/p&gt;

&lt;p&gt;Open weights still come with model-specific licenses, and local inference still uses computing resources. Those boundaries belong alongside the benefits.&lt;/p&gt;

</description>
      <category>hacktoberfest</category>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
