<?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: Jesse Akowuah</title>
    <description>The latest articles on DEV Community by Jesse Akowuah (@jesse_adu_akowuah_).</description>
    <link>https://dev.to/jesse_adu_akowuah_</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%2F1754696%2Fbc8f289e-030f-484d-be56-e04a050c21a6.png</url>
      <title>DEV Community: Jesse Akowuah</title>
      <link>https://dev.to/jesse_adu_akowuah_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jesse_adu_akowuah_"/>
    <language>en</language>
    <item>
      <title>5 Daily Uses of AI in Our Everyday Lives</title>
      <dc:creator>Jesse Akowuah</dc:creator>
      <pubDate>Tue, 06 Aug 2024 10:48:09 +0000</pubDate>
      <link>https://dev.to/jesse_adu_akowuah_/5-daily-uses-of-ai-in-our-everyday-lives-3j36</link>
      <guid>https://dev.to/jesse_adu_akowuah_/5-daily-uses-of-ai-in-our-everyday-lives-3j36</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvo36u4vlvq1db3bkh1cr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvo36u4vlvq1db3bkh1cr.jpg" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Social Media
&lt;/h2&gt;

&lt;p&gt;Social Media has become an integral part of our daily lives as a medium of connecting with our loved ones, making new connections, and being updated on happenings around us. Facebook’s AI helps its users to translate the various posts on their Newsfeed to the user’s preferred language. Twitter’s AI uses the user’s past activity(likes, comments, and retweets) to recommend the most relevant tweets to the timelines of the user. Instagram also uses its AI with the help of relevant tags and other trending information, to help the user find photos and videos of a particular activity, place, event, restaurant, and discovery experience. one other use of AI used by all the various social media platforms is the curbing of cyberbullying by identifying various keywords and phrases that are tagged as hateful speech.&lt;/p&gt;

&lt;h2&gt;
  
  
  Intelligent Virtual Assistant
&lt;/h2&gt;

&lt;p&gt;IOS has its ‘Siri’ and Android has its ‘Google Assistant’ with Amazon also having ‘Alexa’. all these virtual assistants are powered by AI that’s able to translate your voice commands into binary, a language that computers understand. these commands are then executed such as the playing of music, making calls, creating a remainder, and shopping. these assistants have become popular in recent years and they’re here to stay.&lt;/p&gt;

&lt;h2&gt;
  
  
  Commuting Recommendations
&lt;/h2&gt;

&lt;p&gt;In these modern times, community from one place to another is not a simple process as everyone wants to avoid traffic, this is where the navigation apps come to play. the most popular one is Google Maps, which uses AI to analyze the current movement of traffic to provide the route to reach your destination within the shortest time. this app also takes information from users and news outlets on reports about construction works and accidents to help make better recommendations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Spam Filters
&lt;/h2&gt;

&lt;p&gt;Spam’s origins can be traced back to 1864 when the first unsolicited electronic communications were allegedly sent by telegraph. These were dubious investment offers sent to wealthy Americans. Today, this is an issue of the past, the spam filter has to be one of the important aspects of our inbox as it is powered by Al that identifies key phrases and words in past spam messages to use to filter current and future emails to prevent the user from being spammed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Facial Recognition
&lt;/h2&gt;

&lt;p&gt;About a decade ago, the concept of facial recognition was only a thing found in science fiction movies. Facial recognition is used by both operating systems and software applications. Various operating systems use this for security measures to prevent intruders from accessing your phone, whiles applications such as Tiktok and Snapchat use this AI for facial identification for the usage in their various filters available to users.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Building Your First AWS Web Server: A Beginner's Guide to Cloud Computing</title>
      <dc:creator>Jesse Akowuah</dc:creator>
      <pubDate>Sat, 27 Jul 2024 16:29:46 +0000</pubDate>
      <link>https://dev.to/jesse_adu_akowuah_/building-your-first-aws-web-server-a-beginners-guide-to-cloud-computing-f11</link>
      <guid>https://dev.to/jesse_adu_akowuah_/building-your-first-aws-web-server-a-beginners-guide-to-cloud-computing-f11</guid>
      <description>&lt;p&gt;This project is from one of my Lab sections in my Amalitech AWS reStart Certified Cloud Practitioner Program. It's the perfect project to get your hands dirty with real-world cloud infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  What We're Building
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F001h4s2z1bipkcaevj0k.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F001h4s2z1bipkcaevj0k.jpg" alt="Image description" width="800" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By the end of this tutorial, you'll have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A Virtual Private Cloud (VPC) with public and private subnets&lt;/li&gt;
&lt;li&gt;A web server running on an EC2 instance&lt;/li&gt;
&lt;li&gt;Basic security configurations&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An AWS account (you can create one for free)&lt;/li&gt;
&lt;li&gt;Basic understanding of networking concepts (IP addresses, subnets)&lt;/li&gt;
&lt;li&gt;Patience and curiosity!&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Let's Get Started!
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Step 1: Creating Your Virtual Private Cloud (VPC)
&lt;/h3&gt;

&lt;p&gt;Think of a VPC as your own private section of the AWS cloud. It's where all your resources will live.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Log into the AWS Management Console&lt;/li&gt;
&lt;li&gt;Search for 'VPC' in the search bar and navigate to the VPC dashboard&lt;/li&gt;
&lt;li&gt;Click "Create VPC" and use these settings:

&lt;ul&gt;
&lt;li&gt;Resources to create: VPC and more&lt;/li&gt;
&lt;li&gt;Name tag auto-generation: Uncheck&lt;/li&gt;
&lt;li&gt;IPv4 CIDR: 10.0.0.0/16&lt;/li&gt;
&lt;li&gt;IPv6 CIDR block: No IPv6 CIDR block&lt;/li&gt;
&lt;li&gt;Tenancy: Default&lt;/li&gt;
&lt;li&gt;Number of Availability Zones (AZs): 1&lt;/li&gt;
&lt;li&gt;Number of public subnets: 1&lt;/li&gt;
&lt;li&gt;Number of private subnets: 1&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Customize subnet CIDR blocks:

&lt;ul&gt;
&lt;li&gt;Public subnet in us-west-2a: 10.0.0.0/24&lt;/li&gt;
&lt;li&gt;Private subnet in us-west-2a: 10.0.1.0/24&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Set NAT gateways to "In 1 AZ" and VPC endpoints to "None"&lt;/li&gt;
&lt;li&gt;Review and create your VPC&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Congratulations! You've just set up your own private cloud network.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Expanding Your Network
&lt;/h3&gt;

&lt;p&gt;Now, let's add some more subnets to make our network more resilient.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the VPC dashboard, navigate to "Subnets"&lt;/li&gt;
&lt;li&gt;Create two new subnets:

&lt;ul&gt;
&lt;li&gt;Public Subnet 2 (CIDR: 10.0.2.0/24)&lt;/li&gt;
&lt;li&gt;Private Subnet 2 (CIDR: 10.0.3.0/24)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Associate these new subnets with the appropriate route tables:

&lt;ul&gt;
&lt;li&gt;Public Subnet 2 with the Public Route Table&lt;/li&gt;
&lt;li&gt;Private Subnet 2 with the Private Route Table&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pro tip: Multiple subnets across different Availability Zones increase your application's fault tolerance!&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Securing Your Infrastructure
&lt;/h3&gt;

&lt;p&gt;Security is crucial in the cloud. Let's set up a basic firewall.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the VPC dashboard, go to "Security Groups"&lt;/li&gt;
&lt;li&gt;Create a new security group:

&lt;ul&gt;
&lt;li&gt;Name: Web Security Group&lt;/li&gt;
&lt;li&gt;Description: Enable HTTP access&lt;/li&gt;
&lt;li&gt;VPC: Choose your newly created VPC&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Add an inbound rule:

&lt;ul&gt;
&lt;li&gt;Type: HTTP&lt;/li&gt;
&lt;li&gt;Source: Anywhere IPv4&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This security group will control access to your web server.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Launching Your Web Server
&lt;/h3&gt;

&lt;p&gt;Now for the exciting part – launching your web server!&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Navigate to the EC2 dashboard&lt;/li&gt;
&lt;li&gt;Click "Launch Instance" and use these settings:

&lt;ul&gt;
&lt;li&gt;Name: Web Server 1&lt;/li&gt;
&lt;li&gt;AMI: Amazon Linux 2 AMI (HVM)&lt;/li&gt;
&lt;li&gt;Instance type: t3.micro&lt;/li&gt;
&lt;li&gt;Key pair: Create a new key pair or use an existing one&lt;/li&gt;
&lt;li&gt;Network: Your new VPC, Public Subnet 2&lt;/li&gt;
&lt;li&gt;Security group: Web Security Group&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;In the "Advanced details" section, paste this user data script:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
yum &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-y&lt;/span&gt; httpd mysql php
wget https://aws-tc-largeobjects.s3.us-west-2.amazonaws.com/CUR-TF-100-RESTRT-1/267-lab-NF-build-vpc-web-server/s3/lab-app.zip
unzip lab-app.zip &lt;span class="nt"&gt;-d&lt;/span&gt; /var/www/html/
chkconfig httpd on
service httpd start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Launch your instance!&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This script installs and starts a web server automatically when your instance launches.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Moment of Truth
&lt;/h2&gt;

&lt;p&gt;Once your instance is running and has passed its status checks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select your instance in the EC2 dashboard&lt;/li&gt;
&lt;li&gt;Copy the "Public IPv4 DNS" value&lt;/li&gt;
&lt;li&gt;Paste this into a new browser tab&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you see a welcome page, congratulations! You've successfully set up your first cloud web server!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Building a Movie Recommendation System with Streamlit and Python</title>
      <dc:creator>Jesse Akowuah</dc:creator>
      <pubDate>Wed, 17 Jul 2024 16:33:21 +0000</pubDate>
      <link>https://dev.to/jesse_adu_akowuah_/building-a-movie-recommendation-system-with-streamlit-and-python-5bkm</link>
      <guid>https://dev.to/jesse_adu_akowuah_/building-a-movie-recommendation-system-with-streamlit-and-python-5bkm</guid>
      <description>&lt;p&gt;Hey fellow developers! Today, I'm excited to share a cool project I've been working on: a movie recommendation system built with Python and Streamlit. This system suggests movies based on a user's favorite film, making it a fun way to discover new movies to watch. Let's dive into how it works!&lt;/p&gt;

&lt;h2&gt;
  
  
  The Tech Stack
&lt;/h2&gt;

&lt;p&gt;For this project, we're using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;Streamlit for the web interface&lt;/li&gt;
&lt;li&gt;pandas for data handling&lt;/li&gt;
&lt;li&gt;scikit-learn for text processing and similarity calculations&lt;/li&gt;
&lt;li&gt;TMDb API for fetching movie posters&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Loading&lt;/strong&gt;: We start by loading movie data from a CSV file using pandas.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Feature Engineering&lt;/strong&gt;: We combine several movie features (genres, director, tagline, keywords, cast) into a single string for each movie.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Text Vectorization&lt;/strong&gt;: Using TfidfVectorizer from scikit-learn, we convert our text data into numerical feature vectors.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Similarity Calculation&lt;/strong&gt;: We use cosine similarity to calculate how similar movies are to each other based on their feature vectors.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;User Input&lt;/strong&gt;: Through the Streamlit interface, users can input their favorite movie and choose how many recommendations they want.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Recommendation Generation&lt;/strong&gt;: We find the closest match to the user's input, then use our similarity matrix to find and display the most similar movies.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Movie Posters&lt;/strong&gt;: To make our app more visually appealing, we fetch movie posters from TMDb API.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Code
&lt;/h2&gt;

&lt;p&gt;Here's a breakdown of the main components:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;streamlit&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;st&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pandas&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;pd&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;difflib&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;sklearn.feature_extraction.text&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;TfidfVectorizer&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;sklearn.metrics.pairwise&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;cosine_similarity&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="c1"&gt;# Function to fetch movie posters
&lt;/span&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;fetch_movie_poster&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;movie_title&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="c1"&gt;# ... (implementation details)
&lt;/span&gt;
&lt;span class="c1"&gt;# Load and preprocess data
&lt;/span&gt;&lt;span class="n"&gt;movies_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pd&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;read_csv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;movies.csv&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;selected_features&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;genres&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;director&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;tagline&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;keywords&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;cast&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;# Combine features and vectorize
&lt;/span&gt;&lt;span class="n"&gt;combined_features&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;movies_data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;genres&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;movies_data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;director&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;movies_data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;tagline&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;movies_data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;cast&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;movies_data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;keywords&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;vectorizer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;TfidfVectorizer&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;feature_vector&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;vectorizer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fit_transform&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;combined_features&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Calculate similarity
&lt;/span&gt;&lt;span class="n"&gt;similarity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;cosine_similarity&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;feature_vector&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Streamlit UI
&lt;/span&gt;&lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;title&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Movie Recommendation System&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;movie_name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;text_input&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Enter the name of your favorite movie:&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;num_recommendations&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;st&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;slider&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;How many recommendations would you like?&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;min_value&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;max_value&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Generate and display recommendations
&lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;movie_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# ... (recommendation logic)
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Running the App
&lt;/h2&gt;

&lt;p&gt;To run this app, make sure you have all the required libraries installed and a &lt;code&gt;movies.csv&lt;/code&gt; file with the necessary data. Then, simply run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;streamlit run your_script_name.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Future Improvements
&lt;/h2&gt;

&lt;p&gt;There are several ways this System could be improved:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Implement user accounts to track viewing history and improve recommendations over time.&lt;/li&gt;
&lt;li&gt;Add more data sources to get a broader range of movies and more detailed information.&lt;/li&gt;
&lt;li&gt;Incorporate collaborative filtering to consider user ratings and preferences.&lt;/li&gt;
&lt;li&gt;Optimize the similarity calculation for larger datasets.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Building this movie recommendation system was a fun way to combine data science concepts with web development. It's a great starting point for more complex recommendation systems and showcases the power of Python libraries like scikit-learn and Streamlit.&lt;/p&gt;

&lt;p&gt;I hope you found this interesting! Feel free to try it out, modify the code, and let me know if you have any questions or suggestions for improvements.&lt;/p&gt;

&lt;p&gt;Happy coding! 🎬🍿&lt;/p&gt;

</description>
    </item>
    <item>
      <title>My First AWS EC2 Project: Hosting a Static Website</title>
      <dc:creator>Jesse Akowuah</dc:creator>
      <pubDate>Sat, 13 Jul 2024 16:17:13 +0000</pubDate>
      <link>https://dev.to/jesse_adu_akowuah_/my-first-aws-ec2-project-hosting-a-static-website-1ab5</link>
      <guid>https://dev.to/jesse_adu_akowuah_/my-first-aws-ec2-project-hosting-a-static-website-1ab5</guid>
      <description>&lt;p&gt;Are you looking to break into cloud computing? Let me share my recent experience setting up a static website on Amazon Web Services (AWS) using an EC2 instance. This project was a great introduction to cloud infrastructure and helped me gain hands-on experience with AWS.&lt;/p&gt;

&lt;p&gt;Getting Started with EC2&lt;/p&gt;

&lt;p&gt;First, I logged into the AWS console and searched for EC2. After navigating to the Instances section, I clicked "Create Instance." For this project, I chose a Linux server with a t3.micro instance type—perfect for learning as it's part of the AWS Free Tier.&lt;/p&gt;

&lt;p&gt;Setting Up the Instance&lt;/p&gt;

&lt;p&gt;Once my instance was running, I clicked on the instance ID to access its information page. The next step was connecting to the instance via SSH. I used Git Bash, ensuring I was in the same directory as my downloaded key pair (.pem) file.&lt;/p&gt;

&lt;p&gt;To connect, I ran these commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;chmod 400 keyparfilename.pem
ssh -i keyparfilename.pem ubuntu@ec2-public-IP-address.AWSareaID.compute.amazonaws.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Installing Necessary Software&lt;/p&gt;

&lt;p&gt;After successfully connecting, I switched to root access with &lt;code&gt;sudo su -&lt;/code&gt;. Then, I installed and started Nginx:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt install nginx -y
systemctl start nginx
systemctl enable nginx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I also installed unzip to help with unpacking the website files:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt install unzip
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Deploying the Website&lt;/p&gt;

&lt;p&gt;Next, I downloaded and unzipped the website files:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl "name-of-zipped-file" -o "preferred-file-name.zip"
unzip preferred-file-name.zip
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, I copied all the files to the Nginx web directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cp -r * /var/www/html/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Viewing the Result&lt;/p&gt;

&lt;p&gt;With everything set up, I copied the public IP address from the AWS console and pasted it into a web browser. Voila! My website was live.&lt;/p&gt;

&lt;p&gt;Challenges and Learnings&lt;/p&gt;

&lt;p&gt;While the process seems straightforward now, I encountered a few hiccups along the way. Understanding the EC2 dashboard took some time, and I initially struggled with SSH connections. However, careful reading of AWS documentation, Youtube videos, our slack channel and some troubleshooting helped me overcome these obstacles.&lt;/p&gt;

&lt;p&gt;This project taught me valuable lessons about cloud infrastructure, Linux command line, and web servers. It's amazing to see how quickly you can deploy a website using cloud services!&lt;/p&gt;

&lt;p&gt;If you're looking to start your cloud computing journey, I highly recommend trying out a similar project. It's a great way to get hands-on experience and build your confidence in working with AWS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fztacp51z78fy8zyk9mip.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fztacp51z78fy8zyk9mip.png" alt="Image description" width="800" height="392"&gt;&lt;/a&gt;&lt;br&gt;
Screenshot of the Hosted Website&lt;br&gt;
Website template accessed from : &lt;a href="https://www.tooplate.com/view/2135-mini-finance" rel="noopener noreferrer"&gt;https://www.tooplate.com/view/2135-mini-finance&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Cloud Computing ?</title>
      <dc:creator>Jesse Akowuah</dc:creator>
      <pubDate>Wed, 10 Jul 2024 17:06:01 +0000</pubDate>
      <link>https://dev.to/jesse_adu_akowuah_/what-is-cloud-computing--2kgf</link>
      <guid>https://dev.to/jesse_adu_akowuah_/what-is-cloud-computing--2kgf</guid>
      <description>&lt;h2&gt;
  
  
  Tired of Expensive IT Costs and Managing Servers? Cloud Computing Can Be Your Game-Changer!
&lt;/h2&gt;

&lt;p&gt;The concept of cloud computing revolves around the provision of IT services to end users for a fee. Unlike traditional computing where users shoulder the upfront costs for every capability they need, cloud computing offers a more flexible and cost-effective solution. &lt;/p&gt;

&lt;p&gt;Imagine a bank requiring a server for its network operations. Traditionally, they'd need a physical location to house the servers, purchase and install them, and dedicate staff to manage them. Cloud computing eliminates all these upfront costs by providing the bank's server needs over the internet. &lt;/p&gt;

&lt;h2&gt;
  
  
  Cloud Computing Benefits: Numerous Advantages for Businesses
&lt;/h2&gt;

&lt;p&gt;Cloud computing offers a multitude of benefits for businesses of all sizes. Here are some key advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cost Efficiency:&lt;/strong&gt;  Cloud computing's biggest edge over traditional IT is its ability to save customers money.  Since it's essentially "on-demand IT,"  you avoid the upfront costs of acquiring traditional IT infrastructure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Accessibility:&lt;/strong&gt;  This computing option allows for service accessibility at various locations across the internet for the same client. This empowers remote work for startups and small companies, fostering a more flexible work environment. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Security:&lt;/strong&gt; Cloud providers invest heavily in security measures to safeguard your data. Regular backups and disaster recovery features ensure business continuity in case of unforeseen events. For instance, cloud providers like Amazon Web Services (AWS) and Microsoft Azure utilize encryption to safeguard your data at rest and in transit. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Scalability:&lt;/strong&gt; The cloud allows you to easily scale resources (storage, computing power, and networking) up or down as your needs evolve. No need to invest in expensive hardware upfront; you only pay for what you use.  Cloud resources can automatically scale up during peak hours and down during slower periods, optimizing costs and performance.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cloud Deployment Models: Choosing the Right Fit
&lt;/h2&gt;

&lt;p&gt;Cloud service providers offer various deployment models to cater to different client needs. Here's a breakdown of the fundamental types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Public Cloud:&lt;/strong&gt;  A cloud deployment model where a third-party manages all the services, and cloud resources are delivered through the internet. Many companies share the same resources from the public cloud.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Private Cloud:&lt;/strong&gt;  A cloud deployment system where a single company exclusively uses the architecture and infrastructure. The infrastructure can be on-premises or hosted by a third party.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hybrid Cloud:&lt;/strong&gt;  A cloud deployment model that combines both public and private cloud computing models, allowing transfer of data and resources between the two.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cloud Service Models: A Spectrum of Services
&lt;/h2&gt;

&lt;p&gt;Cloud service providers offer three main service models that clients can choose from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Infrastructure as a Service (IaaS):&lt;/strong&gt;  Offers all computing resources and infrastructure in a virtual environment accessible to multiple users. Services include storage, databases, servers, and networking.  Examples of IaaS include virtual machines, storage, and networking equipment.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Platform as a Service (PaaS):&lt;/strong&gt;  An environment where users can build, compile, and run their programs without managing the underlying infrastructure. This caters primarily to software developers.  Examples of PaaS include Heroku, Google App Engine, and Microsoft Azure App Service. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Software as a Service (SaaS):&lt;/strong&gt; Provides pay-per-use access to application software for end users. Accessible with either a web browser or a lightweight software application. End customers benefit the most from SaaS. Examples of SaaS include Microsoft Office 365, Gmail, Salesforce, Dropbox, Zoom, and Slack.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>aws</category>
      <category>learning</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
