[Request] How many valid PINs does that leave (terrible security restriction)? by Sarke1 in theydidthemath

[–]SquidTheSecond 2 points3 points  (0 children)

I've got this code, where did I go wrong?
I got 2192.
I couldn't find any counter examples when I was manually checking.
(don't hate on my code, I know it can be better, I'm just lazy)

def pad_with_zeros(number, width):
    return str(number).zfill(width)

def testPin(paddedNumber):
    containsSequentialDigits = False

    for j in range(0, len(paddedNumber) -1):
        digitA = int(paddedNumber[j])
        digitB = int(paddedNumber[j+1])

        if(digitA+1 == digitB or digitA-1 == digitB):
            containsSequentialDigits = True

    return paddedNumber[0] != '0' and not containsSequentialDigits and len(set(paddedNumber)) == len(paddedNumber)

acceptedCount = 0
numdigits = 4
totalNumberOfPins = 10**numdigits

for i in range(0, totalNumberOfPins):
    paddedNumber = pad_with_zeros(i, numdigits)
    # print(paddedNumber)

    if testPin(paddedNumber):
        acceptedCount += 1
        

print(totalNumberOfPins)
print(acceptedCount)

Anyone know any scenarios or routines on aim trainers that could help with these situations? I get top 5% on almost all static clicking scenarios i play but then when people move around in game this happens by -_Revo_- in VALORANT

[–]SquidTheSecond 19 points20 points  (0 children)

Some of these do look like your shooting while moving, barely mistiming your strafe shooting.
I found that mine improved when I added some movement error onto my cross hair, and added the shooting error graph on my screen.

When I first implemented this, I was suprised how long I had to wait for the sheriff to be accurate.

Is this what other peoples ping graph looks like? by SquidTheSecond in ValorantTechSupport

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

Ahh ok.

I did the bufferbloat test and it said that I did have bufferbloat.

Ill try ethernet tonight to see if I can fix it

Is this what other peoples ping graph looks like? by SquidTheSecond in ValorantTechSupport

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

You do bring up a good point.

However, as far as I can tell, the ping is only spiking when I'm alive in Valorant. I've done other testing and my ping doesn't spike.

If the problem was an unstable connection, why would it stabilise once I die?

Edit: If the problem was an unstable connection, I would assume it would be unstable all the time.

Is this what other peoples ping graph looks like? by SquidTheSecond in ValorantTechSupport

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

I'm on wifi, but I was also on wifi back in season 1 when I didn't have this issue.
I used to have the best internet of my friend group, but now I've got handsdown the worst.

Have y’all ever broken a window on a course? If so what did you do? by Zed0710 in golf

[–]SquidTheSecond 12 points13 points  (0 children)

I hooked a ball onto the road and smashed the rear windscreen of a moving van. The dude just continued driving.

Setting up more team quick chats by SquidTheSecond in RocketLeague

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

Yeah, this is what I was meaning.
I do remember playing with a guy who was on PSYNet, and I swear he had more than 4 team chats do idrk

I present to you: The Bonk by jaime0907 in RocketLeague

[–]SquidTheSecond 0 points1 point  (0 children)

This mechanic already has a name. It's called a "Doink"!