<?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: Sanura Kethmira Gamage</title>
    <description>The latest articles on DEV Community by Sanura Kethmira Gamage (@sanurag).</description>
    <link>https://dev.to/sanurag</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3365529%2Ffde7bf1f-b065-4d09-b839-69bd04a88024.jpeg</url>
      <title>DEV Community: Sanura Kethmira Gamage</title>
      <link>https://dev.to/sanurag</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanurag"/>
    <language>en</language>
    <item>
      <title>From Touch to Tech: How Your Fingerprint Becomes Your Digital Key</title>
      <dc:creator>Sanura Kethmira Gamage</dc:creator>
      <pubDate>Thu, 18 Sep 2025 09:32:45 +0000</pubDate>
      <link>https://dev.to/sanurag/from-touch-to-tech-how-your-fingerprint-becomes-your-digital-key-2i39</link>
      <guid>https://dev.to/sanurag/from-touch-to-tech-how-your-fingerprint-becomes-your-digital-key-2i39</guid>
      <description>&lt;h2&gt;
  
  
  INTRODUCTION
&lt;/h2&gt;

&lt;p&gt;Have you ever wondered how your phone unlocks with just a touch, or how police use fingerprints to catch criminals? The answer lies in the tiny ridges on our fingertips. These ridges form unique patterns that no two people share — not even identical twins! This makes fingerprints a powerful tool for identification and security.&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.amazonaws.com%2Fuploads%2Farticles%2Foq5bn4vohrj24lo07kbg.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.amazonaws.com%2Fuploads%2Farticles%2Foq5bn4vohrj24lo07kbg.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Fingerprint?
&lt;/h2&gt;

&lt;p&gt;A fingerprint is a pattern of ridges and valleys on the tip of your finger. These patterns develop before you are born and stay the same throughout your life. Because they never change and are unique, fingerprints are widely used in technology and law enforcement.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Fingerprint Recognition Works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Scanning&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When you place your finger on a sensor, it captures &lt;em&gt;an image&lt;/em&gt;. There are different types of &lt;em&gt;scanners&lt;/em&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Optical scanners&lt;/strong&gt; take a photo of your finger.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Capacitive scanners&lt;/strong&gt; use tiny electrical charges to map your ridges.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Ultrasonic scanners&lt;/strong&gt; use sound waves to build a 3D image of your fingerprint.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Converting into Data&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The fingerprint image is then converted into a &lt;strong&gt;digital pattern.&lt;/strong&gt;&lt;br&gt;
Instead of saving the whole picture, the system looks for special points called &lt;strong&gt;minutiae&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Ridge endings&lt;/strong&gt; – where a line stops.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;*&lt;em&gt;Bifurcations *&lt;/em&gt;– where one line splits into two.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Loops and whorls&lt;/strong&gt; – curved or circular designs.&lt;/p&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.amazonaws.com%2Fuploads%2Farticles%2Fjktv42n4li3edlgsd4vr.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.amazonaws.com%2Fuploads%2Farticles%2Fjktv42n4li3edlgsd4vr.png" alt=" " width="505" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>biotech</category>
      <category>science</category>
      <category>security</category>
    </item>
    <item>
      <title>Mastering PHP's implode(): Effortlessly Join Arrays into Strings</title>
      <dc:creator>Sanura Kethmira Gamage</dc:creator>
      <pubDate>Tue, 22 Jul 2025 01:47:58 +0000</pubDate>
      <link>https://dev.to/sanurag/mastering-phps-implode-effortlessly-join-arrays-into-strings-1mej</link>
      <guid>https://dev.to/sanurag/mastering-phps-implode-effortlessly-join-arrays-into-strings-1mej</guid>
      <description>&lt;p&gt;The &lt;code&gt;implode()&lt;/code&gt; function is one of PHP's most useful string manipulation functions. It takes an array of elements and joins them together into a single string using a specified delimiter.&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.amazonaws.com%2Fuploads%2Farticles%2Fl2pk0gygu1evkug6ytab.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl2pk0gygu1evkug6ytab.jpg" alt=" " width="800" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Basic Syntax&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;implode(string $separator, array $array): string
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;How It Works&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;implode()&lt;/code&gt; function combines all elements of an array into a string, placing the separator between each element. Think of it as the opposite of &lt;code&gt;explode()&lt;/code&gt;, which splits a string into an array.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Basic Usage&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$fruits = ['BMW', 'BENZ', 'AUDI'];
$result = implode(', ', $Germens);
echo $result; // Output: BMW, BENZ, AUDI
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Different Separators&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$numbers = [1, 2, 3, 4, 5];

// Using comma separator
echo implode(',', $numbers); // Output: 1,2,3,4,5

// Using pipe separator
echo implode(' | ', $numbers); // Output: 1 | 2 | 3 | 4 | 5

// Using no separator
echo implode('', $numbers); // Output: 12345
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Performance Considerations&lt;/strong&gt;&lt;br&gt;
For large arrays or frequent operations, &lt;code&gt;implode()&lt;/code&gt; is generally efficient. However, for building very long strings incrementally, consider using output buffering or string concatenation in loops.&lt;/p&gt;

&lt;p&gt;PHP's &lt;code&gt;implode()&lt;/code&gt; function is a powerful yet simple tool that every developer should master. Whether you're building CSV files, creating HTML elements, constructing SQL queries, or simply formatting output, &lt;code&gt;implode()&lt;/code&gt; provides an elegant solution for combining array elements into strings.&lt;/p&gt;

&lt;p&gt;Key takeaways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Versatile&lt;/strong&gt;: Works with any array type and various separators&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Efficient&lt;/strong&gt;: Fast performance even with large datasets
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Intuitive&lt;/strong&gt;: Easy to understand and implement&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Essential&lt;/strong&gt;: Fundamental for data processing and string manipulation&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>How Google Maps Tracks Your Real-Time Speed While Driving</title>
      <dc:creator>Sanura Kethmira Gamage</dc:creator>
      <pubDate>Sat, 19 Jul 2025 04:06:59 +0000</pubDate>
      <link>https://dev.to/sanurag/how-google-maps-tracks-your-real-time-speed-while-driving-491a</link>
      <guid>https://dev.to/sanurag/how-google-maps-tracks-your-real-time-speed-while-driving-491a</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2Fwq9xtle8tgqey2l19wuq.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.amazonaws.com%2Fuploads%2Farticles%2Fwq9xtle8tgqey2l19wuq.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Gets GPS Data From Your Device
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Location Tracking&lt;/strong&gt;: Your Smartphone's GPS receive communication with satellite to pinpoint your location(latitude , longitude and attitude)multiple times per second&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Speed Calculation: By Tracking  how your location changes over time Google Maps Calculate Your Speed using this formula&lt;br&gt;
          &lt;strong&gt;Speed = Distance /  Time **&lt;br&gt;
-Accuracy  : GPS is **Highly Accurate&lt;/strong&gt; for speed calculation . often more precise than a vehicle's speedometer&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2.Collect Crowdsourced Data
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is Crowdsourced Data&lt;/strong&gt; : information collected from a large group of people, often through online platforms, to be used for a specific purpose like research or improving a product or service&lt;br&gt;
&lt;a href="https://www.investopedia.com/terms/c/crowdsourcing.asp" rel="noopener noreferrer"&gt;More About Crowdsourced Data &lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Aggregate data related Maps&lt;/strong&gt; : Google Maps collects anonymized location data from millions of users (with location services enabled) to estimate real-time traffic conditions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Recognize Pattern from the Data&lt;/strong&gt; :By analyzing the speeds of multiple vehicles on a road segment, Google Maps can infer traffic conditions (e.g., free-flowing, slow, or congested) and display your speed in context with others.&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.amazonaws.com%2Fuploads%2Farticles%2Fuvvfxn2v3k4sury6c19z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuvvfxn2v3k4sury6c19z.jpg" alt=" " width="800" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Collect Data From your Device
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Accelerometer and Gyroscope&lt;/strong&gt;: Your smartphone's sensors can detect motion and orientation, providing additional data to refine speed and direction calculations, especially in areas with weaker GPS signals&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Signal Corrections&lt;/strong&gt;: If GPS signals are temporarily lost, these sensors help estimate your movement until the signal is restored.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It All Comes Together
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Data Fusion&lt;/em&gt;: Google Maps combines GPS data from your device, crowdsourced user data, sensor inputs, and third-party traffic information to provide a real-time estimate of your speed and traffic conditions.&lt;br&gt;
&lt;em&gt;Processing&lt;/em&gt;: The app processes this data in real-time, using algorithms to filter noise (e.g., GPS drift) and provide smooth, accurate speed readings.&lt;br&gt;
&lt;em&gt;Cloud Support&lt;/em&gt;: Some calculations may occur on Google's servers, especially for aggregating traffic data or refining estimates in complex environments.&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.amazonaws.com%2Fuploads%2Farticles%2Fxzc85mj69q79bs8xoj5s.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxzc85mj69q79bs8xoj5s.jpg" alt=" " width="800" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Google Maps combines powerful technologies—&lt;strong&gt;GPS, sensors, AI, and crowdsourced data&lt;/strong&gt;—to bring you real-time driving speed with impressive accuracy. Next time you're on the road, you’ll know exactly how it works!&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Have thoughts or questions? Drop a comment below or share your experience using GPS speed tracking!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to dive deeper? Here are a few resources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://electronics.howstuffworks.com/how-does-google-maps-predict-traffic.htm" rel="noopener noreferrer"&gt;How Google Maps Predicts Traffic (HowStuffWorks)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://blog.google/products/maps/google-maps-101-how-ai-helps-predict-traffic-and-determine-routes/" rel="noopener noreferrer"&gt;Google’s AI Traffic Predictions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2108.11482" rel="noopener noreferrer"&gt;ETA Prediction with Graph Neural Networks (arXiv)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.researchgate.net/publication/389695081_MAPPING_VIA_GOOGLE_MAPS_AND_HANDHELD_GPS_ACCURACY_ASPECTS" rel="noopener noreferrer"&gt;Accuracy of Google Maps GPS vs Handheld Devices (ResearchGate)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
  </channel>
</rss>
