Where to find python c-sources

P

Peter Hansen

Michael said:
He said he had tried google - OK, not in the first post but early in this
thread - I don't equate that with being dumb - just dumb luck :)

Message-ID: <[email protected]>

After all Peter Hansen suggested the search terms "python socketmodule.c"
rather than just "socketmodule.c"

Message-ID: <[email protected]>

To you the obvious search term was "socketmodule.c" which to me simply means
you're more aligned with Google than Tor :)

Sorry, but this defense is less than weak. Using "python
socketmodule.c" you actually get the right answer as the third result,
while with the even-more-obvious-to-a-rookie "socketmodule.c" you get it
as the *first* result. It would perhaps be fun to experiment to see
just how hard it would be to use "socketmodule.c" plus anything else and
*not* get the result one was looking for. ;-) (note the wink...)

Clearly "Tor" did not try searching Google with two of the most obvious
results, but I think at this point he should be considered to be soundly
thrashed over the matter and we can all move on. This isn't getting any
more interesting...

-Peter
 
F

Fredrik Lundh

Peter said:
Sorry, but this defense is less than weak. Using "python
socketmodule.c" you actually get the right answer as the third result,
while with the even-more-obvious-to-a-rookie "socketmodule.c" you get it
as the *first* result.

using just "python" gives you a link to the source code download page as
part of the first result.

</F>
 
T

Terry Hancock

How odd -- the most useful link (the viewcvs page for this source
file) is the very first link for me when I search for socketmodule.c

Does google vary in its results across the globe?

Of course you meant to be snippy and sarcastic, but you've actually
exemplified the reason why so many people don't find such a thing
with Google. Like all search engines, you have to know the right
keyword -- to a fair degree of precision -- in order to find what
you're looking for.

This is very unlike asking a question of a human being. *People*
respond much better to general subject headings such as "socket
module" or "python sources" rather than looking for something
ultra-specific like a particular file name. Researchers take this
training with them when they approach Google and treat it like
a magic librarian -- they give it the same thing they would come
to a human librarian with.

Of course, that shows they are less adept with machines than you
are, just as your reply shows you are less adept with humans.

Both sides could probably learn from the encounter. ;-)

Seriously, though, for anybody new to using search engines, it
is a very useful rule of thumb -- search for a specific word
likely to appear on the page you are looking for, and not
elsewhere.

This also shows where Google fails and newsgroups succeed: when
you know what you want, but don't know what it's called. Often,
all a poster really needs is the right keyword to use.
 
T

Terry Hancock

[Tor Erik Sønvisen]
socketmodule.c, but I can't locate this file... Where should I look?

[John, finding 'socketmodule.c' responds well to "I'm Feeling Lucky"]
Does google vary in its results across the globe?
[Michael]
The search terms might be obvious to you, but it simply means your google-fu
is strong, and the strong should help the weak. (or not attack them at
least...)

You believe that Tor is dumb enough not to think of searching for
"socketmodule.c" when, um, searching for socketmodule.c?

No, ironically, the problem is that Tor is too *smart* to search
for "socketmodule.c" -- it requires *unlearning* the experience
from searching physical libraries where subject catalogs and librarians
are the "search engine". They don't respond to the same type of
search terms as machines do.
 
J

John J. Lee

Terry Hancock said:
Of course you meant to be snippy and sarcastic,

I really was wondering if such results varied, because it seemed hard
to believe somebody wouldn't do a similar search. And the idea that
but you've actually
exemplified the reason why so many people don't find such a thing
with Google. Like all search engines, you have to know the right
keyword -- to a fair degree of precision -- in order to find what
you're looking for.

Oh, come off it. It seems hard to imagine that trying socketmodule.c
when looking for socketmodule.c requires some expert search-fu that
I'm supposed to posess.

This is very unlike asking a question of a human being. *People*
respond much better to general subject headings such as "socket
module" or "python sources" rather than looking for something
ultra-specific like a particular file name.

He wasn't looking for general information. He told us he was looking
for socketmodule.c, for Pete's sake! And "python sources" *does*
takes you to the Python sources.

Researchers take this
training with them when they approach Google and treat it like
a magic librarian -- they give it the same thing they would come
to a human librarian with.

You conjure up in my mind a nice picture of an be-cardiganed gentleman
in an oak-panelled corner of the British Library, in his early
seventies complete with pipe, dust, and technophobia. Seems an
unlikely image for somebody with an email address containing the
string "@stud.cs." and stating their interest in reading networking
code written in C <wink>

Still, going back to researchers-with-pipes ("researcher" meaning
"collator of information" rather than "creator/discoverer of original
ideas"), I perhaps naively assume that such Google-phobic researchers
must nowadays do other work for a living. Who'd want to employ a
researcher who can't efficiently use search engines and other
databases these days? But as I say, I could well be naive here... I
recall my not-astonishment at trying to find a book in a local (but
not small) public library, and finding that the librarian was unable
to do so, despite their apparent enthusiasm at my request, and initial
proud promises that the databases they pay for would find it even if
none of the regional libraries had a copy (due in this case I suspect,
and hasten to add, to the databases simply lacking the relevant
records, rather than incompetence on the part of the librarian). I
walked round the corner and found it on both Amazon and Google in
around a few seconds each time. I had been led to believe books were
something of a library speciality...

In fact, rambling a little further, I can honestly say (in the
certainty and enjoyment of offending any librarians reading <0.75
wink>) that I've never knowingly extracted any useful information from
a librarian, who in legend are supposed to have such old-style
researcher-fu as you refer to. This applies even to pre-Google days,
despite having spent a fair amount of time in libraries, and asking a
fair range of questions over a period of years: some very specific,
some quite general and wooly; some particular, some about general
search strategies and techniques. <sarcasm level="0">Perhaps that
just reflects my interests or level of competence in one way or
another.</sarcasm>

[...]
Seriously, though, for anybody new to using search engines, it
is a very useful rule of thumb -- search for a specific word
likely to appear on the page you are looking for, and not
elsewhere.
[...]

It's quite true that has to be learned.


John
 
A

Alex Martelli

Steve Holden said:
goes a bit too far in imputing motives to the enquirer and overlooking
the fact that there are some very good reasons for *not* using Google.

It's a good thing you don't actually name any of those reasons, tho:).
we're talking male hormones here, since by and large women don't appear
to have embraced the Python community (except perhaps individually, but
that's no business of mine).

Anna seems to be doing fine, though. She's currently taking a C class
at college and claims "the more I know C, the more I love Python" - and
I gather she's evangelizing (and the class is about 50/50 genderwise;-).
Also, many regular readers didn't grow up speaking English (I was

Yep -- I'm one example of that. Didn't stop Google from hiring me,
though;-).


Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top