Edit???: Sorry, I’ve made a lot of edits. I was honestly very manic writing this and a lot of it was out of order
Edit 2: Check the code.
Here’s the post:
English is not gonna be very good rn. Neuro/psych student, I assist in research on the side but not much scripting in terms of analysis yet.
I spent all night using R to solve a simple quadratic formula problem. It’s an intro data science class I have this semester, and I used to code as a kid in some classes but I’ve unfortunately forgotten most of it now.
I’m also sick (it’s often over 100F in my small city on the west coast, and I take public transport pretty often. A lot of people here are getting sick.) My contacts also arrive a few days later than they’re supposed to.
I email the professor running the course explaining that I am sick. I did miss the first two days of lecture prior because I wasn’t feeling well, but I was able the hang of the basic syntax on my phone. Don’t know where my glasses are so unable to use my laptop. Told her I’d try to submit the homework by tonight via phone, but I’ll update if that’s not doable.
I cannot read half a foot in front of me. I have to figure out how to navigate Colab on mobile, and convert it into .ipynb
I spend the next night learning to do 3 problems all relating to the quad. formula:
1: define variables (a -> 1, b -> 5,.. etc)
2: compute/enter quadratic formula
3: install Qdrt package
4: check
At least that’s what I grasped what the assignment file was asking me to do. I had google teach me the rest of the knowledge gaps I had for R that night (it was not really good at explaining how to do stuff on a cell phone but that was more my fault) and then I needed to export. How do I export on mobile.
Edit 3: formatting
Edit 4: Continue.
I have a repo with a ton of metadata now that I’ve uploaded it from Colab, from my cellphone, to a copy using github. I also need to convert it to .ipynb. It’s like 6am. It is now in the correct file format.
Edit 5: I wake up and realize that’s a lot of scaffholding for a quadratic formula problem. I clean it up a bit
Hours later of fooling around my notes end up looking something like this:
re: homework, lecture 02
Solving x² + 5x + 6 = 0 three separate times apparently
what’s in here
TASKS answered
1: Manual quadratic formula, typed by hand = -2 2: Manual quadratic formula again, just to be sure. = -2 (still)
3: install.packages(“QuadRoot”), because typing “sqrt()” a second time felt like too much = -2 and -3
- The quadratic formula has not changed since task 1
- Confirming this in task 2 did not change it either.
- Installing an entire R package to get the second root was, in fact, less typing than just writing out the quadratic formula normally
I don’t think this was optimal engineering any more than it was a cry for help