Trending topics
#
Bonk Eco continues to show strength amid $USELESS rally
#
Pump.fun to raise $1B token sale, traders speculating on airdrop
#
Boop.Fun leading the way with a new launchpad on Solana.
Documenting my personal experience of using Vibe Coding to solve real-life pain points ✌️
There are many YouTubers who have posted hundreds or even thousands of videos over the years, but I just started following them not long ago, so I go back and watch them in chronological order. However, I encountered a very tricky and annoying problem 😤
Every time I open this YouTube and go to the YouTuber's homepage, I have to scroll down for a long time, struggling until I find the last video I watched, and then continue to the next one. The more I watch, the longer I have to scroll down each time I open it, which is so troublesome!
So I was wondering, doesn't YouTube have a "one-click scroll to the last watched position" feature? It really doesn't.
I can't be the only one facing this problem, right? If YouTube itself doesn't have it, surely there should be third-party plugins to solve it? But there really aren't any.
With each time I open it, having to scroll down for a long time, I couldn't take it anymore, so I decided to do it myself!
I first downloaded a plugin called Enhancer for YouTube, which allows you to write JavaScript code for custom extensions.
Then I opened Gemini and input my requirements, asking it to write a piece of code that could automatically scroll down to my last watched position. I copied and pasted the generated code to run it, and sure enough, it failed the first time, scrolling down continuously.
I thought my description wasn't detailed enough, so I took out my high school exam essay writing skills and described my needs in detail. Then the AI confidently generated another piece of code for me. I copied and pasted it, and it scrolled a bit and then stopped, still not working.
Then began the endless tug-of-war, where I said this isn't right, and after it modified it, that wasn't right either, in a repetitive cycle.
At this point, I realized that asking the AI to generate the code all at once was probably too much for it. I should break down the requirement like a product manager and iterate.
So I changed my approach. First, I asked it to generate a piece of code that could scroll down continuously when I opened the YouTube webpage. I copied that code and ran it, and it worked perfectly, indeed scrolling continuously.
Next, I praised the AI, saying, "Based on this, add a new feature that adds a gray overlay to all the videos I've watched." After I copied and ran the generated code, it was great; all the watched videos turned gray while still scrolling.
After iterating the product twice, I was only one step away from my final requirement. I told it, "You did great, now add one more new feature: when 10 gray overlays appear in a row, stop scrolling." I copied the code and ran it, perfect!
So first of all, Vibe Coding is really suitable for solving these personalized "trivial" problems. Secondly, even for very simple requirements, you can't feed them to the AI all at once; instead, you should guide the AI step by step through a process of breakdown and iteration.
Top
Ranking
Favorites
