00:22:21 Carlo Giuseppe Tomazzoli: (We appreciate it, thank you!) 00:22:37 Alessio Borgi: We appreciate very much this change. Thank you 00:25:54 Gabriele Scognamiglio: Thanks for taking into account what we said :) 00:27:58 Massimiliano Pappadia: Does a program that runs, completes the homework objectives, but fails the tests still receive a 0? we haven't learned how to debug tests have we 00:29:50 Carlo Giuseppe Tomazzoli: There's the "Correctness" tab that lists tests which failed and how so. 00:34:07 Emanuele Segatori: Have you runned the code using the encoded_filename? 00:35:12 Emanuele Segatori: nothing, I was wrong 00:35:33 Viola Renzi: You probably just don't remove the final \n 00:35:47 Viola Renzi: If you have 0 at the end 00:35:54 Gabriele Scognamiglio: Yeah 00:36:22 simone cargnin: i told you massi 00:45:05 Ionut Robert Cojocaru: Dear Professor, I did the HW2 but I got 0 because too similar, can I know how this works because I made it from scratch and I don't understand how that's possible. 00:46:12 simone cargnin: what about secret test in the recovery homework 00:46:15 simone cargnin: ? 00:49:26 Ionut Robert Cojocaru: Alright thanks, for correctness I say that I didn't cheat but I will do recovery in any case 00:51:10 Francesco Danese: Are there secrets tests for the recoveries? In that case they only check for cheating/hardcoding or also strange edge cases? 00:51:25 Federica Valeau: If we do the recovery homework and we get a grade that is lower than the one of the original homework, which one do we get at the end? 00:51:46 federica bruni: The best one 00:51:47 Francesco Danese: you get the higher grade 00:52:04 Federica Valeau: Ok thanks 00:52:33 simone cargnin: but can we see the result of secret test immidiatly? 00:52:58 simone cargnin: aaaah 00:53:27 simone cargnin: yes 00:53:33 Yigit Oztekin: what if we can't hand in all of the hw's before the exam? 00:53:34 simone cargnin: yas hahahahahahah 00:55:53 Alessandro vecchi: Sorry prof but what type of suggest can we give in the peer assessment? Because now I’m scared for the copy test 00:57:47 Alessandro vecchi: Exactly. I gave advice on the idea of how to improve their algorithm 00:57:56 Ginevra Cepparulo: yes exactly but you don’t give advice in form of code but pseudocode 00:58:44 Alessandro vecchi: Yes but in the end I checked if my students took my advices and one of them did it in a pretty similar way 00:59:13 Alessandro vecchi: Yes yes I saw it 00:59:53 Alessandro vecchi: Ok perf 01:01:00 Massimiliano Pappadia: my idea was to make the variable sequential 01:01:53 Gabriele Scognamiglio: The problem is probably the last \n in the translated poem 01:02:17 Alessandro vecchi: Nono when you split the newline 01:02:33 Alessandro vecchi: right 01:02:51 Alessandro vecchi: You have to remove the last element 01:03:50 Alessio Borgi: When it will be possible to book the exam? 01:04:13 Alessio Borgi: Ok perfect 01:04:27 Davide di Trocchio: exam exercises are on the q2a right? 01:04:48 benjamin barda: A little fyi 01:05:08 Davide di Trocchio: Thank you 01:05:14 Alessandro vecchi: Sorry a prof a question on the hw6. The background of the matrix will always be black right? 01:05:29 Alessandro vecchi: perfect 01:05:30 benjamin barda: professor with the latest vm migration many tests has not been rerun 01:05:44 Cameron Rogers: not an urgent question … how will the exam work as it says it's all day long? Will we be able to do it from home? 01:06:12 Ginevra Cepparulo: leave it! 01:07:29 Cameron Rogers: Thanks 01:07:34 Yigit Oztekin: are there going to be 2 sessions of exam? like are we going to have 2 exams 01:10:25 Gabriele Scognamiglio: Is this valid for all exams? 01:10:31 Yigit Oztekin: oh so we don't have to take both of them? 01:11:08 Yigit Oztekin: okay okay 01:11:51 Franciszek Ciecholewski: Professor, would it be possible to participate in all the session remotely? 01:12:36 Yigit Oztekin: franciszek I asked Prof. Gorla and he said he wants to make it physical but it is not certain yet 01:14:29 Alessio Olivieri: it would help me, i dont know others 01:22:37 benjamin barda: the point can be anywhere on the line ? ù 01:23:22 Alessandro vecchi: Can we do it also with classes? I still don’t get how to reason with them 01:24:40 Alessandro vecchi: Oh ok 01:24:46 Alessio Olivieri: the point is given or we should find it? 01:26:20 Alessio Olivieri: okkey, thank u 01:27:00 Ginevra Cepparulo: Is it correct to say that the number of turns is the same as the number of corners? 01:37:42 simone cargnin: yes 01:38:06 simone cargnin: i think we need to start like 01:38:21 simone cargnin: a=[pixel] 01:38:32 simone cargnin: while len a>0 01:47:48 benjamin barda: my idea was to understand whether we are on an horizontal or vertical segment …. after that find the end and the start of the segment and see if it is connected to another segment ù 01:48:13 benjamin barda: I was thinking of doing this recursive till we reach both ends 01:48:26 Paolo Gigliesi: I was thinking too 01:49:00 Paolo Gigliesi: but to understand where we are, we should set some conditions 01:49:07 benjamin barda: if we land on an horizontal that means that can make a corner only with vertical 01:49:16 simone cargnin: actually we can call two different function for the verse of the segment(vertical orizontal 01:49:19 simone cargnin: ) 01:49:37 simone cargnin: *horizontal 01:49:48 benjamin barda: and I was thinking of doing this with classes 01:51:00 benjamin barda: yes 01:51:04 simone cargnin: if we land on horizontal we call the vertical corner function, so after we find the corner we call the vertical 01:51:29 simone cargnin: and we continue unti we arrive at the end 01:51:39 benjamin barda: my idea was to consider the segments like arrows with a direction 01:51:47 benjamin barda: yes yes 01:51:55 benjamin barda: but i do not have microphone sorry 01:52:05 benjamin barda: yes 01:52:16 Alessio Borgi: Yea with classes 01:52:47 benjamin barda: i actually got the idea from turtle 01:52:59 simone cargnin: we need to find the start of the segment 01:53:03 benjamin barda: direction 01:53:35 Alessio Olivieri: we move in the pixels with same colour 01:54:38 simone cargnin: tuple 01:54:52 Alessandro vecchi: Sorry prof but what’s the difference between calling the image in the init function or setting it as a global variable of the class? 01:56:19 Alessio Olivieri: how is defined the intial point? 01:57:00 simone cargnin: it's given 01:57:03 Alessandro vecchi: Oh clear thanks 02:00:56 benjamin barda: yes 02:01:05 benjamin barda: the idea was to initialize to turtles 02:01:13 benjamin barda: two 02:01:53 simone cargnin: yes good point 02:02:05 Alessio Olivieri: with 2 is more efficient 02:02:48 simone cargnin: let's find the first or the last point of the segment 02:02:52 simone cargnin: and start from it 02:02:59 simone cargnin: there are less edge case 02:03:05 simone cargnin: *cases 02:03:09 Alessio Olivieri: right 02:06:04 simone cargnin: we can't be on a corner 02:06:14 simone cargnin: at the start or the end 02:17:42 benjamin barda: i would use a try to prevent going out of range 02:21:02 Alessio Olivieri: wait, how does work check pos? 02:22:01 Alessio Olivieri: yes 02:43:15 Ginevra Cepparulo: If the directions are not one the opposite of the other 02:52:03 Federica Valeau: maybe using while? 02:52:16 simone cargnin: while len 02:52:34 simone cargnin: while len()>0 02:55:46 simone cargnin: why p=none? 02:55:56 simone cargnin: isn't it just p 02:56:15 Carlo Giuseppe Tomazzoli: If you pass a None as "p", it defaults to the instance's pos. 02:57:53 Ginevra Cepparulo: while pos.color not black: you call move? 02:59:49 Ginevra Cepparulo: but also you have to consider that it is not corner as well 03:04:00 Ginevra Cepparulo: pop.direction from movements 03:05:28 Ginevra Cepparulo: can you use the modulus function 03:05:40 Ginevra Cepparulo: I mean *absolute value 03:08:54 Alessio Olivieri: now, i'm lost 03:10:12 Ginevra Cepparulo: sorry at this point couldn’t we also redfine the equal operator to equal the points if they are the opposites of each other 03:13:28 simone cargnin: i don't understand the last if 03:13:47 simone cargnin: a okok nevermind 03:14:28 Alessio Olivieri: can you explain again "if movements[0]==position(-direction.row,-direction.pix):" pls 03:14:38 Davide Marincione: Ok then 03:15:15 Ginevra Cepparulo: I am sorry but I don’t understand the meaning of self color 03:15:20 Ginevra Cepparulo: does it update all the time 03:16:35 Ginevra Cepparulo: So then why do we need the last if statement 03:16:44 Ginevra Cepparulo: can’t we just break 03:17:28 Ginevra Cepparulo: yes 03:18:44 Davide Marincione: Ok then, thank you for the lecture- bye! 03:19:00 Alessio Olivieri: my brain is fried 03:19:36 simone cargnin: maybe class wasn't best idea for time 03:19:49 Alessio Olivieri: :,D 03:19:55 Alessandro vecchi: Bye thanks! 03:20:11 simone cargnin: thanks for all 03:20:14 simone cargnin: byee 03:20:25 Ginevra Cepparulo: Thank you ! 03:20:26 Ginevra Cepparulo: bye 03:20:30 Franciszek Ciecholewski: thanks bye 03:21:14 Davide di Trocchio: thanks bye 03:21:23 Carlo Giuseppe Tomazzoli: Have a good time, thank you.