Saturday, 15 September 2018

Ruminations about what I've learned so far - part 1

So I was lying in bed, thinking about what I've really learned and trying to sort my knowledge out. And I decided to write it down, as best as I understand it. So....let's go!

int and string are data types or variables. int stands for integer and means it sorta needs a number value. Not just any number, it needs to be a....full number, as in no decimals. string on the other hand is a....text type....sort of.

Console.Write() and Console.WriteLine() outputs whatever you put in the brackets, while WriteLine puts it on a brand new line.
Console.ReadLine() requires the user to input something, anything really. Well...I say anything, but if you don't put in whatever the program asks you to put in, you might not get far.

Both of these are string types, which means that they output text or reads whatever you put in there as....well...a string. This usually isn't a problem for the WriteLine because it only outputs what you decided it should output. But if you put a number in the ReadLine then the console is going to treat it as text, which again, isn't a problem unless you want the program to calculate. The program does not understand how to calculate letters (which, let's be honest, neither do I). So to change the text input into numbers we have to parse it by coding, for example, iLuku = int.Parse(luku) which basically means that the luku string (whatever you input in that ReadLine) will be changed into iLuku int type. From now on you need to use iLuku in your calculations, since thats a real number, while luku is just a text (even in number format).

However, since we decided that that ReadLine needs a number, the program will complain and crash if you DON'T put in a number. It doesn't want to deal with text in that one. So what we do is make a try-catch...thing? statement? to make sure that the program does something if people don't write what we want them to write. This is done by coding (as an example) the following segment:

                try
                {
                    Console.Write(luku);
                    iLuku = int.Parse(Console.ReadLine());
                 }
                catch
                {
                    Console.WriteLine("You didn't give the correct value!");
                }

This means that the program will check whatever you write in the Console.ReadLine slot and if anything at all goes wrong (in this case, you not writing the correct number) it will move on to the catch block and run whatever commands is in there (in this case it will just tell you that you didn't give the correct value) and then move on to the next part of the program. 

If whatever you need to input is crucial for the program to function, we might as well put in a loop to make sure that we WILL be getting some form of proper value. For that we need a Boolean variable and the boolean will need a name and a start value that is either false or true. What I understood is that it's best to start with a false value? Maybe you have to to start as a false? Maybe not, I'm not really sure, we've always started with a false. So the code will look something like this instead:

Boolean ok = false;
while (ok == false)
{
                 try
                {
                    Console.Write(luku);
                    iLuku = int.Parse(Console.ReadLine());
                    ok = true;
                 }
                catch
                {
                    Console.WriteLine("You didn't give the correct value!");
                    ok = false;
                }
}

Now the program will loop and loop and loop until ok turns true, and ok only turns true if you put in a proper number. Take that rebels!

Ok so that's about as much as I want to write now, I've learned a lot more but I don't want to make too long a post and too big of an ass of myself in case all I've learned is false. I would appreciate it if you'd correct me if I understood something wrong. I wouldn't want to continue being wrong.

Day 2 (14.09.2018) - Mainly for my teacher

So yesterday we continued learning more basic programming. We learned how to make tables and lists and a variation to the if-else system (which is a pity, I'm getting used to if-else, getting really good at putting ifs in ifs and even dumping the else).

I understand most of what we learned.....or rather, I understand what most of the lines of codes are supposed to do. However, I have a harder time seeing the big picture and understanding how to put the codes together in a way that actually produces a working program. And I still seem to have a hard time knowing everything that needs to go into a program, all the different strings and ints and when to parse and when .ToString. I still go into previously made programs to pluck codes here and there in the hopes that I can make something out of it and I look for examples on the internet.

I think with time and practice I will get it. It's just that it feels frustrating right now not to be able to understand the whole picture. I still come up with nothing when our teacher asks us to add something to a program or asks what you need to add to make something work or when he asks why something isn't working. Trying to get the answers to come out of my brain feels like pulling teeth!

I tried to do some more For exercises with a friend but poor guy had to keep asking "what do you need in this slot?", "what do you need to put in that slot?", "why did you put that thing there, explain it to me!". Uuuuuurgh.....I have no brain now. Some things are so simple, some things so logical. And other things I just can't remember, no matter how many times I do them. I think I'm going to have to implement a daily programming challenge or task to make sure I actually start to REALLY soak the information. I'm sure there are loads of places where I can find tasks to do. And rewatch the videos. And read some books and stuff.......I just wish it didn't drain my brain so....

I definitely need more time in between tasks to soak up what I've learned and file it somewhere in the brain for future use.

Thursday, 13 September 2018

Project number 1 - Wurds n stuff V 1.0

So, I said in one post that I was working on a project. I call the project: Wurds n Stuff V 1.0! The aim of the program is to learn how to code while at the same time learning finnish words. Words that are necessary for the programming industry. Words that my teacher uses when he shows us how to code.

At first I was thinking about just doing it on paper, sort of like word cards. But that would be silly, when I have all the skills needed to make my own program. So I did. I will keep adding words and well...stuff to it as I learn more coding, remaking it when I learn something new.

Well....that's what I thought at first. But it turns out that I accidentally saved over the Wurds n Stuff project with my other project so I'm going to have to redo the whole thing.... Weeell,💩

Luckily I was streaming the making of the program so I still have the video of how I did it, so it shouldn't be too hard to remake it. Siiiiiiiigh.....


Remember kids, don't mix your project saves!

Tuesday, 11 September 2018

Nervous energy and feelings of insecurity

I'm sitting here, waiting for my meeting with my teacher. Tick tock tick tock. Oh god I hope our meeting goes well. Oh god I hope I don't make a fool out of myself, saying the wrong things in the wrong ways. I know it'll go well. I know it. Yet my feelings tell me I will somehow manage to find a way to make a complete and utter fool of myself.

I always feel nervous before our classes. Even the ones we have online, over Skype. Last night we had one such meeting. I was nervous, shaking even, ready to just scream out a long and very loud "AAAAAAAAAAAAAAARGH!". For no other reason than that I might say something wrong. Or maybe that I might have to use my voice, make myself heard and in some ways seen. I'm so used to people not noticing me or forgetting me as soon as they turn around. I'm not used to having all eyes (or in this case: all ears) on me. Yet it has to be done. I have sort of made it a challenge for me, a task or a quest even, to talk a lot, to make myself heard and seen. To be proud of what I do and to show that. To be confident, or if not really confident then at least act like it.

Yet that is something I fear. What if my class mates think I'm overconfident? What if they start thinking that I'm just a stupid little show-off who doesn't deserve it? A small but very insistent voice keeps telling me "they're going to turn on you", "they're going to hate you", "they're going to give you that look, that look that undeniably means "you're too strange, I want nothing to do with you"".  And then I feel guilty. These people, my class mates, they have done NOTHING to deserve such horrible labels. They've been nothing but kind, understanding, happy and talkative. They've accepted me! "But that's only because they don't know you yet", "they will betray you", "you're not worth this happiness", "don't you dare relax for even a second, don't you dare lower your guard", "don't you.....". SHUT UP! Just shut up! Please.....

I'm always happy at the end of our lessons. Always overjoyed. I did it, it was fun. I connected to people, talked to them, spoke in finnish! I dared do something different, I dared show myself. No matter how frightening the ordeal was, I feel nothing but happiness and energized. I feel like I can do anything! I want to continue feeling like this, even beyond our lessons. I don't want to feel afraid anymore. I don't want to feel like everyone will hurt me in some way. I want to trust that everything will turn out just fine. Why does that have to be so hard?

Wednesday, 5 September 2018

Day 1 (4.9.2018) - Mainly for my teacher

I decided I wanted to study programming almost by accident or maybe it was fate (if you believe in such things). I was sitting on the bus to town and saw an ad showing all the things you could study at Point College, one of them being Game Development. I asked my mother about it, as she happens to work at Point and she informed me that it was a relatively new program. It peaked my interest and I thought that MAYBE it could be something I could be interested in. So I can't really say that it's been a lifelong dream of mine. And it also means I start from the very beginning, knowing absolutely nothing about programming or programming languages. I didn't even know how to pronounce C# (it's pronounced see-sharp...in case someone is as clueless as me or in case I forget).

The biggest hurdle for me in these studies is probably the language(s). I happen to be a fenno-swede who has managed to get along these past 12 years on mainly swedish. The studies are in finnish however and I need to learn different programming languages. That's a lot of languages to learn at the same time! I have already sort of found a solution to this problem and I'm extremely excited to write about it and implement it. I will write more about it later in this post.

I learn best by doing and seeing. Hearing, especially in a different language than my own, doesn't really do much for me. My mind may wander when a critical word is being said and the whole thing will fly right over my head. It may take a few repetitions before I get it, but when I get it, I REALLY get it. I also learn better by being present in class, which is something I will focus on. I am very happy with the learning videos provided to us, as I can watch and rewind as many times as needed, pause and think and let my mind wander a bit before coming back and continuing.

I have a bit of a conundrum though, brought on after the introduction day. When asked what I wanted to study I answered "Cloud System Development". It felt like a safe choice. That's what my brain told me would be the most lucrative for the future, the easiest job to find maybe. But after seeing the game demo on Monday, my heart started shouting "I want to do game dev too!". So my head says "do the Cloud Sys Dev thing, that's the adult thing to do" while my heart says "Go into Game Dev, you'll like it much more, it's what you really want!". So I really need to discuss this with my teacher during our meeting, maybe I can do both? Or at least do both until the split and I have had enough time to see and think about what I REALLY want?

So, about the first day. We went straight into programming. No sitting for hours listening to boring theories and the history of programming. I was worried at first, since I know NOTHING about programming, but the immediate satisfaction of seeing a working program after just a few lines of code was overwhelming and I couldn't wait to do more and more. And I loved it, absolutely loved it!

We started with a simple "Hello World" program and quite quickly started to add if - else stuff, strings and ints and other "tietotyypit"("data types" in english maybe?) (at this point I have to apologize for my lack of proper vocabulary, that's one of the things that went right over my head and which I have to hear and use more to actually learn). At home, watching the videos, I learned how to add dates and cultures. The other thing, besides the vocabulary, that I would like to know more about it "why?". Why do you need to  couple an int.parse with a .ToString()? Just as an example. I need to know the why's of what we're doing. I suspect that will become clearer as we continue programming and we become more familiar with the programming language.

Now to my clever (at least in my opinion) solution to my language problem. Repetition is the key here I think, the more I see and hear the finnish programming vocabulary, the faster I will learn. I was thinking about making word cards out of paper, but realized that I probably learned everything I need to make a simple word learning program. For this I'm shamelessly going to use my fellow students and the teacher to tell me what certain symbols may be named or unofficially called (in case googling it proves difficult). I will then write them down, like we did the names and adresses and stuff in the Tervehdys program. With the if - else lines I can make a simple quiz in the form of "What is this symbol?: {" and have the person write the answer. If they answer with "aaltosulku", they get a nice "You're right! message, if they answer wrong, they get a "You're wrong, this is the right answer:.....!" and then move on to the next question. etc. I was thinking of making this a long term project and refine it as I learn more things. That way I will learn the finnish words and repeat the programming I've learned.

I'll keep you updated with how my project progresses!

Introduction - and how this is going to work

So...this is a study blog, where I write down my thoughts and feelings, difficulties and joys in learning how to program. This is supposed to be a professional blog, not a silly one. It is for school after all. But I need to be me, and I need to write more than what the school requires of me. I need to put down my feelings and fears, not just in learning how to program but about my social anxiety as well.

The social stuff impacts everything in my life, from daring to leave the house to asking the teacher questions. The doubts that I really can do this. They're all connected. But I'm not sure that that's what my teachers want from me. So...how should I go about doing this? Should I split my social anxiety from the technical, raw learning stuff? Should I make a new blog just for my feelings?

For now, I think I will try to split them a bit. I'll have one post detailing the possible anxieties related to classes or learning or being a student. This means that I will not write about the sadness I felt when I was walking my dog and an angry man snapped at me or how embarassed I was when the film covering the chicken nugget box split and the smell of fart escaped the box in the middle of the store. It WILL however cover the fear I had before going to class yesterday and how at the end of the day I left feeling happier and more excited than I have in a long time. It will cover the feelings of finally belonging to a group, knowing that these are MY people. I will not gossip or vent about my classmates either, this is all about me. I may not always update this part of the blog, or I may update it more than the raw tech stuff. The text may be longer or shorter. That's however not the one that the teachers will have to read to grade my work, it's more for me, so I can see how that part of my life develops over the years. It will probably be more informally written, maybe some swear words here and there. I apologize in advance.

The other part is the tech stuff. What I've learned, what I don't understand, what I feel more interested in, what I want to learn more of. This one is mostly for the teachers, and I will mark it as such in the post name. At some point I might start writing this in finnish, as that's the language I study in, but for now, to start, I need to write in english just to get my thoughts on paper.

So who am I?

My name is Jessica, I'm 30+ years old (I decided a couple of years ago that I will only turn 30 from now on, it's easier to remember. Buuuuuut if you must know, at the time of writing this, I'm 32). I live in Porvoo, a cute old town in Finland. I've lived here all my life, but please don't ask me for directions because I couldn't tell you where anything is! I have a dog named Houdini, a wild little rescue dog from Russia. I mention him only because he's very important to me, my little rock, the one who pushes me to be more social (how can I not when he wants to greet everyone he meets!).

I'm a gamer, been playing games from very early childhood, starting with the NES and my grandmothers Colecovision, moving on to jrps and Spyro on the PS1 and very early on to point and click games on the PC (thanks to my mothers great interest in computers). Nowadays it's almost impossible to separate me from my PC. I stream videogames on Twitch every now and then, both as a way to have fun and as therapy to cure my social anxiety (talking to strangers is sometimes very scary). I love to draw but haven't had the inspiration to actually sit down and draw anything in a very long time. I also like to read books....made out of paper, you know the kind, right? Mmmm....don't know what else I can say really. I hope you enjoy my blog, whether you're my teacher or some stranger who just happens to stumble upon it.