<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shanika_Dilrukshi on Medium]]></title>
        <description><![CDATA[Stories by Shanika_Dilrukshi on Medium]]></description>
        <link>https://medium.com/@shanika010712?source=rss-8ee7b42fee0e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mmMY_jEtkqv6JsYTp5oJ5w.jpeg</url>
            <title>Stories by Shanika_Dilrukshi on Medium</title>
            <link>https://medium.com/@shanika010712?source=rss-8ee7b42fee0e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:30:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shanika010712/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deploying Large Python Projects Using Docker and AWS Lambda]]></title>
            <link>https://medium.com/@shanika010712/deploying-large-python-projects-using-docker-and-aws-lambda-c101c3667cdc?source=rss-8ee7b42fee0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c101c3667cdc</guid>
            <dc:creator><![CDATA[Shanika_Dilrukshi]]></dc:creator>
            <pubDate>Sat, 29 Mar 2025 13:31:01 GMT</pubDate>
            <atom:updated>2025-03-29T13:31:01.407Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction</strong></h3><p>Deploying a Python project to AWS Lambda becomes challenging when the project’s zipped size exceeds 75 MB, as AWS Lambda imposes a maximum deployment package size of 50 MB when uploaded directly and 250 MB when uploaded via Amazon S3. To overcome this limitation, you can utilize Docker images and AWS services like Elastic Container Registry (ECR) and Lambda. This guide outlines the steps to deploy a large Python project using Docker and AWS services.</p><h3><strong>Process</strong></h3><p><strong>1. Prerequisites</strong></p><p>Before you begin, ensure you have the following:</p><ul><li><strong>AWS Account</strong>: An active AWS account with the necessary permissions.​</li><li><strong>Docker</strong>: Docker Desktop installed on your local machine.​</li><li><strong>AWS Command Line Interface (CLI)</strong>: Installed and configured on your local machine.​</li><li><strong>AWS Identity and Access Management (IAM) User</strong>: With permissions to access ECR and Lambda.​</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/1*sRDcjGKrrr8cUUA-CWQMBA.jpeg" /></figure><p><strong>2. Set Up the AWS Platform</strong></p><ul><li><strong>Create a Repository in AWS ECR</strong>: Set up a repository in Amazon ECR to store your Docker images.​For detailed instructions, refer to the AWS documentation:​<a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-create.html">click here</a></li><li><strong>Create a Lambda Function in AWS</strong>: Establish a Lambda function that will utilize the Docker image.​Guidance on this process can be found here: <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html">click here</a></li></ul><p><strong>3. Set Up the Project</strong></p><ul><li><strong>Understand Your Python Project Version</strong>: Determine the Python version your project uses. This is crucial for compatibility and should be reflected in your Dockerfile.​</li><li><strong>List All Dependencies</strong>: Create a requirements.txt file that includes all necessary dependencies for your project. This ensures that all required packages are installed within the Docker container.​</li><li><strong>Create a Dockerfile</strong>: Develop a Dockerfile to containerize your application. You can utilize existing AWS-provided base images from ECR to streamline this process.​</li><li>Here’s an example of a Dockerfile using an AWS base image for Python</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*EEZdPWG8hPabsg_QU9YygA.png" /><figcaption>Example docker file</figcaption></figure><h4>4.Push the Docker Image to AWS ECR</h4><p>To deploy your Docker image to AWS Lambda using Amazon Elastic Container Registry (ECR), follow these steps:​</p><p><strong>Access the “View Push Commands” in ECR</strong></p><ul><li>Navigate to the <a href="https://console.aws.amazon.com/ecr/home">Amazon ECR console</a>.​</li><li>Select your repository and click on the “View push commands” button to display the necessary commands for pushing your Docker image. ​</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*jU7wAUO2zm-85iIj.png" /></figure><p><strong>Prepare Your Local Environment</strong></p><ul><li>Ensure that the AWS Command Line Interface (CLI) is installed and configured on your local machine.​</li><li>Open your terminal and navigate to your project directory containing the Dockerfile.​</li></ul><p><strong>Authenticate Docker to Your AWS Account</strong></p><ul><li>Execute the authentication command provided in the “View push commands” section to authenticate Docker with your AWS account.​</li></ul><p><strong>Build, Tag, and Push Your Docker Image</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tRvntCXpNbFUi7jNKrsGkQ.png" /><figcaption>Example commands</figcaption></figure><p><strong>5.Deploy the Docker Image to AWS Lambda</strong></p><ul><li>Navigate to the <a href="https://console.aws.amazon.com/lambda/home">AWS Lambda console</a>.​</li><li>Provide the function name and select the image from your ECR repository by browsing for the image.​</li><li>Configure the function settings as needed and create the function.</li></ul><p><strong>6. Test the Deployment</strong></p><p>After deploying your Dockerized Python application to AWS Lambda, it’s essential to verify its functionality and performance. Here are several methods to test and monitor your Lambda function:</p><p><strong>1. Use the AWS Lambda Console’s Test Feature:</strong></p><ul><li>Navigate to the <a href="https://console.aws.amazon.com/lambda/home">AWS Lambda console</a> and select your function.</li><li>Click on the “Test” tab.​</li><li>Create a new test event by providing a sample JSON input that your function expects. If your function doesn’t require input, you can use an empty JSON document ({}).​</li><li>Save the test event and click “Test” to invoke your function. Review the execution results to ensure it behaves as expected.​</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HRk_7RF1TBDP1c8U.png" /><figcaption>Test tab</figcaption></figure><p><strong>2. Monitor Logs with Amazon CloudWatch:</strong></p><ul><li>AWS Lambda automatically logs function invocations and results to Amazon CloudWatch Logs. To view these logs:​</li><li>Go to the <a href="https://console.aws.amazon.com/cloudwatch/home">CloudWatch console</a>.​</li><li>Navigate to “Logs” and find the log group associated with your Lambda function (typically named /aws/lambda/your-function-name).​</li><li>Examine the log streams to review detailed logs of each function invocation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JKapcOWkMoSMmmYe.png" /><figcaption>Example for cloud watch interface</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c101c3667cdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transparent Aluminum]]></title>
            <link>https://medium.com/@shanika010712/transparent-aluminum-cc8c371379cc?source=rss-8ee7b42fee0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc8c371379cc</guid>
            <dc:creator><![CDATA[Shanika_Dilrukshi]]></dc:creator>
            <pubDate>Wed, 13 Nov 2024 01:28:00 GMT</pubDate>
            <atom:updated>2024-11-13T01:28:00.292Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I heard about a tragic accident in Sri Lanka’s Badulla District, where students were injured by broken glass shards. This incident got me thinking ,what if we could create windows that don’t shatter into dangerous fragments? The answer may lie in an extraordinary material known as transparent aluminum, or more formally, aluminum oxynitride (ALON).</p><p>Transparent aluminum isn’t just science fiction .it’s a real innovation that could transform industries and save lives. ALON was first developed in 1974 and has since been recognized for its remarkable strength and transparency. Unlike traditional glass, ALON is highly durable, making it ideal for use in high-risk environments</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*29c7cXEElnUfjXtyrcO9Qg.png" /><figcaption>Transparent Aluminum</figcaption></figure><p><strong>What is ALON?</strong></p><p>ALON is a unique and advanced material made from a combination of aluminum, oxygen, and nitrogen. Its discovery dates back to 1974, and since then, researchers have been working to refine and develop it. ALON is a type of ceramic that has exceptional qualities, combining the transparency of glass with the durability and strength of metals. This makes it an ideal candidate for high-stress applications like military vehicles, spacecraft windows, and ballistic armor.</p><p><strong>Where is ALON Used?</strong></p><p>Due to its strength, transparency, and resistance to damage, ALON is primarily used in military and aerospace industries. Some of its key applications include:</p><ul><li><strong>Military Vehicles</strong>: ALON is used in armored vehicles as a transparent material for windows, providing protection against bullets and shrapnel while allowing visibility.</li><li><strong>Aerospace</strong>: ALON is used for spacecraft windows and certain components, as it can withstand the harsh conditions of space travel, including high-speed impacts and extreme temperatures.</li><li><strong>Ballistic Armor</strong>: ALON is employed in bulletproof armor for both military personnel and vehicles due to its ability to resist high-velocity impacts.</li><li><strong>Security and Defense</strong>: ALON is also used in high-security environments where both transparency and protection from external threats are required.</li></ul><p><strong>Why Can’t We Use ALON in Daily Life?</strong></p><p>The main challenges include its <strong>high production cost</strong>, as the manufacturing process is complex and energy-intensive, making it much more expensive than traditional glass. <strong>Limited production</strong> capabilities, with only a few companies like Raytheon and Alcoa leading in ALON production, further restrict its availability. Additionally, <strong>ALON is heavier</strong> than standard glass, making it less suitable for applications where weight is a concern, such as cars and buses. <strong>Mass adoption</strong> is also hindered by its niche use in military and aerospace sectors, with ongoing research aimed at reducing costs. Finally, while ALON is more durable than glass, it has a <strong>slightly opaque appearance</strong>, which may not be ideal for applications requiring clear transparency, like windows.</p><p>ALON is an advanced material with exceptional properties, including transparency, strength, and resistance to impact. While it is widely used in military and aerospace industries for applications like armored windows and spacecraft, it is not yet a practical option for everyday use due to its high cost, limited production, and other technical challenges. However, as manufacturing processes improve and costs decrease, ALON might eventually become more accessible and find its way into civilian applications, offering a stronger, safer alternative to traditional glass in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc8c371379cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Julia Programming Language: A Modern Tool for High-Performance Computing]]></title>
            <link>https://medium.com/@shanika010712/julia-programming-language-a-modern-tool-for-high-performance-computing-b6faf5352b53?source=rss-8ee7b42fee0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6faf5352b53</guid>
            <dc:creator><![CDATA[Shanika_Dilrukshi]]></dc:creator>
            <pubDate>Mon, 12 Aug 2024 13:50:40 GMT</pubDate>
            <atom:updated>2024-08-12T13:52:27.315Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>Julia is a high-level, general-purpose, and dynamic programming language designed to meet the demands of data science, scientific computing, and artificial intelligence (AI) applications. Combining the ease of use associated with languages like Python and R with the performance of C and Fortran, Julia has quickly emerged as a powerful tool in the realm of technical computing. Developed with a focus on efficiency, simplicity, and scalability, Julia is supported by a rich ecosystem of libraries and tools for data analysis and visualization.</p><p>Conceived by Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and Alan Edelman in 2012, Julia represents a fresh approach to high-performance numerical computing. Its design addresses the needs of technical computing, offering performance comparable to that of C++ and Fortran while maintaining an accessible syntax that facilitates the expression of complex mathematical concepts. As an open-source language, Julia is accessible to anyone looking to harness its power for large-scale data analytics and computational projects.</p><p><strong>How Julia Stands Out</strong></p><p>Julia distinguishes itself from other programming languages by blending the best features of established languages while eliminating many of their drawbacks. Unlike older languages such as Python, C++, or JavaScript, Julia was designed with the benefit of hindsight, allowing its developers to incorporate the strengths of existing languages while avoiding inconvenient features.</p><p>One of Julia’s standout features is its speed, comparable to that of compiled languages like C/C++. At the same time, it offers a syntax as straightforward as that of interpreted languages like Python. This is achieved through Julia’s Just-In-Time (JIT) compiler, which combines Ahead-Of-Time (AOT) compilation with interpretation. Additionally, Julia supports a Read-Eval-Print Loop (REPL), enabling code to be interpreted as it is written, which is particularly convenient for programmers. Julia’s compatibility with other languages, such as C/C++, Java, and Python, further enhances its versatility, allowing developers to integrate existing codebases seamlessly.</p><p><strong>Key Features</strong></p><ul><li><strong>High-Level Language with Simple Syntax</strong>: Julia’s syntax is user-friendly, particularly for those familiar with Python.</li><li><strong>Compiled Performance</strong>: Julia’s performance is on par with compiled languages like C or Fortran.</li><li><strong>Multiple Dispatch</strong>: Julia allows functions to be defined for different types of inputs, offering flexibility in code design.</li></ul><p><strong>Why Choose Julia?</strong></p><ul><li><strong>Speed and Performance</strong>: Julia is engineered for high-performance computing, making it significantly faster than many other high-level languages.</li><li><strong>Ease of Use</strong>: The language’s syntax is easy to learn, especially for users with experience in Python or MATLAB.</li><li><strong>Flexibility</strong>: Julia is suitable for a broad range of applications, from data science and machine learning to web development.</li><li><strong>Interoperability</strong>: Julia integrates seamlessly with other languages like Python, R, and C++, making it a versatile tool in multi-language environments.</li></ul><p><strong>Applications of Julia</strong></p><p>Thanks to its math-friendly syntax and exceptional speed, Julia has become the preferred choice for a wide range of applications, including:</p><ul><li><strong>Algebraic and Numerical Computing</strong></li><li><strong>Data Science and Machine Learning</strong></li><li><strong>Artificial Intelligence</strong></li><li><strong>Distributed and Parallel Computing</strong></li><li><strong>Web Application Development</strong></li></ul><p><strong>Conclusion</strong></p><p>Julia is more than just another programming language; it is a powerful tool poised to shape the future of computing. With its blend of speed, simplicity, and flexibility, Julia is ideally suited for fields that demand high performance and scalability. As the landscape of technical computing continues to evolve, Julia stands out as a language designed for the challenges and opportunities of tomorrow.</p><p><strong>References</strong></p><ul><li>Leftronic Blog on Julia Programming Language</li><li>JuliaLang Blog: Why We Created Julia</li><li>Guides at University of Cincinnati Libraries on Julia</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*vYFK-z1BM2b3_QDvlflfnA.png" /><figcaption>Julia programming language</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6faf5352b53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Brain-Computer Interface (BCI): Bridging Minds and Machines]]></title>
            <link>https://medium.com/@shanika010712/brain-computer-interface-bci-bridging-minds-and-machines-35482a59a19d?source=rss-8ee7b42fee0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/35482a59a19d</guid>
            <dc:creator><![CDATA[Shanika_Dilrukshi]]></dc:creator>
            <pubDate>Tue, 09 Jul 2024 13:42:47 GMT</pubDate>
            <atom:updated>2024-07-09T13:42:47.716Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Brain-Computer Interface (BCI): Bridging Minds and Machines</blockquote><blockquote>As a machine learning researcher, I am always eager to discover new ideas and technologies. One day, while watching a scientific movie, I came across a fascinating technology used in the film story: Brain-Computer Interface (BCI). Intrigued, I decided to delve deeper into this technology. This article shares the insights I gained about BCI.</blockquote><blockquote>If we can control items using only our thoughts, it is no longer a dream or a scientific fairy tale. The technology that enables communication between the brain and machines is called Brain-Computer Interface (BCI) or Brain-Machine Interface (BMI).</blockquote><blockquote><strong>What is BCI?</strong></blockquote><blockquote>Simply, Brain-Computer Interface (BCI) technology represents a groundbreaking advancement in the interaction between the human brain and external devices. By translating brain signals into commands, BCIs open up new possibilities for communication, control, and understanding of neural processes.</blockquote><blockquote><strong>History of BCI</strong></blockquote><blockquote>Research on BCIs began in the 1970s by Jacques Vidal at the University of California, Los Angeles (UCLA), under a grant from the National Science Foundation.In 2011 Krusienski and Shih,Demonstrated that ECoG signals could be translated by a BCI to allow accurate spelling of words on a computer screen.</blockquote><blockquote><strong>How BCI Works</strong></blockquote><blockquote><strong>Signal Acquisition:</strong> Signal acquisition involves the measurement of brain signals using a specific sensor modality, such as EEG (electroencephalography), ECoG (electrocorticography), or fNIRS (functional near-infrared spectroscopy).</blockquote><blockquote><strong>Feature Extraction:</strong> Feature extraction is the process of analyzing the digital signals to distinguish pertinent signal characteristics. This step is crucial for identifying patterns and relevant data within the brain signals.</blockquote><blockquote><strong>Feature Translation:</strong> The extracted features are then passed to the feature translation algorithm, which converts the features into appropriate commands for the output device. This step enables the brain signals to control external devices.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*ibol6F3EEgKEBZ9gdwaPCQ.jpeg" /><figcaption>BCI workflow</figcaption></figure><blockquote>Types of BCI</blockquote><blockquote><strong>Invasive BCIs</strong>: Electrodes are implanted directly into the brain tissue. These BCIs offer high precision and signal quality but involve surgical risks.</blockquote><blockquote><strong>Non-Invasive BCIs</strong>: Electrodes are placed on the scalp. While safer and easier to implement, these BCIs often have lower signal quality and are susceptible to noise.</blockquote><blockquote><strong>Applications of BCI</strong></blockquote><blockquote>Medical Field</blockquote><blockquote><strong>Neurorehabilitation</strong>: Assists stroke and spinal cord injury patients in regaining motor functions.</blockquote><blockquote><strong>Prosthetics Control</strong>: Enables amputees to control prosthetic limbs with brain signals.</blockquote><blockquote><strong>Epilepsy Treatment</strong>: Predicts and prevents seizures by monitoring brain activity.</blockquote><blockquote>Education field</blockquote><blockquote><strong>Enhanced Learning</strong>: Tracks student attention and engagement during lessons.</blockquote><blockquote><strong>Assistive Technology</strong>: Helps students with disabilities interact with computers.</blockquote><blockquote><strong>Neurofeedback Training</strong>: Improves cognitive skills through brain activity feedback.</blockquote><blockquote>Gaming Field</blockquote><blockquote><strong>Immersive Gaming</strong>: Allows control of game elements using brain signals.</blockquote><blockquote><strong>Adaptive Difficulty</strong>: Adjusts game difficulty based on player’s mental state.</blockquote><blockquote><strong>Controller-Free Play</strong>: Enables gameplay without traditional controllers.</blockquote><blockquote>Brain-Computer Interface (BCI) technology is transforming the way we interact with machines. From medical applications that aid in recovery and communication, to enhancing education and creating immersive gaming experiences, BCIs are bridging the gap between our minds and technology, paving the way for exciting advancements in various fields.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35482a59a19d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pursuing My Dream: Establishing o2.ai]]></title>
            <link>https://medium.com/@shanika010712/pursuing-my-dream-establishing-o2-ai-e037013e969f?source=rss-8ee7b42fee0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e037013e969f</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[woman-empowerment]]></category>
            <category><![CDATA[dreams-and-visions]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Shanika_Dilrukshi]]></dc:creator>
            <pubDate>Wed, 10 Apr 2024 09:52:42 GMT</pubDate>
            <atom:updated>2024-04-10T10:09:34.760Z</atom:updated>
            <content:encoded><![CDATA[<p>Pursuing My Dream: Establishing o2.ai</p><p>By K. Shanika Dilrukshi</p><p>As a young woman from a middle-class family in Sri Lanka, the journey to where I am today hasn’t been easy. But with determination, support, and a clear vision, I am on a path to achieving my dream of establishing o2.ai — an AI company that not only pushes the boundaries of technology but also creates opportunities for <a href="https://www.sab.ac.lk/">university students</a> like myself.</p><p>Growing up, education was instilled in me as the key to unlocking opportunities. With the support of my family and the opportunities provided by government education, I found myself enrolled in <a href="https://www.sab.ac.lk/">Sabaragamuwa University</a>, pursuing my <a href="https://www.sab.ac.lk/">undergraduate degree</a>. It was here that my passion for entrepreneurship and technology began to take shape.</p><p>Despite the challenges and doubts that come with being a woman in a male-dominated field, I refused to let anything stand in the way of my dreams. I’ve encountered barriers, both external and internal, but I’ve learned that with hard work and resilience, anything is possible.</p><p>The idea for o2.ai came to me as a way to combine my passion for AI technology with my desire to make a positive impact in my community. I envision o2.ai not just as a company, but as a platform for innovation and opportunity. By providing job opportunities to <a href="https://www.sab.ac.lk/">university</a> students, especially women, I hope to break down barriers and pave the way for the next generation of entrepreneurs and technologists.</p><p>The road ahead may be challenging, but I am fueled by a sense of purpose and determination. With the support of my university lecturers and fellow students, I am confident that I can turn my dream of o2.ai into a reality.</p><p>As I look towards the future, I am excited about the possibilities that lie ahead. With hard work, focus, and a relentless pursuit of my goals, I am determined to make my mark as the founder of o2.ai — a name that will be synonymous with innovation, opportunity, and empowerment.</p><p>Dreams do come true, but they require dedication, perseverance, and a belief in oneself. I invite you to join me on this journey as we strive to turn dreams into reality and make a difference in the <em>world</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e037013e969f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>