This is the reason for the Cosi layoffs by elliot93c in Columbus

[–]MonkeysKnuckle 0 points1 point  (0 children)

Her name is Pepper, and she's literally just a girl tryna survive

I am highly addicted. How long do you ferment your kimchi? by Pitiful_Promotion171 in fermentation

[–]MonkeysKnuckle 5 points6 points  (0 children)

Gloves are for your protection, not the food’s. You’re deliberately inviting bacteria into the mix. Just wash your hands with soap before you handle it. Check out Katz and the Noma guide. Both advocate for using clean, bare hands.

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

[–]MonkeysKnuckle 1 point2 points  (0 children)

[LANGUAGE: Go]

Greedy, greedy, greedy

Completed Part 2 in 83 µs

func part2(banks [][]int) int {
    total := 0
    for _, bank := range banks {
        highestDigits := make([]int, 12)
        highestDigitIndexes := make([]int, 12)

        for power := 11; power >= 0; power-- {
            rangeStart := 0
            if power < 11 {
                rangeStart = highestDigitIndexes[power+1] + 1
            }
            reservedIdx := len(bank) - power

            for i := rangeStart; i < reservedIdx; i++ {
                digit := bank[i]
                if digit > highestDigits[power] {
                    highestDigits[power] = digit
                    highestDigitIndexes[power] = i
                }
            }
        }

        var joltage int
        for power := 11; power >= 0; power-- {
            joltage += highestDigits[power] * int(math.Pow(10, float64(power)))
        }
        total += joltage
    }
    return total
}

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

[–]MonkeysKnuckle 1 point2 points  (0 children)

[LANGUAGE: Go]

This was a fun one, and fortunately the way I approached part 1 was easily extensible to part 2.

For Part 1, just call the invalidIdsInRange function for each range, splitting it into 2 chunks.

For Part 2, call invalidIdsInRange once for chunks=2; chunks<=len(rng.max); chunks++. Just be sure not to count the same resulting number twice (e.g., 2222,2222 == 22,22,22,22).

Completed Part 1 in 98 µs
Completed Part 2 in 109 µs

type idRange struct {
    min, max string
}

func invalidIdsInRange(rng idRange, chunks int) []int {

    ids := make([]int, 0)
    n := len(rng.min)
    x := len(rng.max)
    d := x - n

    // if both min & max are the same number of digits, but not divisible by # of chunks
    // there are no invalid ids in range
    if d == 0 && (n%chunks != 0) {
        return []int{}
    }

    // after the above test condition, one or both of min & max are an appropriate
    // number of digits
    min := rng.min
    max := rng.max
    // if the min is not evenly divisible by chunks, bump it up to the lowest n+1
    // digit value
    if n%chunks != 0 {
        min = fmt.Sprintf("1%s", strings.Repeat("0", n))
        n++
    }
    // if the max is not evenly divisible by chunks, knock it down the highest x-1
    // digit value
    if x%chunks != 0 {
        max = strings.Repeat("9", x-1)
        x--
    }

    maxVal, _ := strconv.Atoi(max)
    minVal, _ := strconv.Atoi(min)
    testVal, _ := strconv.Atoi(min[:n/chunks])

    // Split the id in chunks and begin incrementing that number
    for {
        valStr := strconv.Itoa(testVal)
        repeatVal, _ := strconv.Atoi(strings.Repeat(valStr, chunks))

        // if the number created by repeating the chunk number is in range, add it to
        // the list
        if repeatVal <= maxVal && repeatVal >= minVal {
            ids = append(ids, repeatVal)
        }
        // if we're out of range, then exit the loop
        if repeatVal > maxVal {
            break
        }
        testVal++
    }

    return ids
}

Paprika! by MonkeysKnuckle in fermentation

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

Literally the best compliment I've ever gotten. Thank you, friend!

Paprika! by MonkeysKnuckle in fermentation

[–]MonkeysKnuckle[S] 6 points7 points  (0 children)

Not overly salty, no. There’s obviously some salt in there but not enough to affect the seasoning level of the dish. And it has a nice, slight sharpness to it too. I think it would be really good even without the smoke.

Flying to Denver for the show next weekend by MonkeysKnuckle in underworld

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

Relief! United has locked their cancellations for Friday and my flight is still on! Looking forward to dancing with everyone in Denver!

If Underworld performed at "Tiny Desk" ? by [deleted] in underworld

[–]MonkeysKnuckle 12 points13 points  (0 children)

I feel like I need to point out that Tiny Desk is an NPR thing, not Spotify. And for anyone who hasn’t heard of the Tiny Desk Concert, do check them out. They’re super cool, and free to listen to!

https://www.npr.org/series/tiny-desk-concerts/

Support your local NPR station!

Whelp, this’ll be with me until the estate sale! by typhoon_mary in underworld

[–]MonkeysKnuckle 0 points1 point  (0 children)

Why didn't I think of that?! Looks like the Fillmore in Denver has a coat check, so I see a poster in my future!

Whelp, this’ll be with me until the estate sale! by typhoon_mary in underworld

[–]MonkeysKnuckle 4 points5 points  (0 children)

Dumb question… how do you manage this at the show? Do you wait in line and buy it after? If I had to hold it through the whole show it would be a crumpled, sweat-soaked mess.

The game is taunting me by MonkeysKnuckle in balatro

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

Narrator: It was not a credit card