Michael Conterio
Michael helps produce courses on FutureLearn for the Raspberry Pi Foundation. In his spare time he enjoys walking and performing stand-up comedy.
Location UK
Activity
-
@MalinaDeleri Let me know if you have any questions or need any help. I can also recommend other courses depending on what part of computing you want to learn about.
-
Michael Conterio replied to Muhammad Jamal
@MuhammadJamal This is not a problem with the software, the software is showing you that you’ve made a mistake with the code that you’ve written.
Look at he brackets on that line. You’ve got two ( but only one ). You need another ) at the end of the line.
-
Hi @MalinaDeleri. Welcome to the course! I hope you enjoy it. Best of luck with all of your learning, especially under such difficult circumstances.
-
Michael Conterio replied to Muhammad Jamal
That’s still too vague @MuhammadJamal. Which piece of software is not working. What are you trying to do when you see the error? What does the error say?
-
Michael Conterio replied to Muhammad Jamal
You need to be more specific @MuhammadJamal. What is not working?
-
Michael Conterio replied to Muhammad Jamal
@MuhammadJamal Often a signal of 1 represents the presence of something, so in this example a 1 from the light sensor represents light, and a 1 from the moisture sensore represents the soil being wet. But this means we need NOT gates as we want an output of 1 when both of our inputs are 0. Hope that helps.
-
Michael Conterio made a comment
Welcome to the course everyone. I’m Michael, and I work with Martin at the Raspberry Pi Foundation. I’m taking over from him to facilitate the course from 15th August to 26th August, so I’ll be around then to help you and answer your questions.
-
Michael Conterio replied to Faye Richmond
Hi @FayeRichmond. Thanks for the kind words. Could we have your permission to use your comment as a testimonial on the FutureLearn website and in Raspberry Pi resources and content to promote the impact of this course and future runs?
-
Michael Conterio replied to Liz Williams
Hi @LizWilliams. Thanks for the kind words. Could we have your permission to use your comment as a testimonial on the FutureLearn website and in Raspberry Pi resources and content to promote the impact of this course and future runs?
-
@AineBhadrinath Hi @AineBhadrinath. When you say “design layout” do you mean “design”? That happens before you write the program, while what we are asking is what should happen when the program runs.
4 - Do you just have to select one, or do you have to do something with it?
-
@AineBhadrinath your dark/light mode switch is working well there. When I try to leave without saving, a warning comes up - but if I have saved, the exit command doesn’t do anything.
-
That’s great, thanks @AineBhadrinath
-
Hi @StephenSycamore, I hope you enjoy the course!
-
Michael Conterio replied to Aine Bhadrinath
Hi @AineBhadrinath, that’s really good. The cut and paste options didn’t do what I expected but that’s pretty hard to implement
-
Michael Conterio replied to SHLOMO PELED
You’re welcome @SHLOMOPELED, glad you enjoyed it.
-
@AineBhadrinath You appear to have defined the colour function three times here.
Also, your txt_font Combobox has the command “font” but you’ve not defined this.
-
Great work @ElizabethEddison(STAFF)
-
I don’t have access to this @ElizabethEddison(STAFF)
-
Good work @ElizabethEddison(STAFF)
-
Well done @ElizabethEddison(STAFF)
-
That looks good, although “import time” might not be what you want - you’ll explore that this week.
-
@ElizabethEddison(STAFF) Your description talks about matched_emoji and the code assigns an image to matched_emoji, but doesn’t ever use it. Could you describe in plain English how your code works to make sure there is precisely one duplicated emoji?
-
Michael Conterio replied to SHLOMO PELED
That’s a good answer for the second question @SHLOMOPELED , but the first question is asking how you know that there aren’t other emoji that are shared between the two sets.
-
Michael Conterio replied to Mark Weddell
Ah, good work
-
@ElizabethEddison(STAFF) I’m not sure what your for picture in pictures loop is doing.
-
Michael Conterio replied to SHLOMO PELED
I’m not sure what you mean by “use random function to choose random x and random y to select an emoji”
-
Michael Conterio replied to Aine Bhadrinath
Good work @AineBhadrinath
-
Michael Conterio replied to Matthew Latty
Well done @MatthewLatty, you are on your way!
-
Michael Conterio replied to Matthew Latty
Glad you got it sorted @MatthewLatty
-
@AineBhadrinath I hope you’ve found that useful in understanding how alignment works with boxes
-
Michael Conterio replied to Aine Bhadrinath
That’s certainly bright @AineBhadrinath
-
Hi @GeraldineGuerrero, welcome to the course! I hope you enjoy it and find it useful.
-
Excellent work @MarkWeddell!
-
Michael Conterio replied to Mark Weddell
@MarkWeddell It looks like your streak value only resets if the score goes negative.
-
Michael Conterio replied to Mark Weddell
Looks good @MarkWeddell
-
Michael Conterio replied to Mark Weddell
I’m not quite sure what you are asking with 2a.
-
Michael Conterio replied to Mark Weddell
This looks like a good decomposition. Interesting how much you’ve abstracted away under “drive”
-
Michael Conterio replied to Mark Weddell
Thanks for the feedback @MarkWeddell. Glad to see you using the documentation - it’s something professional programmers have to do too!
-
Good work @MarkWeddell , looks like your text editor is coming together.
-
Michael Conterio replied to Mark Weddell
Is clear doing the same as your “new” button?
-
Michael Conterio replied to Mark Weddell
Hi @MarkWeddell. Could you share your entire code at once so that we can run it to see what you GUI looks like? You can create a comment with the first part of your code, and then reply to it with some more code.
-
Michael Conterio replied to Mark Weddell
Looks good
-
Michael Conterio replied to Mark Weddell
Have you made a widget that gets bigger when you expand the editor to fill your screen?
-
Michael Conterio replied to Mark Weddell
@MarkWeddell Interesting in what way?
-
Hi Mark. How is you GUI calling enable_new_save?
-
Good work @SHLOMOPELED
-
Welcome to the course @MatthewLatty! Did you sign up through https://teachcomputing.org/courses to get your extended access?
-
Great work @AineBhadrinath !
-
Thanks for the feedback @ElizabethEddison(STAFF). Which bits in particular did you find difficult, where we could provide more support?
-
Hi @ElizabethEddison(STAFF). Your dark and light theme button is not easy to understand - I had to look at the code to work out how to make it change to the dark theme!
Here’s the guizero documentation on popups if you want to give an option there https://lawsie.github.io/guizero/alerts/ However the key thing here is that we only want a pop up if the file…
-
Well done @ElizabethEddison(STAFF)
-
Michael Conterio replied to SHLOMO PELED
Could you explain the “fill” changes in more detail? Is there a difference between widgets and containers?
-
Hi @ElizabethEddison(STAFF), this doesn’t quite do what you want it to. It hides the file name if you change it
-
Nice work @AineBhadrinath, I like the cape addition
-
Michael Conterio replied to SHLOMO PELED
Good work @SHLOMOPELED
-
Good work @ElizabethEddison(STAFF)
-
For trying to make all of the boxes uniform, the best approach is to put all of the things you want to be uniform into another box, and make them fill it:
For example:
~~~
holdingbox = Box(app)box1=Box(holdingbox, align = “left”, height=”fill”, width=”fill”, border =2)
box1.bg = “light green”
message1 = Text(box1, text=”Choose an… -
Michael Conterio replied to SHLOMO PELED
Yep, that works @SHLOMOPELED
-
Good work @ElizabethEddison(STAFF) - although align=”centre” isn’t a valid option.
-
Hi @ElizabethEddison(STAFF) - what trouble did you have with text size? There’s an example in this step:
box.text_size = 12
-
Hi @ElizabethEddison(STAFF) Try putting multiple widgets in a box, and giving the box, and the widgets inside it, different align properties. Make sure you keep other elements outside the box too.
-
Michael Conterio replied to SHLOMO PELED
Hi @SHLOMOPELED. This appears to be the wrong code - it doesn’t have anything to do with resizing widgets.
-
@ElizabethEddison(STAFF) Your change_Button function appears to be trying to change the value of the btn_sizeC - but it doesn’t have a “value”. You should try to change the width or height property of that button.
-
Hi @AineBhadrinath. You’ve got a bug in your program: it is checking if the value of txt_pw is the same as that of txt2_name, but you don’t have a txt2_name
-
Hi @ElizabethEddison(STAFF) - that still looks to me like the only way of changing the colours is clicking the make me a hero button, and there’s no way to go back.
-
@ElizabethEddison(STAFF) That makes it easier, thanks!
-
Michael Conterio replied to Mark Weddell
Good work @MarkWeddell. Did you notice that Guizero gave you a warning that you’d got “Invalid align value (‘center’) for [Box] object
Should be: top, bottom, left or right”? -
Michael Conterio replied to Aine Bhadrinath
Great work @AineBhadrinath, and I’m enjoying the reference to a classic tune. Did the app look like you expected it to?
-
Good work @ElizabethEddison(STAFF) , although we asked for three boxes of different sizes and yours are all the same size.
-
Michael Conterio replied to Aine Bhadrinath
Good work @AineBhadrinath, but it would be useful to see how you are going to lay these out too.
-
Michael Conterio replied to Elizabeth Eddison (STAFF)
Thanks @ElizabethEddison(STAFF). Is the X the only way to choose not to open the message? Would it be useful to give any more info about the message?
-
Michael Conterio replied to Elizabeth Eddison (STAFF)
It might be easier to sketch it with pencil and paper, then take a photo and upload that somewhere you can share it
-
Good work @ElizabethEddison(STAFF) - but could you make the dark mode a separate option that you can turn on and off?
-
Looks good @ElizabethEddison(STAFF), once I’d put the indentation back in.
-
Good work @ElizabethEddison(STAFF), but please put three tilde characters (~~~) at the start and end of your code in the comment so that it all appears as code with the correct indentation!
-
Well done @ElizabethEddison(STAFF) , but as you haven’t used followed the instructions above it’s hard to see your functions as the indentation has gone - and the indentation is important! Remember to use three tilde characters (~~~) at the start and end of your code in the comment
-
Looks good @ElizabethEddison(STAFF) - but if you only want it to be possible for users to click one flavour, you should use radio buttons rather than check boxes.
-
That’s good @AineBhadrinath - I liked the Eurovision reference. However, could you follow the instructions given at the end of the step to share your code as code in the comments - doing that will make sure it keeps any indentation when you have more complex code later on.
-
Good work Liz, but in the future could you follow the instructions given at the end of the step to share your code as code in the comments - doing that will make sure it keeps any indentation when you have more complex code later on.
-
Welcome to the course Liz! I hope you find it useful for your future classes. Did you sign up via https://teachcomputing.org/courses/CO217/programming-with-guis to make sure you got your free extended access?
-
Good work
-
A well considered set of responses @JulesThompson
-
Welcome to the couse @JulesThompson. Did you sign up for this course through https://teachcomputing.org/courses/CO217/programming-with-guis to get your free teacher upgrade?
I hope you find the course useful for you and your Y12s!
-
Michael Conterio replied to Jake Martin
Hi @JakeMartin - I can’t see that, is it shared publically?
-
Sorry about the issue with your other comment, could you repost it?
-
Michael Conterio replied to Jake Martin
Hi Jake. Please make sure that you follow the instructions above to share your code as code, as this has not only lost indentation but means the quotation marks don’t copy correctly.
This is good, but your dark mode doesn’t change the text in txt_colour .
-
Good work @MattBrownsett
-
Good work @MattBrownsett
-
Michael Conterio made a comment
Hi everyone. I’m Michael, and I work for the Raspberry Pi Foundation helping make online courses like this one. I’m going to be facilitating this course this week (3-6 May) and from 16th May to the end of the month, so if you have any questions or need help then post a comment and I’ll get back to you!
-
Sorry, no - we showed the other way around (casting a string to an integer). We're currently working on an update to the course, and we'll fix this when we update the course.
To turn a number to a string you need to use str(), with the number inside the brackets. For example, str(1) to turn the interger 1 into the string "1".
-
Good work @JohnDyke
-
It's not really a flaw in the program, just that a different situation would help you demonstrate using the OR operator too.
-
That works as a program showing your hobby preferences - but having only one input meant that you couldn't demonstrate using "OR" logic as well.
-
Good work @JohnDyke, a nice range of hints
-
Good work @RachelWard
-
Michael Conterio replied to John Dyke
Good work. I suspect there are a lot of solutions as you have a lot of "True" and "False"
-
Michael Conterio replied to Rachel Ward
Yep, how would you write that using AND to join two statements together?
-
Hi @RachelWard, welcome to the course, and good luck with your D of E award.
-
Michael Conterio replied to John Dyke
Good work @JohnDyke. I like that you have thought about lots of different possible scenarios
-
Michael Conterio replied to John Dyke
Good work @JohnDyke