Thursday, March 28, 2019

Day four create

1) What happened today in this wonderful create project was added more function to be called by another function from the menu choices and slowly added each new menu option for the user to choose from.

2) So today I wrote code for each description of each pokemon that is in the code. The number matched up with pokemon it is associated with and then a description from the actual game was typed in for each one.

3)In today code there was no real errors or any small mistakes and made two new copies to avoid mistakes in my whole program.

4. 1.3 because I am slowly making groundwork in my program today.

Wednesday, March 27, 2019

Day three Create

1) Today I was able to code more of my code and start making the blueprints of the functions that need to be used and if I have time I could make the code flow more smoothly and also started to work on the appearance how I want the code to look on the terminal screen.

2) For the code written today finishing the menu choices and then put an if/else statement that equals the user input taking. So the function is printing the options the user can choose from and then asking the user for their input which is followed by an if/else statement which is calling other functions. The first function that was done was asking the user what Pokedex number they are looking for between 1-9. From asking the user what number they are looking for they are giving the Pokemon name and that just it. While right now if I wanted to expand my simple Pokedex to include more I could keep going with an if/else statement but it won't look as clean. My plan towards the end would be looking up a list already formed which the code can pull from and then give the user the name of the pokemon that is associated with the number they choice from.

3) There were some errors that I had trouble today when I was working with my if/else statements. When I wanted to have the code work on the terminal size I kept getting errors on the lines where my if/else statements started. When I looked over the code I noticed I was missing the end of finishing the code(:) but also during my menu options I was asking the user to pick one of the functions through numbers but when I tried to run I was able to get the user input but the if/else statement was not working. When I looked over my code the big problem is shown in the color 
if = '1':
     pokenum()
The code looks correct because the if is equaling the 1 if the user choose it but when looking back at my month code which was asking for the user to put in a month the if/else statement looked like this in the color
if == '3'
       print("March is month associated with the number 3")
The major difference is highlighted in the color. With my first code, I am saying assigning the number one in the if statement which does not want I want because it needs to equal the user input. With the second code, there is a double equal sign which is saying that when the user types in the number 3 the code recognize in the if statement that if the user said three then it equals three which is then it would print the month March. When I realized I make this mistake I went back in and put another equal sign which then was able to take the user input and go through the code that equals the user input. 

4) Today I felt its a 1.3 because I am in a place where I am able to call more functions from the menu choice but I was also able to make a blueprint of how the functions being called would be called on and how it should work in theory. 



Tuesday, March 26, 2019

Day two Create

1) Its day two and today was more coding and it was getting the person name to be placed elsewhere in the code and using an if/else statement to see what would happing if a person pressed enter on accident or doesn't want to be a name in there for now.

2)The code that was written today was cleaning up what I did yesterday and worked on a greeting to show the user what the program is going to do.

3)Nothing went truly wrong it was just getting the name in the right place and working through an if/else statement and the problems involved in there(switching around the wording)

4)1 because I finished the small function I started today and also cleaned up how the program looked on the terminal.

Day one of create

1) its day one so I only finalized on my creative project idea is then on a piece of paper wrote the functions, main, and my vision for the program will flow. They are some pieces that could be added later if there is more time in the end.
2) The code I have written was the greeting to open the program and see the text on my terminal screen. Its a stepping stone to starting stone to how I want the program to look.
3) nothing went majorly wrong where I wanted to give up but getting back in writing code and forgetting to add the small details(:) at the end of the line for the code.
4)1 because its only day one but I have a foundation/blueprint to get further along my code for day two.

Friday, March 8, 2019

encryption notes


  1. A public key: is more secure because of one public key and private key and its called asymmetric. 
  2. A private key: is the least source on its own because a symmetric key is where both parties have the same key to decode
  3. CA: is certificate authority for a secure connection and who is going to the website is real and the https is working. Need https and works with CA to encrypt and it's one step to being secure. (The door is locked but does not mean it can still unlock)



Day Twelve Create

1) Today was a day of getting everything organized and what truly still needed to work on in my code. I made a google doc labeled Real creat...