CF Notifications
Want an easy-to-use tool to notify you when you get a problem correct? Looking for an inspirational jingle to celebrate when you AC? Wish you could just move on to problem B immediately after submitting A and had someone to let you know in case you got it wrong? Now you can!
CFNotifications.com is a simple website that does this for you. All you have to do is type in your handle and click login.
It works on all CF rounds, and also other submissions if you are upsolving, practicing, or running a VP on your own. Personally, I just leave it on a second computer with the volume turned up and then I don't have to worry about it ever.
How it works
It rechecks Codeforces every 4 seconds for new submissions, or every 1 second if you have a submission that is judging. It uses the CF API and I did my best to make sure it is as low-impact to the servers as possible while still giving results pretty much instantly.
Let me know what you think!
Updates!
Per request, I added the ability to play a custom sound on AC (or play no sound at all). The changes are live now, so you should be able to see, but basically now you can enter 'none' if you just want the notification that you got the problem right and no 'distracting' inspirational sound effect, or something like 'https://www.youtube.com/watch?v=dZLfasMPOU4' if you want to hear 3 minutes of Stacy's Mom every time you solve a problem!
I also made it save your handle (and the custom sound if you choose to use one) as a cookie, so it should be even easier to use. If you have been there before, everything will auto-fill so you can literally just click the button and it's working.
Auto comment: topic has been updated by SecondThread (previous revision, new revision, compare).
I think you should remove that music when AC is given, because it distracts you while reading the next problem. Otherwise, thanks, good job.
great tool ! it would be awesome if the user had the option to customize the music
yes! I want to hear FFVII victory music whenever i get an AC and Undertale determination when I get a WA
I have suggestion to make! How about it only notifies when the verdict is any other than Accepted. Since being notified during the contest for AC is just distraction :)
Then you never know if the queue is just stuck or if you actually got it. I think knowing you got it for sure (or at least that you passed pretests for sure) is helpful so that you can then safely permanently context switch all of that out of your head.
I always appreciate suggestions though!
Isn't Codeforces already supposed to be doing that for you? I quite often see a gray bubble with white text saying "Accepted" or "(Wrong answer) or (Runtime error) or (Time limit exceeded) on test x" on the bottom right of the screen while reading B after submitting A.
I think it is suppose to, but often it doesn't when the queue is delayed, and you can miss it if you go back to look through your code to make sure you didn't forget some case like I often do. This one is as reliable as hitting f5 until you see that you have a verdict.
Wow!it can be really useful during contests .. thanks
Auto comment: topic has been updated by SecondThread (previous revision, new revision, compare).
This is actually very useful,thanks))
Worked well in last contest, thanks.
It would be great if there was a "test" button after I log in to check if everything is working fine (Sometimes I mute my PC).
Currently I have need go to submit page and submit a compile error.
Can this be made firefox and chrome extension just as CF-predictor?
It can. The server only serves the initial webpage, so it would be more suitable as a browser extension/userscript.
The only (minor) advantage to have a website that I can think of is that the server will always serve the most recent version, whereas extensions/userscripts can take a bit longer to update for all users or may not update at all if disabled.
https://www.youtube.com/watch?v=UeKYoODgKz8&t=366s
Another Application: You may also add your friend's cf handle to let know of his submissions (just for fun :)
Honestly, idk why this comment has so many downvotes. I use it all the time so I know when my opponent submits when I am doing lockout contests against someone. Occasionally you'll get notified when they get it right by whatever system you're playing on, but it's also helpful to know when they get something wrong too since you know what they're working on then.
Alright, so this should now handle system tests a little bit better than it was before. Also, the default sound is added back in, and there is now another check box that you can use if you want to not have the computer voice saying you got the problem right and instead you just want to hear whatever sound you selected (or the default one is you didn't select any).
Let me know if there's anything else that would make this a better tool! :)
Oh Hello! This is Aryan. I am a subscriber of your youtube channel as well :) I had a suggestion. Could you please add a feature so that It tells us the change in rank as well! So it would save a lot of time checking the standings. Thanks !!
That's actually a really cool idea. If I have time to, I will!
Is it possible to announce non-AC results?
I want to make a challenge with this, for every non-AC submissions the user must play one full blast of despacito.
This is great! I can now listen to twice whenever I AC a problem :)
The best AC notification https://www.youtube.com/watch?v=b3_lVSrPB6w
Seeing a green ACCEPTED hits differently.
A chrome notification as well would be great!
Custom sounds like that guy farting into a mic in a supermarket are a must!