惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

TaoSecurity Blog
TaoSecurity Blog
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
罗磊的独立博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
Security Archives - TechRepublic
Security Archives - TechRepublic
宝玉的分享
宝玉的分享
N
News and Events Feed by Topic
The Hacker News
The Hacker News
Google DeepMind News
Google DeepMind News
C
CERT Recently Published Vulnerability Notes
F
Full Disclosure
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Security @ Cisco Blogs
H
Hacker News: Front Page
L
LangChain Blog
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
B
Blog RSS Feed
H
Heimdal Security Blog
Google Online Security Blog
Google Online Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
V2EX - 技术
V2EX - 技术
V
Vulnerabilities – Threatpost
Help Net Security
Help Net Security
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
Tailwind CSS Blog
W
WeLiveSecurity
T
Tenable Blog
D
DataBreaches.Net
Martin Fowler
Martin Fowler
Cyberwarzone
Cyberwarzone
Cisco Talos Blog
Cisco Talos Blog
S
Secure Thoughts
O
OpenAI News
L
LINUX DO - 热门话题
Vercel News
Vercel News
阮一峰的网络日志
阮一峰的网络日志
Jina AI
Jina AI
J
Java Code Geeks
Know Your Adversary
Know Your Adversary
IT之家
IT之家
Latest news
Latest news
Cloudbric
Cloudbric

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Dawa Saathi: I finally finished the part of my medicine bot that actually mattered
surajdev9 · 2026-06-05 · via DEV Community

AI medicine-awareness bot worked — but only in English, the one language most of the people I built it for can't read. Here's the problem, the one-day sprint to fix it, and how GitHub Copilot got me through it.

GitHub Finish-Up-A-Thon submission. I shipped this project months ago, but it was never truly finished — it was missing the one feature that decided whether a real person in my own community could use it. This challenge was the push that made me sit down and close that gap in a single night.

The problem we face

In India, you can walk into most pharmacies and buy prescription drugs without a prescription. We've quietly normalized something genuinely dangerous, and the research is blunt about it.

A simulated-patient study in Bengaluru sent two researchers into 261 pharmacies with fake symptoms. Antibiotics were handed over without any prescription at roughly two-thirds (66.7%) of them. Not a single pharmacy warned about side effects. Only about one in five even mentioned that a doctor's prescription was needed. The "guidance" most people walked out with was "take it twice a day" — and nothing else. (study)

Here is the part that kept me up at night: it's not because people are careless. The shopkeeper isn't a doctor. The label is printed in tiny English. A proper consultation costs time and money many families simply don't have. So people take what they're handed — and hope it's fine.

Why it's important

This isn't a small inconvenience. Taking the wrong medicine, or the right medicine the wrong way, is one of the biggest drivers of antibiotic resistance — the slow disaster where medicines stop working.

The landmark 2019 Lancet GRAM study estimated 1.27 million deaths worldwide were directly attributable to drug-resistant infections in a single year. In India alone, an estimated 297,000 deaths were directly attributable to AMR, and about 1.04 million were associated with it. (Lancet GRAM 2019, India figures)

I'm not a doctor and I can't change how medicines are sold. But I'm a developer, and I kept circling one small thing I might actually be able to build:

What if a person could at least understand what they're holding — before they take it?

So I built Dawa Saathi. You send a photo of a medicine label, and it reads it with AI and explains, in plain language: what the medicine is commonly used for, its common and serious side effects, and the key warnings (pregnancy, liver, kidney, alcohol, children, the elderly). It does not diagnose. It does not give a dose. It never says a medicine is "safe to take." Because with medicine, a confident wrong answer is more dangerous than no answer at all.

The gap I shipped with (the "before")

Here's the uncomfortable truth about the first version: it only spoke English.

I built Dawa Saathi for people in rural and small-town India — the elderly, people with little formal schooling, people who grew up reading Kannada, Hindi, or Marathi, not English. I come from that world myself; I went to a Marathi-medium government school in a village before I ever wrote a line of code. And yet the tool I built for those people answered every single question in fluent English.

It worked. The AI read labels accurately, the safety guardrails held, caching and rate limits were solid. But it was "finished" the way a bridge is finished when it stops halfway across the river. The one feature that decided whether a real person in my community could actually use it — language — was the thing I'd left undone.

The Finish-Up-A-Thon prompt ("revive a project you started but never completed") landed on exactly that nerve.

One day, under pressure

I gave myself the length of the challenge to fix it, and it came down to a single overnight session — about six hours straight.

That kind of pressure cuts both ways. On one hand, a deadline is the best forcing function I know; the project had sat "good enough" for months precisely because nothing forced me to finish it. On the other hand, language support is not a cosmetic change — it touches the welcome flow, every button, every error message, the medicine response itself, and the storage layer. At 2 a.m., with a medical app where a sloppy mistake isn't just a bug, that's a lot of surface area to get right while tired.

There were stretches where I went down the wrong path — I first started building a translation dictionary, realized it would silently drop medical words, and had to back it out and rethink the whole approach. Hours like that are where solo projects usually die.

How GitHub Copilot helped me through it

I enabled GitHub Copilot specifically for this sprint, and I'll be honest about exactly what it did — good and bad — because that's the point of this challenge.

Where it genuinely sped me up: the repetitive scaffolding. The new i18n layer has dozens of string entries across two languages; the Telegram handler needed every reply rewired to read from it; the callback router needed a whole new branch for language selection. From a comment and the surrounding code, Copilot autocompleted big chunks of that pattern-heavy work. Tasks that would have been an hour of careful typing became a few minutes of accepting and fixing.

Where it helped me think under fatigue: when the bot stubbornly kept replying in English even after I'd changed the code, Copilot Chat helped me reason through the deploy pipeline and spot that I was running an old compiled build (npm start runs dist/, not src/ — I'd forgotten to rebuild). At 3 a.m., that saved me from chasing a ghost for an hour. It also caught a sloppy callback branch where my "language" and "purpose" buttons could collide.

Where I had to stay in charge: Copilot is confidently wrong sometimes. It suggested code that looked right but quietly dropped a safety guardrail, and once invented an API shape that didn't exist. In a normal app that's an annoyance; in a medical app, an unreviewed AI suggestion is exactly the "confident wrong answer" my whole project exists to prevent. So I read every line it gave me. The speed was real — but the judgment stayed mine.

Honestly, Copilot didn't replace that six-hour night. It made the difference between finishing it and giving up around hour three.

The major update: what actually changed

The first thing the bot now does on /start is ask which language you're comfortable in:

🌐 Please choose your language
ದಯವಿಟ್ಟು ನಿಮ್ಮ ಭಾಷೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ
[ English ]   [ ಕನ್ನಡ ]

Enter fullscreen mode Exit fullscreen mode

Tap a button, and everything afterward — welcome, buttons, questions, and the full medicine explanation — comes back in that language. The choice is remembered, and you can change it anytime with /language.

Under the hood, I split the text into two kinds and treated them very differently:

  1. Fixed UI text (buttons, labels, errors, and the all-important medical disclaimer) lives in a small i18n table. It's instant, costs zero tokens, and — critical for health content — the disclaimer in each language can be reviewed word-for-word instead of machine-guessed.

  2. The medicine explanation is generated by the LLM directly in the user's language. I deliberately did not translate the English afterward. The awareness model writes its answer in Kannada from the start, while keeping JSON keys in English (so the parser never changes) and drug names in Latin script (so "Tranexamic Acid 500mg" is never mangled). Every safety rule — no dosage, no diagnosis, no "safe to take," always "consult a doctor" — is repeated for the target language.

That choice means one model call instead of two, no brittle dictionary dropping medical words, and a reply that reads like it was written for a Kannada speaker rather than awkwardly converted into Kannada. Each language is cached separately, so the next person who scans the same strip gets an instant answer.

What this means for people in Karnataka

This is the part I actually care about.

Kannada is the first language of around 44 million people, and roughly two-thirds of Karnataka's ~68 million residents speak it natively (2011 census / overview). Meanwhile, by census-based estimates only about one in ten Indians use English at all — and a far smaller share read it comfortably enough to parse a medicine label or a list of side effects.

Put those two facts together and the old version's flaw is stark: an English-only health tool quietly excluded the majority of the exact people it was meant to help. The grandmother in a Belagavi village holding a strip of tablets, the daily-wage worker in Kalaburagi who left school early — they could open the bot, but they couldn't read it.

With this update, that same grandmother can now ask in Kannada and get an answer she can actually understand — what the medicine is for, what to watch out for, and a clear, repeated nudge to see a doctor. It doesn't make the bot a doctor. It makes the bot legible to the people who need it most. For a medicine-awareness tool, legibility in the user's own language isn't a feature — it's the whole job.

The before → after, at a glance

Before After
Languages English only English + ಕನ್ನಡ (more in ~2 lines)
First interaction Dumped an English welcome Asks your language, then speaks it
Who could actually use it English readers (~1 in 10) Tens of millions of Kannada speakers
Translation approach LLM generates in-language; i18n for fixed UI
Reachable by my own family No Yes

Future plan

  • Hindi and Marathi next — the architecture already supports them; each new language is roughly a two-line change plus a reviewed disclaimer.
  • Voice output, for users who can't read at all — arguably the people who need this most.
  • Reviewed translations of the fixed disclaimer with help from native-speaker volunteers, so the safety text is never just my best guess.
  • Pharmacy and NGO partnerships — the long-term home for something like this is alongside health workers and CSR programs, not as a lone bot.

The honest impact

I want to be careful not to overclaim. This won't fix the bigger problem. That needs doctors, pharmacists, and real regulation. One Telegram bot does not move a national health statistic.

But the gap it closes is real and specific: a person can now understand, in their own language, what they're about to put in their body — before they take it. If that makes even a few people pause and think, or take one question to a doctor they'd otherwise have skipped, it was worth the night.

If you work in public health or medicine, I'd genuinely value your guidance on doing this responsibly.

Try it / code


Built solo. Not a substitute for a doctor — by design.

Sources