<?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 Garima Aggarwal on Medium]]></title>
        <description><![CDATA[Stories by Garima Aggarwal on Medium]]></description>
        <link>https://medium.com/@garimaaggarwal55?source=rss-3d3eb410f1ae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JY9p_UyO4qowFHCglhdUEg.png</url>
            <title>Stories by Garima Aggarwal on Medium</title>
            <link>https://medium.com/@garimaaggarwal55?source=rss-3d3eb410f1ae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 10:25:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@garimaaggarwal55/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[Heading to Bangkok for Blockchain Events? Here’s What to Know About EthGlobal.]]></title>
            <link>https://medium.com/@garimaaggarwal55/heading-to-bangkok-for-blockchain-events-heres-what-to-know-about-ethglobal-48aae48dd00a?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/48aae48dd00a</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[ethglobal]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[hackathons]]></category>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Mon, 11 Nov 2024 03:50:36 GMT</pubDate>
            <atom:updated>2024-11-11T03:50:36.685Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AGBvCusyS7xpU6fqUYdOpQ.png" /></figure><p>People are heading to Bangkok for Blockchain events. EthGlobal Bangkok is around the corner as well. If you are new to this Hackathon, this article is for you.</p><p>EthGlobal is not a conference, but a Hackathon. I flew across the country just to attend one as it is a first-row ticket to see what’s happening in the Blockchain ecosystem. Most importantly, it is a platform to build and meet fellow builders. I have participated twice, once in Waterloo and once in SF. Here are my key takeaways:</p><p>👫<strong>Build a team</strong></p><p>You think you got it all, but you generally don’t. Even if you’re knowledgeable, having teammates to brainstorm ideas and help with implementation can make a huge difference. Hackathons are intense, with limited time. Teamwork and collaboration are essential to staying focused and managing the workload. Divide and conquer to maximize your chances of success.</p><p>☢️<strong>Learn integration and practice- it is important</strong></p><p>Whether you build a team or you go solo, make sure to know the ins and outs of web3 development. I know, I know being a beginner is no sin, but if you are aiming for prizes, practice full stack, especially integration of front end and backend. If you are relatively new, try to join a team who can do so. I messed up this time because I spent a significant amount of time debugging my React integration with the backend.</p><p><em>Time for confession: I believe I could have achieved better results if I had practiced more</em></p><p>😳<strong>It can get overwhelming</strong></p><p>As I mentioned, 48 hours may sound like a lot, but they are generally not enough — IF YOU GO UNPREPARED. For overthinkers like me, it’s easy to get distracted by the many bounties and partners. You might feel tempted to tackle too many bounties, but remember the saying: “Too many cooks spoil the broth.” The same goes for bounties. Aim high, but stay realistic about what you can achieve.</p><p>🎙<strong>Attend Sessions, But Come Prepared with an Idea</strong></p><p>Besides Pragma, the partners also hold sessions before the hackathon starts. These are generally awesome. They talk about their bounties and some implementations. I find these sessions to be a good networking place. After the talk, I try to talk to the hosts for better insights. Anyway, that being said, I recommend having an idea beforehand as to what you are going to build. A cherry on top of the cake would be <strong>if you know the platforms you are going to integrate and practice basic integration</strong>. I am recommending this for relatively slow learners who get overwhelmed easily. Also, the partners generally have good documentation and are available at the booth to help.</p><p>🧢<strong>Go to side events — Build friendships and network</strong></p><p>I can’t stress this enough: go to the side events. . I have noticed that a bunch of side events go hand in hand with EthGlobal generally. I highly advise you to go to these cool events. If not for the merch go for the free food…heheh. Anyway, the most important part of all this is that you meet people, talk to them, introduce yourself. Don’t be shy. You never know, you may make amazing friends.</p><p><em>My story — I went to a bunch of side events in SF this year, expecting nothing. End result — came out knowing awesome people, did a Ghirardelli square midnight run, went to a picnic with them on the last day and also explored Japan Town. You will likely see them again at different events.</em></p><p>🧺<strong>Networking Opportunity</strong></p><p>EthGlobal and Pragma are fantastic places to meet other developers, but they’re also prime opportunities to connect with founders. . Be it at the booths or after their talks and sessions, it is an opportunity for you to <strong>directly introduce yourself to these awesome people.</strong> I recommend using the booths to strike up conversations with people building in this ecosystem. Your next job or startup may be lurking in these encounters, you never know.</p><p>🥳<strong>Have fun and treat this as a learning opportunity.</strong></p><p>Most importantly, HAVE FUN. Collect those stickers, put on that merch, and hang out with interesting people. Each time I’ve attended EthGlobal, I’ve returned with a wealth of new terms, technologies, and insights. Pragma and EthGlobal offer a firsthand look at Web3 innovations. It’s hard not to be amazed.</p><p>All the best and have fun.</p><p>If you want more content around tech and travel, kindly give a clap and follow.</p><p>Cheers</p><p>Garima</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48aae48dd00a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Planning a trip to Gardens By the Bay]]></title>
            <link>https://medium.com/@garimaaggarwal55/planning-a-trip-to-gardens-by-the-bay-2d7900dd413e?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d7900dd413e</guid>
            <category><![CDATA[singapore]]></category>
            <category><![CDATA[east-asia]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[gardens-by-the-bay]]></category>
            <category><![CDATA[tourism-marketing]]></category>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Sun, 30 Apr 2023 20:45:44 GMT</pubDate>
            <atom:updated>2023-04-30T20:47:06.320Z</atom:updated>
            <content:encoded><![CDATA[<p>Gardens by the Bay is a huge complex and I highly recommend visiting it. However, it can get a bit overwhelming to plan. Here is my guide to spending a day at Gardens by The Bay. I visited the following domes. All opinions are personal only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KAPYw6NNhrNdnrFpj34Oeg.jpeg" /></figure><h3>🌸 Dome 1 — <strong>Floral Fantasy</strong> 🌸</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eMyxgbrYvv_wbJatHuOLDQ.jpeg" /><figcaption>Floral Fantasy</figcaption></figure><p>🌹 Beautiful and aesthetic flower installations</p><p>🌺 Great for Instagram worthy pics, aesthetic backdrops and more</p><p>🚨 Closes the earliest of all domes— Check time before going</p><p>🎟 Ticketed entry</p><p>⏰ Recommended Visit duration — 1 Hour</p><p>⛅️ Best time to visit- During the day for amazing pics.</p><p>Link: <a href="https://www.gardensbythebay.com.sg/en/things-to-do/attractions/floral-fantasy.html">https://www.gardensbythebay.com.sg/en/things-to-do/attractions/floral-fantasy.html</a></p><p>🚙 Take shuttle (paid) or walk to the Flower Dome. All the domes mentioned below are close by.</p><h3>⛲️ Dome 2 — Flower Dome ⛲️</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8d3JhPYsSyZZ1SAbHLZxUA.jpeg" /></figure><p>🌹 Beautiful and aesthetic flowers</p><p>🌺 Great for Instagram worthy pics</p><p>🚨 Check time before going. May be closed for maintenance</p><p>🎟 Ticketed entry. Tickets can be bought at the counter.</p><p>⛅️ Best time to visit- During the day for amazing pics</p><p>Link: <a href="https://www.gardensbythebay.com.sg/en/things-to-do/attractions/flower-dome.html">https://www.gardensbythebay.com.sg/en/things-to-do/attractions/flower-dome.html</a></p><h3>☁️ Dome 3— Cloud Forest ☁️</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OMeHU2c92m7TBqbYTcCi4w.png" /><figcaption>The Cloud Forest</figcaption></figure><p>The cloud Forest at Gardens By The Bay is one of the most impressive and stunning attractions in Singapore 🇸🇬 I also suggest to stay for the Misting process.</p><p>🎟Ticketed Entry</p><p>🧥 It gets a bit cold due to the waterfall, so a light jacket can be taken along</p><p>⭐️ Must check the Misting timings and plan your trip According to those times</p><p>Link: <a href="https://www.gardensbythebay.com.sg/en/things-to-do/attractions/cloud-forest.html">https://www.gardensbythebay.com.sg/en/things-to-do/attractions/cloud-forest.html</a></p><h3>🌳 SuperTree Grove 🌳</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t_9NCPpgpDdBHS43EbbrWw.jpeg" /><figcaption>The Supertree Grove</figcaption></figure><p>If you are planning to visit Singapore, or have an extended layover, I highly recommend visiting the SuperTree Grove at Gardens by The Bay. These huge Supertree structures are a site to behold. 12 of the 18 Supertrees are present in the Gardens by The Bay. Here are my tips:</p><ol><li>🌳 The Supertree Grove is free to visit</li><li>🌆 I recommend visiting in the evening when the trees light up</li><li>💡 Every evening, the trees come alive through a spectacular light and sound show — called the Garden Rhapsody.</li><li>🎥 The show is free, however, kindly check the timings</li><li>🌉 You can go to the top of the largest super tree for amazing views of the garden and Marina Bay. It is called OCBC Skywalk</li><li>🎟 OCBC Skywalk has a ticketed entry.</li><li>💻 Lines may be long, I suggest getting tickets at the counter only. Based on the line size, they recommend if it would be optimal to get the tickets or not.</li></ol><p>📝 I loved all of them. However, if you are on a time crunch, consider what you are seeking. I personally would prefer Cloud Forest and Supertree Grove for their versatility.</p><p>If you are looking for more aesthetic pictures then perhaps The other 2 domes.</p><p>If you liked my content and would like to see more on tech and travel, please clap and follow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d7900dd413e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get the Singapore E-Visa from Canada.]]></title>
            <link>https://medium.com/@garimaaggarwal55/how-to-get-the-singapore-e-visa-from-canada-4a1a5fb803d4?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a1a5fb803d4</guid>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[how-to-get-visa]]></category>
            <category><![CDATA[canada-immigration]]></category>
            <category><![CDATA[singapore]]></category>
            <category><![CDATA[visa]]></category>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Sun, 09 Apr 2023 15:17:45 GMT</pubDate>
            <atom:updated>2023-04-09T15:18:38.744Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*ArH5rxWpQDfhcwWlaq_0Fw.png" /><figcaption>A shot 📸of Marina Bay Sands from The Cloud Forest by Garima Aggarwal</figcaption></figure><p>As an<strong> Indian passport holder</strong> and a <strong>Temporary Resident in Canada</strong>, we may still need to apply for an e-visa from Canada to visit Singapore. Here is the process to do it.</p><p><strong>🚨 Disclaimer</strong>: This is my personal experience and in no way meant to be a professional visa counselling or related service. I applied for the visa in <strong>September 2022</strong> and the rules may have changed since — kindly checkin with the Singapore consulate or their website.</p><p>There are 2 ways to get the visa:</p><ol><li><strong>Local contact</strong>: You may apply for a visa through a local contact/sponsor who is a Singapore Citizen or a Singapore Permanent Resident, and is at least 21 years old with a valid SingPass/Corppass account. (The local contact/sponsor may submit the visa application online through ICA’s <a href="https://eservices.ica.gov.sg/esvclandingpage/save">website</a>. Should you be applying for an entry visa for a business visit, the local contact/sponsor must be acting on behalf of the Singapore registered business entity.)</li><li>If you don’t have a local contact, then you can use the second route, i.e. <strong><em>Submit the documents directly to the nearest consulate.</em></strong><em> </em>(I didn’t know anyone local and couldn’t find any travel agents in Toronto who dealt with Singapore E-visa, hence had to go through this route. This was a headache, honestly. But it is not unachievable). I applied in Toronto.</li></ol><p>If you do not have a local contact in Singapore, applications can be submitted via mail to their office address or delivered to the 49th floor courier desk from 8am to 5pm (Monday to Friday only, excluding public holidays). Applications can be sent to their office address at: Honorary Consulate-General of Singapore in Toronto, 66 Wellington Street West, Suite 5300, Box 48, TD Bank Tower, Toronto, ON, M5K 1E6.</p><p>🚨<strong>Disclaimer</strong>: Please check the ICA website their latest address.</p><p><strong>The list of required documents and application procedure are included below for your reference.</strong></p><p>🚨<strong>Disclaimer</strong>: Please check the ICA website for updated information list of documents.</p><p>To apply for an entry visa for business or social visits, please prepare the following:</p><ul><li>Duly completed <a href="https://www.ica.gov.sg/docs/default-source/ica/forms/form14a.pdf"><strong>Form 14A</strong></a> (Application for an Entry Visa)</li><li><strong>1 </strong>recent passport-sized colour photograph taken within the last three months — Please see <a href="https://www.ica.gov.sg/common/photo_guidelines">Photo Guidelines</a> to confirm photo requirements</li><li><strong>Photocopy </strong>of current travel document/passport biodata page (<strong>travel document must be valid for at least six months</strong> from the date of entry into Singapore)</li><li><strong>Photocopy </strong>of valid Canada PR Card or resident permit (proof of residential status in Canada)</li><li><strong>Flights and hotel/accommodation details</strong> showing <strong>both </strong>arrival and departure from Singapore — payment confirmation is not required, but <strong>must</strong> include <strong>travel dates and flight numbers</strong></li><li>Applicant’s contact details (<strong>valid email address and contact number are required</strong>)</li><li>For applications submitted to the office, applicable fees are payable<strong> in cash or via e-transfer only</strong>. Please send payments via e-transfer to cchua@mccarthy.ca. Cash payments can be enclosed with the required documents. Applications will not be processed without payment. For payments via e-transfer, applicable fees can be paid after the application has been received by our office and a receipt will be issued. <em>(I paid via e-transfer and submitted the proof in the package to be mailed)</em></li></ul><p>🚨<strong>Disclaimer</strong>: Please contact the Singapore Consulate or Check their website for the latest requirements, e-transfer details, address and more.</p><p>🚨Please check their website for updated Covid vaccine related policies</p><p><strong>Application Procedure</strong></p><p>Entry visa applications must be submitted to the nearest overseas mission <strong>within 30 days of the scheduled arrival in Singapore</strong>. Applicants will be contacted if anything further is required for submission. Applications are submitted to ICA for processing via the <a href="https://eservices.ica.gov.sg/save/index.xhtml">e-Service</a>. After ICA has processed the application, applicants will receive the outcome via email.</p><p>PS: If you found the article helpful, please give it a clap and follow for more travel, tech, Life in Canada related content.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a1a5fb803d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Free Things to do in Singapore]]></title>
            <link>https://medium.com/@garimaaggarwal55/free-things-to-do-in-singapore-17f2a99def4c?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/17f2a99def4c</guid>
            <category><![CDATA[solo-travel]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[singapore]]></category>
            <category><![CDATA[tourism]]></category>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Sun, 02 Apr 2023 02:00:10 GMT</pubDate>
            <atom:updated>2023-04-02T02:00:10.935Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ntu-cSpLIuBd0N37SvBIsg.png" /><figcaption>MBS from The Cloud Forest</figcaption></figure><p>I had the opportunity to visit Singapore in September 2022, to present my work at MICCAI’s DeCaf workshop. My work entailed use of blockchain for decentralized medical imaging and the paper is called <a href="https://www.youtube.com/watch?v=bWebNqIOH8I">DeMed</a>. I was also there for the Singapore Blockchain Week which included events like FIL 2022, Solana Hacker House and Token 2049.</p><p>Hence, I had the evenings and weekends to explore the city. Singapore is EXPENSIVE. It will call you broke in all out of it’s national languages and more, but it also offers plenty of budget friendly things to do.</p><p><strong>Here are my top free things to do in Singapore. Let me know what I missed in the comments.</strong></p><ol><li>Starting with the iconic indoor waterfall- <strong>Jewel at Changi airport</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dzQQu3HfysEUfqnE8VgLmA.jpeg" /><figcaption>Jewel Changi</figcaption></figure><p>2. Now, if you don’t have a fortune to spend on a night stay at MBS, Not to fret. Take a walk around the Marina Bay. My favourite time to do so was near sunset for the iconic view of the city as well as MBS, Flyer and Art Science Museum</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VNXEtiJs04RCrkvSY8V3rg.jpeg" /><figcaption>In View: MBS</figcaption></figure><p>3. Other important reason to go during sunset is to watch <strong>Spectra</strong>- A free light and sound show everyday at 8 Pm and 9 Pm daily</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qSjnYHiJhWvkNf3iTWlJhA.jpeg" /><figcaption>Spectra</figcaption></figure><p>4. Head to the Gardens by the Bay. Not all gardens are paid. <strong>The Supertree Grove</strong> is basically free to visit</p><p>5. Not to be missed is the iconic <strong>Garden Rhapsody</strong>- Everyday at 7:45 and 8:45 PM</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bsnNDsyv9KVqhEc8DSGLMQ.jpeg" /></figure><p>6. No visit to Singapore is complete without a picture with the Official mascot —<strong> The Merlion.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K2DbMFTPGIdg0ndfy0VmCw.jpeg" /></figure><p>7. Bonus- If you happen to go to Sentosa, head to the <strong>Siloso Beach</strong> for a fun day of activities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UM6RAs0hj6u2BX7Zic8inA.jpeg" /></figure><p>PS: All pics have been clicked by me — Garima Aggarwal</p><p>Have a great time in this beautiful city. Let me know what I missed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17f2a99def4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A collection of Tips and tricks]]></title>
            <link>https://medium.com/@garimaaggarwal55/a-collection-of-tips-and-tricks-fb37fdbac54a?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb37fdbac54a</guid>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[fullstack-development]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Tue, 15 Mar 2022 20:46:18 GMT</pubDate>
            <atom:updated>2022-03-15T20:48:15.123Z</atom:updated>
            <content:encoded><![CDATA[<p>While I develop apps for my team at work, I am learning something new everyday. I will be adding the mini tips and tricks learnt while creating and debugging my application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3SX1HtqhVcLWMOMAHLW7zA.png" /></figure><p><strong>TRICK 1 — Passing a list as context to the template instead of a dictionary</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PbUrl2pQNS3C0P9z5_XAvA.png" /></figure><p>Template:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r6yCV-wADtJAEn1dInhrUw.png" /></figure><p><strong>TRICK 2 — Accessing the elements of a query set</strong></p><p>Suppose we have a model called Employee with fields called name, age, start_date. This is how I would loop through the rows of the query set in a function in views.py:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*va9RF2YC1UMRmQNC88Z4_A.png" /></figure><p><strong>TRICK 3 — Combining Date and Time in Python</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UrQ-mebNTyEria9SKAdkpg.png" /></figure><p><strong>TRICK 4 — Adding hours to current datetime</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7anGhScVh3L9sUnLf_evqg.png" /></figure><p>If you found this article helpful, please clap. Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb37fdbac54a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Would you manually populate Django tables?]]></title>
            <link>https://medium.com/@garimaaggarwal55/would-you-manually-populate-django-tables-e3485e639538?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3485e639538</guid>
            <category><![CDATA[fixtures]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[fullstack-development]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Sun, 09 Jan 2022 17:19:08 GMT</pubDate>
            <atom:updated>2022-01-09T17:19:08.533Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Would you manually enter thousands of records in Django tables or would you let Django do the work and sit back and have a cup of coffee? If you plan to use the latter - here is my experience with Django Fixtures.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DfAqNvDRrCFDr0BUAQw6WQ.png" /></figure><p>Django tables can be filled in using Django Admin portal or through shell. But instead of filling in the values manually, there is a smarter way to do it — Django Fixtures.</p><p><strong>Context</strong>: I have to create a dependent list for an application that I am developing at work. I already have the list of A’s and B’s that need to be given as options in the lists. I can use foreign keys to create the dependent lists, however, <em>I need to have pre populated tables to use foreign keys and filters for the same</em>. One way to do this is to manually enter all records in the Django tables. I would certainly not prefer that if I have thousands of options to give — for example in case of Countries and cities.</p><p><em>Can’t imagine myself manually entering each and every city in the db using Django Shell or Django Admin. So what can be done? Drum roll please: Django Fixtures.</em></p><h3><strong>What are Fixtures</strong></h3><p>A fixture is a collection of data that Django knows how to import into a database. Fixtures can be written as JSON, XML or YAML documents. Basically, they can be used to pre-populate the database with hard-coded data when the app is initially set up.</p><p><strong>Where to write a fixture</strong></p><p>Fixtures are basically .JSON or .XML files written in a folder called fixtures. <strong>This fixtures solder should be present inside the app folder.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6jqHUS_Cihw3gyd1-ElC5g.png" /></figure><h3><strong>Example</strong></h3><p>Let’s say we have two models defined as follows:</p><p><strong>Model Country</strong></p><p><strong>Model City</strong></p><p>(Tabs don’t work in Medium hence, the format without tabs here😭)</p><pre><strong>class Country(models.Model):</strong></pre><pre><strong>name = models.CharField(max_length=200)</strong></pre><pre><strong>class City(models.Model):</strong></pre><pre><strong>cityName = models.CharField(max_length=200)</strong></pre><pre><strong>countryName = models.ForeignKey(cityName)</strong></pre><p>To save data in Country table, create a fixture: Country.json</p><pre><strong>[</strong></pre><pre><strong>{</strong></pre><pre><strong>&quot;model&quot;: &quot;myapp.Country&quot;,</strong></pre><pre><strong>&quot;pk&quot;: 1,</strong></pre><pre><strong>&quot;fields&quot;: {</strong></pre><pre><strong>&quot;name&quot;: &quot;India&quot;,</strong></pre><pre><strong>}</strong></pre><pre><strong>},</strong></pre><pre><strong>{</strong></pre><pre><strong>&quot;model&quot;: &quot;myapp.Country&quot;,</strong></pre><pre><strong>&quot;pk&quot;: 2,</strong></pre><pre><strong>&quot;fields&quot;: {</strong></pre><pre><strong>“name&quot;: &quot;Canada&quot;</strong></pre><pre><strong>}</strong></pre><pre><strong>}</strong></pre><pre><strong>]</strong></pre><p>Now Fixture for City model can be created as follows.<strong> The City model has the foreign key:</strong></p><pre><strong>[</strong></pre><pre><strong>{</strong></pre><pre><strong>&quot;model&quot;: &quot;myapp.City&quot;,</strong></pre><pre><strong>&quot;fields&quot;: {</strong></pre><pre><strong>&quot;cityName&quot;: &quot;New Delhi&quot;,</strong></pre><pre><strong>“countryName”:1</strong></pre><pre><strong>}</strong></pre><pre><strong>},</strong></pre><pre><strong>{</strong></pre><pre><strong>&quot;model&quot;: &quot;myapp.City&quot;,</strong></pre><pre><strong>&quot;fields&quot;: {</strong></pre><pre><strong>&quot;cityName&quot;: &quot;Toronto&quot;,</strong></pre><pre><strong>“countryName”:2</strong></pre><pre><strong>}</strong></pre><pre><strong>}</strong></pre><pre><strong>]</strong></pre><p><strong>The countryName is a foreign key. In the City model it’s value is given as the Primary key of the country set in the Country model.</strong></p><h3><strong>Some issues encountered:</strong></h3><p><strong>a) Issue with the foreign key: Important things to note here: I am explicitly giving primary key (pk) values. This is because when defining fixture for City model, we need to link the foreign key. It will only take in numbers and not the string for linking the Foreign Key fields. We will use this pk to link both tables.</strong></p><p><strong>b) Tip: Data may not be readily available in the form of JSON. As in my case, data was present in a CSV format.By looping through all the data points, I created a dictionary with suitable key and value pairs and dumped it as a JSON file.</strong></p><h3><strong>Run the following command in cmd to run the fixtures</strong></h3><pre><a href="https://docs.djangoproject.com/en/4.0/ref/django-admin/#django-admin-loaddata"><strong>manage.py loaddata</strong></a><strong> &lt;fixturename&gt;</strong></pre><p>If you found this article helpful, please clap. Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3485e639538" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cheat Sheet for a HardHat React Dapp]]></title>
            <link>https://medium.com/@garimaaggarwal55/cheat-sheet-for-a-hardhat-react-dapp-a9c4955d37f5?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9c4955d37f5</guid>
            <category><![CDATA[cheatsheet]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[hard-hat]]></category>
            <category><![CDATA[dapps]]></category>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Fri, 31 Dec 2021 20:34:48 GMT</pubDate>
            <atom:updated>2021-12-31T20:37:43.476Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a cheat sheet for working with a simple react based decentralized application created in Hard hat framework.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VPGBZ98gUYgNqBktz1eFMA.png" /></figure><p>I have written the boiler plate code for creating a Dapp based in React using the <a href="https://hardhat.org/">Hardhat</a> framework.I have largely followed the <a href="https://www.youtube.com/watch?v=a0osIaAOFSE">tutorial by Nader Debit</a> and documentation.</p><p>The code can be found here:</p><p><a href="https://github.com/Garima5/hardhat-reactdapp-boilerplate">GitHub - Garima5/hardhat-reactdapp-boilerplate: Boiler plate code for react Dapp using Hardhat</a></p><p>To work with the boiler plate code:</p><ol><li>Clone the repository mentioned above</li></ol><pre>git clone <a href="https://github.com/Garima5/hardhat-reactdapp-boilerplate">https://github.com/Garima5/hardhat-reactdapp-boilerplate</a></pre><p>2. I have already created the React App. You should — cd into the cloned repository.</p><p>3. We need to install the node modules in this project.</p><pre>npm install</pre><p>4. Now Install all dependencies:</p><pre>Npm install ethers hardhat @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers</pre><p>We will be using ethers library to connect to front end using Web3</p><p>5. I have already created a sample hardhat project for you. All the smart contracts go into the contracts folder. Greeter.sol is present in the contracts folder. When you add new smart contracts to the folder, make sure to update the scripts/deploy.js file. The new smart contract needs to be deployed in the same way as greeter has been called.</p><pre>const Greeter = await hre.ethers.getContractFactory(“Greeter”);</pre><pre>const greeter = await Greeter.deploy(“Hello, Hardhat!”);</pre><pre>await greeter.deployed();</pre><p>6. Also, note that after compiling, all artifacts go into the src/artifacts folder. I have added the configuration for that in the hardhat.config.js file. The network has also been configured already. For now, we will be working on localhost.</p><p>7. Make sure that you have metamask installed and signed in.</p><p>8. Now back to code, Open the terminal. To compile the smart contracts</p><pre>npx hardhat compile</pre><p>9. Hardhat provides us with a local node which can be accessed as:</p><pre>npx harhat node</pre><p>10. The contract can be deployed using:</p><pre>npx hardhat run scripts/deploy.js --network localhost</pre><p>11. You will get a message saying that your smart contract has been deployed to &lt;address&gt;</p><p>12. Copy that address and in src/App.js, update the value of the variable greeterAddress</p><pre>const greeterAddress = ‘Add the address here’</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F5t20H3tq99Y1DYFuEX%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fpbskids-saw-building-5t20H3tq99Y1DYFuEX&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2F5t20H3tq99Y1DYFuEX%2Fgiphy.gif%3Fcid%3D790b76118b67ffa32e166d9d8595f939b20c8e2c86df8c3b%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/7c0f00c3718adfa9d76e38669f8b6f93/href">https://medium.com/media/7c0f00c3718adfa9d76e38669f8b6f93/href</a></iframe><p>14. Testing that the Greeter app is working:</p><p>a) Go to Metamask extension on chrome</p><p>b) Choose localhost</p><p>c) Import accounts using private keys displayed in step 9</p><p>15. Connecting the Front End:</p><p>a) All the code to be rendered on the front end goes into the App.js file</p><p>b) Run the command :</p><pre>npm start</pre><p>c) The app should render in the browser as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9AKd9-y6PX4j5k-nwrLhfw.png" /></figure><p>d)Now in the browser’s console, you should see the greeting when the fetch Greeting button is clicked.</p><p>16) To set a new greeting,import a new account in Metamask. Make sure that the account is connected. Now set the greeting in the input field. Metamask will ask us to confirm the transaction. Now if you check the greeting again, it should show you the updated value.</p><p><em>I hope this was helpful. This article may not be apt for complete beginners but maybe used as a quick look up for creating #Dapps using React and Hard hat</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9c4955d37f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the Entropyfi definition]]></title>
            <link>https://medium.com/@garimaaggarwal55/understanding-the-entropyfi-definition-2aece491041f?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/2aece491041f</guid>
            <category><![CDATA[btc]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[entropyfi]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Wed, 08 Sep 2021 06:18:54 GMT</pubDate>
            <atom:updated>2021-09-08T06:18:54.165Z</atom:updated>
            <content:encoded><![CDATA[<p>While I was cruising through the world of DeFi, I stumbled upon the lossless predictive market concept, which I have explained <a href="https://medium.com/@garimaaggarwal55/when-the-prediction-market-is-lossless-c8993be8748d">here</a>. Entropyfi is a “lossless, decentralized, offchain, gamified” prediction market on crypto-assets, NFTs, DeFi indexes and other on/ off- chain assets. It seems like a lot of fancy words have been sewn into one sentence. So let’s debunk them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AsnPRk2qmane0JkQJ5psBw.png" /></figure><h3><strong>Lossless</strong></h3><p>Entropyfi leverages the AAVE platform to generate interest on the deposited principal. This interest is distributed as a reward to winners and for the others, their principal is not lost, as explained in my <a href="https://medium.com/@garimaaggarwal55/have-you-heard-of-the-lossless-prediction-market-27f6f08f6ba9">last post</a>.</p><h3><strong>Decentralized</strong></h3><p>Entropyfi is based over Ethereum blockchain, needless to say it inherit’s Ethereum’s decentralized nature. All transactions are transparent. There is no bookie in the game. All the reward money is distributed among the winners.</p><h3>Gamified</h3><p>People who are new to predictive markets can learn to speculate prices in a game like fashion on Entropyfi. Since no principal is lost, they can participate without worrying. It can also be used by veterans to sharpen their skills.</p><h3>Prediction Market</h3><p>Using probability, beliefs and past market scenarios, we speculate unforeseen event results on these platforms.</p><h3>NFT</h3><p>The latest buzzword these days, a non-fungible token is a unit of data stored on blockchain which certifies the digital asset to be unique and therefore not interchangeable. Some of the items that can be represented as NFTs are images, videos, audio and others.</p><h3>Defi Indexes</h3><p>DeFi indexes are baskets of Defi tokens that allow investors to buy single tokens. They allow investors to trade in and out of Defi efficiently and affordably.</p><h3>On/ Off Chain Assets</h3><p>An on-chain transaction occurs when the transaction occurs on a public ledger and is reflected on the blockchain. These transactions need to be validated, authenticated, recorded in a suitable block and broadcasted to the whole blockchain network, thus deeming them irreversible.</p><p>Off-chain transactions are the transactions dealing with the values outside the blockchain and can be carried out using different number of methods. They use a code based payment mechanism. Participants purchase redeemable code to exchange with crypto assets. Two parties can exchange even their private keys involving a secure amount of cryptoassets. It will never leave the wallet but the currency receives a new owner off the blockchain.</p><p>Please clap and follow if you like to see more articles from me!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2aece491041f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When the Prediction Market is Lossless]]></title>
            <link>https://medium.com/@garimaaggarwal55/when-the-prediction-market-is-lossless-c8993be8748d?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8993be8748d</guid>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Thu, 19 Aug 2021 22:08:05 GMT</pubDate>
            <atom:updated>2021-08-19T22:08:05.622Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A prediction market is a market which has been designed to make predictions. In other words, we use probability, our beliefs and past market scenarios to speculate the unforeseen future.</em></p><p>Let me use the World Cup as an example:</p><p>How to calculate bet odds?</p><p>Suppose me and my friend are making a bet on predicting which team would win the World Cup, given that we know the finalists. Now this is unforeseen, however, we can make our bets based on some factors like past performance of players, their training regimes, past matches that the two teams have competed against each other, what other people’s bets, etc.</p><p>What are the rules?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IZ_BqRZgRguIWL0S" /></figure><p>We are at a small party. A bookie started a game with a joining fee of $1, promising to buy each winner a $2 ice cream. The bookie collected $20. Let’s say after the world cup finals, 7 people had guessed the winning team accurately. They are rewarded with their ice creams. The bookie makes a profit of $20 — $14 = $7.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1zgrr2UIoVOL3BI4" /></figure><p>The bookie and 7 winners are happy. However, the remaining 13 people that lost the game are sad because they not only lost the game but also $1. This is the major downside with traditional prediction markets. The losing party loses their principal.</p><p>When the prediction market is lossless</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GNPjcx43WXRZEq5j" /></figure><p>Why do losers have to lose money? With the same decision making process and slight change of rules, we would not lose our principal by making an incorrect prediction. In the <a href="https://www.entropyfi.com/">lossless prediction market</a>, DeFi protocols like <a href="https://aave.com/">AAVE</a> can be used to generate interest using the deposited principal amount from all the participants. The winners take the interest generated from all participants as the reward at the end of the prediction. The deposited principal remains untouched.</p><p>This lossless concept benefits everybody. Whether you are a beginner, hodler, market speculator, someone that got liquidated, or a sore loser :P It’s for anyone that is not willing to take risks but loves amplifying yields with prediction skills.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8993be8748d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Have You Heard of the Lossless Prediction Market?]]></title>
            <link>https://medium.com/@garimaaggarwal55/have-you-heard-of-the-lossless-prediction-market-27f6f08f6ba9?source=rss-3d3eb410f1ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/27f6f08f6ba9</guid>
            <dc:creator><![CDATA[Garima Aggarwal]]></dc:creator>
            <pubDate>Fri, 13 Aug 2021 07:19:16 GMT</pubDate>
            <atom:updated>2021-08-13T07:19:16.934Z</atom:updated>
            <content:encoded><![CDATA[<p>#predictionmarket #crypto #btc #defi #aave #entropyfi</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BRE612zaV2_eOEAYRJUFGA.png" /></figure><p>With all the information flowing in the DeFi community, I stumbled upon this article “<a href="https://medium.com/entropyfi/decentralized-lossless-prediction-market-what-makes-entropyfi-lossless-58b8342d3f50">What Makes Entropyfi Prediction Market Lossless</a>” from a Twitter post. I had never participated in the traditional predictive markets because I am not keen on the fact that these predictive markets make me susceptible to losing my principal in case of defeat.</p><p>Entropyfi changed my mind, because unlike the traditional prediction market, Entropyfi is completely lossless. I am sold on the fact that I don’t need to be sad and pay when losing in a prediction market.</p><p>I am writing today because I have done research and see value in Entropyfi, and I suggest to dyor. The community (<a href="https://t.me/entropyfi">Telegram</a>) is super friendly when answering my questions, and they explained to me the logic behind the game. It leverages the features of <a href="https://aave.com/">AAVE DeFi protocol</a>, which in itself is built on the pillars of trust, and I personally also invest in it.</p><p><em>When it Makes Sense, it Makes Money</em></p><p>I took a deeper dive into the platform to understand what makes the platform lossless and realize this lossless concept makes so much sense. The deposited principal from all the players is only used to generate the interest on <a href="https://aave.com/">AAVE DeFi protocol</a>, and the winners take all the interest generated from the whole game, including sponsors and players that didn’t win.</p><p>Other than that, Entropyfi has a compound feature for us to automatically play the next rounds, and cash out anytime.</p><p>Entropyfi is testnet now, the team makes adjustments everyday so it might look a little different. This is the interface of the platform as now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDtrsBEr8fChjceS_UkPbA.png" /><figcaption>Entropyfi interface</figcaption></figure><p>Please clap and follow if you like to see more articles from me!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27f6f08f6ba9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>