• demizerone@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    22 hours ago

    AI or not to AI is the same stories I heard from old time machinists when cnc productivity came for that industry.

  • CheesyFox@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    not really related to the post, but NGL, it kinda fascinates me, how with the advent of LLMs, they became the ultimate punching bag for whenever something works bad, as if people didn’t write even more horrible things without them (my regards to javascript and python).

    • Railcar8095@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      Will share the down votes with you, because I think the same.

      Claude opus is better than a significant amount of people I’ve worked with, and it’s still significantly cheaper when now. Mind, we are not professional developers, but we need to develop a lot a DS solutions.

      • yuki_gassen@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        Even if AI was not hot garbage the other [insert number] % of the time, would that equate to better material outcomes for actual humans? Not under capitalism, that’s for sure.

      • CheesyFox@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        What even is a “professional developer”? I mean, given that you aren’t an egg-headed RnD developing new technology for someone like Nvidia, the job of a developer is 95% mind-numbing routine and typical tasks solved by applying ready-made patterns.

  • rizzothesmall@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    Maybe? If you poison the prompt then there’s evidence and it can be undone. Poison fragments of the source training data, however, and that’s some KT shit right there. Enterprise foundation models cost bonkers money to train and pretty much slurp up all the data on the internet for mostly automated annotation. Stick something in an obscure part of the internet which becomes part of the training and produces the malicious response and it’s going to be both hard and expensive to detect or correct.

    • CheesyFox@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      except for poison to take in, it should be a pretty significant part of the dataset. Also, ngl, i’m not much informed on the topic, but aren’t all the datasets, if we’re talking about generic diffusion models and LLMs, already been formed? From what i gather, the innovation in AI mainly comes from utilizing new architectures, rather than training a model on something unique.

      • rizzothesmall@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        The datasets are constantly expanding as new content is generated online. There’s a degradation issue currently where the models are training on incorrect data generated by previous iteration of their own or other models and effectively poisoning itself to more confidently give the same incorrect information in future.

        • CheesyFox@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          1 day ago

          i’ve heard of the dataset poisoning and degradation caused by llm-generated content present in the dataset myself, but i’m not sure whether it was a practical observation, or a mere experiment. And I still fail to see how new datasets are really useful for developing a new llms, or how it’s a problem for the devs to switch back to the older datasets.

          And the cornerstone stays the same: to have any significant effect on the final LLM quality, shouldn’t the poisoned (either by llm-produced content, or by intentional poisoning) data portion be… well, statistically significant?

      • spizzat2@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        2 days ago

        notice

        javascript required to view this site

        why

        measured improvement in server performance

        awesome incremental search

        Boo! Just give me the text!

        • Magnum, P.I.@infosec.pub
          link
          fedilink
          arrow-up
          0
          ·
          1 day ago

          Doesn’t Ken’s virus depend on the fact that the compiler (a pre-existing binary version thereof) was used to bootstrap itself? Had a different compiler been used to compile the compiler, the virus would have been killed. No. Ken notes “I could have picked on any program-handling program such as an assembler, a loader, or even hardware microcode.” Put it in the linker, say, and all your compilers are affected. You could use a debugger to inspect the compiler’s operation. Perhaps a debugger toggled in via the patch panel on the front of a PDP-10 … otherwise s/login/debugger/ in what Ken said and paste in another trojan or two. How about modification of the compiler sources for another reason? Might have fooled the “am I compiling myself” algorithm, or might have caused the Trojan to have been inserted incorrectly. There are no C compilers out there that don’t use yacc and lex. But again, the really frightening thing is via linkers and below this hack can propagate transparently across languages and language generations. In the case of cross compilers it can leap across whole architectures. It may be that the paranoiac rapacity of the hack is the reason KT didn’t put any finer point on such implications in his speech … These examples are not given to rebut Thompson’s point (which is a valid one), but instead to remind of good practices to prevent this sort of thing. What practices? I can’t think of any way to do it without the resources of a major TLA. KTH demonstrates that we are not able to fully trust any binary even when we have compiled it ourselves from trustworthy sources on a system we have compiled ourselves. The OpenSourceMovement might have an off switch … but your cell phone probably does not.


          It’s been more than twenty years since I read Thompson’s marvelous paper, but I believe I correctly recall his fundamental point: UNIX, and every system like it, can NEVER be “secure”. It doesn’t matter how many layers of anti-virus software, “internet worm protection”, “firewall” or any other buzzword – systems like UNIX (including all versions of Linux, Macintosh OSX, and all versions of WinXP) will NEVER be secure. Thompson published his paper and revealed his hack in order to demonstrate this point. Whereas what systems are secure? Ones that are not compiled from source code, presumably. And certainly not, say, Windows which you left of your list by sheer coincidence.


          In August 2009 a virus utilizing the Ken Thompson hack was seen in the wild. It infected Delphi 4 through 7 and applications genereated with it. http://www.h-online.com/security/Virus-infects-development-environment--/news/114031


          Although non-trivial, an effective counter has been identified: http://www.schneier.com/blog/archives/2006/01/countering_trus.html. That’s only (and trivially) effective if you already have a trusted compiler executable. The problem is generating one of those in the first place. Living in the era of PRISM, we can guarantee you can’t get one online - KTH in the network will see to that. You sure didn’t get one shipped with your OS - all the commercial OS mfrs are compromised and the open source ones all went through PRISM’s internet. The only way you’re going to get a clean compiler executable now is to build your computer yourself out of TTL logic you salvage from some museum somewhere, then code up a set of basic binary tools sufficient to assemble assembler. Then bootstrap from the source of all the modern tools. This actually sounds like a worthy project until you realize that the only person who could possibly trust your clean compiler executable is you. No one else will know for sure that you’re not secretly working for PRISM. Or that you’re not just too careless, or that black hats didn’t hack their way into your garage and add the KTH while you weren’t looking. And even if you got far enough to prove something, the great conspiracy would dose you with mind-altering chemicals or blackmail you into silence or discredit you or similar. Face it, little dude, against TheKenThompsonHack there simply is no defense. Little dude? Why the put down? Who are you putting down, all of us? Please see GoodStyle. {I don’t think it was intended to be a put-down so much as a colloquial generic diminutive used as a rhetorical invective to imply weak superiority. It suggests the writer was not confident in his/her claim that “against TheKenThompsonHack there simply is no defense”, and subconsciously sought to blunt the full force of the assertion by diminishing the reader.}

          • [Dude. Print out the hexdump of the disassembler, disassemble it manually, see that it works, then use it as the first step in analyzing the compiler. Oh, and TheKenThompsonHack is trivially visible in the .s file if you’re looking for it.]
          • {You’re assuming the disassembler, hexdump tool, editor you use to read the .s file aren’t all compromised.}
          • Yep. The weakness in TheKenThompsonHack isn’t there. It’s in the fact that it will have to make mistakes in identifying the disassemblers, hexdump tools, editors, compilers, etc. Somewhere, there’s a program whose output it will change but it shouldn’t have, or a program whose output it should have changed but didn’t. See TuringIncompletenessTheorem.

          ‘’‘I’ve never been able to understand why simply doing some programmatic transformation of your compiler first isn’t considered a good defense. Basically just obfuscating the code. For such a backdoor to work the injection point needs to be recognized by the injector. So if one … Started with a corrupted compiler and then obfuscated it’s source. Then compiled the obfuscated but “clean” source with the corrupted compiler. One should end up with a clean and uncorrupted compiler. Then compile the unobfuscated source with the “washed” compiler (if the obfuscation significantly degraded the performance of the compiler). If in my paranoia I needed to bootstrap an entire toolchain this way. I’d start with an FPGA. Use it to emulate an FPGA (at horrendous loss of efficiency). Then use the emulated FPGA to run a custom simple soft-CPU. Preferably hand written. Ad then bootstrap a build toolchain using some expensive obfuscations for the first pass after which the tools are considered clean. One would probably always need to be careful of the CPU the toolchain runs on though, but similar obfuscation arguments should apply…’’ How do you know that the compromised compiler won’t recognize the obfuscation you used? If it does, your “clean” compiler is no longer clean. (The FPGA and CPU solution has the same problem.)


          Wouldn’t it be extremely hard (in any sense I can think of) to actually be able to recognize every program that does a particular operation? Say you wrote a program that runs a JVM implementation of a MIPS emulator that can make host system calls that runs a program that implements login by reading whatever files contain the passwords in backwards and converting them to EBCDIC before doing processing on them. I find it hard to believe that the KTH-implementing compiler would actually recognize anything that program is doing. Yes, it will have to make mistakes somewhere. This is because any implementation that was always correct could be used to solve the HaltingProblem. But this doesn’t make any particular trick undetectable. What they detect is mostly a matter of whether or not they thought of it and whether or not they considered checking for it worth the effort.

        • Lumisal@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 days ago

          Can’t you just check network connections for suspicious activity? At some point the thing affected by the KTH would send an outbound signal either of data collected, or inbound signals if it’s updating the backdoor.

          • horsesaysweird@feddit.org
            link
            fedilink
            Deutsch
            arrow-up
            0
            ·
            1 day ago

            I think the point is that you can’t trust any software. Hardware you can only trust if you built it yourself from simple logic components like transistors. Not sure how you would observe network traffic on that basis, but it’s probably physically impossible to do because it would be so slow that you would die before you finished checking just one day worth of HTTPS requests.

            • Lumisal@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              1 day ago

              You can automate a task to analyze the network traffic (though don’t underestimate human checks - remember the guy that noticed something was off by like 0.1% and discovered the logistics attack on Linux?).

              Also, you can probably trust hardware made yourself that’s more than that, like FPGA.

    • Natanox@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Mmh… but this concept only fully works on Open-Source hardware, doesn’t it? Otherwise the microcode or CPU itself could still be an attack vector to infect the bootstrapped compiler?

      (Genuinely curious, I have no clue)

      • bacon_pdp@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        That would be the deeply classified Nexus Intruder Program that no one has yet solved. Which would be hardware that infects software that in turn infects the next generation of hardware.

  • Korkki@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    What does that even mean. Whoever said that just uttered some empty but smart sounding catch phrase. Such is all the talk about the wonders of Ai

      • CheesyFox@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        just to clarify, he’d not so much called LLMs “the new compilers” as he compared both to each other in a sense that an LLM is just another layer of analysis tooling between the developer and the final machine code, which, IMO, sounds much more reasonable than calling LLMs “the new compiler”.

    • AdrianTheFrog@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      I think it’s supposed to be that how AI turns high level instructions into code is compared to how compilers turn code into assembly. Implying that using AI is just a natural extension of the handing off work to the computers that we’ve already been doing.

      I wonder if you gave different AI models some c++ or something and told them to write assembly based on it how well they would do compared to an actual compiler

      • Axolotl@feddit.it
        link
        fedilink
        arrow-up
        0
        ·
        2 days ago

        I highly doubt they would manage to make AI spout out good assembly, they fuck up with high level code, imagine assembly

        • Natanox@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 day ago

          With sufficient (usually stolen) training data they could probably do it to a state where it’s kinda usable in an assistive manner.

          Though since these LLMs often struggle with anything that doesn’t exist in truly abhorrent abundance in its training data as well as the actual engineering part (i.e. structuring the code sensibly and consistently, which I’d wager is crutially important with Assembly to not end up with spaghetti) trying to have it generate something from scratch would probably end up in a huge mess.

  • dan@upvote.au
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    At work, I use AI for some things. Right now I’m rewriting some legacy spaghetti code that’s had a bunch of things hacked into it over the years. I spoke to the person most familiar with the expected behaviour and used AI to combine his info plus the existing code and unit/integration tests into a list of requirements.

    I wrote the new code and tests based on the requirements rather than based on the old code. After each commit, I used AI to check for parity between the old and new code, and keep a Google Sheet up to date with the progress (which features were fully implemented, and which ones were missing or had gaps). I had AI write some tests cases too - given the list of requirements, write integration tests for them based on the style of a few tests I wrote by hand.

    It has some quirks (eg for tests it loves over-mocking even though our skills tell it to mock as little as possible) but it definitely speeds things up.

    I use AI for small side projects at work too. Tweaking and adding features I want to shared libraries, internal tools to help our team debug stuff and automate triaging of bug reports (they’re all still reviewed by a human), etc.

    The entire reason I can trust its code is because I can read it and tweak it myself. I sometimes need to go through a few iterations to get AI code into an acceptable state. AI writing machine code directly, like what’s been talked about recently and what this post is referencing, is such a dumb idea.

    • luciferofastora@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      10 hours ago

      I think that’s the distinction between an expert using a tool diligently and responsibly, and a lazy person using it haphazardly as a crutch.

      If that tool ever gets ripped out from under you, you’ll possibly suffer a loss in performance, but you’ll still be able to perform and do your job.

      If their crutch is kicked out, they’ll crash.

  • Jul@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    Devs should be “dev managers and executives”. Real developers know LLMs are basically just a tool for finding examples and helping with syntax. Sure they’re useful, but I’d never let them write code, much less compile it. Who knows what they’d inject into a build.

    • Natanox@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Real developers know LLMs are basically just a tool for finding examples and helping with syntax.

      Your words on gods ears. I also found it to be reasonably useful when you’re stuck in the documentation of a library clearly written by and for people who already know it.

      Unfortunately people who do not understand code are blissfully ignorant at what garbage they have the machine spit out. Of course until the LLM nukes their whole project folder or even disk because the probability engine unfortunately picked “clean slate” as the most probable next thing. Not as if that ever happened at companies, lol.

    • atopi@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      If a tool costs more to be made than the equivalent of buying every single person on earth a loaf of bread every single day for 300 days, only for it to have niche uses, that only helps what is possible with already existing tools, is it worth it?

      • Zephyr@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        That all depends on how it was made. Not all models cost that much. Chinese models were mostly produced for far less mostly.

            • AudaciousArmadillo@piefed.blahaj.zone
              link
              fedilink
              English
              arrow-up
              0
              ·
              23 hours ago

              Usually the ones that accelerate the destruction of our planet, perpetuate sexist and racist biases, pray opon the weaknesses of how our minds work, exploit the underprivileged, devalue humanity and artistry, are annoying and overhyped, I think you get the picture.

              • Zephyr@sh.itjust.works
                link
                fedilink
                arrow-up
                0
                ·
                edit-2
                22 hours ago

                So which algorithm is that? If you’re hinting at manipulating the populace because in fact they are easily programmed via social network manipulation. Yeah anything done maliciously is of course bad but I think that comes down to the use of the tools and not the intrinsic nature of the tools themselves. Algorithms are just math, it’s the will of the individuals wielding them that is corrupt and that seems to be your actual chief complaint.

                • AudaciousArmadillo@piefed.blahaj.zone
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  14 hours ago

                  I did not say that. You, like everyone else that says “its just a tool and technology is neutral”, should read more books about ethics, politics and sociology. Everything we do is political. Nothing is “neutral”.

        • douglasg14b@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 days ago

          Pmuch this.

          How do they feel about machine language translations? It’s been “AI” (ML model) since the late 90’s.

          Traffic prediction?

          Medical scan data processing?

          And so so many more specific uses of ML models that have been a part of daily life for literal decades.

          Call out LLMs specifically.

    • one_old_coder@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      And then your boss says: “Use it for everything or you’re fired. Why are you using less tokens than anyone else? You must be more productive or else…”

        • dustyData@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 days ago

          Your comment is so fit for purpose, displaying such a massive willful ignorance about the world in general. Because the biggest problem with asbestos wasn’t using it for home insulation. It killed millions of workers in manufacturing plants and mines. Its biggest industrial use case was for electrical insulation of high voltage transmission lines. Where it also killed hundreds of thousands of technicians in the us alone. Before that it was used for lamp wicks. Where it killed at least a couple of millions more over a century. Today, asbestos kills 250 thousand people a year, 12 to 15 thousand in the us every year.

          I supposed any tool can be considered useful if you’re ignorant enough about it or if you’re willing to lie without remorse.

    • Ooops@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      2 days ago

      It’s a tool, use it where it works and don’t where it doesn’t.

      But that doesn’t work with the people creating AI as they are totally dependent on the believe that AI can do absolutely everything (and an artificial general intelligence is just moments away…) to justify they insane investments. So they will make up a million stupid narratives why some people are “actually” not using AI as it obviously can’t be because of AI shortcomings…

        • Ooops@feddit.org
          link
          fedilink
          arrow-up
          0
          ·
          2 days ago

          You are probably also one of those insane ideologues that refuse to hammer in a screw for some reason, although you know how well that hammer worked on nails… 😂

    • Err(()).unwrap()@lemmy.worldM
      link
      fedilink
      arrow-up
      0
      ·
      2 days ago

      That saying (or, dare I say, thought-terminating cliché) glosses over the consideration of risks and costs that result from its uncritical usage. No sane person should trust it without serious reservations just because it fits the purpose, and that’s true whether or not it bears the latest combination of letters peddled by tech bros. It’s a dangerous, irresponsible mentality. It’s a tool the same way a sledgehammer made out of plutonium is a tool.

      • Zephyr@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        2 days ago

        I mean in an old nuclear bomb that’s pretty much the situation. Use a conventional explosive to slam some plutonium like a sledgehammer and nukes have proven to be a strong deterrent when a country had them. Still a tool with a use case

      • Franconian_Nomad@feddit.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 days ago

        Your comment is a sweeping statement that is thought terminating itself.

        No sane person should trust it without serious reservations just because it fits the purpose

        Using a tool for something it’s intended for automatically involves some thought process. And this thought process also involves its limitations and potential for danger.

        Your criticism stems from your dislike for AI and your opinion that it’s generally not useful. An opinion that is shared widely here, but with little to no proof at all.

  • abbadon420@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    The very fact that Anthropic is now injecting a kind of watermark into every output, is solid proof that such a Ken Thompson hack is a inevetable risk

    • AudaciousArmadillo@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      Ugh. Fuck “AI” and fuck Anthropic. But please read how the “watermarks” work. TL;TR its like a seeded run in a video game. With the seed and pseudo rng, you get the outcome i.e. the extruded text. In the watermark its the reverse, outcome + prng = seed. The result will be the same “quality” extruded garbage as before.

      • douglasg14b@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 days ago

        Good luck.

        Lemmy is damn near the when it comes to wanting to hold an opinion on a topic without having first understood that topic.