The_Dialog_Box

u/The_Dialog_Box


r/adventofcode•

The instructions seems pretty straight forward to me. And yet my current solution is giving me an answer that is too low. Am I misunderstanding the instructions? Or is there a logical error in my code here:

with open("sample") as f:
    fresh, shelf = f.read().split("\n\n")
    shelf = {int(num) for num in shelf.splitlines()}
    fresh = {int(l): int(r) for l, r in [
        line.split("-") for line in fresh.splitlines()
    ]}

total = 0
for item in shelf:
    for l, r in fresh.items():
        if l <= item <= r:
            total += 1
            break

print(total)
39

r/SCP•

I was doing a bit of a deep dive on memetic anomalies, and I suddenly had an idea. Wouldn't it be sort of mind-bending if there was a memetic SCP to lend credence to the idea that maybe all of this could in some universe be real? An SCP that is responsible for causing all information about the SCP foundation to be absorbed through the lens of it being the collective work of fiction that we all know it to be. I see it as almost tongue-in-cheek. Like "sure this is all just fiction... or do you just think it's all fiction because an anomaly has made it so?!? o_O"

In some ways it would sort of be the ultimate anomaly. The anomaly that, by definition, makes or breaks the entire SCP universe.

4122

r/Besiege•

With most levels you can kind of get a sense of how the devs expected or """intended""" players to solve it. Obviously there's never a true "dev intended" solution, it's not that kind of game. But at the same time you can always kind of feel the level designers implicitly making some general suggestions as to how you could solve a given level. Most of the time it's at least some kind of vehicle or siege engine (as per the premise of the game).

But with "Zone 50: Ambush" I really can't figure out what the level designers were thinking. It doesn't seem to suggest any particular solution; it's more like the devs made a super deadly level and then just went "idk figure something out!" In lookin

1110

r/feedthebeast•

Super specific question that I haven't been able to find an answer to on youtube or any wikis. Does anyone know the maximum distance crops can be from a carved pumpkin while still being protected from crows? I'm trying to figure out the optimal placement of my scarecrows in my crop field. I'd especially love to know if the area of effect is a sphere, a cylinder, a cube, or a diamond. Any info you've got will help. Thanks!

10

r/Drawfee•

Chat pls help me out. There's a video where Jacob draws this old man and a fried egg approaching his open mouth on a disembodied fork. And then he copies and pastes the whole drawing to make it a two panel comic, but they all find it so funny to have the second panel just be the same exact drawing again that he leaves it that way. I must find it, it broke my brain, please!

283


r/dropout•

Sam and Brennan briefly mentioned Blood on the Clocktower in the latest Adventuring Academy episode (5x1 @14:47). As big time fan of the No Rolls Barred BotC series, I think it would be a PERFECT fit for Dropout. If you're unfamiliar with the game, I recommend this episode from NRB as a great place to start. Now just picture how amazing that would be with our favorite dropout cast members! It feels like a match made in heaven!

130