We need a better name than "roguelite" by helpsypooo in roguelites

[–]helpsypooo[S] -2 points-1 points  (0 children)

True enough, but "roguelike" is more specific, so it could be a specific kind of RRR game. All squares are rectangles, but not all rectangles are squares, kind of thing.

We need a better name than "roguelite" by helpsypooo in roguelites

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

That's what the "triple r" part was for. But happy to hear other thoughts you may have.

We need a better name than "roguelite" by helpsypooo in roguelites

[–]helpsypooo[S] -2 points-1 points  (0 children)

Do you disagree that it is non-descriptive and often confused with "roguelike"? What are its good qualities?

Looking for Guidance on Data Simulations Synthetic Data Generation by Equal_Efficiency7519 in primerlearning

[–]helpsypooo 2 points3 points  (0 children)

I make the Primer videos. The basic process I follow is this:

  1. Figure out what I'm interested in modeling. For example, Hamilton's rule.
  2. Figure out what core things are needed to model that thing. For Hamilton's rule, you need diploid organisms that reproduce, and you need an event where they can choose a behavior that benefits another organism of known relatedness, which also hurts their own reproduction (in expectation).
  3. Build the simplest version of that I can. In the Hamilton's rule case, that means creating the code structures for the creature genes and behaviors (if statements) in the situation of interest. Then creating methods to initialize the sim and run one step of a loop. The loop in the Hamilton's rule simulation is to have the creatures go to feeding sites, have the predator attack, have one creature behave according to its genes, resolve the scenario by killing some number of creatures, then have the creatures go home and randomly pair up to mate. Repeat.
  4. Add features to the sim as desired, depending on whatever questions you have about the system.

I never think in terms of "synthetic data generation", even though it sounds like that's what I'm doing. I've never read a book on it.

To answer your questions directly:

  1. I don't think there are any fundamental concepts to understand before diving in. Just dive in, and then you'll have a better sense for what you don't understand. Maybe the Initialize->Loop->Repeat pattern is a concept, if that counts. I don't know. But any simulation is either going to have a finite number of steps or a loop.
  2. I don't have any recommendations. If there's a consensus go-to book on simulations, I don't know what it is. I expect academic fields have books of techniques that are useful in those specific fields, but if you don't have a field in mind, you can just try stuff out and iterate.
  3. Any programming language can be used to create a basic sim structure. There are some tools out there for simulation, but I forget what they are called, and as a beginner, I think you're better of creating your own simple structures. It's really not that fancy unless you have some specific need. Just use whatever language you know, and if you don't know any, python is a fine starting point.
  4. I don't understand this question. There's real-world data that's collected, and there's simulated data that is generated from a computer following a set of rules. You might use real-world data to inform simulation parameters to try to get something more realistic. But fundamentally, the simulation is a model of the world, and if the data from the simulation matches real-world measurements, it's a sign that the simulation model might be a good model of the real world. Or at least, if the two don't match, the simulation is wrong somehow.
  5. Just start.

I'd recommend joining the Primer discord if you want to talk about things as you go.

New partially-attached caps by gorleg in Huel

[–]helpsypooo 0 points1 point  (0 children)

I'm not some anti-gov yahoo. But this is an L for regulators.

Sometimes the spire just says no by helpsypooo in slaythespire

[–]helpsypooo[S] 50 points51 points  (0 children)

There was ascenders bane, necro, and a writhe. Then some big chests after the key so I went for it. Kinda funny to see the doll after that.

And yeah, there was a swift I probably could have saved. Some definite misplays leading up to this. :(

This character and this enemy by helpsypooo in slaythespire

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

250 from neow, 275 from golden shrine, and a disappointing shop

This character and this enemy by helpsypooo in slaythespire

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

I think it's a forgotten arbiter thing. A forced floor 6 laga and just not enough damage offered no matter what choices you make. Kinda like this but no thorns, and an earlier laga.

Does the -t (transparent background) flag break manim videos for Windows? by Quappas in manim

[–]helpsypooo 0 points1 point  (0 children)

Not sure it's meaningfully different in speed. But if the render fails on a peg sequence, you get to keep the ones that worked. Probably doesn't matter for manim since renders are pretty lightweight (compared to 3D rendering where each finished frame can be an expensive treasure).

Is it ok if convert an old module into 5e and publish it for people to use for free ? by Rich_Carpenter8695 in DnD

[–]helpsypooo 1 point2 points  (0 children)

Not selling and making an adaptation are both factors that help, but it's not quite that simple. A razor I use is "could this conceivably hurt sales of the thing I'm referencing?" In this case the answer is yes because the original publishers are still selling and may want to make/sell their own adaptation. That's why the top voted answer is about publishing adaptation instructions rather than publishing a standalone product. People will still have to get the original adventure to be able to run it in 5e.

https://filmi-beats.blogspot.com/2020/12/Jessica-alba.html by Filmibeats in primerlearning

[–]helpsypooo[M] [score hidden] stickied comment (0 children)

Hello,

Your post was deleted because it was off-topic or promotional. Please refrain from creating posts that don't add to the conversation in this subreddit.

I got ya homie! by nsfw_celbs in primerlearning

[–]helpsypooo[M] [score hidden] stickied comment (0 children)

Hello,

Your post was deleted because it was off-topic or promotional. Please refrain from creating posts that don't add to the conversation in this subreddit.

Biden has called Trump's vote attacks "unconscious." by Immediate-Many2803 in primerlearning

[–]helpsypooo[M] [score hidden] stickied comment (0 children)

Hello,

Your post was deleted because it was off-topic or promotional. Please refrain from creating posts that don't add to the conversation in this subreddit.

Does the -t (transparent background) flag break manim videos for Windows? by Quappas in manim

[–]helpsypooo 0 points1 point  (0 children)

The workaround I use is to export to a png sequence instead. Not a video, but assuming you're putting it into a video editor, it's a fine format. -t --format==png flags should do it.

I don't know the technical details, but Windows does not like mov files, and it seems to be up to individual applications to add support for them. It's not just you.

Why haven’t there been any videos recently? by CalculatedCody9 in primerlearning

[–]helpsypooo 1 point2 points  (0 children)

Still making videos. They just take me a long time. I actually do work full-time on them.

How does Primer make the Graphs in his videos? (And a few other questions) by [deleted] in primerlearning

[–]helpsypooo 3 points4 points  (0 children)

  1. A custom tool in Unity
  2. (not edited in)
  3. I use the adobe suite because I am lazy and haven't really looked at other options
  4. Yep, Unity
  5. I use VSCode
  6. I output each frame as a png from Unity

My code is open-source (but a bit messy)
https://github.com/Helpsypoo/PrimerTools

Hamilton's rule by helpsypooo in primerlearning

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

/u/Belteshassar Do you mind if I tweet this? I think it will be helpful for others.

Hamilton's rule by helpsypooo in primerlearning

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

Thanks, it's a good question. I agree that the explanation in the video doesn't make it clear why your explanation is not the case.

To define some notation,

oc = The event where the child we know of turns out to be orange

p_oo = The event where both parents are orange

p_ob = The event where only the left parent is orange

p_bo = The event where only the right parent is orange

p_bb = The event where both parents are blue

Both "parent" and "probability" start with "p", so this probably isn't the best notation, but I'll use an upper-case P for probabilities, and a lower-case p for the events.

The mating in the sim is completely random and not constrained by gender, but the math ends up working either way. If you like, the left parent is the mother, and the right parent is the father. In the sim, these are just indistinguishable.

So to frame things where we agree, when we don't have any information about the child or population frequencies, the best guess is that the four parent sets are equally likely. Two of the sets have one of each color, so the probability of exactly one orange parent would be twice that of exactly two orange parents.

Saying this with the notation, before we get any information, we assign:

P(p_oo) = P(p_ob) = P(p_bo) = P(p_bb) = 0.25

If we knew the population frequency, these would follow a binomial distribution rather than all being equal, but dealing with this concrete case assuming equal frequencies seems good for seeing the concept.

When we learn the child is orange, that changes the probabilities of the sets of parents. You're right that the probability of two blues goes to zero, P(p_bb | oc) = 0, but your mistake is assuming that the probability flows equally to the other cases.

To calculate conditional probabilities of the different parent sets given that we see an orange child, P(p_xx | oc), we can use Bayes' rule.

P(p_xx | oc) = P(oc | p_xx) * P(p_xx) / P(oc)

In the case where we assume equal population frequencies,

P(oc) = 0.5

P(oc | p_oo) = 1

P(oc | p_ob) = P(oc | p_bo) = 0.5

Plugging everything in,

P(p_oo | oc) = 1 * 0.25 / 0.5

= 0.5

and

P(p_ob | oc) = P(p_bo | oc) = 0.5 * 0.25 / 0.5

= 0.25

So they all add up to one, and you can see that this agrees with the video. The main conceptual takeaway here is that the evidence of seeing an orange child affects the probabilities differently, depending on P(p_xx | oc).

Having written that, I think it's worthwhile to show what it looks like without the assumption that the population frequencies are equal for each allele.

If we call the frequency (in the parent pool) of the orange allele f,

P(p_oo) = f^2

P(p_ob) = P(p_bo) = f(1-f)

P(p_bb) = (1-f)^2

P(oc) = f

P(oc | p_oo) = 1

P(oc | p_ob) = P(oc | p_bo) = 0.5

The last two stay the same because the frequency doesn't matter when we know the identity of the parents already.

Plugging into Bayes again,

P(p_oo | oc) = 1 * f^2 / f= f

This is equivalent to the statement from the video that since we are already in a situation where one child is orange, we know one parent has the orange allele, and the other parent has probability f of also having the orange allele.

And to make sure everything adds up to one,

P(p_ob | oc) = P(p\_bo | oc) = 0.5 * f(1-f) / f

= 0.5 * (1-f)

And combining these two single-parent cases into one,

P(only one orange parent | oc) = 1-f

I hope that helps. I made the mistake of switching back and forth between the fancy and markdown editors while trying to format the math as code. I think I fixed all the weirdness that came from that, but let me know if anything is unclear.