Author: Josh

  • When You Don’t Feel God

    Most of the time I didn’t feel God was when I was struggling with habitual sin. It was heart-wrenchingly painful and I felt so far from God. I would do the same things, over and over and over again no matter how much it hurt. But, sometimes, we feel far from God even when we…

  • If I Die Tonight

    If I die tonight; Cry. Cry because I’m gone. But, do not cry for me. I stand face to face with my Creator, Savior and Friend. I know the greatest heights of joy, the depths of grace, here with my greatest friend of all. I know no more sorrow, no more pain. And if you…

  • Linear Regression

    One of the projects in my Python 3 course on Codecademy was to calculate the linear regression of any given line in a set. This is my journey of doing just that, following their instructions. The goal, is to calculate the bounciness of different balls with the least error possible. Starting with y = m*x…

  • Nested Loops

    In an exercise I was working on, I wanted to raise a list of bases to a list of powers and return the result. I tried a complicated method with list comprehensions and regular for loops, but nested loops make this so much easier: exponents([2, 3, 4], [1, 2, 3]) returns:

  • Why?

    Why do you want to do this? This is a very important question to answer before looking at personal finance or anything else. Why do you want to manage money well? To make more money. “Meh”. That’s a result, not a purpose. That would never convince me to work through a hard night when I…

  • Automatically Snooze Incoming Mail in Gmail

    I get emails every day for a friend’s project that I want to respond to at least 12 hours after I get them, to see if the user has any questions. I was thinking it would be nice if there was a feature for this in Gmail. There isn’t in Gmail itself, but I figured…

  • Set/Reset MySQL Root Password on MySQL 14.14

    I was trying to setup MySQL that I installed using sudo apt install MySql and couldn’t remember how to set the root password. I found many different instructions on how to stop MySQL, boot into safe mode and reset the root password. None of them worked. This did: sudo mysql_secure_installation You will see something like…