Блог пользователя azgod

Автор azgod, история, 8 лет назад, По-английски

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.

  • Проголосовать: нравится
  • +45
  • Проголосовать: не нравится

»
8 лет назад, # |
  Проголосовать: нравится +9 Проголосовать: не нравится

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 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    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 лет назад, # ^ |
        Проголосовать: нравится +8 Проголосовать: не нравится

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

    • »
      »
      »
      8 лет назад, # ^ |
        Проголосовать: нравится +5 Проголосовать: не нравится

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

      • »
        »
        »
        »
        8 лет назад, # ^ |
          Проголосовать: нравится +1 Проголосовать: не нравится

        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 лет назад, # ^ |
            Проголосовать: нравится 0 Проголосовать: не нравится

          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 лет назад, # ^ |
        Проголосовать: нравится +3 Проголосовать: не нравится

      How about automatic PM on codeforces with activation code?

      • »
        »
        »
        »
        8 лет назад, # ^ |
          Проголосовать: нравится +3 Проголосовать: не нравится

        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 лет назад, # ^ |
            Проголосовать: нравится 0 Проголосовать: не нравится

          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 лет назад, # |
  Проголосовать: нравится +19 Проголосовать: не нравится

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 лет назад, # ^ |
    Rev. 2   Проголосовать: нравится +19 Проголосовать: не нравится

    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 лет назад, # ^ |
    Rev. 2   Проголосовать: нравится +6 Проголосовать: не нравится

    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 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

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 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    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 лет назад, # ^ |
        Проголосовать: нравится +6 Проголосовать: не нравится

      How is it better than asking on codeforces?

      • »
        »
        »
        »
        8 лет назад, # ^ |
          Проголосовать: нравится +26 Проголосовать: не нравится

        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 лет назад, # ^ |
            Проголосовать: нравится +18 Проголосовать: не нравится

          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 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
8 лет назад, # |
  Проголосовать: нравится +12 Проголосовать: не нравится

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).