<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Piyush&apos;s blog</title><description>I&apos;m Piyush Makwana, a software engineer, currently based in Bangalore, India. This is my digital playground.</description><link>https://piyushmakwana.in/</link><item><title>2025 Media Recap</title><link>https://piyushmakwana.in/post/media-recap-2025/</link><guid isPermaLink="true">https://piyushmakwana.in/post/media-recap-2025/</guid><description>What I Watched, and Read, Listed to in 2025</description><pubDate>Sat, 07 Feb 2026 13:30:00 GMT</pubDate><content:encoded>&lt;p&gt;My favorite movies, books, tv shows, and music I’ve watched in 2025, along with the complete list of media (not including music, of course), I’ve consumed this year.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;index&quot;&gt;Index&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#movies&quot;&gt;Movies&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#tv-shows&quot;&gt;TV Shows &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#books&quot;&gt;Books&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#music&quot;&gt;Music&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#video-games&quot;&gt;Video Games&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;movies&quot;&gt;Movies&lt;/h1&gt;
&lt;h2 id=&quot;1-one-battle-after-another&quot;&gt;1. One Battle After Another&lt;/h2&gt;
&lt;p&gt;I don’t really think I am capable enough to write a review for this. I saw it, I loved it, I think about this movie still, but I am scared to go into the details because I don’t think I yet have the vocabulary to describe this movie and do it justice. What I can confidently say is that this movie, along with every actor (especially Leo), deserves an Oscar.&lt;/p&gt;
&lt;h2 id=&quot;2-sinners&quot;&gt;2. Sinners&lt;/h2&gt;
&lt;p&gt;I have seen some movies with vampires in them, some movies that are good historical fiction, some movies which have amazing music, but I had never seen anything like Sinners. I went to watch it twice. This movie was such a delight.&lt;/p&gt;
&lt;h2 id=&quot;3-28-years-later&quot;&gt;3. 28 Years Later&lt;/h2&gt;
&lt;p&gt;The above two movies are well liked by many, but this one’s not so much. I think this is the sort of movie that speaks very well to only a particular slice of audience. I was part of that audience. The way it’s shot is a work of art (it’s messy but it’s good). I am glad Dany Boyle is taking this medium forward with such a risky style of filmmaking. Also, the music is such a surprise coming from a lesser-known artist. I still listen to its soundtrack often.&lt;/p&gt;
&lt;h3 id=&quot;notable-mentions&quot;&gt;Notable mentions&lt;/h3&gt;
&lt;p&gt;In 2025, I got to experience &lt;strong&gt;Interstellar&lt;/strong&gt; in IMAX. It was one of the best experiences of my life (not just theater). I also got to watch &lt;strong&gt;The Godfather&lt;/strong&gt;, &lt;strong&gt;The Godfather Part-2&lt;/strong&gt;, and &lt;strong&gt;Spider-Man 2&lt;/strong&gt; in theaters. Experiencing all of these was sublime.
Watching &lt;strong&gt;Amélie&lt;/strong&gt; felt like being heard. &lt;strong&gt;Boyhood&lt;/strong&gt; might become my go-to movies to rewatch. &lt;strong&gt;Wake Up Dead Man&lt;/strong&gt; was my favourite Knives Out movie. &lt;strong&gt;A Real Pain&lt;/strong&gt; was really good.&lt;/p&gt;



































































































































































































































































































































































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Rating&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Notes / Format&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0816692/&quot;&gt;Interstellar&lt;/a&gt;&lt;/td&gt;&lt;td&gt;10/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1065073/&quot;&gt;Boyhood&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0068646/&quot;&gt;The Godfather&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1255953/&quot;&gt;Incendies&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt8847712/&quot;&gt;The French Dispatch&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt15398776/&quot;&gt;Oppenheimer&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt30804471/&quot;&gt;28 Years Later&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0112471/&quot;&gt;Before Sunrise&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Rewatch&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0316654/&quot;&gt;Spider-Man 2&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Theater (Rewatch)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt26456034/&quot;&gt;Weapons&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2194499/&quot;&gt;About Time&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt30784869/&amp;#x26;authuser=1&quot;&gt;One Battle After Another&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0097165/&quot;&gt;Dead Poets Society&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0449059/&quot;&gt;Little Miss Sunshine&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14849194/&quot;&gt;The Holdovers&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0211915/&quot;&gt;Amélie&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0259534/&quot;&gt;Ramayana: The Legend of Prince Rama&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Theater (Anime Re-release)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0361748/&quot;&gt;Inglourious Basterds&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt30962635/&amp;#x26;authuser=1&quot;&gt;Sinners&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;IMAX (Twice)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt26425769/&quot;&gt;Ne Zha 2&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt28687798/&amp;#x26;authuser=1&quot;&gt;Flow&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt30039230/&amp;#x26;authuser=1&quot;&gt;Anora&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14230458/&quot;&gt;Poor Things&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt21192142/&quot;&gt;All of Us Strangers&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1022603/&quot;&gt;500 Days of Summer&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Rewatch&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0838221/&quot;&gt;The Darjeeling Limited&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0128445/&quot;&gt;Rushmore&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0071562/&quot;&gt;The Godfather Part II&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0209144/&quot;&gt;Memento&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7.5/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt29504473/&quot;&gt;Kantara: Chapter 1&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7.5/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt26744274/&quot;&gt;Superman&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt30501255/&amp;#x26;authuser=1&quot;&gt;Chainsaw Man – The Movie: Reze Arc&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt5040012/&quot;&gt;Nosferatu&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt28769018/&amp;#x26;authuser=1&quot;&gt;A Real Pain&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1870399/&quot;&gt;Don Jon&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Rewatch&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt18259086/&quot;&gt;Sonic the Hedgehog 3&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt20969586/&quot;&gt;Thunderbolts*&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;IMAX 3D&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt31464333/&amp;#x26;authuser=1&quot;&gt;Crayon Shin-chan: Our Dinosaur Diary&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt11293364/&amp;#x26;authuser=1&quot;&gt;Final Destination: Bloodlines&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt31456105/&amp;#x26;authuser=1&quot;&gt;Warfare&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0289043/&quot;&gt;28 Days Later&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt16311068/&quot;&gt;F1&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3397884/&quot;&gt;Sicario&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt27534307/&quot;&gt;Speak No Evil&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14230388/&quot;&gt;Asteroid City&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/find%3Fq%3DDhurandhar%25202025&amp;#x26;authuser=1&quot;&gt;Dhurandhar&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt32367850/&quot;&gt;Wake Up Dead Man&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt10676052/&quot;&gt;The Fantastic Four: First Steps&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;IMAX 3D&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/find%3Fq%3DSorry%2520Baby%2520movie&amp;#x26;authuser=1&quot;&gt;Sorry, Baby&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt32644265/&amp;#x26;authuser=1&quot;&gt;Demon Slayer: Kimetsu no Yaiba – Infinity Castle&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/find%3Fq%3DLokha%2520Chapter%25201%2520Chandra&amp;#x26;authuser=1&quot;&gt;Lokha Chapter 1: Chandra&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0427944/&quot;&gt;Thank You for Smoking&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt22408160/&quot;&gt;Kinds of Kindness&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0265666/&quot;&gt;The Royal Tenenbaums&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1493274/&quot;&gt;Caught Stealing&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt26961445/&amp;#x26;authuser=1&quot;&gt;TRON: Ares&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;IMAX 3D&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1757678/&quot;&gt;Avatar: Fire and Ash&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1343092/&quot;&gt;The Great Gatsby&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;Rewatch&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt19053918/&amp;#x26;authuser=1&quot;&gt;Mickey 17&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1104001/&quot;&gt;TRON: Legacy&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt26743278/&amp;#x26;authuser=1&quot;&gt;Frankenstein&lt;/a&gt;&lt;/td&gt;&lt;td&gt;5/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2080374/&quot;&gt;Steve Jobs&lt;/a&gt;&lt;/td&gt;&lt;td&gt;5/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt27713918/&quot;&gt;The Monkey&lt;/a&gt;&lt;/td&gt;&lt;td&gt;5/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/find%3Fq%3DSaiyaara%25202025&amp;#x26;authuser=1&quot;&gt;Saiyaara&lt;/a&gt;&lt;/td&gt;&lt;td&gt;5/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt32338029/&amp;#x26;authuser=1&quot;&gt;Bugonia&lt;/a&gt;&lt;/td&gt;&lt;td&gt;5/10&lt;/td&gt;&lt;td&gt;Theater&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt8999762/&quot;&gt;The Brutalist&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;IMAX&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6587046/&quot;&gt;The Boy and the Heron&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Rewatch&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0477095/&quot;&gt;Starter for 10&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0147800/&quot;&gt;10 Things I Hate About You&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Total Movies:&lt;/strong&gt; 69&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Theatrical Visits:&lt;/strong&gt; 36&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;tv-shows&quot;&gt;TV Shows&lt;/h1&gt;
&lt;h2 id=&quot;1-pluribus&quot;&gt;1. Pluribus&lt;/h2&gt;
&lt;p&gt;I am just glad this show exists in this age of 5-second gratification slop. It’s a slow burn; there’s deliberate focus on little things (which some might say might not make the plot go forward), which makes you believe in the reality of the fiction.&lt;/p&gt;
&lt;h2 id=&quot;2-the-pitt&quot;&gt;2. The Pitt&lt;/h2&gt;
&lt;p&gt;I like the shows that give me stress and put me in existential dread while also making me appreciate the extraordinary effort that goes behind a particular profession ( cough cough… The Bear).&lt;/p&gt;
&lt;h2 id=&quot;3-smiling-friends&quot;&gt;3. Smiling Friends&lt;/h2&gt;
&lt;p&gt;This one’s just damn fun and aligns with my weird sense of humour.&lt;/p&gt;
&lt;h3 id=&quot;notable-mention&quot;&gt;Notable mention&lt;/h3&gt;
&lt;p&gt;Severance S2, The Studio (S1) Eulogy from Black Mirror S7, Rewatched Daredevil and The Bear; they are just masterpieces as ever.&lt;/p&gt;







































































































































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Season / Episodes&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Rating&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3322312/&quot;&gt;Daredevil&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S2 (E1-13), S3&lt;/td&gt;&lt;td&gt;9/10 (S3), 8/10 (S2) | Rewatch&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt11280740/&quot;&gt;Severance&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S2&lt;/td&gt;&lt;td&gt;8.5/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/find%3Fq%3DPluribus%2520TV%2520Series%25202025&amp;#x26;authuser=1&quot;&gt;Pluribus&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1&lt;/td&gt;&lt;td&gt;8.5/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14452776/&quot;&gt;The Bear&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1, S2, S3, S4&lt;/td&gt;&lt;td&gt;8/10 (S4) | Rewatch&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt7018318/&amp;#x26;authuser=1&quot;&gt;Tour de Pharmacy&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt31922926/&amp;#x26;authuser=1&quot;&gt;The Pitt&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E1-12&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt11591010/&amp;#x26;authuser=1&quot;&gt;Smiling Friends&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1, S2, S3&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/find%3Fq%3DAdults%2520TV%2520Series%25202025&amp;#x26;authuser=1&quot;&gt;Adults&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt7658402/&quot;&gt;Harley Quinn&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S5 E1-10&lt;/td&gt;&lt;td&gt;7/10 (E7-10)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt31467465/&amp;#x26;authuser=1&quot;&gt;The Studio&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E1-10&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0472954/&quot;&gt;It’s Always Sunny in Philadelphia&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S17 E1-8&lt;/td&gt;&lt;td&gt;Rewatch&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt13146488/&quot;&gt;Peacemaker&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1, S2 E1-8&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt26545262/&amp;#x26;authuser=1&quot;&gt;Creature Commandos&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt9018036/&amp;#x26;authuser=1&quot;&gt;Mythic Quest&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S4&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt13406094/&quot;&gt;The White Lotus&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S3&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1981558/&quot;&gt;Key &amp;#x26; Peele&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S3 E2-6&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt16225766/&quot;&gt;Your Friendly Neighborhood Spider-Man&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E1, 2&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt27790101/&quot;&gt;Conan O’Brien Must Go&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3398228/&quot;&gt;BoJack Horseman&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S2, 1 Ep&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt14535888/&amp;#x26;authuser=1&quot;&gt;Daredevil: Born Again&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E1-9&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3530232/&quot;&gt;Last Week Tonight with John Oliver&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E3-6&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0103409/&quot;&gt;Dragon Ball Z&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Ep 1-&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.imdb.com/title/tt29463558/&amp;#x26;authuser=1&quot;&gt;Dragon Ball Daima&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Ep 1&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2861424/&quot;&gt;Rick and Morty&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S8 E1&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2085059/&quot;&gt;Black Mirror&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S7 (E1, 2…)&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Total Shows (with at least 1 season watched):&lt;/strong&gt; 16&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;books&quot;&gt;Books&lt;/h1&gt;
&lt;h2 id=&quot;1-speaker-of-the-dead&quot;&gt;1. Speaker of the Dead&lt;/h2&gt;
&lt;p&gt;I started reading this immediately after finishing Ender’s Game (its predecessor), and I was hooked from the very beginning. It starts off as a sort of mystery. It has elements of a family drama with a very well-written set of characters (who are very human even if they are aliens sometimes). It has surprisingly great humour. It’s subtle (not in your face Marvel humour), and the amazing backdrop of a great science fiction universe is just a cherry on top.&lt;/p&gt;
&lt;h2 id=&quot;2-siddhartha&quot;&gt;2. Siddhartha&lt;/h2&gt;
&lt;p&gt;I wouldn’t call myself a spiritual person, but this book has been the closest I could ever get to “getting it“. One of the most thought-provoking books I’ve read so far.&lt;/p&gt;
&lt;h2 id=&quot;3-the-brothers-karamazov--project-hail-marry&quot;&gt;3. The Brothers Karamazov / Project Hail Marry&lt;/h2&gt;
&lt;p&gt;It’s a tie between Project Hair Marry and The Brothers Karamazov.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Project Hail Marry&lt;/strong&gt;: I loved it from start to finish, especially the final 1/3rd of the book, which I just couldn’t put down and finished in a day. There’s this particular character (no spoilers) that I just adored more than any other fictional character in recent memory. The flashback sequences were a bit annoying in the beginning. I can’t wait to watch the movie adaptation of this when it comes out in a few months.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Brothers Karamazov&lt;/strong&gt;: Finishing this was sort of an achievement. I don’t think that my mind would come up with words that would do this one justice. All I can say is I liked it, but I couldn’t think of anyone in my life I would recommend this to (which is a bit annoying). This is the sort of book I might get something different out of if I read it in a different phase of life, which I look forward to doing maybe in a decade.&lt;/li&gt;
&lt;/ul&gt;































































































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Title&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Rating&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Notes / Status&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/54493401-project-hail-mary&quot;&gt;Project Hail Mary&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.google.com/search?q=https://www.goodreads.com/book/show/4965.Siddhartha&amp;#x26;authuser=1&quot;&gt;Siddhartha&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/34051011-pachinko&quot;&gt;Pachinko&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8.5/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/375802.Ender_s_Game&quot;&gt;Ender’s Game&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/16299.And_Then_There_Were_None&quot;&gt;And Then There Were None&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/331256.Roadside_Picnic&quot;&gt;Roadside Picnic&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/139400713-martyr&quot;&gt;Martyr!&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/32758901-all-systems-red&quot;&gt;All Systems Red&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unrated&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4671.The_Great_Gatsby&quot;&gt;The Great Gatsby&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unrated&lt;/td&gt;&lt;td&gt;Finsihed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/23692271-sapiens&quot;&gt;Sapiens: A Brief History of Humankind&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially Read (Ch 1-7)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/23463279-designing-data-intensive-applications&quot;&gt;Designing Data-Intensive Applications&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially Read  (Ch 3-4)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/38447.The_Handmaid_s_Tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/166997.Stoner&quot;&gt;Stoner&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/38820046-21-lessons-for-the-21st-century&quot;&gt;21 Lessons for the 21st Century&lt;/a&gt;&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially Listened to Audiobook&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Books finished&lt;/strong&gt;: 12&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;music&quot;&gt;Music&lt;/h1&gt;
&lt;style&gt;
	.gallery {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 5px;
	}
	.gallery img {
		width: 100%;
		height: auto;
	}
	.gallery-item {
		text-align: center;
	}
	.gallery-caption {
		margin-top: 0px;
		font-size: 10px;
		color: #333;
	}
	/* Media query for phone screens */
	@media (max-width: 600px) {
		.gallery {
			grid-template-columns: repeat(2, 1fr);
		}
	}
&lt;/style&gt;
&lt;div id=&quot;gallery&quot; class=&quot;gallery&quot;&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2025_summary.png&quot; alt=&quot;Image 1&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Summary&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2025_top_song.png&quot; alt=&quot;Image 2&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Top Songs&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2025_top_album.png&quot; alt=&quot;Image 11&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Top Albums&lt;/div&gt;
	&lt;/div&gt;
		&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2025_top_artist.png&quot; alt=&quot;Image 5&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Top Artists&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2025_top_genres.png&quot; alt=&quot;Image 7&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Top Generes&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;hr&gt;
&lt;h1 id=&quot;video-games&quot;&gt;Video Games&lt;/h1&gt;
&lt;p&gt;Hmm now I forgot to save the PlayStation recap before It got taken down so I don’t have any data on this. From what I remember:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Total Playtime ~ 100hrs (one of fewest in years :( )&lt;/li&gt;
&lt;li&gt;Platform Played: PS5 (~80hrs) and Nintendo Switch (~20hrs).&lt;/li&gt;
&lt;li&gt;Games Finished:
&lt;ul&gt;
&lt;li&gt;Blackmyth wukong&lt;/li&gt;
&lt;li&gt;Bioshock: Infinity&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;br&gt;
&lt;div class=&quot;div_box&quot;&gt;
Note: Ratings in the tables represent feelings/opinions short term after watching them (hours to few days), not a good representation of how much they have stayed with me.
&lt;/div&gt;</content:encoded><updated>Feb 07 2026 16:25</updated></item><item><title>Reading Logs Fall 2025</title><link>https://piyushmakwana.in/post/reading-logs-2025/</link><guid isPermaLink="true">https://piyushmakwana.in/post/reading-logs-2025/</guid><description>Attempting to achieve my reading goal for the year 2025</description><pubDate>Wed, 03 Sep 2025 00:08:00 GMT</pubDate><content:encoded>&lt;h3 id=&quot;index&quot;&gt;Index&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#prologue&quot;&gt;Prologue&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#logs&quot;&gt;Logs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#epilogue&quot;&gt;Epilogue&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;prologue&quot;&gt;Prologue&lt;/h1&gt;
&lt;p&gt;At some point in the beginning of this year I decided to set a very ambitious goal for myself, to read 24 books this year, and it’s going as any new year’s goal is canonically supposed to go i.e. not great.&lt;/p&gt;
&lt;h2 id=&quot;y-tho&quot;&gt;y tho?&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;I like reading and there’s so much I want to read, but I’ve never been able to build a successful habit out of it.&lt;/li&gt;
&lt;li&gt;At the end of the day I read (fiction) for entertainment purposes but I’ve noticed that brings me much more satisfaction than watching a YouTube video (the platform which I spend most time on currently, &lt;em&gt;It’s not an addiction, I can quit any time&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;Sleep is important to me, unfortunately I am bad at it, and so far reading before heading to bed has been the best sleep aid for me.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;story-so-far&quot;&gt;Story so far&lt;/h2&gt;
&lt;p&gt;I’ve finished reading &lt;a href=&quot;https://www.goodreads.com/readingchallenges/gr/annual/2025/QVc1SDY0VVpPR01UNgMjAyNQ&quot;&gt;7 books&lt;/a&gt;, and partially read 3 books (2 fiction (Stoner and Children of Dune) and a non-fiction (Sapiens)).&lt;/p&gt;
&lt;h2 id=&quot;what-do-i-need-to-do-to-achieve-my-goal&quot;&gt;What do I need to do to achieve my goal?&lt;/h2&gt;
&lt;p&gt;Conveniently, as of writing this, there are 17 weeks left in this year and I need to read 17 books. That’s 1 book a week.
&lt;br&gt;&lt;/p&gt;
&lt;p&gt;So if&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;p&lt;/strong&gt; = number of pages in the book currently reading and&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;n&lt;/strong&gt; = number of days I can read in that week,
Then I should be reading &lt;strong&gt;p/n&lt;/strong&gt; pages per day.
If I am reading multiple (&lt;strong&gt;k&lt;/strong&gt;) books, it should be &lt;strong&gt;(p1/n1)/k&lt;/strong&gt; pages for book1, &lt;strong&gt;(p2/n2)/k&lt;/strong&gt; pages from book 2 and so on…&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;
&lt;p&gt;“That’s simple… right?” &lt;em&gt;I said to myself while shedding a tear&lt;/em&gt;.&lt;/p&gt;
&lt;br&gt;
&lt;p&gt;This assumes that I am a perfect being, which I am far from; some days I might read more and some days I might read less (more likely). I don’t want to put such constraints on myself. And the main purpose of this thing is that I want to build a new habit that will last a long time, and I want to read books that are already on my shelf and reading list. I don’t want to read 24 100-page short stories. &lt;br&gt;&lt;/p&gt;
&lt;p&gt;On top of that, some books might not need 7 days to read and some books might take me a whole month. &lt;a href=&quot;https://www.goodreads.com/book/show/7126.The_Count_of_Monte_Cristo&quot;&gt;Cough cough…&lt;/a&gt; &lt;br&gt;&lt;/p&gt;
&lt;p&gt;I have to keep in mind that the number of pages from the above calculation is not my true end goal; they are just to provide direction.&lt;/p&gt;
&lt;h2 id=&quot;the-plan&quot;&gt;The Plan&lt;/h2&gt;
&lt;h3 id=&quot;weekly&quot;&gt;Weekly&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Plan ahead: pick a book (If not reading anything), see how many days you can read (I won’t be reading when I am on vacation).&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;At the end of the final day of the week, update this blog.
&lt;ul&gt;
&lt;li&gt;Write the daily logs for the week in the log section.&lt;/li&gt;
&lt;li&gt;Reflect on the successes and failures, how it went, see if you can learn something from the experience, and update the protocol if needed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Write a brief review of the book you read (privately, and mainly for fiction).&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;daily&quot;&gt;Daily&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Before going to sleep, read for at least 15 mins.&lt;/li&gt;
&lt;li&gt;Write a daily reading log: Read &lt;strong&gt;q&lt;/strong&gt; pages from &lt;strong&gt;b&lt;/strong&gt; book.&lt;/li&gt;
&lt;li&gt;In case of non-fiction books, take notes alongside reading.&lt;/li&gt;
&lt;li&gt;(Optional) For long books (fiction), it would be wise to write a brief summary every day.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;logs&quot;&gt;Logs&lt;/h1&gt;
&lt;p&gt;To be updated every Wednesday.&lt;/p&gt;
&lt;h3 id=&quot;week-1&quot;&gt;Week-1&lt;/h3&gt;
&lt;p&gt;Started reading &lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;, read until page 246 (+Intro) (66%) across 5 days (I was on a 4-day trip, 2 of the days I read during the flight). It’s a sequel to &lt;a href=&quot;https://www.goodreads.com/book/show/375802.Ender_s_Game&quot;&gt;Ender’s Game&lt;/a&gt; which I had just recently finished. I am enjoying it very much (more than its predecessor).&lt;/p&gt;









































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;03-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;&lt;/td&gt;&lt;td&gt;50&lt;/td&gt;&lt;td&gt;Intro, 1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;04-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;&lt;/td&gt;&lt;td&gt;53&lt;/td&gt;&lt;td&gt;2,3,4,5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;05-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;&lt;/td&gt;&lt;td&gt;63&lt;/td&gt;&lt;td&gt;6,7,8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;06-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;&lt;/td&gt;&lt;td&gt;36&lt;/td&gt;&lt;td&gt;9,10,11&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;09-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;&lt;/td&gt;&lt;td&gt;63&lt;/td&gt;&lt;td&gt;12,13,14&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-2&quot;&gt;Week-2&lt;/h3&gt;
&lt;p&gt;Finished reading &lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt; on the morning of Day 3 of this week. I loved it. I would rate it 5/5. Started reading &lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt; (About time. It has been on my shelf for more than a year, perhaps even two). And &lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt; (I’ve always wanted to read it, but its length seemed daunting. It’s around 800-900 pages long. Next month, I am planning to view a play adaptation of the same that gave me reason to start this and also gave me a deadline to finish it by, hoping to finish it before watching the play.)
Later half of this week, I didn’t read as much as I’d like to. I think it takes some time to settle into a new novel, and I’ve started two. If it gets daunting, I think I’ll just focus on the one I like more first.&lt;/p&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;10-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;15&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;11-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;&lt;/td&gt;&lt;td&gt;50&lt;/td&gt;&lt;td&gt;16&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;12-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/7967.Speaker_for_the_Dead&quot;&gt;Speaker for the Dead&lt;/a&gt;(Finished),&lt;br&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt;(Started)&lt;/td&gt;&lt;td&gt;56, 20&lt;/td&gt;&lt;td&gt;17,18 | 1-3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;13-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt;&lt;/td&gt;&lt;td&gt;27&lt;/td&gt;&lt;td&gt;4-8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;14-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt;&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;15-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;(Started)&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Introduction&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;16-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 2%&lt;/td&gt;&lt;td&gt;Introduction&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-3&quot;&gt;Week-3&lt;/h3&gt;
&lt;p&gt;I wasn’t very disciplined with my readings or anything else this week, even though I am really enjoying reading The Brothers Karamazov and am thinking about it a lot, but I’ve noticed that I don’t have the habit of just picking it up and reading a chapter. Opening YouTube or browsing Reddit is much more easy, even though they don’t bring as much satisfaction to my life.&lt;/p&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;17-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 9%&lt;/td&gt;&lt;td&gt;Book-1 (Ch1-5), Book-2 (Ch1-4)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;18-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 12%&lt;/td&gt;&lt;td&gt;Book-2 (Ch5-7)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;19-09-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;20-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 14%&lt;/td&gt;&lt;td&gt;Book-2 (Ch8), Book-3 (Ch1,2)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;21-09-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;22-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 15%&lt;/td&gt;&lt;td&gt;Book-3 (Ch-3)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;23-09-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-4&quot;&gt;Week-4&lt;/h3&gt;
&lt;p&gt;Stated reading &lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt; by Haruki Murakami on the 25th. I’ve read and loved three of Murakami’s novels (I also listened to this audiobook some year back but never finished it), and recently I’ve been running regularly and ran my first half marathon. This seems like a perfect time to pick it up. (Also, it’s small and easy to read, which I could really use right now.) I almost finished reading it.
This week, I regained my consistency for reading, which I had fumbled last week, hoping to continue this next week also.&lt;/p&gt;













































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;24-09-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;25-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;(Started)&lt;/td&gt;&lt;td&gt;upto 27%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;26-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 42%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;27-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 48%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;28-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 54%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;29-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 67%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;30-09-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 91%&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-5&quot;&gt;Week-5&lt;/h3&gt;
&lt;p&gt;Finished reading &lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;.
Continued reading &lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;.&lt;/p&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;01-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/2195464.What_I_Talk_About_When_I_Talk_About_Running&quot;&gt;What I Talk About When I Talk About Running&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Finished&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;02-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 15%&lt;/td&gt;&lt;td&gt;Book-3 (Ch-4)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;03-10-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;04-10-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;05-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 18%&lt;/td&gt;&lt;td&gt;Book-3 (Ch-5,6,7,8)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;06-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 21%&lt;/td&gt;&lt;td&gt;Book-3 (Ch-9,10,11)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;07-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 25%&lt;/td&gt;&lt;td&gt;Book-4 (Ch-1,2,3,4,5)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-6&quot;&gt;Week-6&lt;/h3&gt;
&lt;p&gt;Continuing reading &lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt; though not with consistency as I would have hoped. The reason for that is I suspect the way my mind works whenever I think about starting reading, I would look up the length of the chapter and number of chapters remaining in the book, I set a lofty goal and then I procrastinate.
I know what I should do is just read just a bit for lots of bits throughout the day but my mind refuses to work this way. It’s either sit down for a few hours and read or nothing. I should work on this. &lt;br&gt;
Regardless, I am enjoying this book a lot and I don’t want to rush and I want to give it the time it deserves. I am taking notes (summaries of chapters) which I hadn’t needed to refer to so far (perhaps because once you write it down you also commit it to memory).&lt;/p&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;08-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 29%&lt;/td&gt;&lt;td&gt;Book-4 (Ch-6,7), Book-5 (Ch-1,2)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;09-10-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;10-10-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;11-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 33%&lt;/td&gt;&lt;td&gt;Book-5 (ch-3,4)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;12-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 36%&lt;/td&gt;&lt;td&gt;Book-5 (ch-5,6,7), Book-6 (Ch-1)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;13-10-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;14-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 39%&lt;/td&gt;&lt;td&gt;Book-6 (Ch-2)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-7&quot;&gt;Week-7&lt;/h3&gt;
&lt;p&gt;Happy with the consistency this week.
I started reading &lt;a href=&quot;https://www.goodreads.com/book/show/91950.The_Myth_of_Sisyphus&quot;&gt;The Myth of Sisyphus&lt;/a&gt; it’s a bit tough to read in the sense that it is a Philosophical book and If I don’t write my understanding and thoughts alongside reading it, reading it would be pointless.&lt;/p&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;15-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 43%&lt;/td&gt;&lt;td&gt;Book-6 (Ch-3), Book-7(Ch-1,2)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;16-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 47%&lt;/td&gt;&lt;td&gt;Book-7 (Ch-3,4), Book-8 (Ch-1,2)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;17-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 54%&lt;/td&gt;&lt;td&gt;Book-8 (Ch-3,4,5,6,7)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;18-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 55%&lt;/td&gt;&lt;td&gt;Book-8 (Ch-8)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;19-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/91950.The_Myth_of_Sisyphus&quot;&gt;The Myth of Sisyphus&lt;/a&gt; (Started)&lt;/td&gt;&lt;td&gt;upto 9%&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;20-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 59%&lt;/td&gt;&lt;td&gt;Book-9 (Ch-1,2,3,4)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;21-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 65%&lt;/td&gt;&lt;td&gt;Book-9 (Ch-5,6,7,8,9), Book-10 (Ch-1,2)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-8&quot;&gt;Week-8&lt;/h3&gt;
&lt;p&gt;Finished reading &lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;, man. I know I’ve read something great, but I just can’t put into words what specifically I like about it, If someone were to ask me would I recommend it I would say yes without a thought, but at this point I don’t know specifically why! This books is so many things:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It’s about human nature and various aspects of said nature.&lt;/li&gt;
&lt;li&gt;It’s a philosophical dialogue on topics such a faith and lack of faith.&lt;/li&gt;
&lt;li&gt;It’s a family drama.&lt;/li&gt;
&lt;li&gt;It’s a murder mystery.&lt;br&gt;
I had gone through so many different emotions while reading this, but when I finished it I was just blank. All I know is that I just want to read more Dostoevsky. &lt;br&gt;
Also resumed reading &lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt; which I had started (6 weeks ago) and briefly read but decided to put on hold and read B.K. instead.&lt;/li&gt;
&lt;/ul&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;22-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 71%&lt;/td&gt;&lt;td&gt;Book-10 (Ch-3-7), Book-11 (Ch-1,2)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;23-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 78%&lt;/td&gt;&lt;td&gt;Book-11 (Ch-3-8)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;24-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 83%&lt;/td&gt;&lt;td&gt;Book-11 (Ch-9,10), Book-12 (Ch-1-3)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;25-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;upto 87%&lt;/td&gt;&lt;td&gt;Book-12 (Ch-4-8)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;26-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Finished&lt;/td&gt;&lt;td&gt;Book-12 (Ch-9-14) Epilogue (Ch-1-3)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;27-10-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;28-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt;&lt;/td&gt;&lt;td&gt;12 (upto page 72)&lt;/td&gt;&lt;td&gt;10,11,12&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-9&quot;&gt;Week-9&lt;/h3&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;29-10-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;30-10-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/41733839-the-great-gatsby&quot;&gt;The Great Gatsby&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;Ch-1,2,3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;31-10-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;01-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;02-11-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/41733839-the-great-gatsby&quot;&gt;The Great Gatsby&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;Ch-4,5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;03-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;04-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-10&quot;&gt;Week-10&lt;/h3&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;05-11-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/41733839-the-great-gatsby&quot;&gt;The Great Gatsby&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;Ch-6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;06-11-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/472331.Watchmen&quot;&gt;Watchmen&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;Ch-1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;07-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;08-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;09-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;10-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;11-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;week-11&quot;&gt;Week-11&lt;/h3&gt;
&lt;p&gt;Finished reading &lt;a href=&quot;https://www.goodreads.com/book/show/41733839-the-great-gatsby&quot;&gt;The Great Gatsby&lt;/a&gt;, I don’t know how I feel about it, I wish I hadn’t seen the movie so that I could from my own interpretations of the book.&lt;/p&gt;





















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;Book/s&lt;/th&gt;&lt;th&gt;Pages/Percent Read&lt;/th&gt;&lt;th&gt;Chapters Read&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;12-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;13-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;14-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;15-11-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/41733839-the-great-gatsby&quot;&gt;The Great Gatsby&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Finished&lt;/td&gt;&lt;td&gt;Ch-7,8,9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;16-11-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt;&lt;/td&gt;&lt;td&gt;75-90&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;17-11-2025&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt;&lt;/td&gt;&lt;td&gt;90-102&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;18-11-2025&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h1 id=&quot;epilogue&quot;&gt;Epilogue&lt;/h1&gt;
&lt;p&gt;Written on: 26th Jan 2026&lt;/p&gt;
&lt;p&gt;As one can observe above, I gave up on building this habit at around week 11 (I have a very good excuse for this; my career break came to an end, and lots of free time I had disappeared). Thought this activity, I read 4 books; one of them (&lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;The Brothers Karamazov&lt;/a&gt;) was very long and quiet outside my comfort zone. Without this experiment, I wouldn’t have read it, and I am glad I did. &lt;br&gt;&lt;/p&gt;
&lt;p&gt;Post this activity, I read one more book (&lt;a href=&quot;https://www.goodreads.com/book/show/32758901-all-systems-red&quot;&gt;All Systems Red&lt;/a&gt;) in the year 2025, which makes a total of &lt;a href=&quot;https://www.goodreads.com/user/year_in_books/2025/80999749&quot;&gt;12 books&lt;/a&gt; read in 2025, while it is a “little less” than 24 (my original goal). It is still the most number of books I’ve read in any year. &lt;br&gt;&lt;/p&gt;
&lt;p&gt;One of the books I’ve tried the hardest to read was the &lt;a href=&quot;https://www.goodreads.com/book/show/34454589-the-handmaid-s-tale&quot;&gt;The Handmaid’s Tale&lt;/a&gt;. I don’t know what it is. It’s not like I didn’t enjoy it; I did whenever I picked it up, but it was just so hard to pick it up. From this, I should learn that some books I should just give up on, but honestly, I didn’t learn that. I still want to finish it… someday.&lt;/p&gt;
&lt;h2 id=&quot;what-did-i-learn-from-this&quot;&gt;What did I learn from this?&lt;/h2&gt;
&lt;p&gt;Honestly, nothing new; the same old logical and rational stuff:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It’s better to read a little every day rather than doing a lot on a few days… bla bla bla&lt;/li&gt;
&lt;li&gt;It’s okay to leave something unfinished if it does not click… bla bla bla &lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These are the facts I already knew, but my brain refuses to internalize them properly. I am stupid. &lt;br&gt;
Some facts about myself that got reinforced:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I really like good long-format content, long books like the &lt;a href=&quot;https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov&quot;&gt;BK&lt;/a&gt;, 3hr long movies, long video games. &lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Not everything has to be a life lesson. I really enjoyed the 4 books I read throughout this activity. If it wasn’t for this activity, I probably wouldn’t have read even that.&lt;/p&gt;
&lt;h2 id=&quot;whats-next&quot;&gt;What’s next?&lt;/h2&gt;
&lt;p&gt;I don’t have a particular number of reading goals this year. What I do know is I want to read long books; specifically, I want to read: The Odyssey, Infinite Jest, and Crime and Punishment. &lt;br&gt;&lt;/p&gt;
&lt;p&gt;I still would like to build the habit of reading someday, but I don’t think it’s currently a priority (it is to keep the other existing good habits I have, while getting used to having an in-office job).&lt;/p&gt;</content:encoded><updated>Jan 26 2026 12:47</updated></item><item><title>Munnar (Travel-log)</title><link>https://piyushmakwana.in/post/travel-log-munnar/</link><guid isPermaLink="true">https://piyushmakwana.in/post/travel-log-munnar/</guid><description>2 day trip to Munnar</description><pubDate>Sat, 21 Jun 2025 01:04:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Destination&lt;/strong&gt;: &lt;a href=&quot;https://maps.app.goo.gl/zoKzE2XNWfaVZx4u5&quot;&gt;Munnar, Kerala&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Duration&lt;/strong&gt;: 2 days, 1 night.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Date&lt;/strong&gt;: 5th and 6th April 2025.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Accommodation&lt;/strong&gt;: &lt;a href=&quot;https://maps.app.goo.gl/6z2JM56LMrKGSxZz6&quot;&gt;Grand Plaza Munnar&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transportation&lt;/strong&gt;: Bus, Auto, Jeep&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#log&quot;&gt;&lt;strong&gt;Log&lt;/strong&gt;&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#day-1&quot;&gt;Day-1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#day-2&quot;&gt;Day-2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#Food&quot;&gt;&lt;strong&gt;Food&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#review&quot;&gt;&lt;strong&gt;Review&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;log&quot;&gt;Log&lt;/h1&gt;
&lt;h2 id=&quot;day-1&quot;&gt;Day-1&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/49FTzZouLnzfqEaH9&quot;&gt;Dream Land Fun and Adventure&lt;/a&gt; Very fun adventure park, with a wide variety of activities to do across various levels of difficulty, some of them were even quite challenging. (8/10)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Spice Garden and Ayurvedic Garden&lt;/strong&gt;: One of many such spots where you can take a tour of a garden and learn about various spices and Ayurvedic herbs, it was alright mostly the tour is a sales pitch for their products. (6/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/7C4BTXsv3gQdHgRx5&quot;&gt;Macofa Chocolate Factory&lt;/a&gt; Didn’t try the chocolate at the “chocolate factory” (apologies I am not very bright), had hot chocolate and Belgian hot chocolate though both of them were quite mediocre.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/aMgu3nzCCGhNR4sw8&quot;&gt;Punarjani Traditional Village&lt;/a&gt; One of the best performative experiences of my life, the performance and the “vibes” (again apologies for using this word as stated earlier I am not very bright) were on point, It was like being transported into a fictional world. There are two types of performances you can see here, one was kalarippayattu which is Indian martial arts which kept me on my toes, other was classical dance fusion which was one of the most mesmerizing performances I’ve ever seen. (Spoilers: I did not expect that I would be listening to Heavy Metal at this place) &lt;strong&gt;(10/10)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;day-2&quot;&gt;Day-2&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/TcL7ufA52xqEkFJU8&quot;&gt;Kolukkumalai Top View point&lt;/a&gt; The viewpoint itself was pretty good, but the jeep ride along the rocky road leading up to it was a total pain in the ass. (7/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/Pq3fxvPjfkYWuK9A8&quot;&gt;Mattupetty Dam&lt;/a&gt; Didn’t get to experience much here as there was a long waiting time for boating. Although we found a quiet place to sit nearby and appreciate the view. (6/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/4hAa5wjhisz7sMAP6&quot;&gt;ANACHAL ZIPLINE&lt;/a&gt; Long zip-line with a pretty good view. (P.S. If you weigh less, you might just stop in between, but don’t panic! They’ll pull you to the endpoint.)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/MHV5BE2m1o5yeuBA9&quot;&gt;Fly High Munnar Hot Air Balloon&lt;/a&gt; Very underwhelming and overpriced. It’s a small ascend and descent on a hot air balloon at one place; it was not worth it. (4/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/YNkkpsB3gFHR4us37&quot;&gt;The Blossom Hydel Park&lt;/a&gt; Very okay public garden, has some photogenic spots. (6/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;food&quot;&gt;Food&lt;/h1&gt;
&lt;p&gt;Food-wise, we didn’t have such a great experience; everything we had there was either average or below average tasting. We ate at the following places:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/X3y9xVhsj36nPVTM6&quot;&gt;MUNNAR SAMRUDHI RESTAURANT&lt;/a&gt; (Had chicken curry.) Taste was average.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/V9nDR8DmzhRAiRv27&quot;&gt;Ottway Restaurant&lt;/a&gt; Bad.&lt;/li&gt;
&lt;li&gt;Road-roasted corn (which was as expected).&lt;/li&gt;
&lt;li&gt;Had “Kappa Biryani” at a Dhaba which didn’t taste good; eventually, we ended up having a plain omelette.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;review&quot;&gt;Review&lt;/h1&gt;
&lt;p&gt;Despite me giving low ratings to lots of individual places above, Munnar was well worth the visit. It’s a beautiful hill station, and most of the beauty lies in the scenery. Just walking around our hotel area was pleasing in itself. If I ever visit this place again, I would just get a hotel at a scenic location and relax rather than sightseeing all the time. But I would definitely visit &lt;a href=&quot;https://maps.app.goo.gl/aMgu3nzCCGhNR4sw8&quot;&gt;Punarjani Traditional Village&lt;/a&gt;, and maybe even one of the adventure parks.&lt;/p&gt;</content:encoded><updated>Jul 29 2025 23:07</updated></item><item><title>Hyderabad (Travel-log)</title><link>https://piyushmakwana.in/post/hyderabad-travel-log/</link><guid isPermaLink="true">https://piyushmakwana.in/post/hyderabad-travel-log/</guid><description>Two day trip to Hyderabad</description><pubDate>Wed, 18 Jun 2025 23:46:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Destination&lt;/strong&gt;: &lt;a href=&quot;https://maps.app.goo.gl/YsemniLLg2UEGRq86&quot;&gt;Hyderabad, Telangana&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Duration&lt;/strong&gt;: 2 days, 1 night.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Date&lt;/strong&gt;: 9th and 10th March 2025.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Accommodation&lt;/strong&gt;: &lt;a href=&quot;https://maps.app.goo.gl/fXrPrWt2qtnRhciK8&quot;&gt;Slackpackr Hyderabad&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transportation&lt;/strong&gt;: Flight, Metro, Auto&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#log&quot;&gt;&lt;strong&gt;Log&lt;/strong&gt;&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#day-1&quot;&gt;Day-1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#day-2&quot;&gt;Day-2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#review&quot;&gt;&lt;strong&gt;Review&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;log&quot;&gt;Log&lt;/h1&gt;
&lt;h2 id=&quot;day-1&quot;&gt;Day-1&lt;/h2&gt;
&lt;h3 id=&quot;food&quot;&gt;Food&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Breakfast: &lt;a href=&quot;https://maps.app.goo.gl/daKm3prdpXQDG3RM6&quot;&gt;Café Niloufer Premium Lounge - Banjara Hills&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Bun Maska&lt;/strong&gt;: Weirdly, they put sugar in the maska, which was not up to my taste. (5/10)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Special Tea&lt;/strong&gt;: Very good on its own, and it makes bun maska bearable. (9/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lunch: &lt;a href=&quot;https://maps.app.goo.gl/xXaghrDLUXKW21BG8&quot;&gt;Bawarchi Restaurant&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Chicken Biryani&lt;/strong&gt;: The taste was alright, but the ambiance of this place was a big turnoff. The place is always packed, so we had to share tables with a stranger. Overall, it wasn’t worth the hype.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Dinner: &lt;a href=&quot;https://maps.app.goo.gl/13cLcbSTUzCaPZHG8&quot;&gt;Olive Bistro &amp;#x26; Bar&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Good ambiance, although it was too expensive, and the food wasn’t that special. (6/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/MoeaqmCrz5wzsFucA&quot;&gt;TRUE BLACK specialty coffee | Jubilee Hills&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Strawberry Latte&lt;/strong&gt;: Basically, an overpriced strawberry milkshake where you have to stir the pulp and milk yourself. (5/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;attractions&quot;&gt;Attractions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/581DdDNN5vxYobjh7&quot;&gt;Hussain Sagar&lt;/a&gt; Maybe it was the afternoon weather, but roaming around this lake was a very lame experience.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/V9HmvkEudWNszsYBA&quot;&gt;Prasads Multiplex&lt;/a&gt; Very impressive multiplex, with lots of screens, great seating, and screen size. Unfortunately, we saw &lt;a href=&quot;https://www.imdb.com/title/tt27714946/&quot;&gt;The Monkey&lt;/a&gt; there, which was a shitty movie. We had a great nap though.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;day-2&quot;&gt;Day-2&lt;/h2&gt;
&lt;h3 id=&quot;food-1&quot;&gt;Food&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Breakfast: &lt;a href=&quot;https://maps.app.goo.gl/gK5q5TfwSuj615dd8&quot;&gt;Karachi Bakery&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Bun Maska&lt;/strong&gt;: Much better than the Nilofer one; thankfully, they didn’t put sugar in it. (8/10)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tea&lt;/strong&gt;: Ok Ok. (6/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lunch: &lt;a href=&quot;https://maps.app.goo.gl/h4ZfZ8aon9AQmQaT9&quot;&gt;Hotel Shadab&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Shadab Special Chicken Biryani&lt;/strong&gt;: The overall experience of this place was much better than Bawarchi; they had proper seating arrangements with air conditioning, although it wasn’t anything my tongue would remember. (7/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Snacks
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Haleem&lt;/strong&gt; from &lt;a href=&quot;https://maps.app.goo.gl/8vCEjXKktnNckwoGA&quot;&gt;Pista House&lt;/a&gt;: This was the first time I tried haleem; it was rich and flavorful, although it was too heavy to enjoy after a couple of spoons. (7/10)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Matka Special Malai&lt;/strong&gt; from &lt;a href=&quot;https://maps.app.goo.gl/atDFmD1wovNTJDv96&quot;&gt;Milan Juice Center&lt;/a&gt;: Perhaps the best things I had during this trip; it’s a fresh and flavorful fruit cream dessert. &lt;strong&gt;(9/10)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/MoeaqmCrz5wzsFucA&quot;&gt;TRUE BLACK specialty coffee | Jubilee Hills&lt;/a&gt; Visited this place again since we had time to kill before our flight; had their &lt;strong&gt;cold coffee&lt;/strong&gt;, which was a disappointment.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;attractions-1&quot;&gt;Attractions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/8VCj3D29cwS1tKdF6&quot;&gt;Golconda Fort&lt;/a&gt; Pretty decent fort; had fun discovering all the small and hidden passages. Also has a decent city view from the top. (7/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/28Ye8qRAuz1Ei1yj7&quot;&gt;Salar Jung Museum&lt;/a&gt; Definitely the most interesting attraction of the whole trip. The museum was pretty big and would require 3+ hrs to explore it properly. It had a very wide variety of artifacts from different Indian and foreign cultures.  &lt;strong&gt;(9/10)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/LN91KAhVqRL2D94e6&quot;&gt;Charminar&lt;/a&gt; is crowded but pretty cool, especially the walk up to the mosque. &lt;strong&gt;(8/10)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;review&quot;&gt;Review&lt;/h1&gt;
&lt;p&gt;I visited Hyderabad mainly for food, and in food, mainly biryani. Unfortunately, I didn’t find the taste to be worth the trip. On top of this, the popular spots such as Nilofur Cafe and Bawarchi Restaurant are always very crowded. All the attractions mentioned above were fun experiences, but nothing I would like to visit again anytime soon.&lt;/p&gt;</content:encoded><updated>Jun 18 2025 23:47</updated></item><item><title>2024 Media Recap</title><link>https://piyushmakwana.in/post/media-recap-2024/</link><guid isPermaLink="true">https://piyushmakwana.in/post/media-recap-2024/</guid><description>What I Watched, Played, and Read in 2024</description><pubDate>Sat, 11 Jan 2025 14:50:00 GMT</pubDate><content:encoded>&lt;p&gt;My favorite movies, books, tv shows, video games, and music this year I’ve watched in 2024, along with the complete list of media (not including music, of course), I’ve consumed this year.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;index&quot;&gt;Index&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#movies&quot;&gt;Movies&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#books&quot;&gt;Books&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#video-games&quot;&gt;Video Games&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#tv-shows&quot;&gt;TV Shows &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#music&quot;&gt;Music&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;movies&quot;&gt;Movies&lt;/h1&gt;
&lt;p&gt;Out of all the movies I watched this year, here are my top 3.&lt;/p&gt;
&lt;h2 id=&quot;1-dune-part-two-2024&quot;&gt;1. Dune: Part Two (2024)&lt;/h2&gt;
&lt;p&gt;Having read and loved Dune, I couldn’t imagine how a 6-hr-long cinematic adaptation could do it justice because there’s just so much in the book. And this movie wasn’t a complete one-to-one adaptation of that book and deviates and cuts more stuff than Part One did, but still somehow manages to capture the essence of the book: the otherworldly planet and culture, the portrait of religion and politics and its effect on people, and of course, GIANT WORMS! (jk). It’s clear that the director, Denis Villeneuve, understands what makes Dune, Dune. On an IMAX theater, this was one of the most immersive experiences I’ve ever had. It’s so good that I went to watch it 3 times (which makes it my most rewatched movie ever). Also, the soundtrack by Hans Zimmer is probably the best soundtrack out of any movie that came out last year. (Just got to know that Dune: Part 2’s soundtrack is not nominated for Oscars and some other awards because apparently there’s a rule that states “sequels’ scores must consist of at least 80% original compositions”, although it does use elements of the score from the first Dune (which, BTW, did win an Oscar for best original score). It feels so different and, in my opinion, a total step up. It’s like saying a sequel can’t be nominated for Oscars because it uses the same actor as the first movie. Anyways, to quote Joséf Fares, “Fuck the Oscars.“&lt;/p&gt;
&lt;h2 id=&quot;2-the-boy-and-the-heron-2023&quot;&gt;2. The Boy and the Heron (2023)&lt;/h2&gt;
&lt;p&gt;I can’t put this experience in words properly to be honest, but I think it might be Hayao Miyazaki’s best work yet. It’s different from other Ghibli movies in that I don’t think it’s made for children at all. Also, this had the best soundtrack out of any movie I’ve watched this year. The soundtrack and its composer, Joe Hisaishi, were my top artist and album this year.&lt;/p&gt;
&lt;h2 id=&quot;3-eternal-sunshine-in-a-spotless-mind-2004-rewatch&quot;&gt;3. Eternal Sunshine In a Spotless Mind (2004) (Rewatch)&lt;/h2&gt;
&lt;p&gt;One day I was sitting on the bed, unable to fall asleep when I decided I might as well watch a movie. I didn’t want to watch something new where I would have to pay attention. I wanted to watch something I could fall asleep watching. I remember this movie being very cozy and comforting and having some very dreamlike (literally) sequences. Well, I watched it again. It was very comforting and cozy, but I ended up watching the whole thing again.&lt;/p&gt;
&lt;h2 id=&quot;movie-ive-watched-this-year&quot;&gt;Movie I’ve watched this year&lt;/h2&gt;




























































































































































































































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Rating&lt;/th&gt;&lt;th&gt;Watched in Theater&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1160419/&quot;&gt;Dune: Part One&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt15239678/&quot;&gt;Dune: Part Two&lt;/a&gt; (Watched 3 times)&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;Yes (3 times)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt31909291/&quot;&gt;Godzilla X Kong: The New Empire&lt;/a&gt;&lt;/td&gt;&lt;td&gt;5/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt21867434/&quot;&gt;Blackberry&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt17279496/&quot;&gt;Civil War&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14966898/&quot;&gt;Late Night with the Devil&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt16426418/&quot;&gt;Challengers&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1684562/&quot;&gt;The Fall Guy&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6587046/&quot;&gt;The Boy and the Heron&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8.5/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt12037194/&quot;&gt;Furiosa: A Mad Max Saga&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2397535/&quot;&gt;Predestination&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2013293/&quot;&gt;The Wind Rises&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://m.imdb.com/title/tt12735488/&quot;&gt;Kalki 2898 AD&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt5052448/&quot;&gt;Get Out&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6718170/&quot;&gt;The Super Mario Bros. Movie&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt23289160/&quot;&gt;Godzilla Minus One&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0425112/&quot;&gt;Hot Fuzz&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0119698/&quot;&gt;Princess Mononoke&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6263850/&quot;&gt;Deadpool &amp;#x26; Wolverine&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8.5/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt15078804/&quot;&gt;The Instigators&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3165612/&quot;&gt;Sleeping with Other People&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0338013/&quot;&gt;Eternal Sunshine of the Spotless Mind&lt;/a&gt; (Rewatch)&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3890160/&quot;&gt;Baby Driver&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7.5/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=9RS5dUZ2WNg&quot;&gt;Hiccups&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt27510174/&quot;&gt;Stree 2&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt8239946/&quot;&gt;Tumbbad&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt11315808/&quot;&gt;Joker: Foile a Deux&lt;/a&gt;&lt;/td&gt;&lt;td&gt;5/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt8772262/&quot;&gt;Midsommar&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt27503384/&quot;&gt;Perfect Days&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1431045/&quot;&gt;Deadpool&lt;/a&gt; (Rewatch)&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt5463162/&quot;&gt;Deadpool 2&lt;/a&gt;(Rewatch)&lt;/td&gt;&lt;td&gt;6.5/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3315342/&quot;&gt;Logan&lt;/a&gt; (Rewatch)&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6263850/&quot;&gt;Deadpool &amp;#x26; Wolverine&lt;/a&gt; (2nd Watch)&lt;/td&gt;&lt;td&gt;6.5/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1877832/&quot;&gt;X-Men: Days of Future Past&lt;/a&gt; (Rewatch)&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0381061/&quot;&gt;Casino Royale&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0830515/&quot;&gt;Quantum of Solace&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1074638/&quot;&gt;Skyfall&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt15078804/&quot;&gt;Problemista&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1637725/&quot;&gt;Ted&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2637276/&quot;&gt;Ted 2&lt;/a&gt;&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt18559464/&quot;&gt;My Old Ass&lt;/a&gt;&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt29623480/&quot;&gt;The Wild Robot&lt;/a&gt;&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;Source: Manual Tracking from April 2024 - Dec 2024&lt;/li&gt;
&lt;li&gt;Total tracked: 42&lt;/li&gt;
&lt;li&gt;Theaters visits: 17&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;books&quot;&gt;Books&lt;/h1&gt;
&lt;h2 id=&quot;1-flowers-for-algernon--fiction&quot;&gt;1. Flowers for Algernon | Fiction&lt;/h2&gt;
&lt;p&gt;This book touched me emotionally like no other book ever had. I don’t feel like writing down the premise. If you are reading this, just give it a shot.&lt;/p&gt;
&lt;h2 id=&quot;2-four-thousand-weeks--non-fiction&quot;&gt;2. Four Thousand Weeks | Non-Fiction&lt;/h2&gt;
&lt;p&gt;I’ve always had a feeling that there’s something fundamentally wrong with modern productivity culture, to-do lists, GTD (Getting Things Done), colorfully packed calendars, time management for maximum throughput, hustle culture, etc. Best-selling books and one of the most-watched content on YouTube is about self-help and productivity (most of them with little to no evidence-based studies). This book put my feeling into words and explains how our modern productivity systems are counterintuitive for a being with only 4,000 weeks on this planet (us).&lt;/p&gt;
&lt;h2 id=&quot;3-dune-messiah--fiction&quot;&gt;3. Dune: Messiah | Fiction&lt;/h2&gt;
&lt;p&gt;Sequel to the first Dune, if you like the first one, you’ll probably enjoy this, although it’s not much like the first one. It explores similar themes of politics and religion, this time from a different point of view. It’s great. I can’t wait for its film adaptation.&lt;/p&gt;
&lt;h2 id=&quot;book-ive-started-reading-this-year&quot;&gt;Book I’ve started reading this year&lt;/h2&gt;




























































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Title&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Rating&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Status&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Four Thousand Weeks&lt;/td&gt;&lt;td&gt;4/5&lt;/td&gt;&lt;td&gt;Read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Designing Data-Intensive Applications&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Chapters 1 &amp;#x26; 2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;The Art of Living&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially Read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Dune Messiah&lt;/td&gt;&lt;td&gt;4/5&lt;/td&gt;&lt;td&gt;Read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Flowers for Algernon&lt;/td&gt;&lt;td&gt;5/5&lt;/td&gt;&lt;td&gt;Read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Dopamine Detox&lt;/td&gt;&lt;td&gt;1.5/5&lt;/td&gt;&lt;td&gt;Dropped&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Children of Dune&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Catch-22&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially Read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Algorithms to Live By&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially Read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;The Story of Philosophy&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;Partially Read&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;Total: 10&lt;/li&gt;
&lt;li&gt;Source: Manual Tracking&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;video-games&quot;&gt;Video Games&lt;/h1&gt;
&lt;h2 id=&quot;1-astro-bot&quot;&gt;1. Astro Bot&lt;/h2&gt;
&lt;p&gt;This game is FUN. While playing it, I constantly had a smile on my face, which sometimes I didn’t even notice until my face started hurting. It’s one of the best platformers I’ve ever played. There are so many cameos from past PlayStation and 3rd Party franchises. As someone who grew up with many of them, it was heartwarming to see them again one more time.&lt;/p&gt;
&lt;h2 id=&quot;2-elden-ring-shadow-of-the-erdtree&quot;&gt;2. Elden Ring: Shadow of the Erdtree&lt;/h2&gt;
&lt;p&gt;Back in 2017 when I played Bloodborne for the first time, I fell in love with video games all over again. Ever since, I’ve been a big fan of FromSoftware and their souls-like games (games that are like Demon/Dark Souls, that is, they can be very punishing. The game demands you to learn the patterns, and once you do, the victory is oh so satisfying). Well, Shadow of the Erdtree expansion to Elden Ring is one of the best souls-like experiences I’ve ever had. I might have even enjoyed it more than the base game since I decided not to use any Spirit or NPC summons.&lt;/p&gt;
&lt;h2 id=&quot;3-animal-well&quot;&gt;3. Animal Well&lt;/h2&gt;
&lt;p&gt;I was going to say that it’s the 2nd best platformer I’ve played this year after Astro Bot, but comparing these two games feels wrong. Animal Well is well also one of the best platformers I’ve ever played. It has a unique style. It looks beautiful. It has some of the best puzzle mechanics and tools ever. It has a mysterious/dark atmosphere to it, which I am a personal fan of. On top of that, this whole game was made by ONE person (Billy Basso). He built everything in it from art to music and even the game engine. It took me about 13 hours to beat the game, but I’m nowhere near 100% completion and apparently missing more than half of the tools this game has. Also, this game is 33 MB (for comparison, check the size of a photo on your phone and see how many of those you can fit in 33 MB).&lt;/p&gt;
&lt;h2 id=&quot;video-games-i-played-this-year&quot;&gt;Video Games I played this year&lt;/h2&gt;









































































































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Game Title&lt;/th&gt;&lt;th&gt;Playtime&lt;/th&gt;&lt;th&gt;Rating&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Stellar Blade Demo&lt;/td&gt;&lt;td&gt;1 hr&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Bloodborne&lt;/td&gt;&lt;td&gt;4 hr 26 min&lt;/td&gt;&lt;td&gt;10/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Animal Well&lt;/td&gt;&lt;td&gt;12 hrs&lt;/td&gt;&lt;td&gt;9.5/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Red Dead Redemption 2 (Free roam)&lt;/td&gt;&lt;td&gt;2 hrs&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Assassin’s Creed Origins&lt;/td&gt;&lt;td&gt;30 mins&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Hades&lt;/td&gt;&lt;td&gt;9 hr 30 min&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Elden Ring: Shadow of the Erdtree&lt;/td&gt;&lt;td&gt;74 hrs&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Tekken 8&lt;/td&gt;&lt;td&gt;4 hrs&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Black Myth: Wukong&lt;/td&gt;&lt;td&gt;33 hrs&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Resident Evil 4 (2023)&lt;/td&gt;&lt;td&gt;24 hrs&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Astro Bot&lt;/td&gt;&lt;td&gt;28 hrs&lt;/td&gt;&lt;td&gt;10/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Cult of Lambs&lt;/td&gt;&lt;td&gt;6 hrs&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Alan Wake 2&lt;/td&gt;&lt;td&gt;16 hrs&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Star Wars: Jedi Survivor&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Dragon Ball: Sparkling Zero&lt;/td&gt;&lt;td&gt;7 hrs&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Dark Souls&lt;/td&gt;&lt;td&gt;4 hrs&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ghost of Tushima: Iki Island&lt;/td&gt;&lt;td&gt;4 hrs&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Final Fantasy 7: Rebirth Demo&lt;/td&gt;&lt;td&gt;3 hrs&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Sifu&lt;/td&gt;&lt;td&gt;2 hrs&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;Total: 18 (Played more than an hour)&lt;/li&gt;
&lt;li&gt;Total Hours Played: 278&lt;/li&gt;
&lt;li&gt;Source: PlayStation and Nintendo Wrap-up and stats.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;tv-shows&quot;&gt;TV Shows&lt;/h1&gt;
&lt;h2 id=&quot;1-succession&quot;&gt;1. Succession&lt;/h2&gt;
&lt;p&gt;I’ve heard a lot about this show but never got around to watching it until December of 2024, and I am glad I did. So the show is sort of a family drama mostly between children and the father of this uber-rich roy family. Each character has their own selfish motive, and they are all broken human beings in their own ways. Yet the show is subtly hilarious thanks to its superb writing.  It’s filmed in this unique documentary which brings you closer to the characters. All the  actors in this show are just phenomenal. This was also the first time in a long time that I binged a show. I finished 40 episodes, a 4-season run in about 10 days. I regretted it immediately when it left a gaping hole in my heart to cope with that feeling. I started watching it again. This time I’ll be taking my time.&lt;/p&gt;
&lt;h2 id=&quot;2-ramsays-boiling-point-marco&quot;&gt;2. Ramsay’s Boiling Point, Marco&lt;/h2&gt;
&lt;p&gt;So I had just finished watching The Bear (s3), and something was missing from it: that high adrenaline, high competency, stressful sequences from seasons 1 and 2. I was craving it, so I went directly to the source material and started watching old documentaries of highly competent chefs such as Gordon Ramsay and Marco Pierre White.&lt;/p&gt;
&lt;h2 id=&quot;3-the-bear-season-3&quot;&gt;3. The Bear Season 3&lt;/h2&gt;
&lt;p&gt;As mentioned above, it was missing the STRESS of seasons 1 and 2, but it was still pretty good. This season fleshed out some supporting characters and their relationships with other characters, which was much appreciated. Other than the filler slide show episode, I enjoyed it thoroughly.&lt;/p&gt;
&lt;h2 id=&quot;tv-shows-i-watched-this-year&quot;&gt;TV Shows I watched this year&lt;/h2&gt;




































































































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Season and Episodes&lt;/strong&gt;&lt;/th&gt;&lt;th&gt;&lt;strong&gt;Rating&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14452776/&quot;&gt;The Bear&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S2: E1-10, S3&lt;/td&gt;&lt;td&gt;10/10 (Rewatch for S2), 8/10 (S3)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6741278/&quot;&gt;Invincible&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S2: E6-E8&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3322312/&quot;&gt;Daredevil&lt;/a&gt; (Rewatch)&lt;/td&gt;&lt;td&gt;S1: E7-E13&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2357547/&quot;&gt;Jessica Jones&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1: E1-E13&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0386676/&quot;&gt;The Office&lt;/a&gt; (Rewatch)&lt;/td&gt;&lt;td&gt;S6: One Episode&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0472954/&quot;&gt;It’s Always Sunny in Philadelphia&lt;/a&gt; (Rewatch)&lt;/td&gt;&lt;td&gt;S1-S16&lt;/td&gt;&lt;td&gt;10/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1190634/&quot;&gt;The Boys&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S4&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt27790101/&quot;&gt;Conan O’Brien Must Go&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0950342/&quot;&gt;Ramsay’s Boiling Point&lt;/a&gt;&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1075182/&quot;&gt;Gordon Ramsay: Beyond Boiling Point&lt;/a&gt;&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;td&gt;6/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt16205192/&quot;&gt;Marco&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E1, E2&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=4qMNPDUl0iE&quot;&gt;Marco’s Great British Feast&lt;/a&gt;&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;td&gt;8/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2467372/&quot;&gt;Brooklyn Nine-Nine&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E1&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2788316/&quot;&gt;Shōgun&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E1&lt;/td&gt;&lt;td&gt;N/A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0159145/&quot;&gt;Golden Boy&lt;/a&gt;&lt;/td&gt;&lt;td&gt;E1-4&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt8543390/&quot;&gt;Modern Love&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1 E1-8, S2 E3&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt7660850/&quot;&gt;Succession&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1-S4, S1 (Rewatch)&lt;/td&gt;&lt;td&gt;9/10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14824792/&quot;&gt;Ted&lt;/a&gt;&lt;/td&gt;&lt;td&gt;S1&lt;/td&gt;&lt;td&gt;7/10&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;Total: 18&lt;/li&gt;
&lt;li&gt;Source:  Manual tracking from April 2024 - Dec 2024&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;music&quot;&gt;Music&lt;/h1&gt;
&lt;p&gt;Source: Apple Music Replay’24&lt;/p&gt;
&lt;style&gt;
	.gallery {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 5px;
	}
	.gallery img {
		width: 100%;
		height: auto;
	}
	.gallery-item {
		text-align: center;
	}
	.gallery-caption {
		margin-top: 0px;
		font-size: 10px;
		color: #333;
	}
	/* Media query for phone screens */
	@media (max-width: 600px) {
		.gallery {
			grid-template-columns: repeat(2, 1fr);
		}
	}
&lt;/style&gt;
&lt;div id=&quot;gallery&quot; class=&quot;gallery&quot;&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2024_summary.png&quot; alt=&quot;Image 1&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Summary&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2024_top_song.png&quot; alt=&quot;Image 2&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Top Songs&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2024_top_album.png&quot; alt=&quot;Image 11&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Top Albums&lt;/div&gt;
	&lt;/div&gt;
		&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2024_top_artist.png&quot; alt=&quot;Image 5&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Top Artists&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/apple_music_repaly_2024_top_genres.png&quot; alt=&quot;Image 7&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Top Generes&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;</content:encoded><updated>Jan 11 2025 14:50</updated></item><item><title>Japan (Travel-log)</title><link>https://piyushmakwana.in/post/japan-travel-log/</link><guid isPermaLink="true">https://piyushmakwana.in/post/japan-travel-log/</guid><description>Two-week trip to Japan</description><pubDate>Tue, 07 Jan 2025 14:19:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Destination&lt;/strong&gt;: Japan (Osaka, Nara, Kyoto, Kanazawa, Hakone and Tokyo)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Duration&lt;/strong&gt;: 14 Days, 15 Nights.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Date&lt;/strong&gt;:  18th October 2024 to 2nd November 2024&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transportation&lt;/strong&gt;: Mostly Metro, Bullet Train (Shinkansen) for larger distance, Taxi for very short distance.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Index&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#itinerary&quot;&gt;Itinerary&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#attractions&quot;&gt;Attractions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#food&quot;&gt;Food&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#recommended-stores&quot;&gt;Recommended Stores&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#some-things-to-keep-in-mind&quot;&gt;Some things to keep in mind&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#gratitude-note&quot;&gt;Gratitude Note&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#gallery&quot;&gt;Gallery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;itinerary&quot;&gt;Itinerary&lt;/h1&gt;















































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Date&lt;/th&gt;&lt;th&gt;City&lt;/th&gt;&lt;th&gt;Places/Attractions&lt;/th&gt;&lt;th&gt;Accommodation&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;18th October 2024&lt;br&gt; - &lt;br&gt;22nd October 2024&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;#Osaka&quot;&gt;Osaka&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Dotonbori Street &lt;br&gt;Universal Studios Japan, Osaka Castle&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.airbnb.co.uk/rooms/38014626?guests=1&amp;#x26;adults=1&amp;#x26;s=67&amp;#x26;unique_share_id=eda9be7d-b9e2-4ae7-97f9-2699d4a0b5cc&quot;&gt;Traditional Modern for 6PaxKA05 (Airbnb)&lt;/a&gt;&lt;br&gt;&lt;br&gt;1-chōme-10-6 Tsuruhashi, Ikuno-ku, Osaka, Osaka 544-0031, Japan&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;22nd October 2024&lt;br&gt; - &lt;br&gt;23rd October 2024&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;#Nara&quot;&gt;Nara&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Nara Park, Konfukuji Shrine and Museum, Tadao-ji Shrine&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://expe.app.link/zEm6u2liXPb&quot;&gt;NARA Visitor Center &amp;#x26; Inn&lt;/a&gt;&lt;br&gt;&lt;br&gt;3, Ikenocho, Nara, 630-8361 Japan&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;23rd October 2024&lt;br&gt;-&lt;br&gt;25th October 2024&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;#Kyoto&quot;&gt;Kyoto&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Yasaka Shrine, Chōraku-ji Temple, Kiyomizu-dera, Fushimi inari shrine, Arashiyama, Okochi Sanso Garden&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.airbnb.co.uk/rooms/39515612?guests=1&amp;#x26;adults=1&amp;#x26;s=67&amp;#x26;unique_share_id=6be84002-acc8-4d0b-afa2-b78250edfed9&quot;&gt;404/Kyoto Gion/MAX3guests (Airbnb)&lt;/a&gt;&lt;br&gt;&lt;br&gt;241-2 Nakanochō Hostel inn Kyoto Gion, Higashiyama-ku, Kyoto, Kyoto 605-0082, Japan&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;25th October 2024 &lt;br&gt;-&lt;br&gt;26th October 2024&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;#Kanazawa&quot;&gt;Kanazawa&lt;/a&gt;&lt;/td&gt;&lt;td&gt;D.T. Suzuki Museum, 21st Century Museum of contemporary art, Kanazawa Castle, Kenroku-en Garden.&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://expe.app.link/ORPyvHiiXPb&quot;&gt;Hotel Mystays Premier Kanazawa&lt;/a&gt;&lt;br&gt;&lt;br&gt;2-13-5, Hirooka, Kanazawa-shi, Kanazawa, Ishikawa-ken, 920-0031 Japan&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;26th October 2024 &lt;br&gt;-&lt;br&gt;28th October 2024&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;#Hakone&quot;&gt;Hakone&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Onsen (which was part of our Airbnb)&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://www.airbnb.co.uk/rooms/2794750?guests=1&amp;#x26;adults=1&amp;#x26;s=67&amp;#x26;unique_share_id=8c3f555c-b01d-4bf6-9ab3-38976269aa22&quot;&gt;Hot-Spring House in Hakone by Norwegian Icons (Airbnb)&lt;/a&gt;&lt;br&gt;&lt;br&gt;Kowakudani 443-165, Hakone, Kanagawa, Japan&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;28th October 2024 &lt;br&gt;-&lt;br&gt;2nd November 2024&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;#Tokyo&quot;&gt;Tokyo&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Disneyland, Akihabara, Ginza, Shibuya, Harajuku, Ueno, Nakameguro, Tokyo Sky Tree&lt;/td&gt;&lt;td&gt;28th Oct 2024 - 30 Oct 2024&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://www.expedia.co.in/Tokyo-Hotels-Village-Hotel-Ariake-Tokyo.h37728125.Hotel-Information?referrerId=HOT.HIS.Share.Landed.Copy_Link&quot;&gt;Far East Village Hotel Ariake, Tokyo&lt;/a&gt;&lt;br&gt;&lt;br&gt;1-2-43 Ariake, Koto-ku, Tokyo, 135-0063 Japan&lt;br&gt;&lt;br&gt;---&lt;br&gt;30 Oct 2024 - 2 Nov 2024&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://expe.app.link/PEV7iRtiXPb&quot;&gt;Rona Hotel&lt;/a&gt;&lt;br&gt;&lt;br&gt;​​7-24-4 Shinjuku, Tokyo, Tokyo Prefecture, 160-0022 Japan&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;hr&gt;
&lt;h1 id=&quot;attractions&quot;&gt;Attractions&lt;/h1&gt;
&lt;h2 id=&quot;osaka&quot;&gt;Osaka&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;18th&lt;/strong&gt;: Arrived at night, headed to our Airbnb.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;19th (&lt;a href=&quot;https://maps.app.goo.gl/x6zhCcvWrUgWWGrR9&quot;&gt;Dotonbori&lt;/a&gt;)&lt;/strong&gt;: Our first day in Japan. We didn’t know any better and spent most of the time in a &lt;a href=&quot;https://maps.app.goo.gl/4o2UNrPhA29MaWnGA&quot;&gt;Don Quijote&lt;/a&gt; (big store which sells everything, they are fairly common in Tokyo). Also went to a big claw machine store and lost some money there.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;20th (&lt;a href=&quot;https://maps.app.goo.gl/mLyG3W2aANcECSFy5&quot;&gt;Universal Studios Japan&lt;/a&gt;)&lt;/strong&gt;: This was a lot of fun. The highlight was surely Super Mario World. We bought Universal Studio Express Pass 7, which allowed us to skip the lines for seven of the most popular rides. It turned out to be a good choice as we were able to do all the fun rides in a day. Short review of all the rides we did:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The Flying Dinosaur&lt;/strong&gt;: One of the best roller-coaster rides I’ve had so far.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Detective Conan 4-D Live Show&lt;/strong&gt;: A mix of virtual and live action experience, something I had never experienced before.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Chainsaw Man 4D&lt;/strong&gt;: It was alright, just a 3D movie with some vibrating seats.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hollywood Dream- The Ride&lt;/strong&gt;: Cool little roller coaster, where you can pick a song of your choice (out of 5 given choices) to listen to.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mario Kart: Koopa’s Challenge&lt;/strong&gt;: This was amazing. It was a real-life Mario Kart where things opponents were rendered using Augmented Reality.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Yoshi’s Adventure&lt;/strong&gt;: A slow ride, with a great view of the Super Mario World.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Despicable Me: Minion Mayhem&lt;/strong&gt;: Great immersive ride, spherical screen with moving seats.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Harry Potter and Forbidden Journey&lt;/strong&gt;: Great. It was a ride through virtual + real sets.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Flight of Hippogriff&lt;/strong&gt;: Lame roller coaster. It was too short.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Biohazard: Night of Heroes&lt;/strong&gt;: Great live-action show where Resident Evil protagonist fights against Nemesis, while we are in the middle as civilians.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;21st (&lt;a href=&quot;https://maps.app.goo.gl/DuxLxX4i3LbQUmR79&quot;&gt;Osaka Castle&lt;/a&gt;, Dotonbori)&lt;/strong&gt;: Visited Osaka Castle (museum) in the afternoon, went back to Dotonbori in the evening, and visited some stores (Bookoff, Uniqlo, GU, U-art).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;nara&quot;&gt;Nara&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;22nd (afternoon) - 23rd October (morning)&lt;/strong&gt;
Pleasant small city, not crowded at all, which was quite a contrast from Osaka. Just walking around was a pleasant experience.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/8L4DhEzSEeqELtyS7&quot;&gt;&lt;strong&gt;Nara Park&lt;/strong&gt;&lt;/a&gt;: Although friendly deer can be found everywhere in Nara, there’s this park where you can find a lot of them. You can bow to them, and they’ll bow back and you can feed them deer crackers, which are sold around the town.&lt;/li&gt;
&lt;li&gt;Shrines: Nara has some beautiful shrines, we visited: the &lt;a href=&quot;https://g.co/kgs/uC3KpkA&quot;&gt;Kofuku-ji Shrine and museums&lt;/a&gt;, and &lt;a href=&quot;https://maps.app.goo.gl/1bNCUmTP3f97MLZn8&quot;&gt;Todai-Ji Shrine&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/a7tAQkx39d9HDr5CA&quot;&gt;Nara Starbucks&lt;/a&gt;: I know Starbucks?!, but Nara’s Starbucks has such a beautiful view of a pond in front that I had to mention it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;kyoto&quot;&gt;Kyoto&lt;/h2&gt;
&lt;p&gt;Kyoto wasn’t anything like I imagined it to be (and in a good way). Knowing that it was one of the big cities in Japan, I expected a bustling metropolis, but it turned out to be a beautiful amalgam of nature and civilization. There’s everything in this city from beautiful green mountains, quiet shrines, to all the modern stores and fancy restaurants.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;23rd&lt;/strong&gt;
Visited these shrines; all of them were beautiful.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/ZEJPptLhjkdFNVfT7&quot;&gt;Yasaka Shrine&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/J9nftZneG3c8iQ9T7&quot;&gt;Chōraku-ji Temple&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/ppCof7hVErNuHxwL8&quot;&gt;Kiyomizu-dera&lt;/a&gt;
Visited Traveller’s factory store in the evening.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;24th&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/5XM7wDUy3wSSLXi16&quot;&gt;Fushimi Inari&lt;/a&gt;: Possibly the most beautiful of the shrines we’ve visited. It has a nice 2-3 hour long trek which has hundreds of torii gates on its way and has a stunning view of Kyoto near the top.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/tBYkDFA67wMwGDTE7&quot;&gt;Ariyashiyama Bamboo Forest&lt;/a&gt;: As the name says, it’s a bamboo forest. It turned out to be a bit smaller than expected and a bit out of the way as well, but the garden mentioned below more than made up for this detour.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/uBrX1TvFQ9aTon3m6&quot;&gt;Okochi Sanso Garden&lt;/a&gt;: The most beautiful garden I’ve visited in Japan (or anywhere else).&lt;/li&gt;
&lt;li&gt;After coming back to the main city, we visited some of these stores in the evening: Mandarake, Nintendo Kyoto Store, and Loft.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;kanazawa&quot;&gt;Kanazawa&lt;/h2&gt;
&lt;p&gt;Just like Kyoto, Kanazawa surprised us; we expected a small city, but it turned out to be one of the most well-planned and modern-looking cities we visited so far.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;25th&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/ZvCwpZyHjFs4cxPx6&quot;&gt;D.T. Suzuki Museum&lt;/a&gt;: Lovely architecture. It was peaceful, minimalistic, and pleasing to look at.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/F5cSRUBgUB1hUhjA7&quot;&gt;21st Century Museum of Contemporary Art&lt;/a&gt;: It has a lot of contemporary art pieces in each room. One thing that caught our eye was &lt;a href=&quot;https://www.kanazawa21.jp/data_list.php?g=81&amp;#x26;d=234&quot;&gt;PLYWOOD SHINCHI, 2017&lt;/a&gt; by UJINO Muneteru. (It was an automated musical performance using wooden crates commonly seen in daily life, used to transport industrial products and artworks such as electric guitars and home appliances.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;26th&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/L2iqQb75eYSVqGSe8&quot;&gt;Kanazawa Castle&lt;/a&gt;: A gorgeous all-white castle resembling how a castle would look during snowfall, with museums inside.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/GEC9J55jACAAb4j69&quot;&gt;Kenroku-en Garden&lt;/a&gt;: One of the Three Great Gardens of Japan.&lt;/li&gt;
&lt;li&gt;The rest of the day was mostly spent traveling from Kanazawa to Hakone.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;hakone&quot;&gt;Hakone&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;26th evening - 28th morning&lt;/strong&gt;
I spent all my time in the beautiful Airbnb we booked, which was surrounded by what seemed like a forest. It was inspired by Norwegian architecture. I spent my time enjoying the atmosphere, resting, and soaking in our personal onsen.
It was the best (and most expensive) Airbnb/hotel I’ve stayed in so far.&lt;/p&gt;
&lt;h2 id=&quot;tokyo&quot;&gt;Tokyo&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;28th&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/1GpsxeyeLFZv7BtV6&quot;&gt;Ginza&lt;/a&gt;: one of the fanciest streets in Tokyo, we visited a popular stationary store called Itoya.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/jUCWp5aSQ7XRYBnHA&quot;&gt;TeamLabs Borderless&lt;/a&gt;: A gorgeous immersive museum/art gallery, containing digital art which surrounds every wall and even the floor, artwork even flows from one room to another and changes with time.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/PgL4crzzq38WXkfm9&quot;&gt;Shibuya&lt;/a&gt;: saw the famous Shibuya crossing and had dinner at a conveyor belt sushi place called Genki Sushi.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;29th&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/k13xG5j2xnSFtdeHA&quot;&gt;Tokyo DisneySea&lt;/a&gt;: Personally, I found this experience to be quite disappointing, especially compared to Universal Studios Japan. There was nothing memorable about this place. Many of the rides were just generic and bland, despite Disney owning so many IPs. Nothing about this place was memorable.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/Ux8G8QPYNBaVZBPw5&quot;&gt;Akihabara&lt;/a&gt;: It is known for its vast department stores selling all kinds of electronics, manga, anime, and video games. I spent most of my time at Yodabashi Camera. It’s a giant electronic store with 6 floors.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;30th&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/1GpsxeyeLFZv7BtV6&quot;&gt;Ginza&lt;/a&gt;: Spent all day in Ginza shopping exploring at these stores: Muji, GU, Uniqlo, Onitsuka Tiger, and Loft.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;31st&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/q6C1m5DYPTJyMm2f7&quot;&gt;Harajuku&lt;/a&gt;: A colorful street which has a lot of street wear and used clothing stores. I went to &lt;a href=&quot;https://maps.app.goo.gl/8XvPUcyeD1q7UjaAA&quot;&gt;Capcom Gatcha Machine store&lt;/a&gt;, had 10 yen bread, which is a popular snack, visited Daiso, Asics, and New Balance stores.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/PgL4crzzq38WXkfm9&quot;&gt;Shibuya&lt;/a&gt;: visited Hands. It was alright. It didn’t have anything that Loft doesn’t have.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/Ux8G8QPYNBaVZBPw5&quot;&gt;Akihabara&lt;/a&gt;: visited Bookoff, Mandarake, and SuperPotato.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/jjS9dDCdjbvt6k3K8&quot;&gt;Ueno&lt;/a&gt;: Mode-off, Hard-Off, Hobby-off, and Yusha Kobo Keyboard Specialty Shop.&lt;/li&gt;
&lt;li&gt;Went back to &lt;a href=&quot;https://maps.app.goo.gl/PgL4crzzq38WXkfm9&quot;&gt;Shibuya&lt;/a&gt; for its popular Halloween celebration. So many people were cosplaying all kinds of characters you can think of. It was the most crowded place we’ve seen during our trip. There were also cops all around controlling the flow of the crowd.&lt;/li&gt;
&lt;li&gt;Went to &lt;a href=&quot;https://maps.app.goo.gl/oA3ZwDoSqRm1D3438&quot;&gt;Don Quijote&lt;/a&gt; in Shinjuku during late at night to buy some chocolates for home.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;1st Nov&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Traveller’s factory in &lt;a href=&quot;https://maps.app.goo.gl/MzYxEuiABbSPYpdt9&quot;&gt;Nakameguro&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/hMGHTSsCoBsgHHmK6&quot;&gt;Starbucks Reserve Roastery&lt;/a&gt; had stunning architecture and one of the best coffees and tiramisu I’ve had. Apparently, there are only 7 Starbucks Reserves in the world; this was one of them.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/ydorQPK91HtNWJzJ6&quot;&gt;Tokyo Sky Tree&lt;/a&gt; is the tallest tower in Japan; you get a 360-degree view of Tokyo from the top. The mall surrounding the building was also pretty cool and had a variety of stores for shopping.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;food&quot;&gt;Food&lt;/h1&gt;
&lt;h3 id=&quot;osaka-1&quot;&gt;Osaka&lt;/h3&gt;
&lt;p&gt;19th&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/qjXpWDt5KjL94NMW9&quot;&gt;Halal Ramen&lt;/a&gt;: Ordered Large sized best-selling Ramen, shouldn’t have done that, It was too much. (8/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/3hjyYPjDkH18eKAw6&quot;&gt;Acchichi Honpo Dotonbori&lt;/a&gt; Had Takoyaki for snacks (6/10)&lt;/li&gt;
&lt;li&gt;Fried Shrimp and Some sort of Skew at “forgot the name” (6/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;20th&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/yLkSnwea8tKACzyx6&quot;&gt;Mel’s Drive-in&lt;/a&gt; (Universal Studios Japan): Burger meal, Burger patty tasted like cardboard, French fries were okay (3/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/q7vEpZciXuoYsi3U9&quot;&gt;Woflgang Puck Pizza&lt;/a&gt; Had Margarita Pizza, the place was expensive, even had seating charges, but the taste was alright (6/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;21st&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;h3 id=&quot;new-light-quite-a-small-shop-it-seems-like-a-family-run-place-a-very-friendly-grandmother-took-our-order-had-curry-rice-with-chicken-katsu-and-egg-the-taste-the-texture-i-can-still-remember-it--1010&quot;&gt;&lt;a href=&quot;https://maps.app.goo.gl/6faZ9kjKR21EKcW17&quot;&gt;New Light&lt;/a&gt;: Quite a small shop, It seems like a family-run place, a very friendly grandmother took our order, Had Curry Rice with Chicken Katsu and Egg, The taste, the texture, I can still remember it . (10/10)&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/p2kehruAJzx7cX4cA&quot;&gt;Susuruka, Susuranka.&lt;/a&gt;Tofu Romen (8/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;22nd:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/uCtVpvD1skQXb6uj7&quot;&gt;Rikuro’s Namba&lt;/a&gt;had their delicious fluffy cheesecake. It just melts in your mouth (9/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;nara-1&quot;&gt;Nara&lt;/h3&gt;
&lt;p&gt;22nd&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Hand-rolled sushi at “forgot the name” (8/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/cL7gnvtCXvzLiGAR9&quot;&gt;Nakatanidou&lt;/a&gt; had the famous mochi. Although the texture was great, I didn’t find it that appealing (6/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/tq8zwnHkxRpKLXLv9&quot;&gt;Tonkatsu Ganko&lt;/a&gt;: Curry rice with cutlet and shrimp katsu. (7/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/wp4o3t8GEGdhMVQT7&quot;&gt;Starbucks&lt;/a&gt;: Go there for the view. They also serve decent coffee. (7/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;kyoto-1&quot;&gt;Kyoto&lt;/h3&gt;
&lt;p&gt;23rd&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/mNJJvK3zbzL15FAB7&quot;&gt;Ramen War Kyoto&lt;/a&gt; had shoyu ramen (8/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;24th&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;McDonald’s (6/10): Coffee and bacon egg and cheese muffin.&lt;/li&gt;
&lt;li&gt;
&lt;h3 id=&quot;tsuke-yasai-isoism--they-serve-a-lot-of-salmon-mushroom-rice-with-12-seasonal-dishes-some-of-them-were-just-mind-blowing-in-a-way-that-i-have-never-tasted-such-flavor-and-felt-such-texture-they-also-served-a-delicious-miso-onion-soup-with-it-1010&quot;&gt;&lt;a href=&quot;https://maps.app.goo.gl/Cm4GaonhUA4U6Wbh7&quot;&gt;Tsuke-yasai Isoism&lt;/a&gt;  They serve a lot of salmon mushroom rice with 12 seasonal dishes. Some of them were just mind-blowing in a way that I have never tasted such flavor and felt such texture. They also served a delicious Miso-onion soup with it. (10/10)&lt;/h3&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/pidW44DxoNyzDQEA7&quot;&gt;Unomi&lt;/a&gt; Italian restaurant. Had tendon stew pasta (6/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;kanazawa-1&quot;&gt;Kanazawa&lt;/h3&gt;
&lt;p&gt;25th Oct&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/VyG7ezFywr5inNE8A&quot;&gt;Haru&lt;/a&gt;: Had Okonomiyaki and Yakishoba (8/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/fHzifYQHNGi5JXo78&quot;&gt;Mister Donuts&lt;/a&gt;: Chocolate Old Fashion and Pon De Ring Strawberry. The former was better than the latter. (7/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;tokyo-1&quot;&gt;Tokyo&lt;/h3&gt;
&lt;p&gt;28th&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/59XtjW4hGai9mML38&quot;&gt;Coco curry house&lt;/a&gt;: It’s a chain of restaurants. I found the taste not great compared to curries I’ve had so far. (5/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/b9CWPDnMZw5P4uDV7&quot;&gt;Genki Sushi Shibuya&lt;/a&gt; I love conveyor belt sushi places; they are yummy, the service is fast, and there’s no human interaction :P  (9/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;29th&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Disney Seas restaurant (6/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/WbHkcYx8TbqJ3xeLA&quot;&gt;Sushiro&lt;/a&gt; yet another conveyor belt sushi chain (8/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;30th&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/bK3TnxAJnkSdxyD16&quot;&gt;Choushiya&lt;/a&gt;: Takeaway Katsu Sandwich place run by a friendly elderly couple (8/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/11HwnavcdqbQQc7w9&quot;&gt;Ken’s Coffe Shop&lt;/a&gt; cappuccino with cats made out of foam (8/10)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/6JNJBXeLsgFSf8xi8&quot;&gt;Kushikatsu Tunka Higashiginza.&lt;/a&gt; The second-best fried food I’ve had during my trip (9/10)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;1st Nov:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/hMGHTSsCoBsgHHmK6&quot;&gt;Starbucks Reserve Roastery&lt;/a&gt; one of the best Cinnamon Coffee and Tiramisu I’ve ever had. (9/10)&lt;/li&gt;
&lt;li&gt;
&lt;h2 id=&quot;bibibi-the-most-amazing-dining-experience-we-had-during-our-trip-we-had-a-fried-platter-which-turned-out-to-be-the-best-fried-food-weve-had-in-japan-we-also-had-a-sushi-bowl-which-was-gorgeous-to-look-at-and-tasted-amazing-but-the-best-part-about-this-place-was-the-amazing-friendly-enthusiastic-couple-running-the-place-this-was-perfect--1010&quot;&gt;&lt;a href=&quot;https://maps.app.goo.gl/dEQqdV7avQT36Kf46&quot;&gt;BiBiBi&lt;/a&gt; The most amazing dining experience we had during our trip; we had a fried platter which turned out to be the best fried food we’ve had in Japan. We also had a sushi bowl which was gorgeous to look at and tasted amazing. But the best part about this place was the amazing, friendly, enthusiastic… couple running the place. This was perfect.  (10/10)&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;convenient-stores&quot;&gt;Convenient Stores&lt;/h3&gt;
&lt;p&gt;Convenient stores like FamilyMart, 7-Eleven, and Lawson are everywhere in Japan. They offer a wide variety of snacks, including sandwiches, rice balls, bento boxes, ramen, and pastries—you name it. Most of the Items we tried from them were good.&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id=&quot;recommended-stores&quot;&gt;Recommended Stores&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Book-off/Hard-off/Mode-off/Hobby-off&lt;/strong&gt;: Great 2nd hand/open box stores that are present in all the big cities in Japan. I found some great deals on action figures and art books; they also have video games, movies, and electronics. (Mode-off has clothes.) (Has stores in Tokyo, Kyoto, Osaka, and more.)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mandarake&lt;/strong&gt;: Similar to Book-off but on average.) I found them to have a better and bigger collection of items. (Has stores in &lt;a href=&quot;https://maps.app.goo.gl/JwEfYdntSoAebk15A&quot;&gt;Tokyo&lt;/a&gt;, &lt;a href=&quot;https://maps.app.goo.gl/FRDyuVg2zNwJtj2e6&quot;&gt;Kyoto&lt;/a&gt;, &lt;a href=&quot;https://maps.app.goo.gl/URGxaZcNC9KTnXmp7&quot;&gt;Osaka&lt;/a&gt;, and more.)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Uniqlo&lt;/strong&gt;: A high-quality fast-fashion brand; it’s available outside Japan as well, but prices were a bit low compared to India. (Has stores pretty much everywhere in Japan.)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GU&lt;/strong&gt;: A sister brand of Uniqlo, has even more affordable options; they have a great collection which is unique from Uniqlo; it’s currently not available in India.  (Has stores pretty much everywhere in Japan.)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Muji&lt;/strong&gt;: You can find everything at Muji from food to high-quality stationery to furniture. It’s available in India, but prices are about 3x more than they were in Japan. They also have a much larger collection there.  (Has stores pretty much everywhere in Japan.)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/ckahqqbe6KxJwjXQA&quot;&gt;Super Potato&lt;/a&gt; a store dedicated to retro video games and consoles.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/MQ2HdjE2FDV9c8ki7&quot;&gt;Yusha Kobo Keyboard Specialty Shop&lt;/a&gt; has a great selection of mechanical keyboards. (Tokyo)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Stationary Stores&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Itoya&lt;/strong&gt;: One of the most popular and fancier stationary stores, they have every stationary item you can ever imagine and more, but the main store had the most popular items sold out, which was a bit disappointing. (Has stores in &lt;a href=&quot;https://maps.app.goo.gl/1SfTG2qUBhJPoztF6&quot;&gt;Tokyo (Main)&lt;/a&gt;, &lt;a href=&quot;https://maps.app.goo.gl/nHWDrrc2zSjEyd3FA&quot;&gt;Osaka&lt;/a&gt;, &lt;a href=&quot;https://maps.app.goo.gl/Xw28tFqRxFDgyQFL6&quot;&gt;Kyoto&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;U-arts&lt;/strong&gt;: Cute cat-themed stationary store in Dotonbori, they also have a great collection of all the popular stationary products (&lt;a href=&quot;https://maps.app.goo.gl/DC3eyWA1EQ2hH2uB7&quot;&gt;Osaka&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Loft&lt;/strong&gt;: My personal favorite because they had stuff I wanted (great collection of Midori Notebooks, etc.), They sell everything else, including household goods, bags, etc., as well. (Has stores in &lt;a href=&quot;https://maps.app.goo.gl/kVebYZ85vuBRCSjx9&quot;&gt;Tokyo&lt;/a&gt;, &lt;a href=&quot;https://maps.app.goo.gl/7fRiLyYiUjo7quQJ6&quot;&gt;Kyoto&lt;/a&gt;, &lt;a href=&quot;https://maps.app.goo.gl/Bp9Z97wGMBTd4LTt7&quot;&gt;Osaka&lt;/a&gt; and more)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Yodabashi Camera&lt;/strong&gt;: It’s mainly an electronic shop, but they have a great stationary collection. I found some pens that weren’t present in other stores. (&lt;a href=&quot;https://maps.app.goo.gl/7Hc9SwVYyr3ewhoR7&quot;&gt;Tokyo&lt;/a&gt;, has stores in other locations as well, but I am not sure if they have a stationary section there.)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Traveller’s Factory&lt;/strong&gt;: It’s sort of a niche store. I love it, but it might not be for everyone. They sell high-quality customizable leather notebooks and they sell a lot of custom inserts (like card files, a file for paper, zip puch, etc.). I bought one in Kyoto and loved using it throughout my Trip. (Has main stores in &lt;a href=&quot;https://maps.app.goo.gl/SAVXhcEjUsYgFPRB8&quot;&gt;Kyoto&lt;/a&gt; and &lt;a href=&quot;https://maps.app.goo.gl/bzsQGcusLEGNwec47&quot;&gt;Tokyo&lt;/a&gt; but their products can be found in Loft, Itoya, or other big stationary chains as well.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&quot;some-things-to-keep-in-mind&quot;&gt;Some things to keep in mind&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://the-kjellberg-mail.beehiiv.com/p/dos-donts-japan&quot;&gt;Be respectful, follow the social etiquettes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Try to wake up early, and go to bed early. Most things close by at 8:00 p.m.&lt;/li&gt;
&lt;li&gt;Don’t lose your IC card, don’t put too much into it at once in case you do lose it.&lt;/li&gt;
&lt;li&gt;Taxis in Japan are very expensive, but public transportation is so good that you probably won’t need to use one.&lt;/li&gt;
&lt;li&gt;Some hotels might be self-checking kind. In that case, you won’t be able to keep your luggage there if you arrive early. Check for this in advance and plan accordingly.&lt;/li&gt;
&lt;li&gt;There are so many interesting things to explore/do in Japan (and in Tokyo itself) that no matter what you’ll always miss out, so don’t try to do everything since it’ll only lead to disappointment. Be present and savor every moment. (Hmm…well this applies to life in general)&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;gratitude-note&quot;&gt;Gratitude Note&lt;/h1&gt;
&lt;p&gt;Japanese people were among the kindest, most humble, respectful, hardworking, and helpful individuals I’ve ever encountered. Despite English not being their native language, most of the places we visited were English-friendly, and many people were knowledgeable enough to interact and assist us. I am incredibly grateful and thankful for their hospitality.&lt;/p&gt;
&lt;hr&gt;
&lt;style&gt;
	.gallery {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 5px;
	}
	.gallery img {
		width: 100%;
		height: auto;
	}
	.gallery-item {
		text-align: center;
	}
	.gallery-caption {
		margin-top: 0px;
		font-size: 10px;
		color: #333;
	}
	/* Media query for phone screens */
	@media (max-width: 600px) {
		.gallery {
			grid-template-columns: repeat(2, 1fr);
		}
	}
&lt;/style&gt;
&lt;h1 id=&quot;gallery&quot;&gt;Gallery&lt;/h1&gt;
&lt;div id=&quot;gallery&quot; class=&quot;gallery&quot;&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_osaka_castle.jpg&quot; alt=&quot;Image 1&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Osaka Castle | Osaka&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_teamlabs_borderless.jpg&quot; alt=&quot;Image 2&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Teamlabs Borderless | Tokyo&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_dt_suzuki_museum.jpg&quot; alt=&quot;Image 11&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;D.T.Suzuki Museum | Kanazawa&lt;/div&gt;
	&lt;/div&gt;
		&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_tokyo_sky_tree_night.jpg&quot; alt=&quot;Image 5&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;View From Tokyo Sky Tree (Night) | Tokyo&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_tokyo_sky_tree_afternoon.jpg&quot; alt=&quot;Image 7&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;View From Tokyo Sky Tree (afternoon) | Tokyo&lt;/div&gt;
	&lt;/div&gt;
		&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_bibibi.jpg&quot; alt=&quot;Image 10&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Sushi Bowl at BiBiBi | Tokyo&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_todaiji.jpg&quot; alt=&quot;Image 3&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Todaiji | Nara&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_fushimi_inari.jpg&quot; alt=&quot;Image 4&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Fushimi-Inari | Kyoto&lt;/div&gt;
	&lt;/div&gt;
		&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_onsen_hakone.jpg&quot; alt=&quot;Image 6&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Private Onsen at Airbnb | Hakone&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_isoism.jpg&quot; alt=&quot;Image 8&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;12 seasonal dishes at Isoism | Kyoto&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_okochi_sanso_garden.jpg&quot; alt=&quot;Image 9&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Okochi Sanso Garden | Kyoto&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_dotonbori.jpg&quot; alt=&quot;Image 12&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Dotonbori | Osaka&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;gallery-item&quot;&gt;
		&lt;img src=&quot;/assets/japan_travel_log_nara_park.jpg&quot; alt=&quot;Image 13&quot;&gt;
		&lt;div class=&quot;gallery-caption&quot;&gt;Nara Park | Nara&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;</content:encoded><updated>Jan 07 2025 14:19</updated></item><item><title>Maharashtra (Pune and nearby cities) (Travel-log)</title><link>https://piyushmakwana.in/post/travel-log-maharastra/</link><guid isPermaLink="true">https://piyushmakwana.in/post/travel-log-maharastra/</guid><description>Trip to Pune and nearby cities</description><pubDate>Wed, 04 Dec 2024 07:51:00 GMT</pubDate><content:encoded>&lt;h2 id=&quot;log&quot;&gt;Log&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Destinations&lt;/strong&gt;: Pune, Pimpri, Diveagar, Khopoli in Maharastra.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Duration&lt;/strong&gt;: 5 days, 5 night.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Date&lt;/strong&gt;: 23rd and 27th Aug 2024.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transportation&lt;/strong&gt;: Friend’s car&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;stays&quot;&gt;Stays&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;23rd: &lt;a href=&quot;https://www.booking.com/hotel/in/rio-cozy-1bhk-in-koregaon-park-wifi-ac-king-bed.en-gb.html&quot;&gt;Rio : Cozy 1Bhk in Koregaon Park, Pune&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;23rd-24th: 1 BHK Flat at &lt;a href=&quot;https://maps.app.goo.gl/t8xZQYQWs2ZEVnso7&quot;&gt;The AddRess, Pune&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;24th-25th: &lt;a href=&quot;https://maps.app.goo.gl/21tCDG9U2aKzCRtR6&quot;&gt;Athang Staycation, Diveagar&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;25th-26th: &lt;a href=&quot;https://maps.app.goo.gl/yfk9BZ7pnUXWiiGZ8&quot;&gt;Nirvana City of Music, Khopoli&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;26th-27th: &lt;a href=&quot;https://maps.app.goo.gl/oKxW4JbzQCvbQ1gg9?g_st=com.google.maps.preview.copy&quot;&gt;Big leaf homestay (2BHK), Pune&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;attractionsactivities&quot;&gt;Attractions/Activities&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;23rd
&lt;ul&gt;
&lt;li&gt;Went to &lt;a href=&quot;https://maps.app.goo.gl/inXfY6zrQyd7P9JB8&quot;&gt;Lavasa&lt;/a&gt; but it was closed :(&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/JXnZSariX44DMqBU6&quot;&gt;Sinhagad Fort&lt;/a&gt; (4/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;24th
&lt;ul&gt;
&lt;li&gt;Trek: &lt;a href=&quot;https://maps.app.goo.gl/gn6ayXpvS4CpFsJu7&quot;&gt;Andharban (The Dark Forest)&lt;/a&gt; (5/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;25th
&lt;ul&gt;
&lt;li&gt;The dog named Jack at our &lt;a href=&quot;https://maps.app.goo.gl/6nzuBDafFf9qfaY66?g_st=com.google.maps.preview.copy&quot;&gt;resort&lt;/a&gt;. He took us on a tour of nearby forest and lake.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/mR5mS6gR4Yezv4i37&quot;&gt;Diveagar Beach&lt;/a&gt; (2.5/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;26th
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/Pqnu7M8DWh3XSxS96&quot;&gt;Imagica Theme park&lt;/a&gt; (4/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;27th
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/sZaJaEwP5NH6SMc7A&quot;&gt;Phoenix Mall of the Millennium&lt;/a&gt; Not an attraction just a mall, we worked from.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;food&quot;&gt;Food&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;23rd
&lt;ul&gt;
&lt;li&gt;Breakfast: &lt;a href=&quot;https://maps.app.goo.gl/EnANZXusj2kuKRJd7&quot;&gt;Irani Caffe - Baner&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Bun Maska (5/5)&lt;/li&gt;
&lt;li&gt;Tea (3/5)&lt;/li&gt;
&lt;li&gt;Croissant (2/5)&lt;/li&gt;
&lt;li&gt;Macrons (4/5)&lt;/li&gt;
&lt;li&gt;Bheja Fry (3/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lunch: Nikhar Shahi Biryani. Couldn’t find Google Map’s entry but it’s near &lt;a href=&quot;https://maps.app.goo.gl/hRHydT6o4z1i99f36&quot;&gt;this&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Chicken Tikka Biryani (4/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Dinner: &lt;a href=&quot;https://maps.app.goo.gl/y7snPRRtu2VCYB6GA&quot;&gt;Saoji&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Chicken Thali:  (4/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Desert: &lt;a href=&quot;https://maps.app.goo.gl/fwBxAEQUHrdG3QPM6&quot;&gt;Sujata Mastani&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Mango Mastani: It’s sort of mango milk shake with mango ice-cream, It tastes really good. (5/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;24th
&lt;ul&gt;
&lt;li&gt;Lunch: Vada Pav at some random place on the way back from &lt;a href=&quot;https://maps.app.goo.gl/gn6ayXpvS4CpFsJu7&quot;&gt;Andharban (The Dark Forest)&lt;/a&gt; to Pune&lt;/li&gt;
&lt;li&gt;Dinner: &lt;a href=&quot;https://maps.app.goo.gl/HQwKoBwzkPPKGPCcA&quot;&gt;Tatya Dhaba&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Special Chicken korma or something (2/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;25th
&lt;ul&gt;
&lt;li&gt;Lunch: &lt;a href=&quot;https://maps.app.goo.gl/uNfWAYEXmqd2525C6?g_st=com.google.maps.preview.copy&quot;&gt;Mezbaan Restaurant&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;We tried few dried and gravy chicken dishes, the taste was good but no sure about the quality since one of my friend has food poisoning that night. (3/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Dinner: Restaurant in &lt;a href=&quot;https://maps.app.goo.gl/yfk9BZ7pnUXWiiGZ8&quot;&gt;Nirvana City of Music, Khopoli&lt;/a&gt; (the place we stayed)
&lt;ul&gt;
&lt;li&gt;I had a chicken sabji and plain chapati and Gulab jamun for desert, All tasted pretty good and seemed like a better option than anything nearby. (4/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;26th
&lt;ul&gt;
&lt;li&gt;Breakfast: &lt;a href=&quot;https://maps.app.goo.gl/CMbegS575QCjyQP38&quot;&gt;Joshi Wadewale&lt;/a&gt; (Vada Pav, 2.5/5)&lt;/li&gt;
&lt;li&gt;Lunch: &lt;a href=&quot;https://maps.app.goo.gl/rEWZJwu65LnMunno9&quot;&gt;Red Bonnet American Diner&lt;/a&gt; (Restaurant in Imagica theme park) (French Fries and Mocha, 3/5)&lt;/li&gt;
&lt;li&gt;Dinner: &lt;a href=&quot;https://maps.app.goo.gl/xHA1nwtNVPuEbHm56&quot;&gt;Satvik Missa House&lt;/a&gt; (Missal Pav, 4/5)&lt;/li&gt;
&lt;li&gt;Desert: &lt;a href=&quot;https://maps.app.goo.gl/MwULuxU8Q8ARjZcL8?g_st=com.google.maps.preview.copy&quot;&gt;Puranpoli Ghar&lt;/a&gt; (Puranpoli, Modak, Aam Ras, 4/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;27th
&lt;ul&gt;
&lt;li&gt;Lunch: McDonalds at &lt;a href=&quot;https://maps.app.goo.gl/6iqU3c71ywG4Z77P8&quot;&gt;Phoenix Mall&lt;/a&gt; (3/5)&lt;/li&gt;
&lt;li&gt;Snacks: Vada Pav at various places. One of them being &lt;a href=&quot;https://maps.app.goo.gl/KwZVFfLC4era9wR28&quot;&gt;Reddy Vada Pav&lt;/a&gt; which was quiet good (4/5).&lt;/li&gt;
&lt;li&gt;Desert: &lt;a href=&quot;%5Bhttps://maps.app.goo.gl/exfCvCRcUQKs2wdr9?g_st=com.google.maps.preview.copy%5D(https://maps.app.goo.gl/exfCvCRcUQKs2wdr9?g_st=com.google.maps.preview.copy)&quot;&gt;Sujata Mastani&lt;/a&gt; (Special Mango Mastani, 3/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;highlights&quot;&gt;Highlights&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/gn6ayXpvS4CpFsJu7&quot;&gt;Andharban (The Dark Forest)&lt;/a&gt; trek was one of the best treks I’ve ever been on, It was raining all the time, there were lot’s waterfalls and bridges on the way.&lt;/li&gt;
&lt;li&gt;This is the first time I’ve experienced Apartments being rented as hotels, they were nice would consider them again specially for longer term stays.&lt;/li&gt;
&lt;li&gt;You can find a good Vada Pav literally anywhere, I’ve had dozens of them throughout the trip.&lt;/li&gt;
&lt;li&gt;Imagica had the most thrilling rides I’ve ever been on, It’s specially fun with friends.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;what-could-have-been-done-better&quot;&gt;What could have been done better?&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Imagica ticket price and vip pass: make sure to buy tickets atleast a day before visit, price are doubled for same day ticket, also get a vip pass to save a lot of time.&lt;/li&gt;
&lt;/ul&gt;</content:encoded><updated>Dec 04 2024 7:51</updated></item><item><title>Life-log (July 2024)</title><link>https://piyushmakwana.in/post/life-log-july-2024/</link><guid isPermaLink="true">https://piyushmakwana.in/post/life-log-july-2024/</guid><description>Life Log for July 2024</description><pubDate>Mon, 05 Aug 2024 21:21:00 GMT</pubDate><content:encoded>&lt;h1 id=&quot;summary&quot;&gt;Summary&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#media-consumption&quot;&gt;Media&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#tv-shows&quot;&gt;Watched 77 episodes across 9 different shows.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#movies&quot;&gt;Watched 4 movies, None of them were in Theater :(&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#books&quot;&gt;Read (parts of) 1 fiction books&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#video-games&quot;&gt;Spent about 35 hours playing video games.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#music&quot;&gt;Spent 3205 minutes listening to music.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#screen-time-phone&quot;&gt;Used phone for an avg. of 1 hour 17 minutes per day.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#health&quot;&gt;Health&lt;/a&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#workouts&quot;&gt;Worked out (Strength/Cardio or both) 19 days&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#sleep&quot;&gt;Slept an Avg. of 6 hours 50 mins a day&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#food-consumption&quot;&gt;Had 62 Home cooked meals and 18 ordered or restaurant meals&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#teacoffee-intake&quot;&gt;Had tea and/or coffee 15 out of 30 days this month&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;media-consumption&quot;&gt;Media consumption&lt;/h1&gt;
&lt;h2 id=&quot;tv-shows&quot;&gt;TV Shows&lt;/h2&gt;
&lt;p&gt;Watched 77 episodes across 9 different shows&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0472954/&quot;&gt;It’s Always Sunny in Philadelphia&lt;/a&gt; | S5: E4-12, S6, S7, S8, S10 | 9/10 | Rewatch&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1190634/&quot;&gt;The Boys&lt;/a&gt; | S4 | 8/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt27790101/&quot;&gt;Conan O’Brien Must Go&lt;/a&gt; | S1 | 8/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0950342/&quot;&gt;Ramsay’s Boiling Point&lt;/a&gt; | 8/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1075182/&quot;&gt;Gordon Ramsay: Beyond Boiling Point&lt;/a&gt; | 6/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt16205192/&quot;&gt;Marco&lt;/a&gt; | e1, e2 | 9/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=4qMNPDUl0iE&quot;&gt;Marco’s Great British Feast&lt;/a&gt; | 8/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2467372/&quot;&gt;Brooklyn Nine-Nine&lt;/a&gt; | e1&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2788316/&quot;&gt;Shōgun&lt;/a&gt; | e1&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;movies&quot;&gt;Movies&lt;/h2&gt;
&lt;p&gt;Watched 4 movies none of them were watched in Theater&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6718170/&quot;&gt;The Super Mario Bros. Movie&lt;/a&gt; | 7/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt23289160/&quot;&gt;Godzilla Minus One&lt;/a&gt; | 8/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0425112/&quot;&gt;Hot Fuzz&lt;/a&gt; | 6/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0119698/&quot;&gt;Princess Mononoke&lt;/a&gt; | 7/10&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;video-games&quot;&gt;Video Games&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Elden Ring: Shadow of the Erdtree | 34 hrs&lt;/li&gt;
&lt;li&gt;Tekken 8 | 1 hr&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;books&quot;&gt;Books&lt;/h2&gt;
&lt;p id=&quot;mediaConsumptionBooks&quot;&gt; &lt;/p&gt;
&lt;h2 id=&quot;music&quot;&gt;Music&lt;/h2&gt;
&lt;p&gt;Listened to music for &lt;strong&gt;3203&lt;/strong&gt; minutes.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Top 3 artists by minutes played:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/radiohead/657515&quot;&gt;Radiohead&lt;/a&gt; | 132 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/ritviz/1130337733&quot;&gt;Ritwiz&lt;/a&gt; | 127 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/anuv-jain/1388609753&quot;&gt;Anuv Jain&lt;/a&gt; | 75 mins&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 songs by the number of plays :
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/mehrbaan-feat-hasan-raheem/1752490293?i=1752490295&quot;&gt;Mehrbaan (feat. Hasan Rahemeem)&lt;/a&gt; | 36 plays&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/let-down-remastered/1239489060?i=1239489067&quot;&gt;Let Down&lt;/a&gt; | 20 plays&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/running-up-that-hill-a-deal-with-god-2018-remaster/1675560565?i=1675560578&quot;&gt;Running Up That Hill (A Deal With God)&lt;/a&gt; | 19 plays&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 albums by minutes played:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/mehrbaan-single-feat-hasan-raheem-single/1752490293&quot;&gt;Mehrbaan - Single&lt;/a&gt; | 78 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/hounds-of-love-2018-remaster/1675560565&quot;&gt;Hounds of Love (2018 Remaster)&lt;/a&gt; | 68 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/ok-computer-oknotok-1997-2017/1239489060&quot;&gt;OK Computer OKNOTOK 1997 2017&lt;/a&gt; | 66 Mins&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;health&quot;&gt;Health&lt;/h1&gt;
&lt;h2 id=&quot;food-consumption&quot;&gt;Food Consumption&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Breakfast:&lt;/strong&gt; HomeCooked: &lt;span id=&quot;breakfastHomeCooked&quot;&gt;1&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;breakfastSelfCooked&quot;&gt;1&lt;/span&gt;, Ordered: &lt;span id=&quot;breakfastOrdered&quot;&gt;7&lt;/span&gt; Dine-out: &lt;span id=&quot;breakfastDineOut&quot;&gt;8&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lunch:&lt;/strong&gt; Cook/HomeCooked: &lt;span id=&quot;lunchHomeCooked&quot;&gt;1&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;lunchSelfCooked&quot;&gt;8&lt;/span&gt;, Ordered: &lt;span id=&quot;lunchOrdered&quot;&gt;14&lt;/span&gt;, Dine-out: &lt;span id=&quot;lunchDineOut&quot;&gt;5&lt;/span&gt;, Cook/HomeCooked: &lt;span id=&quot;lunchHomeCooked&quot;&gt;1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dinner:&lt;/strong&gt; Cook/HomeCooked: &lt;span id=&quot;dinnerHomeCooked&quot;&gt;21&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;dinnerSelfCooked&quot;&gt;1&lt;/span&gt;, Ordered: &lt;span id=&quot;dinnerOrdered&quot;&gt;5&lt;/span&gt;, Dine-out: &lt;span id=&quot;dinnerDineOut&quot;&gt;1&lt;/span&gt;,&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Home-cooked meals:&lt;/strong&gt; &lt;span id=&quot;homeCookedMealsTotal&quot;&gt;33&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ordered/Restaurant meals:&lt;/strong&gt; &lt;span id=&quot;orderedRestaurantMealsTotal&quot;&gt;42&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;mealTypeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h2 id=&quot;teacoffee-intake&quot;&gt;Tea/Coffee Intake&lt;/h2&gt;
  &lt;p&gt;Total tea/coffee days: &lt;span id=&quot;coffe_count&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;canvas id=&quot;TeaCoffeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h3 id=&quot;desert-and-snacks&quot;&gt;Desert and Snacks&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Had a medium to heavy Desert 18 out of 31 days&lt;/li&gt;
&lt;li&gt;Had snacks (Other than fruit/nuts and other meals) 15 out of 31 days.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;workouts&quot;&gt;Workouts&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Worked out &lt;p id=&quot;total_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; times out of 30 this month.
&lt;ul&gt;
&lt;li&gt;Shoulders (S): &lt;p id=&quot;S_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Back and Biceps (B&amp;#x26;B): &lt;p id=&quot;BnB_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Chest and Triceps (C&amp;#x26;T): &lt;p id=&quot;CnT_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Leg day (L): &lt;p id=&quot;L_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Runs: 6 treadmill runs.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Longest consecutive days worked out: &lt;p id=&quot;maxcons_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Longest consecutive days of break: &lt;p id=&quot;maxbreak_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;sleep&quot;&gt;Sleep&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mean Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;mean_sleeptime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;median_sleeptime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;min_spt_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;max_spt_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mean Bedtime:&lt;/strong&gt; &lt;span id=&quot;mean_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Bedtime:&lt;/strong&gt; &lt;span id=&quot;median_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Bedtime:&lt;/strong&gt; &lt;span id=&quot;min_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Bedtime:&lt;/strong&gt; &lt;span id=&quot;max_bt&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;sleepDurationChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;p&gt;&lt;canvas id=&quot;bedTimeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h2 id=&quot;screen-time-phone&quot;&gt;Screen time (Phone)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mean Screen Time:&lt;/strong&gt; &lt;span id=&quot;mean_screentime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Screen Time:&lt;/strong&gt; &lt;span id=&quot;median_screentime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Screen Time:&lt;/strong&gt; &lt;span id=&quot;min_sct_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Screen Time:&lt;/strong&gt; &lt;span id=&quot;max_sct_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;screenTimeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/chart.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;module&quot;&gt;

    import &apos;https://cdn.jsdelivr.net/npm/chartjs-plugin-annotation@1.0.2&apos;;
   
    // Data Initialization
    const dates = Array.from({length: 31}, (_, i) =&gt; i + 1);
    const sleeptime = [360.5, 486.0, 422.5, 296.0, 465.0, 457.0, 407.0, 436.0, 416.0, 420.0, 495.5, 400.5, 479.5, 432.5, 306.0, 447.0, 424.5, 470.5, 398.5, 222.5, 472.0, 488.5, 370.0, 318.0, 377.5, 555.0, 306.0, 403.0, 533.5, 325.0, 330.5];
    const tea = [1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0];
    const coffee = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0];
    const screentime = [61, 65, 36, 85, 162, 77, 115, 86, 88, 78, 51, 81, 13, 37, 104, 58, 27, 66, 67, 95, 58, 49, 70, 108, 62, 100, 85, 92, 57, 101, 161];
    const bedtime = [76.73, -53.48, 29.52, 155.87, 10.13, -3.55, 22.95, 91.45, 123.58, 72.5, 25.62, 146.4, 13.22, 30.25, 232.82, 50.48, 119.85, 30.33, 143.25, 71.6, 12.38, 23.12, 136.4, 180.0, 139.37, -32.77, 189.97, 130.97, 58.42, 189.65, 188.85];
    const workouts = [&apos;none&apos;, &apos;S&apos;, &apos;none&apos;, &apos;B&amp;B&apos;, &apos;Run&apos;, &apos;C&amp;T&apos;, &apos;L&apos;, &apos;none&apos;, &apos;S&apos;, &apos;Run&apos;, &apos;none&apos;, &apos;B&amp;B&apos;, &apos;C&amp;T&apos;, &apos;L&apos;, &apos;none&apos;, &apos;none&apos;, &apos;S&apos;, &apos;B&amp;B&apos;, &apos;C&amp;T&apos;, &apos;none&apos;, &apos;none&apos;, &apos;L&apos;, &apos;S&apos;, &apos;none&apos;, &apos;none&apos;, &apos;B&amp;B&apos;, &apos;none&apos;, &apos;C&amp;T&apos;, &apos;L&apos;, &apos;S&apos;, &apos;none&apos;];
    const breakfast_meals = [1, 4, 15, 0, 11];
    const lunch_meals = [1, 1, 19, 8, 2];
    const dinner_meals = [2, 1, 22, 6, 1];
    const meal_prep_type = [&apos;Dine-out&apos;, &apos;Self-Cooked&apos;, &apos;Cook&apos;, &apos;Ordered&apos;, &apos;Skip&apos;];

    const books = [
    { name: &apos;Children of Dune&apos;, startPercent: 13, endPercent: 21, url: &apos;https://www.goodreads.com/book/show/44492286-children-of-dune&apos; }
    ];


    // Helper Functions
    const getFormattedTime = (x) =&gt; {
        const hours = Math.floor(x / 60);
        const mins = x % 60;
        return hours === 0 ? `${mins} minutes` : `${hours} hours ${mins} minutes`;
    }

    const getBedtime = (minutes) =&gt; {
        // Calculate the total minutes from midnight (0:00) considering the input could be negative
        const totalMinutesFromMidnight = (1440 + (minutes % 1440)) % 1440;

        // Convert total minutes to hours and minutes
        const totalHours = Math.floor(totalMinutesFromMidnight / 60);
        const mins = Math.round(totalMinutesFromMidnight % 60);

        // Determine if the time is AM or PM
        let period = &quot;AM&quot;;
        let hours = totalHours;
        
        if (totalHours &gt;= 12) {
            period = &quot;PM&quot;;
            if (totalHours &gt; 12) {
                hours -= 12;
            }
        } else if (totalHours === 0) {
            hours = 12;
        }

        return `${hours}:${mins.toString().padStart(2, &apos;0&apos;)} ${period}`;
    }

    const calculateStats = (data) =&gt; {
        const mean = parseInt(data.reduce((a, b) =&gt; a + b, 0) / data.length);
        const sortedData = [...data].sort((a, b) =&gt; a - b);
        const median = sortedData.length % 2 === 0 ? (sortedData[sortedData.length / 2 - 1] + sortedData[sortedData.length / 2]) / 2 : sortedData[Math.floor(sortedData.length / 2)];
        const min = Math.min(...data);
        const max = Math.max(...data);
        return { mean, median, min, max };
    }

    const countOccurrences = (data, value) =&gt; data.filter(item =&gt; item === value).length;

    function countOccurrencesTeaOrCoffe(tea, coffee) {
    let count = 0;
    for (let i = 0; i &lt; tea.length; i++) {
        if (tea[i] === 1 || coffee[i] === 1) {
            count++;
        }
    }
    return count;
}

    const getTotalWorkouts = () =&gt; {
        const workoutCounts = { &apos;S&apos;: 0, &apos;B&amp;B&apos;: 0, &apos;C&amp;T&apos;: 0, &apos;L&apos;: 0, &apos;Run&apos;:0, none: 0 };
        workouts.forEach(workout =&gt; workoutCounts[workout]++);
        return workoutCounts;
    }

    const getMaxConsecutive = (data, targets) =&gt; {
        let maxCount = 0, currentCount = 0;
        data.forEach(item =&gt; {
            if (targets.includes(item)) {
                currentCount++;
                maxCount = Math.max(maxCount, currentCount);
            } else {
                currentCount = 0;
            }
        });
        return maxCount;
    }

    function createAnnotation(yValue, labelContent, color, is_time) {
      let fontSize;
          if (window.innerWidth &lt;= 480) {
              fontSize = &apos;8px&apos;;
          } else if (window.innerWidth &lt;= 768) {
              fontSize = &apos;12px&apos;;
          } else {
              fontSize = &apos;16px&apos;;
          }
      return {
          type: &apos;line&apos;,
          yMin: yValue,
          yMax: yValue,
          borderColor: color,
          borderWidth: 2,
          label: {
              enabled: true,
              content: `${labelContent}: ${is_time ? getBedtime(yValue) : getFormattedTime(yValue) }`,
              position: &apos;start&apos;,
              color: &apos;rgb(255, 255, 255)&apos;,
              backgroundColor: color,
              fontSize: fontSize
          }
      };
    }

    function createOptions(stats, is_time=false) {
    return {
        plugins: {
            legend: {
                position: &apos;bottom&apos;,
              labels: {
                usePointStyle: true,
                pointStyle: &apos;rect&apos;
              }
              },
            annotation: {
                annotations: {
                    min: createAnnotation(stats.min, &apos;Min&apos;, &apos;rgb(176, 197, 164, 0.6)&apos;, is_time),
                    max: createAnnotation(stats.max, &apos;Max&apos;, &apos;rgb(211, 118, 118, 0.6)&apos;, is_time),
                    mean: createAnnotation(stats.mean, &apos;Mean&apos;, &apos;rgb(235, 196, 159, 0.6)&apos;, is_time),
                }
            }
        },
        scales: {
            y: {
                beginAtZero: true
            }
        }
      };
    } 

    function generateProgressBar(startPercent, endPercent, barLength = 28) {
    // Calculate the number of segments corresponding to the start and end percentages
    const startSegment = Math.floor(barLength * startPercent / 100);
    const endSegment = Math.floor(barLength * endPercent / 100);
    
    // Generate the progress bar string
    const progressBar = &apos;-&apos;.repeat(startSegment) + &apos;█&apos;.repeat(endSegment - startSegment) + &apos;-&apos;.repeat(barLength - endSegment);
    return progressBar;
    }

	function generateHTMLOutput(books) {
		let output = &apos;&lt;ul&gt;&apos;;

		books.forEach(book =&gt; {
			const progressBar = generateProgressBar(book.startPercent, book.endPercent);
			const rating = book.rating ? ` | ${book.rating}` : &apos;&apos;;

			output += `&lt;li&gt;\n`;
			output += `  &lt;div&gt;&lt;a href=&quot;${book.url}&quot;&gt;${book.name}&lt;/a&gt;${rating}&lt;/div&gt;\n`;
			output += `  &lt;div&gt;\n`;
			output += `    &lt;span&gt;${progressBar}&lt;/span&gt;\n`;
			output += `    &lt;span&gt;${book.startPercent}% - ${book.endPercent}%&lt;/span&gt;\n`;
			output += `  &lt;/div&gt;\n`;
			output += `&lt;/li&gt;\n`;
		});

		output += &apos;&lt;/ul&gt;&apos;;
		return output;
	}

    // Calculate Statistics
    const sleepStats = calculateStats(sleeptime);
    const screenStats = calculateStats(screentime);
    const bedtimeStats = calculateStats(bedtime);
    const totalWorkouts = getTotalWorkouts();
    const maxConsecutiveWorkouts = getMaxConsecutive(workouts, [&apos;C&amp;T&apos;,&apos;S&apos;,&apos;B&amp;B&apos;,&apos;L&apos;,&apos;Run&apos;]);
    const maxConsecutiveBreaks = getMaxConsecutive(workouts, [&apos;none&apos;]);

    // Display Stats

    document.addEventListener(&apos;DOMContentLoaded&apos;, () =&gt; {
        // Display Stats
        document.getElementById(&apos;mean_sleeptime_count&apos;).innerText = getFormattedTime(sleepStats.mean);
        document.getElementById(&apos;median_sleeptime_count&apos;).innerText = getFormattedTime(sleepStats.median);
        document.getElementById(&apos;min_spt_count&apos;).innerText = getFormattedTime(sleepStats.min);
        document.getElementById(&apos;max_spt_count&apos;).innerText = getFormattedTime(sleepStats.max);

        document.getElementById(&apos;mean_screentime_count&apos;).innerText = getFormattedTime(screenStats.mean);
        document.getElementById(&apos;median_screentime_count&apos;).innerText = getFormattedTime(screenStats.median);
        document.getElementById(&apos;min_sct_count&apos;).innerText = getFormattedTime(screenStats.min);
        document.getElementById(&apos;max_sct_count&apos;).innerText = getFormattedTime(screenStats.max);

        document.getElementById(&apos;mean_bt&apos;).innerText = getBedtime(bedtimeStats.mean);
        document.getElementById(&apos;median_bt&apos;).innerText = getBedtime(bedtimeStats.median);
        document.getElementById(&apos;min_bt&apos;).innerText = getBedtime(bedtimeStats.min);
        document.getElementById(&apos;max_bt&apos;).innerText = getBedtime(bedtimeStats.max);

        document.getElementById(&apos;total_count&apos;).innerText = totalWorkouts.S + totalWorkouts[&apos;B&amp;B&apos;] + totalWorkouts[&apos;C&amp;T&apos;] + totalWorkouts.L + totalWorkouts[&apos;Run&apos;];
        document.getElementById(&apos;S_count&apos;).innerText = totalWorkouts.S;
        document.getElementById(&apos;BnB_count&apos;).innerText = totalWorkouts[&apos;B&amp;B&apos;];
        document.getElementById(&apos;CnT_count&apos;).innerText = totalWorkouts[&apos;C&amp;T&apos;];
        document.getElementById(&apos;L_count&apos;).innerText = totalWorkouts.L;
        document.getElementById(&apos;maxcons_count&apos;).innerText = maxConsecutiveWorkouts;
        document.getElementById(&apos;maxbreak_count&apos;).innerText = maxConsecutiveBreaks;

        document.getElementById(&apos;coffe_count&apos;).innerText = countOccurrencesTeaOrCoffe(tea, coffee);

        document.getElementById(&apos;breakfastDineOut&apos;).textContent = breakfast_meals[0];
        document.getElementById(&apos;breakfastOrdered&apos;).textContent = breakfast_meals[3];
        document.getElementById(&apos;breakfastSelfCooked&apos;).textContent = breakfast_meals[1];
        document.getElementById(&apos;breakfastHomeCooked&apos;).textContent = breakfast_meals[2];

        document.getElementById(&apos;lunchOrdered&apos;).textContent = lunch_meals[3];
        document.getElementById(&apos;lunchSelfCooked&apos;).textContent = lunch_meals[1];
        document.getElementById(&apos;lunchDineOut&apos;).textContent = lunch_meals[0];
        document.getElementById(&apos;lunchHomeCooked&apos;).textContent = lunch_meals[2];

        document.getElementById(&apos;dinnerHomeCooked&apos;).textContent = dinner_meals[2];
        document.getElementById(&apos;dinnerOrdered&apos;).textContent = dinner_meals[3];
        document.getElementById(&apos;dinnerDineOut&apos;).textContent = dinner_meals[0];
        document.getElementById(&apos;dinnerSelfCooked&apos;).textContent = dinner_meals[1];

        document.getElementById(&apos;homeCookedMealsTotal&apos;).textContent = dinner_meals[2] + lunch_meals[2] + breakfast_meals[2] + dinner_meals[1] + lunch_meals[1] + breakfast_meals[1];
        document.getElementById(&apos;orderedRestaurantMealsTotal&apos;).textContent = dinner_meals[0] + lunch_meals[0] + breakfast_meals[0] + dinner_meals[3] + lunch_meals[3] + breakfast_meals[3];;

        // mediaConsumptionBooks
        document.getElementById(&apos;mediaConsumptionBooks&apos;).innerHTML = generateHTMLOutput(books);

        // Chart Rendering

        const renderChart = (ctx, type, data, options) =&gt; {
          new Chart(ctx, { type, data, options });
        }

        const options_doughnut = {
          plugins: {
              legend: {
                  position: &apos;bottom&apos;,
                              labels: {
                usePointStyle: true
            }
              }
          },
          aspectRatio: 3
        };


        const meal_prep_type_colors = [&quot;#DBA979&quot;, &quot;#AFD198&quot;, &quot;#E8EFCF&quot;, &quot;#ECCA9C&quot;,&quot;#EEE&quot;];
        const data4 = {
            labels: meal_prep_type,
            datasets: [
              {
                label: &apos;Dinner&apos;,
                backgroundColor: meal_prep_type_colors,
                data: dinner_meals
              },
              {
                label: &apos;Lunch&apos;,
                backgroundColor: meal_prep_type_colors,
                data: lunch_meals
              },
              {
                label: &apos;Breakfast&apos;,
                backgroundColor: meal_prep_type_colors,
                data: breakfast_meals
              }
            ]
          };


        renderChart(document.getElementById(&apos;mealTypeChart&apos;), &apos;doughnut&apos;, data4, options_doughnut);

        let t = 0, c = 0, both = 0, none = 0;
        for (let i = 0; i &lt; tea.length; i++) {
            if (tea[i] == 0 &amp;&amp; coffee[i] == 0) {
                none++;
            }
            else if (tea[i] == 1 &amp;&amp; coffee[i] == 0) {
                t++;
            }
            else if (tea[i] == 0 &amp;&amp; coffee[i] == 1) {
                c++;
            }
            else {
                both++;
            }
        }
        let array = [c, t, none, both];

        const teaCoffeeData = {
            labels: [&apos;Coffee only&apos;, &apos;Tea only&apos;, &apos;None&apos;, &apos;Both&apos;],
            datasets: [{
                label: &apos;Tea/Coffee intake&apos;,
                data: array,
                backgroundColor: [&apos;#6F4E37&apos;, &apos;#ECB176&apos;, &apos;#DDD&apos;, &apos;#A67B5B&apos;],
                hoverOffset: 4
            }]
        };
        

        renderChart(document.getElementById(&apos;TeaCoffeChart&apos;), &apos;doughnut&apos;, teaCoffeeData, options_doughnut);

        const sleepData = {
            labels: dates,
            datasets: [{
                label: &apos;Total sleep duration (minutes)&apos;,
                data: sleeptime,
                borderWidth: 1,
                borderColor: &apos;#656E77&apos;,
                backgroundColor: &apos;#656E77&apos;
            }]
        };

        renderChart(document.getElementById(&apos;sleepDurationChart&apos;), &apos;bar&apos;, sleepData, createOptions(sleepStats));

        const bedtimeData = {
            labels: dates,
            datasets: [{
                label: &apos;Bedtime (Time after/before 12 o\&apos;clock midnight)&apos;,
                data: bedtime,
                fill: false,
                borderColor: &apos;#3B373B&apos;,
                tension: 0
                
            }]
        };

        renderChart(document.getElementById(&apos;bedTimeChart&apos;), &apos;line&apos;, bedtimeData, createOptions(bedtimeStats, true));


        const screenData = {
            labels: dates,
            datasets: [{
                label: &apos;Screen Time (Phone)&apos;,
                data: screentime,
                backgroundColor: &apos;#656E77&apos;
            }]
        };

        renderChart(document.getElementById(&apos;screenTimeChart&apos;), &apos;bar&apos;, screenData, createOptions(screenStats));

    });
&lt;/script&gt;</content:encoded><updated>Aug 05 2024 21:21</updated></item><item><title>Life-log (June 2024)</title><link>https://piyushmakwana.in/post/life-log-june-2024/</link><guid isPermaLink="true">https://piyushmakwana.in/post/life-log-june-2024/</guid><description>Life log for June 2024</description><pubDate>Tue, 09 Jul 2024 01:26:00 GMT</pubDate><content:encoded>&lt;h1 id=&quot;summary&quot;&gt;Summary&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#media-consumption&quot;&gt;Media&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#tv-shows&quot;&gt;Watched 121 episodes across 2 different shows.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#movies&quot;&gt;Watched 4 movies, 1 of them was viewed in the Theater.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#books&quot;&gt;Read (parts of) 1 fiction books&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#video-games&quot;&gt;Spent about 1.6 hours playing video games.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#music&quot;&gt;Spent 3976 minutes listening to music.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#screen-time-phone&quot;&gt;Used phone for an avg. of 1 hour 22 minutes per day.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#health&quot;&gt;Health&lt;/a&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#workouts&quot;&gt;Worked out (Strength/Cardio or both) 19 days&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#sleep&quot;&gt;Slept an Avg. of 6.9 hours a day&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#food-consumption&quot;&gt;Had 68 Home cooked meals and 13 ordered or restaurant meals&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#teacoffee-intake&quot;&gt;Had tea and/or coffee 18 out of 30 days this month&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;media-consumption&quot;&gt;Media consumption&lt;/h1&gt;
&lt;h2 id=&quot;tv-shows&quot;&gt;TV Shows&lt;/h2&gt;
&lt;p&gt;Watched 121 episodes across 2 different shows&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0472954/&quot;&gt;It’s Always Sunny in Philadelphia&lt;/a&gt; | S10: E3-10, S11-S16, S1-S4, S5: E1-3 | Rewatch | 10/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14452776/&quot;&gt;The Bear&lt;/a&gt; | S3 | 8/10&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;movies&quot;&gt;Movies:&lt;/h2&gt;
&lt;p&gt;Watched 4 movies, and 1 of them was viewed in the Theater.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2397535/&quot;&gt;Predestination&lt;/a&gt; | 7/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2013293/&quot;&gt;The Wind Rises&lt;/a&gt; | 7/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://m.imdb.com/title/tt12735488/&quot;&gt;Kalki 2898 AD&lt;/a&gt; | Theater | 7/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt5052448/&quot;&gt;Get Out&lt;/a&gt;  | 8/10&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;video-games&quot;&gt;Video Games&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Hades | 1hr 40min&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;books&quot;&gt;Books&lt;/h2&gt;
&lt;p id=&quot;mediaConsumptionBooks&quot;&gt; &lt;/p&gt;
&lt;h2 id=&quot;music&quot;&gt;Music&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Listened to music for &lt;strong&gt;3976&lt;/strong&gt; minutes.&lt;/li&gt;
&lt;li&gt;Top 3 artists by minutes played:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/joe-hisaishi/74486938&quot;&gt;Joe Hisaishi&lt;/a&gt; | 174 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/radiohead/657515&quot;&gt;Radiohead&lt;/a&gt; | 75 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/ritviz/1130337733&quot;&gt;Ritwiz&lt;/a&gt; | 71 mins&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 songs by the number of plays :
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/jin-sakai/1521542376?i=1521542379&quot;&gt;Jin Sakai&lt;/a&gt; | 22 plays&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/feather-fletching/1717021756?i=1717021828&quot;&gt;Feather Fletching&lt;/a&gt; | 13 plays&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/yimmy-yimmy-feat-jacqueline-fernandez-single/1732141369&quot;&gt;Yimmy Yimmy (feat. Jacquelin Fernandez)&lt;/a&gt; | 12 plays&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 albums by minutes played:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/ghost-of-tsushima-music-from-the-video-game/1521542376&quot;&gt;Ghost of Tsushima&lt;/a&gt; | 56 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/the-boy-and-the-heron-original-soundtrack/1717021756&quot;&gt;The Boy and The Heron (Original Soundtrack)&lt;/a&gt;  | 44 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/ok-computer/1097861387&quot;&gt;OK Computer&lt;/a&gt; | 39 mins&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;h1 id=&quot;health&quot;&gt;Health&lt;/h1&gt;
&lt;h2 id=&quot;food-consumption&quot;&gt;Food Consumption&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Breakfast:&lt;/strong&gt; HomeCooked: &lt;span id=&quot;breakfastHomeCooked&quot;&gt;1&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;breakfastSelfCooked&quot;&gt;1&lt;/span&gt;, Ordered: &lt;span id=&quot;breakfastOrdered&quot;&gt;7&lt;/span&gt; Dine-out: &lt;span id=&quot;breakfastDineOut&quot;&gt;8&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lunch:&lt;/strong&gt; Cook/HomeCooked: &lt;span id=&quot;lunchHomeCooked&quot;&gt;1&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;lunchSelfCooked&quot;&gt;8&lt;/span&gt;, Ordered: &lt;span id=&quot;lunchOrdered&quot;&gt;14&lt;/span&gt;, Dine-out: &lt;span id=&quot;lunchDineOut&quot;&gt;5&lt;/span&gt;, Cook/HomeCooked: &lt;span id=&quot;lunchHomeCooked&quot;&gt;1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dinner:&lt;/strong&gt; Cook/HomeCooked: &lt;span id=&quot;dinnerHomeCooked&quot;&gt;21&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;dinnerSelfCooked&quot;&gt;1&lt;/span&gt;, Ordered: &lt;span id=&quot;dinnerOrdered&quot;&gt;5&lt;/span&gt;, Dine-out: &lt;span id=&quot;dinnerDineOut&quot;&gt;1&lt;/span&gt;,&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Home-cooked meals:&lt;/strong&gt; &lt;span id=&quot;homeCookedMealsTotal&quot;&gt;33&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ordered/Restaurant meals:&lt;/strong&gt; &lt;span id=&quot;orderedRestaurantMealsTotal&quot;&gt;42&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;mealTypeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h2 id=&quot;teacoffee-intake&quot;&gt;Tea/Coffee Intake&lt;/h2&gt;
  &lt;p&gt;Total tea/coffee days: &lt;span id=&quot;coffe_count&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&lt;canvas id=&quot;TeaCoffeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h3 id=&quot;desert-and-snacks&quot;&gt;Desert and Snacks&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Had a medium to heavy Desert 20 out of 30 days&lt;/li&gt;
&lt;li&gt;Had snacks (Other than fruit/nuts and other meals) 18 out of 30 days.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;workouts&quot;&gt;Workouts&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Worked out &lt;p id=&quot;total_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; times out of 30 this month.
&lt;ul&gt;
&lt;li&gt;Shoulders (S): &lt;p id=&quot;S_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Back and Biceps (B&amp;#x26;B): &lt;p id=&quot;BnB_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Chest and Triceps (C&amp;#x26;T): &lt;p id=&quot;CnT_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Leg day (L): &lt;p id=&quot;L_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Runs: 5 treadmill runs.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Longest consecutive days worked out: &lt;p id=&quot;maxcons_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Longest consecutive days of break: &lt;p id=&quot;maxbreak_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;sleep&quot;&gt;Sleep&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mean Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;mean_sleeptime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;median_sleeptime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;min_spt_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;max_spt_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mean Bedtime:&lt;/strong&gt; &lt;span id=&quot;mean_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Bedtime:&lt;/strong&gt; &lt;span id=&quot;median_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Bedtime:&lt;/strong&gt; &lt;span id=&quot;min_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Bedtime:&lt;/strong&gt; &lt;span id=&quot;max_bt&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;sleepDurationChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;p&gt;&lt;canvas id=&quot;bedTimeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h2 id=&quot;screen-time-phone&quot;&gt;Screen time (Phone)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mean Screen Time:&lt;/strong&gt; &lt;span id=&quot;mean_screentime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Screen Time:&lt;/strong&gt; &lt;span id=&quot;median_screentime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Screen Time:&lt;/strong&gt; &lt;span id=&quot;min_sct_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Screen Time:&lt;/strong&gt; &lt;span id=&quot;max_sct_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;screenTimeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/chart.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;module&quot;&gt;

    import &apos;https://cdn.jsdelivr.net/npm/chartjs-plugin-annotation@1.0.2&apos;;
   
    // Data Initialization
    const dates = Array.from({length: 30}, (_, i) =&gt; i + 1);
    const sleeptime = [377.0, 422.0, 404.0, 471.0, 411.0, 434.0, 373.0, 371.0, 416.0, 368.0, 362.0, 436.0, 446.0, 395.0, 345.0, 398.0, 434.0, 370.0, 431.0, 435.0, 409.0, 329.0, 435.0, 313.0, 521.0, 493.0, 459.0, 474.0, 480.0, 430.0];
    const tea = [0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0];
    const coffee = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0];
    const screentime = [144, 96, 109, 54, 61, 107, 48, 46, 42, 125, 67, 72, 70, 73, 88, 81, 74, 16, 112, 57, 49, 129, 11, 122, 33, 104, 63, 104, 222, 105];
    const bedtime = [115.97, 15.65, 51.52, 9.12, -2.83, 0.53, -19.55, 55.53, 15.92, 154.08, 126.42, 41.45, 32.5, 156.48, 65.1, 20.45, 58.47, 89.95, 64.47, 46.13, 61.12, 144.4, 58.77, 253.85, -95.42, 30.5, 56.43, -10.18, 30.0, 24.95];
    const workouts = [&apos;B&amp;B&apos;, &apos;C&amp;T&apos;, &apos;none&apos;, &apos;L&apos;, &apos;none&apos;, &apos;S&apos;, &apos;B&amp;B&apos;, &apos;C&amp;T&apos;, &apos;Run&apos;, &apos;none&apos;, &apos;S&apos;, &apos;B&amp;B&apos;, &apos;C&amp;T&apos;, &apos;L&apos;, &apos;none&apos;, &apos;S&apos;, &apos;none&apos;, &apos;none&apos;, &apos;B&amp;B&apos;, &apos;C&amp;T&apos;, &apos;Run&apos;, &apos;none&apos;, &apos;L&apos;, &apos;none&apos;, &apos;S&apos;, &apos;none&apos;, &apos;B&amp;B&apos;, &apos;none&apos;, &apos;none&apos;, &apos;C&amp;T&apos;];
    const breakfast_meals = [0, 4, 19, 0, 7];
    const lunch_meals = [0, 0, 25, 5, 0];
    const dinner_meals = [2, 3, 17, 6, 1];
    const meal_prep_type = [&apos;Dine-out&apos;, &apos;Self-Cooked&apos;, &apos;Cook&apos;, &apos;Ordered&apos;, &apos;Skip&apos;];

    const books = [
    { name: &apos;Children of Dune&apos;, startPercent: 0, endPercent: 13, rating: &apos;4/5&apos;, url: &apos;https://www.goodreads.com/book/show/44492285-dune-messiah&apos; }
    ];


    // Helper Functions
    const getFormattedTime = (x) =&gt; {
        const hours = Math.floor(x / 60);
        const mins = x % 60;
        return hours === 0 ? `${mins} minutes` : `${hours} hours ${mins} minutes`;
    }

    const getBedtime = (minutes) =&gt; {
        // Calculate the total minutes from midnight (0:00) considering the input could be negative
        const totalMinutesFromMidnight = (1440 + (minutes % 1440)) % 1440;

        // Convert total minutes to hours and minutes
        const totalHours = Math.floor(totalMinutesFromMidnight / 60);
        const mins = Math.round(totalMinutesFromMidnight % 60);

        // Determine if the time is AM or PM
        let period = &quot;AM&quot;;
        let hours = totalHours;
        
        if (totalHours &gt;= 12) {
            period = &quot;PM&quot;;
            if (totalHours &gt; 12) {
                hours -= 12;
            }
        } else if (totalHours === 0) {
            hours = 12;
        }

        return `${hours}:${mins.toString().padStart(2, &apos;0&apos;)} ${period}`;
    }

    const calculateStats = (data) =&gt; {
        const mean = parseInt(data.reduce((a, b) =&gt; a + b, 0) / data.length);
        const sortedData = [...data].sort((a, b) =&gt; a - b);
        const median = sortedData.length % 2 === 0 ? (sortedData[sortedData.length / 2 - 1] + sortedData[sortedData.length / 2]) / 2 : sortedData[Math.floor(sortedData.length / 2)];
        const min = Math.min(...data);
        const max = Math.max(...data);
        return { mean, median, min, max };
    }

    const countOccurrences = (data, value) =&gt; data.filter(item =&gt; item === value).length;

    function countOccurrencesTeaOrCoffe(tea, coffee) {
    let count = 0;
    for (let i = 0; i &lt; tea.length; i++) {
        if (tea[i] === 1 || coffee[i] === 1) {
            count++;
        }
    }
    return count;
}

    const getTotalWorkouts = () =&gt; {
        const workoutCounts = { &apos;S&apos;: 0, &apos;B&amp;B&apos;: 0, &apos;C&amp;T&apos;: 0, &apos;L&apos;: 0, &apos;Run&apos;:0, none: 0 };
        workouts.forEach(workout =&gt; workoutCounts[workout]++);
        return workoutCounts;
    }

    const getMaxConsecutive = (data, targets) =&gt; {
        let maxCount = 0, currentCount = 0;
        data.forEach(item =&gt; {
            if (targets.includes(item)) {
                currentCount++;
                maxCount = Math.max(maxCount, currentCount);
            } else {
                currentCount = 0;
            }
        });
        return maxCount;
    }

    function createAnnotation(yValue, labelContent, color, is_time) {
      let fontSize;
          if (window.innerWidth &lt;= 480) {
              fontSize = &apos;8px&apos;;
          } else if (window.innerWidth &lt;= 768) {
              fontSize = &apos;12px&apos;;
          } else {
              fontSize = &apos;16px&apos;;
          }
      return {
          type: &apos;line&apos;,
          yMin: yValue,
          yMax: yValue,
          borderColor: color,
          borderWidth: 2,
          label: {
              enabled: true,
              content: `${labelContent}: ${is_time ? getBedtime(yValue) : getFormattedTime(yValue) }`,
              position: &apos;start&apos;,
              color: &apos;rgb(255, 255, 255)&apos;,
              backgroundColor: color,
              fontSize: fontSize
          }
      };
    }

    function createOptions(stats, is_time=false) {
    return {
        plugins: {
            legend: {
                position: &apos;bottom&apos;,
              labels: {
                usePointStyle: true,
                pointStyle: &apos;rect&apos;
              }
              },
            annotation: {
                annotations: {
                    min: createAnnotation(stats.min, &apos;Min&apos;, &apos;rgb(176, 197, 164, 0.6)&apos;, is_time),
                    max: createAnnotation(stats.max, &apos;Max&apos;, &apos;rgb(211, 118, 118, 0.6)&apos;, is_time),
                    mean: createAnnotation(stats.mean, &apos;Mean&apos;, &apos;rgb(235, 196, 159, 0.6)&apos;, is_time),
                }
            }
        },
        scales: {
            y: {
                beginAtZero: false
            }
        }
      };
    } 

    function generateProgressBar(startPercent, endPercent, barLength = 28) {
    // Calculate the number of segments corresponding to the start and end percentages
    const startSegment = Math.floor(barLength * startPercent / 100);
    const endSegment = Math.floor(barLength * endPercent / 100);
    
    // Generate the progress bar string
    const progressBar = &apos;-&apos;.repeat(startSegment) + &apos;█&apos;.repeat(endSegment - startSegment) + &apos;-&apos;.repeat(barLength - endSegment);
    return progressBar;
    }

function generateHTMLOutput(books) {
    let output = &apos;&lt;ul&gt;&apos;;

    books.forEach(book =&gt; {
        const progressBar = generateProgressBar(book.startPercent, book.endPercent);
        const rating = book.rating ? ` | ${book.rating}` : &apos;&apos;;

        output += `&lt;li&gt;\n`;
        output += `  &lt;div&gt;&lt;a href=&quot;${book.url}&quot;&gt;${book.name}&lt;/a&gt;${rating}&lt;/div&gt;\n`;
        output += `  &lt;div&gt;\n`;
        output += `    &lt;span&gt;${progressBar}&lt;/span&gt;\n`;
        output += `    &lt;span&gt;${book.startPercent}% - ${book.endPercent}%&lt;/span&gt;\n`;
        output += `  &lt;/div&gt;\n`;
        output += `&lt;/li&gt;\n`;
    });

    output += &apos;&lt;/ul&gt;&apos;;
    return output;
}

    // Calculate Statistics
    const sleepStats = calculateStats(sleeptime);
    const screenStats = calculateStats(screentime);
    const bedtimeStats = calculateStats(bedtime);
    const totalWorkouts = getTotalWorkouts();
    const maxConsecutiveWorkouts = getMaxConsecutive(workouts, [&apos;C&amp;T&apos;,&apos;S&apos;,&apos;B&amp;B&apos;,&apos;L&apos;,&apos;Run&apos;]) + 1;
    const maxConsecutiveBreaks = getMaxConsecutive(workouts, [&apos;none&apos;]);

    // Display Stats

    document.addEventListener(&apos;DOMContentLoaded&apos;, () =&gt; {
        // Display Stats
        document.getElementById(&apos;mean_sleeptime_count&apos;).innerText = getFormattedTime(sleepStats.mean);
        document.getElementById(&apos;median_sleeptime_count&apos;).innerText = getFormattedTime(sleepStats.median);
        document.getElementById(&apos;min_spt_count&apos;).innerText = getFormattedTime(sleepStats.min);
        document.getElementById(&apos;max_spt_count&apos;).innerText = getFormattedTime(sleepStats.max);

        document.getElementById(&apos;mean_screentime_count&apos;).innerText = getFormattedTime(screenStats.mean);
        document.getElementById(&apos;median_screentime_count&apos;).innerText = getFormattedTime(screenStats.median);
        document.getElementById(&apos;min_sct_count&apos;).innerText = getFormattedTime(screenStats.min);
        document.getElementById(&apos;max_sct_count&apos;).innerText = getFormattedTime(screenStats.max);

        document.getElementById(&apos;mean_bt&apos;).innerText = getBedtime(bedtimeStats.mean);
        document.getElementById(&apos;median_bt&apos;).innerText = getBedtime(bedtimeStats.median);
        document.getElementById(&apos;min_bt&apos;).innerText = getBedtime(bedtimeStats.min);
        document.getElementById(&apos;max_bt&apos;).innerText = getBedtime(bedtimeStats.max);

        document.getElementById(&apos;total_count&apos;).innerText = totalWorkouts.S + totalWorkouts[&apos;B&amp;B&apos;] + totalWorkouts[&apos;C&amp;T&apos;] + totalWorkouts.L + totalWorkouts[&apos;Run&apos;];
        document.getElementById(&apos;S_count&apos;).innerText = totalWorkouts.S;
        document.getElementById(&apos;BnB_count&apos;).innerText = totalWorkouts[&apos;B&amp;B&apos;];
        document.getElementById(&apos;CnT_count&apos;).innerText = totalWorkouts[&apos;C&amp;T&apos;];
        document.getElementById(&apos;L_count&apos;).innerText = totalWorkouts.L;
        document.getElementById(&apos;maxcons_count&apos;).innerText = maxConsecutiveWorkouts;
        document.getElementById(&apos;maxbreak_count&apos;).innerText = maxConsecutiveBreaks;

        document.getElementById(&apos;coffe_count&apos;).innerText = countOccurrencesTeaOrCoffe(tea, coffee);

        document.getElementById(&apos;breakfastDineOut&apos;).textContent = breakfast_meals[0];
        document.getElementById(&apos;breakfastOrdered&apos;).textContent = breakfast_meals[3];
        document.getElementById(&apos;breakfastSelfCooked&apos;).textContent = breakfast_meals[1];
        document.getElementById(&apos;breakfastHomeCooked&apos;).textContent = breakfast_meals[2];

        document.getElementById(&apos;lunchOrdered&apos;).textContent = lunch_meals[3];
        document.getElementById(&apos;lunchSelfCooked&apos;).textContent = lunch_meals[1];
        document.getElementById(&apos;lunchDineOut&apos;).textContent = lunch_meals[0];
        document.getElementById(&apos;lunchHomeCooked&apos;).textContent = lunch_meals[2];

        document.getElementById(&apos;dinnerHomeCooked&apos;).textContent = dinner_meals[2];
        document.getElementById(&apos;dinnerOrdered&apos;).textContent = dinner_meals[3];
        document.getElementById(&apos;dinnerDineOut&apos;).textContent = dinner_meals[0];
        document.getElementById(&apos;dinnerSelfCooked&apos;).textContent = dinner_meals[1];

        document.getElementById(&apos;homeCookedMealsTotal&apos;).textContent = dinner_meals[2] + lunch_meals[2] + breakfast_meals[2] + dinner_meals[1] + lunch_meals[1] + breakfast_meals[1];
        document.getElementById(&apos;orderedRestaurantMealsTotal&apos;).textContent = dinner_meals[0] + lunch_meals[0] + breakfast_meals[0] + dinner_meals[3] + lunch_meals[3] + breakfast_meals[3];;

        // mediaConsumptionBooks
        document.getElementById(&apos;mediaConsumptionBooks&apos;).innerHTML = generateHTMLOutput(books);

        // Chart Rendering

        const renderChart = (ctx, type, data, options) =&gt; {
          new Chart(ctx, { type, data, options });
        }

        const options_doughnut = {
          plugins: {
              legend: {
                  position: &apos;bottom&apos;,
                              labels: {
                usePointStyle: true
            }
              }
          },
          aspectRatio: 3
        };


        const meal_prep_type_colors = [&quot;#DBA979&quot;, &quot;#AFD198&quot;, &quot;#E8EFCF&quot;, &quot;#ECCA9C&quot;,&quot;#EEE&quot;];
        const data4 = {
            labels: meal_prep_type,
            datasets: [
              {
                label: &apos;Dinner&apos;,
                backgroundColor: meal_prep_type_colors,
                data: dinner_meals
              },
              {
                label: &apos;Lunch&apos;,
                backgroundColor: meal_prep_type_colors,
                data: lunch_meals
              },
              {
                label: &apos;Breakfast&apos;,
                backgroundColor: meal_prep_type_colors,
                data: breakfast_meals
              }
            ]
          };


        renderChart(document.getElementById(&apos;mealTypeChart&apos;), &apos;doughnut&apos;, data4, options_doughnut);

        let t = 0, c = 0, both = 0, none = 0;
        for (let i = 0; i &lt; tea.length; i++) {
            if (tea[i] == 0 &amp;&amp; coffee[i] == 0) {
                none++;
            }
            else if (tea[i] == 1 &amp;&amp; coffee[i] == 0) {
                t++;
            }
            else if (tea[i] == 0 &amp;&amp; coffee[i] == 1) {
                c++;
            }
            else {
                both++;
            }
        }
        let array = [c, t, none, both];

        const teaCoffeeData = {
            labels: [&apos;Coffee only&apos;, &apos;Tea only&apos;, &apos;None&apos;, &apos;Both&apos;],
            datasets: [{
                label: &apos;Tea/Coffee intake&apos;,
                data: array,
                backgroundColor: [&apos;#6F4E37&apos;, &apos;#ECB176&apos;, &apos;#DDD&apos;, &apos;#A67B5B&apos;],
                hoverOffset: 4
            }]
        };
        

        renderChart(document.getElementById(&apos;TeaCoffeChart&apos;), &apos;doughnut&apos;, teaCoffeeData, options_doughnut);

        const sleepData = {
            labels: dates,
            datasets: [{
                label: &apos;Total sleep duration (minutes)&apos;,
                data: sleeptime,
                borderWidth: 1,
                borderColor: &apos;#656E77&apos;,
                backgroundColor: &apos;#656E77&apos;
            }]
        };

        renderChart(document.getElementById(&apos;sleepDurationChart&apos;), &apos;bar&apos;, sleepData, createOptions(sleepStats));

        const bedtimeData = {
            labels: dates,
            datasets: [{
                label: &apos;Bedtime (Time after/before 12 o\&apos;clock midnight)&apos;,
                data: bedtime,
                fill: false,
                borderColor: &apos;#3B373B&apos;,
                tension: 0
                
            }]
        };

        renderChart(document.getElementById(&apos;bedTimeChart&apos;), &apos;line&apos;, bedtimeData, createOptions(bedtimeStats, true));


        const screenData = {
            labels: dates,
            datasets: [{
                label: &apos;Screen Time (Phone)&apos;,
                data: screentime,
                backgroundColor: &apos;#656E77&apos;
            }]
        };

        renderChart(document.getElementById(&apos;screenTimeChart&apos;), &apos;bar&apos;, screenData, createOptions(screenStats));

    });
&lt;/script&gt;</content:encoded><updated>Jul 09 2024 01:26</updated></item><item><title>Life-log (May 2024)</title><link>https://piyushmakwana.in/post/life-log-may-2024/</link><guid isPermaLink="true">https://piyushmakwana.in/post/life-log-may-2024/</guid><description>Life Log for May 2024</description><pubDate>Tue, 09 Jul 2024 00:50:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;Shout-out to my unpaid intern &lt;a href=&quot;https://www.linkedin.com/in/parv-makwana-9667ba293/&quot;&gt;Parv&lt;/a&gt; for developing parts of this life-log blog.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id=&quot;summary&quot;&gt;Summary&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#media-consumption&quot;&gt;Media&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#tv-shows&quot;&gt;Watched 19 episodes across 3 different shows.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#movies&quot;&gt;Watched 3 movies, and all of them were viewed in the Theater.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#books&quot;&gt;Read (parts of) 3 books, 2 fiction and 1 non-fiction. Finished two of them.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#video-games&quot;&gt;Spent about 22.3 hours playing video games.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#music&quot;&gt;Spent 4703 minutes listening to music.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#screen-time-phone&quot;&gt;Used phone for an avg. of 3 hours 53 minutes day.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#health&quot;&gt;Health&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#workouts&quot;&gt;Worked out (Strenght training) 14 times&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#sleep&quot;&gt;Slept an Avg. of 6.5 hours a day&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#food-consumption&quot;&gt;Had 32 Home cooked meals and 44 ordered or restaurant meals&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#teacoffee-intake&quot;&gt;Had tea and/or coffee 21 out of 30 days this month&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;media-consumption&quot;&gt;Media consumption&lt;/h1&gt;
&lt;h2 id=&quot;tv-shows&quot;&gt;TV shows&lt;/h2&gt;
&lt;p&gt;Watched 19 episodes across 3 different shows&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2357547/&quot;&gt;Jessica Jones&lt;/a&gt; | S1: E8-E13 | 3.5/5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0386676/&quot;&gt;The Office&lt;/a&gt; | S6: One Episode |&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt0472954/&quot;&gt;It’s Always Sunny in Philadelphia&lt;/a&gt; | S9: E1-10, S10: E1-2 | 9/10 | Rewatch&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;movies&quot;&gt;Movies&lt;/h2&gt;
&lt;p&gt;Watched 3 movies, and all of them were viewed in the Theater.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt1684562/&quot;&gt;The Fall Guy&lt;/a&gt; | Theater | 6/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6587046/&quot;&gt;The Boy and the Heron&lt;/a&gt; | Theater | 8.5/10&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt12037194/&quot;&gt;Furiosa: A Mad Max Saga&lt;/a&gt; | Theater | 8/10&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;video-games&quot;&gt;Video Games&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Animal Well | 12hrs | 9/10&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Red Dead Redemption 2 | 2hrs&lt;/li&gt;
&lt;li&gt;Assassin’s Creed Origins | 30mins&lt;/li&gt;
&lt;li&gt;Hades | 7hr 50min&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;books&quot;&gt;Books&lt;/h2&gt;
&lt;p id=&quot;mediaConsumptionBooks&quot;&gt; &lt;/p&gt;
&lt;h2 id=&quot;music&quot;&gt;Music&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Listened to music for &lt;strong&gt;4703&lt;/strong&gt; minutes.&lt;/li&gt;
&lt;li&gt;Top 3 artists by minutes played:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/joe-hisaishi/74486938&quot;&gt;Joe Hisaishi&lt;/a&gt; | 652 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/us/artist/lana-del-rey/464296584&quot;&gt;Lana Del Rey&lt;/a&gt; | 140 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/rajat-nagpal/1182567717&quot;&gt;Rajat Nagpal&lt;/a&gt; | 106 mins&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 songs by the number of plays :
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/feather-fletching/1717021756?i=1717021828&quot;&gt;Feather Fletching&lt;/a&gt; | 63 plays&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/ask-me-why-mahitos-commitment/1717021756?i=1717021911&quot;&gt;Ask Me Why (Mahito’s Commitment)&lt;/a&gt; | 54 plays&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/the-great-collapse/1717021756?i=1717021912&quot;&gt;The Great Collapse&lt;/a&gt; | 40 plays&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 albums by minutes played:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/the-boy-and-the-heron-original-soundtrack/1717021756&quot;&gt;The Boy and The Heron (Original Soundtrack)&lt;/a&gt; | 530 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/yimmy-yimmy-feat-jacqueline-fernandez-single/1732141369&quot;&gt;Yimmy Yimmy (feat. Jacquelin Fernandez) - Single&lt;/a&gt; | 99 mins&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/yimmy-yimmy-feat-jacqueline-fernandez-single/1732141369&quot;&gt;Say Yes to Heaven - Single&lt;/a&gt; | 96 mins&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;h1 id=&quot;health&quot;&gt;Health&lt;/h1&gt;
&lt;h2 id=&quot;food-consumption&quot;&gt;Food Consumption&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Breakfast:&lt;/strong&gt; HomeCooked: &lt;span id=&quot;breakfastHomeCooked&quot;&gt;1&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;breakfastSelfCooked&quot;&gt;1&lt;/span&gt;, Ordered: &lt;span id=&quot;breakfastOrdered&quot;&gt;7&lt;/span&gt; Dine-out: &lt;span id=&quot;breakfastDineOut&quot;&gt;8&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lunch:&lt;/strong&gt; Cook/HomeCooked: &lt;span id=&quot;lunchHomeCooked&quot;&gt;1&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;lunchSelfCooked&quot;&gt;8&lt;/span&gt;, Ordered: &lt;span id=&quot;lunchOrdered&quot;&gt;14&lt;/span&gt;, Dine-out: &lt;span id=&quot;lunchDineOut&quot;&gt;5&lt;/span&gt;, Cook/HomeCooked: &lt;span id=&quot;lunchHomeCooked&quot;&gt;1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dinner:&lt;/strong&gt; Cook/HomeCooked: &lt;span id=&quot;dinnerHomeCooked&quot;&gt;21&lt;/span&gt;, Self-Prepared: &lt;span id=&quot;dinnerSelfCooked&quot;&gt;1&lt;/span&gt;, Ordered: &lt;span id=&quot;dinnerOrdered&quot;&gt;5&lt;/span&gt;, Dine-out: &lt;span id=&quot;dinnerDineOut&quot;&gt;1&lt;/span&gt;,&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Home-cooked meals:&lt;/strong&gt; &lt;span id=&quot;homeCookedMealsTotal&quot;&gt;33&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ordered/Restaurant meals:&lt;/strong&gt; &lt;span id=&quot;orderedRestaurantMealsTotal&quot;&gt;42&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;mealTypeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h2 id=&quot;teacoffee-intake&quot;&gt;Tea/Coffee Intake&lt;/h2&gt;
&lt;p&gt;Total tea/coffee days: &lt;span id=&quot;coffe_count&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&lt;canvas id=&quot;TeaCoffeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h3 id=&quot;desert-and-snacks&quot;&gt;Desert and Snacks&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Had a medium to heavy Desert 18 out of 31 days&lt;/li&gt;
&lt;li&gt;Had snacks (Other than fruit/nuts and other meals) 9 out of 31 days.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;workouts&quot;&gt;Workouts&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Worked out &lt;p id=&quot;total_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; times out of 30 this month.
&lt;ul&gt;
&lt;li&gt;Shoulders (S): &lt;p id=&quot;S_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Back and Biceps (B&amp;#x26;B): &lt;p id=&quot;BnB_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Chest and Triceps (C&amp;#x26;T): &lt;p id=&quot;CnT_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;li&gt;Leg day (L): &lt;p id=&quot;L_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt; sessions&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Longest consecutive days worked out: &lt;p id=&quot;maxcons_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Longest consecutive days of break: &lt;p id=&quot;maxbreak_count&quot; style=&quot;display:inline&quot;&gt; &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;sleep&quot;&gt;Sleep&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mean Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;mean_sleeptime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;median_sleeptime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;min_spt_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Sleep Duration:&lt;/strong&gt; &lt;span id=&quot;max_spt_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mean Bedtime:&lt;/strong&gt; &lt;span id=&quot;mean_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Bedtime:&lt;/strong&gt; &lt;span id=&quot;median_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Bedtime:&lt;/strong&gt; &lt;span id=&quot;min_bt&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Bedtime:&lt;/strong&gt; &lt;span id=&quot;max_bt&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;sleepDurationChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;p&gt;&lt;canvas id=&quot;bedTimeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;h2 id=&quot;screen-time-phone&quot;&gt;Screen time (Phone)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mean Screen Time:&lt;/strong&gt; &lt;span id=&quot;mean_screentime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Screen Time:&lt;/strong&gt; &lt;span id=&quot;median_screentime_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Screen Time:&lt;/strong&gt; &lt;span id=&quot;min_sct_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Screen Time:&lt;/strong&gt; &lt;span id=&quot;max_sct_count&quot; style=&quot;display:inline&quot;&gt; &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;canvas id=&quot;screenTimeChart&quot;&gt;&lt;/canvas&gt;&lt;/p&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/chart.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;module&quot;&gt;

    import &apos;https://cdn.jsdelivr.net/npm/chartjs-plugin-annotation@1.0.2&apos;;
   
    // Data Initialization
    const dates = Array.from({length: 31}, (_, i) =&gt; i + 1);
    const sleeptime = [211.0, 399.0, 385.0, 435.0, 393.0, 409.0, 0.0, 510.0, 414.0, 464.0, 431.0, 140.0, 425.0, 363.0, 429.0, 382.0, 390.0, 370.0, 540.0, 379.0, 339.0, 373.0, 404.0, 488.0, 284.0, 330.0, 488.0, 462.0, 465.0, 488.0, 428.0];
    const tea = [0.0, 0.0, 2.0, 1.0, 0.0, 2.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 2.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0];
    const coffee = [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0];
    const screentime = [96, 152, 112, 118, 192, 208, 431, 200, 314, 235, 147, 201, 390, 433, 169, 168, 246, 417, 566, 344, 430, 214, 200, 300, 205, 230, 16, 92, 205, 133, 83];
    const bedtime = [236.7, 69.75, 88.18, 48.17, 116.5, 101.77, null, -25.13, 68.23, 22.77, 89.63, 107.75, 60.97, 46.4, 38.85, 83.82, 94.53, 126.25, null, 73.3, 111.55, 96.22, 114.53, 5.45, 247.0, null, -5.08, 30.97, 10.02, 38.62, 50.25];
    const workouts = [&apos;none&apos;, &apos;none&apos;, &apos;B&amp;B&apos;, &apos;C&amp;T&apos;, &apos;S&apos;, &apos;B&amp;B&apos;, &apos;none&apos;, &apos;C&amp;T&apos;, &apos;none&apos;, &apos;L&apos;, &apos;S&apos;, &apos;none&apos;, &apos;none&apos;, &apos;B&amp;B&apos;, &apos;C&amp;T&apos;, &apos;S&apos;, &apos;B&amp;B&apos;, &apos;none&apos;, &apos;C&amp;T&apos;, &apos;none&apos;, &apos;L&apos;, &apos;none&apos;, &apos;S&apos;, &apos;none&apos;, &apos;none&apos;, &apos;none&apos;, &apos;none&apos;, &apos;none&apos;, &apos;none&apos;, &apos;none&apos;, &apos;none&apos;];
    const breakfast_meals = [2, 5, 1, 9, 14];
    const lunch_meals = [2, 2, 7, 17, 3];
    const dinner_meals = [4, 4, 13, 10, 0];
    const meal_prep_type = [&apos;Dine-out&apos;, &apos;Self-Cooked&apos;, &apos;Cook&apos;, &apos;Ordered&apos;, &apos;Skip&apos;];

    const books = [
    { name: &apos;Dune Messiah&apos;, startPercent: 22, endPercent: 100, rating: &apos;4/5&apos;, url: &apos;https://www.goodreads.com/book/show/44492285-dune-messiah&apos; },
    { name: &apos;Flowers for Algernon&apos;, startPercent: 0, endPercent: 100, rating: &apos;5/5&apos;, url: &apos;https://www.goodreads.com/book/show/18373.Flowers_for_Algernon&apos;},
    { name: &apos;Dopamine Detox&apos;, startPercent: 0, endPercent: 66, rating: &apos;1.5/5 (dropped)&apos;, url:&apos;https://www.goodreads.com/book/show/58503121-dopamine-detox?from_search=true&amp;from_srp=true&amp;qid=Tk8gervSMr&amp;rank=1&apos;}
    ];


    // Helper Functions
    const getFormattedTime = (x) =&gt; {
        const hours = Math.floor(x / 60);
        const mins = x % 60;
        return hours === 0 ? `${mins} minutes` : `${hours} hours ${mins} minutes`;
    }

    const getBedtime = (minutes) =&gt; {
        // Calculate the total minutes from midnight (0:00) considering the input could be negative
        const totalMinutesFromMidnight = (1440 + (minutes % 1440)) % 1440;

        // Convert total minutes to hours and minutes
        const totalHours = Math.floor(totalMinutesFromMidnight / 60);
        const mins = Math.round(totalMinutesFromMidnight % 60);

        // Determine if the time is AM or PM
        let period = &quot;AM&quot;;
        let hours = totalHours;
        
        if (totalHours &gt;= 12) {
            period = &quot;PM&quot;;
            if (totalHours &gt; 12) {
                hours -= 12;
            }
        } else if (totalHours === 0) {
            hours = 12;
        }

        return `${hours}:${mins.toString().padStart(2, &apos;0&apos;)} ${period}`;
    }

    const calculateStats = (data) =&gt; {
        const mean = parseInt(data.reduce((a, b) =&gt; a + b, 0) / data.length);
        const sortedData = [...data].sort((a, b) =&gt; a - b);
        const median = sortedData.length % 2 === 0 ? (sortedData[sortedData.length / 2 - 1] + sortedData[sortedData.length / 2]) / 2 : sortedData[Math.floor(sortedData.length / 2)];
        const min = Math.min(...data);
        const max = Math.max(...data);
        return { mean, median, min, max };
    }

    const countOccurrences = (data, value) =&gt; data.filter(item =&gt; item === value).length;

    function countOccurrencesTeaOrCoffe(tea, coffee) {
    let count = 0;
    for (let i = 0; i &lt; tea.length; i++) {
        if (tea[i] === 1 || coffee[i] === 1) {
            count++;
        }
    }
    return count;
}

    const getTotalWorkouts = () =&gt; {
        const workoutCounts = { &apos;S&apos;: 0, &apos;B&amp;B&apos;: 0, &apos;C&amp;T&apos;: 0, &apos;L&apos;: 0, none: 0 };
        workouts.forEach(workout =&gt; workoutCounts[workout]++);
        return workoutCounts;
    }

    const getMaxConsecutive = (data, targets) =&gt; {
        let maxCount = 0, currentCount = 0;
        data.forEach(item =&gt; {
            if (targets.includes(item)) {
                currentCount++;
                maxCount = Math.max(maxCount, currentCount);
            } else {
                currentCount = 0;
            }
        });
        return maxCount;
    }

    function createAnnotation(yValue, labelContent, color, is_time) {
      let fontSize;
          if (window.innerWidth &lt;= 480) {
              fontSize = &apos;8px&apos;;
          } else if (window.innerWidth &lt;= 768) {
              fontSize = &apos;12px&apos;;
          } else {
              fontSize = &apos;16px&apos;;
          }
      return {
          type: &apos;line&apos;,
          yMin: yValue,
          yMax: yValue,
          borderColor: color,
          borderWidth: 2,
          label: {
              enabled: true,
              content: `${labelContent}: ${is_time ? getBedtime(yValue) : getFormattedTime(yValue) }`,
              position: &apos;start&apos;,
              color: &apos;rgb(255, 255, 255)&apos;,
              backgroundColor: color,
              fontSize: fontSize
          }
      };
    }

    function createOptions(stats, is_time=false) {
    return {
        plugins: {
            legend: {
                position: &apos;bottom&apos;,
              labels: {
                usePointStyle: true,
                pointStyle: &apos;rect&apos;
              }
              },
            annotation: {
                annotations: {
                    min: createAnnotation(stats.min, &apos;Min&apos;, &apos;rgb(176, 197, 164, 0.6)&apos;, is_time),
                    max: createAnnotation(stats.max, &apos;Max&apos;, &apos;rgb(211, 118, 118, 0.6)&apos;, is_time),
                    mean: createAnnotation(stats.mean, &apos;Mean&apos;, &apos;rgb(235, 196, 159, 0.6)&apos;, is_time),
                }
            }
        },
        scales: {
            y: {
                beginAtZero: false
            }
        }
      };
    } 

    function generateProgressBar(startPercent, endPercent, barLength = 28) {
    // Calculate the number of segments corresponding to the start and end percentages
    const startSegment = Math.floor(barLength * startPercent / 100);
    const endSegment = Math.floor(barLength * endPercent / 100);
    
    // Generate the progress bar string
    const progressBar = &apos;-&apos;.repeat(startSegment) + &apos;█&apos;.repeat(endSegment - startSegment) + &apos;-&apos;.repeat(barLength - endSegment);
    return progressBar;
    }

function generateHTMLOutput(books) {
    let output = &apos;&lt;ul&gt;&apos;;

    books.forEach(book =&gt; {
        const progressBar = generateProgressBar(book.startPercent, book.endPercent);
        const rating = book.rating ? ` | ${book.rating}` : &apos;&apos;;

        output += `&lt;li&gt;\n`;
        output += `  &lt;div&gt;&lt;a href=&quot;${book.url}&quot;&gt;${book.name}&lt;/a&gt;${rating}&lt;/div&gt;\n`;
        output += `  &lt;div&gt;\n`;
        output += `    &lt;span&gt;${progressBar}&lt;/span&gt;\n`;
        output += `    &lt;span&gt;${book.startPercent}% - ${book.endPercent}%&lt;/span&gt;\n`;
        output += `  &lt;/div&gt;\n`;
        output += `&lt;/li&gt;\n`;
    });

    output += &apos;&lt;/ul&gt;&apos;;
    return output;
}

    // Calculate Statistics
    const sleepStats = calculateStats(sleeptime);
    const screenStats = calculateStats(screentime);
    const bedtimeStats = calculateStats(bedtime);
    const totalWorkouts = getTotalWorkouts();
    const maxConsecutiveWorkouts = getMaxConsecutive(workouts, [&apos;C&amp;T&apos;,&apos;S&apos;,&apos;B&amp;B&apos;,&apos;L&apos;,&apos;Run&apos;]) + 1;
    const maxConsecutiveBreaks = getMaxConsecutive(workouts, [&apos;none&apos;]);

    // Display Stats

    document.addEventListener(&apos;DOMContentLoaded&apos;, () =&gt; {
        // Display Stats
        document.getElementById(&apos;mean_sleeptime_count&apos;).innerText = getFormattedTime(sleepStats.mean);
        document.getElementById(&apos;median_sleeptime_count&apos;).innerText = getFormattedTime(sleepStats.median);
        document.getElementById(&apos;min_spt_count&apos;).innerText = getFormattedTime(sleepStats.min);
        document.getElementById(&apos;max_spt_count&apos;).innerText = getFormattedTime(sleepStats.max);

        document.getElementById(&apos;mean_screentime_count&apos;).innerText = getFormattedTime(screenStats.mean);
        document.getElementById(&apos;median_screentime_count&apos;).innerText = getFormattedTime(screenStats.median);
        document.getElementById(&apos;min_sct_count&apos;).innerText = getFormattedTime(screenStats.min);
        document.getElementById(&apos;max_sct_count&apos;).innerText = getFormattedTime(screenStats.max);

        document.getElementById(&apos;mean_bt&apos;).innerText = getBedtime(bedtimeStats.mean);
        document.getElementById(&apos;median_bt&apos;).innerText = getBedtime(bedtimeStats.median);
        document.getElementById(&apos;min_bt&apos;).innerText = getBedtime(bedtimeStats.min);
        document.getElementById(&apos;max_bt&apos;).innerText = getBedtime(bedtimeStats.max);

        document.getElementById(&apos;total_count&apos;).innerText = totalWorkouts.S + totalWorkouts[&apos;B&amp;B&apos;] + totalWorkouts[&apos;C&amp;T&apos;] + totalWorkouts.L;
        document.getElementById(&apos;S_count&apos;).innerText = totalWorkouts.S;
        document.getElementById(&apos;BnB_count&apos;).innerText = totalWorkouts[&apos;B&amp;B&apos;];
        document.getElementById(&apos;CnT_count&apos;).innerText = totalWorkouts[&apos;C&amp;T&apos;];
        document.getElementById(&apos;L_count&apos;).innerText = totalWorkouts.L;
        document.getElementById(&apos;maxcons_count&apos;).innerText = maxConsecutiveWorkouts;
        document.getElementById(&apos;maxbreak_count&apos;).innerText = maxConsecutiveBreaks;

        document.getElementById(&apos;coffe_count&apos;).innerText = countOccurrencesTeaOrCoffe(tea, coffee);

        document.getElementById(&apos;breakfastDineOut&apos;).textContent = breakfast_meals[0];
        document.getElementById(&apos;breakfastOrdered&apos;).textContent = breakfast_meals[3];
        document.getElementById(&apos;breakfastSelfCooked&apos;).textContent = breakfast_meals[1];
        document.getElementById(&apos;breakfastHomeCooked&apos;).textContent = breakfast_meals[2];

        document.getElementById(&apos;lunchOrdered&apos;).textContent = lunch_meals[3];
        document.getElementById(&apos;lunchSelfCooked&apos;).textContent = lunch_meals[1];
        document.getElementById(&apos;lunchDineOut&apos;).textContent = lunch_meals[0];
        document.getElementById(&apos;lunchHomeCooked&apos;).textContent = lunch_meals[2];

        document.getElementById(&apos;dinnerHomeCooked&apos;).textContent = dinner_meals[2];
        document.getElementById(&apos;dinnerOrdered&apos;).textContent = dinner_meals[3];
        document.getElementById(&apos;dinnerDineOut&apos;).textContent = dinner_meals[0];
        document.getElementById(&apos;dinnerSelfCooked&apos;).textContent = dinner_meals[1];

        document.getElementById(&apos;homeCookedMealsTotal&apos;).textContent = dinner_meals[2] + lunch_meals[2] + breakfast_meals[2] + dinner_meals[1] + lunch_meals[1] + breakfast_meals[1];
        document.getElementById(&apos;orderedRestaurantMealsTotal&apos;).textContent = dinner_meals[0] + lunch_meals[0] + breakfast_meals[0] + dinner_meals[3] + lunch_meals[3] + breakfast_meals[3];;

        // mediaConsumptionBooks
        document.getElementById(&apos;mediaConsumptionBooks&apos;).innerHTML = generateHTMLOutput(books);

        // Chart Rendering

        const renderChart = (ctx, type, data, options) =&gt; {
          new Chart(ctx, { type, data, options });
        }

        const options_doughnut = {
          plugins: {
              legend: {
                  position: &apos;bottom&apos;,
                              labels: {
                usePointStyle: true
            }
              }
          },
          aspectRatio: 3
        };


        const meal_prep_type_colors = [&quot;#DBA979&quot;, &quot;#AFD198&quot;, &quot;#E8EFCF&quot;, &quot;#ECCA9C&quot;,&quot;#EEE&quot;];
        const data4 = {
            labels: meal_prep_type,
            datasets: [
              {
                label: &apos;Dinner&apos;,
                backgroundColor: meal_prep_type_colors,
                data: dinner_meals
              },
              {
                label: &apos;Lunch&apos;,
                backgroundColor: meal_prep_type_colors,
                data: lunch_meals
              },
              {
                label: &apos;Breakfast&apos;,
                backgroundColor: meal_prep_type_colors,
                data: breakfast_meals
              }
            ]
          };


        renderChart(document.getElementById(&apos;mealTypeChart&apos;), &apos;doughnut&apos;, data4, options_doughnut);

        let t = 0, c = 0, both = 0, none = 0;
        for (let i = 0; i &lt; tea.length; i++) {
            if (tea[i] == 0 &amp;&amp; coffee[i] == 0) {
                none++;
            }
            else if (tea[i] == 1 &amp;&amp; coffee[i] == 0) {
                t++;
            }
            else if (tea[i] == 0 &amp;&amp; coffee[i] == 1) {
                c++;
            }
            else {
                both++;
            }
        }
        let array = [c, t, none, both];

        const teaCoffeeData = {
            labels: [&apos;Coffee only&apos;, &apos;Tea only&apos;, &apos;None&apos;, &apos;Both&apos;],
            datasets: [{
                label: &apos;Tea/Coffee intake&apos;,
                data: array,
                backgroundColor: [&apos;#6F4E37&apos;, &apos;#ECB176&apos;, &apos;#DDD&apos;, &apos;#A67B5B&apos;],
                hoverOffset: 4
            }]
        };
        

        renderChart(document.getElementById(&apos;TeaCoffeChart&apos;), &apos;doughnut&apos;, teaCoffeeData, options_doughnut);

        const sleepData = {
            labels: dates,
            datasets: [{
                label: &apos;Total sleep duration (minutes)&apos;,
                data: sleeptime,
                borderWidth: 1,
                borderColor: &apos;#656E77&apos;,
                backgroundColor: &apos;#656E77&apos;
            }]
        };

        renderChart(document.getElementById(&apos;sleepDurationChart&apos;), &apos;bar&apos;, sleepData, createOptions(sleepStats));

        const bedtimeData = {
            labels: dates,
            datasets: [{
                label: &apos;Bedtime (Time after/before 12 o\&apos;clock midnight)&apos;,
                data: bedtime,
                fill: false,
                borderColor: &apos;#3B373B&apos;,
                tension: 0
                
            }]
        };

        renderChart(document.getElementById(&apos;bedTimeChart&apos;), &apos;line&apos;, bedtimeData, createOptions(bedtimeStats, true));


        const screenData = {
            labels: dates,
            datasets: [{
                label: &apos;Screen Time (Phone)&apos;,
                data: screentime,
                backgroundColor: &apos;#656E77&apos;
            }]
        };

        renderChart(document.getElementById(&apos;screenTimeChart&apos;), &apos;bar&apos;, screenData, createOptions(screenStats));

    });
&lt;/script&gt;</content:encoded><updated>Jul 09 2024 00:50</updated></item><item><title>Life-log (Apr 2024)</title><link>https://piyushmakwana.in/post/life-log-apr-2024/</link><guid isPermaLink="true">https://piyushmakwana.in/post/life-log-apr-2024/</guid><description>Life Log for April 2024</description><pubDate>Sun, 05 May 2024 18:47:00 GMT</pubDate><content:encoded>&lt;h1 id=&quot;summary&quot;&gt;Summary&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#media-consumption&quot;&gt;Media&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#tv-shows&quot;&gt;Watched 27 episodes across 4 different shows.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#movies&quot;&gt;Watched 5 movies, 4 of which were viewed in the Theater.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#books&quot;&gt;Read parts 3 books, 1 textbook, 1 fiction and 1 non-fiction.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#video-games&quot;&gt;Spent about 5.5 hours playing 2 video games.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#music&quot;&gt;Spent 4067 minutes listening to music.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#health&quot;&gt;Health&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#workouts&quot;&gt;Worked out at the gym 23 times&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#sleep&quot;&gt;Slept an Avg. of 6.44 hours a day&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#food-consumption&quot;&gt;Had 33 Home cooked meals and 42 ordered and restaurant meals&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#screen-time-phone&quot;&gt;Used phone for an avg. of 2hr 11m a day.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;media-consumption&quot;&gt;Media consumption&lt;/h1&gt;
&lt;h2 id=&quot;tv-shows&quot;&gt;TV shows&lt;/h2&gt;
&lt;p&gt;Watched 27 episodes across 4 different shows&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14452776/&quot;&gt;The Bear&lt;/a&gt; | S2 | E1-10 | 5/5 | Rewatch&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt6741278/&quot;&gt;Invincible&lt;/a&gt; | S2 | E6-E8 | 4/5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt3322312/&quot;&gt;Daredevil&lt;/a&gt; | S1 | E7-E13 | 4.5/5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt2357547/&quot;&gt;Jessica Jones&lt;/a&gt; | S1 | E1-E7 | 3.5/5&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;movies&quot;&gt;Movies&lt;/h2&gt;
&lt;p&gt;Watched 5 movies, 4 of which were viewed in the Theater.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14539740/&quot;&gt;Godzilla X Kong: The New Empire&lt;/a&gt; | Theater | 2.5/5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14966898/&quot;&gt;Blackberry&lt;/a&gt; | 4/5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14539740/&quot;&gt;Civil War&lt;/a&gt; | Theater | 3.5/5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14966898/&quot;&gt;Late Night with the Devil&lt;/a&gt; | Theater | 3.5/5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.imdb.com/title/tt14966898/&quot;&gt;Challengers&lt;/a&gt; | Theater | 4/5&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;books&quot;&gt;Books&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Designing Data-Intensive Applications. (Ch1, Ch2)
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;███----------------&lt;/code&gt; &lt;code&gt;16.67%&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Dune Messiah
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;----████-----------&lt;/code&gt; &lt;code&gt;15%-22%&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Art of Living
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;██████-------------&lt;/code&gt; &lt;code&gt;0-30%&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;video-games&quot;&gt;Video Games&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://opencritic.com/game/16510/stellar-blade/reviews?page=1&quot;&gt;Stellar Blade Demo&lt;/a&gt; | 1hr | 3.5/5&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://opencritic.com/game/76/bloodborne/reviews&quot;&gt;Bloodborne&lt;/a&gt; | 4hr 26mins | 5/5&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;music&quot;&gt;Music&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Listened to music for &lt;strong&gt;4067&lt;/strong&gt; minutes.&lt;/li&gt;
&lt;li&gt;Top 3 artists by minutes played:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/ludwig-g%C3%B6ransson/391832320&quot;&gt;Ludwig Göransson&lt;/a&gt; (284m)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/hans-zimmer/454295032&quot;&gt;Hans Zimmer&lt;/a&gt; (146m)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/artist/madhur-sharma/1473922714&quot;&gt;Madhur Sharma&lt;/a&gt; (96m)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 songs by the number of plays:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/wakanda/1440628690?i=1440629089&quot;&gt;Wakanda&lt;/a&gt; (60 plays)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/alborada-dallonqu%C3%ADa/1619796315?i=1619797246&quot;&gt;Alorada d’Allonquia&lt;/a&gt; (30 plays)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/evergreen/1233681655?i=1233681662&quot;&gt;Evergreen&lt;/a&gt; (24 plays)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Top 3 albums by minutes played:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/black-panther-original-score/1440628690&quot;&gt;Black Panther (Original Score)&lt;/a&gt; (137m)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/oppenheimer-original-motion-picture-soundtrack/1697599270&quot;&gt;Oppenheimer (Original Motion Picture Soundtrack)&lt;/a&gt; (100m)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://music.apple.com/in/album/medley-kehna-galat-galat-halka-halka-suroor-single/1615536974&quot;&gt;Medley: Kehna Galat Galat / Halka Halka Suroor - Single&lt;/a&gt;  (87m)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;health&quot;&gt;Health&lt;/h1&gt;
&lt;h2 id=&quot;food-consumption&quot;&gt;Food Consumption&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Breakfast:&lt;/strong&gt; Dine-out: 8, Ordered: 7, Left-over: 1, Self-Cooked: 1&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lunch:&lt;/strong&gt; Ordered: 14, Self-Cooked: 8, Dine-out: 5, Cook: 1&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dinner:&lt;/strong&gt; Cook (Home-cooked presumably): 21, Ordered: 5, Dine-out: 1, Mixed (Cook, Ordered): 1, Self: 1, Self-Cooked: 1&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Home-cooked meals:&lt;/strong&gt; 33&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ordred/Restaurant meals:&lt;/strong&gt; 42&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;/assets/food_apr_24.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;h3 id=&quot;teacoffee-intake&quot;&gt;Tea/Coffee intake&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Had tea and/or coffee 28 out of 30 days this month&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;desert-and-snacks&quot;&gt;Desert and Snacks&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Had a medium to heavy Desert 15 out of 30 days&lt;/li&gt;
&lt;li&gt;Had snacks (Other than fruit/nuts and other meals) 3 out of 30 days.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;workouts&quot;&gt;Workouts&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Worked out 23 times out of 30 this month.
&lt;ul&gt;
&lt;li&gt;Shoulders (S): 7 sessions&lt;/li&gt;
&lt;li&gt;Back and Biceps (B&amp;#x26;B): 6 sessions&lt;/li&gt;
&lt;li&gt;Chest and Triceps (C&amp;#x26;T): 6 sessions&lt;/li&gt;
&lt;li&gt;Leg day (L): 4 sessions&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Longest consecutive days worked out: 9&lt;/li&gt;
&lt;li&gt;Longest consecutive days of break: 1&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;sleep&quot;&gt;Sleep&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mean Sleep Duration:&lt;/strong&gt; 6.44 hours&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Sleep Duration:&lt;/strong&gt; 6.8 hours&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Sleep Duration:&lt;/strong&gt; 0.0 hours&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Sleep Duration:&lt;/strong&gt; 8.13 hours&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mean Bedtime:&lt;/strong&gt; 1:30 AM&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Bedtime:&lt;/strong&gt; 1:11 AM&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Bedtime:&lt;/strong&gt; 0:21 AM&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Bedtime:&lt;/strong&gt; 5:51 AM
&lt;img src=&quot;/assets/sleep_apr_24.png&quot; alt=&quot;&quot;&gt;
&lt;img src=&quot;/assets/bedtime_apr_24.png&quot; alt=&quot;&quot;&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;screen-time-phone&quot;&gt;Screen time (Phone)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mean Screen Time:&lt;/strong&gt; 2 hours 11 minutes&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Median Screen Time:&lt;/strong&gt; 2 hours 1 minute&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum Screen Time:&lt;/strong&gt; 0 hours 22 minutes&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum Screen Time:&lt;/strong&gt; 7 hours 26 minutes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;/assets/screentime_apr_24.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;</content:encoded><updated>May 05 2024 18:47</updated></item><item><title>On Pizza or Something</title><link>https://piyushmakwana.in/post/on-pizza-or-something/</link><guid isPermaLink="true">https://piyushmakwana.in/post/on-pizza-or-something/</guid><description>It&apos;s night time and I&apos;ve been thinking about pizza or something.</description><pubDate>Wed, 24 Apr 2024 21:24:00 GMT</pubDate><content:encoded>&lt;p&gt;I’ve been scrolling through Swiggy there are a lot of restaurants, but I can’t find anything to eat.&lt;/p&gt;
&lt;p&gt;I’ve been scrolling through Netflix’s library which has over 10k titles, but I can’t find anything to watch.&lt;/p&gt;
&lt;p&gt;I’ve been scrolling through my game library on my playstation there are 100’s games at my fingertips, just 10 years ago 15-year-old me would have gone nuts, I am living the future he dreamed of but there’s just one problem, I can’t find anything to play.&lt;/p&gt;
&lt;p&gt;My to-do list has a lot of Items that could be done. But I don’t want to.&lt;/p&gt;
&lt;p&gt;I’ve been looking for something to do. But I don’t want to do anything.&lt;/p&gt;
&lt;p&gt;Maybe I should go for a walk?&lt;br&gt;
should I?&lt;/p&gt;
&lt;p&gt;Maybe I should call a friend?\
I did. It was nice, but now I am back where I was. With this feeling.&lt;/p&gt;
&lt;p&gt;Maybe I should write.&lt;br&gt;
I am writing. I’ve been writing for about 20mins now.&lt;/p&gt;
&lt;p&gt;I knew where this would end, and probably you did too.&lt;/p&gt;
&lt;p&gt;It could be about a person trying to find something and he decides to look everywhere but the place closest to himself. Within.&lt;/p&gt;
&lt;p&gt;It could be about the fact that there is no “something” to be found. Outside or Within.&lt;/p&gt;
&lt;p&gt;To be enlightened is perhaps to recognise that you already are.&lt;/p&gt;
&lt;p&gt;It could be about filling a void inside. But it’s only a void if you perceive it to be a void.&lt;/p&gt;
&lt;p&gt;But biologically, it’s Dopamine, it’s being released every time I scroll, the anticipation of reward, just around the corner there might be something I want to watch, play or eat! scroll more, your reward is just around the corner, Dopamine signals my brain.&lt;/p&gt;
&lt;p&gt;This will lead to me ordering something unhealthy,&lt;/p&gt;
&lt;p&gt;I am in the mood for a medium pizza. Bingo! I have the answer to my first question.&lt;/p&gt;
&lt;p&gt;But. something’s off.&lt;/p&gt;
&lt;p&gt;What’s off? I think I deserve a medium pizza once in a while.&lt;/p&gt;
&lt;p&gt;It’s not just about the pizza.&lt;/p&gt;
&lt;p&gt;You know you are not going to stop at pizza. &lt;br&gt;
There’ll be Bing watching YouTube.&lt;br&gt;
There’ll be ice cream after that. &lt;br&gt;
Perhaps a tub of ice cream.&lt;/p&gt;
&lt;p&gt;At a certain point, these things will stop giving you any joy.&lt;br&gt;
But you’ll continue to do them for a little longer.&lt;br&gt;
Hoping to squeeze out some last drop of joy.&lt;br&gt;
After that, you’ll feel guilty, you’ll feel tired.&lt;br&gt;
You’d want to sleep, hoping to put the day behind.&lt;br&gt;
But the sleep won’t come easy.&lt;br&gt;
You won’t get enough sleep.&lt;br&gt;
Tomorrow you’ll wake up tired.&lt;br&gt;
You’ll be tired all day.&lt;br&gt;
Your decision-making will suffer.&lt;br&gt;
Your willpower will suffer.&lt;/p&gt;
&lt;p&gt;And perhaps you’ll be in the mood for some pizza.&lt;/p&gt;</content:encoded><updated>Apr 24 2024 23:52</updated></item><item><title>Data Models and Query Languages (DDIA CH2)</title><link>https://piyushmakwana.in/post/ddia-2-data-models-and-query-languages/</link><guid isPermaLink="true">https://piyushmakwana.in/post/ddia-2-data-models-and-query-languages/</guid><description>Notes on chapter 2. of Designing Data-Intensive Applications.</description><pubDate>Wed, 24 Apr 2024 15:39:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;Note: These notes were taken while reading chapter 2. of the book Designing Data-Intensive Applications, for more details please refer the book.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id=&quot;table-of-content&quot;&gt;Table of Content&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&quot;#relational-model-versus-document-model&quot;&gt;Relational Model Versus Document Model&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&quot;#the-object-relational-mismatch&quot;&gt;The Object-Relational Mismatch&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&quot;#json-model&quot;&gt;JSON Model (One to Many)&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&quot;#many-to-one-and-many-to-many-relationships&quot;&gt;Many to One and Many to Many Relationships&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&quot;#relational-versus-document-databases-today&quot;&gt;Relational Versus Document Databases Today&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#which-data-model-leads-to-simpler-application-code&quot;&gt;Which data model leads to simpler application code?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#schema-flexibility-in-the-document-model&quot;&gt;Schema flexibility in the document model&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#data-locality-for-queries&quot;&gt;Data locality for queries&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#convergence-of-document-and-relational-databases&quot;&gt;Convergence of document and relational databases&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&quot;#query-languages-for-data&quot;&gt;Query Languages for Data&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#declarative-queries-on-the-web&quot;&gt;Declarative Queries on the Web&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#mapreduce-querying&quot;&gt;MapReduce Querying&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&quot;#graph-like-data-models&quot;&gt;Graph-like Data Models&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#property-graph-model&quot;&gt;Property Graph Model&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#the-cypher-query-language&quot;&gt;The Cypher Query Language&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#graph-queries-in-sql&quot;&gt;Graph Queries in SQL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#triple-stores-and-sparql&quot;&gt;Triple-Stores and SPARQL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#the-foundation-datalog&quot;&gt;The Foundation: Datalog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Most applications are built by layering one data model on top of another.
each layer hides the complexity of the layers below it by providing a clean data model.
Data models have a profound effect on what the software above can or can’t do.&lt;/p&gt;
&lt;h2 id=&quot;relational-model-versus-document-model&quot;&gt;Relational Model Versus Document Model&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Relational Model&lt;/strong&gt; (1980s)
data is organised into relations (called tables in SQL), where each relation is an unordered collection of tuples (rows in SQL).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Driving forces behind the adoption of NoSQL&lt;/strong&gt; (Non-relational databases) (2010s):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Greater and easier scalability compared to Relational databases.&lt;/li&gt;
&lt;li&gt;Preference for free and open-source software.&lt;/li&gt;
&lt;li&gt;Specialised query operations.&lt;/li&gt;
&lt;li&gt;Restrictiveness of relational schemas, and a desire for a more dynamic and expressive data model.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;Different applications have different requirements, best choice depends on the use case.&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&quot;the-object-relational-mismatch&quot;&gt;The Object-Relational Mismatch.&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Application development today is done in object-oriented programming languages.&lt;/li&gt;
&lt;li&gt;SQL stored data in relational models.&lt;/li&gt;
&lt;li&gt;A translation layer is required b/w them.&lt;/li&gt;
&lt;li&gt;Impedance mismatch: when two systems that are supposed to work together have different data models.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;json-model&quot;&gt;JSON Model.&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;store it on a text column in the database, and let the application interpret its structure and content.&lt;/li&gt;
&lt;li&gt;Has better locality than multi-table schema.&lt;/li&gt;
&lt;li&gt;All the relevant information is in one place.
&lt;ul&gt;
&lt;li&gt;In the relational model, you might need to query multiple tables or perform a multi-way join b/w different tables.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Uses &lt;strong&gt;one-to-many&lt;/strong&gt; relationships.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;many-to-one-and-many-to-many-relationships&quot;&gt;Many to one and Many to Many Relationships.&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;For example, the name of a city stored in a database is standardised. There’s a city_id in the user table which maps to the city name in the city table. Advantages of this approach:
&lt;ul&gt;
&lt;li&gt;Consistent style and spelling&lt;/li&gt;
&lt;li&gt;Avoiding ambiguity (In case of multiple cities by the same name)&lt;/li&gt;
&lt;li&gt;Easy to update in case the name of the city changes.&lt;/li&gt;
&lt;li&gt;Localisation support: if the site is translated, we can use the localised standardised list instead.&lt;/li&gt;
&lt;li&gt;Better search: Search all the users in the state.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;When we store text directly we are duplicating the human meaningful information for every record. But anything meaningful to humans may need to change sometime in the future. In case of duplication, all the redundant copies must be updated.&lt;/li&gt;
&lt;li&gt;Minimising redundancy in data is the key idea behind normalisation. (many to one)&lt;/li&gt;
&lt;li&gt;Many-to-one relationships don’t fit nicely into the document model, and support for joins is often weak.&lt;/li&gt;
&lt;li&gt;relational databases also support many to many relationships.
`&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;/assets/one-to-man-relationships.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/many-to-one-relationships.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/many-to-many-relationships.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;h5 id=&quot;relational-versus-document-databases-today&quot;&gt;Relational Versus Document Databases Today&lt;/h5&gt;
&lt;p&gt;The main arguments in favour of the document data model are schema flexibility, better performance due to locality, and that for some applications it is closer to the data structures used by the application. The relational model counters by providing better support for joins, and many-to-one and many-to-many relationships.&lt;/p&gt;
&lt;h6 id=&quot;which-data-model-leads-to-simpler-application-code&quot;&gt;Which data model leads to simpler application code?&lt;/h6&gt;
&lt;p&gt;Depends&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If the application has a document-like structure (tree of one-to-many relationships, where the entire tree is loaded at once.)&lt;/li&gt;
&lt;li&gt;We can’t refer directly to the nested item in a document-based database.&lt;/li&gt;
&lt;li&gt;Poor support for joining in the document database and not good for many-to-many relationships.
&lt;ul&gt;
&lt;li&gt;It’s possible to reduce the need for join by denormalizing, but then the application code needs to do additional work to keep the denormalized data consistent.&lt;/li&gt;
&lt;li&gt;Joins can be emulated in application code by making multiple requests to the database, but that also moves complexity into the application and is usually slower than a join performed by specialized code inside the database.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;For highly interconnected data, the document model is awkward, the relational model is acceptable, and graph models (see “Graph-Like Data Models”) are the most natural.&lt;/li&gt;
&lt;/ul&gt;
&lt;h6 id=&quot;schema-flexibility-in-the-document-model&quot;&gt;Schema flexibility in the document model&lt;/h6&gt;
&lt;p&gt;Document databases are sometimes called schema-less, but that’s misleading, more accurate term is schema-on-read (the structure of the data is implicit, and only interpreted when the data is read), in contrast with schema-on-write (the traditional approach of relational databases, where the schema is explicit and the database ensures all written data conforms to it)&lt;/p&gt;
&lt;p&gt;It’s Similar to discourse b/w static vs Dynamically typed languages.&lt;/p&gt;
&lt;h6 id=&quot;when-we-want-to-change-the-format-of-the-data&quot;&gt;When we want to change the format of the data&lt;/h6&gt;
&lt;ul&gt;
&lt;li&gt;Document: applications handle the cases for old and new data&lt;/li&gt;
&lt;li&gt;Relational: migration needs to be performed (Alter table)&lt;/li&gt;
&lt;/ul&gt;
&lt;h6 id=&quot;data-locality-for-queries&quot;&gt;Data locality for queries&lt;/h6&gt;
&lt;ul&gt;
&lt;li&gt;performance advantage to this storage locality.&lt;/li&gt;
&lt;li&gt;The locality advantage only applies if you need large parts of the document at the same time.&lt;/li&gt;
&lt;li&gt;Update operation: On updates to a document, the entire document usually needs to be rewritten—only modifications that don’t change the encoded size of a document can easily be performed in place&lt;/li&gt;
&lt;/ul&gt;
&lt;h6 id=&quot;convergence-of-document-and-relational-databases&quot;&gt;Convergence of document and relational databases&lt;/h6&gt;
&lt;p&gt;It seems that relational and document databases are becoming more similar over time, and that is a good thing: the data models complement each other. If a database can handle document-like data and also perform relational queries on it, applications can use the combination of features that best fits their needs.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Most relational database systems (Other than MySQL) have supported XML since the mid-2000s. which allows applications to use data models very similar to what they would do when using a document database.&lt;/li&gt;
&lt;li&gt;Many database systems also have a similar level of support for JSON.&lt;/li&gt;
&lt;li&gt;Document databases like RethinkDB support relational-like joins in a query language.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&quot;query-languages-for-data&quot;&gt;Query Languages for Data&lt;/h2&gt;
&lt;p&gt;Imperative: tells the computer to perform certain operations in a certain order.&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;python&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;def&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt; getSharts&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;():&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;	sharks &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; []&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;	for&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; animal &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;in&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; animals&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;		if&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; animal&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;family&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; ==&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Shark&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;			sharks&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;append&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;animal&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;	return&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; sharks&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Declarative query language
Just specify the pattern of the data you want- what conditions the results must meet, and how you want the data to be transformed. But now how to achieve that goal.&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;sql&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;Select&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; *&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; from&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; animals &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;where&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; family &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Shark&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Benefits:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;more concise and easier to work with&lt;/li&gt;
&lt;li&gt;database system can introduce performance improvements without requiring any changes to queries.&lt;/li&gt;
&lt;li&gt;declarative languages often lend themselves to parallel execution. database is free to use a parallel implementation of the query language, if appropriate&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;declarative-queries-on-the-web&quot;&gt;Declarative Queries on the Web&lt;/h3&gt;
&lt;p&gt;CSS: Declarative&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;css&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;selected&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &gt;&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt; p&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#B2CCD6&quot;&gt;    background-color&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; blue&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;JavaScript: Imperative&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;javascript&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; liElements &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; document&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;getElementsByTagName&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; i &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; 0&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; i &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; liElements&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;length&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; i&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;    if&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;liElements&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;className&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; ===&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;selected&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;        var&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; children&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; liElements&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;childNodes&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;        for&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; j&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; 0&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; j&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; children&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;length&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; j&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;            var&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; child&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; children&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;j&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;            if&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;child&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;nodeType&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; ===&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; Node&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;ELEMENT_NODE&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &amp;#x26;&amp;#x26;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; child&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;tagName&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; ===&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;P&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;                child&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;setAttribute&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;background-color: blue&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;            }&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;        }&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;    }&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Much longer and harder to understand&lt;/li&gt;
&lt;li&gt;If  the selected class is removed the attributions don’t revert back to normal (unlike CSS)&lt;/li&gt;
&lt;li&gt;Code needs to be updated to take advantage of new APIs&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;mapreduce-querying&quot;&gt;MapReduce Querying&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Neither declarative query language nor fully imperative query API. Somewhere in the middle.&lt;/li&gt;
&lt;li&gt;map(): aka collect, reduce() aka fold or inject.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Example: Generate a report of how many sharks you have sighted per months&lt;/p&gt;
&lt;p&gt;SQL&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;sql&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; date_trunc(&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;month&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;, observation_timestamp) &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; observation_month, &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;       sum&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;(num_animals) &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; total_animals&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; observations&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; family &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Sharks&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;GROUP BY&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; observation_month;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;MongoDB’s MapReduce (depreciated)&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;db.observations.mapReduce(&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;    function map() { // called once for every document which matches the query&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;        var year  = this.observationTimestamp.getFullYear();&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;        var month = this.observationTimestamp.getMonth() + 1;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;        emit(year + &quot;-&quot; + month, this.numAnimals); &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;    },&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;    function reduce(key, values) { // runs for pairs with same key&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;        return Array.sum(values); &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;    },&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;    {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;        query: { family: &quot;Sharks&quot; }, // filter is declarative (mongoDB specific)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;        out: &quot;monthlySharkReport&quot; // final output is written to this collection&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;    }&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;); &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;MapReduce is a fairly low-level programming model for distributed execution on a cluster of machines.&lt;/p&gt;
&lt;p&gt;Pros&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Can be run anywhere and re-run. (due to their specific nature)&lt;/li&gt;
&lt;li&gt;Powerful: they can parse strings, call library functions, perform calculations, and more.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cons&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;restricted, they must be pure functions and cannot perform additional database queries.&lt;/li&gt;
&lt;li&gt;Have to write two carefully coordinated JavaScript functions, which is often harder than writing a single query.&lt;/li&gt;
&lt;li&gt;A declarative query language offers more opportunities for a query optimizer to improve performance.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;more about map-reduce in a later chapter.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;graph-like-data-models&quot;&gt;Graph-like Data Models&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;When many-to-many relationships are very common in your data.&lt;/li&gt;
&lt;li&gt;the relational model can handle simple cases, but when connections within your data become more complex, it becomes more natural to start modelling your data as a graph.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Graph&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Vertices&lt;/strong&gt;: aka nodes aka entities&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Edges&lt;/strong&gt;: aka relationships aka arcs&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Homogeneous: when all the vertices represent the same kind of data. (Ex: People, Airport, WebPages etc.)&lt;/p&gt;
&lt;p&gt;Heterogenous: Different types of objects in a single graph. (Ex: Facebook maintains People, location, events, checking and comments in a single graph)&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/graph-database-example.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;h3 id=&quot;property-graph-model&quot;&gt;Property Graph Model&lt;/h3&gt;
&lt;p&gt;In a property graph model, each vertex consists of:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A unique id&lt;/li&gt;
&lt;li&gt;A set of outgoing edges&lt;/li&gt;
&lt;li&gt;A set of incoming edges&lt;/li&gt;
&lt;li&gt;A collection of properties (key-value pairs)
Each edge consists of :&lt;/li&gt;
&lt;li&gt;A unique id&lt;/li&gt;
&lt;li&gt;the tail vertex&lt;/li&gt;
&lt;li&gt;the head vertex&lt;/li&gt;
&lt;li&gt;relationship b/w the two vertices&lt;/li&gt;
&lt;li&gt;A collection of properties (key-value pairs)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can think of a graph store as consisting of two relational tables, one for vertices and one for edges.&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;sql&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; TABLE&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt; vertices&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;    vertex_id   &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;integer&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; PRIMARY KEY&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;    properties  &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;json&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;);&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; TABLE&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt; edges&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;    edge_id     &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;integer&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; PRIMARY KEY&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;    tail_vertex &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;integer&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; REFERENCES&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertices (vertex_id),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;    head_vertex &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;integer&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; REFERENCES&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertices (vertex_id),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;    label       &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;text&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;    properties  &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;json&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;);&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;-- Indexes are created to speed up lookups for queries involving filters on tail index and head index&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;-- Ex: Select * from edges where tail_vertex == 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;-- This returns the set of outgoing edges to vertex 1 &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; INDEX&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt; edges_tails&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges (tail_vertex); &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; INDEX&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt; edges_heads&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges (head_vertex);&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Some important aspects of this model:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Any vertex can have an edge connected with any other vertex&lt;/li&gt;
&lt;li&gt;Given any vertex, you can efficiently find its incoming and outgoing edges. (Indexes eges_tails and edges_heads have been created for this purpose)&lt;/li&gt;
&lt;li&gt;By using different labels we can store several different kinds of information in a single graph.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Things which would be difficult to express in a traditional relational schema&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Flexibility in structure (Different regional structures in different countries)&lt;/li&gt;
&lt;li&gt;Varying granularity of data (Lucy’s current residence is a city, where their birthplace is specified only at the state level.)&lt;/li&gt;
&lt;li&gt;Evolvability: as you add features to your application, a graph can easily be extended to accommodate changes in your application’s data structures.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;the-cypher-query-language&quot;&gt;The Cypher query language&lt;/h4&gt;
&lt;p&gt;A &lt;strong&gt;declarative&lt;/strong&gt; query language for property graphs.&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;cypher&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;CREATE&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (NAmerica:Location &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;North America&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;continent&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;), &lt;/span&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;// vertex&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (USA:Location      &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;United States&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;country&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;  }&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (Idaho:Location    &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;Idaho&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;         type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;state&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;    }&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (Lucy:Person       &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;Lucy&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt; }&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (Idaho) &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;WITHIN&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (USA)  &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;WITHIN&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (NAmerica), &lt;/span&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;// this defines the relationship b/w verte&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (Lucy)  &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;BORN_IN&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (Idaho)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;  // NAmerica, USA, Idaho, Lucy represent symbolic names (kind of like variables or constants)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Creates
&lt;img src=&quot;/assets/sub-graph-of-graph-database.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;Cypher query to find people who emigrated from the US to Europe&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;cypher&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;MATCH&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (person) &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;BORN_IN&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  () &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;WITHIN&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;*0&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;..&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (us:Location &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;United States&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (person) &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;LIVES_IN&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; () &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;WITHIN&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;*0&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;..&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (eu:Location &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;Europe&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;RETURN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; person.name &lt;/span&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;// return the name of the person matching above criteria&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;// () -[:WITHIN*0..] represents chasing of outgoing WITHIN edges &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;// It means following a WITHIN edge, zero or more times.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Equivalently, you could start with the two Location vertices and work backwards.&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;cypher&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;MATCH&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (us:Location &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;United States&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;&amp;#x3C;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;WITHIN&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;*0&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;..&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; () &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;&amp;#x3C;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;BORN_IN&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (person),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  (eu:Location &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;&apos;Europe&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;&amp;#x3C;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;WITHIN&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;*0&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;..&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; () &lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;&amp;#x3C;-&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;[:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;LIVES_IN&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color:#82AAFF&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (person)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;RETURN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; person.name&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;graph-queries-in-sql&quot;&gt;Graph Queries in SQL&lt;/h4&gt;
&lt;p&gt;We put graph data in a relational structure, can we also query it using SQL?
Yes. But it’s messy. The same query had been written  in cypher in 4 lines.&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;sql&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;WITH&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; RECURSIVE&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;  -- in_usa is the set of vertex IDs of all locations within the United States&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  in_usa(vertex_id) &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertex_id &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertices &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; properties&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;-&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;United States&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;      &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      UNION&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;	  -- recursive step: traverse `WITHIN` relationships backwards&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.tail_vertex &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;        JOIN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; in_usa &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.head_vertex &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; in_usa.vertex_id&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;        WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.label &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;within&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  ),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;  -- in_europe is the set of vertex IDs of all locations within Europe&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  in_europe(vertex_id) &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; (&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertex_id &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertices &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; properties&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;-&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Europe&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;      &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;	  UNION&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;	  -- recursive step: traverse `WITHIN` relationships backwards&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.tail_vertex &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;        JOIN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; in_europe &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.head_vertex &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; in_europe.vertex_id&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;        WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.label &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;within&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  ),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;  -- born_in_usa is the set of vertex IDs of all people born in the US&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  born_in_usa(vertex_id) &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; ( &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;    SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.tail_vertex &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      JOIN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; in_usa &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.head_vertex &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; in_usa.vertex_id&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.label &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;born_in&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  ),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;  -- lives_in_europe is the set of vertex IDs of all people living in Europe&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  lives_in_europe(vertex_id) &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; ( &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;    SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.tail_vertex &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      JOIN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; in_europe &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.head_vertex &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; in_europe.vertex_id&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;      WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; edges.label &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt; &apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;lives_in&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  )&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertices.properties&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;-&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&apos;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertices&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;-- join to find those people who were both born in the US *and* live in Europe&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; born_in_usa     &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertices.vertex_id &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; born_in_usa.vertex_id &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; lives_in_europe &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; vertices.vertex_id &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; lives_in_europe.vertex_id;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;triple-stores-and-sparql&quot;&gt;Triple-Stores and SPARQL&lt;/h4&gt;
&lt;p&gt;Mostly equivalent to the property graph model.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the info is stored in the form of three-part statements: (subject, predicate, object)&lt;/li&gt;
&lt;li&gt;The subject is equivalent to a vertex&lt;/li&gt;
&lt;li&gt;The object can be one of two things:
&lt;ol&gt;
&lt;li&gt;A value in a primitive datatype. (predicate ~ key and object ~ value)&lt;/li&gt;
&lt;li&gt;Another vertex in a graph. (predicate ~ edge(edge_lable), object ~ head_vertex, subject~ tail_vertex)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Example: written as triples in a format called Turtle, a subset of Notation3 (N3)&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;turtle&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;@prefix &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt; &amp;#x3C;urn:example:&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;lucy     &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;       :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Person. &lt;/span&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;#defining  &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;lucy     &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name   &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Lucy&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;# Type-1 assigning value &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;lucy     &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;bornIn &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;idaho. &lt;/span&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;# Type-2 creating an edge b/w two vertices.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;idaho    &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;       :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Location.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;idaho    &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name   &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Idaho&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;idaho    &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;type   &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;state&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;idaho    &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;within &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;usa.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;usa      &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;       :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Location.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;usa      &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name   &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;United States&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;usa      &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;type   &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;country&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;usa      &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;within &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;namerica.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;namerica &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;       :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Location.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;namerica &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name   &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;North America&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;namerica &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;type   &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;continent&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;# vertices are represented as _:&amp;#x3C;name&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;We can use semicolons to say multiple things about the same subjects.&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;turtle&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;@prefix &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt; &amp;#x3C;urn:example:&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;lucy     &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Person;   &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Lucy&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;;          &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;bornIn &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;idaho.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;idaho    &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Location; &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Idaho&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;;         &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;type &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;state&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;;   &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;within &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;usa.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;usa      &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Location; &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;United States&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;type &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;country&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;within &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;namerica.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;_:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;namerica &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Location; &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;North America&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;type &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;continent&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Martin Kleppman. Designing Data Intensive Applicatioms . Kindle Edition. &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;h5 id=&quot;the-semantic-web&quot;&gt;The semantic web&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;triple-store data model is completely independent of the semantic web&lt;/li&gt;
&lt;li&gt;The idea behind the semantic web: Websites already publish information as text and pictures for humans to read, so why don’t they publish info as machine-readable data for the computer to read?&lt;/li&gt;
&lt;li&gt;The RDF was created with the intention of building a web of data. (more below)&lt;/li&gt;
&lt;li&gt;It fell off but a lot of good work came out of it. (Triples for example)&lt;/li&gt;
&lt;/ul&gt;
&lt;h6 id=&quot;the-rdf-data-model&quot;&gt;The RDF data model&lt;/h6&gt;
&lt;p&gt;The Resource Description Framework (RDF) was intended as a mechanism for different websites to publish data in a consistent format, allowing data from different websites to be automatically combined into a web of data. (a kind of internet-wide “database for everything”)&lt;/p&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;xml&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;rdf&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;RDF&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; xmlns&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;urn:example:&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;    xmlns&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;rdf&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;  &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;Location&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; rdf&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;nodeID&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;idaho&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;    &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Idaho&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;    &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;state&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;    &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;within&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;      &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;Location&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; rdf&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;nodeID&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;usa&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;        &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;United States&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;        &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;country&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;        &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;within&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;          &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;Location&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; rdf&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;nodeID&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;namerica&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;            &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;North America&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;            &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;continent&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;          &amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;Location&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;        &amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;within&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;      &amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;Location&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;    &amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;within&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;  &amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;Location&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;  &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;Person&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; rdf&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;nodeID&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;lucy&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;    &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;Lucy&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;    &amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;bornIn&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; rdf&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;nodeID&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;idaho&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;/&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;  &amp;#x3C;/&lt;/span&gt;&lt;span style=&quot;color:#F07178&quot;&gt;Person&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;The (subject, predicate, object) are often URIs. Example: `&lt;a href=&quot;http://my-company.com/namespace#within&quot;&gt;http://my-company.com/namespace#within&lt;/a&gt; or &lt;a href=&quot;http://my-company.com/namespace#lives_in&quot;&gt;http://my-company.com/namespace#lives_in&lt;/a&gt;,&lt;/li&gt;
&lt;li&gt;The reason is that different people might attach different meanings to word within or lives_in. This way we won’t get conflict.&lt;/li&gt;
&lt;li&gt;The URL does not need to be resolvable it’s just a namespace.&lt;/li&gt;
&lt;li&gt;RSS 1.0 was built around RDF.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&quot;the-sparql-query-language&quot;&gt;The SPARQL query language&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;SPARQL Protocol and RDF Query Language, pronounced “sparkle.”&lt;/li&gt;
&lt;li&gt;Predates Cypher, Cypher pattern matching is borrowed from SPARQL so they look quiet similar.&lt;/li&gt;
&lt;li&gt;Does not distinguish b/w properties and edges.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;sparql&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;PREFIX &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt; &amp;#x3C;urn:example:&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;# gives name of the people who were born in United States and live in Europe&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; ?personName &lt;/span&gt;&lt;span style=&quot;color:#89DDFF;font-style:italic&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  ?person &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name ?personName.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  ?person &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;bornIn  &lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;within&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt; /&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;United States&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;  ?person &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;livesIn &lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;within&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color:#FFCB6B&quot;&gt; /&lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;Europe&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;# variables start with &quot;?&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;# does not distinguish b/w properties and edges&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;# declering a variable&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;?usa &lt;/span&gt;&lt;span style=&quot;color:#C792EA&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;name &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#C3E88D&quot;&gt;United States&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;the-foundation-datalog&quot;&gt;The Foundation: Datalog&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;much older than SPARQL or Cypher. (studied in 1980s)&lt;/li&gt;
&lt;li&gt;Provided fundamentals that later query languages build upon.&lt;/li&gt;
&lt;li&gt;Used in Datamoic.&lt;/li&gt;
&lt;li&gt;Casalog is a Datalog implementation for querying large datasets in Hadoop.&lt;/li&gt;
&lt;li&gt;Similar to triple-store model.&lt;/li&gt;
&lt;li&gt;Format predicate(subject, object)&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;name(namerica, &apos;North America&apos;).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;type(namerica, continent).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;name(usa, &apos;United States&apos;).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;type(usa, country).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;within(usa, namerica).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;name(idaho, &apos;Idaho&apos;).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;type(idaho, state).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;within(idaho, usa).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;name(lucy, &apos;Lucy&apos;).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;born_in(lucy, idaho).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Querying&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;we define rules/predicates (kind of like functions)&lt;/li&gt;
&lt;li&gt;A rule applies if the system can find a match for all predicates on the righthand side of the :- operator. When the rule applies, it’s as though the lefthand side of the :- was added to the database (with variables replaced by the values they matched).&lt;/li&gt;
&lt;li&gt;These rules can be re-used which might cope better if the data is complex.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;within_recursive(Location, Name) :- name(Location, Name).     /* Rule 1 */&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;within_recursive(Location, Name) :- within(Location, Via),    /* Rule 2 */&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;                                    within_recursive(Via, Name).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;migrated(Name, BornIn, LivingIn) :- name(Person, Name),       /* Rule 3 */&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;                                    born_in(Person, BornLoc),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;                                    within_recursive(BornLoc, BornIn),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;                                    lives_in(Person, LivingLoc),&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;                                    within_recursive(LivingLoc, LivingIn).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;?- migrated(Who, &apos;United States&apos;, &apos;Europe&apos;).&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;</content:encoded><updated>Apr 24 2024 15:47</updated></item><item><title>Reliability, Scalability, and Maintainability of a Web Applications (DDIA CH1)</title><link>https://piyushmakwana.in/post/ddia-1-reliable-scalable-and-maintainable-applications/</link><guid isPermaLink="true">https://piyushmakwana.in/post/ddia-1-reliable-scalable-and-maintainable-applications/</guid><description>Notes on chapter 1. of Designing Data-Intensive Applications.</description><pubDate>Wed, 24 Apr 2024 15:09:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;Note: These notes were taken while reading chapter 1. of the book Designing Data-Intensive Applications, for more details please refer the book.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id=&quot;table-of-contents&quot;&gt;Table of Contents&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#thinking-about-data-systems&quot;&gt;Thinking about Data Systems&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#reliability&quot;&gt;Reliability&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#hardware-faults&quot;&gt;Hardware Faults&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#software-errors&quot;&gt;Software Errors&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#human-errors&quot;&gt;Human Errors&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#scalability&quot;&gt;Scalability&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#load-parameter&quot;&gt;Load parameter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#twitters-example&quot;&gt;Twitter’s Example&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#describing-performance&quot;&gt;Describing Performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#approaches-for-coping-with-load&quot;&gt;Approaches for Coping with Load&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#maintainability&quot;&gt;Maintainability&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#operability&quot;&gt;Operability&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#simplicity&quot;&gt;Simplicity&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#evolvability&quot;&gt;Evolvability&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Commonly needed functionality of data-intensive applications&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;database&lt;/li&gt;
&lt;li&gt;cache&lt;/li&gt;
&lt;li&gt;Search index&lt;/li&gt;
&lt;li&gt;stream processing&lt;/li&gt;
&lt;li&gt;batch processing&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;thinking-about-data-systems&quot;&gt;Thinking about Data Systems&lt;/h2&gt;
&lt;p&gt;In recent years boundaries between these categories have become blurred. Many tools optimise for different use cases such as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Redis: datastore that is also used as a message queue&lt;/li&gt;
&lt;li&gt;Kafka: message queue with database-like durability&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Applications now have such demanding or wide-ranging requirements that a single tool can no longer meet all its data processing and storage needs. Instead, the &lt;strong&gt;work is broken down into tasks that can be performed efficiently on a single tool, and the different tools are stitched together using application code.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Factors that influence the design of a data system:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reliability&lt;/li&gt;
&lt;li&gt;Scalability&lt;/li&gt;
&lt;li&gt;Maintainability&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&quot;reliability&quot;&gt;Reliability&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The system should continue to work correctly even in the face of adversity (faults).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;faults&lt;/strong&gt;: Things that can go wrong&lt;/li&gt;
&lt;li&gt;fault vs failure: A fault is usually defined as one component of the system deviating from its spec, whereas a failure is when the system as a whole stops providing the required service to the user.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;fault-tolerant system&lt;/strong&gt;: a system that can anticipate faults and prevent them from causing failures.&lt;/li&gt;
&lt;li&gt;Testing a fault-tolerant system: deliberately inducing faults. (&lt;a href=&quot;https://netflixtechblog.com/the-netflix-simian-army-16e57fbab116&quot;&gt;The Netflix Chaos Monkey&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;We generally prefer tolerating faults over preventing them. But in cases such as data breaches, which can’t be undone prevention is better than cure.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;hardware-faults&quot;&gt;Hardware Faults&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;First response: Add redundancy to individual hardware components.
&lt;ul&gt;
&lt;li&gt;Disk: setup disk in RAID configuration&lt;/li&gt;
&lt;li&gt;Power Supply: have dual supplies, backup power&lt;/li&gt;
&lt;li&gt;CPU: have hot-swappable cpus.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;When a component dies, the redundant component can take its place.&lt;/li&gt;
&lt;li&gt;In case of machine failure: restore a backup onto a new machine, there’s a downtime. &lt;strong&gt;Multi-machine redundancy&lt;/strong&gt; is required for applications that require high availability.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hardware faults are generally random and independent of each other.&lt;/strong&gt; i.e. it’s unlikely that a large number of hardware components will fail at the same time.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;software-errors&quot;&gt;Software Errors&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;They are &lt;strong&gt;systematic errors&lt;/strong&gt; that are triggered by an unusual set of circumstances.&lt;/li&gt;
&lt;li&gt;Software makes an assumption about its environment which is no longer true.&lt;/li&gt;
&lt;li&gt;Ex: Software bug for a bad input, runaway process, cascading failures.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;There’s no quick solution&lt;/strong&gt;: carefully thinking about assumptions and interactions in the system; through testing; process isolation; allowing processes to crash and restart; and measuring; monitoring and analysing system behaviour in production can help.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;human-errors&quot;&gt;Human Errors&lt;/h3&gt;
&lt;p&gt;Human beings are unreliable.
Way to make the system reliable, despite that fact:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make it easy to do the right thing: we’ll design abstraction, API’s and interfaces. (Although if the interface is too restrictive people will work around them, negating their benefits, so you need to get the balance right)&lt;/li&gt;
&lt;li&gt;Sandbox environment: people can explore and experiment safely, without affecting real users.&lt;/li&gt;
&lt;li&gt;Allow quick and easy recovery. (Easy rollback, gradual deployment, tools to recompute data)&lt;/li&gt;
&lt;li&gt;Detailed and clear monitoring.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&quot;scalability&quot;&gt;Scalability&lt;/h2&gt;
&lt;p&gt;Systems ability to cope with increased load&lt;/p&gt;
&lt;h3 id=&quot;load-parameter&quot;&gt;Load parameter&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Numbers which can describe load.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Depends on the architecture of the system&lt;/li&gt;
&lt;li&gt;Example: RPS, no. of active users, read/write ratio etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;twitters-example&quot;&gt;Twitter’s Example&lt;/h3&gt;
&lt;p&gt;Systems Functionality:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Post Tweet: new message to user’s followers (4.6K rps)&lt;/li&gt;
&lt;li&gt;Home Timeline: view tweets posted by people current_user follows (300K rps)&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;implementation-1-using-a-relational-db&quot;&gt;Implementation #1 Using a Relational DB&lt;/h4&gt;
&lt;p&gt;Tables:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tweets &lt;code&gt;[id, sender_id, text, timestamp]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Users &lt;code&gt;[id, user_name]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Followers &lt;code&gt;[follower_id, followee_id]&lt;/code&gt;
Operations:&lt;/li&gt;
&lt;li&gt;Post Tweet: Append tweet to Tweets table.&lt;/li&gt;
&lt;li&gt;Home Timeline.
&lt;ul&gt;
&lt;li&gt;Look up all the people current_user follows.&lt;/li&gt;
&lt;li&gt;Look up all the tweets from those people&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;sql&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#545454;font-style:italic&quot;&gt;-- Home Timeline.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; tweets.&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt;, users.&lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt; FROM&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; tweets&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;  JOIN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; users   &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; tweets.sender_id    &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; users.id&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;  JOIN&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; follows &lt;/span&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; follows.followee_id &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; users.id&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F78C6C&quot;&gt;  WHERE&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; follows.follower_id &lt;/span&gt;&lt;span style=&quot;color:#89DDFF&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#EEFFFF&quot;&gt; current_user&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Most of the work here is done while reading. (During the Home Timeline operation)&lt;/p&gt;
&lt;h4 id=&quot;implementation-2-maintain-a-cache-for-each-user-timeline&quot;&gt;Implementation #2 Maintain a cache for each user timeline&lt;/h4&gt;
&lt;p&gt;Operations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Post Tweet:
&lt;ul&gt;
&lt;li&gt;Look up all the people who follow the user.&lt;/li&gt;
&lt;li&gt;Insert the tweet into each person’s timeline cache.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Home Timeline:
&lt;ul&gt;
&lt;li&gt;read the home timeline cache.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Most of the work is done while writing (During the Post tweet operation)&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Writes per second per hometimeline = (avg no. of tweets per second)*(avg no. of followers per user) &lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Avg writes to home timeline cache = 4.6k/sec x 75 (which is avg. no of followers per user)&lt;/li&gt;
&lt;li&gt;Avg writes to home timeline cache = 345k/sec (per user)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;div_box&quot;&gt;
&lt;b&gt;Load Parameter&lt;/b&gt;: Distribution of followers per user weighted by avg. no. of tweets per user.
&lt;/div&gt;
&lt;p&gt;Extreme case: Users with millions of followers&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For a user with 30million followers writes to timeline cache = 30mil X 4.6 ~ 120mil writes (very expensive)&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To tackle this we can use a hybrid approach.&lt;/p&gt;
&lt;h4 id=&quot;hybrid-approach&quot;&gt;Hybrid approach&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;For most users: Use Implementation #2&lt;/li&gt;
&lt;li&gt;For people with large number of followers: Use Implementation #1&lt;/li&gt;
&lt;li&gt;Merge the results.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;describing-performance&quot;&gt;Describing Performance&lt;/h3&gt;
&lt;p&gt;How the performance is impacted when the load is increased? (Keeping the system resources unchanged)
Example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Batch Processing system&lt;/strong&gt;: it’s throughput i.e. number of records we can process per second.&lt;/li&gt;
&lt;li&gt;In an &lt;strong&gt;online system&lt;/strong&gt;: it could be response time.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;latency-vs-response-time&quot;&gt;Latency vs Response Time&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Latency: duration that a request is waiting to be handled.&lt;/li&gt;
&lt;li&gt;Response time: what the client sees: time b/w the client sending a request and receiving a response.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;percentile&quot;&gt;Percentile&lt;/h4&gt;
&lt;p&gt;What percentage of your requests have a response time less than x.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;50th percentile aka p50 aka median.
&lt;ul&gt;
&lt;li&gt;if the median response time is 200ms, it means that half of the request return in less than 200ms.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;To look at how bad our outliers are we look at higher percentiles. the 95th, 99th, and 99.9th percentiles are common (abbreviated p95, p99, and p999).&lt;/li&gt;
&lt;li&gt;Example Amazon:
&lt;ul&gt;
&lt;li&gt;amazon uses p999 as a performance metric.&lt;/li&gt;
&lt;li&gt;customers with the slowest requests are often those who have the most data on their accounts because they have made many purchases—that is, they’re the most valuable customers&lt;/li&gt;
&lt;li&gt;100 ms increase in response time reduces sales by 1%, and others report that a 1-second slowdown reduces a customer satisfaction metric by 16%&lt;/li&gt;
&lt;li&gt;optimizing the 99.99th percentile (the slowest 1 in 10,000 requests) was deemed too expensive and to not yield enough benefit for Amazon’s purposes.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Reducing response times at very high percentiles is difficult because they are easily affected by random events outside of your control.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&quot;queueing-delay&quot;&gt;Queueing delay&lt;/h5&gt;
&lt;p&gt;it only takes a small number of slow requests to hold up the processing of the subsequent request&lt;/p&gt;
&lt;h5 id=&quot;tail-latency-amplification&quot;&gt;Tail latency amplification&lt;/h5&gt;
&lt;p&gt;if only a small percentage of backend calls are slow, the chance of getting a slow call increases if an end-user request requires multiple backend calls, and so a higher proportion of end-user requests end up being slow&lt;/p&gt;
&lt;h4 id=&quot;slo-service-level-objectives-and-sla-service-level-agreements&quot;&gt;SLO (service level objectives) and SLA (service level agreements)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Contracts that define the expected performance and availability of a service.&lt;/li&gt;
&lt;li&gt;These metrics set expectations for clients of the service and allow customers to demand a refund if the SLA is not met&lt;/li&gt;
&lt;li&gt;Example: An SLA may state that the service is considered to be up if it has a median response time of less than 200 ms and a 99th percentile under 1 s (if the response time is longer, it might as well be down), and the service may be required to be up at least 99.9% of the time.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;approaches-for-coping-with-load&quot;&gt;Approaches for Coping with Load&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;An architecture that is appropriate for one level of load is unlikely to cope with 10 times that load.
&lt;ul&gt;
&lt;li&gt;You will need to rethink your architecture on every order of magnitude load increase.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Scaling up vs Scaling out
&lt;ul&gt;
&lt;li&gt;Scaling up (Vertical scaling): moving to a more powerful machine.&lt;/li&gt;
&lt;li&gt;Scaling out (Horizontal scaling): distributing load across multiple smaller machines. (aka &lt;strong&gt;Shared-nothing architecture.&lt;/strong&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Elastic system
&lt;ul&gt;
&lt;li&gt;can automatically add computing resources when they detect a load increase.&lt;/li&gt;
&lt;li&gt;can be useful if the load is highly unpredictable.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;is-scalability-always-important&quot;&gt;Is scalability always important?&lt;/h3&gt;
&lt;p&gt;No, for example, In an early-stage startup or an unproven product, it’s usually more important to be able to iterate quickly on product features than it is to scale to some hypothetical future load.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;maintainability&quot;&gt;Maintainability&lt;/h2&gt;
&lt;p&gt;The major cost of software is its ongoing maintenance and improvements.
We will pay particular attention to three designs for system systems:&lt;/p&gt;
&lt;h3 id=&quot;operability&quot;&gt;Operability&lt;/h3&gt;
&lt;p&gt;Make it easy for operations teams to keep the system running smoothly.&lt;/p&gt;
&lt;p&gt;A good operations team is typically responsible for the following and more.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Monitoring system health&lt;/li&gt;
&lt;li&gt;Perform complex maintenance tasks&lt;/li&gt;
&lt;li&gt;Tracking down the cause of the problem, anticipating future problems (capacity planning)&lt;/li&gt;
&lt;li&gt;Keeping software up to date&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Good operability means making routine tasks easy, allowing the operations team to focus their efforts on high-value activities.&lt;/p&gt;
&lt;p&gt;To make routine tasks easier data systems can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Provide visibility into runtime behaviour and internal systems. (good monitoring tools)&lt;/li&gt;
&lt;li&gt;Good support for automation and integration with standard tools&lt;/li&gt;
&lt;li&gt;Avoid dependency on individual machines. (so that machines can be taken down for maintenance)&lt;/li&gt;
&lt;li&gt;Providing good documentation.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;simplicity&quot;&gt;Simplicity&lt;/h3&gt;
&lt;p&gt;Make it easy for new engineers to understand the system, by removing as much complexity as possible from the system.&lt;/p&gt;
&lt;p&gt;Abstraction&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;One of the best tools we have for removing accidental complexity is abstraction.&lt;/li&gt;
&lt;li&gt;quality improvements in the abstracted component benefit all applications that use it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;evolvability&quot;&gt;Evolvability&lt;/h3&gt;
&lt;p&gt;Make it easy for engineers to make changes to the system in the future, adapting it for unanticipated use cases as requirements change. Also known as extensibility, modifiability, or plasticity.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Agile&lt;/strong&gt; working patterns provide a framework for adapting to change.&lt;/p&gt;</content:encoded><updated>Apr 24 2024 15:26</updated></item><item><title>Mangalore (Travel-Log)</title><link>https://piyushmakwana.in/post/travel-log-mangalore/</link><guid isPermaLink="true">https://piyushmakwana.in/post/travel-log-mangalore/</guid><description>Weekend trip to Mangalore</description><pubDate>Sat, 06 Apr 2024 15:07:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Destination&lt;/strong&gt;: &lt;a href=&quot;https://maps.app.goo.gl/deLWBayr9ZzQ4m9H7&quot;&gt;Mangalore, Karnataka&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Duration&lt;/strong&gt;: 2 days, 1 night.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Date&lt;/strong&gt;: 30th and 31st March 2024.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Accommodation&lt;/strong&gt;: &lt;a href=&quot;https://maps.app.goo.gl/MVUW76Hy7xu4K69s7&quot;&gt;TentMonk Beach Stay &amp;#x26; Resort&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transportation&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;🚌 Bus | 752km&lt;/li&gt;
&lt;li&gt;🛺 Auto | 27km&lt;/li&gt;
&lt;li&gt;🚕 Cab | 16.6km&lt;/li&gt;
&lt;li&gt;🛵 Rented Scooter | 50-60km&lt;/li&gt;
&lt;li&gt;🚶‍♂️ Walking | 33.5km | Data Source: Apple Watch&lt;/li&gt;
&lt;li&gt;⛴️ Ferry | 1.7km&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#log&quot;&gt;&lt;strong&gt;Log&lt;/strong&gt;&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#day-1&quot;&gt;Day-1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#day-2&quot;&gt;Day-2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#review-and-highlights&quot;&gt;&lt;strong&gt;Review and Highlights&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h1 id=&quot;log&quot;&gt;Log&lt;/h1&gt;
&lt;h2 id=&quot;day-1&quot;&gt;Day-1&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Arrived: 5:30 am at &lt;a href=&quot;https://maps.app.goo.gl/UkiDeZAaLwjfKewz7&quot;&gt;Bendoor, Mangalore.&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Opps:&lt;/strong&gt; Forgot phone on the bus, called them, took an auto to the next stop got the phone back.&lt;/li&gt;
&lt;li&gt;🛺 Auto (2.5km)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Breakfast at &lt;a href=&quot;https://maps.app.goo.gl/qoWzKhGTjFBPPHEC8&quot;&gt;Hotel Taj Mahal&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;🛺 Auto(17km)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Arrived at &lt;a href=&quot;https://maps.app.goo.gl/MVUW76Hy7xu4K69s7&quot;&gt;Hotel&lt;/a&gt; at 7:00 am (Before Check-in time)&lt;/li&gt;
&lt;li&gt;Walked around &lt;a href=&quot;https://maps.app.goo.gl/RE4Kt4Uw9nMYAzVP9&quot;&gt;Batapady Beach&lt;/a&gt; for about 3hrs.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/MVUW76Hy7xu4K69s7&quot;&gt;Hotel&lt;/a&gt; checking: 10:50 am.
&lt;ul&gt;
&lt;li&gt;🚕 Cab (16.6 Km)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lunch at &lt;a href=&quot;https://maps.app.goo.gl/teA65DvLLW5kod3q9&quot;&gt;Hotel Narayana&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;🚶‍♂️Walked&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Desert at &lt;a href=&quot;https://maps.app.goo.gl/MLShh15imE2g2wTM8&quot;&gt;Ideal Cream Parlour&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;🚶‍♂️Walked&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Rented Scooter from &lt;a href=&quot;https://maps.app.goo.gl/fiKFKthdGzLbeN8MA&quot;&gt;Planet Safari&lt;/a&gt; (4:00 pm)
&lt;ul&gt;
&lt;li&gt;🛵 Drove and Refueled&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Roamed in &lt;a href=&quot;https://maps.app.goo.gl/8C8EZEJarygCvG736&quot;&gt;City Center Mall&lt;/a&gt;, and played some arcade.
&lt;ul&gt;
&lt;li&gt;🛵 Left Towards &lt;a href=&quot;https://maps.app.goo.gl/y9hz4ziF6kRKnz4H7&quot;&gt;Sunset Point&lt;/a&gt; (5:50 pm)
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Opps&lt;/strong&gt;: Friends got stopped and fined for not forgetting to wear the helmet.&lt;/li&gt;
&lt;li&gt;We arrived at &lt;a href=&quot;https://maps.app.goo.gl/VcqMGREyER3WgS7i6&quot;&gt;BMD Ticket Counter Bunder&lt;/a&gt;, and we learned we had to cross a ferry line (Bengre Ferry Line) in the middle of the route and leave our scooters there. and then We had to walk. we wouldn’t have reached by the time (6:40 pm) of sunset anyway.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;🛵 Defeated we left towards Ideal Cream Parlour for the second time that day.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Had ice cream and shakes for Dinner at &lt;a href=&quot;https://maps.app.goo.gl/MLShh15imE2g2wTM8&quot;&gt;Ideal Cream Parlour&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Bought some snacks from &lt;a href=&quot;https://maps.app.goo.gl/bQA5bvqW2au6LZD98&quot;&gt;Nilgiris Super Market&lt;/a&gt; and &lt;a href=&quot;https://maps.app.goo.gl/Qz2Xb1YCzAcF2Cqj7&quot;&gt;here&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Left for the hotel and played Monopoly Deals.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;/assets/mangalore-1.jpeg&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;h2 id=&quot;day-2&quot;&gt;Day-2&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Roamed around nearby beaches.&lt;/li&gt;
&lt;li&gt;Breakfast at &lt;a href=&quot;https://maps.app.goo.gl/SEj25ND9g4FcoYjt9&quot;&gt;Hotel New Uma Palace&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;🛵 Drove&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Visited &lt;strong&gt;Science Center&lt;/strong&gt; and &lt;strong&gt;Zoo&lt;/strong&gt; at &lt;a href=&quot;https://maps.app.goo.gl/NGw9a5JwNTbX4qru7&quot;&gt;Pilikula Biological Park&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;🛵 Drove&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lunch at &lt;a href=&quot;https://maps.app.goo.gl/AtDdoU1rKVByZ1x56&quot;&gt;Machli&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;🛵 Drove&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Desert at &lt;a href=&quot;https://maps.app.goo.gl/MLShh15imE2g2wTM8&quot;&gt;Ideal Cream Parlour&lt;/a&gt; (the third visit)
&lt;ul&gt;
&lt;li&gt;🛵 Dropped scooters off near City Center.&lt;/li&gt;
&lt;li&gt;Dropped our Luggage at a check-in bag in the City Center.&lt;/li&gt;
&lt;li&gt;🛺 Auto towards &lt;a href=&quot;https://maps.app.goo.gl/pySkS5PXq1M8vnEQ8&quot;&gt;BMD Ticket Counter Bunder&lt;/a&gt; (2.7km)&lt;/li&gt;
&lt;li&gt;⛴️ Onto &lt;strong&gt;Bengre Ferry Line&lt;/strong&gt; towards &lt;a href=&quot;https://maps.app.goo.gl/T5EaZweVNFHmmEKr5&quot;&gt;Bengre&lt;/a&gt; (700m)&lt;/li&gt;
&lt;li&gt;🚶‍♂️Walked through the streets and then along the beach towards the Sunset point.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Waited and Watched the &lt;a href=&quot;https://maps.app.goo.gl/y9hz4ziF6kRKnz4H7&quot;&gt;Sunset Point&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;🚶‍♂️Walked towards &lt;a href=&quot;https://maps.app.goo.gl/RbLfmqxn9uNkJxMt9&quot;&gt;Bengre ferry point&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;⛴️ Onto &lt;strong&gt;BMS Ferry Line&lt;/strong&gt; towards &lt;a href=&quot;https://maps.app.goo.gl/gmT9i3TZ4YKfL7WJ6&quot;&gt;Mangalore Old Port&lt;/a&gt; (1km)&lt;/li&gt;
&lt;li&gt;🛺 Auto (1.9km)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Desert/Dinner at &lt;a href=&quot;https://maps.app.goo.gl/MLShh15imE2g2wTM8&quot;&gt;Ideal Cream Parlour&lt;/a&gt; (4th and Final visit)
&lt;ul&gt;
&lt;li&gt;🚶‍♂️Walked towards City Center Mall&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Roamed around &lt;a href=&quot;https://maps.app.goo.gl/8C8EZEJarygCvG736&quot;&gt;City Center Mall&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Watched the movie &lt;a href=&quot;https://www.imdb.com/title/tt21383812/?ref_=nv_sr_srsg_0_tt_7_nm_1_q_crew&quot;&gt;Crew&lt;/a&gt; for 30min (One of the worst first 30mins of any movie I’ve ever seen) at &lt;a href=&quot;https://maps.app.goo.gl/Ci391x6aW4Q9kbK69&quot;&gt;Cinépolis City Centre&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;🛺 Auto: Left towards &lt;a href=&quot;https://maps.app.goo.gl/zqKcjfrcpCXpy49u8&quot;&gt;Bus Boarding point&lt;/a&gt; (1.5 km)&lt;/li&gt;
&lt;li&gt;Departure at: 11:15 pm&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;/assets/mangalore-2.jpeg&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;h1 id=&quot;review-and-highlights&quot;&gt;Review and Highlights&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Food&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/teA65DvLLW5kod3q9&quot;&gt;Hotel Narayana&lt;/a&gt; (Lunch, Seafood) The best seafood I’ve ever had, the place was very crowded, also it’s not like a traditional restaurant where you order, the food arrives one by one and If you want something you can ask for that. (5/5)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/AtDdoU1rKVByZ1x56&quot;&gt;Machli&lt;/a&gt; (Lunch, Seafood) The 2nd best seafood I’ve ever had (4.5/5)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/MLShh15imE2g2wTM8&quot;&gt;Ideal Cream Parlour&lt;/a&gt; (Desert, Snacks) &lt;strong&gt;We visited this place 4 times, during our 2 day trip.&lt;/strong&gt; Why? I think it’s a combination of things, the weather in Mangalore was too hot and humid, and this ice cream place was like an Oasis in the middle of the desert, also everything (ice cream, shakes, juices) we tried here was pretty damn good. (5/5)&lt;/li&gt;
&lt;li&gt;Had a good south Indian breakfast at &lt;a href=&quot;https://maps.app.goo.gl/qoWzKhGTjFBPPHEC8&quot;&gt;Hotel Taj Mahal&lt;/a&gt; (Kusdos for being open before 6 am) and &lt;a href=&quot;https://maps.app.goo.gl/SEj25ND9g4FcoYjt9&quot;&gt;Hotel New Uma Palace&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Attractions&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Beaches&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/RE4Kt4Uw9nMYAzVP9&quot;&gt;Batapady Beach&lt;/a&gt; There was no one else there while we visited in the morning, it was peaceful, clean, and beautiful. Although the sand was coarse walking on it was annoying. (3/5)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/y9hz4ziF6kRKnz4H7&quot;&gt;Sunset Point&lt;/a&gt; was Very Lame, the Beach was dirty, Sunset looked good. (2/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;8C8EZEJarygCvG736&quot;&gt;City Center Mall&lt;/a&gt; is a decent mall that has a food court and cinema, The reason why we visited it twice is that &lt;strong&gt;It has AC&lt;/strong&gt; (3.5/5)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/NGw9a5JwNTbX4qru7&quot;&gt;Pilikula Biological Park&lt;/a&gt; Surprised by how much we enjoyed the &lt;strong&gt;Science Center.&lt;/strong&gt; Also has a pretty good &lt;strong&gt;Zoo&lt;/strong&gt;. (4/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Accommodation&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://maps.app.goo.gl/MVUW76Hy7xu4K69s7&quot;&gt;TentMonk Beach Stay &amp;#x26; Resort&lt;/a&gt; is A bit far from the main city but peaceful, the place is very small and only has 3 cottages (rooms), the rooms are decent, and the owner and caretaker seemed like nice people. (4/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transportation&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Auto&lt;/strong&gt;: Autos in Mangalore are fairly priced as they run on meters, sometimes if the destination is far or is night time they’ll charge 1.5x but even after that prices are still fair. (5/5)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cab&lt;/strong&gt;: The hotel cab was expensive, couldn’t get an Uber from &lt;a href=&quot;8C8EZEJarygCvG736&quot;&gt;City Center Mall&lt;/a&gt; during the night. (2/5)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Rental Scooter&lt;/strong&gt;: we rented two scooters from &lt;a href=&quot;https://maps.app.goo.gl/fiKFKthdGzLbeN8MA&quot;&gt;Planet Safari&lt;/a&gt; One of the scooters’ chains broke down. We contacted the place and they asked us to pick up a replacement scooter at a nearby place. (3.5/5)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Bus&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Bangalore -&gt; Mangalore | &lt;strong&gt;Orange Tours and Travels Grand&lt;/strong&gt; | Hygienic, Good vertical space for sitting in the sleeper.(4/5)&lt;/li&gt;
&lt;li&gt;Mangalore -&gt; Bangalore | &lt;strong&gt;Sugama Tourist&lt;/strong&gt; | Bad service (we didn’t get boarding details until 5 mins before the boarding time), faulty AC, no blankets, poor suspension, upper seats don’t have enough vertical space for sitting. (1.5/5)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;what-could-have-been-done-better&quot;&gt;What could have been done better?&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Time of visit&lt;/strong&gt;, It was too hot, visit during winter, And if possible come during weekdays to possibly avoid the crowd at the restaurant.&lt;/li&gt;
&lt;li&gt;Sunset: A better sunset experience would be at the beach near the &lt;a href=&quot;https://maps.app.goo.gl/MVUW76Hy7xu4K69s7&quot;&gt;Hotel&lt;/a&gt; rather than the sunset spot.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Learn the name of the fish and the type of prep beforehand.&lt;/strong&gt; (Order Rawa Fry instead of Tawa Fry 🥲)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;would-i-like-to-visit-again&quot;&gt;Would I like to visit again?&lt;/h2&gt;
&lt;p&gt;Yes, for the seafood.&lt;/p&gt;</content:encoded><updated>Apr 06 2024 15:07</updated></item><item><title>About This Blog and Writing</title><link>https://piyushmakwana.in/post/about-this-blong-and-writing/</link><guid isPermaLink="true">https://piyushmakwana.in/post/about-this-blong-and-writing/</guid><description>Things that lead to this blog</description><pubDate>Tue, 02 Apr 2024 20:01:00 GMT</pubDate><content:encoded>&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#there-was-an-failedidea&quot;&gt;There Was An (Failed)Idea.&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#why-did-i-want-to-write-a-blog&quot;&gt;Why did I want to write a blog?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#how-did-it-go&quot;&gt;How did it go?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#why-did-it-go-this-way&quot;&gt;Why did it go this way?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#things-that-lead-to-me-writing-on-a-computer&quot;&gt;Things that lead to me writing on a computer&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#learning-to-type-properly&quot;&gt;Learning to type properly&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#what-ive-been-writing&quot;&gt;What I’ve Been Writing&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#journals&quot;&gt;Journals&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#notes&quot;&gt;Notes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#inspirations-for-this-blog&quot;&gt;Inspirations for this blog&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#what-do-i-like-about-them&quot;&gt;What do I like about them?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#other-cool-blogs-from-my-bookmarks&quot;&gt;Other cool blogs from my bookmarks&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#what-i-will-be-writing-here&quot;&gt;What I will be writing here?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#technical-details&quot;&gt;Technical details&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;there-was-an-failedidea&quot;&gt;There Was An (Failed)Idea.&lt;/h2&gt;
&lt;p&gt;I’ve been wanting to start writing blogs since, 2019.
I even posted this on Facebook. (Yes Facebook, please don’t judge, It was necessary for college and all my friends were using it at the time.)
The purpose of this was to hold myself accountable by committing to the world.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/facebook_post_1stJan.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;h3 id=&quot;why-did-i-want-to-write-a-blog&quot;&gt;Why did I want to write a blog?&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Because people around me were doing it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;how-did-it-go&quot;&gt;How did it go?&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Well I did not think this through, I did not end up writing or even attempting to write a single blog.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;why-did-it-go-this-way&quot;&gt;Why did it go this way?&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Facts&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Resistance:
&lt;ul&gt;
&lt;li&gt;I didn’t enjoy writing during those times; I didn’t even write much.&lt;/li&gt;
&lt;li&gt;My typing speed was pretty slow during that time, only about 30wpm. Putting a lot of words on a computer is a tedious task.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Motivation:
&lt;ul&gt;
&lt;li&gt;What people around me were writing were technical tutorials, which looked like a copy of any other technical tutorial on the same topic. It wasn’t fun, creative, original, or impactful in a meaningful way.&lt;/li&gt;
&lt;li&gt;Also, I never actually read many blogs during this time, and would just go to YouTube for tutorials.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Hypothesis&lt;/strong&gt;: From the above facts, I think it’s safe to assume that I had a lot of resistance and very little motivation to write a blog.&lt;/p&gt;
&lt;h2 id=&quot;things-that-lead-to-me-writing-on-a-computer&quot;&gt;Things that lead to me writing on a computer&lt;/h2&gt;
&lt;h3 id=&quot;learning-to-type-properly&quot;&gt;Learning to type properly&lt;/h3&gt;
&lt;p&gt;So the first step that contributed towards this was improving my typing speed. I started practicing touch typing, in early 2021.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I used  &lt;a href=&quot;https://www.typingstudy.com/&quot;&gt;https://www.typingstudy.com/&lt;/a&gt; (Learn the position of all the keys and which finger to use to press a particular key).
&lt;ul&gt;
&lt;li&gt;Note while learning first my &lt;strong&gt;typing speed decreased from 30wpm to 16wpm.&lt;/strong&gt; Which made me question if what I was doing was even the right thing. Luckily I kept up. Realizing that this is me not only learning something new but also simultaneously breaking the old and not very optimal way of typing patterns.&lt;/li&gt;
&lt;li&gt;I was &lt;strong&gt;focused on accuracy rather than speed&lt;/strong&gt; during the learning process.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Once I got comfortable with using all my fingers and not looking at the keyboard (often). I used &lt;a href=&quot;https://play.typeracer.com/&quot;&gt;https://play.typeracer.com/&lt;/a&gt; to practice.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It &lt;strong&gt;took me around 2 months to reach 65-70 words per minute (wpm)&lt;/strong&gt; consistently. I stopped practicing after that and my current typing speed of around 70 wpm does not act as a bottleneck towards anything, Although the average speaking speed is around &lt;a href=&quot;https://arc.net/l/quote/fqovasgq&quot;&gt;110-150 wpm&lt;/a&gt;, I found 70 wpm to be faster than my brain thinking of the next sentence (In a proper way)&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/typing_speed.png&quot; alt=&quot;Current typing speed (Best of 3 attempts)&quot;&gt;&lt;/p&gt;
&lt;h4 id=&quot;other-cool-websites-for-learning-and-practicing-typing&quot;&gt;Other cool websites for learning and practicing typing&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://first20hours.github.io/keyzen-colemak/&quot;&gt;https://first20hours.github.io/keyzen-colemak/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.keybr.com/&quot;&gt;https://www.keybr.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://monkeytype.com/&quot;&gt;https://monkeytype.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;what-ive-been-writing&quot;&gt;What I’ve Been Writing&lt;/h3&gt;
&lt;p&gt;Once my typing speed exceeded my writing speed on paper, I found it more convenient to use it for the following.&lt;/p&gt;
&lt;h4 id=&quot;journals&quot;&gt;Journals&lt;/h4&gt;
&lt;p&gt;I wrote some journals here and there before, but I truly started writing self-reflective journals at the end of 2022. The contribution it had in my life ever since then is invaluable, I could go on and on about it, and perhaps someday I will write a blog about journaling for now I just want to say that when you put your thoughts and feelings into words, you can dig deep, Identify the patterns and what causes those emotions, you Identify the aspects that are in your control and do something about it or find comfort in being aware of the things you can’t control.&lt;/p&gt;
&lt;h4 id=&quot;notes&quot;&gt;Notes&lt;/h4&gt;
&lt;p&gt;I try to take notes from non-fiction books I am reading.&lt;/p&gt;
&lt;p&gt;Besides these, typing has already been better for &lt;strong&gt;writing code&lt;/strong&gt; and taking &lt;strong&gt;technical and clean notes&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id=&quot;inspirations-for-this-blog&quot;&gt;Inspirations for this blog&lt;/h2&gt;
&lt;p&gt;These two personal blogs have been a major source of inspiration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://julian.digital/&quot;&gt;https://julian.digital/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://cassidoo.co/&quot;&gt;https://cassidoo.co/&lt;/a&gt; (this blog is also forked from here, see &lt;a href=&quot;#technical-details&quot;&gt;Technical Details&lt;/a&gt; )&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;what-do-i-like-about-them&quot;&gt;What do I like about them?&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Lack of a theme.&lt;/strong&gt; They have posts on a wide range of things, Long/short formats, creative/technical, and structured/non-structured, these blogs feel personal and it’s like they belong to a real person.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The design.&lt;/strong&gt; The design also plays an important role in making these more personalized.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The content.&lt;/strong&gt; Last but not least I’ve found the content of these blogs interesting and helpful.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Overall I love these blogs because they feel like a Person. Which is a breath of fresh air In a world where you see similar types of content on different social media and writing platforms.&lt;/p&gt;
&lt;h3 id=&quot;other-cool-blogs-from-my-bookmarks&quot;&gt;Other cool blogs from my bookmarks&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://waitbutwhy.com/&quot;&gt;https://waitbutwhy.com/&lt;/a&gt; (Philosophy)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://debarghyadas.com/writes/&quot;&gt;https://debarghyadas.com/writes/&lt;/a&gt;  (Personal/Technical)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://architecturenotes.co/&quot;&gt;https://architecturenotes.co/&lt;/a&gt; (Technical)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bestinterest.blog/blog/&quot;&gt;https://bestinterest.blog/blog/&lt;/a&gt; (Finance)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://explained-from-first-principles.com/&quot;&gt;https://explained-from-first-principles.com/&lt;/a&gt; (Educational)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;what-i-will-be-writing-here&quot;&gt;What I will be writing here?&lt;/h2&gt;
&lt;p&gt;Idk, Literally Anything!, It’s 12:56 AM and I should be sleeping not overthinking :D.&lt;/p&gt;
&lt;h2 id=&quot;technical-details&quot;&gt;Technical details&lt;/h2&gt;
&lt;p&gt;This blog is open source and can be found &lt;a href=&quot;https://github.com/Piyush811999/blog&quot;&gt;here&lt;/a&gt;. It is a modified fork of this &lt;a href=&quot;https://github.com/cassidoo/blahg&quot;&gt;blahg&lt;/a&gt;. It’s built with &lt;a href=&quot;https://astro.build/&quot;&gt;Astro&lt;/a&gt;, and currently is hosted on &lt;a href=&quot;https://pages.github.com/&quot;&gt;Github Pages&lt;/a&gt;.&lt;/p&gt;</content:encoded><updated>Apr 03 2024 01:30</updated></item><item><title>Notes on Atomic Habits</title><link>https://piyushmakwana.in/post/book-notes-atomic-habits/</link><guid isPermaLink="true">https://piyushmakwana.in/post/book-notes-atomic-habits/</guid><description>My notes for the book Atomic Habits by James Clear</description><pubDate>Fri, 29 Mar 2024 22:43:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt; These are notes from the book, intended for those who have already read the original work. If you haven’t read the book, I highly recommend doing so to fully understand and appreciate the concepts discussed. These notes are meant to refresh, not replace, the insights from “Atomic Habits” by James Clear.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id=&quot;table-of-contents&quot;&gt;Table of Contents&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#the-fundamentals-why-tiny-changes-make-a-big-difference&quot;&gt;The Fundamentals: Why tiny changes make a big difference&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#1-surprising-power-of-atomic-habits&quot;&gt;1. Surprising power of atomic habits&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#2-how-your-habits-shape-your-identity-and-vice-versa&quot;&gt;2. How your Habits shape your identity (and vice versa)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#3-how-to-build-better-habits-in-4-simple-steps&quot;&gt;3. How to build better habits in 4 simple steps&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#the-1st-law-make-it-obvious&quot;&gt;The 1st Law: Make it Obvious&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#4-the-man-who-didnt-look-right&quot;&gt;4. The Man Who Didn’t look right&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#5-the-best-way-to-start-a-new-habit&quot;&gt;5. The Best way to Start a New Habit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#6-motivation-is-overrated-environment-often-matters-more&quot;&gt;6. Motivation is overrated; Environment often matters more&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#7-the-secret-to-self-control&quot;&gt;7. The Secret to Self-Control&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#the-2nd-law-make-it-attractive&quot;&gt;The 2nd Law: Make it Attractive&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#8-how-to-make-a-habit-irresistible&quot;&gt;8. How to Make a Habit Irresistible&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#9-the-role-of-family-and-friends-in-shaping-your-habits&quot;&gt;9. The Role of Family and Friends in Shaping Your Habits&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#10-how-to-find-and-fix-the-cause-of-your-bad-habits&quot;&gt;10. How to find and fix the cause of your bad habits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#the-3rd-law-make-it-easy&quot;&gt;The 3rd Law: Make It Easy&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#11-walk-slowly-but-never-backward&quot;&gt;11. Walk Slowly, but Never Backward&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#12-the-law-of-least-effort&quot;&gt;12. The Law of Least Effort&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#13-how-to-stop-procrastinating-by-using-the-two-minute-rule&quot;&gt;13. How to Stop Procrastinating by Using the Two-Minute Rule&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#14-how-to-make-good-habits-inevitable-and-bad-habits-impossible&quot;&gt;14. How to Make Good Habits Inevitable and Bad Habits Impossible&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#the-4th-law-make-it-satisfying&quot;&gt;The 4th Law: Make it satisfying&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#15-the-cardinal-rule-of-behavior-change&quot;&gt;15. The Cardinal Rule of Behavior Change&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#16-how-to-stick-with-good-habits-every-day&quot;&gt;16. How to Stick with Good Habits Every Day&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#17-how-an-accountability-partner-can-change-everything&quot;&gt;17. How an Accountability Partner Can Change Everything&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#advanced-tactics-how-to-go-from-being-merely-good-to-being-truly-great&quot;&gt;Advanced Tactics: How to go from being merely good to being truly great&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#18-the-truth-about-talent-when-genes-matter-and-when-they-dont&quot;&gt;18. The Truth About Talent (When genes Matter and When they don’t)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#19-the-goldilocks-rule-how-to-stay-motivated-in-life-and-work&quot;&gt;19. The Goldilocks Rule: How to Stay Motivated in Life and Work&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#20-the-downside-of-creating-good-habits&quot;&gt;20. The Downside of Creating good habits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;the-fundamentals-why-tiny-changes-make-a-big-difference&quot;&gt;The Fundamentals: Why tiny changes make a big difference&lt;/h1&gt;
&lt;h2 id=&quot;1-surprising-power-of-atomic-habits&quot;&gt;1. Surprising power of atomic habits&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The aggregation of marginal gains.
&lt;ul&gt;
&lt;li&gt;Why small habits make a big difference ?
&lt;ul&gt;
&lt;li&gt;If you get &lt;strong&gt;1% better each day&lt;/strong&gt; for one year you’ll be &lt;strong&gt;37 times better at the end of the year.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;This goes for being worse as well - accumulation of many missteps that leads to the problem ( Habits are a double edge sword )&lt;/li&gt;
&lt;li&gt;Shifting the direction a plane by just a little can lead to meaningful change in destination.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;You should be far more concerned about your current trajectory than with your current results.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;You get what you repeat.&lt;/li&gt;
&lt;li&gt;Example of positive compounding -
&lt;ul&gt;
&lt;li&gt;Productivity Compounding - accomplishing one extra task, learning new skills.&lt;/li&gt;
&lt;li&gt;Knowledge Compound - compounding  ideas.&lt;/li&gt;
&lt;li&gt;Relationship Compound - the more you help others the more others want to help you.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Example of negative compounding -
&lt;ul&gt;
&lt;li&gt;Stress compound&lt;/li&gt;
&lt;li&gt;Negative thoughts compound - worthless, stupid, ugly for self and others&lt;/li&gt;
&lt;li&gt;Outraged Compounds&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;What progress is really like ?
&lt;ul&gt;
&lt;li&gt;Habits often appear to make no difference until you cross a critical threshold.&lt;/li&gt;
&lt;li&gt;The most powerful outcomes are delayed&lt;/li&gt;
&lt;li&gt;Work is not wasted it’s just being stored&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;What determines whether we stick to the habit long enough to survive plateau of latent potential and break through to the other side.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Set specific actionable goals&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Systems vs Goals
&lt;ul&gt;
&lt;li&gt;Goals are the result you want to achieve. ( Ex- Become a millionaire )&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Systems are the processes that leads to those results.&lt;/strong&gt; ( Ex- How you test product ideas, hire employees and run marketing campaigns )&lt;/li&gt;
&lt;li&gt;If you ignored your goals and focus only on the system would you still succeed ?
&lt;ul&gt;
&lt;li&gt;Yes&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you want better results forget about setting goals focus on the system instead.&lt;/li&gt;
&lt;li&gt;Are goals unless ?
&lt;ul&gt;
&lt;li&gt;No, goals are good for setting a direction, but systems are good for making progress.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Long term thinking is goalless.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Problem which arise when you spent too much time thinking about your goal and not designing the system
&lt;ul&gt;
&lt;li&gt;#1 Winners and losers set the same goals therefore it cannot be what differentiates them.&lt;/li&gt;
&lt;li&gt;#2 Achieving a goal results only in a momentarily change. Temporary solution.&lt;/li&gt;
&lt;li&gt;#3 Goals make you less happy until you achieve that goal. And if you fail you are disappointed.&lt;/li&gt;
&lt;li&gt;#4 Goals are at odds with long term progress - what will push you forward after you’ve achieved it ?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fall in love with the system&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;None of this is to say that goals are useless. However, I’ve found that &lt;strong&gt;goals are good for planning your progress and systems are good for actually making progress&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Goals can provide direction and even push you forward in the short-term, but eventually a well-designed system will always win. Having a system is what matters. Committing to the process is what makes the difference.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;2-how-your-habits-shape-your-identity-and-vice-versa&quot;&gt;2. How your Habits shape your identity (and vice versa)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Changing habits (bad ones) is challenging because of two reason
&lt;ol&gt;
&lt;li&gt;We try to change the wrong thing&lt;/li&gt;
&lt;li&gt;We try to change our habits in wrong way.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;We try to change the wrong thing
&lt;ul&gt;
&lt;li&gt;Three layer of behaviour change
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Outcome - what you get (outermost layer)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Process - what you do&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Identity - what you believe (Inner layer) / who we wish to become&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;True habit change is identity change&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;“Most people don’t even consider identity change when they set out to improve. They just think, “I want to be skinny (outcome) and if I stick to this diet, then I’ll be skinny (process).”&lt;/li&gt;
&lt;li&gt;Behind every system of action there are system of beliefs.
&lt;ul&gt;
&lt;li&gt;“The system of a democracy is founded on beliefs like freedom, majority rule, and social equality. The system of dictatorship has very different set of beliefs like absolute authority and strict obedience ”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;It is hard to change your habits if you never change the underlying belief that lead to your past behaviour.
&lt;ul&gt;
&lt;li&gt;The goal is not to read a book, the goal is to become a reader.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;When working against us though, identity change cane be a curse.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Over the long run the reason you fail to stick with habits is that your self-image gets in the way.&lt;/strong&gt; This is why you can’t get too attached to one version of your identity. Progress requires unlearning. &lt;strong&gt;Becoming the best version of yourself requires you to continuously edit your beliefs, and to upgrade and expand your identity.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If your belief and world-view play such an important role in your behaviour, where do they come from in the first place ?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Two-Step process to change your identity&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;“The more evidence you have for a belief, the more strongly you will believe it.”&lt;/li&gt;
&lt;li&gt;“Every action you take is a vote for the type of person you wish to become.”&lt;/li&gt;
&lt;li&gt;“No single instance will transform your beliefs, but as the votes build up, so does the evidence of your new identity.”
&lt;ul&gt;
&lt;li&gt;Each time you write a page, you are a writer.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;And of course, it works the opposite way too. Each time you choose to perform a bad habit, it vote for that identity but the good thing is that we don’t need to be perfect just like in an election there are going to be voter for both sides, you don’t need all the votes, you just need the majority to win.&lt;/li&gt;
&lt;li&gt;But things are not going to change if you keep casting the same votes, you can’t keep doing the same thing and expect different results&lt;/li&gt;
&lt;li&gt;Two step process
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Decide the type of person you want to be.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;“Who is the type of person that could get the outcome I want?”
&lt;ul&gt;
&lt;li&gt;“For example, “Who is the type of person who could write a book?” It’s probably someone who is consistent and reliable. Now your focus shifts from writing a book (outcome-based) to being the type of person who is consistent and reliable (identity-based).”&lt;/li&gt;
&lt;li&gt;”What would a &amp;#x3C;type of person I wan’t to be&gt; do ?”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Prove it to yourself with small wins.&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Feedback loop - Your habits shape your identity, and your identity shape your habits.&lt;/li&gt;
&lt;li&gt;The true question is “Are you becoming the type of person you want to become?”&lt;/li&gt;
&lt;li&gt;“The first step is not what or how, but who.”  Building habits are not abut having something. They are about becoming someone, changing your belief about yourself.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;div_box&quot;&gt;
&lt;b&gt;What I wan&apos;t to become down the line ?&lt;/b&gt;
&lt;p&gt;I wan’t to be either a entrepreneur or a business man (or independent in any other way), I think I have ideas that are worth putting out in this world and I want to work on them.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What is that kind of independent person like ?&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;He has self control
&lt;ul&gt;
&lt;li&gt;over his health&lt;/li&gt;
&lt;li&gt;over his emotions and thoughts&lt;/li&gt;
&lt;li&gt;over his time&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;He is creative
&lt;ul&gt;
&lt;li&gt;Like to expand his field of vision and try new things&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;He tries again and again until he succeeds
&lt;ul&gt;
&lt;li&gt;He keeps trying to make his next vision into reality if it doesn’t work out he makes it better or moves on to different idea&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;He is organised
&lt;ul&gt;
&lt;li&gt;He has an efficient process to bring his ideas into real life.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id=&quot;3-how-to-build-better-habits-in-4-simple-steps&quot;&gt;3. How to build better habits in 4 simple steps&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Behaviours followed by satisfying consequences tend to be repeated and those that produce unpleasant consequences are less likely to be repeated&lt;/li&gt;
&lt;li&gt;Feedback loop behind all human behaviour: &lt;strong&gt;try, fail, learn, try-different&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Why your brain builds habits ?
&lt;ul&gt;
&lt;li&gt;A habit is a behaviour that has been repeated enough times to become automatic.&lt;/li&gt;
&lt;li&gt;Habits are, simple, reliable solutions to recurring problems in our environment&lt;/li&gt;
&lt;li&gt;Habit formation is incredibly useful because the conscious mind is the bottleneck of the brain. It can only pay attention to one problem at a time. As a result, your brain is always working to prevent your conscious attention for whatever task is most essential. Whenever possible, the conscious mind likes to pawn off task to the non-conscious mind to doe do automatically. This is precisely what happens when a habit is formed. Habits reduce cognitive load and free up mental capacity, so you can allocate your attention to other tasks.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Doesn’t routine take away the vibrancy and spontaneity of life ? / &lt;strong&gt;Will I become a robot ?&lt;/strong&gt; / Does habits restrict my freedom of thought and action ?
&lt;ul&gt;
&lt;li&gt;Habits do not restrict freedom. They create it. Ex- People with without good financial habit have less financial freedom compared people who do.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Habits make fundamental of life easier allowing you to create mental space need for free thinking and creativity.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;“Conversely, when you have your habits dialled in and the basics of life are handled and done, your mind is free to focus on new challenges and master the next set of problems. Building habits in the present allows you to do more of what you want in the future”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The science of how habits work
&lt;ul&gt;
&lt;li&gt;Process of building habits can be divided into four simple steps: cue, craving, response, and reward.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The cue triggers a craving, which motivates a response, which provides reward, which satisfies the craving and, ultimately becomes associated with the cue.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Cue - the trigger to some Behavior, information that predicts reward (noticing the reward)
&lt;ul&gt;
&lt;li&gt;Mind is continuously analysing your internal and external environment for hints of where rewards are.&lt;/li&gt;
&lt;li&gt;Ex - We learns cues that produce rewards such as money and fame, power and status, praise and approval, love and friendship, or sense of personal satisfaction.&lt;/li&gt;
&lt;li&gt;Because the cue is the first indication that we’re close to reward, it naturally leads to craving.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Craving - motivation or desire for the change in internal state (wanting the reward)
&lt;ul&gt;
&lt;li&gt;Ex - “You do not crave smoking a cigarette, you crave the feeling of relief it provides. ”&lt;/li&gt;
&lt;li&gt;Cravings differ from person to person. Different people are motivated by different things. The thoughts, feelings, and emotions of the observers are what transforms a cue into a craving.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Response - the actual habit you perform, which can be a thought or action. (obtaining the reward)
&lt;ul&gt;
&lt;li&gt;Occurrence depends on how motivated you are and how much friction is associated with the Behavior.&lt;/li&gt;
&lt;li&gt;Habits only occurs if you are capable of doing it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Reward - the end goal of every habit.
&lt;ul&gt;
&lt;li&gt;Reward serve two purposes
&lt;ul&gt;
&lt;li&gt;They satisfy us (satisfy our craving Ex- Eating, gaining status or wining approval (immediate benefit))&lt;/li&gt;
&lt;li&gt;They teach us which action are worth remembering in the future (reinforcement) by feeling of pleasure/ disappointment.&lt;/li&gt;
&lt;li&gt;Rewards closes the feedback loop and complete the habit cycle.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Without the first three steps the behaviour will not occur. Without all four, a behaviour will not be repeated.&lt;/li&gt;
&lt;li&gt;Together, the four steps form a neurological feedback loop, the cycle is known as habit loop.&lt;/li&gt;
&lt;li&gt;We can split these four steps into two phases:
&lt;ul&gt;
&lt;li&gt;The problem phase - realising something needs to change. Cue and Craving&lt;/li&gt;
&lt;li&gt;The Solution phase - taking the action and achieving the desired change. Response and Reward&lt;/li&gt;
&lt;/ul&gt;
  &lt;div class=&quot;div_box&quot;&gt;
   Example
   &lt;ul&gt;
      &lt;li&gt; cue - phone buzzed with a new text message &lt;/li&gt;
      &lt;li&gt; craving - you want to learn the content of the message and by whom it is.&lt;/li&gt;
      &lt;li&gt; response - you grab the phone and read the text.&lt;/li&gt;
      &lt;li&gt; reward - you satisfy your craving to real the message, Grabbing your phone becomes associated with phone buzzing.&lt;/li&gt;
      &lt;/ul&gt;
      &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The four laws of behaviour change&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;How to make good habits
&lt;ul&gt;
&lt;li&gt;Make it obvious (cue)&lt;/li&gt;
&lt;li&gt;Make it attractive (craving)&lt;/li&gt;
&lt;li&gt;Make it easy (response)&lt;/li&gt;
&lt;li&gt;Make it satisfying (reward)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;How to break bad habits
&lt;ul&gt;
&lt;li&gt;Make it invisible&lt;/li&gt;
&lt;li&gt;Make it unattractive&lt;/li&gt;
&lt;li&gt;Make it difficult&lt;/li&gt;
&lt;li&gt;Make it unsatisfying&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;“The key to creating good habits and breaking bad ones is to understand these fundamental laws and how to alter them to your specifications. Every goal is doomed to fail if it goes against the grain of human nature.”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;the-1st-law-make-it-obvious&quot;&gt;The 1st Law: Make it Obvious&lt;/h1&gt;
&lt;h2 id=&quot;4-the-man-who-didnt-look-right&quot;&gt;4. The Man Who Didn’t look right&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;“you don’t need to be aware of the cue for a habit to begin. You can notice an opportunity and take action without dedicating conscious attention to it. This is what makes habits useful.”
&lt;ul&gt;
&lt;li&gt;“The human brain is a prediction machine. It is continuously taking in your surroundings and analysing the information it comes across. Whenever you experience something repeatedly—like a paramedic seeing the face of a heart attack patient or a military analyst seeing a missile on a radar screen—your brain begins noticing what is important, sorting through the details and highlighting the relevant cues, and cataloging that information for future use.
With enough practice, you can pick up on the cues that predict certain outcomes without consciously thinking about it.”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;It’s also what makes them dangerous.
&lt;ul&gt;
&lt;li&gt;You fall into old patterns before you realise what’s happening. Unless someone points it out, you may not notice that you cover your mouth with your hand whenever you laugh, you are sitting at a bad posture whenever you are using laptop/reading in bed. And the more you repeat the less likely you become to question what you’re doing and why you’re doing it.&lt;/li&gt;
&lt;li&gt;Over time, the cues that spark out habits become so common that they are essentially invisible, like an automatic action we don’t think about it and we are not aware of it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;To get a handle on our current bad habits, we first need to become aware that we are doing it. If a habit remains mindless, you can’t expect to improve it.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Habits Scoreboard&lt;/strong&gt; - an exercise you can use to become more aware of your behaviour
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Make a list of daily habits, once you have a full list, look at each behaviour, and ask yourself, “Is this habit, a good habit, a bad habit, or a neutral habit” use signs +, -, = for each type respectively.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;“ &lt;strong&gt;Categorise your habits by how they will benefit you in the long run. Generally speaking, good habits will have net positive outcomes.&lt;/strong&gt; Bad habits have net negative outcomes. Smoking a cigarette may reduce stress right now (that’s how it’s serving you), but it’s not a healthy long-term Behavior.”&lt;/li&gt;
&lt;li&gt;“Does this behaviour help me become the type of person I wish to be? Does this habit cast a vote for or against my desired identity”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;“The first step to changing bad habits is to be on the lookout for them. If you feel like you need extra help, then you can try Pointing-and-Calling in your own life”
&lt;ul&gt;
&lt;li&gt;“If you want to cut back on your junk food habit but notice yourself grabbing another cookie, say out loud, “I’m about to eat this cookie, but I don’t need it. Eating it will cause me to gain weight and hurt my health.”&lt;/li&gt;
&lt;li&gt;Hearing your bad habits spoken aloud makes the consequences seem more real. It adds weight to the action rather than letting yourself mindlessly slip into an old routine.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The process of behaviour change always start with awareness.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;The Habit Scorecard&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;“Does this behaviour help me become the type of person I wish to be? Does this habit cast a vote for or against my desired identity?”&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;div_box&quot;&gt;
&lt;ul&gt;
&lt;li&gt;Wakeup =&lt;/li&gt;
&lt;li&gt;Turn off alarm =&lt;/li&gt;
&lt;li&gt;sleep some more -&lt;/li&gt;
&lt;li&gt;Brush my teeth +&lt;/li&gt;
&lt;li&gt;Make bed +&lt;/li&gt;
&lt;li&gt;Meditate +&lt;/li&gt;
&lt;li&gt;Sitting in bed with bad posture -&lt;/li&gt;
&lt;li&gt;Sitting in chair with bad posture -&lt;/li&gt;
&lt;li&gt;being lazy in after noon -&lt;/li&gt;
&lt;li&gt;brush teeth before going to bed +&lt;/li&gt;
&lt;li&gt;Practice typing +&lt;/li&gt;
&lt;li&gt;go to bed =&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id=&quot;5-the-best-way-to-start-a-new-habit&quot;&gt;5. The Best way to Start a New Habit&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Implementation intention:&lt;/strong&gt; plan you make beforehand about when and where to act. How you intend to implement a particular habit.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Implementation intention leverages two most common cues - time and location&lt;/li&gt;
&lt;li&gt;Broadly speaking, the format for creating an implementation intention is: “&lt;strong&gt;When situation X arises, I will perform response Y.&lt;/strong&gt;”&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;I will {Behaviour} at {Time} in {Location}&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;div class=&quot;div_box&quot;&gt;
  Example -&quot;I will meditate for ten minutes at 7 a.m. cross-legged on the chair in my room&quot;, &quot;I will read a book for one hour at 11 p.m. sitting on the bed in my room&quot;
  &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Many people think they lack motivation when what they really lack is clarity.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We tell ourselves “I’m going to eat healthier” or “I’m going start running or exercising” but we never say when and where these habit are going to happen. we leave it up to chance and hope that we will “just remember to do it” or feel motivated at the right time.&lt;/li&gt;
&lt;li&gt;When your dreams are vague, it’s easy to rationalise little exceptions all day long and never get around to the specific things you need to do to succeed.&lt;/li&gt;
&lt;li&gt;An implementation intention sweeps away foggy notions like above and transforms them into a concrete plan of action, The goal is to make the time and location so obvious that with enough repetition, you get urge to do the right thing at the right time, even if you can’t say why.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Habit Stacking: A simple plan to overhaul your habits&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The Diderot Effect&lt;/strong&gt;: it states that obtaining a new possession often creates a spiral of consumption that leads to additional purchases.
  &lt;div class=&quot;div_box&quot;&gt;
  Example - you buy some new clothes and you have to get new shoes to go with it, you get a new phone/ laptop and find yourself chasing all of the accessories that go with it like new cable, dongle, case etc.
  &lt;/div&gt;
  - It&apos;s a chain reaction of purchases.
&lt;/li&gt;
&lt;li&gt;Many human behaviour follow this cycle . You often decide what to do next based on what you have just finished doing. Hence one of the best way to build a new habit is to identify a current habit you already do each day and then stack your new behaviour on top. This is called &lt;em&gt;habit stacking&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;The habit stacking formula:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;After {Current habit}, I will {New Habit}.&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
 &lt;div class=&quot;div_box&quot;&gt;
      Example: &quot;After I brush my teeth each morning, I will meditate for ten minutes&quot;, &quot;After I brush my teeth each evening, I will read a book for one hour&quot;
 &lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The key is to tie your desired behaviour into something you already do each day.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Habit stacking implicitly has the time and location built into it.&lt;/li&gt;
&lt;li&gt;Once you mastered this basic structure, you can begin to create larger stacks by chaining small habits together. &lt;strong&gt;This allows us to take advantage of the natural momentum that comes from one behaviour leading into the next&lt;/strong&gt; - a positive version of Diderot Effect.
 &lt;div class=&quot;div_box&quot;&gt;
  Example: &quot;After I brush my teeth in the morning, I will meditate for ten minutes&quot;, &quot;After I meditate for ten minutes, I will write don my to-do list for the day&quot;, &quot;After I write my to-do list for the day, I will immediately begin my first task.&quot;
  &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Examples of some general habit stacks to guide you whenever the situation is appropriate.
&lt;ul&gt;
&lt;li&gt;When I see a set of stairs, I will take them instead of using the elevator.&lt;/li&gt;
&lt;li&gt;Social skills. When I walk into a party, I will introduce myself to anyone I don’t know yet.&lt;/li&gt;
&lt;li&gt;When I want to buy something over $100, I will wait 24 hours before purchasing.&lt;/li&gt;
&lt;li&gt;Healthy eating. When I serve myself a meal, I will always put veggies on my plate first.&lt;/li&gt;
&lt;li&gt;When I buy a new item, I will give something away. (“One in, one out.”)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When and where you should inset a habit ? ( where they are likely to be successful)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Consider when you are most likely to be successful. Don’t ask yourself to do a habit when you’re likely to be occupied with something else.&lt;/li&gt;
&lt;li&gt;Also your cue should also have the same frequency as your desired habit.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;How to find the right trigger for the habit stack ? ( list all the habits that you do without fail)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;One way to do it to brainstorm a list of your current habits. Can use habit scorecard as a starting point.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alternatively, you can create a list with two columns.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;In first column, write down the habits you do each day without fail&lt;/li&gt;
&lt;li&gt;In the second column write down all of the things that happen to you each day without fail.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Habit stacking works best when the cue is highly specific and immediately actionable.
&lt;ul&gt;
&lt;li&gt;Unclear trigger “When I take a break for lunch, I will do ten push-ups” many questions remain un answered.&lt;/li&gt;
&lt;li&gt;Clear tigger “When I close my laptop for lunch, I will do ten push-ups next to my desk.”&lt;/li&gt;
&lt;li&gt;Other examples like “After I close the door”. “After I brush my teeth”. “After I sit down at the table”. The specificity is important. The more tightly bound your new habit is to a specific cue, the better the odds are that you will notice when the time comes to act.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;“The 1st Law of Behaviour Change is to make it obvious. Strategies like implementation intentions and habit stacking are among the most practical ways to create obvious cues for your habits and design a clear plan for when and where to take action”&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;div_box&quot;&gt;
&lt;p&gt;&lt;strong&gt;Habits I do each day without fail&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;turn off alarm&lt;/li&gt;
&lt;li&gt;get out of bed&lt;/li&gt;
&lt;li&gt;check phone&lt;/li&gt;
&lt;li&gt;brush teeth&lt;/li&gt;
&lt;li&gt;sit on the chair&lt;/li&gt;
&lt;li&gt;eat breakfast&lt;/li&gt;
&lt;li&gt;Bath&lt;/li&gt;
&lt;li&gt;put on earphones&lt;/li&gt;
&lt;li&gt;listen to music&lt;/li&gt;
&lt;li&gt;sit on the chair&lt;/li&gt;
&lt;li&gt;eat lunch&lt;/li&gt;
&lt;li&gt;sit on the bed&lt;/li&gt;
&lt;li&gt;sit on the chair&lt;/li&gt;
&lt;li&gt;eat dinner&lt;/li&gt;
&lt;li&gt;brush teeth&lt;/li&gt;
&lt;li&gt;turn off the lights&lt;/li&gt;
&lt;li&gt;go to bed&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Things that happen(to me) each day without fail&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the door bell rings at 9am&lt;/li&gt;
&lt;li&gt;get a notification&lt;/li&gt;
&lt;li&gt;feel hungry&lt;/li&gt;
&lt;li&gt;natures call&lt;/li&gt;
&lt;li&gt;get thirsty&lt;/li&gt;
&lt;li&gt;the sun sets&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id=&quot;6-motivation-is-overrated-environment-often-matters-more&quot;&gt;6. Motivation is overrated; Environment often matters more&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Your habits change depending on the environment you are in i.e. &lt;strong&gt;behaviour is a function of the Person in their environment&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;B = f(P,E)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Many of the actions we take each day are shaped not by purposeful drive and choice but by the most obvious option.
&lt;ul&gt;
&lt;li&gt;Example: Impulse Buying
&lt;ul&gt;
&lt;li&gt;triggered when a shopper sees a product for the first time and visualises a need for it.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Example: Ice cream at the exit of a shoping center.&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Why is that ? - Visual Cues
&lt;ul&gt;
&lt;li&gt;“Given that we are more dependent on vision than on any other sense, it should come as no surprise that &lt;strong&gt;visual cues are the greatest catalyst of our behaviour.&lt;/strong&gt; For this reason, a &lt;strong&gt;small change in what you see can lead to a big shift in what you do.&lt;/strong&gt;”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;How to design your environment for success
&lt;ul&gt;
&lt;li&gt;Make it easier to notice cue ( make it obvious ) by &lt;strong&gt;placing appropriate objects ( habit initiators) at easy to see/pickup places&lt;/strong&gt; .&lt;/li&gt;
&lt;li&gt;Make sure the best choice is the most obvious one. Making a better decision is easy and natural when the cues for good habits are right in front of you.&lt;/li&gt;
&lt;li&gt;Environment design allows you to take back control and become the architect of your life. Be the designer of your world and not merely the consumer of it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The context is the cue - gradually, your habits become associated not with a single trigger but with the entire context surrounding the behaviour. The context becomes the cue.
&lt;ul&gt;
&lt;li&gt;The cue that trigger a habit can start out very specific, but over time your habits become associated not with a single trigger but with the entire context surrounding the behaviour.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;“For example, many people drink more in social situations than they would ever drink alone. The trigger is rarely a single cue, but rather the whole situation: watching your friends order drinks, hearing the music at the bar, seeing the beers on tap.”&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Our behaviour is not defined by the objects in the environment but by our relationship to them.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;You can train yourself to link a particular habit with a particular context.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Example - going to bed only when you are tired can help with insomnia.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Habits can be easier to change in a new environment.&lt;/strong&gt; It helps to escape the subtle trigger and cues that nudge you towards your current habits.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;When you can’t manage to get to an entirely new environment, redefine or rearrange your current one.&lt;/strong&gt; Create a separate space for work, study, exercise, entertainment, and cooking.&lt;/li&gt;
&lt;li&gt;”One space, one use”
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;If your space is limited, divide your room into activity zones.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Avoid mixing the context of one habit with another&lt;/strong&gt; because when you start mixing context then you’ll start mixing habits and the easier one will usually win. - like playing games and working on same desk.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;7-the-secret-to-self-control&quot;&gt;7. The Secret to Self-Control&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Studie/s show that addictions could spontaneously dissolve if there was a radical change in the environment. When the context change so does the habit.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;What makes a person more disciplined&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;disciplined people are better at structuring their lives in a way that does not require heroic willpower and self-control. &lt;strong&gt;In other words, they spend less time in tempting situations.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Creating a more disciplined environment.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Bad habits are autocatalytic and nearly impossible to remove entirely&lt;/strong&gt; ( you can break it but you’re unlikely to forget it. )&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the process of feeds itself. They foster the feeling they try to numb.&lt;/li&gt;
&lt;/ul&gt;
  &lt;div class=&quot;div_box&quot;&gt;
  Example - You feel bad, so you eat junk food. Because you eat junk food, you feel bad. It&apos;s a downward spiral of bad habits.
  &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Researchers refer to this phenomenon as “cue-induced wanting” : an external trigger causes a compulsive craving to repeat a bad habit. Once you notice something, you begin to want it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;“You can break a habit, but you’re unlikely to forget it. &lt;strong&gt;Once the mental grooves of habit have been carved into your brain, they are nearly impossible to remove entirely&lt;/strong&gt;—even if they go unused for quite a while.”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;One of the most practical way to eliminate a bad habit is to &lt;strong&gt;reduce exposure to the cue that causes it.&lt;/strong&gt;&lt;/p&gt;
  &lt;div class=&quot;div_box&quot;&gt;
  Examples
      &quot;If you spend too much money on electronics stop watching review of the latest tech gadgets.&quot;,
      &quot;If you are playing too many video games unplug the console and put it in a closet after each use.&quot;
  &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Conclusion: Instead of summoning a new dose of willpower whenever you want to do the right thing, your energy would be better spent optimising your environment. This is the secret to self-control. Make the cue of your good habits obvious and the cues of your bad habits invisible.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;the-2nd-law-make-it-attractive&quot;&gt;The 2nd Law: Make it Attractive&lt;/h1&gt;
&lt;h2 id=&quot;8-how-to-make-a-habit-irresistible&quot;&gt;8. How to Make a Habit Irresistible&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Supernormal stimuli - heightened version of reality.
&lt;ul&gt;
&lt;li&gt;Our brain ( brain of each animal ) is pre-loaded with certain rules for behaviour, and when it comes across an exaggerated version of that rule, it lights up like a Christmas tree. 🎄&lt;/li&gt;
&lt;/ul&gt;
  &lt;div class=&quot;div_box&quot;&gt;
  Example - We love junk food because of their higher content of sugar, salt,  fat, and their unique texture ( enhanced dynamic contrast ) . which used to be rare in old times that&apos;s why we it&apos;s idea.
  &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;If you want to increase the odd that a behaviour will occur, then you need to make it attractive.&lt;/strong&gt; To do this we first need to understand what a craving is and how it works.&lt;/li&gt;
&lt;li&gt;The Dopamine-Driven feedback loop
&lt;ul&gt;
&lt;li&gt;Whenever you predict that an opportunity will be rewarding, your levels of dopamine spike in anticipation. And whenever dopamine rises, so does the motivation to act. &lt;strong&gt;Anticipation of a reward not the fulfilment of it that gets us to take action.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Brain has far more neural circuitry allocated for wanting reward than for liking them.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;We need to make our habits attractive&lt;/strong&gt; because it is the expectation of a rewarding experience that motivates us to act in first place.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;How to use temptation bundling to make your habits more attractive
&lt;ul&gt;
&lt;li&gt;Temptation bundling works by &lt;strong&gt;linking an action you WANT to do with an action you NEED to do.&lt;/strong&gt; It is one way to create a heightened version of any habit by connecting it with something you already want.
&lt;ul&gt;
&lt;li&gt;You’re more likely to find a behaviour attractive if you get to do one of your favourite  things at the same time.&lt;/li&gt;
&lt;li&gt;Premack’s Principle- “more probable behaviour will reinforce less probable behaviour”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Habit stacking + temptation bundling&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;After [CURRENT HABIT/FIXED HABIT],  I will [HABIT I NEED].&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;After/While [HABIT I NEED], I will [HABIT I WANT].&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&quot;div_box&quot;&gt;    
    Examples-
        &quot;After I pull out my phone, I will do 3 push ups.&quot;,
        &quot;After I do 3 push ups, I will check reddit.&quot;
&lt;/div&gt;
&lt;h2 id=&quot;9-the-role-of-family-and-friends-in-shaping-your-habits&quot;&gt;9. The Role of Family and Friends in Shaping Your Habits&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Behaviour are attractive when they help us fit in. We imitate the habits of three group in particular.
&lt;ul&gt;
&lt;li&gt;The close - The closer we are to someone, the more likely we are to imitate some of their habits.&lt;/li&gt;
&lt;li&gt;The many - Whenever we are unsure how to act, we look to the group to guide our behaviour. ( looking at user reviews at amazon )
&lt;ul&gt;
&lt;li&gt;Downside - The normal behaviour of the tribe often overpowers the desired behaviour of the individual.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The powerful - We intimate people we envy.
&lt;ul&gt;
&lt;li&gt;We are also motivated to avoid behaviours that would lower our status.&lt;/li&gt;
&lt;li&gt;We worry about our social status.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;One of the most effective thing you can do to build better habits is to &lt;strong&gt;join a culture where&lt;/strong&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Your desired behaviour is normal behaviour, and&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;You already have something in common with the group.&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;10-how-to-find-and-fix-the-cause-of-your-bad-habits&quot;&gt;10. How to find and fix the cause of your bad habits&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Carving is jut a specific &lt;strong&gt;manifestation of a deeper underlying motive&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Example -
&lt;ul&gt;
&lt;li&gt;Find love and reproduce = using Tinder&lt;/li&gt;
&lt;li&gt;Connect and bond with people = browsing Facebook/Instagram&lt;/li&gt;
&lt;li&gt;Achieve status and prestige = playing video games&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Your habits are moderns-day solutions to ancient desires.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The good thing is - &lt;strong&gt;there are many different ways to address the same underlying motive.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Your current habits are not necessarily the best way to solve the problem you face; they are just the methods you learned to use.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What you really want is to feel different&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Whenever a habit successfully addresses a motive, you develop a craving to do it again.&lt;/li&gt;
&lt;li&gt;Habits are attractive when we associate them with positive feelings, and we can use this insight to our advantage.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;How to reprogram your brain to enjoy hard habits
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;”I &lt;strong&gt;have&lt;/strong&gt; to wake up early” → “I &lt;strong&gt;get&lt;/strong&gt; to wake up early”&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Reframing your habits to highlight their benefits rather than their drawbacks is a fast and lightweight way to reprogram your mind and make a habit seem more attractive.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;“Exercise. Many people associate exercise with being a challenging task that drains energy and wears you down. You can just as easily view it as a way to develop skills and build you up. Instead of telling yourself &lt;code&gt;“I need to go run in the morning,”&lt;/code&gt; say &lt;code&gt;“It’s time to build endurance and get fast.”&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
  &lt;div class=&quot;div_box&quot;&gt;
  “Meditation. Anyone who has tried meditation for more than three seconds knows how frustrating it can be when the next distraction inevitably pops into your mind. You can transform frustration into delight when you realise that each interruption gives you a chance to practice returning to your breath. Distraction is a good thing because you need distractions to practice meditation”
  &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Motivation ritual - &lt;strong&gt;associating your habits with something you enjoy.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Example - &lt;code&gt;putting headphones on and listening to music before studying.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Doing a stretching routine before starting a workout.&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;the-3rd-law-make-it-easy&quot;&gt;The 3rd Law: Make It Easy&lt;/h1&gt;
&lt;h2 id=&quot;11-walk-slowly-but-never-backward&quot;&gt;11. Walk Slowly, but Never Backward&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Being in motion vs Taking action
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;When you are in motion, you’re planning and strategising  and learning, which makes us feel like that we are getting things done and making progress. But in reality you’re just preparing to get something done.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Action on the other hand, is the type of behaviour that will deliver an outcome.&lt;/strong&gt; If you want to master a habit, the &lt;strong&gt;key is to start with repetition&lt;/strong&gt;, not perfection. You don’t need to map out every feature of a new habit. You just need to practice it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Habits form based on frequency not time.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Hebb’s Law: “&lt;strong&gt;Neurons that fire together wire together&lt;/strong&gt;”, Repeating a habit leads to clear physical changes in the brain.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;To build a habit, you need to practice it. And the most effective way to make practice happen is to adhere to the 3rd Law of Behaviour Change: make it easy.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;12-the-law-of-least-effort&quot;&gt;12. The Law of Least Effort&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Law of Least Effort: when deciding between tow similar options, people will naturally gravitate toward the option that requires the least amount of work.
&lt;ul&gt;
&lt;li&gt;So, the &lt;strong&gt;less energy a habit requires, the more likely it is to occur.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;The more difficult the habit the more friction there is between you and your desired end state. That’s why it’s important to make your habit feel so easy that you’ll do them even when you don’t feel like it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;How to achieve more with less effort
&lt;ul&gt;
&lt;li&gt;Addition by Subtraction
&lt;ul&gt;
&lt;li&gt;When we remove the points of friction that sap our time and energy, we can achieve more with less effort.&lt;/li&gt;
&lt;li&gt;This is why most habit forming products remove little bits of friction from our life.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&quot;Business is a never-ending quest to deliver the same result in a easier fashion.&quot;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The central idea is to &lt;strong&gt;create an environment where doing the right thing is as easy as possible.&lt;/strong&gt; Much of the battle of building better habits comes down to finding ways to reduce the friction associated with our good habits and increase the friction associated with our bad ones.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Prime the environment for future use&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Whenever you organise a space for its intended purpose, you are priming it to make the next action easy.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Want to exercise? Set out your workout clothes, shoes, gym bag, and water bottle ahead of time.&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;You can also invert this principle and prime the environment to make bad behaviour difficult.
&lt;ul&gt;
&lt;li&gt;If you find yourself watching too much television, for example, then unplug it after each use. Only plug it back in if you can say out loud the name of the show you want to watch.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;13-how-to-stop-procrastinating-by-using-the-two-minute-rule&quot;&gt;13. How to Stop Procrastinating by Using the Two-Minute Rule&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Habit’s are automatic choices that influence the conscious decisions that follow.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Habits can be completed in just a few seconds, but it can also shape the actions that you take for minutes or hours afterward.&lt;/li&gt;
&lt;li&gt;Example -You check your phone for “just a second” and soon you have spent twenty minutes staring at the screen. Because &lt;strong&gt;it’s easier to continue what you are already doing than to start doing something different.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Decisive moment: Every day, there are a handful of moment that deliver an outsized impact. These choices are fork in the road. They set options  available for future self.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The two-minute rule - “&lt;strong&gt;When you start a new habit, it should take less than two minute to do.&lt;/strong&gt;”&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The idea is to make habit easy as possible to start. Once you started doing the right thing, it is much easier to continue doing it.&lt;/li&gt;
&lt;li&gt;The point is to &lt;strong&gt;master the habit of showing up.&lt;/strong&gt; The truth is, a habit must be established before it can be improved. As you master the art of showing up, the first two minute simply becomes a ritual at the beginning of a large routine.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;You can figure out the gateway habits that will lead to your desired out-come by mapping out your goals on a scale from ‘very easy’ to ‘very hard’&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Example
&lt;ul&gt;
&lt;li&gt;Very Easy: Put on your running shoes, Writing one sentence&lt;/li&gt;
&lt;li&gt;Easy: Walk ten minutes, Writing one paragraph&lt;/li&gt;
&lt;li&gt;Moderate: Walk ten thousand step, Writing one thousand words&lt;/li&gt;
&lt;li&gt;Hard: Runa a 5k, Writing five thousand word article&lt;/li&gt;
&lt;li&gt;Very Hard: Run a marathon, Write a book.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The secret is to &lt;strong&gt;stop before it starts feeling like work.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Habit shaping&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;“Start by mastering the first two minutes of the smallest version of the behaviour. Then, advance to an intermediate step and repeat the process—focusing on just the first two minutes and mastering that stage before moving on to the next level. Eventually, you’ll end up with the habit you had originally hoped to build while still keeping your focus where it should be: on he first two minutes of the behaviour”&lt;/li&gt;
&lt;li&gt;Example ( Starting to Exercise)
&lt;ul&gt;
&lt;li&gt;phase1: Change into workout clothes&lt;/li&gt;
&lt;li&gt;phase2: Step out the door (try taking a walk).&lt;/li&gt;
&lt;li&gt;phase3: Drive to the gym, exercise for five minutes, and leave.&lt;/li&gt;
&lt;li&gt;phase4: Exercise for fifteen minutes at least once per week.&lt;/li&gt;
&lt;li&gt;phase5: Exercise three times per week.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;The difference between a good day and a bad day is often a few productive and healthy choices made at decisive moment. &lt;/code&gt;&lt;/p&gt;
&lt;h2 id=&quot;14-how-to-make-good-habits-inevitable-and-bad-habits-impossible&quot;&gt;14. How to Make Good Habits Inevitable and Bad Habits Impossible.&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Making bad habits difficult using commitment device.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A commitment device is a choice you make in the present that controls your actions in the future. It is a way to lock in future behavio&lt;/strong&gt;r, bind you to good habits, and restrict you from bad ones.&lt;/li&gt;
&lt;li&gt;Example:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Cut off the Internet at night&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Ask waiter to split meal and box half of it.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Pay for a gym membership&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Automate a habit and never think about it again&lt;/strong&gt; ( One time choices )
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The best was to break a bad habit is to make it impractical to do.&lt;/strong&gt; Increase the friction until you don’t even have the option to act.&lt;/li&gt;
&lt;li&gt;Example
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Nutrition: Use smaller plates&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Productivity: Delete games and social media apps from the phone, get rid of gaming console, turn off subscriptions to streaming apps, block social media websites&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Use technology to automate your habits is the most reliable and effective way to guarantee the right behavior.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;the-4th-law-make-it-satisfying&quot;&gt;The 4th Law: Make it satisfying&lt;/h1&gt;
&lt;h2 id=&quot;15-the-cardinal-rule-of-behavior-change&quot;&gt;15. The Cardinal Rule of Behavior Change&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The first three laws of behavior change make it obvious, make it attractive and make it easy- increase the odds that a behavior will be performed this time. The fourth law of behavior change- make it satisfying- &lt;strong&gt;increases the odd that behavior will be repeated next time&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;We are more likely to repeat a behavior when the experience is satisfying, conversely, if an experience is not satisfying, we have little reason to repeat it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;We live in a delayed-return environment, but human brain did not evolve for life with a delayed-return environment.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;We value present more than the future.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;we eat junk food despite knowing that it is bad for health&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;we sit in bad posture despite knowing that it will be problematic in long term&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Every habit produces multiple outcome across time. &lt;strong&gt;with our bad habits, the immediate outcome usually feels good, but the ultimate outcome feels bad.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;When the moment of decision arrives, &lt;strong&gt;instant gratification usually wins.&lt;/strong&gt;
-&lt;strong&gt;If you’re willing to wait for the reward, you’ll face less competition and often get a bigger payoff.&lt;/strong&gt; As the saying goes, the last mile is always the least crowded. This is true for nearly every field.&lt;/li&gt;
&lt;/ul&gt;
  &lt;div class=&quot;div_box&quot;&gt;
      Example: Advantage of buying ps5 later instead of now
          &lt;ul&gt;
              &lt;li&gt;More available games at lower price&lt;/li&gt;
              &lt;li&gt;Easy availability&lt;/li&gt;
              &lt;li&gt;Will save me time until then which could be spent in side projects or finishing steam and ps3 backlog.&lt;/li&gt;
          &lt;/ul&gt;
   &lt;/div&gt;       
&lt;/li&gt;
&lt;li&gt;Using Instant gratification: *&lt;strong&gt;adding immediate pleasure to the habits that pay off in the long-run and a little bit of immediate pain to ones that don’t.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;The vital thing in getting a habit to stick is to feel successful even if it’s in a small way.&lt;/li&gt;
&lt;li&gt;Immediate reward when ? - the ending of a behaviour&lt;/li&gt;
&lt;li&gt;Use reinforcement, make avoidance visible.
&lt;ul&gt;
&lt;li&gt;Example: &lt;code&gt;Open savings account for things you wan&apos;t or want to do like going on a trip, whenever you save some money&lt;/code&gt;, &lt;code&gt;skipping subscription for some app transfer it into that savings account.&lt;/code&gt;, &lt;code&gt;play an hour of video game, after saving.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;This immediate reward feels a lot better than being deprived.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;It is worth noting that it is important to select short-term rewards that reinforce your identity rather than ones that conflict with it.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Like if I am trying to spend less, than my goal should not be to save so enough to buy something else that would defeat the purpose.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Eventually the identity itself becomes a reinforcer. Incentives can start a habit. Identity sustains a habit.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;16-how-to-stick-with-good-habits-every-day&quot;&gt;16. How to Stick with Good Habits Every Day&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Paper clip strategy: &lt;strong&gt;visual measure provides clear evidence of your progress.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;As a result they reinforce your behaviour and add little bit of immediate satisfaction to any activity.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;How to keep your habits on track
&lt;ul&gt;
&lt;li&gt;A habit tracker is a simple way to measure whether you did a habit.
&lt;ul&gt;
&lt;li&gt;It simultaneously makes a behavior obvious, attractive, and satisfying.
&lt;ol&gt;
&lt;li&gt;Habit tracking is obvious: Habit tracing naturally &lt;strong&gt;builds a series of visual cues like the streak of X’s.&lt;/strong&gt; It also keeps us honest to ourselves as measurement offers one way to overcome our blindness to our own behaviour.&lt;/li&gt;
&lt;li&gt;Habit tracking is attractive: we get a &lt;strong&gt;signal that we are moving forward, which is particularly powerful on a bad day.&lt;/strong&gt; Habit tracking is a visual proof of how far you’ve come.&lt;/li&gt;
&lt;li&gt;Habit tracking is satisfying: it’s &lt;strong&gt;satisfying to cross an item off your to-do list.&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;”Don’t break the chain” is a powerful mantra.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Habit tracking should be automated, manual tracking should be limited to your most important habits.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Record each measurement immediately after the habit occurs.&lt;/strong&gt; The completion of the behavior is the cue to write it down.
&lt;ul&gt;
&lt;li&gt;Habit stacking + habit tracking&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;astro-code material-theme-darker&quot; style=&quot;background-color:#212121;color:#EEFFFF; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span&gt;    After [current habit], I will [track my habit]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;How to recover quickly when your habits break down&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Never miss twice, Missing once is an accident.&lt;/strong&gt; Missing twice is the start of a new habit.&lt;/li&gt;
&lt;li&gt;The breaking of a habit doesn’t matter if the reclaiming of it is fast.&lt;/li&gt;
&lt;li&gt;It is important because &lt;strong&gt;lost days hurt you more than successful days help you.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
  &lt;div class=&quot;div_box&quot;&gt;
      Ex- if you start with 100bucks, then a 50% gain will take you to 150, but you only need 33% loss to take you back to 100bucks.
  &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Knowing when (and when not) to track a habit: &lt;strong&gt;Just because you can measure something doesn’t mean it’s the most important thing.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;dark side of tracing a particular behavior is that we become driven by the number rather than the purpose behind it.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;If your success is measured by a lower number on the scale, you will Optimise for a lower number on the scale, even if it means embracing crash diets, juice cleanses, and fat-loss pills.&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;we optimise for what we measure. When we choose the wrong measurement, we get the wrong behavior.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Goodhart’s Law: When a measure becomes a target, it ceases to be a good measure.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Measurement is only useful when it guides you and adds context to a larger picture, not when it consumes you.&lt;/strong&gt; Each number is simply one piece of feedback in the overall system.&lt;/li&gt;
&lt;li&gt;We mistakenly think the factor we measure are the only factor that exist. But just because you can measure something doesn’t mean it’s the most important thing.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you’re not feeling motivated by the number on the scale, perhaps it’s time to focus on a different measure- one that gives you more signal of progress.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;17-how-an-accountability-partner-can-change-everything&quot;&gt;17. How an Accountability Partner Can Change Everything&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Behavior only shifts if the punishment is painful enough and reliably enforced.
&lt;ul&gt;
&lt;li&gt;To be productive, the cost of procrastination must be greater than the cost of action.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The habit contract
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A habit contract is a verbal or written agreement in which you state your commitment to a particular habit and the punishment that will occur if you don’f follow through. Then you find one or two people to act as your accountability partner and sign off on the contract with you.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;The contract can change as you make more progress.&lt;/li&gt;
&lt;li&gt;It effective because we care what other people think about us.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&quot;advanced-tactics-how-to-go-from-being-merely-good-to-being-truly-great&quot;&gt;Advanced Tactics: How to go from being merely good to being truly great&lt;/h1&gt;
&lt;h2 id=&quot;18-the-truth-about-talent-when-genes-matter-and-when-they-dont&quot;&gt;18. The Truth About Talent (When genes Matter and When they don’t)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Habits are easier to perform, and more satisfying to stick with, when they align with your natural inclinations and abilities.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Play the game where odds are in your favour. Genes cannot be easily changed, which means they provide a powerful advantage in favourable circumstances and a serious disadvantage in unfavourable circumstances.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Genes do not determine your destiny. They determine your area of opportunity.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The key is to direct your effort toward areas that both excite you and match your natural skills.&lt;/li&gt;
&lt;li&gt;There is a version of every habit that can bring you joy and satisfaction. Find it. Habits need to be enjoyable if they are going to stick.&lt;/li&gt;
&lt;li&gt;How to find a game where the odds are in your favour
&lt;ul&gt;
&lt;li&gt;The most common approach is trial and error, but the problem is life is short, you don’t have time to try every career.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Explore/Exploit trade-off&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;In the beginning of a new activity, there should be a period of exploration. The goal is to try out many possibilities, research a broad range of ideas, and cast a wide net.&lt;/li&gt;
&lt;li&gt;After initial period of exploration, shift your focus to the best solution you’ve found- but keep experimenting occasionally.&lt;/li&gt;
&lt;li&gt;Balance depends upon weather you are winning or losing&lt;/li&gt;
&lt;li&gt;If you are currently winning, you exploit, exploit.&lt;/li&gt;
&lt;li&gt;If you are currently losing, you continue to explore, explore, explore.&lt;/li&gt;
&lt;li&gt;Work on the strategy that seems to deliver the best result about 80-90% of time and keep exploring with the remaining 10-20%&lt;/li&gt;
&lt;li&gt;It also depends on how much time you have. If you have a lot of time like someone at the beginning of their career- it makes more sense to explore because once you find the right thing, you still have a good amount of time to exploit it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Questions you can ask yourself to continually narrow in on the habits and areas that will be most satisfying to you:
&lt;ul&gt;
&lt;li&gt;What feels like fun to me, but work to others?
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Designing/Frontend&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;What makes me lose track of time?
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Making something, specially in a hackathon.&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Where do I get greater returns than the average person?
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;In making things look impressive&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;What comes naturally to me?
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Taste in desing&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;If you can’t find a game where the odds are stacked in your favour, create one.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;“&lt;strong&gt;When you can’t win by being better, you can win by being different.&lt;/strong&gt; By combining your skills, you reduce the level of competition, which makes it easier to stand out”&lt;/li&gt;
&lt;li&gt;“&lt;strong&gt;Specialisation is a powerful way to overcome the “accident” of bad genetics.&lt;/strong&gt; The more you master a specific skill, the harder it becomes for others to compete with you”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Finally, &lt;strong&gt;genes do not eliminate the need for hard work. They clarify it. They tell us what to work hard on.&lt;/strong&gt; Genes can’t make you successful if you are not doing the work.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;People get so caught up in the fact that they have limits that they rarely exert the effort required to get close.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;19-the-goldilocks-rule-how-to-stay-motivated-in-life-and-work&quot;&gt;19. The Goldilocks Rule: How to Stay Motivated in Life and Work&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Why is it that some people, stick with their habits ?
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Work on task with just manageable difficulty&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;humans experience peak motivation when working on tasks that are right on the edge of their current abilities. Not too hard. Not too easy. Just right.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The goldilocks rule
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Working on challenges of just manageable difficulty- something on the perimeter of your ability- seems crucial for maintaining motivation.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Once a habit has been established, however, it’s important to continue to advance in small ways. These little improvements and new challenges keep you engaged.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Balance between victories to keep you motivated and mistakes to keep you working hard.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you hit the goldilocks zone just right you achieve a flow state.
&lt;ul&gt;
&lt;li&gt;A flow state is the experience of being “in the zone” and fully immersed in an activity.&lt;/li&gt;
&lt;li&gt;Scientist found that to achieve a state of flow, a task must be roughly 4 percent beyond your current ability. But it’s typically not feasible to quantify the difficulty of an action in this way.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;At some point it comes down to who can handle the boredom of training every day, doing the same thing over and over.
&lt;ul&gt;
&lt;li&gt;Successful people feel the same lack of motivation as everyone else. The different is that they still find a way to show up despite the feeling of boredom.&lt;/li&gt;
&lt;li&gt;We get bored with habits, because the outcome becomes expected. (no dopamine in that) We start derailing our progress to seek novelty.&lt;/li&gt;
&lt;li&gt;Many habit building products are those that produce variable reward.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Variable reward amplifies a craving&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Example gambling, Anticipation of reward &gt;&gt; reward it&apos;self&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The sweet spot of desire occurs at a 50/50 split between success and failure. You need just enough “winning” to experience satisfaction and just enough “wanting” to experience desire.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;When a habit is truly important to you, you have to be willing to stick to it in any mood. Professionals stick to the schedule; amateurs let life get in the way.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;20-the-downside-of-creating-good-habirs&quot;&gt;20. The Downside of Creating good habirs&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The upside of habits is that we ca do things without thinking. &lt;strong&gt;The downside of habits is that you get used to doing things a certain way and stop paying attention to little errors&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Whenever you start to feel comfortable and the habits feel automatic is when you should review your habits and make adjustments&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Reflection and review&lt;/strong&gt; enables the long-term improvement of all habits because it makes you aware of your mistakes and help you consider possible paths for improvement. Without reflection, we can make excuses, create rationalisation, and lie to ourselves.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Decision Journal&lt;/strong&gt;- record the major decisions that you make each week, why you made them, and what is the expected outcome of it. And the review the choices at the end of each month or year to see where you were correct and where you were wrong.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Worrying too much about every daily choices is like looking at yourself in the mirror from inches away.&lt;/strong&gt; You can see every imperfection and lose sight of the big picture.&lt;/li&gt;
&lt;li&gt;Conversely, &lt;strong&gt;never reviewing your habits is like never looking in the mirror&lt;/strong&gt;, you won’t be aware of the easily fixable flaws.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The more sacred and idea is to us- that is, the more deeply it is tied to our identity- the more strongly we will defend it against criticism.
&lt;ul&gt;
&lt;li&gt;One solution is to &lt;strong&gt;avoid making any single aspect of your identity an overwhelming portion of who you are. “Keep your identity small”&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&quot;I&apos;am the Entrepreneur&quot;&lt;/code&gt; translates to &lt;code&gt;&quot;I&apos;m the type of person who builds and creates things&quot;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Everything is impermanent. Life is constantly changing, so you need to periodically check in to see if your old habits and beliefs are still serving you.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;div_box&quot;&gt;
&lt;ul&gt;
    &lt;li&gt;Example- Annual Review
        &lt;ol&gt;
            &lt;li&gt;What went well this year?&lt;/li&gt;
            &lt;li&gt;What didn&apos;t?&lt;/li&gt;
            &lt;li&gt;What did I learn?&lt;/li&gt;
        &lt;/ol&gt;
    &lt;/li&gt;
    &lt;li&gt;Example- Integrity Report
        &lt;ol&gt;
            &lt;li&gt;What are the core values that drive my life and work?&lt;/li&gt;
            &lt;li&gt;How am I living and working with integrity right now?&lt;/li&gt;
            &lt;li&gt;How can I set a higher standard in the future?&lt;/li&gt;
        &lt;/ol&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The holy grail of habit change is not a single 1 percent improvement, but a thousand of them. It’s a bunch of atomic habits stacking up, each one a fundamental unit of the overall system.&lt;/li&gt;
&lt;li&gt;Success is not a goal to reach or a finish line to cross. It is a system to improve, an endless process to refine.&lt;/li&gt;
&lt;/ul&gt;</content:encoded><updated>Mar 29 2024 10:43 PM</updated></item><item><title>Hello World!</title><link>https://piyushmakwana.in/post/first-blog/</link><guid isPermaLink="true">https://piyushmakwana.in/post/first-blog/</guid><description>How do I describe this?</description><pubDate>Wed, 27 Mar 2024 19:22:00 GMT</pubDate><content:encoded>&lt;p&gt;Hello World!&lt;/p&gt;</content:encoded><updated>Mar 27 2024 19:22</updated></item></channel></rss>