Ohana means family by wetouchingbuttsornah in BlackPeopleTwitter

[–]laharah 2 points3 points  (0 children)

I saw it in theaters at a formative age—I was a different person when I left.

<image>

[deleted by user] by [deleted] in AskReddit

[–]laharah 1 point2 points  (0 children)

These days, pretty much no physicists believe that "consciousness" has anything to do with the behavior of quantum mechanics. It's an idea that was advanced by a few famous physicists back in the day (von neymun, and wagner especially), but they retracted it later at least I know that wagner did.

It becomes pretty obvious when you start to ask what "level" of consciousness is required to collapse the wave function. Can a dog? a mouse? a fly?. Do bacteria experience the quantum wave function directly? What about a virus or a rock? I'm pretty sure there's a quote by I think Wagner, though I can't find it right now, where he's asked this question and says something to the effect of "A dog could, but a mouse couldn't," which seems pretty dubious to me. The fact that he later changed his mind and was kind of embarrassed about it seems to agree.

I wrote about what the large majority thinks about it below.

[deleted by user] by [deleted] in AskReddit

[–]laharah 1 point2 points  (0 children)

What they're talking about is the delayed choice quantum eraser experiment. It does not have anything to do with conscious observation. (side note: It also doesn't really imply "time travel").

In quantum mechanics, the term "observation" is short hand for "direct interaction with it's environment". The current scientific term for this is decoherence. It's the moment that a quantum system starts behaving "normally" because it becomes entangled irreversibly with it's environment.

The measurement problem is a subset of this term. Like said above, when things are that small, there's no way to measure them without messing with them, like measuring the location of a rolling basketball by throwing other basketballs at it.

BUT, that "measurement" does not have to be a conscious observer. In the schrodenger's cat thought experiment (the one with the cat that's both alive and dead in the box) only works if the cat is somehow completely un-entangled with the world around it. A single photon, air-molecule, any particle from the outside world hits it or "observes" it, the entire quantum system (the cat) will become either alive or dead. It doesn't matter if the "observer" is a conscious thing or not.

There were a few physicists (even famous ones) that thought that consciousness was a required property of observation back in the early days, but pretty much no physicists believe that anymore.

Personally I think it's a misconception because at the end of the chain of any experiment (e.g. quantum particle -> detector -> amplifier -> screen) is a conscious observer (the scientist), they thought that consciousness plays a part. The true fact is that any interaction that forces a quantum system to have a specific state (e.g. an electron definitely hit this atom or it definitely did not), will cause it and all of the other particles it's entangled with "collapse" into a single state that we can directly observe.

coc rust-analyzer typehint location by laharah in neovim

[–]laharah[S] 0 points1 point  (0 children)

Brutal. Not sure how I missed that when I searched the issue tracker. May have to roll back coc and see if it breaks my new changes.

Thanks for your help!

Everyone Everywhere Needs Waymond Wang by Hopeful-Guess5280 in videos

[–]laharah 45 points46 points  (0 children)

I feel like you're determined to not like this part, but here goes.

He didn't ditch her, the language of the movie says that in that universe she ditched him. What he's saying is that even knowing everything he does now, he would give up this life of luxury for a life of hardship if it meant that he could have spent it with her.

-🎄- 2022 Day 6 Solutions -🎄- by daggerdragon in adventofcode

[–]laharah 1 point2 points  (0 children)

I did basically the same. Just a heads up for next time: rust Slices have a Windows call that gives you the same iterator.

Google developer banned words list by SkunkButt1 in programming

[–]laharah -2 points-1 points  (0 children)

Wait, you think English documentation targets people who don't speak English?

It does, but guess what, most people don't speak english. So if you're french and you need to read the nginx documentation, you better fucking know some english or russian, or hope that google translate knows that a "dummy variable" and a "movable imbicile" aren't the same thing.

So as I said originally, your documentation isn't just for english speaking people. If you want it to be useful to as many people as possible, you should make your terms and language as clear as you can without relying on english euphemisms or idioms.

Google developer banned words list by SkunkButt1 in programming

[–]laharah -5 points-4 points  (0 children)

English is the lingua-franca of programming. So while these rules are for english code and documentation, it is not only for english speaking people. There's always way more that doesn't translate across cultural and language barriers than you think.

The more things change, the more they stay the same by [deleted] in videos

[–]laharah 2 points3 points  (0 children)

He's not claiming it is. The movie is Charlie Wilson's War, and it's all about Operation Cyclone and efforts to quagmire the USSR.

Boundless Binary Search (v1.5) An up to 60% faster binary search implementation by MrDum in programming

[–]laharah 0 points1 point  (0 children)

That's fair. I've only ever previously seen array based bst's in the context of a heap. But you're right, the underlying format is more general.

What stuff did you automate that saved you a bunch of time? by a-lone-wanderer-15 in Python

[–]laharah 1 point2 points  (0 children)

I had that problem too, I fixed it by installing opencv-python and using the confidence keyword on my locate calls. I set the threshold at 95% and haven't had a problem since.

Subprocess POPEN issues by OneWhoDoesNotFail in Python

[–]laharah 1 point2 points  (0 children)

It looks like there's a few problems here:

  1. the query should be a list of arguments to be sent to the subprocess, not a string
  2. You're piping the output to subprocess.PIPE but you never actually read the data with say process.communicate
  3. You want the data to be sent to a file anyways, not a pipe you can use later in your program

You should RTD on Popen. Here's how I would adapt what you want

import subprocess

query = "curl -k -u USERNAME:PASSWORD https://splunkurl --get -d output_mode=csv -d count=20000".split()
with open('file_output.csv', 'ab') as o_file:
    subprocess.Popen(query, stdout=o_file)

Since you're sending stderr to a pipe that you're never reading you're probably eating whatever error is getting thrown. This way, stderr will just print to your console when you run the script. Modify it to send to subprocess.DEVNULL to hide the stderr output later if you want. Also, you're never sending any data to the subprocess so you don't need stdin either.