<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kunal Bhatia on Medium]]></title>
        <description><![CDATA[Stories by Kunal Bhatia on Medium]]></description>
        <link>https://medium.com/@crazyDiamond?source=rss-e467052b7a18------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*If24VcpYN10bLUxMbfkDTg.jpeg</url>
            <title>Stories by Kunal Bhatia on Medium</title>
            <link>https://medium.com/@crazyDiamond?source=rss-e467052b7a18------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:39:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@crazyDiamond/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A writer’s muse #ChatGPT]]></title>
            <link>https://medium.com/@crazyDiamond/a-writers-muse-chatgpt-9240c065879e?source=rss-e467052b7a18------2</link>
            <guid isPermaLink="false">https://medium.com/p/9240c065879e</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[streamlit]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[snowflake]]></category>
            <dc:creator><![CDATA[Kunal Bhatia]]></dc:creator>
            <pubDate>Thu, 02 Mar 2023 15:20:43 GMT</pubDate>
            <atom:updated>2023-05-24T04:45:12.866Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Is it really for me …</em></p><figure><img alt="A Muse: Greek goddess" src="https://cdn-images-1.medium.com/max/1024/0*UfRmzLBybFgoRjrB" /><figcaption>Photo by <a href="https://unsplash.com/@kbendakhlia?utm_source=medium&amp;utm_medium=referral">Karim Ben Van</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A writer’s <strong>muse</strong> is a source of inspiration or creative influence that helps a writer to generate new ideas, explore different perspectives, and find the words and imagery to express their thoughts and emotions. The concept of a muse dates back to ancient Greek mythology, where the Muses were a group of goddesses who were believed to inspire creativity and the arts. In modern usage, a writer’s muse can refer to a wide range of things, such as a person, a place, a memory, a dream, a work of art, a piece of music, or even a feeling or mood. Many writers believe that having a strong connection to their muse is essential for producing their best work.</p><h3>But, is AI a writer’s muse?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TAaS1qnrxUeKrEFswYQQMg.jpeg" /><figcaption>‘The Sandman’ Episode 11 [by Lawrence Yee. (2022). Image available at <a href="https://www.netflix.com/tudum/articles/the-sandman-episode-calliope-ending-explained">URL</a>]</figcaption></figure><p>I stumbled upon a Netflix series called <em>Sandman</em>, particularly episode 11. The plot of the narrative centers around <em>Calliope</em>, a Greek goddess, daughter of <em>Zeus</em>, a muse portrayed by Melissanthi Mahut, who becomes trapped due to a magic scroll by a novelist named Erasmus Fry, played by Derek Jacobi. In exchange for his continued creative inspiration, Fry subjects <em>Calliope</em> to her will for 60 years. As Fry nears the end of his life and career, he seeks to barter Calliope to another author, Richard Madoc, portrayed by Arthur Darvill, in exchange for a trichobezoar, which is a ball of undigested hair thought to have healing properties. Initially, Madoc is hesitant about exploiting another creature for his own gain, but with his deadline for his second novel looming and no words on the page, he makes a dark bargain with Fry and enslaves <em>Calliope</em>. It is worth a watch I promise! I was wondering whether this is what artificial intelligence (AI) would stand for down the line.</p><h3>Well, in our world muses are open source… are they?</h3><p>If <strong><em>ChatGPT</em></strong> is not a person, place, a memory, a dream, a work of art, a piece of music, or even a feeling or mood, then how can it inspire you in-order to generate new ideas.</p><h4>It cannot or can it!</h4><p>In quandary, it can give you access to what has ever been written on a person, place, a memory, a dream, a work of art, a piece of music, or even a feeling or mood. Remember, it is only trained on data up-to 2021 and continuously improving. It is a spout, but not a muse!</p><h4>It is not a muse, but I love it!</h4><p>So, I am not gonna introduce ChatGPT, as it doesn’t need any introduction. There is an amazing article by Cassie Kozyrkov, <a href="https://medium.com/@kozyrkov/introducing-chatgpt-aa824ad89623"><em>Introducing ChatGPT</em></a> you should read.</p><figure><img alt="Fontana dei Quattro Fiumi (Fountain of the Four Rivers) is a fountain designed in 1651 in the Piazza Navona in Rome, Italy. Photo credit: Kunal Bhatia (2013)" src="https://cdn-images-1.medium.com/max/1024/1*dz2rr4iLw9qYZbsL5svWIg.jpeg" /><figcaption>Fontana dei Quattro Fiumi (Fountain of the Four Rivers) is a fountain designed in 1651 in the Piazza Navona in Rome, Italy. Photo credit: Kunal Bhatia (2013)</figcaption></figure><h3>What is in it for me?</h3><p>Well, I am an engineer by day, a father of two in the evening, and an adorable husband by night. This is how ChatGPT is helping me fulfill my day to day activities when needed. You can access it by going to this <a href="https://chat.openai.com/chat"><em>link</em></a>.</p><h4>1. Stories for my kids</h4><p>I love nothing more than reading my son bedtime stories. He loves to talk about space, play piano, minecraft and lot more.</p><p><strong>Me</strong>: <em>Tell me a story for my 7 years old who loves space, universe, stars, piano, football, music, puzzles, ridding bike, ridding scooter, building legos, playing minecraft video games, and reading books.</em></p><p><strong>chatGPT</strong>: <em>Arin loves to explore the universe through his telescope, play piano, and solve puzzles. One day, he discovers a strange object in the sky that he can’t quite identify. Curious, Arin decides to investigate and embarks on an intergalactic space adventure that takes him to distant planets, where he encounters friendly aliens, navigates treacherous terrain, and solves puzzles to unlock the secrets of the cosmos…. (lot more)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*WnzPCh3PjBXDhiDYmpE9Uw.gif" /></figure><h4>2. Planning family vacations</h4><p>Wife demand and husband orders. Well we are planning to visit Australia in 2023 for the first time and get on the slopes for skiing.</p><p><strong>Me</strong>: <em>Please help me to plan a trip to Australia with hotel, car rental, flight recommendations for 2 weeks between late of July and early August, which includes fun, exotic, skiing with me, my wife, and two kids a 7 years old and a 3 years old. We are flying from Singapore.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*zIvzaywjq4nHTFiADg2quw.gif" /></figure><p><strong>chatGPT</strong>: <em>Sure! Here’s a possible itinerary for a 2-week family trip to Australia that includes skiing:</em></p><p><strong><em>Week 1</em></strong><em>:</em></p><p><strong><em>Day 1–2</em></strong><em>: Fly from Singapore to Sydney. Stay at a family-friendly hotel in the city, such as Novotel Sydney Darling Square or Holiday Inn Darling Harbour.</em></p><p><strong><em>Day 3–4</em></strong><em>: Rent a car and drive to the Blue Mountains, located about 1.5 hours west of Sydney. Enjoy the scenic views, visit the Featherdale Wildlife Park, and go on family-friendly hikes. Stay at a hotel or Airbnb in the area, such as the Fairmont Resort &amp; Spa Blue Mountains or the Blue Mountains YHA.</em></p><p><strong><em>Day 5–8</em></strong><em>: Drive to Perisher Ski Resort, located about 5 hours south of the Blue Mountains. Spend 4 days skiing and snowboarding with the family. Stay at a family-friendly accommodation such as The Perisher Valley Hotel, Marritz Hotel, or The Man from Snowy River Hotel.</em></p><p><strong><em>Week 2</em></strong><em>:</em></p><p><strong><em>Day 9–10</em></strong><em>: Drive to Melbourne, located about 6 hours south of Perisher. Spend 2 days exploring the city, visiting attractions like the Melbourne Zoo, the Melbourne Aquarium, and the National Sports Museum. Stay at a family-friendly hotel in the city, such as Holiday Inn Melbourne on Flinders or Novotel Melbourne South Wharf.</em></p><p><strong><em>Day 11–13</em></strong><em>: Drive to Falls Creek Ski Resort, located about 4.5 hours northeast of Melbourne. Spend 3 days skiing and snowboarding with the family. Stay at a family-friendly accommodation such as the Falls Creek Country Club or the QT Falls Creek.</em></p><p><strong><em>Day 14</em></strong><em>: Drive back to Melbourne and return the rental car. Fly back to Singapore from Melbourne.</em></p><p>Pretty cool! right?</p><h4>3. Creating a Streamlit app</h4><p>Going off tangent here and throwing my engineering dad hat back on. I would like to create an app for my kid to play around and learn about different kind of fruits, understand what they cost, and learn multiplication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*GDx_Qpm3k0Ctrsv2bcfX5Q.gif" /></figure><p><strong>Me</strong>: <em>create a streamlit app to sell apples and bananas</em></p><p><strong>chatGPT</strong>: <em>Sure, I can help you create a basic Streamlit application to sell apples and bananas. Here’s a sample code to get you started:</em></p><pre>import streamlit as st<br><br># Define the prices of apples and bananas<br>APPLE_PRICE = 0.50<br>BANANA_PRICE = 0.25<br><br>def main():<br>    st.title(&quot;Welcome to our fruit stand!&quot;)<br>    <br>    # Display options for buying apples and bananas<br>    st.write(&quot;Choose the quantity of apples and bananas you want to buy:&quot;)<br>    apple_quantity = st.number_input(&quot;Apples&quot;, value=0, min_value=0, max_value=100)<br>    banana_quantity = st.number_input(&quot;Bananas&quot;, value=0, min_value=0, max_value=100)<br>    <br>    # Calculate the total price<br>    total_price = (apple_quantity * APPLE_PRICE) + (banana_quantity * BANANA_PRICE)<br>    <br>    # Display the total price to the user<br>    st.write(f&quot;Total price: ${total_price:.2f}&quot;)<br>    <br>    # Display a button for checking out<br>    if st.button(&quot;Buy now!&quot;):<br>        st.write(&quot;Thank you for your purchase!&quot;)<br><br>if __name__ == &#39;__main__&#39;:<br>    main()</pre><p>I copied the code and put it in my <em>Github</em> repo and tweaked a little with a slider. I deployed a new app in <a href="https://streamlit.io/">https://streamlit.io/</a> from existing repo</p><pre>import streamlit as st<br><br>def main():<br>    st.title(&quot;Welcome to Apple and Banana Store&quot;)<br><br>    fruit = st.selectbox(&quot;Select a Fruit&quot;, (&quot;Apples&quot;, &quot;Bananas&quot;))<br><br>    if fruit == &quot;Apples&quot;:<br>        price = 1.0<br>    else:<br>        price = 0.5<br><br>    quantity = st.slider(&quot;Select Quantity&quot;, 1, 100)<br><br>    total_price = price * quantity<br><br>    st.write(f&quot;Total price for {quantity} {fruit} is ${total_price:.2f}&quot;)<br><br>if __name__ == &quot;__main__&quot;:<br>    main()</pre><blockquote>and voila</blockquote><p>Here is the <strong><em>Streamlit</em></strong> fruit app on <a href="https://kunalbhatia-snowcraft-fruitapp-fruitapp-hu6bep.streamlit.app/"><em>link</em></a><em>. Try it for yourself below:</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fkunalbhatia-snowcraft-fruitapp-fruitapp-hu6bep.streamlit.app%2F%3Fembed%3Dtrue&amp;display_name=Streamlit&amp;url=https%3A%2F%2Fkunalbhatia-snowcraft-fruitapp-fruitapp-hu6bep.streamlit.app&amp;image=https%3A%2F%2Fstorage.googleapis.com%2Fs4a-prod-share-preview%2Fdefault%2Fst_app_screenshot_image%2F9dcb4f72-9bfe-41a3-a21c-bae09e6856c4%2FHome_Page.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=streamlit" width="560" height="630" frameborder="0" scrolling="no"><a href="https://medium.com/media/7355caf50a3121b8d34ffbb54377c9c9/href">https://medium.com/media/7355caf50a3121b8d34ffbb54377c9c9/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*W9_qx5QsTc1JCsxfAyPYBg.gif" /></figure><h4>Summary</h4><p>Within a month of introducing this technology more than a 100 million people started using it, the fastest technology adoption in history by far. Twitter got 30 million users in the first month.</p><p>My post provides ideas to inspire that geeky parent, but it is not even scratching the surface. Have you tried it?</p><blockquote>ChatGPT is meant for so more, but is it a writer’s muse after all?</blockquote><p>Tell me about your thoughts in the comment section!</p><p><em>I appreciate you and the time you took out of your day to read this! To see what I do when I’m not working, follow me on </em><a href="https://www.instagram.com/crazydiamnd/"><em>Instagram</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9240c065879e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>