Writing
Notes on data science, R and Python, the Internet of Medical Things, healthcare data, and building software people can trust. A new post most days.
When I reach for R instead of Python
Python is my default. But for some statistical work I still open R — and that is a strength, not a betrayal.
Pandas patterns I reach for every day
Most pandas pain comes from writing it like a for-loop. A few patterns make it clean, fast and readable.
Look at your data before you model it
The fastest way to a wrong answer is to fit a model before you have looked at the data. Here is the look I take first.
Passwordless done right: why passkeys beat passwords
Passwords are the weakest link in almost every breach. Passkeys fix the problem at its root — not by making passwords stronger, but by removing them.
Building SWASTHA: an Internet of Medical Things system for remote patient monitoring
A patient’s condition can change in minutes. SWASTHA is an IoMT platform I helped build so that a caregiver does not have to be in the room to notice.
Defending an app from prompt injection
The moment your app lets a user’s words reach a language model, their words can try to give the model orders. Here is how I keep them from being obeyed.