Thread: Slow boards

  1. #1
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897

    Slow boards

    If things don't start picking up soon I'm going to pass out programming assignments to everyone.
    My best code is written with the delete key.

  2. #2
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    assign me hello world i need a challenge

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    No, I'd give out problems that would ensure more traffic in the C and C++ forums.
    My best code is written with the delete key.

  4. #4
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    >>If things don't start picking up soon I'm going to pass out programming assignments to everyone.<<

    Salem (I think) already beat you to it a couple of days ago with:

    http://acm.uva.es/problemset/

    But that's the closest to a cry for help that i've seen from a programming addict.

    edit: I think Stoned_Coder may have mentioned this one occasionally, too:

    http://www.gotw.ca/gotw/
    Last edited by Ken Fitlike; 05-21-2003 at 06:25 PM.

  5. #5
    Ok here's one, HOW DO YOU EXTRACT INFO FROM A DATABASE W/O HAVING ACCESS DIRECTLY TO THE DB?? THE ONLY ACCESS YOU HAVE IS A WEB FORM(SEARCH FORM)....

    That's an assignment I just got from my boss... I have to EXTRACT the info from that DB and put the results into our own DB... cool huh

    Feel free to use PHP or PERL/CGI and of course XML... thank you
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  6. #6
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Originally posted by OneStiffRod
    Ok here's one, HOW DO YOU EXTRACT INFO FROM A DATABASE W/O HAVING ACCESS DIRECTLY TO THE DB?? THE ONLY ACCESS YOU HAVE IS A WEB FORM(SEARCH FORM)....

    That's an assignment I just got from my boss... I have to EXTRACT the info from that DB and put the results into our own DB... cool huh

    Feel free to use PHP or PERL/CGI and of course XML... thank you
    if you think this is a slow board, you should see the wookie's message board... it went from over a million to less than 20k in less than 6 months...

    http://www.fragblast.com
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  7. #7
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Salem (I think) already beat you to it a couple of days ago with:
    He's been giving that link out for years now.
    My best code is written with the delete key.

  8. #8
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  9. #9
    i want wookie cookies the Wookie's Avatar
    Join Date
    Oct 2002
    Posts
    455
    Originally posted by major_small
    if you think this is a slow board, you should see the wookie's message board... it went from over a million to less than 20k in less than 6 months...

    http://www.fragblast.com
    haha yes fragblast is dying. but the 4 day break i will work on the battle system alot

    unless the posted problem set gets in my way..YAY! PROBLEM SET! woo! lol

  10. #10
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    Prelude, wanna search for a bug in my Expression Manipulator program?

    From the cprog file archives (the same attached file I posted before, if you already have that)

    Here's the nature of the problem:
    Sometime when using the evaluate_func() function in expression.cpp (or functions called by that function), a reference gets passed which is invalid. I know this because a typeid() of it crashed the program.

    If you're interested, I'll post more details about where the bug is located, and some updated code.

    //edit: Just clarifying, the link is just to give a general impression of the bug... any bug-finding should be done with newer code.
    Last edited by ygfperson; 05-22-2003 at 01:42 PM.

  11. #11
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    Or you could advertise on other webpages, however that does cost money.
    "What are you after - the vague post of the week award?" - Salem
    IPv6 Ready.
    Travel the world, meet interesting people...kill them.
    Trying to fix or change something, only guaruntees and perpetuates its existence.
    I don't know about angels, but it is fear that gives men wings.
    The problem with wanting something is the fear of losing it, or never having it. The thought makes you weak.

    E-Mail Xei

  12. #12
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Originally posted by the Wookie
    unless the posted problem set gets in my way..YAY! PROBLEM SET! woo! lol
    haha... no wonder why things take so long to get done... ;-)
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  13. #13
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    You want some action Prelude, tell me how the hell to use the value_comp function for associative containers. I've searched all over google and I get plenty of pages that mention it, but not one of them I have seen so far has any examples of usage for this function. It would seem that you could (maybe?) use this to iterate through, let's say a map, according to the order of the values and not the keys? But how does it work?
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  14. #14
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Prelude, wanna search for a bug in my Expression Manipulator program?
    I'll take a look at it.

    >You want some action Prelude, tell me how the hell to use the value_comp function for associative containers.
    It returns a constant for the container that gives you the comparison function object. The default is std::less:
    Code:
    #include <iostream>
    #include <set>
    
    int main()
    {
        std::set<int> s;
    
        std::cout<< typeid(s.key_comp()).name() <<std::endl;
        std::cout<< typeid(s.value_comp()).name() <<std::endl;
    }
    Basically, key_comp and value_comp are observers; they give you information about the container, but don't effect any change.
    My best code is written with the delete key.

  15. #15
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    gotw #87 should keep you amused for a while prelude. There could be some interesting discussion on the dependant/non-dependant names issues arising from the standards looseness on this issue.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Board slow downs
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 09-08-2006, 04:32 PM
  2. slow typing ad highlighting
    By axon in forum Tech Board
    Replies: 10
    Last Post: 01-13-2004, 08:27 PM
  3. slow game
    By lambs4 in forum Game Programming
    Replies: 2
    Last Post: 08-21-2003, 02:08 PM
  4. Board hierarchy suggestions
    By webmaster in forum A Brief History of Cprogramming.com
    Replies: 38
    Last Post: 09-05-2002, 01:43 PM
  5. Solutions for slow performance?
    By Hunter2 in forum Game Programming
    Replies: 52
    Last Post: 08-24-2002, 10:04 AM