• C126@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    He probably wanted to prevent significant arcing by using a higher impedance test apparatus due to the high voltage.

  • Aceticon@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    7 days ago

    Well, I have an EE Degree specialized in Digital Systems - pretty much the opposite side of Electronic Engineering from the High Power side - and I would be almost as clueless as that guy when it comes to testing a 10,000V fence for power.

    On the other hand I do know a lot of interesting things about CPU design ;)

    • dependencyinjection@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      What’s the most interesting thing you could tell us about CPU design, something that a layman could appreciate.

      You should know as a software developer I write inefficient code and appreciate all the extra clock cycles we get these days haha.

      • Aceticon@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        7 days ago

        First a fair warning: I learned this stuff 3 decades ago and I’ve actually been working as a programmer since then. I do believe the example I’ll provide still applies up to a point, though CPUs often implement strategies to make this less of a problem.

        =====

        CPU’s are internally like an assembly line or a processing pipeline, were the processing of an assembly instruction is broken down into a number of steps. A rough example (representative but not exactly for any specific CPU architecture) would be:

        • Step 1: fetch assembly instruction from memory
        • Step 2: fetch from into the CPU data in memory that the instruction requires (if applicable).
        • Step 3: execute arithmetic or binary operation (if applicable).
        • Step 4: evaluate conditions (if applicable)
        • Step 5: write results to memory (if applicable)

        Now, if the CPU was waiting for all the steps to be over for the processing of an assembly opcode before starting processing of the next, that would be quite a waste since for most of the time the functionality in there would be available for use but not being used (in my example, the Arithmetic Processing Unit, which is what’s used in step #3, would not be used during the time when the other steps were being done).

        So what they did was get CPUs to process multiple opcodes in parallel, so in my example pipeline you would have on opcode on stage #1, another that already did stage #1 and is on stage #2 and so on, hence why I also called it an assembly line: at each step a “worker” is doing some work on the “product” and then passing it to the next “worker” which does something else on it and they’re all working at the same time doing their thing, only each doing their bit for a different assembly instruction.

        The problem with that technique is: what happens if you have an opcode which is a conditional jump (i.e. start processing from another point in memory if a condition is valid: which is necessary to have to implement things like a “for” or “while” loop or jumping over of a block of code in an “if” condition fails)?

        Remember, in the my example pipeline the point at which the CPU finally figures out if it should jump or not is almost at the end of the pipeline (step #4), so everything before that in the pipeline might be wrong assembly instructions being processed because, say, the CPU assumed “no-jump” and kept picking up assembly instructions from the memory positions after that conditional-jump instruction but it turns out it does have to jump so it was supposed to be processing instructions from somewhere else in memory.

        The original naive way to handle this problem was to not process any assembly instructions after a conditional jump opcode had been loaded in step #1 and take the processing of the conditional jump through each step of the pipeline until the CPU figured out if the jump should occur or not, by which point the CPU would then start loading opcodes from the correct memory position. This of course meant every time a conditional jump appeared the CPU would get a lot slower whilst processing it.

        Later, the solution was to do speculative processing: the CPU tried to guess if it would the condition would be true (i.e. jump) or false (not jump) and load and start processing the instructions from the memory position matching that assumption. If it turned out the guess was wrong, all the contents of the pipeline behind that conditional jump instruction would be thrown out. This is part of the reason why the pipeline is organised in such a way that the result of the work only ever gets written to memory at the last step - if it turns out it was working in the wrong instructions, it just doesn’t do the last step for those wrong instructions. This is in average twice as fast as the naive solution (and better guessing makes it faster still) but it still slowed down the CPU every time a conditional jump appeared.

        Even later the solution was to do the processing of both branches (i.e. “jump” and “no-jump”) in parallel and then once the condition had been evaluated throw out the processing for the wrong branch and keep doing the other one. This solved the speed problem but at the cost of having double of everything, plus had some other implications on things such as memory caching (which I’m not going to go into here as that’s a whole other Rabbit Hole)

        Whilst I believe modern CPUs of the kind used in PCs don’t have this problem (and probably also at least ARM7 and above), I’ve actually been doing some Shader programming of late (both Computing and Graphics Shaders) and if I interpreted what I read correctly a version of this kind of problem still affected GPUs not that long ago (probably because GPUs work by having massive numbers of processing units which work in parallel, so by necessity they are simple) though I believe nowadays it’s not as inadvisable to use “if” when programming shaders.

        Anyways, from a programming point of view, this is the reason why C compilers have an optimization option of doing something called “loop unrolling” - if you have a “for” loop with a fixed number of iterations known at compile time - for example for(int i = 0; i < 5; i++){ /* do stuff */ } - the compiler instead of generating in assembly a single block of code with the contents of the “for” loop and a conditional jump at the end, will instead “unroll the loop” by generating the assembly for the body of the loop as many times as the loop would loop - so in my example the contents of that “for” loop would end up as 5 blocks in assembly each containing the assembly for the contents, one after the other, the first for i=0, the next for i=1 and so on.

        As I said, it’s been a long time since I’ve learned this and I believe nowadays general CPUs implement strategies to make this a non-problem, but if you’re programming microcontrollers or doing stuff like Compute Shaders to run on GPUs, I believe you it’s actually the kind you have to take in account if you want max performance.

  • MehBlah@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    He is already standing too close and that stick would arc with that many volts flowing through it. The most likely outcome in reality if it had been energized. The arc would have jumped from the stick to him and no more New Zealand guy.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      With only 10’000 V? That’s a common Livestock Guardian*. Reaches at most 1 cm.

      * though it probably has enough ampere to kill a cow

      • Itdidnttrickledown@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 days ago

        You ever saw a electric fence at a high security installation? I just texted a guard at nearby prison and he said theirs are 5000 volts. He said when its humid they tingle when you get a few feet away. He also says they will kill you dead. He goes on to say its why they have another fence as a barrier to prevent people who don’t respect them from killing themselves. I know the ones at a nuke were marked lethal and would kill birds from time to time. They were just marked high voltage but the plant guys told us they were very high voltage at a higher frequency.

      • Etterra@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 days ago

        Now if he’d just tossed the stick at it longwise so that it touched several wires at the same time, it might get a result. I’m personally not sure how much a reaction you’d get out of dry wood with 10,000 volts. Stripping the bark off of green stick with definitely be better, or a wet stick. Although if electricity arced through the stick at least it probably wouldn’t kill him because of the amount of resistance that stick has.

  • vzq@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    As a PhD who has tried doing home improvement projects, it’s the most believable thing in the film.

    • Bob@feddit.nl
      link
      fedilink
      arrow-up
      0
      ·
      8 days ago

      Actually some of the most naïve people I’ve ever met were theretofore academically successful.

      • Riven@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        8 days ago

        My fiancee has a couple degrees while I just graduated high school. She’s incredibly smart but I’m definitely more street savvy. She grew up a bit sheltered.

    • 0x4E4F@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      8 days ago

      Really?

      Genuinely asking, I’m just an engineer… with very very bad grades. Passed was enough for me.

      Once a professor asked me if I wanted to take the exam again because it was clear that I knew more than what I showed on the exam (a lot of 2 + 2 = 5 mistakes, I was fairly good at that and owe most of my low grades to that). I asked him if I passed, he said yes. Fuck that shit, I’m taking that grade and parading it across town, wooohoo 🥳.

    • ByteOnBikes@slrpnk.net
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 days ago

      Some pleeb shouted at me, “I thought you were an engineer!” And I shouted back, “A software engineer!” while I hammer a nail with my shoe.

        • skulblaka@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          7 days ago

          The difference between a regular idiot doing a dangerous job and an engineer doing a dangerous job is the engineer knows which parts of the job he’s risking imminent death on. There may often be no other difference.

          • Aceticon@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            7 days ago

            When it comes to an engineer doing a dangerous job in a domain other than his or her own, I would say that all the engineer knows is how bad things can be fucked up when one is trying to do expert stuff outside one’s own domain, because they’ve been in a position were they were the experts and some non-expert was saying things and trying stuff for their expert domain.

            After seeing others do it in one’s own expert domain one generally realizes that “maybe, just maybe, that’s exactly how I look outside my domain of expertise to the experts of that domain when I open my big fat mouth”.

  • OutlierBlue@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    Just because you’re very good at one thing doesn’t mean you’re good at another. Sometimes the further you go down one path, the less you know about everything else.

      • OutlierBlue@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 days ago

        He was so good that John Hammond sought him out to invite him to the park to check it out before it opened.

        • Moobythegoldensock@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          8 days ago

          Hammond didn’t pick him, the insurance company did. The company insisted on only him, likely because he was a notorious skeptic who would be able to look past the sensationalism of the dinosaurs to let them know a realistic risk assessment. The dinner scene where he and Ellie criticize Hammond is exactly why they wanted him there.

          Point being, no indication is actually given that he was smarter or more published than the others in his field, because that isn’t really what the insurance was after.

            • njm1314@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              7 days ago

              No it’s the insurance company. It’s that scene the very beginning where the lawyer is going to visit the the guy digging for Amber. He’s the lawyer for the insurance company, he mentions that he’s going to get Grant. Then the other archaeologist says he won’t get Grant cuz Grant’s a digger. Which now I think about it I guess means that Hammond is interfering with the impartiality of the evaluators by bribing them.

  • Icalasari@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    Considering these fences are enough to take down dinosaurs, it may set the end of the stick on fire from the resistance, so still works?

  • SharpieThunderflare@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    IIRC, he was messing with the kids and knew it was off because the lights were off. He proceeded to put his hands on it and convulse wildly as a joke.

    • Seraph@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      8 days ago

      He was messing with the kids when he grabbed the wires, not when he threw the stick.

      • jmiller@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        8 days ago

        I always saw it as being part of messing with the kids, he looks at the warning lights on top of the fence first. And for my headcannon at least, Grant is savvy enough to know that’s no way to test if the fence is live or not, lol.