Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
63 Yeah, finals are key. They're usually large amounts of our grades.
64 And to make matters worse it isn't uncommon that your school doesn't like spending time on them. Resulting in questions full of grammar errors. Sometimes so bad that just figuring out what the question wants from you is a quest in itself. Or, the questions are just garbage.

My last development exam contained questions like "What HTTP status code is used when a request resulted in an unknown server error?". As if you are ever in a position where you only have the code and not the name of said code AND can't look said error up.

Another fun one where the questions from when we learned about databases. Those where all pretty much "Which one of these 4 queries that differ as little as possible is the only one that runs?" I'm sorry, but since when doesn't a database just tell you where the error is in your SQL?
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
62
And to make matters worse it isn't uncommon that your school doesn't like spending time on them. Resulting in questions full of grammar errors. Sometimes so bad that just figuring out what the question wants from you is a quest in itself. Or, the questions are just garbage.

My last development exam contained questions like "What HTTP status code is used when a request resulted in an unknown server error?". As if you are ever in a position where you only have the code and not the name of said code AND can't look said error up.

Another fun one where the questions from when we learned about databases. Those where all pretty much "Which one of these 4 queries that differ as little as possible is the only one that runs?" I'm sorry, but since when doesn't a database just tell you where the error is in your SQL?

Very much not the case here. The professors write the finals, so they're usually decent, assuming your professor isn't horrible.
 
  • Like
Reactions: GamerwithnoGame

duckfan77

Popular Member
Mar 18, 2013
80
683
118
60 Yep. I had a prof give a horrificly long and hard exam yesterday, though after he emailed out his reasoning. To calibrate grades. He can't curve down, those lines are set, but he can curve grades up, so the hard final let's him have room to curve it as needed. Doesn't change that getting 3/4s of the way done in 2 hours isn't fun.
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
60 Yep. I had a prof give a horrificly long and hard exam yesterday, though after he emailed out his reasoning. To calibrate grades. He can't curve down, those lines are set, but he can curve grades up, so the hard final let's him have room to curve it as needed. Doesn't change that getting 3/4s of the way done in 2 hours isn't fun.
59. Yeesh :( Not fun.
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
60 When you look up at the clock and realize you're half an hour into a 2 hour final, and are only about half way through the first of 5 questions, you know it isn't going to go well.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
58 well, sounds like it goes better there then at our school.

I need to redo something this year that I failed last year. Not a problem except that I got told that I can do it pretty much whenever. However, today I learned by mere coincidence that I actually had to already redo it a LONG time ago.

Or that time when we got told to do A but actually had to do B, resulting in everyone except for a single person to fail. Something we so far didn't get any compensation about. Also, this has happened plenty of times already but not in such a big way.

Also, when it comes to tests, I believe our teachers write them. However, my school is lacking teachers so I suspect they don't have much time. Even worse is that most teachers aren't Dutch nor English, meaning that these tests are never written in the mother language of the writer, something that DEFIANTLY shows. There is also very little proofreading, at least that is what it feels like as sometimes entire words seem to be missing, extra words are added that have no reason to be there or they are in the wrong/ confusing order.

Also, "fun" fact: We also get to grade the lessons that are given and my school decided to hang up a piece of paper containing the scores of some of those classes (8 in total). The highest isn't even reaching the 7 and I am certain that they cherry picked the best ones and maybe even inflated them a bit. It also contains some of the things that people gave as "feedback" obviously they are all either positive or are things they say they already changed for the better.

Its amazing how desperate they are at trying to make it look like everything is going well :p
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
58 making the modal where you can select which characters to buy was a lot harder than I thought it would be and showed me that there are still plenty of things in rust I don't understand well enough. However, that doesn't mean I didn't get it to work but it does mean that there is most likely a better way.
upload_2018-12-19_23-58-6.png
There are still some things left to do. The characters are still not random and there will always be 3 shown. Also, money still needs to be implemented, as well as the fighting. Not to mention the actual species/names that can be used for the characters.

For those that wonder where I had trouble with: I origanlly wanted my "render_character_selection" component to take a character as parameter this however quickly became a nightmare when it came to which part of my application was allowed to do things with said character object.

As such, I for now decided to generate the character inside this component and even then it gave me more trouble than I wanted. (And sooner or later, I will need to change it back or find another way to pass the character down. So... I'm very much not looking forward to that.....)

Anyway, for those that are interested, the code can be viewed here: https://github.com/lenscas/arena_ke...13e60aaf23032/src/components/new_character.rs
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
58 I have code for which the comments tell you it does things that it doesn't, but that's because it's in progress, and I was doing quick fixes, without bothering to update the documentation.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
56 rust doesn't give you the index of an item when looping over them with .map

Which is problematic considering I need to know which character the user clicked on represents which entry of characters in my array so I can update it appropriately.

I guess I need some kind of id system on the characters so I can find them easier?
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
55. ...yyyyyyes.
54 A simple way to look at it:
I have a vault with 3 items inside of them and I want you to choose one of them to keep. However, the items inside the vault are rare and so you are not allowed to enter it and I can not bring all the itemss out.

To still make you able to choose one I can simply write your possible choices down and give this piece of paper to you. You pick one from that list and I'll grab the correct one for you.

With Rust my problem is that the way to create this list does not keep track of where in the vault this item was. As such, I need to compare the items in the vault with the information I wrote down on that list to give the correct one to you instead of just walking directly to the spot in the vault where it is stored.

(I hope that that made sense?)