Mastodon Skip to content
  • Home
  • Aktuell
  • Tags
  • Über dieses Forum
Einklappen
Grafik mit zwei überlappenden Sprechblasen, eine grün und eine lila.
Abspeckgeflüster – Forum für Menschen mit Gewicht(ung)

Kostenlos. Werbefrei. Menschlich. Dein Abnehmforum.

  1. Home
  2. Uncategorized
  3. Wanted: Advice from CS teachers

Wanted: Advice from CS teachers

Geplant Angeheftet Gesperrt Verschoben Uncategorized
teaching
359 Beiträge 191 Kommentatoren 1 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • fortunos@monads.onlineF fortunos@monads.online

    @futurebird my student tutor had an annoying habit of answering questions like that with "try doing it right instead of wrong", which was pretty obviously just a way to not get flooded with this exact type of comment.

    On the one hand, it's smarmy and unhelpful. On the other hand, sometimes it's useful to tell someone to sit down and not panic in your face so you can continue doing your thing (for their benefit)

    semitones@tiny.tilde.websiteS This user is from outside of this forum
    semitones@tiny.tilde.websiteS This user is from outside of this forum
    semitones@tiny.tilde.website
    schrieb zuletzt editiert von
    #123

    @fortunos @futurebird pretty funny if you can pull it off. Can destroy some kids though.

    1 Antwort Letzte Antwort
    0
    • futurebird@sauropods.winF futurebird@sauropods.win

      @Zwifi

      I do this with my older students and with those with more experience. This is the one course that I teach that EVERYONE must take. So there are kids there who have never programmed anything. Kids who were confused when I had them use a computer with a mouse since they'd never seen one in person before.

      I'm glad we have such a course. But they just don't know enough to do this yet.

      And I have an agenda: I want them to have fun.

      zwifi@framapiaf.orgZ This user is from outside of this forum
      zwifi@framapiaf.orgZ This user is from outside of this forum
      zwifi@framapiaf.org
      schrieb zuletzt editiert von
      #124

      @futurebird oh I see, indeed this was with university students, I've never teached computer science to younger students so I'll read what others have suggested. But at any stage of learning, I completely agree that some fun being involved greatly greases the wheels 🙂

      1 Antwort Letzte Antwort
      0
      • ligasser@social.epfl.chL ligasser@social.epfl.ch

        @futurebird I usually have clear me/them speaking parts in the course. While I speak, they listen, which I enforce up to the last whisper.

        Also, the "me" parts only take 15-20 minutes each, then it's time for questions, https://github.com/ineiti/livequiz, or other interactions.

        For the exercise sections, the "me" parts are of course much shorter.

        tbyg@mastodon.sdf.orgT This user is from outside of this forum
        tbyg@mastodon.sdf.orgT This user is from outside of this forum
        tbyg@mastodon.sdf.org
        schrieb zuletzt editiert von
        #125

        @ligasser @futurebird

        Yes, that's exactly what I did! I already posted a couple of answers, but after looking at the whole thread I realized I didn't really understand the question. Yes, I think this is the answer to the question.

        1 Antwort Letzte Antwort
        0
        • futurebird@sauropods.winF futurebird@sauropods.win

          @wakame

          This is helpful for me. I had a hard time understanding why one student was upset, almost to the point of tears (they are very sensitive) that the error message said "error on line 32" but, really the problem was the way they originally named the variable.

          "Why couldn't it just say the error was on line 4? 😢 I tried everything I could to fix line 32. 🥺 😢 "

          My sweet child... it's just not that smart, not like you.

          godofbiscuits@sfba.socialG This user is from outside of this forum
          godofbiscuits@sfba.socialG This user is from outside of this forum
          godofbiscuits@sfba.social
          schrieb zuletzt editiert von
          #126

          @futurebird i think Microsoft in the 90s set up this attitude towards computers that still lives today: “it’s your fault if it doesn’t work”.

          I never had to use Windows — ever — and every time I would sit down to try, something glaringly bad would be right there interfering.

          And I’ve been a dev and UX person for nearly 40 years.

          L 1 Antwort Letzte Antwort
          0
          • naptowncode@mastodon.onlineN naptowncode@mastodon.online

            @futurebird Maybe give them a homework assignment: Pay close attention to how many times in a day you hear somebody misspeak and correct themself, no matter how small it is. We all do this a lot, but it happens so fast and so often that we rarely notice.

            When it happens in a computer program, we call that a bug. But the computer won't have the zillion shared context clues that human language enjoys. It can't work out what you mean by itself. And it has very limited ways to ask for help.

            naptowncode@mastodon.onlineN This user is from outside of this forum
            naptowncode@mastodon.onlineN This user is from outside of this forum
            naptowncode@mastodon.online
            schrieb zuletzt editiert von
            #127

            @futurebird Also, I tell junior devs to think back to science class. Every change you make to code is an experiment; your hypothesis is that the new code will be somehow better than the old. But you can't put too many variables in an experiment, or you won't know which changes mattered and why.

            So test often. Test after every line of code if you have to. It sounds annoying but it's much easier than the avalanche of bugs you get when running 1000 new lines the first time.

            Go slow to go fast.

            1 Antwort Letzte Antwort
            0
            • paco@infosec.exchangeP paco@infosec.exchange

              @futurebird I’m pivoting off this just to share a funny story. An old CS prof shared this with me when I was staff in a CS department at a university.

              One of his undergrads had come to him with a big printed listing of their code (back when that was how you did that! It was probably FORTRAN printed on fan-fold paper). They obviously wanted him to find the problem in their code. It became clear quickly that they hadn’t done anything to debug it themselves.

              He started point at various places in the listing. “Right here, add PRINT ‘I am a dumbass’. And here: PRINT ‘I am a dumbass’” and so on. “Then run it and see how many dumbasses you get.”

              Now, did he really do that? Is that just how he tells the story? Who knows. But it’s funny. And anyone who has ever written code will agree that this works sometimes.

              leeloo@chaosfem.twL This user is from outside of this forum
              leeloo@chaosfem.twL This user is from outside of this forum
              leeloo@chaosfem.tw
              schrieb zuletzt editiert von
              #128

              @paco @futurebird
              I've had problems so frustrating I've ended up adding

              print("1")

              print("2")

              print("3")

              print("4")

              It's rare, but sometimes everything else fails.

              1 Antwort Letzte Antwort
              0
              • wavesculptor@climatejustice.socialW wavesculptor@climatejustice.social

                @semitones @futurebird rather than eeg-waveforms, I'd think hunting-defending vs. socializing-exploring. one's polite, the other's time and response critical, manners dont matter. think of a cat doing these different things.

                wavesculptor@climatejustice.socialW This user is from outside of this forum
                wavesculptor@climatejustice.socialW This user is from outside of this forum
                wavesculptor@climatejustice.social
                schrieb zuletzt editiert von
                #129

                @semitones @futurebird because someone is in a similar physical environment doing extremely abstracted thinking in both [school] cases, easy to forget the brain-activity modulation system [i'd have to look it up for proper name - ¿limbic system? just sprung up, thank you my brain!] is in utterly different state

                1 Antwort Letzte Antwort
                0
                • bumblefish@mastodon.scotB bumblefish@mastodon.scot

                  @futurebird This is an excellent exercise and most of your students will get a lot out of it. Be prepared though for the 3-6 who simply will not believe you. Especially if they've used ChatGPT. My CS friend has students who don't believe him when the thing in front of them differs from ChatGPT just like my language students will not accept that the machine translation is not correct/common usage.

                  citc@zotum.netC This user is from outside of this forum
                  citc@zotum.netC This user is from outside of this forum
                  citc@zotum.net
                  schrieb zuletzt editiert von
                  #130
                  @That’s a moray
                  Preference for belief in computer output, compared to human specialist, is now standard behaviour amongst the "yoof"
                  1 Antwort Letzte Antwort
                  0
                  • futurebird@sauropods.winF futurebird@sauropods.win

                    Sometimes I have them write the code on paper with the computers closed. And this is fine, but I'd rather have them using the IDE or textedit and there is a limit to how much fun you can have with code on paper.

                    And it does tend to be the weaker students who are almost happy to find something to stop the onslaught of information "see it doesn't work! we can't go on!" and that obviously makes me very grouchy.

                    I need them to see this is like saying "Teacher my pencil broke! Stop the lesson!"

                    nyhan@fediscience.orgN This user is from outside of this forum
                    nyhan@fediscience.orgN This user is from outside of this forum
                    nyhan@fediscience.org
                    schrieb zuletzt editiert von
                    #131

                    @futurebird
                    In Carpentries instructor training, they teach you to handle this by giving everyone two colors of sticky notes. You have the students put the green note sticking up like a flag on their laptop when things are going well, and the red note when they are dealing with a problem and need help.
                    Works very well in the context of Carpentries workshops!

                    nyhan@fediscience.orgN 1 Antwort Letzte Antwort
                    0
                    • nyhan@fediscience.orgN nyhan@fediscience.org

                      @futurebird
                      In Carpentries instructor training, they teach you to handle this by giving everyone two colors of sticky notes. You have the students put the green note sticking up like a flag on their laptop when things are going well, and the red note when they are dealing with a problem and need help.
                      Works very well in the context of Carpentries workshops!

                      nyhan@fediscience.orgN This user is from outside of this forum
                      nyhan@fediscience.orgN This user is from outside of this forum
                      nyhan@fediscience.org
                      schrieb zuletzt editiert von
                      #132

                      @futurebird
                      Of course, in that setting, there are several "helper instructors" who can go and troubleshoot while the main instructor continues the presentation... Not sure the post-its by themselves will solve things 🤷‍♀️

                      1 Antwort Letzte Antwort
                      0
                      • futurebird@sauropods.winF futurebird@sauropods.win

                        My students aren't lazy, but they *can* be a little perfectionist: scared to take risks or sit with not having the answer right away.

                        They are really upset when their code won't run... but staying calm and *systematically* looking for the cause of the problem, knowing that if you just work through the tree of possible causes you will find it is not something they are good at.

                        I think I need to teach this.

                        Maybe I will give them some broken code and we will find the errors together.

                        deborahh@cosocial.caD This user is from outside of this forum
                        deborahh@cosocial.caD This user is from outside of this forum
                        deborahh@cosocial.ca
                        schrieb zuletzt editiert von
                        #133

                        @futurebird @ShaulaEvans yes! The constructive value of "I don't know" lies in sitting with (using) the discomfort, and daring to try something that may not work (yet). I was a great debugger, if I say so myself 🤭.

                        deborahh@cosocial.caD 1 Antwort Letzte Antwort
                        0
                        • futurebird@sauropods.winF futurebird@sauropods.win

                          @petealexharris @wakame

                          "Error handling code is code."

                          It had not occurred to me that a student might not see it that way "some guy wrote code to try to tell you what went wrong" but I can see how this might not be how a student might see the errors.

                          It's like when I realized as a kid that all books are just ... written by people. A revelation. I think I thought, on some level, books were a natural product of the universe. When I realized they could have typos, bad ideas it was so exciting.

                          nerb@techhub.socialN This user is from outside of this forum
                          nerb@techhub.socialN This user is from outside of this forum
                          nerb@techhub.social
                          schrieb zuletzt editiert von
                          #134

                          @futurebird @petealexharris @wakame

                          And sometimes its not even the code but instead something inside the device.

                          Recently decided to add a feature to a device I made for myself that added WiFi functionality to it. First thing noticed when the device started was it rebooting every 3 seconds

                          Since it had been fine before this my mind said dumbo you did something wrong. Spend time carefully going through the code and not finding any problem. Looked online and did not see complaints similar to what I was experiencing It was when I gave in and used someone else's library that the problem was found.

                          All I did was initialize the library and poof the every 3 second reboot started again. Was sure I had a bad device but went through the Github issues and found someone with the same complaint. Turns out the device works fine minus WiFi with 5v external power but needs 6v with WiFi. The WiFi bootup pulls the voltage down and the internal watchdog sees the low power and reboots. Ugg.

                          1 Antwort Letzte Antwort
                          0
                          • wakame@tech.lgbtW wakame@tech.lgbt

                            @futurebird

                            I think this meme captures a point I am trying to make very nicely.

                            thefwguy@techhub.socialT This user is from outside of this forum
                            thefwguy@techhub.socialT This user is from outside of this forum
                            thefwguy@techhub.social
                            schrieb zuletzt editiert von
                            #135

                            @wakame @futurebird It's seems a contradiction but actually .. not 😆 😈

                            1 Antwort Letzte Antwort
                            0
                            • futurebird@sauropods.winF futurebird@sauropods.win

                              Wanted: Advice from CS teachers

                              When #teaching a group of students new to coding I've noticed that my students who are normally very good about not calling out during class will shout "it's not working!" the moment their code hits an error and fails to run. They want me to fix it right away. This makes for too many interruptions since I'm easy to nerd snipe in this way.

                              I think I need to let them know that fixing errors that keep the code from running is literally what I'm trying to teach.

                              jmht@theatl.socialJ This user is from outside of this forum
                              jmht@theatl.socialJ This user is from outside of this forum
                              jmht@theatl.social
                              schrieb zuletzt editiert von
                              #136

                              @futurebird There's always the classic return: "Why?"

                              futurebird@sauropods.winF 1 Antwort Letzte Antwort
                              0
                              • deborahh@cosocial.caD deborahh@cosocial.ca

                                @futurebird @ShaulaEvans yes! The constructive value of "I don't know" lies in sitting with (using) the discomfort, and daring to try something that may not work (yet). I was a great debugger, if I say so myself 🤭.

                                deborahh@cosocial.caD This user is from outside of this forum
                                deborahh@cosocial.caD This user is from outside of this forum
                                deborahh@cosocial.ca
                                schrieb zuletzt editiert von
                                #137

                                @futurebird @ShaulaEvans https://mastodon.social/@dahukanna/115873119314743574

                                1 Antwort Letzte Antwort
                                0
                                • jmht@theatl.socialJ jmht@theatl.social

                                  @futurebird There's always the classic return: "Why?"

                                  futurebird@sauropods.winF This user is from outside of this forum
                                  futurebird@sauropods.winF This user is from outside of this forum
                                  futurebird@sauropods.win
                                  schrieb zuletzt editiert von
                                  #138

                                  @jmht

                                  Why what?

                                  jmht@theatl.socialJ 1 Antwort Letzte Antwort
                                  0
                                  • futurebird@sauropods.winF futurebird@sauropods.win

                                    Wanted: Advice from CS teachers

                                    When #teaching a group of students new to coding I've noticed that my students who are normally very good about not calling out during class will shout "it's not working!" the moment their code hits an error and fails to run. They want me to fix it right away. This makes for too many interruptions since I'm easy to nerd snipe in this way.

                                    I think I need to let them know that fixing errors that keep the code from running is literally what I'm trying to teach.

                                    thefwguy@techhub.socialT This user is from outside of this forum
                                    thefwguy@techhub.socialT This user is from outside of this forum
                                    thefwguy@techhub.social
                                    schrieb zuletzt editiert von
                                    #139

                                    @futurebird First of all, amazing somebody still teach programming.
                                    40+ years experience in SW/FW developing here and the simple truth is that not everybody is cut to program computer.
                                    Is not only matter of knowledge, is matter about how a person think and is curious about the world and things working.
                                    Every single one person who interrupt and ask, will end up using google and AI to write a program.
                                    No personal ideas, no spending hours trying to understand the problem and the nature of errors.
                                    In my career I saw "new" generations of developers knowing less and less. Almost nobody of new generations knows what a computer is and how is working. It seems a useless information but is exactly what make you understand the errors.
                                    Errors exists all along the "chain", from your code to code you are using (compiler/OS/drivers/etc.) up to the electronic.
                                    Maybe the way you and others teach programming should change, making more like a mystery hour 🤔

                                    1 Antwort Letzte Antwort
                                    0
                                    • futurebird@sauropods.winF futurebird@sauropods.win

                                      @jmht

                                      Why what?

                                      jmht@theatl.socialJ This user is from outside of this forum
                                      jmht@theatl.socialJ This user is from outside of this forum
                                      jmht@theatl.social
                                      schrieb zuletzt editiert von
                                      #140

                                      @futurebird "My code isn't working!" "Why?"

                                      I realize that's a flip response to your inquiry, but, ultimately it is what you're looking to enable your students to do, right? They should be able to say more than "it isn't working" which is uninformative. So, it isn't working .. what else can you say about what is - or isn't - happening and what hypothesis can you give as to why? And if you have a hypothesis, how can you test it?

                                      1 Antwort Letzte Antwort
                                      0
                                      • futurebird@sauropods.winF futurebird@sauropods.win

                                        Things to Try:
                                        * look for typos
                                        * look at what the error message indicates.

                                        If these don't work consider reverting your last changes to the last working version of your code. Then try making the changes again, but be more careful.

                                        If you can't revert the changes, start removing bits of the code systematically. Remove the things you think might cause the error and run the code again. Isolate the change or code that causes the problem.

                                        You can be a great programmer.

                                        2/2

                                        asweetgentleman@mstdn.socialA This user is from outside of this forum
                                        asweetgentleman@mstdn.socialA This user is from outside of this forum
                                        asweetgentleman@mstdn.social
                                        schrieb zuletzt editiert von
                                        #141

                                        @futurebird Just an idea but what about "switching" students around so they have to check someone else's code?

                                        I used to do that with my students, asking them to grade each other papers.
                                        It's always easier to see others' mistakes and it flatters their ego... I mean, self-confidence.

                                        Also it's a sneaky way to make them realize that teaching is NOT easy.😉

                                        1 Antwort Letzte Antwort
                                        0
                                        • futurebird@sauropods.winF futurebird@sauropods.win

                                          My students aren't lazy, but they *can* be a little perfectionist: scared to take risks or sit with not having the answer right away.

                                          They are really upset when their code won't run... but staying calm and *systematically* looking for the cause of the problem, knowing that if you just work through the tree of possible causes you will find it is not something they are good at.

                                          I think I need to teach this.

                                          Maybe I will give them some broken code and we will find the errors together.

                                          beasthebiologist@ecoevo.socialB This user is from outside of this forum
                                          beasthebiologist@ecoevo.socialB This user is from outside of this forum
                                          beasthebiologist@ecoevo.social
                                          schrieb zuletzt editiert von
                                          #142

                                          @futurebird I taught an Intro to R for Biologists course a few years ago and my students had the same problem... and the solution was exactly this, giving students a list of the most common errors for reference & fixing some broken code together.

                                          More than anything it helped my students' confidence- I think a lot of them just needed a place to start. After a week or two they weren't even using the list I gave them and fixed errors on their own

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen



                                          Copyright (c) 2025 abSpecktrum (@abspecklog@fedimonster.de)

                                          Erstellt mit Schlaflosigkeit, Kaffee, Brokkoli & ♥

                                          Impressum | Datenschutzerklärung | Nutzungsbedingungen

                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Über dieses Forum