Day 73 – Fun Day

For a Saturday, I’ve managed to get a good amount of things done! Vin took me to one of my favorite coffee shops and we both got 2 hours of studying done; him Spanish and Ruby for me. I was struggling with the first problem right off the bat and he told me to research online how to do the ‘math’ for it, and it saved me. I did figure the math part out, maybe not in the most elegant way but I’m happy with the first attempt. I realized that I need to learn more about formatting strings so that is something to work on before the assessment. The problem itself is interesting, you have to convert a degree as an integer, to a string that shows the degree, minutes and seconds, with their symbols. The little circle that denotes a degree is hard for me to format for whatever reason. I even ran other people’s code in my terminal to see what it outputted, but it showed the same thing, a bunch of slashes and something that looks like gibberish. I will have to seek help in the school channel on what to do, but otherwise I sufficiently arrived at a working solution. After that we came home to rest and then went out again to but tea; I love my loose leaf English Breakfast! I also rowed today, and went grocery shopping because I decided on a whim to cook stew chicken, one of my favorite meals!

On a side note, my heart has this thing where it starts beating extremely fast and I’m not able to breathe properly. It gets to the point where I feel like I’m about to pass out, but Vin taught me something that slows down my heart rate and calms my breathing. It’s pretty scary but I’m trying not to worry too much about it.

Anyways, tomorrow is meant to be my rest day. I really do intend to relax, but I might end up studying for a bit because why not. It can only help me. I started my new month in my bullet journal but it’s not colored, so once that is done then I’ll take pictures of it. It’s going to be September, my month!! I hope to keep the momentum going in terms of keeping up with my personal goals, and using this journal has absolutely been a game changer. It keeps me accountable and it helps me to visual see what I need to do as opposed to having a boring basic checklist. Plus it’s fun to color, so that in itself is an activity.

Day 72 – Easy 5, Done.

I have managed to finally ‘finish’ the Easy 5 problems. By ‘finish’ I mean I will definitely have to redo them all like 5 times, again. They were actually fun though. I’m tired today so tomorrow I will write more on what I’m doing/planning to do. Just quickly though, I lost my first place spot in Duolingo so I’m trying to get it back before morning! I realized yesterday that they have a Latin course but it’s in beta.

Let’s see, I can’t think of anything else to write because I’m so out of it so gute nacht!

Day 71 – Finally, I Passed a Quiz.

I think technically, 70 and above is a passing score for any quiz, but I never thought of it as passing. An 80% or higher is passing, and that’s what I finally accomplished today. I will say this though, if I had stuck with my original answers on two of those questions that I missed, I would have made a 100%. Thinking about that makes me want to cry, but I’ve already shed enough tears for today. Seriously, at the last question of the quiz, I had a tiny meltdown. I had to pause in the middle of taking it to eat and calm down. I told myself when I came back to it that no matter what score I get, it was going to be alright. I just accepted the fact that I just couldn’t figure it out. This morning I created a log post on my 100 Days of Code repository and rewrote it three times. The first couple times I had written in the ‘thoughts’ section about the fact that I was nervous and was worried that I wouldn’t passed. Then I scratched it all and wrote at last, I will pass with an 80% today. I think the universe sent it back to me. Looking at all of my previous quiz scores, there is obviously a slight increase in the overall score, so that must mean that I’m learning something, even as the lessons get more and more difficult. I thought it was just me having a hard time parsing through loads of code but it isn’t, apparently the quizzes give almost everyone a tough time. Anyway, I worked up a lot of my nerves the past week preparing for this quiz and I guess it paid off. I’ve started writing anki cards for most-used methods so that’s what I’ll continue to do for today, just to let my mind rest a little bit. Tomorrow I will have to jump back into the Small Problems exercises. *cries inside* So those are even tougher than the ones in the actual lessons and make me feel like a dummy more than anything else I’ve encountered in 101. My goal was to take the assessment in September but that might be pushed to October. I’ve realized that I absolutely need that time to let this information sink in.

On a side note, I’ve noticed a changed in my body: I have more energy. That doesn’t mean that I’m not sleepy or wishing to sleep (because I am), but I’ve noticed that I’m able to endure…things. Before, I’d lay in bed all day and not want to leave for hours. I’d sleep in, not study that much, and physically feel like I had to drag myself to do literally anything. For the past week I’ve taken my iron and vitamin d vitamins and I suspect that has something to do with it. Oh! 5 days in a row, I’ve done my exercising on the row machine and took only one day off to rest, and resumed. Never in my short life have I had tone legs, but now that I’m forming them, I can’t imagine what they even felt like before! I feel so much stronger. It’s such a great thing feeling that I can hold myself up and do things for an entire day without losing the energy completely like what I’ve been feeling for years. Hopefully this lasts as long as I keep up with it.

Day 70 – Quiz Prep

I’ve been pretty consistent for the past week, studying every single day even if it’s 30 minutes. I reached 5 hours and 40 minutes today which is great! My maximum hours for a day is 6, and my minimum is 4, so anything in between there will make me happy. Tomororw I will take the quiz at the end of lesson 5 and even now just thinking about it just makes me super nervous. I tend to range in the 70s in terms of score, but I do plan on getting at least a B on this one. I have a feeling though that it’s going to be tough for me, lesson 5 really tripped me up. I thought sorting was going to be a breeze but it was totally the opposite. There’s so much more to it than you think! The lesson was shorter so at least it wasn’t too much information but the information that I did have is difficult to understand. Lesson 6 is the last one in the 101 course; after that, it’s just studying for the assessment. I’ve been told that the assessments are less tricky then the quizzes and I bloody hope so because if taking the quizzes has taught me anything, it’s that I’m just going to fail. Seriously, you have to get a 90 or better on the written and oral and if you fail you have to wait awhile before you take it. Ahhh I’m scared! Oh well, it’s gotta get done. Goodnight!

Day 62 – Lesson 5 and German

A few days ago I took my Lesson 4 quiz and like I said before, I made a 75, which isn’t wonderful but it’s progress from my last Quiz. Granted, it was only about 2 points higher but still, I’ll take it. Obviously my goal is at least and 80% so I’m moving through the lesson assignments at a snails pace. It’s getting to the point in the lessons where we have to take apart code snippets line by line, letter by letter. It’s easier now for me to look at the code and try to figure out what it will output and return, but it’s more difficult to articulate each line and letter. It even says it when you start the lesson: “Take your time, and go through it all carefully. The goal is to deeply understand it all, not finish the assignment as fast as possible.” Which is easier said than done, but I’m not messing around. Also I’m working on studying consistently throughout the week, at least 3 hours but no more than 6. If I want breaks, I take them without shame and then I get back to work and eliminate all distractions. It’s Wednesday and so far the past two days have been going okay. Despite physical pains and waking up so much lately than I want to, it still gets done. Working with nested collections and articulating problems is tricky, so it’s very important to understand it all.

Aside from Ruby, I’m learning German. It’s a beautiful and fun to learn language. A lot of the words look like English so it’s not as difficult to pick up then when I tried French. Now that Vin is doing it too by learning Spanish, I have some competition. That’s exactly what I need to keep going and stay on top of it.

Day 57 – Quiz, Easy 4 and The Range

This will be short because I’m too tired to really write anything. This week has been pretty busy for me: Monday was spent doing Driver’s Ed, and I aced the test! Tuesday morning I had to take the car into Goodyear to see if they could fix my evil a/c unit in my car that decides to go out on literally the hottest days of the year, days where the temperatures reach over 101 degrees. Turns out, all models from 2010-2015 are affected like this, and it’s something the dealership has to replace. Also my tire pressure light won’t turn off even though the tires are properly filled. What a waste of time. I did manage to do a minimum of 2 hours of that day and the next, even while I started to get sick. It’s weird, I had tooth pain that then resulted in ear pain on that same side, then I felt flu-ish. Despite all of that, I did about 5 and 1/2 hours today!! After about an hour or two of reviewing of Lesson 4, I took the quiz and that was a total of 3 hours. Good Lord my eyes were glazing towards the end, and I was disappointed with my final grade, however I did make tiny progress from my last grade. My second quiz score was a 73 and this one was a 75, so maybe it’s progress? Whatever, I’ll take it. To blow off (literally) some frustration, Vin took me to the shooting range, and despite still feeling a bit sick and tired, I got a better feel for how I’m doing in terms of groups and handling the firearm. My Bersa kicks back hard and it always startles me even when I brace for it. He bought a new .22 called the Firefly and it’s so nice to hold and it’s fun to shoot. It doesn’t really kick at all! It did jam a few times however and it could either be because it’s brand new and needs to break in, or because it’s on the cheaper side. August 25th is the next Concealed Handgun Class so we’re preparing for that as much as we can. Tomorrow I will do my best to log in 6 hours of study time, 4 working on Easy 4 problems and 2 reviewing quizzes or Lesson 5. Easy 4 has been a nightmare for me and I’ve been dreading doing those problems but alas, I cannot shy away from them anymore. I’m reaching the end of 101 (2 lessons away) so fearful of the problems or not, they’ve got to get done. I don’t really know why problems that deal with numbers and mathematical operations are hard for me. That’s it for now, this turned out longer than I thought it would have. Goodnight world!

Day 54 – Getting Work Done

I decided to create physical paper cards instead of anki cards. It’s easier for me but also very time consuming. There’s enough time spent on screens as it is so this will disconnect me a little bit. I almost ‘finished’ lesson 4, but I really don’t think that I’m ready to take the quiz. The first quiz score was a 60 something, and the next one was a 74. I was pretty disappointed as you can imagine, so I obviously plan to study hard to pass this one with at least an 80. I’m going through each lesson and making cards for important concepts then I will do the same when I review the Ruby Docs for String, Array, and Hash. Hopefully this will help me to remember methods and concepts. My original goal was to take the 109 assessment sometime in September but I’m not sure if I will make it. If anything, the start of October. I can’t even think of taking the assessment without going through all the lessons and problems and attending as many study sessions as I can. Ugh it seems like so much work but it’s gotta get done. Sometimes I wish to go faster with this but I know it can’t be rushed. Tomorrow I have to take the car in to get the ac fixed and also have to spend 6 hours retaking a drivers safety course. It’s going to be so exciting, I literally can’t wait. -,-

Day 49 – New Kitten!

When I woke up this morning, I was a cat mom to 1 boy, and now I’m a cat mom to a baby kitten! He’s so freaking cute! I feel like we (kitten and I) had a connection. He loves to roll around and play, which is great for the older cat because we’ve always known that he needed a playmate. Anyway, the house is full of boys!

I felt that I was more organized today. There are a few things that I didn’t get to do but it’s okay, that will be pushed back to tomorrow. I’m trying to learn how not to be too hard on myself and just let it go if something doesn’t go according to plan. Well, I never was an organized person to begin with, but now that I’m trying to be, sometimes I fear that if I don’t get to do something on the list that it means that I’m not doing well enough, and that’s not true.

I did manage to get a couple problems done for Easy 4 in Lesson 4, however I noticed a considerable amount of difficulty has increase. It’s gotten to the point that no matter how much I read of the problem and try to understand it, I just couldn’t do it. That really worries me 😦 These are the easy problems, how am I going to be able to solve the medium level ones for the assessment?

I’ll keep trying for tomorrow. I also managed to make a video for YouTube since I made it a goal to make one every Monday of every week. I can’t let the people down now. Even though sometimes (almost every time) I realllly don’t want to, I do it anyway. I sometimes take comfort in the fact that no one will even watch them, or care, so at least no one can see how much I probably suck. JK I don’t suck, but I am a newbie and it shows. That’s the whole point of me doing the videos though because I want to visually see and hear my progress.

That’s it for now. It’s been a long day and tomorrow will be even longer. I got a speeding ticket two weekends ago and now I have to do driver’s ed tomorrow. Yay.

Day 48 – 1 Hour of Code

By now I’ve probably miscounted the days but I don’t really care. When I missed my first day I felt like I having a crisis because I didn’t want to break my streak, but who cares!! When I need to take a break now, it just happens and I try not to worry so much about it. One of the cool things I learned over the weekend was how to create channel art for your YouTube page, so it’s different now from the random image I found on the internet. And I made it using Inkscape! Since I’m only a newbie at pretty much everything that I’m doing currently, it’s very simple and elegant. That’s how I like most things in my life to be I think. At least any work that I do, it’s just easier on the eyes for me and less difficult for me to understand (when I code). Tomorrow is the start of a new week so hopefully I get more done. It’s on my channel art thing that vlogs will be out every week, and now that it’s up there, I feel it’s important to try and meet that as best as I can. It’s relieving for me to know that there’s software on my laptop that’ll record work on my screen because my phone is full of crap and there’s literally no more space on it for a 10 second video. Bummer. When I have the energy to deal with that, I can make more videos about myself and Launch School, and whatever else I can think of but for now, I’ll just have to stick with coding problems. Not that that’s a bad thing; it’s very beneficial to me because I get to hear myself (as embarrassing as it is) talk as I code and see what needs to improve.

Goals: 1 video every week, blog every day, code for 5 days.

That’s it for now! Goodnight!

Day 47 – How to Select a Key-Value Pair from a Hash

Super exciting, I know. I saw this problem this morning and my eyes glazed over, for whatever reason. After trying my hardest to figure it out for a very very long time, I ended up caving and had to take a peek at the solution. To be honest, I probably wouldn’t have figured it out on my own. It’s that whole ‘two-layer problem’ thing going on, I know it! I just don’t feel that I’m totally grasping ruby just yet, but that’s okay. After much time spent looking at the problem and really digesting it, and also talking with another student about it, I think I’ve got it. Thank you to Melissa for your patience and letting me explain it to you in the best way I could. Here is my best take of understanding:

The Problem

We have a hash called ‘produce’. We have 4 key-value pairs, each key is a string that points to its value that is either a ‘Fruit’ or ‘Vegetable’. Next the method ‘select_fruit’ is being created that takes one parameter, in this case it is called ‘produce_list’. After that, three things occurs. First, we assign the return value of calling #keys on produce_list, which is an array, to the variable ‘produce_keys’. So now we have an array of produce keys: [‘apple’, ‘carrot’, ‘pear’, ‘broccoli’]. Then we create an empty hash and call it ‘selected_fruits’.

We enter the loop now. The first thing to do is to add an if condition statement that breaks out of the loop if that conditions is met. It says to break out of the loop if the counter (which is counter = 0) is equal to the size of the ‘produce_keys’ array. This will save a lot of work if the array turns out to be empty. Next we create a variable called ‘current_key’ that is assigned to the key at the current produce_keys[counter]. Meaning, since arrays count by zero-index, it will start at 0 and run for the length of the array. The element at the 0th index of ‘produce_keys’ is the first element to be assigned to the ‘current_key’ variable. ‘current_value’ is being assigned in I believe the same way, but this time to the produce_list hash that will be passed in, and to its value. Whatever key is being assigned to ‘current_key’, it’s corresponding value will be assigned to ‘current_value’. Now we have the key and it’s value, in the first instance, we will have ‘apple’ => ‘Fruit’.

Now we get to the ‘if’ statement. This says that if the value of the value is equal to ‘Fruit’ (in the first instance with apple, it is), then we simply replicate this key-value pair into the new ‘selected_fruit’ hash. Increment the counter after this to continue on to the next elements in the array until it’s done. If the value doesn’t match ‘Fruit’, nothing will get added, and it moves on to the next element. When we pass in the ‘produce’ hash, all of this work will take place and what is returned is a new hash:

selected_fruits = { ‘apple’ => ‘Fruit’, ‘pear’ => ‘Fruit’ }

Super cool.