==================
== Madhav Kumar ==
==================

Distribution of the Daniel Morgan Trail System

About a month ago, I was speaking to Liv from The Walking Spartan about, unsurprisingly, walkability and bikeability in our city. In passing, they mentioned being interested in finding the distribution of the Dan across our city council districts. The conversation moved on, but the idea sat with me for a while.

I’ve been sick for the past two days, so instead of working I thought it would be fun to try to figure this out.

Read more...

Creative Fuel

In the last three years, I’ve re-discovered my love of reading. As a kid, I was a voracious reader.1 Slowly the amount that I read for pleasure dwindled. When I was in high school, I read maybe 3 books a year for fun. By the time I was in college, that dropped down to at most 1.

What drove me back to reading was actually a desire to sleep better. There’s a general consensus that limiting screen time before bed will improve you sleep with the recommendation being no screens 2 hours before you go to sleep. So what better to do in that time than start reading?

Read more...

30 Part II: 30 is U

I recently turned 30 and wrote a silly post about converting 30 into different bases.

The idea came when I was trying to understand why we consider turning 30 to be significant. We celebrate other ages because they mark some cultural or legal transition. Bar and bat mitzvahs, quinceaƱeras, and sweet sixteens are considered to be coming-of-age ceremonies. In America, 18 and 21 are legally significant because they mark legal adulthood1 and legal alcohol consumption, respectively.

Read more...

30

I turn 30 today. To celebrate, I thought it would be fun to write a script that ouputs the number 30 in the first 30 bases.



convert_base.sh#

 0
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh

if [ "$2" = 1 ]; then
    result=$(printf "%0.s1" $(seq 1 $1))
    echo "$result"
    exit 0
fi

number=$1
base=$2
result=""
while [ $number -gt 0 ]; do
    remainder=$(( number % base ))
    if [ $remainder -lt 10 ]; then
        result="$remainder$result"
    else
        letter=$(printf "\\$(printf '%03o' $(( remainder + 55 )) )")
        result="$letter$result"
    fi
    number=$(( number / base ))
done

echo "$result"

Explanation#

A couple of things worth noting:

Read more...

Weeding

#gardening

Spring has arrived and our yard is full of life again. With the blooming of everything we have planted also comes everything we did not plant. Weeding is a necessary and laborious practice. It is also rather monotonous and offers space for uninterrupted thought. While weeding recently I could not help but think about our relationship with the practice itself. If I were a 17th century French philosopher I might call this “Meditations on Weeding”.

Read more...

AI and AC

#artificial-intelligence

AI is like AC.1 This is not a hot2 take, but a reformulation of an idea you’ve likely seen many times already.

The internet is awash with blogs, podcasts, and videos on the costs and benefits of using or not using AI. Recently, vibe coding has been the hot new thing. We’re now seeing stories of engineers lamenting the atrophy of their coding abilities as they’ve offloaded the responsibilities of writing code to their LLM of choice.

Read more...

Building a Fence for Our Garden Bed

#gardening

A raised garden bed backed by a pipe and wire fence.

Every spring, we try to grow some vegetables, fruits, and/or flowers in our garden. Every spring, our local deer feast on our vegetables, fruits, and/or flowers.1

In previous years we tried deterrents and repellents like Irish Spring soap, marigolds2, and ultrasonic repellers. The ultrasonic repellers had the best results, but sometimes the deer figure them out.

We also tried makeshift guards and cages built with whatever we had on hand. These were more effective. However, they were prone to falling over in storms, annoying to move, and an eyesore.

Read more...

Common Threads: Use Friction Strategically

#common-threads

Common Threads: Use Friction Strategically#

This is a part of a series called “Common Threads”. My goal is to bring together ideas from different sources I interact with and synthesize them into a post as a means of learning in public. See the introductory post for a slightly more in-depth explanation of what this is and why I’m doing it.

Fibers#

Definition#

Outside of the ideal scenarios of physics problems, friction exists.1 This is not a good or bad thing, it simply is. Every time we do something, there is some resistance we must overcome. We can use this strategically. Reduce friction for behaviors you want to encourage. Increase friction for those you want to prevent.

Read more...

Common Threads: Planning is Good, Doing is Better

#common-threads

Common Threads: Planning is Good, Doing is Better#

This is a part of a series called “Common Threads”. My goal is to bring together ideas from different sources I interact with and synthesize them into a post as a means of learning in public. See the introductory post for a slightly more in-depth explanation of what this is and why I’m doing it.

Fibers#

Definition#

“Everybody has plans until they get hit for the first time.”
– Mike Tyson

Read more...

Common Threads: Think Big, Build Small

#common-threads

Common Threads: Think Big, Build Small#

This is the first in a series I’m calling “Common Threads”. My goal is to bring together ideas from different sources I interact with and synthesize them into a post as a means of learning in public. See the introductory post for a slightly more in-depth explanation of what this is and why I’m doing it.

Fibers#

Definition#

To extend Swizec’s brick layer metaphor, we must know we are building a cathedral and we must build it brick by brick. When building a product, we want to work in small batches. Small batches are easier to verify. They allow us to deliver value to users faster. But, we must never forget that we are building a product, not just a set of features. Each small batch should aim to be aligned with goals of the company1 and the product we are building.

Read more...
1 of 2 Next Page