www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Searching the digitalmars.com/d website

reply Ary Borenszweig <ary esperanto.org.ar> writes:
Sorry for brining this topic again, but there's something that really 
worries me (not that I cannot sleep at night, but...)

Take this page:

http://www.digitalmars.com/d/2.0/function.html

There are some big headers there: "pure functions", "nothrow functions", 
  "ref functions", "virtual functions", "Function Inheritance and 
Overriding", "Function Overloading", etc.

Searching *any* of those phrases (without the quotes) leads to results 
other than that page. Searching them with quotes further restrict the 
results, sometimes resulting in none.

Maybe that specific page is not being indexed by that search box. But it 
doesn't seem to be the case. I tried other random searches over other 
page headers:

- "Linkage Attribute" in 
http://www.digitalmars.com/d/2.0/attribute.html: not what I was looking for.
- "Properties for Floating Point Types" in 
http://www.digitalmars.com/d/2.0/property.html: not what I was looking for.
- "Class Properties" in http://www.digitalmars.com/d/2.0/class.html: not 
what I was looking for.
- getVirtualFunctions in http://www.digitalmars.com/d/2.0/traits.html: 
found it.
- "Order Of Evaluation" in 
http://www.digitalmars.com/d/2.0/expression.html: no...

I'm starting to think that some pages aren't being indexed. For example 
in http://www.digitalmars.com/d/2.0/expression.html there's this phrase: 
"The following binary expressions are evaluated in an 
implementation-defined order". When I search it, with quotes, it leads 
to www.digitalmars.com/d/2.0/.../std_algorithm.html (not what I was 
looking for)

However, when searching that same phrase in Google (not the Goolge 
search-box in digitalmars.com/d), the first result is the expression 
page for D2, the second is the same one for D1, etc.

Should I report a bug for this? I wanted to discuss it here first 
because maybe somebody knows what's going on...
Aug 05 2009
next sibling parent reply Tim Matthews <tim.matthews7 gmail.com> writes:
On Wed, 05 Aug 2009 08:39:27 -0300
Ary Borenszweig <ary esperanto.org.ar> wrote:

 Sorry for brining this topic again, but there's something that really 
 worries me (not that I cannot sleep at night, but...)
 
 Take this page:
 
 http://www.digitalmars.com/d/2.0/function.html
 
 There are some big headers there: "pure functions", "nothrow
 functions", "ref functions", "virtual functions", "Function
 Inheritance and Overriding", "Function Overloading", etc.
 
 Searching *any* of those phrases (without the quotes) leads to
 results other than that page. Searching them with quotes further
 restrict the results, sometimes resulting in none.
 
 Maybe that specific page is not being indexed by that search box. But
 it doesn't seem to be the case. I tried other random searches over
 other page headers:
 
 - "Linkage Attribute" in 
 http://www.digitalmars.com/d/2.0/attribute.html: not what I was
 looking for.
 - "Properties for Floating Point Types" in 
 http://www.digitalmars.com/d/2.0/property.html: not what I was
 looking for.
 - "Class Properties" in http://www.digitalmars.com/d/2.0/class.html:
 not what I was looking for.
 - getVirtualFunctions in
 http://www.digitalmars.com/d/2.0/traits.html: found it.
 - "Order Of Evaluation" in 
 http://www.digitalmars.com/d/2.0/expression.html: no...
 
 I'm starting to think that some pages aren't being indexed. For
 example in http://www.digitalmars.com/d/2.0/expression.html there's
 this phrase: "The following binary expressions are evaluated in an 
 implementation-defined order". When I search it, with quotes, it
 leads to www.digitalmars.com/d/2.0/.../std_algorithm.html (not what I
 was looking for)
 
 However, when searching that same phrase in Google (not the Goolge 
 search-box in digitalmars.com/d), the first result is the expression 
 page for D2, the second is the same one for D1, etc.
 
 Should I report a bug for this? I wanted to discuss it here first 
 because maybe somebody knows what's going on...

You will probably find that when you have the correctly constructed query google is also easier to find things on the news groups. I also find google the easiest way to find anything on any site so I just use google otherwise I would be very busy reporting bugs / suggestions to every site I have ever searched.
Aug 05 2009
next sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Tim Matthews wrote:
 You will probably find that when you have the correctly constructed
 query google is also easier to find things on the news groups. I also
 find google the easiest way to find anything on any site so I just use
 google otherwise I would be very busy reporting bugs / suggestions to
 every site I have ever searched. 

Google is the one doing the searching on the local search box, so I have no idea what the problem is caused by.
Aug 05 2009
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Walter Bright escribió:
 Tim Matthews wrote:
 You will probably find that when you have the correctly constructed
 query google is also easier to find things on the news groups. I also
 find google the easiest way to find anything on any site so I just use
 google otherwise I would be very busy reporting bugs / suggestions to
 every site I have ever searched. 

Google is the one doing the searching on the local search box, so I have no idea what the problem is caused by.

Strange: now my previous searches work (well, most of them). What could have happened?
Aug 05 2009
parent reply Walter Bright <newshound1 digitalmars.com> writes:
Ary Borenszweig wrote:
 Strange: now my previous searches work (well, most of them). What could 
 have happened?

Sometimes google gives erratic behavior if part of their farm goes down.
Aug 05 2009
parent reply Chad J <chadjoan __spam.is.bad__gmail.com> writes:
Walter Bright wrote:
 Ary Borenszweig wrote:
 Strange: now my previous searches work (well, most of them). What
 could have happened?

Sometimes google gives erratic behavior if part of their farm goes down.

Any chance we can get a search that /only/ searches the spec? Not only is such a thing long overdue, but it would allow us to circumvent such erratic behavior to a degree.
Aug 05 2009
parent reply Daniel Keep <daniel.keep.lists gmail.com> writes:
Chad J wrote:
 Walter Bright wrote:
 Ary Borenszweig wrote:
 Strange: now my previous searches work (well, most of them). What
 could have happened?


Any chance we can get a search that /only/ searches the spec? Not only is such a thing long overdue, but it would allow us to circumvent such erratic behavior to a degree.

Your Google-fu is weak, grasshopper. To search for "pure functions" only within the spec and standard library: pure functions site:digitalmars.com inurl:/d/2 Note that this includes the various articles as well. If you want to exclude Phobos, drop a -inurl:/phobos/ on the end.
Aug 05 2009
next sibling parent Daniel Keep <daniel.keep.lists gmail.com> writes:
Adam D. Ruppe wrote:
 On Thu, Aug 06, 2009 at 01:15:10PM +1000, Daniel Keep wrote:
 Your Google-fu is weak, grasshopper.

I added that to my fledgling D tips page: http://arsdnet.net/dtips/ You don't mind the quotation there do you? (just checking for copyright purposes) This is the kind of little tip that would be hugely beneficial to people; I often found myself wondering how to do that too. Thanks!

I don't think you could realistically expect to copyright something that short, but just in case: go for it.
Aug 05 2009
prev sibling parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Daniel Keep escribió:
 Chad J wrote:
 Walter Bright wrote:
 Ary Borenszweig wrote:
 Strange: now my previous searches work (well, most of them). What
 could have happened?


Not only is such a thing long overdue, but it would allow us to circumvent such erratic behavior to a degree.

Your Google-fu is weak, grasshopper. To search for "pure functions" only within the spec and standard library: pure functions site:digitalmars.com inurl:/d/2 Note that this includes the various articles as well. If you want to exclude Phobos, drop a -inurl:/phobos/ on the end.

That's great. :) Now it would be greater to put a radio button below the search box: Search: (o) the whole site (o) the spec or something like that, because it's really, really useful.
Aug 06 2009
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Ary Borenszweig wrote:
 Daniel Keep escribió:
 Chad J wrote:
 Walter Bright wrote:
 Ary Borenszweig wrote:
 Strange: now my previous searches work (well, most of them). What
 could have happened?

down.

Not only is such a thing long overdue, but it would allow us to circumvent such erratic behavior to a degree.

Your Google-fu is weak, grasshopper. To search for "pure functions" only within the spec and standard library: pure functions site:digitalmars.com inurl:/d/2 Note that this includes the various articles as well. If you want to exclude Phobos, drop a -inurl:/phobos/ on the end.

That's great. :) Now it would be greater to put a radio button below the search box: Search: (o) the whole site (o) the spec or something like that, because it's really, really useful.

Search: (o) the whole site (o) the spec (o) the Web Andrei
Aug 06 2009
parent Daniel Keep <daniel.keep.lists gmail.com> writes:
Andrei Alexandrescu wrote:
 Ary Borenszweig wrote:
 ...

 That's great. :)

 Now it would be greater to put a radio button below the search box:

 Search: (o) the whole site  (o) the spec

 or something like that, because it's really, really useful.

Search: (o) the whole site (o) the spec (o) the Web Andrei

Search: (o) the whole site (o) D1 (o) D1 (spec) (o) D1 (phobos) (o) D2 (o) D2 (spec) (o) D2 (phobos) (o) Newsgroups (o) Newsgroups (D-only) (o) Newsgroups (D-only, but not including D.bugs) (o) Pages that include changes between D1 and D2 and have at least one newsgroup posting regarding the change made on either a Wednesday or a Friday, except during a month with an even number of days in which case it should be Tuesday or Saturday. Which is why you use tags. :P
Aug 06 2009
prev sibling next sibling parent "Adam D. Ruppe" <destructionator gmail.com> writes:
On Thu, Aug 06, 2009 at 01:15:10PM +1000, Daniel Keep wrote:
 Your Google-fu is weak, grasshopper.

I added that to my fledgling D tips page: http://arsdnet.net/dtips/ You don't mind the quotation there do you? (just checking for copyright purposes) This is the kind of little tip that would be hugely beneficial to people; I often found myself wondering how to do that too. Thanks! -- Adam D. Ruppe http://arsdnet.net
Aug 05 2009
prev sibling parent language_fan <foo bar.com.invalid> writes:
Fri, 07 Aug 2009 04:46:37 +1000, Daniel Keep thusly wrote:

 Search: (o) the whole site (o) D1 (o) D1 (spec) (o) D1 (phobos) (o) D2
 (o) D2 (spec) (o) D2 (phobos) (o) Newsgroups (o) Newsgroups (D-only) (o)
 Newsgroups (D-only, but not including D.bugs) (o) Pages that include
 changes between D1 and D2 and have at least one newsgroup posting
 regarding the change made on either a Wednesday or a Friday, except
 during a month with an even number of days in which case it should be
 Tuesday or Saturday.

I guess I'm not completely wrong if I say you're probably not an user interface designer at Apple :)
Aug 06 2009
prev sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Ary Borenszweig wrote:
 Sorry for brining this topic again, but there's something that really 
 worries me (not that I cannot sleep at night, but...)
 
 Take this page:
 
 http://www.digitalmars.com/d/2.0/function.html
 
 There are some big headers there: "pure functions", "nothrow functions", 
  "ref functions", "virtual functions", "Function Inheritance and 
 Overriding", "Function Overloading", etc.
 
 Searching *any* of those phrases (without the quotes) leads to results 
 other than that page. Searching them with quotes further restrict the 
 results, sometimes resulting in none.

I just tried it. I only get results from urls that start with http://www.digitalmars.com/d/2.0
Aug 06 2009
parent Walter Bright <newshound1 digitalmars.com> writes:
Walter Bright wrote:
 I just tried it. I only get results from urls that start with 
 http://www.digitalmars.com/d/2.0

Here is the google search url it generated: http://www.google.com/search?q=pure+functions&domains=www.digitalmars.com&sitesearch=www.digitalmars.com%2Fd%2F2.0&sourceid=google-search&submit=Go
Aug 06 2009