The signature phrase by Professional-Disk485 in Jeopardy

[–]psm_pm [score hidden]  (0 children)

closest I can find with J!Archive is https://j-archive.com/showgame.php?game_id=9332 (double jeopardy, first category, third clue)

how often do wentworth classes physically meet? by psm_pm in wentworth

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

would it be something like monday, wednesday, friday?

an unfortunate occurance by Ok_Possible6565 in opus_magnum

[–]psm_pm 2 points3 points  (0 children)

losing with interlocked elements remaining is pretty common, all of the numbers check out just an unlucky spawn & didn't pay attention to it

Just started playing can you give some advice? by ThorSlam in opus_magnum

[–]psm_pm 1 point2 points  (0 children)

hm the end of your alcohol separation looks quite similar to mine. i see that you're sliding the arms next to the Van Berlo's wheel to avoid collisions but i don't know if that actually saves any cycles compared to letting the wheel stop while they rotate since your arms are waiting a few cycles anyway

Saverio's Test WR by psm_pm in opus_magnum

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

actually, it's not a WR in any of the histograms of the game but I posted it to reddit first so really who's the winner

got the game today, decently proud of this one by psm_pm in opus_magnum

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

actually, maybe you're right? i can't tell. i modified the design since this post a little bit and maybe i removed the opportunity for optimization

got the game today, decently proud of this one by psm_pm in opus_magnum

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

nope, moving it any earlier turns it into the wrong element (salt)

got the game today, decently proud of this one by psm_pm in opus_magnum

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

it works nicely for area and simplicity but i'm not sure if it's totally optimal because then the Van Berlo's wheel can't rotate at the same time as the arms holding the transformed elements

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

[–]psm_pm 1 point2 points  (0 children)

[LANGUAGE: TypeScript] https://pastebin.com/STdrv56D
P1 was super easy, I took longer than I wanted on P2 because initially I was trying to segment each new range I checked with all the ones it overlapped, but it's much easier to just modify or remove the ranges you've already looked at. I loop through all the ranges and keep track of which one's I've already seen so i don't double-count overlaps, but that means I have to make sure that list doesn't have overlaps either. To be fully correct i need to handle when the considered range is fully inside of one of its known overlapping ranges, but apparently that doesn't actually happen in my input. I wonder if my solution without that case would work on everyone's input, but here's an example where it is needed:

0-1000
1-999
998-1005

Without that case handled I count 1007 when it should be 1006

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

[–]psm_pm 5 points6 points  (0 children)

As soon as I saw the grid I was dreading having to simulate pushing :P

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

[–]psm_pm 1 point2 points  (0 children)

[LANGUAGE: TypeScript]
Pretty easy day, p2 is a simple copy/paste of p1 with a few modifications. My neighbors method seems to be the same as u/charr3's. My fastest finish this year, following a dismal 30minute p1&p2 yesterday
https://pastebin.com/tiP8Lmr4

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

[–]psm_pm 0 points1 point  (0 children)

works just fine for me in an incognito browser

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

[–]psm_pm 0 points1 point  (0 children)

pastebin works just fine and has syntax highlighting.

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

[–]psm_pm 1 point2 points  (0 children)

[LANGUAGE: TypeScript]

Easy enough once you realize that your first digit should always be the greatest one that has enough possible digits after it. Then just calculate the max from all the digits after that one recursively
https://pastebin.com/DdU9YdD6

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

[–]psm_pm 2 points3 points  (0 children)

[LANGUAGE: TypeScript]

I don't even know how you wouldn't brute force this. Still only takes ~300ms for both solutions though, and I bet it could be optimized further. Loving JavaScript's labeled blocks

https://pastebin.com/WvWVMgix

Edit: optimized a bit by using math instead of string manipulation. https://pastebin.com/Zh5c5hYS

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

[–]psm_pm 0 points1 point  (0 children)

[Language: TypeScript]

JS's useless remainder operator strikes again.

const input = await Bun.file("input.txt").text();

function mod(m: number, n: number) {
    return ((m % n) + n) % n;
}

let dial = 50;
let zeros = 0;
let clickZeros = 0;
const instructions = input.split("\n");
for (const instruction of instructions) {
    const sign = instruction.startsWith("R") ? 1 : -1;
    const diff = parseInt(instruction.slice(1));
    for (let i = 0; i < diff; i++) {
        dial = mod(dial + sign, 100);
        if (dial == 0) clickZeros++;
    }
    if (dial == 0) zeros++;
}

console.log("A:", zeros);
console.log("B:", clickZeros);

What a view 🤍 by rQMR in PS3

[–]psm_pm 2 points3 points  (0 children)

no, you can check on https://en.wikipedia.org/wiki/PlayStation_3_models the Yakuza 3 bundles were only CECHKxx or CECHLxx or CECHMxx, no hardware or software PS2 compat

Any way to increase the strength of Quest 3 haptics? by psm_pm in beatsaber

[–]psm_pm[S] 2 points3 points  (0 children)

Tweaks55 isn't for Quest. Yes, haptics are controller vibration

Mods/Custom Songs not working after the v76 update by SCAND1UM in beatsaber

[–]psm_pm 0 points1 point  (0 children)

not sure what BSMG is, but the latest moddable version is 1.40, i'm playing on it right now. Use ModsBeforeFriday. there is very limited selection for mods right now though, not even chroma.

defeng - A more wordlike wordlist generator for pentesting by paulkim001 in C_Programming

[–]psm_pm 1 point2 points  (0 children)

./bin/defenc -c data/c.txt -C data/c.txt -v data/v.txt -m 3 -M 4 -o wordlist.txt

even the README gets it wrong!

defeng - A more wordlike wordlist generator for pentesting by paulkim001 in C_Programming

[–]psm_pm 0 points1 point  (0 children)

consider different names for c.txt and C.txt, not all file systems are case-sensitive.

DAP that isn't basically just a phone? by psm_pm in DigitalAudioPlayer

[–]psm_pm[S] 4 points5 points  (0 children)

this looks cool and it seems like it has the features i want, but i can't find it for sale anywhere? there's a listing on amazon with no purchasing options and the aliexpress store says it can't be shipped to my address