• @[email protected]
    link
    fedilink
    English
    20
    edit-2
    5 months ago

    Brainless GPT coding is becoming a new norm on uni.

    Even if I get the code via Chat GPT I try to understand what it does. How you gonna maintain these hundreds of lines if you dont know how does it work?

    Not to mention, you won’t cheat out your way on recruitment meeting.

  • @[email protected]
    link
    fedilink
    165 months ago

    Been a TA when chatGPT was released. Most students shot their own foot this way before we figured what was happening. Grades went from bell shaped to U shaped. A few students got 85+, the rest failed, it was brutal. Thought I failed my students horribly before I found out it was happening in all classes.

    If you actually stuck in such a situation, solve as many problems as you can. An approach that will work for most people:

    1. Try to solve
    2. Fail
    3. Take a peek, understand your failure. If the peek didn’t include full solution, go back to step 1. Else continue to step 4.
    4. Move to the next question and go back to step 1.

    Make sure to skip questions if they are too easy. Evey 4~ hours take a 20 minutes nap (not longer than 25 minutes). If you actually manage to solve enough problems to pass, go to sleep, 4.5 hours or a longer multiplier of 1.5 hours.

    After the exam go back and solve all homework yourself. DO NOT cram it, spread it or you will retain nothing long term.

    Good luck.

  • boletus
    link
    fedilink
    785 months ago

    Why would you sign up to college to willfully learn nothing

      • boletus
        link
        fedilink
        7
        edit-2
        5 months ago

        Not a single person I’ve worked with in software has gotten a job with just a diploma/degree since like the early 2000s

        Maybe it’s different in some places.

        • @[email protected]
          link
          fedilink
          105 months ago

          Many HR departments will automatically kick out an application if it doesn’t have a degree. It’s an easy filter even if it isn’t the most accurate.

          • boletus
            link
            fedilink
            35 months ago

            Yeah fair point, but then how are you going to get the job if you’re completely incompetent at programming 🤔

            • @[email protected]
              link
              fedilink
              35 months ago

              I don’t think you can get the CS degree with being completely incompetent. A bunch of interviews I had were white boarding the logic, not actual coding. Code is easy if you know the logic.

          • boletus
            link
            fedilink
            35 months ago

            I meant any form of qualification. Sure it helps, but the way you get the job is by showing you can actually do the work. Like a folio and personal projects or past history.

            • @[email protected]
              link
              fedilink
              15 months ago

              Art? Most programming? “Hard skills” / technical jobs… GOOD jobs. Sure. But there’s plenty of degrees & jobs out there. Sounds like you landed where you were meant to be, alot of folks go where opportunity and the market takes them

              • boletus
                link
                fedilink
                15 months ago

                Its probably a regional difference. Here in AU, you can be lucky and land a few post grad jobs if you really stood out. Otherwise you’re entirely reliant on having a good folio and most importantly connections.

    • @[email protected]
      link
      fedilink
      15 months ago

      If you go through years of education, learn nothing, and all you get is a piece of paper, then you’ve just wasted thousands of hours and tens of thousands of dollars on a worthless document. You can go down to FedEx and print yourself a diploma on nice paper for a couple of bucks.

      If you don’t actually learn anything at college, you’re quite literally robbing yourself.

    • @[email protected]
      link
      fedilink
      205 months ago

      A lot of kids fresh out of highschool are pressured into going to college right away. Its the societal norm for some fucking reason.

      Give these kids a break and let them go when they’re really ready. Personally I sat around for a year and a half before I felt like “fuck, this is boring lets go learn something now”. If i had gone to college straight from highschool I would’ve flunked out and just wasted all that money for nothing.

      • boletus
        link
        fedilink
        45 months ago

        Yeah I remember in high school they were pressuring every body to go straight to uni and I personally thought it was kinda predatory.

        • @[email protected]
          link
          fedilink
          English
          35 months ago

          I wish I hadn’t went straight in, personally. Wasted a lot of money and time before I got my shit together and went back for an associates a few years later.

          • boletus
            link
            fedilink
            35 months ago

            Its hard to make wise decisions when you’re basically a kid at that age.

    • @[email protected]
      link
      fedilink
      45
      edit-2
      5 months ago

      My Java classes at uni:

      Here’s a piece of code that does nothing. Make it do nothing, but in compliance with this design pattern.

      When I say it did nothing, I mean it had literally empty function bodies.

      • @[email protected]
        link
        fedilink
        85 months ago

        So what? You also learn math with exercises that ‘do nothing’. If it bothers you so much add some print statements to the function bodies.

        • @[email protected]
          link
          fedilink
          25 months ago

          I actually did do that. My point was to present a situation where you basically do nothing in higher education, which is not to say you don’t do/learn anything at all.

      • I Cast Fist
        link
        fedilink
        25 months ago

        Mine were actually useful, gotta respect my uni for that. The only bits we didn’t manually program ourselves were the driver and the tomcat server, near the end of the semester we were writing our own Reflections to properly guess the object type from a database query.

      • boletus
        link
        fedilink
        25
        edit-2
        5 months ago

        Yeah that’s object oriented programming and interfaces. It’s shit to teach people without a practical example but it’s a completely passable way to do OOP in industry, you start by writing interfaces to structure your program and fill in the implementation later.

        Now, is it a good practice? Probably not, imo software design is impossible to get right without iteration, but people still use this method… good to understand why it sucks

  • @[email protected]
    link
    fedilink
    85 months ago

    Why do they even care? it’s not like your future bosses are going to give a flying fuck how you get your code. at least, they won’t until you cause the machine uprising or something.

    • gfle
      link
      fedilink
      115 months ago

      They are going to care if you can maintain your code. Programming isn’t “write, throw it over the fence and forget about it”, you usually have to work with what you - or your coworkers - have already done. “Reading other people’s code” is, like, 95% of the programmers job. Sometimes the output of a week long, intensive work is a change in one line of code, which is a result of deep understanding of a project which can span through many files, sometimes many small applications connected with each other.

      ChatGPT et al aren’t good at that at all. Maybe they will be in the future, but at the moment they are not.

      • @[email protected]
        link
        fedilink
        25 months ago

        Most people who are in dev aren’t maintaining shit.

        Most coders don’t write new scripts, they’re cutting and pasting from whatever libraries they have - using ChatGPT is just the newest way to do that.

        Your boss doesn’t care about how the job gets done- they care that it gets done. Which is why we have giant code libraries just chock full of snippets to jigsaw into whatever we need.

        • gfle
          link
          fedilink
          15 months ago

          Most people who are in dev aren’t maintaining shit.

          I disagree, but maybe what I do in “dev” is a bubble where things are different.

    • @[email protected]
      link
      fedilink
      English
      65 months ago

      They absolutely will. Companies hire programmers because they specifically need people who can code. Why would I hire someone to throw prompts into ChatGPT? I can do that myself. In the time it take me to write to an employee instructing them on the code I want them to create with ChatGPT, I could just throw a prompt into ChatGPT myself.

      • @[email protected]
        link
        fedilink
        105 months ago

        Yeah, Anon paid an AI to take the class he payed for. Setting his money on fire would have been more efficient.

        • @[email protected]
          link
          fedilink
          15 months ago

          After you finish a random course, a bunch of tech bros contact you immediately, give you a bunch of money, and take you to the land of Silicon, where you play fusball and drink beer, occasionally typing on a keyboard randomly.
          At least, that’s how those things are advertised

          • @[email protected]
            link
            fedilink
            15 months ago

            I’ve been on both sides of that zoom call, and yeah, the amenities are there because they expect you to live there

    • @[email protected]
      link
      fedilink
      10
      edit-2
      5 months ago

      Idk I knew people who got filtered by the intro Java class. It was because they both had no prior experience and also always cheated to avoid writing code themselves for assignments.

      • @[email protected]
        link
        fedilink
        English
        55 months ago

        Yup. I had a classmate I did HW with. About 1/3 of the way through our study sessions me and person C realized. Classmate never helped but pretended too. Dude failed that class so hard when we got to the final and it was hand written. 🤣

  • @[email protected]
    link
    fedilink
    175 months ago

    Any competent modern IDE or compiler will help you find syntax mistakes. Knowing the concepts is way more important.

    • Farid
      link
      fedilink
      45 months ago

      Took first semester Java test a month ago. Had to use a built-in WYSIWYG editor within the test webpage.

        • Farid
          link
          fedilink
          4
          edit-2
          5 months ago

          WYSIWYG stands for “what you see is what you get”. Basically, it was a plain rich-text editor, with buttons for bold, italics and so on.

        • @[email protected]
          link
          fedilink
          25 months ago

          Probably you see black text on white background, and get no syntax highlighting or autocomplete, lol.

  • @[email protected]
    link
    fedilink
    1135 months ago

    Yeah fake. No way you can get 90%+ using chatGPT without understanding code. LLMs barf out so much nonsense when it comes to code. You have to correct it frequently to make it spit out working code.

    • @[email protected]
      link
      fedilink
      75 months ago

      Are you guys just generating insanely difficult code? I feel like 90% of all my code generation with o1 works first time? And if it doesn’t, I just let GPT know and it fixes it right then and there?

      • KillingTimeItself
        link
        fedilink
        English
        95 months ago

        the problem is more complex than initially thought, for a few reasons.

        One, the user is not very good at prompting, and will often fight with the prompt to get what they want.

        Two, often times the user has a very specific vision in mind, which the AI obviously doesn’t know, so the user ends up fighting that.

        Three, the AI is not omnisicient, and just fucks shit up, makes goofy mistakes sometimes. Version assumptions, code compat errors, just weird implementations of shit, the kind of stuff you would expect AI to do that’s going to make it harder to manage code after the fact.

        unless you’re using AI strictly to write isolated scripts in one particular language, ai is going to fight you at least some of the time.

        • @[email protected]
          link
          fedilink
          2
          edit-2
          5 months ago

          I asked an LLM to generate tests for a 10 line function with two arguments, no if branches, and only one library function call. It’s just a for loop and some math. Somehow it invented arguments, and the ones that actually ran didn’t even pass. It made like 5 test functions, spat out paragraphs explaining nonsense, and it still didn’t work.

          This was one of the smaller deepseek models, so perhaps a fancier model would do better.

          I’m still messing with it, so maybe I’ll find some tasks it’s good at.

          • KillingTimeItself
            link
            fedilink
            English
            25 months ago

            from what i understand the “preview” models are quite handicapped, usually the benchmark is the full fat model for that reason. the recent openAI one (they have stupid names idk what is what anymore) had a similar problem.

            If it’s not a preview model, it’s possible a bigger model would help, but usually prompt engineering is going to be more useful. AI is really quick to get confused sometimes.

            • @[email protected]
              link
              fedilink
              15 months ago

              It might be, idk, my coworker set it up. It’s definitely a distilled model though. I did hope it would do a better job on such a small input though.

              • KillingTimeItself
                link
                fedilink
                English
                25 months ago

                the distilled models are a little goofier, it’s possible that might influence it, since they tend to behave weirdly sometimes, but it depends on the model and the application.

                AI is still fairly goofy unfortunately, it’ll take time for it to become omniscient.

      • @[email protected]
        link
        fedilink
        55 months ago

        A lot of people assume their not knowing how to prompt is a failure of the AI. Or they tried it years ago, and assume it’s still as bad as it was.

      • @[email protected]
        link
        fedilink
        6
        edit-2
        5 months ago

        I just generated an entire angular component (table with filters, data services, using in house software patterns and components, based off of existing work) using copilot for work yesterday. It didn’t work at first, but I’m a good enough software engineer that I iterated on the issues, discarding bad edits and referencing specific examples from the extant codebase and got copilot to fix it. 3-4 days of work (if you were already familiar with the existing way of doing things) done in about 3-4 hours. But if you didn’t know what was going on and how to fix it you’d end up with an unmaintainable non functional mess, full of bugs we have specific fixes in place to avoid but copilot doesn’t care about because it doesn’t have an idea of how software actually works, just what it should look like. So for anything novel or complex you have to feed it an example, then verify it didn’t skip steps or forget to include something it didn’t understand/predict, or make up a library/function call. So you have to know enough about the software you’re making to point that stuff out, because just feeding whatever error pops out of your compiler back into the AI may get you to working code, but it won’t ensure quality code, maintainability, or intelligibility.

      • @[email protected]
        link
        fedilink
        35 months ago

        My first attempt at coding with chatGPT was asking about saving information to a file with python. I wanted to know what libraries were available and the syntax to use them.

        It gave me a three page write up about how to write a library myself, in python. Only it had an error on damn near every line, so I still had to go Google the actual libraries and their syntax and slosh through documentation

      • @[email protected]
        link
        fedilink
        45 months ago

        You mean o3 mini? Wasn’t it on the level of o1, just much faster and cheaper? I noticed no increase in code quality, perhaps even a decrease. For example it does not remember things far more often, like variables that have a different name. It also easily ignores a bunch of my very specific and enumerated requests.

    • @[email protected]
      link
      fedilink
      15 months ago

      Usually this joke is run with a second point of view saying, do I tell them or let them keep thinking this is cheating?

    • @[email protected]
      link
      fedilink
      English
      95 months ago
      1. Ask ChatGPT for a solution.
      2. Try to run the solution. It doesn’t work.
      3. Post the solution online as something you wrote all on your own, and ask people what’s wrong with it.
      4. Copy-paste the fixed-by-actual-human solution from the replies.
    • @[email protected]
      link
      fedilink
      135 months ago

      If we’re talking about freshman CS 101, where every assignment is the same year-over-year and it’s all machine graded, yes, 90% is definitely possible because an LLM can essentially act as a database of all problems and all solutions. A grad student TA can probably see through his “explanations”, but they’re probably tired from their endless stack of work, so why bother?

      If we’re talking about a 400 level CS class, this kid’s screwed and even someone who’s mastered the fundamentals will struggle through advanced algorithms and reconciling math ideas with hands-on-keyboard software.

  • @[email protected]
    link
    fedilink
    6
    edit-2
    5 months ago

    I remember so little from my studies I do tend to wonder if it would really have cheating to… er… cheat. Higher education was like this horrendous ordeal where I had to perform insane memorisation tasks between binge drinking, and all so I could get my foot in the door as a dev and then start learning real skills on the job (e.g. “agile” didn’t even exist yet then, only XP. Build servers and source control were in their infancy. Unit tests the distant dreams of a madman.)

  • burgersc12
    link
    fedilink
    English
    305 months ago

    Bro just sneak to the bathroom and use chatgpt on your phone like everyone else does

    • @[email protected]
      link
      fedilink
      English
      345 months ago

      My first programming course (in Java) had a pen and paper exam. Minus points if you missed a bracket. :/

      • @[email protected]
        link
        fedilink
        85 months ago

        I got -30% for not writing comments for my pen and paper java final.

        Somehow it just felt a bit silly to do, I guess

      • @[email protected]
        link
        fedilink
        25 months ago

        It was the same for the class I took in high school. I remember the teacher saying that its to make sure we actually understand the code we write, since the IDE does some of the work for you.

    • @[email protected]
      link
      fedilink
      English
      35 months ago

      Remember having to use (a modified version of?) quincy for C. Trying to paste anything would put random characters into your file.

      Still beats programming on paper.

    • rockerface 🇺🇦
      link
      fedilink
      English
      1355 months ago

      If there’s no code completion, I can tell you even people who’s been doing coding as a job for years aren’t going to write it correctly from memory. Because we’re not being paid to memorize this shit, we’re being paid to solve problems optimally.

      • @[email protected]
        link
        fedilink
        145 months ago

        My undergrad program had us write Java code by hand for some beginning assignments and exams. The TAs would then type whatever we wrote into Eclipse and see if it ran. They usually graded pretty leniently, though.

        • @[email protected]
          link
          fedilink
          75 months ago

          There’s nobody out there writing “commercial” code in notepad. It’s the concepts that matter, not the spelling, so if OP got a solid grasp on those from using GPT, he’ll probably make it just fine