• 22 Posts
  • 1.98K Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle
  • What really frustrates me about that, is that someone put in a lot of effort to be able to write these things out using proper words, but it still isn’t really more readable.

    Like, sure, unsigned is very obvious. But short, int, long and long long don’t really tell you anything except “this can fit more or less data”. That same concept can be expressed with a growing number, i.e. i16, i32 and i64.

    And when someone actually needs to know how much data fits into each type, well, then the latter approach is just better, because it tells you right on the tin.



  • I’m open for counterarguments, but I always felt this was a silly way of looking at things. You cannot measure stuff at the quantum level without significantly altering what you measured. (You can never measure without altering what you measured, since we typically blast stuff with photons from a light source to be able to look at it, but for stuff that’s significantly larger than photons, the photons are rather insignificant.)

    As such, you can look at measuring quanta in two ways:

    1. Either the quantum had the state that you end up measuring all along. It is only “undetermined”, because strictly nothing can measure it before you do that first measurement.
    2. Or you can declare it to have some magical “superposition”, from which it jumps into an actual state in the instant that you do the measurement.

    Well, and isn’t quantum entanglement evidence for 1.? You entangle these quanta, then you measure one of them. At this point, you already know what the other one will give as a result for its measurement, even though you have not measured/altered it yet.
    You can do the measurement quite a bit later and still get the result that you deduced from measuring the entangled quantum. (So long as nothing else altered the property you want to measure, of course…)


  • The analogy that makes most sense to me so far, is this:
    You rip a photograph in half and put both halves into envelopes. Now you send one of the envelopes to your friend in Australia. You open the other envelope. Boom! Instantaneous knowledge of what’s in the envelope in Australia. Faster than light!!!

    In quantum terms, you “rip a photograph in half” by somehow producing two quanta, which are known to have correlated properties. For example, you can produce two quanta, where one has a positive spin and the other a negative spin, and you know those to be equally strong. If you now measure the spin of the first quantum, you know that the other has the opposite spin.




  • Ephera@lemmy.mltoMemes@sopuli.xyzNot So Far 🚦
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    Used to drive along a road where you would always get stuck behind a truck sooner or later, with no way to overtake for many kilometers. Whether it was sportscars or suicidal van drivers or me keeping a steady pace, everyone always got stuck behind the same damn truck.

    Really would’ve liked a radio intercom thingamabob, to tell people that we can save fuel by going 10 under and still get stuck behind a truck in due time.









  • Ephera@lemmy.mlto196@lemmy.blahaj.zoneslop rule
    link
    fedilink
    English
    arrow-up
    10
    ·
    4 days ago

    I mean, for the bugs in the screenshot, it is more than plenty, if even just 1% of bad code slips through.

    And AI-generated code is extremely time-consuming and tricky to review, because you can’t assume there to be rhyme and reason to the changes, so I would be surprised, if they actually put in all the effort to properly review.






  • Yeah, and you don’t have to know which fork to choose. Only the compatible fork will show up in the search.

    (I was going to recommend that, but had something in the back of head, that you needed a manual step to enable the configuration. But I just saw that this is described in the Plasma 5 version, not the Plasma 6 fork, so I guess, it’s not necessary anymore…)