<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ankur Bansal</title>
    <description>The latest articles on DEV Community by Ankur Bansal (@ankur_bansal_d7487ae561e7).</description>
    <link>https://dev.to/ankur_bansal_d7487ae561e7</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3132128%2Fc3271075-5a77-4fa2-ab3a-8821a2f6c4a1.jpg</url>
      <title>DEV Community: Ankur Bansal</title>
      <link>https://dev.to/ankur_bansal_d7487ae561e7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ankur_bansal_d7487ae561e7"/>
    <language>en</language>
    <item>
      <title>The Day I Automated Web Check-in: A Tale of Wonder and Worry</title>
      <dc:creator>Ankur Bansal</dc:creator>
      <pubDate>Sun, 05 Oct 2025 16:50:05 +0000</pubDate>
      <link>https://dev.to/ankur_bansal_d7487ae561e7/the-day-i-automated-web-check-in-a-tale-of-wonder-and-worry-3fem</link>
      <guid>https://dev.to/ankur_bansal_d7487ae561e7/the-day-i-automated-web-check-in-a-tale-of-wonder-and-worry-3fem</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foud7i50zespehojk8ndf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foud7i50zespehojk8ndf.png" alt=" " width="800" height="534"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When AI Makes Life Too Easy&lt;br&gt;
Last week, I did something that felt like pure magic — I let Perplexity’s browser assistant (Comet) automate my entire web check-in process. You know that annoying ritual of opening your airline’s website, entering your booking reference, selecting seats, and downloading boarding passes? Gone. Just… poof… automated.&lt;/p&gt;

&lt;p&gt;And honestly? I’m both thrilled and terrified.&lt;/p&gt;

&lt;p&gt;Why Check-in Has Always Been Stupid&lt;br&gt;
Let me be blunt: I’ve always thought web check-in is stupid.&lt;/p&gt;

&lt;p&gt;Think about it. I’ve already booked my flight. I’ve already paid for it. The airline knows I’m coming. So why do I need to log back in 24 hours before the flight to click a button that says “Yes, I’m still coming”?&lt;/p&gt;

&lt;p&gt;It’s busywork. Digital busywork dressed up as “convenience.”&lt;/p&gt;

&lt;p&gt;For a 5-year-old: It’s like if you told mama you want pizza for dinner, and then she makes you come back an hour later to tell her again that you still want pizza. Why? She already knows!&lt;/p&gt;

&lt;p&gt;For the CS grad: From a systems design perspective, check-in is legacy architectural debt. With real-time inventory management and sophisticated no-show prediction algorithms, requiring manual check-in is an outdated process masquerading as user engagement.&lt;/p&gt;

&lt;p&gt;The whole system is backwards. If I don’t want to fly, I should cancel. Otherwise, assume I’m showing up. But airlines insist on this redundant confirmation ritual and the ridiculous seat selection scramble.&lt;/p&gt;

&lt;p&gt;It’s stupid. It’s always been stupid.&lt;/p&gt;

&lt;p&gt;So when I realized Perplexity’s Comet browser could make this stupidity disappear? That felt like justice.&lt;/p&gt;

&lt;p&gt;The WOW Moment&lt;br&gt;
Let me paint the picture. It’s 24 hours before my flight. Normally, I’d be scrambling — juggling kids, wrapping up work, desperately trying to check in before the good seats disappear. But this time? I just told Comet what I needed.&lt;/p&gt;

&lt;p&gt;I watched as the browser opened itself, navigated to the airline website, filled in my details, selected my preferred aisle seat (14C, if you’re curious), and downloaded my boarding pass.&lt;/p&gt;

&lt;p&gt;All. By. Itself.&lt;/p&gt;

&lt;p&gt;Wow. That deeper, almost spiritual amazement when technology crosses from “cool” to “is this even real?”&lt;/p&gt;

&lt;p&gt;For a 5-year-old: Imagine if you had a magic friend who could see your computer screen and do all the boring stuff while you play. That’s what Comet did!&lt;/p&gt;

&lt;p&gt;For the CS grad: We’re talking about an AI browser assistant with autonomous navigation capabilities that can interpret natural language instructions, navigate dynamic web forms, and complete multi-step workflows with contextual understanding — not hardcoded paths.&lt;/p&gt;

&lt;p&gt;The Creeping Doubt&lt;br&gt;
But here’s where my engineer brain kicked in, and the magic started feeling… murky.&lt;/p&gt;

&lt;p&gt;Who’s responsible if something goes wrong? If Comet books the wrong flight or accidentally cancels my booking — is that on me? On Perplexity? On the airline?&lt;/p&gt;

&lt;p&gt;The Legal Compliance Black Hole&lt;br&gt;
Most airline websites have Terms of Service that explicitly prohibit automated access. By using Comet to automate my check-in, I’m operating in ethically murky waters. I might be violating their terms of service.&lt;/p&gt;

&lt;p&gt;The irony? I used an AI assistant to automate a stupid process that shouldn’t exist, and now there’s this nagging feeling that maybe I’m doing something… wrong.&lt;/p&gt;

&lt;p&gt;For a 5-year-old: The airline website has rules, and even though the rule seems silly, using my magic computer friend might be breaking those rules.&lt;/p&gt;

&lt;p&gt;For the CS grad: Legal frameworks haven’t caught up with AI browser assistants. Most Terms of Service don’t distinguish between personal automation tools and malicious bots — and that’s the problem.&lt;/p&gt;

&lt;p&gt;Why This Matters (And What Should Actually Change)&lt;br&gt;
If AI browser assistants can automate check-ins, they can automate tax filings, insurance claims, job applications, and financial transactions. Multiply that by millions of users, and systems designed for human-paced interaction get hammered. Fraud detection systems can’t distinguish between helpful AI assistants and malicious scrapers.&lt;/p&gt;

&lt;p&gt;But here’s my take: Maybe some of these processes deserve to be automated away.&lt;/p&gt;

&lt;p&gt;What Should Actually Change&lt;br&gt;
Airlines should eliminate stupid processes:&lt;/p&gt;

&lt;p&gt;Auto-confirm passengers 24 hours before flight by default&lt;br&gt;
Let passengers opt-out if plans change (reverse the model)&lt;br&gt;
Auto-assign seats based on booking preferences&lt;br&gt;
Only require interaction if there’s an actual change needed&lt;br&gt;
Terms of Service need modernization: Current ToS are written for a world where “bots = bad” was universally true. But personal AI assistants are legitimate tools. ToS should:&lt;/p&gt;

&lt;p&gt;Distinguish between personal automation and commercial scraping at scale&lt;br&gt;
Explicitly allow AI browser assistants for personal, non-commercial purposes&lt;br&gt;
Focus on protecting against actual harm (server overload, fraud) rather than blanket banning automation&lt;br&gt;
We need a new digital social contract that recognizes personal automation as a right while restricting commercial-scale abuse.&lt;/p&gt;

&lt;p&gt;The Honest Truth&lt;br&gt;
What Comet did is impressive, convenient, and potentially wrong. Just because something is technically possible doesn’t make it ethically clear. Just because a process is stupid doesn’t give us the right to violate terms we agreed to.&lt;/p&gt;

&lt;p&gt;But we’re in a transition period. The rules haven’t caught up with the technology. Your discomfort is appropriate because the situation is genuinely ambiguous.&lt;/p&gt;

&lt;p&gt;The future belongs to people who can navigate ambiguity with integrity — who can say “this rule is stupid, AND I’m still going to be thoughtful about how I handle it.”&lt;/p&gt;

&lt;p&gt;What You Should Do&lt;br&gt;
Immediate actions:&lt;/p&gt;

&lt;p&gt;Use Comet for personal tasks, but don’t build a business around it&lt;br&gt;
Recognize you’re in a gray area — don’t pretend it’s perfectly legal&lt;br&gt;
Don’t abuse it (don’t hammer servers, don’t scale it commercially)&lt;br&gt;
If you get warned, stop and comply&lt;br&gt;
Shape the future:&lt;/p&gt;

&lt;p&gt;Write about your experiences. Public discourse is how norms evolve.&lt;br&gt;
Tell airlines their processes are outdated and their ToS are hostile to legitimate personal automation&lt;br&gt;
If you believe check-in should be automated, build the system that does it the right way — with airline partnerships, proper APIs, and legal clarity&lt;br&gt;
This is how you get rich, famous, and successful: not by hiding in gray areas forever, but by being early to a legitimate trend and helping formalize it.&lt;/p&gt;

&lt;p&gt;Final Thoughts&lt;br&gt;
The wow moment is real. AI browser assistants like Comet are genuinely magical. But we’re in a transition period where the rules haven’t caught up with the technology.&lt;/p&gt;

&lt;p&gt;I automated away a stupid process. It felt amazing. It also felt… questionable. And maybe that’s exactly the conversation we need to be having.&lt;/p&gt;

&lt;p&gt;Use the tool. Question the system. Advocate for change. The discomfort you feel? That’s not weakness — that’s wisdom trying to catch up with capability.&lt;/p&gt;

&lt;p&gt;And in a world where AI can do almost anything, that gap between what we can do and what we should do might be the most important space to navigate carefully.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>discuss</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
    <item>
      <title>ChatGPT Prompt Engineering for Developers</title>
      <dc:creator>Ankur Bansal</dc:creator>
      <pubDate>Thu, 02 Oct 2025 16:52:15 +0000</pubDate>
      <link>https://dev.to/ankur_bansal_d7487ae561e7/chatgpt-prompt-engineering-for-developers-28ha</link>
      <guid>https://dev.to/ankur_bansal_d7487ae561e7/chatgpt-prompt-engineering-for-developers-28ha</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Course: ChatGPT Prompt Engineering for Developers&lt;br&gt;
Source: DeepLearning.AI Course&lt;br&gt;
Instructors: Andrew Ng (DeepLearning.AI) &amp;amp; Isa Fulford (OpenAI)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Why Should Developers Care About Prompt Engineering?&lt;br&gt;
AI is changing how we code, build products, and even debug. If you’re an engineer looking to level up your LLM application game—or just tired of getting inconsistent results from ChatGPT—learning prompt engineering is essential.&lt;/p&gt;

&lt;p&gt;This post condenses the comprehensive DeepLearning.AI course into actionable, developer-ready best practices you can apply right away, with real-world coding and product examples.&lt;/p&gt;

&lt;p&gt;Table of Contents&lt;br&gt;
Understanding LLM Types&lt;/p&gt;

&lt;p&gt;Core Prompting Philosophy&lt;/p&gt;

&lt;p&gt;Best Practices Checklist&lt;/p&gt;

&lt;p&gt;Iterative Prompt Development&lt;/p&gt;

&lt;p&gt;Summarization Techniques&lt;/p&gt;

&lt;p&gt;Inferring Insights&lt;/p&gt;

&lt;p&gt;Text Transformation&lt;/p&gt;

&lt;p&gt;Content Expansion&lt;/p&gt;

&lt;p&gt;Building Chatbots&lt;/p&gt;

&lt;p&gt;Your Next Steps&lt;/p&gt;

&lt;p&gt;Understanding LLM Types&lt;br&gt;
Base LLMs:&lt;br&gt;
Predict next-word sequences; may not follow instructions.&lt;/p&gt;

&lt;p&gt;Instruction-tuned LLMs:&lt;br&gt;
Specifically trained to follow instructions. Always prefer these for practical use—think gpt-3.5-turbo, gpt-4, etc.&lt;/p&gt;

&lt;p&gt;Core Prompt Engineering Philosophy&lt;br&gt;
Treat LLMs as highly skilled collaborators who lack your context—be explicit, be clear, and always check your instructions.&lt;/p&gt;

&lt;p&gt;Best Practices (Checklist for Devs!)&lt;br&gt;
Write clear, specific instructions&lt;/p&gt;

&lt;p&gt;Use delimiters (e.g. triple backticks) to separate user content&lt;/p&gt;

&lt;p&gt;Request structured output (JSON/HTML)&lt;/p&gt;

&lt;p&gt;Instruct the model to check preconditions&lt;/p&gt;

&lt;p&gt;Provide examples (few-shot prompting)&lt;/p&gt;

&lt;p&gt;Chain-of-thought reasoning for complex tasks&lt;/p&gt;

&lt;p&gt;Specify output format/order&lt;/p&gt;

&lt;p&gt;Ask for reasoning before answers&lt;/p&gt;

&lt;p&gt;Validate critical outputs (watch for hallucinations)&lt;/p&gt;

&lt;p&gt;Ask for citations/quotes in summaries&lt;/p&gt;

&lt;p&gt;More Developer-Focused Sample Section&lt;br&gt;
Iterative Prompt Development: The Dev Way&lt;br&gt;
Start with a simple prompt.&lt;/p&gt;

&lt;p&gt;Analyze the output.&lt;/p&gt;

&lt;p&gt;Refine requirements: add structure, word limits, or technical requirements.&lt;/p&gt;

&lt;p&gt;Automate testing: For production, validate against real data and edge cases.&lt;/p&gt;

&lt;p&gt;Reminder: “Perfect” prompts rarely exist—iteration is success.&lt;/p&gt;

&lt;p&gt;Practical Prompts: Real Use Cases&lt;br&gt;
json&lt;br&gt;
// Ask for structured, machine-readable output&lt;br&gt;
{&lt;br&gt;
  "sentiment": "positive",&lt;br&gt;
  "emotion": "joy",&lt;br&gt;
  "main_topic": "product feedback"&lt;br&gt;
}&lt;br&gt;
text&lt;/p&gt;
&lt;h3&gt;
  
  
  Example: Summarize Product Reviews
&lt;/h3&gt;

&lt;p&gt;Prompt:&lt;br&gt;
Extract the &lt;em&gt;main feature request&lt;/em&gt; and overall &lt;em&gt;sentiment&lt;/em&gt; from the following review:&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;Output as JSON.&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Your Next Steps as a Developer&lt;br&gt;
Experiment: Try integrating LLMs into your projects.&lt;/p&gt;

&lt;p&gt;Document: Keep a log of prompt outcomes (helps rapid improvements).&lt;/p&gt;

&lt;p&gt;Iterate: Small tweaks, big results.&lt;/p&gt;

&lt;p&gt;Share: Comment with your own prompt hacks below.&lt;/p&gt;

&lt;p&gt;Keep Learning: New LLM capabilities land regularly—stay curious.&lt;/p&gt;

&lt;p&gt;About This Guide:&lt;br&gt;
Summarized from the DeepLearning.AI course by Andrew Ng and Isa Fulford. Highly recommend taking the course for direct hands-on practice.&lt;br&gt;
Course Link: &lt;a href="https://learn.deeplearning.ai/courses/chatgpt-prompt-eng/" rel="noopener noreferrer"&gt;https://learn.deeplearning.ai/courses/chatgpt-prompt-eng/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>promptengineering</category>
      <category>chatgpt</category>
      <category>deeplearning</category>
    </item>
  </channel>
</rss>
