5 ms·
Can you add hooks to your compile process? Write a program or script during those 3 minute breaks, just keep the project open in another window and switch to i
by jameswyse 14y ago
Can you add hooks to your compile process?
Write a program or script during those 3 minute breaks, just keep the project open in another window and switch to it whenever you're compiling, write a few lines and then go back to your work.
The program could query the YouTube API for short videos {duration: 'short'}, make a playlist sorted by popularity, remove the videos you've already seen and then auto-play them in an overlay/lightbox on your screen. The playlist should continue until the compile has finished, when it will notify you and return you to your work after the current video has ended. It would also need some way to return you to your work immediately if you don't want to watch (a key and mouse click), or perhaps a way to stop the script from launching in the first place.
And definitely open source it ;)
- chaghalibaghali 14y agoThis is a great idea! Something to focus on for <= the amount of time the compile will take, without any opportunity to head off down a distractions rabbit hole.