kuviman's blog

By kuviman, history, 11 months ago, In English

Hello everyone!

Since recently I have rejoined Codeforces dev team. I worked on it before but had a break for some years.

There is always a lot of work happening behind the scenes, invisible to the users, but sometimes it is nice to have visible updates on the website.

Today, we have a couple improvements for the comment section.

Changing/cancelling votes

It happens sometimes that you click a wrong button, which can be annoying when voting for comments. Now it is possible to change your vote, or cancel it (but only during the first minute).

Hiding comments

When reading comments it is sometimes useful to hide the comments. Maybe you have already read them, or you don't care about replies to a particular comment. So now you can toggle comment tree visibility with a single click.

If you have an idea of a small and simple improvement for Codeforces, let us know in the comments!

  • Vote: I like it
  • +2129
  • Vote: I do not like it

»
11 months ago, hide # |
 
Vote: I like it +348 Vote: I do not like it

test

»
11 months ago, hide # |
 
Vote: I like it +462 Vote: I do not like it

What about allowing changing your votes in blogs? Maybe at this point it's a "simple" improvement.

»
11 months ago, hide # |
Rev. 2  
Vote: I like it -19 Vote: I do not like it

so helpful <3

»
11 months ago, hide # |
Rev. 3  
Vote: I like it +64 Vote: I do not like it

This might be a bit off-topic, but is "Hide low rated blogs" working correctly? For example, when I turned it on just now, this blog disappeared from Recent Actions. (Does the vote count affect this as well?) + To be honest, I’d also like low-rated necroposts to be ignored.

UPD: After a short while, it appeared.

»
11 months ago, hide # |
 
Vote: I like it +146 Vote: I do not like it

an option to sort comments by upvotes would be cool

»
11 months ago, hide # |
 
Vote: I like it +145 Vote: I do not like it

I think the rendering got a bit broken after the update (note the position of the votes), could you fix that?

»
11 months ago, hide # |
 
Vote: I like it +33 Vote: I do not like it

The option to hide low rated comments, similar to hide low rated blogs

»
11 months ago, hide # |
Rev. 3  
Vote: I like it +29 Vote: I do not like it

All of my own comments show as upvoted by me even though you cannot vote on your own comments, could you please fix that?

  • »
    »
    11 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    This was supposed to be a feature, indicating that you can not vote anymore, similar how you can not vote for others' comments after the first minute. Hiding the vote buttons would be another option but we didn't like how it looks

»
11 months ago, hide # |
 
Vote: I like it +74 Vote: I do not like it

you might wanna take a look at this blog

»
11 months ago, hide # |
 
Vote: I like it +83 Vote: I do not like it

hi kuviman, thanks for your work

I'm not sure if this is feasible or how it could be implemented,

but it might be helpful to add a comment section for each problem within the editorial.

This way, it would be easier to follow people's thoughts and discussions more clearly.

»
11 months ago, hide # |
 
Vote: I like it +33 Vote: I do not like it

Not sure if this counts as small, but I wish there were comments under problems (in the problemset, obviously not during a contest). This can allow easily findable user based editorials and other nice QOL

  • »
    »
    11 months ago, hide # ^ |
     
    Vote: I like it +19 Vote: I do not like it

    I thought of something similar: the option to add tags to your comments in editorials so people know if your comment is about problem C or D. maybe that would be easier to implement.

»
11 months ago, hide # |
 
Vote: I like it -30 Vote: I do not like it

Please stop ban my home ip

»
11 months ago, hide # |
 
Vote: I like it +23 Vote: I do not like it

RSS for recent blogs

»
11 months ago, hide # |
 
Vote: I like it +12 Vote: I do not like it

Hello,
I was wondering if the search feature is working as expected.

Whenever I try to search something using the search-bar, it always says no results.
Image Link: https://i.imgur.com/q22zQck.png

I've tried using the other example searches aswell, but its always "No items matched". Can this be fixed?

»
11 months ago, hide # |
 
Vote: I like it +62 Vote: I do not like it

To me my comments are now shown as liked by me

»
11 months ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

Seems like the old feature of invisibility of downvotes for the range [-5, -1] has been removed

»
11 months ago, hide # |
Rev. 2  
Vote: I like it -8 Vote: I do not like it

Comments that are a bit lengthy seem to appear alongside the revision and vote buttons

»
11 months ago, hide # |
 
Vote: I like it +35 Vote: I do not like it

It seems like links to comments no longer work.

For example, https://mirror.codeforces.com/blog/entry/131610#comment-1172666 just takes me to the blog page without going down to the comment.

»
11 months ago, hide # |
 
Vote: I like it +9 Vote: I do not like it

Dark mode from codeforces

»
11 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Some comments are quite long. Could you add a "See more" option to collapse lengthy comments instead of displaying the entire text by default?

»
11 months ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

Where are the people who read comments?

»
11 months ago, hide # |
Rev. 2  
Vote: I like it -8 Vote: I do not like it

dark mode is must

»
11 months ago, hide # |
 
Vote: I like it -10 Vote: I do not like it

Finally

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Great work! This is awesome!

I might have a suggestion for an improvement, but it's quite niche so beware.

I have noticed that, at least in my testing, the codeforces API does not provide access to submissions within private groups when I provide an API key from an account that has access to that private group. I might be wrong here, but in my tests, it seemed like even though I could see submissions from other users in private contests on the website, the API did not provide these submissions.

I might be wrong here and could likely have made a mistake in my setup, but since you asked I wanted to make note of this just in case.

Thanks!

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Enabling dark mode is important because it's easier on the eyes, especially since we spend long hours on Codeforces.

»
11 months ago, hide # |
 
Vote: I like it -10 Vote: I do not like it

EXACT FAILING TESTCASE, NOT JUST ITS NUMBER

  • »
    »
    11 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    I don't think this will be a good idea because someone could just use IF and ELSE for all the cases and get AC (especially in a Div 1 or 2 where most participants never want to hack because an unsuccessful hack gets you -100 points)

»
11 months ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

I'd like to vote your blog and cancel it,to test the update. Find that the update is not working for the blog. Maybe that's why so many people agree with this blog :)

»
11 months ago, hide # |
 
Vote: I like it -28 Vote: I do not like it

an option to sort comments by upvotes would be cool

»
11 months ago, hide # |
 
Vote: I like it +7 Vote: I do not like it

An option to report Cheaters, I can't find it anywhere if it exists let me know

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

A pet-peeve of mine is that sometimes the countdown timer in the tournaments gets desynced. Basically, when a tournament is about to start, you see two countdown timers (the main one on the bottom and the one next to the tournament info). Sometimes, the one on the bottom can get two seconds ahead of the top one and thus indicate that the tournament started before it actually did. It really doesn't change anything but it does annoy me. Does this happen to anyone else?

  • »
    »
    11 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Noticing that their positions are different, perhaps the time zones for the two countdowns on your screen are seconds apart(?)

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

would be cool if people who solved a problem could explain their solution (like they can have a space under the component that says tags and difficulty)

»
11 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Report button to report user

»
11 months ago, hide # |
Rev. 2  
Vote: I like it -20 Vote: I do not like it

my first comment

ADD an option to delete comment

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

INTRODUCE PROBLEMS OF THE DAY

DIFFERENT FOR DIV2,DIV3,DIV4 I MEAN BASED ON RATING RANGE LIKE DIFF FOR PUPILS,SPECIALIST,EXPERT...ETC

NOT MUCH ONLY 2-3 PROBLEMS FOR A DAY WILL BE GREAT....

»
11 months ago, hide # |
 
Vote: I like it -26 Vote: I do not like it

Is it intended that I could complain about a comment and then change downvote to upvote?

Say, I see some interesting content, but it's in Chinese. I could downvote, complain "invalid language", and switch to upvote :D

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Add themes with switchable dark/bright mode and support for custom themes.

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I've been thinking for a while about how to bring a more interactive, friendly hacking activity to the site; something fun but meaningful. One idea that came to mind is a sort of "Challenge My Solution" mode: after a user gets an accepted solution, they could voluntarily submit it to a challenge pool in a friendly manner. Others can then try to break it by crafting edge cases. If someone succeeds (for example finds a WA/TLE/RE), they get some credit (maybe a badge or rating boost in a side leaderboard). And if the solution survives enough challenges or time, it gets marked as "Battle-Tested" or similar. It would help find more competent hackers during rounds and encourage almost everyone to improve their problem-spotting skills. Also could make post-contest learning more engaging, hopefully.

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Ok, this is a very good !

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Dark Mode please

»
11 months ago, hide # |
 
Vote: I like it -7 Vote: I do not like it

hello guys , in today contest one problem named is "Down Bracket" enyone can explain what is doing in this problem .

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

comment links don't work for me now.. earlier if I paste comment link in URL bar, it will scroll to comment but now it stays at top of page for me.... anyone else seeing this ?

»
11 months ago, hide # |
 
Vote: I like it -11 Vote: I do not like it

I also want to develop. I am a web developer and I think that I can contribute to the team. If this is possible, please do let me know, thanks.

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

adding phone number verification to accounts so that cheaters(or anyone) cant create a huge number of accounts..

»
11 months ago, hide # |
Rev. 2  
Vote: I like it +13 Vote: I do not like it

MikeMirzayanov kuviman can you please bring back the comment link functionality? I mean whenever I click on some comment link like this one (https://mirror.codeforces.com/blog/entry/143212#comment-1278143) it doesn't scrolls down and points to the actual comment, earlier it was happening though. This was super useful.

»
11 months ago, hide # |
 
Vote: I like it -10 Vote: I do not like it

Nice a good one

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Looks like the issue with redirecting links to comments has been fixed :D

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I have noticed something and I just want to share it. Say someone's comment has $$$x$$$ votes and I have upvoted that comment. To me, it shows the vote as $$$(x + 1)$$$, where $$$x$$$ is the vote count of that comment in real time. Similarly, in case of a downvote, it shows $$$(x - 1)$$$

But, If I look their comment while staying logged out, it just shows the real value $$$x$$$.

»
11 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

The code editor should get displayed along with the question we are solving side by side just as in Leetcode. This really helps in solving questions in lesser time and makes coding on Cf much easier.

»
11 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

I suggest this:

This Link

»
10 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Page to view all successful hacks of some user (like same tab of submissions but for hacks).

kuviman please consider it.

»
10 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Highest rated blog i've ever seen

»
10 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Is it possible to make Codeforces Open-Source (on GitHub for example) for innovative developers to add their effort in improving the platform? I'm sure that many will be happy to contribute.

This will make Codeforces great in very short time—the Headquarters developer team will have to review these improvements and accept it if it meets some criteria.