PDA

View Full Version : Slow boards



Prelude
05-21-2003, 06:09 PM
If things don't start picking up soon I'm going to pass out programming assignments to everyone. :mad: :p

RoD
05-21-2003, 06:18 PM
assign me hello world i need a challenge

Prelude
05-21-2003, 06:20 PM
No, I'd give out problems that would ensure more traffic in the C and C++ forums. :D

Ken Fitlike
05-21-2003, 06:21 PM
>>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/

OneStiffRod
05-21-2003, 07:36 PM
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:rolleyes:

Feel free to use PHP or PERL/CGI and of course XML... thank you :D

major_small
05-21-2003, 07:59 PM
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:rolleyes:

Feel free to use PHP or PERL/CGI and of course XML... thank you :D 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 (http://www.fragblast.com/forums/index.php?referrerid=2)

Prelude
05-21-2003, 08:11 PM
>Salem (I think) already beat you to it a couple of days ago with:
He's been giving that link out for years now. ;)

XSquared
05-21-2003, 08:12 PM
Anyone given out http://ace.delos.com/usacogate/?

the Wookie
05-22-2003, 11:36 AM
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 (http://www.fragblast.com/forums/index.php?referrerid=2) 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

ygfperson
05-22-2003, 01:39 PM
Prelude, wanna search for a bug in my Expression Manipulator program?

From the cprog file archives (http://www.cprogramming.com/cboard/attachment.php?s=&postid=272330) (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.

Xei
05-22-2003, 03:40 PM
Or you could advertise on other webpages, however that does cost money.

major_small
05-22-2003, 09:00 PM
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... ;-)

hk_mp5kpdw
05-23-2003, 06:22 AM
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?

Prelude
05-23-2003, 09:05 AM
>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:


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

Stoned_Coder
05-23-2003, 10:12 AM
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.