|
Google code search
Last post 10-18-2006 1:19 AM by Some Idiot. 42 replies.
-
10-05-2006 3:03 PM
|
|
-
rev


- Joined on 08-10-2006
- Posts 20
|
|
-
-
R.Flowers


- Joined on 12-20-2005
- Posts 611
|
Well... there goes my day! And of course, who could forget: WTF?!
|
|
-
-
-
rev


- Joined on 08-10-2006
- Posts 20
|
|
-
-
-
-
-
rev


- Joined on 08-10-2006
- Posts 20
|
|
-
-
Hans


- Joined on 04-11-2006
- Posts 20
|
|
-
-
blodulv


- Joined on 07-31-2006
- Posts 6
|
You can escape the space (\ ) to get the two terms together: (evil|ugly|stupid)\ (hack|klud?ge)
|
|
-
-
-
-
-
Hans


- Joined on 04-11-2006
- Posts 20
|
|
-
-
-
Hans


- Joined on 04-11-2006
- Posts 20
|
|
-
-
R.Flowers


- Joined on 12-20-2005
- Posts 611
|
Okay, maybe this is a Google Code Search WTF. I ran a search on "yet to do:" The result was first page, Results 1 - 10 of about 74,100 Next page, Results 11 - 14 of about 74,100 From here on in, clicking 'Next' or any of the page numbers does nothing. I am guessed it might have something to do with the colon, so I removed it. The search turned up slightly different results, but those results exhibit the same behavior on the 3rd page. Any ideas?
|
|
-
-
danielpitts


- Joined on 04-19-2006
- Posts 187
|
http://www.google.com/codesearch?hl=en&lr=&q=paula+bean&btnG=Search
|
|
-
-
-
-
-
Jeff S


- Joined on 11-22-2004
- Boston MA
- Posts 1,003
|
rev:
Nice find, this is great!
I did not become a TDWTF forum moderator to make friends. And by the way, I haven't.
|
|
-
-
olsner


- Joined on 07-12-2006
- Posts 36
|
Now THIS is why I never comment my code - you just never know where those comments are going to end up!
s/\([.*+(){}^$<>[\\ |]\|\]\)/\\\1/g
|
|
-
-
Some Idiot


- Joined on 07-07-2006
- Posts 205
|
rev:
Yes, I may well do any of those things. Nice to know people take my special needs into account when developing software. Nice find.
I will use a <sarcasm/> tag if you use a <stupidity/> tag.
|
|
-
-
madjo


- Joined on 10-06-2006
- The Netherlands
- Posts 24
|
I'm sure many of you have already searched this: Brillant
|
|
-
-
-
jsbillings


- Joined on 05-12-2006
- Posts 9
|
You can use this site to search for buggy code too. I didn't think of this, I saw it elsewhere, but it's pretty interesting: 1<<16-1 Note: "1 << 16 - 1" is the same as "1 << 15", not "(1 << 16) - 1"
|
|
-
-
bugmenot


- Joined on 03-24-2005
- Posts 63
|
Pebkac (Problem exists between chair and keyboard)
|
|
-
-
R.Flowers


- Joined on 12-20-2005
- Posts 611
|
madjo:BTW, I see a possible spamtrap in Google's new code search... Many dev's will put their email address in their comments, and you could possible program a spambot to parse the search results in search of those email addresses...
That's a good observation. On Google Groups, they automatically munge email addresses in the 'From' sections of the post (and maybe the bodies, too - can't remember). They should be able to apply the same technology here easily enough.
|
|
-
-
jkandrach


- Joined on 10-03-2006
- Pittsfield, MA
- Posts 13
|
Best line ever: "I am drunk and coding like I am the greatest coder of all time." beautiful
|
|
-
-
WWWWolf


- Joined on 12-05-2005
- Oulu, Finland
- Posts 244
|
R.Flowers:Well... there goes my day! And of course, who could forget: WTF?!
Hey, it works! On the first page, it has the definitive "WTF" comment: i = 0x5f3759df - ( i >> 1 ); // what the fuck?
From Quake III Arena source code. (The answer, in this case: "Don't ask. Carmack is a math genius, you aren't.")
mysql> help contents; Nothing found Please try to run 'help contents' for a list of all accessible topics Desktop Search Rain - Gothic Computing's EASY button ( Go wild^H^H^H^H figure)
|
|
-
-
kimos


- Joined on 10-02-2006
- Posts 19
|
|
-
-
SpComb


- Joined on 05-04-2006
- Posts 86
|
Hmm... PORN! It doesn't find very much though :( Also, how the hell do they manage to apply bad regexps (like [a]*[b]*[c]*) to so much data and still produce the correct results in a (relatively) low amount of time (0.4 seconds)?
|
|
-
-
-
Isuwen


- Joined on 01-31-2006
- Posts 67
|
Also, how the hell do they manage to apply bad regexps (like [a]*[b]*[c]*) to so much data and still produce the correct results in a (relatively) low amount of time (0.4 seconds)?
Because google search isn't built on regexs.
|
|
-
-
m0ffx


- Joined on 08-15-2006
- Posts 602
|
try the following
fortran "no idea"
hope -warranty
"you are the weakest link" "oh my god" killed reminds me of a comment I once saw in someone's code "No sleep here, we're raping the processor"
TRWTF is Community Server
|
|
-
-
-
RayS


- Joined on 01-22-2005
- Posts 714
|
There's a couple of "until 0=1" bits in there... How much does it tell us that there are 200 hits for "How does this work?" and 117000 for "I don't know how"? I found this funny, too. If you hack on this and slow it down, I, my children and my children's children will curse you. ........ (---code---) ........ * in the right way, and the less we change the less likely * we are to introduce new bugs. And I'm scared of the curse in the * comments at the top of this file
EULA: By reading this post and associated disclaimer, you are consenting to agree with the opinions disclosed within. If you disagree with this license agreement, you may not return it for a refund.
|
|
-
-
smb


- Joined on 10-10-2006
- Posts 1
|
SpComb:
Hmm...
PORN!
It doesn't find very much though :(
No, but XXX does, it's a common alternate FIXME comment...
|
|
-
-
blah


- Joined on 09-28-2006
- Posts 2
|
I'm not quite keen on regexps, but I get good results with [a-z_\-\.0-9]+@[a-z_\-\.0-9]+\.[a-z]+ ... And that was a reply to this, but i'm too stupid to click on "quote" :
madjo:BTW,
I see a possible spamtrap in Google's new code search... Many dev's
will put their email address in their comments, and you could possible
program a spambot to parse the search results in search of those email
addresses...
That's a good observation.
On Google Groups, they automatically munge email addresses in the
'From' sections of the post (and maybe the bodies, too - can't
remember). They should be able to apply the same technology here easily
enough.
|
|
-
-
igitur


- Joined on 08-03-2006
- Cape Town, South Africa
- Posts 1
|
You have no idea how many times this happens to me... pubic
|
|
-
-
RayS


- Joined on 01-22-2005
- Posts 714
|
blah:I'm not quite keen on regexps, but I get good results with [a-z_\-\.0-9]+@[a-z_\-\.0-9]+\.[a-z]+ ... And that was a reply to this, but i'm too stupid to click on "quote" :
madjo:BTW,
I see a possible spamtrap in Google's new code search... Many dev's
will put their email address in their comments, and you could possible
program a spambot to parse the search results in search of those email
addresses...
That's a good observation.
On Google Groups, they automatically munge email addresses in the
'From' sections of the post (and maybe the bodies, too - can't
remember). They should be able to apply the same technology here easily
enough.
Sounds
dangerous... and not everything that looks like an email address is an
email address. Even then, the correct address being present could be
critical to the working of the code. Either way, Google is only
making it easier to search information that's already out there on web
sites. Should we also suggest that they do something about the easy
access to email addresses by searching google.com for
"@hotmail.com"?
EULA: By reading this post and associated disclaimer, you are consenting to agree with the opinions disclosed within. If you disagree with this license agreement, you may not return it for a refund.
|
|
-
-
Some Idiot


- Joined on 07-07-2006
- Posts 205
|
igitur: You have no idea how many times this happens to me... pubic
Yes, embarrased as I am to admit it, I often find myself declaring my pubic void.
I will use a <sarcasm/> tag if you use a <stupidity/> tag.
|
|
Page 1 of 1 (43 items)
|
|
|