azgod's blog

By azgod, history, 8 years ago, In English

codereview.orgfree.com is an awesome new website where you are put into a level from 1 to 5 based on your codeforces rating. Now if you have any code that you want to get it reviewed full then submit it and a member a level above you will review and check it. If you want to get more of your code reviewed then now you have to review the code of a member a level below you which you could definitely be able to do.

So friends quickly visit this awesome site and reap its benefits.

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

| Write comment?
»
8 years ago, # |
  Vote: I like it +9 Vote: I do not like it

Also authentication system has big bug, like this one.. I think hackerearth has some public secure authentication system which can link codeforces account and get rating.. otherwise anyone can be anyone...

I know Egor very nice he won't mind, so I did :P

  • »
    »
    8 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    We had already looked into this problem.The codeforces API does not provide any way for user authentication for instance, we cannot verify that the codeforces ID is really the ID of the member of our site.

    I have seen that hackerearth while linking codeforces profile asks for the password. But I don't think that's correct way as it is literally infiltrating privacy.

    So three cases arrived :

    case 1: Ask for codeforces password like hackerearth at the time of registration for user authentication. But the problem being many codeforces members use google login to enter the site so they don't have codeforces password. They cannot be verified. Another reason already stated above.

    case 2: The moderators of our site regularly verify the codeforces ID manually from the database. For example the person who made fakeegor profile above is changed into his real codeforces ID today.

    case 3: No authentication. If a person uses fake IDs like Egor he would be put into his level i.e.e level 5. So to get his more of his code reviewed he will have to review the code of a lvel 4 member which he will not be able to do. So as a whole he won't be able to use the site the second time.

    Currently we are using case 2. If you have any preference which case should we use or any idea how to tackle the problem of this user authentication. Please comment or mail me on [email protected]

    Thanking you, Manish Sharma codereview.orgfree.com

    • »
      »
      »
      8 years ago, # ^ |
        Vote: I like it +8 Vote: I do not like it

      Have you considered contacting MikeMirzayanov and asking him about adding authentication API? OAuth or OpenID, for instance.

    • »
      »
      »
      8 years ago, # ^ |
        Vote: I like it +5 Vote: I do not like it

      Why don't you have the user change his/her name (not handle) to a unique identifier which is then verified.

      • »
        »
        »
        »
        8 years ago, # ^ |
          Vote: I like it +1 Vote: I do not like it

        After checking with all the possibilities and ideas, We are announcing that we will use the idea of user hsr for our codeforces ID authentication.

        Thank you very much Hari S R(hsr) and to honour his contribution the verification would need the members to change their first name (go to your profile page -> Settings -> SOCIAL) by adding prefix hsr_ to their first name. For example if my first name is "azgod" i will have to change it to "hsr_azgod". And then register on codereview.orgfree.com. If hsr_ prefix is found in their first name at the time of registration they will be verified member and would get registered otherwise not. And once registered you can then change back your first name to the original one (no need to add hsr_ prefix for login).

        We will try to implement this as soon as possible and will announce it here and on site registration page when it would be completed.

        Please note : that all the users who had already registered on codereview.orgfree.com don't need to register again. Their accounts will be verified by the site moderators.

        • »
          »
          »
          »
          »
          8 years ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Thanks for the credits!

          But I was thinking more along the lines of a time variable prefix than a fixed one though as it would prevent any issues if the an actual and fake user simultaneously register.

    • »
      »
      »
      8 years ago, # ^ |
        Vote: I like it +3 Vote: I do not like it

      How about automatic PM on codeforces with activation code?

      • »
        »
        »
        »
        8 years ago, # ^ |
          Vote: I like it +3 Vote: I do not like it

        yeah that seems to be a good idea. Thanks JoudZouzou. We will try to work on that mechanism and see if that works. I hope it works and there be some way to make automatic PM.

        • »
          »
          »
          »
          »
          8 years ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Sorry but we will go with the idea of hsr as stated above. Your idea was also good but there is currently no way to PM automatically. We will have to work on a seperate BOT to perform that task but its time consuming.

          • »
            »
            »
            »
            »
            »
            8 years ago, # ^ |
              Vote: I like it 0 Vote: I do not like it

            It's good that you found a solution :) and btw, thanks for the website, great idea.

»
8 years ago, # |
  Vote: I like it +19 Vote: I do not like it

Why do you assume that code quality of user with high rating at codeforces is better than those with lower rank ? A lot of high rated people here write terrible code which would be rejected immediately on code review process in normal companies.

  • »
    »
    8 years ago, # ^ |
    Rev. 2   Vote: I like it +19 Vote: I do not like it

    By the description at the site, it looks like this site is more for contest code with bugs, and "reviewing" means mostly "finding bugs".

    Otherwise, we have CodeReview on Stack Exchange. As stackoverflow.com is mentioned in the site description as not fit for its purpose, I assume the site authors have explored other options on Stack Exchange network.

  • »
    »
    8 years ago, # ^ |
    Rev. 2   Vote: I like it +6 Vote: I do not like it

    A lot of high rated people here write terrible code

    Because when you are solving a contest problem, the last thing you are thinking about is, "damn, I must use snake case in declaring a function name". So while some may write terrible code, most are good enough to write decently if situation demands to.

»
8 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

What is the incentive of going through long and maybe not well-written code? For a pro, finding a bug himself is much faster, imagine how many people can help Petr or tourist with their problem? same for all high rated coders. And you always need to read code of those whose is worse than you, which may not be beneficial.

Stackoverflow offer reputation, but even with that, not so many people willing to go through your long, hard to understand code, so, I have doubt about those high rated coder who will put time and effort into this kind of review.

  • »
    »
    8 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Yes you are correct but correct only for super high rated ~3000 members. Before building this platform we surveyed lot of codeforces members including as high rated as 2540 and they said they too need some platform like this as they too have their own level of problems. In codereview.orgfree.com the level 5 members can review both level 5 and level 4 member codes. And level 1 coders review codes of other level 1 coders. So it is not that you are reviewing the code of someone "worse" than you.

    Moreover we all know that we had learnt a lot from other's mistakes.

    • »
      »
      »
      8 years ago, # ^ |
        Vote: I like it +6 Vote: I do not like it

      How is it better than asking on codeforces?

      • »
        »
        »
        »
        8 years ago, # ^ |
          Vote: I like it +26 Vote: I do not like it

        It scales better: specialized platform which is used by users specifically interested in reviewing others is better than a hell of blog posts or random PMs.

        • »
          »
          »
          »
          »
          8 years ago, # ^ |
            Vote: I like it +18 Vote: I do not like it

          Every time I ask for a review here, I get 10+ downvotes, and then I get motivated to solve it on my own. I then delete those blogs too. Idk sensible or not, its just my way :D

»
8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

It is not fair for tourist. Why is he excluded?

»
8 years ago, # |
  Vote: I like it +12 Vote: I do not like it

Is it just me or there are awful ads from time to time?

It does not happen on other websites, it does happen in other browsers , and sometimes it's not here at all. I've seen it on the registration page only. I strongly believe that it's orgfree.com's ads, as they only state that "_Low traffic_ accounts have absolutely no ads and the ad itself is located here (**WARNING**: jumpy 90s-style advertisement here).