Posts

Two Versions of Quicksort with Python

I've been taking the Data Structures & Algorithms in Python class on Udacity.com. Lately, I've been working on implementing an in-place Quicksort two different ways.  The first way follows the way they explained it in the class video . This version involves moving the pivot after each comparison: The second way is based on a visualization they linked to from the lecture and this tutorial . It moves the pivot after all comparisons for each partition have been made, eliminates the need for the "j" variable that I have in the first version, and is a few lines shorter than the first version, but it is harder for me understand intrinsically:

Drawing with Python turtles library

Image
-Music made in FL Studio -Screen recording with OBS -Code on GitHub (I include a button because I needed to be able to start recording my screen before the animations started):

App Release: Volume Button Scorekeeper (Two Team)

Image
This is my first published app built with Kotlin! :) Features: Use volume buttons to keep score for two teams Can reset to any scores you choose Available in 100 languages Code on GitHub .

New Video - Android: Getting Latitude and Longitude (Kotlin version)

Image
The code from this video is on GitHub if you want to copy and paste: https://github.com/amandafarrell/LatLong This video is based on the android dev page for getting last location: https://developer.android.com/training/location/retrieve-current

App Release: Volume Button Counter

Image
This app got 25 downloads and a five-star review in its first week on the Google Play Store! Code on GitHub

New Video - Unity 2D Tutorial

Image
You can make a game. Start by downloading Unity: https://store.unity.com/download Links to the code I use in the video: https://github.com/amandafarrell/YangGameTutorial/tree/master/YangGame6/Assets/Scripts I got started with this tutorial from Android Authority: https://www.youtube.com/watch?v=4BD3y0NYNqk www.Yang2020.com for more about Andrew Yang.

Python Translations Tool

Image
I made a python tool (which uses selenium and chromedriver) that takes in a phrase to translate and an array of language codes of the languages you want to translate the phrase into. It creates google translate URLs, copies the translations into an array, and then prints the array (which I then use to copy into Android Studio's translation tool). Here's a link to the python code for anyone interested:  https://github.com/amandafarrell/PythonTranslationsTool/blob/master/Translations.py Most of my app downloads are not in English (for example, my Scorekeeper app has been downloaded over 20,000 times and less than half of those downloads are in English), so it was worth it to me to manually create translated versions of my apps, but going forward I wanted to do less copying/pasting. Hopefully, this tool is helpful to others as well!