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.
  • 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.

    feralhousewife@mastodon.socialF This user is from outside of this forum
    feralhousewife@mastodon.socialF This user is from outside of this forum
    feralhousewife@mastodon.social
    schrieb zuletzt editiert von
    #219

    @futurebird "That's great! Your journey into coding really begins now, with the debugger!!!!"

    1 Antwort Letzte Antwort
    0
    • ericlawton@kolektiva.socialE ericlawton@kolektiva.social

      @futurebird

      Which is how LLMs will "evolve", including soul-destroying work by people in the global south, "training" them.

      They will become better corporate spokesbots, flooding our communications systems with marketing-driven slop.

      @ben @david_chisnall

      su_liam@mas.toS This user is from outside of this forum
      su_liam@mas.toS This user is from outside of this forum
      su_liam@mas.to
      schrieb zuletzt editiert von
      #220

      @EricLawton @futurebird @ben @david_chisnall How many Russian children had to be posed naked in front of cameras, so Grok knew how to make those pictures?

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

        @EricLawton @david_chisnall

        "Now I'm curious about whether LLMs' code compiles and executes error-free on their first attempt."

        At first it did not, but they have added a routine to run it through a compiler until it at least runs without syntax errors and probably produces output that seems like what you asked for for a limited example of input.

        This is a bolted on extra check, not some improvement in the base LLM.

        But some people are acting like it does represent advances in the LLM.

        aredridel@kolektiva.socialA This user is from outside of this forum
        aredridel@kolektiva.socialA This user is from outside of this forum
        aredridel@kolektiva.social
        schrieb zuletzt editiert von
        #221

        @futurebird @EricLawton @david_chisnall @maco Are they though? The only sensible way to evaluate it is as a system — nobody uses the raw LLM, it's always through layers of API, tokenization, and now models or at least separate "trains of thought" leveraged against each other to refine the output. Using the tooling to conform output is a good hack to keep the systems able to deal with new things by using new tools instead of needing new training.

        And it's not exactly an extra check — it's embedded in a feedback loop.

        futurebird@sauropods.winF 1 Antwort Letzte Antwort
        0
        • aredridel@kolektiva.socialA aredridel@kolektiva.social

          @futurebird @EricLawton @david_chisnall @maco Are they though? The only sensible way to evaluate it is as a system — nobody uses the raw LLM, it's always through layers of API, tokenization, and now models or at least separate "trains of thought" leveraged against each other to refine the output. Using the tooling to conform output is a good hack to keep the systems able to deal with new things by using new tools instead of needing new training.

          And it's not exactly an extra check — it's embedded in a feedback loop.

          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
          #222

          @aredridel @EricLawton @david_chisnall @maco

          I've had so many people say "it knows how to write code now" as if this is somehow ... new and different from generating text. As if there as been some foundational advancement and not just the same tool applied again.

          aredridel@kolektiva.socialA unlambda@hachyderm.ioU 2 Antworten Letzte Antwort
          0
          • futurebird@sauropods.winF futurebird@sauropods.win

            @aredridel @EricLawton @david_chisnall @maco

            I've had so many people say "it knows how to write code now" as if this is somehow ... new and different from generating text. As if there as been some foundational advancement and not just the same tool applied again.

            aredridel@kolektiva.socialA This user is from outside of this forum
            aredridel@kolektiva.socialA This user is from outside of this forum
            aredridel@kolektiva.social
            schrieb zuletzt editiert von
            #223

            @futurebird @EricLawton @david_chisnall @maco Yeah. And it really just is more and more precise force of the same sort. It does however end up at a qualitatively different place, with different impacts to the system of programming work itself because of it.

            maco@wandering.shopM 1 Antwort Letzte Antwort
            0
            • aredridel@kolektiva.socialA aredridel@kolektiva.social

              @futurebird @EricLawton @david_chisnall @maco Yeah. And it really just is more and more precise force of the same sort. It does however end up at a qualitatively different place, with different impacts to the system of programming work itself because of it.

              maco@wandering.shopM This user is from outside of this forum
              maco@wandering.shopM This user is from outside of this forum
              maco@wandering.shop
              schrieb zuletzt editiert von
              #224

              @aredridel @futurebird @EricLawton @david_chisnall I’ve heard pricing on these is based on “tokens,” which I understand is in the tokenization/lex/yacc sense. I think that’s based on the number of tokens output, not input.

              When it has to make two or three tries at generating code that actually compiles, does each attempt get charged, or just one?

              futurebird@sauropods.winF ericlawton@kolektiva.socialE aredridel@kolektiva.socialA unlambda@hachyderm.ioU 5 Antworten Letzte Antwort
              0
              • catfish_man@mastodon.socialC catfish_man@mastodon.social

                @wakame @futurebird can confirm, I work on the standard library for a major programming language and my working assumption is “you can tell I’m writing a bug because my hands are moving”.

                Which is why we have tens of thousands of tests and multiple code reviewers and elaborate compiler checking and teams of people dedicated to making sure everyone else’s code that uses my code still works and everyone “dogfoods” the changes and and and… stuff still slips through every once in a while.

                catfish_man@mastodon.socialC This user is from outside of this forum
                catfish_man@mastodon.socialC This user is from outside of this forum
                catfish_man@mastodon.social
                schrieb zuletzt editiert von
                #225

                @wakame @futurebird when I’m feeling extra dramatic I sometimes think of Diane Duane’s “So You Want To Be A Wizard”; we’re in a war against entropy itself, a sandcastle versus the tide, utterly unwinnable. And yet we show up every day and carve out a little place where something is Better for the people relying on our work. A bug fixed here, a tiny efficiency win multiplied by running a trillion times a day there.

                “To these ends, in the practice of my Art, I will put aside fear for courage…”

                1 Antwort Letzte Antwort
                0
                • maco@wandering.shopM maco@wandering.shop

                  @aredridel @futurebird @EricLawton @david_chisnall I’ve heard pricing on these is based on “tokens,” which I understand is in the tokenization/lex/yacc sense. I think that’s based on the number of tokens output, not input.

                  When it has to make two or three tries at generating code that actually compiles, does each attempt get charged, or just one?

                  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
                  #226

                  @maco @aredridel @EricLawton @david_chisnall

                  I've only ever used free offers including a few I experienced in workshops, so I don't know about the pricing.

                  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.

                    paul_ipv6@infosec.exchangeP This user is from outside of this forum
                    paul_ipv6@infosec.exchangeP This user is from outside of this forum
                    paul_ipv6@infosec.exchange
                    schrieb zuletzt editiert von
                    #227

                    @futurebird

                    treat it like a video game. each error is a life but you have to burn all your lifes to get assistance. start with 5 lives?

                    1 Antwort Letzte Antwort
                    0
                    • maco@wandering.shopM maco@wandering.shop

                      @aredridel @futurebird @EricLawton @david_chisnall I’ve heard pricing on these is based on “tokens,” which I understand is in the tokenization/lex/yacc sense. I think that’s based on the number of tokens output, not input.

                      When it has to make two or three tries at generating code that actually compiles, does each attempt get charged, or just one?

                      ericlawton@kolektiva.socialE This user is from outside of this forum
                      ericlawton@kolektiva.socialE This user is from outside of this forum
                      ericlawton@kolektiva.social
                      schrieb zuletzt editiert von
                      #228

                      @maco

                      And if you're paying for it, there is an implied warranty that you'll get what you paid for.

                      Oh well, disputes w will be settled using lawyers with LLMs.

                      Which will further normalise the occupation of society by these corporate spokesbots.

                      @aredridel @futurebird @david_chisnall

                      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.

                        M This user is from outside of this forum
                        M This user is from outside of this forum
                        michal_young@mstdn.plus
                        schrieb zuletzt editiert von
                        #229

                        @futurebird
                        I teach intro courses at a university, which could be a little different but probably not completely. We often do "live coding" in class, with either me or a student at the keyboard while we solve a problem. Regardless of whether it's me or a student "driving", there are always lots of errors to fix, so it's an opportunity to model error-fixing as a normal, expected, creative activity. I always thank students for pointing out my boo-boos, which are plentiful.

                        1 Antwort Letzte Antwort
                        0
                        • maco@wandering.shopM maco@wandering.shop

                          @aredridel @futurebird @EricLawton @david_chisnall I’ve heard pricing on these is based on “tokens,” which I understand is in the tokenization/lex/yacc sense. I think that’s based on the number of tokens output, not input.

                          When it has to make two or three tries at generating code that actually compiles, does each attempt get charged, or just one?

                          aredridel@kolektiva.socialA This user is from outside of this forum
                          aredridel@kolektiva.socialA This user is from outside of this forum
                          aredridel@kolektiva.social
                          schrieb zuletzt editiert von
                          #230

                          @maco @futurebird @EricLawton @david_chisnall That's complex and ever-changing, as business tuning is wont to do.

                          You usually pay for input and output tokens both, and thinking is part of that. But most people are using plans that give them some sort of semi-metered time-based access — five hours of time with the model and a token limit within that. It's a strange system.

                          Tokens are roughly in the lex/yacc sense, but they're a new thing, for LLM models. They're not precise parser tokens with parts of speech, but they are roughly "words”. Not exactly, since language is morphologically complex, and programming languages carry semantics in other granules, but the idea that they're words is not wrongheaded.

                          Others are going flat-fee (F/e, something like z.ai hosted GLM-4.7 is a flat fee per month, and quite low.)

                          (Also that one is interesting because cost to operate it figures are quite public. The model is public, the hardware requirements are about $15000, so you can do the math on it pretty easily to see what capital costs would be. Also environmental! Like that's 3 high end server GPUs, so a lot of heat, but also to humanize it, "less than heating a house" amounts of energy by far.)

                          stevenaleach@sigmoid.socialS 1 Antwort Letzte Antwort
                          0
                          • maco@wandering.shopM maco@wandering.shop

                            @aredridel @futurebird @EricLawton @david_chisnall I’ve heard pricing on these is based on “tokens,” which I understand is in the tokenization/lex/yacc sense. I think that’s based on the number of tokens output, not input.

                            When it has to make two or three tries at generating code that actually compiles, does each attempt get charged, or just one?

                            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
                            #231

                            @maco @aredridel @EricLawton @david_chisnall

                            I strongly suspect they are vastly undercharging and counting on building dependency and jacking up the prices later.

                            The free workshops seem to be all about that and didn't impress me much. But, I did get to play with the tech so I could better understand it which was worth it despite all of the sales pitch infused through the process.

                            maco@wandering.shopM aredridel@kolektiva.socialA flyingmana@phpc.socialF 3 Antworten Letzte Antwort
                            0
                            • futurebird@sauropods.winF futurebird@sauropods.win

                              @maco @aredridel @EricLawton @david_chisnall

                              I strongly suspect they are vastly undercharging and counting on building dependency and jacking up the prices later.

                              The free workshops seem to be all about that and didn't impress me much. But, I did get to play with the tech so I could better understand it which was worth it despite all of the sales pitch infused through the process.

                              maco@wandering.shopM This user is from outside of this forum
                              maco@wandering.shopM This user is from outside of this forum
                              maco@wandering.shop
                              schrieb zuletzt editiert von
                              #232

                              @futurebird @aredridel @EricLawton @david_chisnall oh yes, I had the impression there was some of that going on. Some of the services did jack their prices up some time a year or two ago; I remember there being sticker shock. I think people expected what was free at first to go to like $20/mo and it actually went much higher.

                              But I have no details. I haven’t used any of it.

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

                                @maco @aredridel @EricLawton @david_chisnall

                                I strongly suspect they are vastly undercharging and counting on building dependency and jacking up the prices later.

                                The free workshops seem to be all about that and didn't impress me much. But, I did get to play with the tech so I could better understand it which was worth it despite all of the sales pitch infused through the process.

                                aredridel@kolektiva.socialA This user is from outside of this forum
                                aredridel@kolektiva.socialA This user is from outside of this forum
                                aredridel@kolektiva.social
                                schrieb zuletzt editiert von
                                #233

                                @futurebird @maco @EricLawton @david_chisnall Oof. A sales pitch embedded in it sounds miiiiiserable.

                                As far as pricing ... man it's hard to tell. The training of models is very expensive, and energy-consuming. That has to be amortized somehow. But the actual running takes only a little more than 'home computer' level. (and cruddier models do run on home computer scale things)

                                ingalovinde@embracing.spaceI 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.

                                  goopadrew@infosec.exchangeG This user is from outside of this forum
                                  goopadrew@infosec.exchangeG This user is from outside of this forum
                                  goopadrew@infosec.exchange
                                  schrieb zuletzt editiert von
                                  #234

                                  @futurebird not a cs teacher, so feel free to disregard, but maybe you could split lectures up with students just taking notes during some examples, and following along with others? My favorite coding professor also often intentionally put in common errors to the examples he was doing, then asked the class what needed to be done to fix them

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

                                    @maco @aredridel @EricLawton @david_chisnall

                                    I strongly suspect they are vastly undercharging and counting on building dependency and jacking up the prices later.

                                    The free workshops seem to be all about that and didn't impress me much. But, I did get to play with the tech so I could better understand it which was worth it despite all of the sales pitch infused through the process.

                                    flyingmana@phpc.socialF This user is from outside of this forum
                                    flyingmana@phpc.socialF This user is from outside of this forum
                                    flyingmana@phpc.social
                                    schrieb zuletzt editiert von
                                    #235

                                    @futurebird i remember to have read the current prices are only 1% of what it would need to cover the cost.
                                    And thats not yet including the increased energy prices caused by the co2 tax increses now coming.(not that any of the big companies would pay this)

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

                                      @abucci

                                      I'm kind of shocked that functions are hard. Are they hard for students who understand functions in the context of mathematics?

                                      abucci@buc.ciA This user is from outside of this forum
                                      abucci@buc.ciA This user is from outside of this forum
                                      abucci@buc.ci
                                      schrieb zuletzt editiert von
                                      #236
                                      @futurebird@sauropods.win Yes, I would say so. Functions in math are different from functions in code. Mathematical functions look more like lookup tables or dictionaries. One sticking point is the flow of control: a function has a block of instructions that are not executed at the point where they're written in the source code. This is really confusing for some people, especially if they've just been taught that computers go through a list of instructions one by one, executing each in sequence.

                                      Add in functions that have side effects, functions that don't return a value (procedures), functions that trap the rest of the execution (continuations), etc., and you're well outside of what most people understand mathematical functions to be like. The mathematical sine function can't make a network connection or write to a file or...

                                      You can sometimes suss this out by comparing a function to a dictionary (or similar lookup type data structure). Those don't involve changes in the flow of control, and students tend to grasp what they're doing much faster. Students who grasp dictionaries sometimes cannot transfer that understanding to functions because of the flow of control issue, I think, so it can be helpful to probe whether they understand one but not the other and try to figure out why.
                                      L 1 Antwort Letzte Antwort
                                      0
                                      • catfish_man@mastodon.socialC catfish_man@mastodon.social

                                        @wakame @futurebird can confirm, I work on the standard library for a major programming language and my working assumption is “you can tell I’m writing a bug because my hands are moving”.

                                        Which is why we have tens of thousands of tests and multiple code reviewers and elaborate compiler checking and teams of people dedicated to making sure everyone else’s code that uses my code still works and everyone “dogfoods” the changes and and and… stuff still slips through every once in a while.

                                        wakame@tech.lgbtW This user is from outside of this forum
                                        wakame@tech.lgbtW This user is from outside of this forum
                                        wakame@tech.lgbt
                                        schrieb zuletzt editiert von
                                        #237

                                        @Catfish_Man @futurebird

                                        "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Dijkstra

                                        apontious@dice.campA sayrer@mastodon.socialS 2 Antworten Letzte Antwort
                                        0
                                        • futurebird@sauropods.winF futurebird@sauropods.win

                                          Example of the problem:

                                          Me: "OK everyone. Next we'll make this into a function so we can simply call it each time-"

                                          Student 1: "It won't work." (student who wouldn't interrupt like this normally)

                                          Student 2: "Mine's broken too!"

                                          Student 3: "It says error. I have the EXACT same thing as you but it's not working."

                                          This makes me feel overloaded and grouchy. Too many questions at once. What I want them to do is wait until the explanation is done and ask when I'm walking around. #CSEdu

                                          nyates314@mstdn.socialN This user is from outside of this forum
                                          nyates314@mstdn.socialN This user is from outside of this forum
                                          nyates314@mstdn.social
                                          schrieb zuletzt editiert von
                                          #238

                                          @futurebird Not much to add you haven't already thought of, but I agree with a lot of what you said and feel your frustration. If I need to keep going with the instruction like in your example (turning into a function next), I would tell the students with errors to shift to copying the new stuff down as notes, so they don't compound multiple errors if they continue to try coding along with me, ...

                                          nyates314@mstdn.socialN 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