<?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: Muhammad Habib Jawady</title>
    <description>The latest articles on DEV Community by Muhammad Habib Jawady (@hbibzdeploy).</description>
    <link>https://dev.to/hbibzdeploy</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%2F47352%2Fb7d5fb8b-7693-4641-a0ad-6389fd3e4b53.jpeg</url>
      <title>DEV Community: Muhammad Habib Jawady</title>
      <link>https://dev.to/hbibzdeploy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hbibzdeploy"/>
    <language>en</language>
    <item>
      <title>Can you recommend a good visualization tool for sorting algorithms?</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Tue, 23 Apr 2019 16:03:00 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/can-you-recommend-a-good-visualization-tool-for-sorting-algorithms-57ho</link>
      <guid>https://dev.to/hbibzdeploy/can-you-recommend-a-good-visualization-tool-for-sorting-algorithms-57ho</guid>
      <description>&lt;p&gt;hello dev.to ers &lt;br&gt;
Do you know of any good visualization tools / videos for sorting algorithms?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>How hard is it to start a programming podcast? Is it worth it?</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Tue, 24 Apr 2018 10:21:53 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/how-hard-is-it-to-start-a-programming-podcast-is-it-worth-it-3a49</link>
      <guid>https://dev.to/hbibzdeploy/how-hard-is-it-to-start-a-programming-podcast-is-it-worth-it-3a49</guid>
      <description></description>
      <category>discuss</category>
    </item>
    <item>
      <title>Unity - A big picture on game development.</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Sun, 25 Mar 2018 02:18:07 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/unity---a-big-picture-on-game-development--59m5</link>
      <guid>https://dev.to/hbibzdeploy/unity---a-big-picture-on-game-development--59m5</guid>
      <description>&lt;h1&gt;
  
  
  &lt;a href="//#Unity---A-big-picture-on-game-development.---Getting-started"&gt;¶&lt;/a&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Funity3d.com%2Fprofiles%2Funity3d%2Fthemes%2Funity%2Fimages%2Fcompany%2Fbrand%2Flogos%2Fprimary%2Funity-master-black.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Funity3d.com%2Fprofiles%2Funity3d%2Fthemes%2Funity%2Fimages%2Fcompany%2Fbrand%2Flogos%2Fprimary%2Funity-master-black.svg" alt="Unity Logo"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Intro:¶
&lt;/h2&gt;

&lt;p&gt;Hello there, It doesn't matter whether you want to persuade a career in game development or want to just discover the process of how to create a game, a good start would be by learning the amazing engine Unity which has absolutely a lot to offer. Actually, game development nowadays consists of exploiting this power to create 2D/3D games and focus more on the concept and the design rather than physics engines, etc...&lt;/p&gt;

&lt;p&gt;In this article, you will learn how easy it actually is to get your feet wet with Unity and the essentials of starting a project using this game development platform. The chain of processes will be presented in more of a hands-on manner where each task answers a given question.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to create a blank project?¶
&lt;/h3&gt;

&lt;p&gt;After downloading Unity, and when you first start it, you will be prompted the launch wizard which will give you the ability to create a new project or browse previous projects and download tutorials. To create a new project:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Click on &lt;em&gt;"New"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt; Choose a name for your project&lt;/li&gt;
&lt;li&gt; Choose a location for your project, in which all assets and needed files will live.&lt;/li&gt;
&lt;li&gt; Click on &lt;em&gt;"Create project"&lt;/em&gt; Once that's done, you will need to wait until Unity generates the files needed for beginning your new project.
A
### How to open a project?¶
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;From your launch wizard, you can select "Open" in order to browse using your file explorer for a desired existing project. Then you can choose "On Disk" to browse local files in your computer or "In the Cloud"&lt;/p&gt;

&lt;h3&gt;
  
  
  Project files' hierarchy?¶
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Funity3d.com%2Fsites%2Fdefault%2Ffiles%2Fstyles%2Foriginal%2Fpublic%2Flearn%2FVZfolderstructure0img1.png%3Fitok%3DVfFkx2IQ" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Funity3d.com%2Fsites%2Fdefault%2Ffiles%2Fstyles%2Foriginal%2Fpublic%2Flearn%2FVZfolderstructure0img1.png%3Fitok%3DVfFkx2IQ"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In order to set our folder structure in Unity, from our Project window (location of all assets and from where we add objects to the scene view) we right click the mouse and hit Create &amp;gt;&amp;gt; Folder and then give it a name. Now, this folder we created for our assets officially is created under the path we chose for the project. exactly at : {path of project}/Assets/{created folder}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note that every change in the folder structure from the project manager affects the project folder and vice versa&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  How to import packages?¶
&lt;/h3&gt;

&lt;p&gt;The Unity asset store and already done Unity projects provide Unity packages, things you are likely to need while building your very own project. In order to import such packages (&lt;strong&gt;&lt;em&gt;UAS&lt;/em&gt;&lt;/strong&gt;):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Select &lt;em&gt;Window&lt;/em&gt; &amp;gt;&amp;gt; &lt;em&gt;Asset store&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt; In the search bar type the type of assets you need, you can use the filtering feature to find what best suits your needs.&lt;/li&gt;
&lt;li&gt; After selecting the desired package, click on the button &lt;em&gt;download&lt;/em&gt; and agree to the terms of service. &lt;img src="//i.imgur.com/SysTU6F.png"&gt;
&lt;/li&gt;
&lt;li&gt; Once the downloaded package is ready, you can import it using the &lt;em&gt;import&lt;/em&gt; button. &lt;img src="//i.imgur.com/OwHisWr.png"&gt;
&lt;/li&gt;
&lt;li&gt; After the previous step, you will notice that the assets in the project window. To explore them, you can double-click the added folder.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;To import a specific installed package, you need to right click in the project manager area &amp;gt;&amp;gt; &lt;em&gt;import package&lt;/em&gt; &amp;gt;&amp;gt; {wanted asset folder name}, after that the same steps above apply&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What are 3D assets?¶
&lt;/h3&gt;

&lt;p&gt;When creating your gameplay, you will actually need to add some sort of assets and environments, such as placeholder objects. That can be done by:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Choosing &lt;em&gt;create&lt;/em&gt; from the &lt;em&gt;hierarchy&lt;/em&gt; panel.&lt;/li&gt;
&lt;li&gt; Selecting "3D Object" &amp;gt;&amp;gt; {an object} &lt;img src="//i.imgur.com/7nEtCNA.png"&gt;
&lt;/li&gt;
&lt;li&gt; After choosing the desired shape, modifying the dimensions can be done using the &lt;em&gt;Scale tool&lt;/em&gt; by dragging the colored cubes . &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fi.imgur.com%2FANJf9WN.png"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once you have a boundary (floor), you can add a character. A standard when prototyping games are to insert capsules (3D primitives) to replace/represent casual players, instead of 3D modeling the shape of the character and UVing it and using something like PhotoShop to create the final look and importing everything as assets (animation clips).&lt;/p&gt;

&lt;h3&gt;
  
  
  * How to import them?
&lt;/h3&gt;

&lt;p&gt;After setting up the 3D model, and making sure it fits Unity scale, and the pivot point then exporting it to the Unity project 's asset/Meshes folder location in fbx ... From the FBX pipeline, make sure you check the animation option if your model is animated. Make sure that the scale is set to 1.0 under the advanced options This must add in the Meshes folder a game Object which when selected adds the import option by dragging it to the scene. Now that the Inspector window is there, you can modify the properties of the imported object like the scale factor.&lt;/p&gt;

&lt;p&gt;I hope that you liked this first article, this was Muhammad Habib Jawady. As always, keep asking !!&lt;/p&gt;

</description>
      <category>unity3d</category>
      <category>gamedev</category>
      <category>big</category>
      <category>picture</category>
    </item>
    <item>
      <title>Do you think a CS degree is a requirement for get a job?</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Sat, 03 Feb 2018 16:03:23 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/do-you-think-a-cs-degree-is-a-requirement-for-get-a-job-42mb</link>
      <guid>https://dev.to/hbibzdeploy/do-you-think-a-cs-degree-is-a-requirement-for-get-a-job-42mb</guid>
      <description>&lt;p&gt;Hello dev.to() members. I was wondering wether you consider getting a CS degree as a requirement for those looking for a job in fields like web/mobile development ...&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>What books/courses do you recommend for those who want to start blockchain. </title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Sun, 17 Dec 2017 19:12:31 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/what-bookscourses-do-you-recommend-for-those-who-want-to-start-blockchain-2ga</link>
      <guid>https://dev.to/hbibzdeploy/what-bookscourses-do-you-recommend-for-those-who-want-to-start-blockchain-2ga</guid>
      <description></description>
      <category>discuss</category>
      <category>blockchain</category>
    </item>
    <item>
      <title>What is the most blurry part of python to you?</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Tue, 12 Dec 2017 22:52:53 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/what-is-the-most-blurry-part-of-python-to-you-co7</link>
      <guid>https://dev.to/hbibzdeploy/what-is-the-most-blurry-part-of-python-to-you-co7</guid>
      <description></description>
      <category>discuss</category>
    </item>
    <item>
      <title>What problems should new programmers expect?</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Tue, 12 Dec 2017 22:38:27 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/what-problems-new-programmers-should-expect-8p3</link>
      <guid>https://dev.to/hbibzdeploy/what-problems-new-programmers-should-expect-8p3</guid>
      <description>

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t4gIQoeJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/800/0%2AEJ1RriyjYAESxPBb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t4gIQoeJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/800/0%2AEJ1RriyjYAESxPBb.jpg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  The struggle of every programmer
&lt;/h4&gt;

&lt;p&gt;Your first program starts off exciting. But after a couple of months coding, the downsides start getting to you. Sooner or later, you will run into problems which will make you bewildered how on earth did people before you get to manage them. The good news is that you are not the only person with the same feeling!&lt;/p&gt;

&lt;p&gt;In fact, all the problems and mistakes you run into have also been made by others who just kicked off just like you. actually isn't programming about knowing how to deal with problems in order to overcome them?&lt;/p&gt;

&lt;p&gt;I will present to you some of the most common problems new programmers may face and a set of solutions the way I think one should deal with them for the purpose of mitigating time and effort loss. Note that this is influenced by my personal preferences and it's nothing but my personal opinion after all.&lt;/p&gt;

&lt;h4&gt;
  
  
  Setting up :
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fMvf1j4u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/800/0%2ADAnGO3gQsiYXXXeQ.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fMvf1j4u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/800/0%2ADAnGO3gQsiYXXXeQ.jpg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Learning programming is definitely arduous itself, and tripping is easy wearing no shoes. Thus, holing your horses and understanding how everything fits together is of central importance. For this reason, I recommend watching this video before proceeding any further.&lt;br&gt;
&lt;a href="https://youtu.be/QXjU9qTsYCc"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--udx7SvRW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/http://img.youtube.com/vi/QXjU9qTsYCc/0.jpg" alt="IMAGE ALT TEXT"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are still stumbling with arranging your development environment, I suggest Visual Studio as it contains almost all what you will be needing to get started.&lt;/p&gt;




&lt;h4&gt;
  
  
  Debugging:
&lt;/h4&gt;

&lt;p&gt;Walking your way out of the 'Hello, world!' zone, programs get more and more tortuous. You may not realize that until you receive your first issues on GitHub; grammar problems, unclickable buttons ... and before you know it that perfect project you were working on becomes a plethora of bugs...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Xc0u6MD_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/800/0%2AJFpDr_OjHWP-V_0c.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Xc0u6MD_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/800/0%2AJFpDr_OjHWP-V_0c.jpg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Don't worry! Even though debugging seems so overwhelming and a critical skill to master, some bugs are easy to spot and fix. The good news, they are more common than you know, that even good software may contain them (that's why usually there's a bugs field in most support/contact-us pages on the web), and that they can be fixed. However, the bad news is that we all agree that debugging is not only frustrating but also tedious. Narrowing down the problem in a long code you're sure it should work is darn hard! And believe me, some debuggers are not your friends when it comes to that ...&lt;/p&gt;

&lt;p&gt;A good practice is to craft the best debugging strategy. A successful debugging process cannot be possible without trying to reproduce the same error at first. In fact, understanding the way a problem was born is half of the solution . &lt;a href="https://web.stanford.edu/class/archive/cs/cs106a/cs106a.1134/handouts/250%20Debugging%20Strategies.pdf"&gt;for more about debugging strategies&lt;/a&gt;&lt;/p&gt;




&lt;h4&gt;
  
  
  Thinking like a programmer:
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ifm4JyF4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/800/0%2Ae5xi7TA71wOrefKT.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ifm4JyF4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/800/0%2Ae5xi7TA71wOrefKT.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Some of you may find this obvious but 50%(when it comes to importance) of a given task is solving it in your bain. Writing the code down, fighting the interpreter/compiler errors, reading the documentation, code snippets ... is the other 50%.&lt;/p&gt;

&lt;p&gt;It is indisputable how fast smart devices are nowadays. Nevertheless, they are incredibly stupid! They do exactly, what you tell them to do, making it dull to think through every single step and convert it into commands/instructions in the code. Actually, that is no longer a problem, as millions of programmers are building libraries which provide a lot of pre-existing functionality.Yet, working on your algorithmic, data structures' skills is a must by training yourself which will help you plan more systematically.&lt;/p&gt;

&lt;p&gt;I advise learning python at first for its friendly syntax (or JS) and then solving some tasks @ HackerRank to get familiar with real-life tasks and how to fix them in the most efficient of ways possible.&lt;/p&gt;




&lt;p&gt;I hope you found this article helpful if you are new to programming or willing to get your feet wet soon. If you want to ask questions feel free to leave a comment below.&lt;br&gt;
May the power be with you! Stay positive.&lt;/p&gt;


</description>
      <category>tech</category>
      <category>computerscience</category>
      <category>programming</category>
      <category>coding</category>
    </item>
    <item>
      <title>Multiple face recognition &amp; data exploitation with Py and Azure FaceAPI</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Sat, 02 Dec 2017 23:51:23 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/multiple-face-recognition--data-exploitation-with-py-and-azure-faceapi-9kb</link>
      <guid>https://dev.to/hbibzdeploy/multiple-face-recognition--data-exploitation-with-py-and-azure-faceapi-9kb</guid>
      <description>&lt;p&gt;Howdy Azure users again,&lt;/p&gt;

&lt;p&gt;Today I will be showing you how to exploit the powerful Azure FaceAPI n order to extract data about people in images.I assume that you already read the previous article as there are some fundamentals you need to know about Azure in order to follow along .&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://s3curi7y.tn/2017/12/02/azure-face-api-hands-using-python-basic-version/" rel="noopener noreferrer"&gt;https://s3curi7y.tn/2017/12/02/azure-face-api-hands-using-python-basic-version/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Also, you can find the code I’m about to explain in &lt;a href="https://github.com/hbibz-deploy/AzureCognitive-py/blob/master/FaceAPI-locate-people-and-describe.py" rel="noopener noreferrer"&gt;my repository .&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  What does this code do exactly?
&lt;/h4&gt;

&lt;p&gt;Actually, this is a Python code which allows the detection and identification of human faces using Azure’s API .It is composed of two main functions paraMade and recogn each requiring a key and a URL .&lt;/p&gt;

&lt;h4&gt;
  
  
  How does it work?
&lt;/h4&gt;

&lt;p&gt;The code is composed of two functions, both get their arguments from the sys.argv array .&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;paraMade: &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This function is responsible for sending a request with the URL of the image and receiving details about detected faces in JSON format (JS Object Notation)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;def paraMade(key, url): # defining the function&lt;br&gt;&lt;br&gt;
subscription_key = key # getting API token&lt;br&gt;&lt;br&gt;
uri_base = ‘&lt;a href="https://eastus.api.cognitive.microsoft.com%E2%80%99" rel="noopener noreferrer"&gt;https://eastus.api.cognitive.microsoft.com’&lt;/a&gt; # setting endpoint URL&lt;br&gt;&lt;br&gt;
headers = {&lt;br&gt;&lt;br&gt;
‘Content-Type’: ‘application/json’,&lt;br&gt;&lt;br&gt;
‘Ocp-Apim-Subscription-Key’: subscription_key,&lt;br&gt;&lt;br&gt;
} # setting the headers of the request&lt;br&gt;&lt;br&gt;
params = {&lt;br&gt;&lt;br&gt;
‘returnFaceId’: ‘true’,&lt;br&gt;&lt;br&gt;
‘returnFaceLandmarks’: ‘false’,&lt;br&gt;&lt;br&gt;
‘returnFaceAttributes’: ‘age,gender,headPose,smile,facialHair,glasses,emotion,hair,makeup,occlusion,accessories,blur,exposure,noise’,&lt;br&gt;&lt;br&gt;
} # setting the parameters of the request&lt;br&gt;&lt;br&gt;
body = {‘url’: url} #assigning the url of the image from the func argument&lt;/p&gt;

&lt;p&gt;try:&lt;br&gt;&lt;br&gt;
response = requests.request(‘POST’, uri_base + ‘/face/v1.0/detect’, json=body, data=None, headers=headers, params=params) # sending POST request to the endpoint and collecting response&lt;br&gt;&lt;br&gt;
parsed = json.loads(response.text) # parsing the response&lt;br&gt;&lt;br&gt;
print(“\tIn this picture : %s\nWe found that:\n” % url)  &lt;/p&gt;
&lt;h1&gt;
  
  
  print (json.dumps(parsed, sort_keys=True, indent=2)) # printing the list of detected faces
&lt;/h1&gt;

&lt;p&gt;print(“\tThere are %i people” % parsed.&lt;strong&gt;len&lt;/strong&gt;())# counting number of detected faces&lt;br&gt;&lt;br&gt;
for person in parsed: # looping through the list of faces&lt;br&gt;&lt;br&gt;
print(“\t&amp;gt; Person %i:\n\tThis is a %i-year old %s” %(parsed.index(person)+1, person[“faceAttributes”][“age”],person[“faceAttributes”][“gender”]))                              #&lt;br&gt;&lt;br&gt;
if int(person[“faceAttributes”][“hair”][“bald”]) == 0:                    # PARSING JSON OBJECTS&lt;br&gt;&lt;br&gt;
if is_male(person[“faceAttributes”][“gender”]):                          #&lt;br&gt;&lt;br&gt;
print(“\tHis face, has the id %s” % (person[‘faceId’]))                # and using data to make a paragraph&lt;br&gt;&lt;br&gt;
else:&lt;br&gt;&lt;br&gt;
print(“\tHer face, has the id %s”% (person[‘faceId’]))                 #&lt;br&gt;&lt;br&gt;
except Exception as e:&lt;br&gt;&lt;br&gt;
print(‘Error:’)&lt;br&gt;&lt;br&gt;
print(e)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;recogn:&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;def recogn(KEY, img_url):                                   # defining the function&lt;br&gt;&lt;br&gt;
CF.Key.set(KEY)                                                 # setting the API key&lt;br&gt;&lt;br&gt;
BASE_URL = ‘&lt;a href="https://eastus.api.cognitive.microsoft.com/face/v1.0/%E2%80%99%C2%A0" rel="noopener noreferrer"&gt;https://eastus.api.cognitive.microsoft.com/face/v1.0/’ &lt;/a&gt;  # endpoint URL&lt;br&gt;&lt;br&gt;
CF.BaseUrl.set(BASE_URL)                               # setting the endpoint URL&lt;br&gt;&lt;br&gt;
detected = CF.face.detect(img_url)&lt;br&gt;&lt;br&gt;
print(detected)                                                     # printing the list of detected faces&lt;br&gt;&lt;br&gt;
def getRectangle(faceDictionary):                       # defining rectangle coordinates-related function&lt;br&gt;&lt;br&gt;
rect = faceDictionary[‘faceRectangle’]&lt;br&gt;&lt;br&gt;
left = rect[‘left’]&lt;br&gt;&lt;br&gt;
top = rect[‘top’]&lt;br&gt;&lt;br&gt;
bottom = left + rect[‘height’]&lt;br&gt;&lt;br&gt;
right = top + rect[‘width’]&lt;br&gt;&lt;br&gt;
return ((left, top), (bottom, right))                          # returning coordinates&lt;/p&gt;

&lt;p&gt;response = requests.get(img_url)                        # downloading image&lt;br&gt;&lt;br&gt;
img = Image.open(BytesIO(response.content))   # opening image using BytesIO&lt;/p&gt;

&lt;p&gt;draw = ImageDraw.Draw(img)                             # setting the image for drawing using ImageDraw from Pillow&lt;br&gt;&lt;br&gt;
for face in detected:                                             # looping in list of detected faces&lt;br&gt;&lt;br&gt;
draw.rectangle(getRectangle(face), outline=’blue’) # drawing rectangles&lt;/p&gt;

&lt;p&gt;img.show()                                                            # outputting results&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;USGAE?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command&lt;/strong&gt; : python FaceAPI.py {key} {Image URL}&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.imgur.com%2FYvYKArZ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.imgur.com%2FYvYKArZ.png"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>faceapi</category>
      <category>python</category>
      <category>recognition</category>
    </item>
    <item>
      <title>Does anyone know how to use matplotlib within django projects?</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Sat, 02 Dec 2017 18:18:57 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/does-anyone-know-how-to-use-matplotlib-within-django-projects-7fi</link>
      <guid>https://dev.to/hbibzdeploy/does-anyone-know-how-to-use-matplotlib-within-django-projects-7fi</guid>
      <description></description>
      <category>django</category>
      <category>matplotlib</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Azure Face API – Hands on using Python (basic)</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Sat, 02 Dec 2017 02:17:53 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/azure-face-api--hands-on-using-python-basic-8jc</link>
      <guid>https://dev.to/hbibzdeploy/azure-face-api--hands-on-using-python-basic-8jc</guid>
      <description>&lt;p&gt;Howdy everybody !&lt;/p&gt;

&lt;p&gt;This is Muhammad Habib in a new hands-on tutorial. In this article, I will be working on  Azure 's Face recognition API . I will be showing you how to exploit this very powerful API in order to add recognition capabilities to your applications by detecting human faces in images .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fnotebooks.azure.com%2FContent%2Flanding-page%2Fpythonintro.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fnotebooks.azure.com%2FContent%2Flanding-page%2Fpythonintro.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This will be a guide with no prequisite skills, although the only requirements are the access to the Azure portal and basic knowledge related to web frameworks or JS syntax as we will be building our demo project using Angular or Python if you're reading the basic version .&lt;/p&gt;

&lt;h3&gt;
  
  
  What is Azure ?
&lt;/h3&gt;

&lt;p&gt;Microsoft Azure is a scalable cloud computig platform launched by Microsoft on February 2010. Due to its simplicity and the veriety of services it provides, developers choose it to deploy their projects and its APIs to make things easier. Guided by a huge set of articles and proprietor documentation, Azure became one of the kings in the kingdom of Cloud, coming the second just after AWS (Amazon Web Services) .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage2.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage2.jpeg"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What is Azure 's FaceAPI ?&lt;/p&gt;

&lt;p&gt;Azure's Face API is an Application Programming Interface, provided within the Azure Portal . It is used to detect human faces and compare similar ones and identify people in order to classify them in groups .&lt;/p&gt;

&lt;h3&gt;
  
  
  Getting our API keys :
&lt;/h3&gt;

&lt;p&gt;In order to access any API, it is required that you provide an access token/key as a parameter in every request to the endpoint. Getting your FaceAPI key requires that you have access to an Azure account with permitted access to the service .&lt;/p&gt;

&lt;p&gt;After logging in, visit the dashboard :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage3.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then click on the big green + sign on the left top corner , and search for face API :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage4.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After that, click on 'create'&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage5.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And complete the form :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage6.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After that you will automatically be redirected to the dashboard and the creation should be successful . Visit the service for the first time and something like this should appear :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage7.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on keys, and copy them to a safe place .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage8.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;P.S : In case you accidentally showed them to an untrusted party you can safely regenerate them changing by that the status of previous keys to unvalid .&lt;/p&gt;

&lt;p&gt;Next, visit the overview page, and copy the endpoint URL, this should varie between regions .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage9.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;First USAGE:&lt;/p&gt;

&lt;p&gt;Now you should be ready to use the sample code in :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/hbibz-deploy/AzureCognitive-py/" rel="noopener noreferrer"&gt;https://github.com/hbibz-deploy/AzureCognitive-py/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Copy/clone the script called 'FaceAPI.py' and save it .&lt;/p&gt;

&lt;p&gt;Before running you code, and assuming that you have both 3.X python and pip installed , run :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage10.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage10.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And then, you can use the sample :&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command&lt;/strong&gt; : python FaceAPI.py {key} {Image URL}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage11.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage11.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The hidden text is my access key .&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you finish, something like this should appear :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage12.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fs3curi7y.tn%2Fpapers%2Fimage12.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Detected faces should be in blue rectangles .&lt;/p&gt;

</description>
      <category>azure</category>
      <category>faceapi</category>
      <category>python</category>
    </item>
    <item>
      <title>AWS : Monitoring S3 With Events And SNS</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Fri, 01 Dec 2017 22:43:26 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/aws--monitoring-s3-with-events-and-sns-c44</link>
      <guid>https://dev.to/hbibzdeploy/aws--monitoring-s3-with-events-and-sns-c44</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage001.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage001.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Howdy, everybody! This is Muhammad Habib Jawady in a new DevOps hands-on tutorial. In my first Amazon Web Services tutorial, I will be showing you how to leverage the S3 events feature and Simple Notification Service in order to monitor the actions taken on certain assets.&lt;/p&gt;

&lt;p&gt;This will be a hands-on guide with no prerequisite skills even though the possession of an AWS account with the allowed usage of S3 and SNS is required. Before diving into the details, let's get our feet wet with AWS and its advantages, and the services we're about to use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Introduction to AWS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon Web Services is a scalable cloud computing platform provided by Amazon.com, Inc. In 2006. Due to its relatively cheap pricing and diversity of services in multiple fields (eg. Storage, IoT, computing ...) and detailed documentation, it is considered an important competitor to Azure. In this guide, you will come to know the basics of using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Simple Notifications Service (SNS SMS messaging)&lt;/li&gt;
&lt;li&gt;Simple Storage Service(S3)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Client demands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One cannot deny that practicing is the key to learning. Thus, I crafted a scenario of a client demand and in this article, we will satisfy his blueprint idea and try not to exceed his yearly dedicated budget for the purpose:&lt;/p&gt;

&lt;p&gt;A project manager hired interns and assigned documenting the progress of the project in two S3 buckets, one is related to documenting development team contributions and the other for pull requests. However, he does not seem to trust them enough with information stored in the buckets. He asked you to prepare a blueprint allowing SMS notification for bucket one on any file download … and email notification on any file deletion in the second bucket. Your budget must not exceed $20/year for this!&lt;/p&gt;

&lt;p&gt;How are you supposed to handle this?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;em&gt;Blueprint preparation&lt;/em&gt;
The first thing you need to do is prepare a tidy and clear blueprint. The key to a successful blueprint definitely depends on your understanding of Amazon fundamental concepts such as availability zones. One obviously cannot also pull this off with no prior knowledge about the used services and the way of taking automatic action in response to events …
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage002.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage002.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;I would recommend using &lt;a href="https://cloudcraft.co/" rel="noopener noreferrer"&gt;CloudCraft&lt;/a&gt; as a tool to help you craft a solid BP I will cover all the knowledge you need about the used services in the next step, but for now here is how your blueprint should look something like,  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage003.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage003.jpg" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;With roughly 16$/year expenses.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage004.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage004.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Now with a complete BP, we can start.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;_Creation of resources/instances …   _

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Creation of S3 buckets&lt;/em&gt;
Simple Storage Service (SNS) is a solution to storing static files built to save and retrieve data whenever needed from anywhere given enough privileges.
An instance of S3 is called a bucket. It is a directory which may store subdirectories or files containing any amount of data with the condition that it is not &lt;a href="https://stackoverflow.com/questions/37617844/restricting-file-types-on-amazon-s3-bucket-with-a-policy" rel="noopener noreferrer"&gt;restricted to a policy&lt;/a&gt;. We are going to set the region to Asia Pacific / Sydney (ap-southeast-2) and then choose S3 from the console.
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage005.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage005.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Then we're going to create two buckets with names: 'bucket-team' and 'pull-bucket'  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage006.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage006.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;And in the 'Set permissions', we're going to select the recommended in 'Manage public permissions' and 'Grant Amazon S3 Log Delivery group write access to this bucket'.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage007.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage007.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- _Creation of SNS topics: _ Simple Notification Service (SNS) is a fully managed pub/sub messaging service which allows sending [SMS](https://en.wikipedia.org/wiki/SMS) notifications to single/multiple targets. A 'topic' is a subject you create in order to group subscriptions and push messages to multiple recipients. 'Subscriptions' is from where you group targets and signs them up for a topic. From your AWS console (region is also Sydney), choose SNS.  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage009.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage009.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Then, we are going to create a topic,  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage010.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage010.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Then, add the Project manager number in the subscriptions after copying the ARN.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage011.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage011.jpg" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;In order to test if the subscription/topic creation was successful, you can visit the topics page and publish to the topic a test message,  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage012.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage012.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;_Note _In this tutorial, I am going to work on one single bucket. The second is the same method changing the protocol to Email instead of SMS. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;em&gt;Creation of events&lt;/em&gt; In order to create events, I am going back to my S3 buckets &amp;gt; {bucket-name-management} Under properties&amp;gt; Events: choose 'add notifications'
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage014.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage014.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Choose what type of Event will trigger your notification and a meaningful name.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage015.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fmonitoring-s3-with-events-and-sns%2FImages%2Fimage015.png" alt="AWS"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Now, on 'Delete', the Project manager will receive an SMS message automatically with details about the event. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this hands-on real-world scenario tutorial, we learned how to create S3 buckets' events in order to trigger notification using SNS service, and manage SNS topics and subscriptions.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>sns</category>
      <category>s3</category>
      <category>monitoring</category>
    </item>
    <item>
      <title>MS Visual Studio Code - Guide To Git</title>
      <dc:creator>Muhammad Habib Jawady</dc:creator>
      <pubDate>Thu, 30 Nov 2017 20:32:41 +0000</pubDate>
      <link>https://dev.to/hbibzdeploy/ms-visual-studio-code---guide-to-git-cff</link>
      <guid>https://dev.to/hbibzdeploy/ms-visual-studio-code---guide-to-git-cff</guid>
      <description>&lt;p&gt;Hello guys again, this is Muhammad Habib Jawady and today I will be showing you how to use MS visual Studio Code in order to work with git properly. This will be a hands on tutorial, I hope you will find this useful as the number of users of ‘Code’ has grown dramatically throughout the year and the need for a full tutorial on how to use it is became an urge to help people master its enormous number of features.&lt;/p&gt;

&lt;p&gt;For full documentations of VS Code, I will recommend visiting the official documentation at : &lt;a href="https://code.visualstudio.com/docs" rel="noopener noreferrer"&gt;Docs&lt;/a&gt;. I will skip introducing this Code editor and I will assume that you have prior basic knowledge with code editors and IDEs . For additional info on the matter, you can visit this guide and gain a basic awareness of git concepts .  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage002.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage002.jpg" alt="Visual Studio "&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GIT CLONE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First, we will be creating our demo project, the repository name is  ‘demo-for-vs’ and initialize it with a README markdown , aka README.md  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage003.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage003.jpg" alt="Visual Studio "&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Then, we will copy the cloning .git url located in the top right corner and open MS VS Code menu to choose the option ‘clone git repository’ from the welcome page on startup window and paste that URL.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage004.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage004.jpg" alt="Visual Studio "&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;We hit enter and fill where we want our repository to be cloned and then we choose ‘Open repository’ from the next  pop up .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Making/Staging changes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now let’s make some changes to our local version . For this, I will change the size of our title in the README file and add a new file ‘index.html’.&lt;/p&gt;

&lt;p&gt;If you click on the ‘Source control’ tab located on the left (under the search logo), you should be able to see this,  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage005.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage005.jpg" alt="Visual Studio "&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;And you can notice that on the left, there is the original version, and on the right your local version.&lt;/p&gt;

&lt;p&gt;Now we will have to stage our changes by hitting the ‘+’ icon on the right of the files’ names.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Git commit&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In order to make a commit, you will have to hit that  button on top of the files as shown below,  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage006.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage006.jpg" alt="Visual Studio "&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Git push&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In order to apply changes in the original repository, we will use run the regular push command from the terminal which is integrated in Code.&lt;/p&gt;

&lt;p&gt;For this purpose, we first go to ‘view’ &amp;gt;&amp;gt; ‘Integrated Terminal’,  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage007.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage007.jpg" alt="Visual Studio "&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Then we run - _git push origin master  &lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage008.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fcsharpcorner.mindcrackerinc.netdna-cdn.com%2Farticle%2Fms-visual-studio-code-guide-to-git%2FImages%2Fimage008.jpg" alt="Visual Studio "&gt;&lt;/a&gt;  _—-&amp;gt; Success ^^&lt;/p&gt;

&lt;p&gt;I hope you learned something new today … For any inquiry, feel free to submit a comment .&lt;/p&gt;

</description>
      <category>visual</category>
      <category>studio</category>
      <category>code</category>
      <category>git</category>
    </item>
  </channel>
</rss>
