Google Unveils Code Search
derek_farn writes, "Google now has a page that supports source code searching. I hope they extend it to be more programming-language aware (e.g., search for identifiers and functions) like the specialist code search sites (Krugle, Koders, and Codease), who probably now have very worried investors. I don't see any option to search for Cobol. I guess there is not a lot of Cobol source available on the Internet, even although there is supposed to be more Cobol source in existence than any other language (perhaps that statement is not true in the noughties)." From the Cnet.com article: "Google engineers, many of whom participate in open-source projects, already use these code searching capabilities internally. Since it is a Google Labs project, the company is not yet seeking to monetize searches through ads."
sooner or later http://www.google.com/codesearch?as_q=fuck&btnG=Se arch+Code&as_lang=&as_license_restrict=i&as_licens e=&as_package=&as_filename=&as_case=
God is real unless declared as int
It's the sound of millions of CS majors cheering!!!!
Dang, this a neat tool.
Yep, I never spell check.
More incorrect spellings can be found he
LOL your search has now uncovered the hidden angst of a million programmers :
"I don't see any option to search for Cobol."
Well, that's one entire season of "Battlestar Galactica" rendered entirely pointless. Thanks a lot!
Where were you when the voynix came?
Good programmers write good code. Great programmers find it on Google!
Read any good sonnets lately?
Your search 10 print "boobs" 20 goto 10 returned no results. Try searching again using fewer terms.
Fnord.
Crap! There goes SCO's case.
Opus: the Swiss army knife of audio codec
I hope my CS professor doesn't find this until the semester is over.
This is just too funny :-)
/* potential mating partner */ /*printf( "." ); fflush( stdout );/**/ /* mating must be mutual */ /*M_wait += 15;/**/ /*printf( "+" ); fflush( stdout );/**/ /* this is male object */ /* perform breeding in female object */ /* this is female object */ /* current position */ /* behind position */ /* back to field wall */ /* newborn's position */ /* move mother backward */ /* conception */ /*printf( "CHILD%d ", child );/**/ /* birth */
/* partner.printGenotype();
void Mammal::mate( Mammal& partner ) {
M_partner = partner.getId();
if( partner.getPartnerId() != M_id ) {
return;
}
if( M_gender == 0 ) {
partner.mate( *this );
return;
}
assert( M_gender == 1 );
int x = M_x, y = M_y;
switch( M_direction ) {
case EAST: x--; break;
case NORTH: y++; break;
case WEST: x++; break;
case SOUTH: y--; break;
}
if( !M_field->in( x, y ) ) return;
int cx = M_x, cy = M_y;
M_x = x;
M_y = y;
orgasm();
partner.orgasm();
Mammal* child;
child = new Mammal( *M_field, cx, cy, NEWBORNENERGY, *this, partner );
M_energy -= CHILDBIRTHENERGY;
M_population->add( *child );
printf( "MATE(%d,%d)->%d(%d) ", M_id, partner.getId(), child->getId(), child->getGeneration() );
partner.printState();
printGenotype();
printState();
child->printGenotype();
child->printState();/**/
}
void Mammal::orgasm() {
M_energy -= MATINGENERGY;
M_result = 1;
}
Beware: In C++, your friends can see your privates!
I just searched for "20 GOTO 10". Oh my. I don't know if that is funny or sad.
Have you read my journal today?