IRC log of #novawebdev for Friday, 2024-02-02

*** shmohamud has quit (Read error: Connection reset by peer)00:07
*** shmohamu_ has quit (Ping timeout: 480 seconds)00:22
*** shmohamud has quit (Ping timeout: 480 seconds)00:38
*** shmohamud has quit (Ping timeout: 480 seconds)00:52
*** shmohamud has quit (Ping timeout: 480 seconds)01:01
*** shmohamud has quit (Remote host closed the connection)03:33
*** shmohamud has quit (Remote host closed the connection)03:42
*** shmohamud has quit (Ping timeout: 480 seconds)03:54
*** shmohamud has quit (Ping timeout: 480 seconds)07:22
*** tboimah has quit (Ping timeout: 480 seconds)12:19
*** dcammue has quit (Ping timeout: 480 seconds)13:40
*** tboimah has quit (Ping timeout: 480 seconds)13:40
ubuntouristHullo mulbah, shmohamud, sysadmin_ 14:09
mulbahHow are you doing Mr. Cole14:10
tboimahGood morning ubuntourist and shmohamud 14:11
ubuntouristTrying to organize my day. Tomorrow's an unusually busy musical day for me. Three different gatherings scattered around the area, and I hope to participate in all of them.14:11
gabrielGood morning Mr. Cole14:12
ubuntouristHow are you all and how goes the Python adventure?14:12
tboimahWe are fine, we have some question here that Jeff us to work on can we do it together14:13
tboimahi can you the link if you want to14:13
tboimah*send14:13
ubuntouristI think I may have mentioned that I am a slow reader, even though I read a lot. And I hate timed tests.14:13
ubuntouristSo, I can understand the frustration of running out of time and not finishing.14:13
gabrielok14:14
ubuntouristtboimah, I think I have it. jelkner sent email about a revised practice test.14:14
gabrielsure14:15
tboimahsure14:15
gabrieland we're analyzing it but..14:15
ubuntouristI have not looked at the link he sent. I will look now. Hold a second...14:16
ubuntouristYou are all talking about14:16
ubuntouristhttps://codeberg.org/ACC/csc221/src/branch/master/PCEP/DJ4EchooserQuiz.md14:17
ubuntouristright?14:17
tboimahyear 14:17
tboimahyeah14:17
tboimahit also have a link ther to the program14:17
tboimahthat we are going to14:17
tboimahlook at to answer the question14:17
tboimahdid you see that too?14:18
ubuntouristLet me call up that as well...14:19
ubuntouristOK.14:22
ubuntouristFirst, I've told you all twice in the chat to look at the StackOverflow page.14:23
ubuntouristSo, I know you've all done that and looked at the four-line example that was provided in the best answer.14:23
ubuntouristRight?14:23
ubuntourist(And, no. I'm not going to post the link again.)14:24
tboimahOKay14:26
tboimahsure i created an account on it14:27
ubuntouristtboimah, and you found the answer that I said had 3407 votes as a good answer?14:28
tboimahsure14:28
ubuntouristOK.14:29
ubuntouristSo then.14:29
ubuntouristWhere do you start having trouble with Jeff's quiz?14:29
ubuntouristI mean, which questions have you been unable to find answers to?14:30
tboimahquestion number 5 and 714:30
ubuntouristLet me skim the program to see if I spot the answer to #5 first.14:31
ubuntouristI'll need to spend more time on #5. (Jeff's coding style is different from mine.)14:36
tboimahOkay how about number 714:36
tboimah]14:36
ubuntouristI won't give the answer, but I will say look at the documentation on the copy function.14:39
tboimahOkay 14:39
tboimahthanks for the Hint14:39
ubuntouristAnd, you could try  searching StackOverflow to see if someone else has asked a question like that.14:40
tboimahsure14:40
ubuntouristSearch for tags or keywords: python copy change original14:41
ubuntouristOr something like that. The question Jeff is asking is "Why did the copy function not make a true duplicate?14:42
gabrielBut i though it was to copy in the variable people?14:43
ubuntouristWhen he told it to change something in the copied object, why did it change something in the original object?"14:44
ubuntouristHis expectation would have been that copy() creates a true copy, and that changes to the copy would not affect the original.14:45
ubuntouristBut something unexpected is happening. So, copy() must not be working the way the programmer thought.14:46
ubuntourist(Other people will have run into this problem and asked about it. I know had a similar experience once, and was14:46
ubuntouristbaffled.)14:47
ubuntouristI would also search the Python Library Reference. Use the Index and look for copy().14:50
ubuntouristBUT...14:50
ubuntouristYou will find more than one copy().  Look at the object that Jeff is using the copy method with.14:51
ubuntouristThat will help you determine WHICH copy() in the Python Library Reference to pay attention to.14:51
*** gabriel has quit (Ping timeout: 480 seconds)14:51
*** tboimah has quit (Ping timeout: 480 seconds)14:51
*** mulbah has quit (Ping timeout: 480 seconds)14:52
*** dcammue has quit (Ping timeout: 480 seconds)14:52
ubuntouristWhen you read the description, of how the copy() works, if you don't understand what it is telling you,14:52
ubuntouristsearch the web for the meaning of the definition.14:53
ubuntouristAnd it looks like a bad network (or bad generator) day for you...14:53
ubuntourist...and I see (I think) the answer to question 5 now.14:58
ubuntourist(One problem a lot of more experienced programmers have is that14:59
ubuntouristwe forget how new programmers think and work. So, my first thought was that14:59
ubuntouristI would do everything differently, and so there is a lot that is unnecessary. But that is because15:00
ubuntouristI would be making use of modules and concepts which you may not have yet. Jeff re-wrote a book15:01
ubuntourist"Think Like a Computer Scientist". I need to read a book "Think Like a Computer Science Student".15:01
*** ubuntourist has quit (Quit: Leaving)15:16
*** shmohamud has quit (Remote host closed the connection)15:24
*** shmohamud has quit (Ping timeout: 480 seconds)16:03
*** shmohamud has quit (Remote host closed the connection)16:10
*** shmohamud has quit (Ping timeout: 480 seconds)16:39
*** shmohamud has quit (Ping timeout: 480 seconds)17:18
*** shmohamu_ has quit (Ping timeout: 480 seconds)17:24
*** dcammue has quit (Read error: Connection reset by peer)17:33
*** tboimah has quit (Read error: Connection reset by peer)17:35
*** dcammue has quit (Ping timeout: 480 seconds)18:27
*** tboimah has quit (Read error: Connection reset by peer)19:24
*** shmohamud has quit (Remote host closed the connection)22:34
*** shmohamud has quit (Remote host closed the connection)23:57

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!