Skip to content

Instantly share code, notes, and snippets.

View joecannatti's full-sized avatar

Joe Cannatti joecannatti

View GitHub Profile
@joecannatti
joecannatti / daily_phish_transcription.sh
Last active June 19, 2023 16:44
Fetch the most liked Phish song performed on this day and setup tools to transcribe
#!/usr/bin/env bash
#
# setup on mac:
# brew install jq
PHISH_TOKEN="[REDACTED]"
DAY=`date +%m-%d`
API_BASE="http://phish.in/api/v1/"
DAILY_URL="$API_BASE/shows-on-day-of-year/$DAY"
METADATA_FILENAME="daily-phish-$DAY.json"

Hey! I was writing this up as a potential future project, and it occurred to me that this is a great time to share it to the eng team. It’s heavily related to some problems we are running into with migrating to our new payments infrastructure.

If you have anything to add, please add it as a comment, because I am suggesting this as a real project to be undertaken sometime in the future.

Project Idea: Reimagining the Task Lifecycle

One of the absolute foundational aspects of the TaskRabbit system is the progression of a Task from its creation to its completion by a Tasker. Along the way we create a bunch of different entities in the database. Those entities are often used to signify the progress of the Task through its Lifecycle. Things like: