Kunal Marwaha

๐Ÿ“Œ now ยท ๐Ÿ’Œ mail ยท ๐Ÿ“ resume ยท ๐Ÿ’ป GitHub ยท ๐Ÿ”ฌ ORCID


Hereโ€™s me, saying cheese.

๐Ÿก hometown: sunny Sacramento, California

๐Ÿฆ… I became an Eagle Scout in 2011.

๐Ÿš‘ I used to make software in public health via Palantir Technologies.

๐ŸŽธ I then built tools to understand Pandora Mediaโ€™s systems.

๐Ÿ‘ฃ Now Iโ€™m wandering onโ€ฆ

๐Ÿ’ฒ My favorite organizations could always use a donation.


I study quantum information, currently approximation algorithms.

In the past, Iโ€™ve thought about quantum state estimation, philosophy of science, computational fluids, and lattice spin systems.

๐Ÿ‘ป Quantum Applications of an Efficient Solution to Compressive Phase Retrieval (2015)
using signal processing theory in quantum mechanics
presentation slides here

๐Ÿ”ฆ Applications of Bilinear Control Theory in Nonlinear Spectroscopy (2016)
using light to estimate stuff
presentation slides here
code (as .ipynb, as .pdf)

๐Ÿš€ shock-front-math (2019)
re-deriving the math behind supernovae
source .tex file here

๐Ÿ“ lakatos (2019)
notes on Imre Lakatos and passionate rationalism

๐Ÿ”ฎ interstellar-bubbles (2019)
some stars blow themselves a cocoon

๐Ÿงฎ Counting in the XX Model (2019)
at infinite temperature, quantum systems are counting problems
source .tex file here


I went to college at UC Berkeley from 2012-2016. It was awesome.

๐Ÿ”ง MechE Course Guide (2014-15)
map of Calโ€™s undergrad Mechanical Engineering courses

๐Ÿฅ‘ studyfruit (2015)
wiki of student materials for UC Berkeley classes

๐Ÿ’ helping TAs conduct video office hours (2015)
solutions for conducting remote office hours

๐Ÿ“Š datamap (2016)
resources at UC Berkeley related to data science

๐Ÿป cal (2019)
reflections on attending UC Berkeley


Iโ€™ve played the carillon, a very unusual instrument, since 2012.

๐Ÿ”” campanile (2014)
leave a virtual message on Calโ€™s bell tower
with Arun Jandaur, Kate Rakelly, Kevin Chen, for Hack the Bells

๐Ÿ•ธ๏ธ website for Berkeley Carillon Guild (2016)
carillonist students at Berkeley

๐ŸŽถ TwitchPlaysMusic (2017)
real-time sheet music generator from Twitch comments
performance clip from the Campanile here


I adore puzzles. I learned to write my own when teaching a probability class.

โฌ› rubik (2015)
Rubikโ€™s cube simulator and solver

๐Ÿ”ข sudoku (2015)
Sudoku maze generator and solver

๐Ÿฅž pancakes (2015)
delicious logic problem (see problem 2)

๐Ÿฝ Goldilocks and the Assistant (2015)
fairy-tale-themed logic problem

๐Ÿ”บ triangles (2016)
counting triangles in bigger triangles

๐Ÿป 7-beers-matching (2018)
beer-themed probability problem
source .tex file here

โœจ my response to a clean code challenge (2018)
de-mystifying a function to make square spirals
challenge from Thai Pangsakulyanont

๐ŸŽฐ powerball-problem (2020)
whatโ€™s the chance of finding your matches?
source .tex file here

๐Ÿ‡ grape-codes (2020)
exploring and playing with JRMF material
source .tex file here


I used to work as a software engineer. Programming can be fun!

๐ŸŒฝ maze (2015)
path-finding in random 2D mazes

๐Ÿ’ฐ mystartup (2015)
sarcastic startup tagline generator

๐Ÿ‘ฝ SlargNacking (2016)
donโ€™t be happy, be interested

๐Ÿ“ข trump_yelling (2017)
twitter analysis of Trumpโ€™s ALLCAPS tweets

๐Ÿ’“ automata (2018)
simple cellular automata generator

๐ŸŒŽ websites (2018)
evolving philosophy on website-building

๐Ÿƒ QWOPPER (2019)
a programmatic interface for QWOP


Iโ€™ve created many tools with a clear purpose in mind.

๐Ÿ€ sweet spot (2013)
tool to scout playersโ€™ shooting performance
with Leah Dickstein, for Facebook NorCal Regional Hackathon

๐ŸŽ…๐Ÿฝ secretsanta (2015)
assigns gift-givers for secret santa exchanges

๐Ÿ„ count-spots (2017)
locating and counting spots in an image

๐ŸŒˆ pleasant-places (2018)
interactive United States map to find pleasant weather

๐Ÿ““ friendlog (2018)
command-line journal for intentional friendship

๐ŸŽ mac (2018)
tips and tools on using a Mac

๐Ÿ‘ท rtebn-tech-audit (2018)
Dec 2018 technology audit for Rebuilding Together - East Bay North

๐Ÿฆ  ecoli (2020)
analyzing Penobscot Riverโ€™s E. Coli concentrations
with Angie Reed

๐ŸŽฅ myDiya videos (2020)
for Amit Bansalโ€™s health diary company


I often prototype new ideas. Not everything gets polished.

๐Ÿ‘จโ€โš•๏ธ CollegeConnect (2014-15)
peer-to-peer computer-to-cellphone mental health app
with Andre Askari, Zachary Zeleznick, winning entry for Accenture Hackathon Games

๐Ÿ’ฌ baton (2015)
answer student questions en masse: they text you, you respond online

๐Ÿ•ธ๏ธ website for OtterNest (2015)
ideas from a healthcare startup incubator; team has disbanded

๐ŸŽ‡ congrats (2018)
playing with a Javascript particle engine
with Ishaan Jain

๐ŸŒ€ spirals (2019)
around and around with Pythonโ€™s Turtle graphics
movies: spirals1.mp4 (1.5M), spirals2.mp4 (4.2M), spirals3.mp4 (3.0M)

๐Ÿ“– jupyter-diff (2019)
an experiment in version control for Jupyter notebooks
with Saul Shanabrook at a Jupyter Open Studio Day


I love teaching. I was an instructor at Berkeleyโ€™s D-Lab for a year.

๐Ÿ the big deal about Python (2016)
on learning to code and the Python programming language
link to my working group


Free software gets me excited. Iโ€™ve maintained Moment.js since 2017.

๐Ÿค– moment-bot (2017)
auto-lints pull requests to Moment.js

๐Ÿ”ฅ flaminโ€™ hot cheetos font (2019)
a flaminโ€™ fontfile and optimized images
from erica duโ€™s nostalgia

๐ŸŽš slider for polygons in contact (2019)
beautiful geometric shapes, now interactive
from Yomnaโ€™s !!con talk

๐Ÿ”ค github-typo (2019)
fixing typos on GitHub, until I got shut down

๐Ÿฅ infrastructure for attending (2019)
breathing life into offline documentation for python libraries
mentored by John Purviance at a Jupyter Open Studio Day

๐Ÿ”ญ the future of jupyter.org (demo here) (2019)
react+webpack+science
existing website here

โœ๏ธ better eraser tool in coco-annotator (2019)
how fast can we fix a bug?
with Ryan Avery

๐Ÿ‘ catan (2019)
play with friends whoโ€™ve moved away
with Jesus Garcia


I frequently teach programming to academics with the non-profit Software Carpentry.

They recently renamed to The Carpentries. It is one of my favorite organizations.

At CarpentryConnect Davis in 2018, I blogged about different ways people find this group.

2015
at UC Berkeley (blog post)

2016
at Purdue University

2017
at SSAI / NASA-Langley (blog post)
at West Virginia University
at University of Arkansas
at SSAI / NASA-Wise (blog post)
at Elizabeth City State University

2018
at Stony Brook University
at UC San Francisco
at UC Berkeley
at University of Virgin Islands (blog post)
at UC San Francisco

2019
at Georgia Tech
at National Academy of Sciences (with Data Carpentry)
at Lawrence Berkeley National Lab / US-ATLAS
at SSAI / NASA-JPL (with Data Carpentry)
at TribalDATA / Bishop Paiute Tribe (with Data Carpentry)

2020
at SSAI / NASA-JPL (with Data Carpentry)


You can reach me by e-mail. I especially like good questions.

How does one get comfortable living in the absurd contemporary?