<?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: Sandeep Maddheshiya</title>
    <description>The latest articles on DEV Community by Sandeep Maddheshiya (@sandeep_maddheshiya).</description>
    <link>https://dev.to/sandeep_maddheshiya</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%2F4059457%2F70076c3d-3c9d-4cdd-9643-877e5f8566bf.png</url>
      <title>DEV Community: Sandeep Maddheshiya</title>
      <link>https://dev.to/sandeep_maddheshiya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sandeep_maddheshiya"/>
    <language>en</language>
    <item>
      <title>I Built a Visa Photo Tool After Realizing How Complicated “Just a Passport Photo” Can Be</title>
      <dc:creator>Sandeep Maddheshiya</dc:creator>
      <pubDate>Thu, 13 Aug 2026 06:15:22 +0000</pubDate>
      <link>https://dev.to/sandeep_maddheshiya/i-built-a-visa-photo-tool-after-realizing-how-complicated-just-a-passport-photo-can-be-56m4</link>
      <guid>https://dev.to/sandeep_maddheshiya/i-built-a-visa-photo-tool-after-realizing-how-complicated-just-a-passport-photo-can-be-56m4</guid>
      <description>&lt;p&gt;A few weeks ago, I was working on a small side project and noticed something surprisingly annoying.&lt;/p&gt;

&lt;p&gt;Visa and passport photo requirements are not as simple as:&lt;/p&gt;

&lt;p&gt;“Upload a passport photo.”&lt;/p&gt;

&lt;p&gt;Different countries have different requirements.&lt;/p&gt;

&lt;p&gt;Size, aspect ratio, background, head position, face visibility, file size… and sometimes the information is buried across government websites and PDF documents.&lt;/p&gt;

&lt;p&gt;I kept thinking:&lt;/p&gt;

&lt;p&gt;Why isn't there a simple way to check this before submitting the photo?&lt;/p&gt;

&lt;p&gt;So I started building one.&lt;/p&gt;

&lt;p&gt;That eventually became VisaReadyNow.&lt;/p&gt;

&lt;p&gt;The interesting part wasn't actually building the image-processing logic. That was probably the easier part.&lt;/p&gt;

&lt;p&gt;The harder part was figuring out what the requirements actually are.&lt;/p&gt;

&lt;p&gt;I started going through official government and immigration sources country by country, comparing requirements, checking measurements, and trying to avoid making assumptions.&lt;/p&gt;

&lt;p&gt;I also learned pretty quickly that “close enough” isn't good enough for something like this.&lt;/p&gt;

&lt;p&gt;A 35×45 mm requirement isn't the same thing as a 35×35 mm requirement just because both are passport-photo sizes.&lt;/p&gt;

&lt;p&gt;That pushed me toward a different approach:&lt;/p&gt;

&lt;p&gt;Don't just generate a photo.&lt;/p&gt;

&lt;p&gt;Explain &lt;em&gt;why&lt;/em&gt; the photo passes or fails.&lt;/p&gt;

&lt;p&gt;So now I'm working on making the tool more transparent — showing the requirements, linking back to the sources, and making it clear when something was last reviewed.&lt;/p&gt;

&lt;p&gt;It's still a work in progress, but building it has taught me quite a bit about combining image processing, web development, SEO, and research.&lt;/p&gt;

&lt;p&gt;You can see what I've been building here: &lt;a href="https://www.visareadynow.com/" rel="noopener noreferrer"&gt;(https://www.visareadynow.com/)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm curious about what's a small problem you've worked on that turned out to be much more complicated than you initially expected?&lt;/p&gt;

</description>
      <category>passport</category>
      <category>travel</category>
      <category>saas</category>
      <category>website</category>
    </item>
    <item>
      <title>How I Reduced Website Latency by Optimizing the Right Things</title>
      <dc:creator>Sandeep Maddheshiya</dc:creator>
      <pubDate>Thu, 13 Aug 2026 06:07:04 +0000</pubDate>
      <link>https://dev.to/sandeep_maddheshiya/how-i-reduced-website-latency-by-optimizing-the-right-things-408n</link>
      <guid>https://dev.to/sandeep_maddheshiya/how-i-reduced-website-latency-by-optimizing-the-right-things-408n</guid>
      <description>&lt;p&gt;I recently spent some time optimizing one of my websites, and honestly, the biggest improvements didn’t come from some fancy optimization trick.&lt;/p&gt;

&lt;p&gt;It came from measuring everything first.&lt;/p&gt;

&lt;p&gt;I started looking at the actual request timings:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;DNS lookup&lt;/li&gt;
&lt;li&gt;TCP connection&lt;/li&gt;
&lt;li&gt;TLS handshake&lt;/li&gt;
&lt;li&gt;Time to First Byte (TTFB)&lt;/li&gt;
&lt;li&gt;Total response time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then I worked through the bottlenecks one by one.&lt;/p&gt;

&lt;p&gt;Some of the things that helped:&lt;/p&gt;

&lt;p&gt;• Reduced unnecessary server-side work&lt;br&gt;
• Improved caching&lt;br&gt;
• Optimized API requests&lt;br&gt;
• Kept database queries lean&lt;br&gt;
• Reduced unnecessary network round trips&lt;br&gt;
• Tuned the VPS/server configuration&lt;br&gt;
• Used CDN/edge caching where it actually made sense&lt;br&gt;
• Removed things from the critical path that didn't need to be there&lt;/p&gt;

&lt;p&gt;One thing I learned: a website can feel “fast” locally while being noticeably slower for someone sitting thousands of kilometers away.&lt;/p&gt;

&lt;p&gt;So I started testing from different locations instead of relying only on my own browser.&lt;/p&gt;

&lt;p&gt;The goal wasn't to chase a perfect Lighthouse score.&lt;/p&gt;

&lt;p&gt;It was much simpler:&lt;/p&gt;

&lt;p&gt;Make the first request reach the user as quickly as possible.&lt;/p&gt;

&lt;p&gt;And the interesting part is that small improvements across several layers added up to a pretty significant difference.&lt;/p&gt;

&lt;p&gt;Still experimenting with it, but this was a good reminder that performance optimization is mostly about &lt;strong&gt;finding the actual bottleneck instead of guessing.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What’s the biggest latency bottleneck you've found in one of your projects?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>saas</category>
    </item>
    <item>
      <title>I Thought AI Interior Design Was Mostly a Gimmick Until I Built One</title>
      <dc:creator>Sandeep Maddheshiya</dc:creator>
      <pubDate>Sun, 02 Aug 2026 19:04:07 +0000</pubDate>
      <link>https://dev.to/sandeep_maddheshiya/i-thought-ai-interior-design-was-mostly-a-gimmick-until-i-built-one-3lib</link>
      <guid>https://dev.to/sandeep_maddheshiya/i-thought-ai-interior-design-was-mostly-a-gimmick-until-i-built-one-3lib</guid>
      <description>&lt;p&gt;For the longest time, I assumed AI interior design tools were just another "upload a photo and get a fancy render" demo.&lt;/p&gt;

&lt;p&gt;Then I tried building one.&lt;/p&gt;

&lt;p&gt;Turns out, generating the image is the easy part.&lt;/p&gt;

&lt;p&gt;The difficult part is making the result look like something a person could actually imagine doing to their room.&lt;/p&gt;

&lt;p&gt;One thing I noticed while testing is that people rarely ask for a complete redesign.&lt;/p&gt;

&lt;p&gt;Nobody uploads a picture of their bedroom expecting AI to magically create a million-dollar renovation.&lt;/p&gt;

&lt;p&gt;Instead, they ask things like:&lt;/p&gt;

&lt;p&gt;"What if I paint this wall dark green?"&lt;br&gt;
"Would wooden flooring make this room warmer?"&lt;br&gt;
"Can I make this look more minimal without replacing everything?"&lt;br&gt;
"How would this room look if it had better lighting?"&lt;/p&gt;

&lt;p&gt;They're looking for reassurance more than inspiration.&lt;/p&gt;

&lt;p&gt;That changed how I approached the project.&lt;/p&gt;

&lt;p&gt;Initially, I spent most of my time trying to improve image quality. Better prompts, better models, better outputs.&lt;/p&gt;

&lt;p&gt;But after watching people use it, I realized image quality wasn't the biggest problem.&lt;/p&gt;

&lt;p&gt;Speed was.&lt;/p&gt;

&lt;p&gt;People wanted to try ten different ideas in five minutes instead of spending hours jumping between Pinterest boards, Instagram posts, and random Google Images.&lt;/p&gt;

&lt;p&gt;That felt much more useful than generating one perfect-looking room.&lt;/p&gt;

&lt;p&gt;Another thing I underestimated was how personal interior design is.&lt;/p&gt;

&lt;p&gt;Two people can upload almost identical rooms and ask for completely different styles.&lt;/p&gt;

&lt;p&gt;One wants something cozy.&lt;/p&gt;

&lt;p&gt;The other wants something modern.&lt;/p&gt;

&lt;p&gt;Neither answer is objectively correct.&lt;/p&gt;

&lt;p&gt;The AI isn't replacing creativity—it just helps people explore ideas faster.&lt;/p&gt;

&lt;p&gt;That's probably the biggest lesson I took away from building this.&lt;/p&gt;

&lt;p&gt;For anyone curious, the project is called &lt;a href="https://zyoraai.com/" rel="noopener noreferrer"&gt;ZyoraAI&lt;/a&gt;. I originally started it because I wanted to see how far current vision models could go with room redesigns, but it ended up teaching me more about user behavior than AI itself.&lt;/p&gt;

&lt;p&gt;I'm still experimenting with it, and honestly, watching people interact with the product has been far more interesting than writing the code.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>machinelearning</category>
      <category>interiordesign</category>
    </item>
  </channel>
</rss>
