Thread: Language or Algorithms?

  1. #31
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    if you could access the mod board for 15k posts, would you spam? oh, yes... so what's the difference? plus, any 0.1k-ers had to keep it under wraps when at non-post0.1k-ers boards...
    hasafraggin shizigishin oppashigger...

  2. #32
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> people who have at least 100 posts or so.

    I'm afraid DA is right there. Remember that idiot that posted 300 spams just to change his name?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #33
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    531

    What about a restricted board?

    What about a restricted board.

    Only qualified members will be able to post in that board.

    There could be a test to qualify for that board.
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  4. #34
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    531
    One can only take the test once a month.
    If (!fails)
    return restricted_board;

    else
    Second test after 1 month;

    If (!fails)
    return restricted_board;

    else
    Third test after 2 months;

    If (!fails)
    return restricted_board;

    else
    Third test after 3 months;

    If (!fails)
    return restricted_board;

    else
    Third test after 4 months;

    If (!fails)
    return restricted_board;

    else
    Third test after 5 months;

    If (!fails)
    return restricted_board;

    else
    Third test after 6 months;
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  5. #35
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459

    //comments

    Code:
    while (fails && (time_elapsed < one_month) ) test ();
    
    test (void)
    {
      ...
      time_elapsed = 0;
    }
    c'mon now c'mon!, that's it, zahid, you aren't allowed in the restricted boards!

    >I'm afraid DA is right there.

    the way you said that made it sound like you were afraid that i could be right... like as if i am usually wrong... and if i'm right for a change, it is strange...
    hasafraggin shizigishin oppashigger...

  6. #36
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    >>Then why not take my advice? Create an algorithm board, but make it only visible to people who have at least 100 posts or so. <<

    See, the problem with that is what if someone advanced comes to the board, registers, looks around, and proclaims it a newbie board because then absolutely NONE of us would post to the C/C++ boards. We don't want to lose a potential know-it-all smarty-pantsed guru!!

    >>c'mon now c'mon!, that's it, zahid, you aren't allowed in the restricted boards!<<

    I second that motion!

  7. #37
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    Just because something is an algorithm doesn't neccesarily make it hard. Likewise, just because something is a langauge feature doesn't make it easy. Take for instance, selection sort, vs say, virtual inheritance. IMO, selection sort is much easier to understand than is virtual inheritance.

    So, basically, what you want is a board with different levels of difficulty. They had this on the older boards, with the newbie board. I think I came along just around the ending of that, but it was shown that it didn't work, IIRC.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  8. #38
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    531

    Hope it will work better .. :)

    doubleanti,
    Yeah.. you are right. I was not confident that I will be in the restricted board. But I knew and know that once I will be able to qualify.. that's why requested for loop to test again..

    Actually it will be a force (and matter of prestige) which will lead others (out of restricted board) to develop themselves. It's one kind of competition and it will help cprogramming.com to develop an environment to discuss advanced features of programming in C/C++.

    Hope it will work better ..

    /* apply_for_test.c */

    /* day*minutes_in_day*seconds_in_minute */
    #define PRACTICE_UNIT 30*1440*60
    #define MAX_UNIT 6
    #define GENERAL_FAIL 1
    #define SUCCESS 0

    int apply_for_test(char *usrid)
    {
    int practice_time;
    int time_stamp;
    int last_test_time_stamp;
    int result;

    last_test_time_stamp =get_last_test_time_stamp(usrid, &practice_time);

    time_stamp=get_time_stamp();

    if(time_stamp > last_test_time_stamp + practice_time )
    {
    result=test(usrid);

    if (practice_time<MAX_UNIT * PRACTICE_UNIT)
    practice_time+=PRACTICE_UNIT;

    put_test_time_stamp(usrid, time_stamp, practice_time);
    store_test_info_to_userdb(usrid,time_stamp,result) ;

    if(result==SUCCESS)
    {
    printf("Now you are a member of Restricted board.\n");
    printf("Welcome to Restricted Board\n");
    }
    else printf("Sorry, you have to try again.");

    return result;
    }

    else
    {
    printf("Sorry you have to practice more.\n");
    printf("You may have your next test after ");
    display_date_time(last_test_time_stamp + practice_time);
    return GENERAL_FAIL;
    }

    }


    /*====Additional Functions=====*/
    int get_time_stamp()
    {

    }


    int get_last_test_time_stamp(char *usrid, int *practice_time)
    {

    }

    int test(char *usrid)
    {

    }


    int store_test_info_to_userdb(char *usrid,int time_stamp,int result)
    {

    }

    int put_test_time_stamp(char *usrid, int time_stamp, int practice_time)
    {

    }


    int display_date_time(int time_stamp)
    {

    }


    /*Here we go.. for "doubleanti" */
    int main()
    {
    apply_for_test("doubleanti");

    return 0;

    }
    Last edited by zahid; 01-08-2002 at 12:19 AM.
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  9. #39
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    I agree with Silent Strike. But instead of a "newbie" board, I'd like to rehash the idea of an ominously titled expert board. And leave off the post count requirements. If nothing else, we are trying to attract knowledgeable programmers along with new ones, and they'll probably want to read what's on this board.

    Again, I think it would be important to keep it going. So maybe we could encourage contests/competitions and such on it as Sayeh suggested.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  10. #40
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    531
    Is there anyone suggesting to restrict the board to make posts visible to all members(even non board members)?

    What is the purpose of it?

    Seems restriction of posting to the board is enough.
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  11. #41
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    >new ones, and they'll probably want to read what's on this

    that classification might prove useful, since they'd browse through it, and if the stuff doesn't seem as over their heads as it used to, then they're the better for it...

    zahid! oh, and y'see, now you forgot to use code tags! so you are are excommuncated [from a non-existent board you would have not been communicated with in the first place if it existed] because of your board ettiquette!
    hasafraggin shizigishin oppashigger...

  12. #42
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    531
    No comments

    int request_for_post(char *, char *);

    int request_for_post(char *restricted_board, char *memberid)
    {

    if(is_a_board_member(restricted_board, memberid))
    allow_to_post(memberid);
    else
    printf("Sorry, you are not allowed to post in this Board.\n");

    return 0;
    }

    /*additional functions*/
    int is_a_board_member(char *restricted_board, char *memberid)
    {}

    int allow_to_post(char *memberid);
    {}
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  13. #43
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    Posts
    531

    "Read invisible instead of visible".

    Originally posted by zahid
    Is there anyone suggesting to restrict the board to make posts visible to all members(even non board members)?

    What is the purpose of it?

    Seems restriction of posting to the board is enough.
    Sorry.. I have to make a correction "Read invisible instead of visible".
    [ Never code before desk work ]
    -------------------------------------:-->
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

  14. #44
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    I don't believe in restriction. It is too hard to implement. You can't restrict access of a member based upon his/her number of postings. You should also check the level of his/her postings. So then there has to be someone who monitors all postings all the time to check the level.

    The C and C++ boards are good. They are attractive to new programmers as more advanced programmers as well. Besides I think those boards are the strong basis of the whole board.

    So I would recommend a kind of expert board where more high level issues will be discussed. In some way it should it should be ensured that the level of the discussions on the expert board is high. Then the newer programmers will take a glance at it, but they can't join the discussions due to a lack of knowledge and/or experience.

    But let us not only discuss the more advanced programmers on this board, but also the new programmers since they can be the advanced programmers of the future. If this board is able to keep both new and advanced programmers, I think it can grow huge.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM