MEP EP#350: Estimating Effort
MEP EP#350: Estimating Effort

MEP EP#350: Estimating Effort

Bor

60 min
Success & Inspiration
Play

Description

<h4><a href="https://macrofab.com/blog/mep-ep350-estimating-effort/">MEP EP#350: Estimating Effort</a><b><br></b></h4><p><b>Python Demo for Extra Life API</b></p> <ul> <li aria-level="1">Stream Date: <a href="https://www.extra-life.org/participant/Parker-Dillmann" target="_blank" rel="noopener">November 5th, 2022</a></li> <li aria-level="1">Functionality so far <ul> <li aria-level="2">Check Extralife API for donations <ul> <li aria-level="3">This is done with the requests module</li> <li aria-level="3">This endpoint seems to return old and new donations</li> <li aria-level="3">There isn't a “new donation” end point it seems</li> </ul> </li> <li aria-level="2">Get the donation IDs and compare them to a local file <ul> <li aria-level="3">Local file is made with the pickle module</li> <li aria-level="3">Pickle allows you to take any data structure in python and “package it” into a binary file for storage.&nbsp;</li> </ul> </li> <li aria-level="2">If there is a new donation ID that isn’t in the local file <ul> <li aria-level="3">Queue up a random audio clip</li> <li aria-level="3">Record the donation ID to the local file</li> </ul> </li> <li aria-level="2">Audio is placed through the playsound module <ul> <li aria-level="3">Weird “bug” that short audio clips get cut off</li> <li aria-level="3">Add a little sleep after the call to get around it</li> </ul> </li> <li aria-level="2">Auto parses the audio folder for the files <ul> <li aria-level="3">Looks into audio file</li> <li aria-level="3">Gets all the file names</li> <li aria-level="3">Adding a new audio clip is as simple as dropping it into the folder</li> </ul> </li> <li aria-level="2">Preventing truly random files <ul> <li aria-level="3">Made a rotating buffer</li> <li aria-level="3">Used the collections module to implement a bi-directional “stack” <ul> <li aria-level="4">Think like a bitwise shift but with an array of strings</li> </ul> </li> </ul> </li> <li aria-level="2">Mul

Uploader

miles_wave

miles_wave

MEP EP#350: Estimating Effort - Listen Free | WowFM