<?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: Ghoshan J</title>
    <description>The latest articles on DEV Community by Ghoshan J (@ghoshanjega).</description>
    <link>https://dev.to/ghoshanjega</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%2F660725%2F3bcfe7d4-1eec-4ac8-ad46-f88a688e44ce.png</url>
      <title>DEV Community: Ghoshan J</title>
      <link>https://dev.to/ghoshanjega</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ghoshanjega"/>
    <language>en</language>
    <item>
      <title>Hong Kong Covid-19 Data Sourcing (2020)</title>
      <dc:creator>Ghoshan J</dc:creator>
      <pubDate>Thu, 14 Nov 2024 07:21:45 +0000</pubDate>
      <link>https://dev.to/ghoshanjega/hong-kong-covid-19-data-sourcing-2020-44pi</link>
      <guid>https://dev.to/ghoshanjega/hong-kong-covid-19-data-sourcing-2020-44pi</guid>
      <description>&lt;p&gt;Hong Kong is one of the early countries to report a patient positive for covid-19 on January 23rd 2020. Hong Kong also experienced the SARS outbreak in 2003, which is still remembered as a dark chapter in the region's post colonial memory. The protests against the government and thereby in extension to the Chinese authority had reached its peak during the middle of 2019, where more than a million protesters were out on the streets up until a security law was passed to reduce the havoc and political, financial instability it was causing. As the city was repairing the damages and assuring the financial sector that Hong Kong is still the free open economy that had once attracted the foreign companies to open offices, the unexpected pandemic comes as another stress test for this "developed" asian city.&lt;/p&gt;

&lt;p&gt;Nevertheless, I think Hong Kong has so far in 2020 done a good job at damage control and to prioritise public safety.&lt;/p&gt;

&lt;p&gt;Github python notebook : &lt;a href="https://github.com/ghoshanjega/HK-Covid-analysis" rel="noopener noreferrer"&gt;HK-Covid-analysis&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Data sourcing
&lt;/h2&gt;

&lt;p&gt;The popular covid data repository &lt;a href="https://github.com/owid/covid-19-data/tree/master/public/data" rel="noopener noreferrer"&gt;Ourworldindata (owid)&lt;/a&gt; reports numbers from Hong Kong under China (so I didn't feel like using that). Anyways we could make use of other official sources.&lt;/p&gt;

&lt;h3&gt;
  
  
  Data sourcing from data.gov.hk
&lt;/h3&gt;

&lt;p&gt;The government has an abundant &lt;a href="https://data.gov.hk/en-data/dataset/hk-dh-chpsebcddr-novel-infectious-agent" rel="noopener noreferrer"&gt;open datasets&lt;/a&gt; available for download. The datasets related to covid has list of cases, list of homes under quarantine, list of transportation modes taken by infected people, daily testing statistics, occupancy of quarantine centres, etc. Seriously, huge props for the government to make all this available through an api and update it daily (I've seen this being used at my company's HR to monitor anything related to the staff's residence). I used the "&lt;a href="https://data.gov.hk/en-data/dataset/hk-dh-chpsebcddr-novel-infectious-agent/resource/7148ecd3-11ae-4ad1-90cf-345d2a2ee7a0" rel="noopener noreferrer"&gt;Details of probable/confirmed cases of COVID-19 infection in Hong Kong&lt;/a&gt;"&lt;/p&gt;

&lt;h3&gt;
  
  
  Data sourcing from Google big data
&lt;/h3&gt;

&lt;p&gt;No surprises here. &lt;a href="https://cloud.google.com/blog/products/data-analytics/free-public-datasets-for-covid19" rel="noopener noreferrer"&gt;Google also collects&lt;/a&gt; and consolidates covid-19 data that is updated regularly. This is offered through their big data platform where you could use bigquery to narrow down the dataset. What's interesting is that this dataset also includes other complementary informations such as change in mobility, weather, testings, etc.&lt;/p&gt;

&lt;p&gt;I though there might be differences in the data as it is a point of contention between how America records a patient as positive vs the rest of the world. But, I guess Google is just using the official data submitted from each country.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbf4hp7iq8x4hfrn24x6b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbf4hp7iq8x4hfrn24x6b.png" alt="covid 19 plots" width="800" height="1054"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  High level analysis
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Do restrictions work?
&lt;/h3&gt;

&lt;p&gt;The government was quick to impose restrictions on social gathering and declare a state of urgency if i.e, more that 20 cases seen for 3 days in a row. In late 2020, mandatory testing for entire building or area were also imposed. Let's see if social distancing had an impact. Also, using google's mobility reports (data retrieved from location sharing) to see if the residents did in-fact follow the government guidelines to reduce going out.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffmr5gj2z06aprmkrdww8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffmr5gj2z06aprmkrdww8.png" alt="Restrictions" width="800" height="798"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Initial social distancing restrictions reduced mobility severely and also was able to contain the 1st wave. But we can see that people are visiting groceries up to 40% more than last year. This might be the reason why the 4rd wave continued for a prolonged time as there was no dip in grocery mobility (holiday season to blame).&lt;/p&gt;

&lt;h3&gt;
  
  
  Third wave analysis
&lt;/h3&gt;

&lt;p&gt;Let's look at the third wave closely. As the number of cases increased in June and July of 2020, the government blamed it mainly on the resident not adhering to the social distancing rules, and the influx of residents from abroad. Let's have a look at the timeline of events and air traffic.The amount of air travel reduced due to the pandemic is absolutely crazy (bad times for Cathay Pacific 😞). But other than that, I wasn't able to infer much from this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fke45xlzqn7oxn81blc6v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fke45xlzqn7oxn81blc6v.png" alt="third wave" width="800" height="765"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>I taught a postgraduate class on image segmentation for urban planning</title>
      <dc:creator>Ghoshan J</dc:creator>
      <pubDate>Thu, 14 Nov 2024 07:14:37 +0000</pubDate>
      <link>https://dev.to/ghoshanjega/i-taught-a-postgraduate-class-on-image-segmentation-for-urban-planning-43ik</link>
      <guid>https://dev.to/ghoshanjega/i-taught-a-postgraduate-class-on-image-segmentation-for-urban-planning-43ik</guid>
      <description>&lt;p&gt;This was back in 2021&lt;/p&gt;

&lt;p&gt;I have to start off by saying many thanks to my good friend &lt;strong&gt;Siddharth Khakhar&lt;/strong&gt; for this opportunity and under the guidance of Associate Professor &lt;strong&gt;Alain J.F. Chiaradia&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The course MUDP2020 as part of the HKU Master of Urban Design students were taught how to use a range of data collection/generation and analysis. Some are well known, and some are relatively novel in the programme, like social data sentiment analysis and image segmentation analysis. They might be crude to date – yet they will get better – we got to start anywhere.&lt;/p&gt;

&lt;p&gt;There were 4 main themes to this course, and I taught the theme "Street view images in urban research" to a group of students in this course. This course was not about teaching coding, but to introduce new tools that could be used in the field for the future of city planning.&lt;/p&gt;

&lt;h2&gt;
  
  
  My work
&lt;/h2&gt;

&lt;p&gt;What are we trying to achieve?&lt;br&gt;
Google street view images is a powerful tool for urban designers. They use it daily to analyze new prospects, carry research on existing cities, etc. My goal was to build a pipeline on analyzing an area using image segmentation. This should aid students on complementing this with other data to answer questions like "Is there enough greenery in the pathway?", "Are there any natural stressors present in this area leading to health issues?" (more on this later).&lt;/p&gt;

&lt;p&gt;Do it all python &lt;a href="https://colab.research.google.com/drive/1qgaiVSnuK0nSoKf4s7HJpRqNqyZu97WG?usp=sharing" rel="noopener noreferrer"&gt;script 🔗&lt;/a&gt;&lt;br&gt;
Python script that does a batched analysis.&lt;/p&gt;

&lt;p&gt;Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download the 360 panoramic images of an area. (Students were given access to SVD360 Pro to download the area in few steps)&lt;/li&gt;
&lt;li&gt;Load the images onto Google Drive&lt;/li&gt;
&lt;li&gt;Run the script&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Crop 360 panorama images to the different angles, so that analysis can be done on one particular view.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4lqlmuw7bg0pajsvt7oi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4lqlmuw7bg0pajsvt7oi.png" alt="panorama cropping" width="692" height="342"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Cropping is required on panoramic photos. For example, left view could be used for sidewalk analysis&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Run segmentation on the images on a pretrained model 'mobilenetv2_coco_cityscapes_trainfine'&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb8aqlmtwklzh8xltcuqi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb8aqlmtwklzh8xltcuqi.png" alt="Segmentation overlay as seen by the model" width="800" height="160"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Segmentation overlay as seen by the model&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Produce report on excel&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;file_path&lt;/li&gt;
&lt;li&gt;data_time_original&lt;/li&gt;
&lt;li&gt;google_street_view_image_id&lt;/li&gt;
&lt;li&gt;gps_info&lt;/li&gt;
&lt;li&gt;altitude&lt;/li&gt;
&lt;li&gt;segmentation categories (road, sidewalk, building, wall, fence, pole, traffic light, terrain, vegetation, sky, person, vehicles)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Challenges
&lt;/h2&gt;

&lt;p&gt;Students had little/no experience with coding/python. The class has to be conducted remotely for 3 out of the 5 months of the semester due to the lockdown for COVID in HK. This was also my first time teaching and therefor I was doubtful in each step if the students understood what I was saying. &lt;strong&gt;&lt;em&gt;Also, this was the first time the course was being taught.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Student takeaways
&lt;/h2&gt;

&lt;p&gt;Google Colab and Google Drive based script was very well welcomed by the students as it didn't require them to setup the python. The course review and instructor review was above average and received generous feedback.&lt;/p&gt;

&lt;p&gt;Out of all the student researches what caught my eye was as argument on using image segmentation based techniques to further explore on the research done by Honold et. al. on Multiple environmental burdens and neighborhood-related health of city residents. This group of students devised a research framework that uses image segmentation to get data for building quality, sky view, vegetation, complemented with other data (traffic noise, questionnaires) to identify natural stressors in a given community.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fafbbwevsjbqfvrp0h22q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fafbbwevsjbqfvrp0h22q.png" alt="students research proposal" width="563" height="309"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>My First KubeCon Experience: KubeCon 2024 Hong Kong</title>
      <dc:creator>Ghoshan J</dc:creator>
      <pubDate>Sat, 31 Aug 2024 06:34:36 +0000</pubDate>
      <link>https://dev.to/ghoshanjega/my-first-kubecon-experience-kubecon-2024-hong-kong-2o1l</link>
      <guid>https://dev.to/ghoshanjega/my-first-kubecon-experience-kubecon-2024-hong-kong-2o1l</guid>
      <description>&lt;p&gt;As a platform engineer living in Hong Kong, attending KubeCon for the first time was an incredible opportunity to see the principles of platform engineering in action. The conference showcased a plethora of technologies that I am eager to experiment with on my home server. Here’s a recap of my experience, insights, and what I plan to do next.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Keynote Highlights&lt;/strong&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Opening Remarks by Jim Zemlin&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Speaker:&lt;/strong&gt; Jim Zemlin, Executive Director, The Linux Foundation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Key Points:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;The focus on critical open-source software and its expansion into hardware and standards.&lt;/li&gt;
&lt;li&gt;Discussion on AI opportunities, including model hubs and AI safety.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Accelerating Electric Vehicle Innovation&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Speakers:&lt;/strong&gt; Kevin Wang (Huawei) &amp;amp; Saint Jiang (NIO)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Key Points:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;The use of KubeEdge for managing electric vehicles as edge nodes, demonstrating real-world applications of cloud-native technologies.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Hong Kong's Role in Open Source and AI&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Speaker:&lt;/strong&gt; Stormy Peters, VP of Communities, GitHub&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Key Points:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Hong Kong is rapidly growing in GitHub accounts, with strong support for open-source initiatives from local companies and the government.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Technical Sessions and Insights&lt;/strong&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Multi-Cluster Management&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Speakers:&lt;/strong&gt; Jeremy Olmsted-Thompson (Google), Hongcai Ren (Huawei), Jian Qiu (Red Hat)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Key Points:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;The introduction of the Cluster Inventory API for orchestration, crucial for handling workloads that exceed current cluster capabilities.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Project Lightning Talks&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key Technologies:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;nerdctl:&lt;/strong&gt; A Docker-compatible CLI for containerd, which I plan to use for container management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Karmada:&lt;/strong&gt; An evolution of Kubernetes federation, perfect for multi-cluster management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Xline:&lt;/strong&gt; A distributed storage engine designed for wide-area networks, enhancing data management across clusters.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Networking and Community Engagement&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The networking opportunities were invaluable. I connected with other platform engineers and developers, sharing insights and discussing the future of platform engineering. The collaborative spirit of the conference inspired me to contribute to open-source projects as a consumer, leveraging the knowledge gained from these interactions.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Takeaways and Future Plans&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Experimentation at Home:&lt;/strong&gt; I’m excited to implement the technologies discussed at KubeCon on my home server. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Blogging about My Journey:&lt;/strong&gt; I aim to document my experiments and findings in a series of blog posts. Sharing my learning process will not only help me solidify my understanding but also contribute to the community.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Open Source Contribution:&lt;/strong&gt; I intend to engage with open-source projects, starting small by utilizing existing technologies and gradually contributing to their development.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;KubeCon 2024 in Hong Kong was an eye-opening experience that deepened my understanding of platform engineering and cloud-native technologies. The insights gained and connections made will undoubtedly shape my future projects and contributions to the community. I encourage fellow developers to immerse themselves in such conferences—it's a fantastic way to learn, network, and grow in our ever-evolving field. &lt;/p&gt;

&lt;p&gt;Stay tuned for my upcoming blog posts where I will share my experiments and insights as I dive deeper into the technologies showcased at KubeCon!&lt;/p&gt;

</description>
      <category>kubecon</category>
      <category>opensource</category>
      <category>platform</category>
    </item>
  </channel>
</rss>
