• 1 Post
  • 9 Comments
Joined 2 years ago
cake
Cake day: July 13th, 2024

help-circle
  • BB84@mander.xyzOPtoFediverse memes@feddit.uk"content curation"
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    12
    ·
    2 months ago

    Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.

    Hardcoding has nothing to do with whether or not the filter can be disabled. It is about how the filter is implemented (comparing against a string in the code, as opposed to a string loaded from config file or database).


  • BB84@mander.xyzOPtoFediverse memes@feddit.uk"content curation"
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    18
    ·
    2 months ago

    Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.

    Hardcoding has nothing to do with whether or not the filter can be disabled. It is about how the filter is implemented (comparing against a string in the code, as opposed to a string loaded from config file or database).


  • BB84@mander.xyzOPtoFediverse memes@feddit.uk"content curation"
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    12
    ·
    2 months ago

    Hard-coded data typically can be modified only by editing the source code and recompiling the executable, although it can be changed in memory or on disk using a debugger or hex editor.

    Exactly. If you want to make the same code logic block “notenoughmuskspam” (for example) instead, you would have to patch the source code. In this case there is no “recompiling the executable”, since its Python. I don’t really see that undermining my point though.

    Your comments sound very angry so I am blocking you for the sake of the mental wellbeing of both of us. Have a nice day.


  • BB84@mander.xyzOPtoFediverse memes@feddit.uk"content curation"
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    14
    ·
    2 months ago

    do you not know what hardcoding is

    Yes, to quote from Wikipedia

    Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.

    This is precisely what PieFed does.

    As I have noted in the post, the block can be disabled/circumvented by the admin. But the rule is still in the .py file where all the business logic are, hence hardcoded.


  • BB84@mander.xyztoScience Memes@mander.xyzI'm good, thanks
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 months ago

    Pretty sure some slopmaster asked an AI chatbot to make a catchy headline for the quantum mechanics we’ve known for years.

    You have a quantum cat-in-a-box. The cat is in a superposition of being alive and dead. You make the “human choice” to open the box. Now the cat turns out to be dead, and it actually died 10 minutes before you open the box. So you can kind of interpret it as your choice affecting reality 10 minutes backwards.


  • Technically it’s not really a horizon if it “opens up” allowing you to observe events from the inside afterwards. But of course in any realistic setting (including that experiment) it will open up eventually, so no horizon. But nature doesn’t know that it will open up, so maybe it should behave like a horizon until nature knows, resulting in a criteria like you said. I think the criteria is loosely equivalent to saying “the acceleration must change the speed by almost c”, so your centrifuge probably wouldn’t lead to radiation.

    But I really am not sure about any of this. The right way to do this is to actually calculate the mode function. One day when I’m better with QFT and all these stuff I’ll try to do it.


  • So I did a bit more reading. It seems like acceleration alone is not enough for invoking equivalence principle and saying we have Unruh radiation. If it was enough, non-blackholes objects would Hawking radiate like both of us were suspecting. Apparently physicists are quite confident only blackholes can Hawking radiate.

    There is another picture that may work better for us. Instead of thinking of Unruh radiation (which would require doing serious QFT in curved spcetime calculations), we can think of the radiation coming from ripples popping up near the horizon (the black hole horizon for Hawking, the Rindler horizon for Unruh).

    In this picture you absolutely need a horizon to get radiation. So on the centrifuge you won’t feel any radiation 🤷‍♂️


  • good meme!

    by the equivalence principle, even earth’s 1g gravitational field should already lead to some Unruh radiation for us, so you don’t even need a centrifuge!

    but your centrifuge is interesting. from the PoV of someone at rest angular momentum needs to be conserved so as you get fatter the rotation must slow down as @herrpfad@feddit.org said. but from the troll’s PoV why should they slow down? it’s a thermal spectrum, and acceleration is radially inward, so why should there be a retrograde force? (like, what makes the retrograde direction more special then prograde?)

    i think the resolution is you don’t get exactly Unruh radiation (because your acceleration isn’t actually constant (its rotating)), but how exactly that affects the mode functions i have no idea

    also let’s tag @surrealpartisan@lemmy.world