<?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 Hrishi Patel on Medium]]></title>
        <description><![CDATA[Stories by Hrishi Patel on Medium]]></description>
        <link>https://medium.com/@hrishipatel99?source=rss-37496a2e628d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AZ35zA7Pdw_KzcaUw8VJdQ.jpeg</url>
            <title>Stories by Hrishi Patel on Medium</title>
            <link>https://medium.com/@hrishipatel99?source=rss-37496a2e628d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:47:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hrishipatel99/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[How to: AWS Developer Associate (DVA-C02)]]></title>
            <link>https://medium.com/@hrishipatel99/how-to-aws-developer-associate-dva-c02-4bdc146e2e04?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bdc146e2e04</guid>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-developer-associate]]></category>
            <category><![CDATA[developer-associate-exam]]></category>
            <category><![CDATA[aws-certification]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Fri, 30 Jun 2023 00:16:05 GMT</pubDate>
            <atom:updated>2023-07-01T00:36:31.170Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Usju6l5e_63yKMaFitu7tQ.png" /></figure><h3>How to pass the AWS Developer Associate (DVA-C02) exam</h3><p>TL;DR</p><p>If you don’t wanna read through everything:</p><ol><li>I completed Stephane Mareek’s course: <a href="https://www.udemy.com/course/aws-certified-developer-associate-dva-c01/">https://www.udemy.com/course/aws-certified-developer-associate-dva-c01/</a></li><li>Took some practice tests from here (by Stephane Mareek): <a href="https://www.udemy.com/course/aws-certified-developer-associate-practice-tests-dva-c01/">https://www.udemy.com/course/aws-certified-developer-associate-practice-tests-dva-c01/</a></li><li>Took some practice tests from TutorialsDojo (by Jon Bonso): <a href="https://tutorialsdojo.com/courses/aws-certified-developer-associate-practice-exams/">https://tutorialsdojo.com/courses/aws-certified-developer-associate-practice-exams/</a></li><li>And finally, before the exam, go through all the “free” questions from ExamTopics: <a href="https://www.examtopics.com/exams/amazon/aws-certified-developer-associate-dva-c02/">https://www.examtopics.com/exams/amazon/aws-certified-developer-associate-dva-c02/</a> and <a href="https://www.examtopics.com/exams/amazon/aws-certified-developer-associate/">https://www.examtopics.com/exams/amazon/aws-certified-developer-associate/</a></li><li>The cheatsheet I followed: <a href="https://digitalcloud.training/category/aws-cheat-sheets/aws-developer-associate/">https://digitalcloud.training/category/aws-cheat-sheets/aws-developer-associate/</a></li></ol><p>Here’s the details:</p><h3><strong>Background:</strong></h3><p>I don’t have a lot of work experience, but I did work as a Full Stack Developer for 5 months. During that time, I had the opportunity to dive into AWS as well. At the startup, we mainly used services like AWS Lambda, DynamoDB, S3, CloudFront, API Gateway, and EC2. By the way, I also took the AWS Cloud Practitioner exam about 2.5 months ago and passed!</p><p>On top of that, during my Master’s program, I took three awesome cloud-related courses: Serverless Computing, Advanced Topics in Cloud Computing, and Advanced Cloud Architecting.</p><p>Would you score better if you have some cloud experience? Yes, a bit, like 5% maybe. Btw, I scored 909/1000.</p><h3>Topics Covered and The Exam</h3><p>Let me share a bit more about the exam. It lasts for 2 hours and 10 minutes, giving you enough time to tackle the questions. If English isn’t your native language, you have the option to request an additional 30 minutes. Just remember to make that request before booking your exam. The exam mostly has scenario-based questions.</p><p>Here are the domains the exam focuses on:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*on62rgnHRO3qAzJztdX5GQ.png" /></figure><p>Now I won’t go through domain by domain and explain to you in depth. It would bore you, save your energy for later, you will need it while doing courses + hands-on.</p><p>Just a heads up about the exam focus — it heavily emphasizes development with serverless architecture. You can expect a lot of questions on AWS Lambda, DynamoDB, and API Gateway. When it comes to AWS Lambda, be sure to prepare for topics such as integrating it with API Gateway, running functions inside a VPC, understanding sync versus async invocations (including Dead Letter Queues), event-based Lambda invocation, deployment modes, versions, and aliases. Having a solid grasp of these concepts will definitely help you tackle the exam successfully. So, make sure to allocate enough time to study and practice these areas.</p><p>For DynamoDB, focus on WCU/RCUs, GSIs, LSIs and DAX, partition key, sort key and DynamoDB streams. Understand what a hot partition is and how to avoid that. Questions are also asked around eventually and strongly consistent reads.</p><p>Other important services are EC2, SQS, SNS, Kinesis, API Gateway, S3, ECS, CI/CD tools, Elastic Beanstalk, and CloudFront. Since the exam is serverless-focused, topics like SAM, Step Functions and Cognito are also important.</p><p>For security, KMS, Secrets Manager and SSM Parameter Store are important. This module also covers security-related questions related to other services (like S3 encryption options).</p><p>For deployment, learn the deployment strategies of different services. CodeCommit, CodeDeploy, CodeBuild and CodePipeline are important services for this domain. Services like AWS CloudFormation and CDK are also important for this module.</p><p>And let’s not forget about CloudWatch, CloudTrail and X-Ray. They are really important for the exam.</p><p>Stephane Mareek’s course covers all of these topics in depth.</p><p>Oh, and let’s not forget hands-on. You can pass the exam without hands-on, but it’s not the correct way, is it? You can follow Stephane’s hands-on videos, these may be enough, but I recommend you tinker around on your own by creating your own AWS account (but make sure you stay within the free-tier limits). Practicing by yourselves is the best way to learn along with the theory you’ll learn in the videos.</p><h3>Practice Test</h3><p>If you have some experience with AWS, start by giving a practice test, you’ll where you fell short, so later when you watch videos or do hands-on, you’ll know where to pay more attention. It’s how your brain works.</p><p>Later, when you are done with the courses and hands-on, start giving practice tests. You can find practice tests by Stephane and John Bonso here:</p><ol><li>By Stephane Mareek: <a href="https://www.udemy.com/course/aws-certified-developer-associate-practice-tests-dva-c01/">https://www.udemy.com/course/aws-certified-developer-associate-practice-tests-dva-c01/</a></li><li>By Jon Bonso: <a href="https://tutorialsdojo.com/courses/aws-certified-developer-associate-practice-exams/">https://tutorialsdojo.com/courses/aws-certified-developer-associate-practice-exams/</a></li></ol><p>These tests are harder than the actual tests, and more detailed and some questions will get the gears of your brain to work really hard. Try to score at around 80% before the exam, and don’t fret if you don’t do well on the initial tests. Revisit topics again if you don’t feel confident about a specific service or domain.</p><p>And here’s the cheatsheet I followed, it’s really a great one: <a href="https://digitalcloud.training/category/aws-cheat-sheets/aws-developer-associate/">https://digitalcloud.training/category/aws-cheat-sheets/aws-developer-associate/</a></p><p>This cheat sheet may not be as detailed as the one by TutorialDojo but it’s still great.</p><p>ExamTopics have several questions for the exam. I strongly recommend revising all of the questions (the free ones at least), a day or two before the exam. Be aware though, to go with the community-voted answers and not the answers provided by ExamTopics (<a href="https://www.examtopics.com/exams/amazon/aws-certified-developer-associate-dva-c02/">https://www.examtopics.com/exams/amazon/aws-certified-developer-associate-dva-c02/</a> and <a href="https://www.examtopics.com/exams/amazon/aws-certified-developer-associate/">https://www.examtopics.com/exams/amazon/aws-certified-developer-associate/</a>)</p><h3>Tips</h3><p><strong>While preparing:</strong></p><ol><li>Don’t try to complete the course in a week or two. Take it slowly. A month is fine.</li><li>If you learning about a service, learn about its security measures too.</li><li>Focus on serverless (Lambda, DynamoDB, API Gateway etc.). Understand when to use SAM vs CloudFormation vs CDK (SAM’s for serverless)</li><li>Try to compare services, like when should you use Lambda over ECS, ECS over EC2, S3 vs EFS vs EBS, etc.</li></ol><p><strong>Before the exam:</strong></p><ol><li><strong>Important! </strong>Go through ExamTopics questions.</li><li>Give at least 5 practice tests before giving the exam so you get a good idea about the types of questions asked in the exam.</li><li>Sleep and eat well before the exam.</li></ol><p><strong>During the exam:</strong></p><ol><li>Read the questions carefully. After you go through a lot of questions from practice tests and exam banks (like ExamTopics), you’ll tend to skim through the questions and only focus on the options. Don’t do this. Read the questions and options carefully.</li><li>Mark the questions for review if you even have the slightest doubt. Come back again later.</li><li>Use the process of elimination for the options. What I noticed is that generally there are only two valid options.</li><li>Question feeling too easy? Read again.</li><li>The rest, I trust you’ll figure it out.</li></ol><p><strong>After the exam:</strong></p><p>Sleep :)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F6zdkYKBBTHTITFQ4xA%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F6zdkYKBBTHTITFQ4xA%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F6zdkYKBBTHTITFQ4xA%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/2a7d427a32b72d817b36e9f27fd43855/href">https://medium.com/media/2a7d427a32b72d817b36e9f27fd43855/href</a></iframe><p><strong>After the results:</strong></p><p>Party!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3oEjHM41zyCEGgLZnO%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3oEjHM41zyCEGgLZnO%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F3oEjHM41zyCEGgLZnO%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="178" frameborder="0" scrolling="no"><a href="https://medium.com/media/3757d1abbde9c3ce28976dd123ff6a88/href">https://medium.com/media/3757d1abbde9c3ce28976dd123ff6a88/href</a></iframe><h3>Conclusion</h3><p>I hope you’re still with me here. If you find this guide helpful, drop a comment after your exam/results.</p><p>I couldn’t thank enough my professors: Dr. Lu Yang, Robert Hawkey and Saurabh Dey. I would also like to thank Stephane Mareek, John Bonso and whoever&#39;s behind ExamTopics and DigitalCloud.training.</p><p>Now go, you soon-to-be dev associate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bdc146e2e04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using K-Means Clustering for Image Segregation]]></title>
            <link>https://medium.com/data-science/using-k-means-clustering-for-image-segregation-fd80bea8412d?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd80bea8412d</guid>
            <category><![CDATA[image-clustering]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[transfer-learning]]></category>
            <category><![CDATA[k-means]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Sun, 21 Jun 2020 15:37:56 GMT</pubDate>
            <atom:updated>2020-06-22T18:42:09.182Z</atom:updated>
            <content:encoded><![CDATA[<h4>Using a CNN with KMeans to separate images.</h4><p>KMeans clustering is one of the most used unsupervised machine learning algorithms. As the name suggests, it can be used to create clusters of data, essentially segregating them.</p><p>Let’s get started. Here I will take a simple example to separate images from a folder that has both images of cats and dogs to their own clusters. This will create two separate folders (clusters). We will also go through how to automatically determine the optimal value for K.</p><p>I have generated a dataset of images of cats and dogs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TIGukNCiwFTyY7YOl4ytHw.png" /><figcaption>Images of Cats and Dogs.</figcaption></figure><p>First off, we will start by importing the required libraries.</p><pre>import numpy as np<br>import tensorflow as tf<br>import matplotlib.pyplot as plt<br>from sklearn.cluster import KMeans<br>from sklearn.metrics import silhouette_score<br>import cv2<br>import os, glob, shutil</pre><p>Then we will read all the images from the images folder and process them to extract for feature extraction. We will resize images to 224x224 to match the size of the input layer of our model for feature extraction.</p><pre>input_dir = &#39;pets&#39;<br>glob_dir = input_dir + &#39;/*.jpg&#39;</pre><pre>images = [cv2.resize(cv2.imread(file), (224, 224)) for file in glob.glob(glob_dir)]</pre><pre>paths = [file for file in glob.glob(glob_dir)]<br>images = np.array(np.float32(images).reshape(len(images), -1)/255)</pre><p>Now we will do feature extraction with the help of MobileNetV2 (Transfer Learning). Why MobileNetV2? You may ask. We can use ResNet50, InceptionV3, etc. but MobileNetV2 is fast and not so resource heavy so that&#39;s my choice here.</p><pre>model = tf.keras.applications.MobileNetV2(<em>include_top</em>=False,<br><em>weights</em>=’imagenet’, <em>input_shape</em>=(224, 224, 3))</pre><pre>predictions = model.predict(images.reshape(-1, 224, 224, 3))<br>pred_images = predictions.reshape(images.shape[0], -1)</pre><p>Now that we have extracted the features, we can now do clustering by using KMeans. Since we already know that we are separating images of cats and dogs, with know the</p><pre>k = 2<br>kmodel = KMeans(<em>n_clusters </em>= k, <em>n_jobs</em>=-1, <em>random_state</em>=728)<br>kmodel.fit(pred_images)<br>kpredictions = kmodel.predict(pred_images)<br>shutil.rmtree(‘output’)</pre><pre>for i in range(k):<br>    os.makedirs(“output\cluster” + str(i))</pre><pre>for i in range(len(paths)):<br>    shutil.copy2(paths[i], “output\cluster”+str(kpredictions[i]))</pre><p>And here is the output, it worked! It separated the images out:</p><p>Dogs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Sb8By53P6y-IlJgXvpnAg.png" /></figure><p>Cats:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*621lz5OEeT-4UvqXEJyQZw.png" /></figure><p>One more thing, how do we determine the value of K for a dataset for which you don’t know the number of classes. We can determine it by using the silhouette method or the elbow method. We will use the silhouette method here. Both methods should be used to get the most confident result. We will directly get into determining K.</p><p>More into determining the value of K: <a href="https://medium.com/analytics-vidhya/how-to-determine-the-optimal-k-for-k-means-708505d204eb">https://medium.com/analytics-vidhya/how-to-determine-the-optimal-k-for-k-means-708505d204eb</a></p><p>Let’s add horse images to our original dataset. We will now determine the value of K.</p><pre>sil = []<br>kl = []<br>kmax = 10</pre><pre>for k in range(2, kmax+1):<br>    kmeans2 = KMeans(<em>n_clusters</em> = k).fit(pred_images)<br>    labels = kmeans2.labels_<br>    sil.append(silhouette_score(pred_images, labels, <em>metric</em> =   ‘euclidean’))<br>    kl.append(k)</pre><p>We will now plot the values:</p><pre>plt.plot(kl, sil)<br>plt.ylabel(‘Silhoutte Score’)<br>plt.ylabel(‘K’)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*BSFxWmksnZQGFHljkUdAFw.png" /></figure><p>As you can see, the optimal value for K is 3. We also successfully created the third cluster:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hS6aGrYpnYtc0Zpodru4_w.png" /></figure><h3>Conclusion</h3><p>As you’ve seen, KMeans clustering is a great algorithm for image segregation. Sometimes, the method we used may not give accurate results, we can try to fix it by using a different Convolutional Neural Network or try converting our images from BGR to RGB.</p><p>GitHub Repository: <a href="https://github.com/Hrishi1999/Image-Segregation-with-KMeans/">https://github.com/Hrishi1999/Image-Segregation-with-KMeans/</a></p><p>Thanks for reading! Hope you have a nice day :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd80bea8412d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/using-k-means-clustering-for-image-segregation-fd80bea8412d">Using K-Means Clustering for Image Segregation</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week Progress #13]]></title>
            <link>https://medium.com/@hrishipatel99/gsoc-week-progress-13-6cee89ce4a1e?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cee89ce4a1e</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[gsoc-2019]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[gtk]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Mon, 19 Aug 2019 11:36:31 GMT</pubDate>
            <atom:updated>2019-08-19T11:36:31.865Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello again!</p><p>This was mostly a review week. I waited for community members to review my work. Two pull requests were opened, one for Dashboard Integration ( <a href="https://github.com/sugarlabs/sugar/pull/852">https://github.com/sugarlabs/sugar/pull/85</a>1) and one for Tamagotchi widget ( <a href="https://github.com/sugarlabs/sugar/pull/852">https://github.com/sugarlabs/sugar/pull/85</a>2).</p><p>For Tamagotchi widget, there is an issue with the name we are using. The word “Tamagotchi” is already trademarked and to avoid any issues in the future, we have planned to change it. I will leave that decision to others about renaming it. Also, James has reviewed my work, and he made a few points which I will try to fix this week.</p><p>For Dashboard Activity, a few issues from <a href="https://github.com/Hrishi1999/Dashboard.activity/issues/2">https://github.com/Hrishi1999/Dashboard.activity/issues/2</a> were fixed. They are:</p><ol><li>The items in the listview below heatmap were cut, this has been fixed by adding a scrollbar to the whole heatmap section of the Dashboard</li><li>The issue was too many datastore calls were made has been fixed (this was expensive because datastore would be queried without acknowledging if the datastore has been updated).</li></ol><p>No updates regarding Dashboard integration.</p><p>This week I will work on:</p><ol><li>Make a feature page for Dashboard Integration and Tamagotchi widget ( <a href="https://wiki.sugarlabs.org/go/Features/Feature_Template">https://wiki.sugarlabs.org/go/Features/Feature_Template</a>)</li><li>Fix issues from <a href="https://github.com/sugarlabs/sugar/pull/852">https://github.com/sugarlabs/sugar/pull/852</a></li><li>Fix upcoming issues of Dashboard integration after its review.</li></ol><p>Thanks for your time! Hope you have a nice week!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cee89ce4a1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week Progress #12]]></title>
            <link>https://medium.com/@hrishipatel99/gsoc-week-progress-12-955aeb32521?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/955aeb32521</guid>
            <category><![CDATA[gtk]]></category>
            <category><![CDATA[gsoc-2019]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Mon, 12 Aug 2019 13:36:44 GMT</pubDate>
            <atom:updated>2019-08-12T13:36:44.850Z</atom:updated>
            <content:encoded><![CDATA[<p>Hope you had a nice week!</p><p>Here’s my weekly update. Let’s first start with the Dashboard activity. Most of the issues from <a href="https://github.com/Hrishi1999/Dashboard.activity/issues/2">https://github.com/Hrishi1999/Dashboard.activity/issues/2</a> are fixed (though some are still in feature branches and haven’t been merged to master because of issues). CellRendererIcon warnings were fixed, they were caused because I was passing a “text” parameter which didn’t exist, it’s now fixed. Another feature/issue was added/fixed that updates the activity whenever it is in focus (instead of manually pressing refresh button). Here it is in action:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xw6eBi7VTjbh0ApemowO2Q.gif" /></figure><p>Let’s talk about integration. Most of the issues with it were fixed too like Journal button not working, focus issues, button click issues, etc. Here is the “Sugar” Dashboard in action:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*pEXCtbwbwGPVmcHZDGkp8g.gif" /></figure><p>The draft PRs for Tamgotchi widget and Sugar Dashboard (integration) have been opened. Here are the links:</p><p><a href="https://github.com/sugarlabs/sugar/pull/851">[Feature] Dashboard (Integration) by Hrishi1999 · Pull Request #851 · sugarlabs/sugar</a></p><p><a href="https://github.com/sugarlabs/sugar/pull/851">https://github.com/sugarlabs/sugar/pull/85</a>2</p><p>Miscellaneous links:</p><ul><li><a href="https://github.com/Hrishi1999/sugar/tree/dashboard-integration-feature">Hrishi1999/sugar</a></li><li><a href="https://github.com/Hrishi1999/Dashboard.activity/">Hrishi1999/Dashboard.activity</a></li><li><a href="https://github.com/Hrishi1999/Dashboard.activity/issues/7">Activity Display issue · Issue #7 · Hrishi1999/Dashboard.activity</a></li></ul><p><a href="https://github.com/Hrishi1999/sugar/tree/dashboard-integration-feature">https://github.com/Hrishi1999/sugar/tree/tamagotchi-widget-feature</a>/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=955aeb32521" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week Progress #11]]></title>
            <link>https://medium.com/@hrishipatel99/gsoc-week-progress-11-f35c9230e65d?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f35c9230e65d</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[gsoc-2019]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Mon, 05 Aug 2019 10:48:49 GMT</pubDate>
            <atom:updated>2019-08-05T10:48:49.453Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome back! Hope you had a nice week!</p><p>Let me first update you on the work on Dashboard activity. There are currently no reported issues on Dashboard which should be immediately fixed, but I am still figuring out how dynamic sizing of grid cells should work. I’ve tried a few things but I didn’t find any magic number which could work to resize every cell. I am working on it and I might find one later.</p><p>Last week, the issues with Details view were fixed (Pie chart window, opens when you click on the pie chart). The issues were: The image was too small (size similar to the pie chart on the home screen). Since this feature was supposed to fix issues with pie chart like text overlapping, sizing issues and else, a larger image inside the window was required. The image is now bigger and so far I had no issues where the labels overlap each other. Here is how it looks now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8MWL5hBex4JfpJTIbXfBA.png" /><figcaption>Enlarged Pie chart image</figcaption></figure><p>Treeview issues were also fixed, the issue was that the treeview would only show once, that is when the activity is first launched on the system. It was caused because I was only attaching the treeview once which somehow caused the treeview to act weird. Now I attach and detach the widget on the show and hide window respectively. That fixed it. The full feature in action:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Y76oX8rbtXbXSfwBROdkQ.gif" /></figure><p>Coming to Dashboard integration to Sugar, the integration is almost finished. Not much work was done to be done about the integration. I am currently working with my mentor Ibiam to make sure that my branch can be tested by others, ran into issues with Makefiles which produced an error while running make to test my changes. It should be fixed now but it hasn’t been tested by anyone else, I will open draft pull request once I am done.</p><p>This week I would:</p><ol><li>Open draft pull requests for Dashboard Integration, Tamagotchi widget, and Sugar artwork (artwork for tamagotchi widget) for code review and testing.</li><li>Make sure all of my feature branches can be tested by anyone else.</li><li>Fix remaining issues with Sugar Dashboard (and Integration) and Tamagtochi widget.</li></ol><p>A bit off-topic, but last week I also had Android Associate Developer certification examination. It went well, also the exit interview. I was away for two days last week :)</p><p>Thanks for reading! Hope you have a nice week!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f35c9230e65d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week Progress #10]]></title>
            <link>https://medium.com/@hrishipatel99/gsoc-week-progress-10-d6fe3c00afd0?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6fe3c00afd0</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[gsoc-2019]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[gtk]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Mon, 29 Jul 2019 15:17:27 GMT</pubDate>
            <atom:updated>2019-07-29T15:17:27.084Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome back! I am here again with good news, I made it through Phase 2 Yay!</p><p>So I a meeting last week we decided to integrate the Dashboard to core Sugar but also maintaining it as an activity. A few modifications had to be made to make integrate the Dashboard to Sugar. Integration would not run the Dashboard as an activity.</p><p>The integration is not complete yet, but it works fine right now. The Dashboard class is now derived from a Gtk.ScrolledWindow instead of a sugar3 activity. The toolbar code was added to jarabe/journal/journaltoolbox.py and removed from the activity code. Here is the Dashboard in action as a Journal part:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*xtLbfDKAzZp8LxulD-AAFQ.gif" /><figcaption>Dashboard Integration</figcaption></figure><p>Mind the scaling issue here. It’s because the VM is 800x600. It works fine on a larger resolution (more on scaling issues below)</p><p>Now about the Dashboard’s progress, the scaling issues were finally fixed. Got the perfect cell widths and decreasing the heatmap’s column spacing fixes the issues. I will still keep an eye on more pie chart issues and scaling issues.</p><p>This week, I would be finishing the integration and work on new artwork for Tamagotchi Widget working with one of my mentor Peace. Also, I will be away for two days this week because I am sponsored for Android Associate Developer certification exam.</p><p>Hope you have a nice day and week ahead!</p><p>Links to this week&#39;s work:</p><ul><li><a href="https://github.com/Hrishi1999/Dashboard.activity/commit/2dbd2eafc902d14c5e02e118b9d207e35ff1ddc5">Reduce cell widths for XOs · Hrishi1999/Dashboard.activity@2dbd2ea</a></li><li><a href="https://github.com/Hrishi1999/sugar/commit/acdf19af97373985738c0bd3548d83a77ff81a9d">Remove unused toolbar code, disable window · Hrishi1999/sugar@acdf19a</a></li></ul><p><a href="https://github.com/Hrishi1999/sugar/commit/6707da34dd82e191c2f0f79ae94ecf6d983df053">https://github.com/Hrishi1999/sugar/commit/6707da34dd82e191c2f0f79ae94ecf6d983df053</a></p><p><a href="https://github.com/sugarlabs/log-activity/pull/18">https://github.com/sugarlabs/log-activity/pull/18</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6fe3c00afd0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week Progress #9]]></title>
            <link>https://medium.com/@hrishipatel99/gsoc-week-progress-9-9de57d92509a?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9de57d92509a</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[gtk]]></category>
            <category><![CDATA[gsoc-2019]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Mon, 22 Jul 2019 15:53:40 GMT</pubDate>
            <atom:updated>2019-07-22T15:53:40.374Z</atom:updated>
            <content:encoded><![CDATA[<p>Hope you had a great week! Welcome to another weekly blog ;)</p><p>A couple of issues were fixed for the Dashboard activity, they are:</p><ol><li>Fix refresh button (didn’t refresh all the data)</li><li>Fix scrollbar issues (didn’t display scrollbars on some devices running an older version of GTK.</li><li>Remove useless layout container(s).</li><li>Fix <a href="https://github.com/Hrishi1999/Dashboard.activity/issues/5">this issue</a> (The activity name can now be changed, the description can be added and the activity can be shared)</li><li>Lower the radius of Pie chart which could possibly help for the visibility of the pie chart.</li></ol><p>I did try fixing the issue where the pie chart shows the wrong activity name. A testing branch for that issue is <a href="https://github.com/Hrishi1999/Dashboard.activity/tree/pie-chart-test/">here</a>. This branch also includes a simplified datastore call but work still needs to be done.</p><p>Last week, progress was made of Tamagotchi widget too. I figured out how to get the batter information from <a href="https://github.com/sugarlabs/sugar/blob/c36b7fb8fb4acbe30ca118813e7fa90afbb45662/extensions/deviceicon/battery.py">here</a>. We are using badges for battery status which was fixes last week. The issue was that the attach points for the badge on the host icons were not available. It was fixed by creating a .ICON file for each host icon (embryo, teen and adult). The Tamagotchi widget is now almost complete, the artwork can be changed later by designers.</p><p>Links:</p><p><a href="https://github.com/Hrishi1999/sugar/tree/tamagotchi-widget/src/jarabe/view">https://github.com/Hrishi1999/sugar/tree/tamagotchi-widget/</a></p><p><a href="https://github.com/Hrishi1999/sugar/tree/tamagotchi-widget/src/jarabe/view">https://github.com/Hrishi1999/sugar-artwork/tree/tamagotchi-widget/</a></p><p><a href="https://github.com/Hrishi1999/Dashboard.activity/issues/5">https://github.com/Hrishi1999/Dashboard.activity/issues/5</a></p><p><a href="https://github.com/Hrishi1999/Dashboard.activity/issues/2">https://github.com/Hrishi1999/Dashboard.activity/issues/2</a></p><p>This week I would like to move forward with Phase 3 of GSoC, the work done to be required will be decided in a meeting tomorrow (23 July, Tuesday).</p><p>Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9de57d92509a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week Progress #8]]></title>
            <link>https://medium.com/@hrishipatel99/gsoc-week-progress-8-3c24e61ec6f2?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c24e61ec6f2</guid>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[gsoc-2019]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[gtk]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Mon, 15 Jul 2019 13:10:34 GMT</pubDate>
            <atom:updated>2019-07-15T13:10:34.552Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome back!</p><p>Let’s first talk about the issue that has been bugging for a time now, this <a href="https://github.com/Hrishi1999/Dashboard.activity/issues/2">https://github.com/Hrishi1999/Dashboard.activity/issues/2</a>. I asked one of my mentors to test different values for each Grid cell width and report me the values as I do not own a XO laptop. Some of the work to fix that issue is still left but we are making progress. I am expecting to finally fix most of the issues with it this week. Wish me luck :P</p><p>Another feature was added to the Dashboard, which is a refresh data button. It one of the features discussed in the Github issue given. Here is the refresh button in action:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*871beiRSq8ja4h72jYyXSg.gif" /></figure><p>This feature is still work-in-progress.</p><p>Another issue is with the Tamagotchi widget where we are using badges to show battery status. The badge would cut out of the icon and the issue is still being diagnosed.</p><p>This week’s plan:</p><ol><li>Fix issues from <a href="https://github.com/Hrishi1999/Dashboard.activity/issues/2">https://github.com/Hrishi1999/Dashboard.activity/issues/2</a></li><li>Complete the refresh button functionality</li><li>Diagnose and fix the issue with Tamagotchi widget</li></ol><p>We have a meeting today in which we will discuss several aspects of this project and revisit the work done again.</p><p>Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c24e61ec6f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week Progress #7]]></title>
            <link>https://medium.com/@hrishipatel99/gsoc-week-progress-7-f05c130e3b98?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f05c130e3b98</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[gsoc-2019]]></category>
            <category><![CDATA[gtk]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Mon, 08 Jul 2019 11:14:33 GMT</pubDate>
            <atom:updated>2019-07-08T11:14:33.045Z</atom:updated>
            <content:encoded><![CDATA[<p>Hope you had a nice week!</p><p>This is the second week of two and things have still been interesting. I’ve never used Fedora as a daily driver but it has taught me great things this week. Most of the time this week was spent on setting up Fedora VMs and testing because it went wrong multiple times. I finally have a working VM (to emulate XO?) but I am not getting similar results as on an XO. For more context, you can go through this issue <a href="https://github.com/Hrishi1999/Dashboard.activity/issues/2">https://github.com/Hrishi1999/Dashboard.activity/issues/2</a></p><p>Modifications to the Dashboard: Added a detailed view for pie chart. Since we are using pycha library which draws using cairo it can’t be interactive. Alternative ways are to show a) Legends b) Use a treeview to show how many entries of activity in Journal. I went with “b”. Here is a GIF demonstration of the window:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sg1xW-nqjVAF8FzUvRZe-w.gif" /></figure><p>You may have also noticed a refresh icon on the activity toolbar. It’s to refresh the data. It’s a feature WIP.</p><p>This week’s plan:</p><ol><li>Use badges for Tamagotchi widget</li><li>Change the icons of Tamagotchi (??)</li><li>Polish the Dashboard activity</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f05c130e3b98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC Week Progress #6]]></title>
            <link>https://medium.com/@hrishipatel99/gsoc-week-progress-6-1c9022d02298?source=rss-37496a2e628d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c9022d02298</guid>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Hrishi Patel]]></dc:creator>
            <pubDate>Mon, 01 Jul 2019 12:37:47 GMT</pubDate>
            <atom:updated>2019-07-01T12:37:47.420Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome back!</p><p>I made it through Phase 1 of GSoC yay! Phase 1 was exciting and I learned a lot of things and tricks that would help me make my work smoother in the later projects.</p><p>There isn’t a lot in the box in this week’s blog as most of the time was spent on testing and trying to fix the existing bugs here. Had a couple of issues solved so now I can test the activity on older devices soon.</p><p>This week, a few modifications were made to the Tamagotchi widget. Since the XO logo has been around since 2008, we decided to keep it and make it the highest possible transformation. To keep things short, here is the teen logo and adult logo now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/219/1*Jm1mfe4hbm-1uRzs88GczQ.png" /><figcaption>Teen</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/235/1*O3h3-bupBeLQiJdOjm8euA.png" /><figcaption>Adult</figcaption></figure><p>Coming back to Dashboard activity, a few changes were made. We had a meeting last Friday to check on the project and we discussed the Dashboard. One of the things discussed was the current issues with pie-chart. We did look for alternative solutions like Matplotlib but the problem is its size and packing it to a .XO bundle. We are sticking to the currently-used library, sugarpycha. I tried fixing a few issues with pie chart and activity. The activity now looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IPgTcSlqWTdsh67xkiNM2Q.png" /></figure><p>The colors are too bright in the pie chart right now and I will try to tone them down. Another suggestion was the Frame size should be dynamic to what the screen resolution of the device is, and not fixed size. I am currently working on it right now.</p><p>This week I will be working on:</p><ol><li>Fixing the issues discussed in the meeting</li><li>Test and fix issues of Dashboard on a Fedora 18 system.</li><li>Improve the Tamagotchi widget.</li></ol><p>Links:</p><ul><li><a href="https://github.com/Hrishi1999/Dashboard.Activity">Hrishi1999/Dashboard.activity</a></li><li><a href="https://github.com/Hrishi1999/sugar/tree/tamagotchi-widget">Hrishi1999/sugar</a></li></ul><p><a href="https://github.com/Hrishi1999/sugar-artwork/tree/tamagotchi-widget">https://github.com/Hrishi1999/sugar-artwork/tree/tamagotchi-widget</a></p><p>That’s all for the week’s blog. Hope you have a nice day!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c9022d02298" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>