Readit News logoReadit News
gregdeon commented on Advent of Code 2025   adventofcode.com/2025/abo... · Posted by u/vismit2000
quirino · 14 days ago
Small anecdote:

In the IEEEXTREME university programming competition there are ~10k participating teams.

Our university has a quite strong Competitive Programming program and the best teams usually rank in the top 100. Last year a team ranked 30 and it's wasn't even our strongest team (which didn't participate)

This year none of our teams was able to get in the top 1000. I would estimate close to 99% of the teams in the Top 1000 were using LLMs.

Last year they didn't seem to help much, but this year they rendered the competition pointless.

I've read blogs/seen videos of people who got in the AOC global leaderboard last year without using LLMs, but I think this year it wouldn't be possible at all.

gregdeon · 14 days ago
Oof. I had a great time cracking the top 100 of Advent of Code back in 2020. Bittersweet to know that I got in while it was still a fun challenge for humans.
gregdeon commented on I mathematically proved the best "Guess Who?" strategy [video]   youtube.com/watch?v=_3RNB... · Posted by u/surprisetalk
SatvikBeri · 16 days ago
In addition to other answers, one way to think about it is that the options are symmetric around the midpoint: a guess that partitions the space into (1/4 of options, 3/4 of options) is the same as one that does (3/4, 1/4). So (1/2, 1/2) is special in some way – it has to be either a local minimum or local maximum. And if the function is convex (or close enough), then (1/2, 1/2) is a global minimum/maximum.

But (1/2, 1/2) is clearly a better choice than just guessing a specific individual. So it must be the best choice.

gregdeon · 15 days ago
This is all right, but it just kicks the intuition into the assumption that the function is convex. As far as I can tell from the paper, this turns out to be exactly the argument they use to prove that (1/2, 1/2) is the optimal guess. But the majority of that proof is dedicated to showing that the function is indeed convex.
gregdeon commented on I mathematically proved the best "Guess Who?" strategy [video]   youtube.com/watch?v=_3RNB... · Posted by u/surprisetalk
IncreasePosts · 16 days ago
If you're behind and you're doing the same strategy as your opponent, you'll never catch up. If you're behind doing the risky bet strategy, most times you will never catch up either because your risky bets don't pay off, but a few times they will pay off.
gregdeon · 16 days ago
Sure, I think it makes intuitive sense to me that you should play riskier when you're behind. The surprising part to me is that when you're ahead, even if you know that your opponent will play "sub-optimally", that doesn't change your own optimal move.
gregdeon commented on I mathematically proved the best "Guess Who?" strategy [video]   youtube.com/watch?v=_3RNB... · Posted by u/surprisetalk
ironSkillet · 16 days ago
Binary search minimizes the number of expected moves until you find the target. If you are already ahead, this is a natural thing to want to do. The reason why this doesn't work when you're behind is that your opponent can also do that and probabilistically maintain their lead.
gregdeon · 16 days ago
I know that it minimizes the expected number of moves. But, the goal is to maximize the probability that you win in fewer moves than your opponent, not minimize the expected number of moves. Given that your opponent is playing some riskier strategy, it's not intuitively obvious to me that your optimal moves for those two objectives are the same.
gregdeon commented on I mathematically proved the best "Guess Who?" strategy [video]   youtube.com/watch?v=_3RNB... · Posted by u/surprisetalk
abetusk · 16 days ago
The idea is that if you're winning you can just do a binary search, but if you're losing, it's better to take some risks by making narrower guesses.

For example, let's say it's the last turn and your opponent is about to win. Say you may have 2 options but your opponent has 4 options. Instead of whittling it down to 2 options, it's better to guess one of the four. How outrageous should your guesses be is the content of the result and paper.

Paper is on archive (and linked from the video):

https://arxiv.org/abs/1509.03327

gregdeon · 16 days ago
I find it somewhat surprising that the optimal play when you're ahead is still just binary search. Is there an intuitive reason why it's not productive to make riskier guesses? Why not use my lead to have some chance of sealing my victory immediately, while still maintaining my lead if I'm wrong?
gregdeon commented on Project Euler   projecteuler.net... · Posted by u/swatson741
theoldgreybeard · a month ago
I love running euler problems when trying to learn the basics of a new programming language. I have a small collection of programs in like 10 different languages that I keep around as a reference for things because I always try to use language-specific features to solve the problems, and then I reference them as examples.
gregdeon · a month ago
Wow. You reminded me of a computer engineering class years ago where we wrote assemblers and emulators for a simple architecture. I tested mine by writing a solution for one of the first Project Euler questions!
gregdeon commented on I didn't reverse-engineer the protocol for my blood pressure monitor in 24 hours   james.belchamber.com/arti... · Posted by u/jamesbelchamber
pavel_lishin · a month ago
I have an intense phobia of dentists; if I were wearing a constant monitor, I bet you could tell when I was at the dentist just by watching the blood pressure and heart rate spikes. (You'd have to find some way of differentiating them from me being in a car accident, or being attacked by a werewolf.)
gregdeon · a month ago
I wonder if it would show up on the heart rate (or heart rate variability) tracking from an Apple Watch or similar. My Garmin picks up stressful events all the time.
gregdeon commented on Some people can't see mental images   newyorker.com/magazine/20... · Posted by u/petalmind
zephyrthenoble · a month ago
I think an interesting different way to talk about aphantasia is not, "Can you see an apple when you close your eyes" but more along the linked of, "Can you mentally edit the visual reality you see?"

A common exercise while being in the back seat of a car while I was young was to imagine someone in a skateboard riding along the power lines on the side of the road, keeping pace with our car.

It's not literally overriding my vision, it's almost like a thin layer, less than transparent, over reality. But specifically, it's entirely in my mind. I would never confuse that imagery with reality...

Having said that, I think that is related to the way our brains process visual information. I've had an experience when I'm driving that, when I recognize where I am, coming from a new location in not familiar with, I feel like suddenly my vision expands in my peripheral vision. I think this is because my brain offloads processing to a faster mental model of the road because I'm familiar with it. I wonder if that extra "vision" is actually as ephemeral as my imagined skateboarder.

gregdeon · a month ago
It always blows my mind how universal this experience was for people around my age. Mine was a bouncing ball...
gregdeon commented on Bad Apple but it's played inside Super Mario Bros   tasvideos.org/8991S... · Posted by u/carlesfe
100th_Coin · 2 months ago
Hey, I'm the TASer who put this run together. This was 5.8 million inputs.

I share the full assembly code in the tasvideos writeup: https://tasvideos.org/8991S#HereSTheAsmCode

To summarize what I put in the writeup, the 7-bit PCM audio was streamed in at approximately 25 Khz, (reading from the controller and writing to address $4011 every 71 CPU cycles.) while occasionally dipping to 9 Khz while streaming in the graphics data.

gregdeon · 2 months ago
Incredible work! I recently gave a talk about TASing to an audience of CS grad students, and of course I had to mention your SMB3 runs. Your videos are phenomenal at making this stuff accessible outside of hardcore gaming circles.
gregdeon commented on Bad Apple but it's played inside Super Mario Bros   tasvideos.org/8991S... · Posted by u/carlesfe
baobun · 3 months ago
Super cool.

Is it mentioned anywhere how big the payload is? How many button presses? Are the audio samples "streamed" or does it all fit in NES RAM?

gregdeon · 2 months ago
The entire TAS file takes about 16 MB, far more than the 4 KB of RAM on the NES. During the audio + video playback, the TAS is streaming via the controller by making inputs roughly 500 times per frame (15 kHz).

u/gregdeon

KarmaCake day51September 7, 2024View Original