<?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 Lior Elgali on Medium]]></title>
        <description><![CDATA[Stories by Lior Elgali on Medium]]></description>
        <link>https://medium.com/@liorelgali?source=rss-45463debc41------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*O_RBgQVCgoGq5usd</url>
            <title>Stories by Lior Elgali on Medium</title>
            <link>https://medium.com/@liorelgali?source=rss-45463debc41------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:28:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@liorelgali/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[Shipping Prompts, Not Code: Why Every User Will Soon Have Their Own Unique UX]]></title>
            <link>https://medium.com/@liorelgali/shipping-prompts-not-code-why-every-user-will-soon-have-their-own-unique-ux-34a92ac70003?source=rss-45463debc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/34a92ac70003</guid>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[future-of-technology]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Lior Elgali]]></dc:creator>
            <pubDate>Fri, 27 Jun 2025 21:25:53 GMT</pubDate>
            <atom:updated>2025-06-27T21:25:53.258Z</atom:updated>
            <content:encoded><![CDATA[<p><em>What happens when we let the users’ device generate our frontend?</em></p><p>Imagine opening an app that looks and behaves nothing like your colleague’s version of the same app. Not because of settings or themes, but because an AI on your device generated an entirely unique interface just for you right there on the spot, based on your needs, expertise, and context.</p><p>This isn’t science fiction. We’re approaching a fundamental shift in how interfaces work.</p><h3>The Perfect Storm of Enabling Technologies</h3><p>Three converging trends make this possible:</p><p><strong>Hardware acceleration is everywhere.</strong> Modern smartphones pack dedicated AI chips — Apple’s Neural Engine, Google’s Tensor, Qualcomm’s Hexagon. All AI-native and on-device. Imagine what they could do in 5 years.</p><p><strong>AI models are shrinking dramatically.</strong> What once required server farms now runs on phones. Quantization, distillation, and architectural innovations have compressed powerful models into megabytes, not gigabytes.</p><p><strong>Prompt-Native Teams. </strong>You can’t join winning teams today as a product manager, UX/UI designer, engineer, data scientist, if you don’t speak prompts fluintly, hopefully natively. Working with AI is a must.</p><h3>From Apps to Capabilities-over-Prompts</h3><p>Here’s the radical proposition: <strong>Stop shipping interfaces. Ship capabilities and restrictions instead.</strong></p><p>The product team would define:</p><ul><li>What the system can do (capabilities)</li><li>What goals users might have (jobs-to-be-done)</li><li>What constraints must be respected (security, brand, regulations)</li><li>Core connection points (APIs, data models)</li></ul><p>These are all written as a prompt. Well organized, version-controlled, goal-oriented prompt. But still just words describing what the user should be able to achieve on this page / app / feature.</p><p>The user’s device would then generate the interface in real-time, creating only what’s needed, when it’s needed, basically lazy loading taken to its logical extreme.</p><h3>The New Development Paradigm</h3><p>This shift fundamentally changes how we build software:</p><p><strong>Product Managers</strong> still discover, align expectations, involve stakeholders, same as before. But instead of simply writing a PRD, they outline capabilities, limitations, and outcomes, defining what’s possible rather than wireframing screens.</p><p><strong>Designers</strong> create adaptive rule systems, not static mockups. They establish principles, not pixels. They think of how users can reach their jobs-to-be-done, what should be their aha-moment, same as before. But now treat AI like their own personal worker.</p><p><strong>Engineers</strong> focus on robust APIs and clear boundaries. Security, safety, certification adherence, best practices. The backend becomes the product.</p><p><strong>Data Scientists</strong> understand how different generated interfaces perform across diverse user populations. Find new ways to A/B test. Design feedback loops to train AI on task completion vs abandonment and how the generated interface affected it.</p><h3>The New Interface Paradigm</h3><ul><li>We don’t need to generate an entire frontend at once, just what’s being viewed (lazy loading taken to its logical extreme)</li><li>Some hooks and connectors can stay hard-coded — APIs, brand consistency, etc.</li><li>Some users might want more control. Why not give it to them, we might learn from their usage.</li></ul><h3>Wonderful Challenges and Opportunities</h3><p><em>Embracing productive chaos.</em></p><p><strong>Support becomes conversational.</strong> “Click the blue button” becomes “Tell me what you’re trying to accomplish.” Support itself might be AI-generated and contextual.</p><p><strong>It will require defining the need and expected outcome better. </strong>can’t hide behind legacy, long dev times, or complexity.</p><p><strong>Brand consistency requires new thinking.</strong> How do you maintain identity when every experience is unique?</p><p><strong>True accessibility.</strong> Interfaces that adapt in real-time to visual impairments, motor limitations, or cognitive differences.</p><p><strong>Perfect progressive disclosure.</strong> Novices see simplicity. Experts access power. The interface grows with the user.</p><p><strong>No bug fixes. </strong>Simply refreshing might solve the issue (and a completely different definition of bugs).</p><h3>The Timeline Might Surprise You</h3><p>This isn’t a decade away. The pieces already exist:</p><ul><li>Local LLMs can run on phones today</li><li>Custom instructions already shape AI behavior</li><li>Component-based design systems provide the building blocks</li><li>Natural language interfaces prove users will adapt</li></ul><p>Maybe “5 years from now” is conservative. What if we could prototype this next year?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34a92ac70003" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My ‘Start Fresh’ Strategy for Successful AI Vibe Coding]]></title>
            <link>https://medium.com/@liorelgali/my-start-fresh-strategy-for-successful-ai-vibe-coding-1ab56932f9dd?source=rss-45463debc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ab56932f9dd</guid>
            <category><![CDATA[lovable]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[ai-coding-agent]]></category>
            <category><![CDATA[ai-coding]]></category>
            <category><![CDATA[v0]]></category>
            <dc:creator><![CDATA[Lior Elgali]]></dc:creator>
            <pubDate>Tue, 20 May 2025 06:06:42 GMT</pubDate>
            <atom:updated>2025-05-20T08:25:32.242Z</atom:updated>
            <content:encoded><![CDATA[<p>(written by a human, QAd by AI)</p><h3>The Power of the First Prompt</h3><p>So you’re “vibe coding”: having AI build an app, tool, mockup, game, service, or whatever and you’ve hit a wall. So did I — It looked like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/0*yVgWf49ffQmaW9XD" /><figcaption>When AI decides instead of fixing the integration it will just mock it, even when asked not to</figcaption></figure><p>Everything I tried kept failing: rolling back and trying again, a different model, focusing, examples, different prompts (more and less details, goal-oriented, adjusting tone, increasing the stakes “the future of the company depends on this”). Nothing seemed to work, and honestly, it was getting frustrating.</p><p>After burning maybe 5 hours trying to get Claude, ChatGPT, Gemini to add a comments feature to the product, I had a thought: why not just start over? it’s originally built with AI anyways. It’s a project I’ve been toying with for several weekends, so it already had a bunch of features but I knew maybe 2% of the actual code.</p><p>I told Claude everything I already had plus the new features I wanted — all in one go.</p><h3>It worked!</h3><p>1-shot fully built webapp with all the features I asked for!</p><p><strong>It seems to behave like this:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CAvz3KNbz8ovjLz3" /></figure><p>The next 5 or so increments were so easy to do that I felt like I was in the future. “Add a sharing feature” — done, works. “Link to db” — done, no issues.</p><p>Then I hit that wall again. “When sharing let me choose viewer or editor” — completely broke the app — changing designs, moving the menus around, nothing worked right.</p><p>I did not provide it again with a full requirements document — Because basically what I’m doing is “copying” the <strong>result — </strong>not the need — I don’t want it to think about a different way to solve it.</p><h3>Hold on, Vibe Coding?</h3><p>A brand new term / meme that started just a few months ago, referring to talking/writing to AI to get it to write code, letting it build everything or large chunks autonomously. Andrej Karpathy (an OpenAI co-founder and former AI leader at Tesla), the one who came up with it explains it better:</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/karpathy/status/1886192184808149383&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Fprofile_images%252F1296667294148382721%252F9Pr6XrPB_400x400.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/06036727978af6a2ca6b2de416bbfd0f/href">https://medium.com/media/06036727978af6a2ca6b2de416bbfd0f/href</a></iframe><h3>Vibe vs Coding:</h3><p>AI introduces a ton of mess like code duplicates, security flaws, and breaks unrelated code accidentally.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Moq7O-m1LXaVWT7uzus4Lw.png" /><figcaption>ChatGPT’s interpretation of what would happen when trying this on a real product</figcaption></figure><p>Hobby? Internal company tool? Personal helper? A game for the kid? Great!</p><p>Actual production environment of a company’s product? Bad</p><p>Co-coding with AI while keeping best practices is there for developers and there are a million ways to do it. This article is all about no or little code for our side projects.</p><blockquote>When it gets complex, it gets less maintainable using AI alone. Even when AI started it.</blockquote><h4>I noticed repeating failures on many projects no matter the platform or model. What it looked like prompting them:</h4><p>I can see the different platforms and tools like Bolt or Claude Code or others trying to mitigate this. They’re not there yet unfortunately. After trying paid versions of all of them over a few months, and comparing success rates, I don’t have a “clear winner” on this particular issue (although base44 is the best so far).</p><p>I spent 90%+ of my tokens/prompts on fixing issues; When starting fresh on the same tool, asking it to redo what it did before, including all relevant context, it did a much better job, cutting down costs from dozens of prompts to just 1.</p><ul><li>Me, to <strong>Lovable</strong>, after 3 prompts: “good update! But please change the colors back to the original ones”; “the login option disappeared. Bring it back”</li><li><strong>V0 </strong>after 2 prompts: “Fix with v0”. After 10 prompts: “great it works!”. 11 prompts: “Fix with v0”</li><li><strong>Base44:</strong> first prompt gives an amazing result. 10 prompts later: “I SAID THIS MENU ITEM SHOULD BE AVAILABLE TO ALL USER TYPES. Please.”</li><li><strong>Claude</strong> (with extended thinking!) after 5–6 prompts: “2 iterations ago the mouse interaction worked but broke now. See what changed and fix it. But keep all other recent changes”</li><li>Etc etc.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/0*7oFLYuMLTtvF0gy-" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/0*usfadu8nL53Z2_w_" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*bFhtgtzxeF6uarkK" /><figcaption>(ran out of credits at that point)</figcaption></figure><h3>My Solution: Start Over.</h3><p>It “feels wrong” to abandon everything I built so far, so many great features, so much time QAing running through any kind of flow.<strong> </strong>But the process of restarting is strong: I don’t need to carry useless junk. All the features are fully integrated from the start.</p><p><strong>The best part?</strong></p><p>I iterated and tested many interactions, flows, experiences to get the app to that point. Now I know what they should look and behave like. It’s like copying a successful feature from another app — it’s much easier without the initial pain.</p><h3>Ok, what did I actually do? I want the technical stuff!</h3><ol><li>Went on Claude with extended thinking</li><li>Gave it screenshots of the main screens and some menus and popups and things i wanted to keep</li><li>Ignored things I didn’t need or want</li><li>Told it to not create any mock data</li><li>Did not feed it any PRD, goals, users, needs, phases, etc.</li><li>The prompt I wrote, that ended up working perfectly on the first try (yes it’s a mess. And it’s just a small part of it. It’s not a PRD — more of a brief+tech spec + requirements. Vibe!):</li></ol><blockquote>Build this entirely.<br>things you can’t see:<br>drag and drop to change order.<br>each cell in the grid can be clicked to enter text or edit, and has a remove icon on hover.<br>All settings are saved automatically on the fly to localstorage and loaded from there without any effort whatsoever from the user.<br>Users who choose to login with google will have their profile created and everything saved to a neon postgres db (but keeps also syncing locally just in case).<br>This whole thing will be react working on vercel.<br>…</blockquote><h4>Switching methods, models, tools, helps too. Sometimes.</h4><p>For some issues on some apps, I could fix everything by changing the tool.</p><p>Used Claude Code on a project I’ve been doing with Cursor and was unsuccessfully trying to update a feature, trying different models and phrasing and nothing worked.</p><p>In came <a href="https://docs.anthropic.com/en/docs/claude-code/overview">Claude Code</a> — and in 5 minutes and $5 fixed everything. It’s more advanced (command line vs online UI) but gets more jobs done.</p><p><a href="https://github.com/RooVetGit/Roo-Code">Roo Code</a> also seems to work nicely and fix large things without breaking anything. Will test it some more.</p><h3>Sometimes I don’t need to completely start over</h3><p>With this app for example, once it was rebuilt from scratch containing most of what I needed, when I got to breaking it again and again I reverted to a previous working state and started over from there. There’s a middle ground between “big spec doc” and “vibe-only flow dump” that could be powerful, especially for reusability.</p><h4>Instances when I start over:</h4><ul><li>When the thing that fails is crucial to the app (for the product managers — this is a good way to filter out features, if it failed and you revert and move on, it was probably not that important in the first place)</li><li>Fails 20–30 times</li><li>After trying all models</li><li>After trying giving direct context, references, documentation, screenshots</li><li>After letting it fail and continue for ~10 more prompts trying to resolve it</li><li>When the thing that fails over and over is something very basic like changing a redirection</li><li>When it changes good things too much: I accept that AI today likes to rewrite stuff, that’s usually ok with me if it serves the same purpose. But when it stops answering a need or JTBD and I need to redo an entire useful feature, it might take longer to redo it than to just start over.</li><li>Advanced: When the code gets too bulky and overly complex</li><li>Too much code duplication (AI is very good at writing brand new files when others exist and just ignoring them). Here gitclear’s article on it: <a href="https://www.gitclear.com/ai_assistant_code_quality_2025_research">https://www.gitclear.com/ai_assistant_code_quality_2025_research</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*_JizUWZUjNYJUOE3" /></figure><ul><li>Unnecessarily long redirection funnels</li><li>Bad / irrelevant architecture: for example, I started one project on Lovable, using Supabase as backend. When I tried converting it to Vercel, using a different DB, moving from edge functions to serverless functions — i must have spent 2–3 hours trying to get AI to migrate but bugs kept popping everywhere.</li></ul><h4>Instances when I don’t start over:</h4><ul><li>When the change is important and I’ve only spent 5–10 prompts on it</li><li>When it’s a nice-to-have feature: since it’s so easy building stuff, I can get distracted. If that doesn’t work on 1–2 tries — I revert and move on.</li><li>When I realize there’s just no way for AI to do it right now, starting fresh won’t help: like developing a complex algorithm, or solving a core component issue that doesn’t have an online fix yet.</li><li>When the groundwork is steady and well-built, when the main features are working as expected: when I had spent hours QAing it, then I will move out of my Vibe zone and into actually looking at the code and spend time working together with other types of AI to co-fix it.</li><li>Sometimes providing more context does help. It will also help you in the future if you want to reexamine old instructions and why you wanted them. Here’s a structured, reusable prompt format that might help:</li></ul><blockquote>A short list of the main features<br>Main feature behavior for each one<br>A note on the user intent or JTBD<br>Constraints (“Don’t use mock data”)<br>Example inputs/outputs<br>Screenshots</blockquote><h3>Final Tips:</h3><ul><li>It will break again. Unless doing actual co-coding, <strong>vibe coding WILL BREAK YOUR APP AGAIN</strong>. It’s something to be aware of and test on each iteration.</li><li>Tell it where you’ll be hosting</li><li>Include screenshots</li><li>Backup! Save versions of what’s working. If you’re on Base44 / Lovable / etc those will save backups and checkpoints for you. When building with desktop tools I use git, but if that’s too much for your use case, just keep a copy of the working files.</li><li>Keeping track of the current state: On the first prompt of a conversation I ask it that before it starts working, it first reads the <a href="http://readme.md/">README.md</a> file, and updates it when done. This keeps it aligned with context. (there are more complex ways, linked at the end)</li><li>Looking for options, inspiration, ideas? Give it a “why we need this feature and who’s gonna use it” prompt.</li><li>Need a very specific, highly defined feature? Include every bit of info, tech stack requirements, etc — the more the better.</li><li>Think of the ROI curve of vibe coding this feature. It might not be worth it for every feature or app.</li><li><strong>Advanced:</strong></li><li>Build with the tech that suits your needs, learn the difference between Next.js, Vite, and other frameworks before starting. ie. Next.js does server-side rendering and offers a complete solution, Vite provides quick development with hot module replacement, Nuxt is Vue’s equivalent to Next.js but for Vue applications, etc.</li><li>It helps to know how to code. Especially when explaining what you want it to do, and giving it the right library name, the right technical solution, it could save a ton of time.</li><li>Using an agent-style builder like Cursor or Windsurf? Ask it to run tests after every change and don’t stop until they pass.</li><li>Code examples. For things I wanted done exactly the same, I kept the original code and told it to use it as a baseline.</li><li>Yes you can break it into smaller chunks. Do more dev work, branching, giving context of the exact 2 pages where the changes should happen, limiting scope, adding a massive amount of rules and best practices, etc. If you’re interested in that, I encourage you to read developers’ posts, it’s a different ball game, not so much vibing anymore.</li><li>I once found a fix for an ongoing issue no AI could resolve, in an obscure forum, following a rabbit hole from google-&gt;github-&gt;reddit-&gt;discord-&gt;some forum I can’t remember. Fed that fix to AI, everything fixed.</li><li>Roo Code seems promising! So does OpenAI’s Codex. Will update.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N57w8APzU0sp_8XFb-2hWw.png" /><figcaption>My accounts are full of duplicates of the same project. It got stuck, I made a new one, it worked.</figcaption></figure><h4>What didn’t work for me?</h4><ul><li>Asking AI to write the PRD based on what exists, then use that PRD to start fresh. <br>Why?<br>Turns out the PRD was crap: AI had added too much unneeded content and not enough actual content. It outlined a nice looking document but not something I would give an engineer.</li><li>Or a PRD in general, for vibe coding an app I already had. <br>Why?<br>I didn’t need to change the “why” or the “who”. A new document is like taking a step back and rethinking everything — that was not the intent. We wanted to keep things working, just add or change some of them. And I already had most of the how, which is what my AI engineer needed to build the most “production ready” version.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dln3h4YStlYx76HxMfIJAA.png" /><figcaption>How strong is a single prompt?</figcaption></figure><h3>I just scrolled to the end to see the summary:</h3><ol><li>I built something using AI — starting from Lovable and moving to Cursor</li><li>After a few features it started losing its mind</li><li>Built it from scratch. This time including everything I learned.</li><li>Now everything works.</li><li>Repeat</li></ol><p>Is this what you’re doing? Are you creating 10 copies of the same app until it’s successful? Are you throwing away your hard work to make room for a fresh start? I’d love to hear how it translates elsewhere.</p><p>Good luck vibing!</p><h4>Useful reads:</h4><p>It’s a hot topic and many are writing about it now, here are some that I found helpful:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aKh6DgGG9a0P7Bi4" /></figure><ul><li><a href="https://prompt-power-up-ui.lovable.app/">AI-Powered UI Design Toolkit</a></li><li><a href="https://creatoreconomy.so/p/12-rules-to-vibe-code-without-frustration">12 Rules to Vibe Code Without Frustration</a></li></ul><p>(and following Peter Yang in general is a good idea)</p><ul><li><a href="https://madhukarkumar.medium.com/a-comprehensive-guide-to-vibe-coding-tools-2bd35e2d7b4f">A Comprehensive Guide to Vibe Coding Tools</a></li><li><a href="https://dev.to/timesurgelabs/agentic-coding-vibe-coding-best-practices-b4b">Agentic Coding (Vibe Coding) Best Practices</a></li></ul><p><a href="https://www.reddit.com/r/vibecoding/">https://www.reddit.com/r/vibecoding</a></p><p><a href="https://www.reddit.com/r/cursor/">https://www.reddit.com/r/cursor/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ab56932f9dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Used Generative AI To Build My Own Weather App — Part 2: The Why]]></title>
            <link>https://medium.com/@liorelgali/i-used-generative-ai-to-build-my-own-weather-app-part-2-the-why-f7f758b79243?source=rss-45463debc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7f758b79243</guid>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[product-discovery]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Lior Elgali]]></dc:creator>
            <pubDate>Mon, 04 Sep 2023 12:59:12 GMT</pubDate>
            <atom:updated>2023-09-05T09:01:07.831Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bCN38gkreJiFRFR5S6Q7QQ.png" /><figcaption>“weather app::2 data in the sky, city silhouette in the background, afternoon. — ar 21:3”</figcaption></figure><h3>I Used Generative AI To Build My Own Weather App — Part 2: The Why</h3><p>This is the second part of my (short) journey to create my customized weather app — the Why. I’ll write about how I figured out what was missing for me, and how I worked with Bing’s assistant and others to ping pong ideas around the discovery process. These are some of the highlights.</p><p>In my previous post I talked about what I use generative AI for on a daily basis and how in order to get the results you want, it helps to define it (reasoning, context, definition, etc). The same works for building a product. This time, I used AI for:</p><ul><li>Brainstorming</li><li>Discovery, research</li><li>Prioritization</li><li>Pros+Cons</li><li>Challenging my thoughts</li></ul><p>And it worked great.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bhefuZ81755RfHPc" /></figure><p>This also works on <strong>Miro</strong> directly (hit <strong>cmd/ctrl + k</strong>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WGCWDTPkg7-p4DsI" /></figure><h3>Why a weather app? A combination of trends and unfulfilled needs with existing apps</h3><ul><li>I never cared too much about it, but I found myself relying more on the weather since my kid started kindergarten</li><li>The weather components I cared about were not readily available</li></ul><p><strong>Existing apps:</strong></p><ul><li><strong>Inaccuracy:</strong> Many weather apps provide inaccurate data, to the point they can’t even predict the present.</li><li><strong>Geo limits:</strong> Some apps were almost perfect but did not work outside the US</li><li><strong>Wrong focus: </strong>Some apps with accurate data focused on rainfall, so for 8 months all I see is “No precipitation”</li><li><strong>Overly complex, bloated UI:</strong> Some apps were almost perfect but were going for so many use cases that they missed the “one glance” I was looking for, which meant I needed to scroll through screens looking for my data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4igNjiz2DnQH2Fsu" /><figcaption>Illustration: ”I got all the weather data ever plus some more data.” (MidJourney)</figcaption></figure><h3>I wanted to learn more about the weather — what is it made of?</h3><p>Turns out I can still google things (yes it exists!):<br><a href="https://ncas.ac.uk/learn/what-causes-weather/">https://ncas.ac.uk/learn/what-causes-weather/</a><br><a href="https://education.nationalgeographic.org/resource/weather/">https://education.nationalgeographic.org/resource/weather/</a></p><p>I also used Bing to summarize. I promise it worked back then, but now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UNpBCtj1WfcriF5H" /></figure><p>so I’ll share a similar prompt:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0KUetcbApS_875fK" /></figure><p>That’s about the limit of Bing’s assistant. Asking further questions makes it lose context, uselessly searching more, or kick me out because it thinks I try to “jailbreak” it. Hope they fix it.</p><p>Digging deeper to what’s comfortable using ChatGPT + Advanced Data Analysis tool (formerly “Code Interpreter”):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0R8qSFRyzAF0PZym" /><figcaption>There’s some tweaking needed when creating your own charts with “Advanced data analysis” mode, but it’s worth it for me</figcaption></figure><p>Again, <a href="https://kestrelinstruments.com/mwdownloads/download/link/id/11">google still works</a> — but I find it useful creating my own charts.</p><p>We’ll get back to the components and data soon.</p><h4>Let’s explore what I actually need:</h4><p>Talking to ChatGPT clears things up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wZOAexX5B96O9nr1" /></figure><h3>My 3 typical use cases (as Jobs-To-Be-Done):</h3><h4><strong>1. Packing the right clothes and planning for afternoon activities</strong></h4><p>Weather is more than just temperature. Understanding the conditions helps in planning.</p><p><strong>Pains:</strong></p><ul><li>Comfortable conditions vary: Is a sunless 30°C day with a gentle breeze comfortable?</li><li>Need to know trends for heat, rain, winds, etc</li></ul><h4><strong>2. Knowing if it’s comfortable outside</strong></h4><p>Comfort is subjective and relative.</p><p><strong>Pains:</strong></p><ul><li>I’m missing data. When just checking the current and forecasted weather conditions it’s still hard to tell what it would feel like.</li><li>I found myself relying on “usually in this situation”, without specific insights.</li></ul><h4><strong>3. Prepare for chapped lips</strong></h4><p>Understanding weather conditions is essential not only for planning outdoor activities but also for personal care, such as protecting against skin dryness. Existing weather apps don’t provide the right data for this.</p><p><strong>Pains:</strong> Chapped lips.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fGNEuGr2ulgpPXj0" /></figure><h3>Hypothesis and Insights</h3><p>A common theme is the need to <strong>analyze multiple data points</strong> and recall how their combinations<strong> felt </strong>in the past to determine comfort level. While these datapoints exist in some apps, I need to<strong> assemble them myself.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/0*wkwd96FrvAKFYzFz" /><figcaption>I provided Claude 2 my list of needs and pains to help me think about it</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1xaiCUglP51LjlCj" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*slC-YIkpVvnSIowu" /><figcaption>Same questions to ChatGPT</figcaption></figure><p>What Claude / ChatGPT had to say was comprehensive and insightful. It helped me get in the zone of and come up with my own thoughts about what’s needed to make a good app for myself.</p><h4>Missing components for a useful weather app (for me):</h4><ul><li><strong>Accurate forecast</strong></li><li>Temp that takes into account <strong>various factors</strong>, like wind, sun, humidity, etc (what most apps call feels-like)</li><li>Metrics for humidity or dryness. (ie.<strong> absolute humidity</strong> or dew-point)</li><li><strong>Recent</strong>, current, and forecasted measures for today/tomorrow</li><li>Some way to determine my <strong>personal comfort</strong> based on an analysis of everything</li></ul><p>Some manual work still needed (idea: maybe I’ll build a screenshot collection AI tool next?)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wSK1H-81-rKVPJDw" /><figcaption>A collection of weather apps screenshots. p.s.: I prefer to not have a tight organized grid so the research doesn’t look like a pattern but as individual components to investigate</figcaption></figure><p>Toying around with some familiar weather interfaces I decided to test if the following works for me:</p><p><strong>Solution Idea 1: </strong>A line chart showing recent hours-&gt;tomorrow including temperature, humidity, and rain</p><p><strong>Solution idea 2:</strong> Use “feels like” temperature instead of actual temperature, so that it would include many components calculated inside</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xd9EISMVsTmYe64d" /><figcaption>Using Figma’s WireGen plugin to brainstorm wireframes</figcaption></figure><h3>MVP wireframe:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BPi04YXMyRGL4FZMfKakkQ.png" /><figcaption>* I actually drew this one myself — no AI here!</figcaption></figure><p>Looks like this can work for me! A single glance to know if it’s going to get better or worse, using feels-like temp and absolute humidity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WPibNCcJZw3OahMfGGeBKQ.png" /><figcaption>“weather app product discovery process using AI — ar 7:2”</figcaption></figure><p>Next post: Using ChatGPT to write code for me, and some usability tests with me as the focus group :)p.s. nothing here was written with ChatGPT or any other LLM. Consulted with? Of course! That’s the best part of using it — getting feedback, going back to update with my own ideas.<br>For the foreseeable future I believe my main “Human” contribution is to focus the all-knowing-all-capable AI to specific goals and tasks. Today I lead the process, maybe at some point AI will replace that as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7f758b79243" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I built my personal weather web app with LLMs. I’m using it multiple times a day.]]></title>
            <link>https://medium.com/@liorelgali/i-built-my-personal-weather-web-app-with-llms-im-using-it-multiple-times-a-day-d5b13457674f?source=rss-45463debc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5b13457674f</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[starting-a-project]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[chatgpt4]]></category>
            <dc:creator><![CDATA[Lior Elgali]]></dc:creator>
            <pubDate>Thu, 20 Jul 2023 13:27:38 GMT</pubDate>
            <atom:updated>2023-07-21T17:59:33.519Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a recap of how I used ChatGPT 4, e2b, Smol-Developer, OpenAI APIs, AutoGPT, GPT Engineer, MidJourney, Alpaca Turbo, and others, to create a simple weather app. Also, how I ended up using less than 10% of their code.</p><p>I’m writing this to hopefully inspire others to try these tools and get the most out of them.</p><h4>This story has 4 chapters:</h4><ol><li>Working with Generative AI tools + best practices</li><li>Why I did it: Getting to the basic requirements</li><li>How I built it: Using LLMs to quickly build it</li><li>What I learned and improved</li></ol><p>This is an ongoing project and I’m learning more every day, so expect more to come.</p><h3>Chapter 1: Working with GenAI tools — Introduction</h3><p>In case you’re here for the best practices for GPT:</p><figure><img alt="Context, Similar books/photos/methodologies/etc, Examples, Definition, Chain-of-thought, Always do more work after, Verify again" src="https://cdn-images-1.medium.com/max/1024/1*Jz281SEldvaqW-0lo51AuQ.png" /></figure><p><a href="https://github.com/openai/openai-cookbook/blob/main/techniques_to_improve_reliability.md">-&gt; More tips, directly from OpenAI</a></p><p><strong>I’m an early adopter. </strong>When something innovative comes I love testing out opportunities that innovations open up. For years I toyed around with NLP and language models, but although exciting, I didn’t find them very useful for my own work processes. When I started using GPT over a year ago, I found myself transforming much of what I do, learning a lot while constantly adding applications.<br>With ChatGPT’s debut and astronomical adoption, it’s been a hot topic in every conversation, and suddenly <strong>everyone wanted to know more</strong> — So I started giving talks and advice on how to incorporate ChatGPT and other generative AI (mostly large language models and text-to-image) tools into day to day work and “standard” methodologies.</p><p>I’m a product manager with a background in industrial design and software development. When I come across a process, workflow, or interaction that could be simplified or improved, <strong>I can’t help but think of ways to make it better. </strong>At work, I have teams to help me execute, but in my personal life, I don’t — until GPT became good enough to start writing code with me. It’s the perfect match.</p><h4>My process:</h4><ol><li>I have a need</li><li>I come up with an idea for a solution</li><li>I define its mvp</li><li>I ask GPT to code it</li><li>I use it</li></ol><p>That’s how things <em>would</em> work, ideally.</p><h4>In the real world, however:</h4><ol><li>I have a need</li><li>I come up with an idea for a solution</li><li>I define its mvp</li><li>I ask GPT to code it</li><li><strong>It doesn’t work</strong></li></ol><p>From my conversations with many people around me (excluding a few champions), this seems to be the funnel:</p><figure><img alt="A bar chart titled ‘User Funnel’ showing the percentage of users reaching each step in a process: ‘Need’ (100%), ‘Idea’ (30%), ‘MVP’ (5%), ‘Ask GPT’ (2%), ‘Useful Response’ (0.5%), and ‘Use It’ (0.1%)." src="https://cdn-images-1.medium.com/max/1024/0*QIs39W48KIxQx9aR" /><figcaption>Most don’t make it to a usable response</figcaption></figure><blockquote>Searching for “gpt prompts” or “LLM use cases” online will give endless results — some tested and some not. — Lior</blockquote><h3>What can I use it for?</h3><p>(Anything if you’re brave enough)</p><p>After more than a year and hundreds of hours working various generative AI tools, here’s my general experience so far, across all of them:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/61aeb4bd740cc8fca5077840caa2022c/href">https://medium.com/media/61aeb4bd740cc8fca5077840caa2022c/href</a></iframe><h4>My experiments of using GPT — simple stuff at first:</h4><ul><li><strong>Introducing a new feature</strong> to our company on Slack (I was surprised when it added emojis but ok!)</li><li>Rewriting small chunks of <strong>requirements text </strong>(exhausting but works)</li><li><strong>Kickstarting creative</strong> processes (success!)</li></ul><p>Then tried more complex ones:</p><ul><li>Writing a whole MRD (big failure)</li><li><strong>Writing SQL to get and calculate statistics I needed from our DB (huge success)</strong></li><li>Automating tasks (depends)</li><li><strong>Reviewing my language, the perceived impression from my text (great)</strong></li><li>Help defining internal work processes and best practices</li><li><strong>Role-playing before important meetings (nice trick)</strong></li><li><strong>Analyzing data (speedy and helpful)</strong></li><li>Writing web apps (more on this on chapter 2)</li></ul><p>There are differences in results when approaching the same models in different wrappers (I will expand on this next chapter) —</p><p>Official ChatGPT app <strong>|</strong> GPT playground / API <strong>|</strong> Bing’s GPT implementation</p><p>Of course, discrepancies exist between various models such as <a href="https://bard.google.com/">Bard</a>, <a href="https://heypi.com/talk">Pi</a>, <a href="https://www.ai21.com/studio">Jurassic2</a>, <a href="https://github.com/ViperX7/Alpaca-Turbo">Alpaca</a>, <a href="https://llama.perplexity.ai/">Llama</a>, etc. While some outperform others in some areas I suggest giving them all a try for the same prompt when a very specific response is needed.</p><p>There are many models, some with good UI. How many? A lot!</p><p>Text: <a href="https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard">🤗 Open LLM Leaderboard</a></p><p>Images: <a href="https://huggingface.co/models?pipeline_tag=text-to-image">🤗 Models — Hugging Face</a></p><figure><img alt="screenshot from huggingface showing a long list of LLMs" src="https://cdn-images-1.medium.com/max/1024/1*Wq4Y0qg7mh3itrAfnXiGWQ.png" /></figure><p>In the next chapter: why and how I built my personalized weather web app — JTBD, pains, goals, and solutions</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5b13457674f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>