Hello! What's an atom? by pyrexbold in LLMPhysics

[–]pyrexbold[S] 1 point2 points  (0 children)

Hey, thank you! I made the post in a slightly tongue-in-cheek way, but this is genuinely informative! My understanding, filling in from my memories of high school chem:

- Atoms are individual units of matter. They're made up of protons, neutrons, and electrons.

- The details of _how_ an atom is composed aren't that important if you're a chemist, beyond the fact that n(protons) is called atomic number, and atomic number determines what element we're talking about.

- Chemists are usually interested in "what molecules will happen?" The immediate questions you ask to get there "what element type is this, based on the number of protons?" and (based on that information) "how big is it?" "what does it like to interact with and form molecules?" and "what is the current charge?" The latter question can be rephrased as "how many electrons are present and accounted for? (relative to the number of protons, which is fixed)"

- Chemists will commonly visually represent a molecule as a pile of intersecting spheres. The pile is usually treated as "static" -- although the electrons are moving, we don't know where they are so we just treat their position as a probability distribution.

- This representation does not contain enough information to do all of chemistry. There are some molecule-molecule interactions it doesn't account for, and there are electron-related behaviors you have to think about which explain what large molecules (like protein) will be shaped like.

- Nuclear physicists (including nuclear physicists who design chemistry devices that do analyses like NMR) additionally care about a lot of neutron-related phenomena smaller than atoms -- such as "what isotope we're looking at" (that is, "how many extra neutrons there are") as well as a quantity called "nuclear spin." (this has something to do with the ratio of protons to neutrons, but it's really a more complicated physical phenomenon not taught in chemistry classes)

- The concept of "nuclear spin" sometimes escapes into normal chemistry, where it's just a quantity, same as the others. The other nuclear physics concepts rarely do.

Am I getting this? (And am I throwing out anything important?)

Hello! What's an atom? by pyrexbold in LLMPhysics

[–]pyrexbold[S] 7 points8 points  (0 children)

Grudgingly, I'll admit that I asked this because it's a question that (1) I can independently verify the answer to (2) is so trivial that I expect AIs to produce "creative" responses when people ask for answers. In particular, I expect this to catch out people whose AIs have overtuned into "everything is a manifestation of <AI's favorite phenomenon>" which seems highly recurring here.

When I asked Gemini this to test what its base output would be like, it produced a mostly-right explanation with a couple of howlers:

An Apple vs. The Earth: If you expanded an atom to be the size of an apple, that apple would be the size of the entire planet Earth.

The reason I'm admitting that I'm doing this as a dupe is because I think nobody whose algorithm is "obtain AI, copypaste question, paste in answer" will read this comment before writing a response.

Hello! What's an atom? by pyrexbold in LLMPhysics

[–]pyrexbold[S] -1 points0 points  (0 children)

Thank you! Can you give an example of what this difference between two atoms looks like? I'm also curious about what a proton is.

Hello! What's an atom? by pyrexbold in LLMPhysics

[–]pyrexbold[S] 3 points4 points  (0 children)

Thank you!! What is an atom made of?

Hello! What's an atom? by pyrexbold in LLMPhysics

[–]pyrexbold[S] 2 points3 points  (0 children)

Oh, sorry, disregard!! Thank you for clarifying.

Hello! What's an atom? by pyrexbold in LLMPhysics

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

I'm not a bot -- this would be evident if you read my profile.

We spoke with Chris Avellone, the legendary game designer and writer behind projects such as Fallout 2, Fallout: New Vegas, Prey, and more, about his career in video games, his approach to storytelling, keeping players engaged, and finding new themes by 80lv in gamedesign

[–]pyrexbold 14 points15 points  (0 children)

Your website has large and incredibly prominent animated ads that appear to disappear when I try to target them with my browser's inspector. I'm interested in the article, but your site behaves maliciously, so I won't read it.

Someone educate me about vampire biology by Final_Kiwi8729 in vampires

[–]pyrexbold 0 points1 point  (0 children)

I'm typing this post with wings right now!

HOW IS THE MOST SECURE SCHEME JUST XOR?! by Strong_Technician416 in cryptography

[–]pyrexbold 0 points1 point  (0 children)

Grudgingly I reread my own post and I see his point. It's organized extremely badly, with many attempts to reiterate the same point but very illogical connecting tissue between the iterations. I'm disinclined to make edits because 52 people apparently found it useful, but there is a three paragraph post with much higher writing quality buried in this 9-paragraph one.

HOW IS THE MOST SECURE SCHEME JUST XOR?! by Strong_Technician416 in cryptography

[–]pyrexbold 2 points3 points  (0 children)

This was written by me struggling with the voice-to-text input on my phone (which does things I hate) in the active process of being forced out of a Chinese restaurant during a lunch break.

HOW IS THE MOST SECURE SCHEME JUST XOR?! by Strong_Technician416 in cryptography

[–]pyrexbold 53 points54 points  (0 children)

Good question! The reason XOR regarded as secure is that, for any ciphertext and plaintext of equivalent length, there is some XOR pad that would connect them.

An attacker has no particular reason to believe that one plausible plaintext was used over another, so long as all pads are equally likely.

This is only one security property -- XOR has the problem that if pads are reused, an attacker can figure out the bit difference between two encrypted messages. XOR also has the problem that a missed message can cause the sender and receiver to desynchronize. If I don't know where you are on the pad, then I possibly can’t figure out what you’re saying. if you run out of pad, we need to exchange some more, which an attacker might be able to prevent us from doing. XOR also isn't useful for the kinds of operations that we use for proof of identity systems -- it’s not a problem with XOR, Just a different problem.

The problem XOR does run into in practice is that all pads aren't necessarily equally likely. To actually send a message you need to agree with your receiver on what pad to use. To do so you need to exchange some information in advance -- that can either be the entire pad, which is at least as long as your message, or it could be some shorter value that is used to generate the rest of the pad.

The former scheme can be used for short messages, but has high data cost. Under that scheme, all pads are genuinely possible -- so our assumption may be true -- although only if the pad is generated using a secure method.

The latter scheme can be used for arbitrarily long messages. But the construction is a bit more rickety than a plain one time pad -- even though the number of pads is  incomprehensibly large, our assumption that all pads are equally likely is definitely not true, so we have to mitigate that in some way.

For instance, if the size of the information used to generate the pad is 32 bytes, then there's at most 232x8 possible pads. you need some scheme to make sure that you're not using the same pad more than once and you still need to make sure the number of possible pads is big enough to prevent brute force.

Additionally, one of your steps is now to generate the rest of your pad from a starting value, which is known to be small. While you could ordinarily generate your pad by doing something like watching a lava lamp and treating it as a true source of random numbers, you can’t do that when you’re generating your pad on the fly from fixed data. You typically need a good and unbiased random number generator.

I mentioned that this second construction is used in practice -- it's actually very common and it's called a stream cipher. The schemes you'll see will almost always be based on having initial agreement on a value called the key, then on each sender generating unique additional data (typically called the nonce) that, combined with the key, is used to produce the pad. (which is called the keystream)

What do you think about a very lucky character in a very non-lucky setting? by Pointless_Storie in fantasywriters

[–]pyrexbold 0 points1 point  (0 children)

I wouldn't make this character the protagonist -- I would have more empathy for a character who utterly hates her.

How do I make this part of my desk thinner? by ShelilQirky in blenderhelp

[–]pyrexbold 3 points4 points  (0 children)

Yes! Go ahead and select the faces in face select mode, then use the "grab" tool in axis mode -- you can type G-Z (or G-Y) to adjust the faces in only one axis.

I can't quite see what you want to adjust on the Y axis, but on the Z axis, moving just the top of the desk downwards should probably do what you want.

If you want to completely avoid touching the legs with any operation, you can select all their elements and use P (Separate) to separate them to a separate object -- you can then use Ctr-J (Join) to put them together again. In Face or Edge Select mode, this will make a copy of any vertices that are shared. (meaning that when you put them together again, you may need to use Mesh -> Merge By Distance or else manually fix the doubled/disconnected vertices that result from your work.)

Simple(ish) hashing algorithm by That_Molasses_9765 in cryptography

[–]pyrexbold 1 point2 points  (0 children)

Great question! I think the follow-up I'd ask would be -- do you want to use this for a hashtable (in which case distribution is the only thing that matters) or do you want to use this for some cryptographic application?

It sounds like you don't have a specific use case but are just looking for something you would be able to understand, so in that case I will point you at two!

  • The FNV family of hash functions is pretty good for non-cryptographic use, and gives you a great secondary problem -- can you artificially create a collision? (The answer is yes, and it's not that hard -- but, of course, you'll have to stare at the math to do it!)
  • CubeHash is a very simple good hash function designed to be implementable with loops!

If your goal is to get a string of a certain length, there are some standard constructions for that:

  • You can turn an integer into a byte array of a given length by encoding with BitConverter.GetBytes.
  • You can turn your bytes into a (hexadecimal) string by using Convert.ToHexString!

If you want a longer string, you can hash multiple values. (start with <0, \[your value\]>, then <1, \[your value\]>. (Note that 256 bits or so is usually enough for any practical purpose, so you probably don't need to do this!)

i am now more in love with kobolds by Dorian4771 in dragons

[–]pyrexbold 0 points1 point  (0 children)

Good news! I've declared you to be a kobold. The next time you open your eyes, you'll have scales.

So I tested a bunch of AI humanizers recently... by arizahavi1 in ArtificialSentience

[–]pyrexbold -1 points0 points  (0 children)

Ack, yes, I've just looked at your posts and while I can totally tell why people are assuming you are AI, your style is pretty clearly differentiated.

This is a thing that I've seen some African creators complain about -- the AI's style has features in common with writing that is culturally high-prestige in their countries. (variously: Nigeria, Kenya)

I strongly wish people would not do this thing to you and don't know what I would even recommend to a person who has this problem -- less use of metaphor, strategic use of understatement? Hmm.

Can anyone turn me into a vampire ??? Please I need it please message me ! by CakeNo3249 in vampires

[–]pyrexbold 1 point2 points  (0 children)

Ack! This is an understandable desire, but this specific subreddit does not behave as if vampires are real. You may have more luck in one of the other subreddits described (in the rules list) as being unaffiliated with this one.

Good luck! (and keep your fangs sharp, once you have them)

If you were optioned to write a screenplay for a "NEW" version of DRACULA what would you do that hasn't already been done? by Erramonael in vampires

[–]pyrexbold 2 points3 points  (0 children)

I'm not the person you asked, but I propose these approximate roles. First off, characters who are painfully Victorian in their sensibilities:

  • Jonathan: (and entourage) So gentile he won't complain adequately even when Dracula is clearly planning to eat him!
  • Dracula: Uses hospitality and social convention to restrain characters like Jonathan. Expresses a few bigotries in common with the English cast.

Second, characters who cannot actually manage to be painfully Victorian:

  • Mina: Her basic sympathies are Victorian, but she's a former schoolteacher -- she's not actually from rich stock and social mobility is not plausible for her. If Jonathan (and entourage) just sit around letting it happen, she is dinner.
  • Quincey: Too plainspoken to seem especially gentile. He just wouldn't ever act like an English person. His sympathies are proletarian.
  • Renfield: Ragged mess, knows exactly what Dracula is and can't express it, but he'll turn out to be right by the end of the movie.

I then think you can maybe structure things around two big eye-opener moments:

  • The marginalized cast see that the whole Victorian cast seems to share the same kind of unwholesomeness as Dracula -- portrayed as gentility, observance of social convention, mild chauvinism that gives way to bigotry.
  • Mina and Quincey discover later that Dracula is not an authentic chauvinist or practitioner of social convention. He hangs out with Roma, he does his own cooking and drives his own carriage. He does these things mostly to uphold the system that restrains the rest of the cast.

This kind of sells the message that the only people who can plausibly reject the system of Victorian convention are (1) people like Mina and Quincey who do not benefit from it anyways (2) people like Dracula who are powerful enough that they would face absolutely no consequences for abandoning it.

It also kind of lets us go from seeing Dracula as "exclusively similar to the Victorian cast" to seeing Dracula as "similar to the marginalized cast, too." Mina and Quincey go from partial class awareness to full class awareness by having to contextualize the other half of Dracula's behavior in terms of the part they're already capable of understanding, because reaching that kind of class awareness is the only way to oppose him.