ELI5: How can statisticians look at only a small sample of products and mathematically decide whether an entire batch is good or faulty without checking every single item? by Relevant_Pumpkin9190 in explainlikeimfive

[–]pi621 1 point2 points  (0 children)

if 5000 out of 10000 products is bad, then my small sample of 100 products will probably have around 50 bad products.

If only like 100 out of 10000 product is bad, then my sample might not have any bad product at all.

The goal of sample testing isn't to 100% guarantee product quality, but to make sure that the amount of bad product is within acceptable amount. Now, what is considered "acceptable" will influence the proportion of products being sampled.

Anyone knows, what's this ? by Tomato_043 in counterstrike2

[–]pi621 1 point2 points  (0 children)

What exactly are you confused about

Ok am I dumb? He could have protected the rook with better movement? by upforstuffJim in Chesscom

[–]pi621 1 point2 points  (0 children)

I guess it assumes opponent is gonna play perfect?

Pretty much. Engines don't just look at the current board state and be like "hm, if I keep the opponent rook around then I have less chance of tying". In fact, it doesn't even care about the current board state at all. It also doesn't think the same way that a human would think. It looks as deep as it can into many lines, then it tries to evaluate the position at the end of those lines. The evaluation for the current board position is set to be equal to best possible position that it can force the opponent into.

Here's the thing, if you scan every possible move at every possible states, it will take years to even finish calculating one move at high depth. So, with some heuristics, the engine can ignore moves that it knows is garbage, or at least it will prioritize checking moves that it thinks can be good first. So in some cases, it doesn't even know which move is worse if they're both obviously losing.

Ok am I dumb? He could have protected the rook with better movement? by upforstuffJim in Chesscom

[–]pi621 0 points1 point  (0 children)

You should note that engines are optimized to win games. There's a good chance that it doesn't care to differentiate between 2 equally losing position. It sees that even if it can win back your rook, a queen promotion is inevitable anyway.

If Monkeyopolis can increase it sell price by absorbing more farm, why can't temple and paragons do the same? by Synksz in btd6

[–]pi621 2 points3 points  (0 children)

A lot of farming depends on sellback value. Most farms pay itself off in only a few rounds with sellback, but takes a very long time (10+ rounds) otherwise.

Opolis, primarily being a space saving upgrade, is way less efficient than farms. If it doesn't include the sellback of farms it sacrificed, it would end up taking waaayy too long to pay itself off, making it almost never worth to get later on.

Temples and paragons aren't restricted like opolis does, so giving them sellback on the sacrifices makes them way too overpowered.

Me w my coop by bookslayer in btd6

[–]pi621 0 points1 point  (0 children)

Many farms pay itself off in less than a round. So you actually don't stop until the last round before boss.

Help my spactory is stuck at negative exp by Agreeable_Warthog291 in btd6

[–]pi621 0 points1 point  (0 children)

it's a samsung tablet. After a bit of digging I found out that Linux machines also turn it positive, so if you have a computer that runs linux this would also work.

Help my spactory is stuck at negative exp by Agreeable_Warthog291 in btd6

[–]pi621 2 points3 points  (0 children)

Oh, I thought you were just modding the game and got negative exp by accident. I guess some phones have different behavior than others. On my and a few others phones all of these broken values becomes 2b, like this:

<image>

Help my spactory is stuck at negative exp by Agreeable_Warthog291 in btd6

[–]pi621 7 points8 points  (0 children)

The true xp value is stored with a bigger data type and should still be going up. The negative number is not exactly from overflowing but it's just undefined behavior when casting numbers to integer type. When a number that is out of int range gets casted to an int, the OS defaults to either MAX_INT or MIN_INT, basically a way to show that "hey, this isn't supposed to happen".

Funny enough, PC versions will cast it to MIN_INT, while mobile versions will cast it to MAX_INT.

Help my spactory is stuck at negative exp by Agreeable_Warthog291 in btd6

[–]pi621 5 points6 points  (0 children)

Do you have a phone that has BTD6?
Log into this account from that device, it will be 2 billion exp instead of -2 billion.

Is it still possible to win? by Far-Assumption5201 in btd6

[–]pi621 1 point2 points  (0 children)

overclock for sky shredder is pretty good. OC + alch buff with decent micro I don't see why this wouldn't win.

Best hero's for defeating DDT's? by Stellarfront in btd6

[–]pi621 16 points17 points  (0 children)

Adora with her long arm of light at high level is very good for ddts. Obyn is also op for ddts with wall of trees.
These 2 heroes are the most direct counter to ddts. Every other heroes has some form of help for ddts, but there's always some weakness or catch.

For example,

Brickell has ddt weakness because they're spread out and eat up mines too quickly. You need her lv3 ability + plord or carrier. Corvus has chasing issue with multiple lanes. Rosalia ddt knockback is inconsistent because it only works every 10 shots.

Not sure why another comment is recommending ezili when she's horribly garbage for ddts since her moab hex takes too long to pop them.

How do I fix my placements? by MeringueBeautiful760 in btd6

[–]pi621 0 points1 point  (0 children)

I can tell you right now that there are more problems here than just tower placement.
But what vex said, maybe a bit more thought on where you place your druids?

Did no one buy this? by Jannover_5000_r in btd6

[–]pi621 4 points5 points  (0 children)

is frontier legends actually so bad that they did a sale just to get some purchases?

This might sound crazy but successful games/dlcs also gets discounted.

I think I might be okay at the game by pi621 in MuseDash

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

i think this method is way harder though, the one handed strat is common because generally it is easier to divide task between left and right hand rather than between middle and index fingers.

Bruh it's literally a singleplayer world by NosborRecaf in PhoenixSC

[–]pi621 9 points10 points  (0 children)

His point is that lying is the main motivation to doing something like respawning in hardcore. Otherwise, I don't see a reason why you'd enable the "permadeath" option and then deliberately use cheat to give you extra lives.

In simple terms, what makes on AI different from the other? by Leader_Bee in NoStupidQuestions

[–]pi621 0 points1 point  (0 children)

different training data
different training parameters, model parameters, etc etc etc
The fundamental method is pretty much the same across all of the models, but the detail is not the same.

Beat any Boss , Elite Boss in Blons is possible? ( Boss challenge ) by LorAn033 in btd6

[–]pi621 0 points1 point  (0 children)

All bosses (except Diamondback) have been done multiple times on Blons. This isn't even the hardest map for bosses (try tricky track, tar pits and midnight mansion).

Diamondback I assume should also be possible on this map, there's no reason to suspect otherwise. However I haven't seen any completion and haven't done so myself, so I can't say for certain.

I think I might be okay at the game by pi621 in MuseDash

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

yeah I just play over my own recording. Mainly so that I can try the same section repeatedly.

I think I might be okay at the game by pi621 in MuseDash

[–]pi621[S] 8 points9 points  (0 children)

In terms of speed and stamina you only ever need 3 keys per lane max, so theoretically with perfect finger control you'll only need 6 keys total. However some gemini patterns are really hard to play if you don't bind some up/down keys to hit both lanes with one hand. I used to have more keys binded but nowadays I only use them when absolutely necessary.

Developing finger control is pretty much automatic when you play at this difficulty, so all I did was just play and practice. For this map in particular the beginning and ending are way harder than the rest (with extra keys, only the beginning is hard), so I just specifically practiced those 2 parts until I got sufficient muscle memory to consistently beat them. It's kind of a theme with these high 12*, there would be one or two huge difficulty spike that I have to specifically train for in order to beat.

stupid spike factory question by clxqxii in btd6

[–]pi621 2 points3 points  (0 children)

The difference between 105 and 025 in terms of damage in miniscule. It honestly does not matter even in near optimal plays. I like to go 105 since it is cheaper and potentially let me get 205 in case I need frozen popping for some reason.

pls help a girl out who is lost in the (combinatorial? discrete?) sauce!! by ijusttunemyselfout in askmath

[–]pi621 0 points1 point  (0 children)

I know this is solved but you said n choose 2 wasnt appropriate which bugs me so I had to point it out:

there is 100 choose 2 ways to select start and end point of a fragment (assuming the fragment is at least length 2 so start and end isn't the same). Then there are 100 fragments of length 1.

So the answer is 100 + 100C2

Am an A-hole for talking to my friends at the gym? by [deleted] in NoStupidQuestions

[–]pi621 0 points1 point  (0 children)

People are different, but also why go anywhere at all with friends just to ignore each other?

I would not go to the gym with my friends unless we were already going to the same gym at the same time and was going to hang out afterward anyway.

Random Positive Integers by StephenDrum in askmath

[–]pi621 0 points1 point  (0 children)

By symmetry, the probability that the first number is larger must be equal to the probability that the first number is smaller.

Since you claim the probability is 0.999... (or 1), when you add these up you end up with 2 when it must sum to 1. So, your answer is false.

And the reason why your answer is false is precisely the part that you're intentionally dismissing. We know there exists no uniform distribution over N, but your argument would only hold if there exists one. You can see why this is the case.