<?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 Nashwa Tariq on Medium]]></title>
        <description><![CDATA[Stories by Nashwa Tariq on Medium]]></description>
        <link>https://medium.com/@nashwaay?source=rss-6ea5b75b0b10------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*k7I4aDY43tSuDo1X</url>
            <title>Stories by Nashwa Tariq on Medium</title>
            <link>https://medium.com/@nashwaay?source=rss-6ea5b75b0b10------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 00:14:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nashwaay/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[From Code to Connections: How AI is Leveling Up Our Parenting Game with Storytelling]]></title>
            <link>https://nashwaay.medium.com/from-code-to-connections-how-ai-is-leveling-up-our-parenting-game-with-storytelling-84821a26ccae?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/84821a26ccae</guid>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[parenting]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Fri, 29 Aug 2025 20:26:08 GMT</pubDate>
            <atom:updated>2025-08-29T20:26:08.674Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey fellow tech-parent warriors! 🚀</p><p>As a software engineer and a mom of two energetic little humans, my life often feels like a beautifully chaotic merge request — constantly trying to integrate the demands of a high-stakes career with infinitely more rewarding responsibility of raising tiny humans. We’re all about screen-free quality time, muddy knees from outdoor play, and the unparalleled joy of LEGO builds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Rzeh_vCPYvNx3q_ed_KYA.png" /><figcaption>Lost in LEGO World</figcaption></figure><p>But let’s be real, while we’re championing traditional play, we also live in a world where “AI” isn’t just a buzzword in our stand-up meetings, it’s becoming an integral part of life. And as much as I advocate for riding a bicycle over swiping a screen, I also believe in gently introducing our kids to the tech revolution that’s shaping their future.</p><p>So, how do we bridge this gap? Enter our new favorite family activity: <a href="https://gemini.google.com/gem/storybook"><strong>Gemini Storybook</strong></a><strong>!</strong> 📖✨</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4HYGlkpv-dEXtPI0_hyPfg.png" /><figcaption>Sign In to Gemini to use the Storybook Gem</figcaption></figure><p>It’s super simple to use and helps you if you’re not sure on what to craft, with options to pick from and boosts your brainstorming:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*SjWGeMfEDZtgnrzLtVIpEQ.png" /></figure><p>Forget the days of trying to explain why math isn’t just about counting candy (though that’s a good starting point!) or making spellings “fun” …we’ve all been there. My seven year old thinks Nintendo is the ultimate playtime, and anything that <em>doesn’t</em> involve a controller is automatically “boring.” My daughter is in gymnastics mode the whole day and is on the mission to learn an ‘aerial’. (Send help!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EHejfJubg3VLQPJLknYv0w.png" /><figcaption>Glimpse 1/2: Leo’s Pixel Power-Up</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SOA_cqBX71aaymsxuh33UQ.png" /><figcaption>Glimpse 2/2: Piper’s Perfect Flip</figcaption></figure><p>This is where Gemini Storybook has been an absolute game-changer. It’s like having an on-demand storyteller right in our living room — without, crucially, adding more passive screen time. We’ve been daily picking one storybook each. The kids get to pick the art style (from whimsical watercolors to pixel art vibes!), the theme and they’ve also been enjoying listen the story feature.</p><p>We’ve explored different concepts from the importance of sharing with a grumpy bear who learns to be kind, to understanding why it’s okay to feel sad sometimes, all wrapped up in engaging narratives. It’s mind-blowing how well it adapts complex topics into age-appropriate, non-preachy tales.</p><p>Of course, nothing will ever replace the sheer joy of snuggling up with a classic <a href="https://mrmen.com/"><em>Mr. Men</em></a> or completing our <a href="https://judymoody.com/"><em>Judy Moody</em></a><em> </em>collection. The turning of physical pages, the shared giggles — that’s irreplaceable. But Gemini Storybook isn’t about replacing; it’s about <em>enhancing</em>. It’s about creating new, meaningful connections and carving out unique quality time.</p><p>Lol like they say, “Parenting is a series of trying to figure out how to make kids do things they don’t want to do, and then trying to figure out how to make them stop doing the things they <em>do</em> want to do.” And if AI can help us navigate some of those “don’t want to do” moments with connection and a custom story, I’m all in!</p><p>So next time you’re wondering how to explain a tricky concept or just want to add a fresh twist to story time, give <a href="https://gemini.google.com/gem/storybook">Gemini Storybook</a> by <a href="https://medium.com/u/be36e94a7e47">Google</a> a try. Who knows, you might just find your new favorite family tradition!</p><p>P.S: to connect more on our fun parenting moments check <a href="https://www.instagram.com/hiworkingmama/">hiworkingmama</a> on Instagram, happy reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84821a26ccae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[  Vibe Coding 101]]></title>
            <link>https://nashwaay.medium.com/vibe-coding-101-8ddf42258de7?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ddf42258de7</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Tue, 15 Apr 2025 05:51:20 GMT</pubDate>
            <atom:updated>2025-04-15T05:51:20.449Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, Andrej Karpathy dropped a tweet about a new kind of workflow <strong>“vibe coding” </strong>which has became an engineering buzz:</p><blockquote><em>“…I just see stuff, say stuff, run stuff, and copy paste stuff, and it mostly works.” — </em><a href="https://twitter.com/karpathy?lang=ta"><em>@karpathy</em></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zgQqYW1uv48X89mVvWKaXQ.png" /><figcaption>Vibe Coding 101</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fcjgWj83E6iayjU3fuJVKw.png" /><figcaption>Vibe Coding Storm</figcaption></figure><h3>But Let’s Zoom Out for a Moment</h3><p>Whether you call it vibe coding, flow state, or just “weekend hacking,” it’s important to remember:</p><blockquote><strong><em>coding !== programming</em></strong></blockquote><ul><li><strong>Coding</strong> is what gets typed into the editor.</li><li><strong>Programming</strong> is thinking, structuring, testing, and iterating with purpose.</li></ul><p>Programming includes science and art, debugging intelligently, designing maintainable systems, choosing the right abstractions, and knowing when something is duct tape vs production-worthy. Vibe coding might get you an MVP. Programming helps it scale.</p><h3>Right Tools, Right Mindset</h3><p>Vibe coding isn’t about being lazy — it’s about using tools creatively. Whether you’re pasting LLM prompts or writing pure TypeScript, <strong>what matters is the intent and the context.</strong></p><p>The key is <strong>using the right tool for the job</strong> to ensure boost in real-time, popular examples currently include Bolt Firebase Studio or Windsurf.</p><h3>TL;DR (“too long; didn’t read”)</h3><ul><li>Vibe coding is real, and Karpathy gave it a name.</li><li>It’s fun, fast, and yes, kind of insane — and effective.</li><li>But don’t confuse it with solid programming principles.</li><li>Use your tools wisely — whether it’s AI or a blank code file.</li><li>Build fast, but build smart.</li></ul><p>Do you feel it is the future of creating or a risky shortcut? Feel free to share your thoughts.</p><p>Find out more from popular sources:</p><ul><li><a href="https://addyo.substack.com/p/vibe-coding-revolution-or-reckless">Vibe Coding: Revolution or Reckless Abandon?</a></li><li><a href="https://simonwillison.net/2025/Mar/19/vibe-coding/">Not all AI-assisted programming is vibe coding (but vibe coding rocks)</a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTw18-4U7mts%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTw18-4U7mts&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTw18-4U7mts%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f1740eb50c77f880c4fc6a6cabc032c/href">https://medium.com/media/0f1740eb50c77f880c4fc6a6cabc032c/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ddf42258de7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons from Angular: The Documentary | An origin story]]></title>
            <link>https://nashwaay.medium.com/lessons-from-angular-the-documentary-an-origin-story-e69104dd1121?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/e69104dd1121</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[updates]]></category>
            <category><![CDATA[documentary]]></category>
            <category><![CDATA[angularjs]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 14:45:17 GMT</pubDate>
            <atom:updated>2025-02-22T14:45:17.066Z</atom:updated>
            <content:encoded><![CDATA[<p>As an Angular developer who stepped in during Angular 9, watching <a href="https://www.youtube.com/watch?v=cRC9DlH45lA"><em>Angular: The Documentary</em></a><em> </em>by <a href="https://www.youtube.com/@Honeypotio">Honeypot</a> was an eye-opener. It gave me a deep appreciation for all the people who played a part in shaping Angular into what it is today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kvHDUFIJbLF5EdXf.png" /><figcaption><a href="https://www.youtube.com/watch?v=cRC9DlH45lA">https://www.youtube.com/watch?v=cRC9DlH45lA</a></figcaption></figure><p>What stood out the most was hearing <a href="https://www.linkedin.com/in/misko-hevery-3883b1/">Miško Hevery</a> and <a href="https://www.linkedin.com/in/igorminar/">Igor Minar</a> share how it all started — their journey, challenges, and the emotional rollercoaster along the way. It was amazing to know how <a href="https://www.linkedin.com/in/bradlykgreen/">Brad Green</a> supported Miško by funding his startup and bringing in a small team of three developers. Their determination, even in the face of tough decisions and pressure, truly shaped the Angular we know today.</p><p>Here are some key takeaways that will stay with me as a software developer:</p><h3>* Defining your Solution:</h3><p>To stand out, it’s crucial to highlight the core of your product. For Angular, that innovation was simplifying data marshalling by adding extra vocabulary to HTML. This made it easier for developers and set the framework apart, becoming the key to Angular’s success.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qwm2yN4M8j2qcRTTdIwcIg.png" /><figcaption>The infamous reverse in action with HTML only via Angular</figcaption></figure><h3>* Connect With People Who Inspire You:</h3><p>If you’re passionate about something, reach out to those who inspire you. <a href="https://www.linkedin.com/in/aaronfrost/">Aaron Frost</a> did just that — he connected with Brad, Miško and Igor, shared his idea and collaborated to bring the conference to life, showcasing the power of networking and shared passion.</p><h3>* Overcoming Setbacks:</h3><p>Initially, AngularJS might not have the value and appreciation from other Google teams (like Gmail and Google Maps), but it grew into a powerful JavaScript framework. The key lesson here is perseverance despite early rejection, and the importance of refining and evolving an idea even when it’s not immediately embraced.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6LNAlNA9-FH2DqmR1vMWIQ.jpeg" /><figcaption>“yeah, this is a good toy, hope that works for you…”</figcaption></figure><h3>* Confidence in Action:</h3><p>Confidence in your abilities and belief in your project are key to success. Brad Green recalled Miško’s boast: “I can rebuild the whole thing in two weeks with this little side project I have”.</p><h3>* Embracing Mistakes: Learning and Growing as a Developer</h3><p>As a developer, you can deliver your best within the given constraints and capacity, but bumps and failures are inevitable. What matters most is analyzing those setbacks and continuously improving. Angular’s journey is filled with ups and downs, but the team’s ability to learn, adapt, and iterate made all the difference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yv8tXkMBuhrh-Imfty94LA.jpeg" /><figcaption>Never give up…</figcaption></figure><h3>* Radical Overhauls Require Community Buy-in:</h3><p>The radical shift from AngularJS to Angular 2 resulted in a major community backlash. This shows that drastic changes to frameworks or tools can risk alienating users. Balancing innovation with backward compatibility and community feedback is crucial.</p><h3>* Adapting to Change Without Breaking:</h3><p>After the transition from AngularJS, Angular’s development was focused on restoring confidence, which led to multiple improvements (Ivy, Signals, Wiz). The lesson here is that any framework or software needs to adapt to changing demands and technology without breaking the past. This iterative approach of evolving over time builds stability and trust.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7EDInVZBSg99UTDDQS4pjA.jpeg" /><figcaption>Moving forward with backward compatibility</figcaption></figure><h3>* Community-Centric Development:</h3><p>Angular’s comeback wasn’t just about code; it was about community involvement and developer experience. Open-source projects thrive when the community is not only heard but actively engaged in the development process.</p><h3>* Innovation is Key to Staying Relevant:</h3><p>Angular’s commitment to staying on the cutting edge of JavaScript frameworks, such as with the Ivy renderer or the exploration of new concepts like Signals, demonstrates how consistent innovation is necessary to maintain relevance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4YetVIwTNuRozSl9iElSgA.jpeg" /><figcaption>stay curious and keep innovating</figcaption></figure><h3>* Reversibility — Nothing is Permanent</h3><p>The nature of software requires update with the evolving time and requirements. Rewriting the whole framework in Dart, shifting from JavaScript to TypeScript, things initially might have felt bad and challenging but ultimately helped shape Angular into the powerful framework it is today.</p><h3>* Patience and Long-Term Vision:</h3><p>The shift from a perceived failure to a major player in the JavaScript ecosystem shows that long-term vision is key. Quick wins don’t always define the success of a project — it’s the sustained effort and the patience to make gradual improvements that ultimately lead to lasting influence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pv4kC7q4KZMY9y24OgZ2rg.jpeg" /><figcaption>stay true to your vision</figcaption></figure><h3>* The Power of a Strong Core Team:</h3><p>Building a successful project goes beyond just having a great idea — it’s about the people who bring that idea to life. The documentary highlights how a strong core team and their collaboration with the broader developer community fostered Angular’s revival and is the key aspect of its continued success.</p><h3>* Embracing Diverse Perspectives:</h3><p>The documentary includes a wide variety of contributors, each bringing unique perspectives and expertise to Angular’s development. This diversity of thought helped drive Angular’s success and is a critical lesson for all projects — the inclusion of different voices fosters innovation and keeps solutions adaptable to various needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RuzU9jii5m076sJZ7DZg1g.jpeg" /><figcaption>diversity adds beauty…</figcaption></figure><p>The documentary not only highlights the technical evolution of Angular but also brings to light the human energy and passion behind it. It’s a reminder of the power of collaboration, perseverance, and community in building something that lasts. Angular’s story is more than just code — it’s a testament to the people who’ve continuously pushed the boundaries of what’s possible in the world of web development.</p><p>Did you watch the story yet? What are your favourite take aways from it?</p><p>Also, check out ‘<a href="https://houseofangular.io/the-ultimate-guide-to-angular-evolution/">The Ultimate Guide to Angular Evolution</a>’ by House of Angular to see the code aspect in action.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e69104dd1121" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the Hype: Uncovering Hidden Gems in the AI Tool Landscape]]></title>
            <link>https://nashwaay.medium.com/beyond-the-hype-uncovering-hidden-gems-in-the-ai-tool-landscape-08657a75e8c5?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/08657a75e8c5</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Wed, 13 Nov 2024 19:06:26 GMT</pubDate>
            <atom:updated>2024-11-13T19:06:26.924Z</atom:updated>
            <content:encoded><![CDATA[<p>While AI existed before ChatGPT too, it has revolutionized and introduced the majority of people to the wonders of AI.</p><blockquote>Just as LEGO dominates our perception of building bricks, Pampers has become synonymous with the whole category of diapers, ChatGPT has overshadowed a vast landscape of powerful AI tools.</blockquote><p>While it’s undoubtedly powerful and versatile, it’s not a one-size-fits-all solution, relying solely on the most popular tool can be like sticking to a single brand — you miss out on the richness and diversity of the market.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oHaXw7Pm_OFGyrqra55R1A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@googledeepmind?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Google DeepMind</a> on <a href="https://unsplash.com/photos/a-crystal-vase-with-pink-flowers-in-it-Oy2yXvl1WLg?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><p>Here is a list of tools exploring the rapidly evolving AI landscape with their efficiency and creativity:</p><p><a href="https://gemini.google.com/"><strong>Gemini</strong></a> — Google’s conversational AI chatbot to boost your creativity and productivity with complete AI kit for developers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C97yL5wk4A3qb2yAsWhBrQ.png" /></figure><p>Few Use Cases:</p><ul><li>Translating languages</li><li>Using audio to chat (when you are too lazy to even write your prompt?)</li><li>Generating content with flexibility of altering responses in an easy way</li><li>Whole world of possibilities for developers: <a href="https://ai.google.dev/">https://ai.google.dev/</a></li></ul><p>If you’re a developer, check <a href="https://ai.google.dev/gemini-api/cookbook">Gemini API Cookbook</a>, <a href="https://ai.google.dev/gemini-api/prompts">prompts gallery</a> or <a href="https://cloud.google.com/products/ai?_gl=1*bqlgdk*_up*MQ..&amp;gclid=Cj0KCQiA88a5BhDPARIsAFj595g-lR_AvTyInSc1NQYE6qXo2vkZXkCjiqgJDPh-KDwWyKzQ6DjgfjsaAmDwEALw_wcB&amp;gclsrc=aw.ds">AI &amp; ML products by Google</a> to help you in your AI journey with Gemini.</p><p><a href="https://notebooklm.google/"><strong>NotebookLM</strong></a><strong> </strong>— Your personalized AI research assistant</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sMl8WZDgiiX0EO5sKep6Gw.png" /></figure><p>Few Use Cases:</p><ul><li>Upload documents, summarize, and ask questions</li><li>Analyze research papers and generate insights</li><li>Create study guides, summarize textbooks, and answer questions</li><li>Draft emails, write reports, and brainstorm ideas</li></ul><p><a href="https://www.adobe.com/products/photoshop.html"><strong>Photoshop AI</strong></a><strong> </strong>— Visualize your imagination at your finger tips with instant edits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UOSDu9ZWGlbshJtSDJD_PA.png" /></figure><p>Few Use Cases:</p><ul><li>Combine images and declutter distractions</li><li>Find fonts faster and easily format lists</li><li>Extend images that blend perfectly in the scene</li></ul><p><a href="https://www.adobe.com/express/create/logo"><strong>Adobe Express Logo Maker</strong></a> — Generate logos for free!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J0u48VWDcYMtIcSgjz5PFg.png" /></figure><p><a href="https://runwayml.com/"><strong>Runway</strong></a> — Advancing creativity with artificial intelligence for next era of art.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xk5kC7qAAyJcnA5FtFZPlg.png" /></figure><p>Few Use Cases:</p><ul><li>Explore endless variations</li><li>Change your location</li><li>Tweak the lighting</li><li>Generate in endless styles and characters</li></ul><p><a href="https://www.perplexity.ai/"><strong>Perplexity</strong></a> — free AI-powered answer engine that provides real-time answers to any question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*holzsuk5QhFrNmGQGTwEWw.png" /></figure><p>Few Use Cases:</p><ul><li>Search responses focused on any specific category</li><li>Discover real time news and updates</li></ul><p><a href="https://textfx.withgoogle.com/"><strong>TextFX </strong></a>— AI tool for text manipulation and generation</p><p>Few Use Cases:</p><ul><li>build acronym</li><li>fuse words</li><li>generate a simile</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*ee7LCZJtSjwqBpH5" /></figure><p><a href="https://quillbot.com/"><strong>Quillbolt</strong></a> — Enhance your writing for personal or professional goals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-YUr5YaKOEQAsgNwzp_QyA.png" /></figure><p>Few Use Cases:</p><ul><li>Translator</li><li>Plagiarism Checker</li><li>Chrome extension</li></ul><p><a href="https://rytr.me/"><strong>Rytr</strong></a> —Craft high-quality content faster than ever before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gN_oCJci0KZhSNot3R37bg.png" /></figure><p>Few Use Cases:</p><ul><li>Auto-complete text</li><li>Blog generator</li><li>Keyword extractor</li><li>Ad generator</li></ul><p><a href="https://codeium.com/"><strong>Codeium</strong> </a>— your modern coding superpowers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DFjmX8YAHdsQ_QLDK1WRkg.png" /></figure><p>Try out their <a href="https://codeium.com/windsurf?utm_medium=socials&amp;utm_campaign=windsurf-launch&amp;ref=windsurf-launch">Windsurf</a> IDE just launched for powerful AI flow.</p><p>Few Use Cases:</p><ul><li>Autocomplete faster than your thought</li><li>Command in your IDE to write/edit code</li><li>Chat regarding your entire codebase, not just a specific file</li></ul><p><a href="https://bolt.new/"><strong>Bolt</strong></a><strong> </strong>— Enjoy crafting functional applications via prompts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PAJjB8Wdz5CgKu6yEqD5ag.png" /></figure><p>Few Use Cases:</p><ul><li>Quick start for your new project without writing a lot of code</li><li>Share demos instantly</li><li>Draft a blog or presentation</li></ul><p><a href="https://sql-talk-r5gdynozbq-uc.a.run.app/"><strong>SQL Talk with BigQuery </strong></a><strong>— </strong>AI-powered tool that allows users to interact with BigQuery using natural language</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lxAFJk7cVMI3uZYo8uFPHA.png" /></figure><p>Few Use Cases:</p><ul><li>Query data in BigQuery using natural language</li><li>Generate SQL queries from natural language descriptions</li><li>Explore data in BigQuery without writing SQL</li></ul><p><a href="https://githubnext.com/projects/github-spark"><strong>Github Spark </strong></a>— (coming soon) build and share micro apps aka sparks, without needing to write or deploy any code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qRvPqa1W7NhYDDnT754Z4w.png" /></figure><p><a href="https://huggingface.co/"><strong>Hugging Face</strong></a> — Create, discover and collaborate on machine learning better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TRPDdAZyeMn8F6e9WPtA9Q.png" /></figure><p>Few Use Cases:</p><ul><li>Host and collaborate on unlimited models</li><li>Share your work with the world</li><li>Scale with dedicated hardware</li></ul><p>This article is an attempt to uncovering some of the hidden gems to discover the unexpected potential of the AI world.</p><p><a href="https://www.aixploria.com/en/ultimate-list-ai/">Ultimate list of AI by AIXploria</a> will help you in picking the relevant one for your specific category.</p><p><a href="https://cloud.google.com/transform/101-real-world-generative-ai-use-cases-from-industry-leaders?_gl=1*1poxuhg*_up*MQ..&amp;gclid=Cj0KCQiA88a5BhDPARIsAFj595g-lR_AvTyInSc1NQYE6qXo2vkZXkCjiqgJDPh-KDwWyKzQ6DjgfjsaAmDwEALw_wcB&amp;gclsrc=aw.ds">185 real-world gen AI use cases from the world’s leading organizations</a> by <a href="https://www.linkedin.com/in/brhall/">Brian Hall </a>at Google has curated a beneficial list to catch up with the AI solutions.</p><p>Check out other <a href="https://zapier.com/blog/best-ai-productivity-tools/">AI productivity tools by Zapier</a> or <a href="https://buffer.com/resources/ai-writing-tools/">AI writing tools</a> by <a href="https://kirstilang.start.page/">Kristi Lang</a>.</p><p>Will you discover the uncharted territories of AI, where innovation and creativity flourish beyond the shadows of the popular giants? Feel free to share your main ones missing from the list.</p><p>Happy AI Times!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08657a75e8c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular Update — @let it go]]></title>
            <link>https://nashwaay.medium.com/angular-update-let-it-go-30c09b94632c?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/30c09b94632c</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[updates]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 14:30:00 GMT</pubDate>
            <atom:updated>2024-07-18T13:58:58.598Z</atom:updated>
            <content:encoded><![CDATA[<p>With v18.1 update in Angular, <a href="https://angular.dev/guide/templates/let-template-variables#referencing-the-value-of-let">@let</a> syntax is in developer preview. It helps in simplifying your template and minimizing duplicate expressions when it makes sense for your piece of code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YXxLufFpJmvgjQZEd9Nc9A.png" /></figure><p>@let variables can be reused anywhere in the component. The scope is current view and its descendants, not accessible by parent views or siblings:</p><pre>&lt;!-- Error: not hoisted --&gt;<br>@if (qty &lt; 0){<br>  &lt;a&gt;Notify&lt;/a&gt;<br>}<br><br>@let qty = toyItem.numberInStock;<br>&lt;p&gt;{{toy.name}} - <br>   &lt;span&gt;{{qty &gt; 0 ? &#39;Available&#39; : &#39;Out of Stock&#39;}}&lt;/span&gt;<br>&lt;/p&gt;</pre><p>Some interesting situations where @let declarations might be helpful in simplifying complex conditions for readability:</p><ul><li>Calculating values and classes:</li></ul><pre>@let qty = toyItem.numberInStock;<br>@let itemStatus = qty &gt; 0 ? &#39;Available&#39; : &#39;Out of Stock&#39;;<br>@let itemClass = {outOfStock: qty &lt; 0, lowInStock: qty &gt; 0 &amp;&amp; qty &lt; 5, inStock: qty &gt; 5}<br>&lt;p&gt;{{toy.name}} - <br>   &lt;span [class]=&quot;itemClass&quot;&gt;{{itemStatus}}&lt;/span&gt;<br>&lt;/p&gt;</pre><ul><li>Formatting values via pipes once in template:</li></ul><pre>@let unitPrice = toyItem.unitCost | number: &#39;1.0-2&#39;</pre><ul><li>Simplifying accessing nested attributes:</li></ul><pre>&lt;div&gt;{{toyItem.manufaturer.address.country}}&lt;/div&gt;<br><br>&lt;!-- VS --&gt;<br><br>@let address = toyItem.manufaturer.address.country;<br>&lt;div&gt;{{address}}&lt;/div&gt;</pre><ul><li>Narrowing of Signals:</li></ul><pre>@if(toyItem()){<br>  &lt;div&gt;{{toyItem()?.name}}&lt;/div&gt;<br>  &lt;div&gt;{{toyItem()?.price}}&lt;/div&gt;<br>}<br><br>&lt;!-- VS --&gt;<br><br>@let toy = toyItem();<br>@if(toy){<br>  &lt;div&gt;{{toy.name}}&lt;/div&gt;<br>  &lt;div&gt;{{toy.price}}&lt;/div&gt;<br>}</pre><p>Some queries that might be bubbling up in your mind:</p><ul><li>Can I redefine the template variable? No, can’t be re-assigned again but recomputed when Angular runs change detection.</li><li>Can I override the variable in nested scope? Yes.</li><li>Can I have the same variable name as a property declared in the component? Yes, the value of template will have higher precedence.</li><li>Is scope only defined by HTML elements and components? Structural directives like @if and @for block also create scope.</li></ul><p>Try declaring some <a href="https://stackblitz.com/edit/stackblitz-starters-zjqwtq?file=src%2Fapp%2Fsamples%2Flet-template-variables%2Flet-template-variables.component.html">template variables in stackblitz</a>.</p><p>Happy letting go!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30c09b94632c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular Update — @for vs *ngFor]]></title>
            <link>https://nashwaay.medium.com/angular-update-for-vs-ngfor-1bc23bae38f2?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bc23bae38f2</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[updates]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[trending]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 10:02:15 GMT</pubDate>
            <atom:updated>2024-07-17T10:22:47.889Z</atom:updated>
            <content:encoded><![CDATA[<h3>Angular Update — @for vs *ngFor</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTvxGX47BYbFd6cvmLz2jQ.png" /><figcaption>developer’s nightmare: infinite loop</figcaption></figure><p>So, what is the hype for being updated to <a href="https://angular.dev/api/core/@for#">@for block</a>? Look at the following features and facts to decide if you will be using them in your next loopy situation:</p><ul><li>Tired of using conditionals to render ‘no record found’ case? @for block comes with optional @empty block to automatically render when the list is empty 🎉</li></ul><pre>@for(toy of toys; track toy.id){<br>  &lt;li&gt;{{toy.name}}&lt;/li&gt;<br>} @empty{<br>  &lt;p&gt;No toys found for selected category&lt;/p&gt;<br>}</pre><ul><li>More contextual variables 🎉</li></ul><blockquote><em>$count</em> = number of items in a collection iterated over</blockquote><blockquote>$index= index of the current row</blockquote><blockquote>$first= whether the current row is the first row</blockquote><blockquote>$last= whether the current row is the last row</blockquote><blockquote>$even= whether the current row index is even</blockquote><blockquote>$odd= whether the current row index is odd</blockquote><pre>@for(toy of toys; track toy.id; let idx = $index; let even = $even){<br>  &lt;li [ngClass]=&quot;{&#39;highlight&#39;: even}&quot;&gt;{{idx+1}}. {{toy.name}}&lt;/li&gt;<br>}</pre><ul><li>Keep track —track is a required expression in @for block (which helps in improving performance by optimized change detection cycles in iterating over large collections)</li><li>Cleaner Syntax in Control Flow —simple syntax aiming to reduce boilerplate code making templates easier to read and maintain.</li></ul><p>Check out simple <a href="https://stackblitz.com/edit/stackblitz-starters-zjqwtq?file=src%2Fapp%2Fsamples%2Ffor-block%2Ffor-block.component.html,src%2Fapp%2Fsamples%2Ffor-block%2Ffor-block.component.ts,src%2Fmain.ts,src%2Fglobal_styles.css">sample code at stackblitz</a></p><p>Happy looping!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bc23bae38f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Radiating your Angular Code with Signals]]></title>
            <link>https://nashwaay.medium.com/radiating-your-angular-code-with-signals-23db8a57d64e?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/23db8a57d64e</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angular-signals]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Sun, 14 Jul 2024 21:00:06 GMT</pubDate>
            <atom:updated>2024-07-14T21:12:49.273Z</atom:updated>
            <content:encoded><![CDATA[<p>Just as your skin reacts and radiates the energy according to the environment and triggers, your code also reacts to changes and triggers based on the checks and user input. With ‘<a href="https://angular.dev/guide/signals">signals</a>’ buzzing around since quite a time in Angular (May 3, 2023 in v16 update as a developer preview), but gaining popularity and serious attention after continuous updates (v18 released on May 22, 2024), I decided to note down the things I’ve learned in the process.</p><p>A quick recap for signals via the lovely box example by <a href="https://www.linkedin.com/in/deborahkurata/">Deborah Kurata</a>.</p><blockquote>signal = value + change detection</blockquote><p>Think of signals as value inside a box. To access the value, you have to open the box via parentheses ()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gDub77609-k9VAFNWMDrfA.png" /><figcaption>variables vs signals</figcaption></figure><p>Signals provide more reactivity and give finer control over change detection. Note: accessing the signal has no side effect on other code.</p><p>How to create a signal?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9gAhAVV5PIzkgot-1w8-sg.png" /><figcaption>defining the signal</figcaption></figure><p>How to read a signal?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dPv5J8brt85QczX4a9znSQ.png" /><figcaption>accessing the value of signal</figcaption></figure><p>How to set a signal?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SqqQc9dMZmlMRJ1AoIHq6Q.png" /><figcaption>you are going to be overwritten</figcaption></figure><p>How to update a signal?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wNbj0_Co1kBvcVxbQrprfw.png" /><figcaption>you are going to be modified</figcaption></figure><p>What if I have a signal of object with nested properties and attributes? Simply, ‘mutate’ the signal:</p><pre>// For objects, when you want to mutate properties<br>this.selectedUser.mutate(user =&gt; user.userName = updatedUserName);</pre><p>Want to know when a signal got modified? Use ‘effect’ for logging:</p><pre>effect(() =&gt; {<br> const updatedUsername = this.selectedUser().userName;<br> console.log(`Hey ${updatedUsername}, your profile details are updated!`);<br>});</pre><p>So, can a signal depend upon another signal? Yes, a computed signal!(which is a read-only signal and gets re-computed whenever one or more of dependent signal gets updated)</p><pre>moisturizerType = computed(() =&gt; this.weather() + this.skinType());</pre><p>If you’ve been googling signals and bored of the repetitive counter example and want to explore more out of it, hopefully you’ve come across a good stop. Let’s see some fun and interesting situations to incorporate signals in your codebase:</p><ul><li>Make the Todo List Reactive — Illustrate the todo list as it grows and shrinks in real-time:</li></ul><pre>// define the signal<br>todos = signal&lt;string[]&gt;([<br>    &#39;Buy groceries&#39;,<br>    &#39;Dive into Angular updates&#39;,<br>    &#39;Read a book&#39;<br>    ]);<br><br>// log the events to see live in action<br> constructor() {<br>    effect(() =&gt; {<br>      console.log(&#39;Todos updated:&#39;, this.todos);<br>    });<br>  }<br><br>// update signals for addition<br>  addTodo(event: Event) {<br>    const input = event.target as HTMLInputElement;<br>    const newTodo = input.value.trim();<br>    if (newTodo) {<br>      this.todos.update(todos =&gt; [...todos, newTodo]);<br>      input.value = &#39;&#39;;<br>    }<br>  }<br><br>// update signals for subtraction<br>  removeTodo(index: number) {<br>    this.todos.update(todos =&gt; { <br>      let removedItem = todos.splice(index, 1);<br>      return todos;<br>    });<br>  }</pre><ul><li>Hello Infinite Scroll — Depict the load more feature with ease:</li></ul><pre>// define the signals<br>itemsList = signal&lt;Item[]&gt;([]);<br>isLoading = signal&lt;boolean&gt;(false);<br><br>// function to manage the loading state<br>async loadMoreItems() {<br>    this.loading.set(true);<br>    const newItems = await getItems();<br>    this.items.set([...this.items(), ...newItems]);<br>    this.loading.set(false);<br>}</pre><ul><li>Real Time Validations — For your next reactive form, validate the user input in real time and provide instant feedback:</li></ul><pre>// define the signal state for your reactive form<br>  userForm: FormGroup;<br>  usernameStatus = signal&lt;string&gt;(&#39;&#39;);<br><br>// bind to the trigger point<br>  constructor(private fb: FormBuilder) {<br>    this.userForm = this.fb.group({<br>      username: [&#39;&#39;, Validators.required]<br>    });<br><br>    this.userForm.get(&#39;username&#39;)!.valueChanges.subscribe(value =&gt; {<br>      this.validateUsername(value);<br>    });<br>  }<br><br>// validate and react<br>  async validateUsername(username: string) {<br>      const isUsernameAvailable = await validateUsername(username);<br>      this.usernameStatus.set(isUsernameAvailable ? &#39;Username is available&#39; : &#39;Username is taken&#39;);<br>  }</pre><ul><li>Real Time Collaboration State</li></ul><p>Whether it’s your chat app where you want to show ‘typing..’ or user state for a shared collaboration tool, or for another real-time search filter, signals will come handy in your code:</p><pre>// define the signal<br>isTyping = signal&lt;boolean&gt;(false);<br><br>// function to manage the typing state<br>onChatBoxFocusIn() {<br>    this.isTyping.set(true);<br>}<br><br>onChatBoxFocusOut(){<br>    this.isTyping.set(false);<br>}</pre><p>Hope you are excited to incorporate signals in your Angular project and using it as a mode of communication between your components.</p><p>Happy signaling!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23db8a57d64e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fly in Cloud Functions]]></title>
            <link>https://nashwaay.medium.com/fly-with-cloud-functions-cd19a471fb93?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd19a471fb93</guid>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[firebase-cloud-functions]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Tue, 31 May 2022 08:20:32 GMT</pubDate>
            <atom:updated>2022-05-31T09:30:32.996Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Why roam around when you were meant to stay high?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*06QMIPBO-eULlOkj2AyqtQ.png" /><figcaption>Fly in Firebase Cloud Functions</figcaption></figure><p>Cloud functions are powerful methods that give your apps <strong>secure</strong> and <strong>strong</strong> single point of change without the hassle of publishing or deploying your entire application again. You have the choice to write your cloud functions in <strong>JavaScript</strong> or <strong>TypeScript</strong>.</p><p>Useful scenarios for your application can be diverse, but typical cases where flying in the clouds would be helpful as shared in <a href="https://firebase.google.com/docs/functions/use-cases">official docs</a> are:</p><ul><li><a href="https://firebase.google.com/docs/functions/use-cases#notify_users_when_something_interesting_happens">Notify users when something interesting happens</a>.</li><li><a href="https://firebase.google.com/docs/functions/use-cases#perform_database_sanitization_and_maintenance">Perform database sanitization and maintenance</a>.</li><li><a href="https://firebase.google.com/docs/functions/use-cases#execute_intensive_tasks_in_the_cloud_instead_of_in_your_app">Execute intensive tasks in the cloud instead of in your app</a>.</li><li><a href="https://firebase.google.com/docs/functions/use-cases#integrate_with_third-party_services_and_apis">Integrate with third-party services and APIs</a>.</li></ul><p>We will look into an Angular project to demonstrate the process.</p><p><strong>Getting the Ingredients:</strong></p><p><em>Prerequisites:</em></p><ul><li><a href="https://nodejs.org/en/download/">node.js</a></li><li><a href="https://firebase.google.com/docs/cli">firebase-cli</a> :npm install -g firebase-tools</li><li><a href="https://code.visualstudio.com/download">VS Code</a> or your editor of choice</li></ul><p><em>Firebase Project:</em><br>If it’s an existing project, you can skip this step. Otherwise <a href="https://console.firebase.google.com/">firebase console</a> offers a friendly and easy way to setup your project.</p><p><em>Bind Cloud Firestore with Angular Project:</em><br>If your project is already using firebase power, make sure to validate functions are initialized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/404/1*LFYFd_S3J-40vZlQg4cgMg.jpeg" /></figure><p>Otherwise, run the following commands to get it initialized for your project:</p><ul><li>firebase login</li><li>firebase init firestore</li><li>firebase init functions</li><li>npm install</li></ul><p>If the commands were successful, your project structure should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*ZPyjJ6v0GJF_nuTEDfeOJQ.png" /><figcaption>Reference: <a href="https://firebase.google.com/docs/functions/get-started">Firebase Google Docs</a></figcaption></figure><p><em>Import Modules &amp; App Initialization:</em></p><p>In your <strong>index.js</strong> file, add these lines to load the modules and app initializtion:</p><pre>// The Cloud Functions for Firebase SDK to create Cloud Functions and set up triggers.<br>const functions = require(&#39;firebase-functions&#39;);<br><br>// The Firebase Admin SDK to access Firestore.<br>const admin = require(&#39;firebase-admin&#39;);<br>admin.initializeApp();</pre><p><em>Shoot your First Function</em></p><p>Code the cloud function that solves your problem. But analyze the <strong>trigger </strong>(imagine it like the start button to play your cloud function in action) for your requirement.</p><p>Cloud firestore, gives you generic HTTP onRequest() event, which supports routers and apps managed by the <a href="https://expressjs.com/">Express</a> web framework and four triggers to handle firestore events:</p><ul><li><strong>OnCreate </strong>(new document added)</li><li><strong>OnUpdate </strong>(existing document modified)</li><li><strong>OnDelete </strong>(existing document removed)</li><li><strong>OnWrite </strong>(any of the create, update or delete action performed)</li></ul><p><em>Debug Cloud Functions Locally</em></p><p>Build the function using tsc and attach the debugger using the command: firebase emulators:start --inspect-functions</p><p>Attach breakpoints and debug your code.<br>P.S: if your function is triggered on one of the firestore events, make sure you are manipulating your collections on <a href="http://localhost:4000/firestore/">http://localhost:4000/firestore/</a> to debug your code.</p><p><em>Deploy &amp; Test Cloud Functions</em></p><p>When you are happy with your cloud function and want to test it in action, simply deploy all using the following command:</p><p>firebase deploy --only functions</p><p>To deploy a specific function:</p><p>firebase deploy --only functions:<em>name_of_your_function</em></p><p>The logs might appear after a little while, but make sure to check the successful messages for better tracking:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxAuR6NbrnMI8Ga4jxDVbQ.png" /><figcaption>Dashboard: Lists the cloud functions deployed in your project</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8r3B8was9Ir2BzcvrVC6vg.png" /><figcaption>Logs: verify you got this message with your email address to indicate successful deployment</figcaption></figure><p>Hope you enjoy paragliding in cloud functions, this <a href="https://firebase.google.com/codelabs/firebase-web#0">practical guide</a> by Codelabs will be helpful to execute your first project and the <a href="https://firebase.google.com/docs/functions">official docs</a> are always the best reference point to solve your queries!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd19a471fb93" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter a Simple Todo App]]></title>
            <link>https://nashwaay.medium.com/flutter-a-simple-todo-app-64cb0b312f43?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/64cb0b312f43</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[to-do-list]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Wed, 14 Jul 2021 09:38:57 GMT</pubDate>
            <atom:updated>2021-07-14T09:40:23.196Z</atom:updated>
            <content:encoded><![CDATA[<p>I believe that in all aspects of life we learn by practice. The more we practice, the more comfortable we get in exercising what we know.</p><p>So nothing better than trying out flutter with a simple app? Here is a step by step recipe, to support you in this process.</p><p><a href="https://flutter.dev/docs/get-started/install">Install flutter</a>..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QA_lbsWWm5kfo7qboE1EQw.png" /><figcaption>Install Flutter for your operating system</figcaption></figure><p>If you are using Visual Studio Code as your IDE, install Flutter and Dart extensions in VS Code by Dart Code to aid you in your flutter journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uTVedWIwR40VJnAIOCe_Q.png" /><figcaption>Extensions in VS Code</figcaption></figure><p>Create your flutter project using <strong>New Application Project</strong>, it will ask you for the folder where you want to place it and the name of your project.<br><em>(If it is your first time, it may ask you to verify SDK path which is simply the path of folder where you extracted your downloaded file.)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ubbWtdAnScznafVhXFKsow.png" /></figure><p>You will need an emulator to view your app, or you can also see it on the browser using command <strong>flutter run -d chrome</strong></p><p>If you run your project now, you will see a basic app running:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3OaBWuO9qJumNlJOHlT6TA.png" /><figcaption>New Flutter Project</figcaption></figure><p>Don’t be overwhelmed by the amount of code, if it is your first time…most of the portion in this comprises of comments to explain what is going around.</p><p>We are going to erase everything and start from scratch, so let&#39;s begin..</p><pre>import &#39;package:flutter/material.dart&#39;;</pre><pre>void main() {</pre><pre>runApp(MaterialApp(home: Text(&#39;Hello Flutter&#39;)));</pre><pre>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*bPd3zC_Kk3sp1f3DjEmKvw.png" /><figcaption>I can flutter!</figcaption></figure><p>You’ll be amazed how quickly we will transform this ugly screen into something beautiful to use.</p><p>As good practices encourage use of models for your datasource, we are going to define a model for our todo tasks that will help us in doing CRUD operations on it.</p><p><em>Notice the use of keywords </em><strong><em>late</em></strong><em>, </em><strong><em>required</em></strong><em>, </em><strong><em>named parameters</em></strong><em> and assigning </em><strong><em>default values</em></strong><em> in constructor.</em></p><pre>class Todo {</pre><pre> late String id;</pre><pre> String title;</pre><pre> bool status;</pre><pre> Todo({required this.title, this.status = false}) {</pre><pre>  id = UniqueKey().toString();</pre><pre> }</pre><pre>}</pre><ul><li><strong>named parameters</strong>: if we specify arguments in curly braces, it will ask you to assign them using their names. <em>(Since we are using </em><strong><em>this</em></strong><em> keyword in constructor, it will automatically set the values of our class member with the provided values)</em></li><li><strong>default values</strong>: you can simply assign the default values for function parameters where you define them as is the example of status in our case.</li><li><strong>late</strong>: the late keyword tells the compiler that the field will be initialized in next steps.</li><li><strong>required</strong>: the required keyword as the name suggests mark the function arguments as mandatory to be provided, otherwise you’ll not be able to execute the function.</li></ul><p>Also, we will be making a basic todo-manager that will have all the logic to perform these operations to keep our code clean. Feel free to optimize it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*fnadG_s1iuDCNvEI7qgAhQ.png" /><figcaption>Todo Manager</figcaption></figure><p>Next, we will be needing our form widget in a popup which will be displayed on the click of our floating action button.</p><p>This will be achieved through <strong>AlertDialog()</strong> widget rendered from <strong>showDialog()</strong> function.<br><em>I have utilized a separate function to return our form in AlertDialog just to avoid long nesting in the </em><strong><em>build()</em></strong><em> code.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*h5eM0K-LXq_uWir_VddUjw.png" /><figcaption>Popup Form</figcaption></figure><p>Our add function in form needs to do four tasks:<br>1. Make a Todo task from the form values.<br>2. Clear input values from the form for the next time.<br>3. Pass values to be added in the todos list.<br>4. Close the dialog.</p><pre>void _addTodo() {</pre><pre> final Todo task = Todo(</pre><pre> title: titleController.text);</pre><pre> setState(() {</pre><pre>  titleController.clear();</pre><pre> });</pre><pre> widget.callback(task);</pre><pre> Navigator.pop(context);</pre><pre>}</pre><p>In our parent widget, we can then add the task using our todo-manager which will be automatically called through the callback step.</p><pre>void _addTodo(Todo todo) {</pre><pre> setState(() {</pre><pre>  myTodoManager.addTodoTask(todo);</pre><pre> });</pre><pre>}</pre><p>Notice the use of <strong>setState()</strong> to reflect changes on UI immediately.</p><p>Now your app, is capable of adding tasks and rendering them on the screen using <strong>ListView.builder()</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*tZ46RMojpOBzWJ31Suwibg.png" /><figcaption>Simple add and view tasks flow</figcaption></figure><p>Next, we can add clickable icons at the end of our task to delete or toggle their status using <strong>trailing</strong> attribute of ListTile().</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/0*hLSMAUwDTEVhmmQj" /><figcaption>Simple Todo App</figcaption></figure><p>The complete code can be found at <a href="https://github.com/Nashwaay/Simple-Flutter-Todo/tree/5677bc0c832dfffe4791b14d53bbd5b5b8ae4fea">github repository</a>.</p><p>If you enjoyed following this, you might want to try how to edit a task title and store tasks locally or check out firebase integration for your flutter app.</p><p><strong>Enjoy fluttering and remember it will all make sense when you practice what you have learnt.</strong></p><blockquote><em>It would be really helpful if we can build the habit of reading about a widget every day from the widget catalog. Going slow with consistency is always better than no progress!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64cb0b312f43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simplest Way to Render Widgets from a List in Flutter]]></title>
            <link>https://nashwaay.medium.com/simplest-way-to-render-widgets-from-a-list-in-flutter-3bbb6e53a8c3?source=rss-6ea5b75b0b10------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bbb6e53a8c3</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[render]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter-widget]]></category>
            <dc:creator><![CDATA[Nashwa Tariq]]></dc:creator>
            <pubDate>Thu, 25 Feb 2021 12:44:17 GMT</pubDate>
            <atom:updated>2021-02-25T12:44:17.173Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UBgUU35pPQ3RUM9fcR5VgQ.png" /></figure><p>If you have been exploring flutter for a while, you might have occasionally rendered widgets from a List to avoid redundant code.</p><p>Some common scenarios could be rendering your <a href="https://api.flutter.dev/flutter/material/DataTable-class.html">DataTable</a> columns from a <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a> of column names. Or even rendering all the rows in your table from a List of <a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a>! The possibilities are endless.</p><blockquote>Thanks to <a href="https://twitter.com/jfkdev">Jay</a> (<a href="https://twitter.com/generictyping">GenericTyping</a>) for sharing this shorthand method in <a href="https://events.withgoogle.com/30-daysofflutter/#content">#30DaysOfFlutter</a>.</blockquote><p>Consider you have a list from which you wish to render:</p><pre>final List&lt;String&gt; widgetList= [&#39;Center&#39;, &#39;FormField&#39;, &#39;Form&#39;, &#39;Container&#39;, &#39;Column&#39;, &#39;Row&#39;, &#39;RaisedButton&#39;];</pre><p>You will be happy to see that this is how you can do it:</p><pre>for(final item in widgetList)<br>Text(item),</pre><p>Previously, we all were using map to render the list dynamically and would often forget to add toList() in the end. Here is how it looks if you use map instead, you can see the difference in readability yourself:</p><pre>widgetList.map((item) =&gt; Text(item),).toList()</pre><p>Enjoy fluttering and keep sharing flutter tips you find useful!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bbb6e53a8c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>