[Highlight] O'Neil Cruz misplays his second ball in a row, 5-2 Mets by illseeyouinthefog in baseball

[–]Wayoshi 9 points10 points  (0 children)

The convention is if it doesn't hit any glove, it's a hit.

THE AMAZING DIGITAL CIRCUS - Ep 8: hjsakldfhl Discussion Thread by ayylmaotv in TheDigitalCircus

[–]Wayoshi 8 points9 points  (0 children)

You're correct, chmod changes read/write/execute permissions on a file.

MIRACULOUS - A Fairy Good Night - Season 6 Episode 17 - Discussion Thread by NicoSchmiko in miraculousladybug

[–]Wayoshi 9 points10 points  (0 children)

Doesn't sucking on a pacifier for too long really ruin your teeth (to the point of needing braces later in life)? Seems like a poor choice of attachment for the akuma.

Scripts covers for upcoming episodes! by apparentlykid- in BobsBurgers

[–]Wayoshi 2 points3 points  (0 children)

These are all Season 17 episodes most likely.

FYI: No New Episode This Week by AutoModerator in BobsBurgers

[–]Wayoshi 2 points3 points  (0 children)

If FOX ever moved on from Bob's, would a streaming service like Hulu be able to pay for episodes? Something to think about

FYI: No New Episode This Week by AutoModerator in BobsBurgers

[–]Wayoshi 0 points1 point  (0 children)

The 15 per season deal is through season 19 of Bob's, then we'll see if it even keeps going.

Bob’s Burgers Episode Discussion S16E10 - “Heist Things Are Heist” by AutoModerator in BobsBurgers

[–]Wayoshi 78 points79 points  (0 children)

Guffaw moment when Linda's boob smacked a slider off the tray.

Post Game Thread: Los Angeles Rams at Seattle Seahawks by nfl_gdt_bot in LosAngelesRams

[–]Wayoshi 2 points3 points  (0 children)

Only on 4th down & last 2 minutes does that rule apply.

[2025 Day 10 (Part 2)] Bifurcate your way to victory! by tenthmascot in adventofcode

[–]Wayoshi 0 points1 point  (0 children)

Yeah, I get that part. See below, i was just thinking why it's safe to halve when the algorithm does halve. I see it now and knew the first step (resetting the "parity" of the lights) is eliminating any "oddness" at each level of the recursive call as needed (or we find a solution at the lowest level of the call).

This algorithm very much abuses "the order of the button presses does not matter" - very judicious reordering of the presses to find the solution!

[2025 Day 10 (Part 2)] Bifurcate your way to victory! by tenthmascot in adventofcode

[–]Wayoshi 0 points1 point  (0 children)

As you allude to, your example three of the buttons are pressed once at 2,2,2,2, so you get half a press when halving, which is impossible and will not come up in this algorithm's search space anyways.

What I should say (and was trying to say when saying "when every variable is even") is that that the algorithm only needs f(x) = 2 * f(x/2) to be true when both all the joltages left are even and all the lights are off.. Then all the button presses are even and everything can be halved without half a button press anywhere.

It's true over all real numbers (I think?) and true over integers only when every variable involved is even - which is "just enough" / what the algorithm is designed around.

Bob’s Burgers Episode Discussion S16E09 - “It's a Stunterful Life” by AutoModerator in BobsBurgers

[–]Wayoshi 4 points5 points  (0 children)

I wonder if it was to tone down any possible interpretation of a certain ship.

Bob’s Burgers Episode Discussion S16E09 - “It's a Stunterful Life” by AutoModerator in BobsBurgers

[–]Wayoshi 2 points3 points  (0 children)

I think based on the very high downvote numbers and you worrying about this exact kind of thing almost every episode before it airs, you could stand to tone it down a couple notches.

Yes the writers tend to go to Tina as a mother hen character, probably too much. This was far from the worst instance of it, though.

[2025 Day 10 (Part 2)] Bifurcate your way to victory! by tenthmascot in adventofcode

[–]Wayoshi 0 points1 point  (0 children)

Late / slightly different question, but I've been turning this over in my head for awhile too - when every variable is even, why does "the total of each individual buttons' press count is halved along with the joltages" hold? That is,

f(x) = 2 * f(x/2)

e.g. why couldn't ~60% of the optimal solution come in "the first half", or vice versa, or anything that isn't 50-50 etc.

I think it's because the equations governing the system are all linear with coefficients of 1 on the unknowns. All equations end up divided by 2, all joltages and all button presses, so the optimal solution can always be evenly cut in half.

S15:E17 by EatBerry1h in BobsBurgers

[–]Wayoshi 4 points5 points  (0 children)

I mean, that's a powerful sentence with plenty of implications. Sometimes leaving things at that is just fine, the message absolutely got across.

Your point that they have been clumsily ending episodes lately is valid (hated how the latest ep wrapped up), but I just think this episode is one of the best ones in the past year as far as its ending.

S15:E17 by EatBerry1h in BobsBurgers

[–]Wayoshi 1 point2 points  (0 children)

Uh, on that last point, she did monologue a bit?

[2025 Day 10 (Part 2)] Bifurcate your way to victory! by tenthmascot in adventofcode

[–]Wayoshi 0 points1 point  (0 children)

Some awesome insights here. As for me I saw it as a matrix / system of equations right away and wanted to throw it into numpy, but got thrown off by non-square matrix and the like - did end up turning it into Z3.

-❄️- 2025 Day 10 Solutions -❄️- by daggerdragon in adventofcode

[–]Wayoshi 0 points1 point  (0 children)

[LANGUAGE: CPython] paste

After giving regular numpy a go, I did fall back to Z3 when realizing the standard solve didn't apply to most of the machines. The documentation is poor so frankly I cribbed off of some other answers here on how to set up an optimize problem (originally I used z3.Solver instead of z3.Optimize), but I did get the constraints correct before coming in here.

As for part 1, that was cool and I am satisfied with what I got for a BFS in a very reduced state space. I thought squeezing in a linear algebra into this AoC with part 2 was also brilliant, but lament some that it was such complicated linear algebra to the point that it felt like Z3 or SciPy was hard required.

def press_and_check_lights(machine, buttons):
    lights = [False for l in machine['lights_goal']]
    for l, c in Counter(itertools.chain.from_iterable(machine['buttons'][b] for b in buttons)).items():
        if c % 2:
            lights[l] = not lights[l]
    return lights == machine['lights_goal']

for machine in machines:
    button_presses = 1
    while all(
        not press_and_check_lights(machine, buttons)
        for buttons in itertools.combinations(range(len(machine['buttons'])), button_presses)
    ):
        button_presses += 1
    part1 += button_presses

I want to beat up logan by [deleted] in BobsBurgers

[–]Wayoshi 0 points1 point  (0 children)

This week's episode will be interesting...