This first bill allows the state of California to regulate and oversee all 3D prints in the name of public safety.

  • jballs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    51
    ·
    5 months ago

    Under the proposal, printers would have to evaluate STL files, CAD files, or other geometric code using a firearm blueprint detection algorithm and block files flagged as capable of producing a firearm or illegal firearm parts, including conversion devices.

    California’s Department of Justice, or another relevant state agency, would have until January 1, 2028, to publish performance standards for detection algorithms and software control processes.

    This is the problem when lawmakers write technical bills without speaking to technical people. They’re going to publish standards for evaluating if your gcode is a firearm or firearm part? THAT’S FUCKING IMPOSSIBLE

    • SupraMario@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      5 months ago

      It’s not even that, building a firearm…is legal…this shit going after printers makes no sense at all, it’s fucking legal to print firearm parts.

    • Folstar@lemmus.org
      link
      fedilink
      English
      arrow-up
      9
      ·
      5 months ago

      Fun time to introduce/remind people of the Gell-Mann Amnesia Effect: The phenomenon of a person trusting newspapers for topics which that person is not knowledgeable about, despite recognizing the newspaper as being extremely inaccurate on certain topics which that person is knowledgeable about.

      Same thing goes for laws and lawmakers. It’s almost as if selecting our “leaders” from a narrow band of society who, for the most part, don’t know shit about anything, does not lead to enlightened laws.

      • jballs@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        5 months ago

        Lol I was just talking to my wife about that yesterday and how it’s exactly like AI.

        If you read something in the newspaper about your job, you’re like “these fucking idiots got this all backwards.” If you see AI output of an attempt at your job, it’s the same thing.

        But if you read an article about someone else’s job, you think “that makes sense.” Same about seeing AI trying to do someone else’s job.

        • Folstar@lemmus.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 months ago

          In most cases, absolutely. There are a few jobs I can see an LLM performing as well or better. Though, then those people would be roaming the streets and do you really want your insurance claim denied while you’re out walking your dog or someone yelling about paradigm shifts to align synergies when you’re just having a nice day at the park?

    • Auli@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Yes they have no idea what they are asking. Stl is just gcode how do you look for a gun out of coordinates.

          • pikl@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            5 months ago

            Ah yes. Another passive asshole that codes this type of thing and goes home without even batting an eye because I got mine before someone else did.

          • M0oP0o@mander.xyz
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months ago

            Its just either completly ineffective, or effectively bans 3d printing. Then you are going to run into enforcement, and legal challenges. Oh and even if all that is done guns will still be present at a ratio above 1:1 in the states.

            Anyone who has a highschool level of metal shop can also make a firearm, 3d printing is not even well suited for the task. Just look at Japan, one of if not the most restricted nation for firearms, and someone shot a leader with a homemade firearm.

      • jballs@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        13
        ·
        5 months ago

        Your faith in this mystery algorithm is stronger than mine. Here’s a diagram of the parts in an AR-15:

        So we need an algorithm that renders the gcode I’m printing, then compares it to… something?

        • KyuubiNoKitsune@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          7
          ·
          5 months ago

          Look, I was just saying, it could be done, train it on current real and 3d printable gun parts and there, you did your best to create algorithmic gun filtering. I wasn’t saying that it would be good or accurate.

        • benjirenji@slrpnk.net
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          10
          ·
          5 months ago

          The algos don’t need to deny any or every part of a gun, but the most critical part must not be printable and it’ll already be effective.

          I’m neither very experienced with firearms nor printing, maybe such a thing doesn’t exist for a gun, but I suspect there’s a few very important pieces that need to be printed a certain way or the firearm falls apart or is at least a lot less useful.

          All that said, I’m generally against such limiting mechanism in any printer or compiler. Try close sourcing all compilers so they can’t create malware? Forget it.

          • mic_check_one_two@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            15
            ·
            5 months ago

            3D printed gun designs these days don’t even use plastic for most of the critical parts. The goal is to print a frame, which you can then assemble into a full gun using durable off-the-shelf parts that are available from any hardware store. No need to 3D print a bolt (and deal with all of the manufacturing issues that entails) when you can just buy a bolt for 5¢ at any hardware store. Especially when that bolt will be more precise and durable than the plastic bolt you would have printed.

            It’s the old carpentry idea that if you can’t get precision by hand, you can borrow it from something else. Need to cut a bunch of identical boards, with precision in 64ths of an inch? A #8-32 bolt will have 32 threads per inch. So a half turn on the bolt will advance or retract the bolt 1/64 inches, accurate down to whatever the bolt manufacturer’s clearance is. Probably a few thousands of an inch. Build a jig to hold your boards at the saw, and thread a bolt into the jig to act as the board stop. Now you can turn the bolt to adjust your clearance as needed, and you’ll be accurate down to 1/64 by only making half turns each time.

            And 3D printed guns use the same concept. You don’t print a plastic barrel that will explode after two or three shots, you just leave a void for a store-bought pipe to fit into the frame. The pipe will be more durable and more precise than anything you could feasibly print. You don’t need to 3D print a firing pin that will blunt/shatter/jam after a few uses, when you can just use a steel nail that will have better durability and avoid jamming. And all of the parts you need can be bought at a hardware store without raising any suspicions. That’s part of what makes this so dumb. They’re not just requiring printers to scan for potential gun parts. They would require printers to scan for anything that could potentially hold or manipulate gun parts. And that is a much broader spectrum than simply scanning for the shapes of the parts directly.

            • lando55@lemmy.zip
              link
              fedilink
              English
              arrow-up
              3
              ·
              5 months ago

              you just leave a void for a store-bought pipe

              So you’re saying the answer is to scan for voids! Thanks for your technical input

              • your congressman, probably
          • jballs@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            15
            ·
            5 months ago

            I’m neither very experienced with firearms nor printing

            Unfortunately that’s the crux of the issue. The people who have written and signed this bill aren’t either - and they weren’t as big of a person as you to recognize that.

            At the end of the day, 3D printing gcode is telling your printer to spit out a shape. And you simply cannot ban shapes. Am I printing a firing pin or a part for my shoe rack? There’s no way to tell. Any politician that’s telling you there is is either ignorant or lying to you.

            • Crozekiel@lemmy.zip
              link
              fedilink
              English
              arrow-up
              12
              ·
              5 months ago

              Worse still, gcode is literally just telling a machine which motors to move and how much. You need something that can interpret those instructions (thousands of lines of code even for pretty simple prints) correctly and “draw” the shapes it is making. There are a lot of printers out there that do not have the hardware on board to do this.

              And that is all ignoring the absurdity of recognizing shapes as “gun parts”… The hardware hurdles pale in comparison to the software ones.

              • Semperverus@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                8
                ·
                edit-2
                5 months ago

                You’re gonna hate this, but… AI can literally do it, and for the large models it’s terrifying how accurate they are. You will argue that your little ESP32 powered reprap or klipper or whatever printer can’t handle it, to which regulators will go ok then, either the printer has to call out to a service with an http request to upload the gcode every time it wants to print anything, or your slicer has to do it (and we dont care that it’s open source, it’s illegal to operate if it doesnt make the call and you’re getting fines or jail time if you get caught).

                This is what AI was built for 😟

                EDIT:

                In case it isn’t abundantly clear, I am not in favor of what I just described. I know that it is possible though and know how to architect exactly these mechanisms. If I can build them, so can they. (I won’t, of course, that goes against everything I stand for).

                • MrQuallzin@pie.eyeofthestorm.place
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  5 months ago

                  Even AI can’t do this. It is an impossibility. AI might be able to make the shape, but it will NEVER be able to interpret the intent of that shape. It will never know if a cylinder is meant for a gun or for a rolling pin. It will never know if I’m making a trigger for a gun or a replacement trigger for my hot glue gun.

                  • Semperverus@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    arrow-down
                    3
                    ·
                    5 months ago

                    If an AI can tell what’s in a picture (which is a series of pixel data), it can certainly reconstruct gcode into an “image.” Ive used it at work for similar tasks.

                    Cylinders obviously are too generic, but there are parts that are a lot more specific and could be fingerprinted.

                • Crozekiel@lemmy.zip
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  5 months ago

                  Those cheap printers that don’t have onboard hardware to do this also generally don’t have any networking either. You’re lucky if you can get them to connect to a computer with USB - most of the print jobs exclusively get sent via a physical SD card.

                  The slicer is in a better position to do this draconian business, but they aren’t aiming this bill (from what I have found) at slicers at all (probably because they are all open source and, unless the law gets passed world-wide, they would just get forked and hosted by someone else in a place where they are still legal to be “dumb”). They are aiming at hardware. It is effectively a complete ban on cheap 3d printers, and turns the models “legal” to sell to a white-list style of control. The manufacturers that play ball get to continue business in the state, others do not.

                  All of this to stop a very tiny and difficult avenue for someone to get a gun, when there are much easier and more reliable options available and being used orders of magnitude more often. This has nothing to do with gun control, or guns. This is absolutely a play against 3d printing, at home manufacturing, and right to repair in general. The end goal is DMCA on 3d printing.

                  • Semperverus@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    5 months ago

                    To be clear, I am not arguing in favor of what I suggested. I am vehemently against it. But I have worked with the technology enough in a professional setting to know what it is capable of and how it can (and I have) used it. I am afraid of what I am seeing as a possible (probable?) future.

        • KyuubiNoKitsune@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          5 months ago

          Doesn’t matter. Has nothing to do with online.

          You can run OpenCV on an RPi, it’s just super slow, and you could probably use a cheap GPU chip to do it faster. You store the pretrained model on the device.

          You may even get away with an asic designed for the model, though with that one I’m talking out my ass.