python a bust?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Anand Pillai

    #46
    Re: python a bust?

    I think my O.P has been taken out of context here.

    Python is a great language, it is flexible, agile,
    great for newbies, good for experts at the samt time,
    allows for prototyping blah blah... I am sure everyone
    in this group will tend to agree with most of these
    oft repeated statements.

    My question was that, "If it is such a great language, why
    it is not getting the recognition it deserves"?

    Probably there is a need to change the attitude of Pythonistas
    about their language. It needs to probably come out from that
    "high pedestal" where books get written only if there is a definite
    need percieved. One way to do that is may be, just may be to
    actually create market for new python books.

    The "right" way to do this is by synergy. First we need to popularize
    the language, get the website in right shape, evangelize it,
    get it accepted by the Suits, then it will get accepted by the Suits
    as their language of choice in s/w projects and in due course
    every Java or C++ guy will be buying new Python books from the
    bookstall. Ah, but this topic often gets discussed again and again
    and I was wondering if there is a tendency to come full circle
    starting from the book topic, without really achieving anything.

    In fact, I have been commisioned to write a series of articles on
    Python in a popular computer magazine in India. I am trying to do what
    I can to evangelize the language in and around where I live, as I
    percieve potential in it, and perhaps potential for me to grow with
    the language.

    There is no way AFAIK any index to measure the popularity of a
    language
    by the plethora of books written on it. But it is common sense that
    if there are many authors writing books on a language it has got to be
    popular. Doesn't popularity mean the number of people interested in
    a certain thing? So if 'n' guys are writing books on Python and
    'n*100' guys on C++, I would say, not as a techie, but as an average
    person, that C++ is more popular than Python.

    There was a company called Wrox writing P2P (Programmer 2 Programmer)
    books
    on many technical topics. I think it got absorbed by Wiley recently.
    Their choice of topics was "Popular" languages and technologies used
    by
    practicing software developers. I never saw a Python book in their
    stable.
    Of course, again dont start a thread about the technical perfection of
    Wrox
    books, since I know that their style & content cannot be compared with
    an O'reilly nutshell book. But as again, I am not talking about
    anything regarding
    the "greatness" of the language, but just simple arithmetic.

    -Anand

    "Brandon J. Van Every" <try_vanevery_a t_mycompanyname @yahoo.com> wrote in message news:<bp40pd$1k g9av$1@ID-207230.news.uni-berlin.de>...[color=blue]
    > John J. Lee wrote:[color=green]
    > > pythonguy@Hotpo p.com (Anand Pillai) writes:
    > > [...][color=darkred]
    > >> There might have been thousands of books published in C/C++
    > >> language and they have all helped to popularize it in one
    > >> or the other way. Contrast, in the python world we have one
    > >> Alex Martelli, one Wesley Chun, one David Mertz, really
    > >> countable by hand.[/color]
    > >
    > > And thank heavens for that. Most books on C++ (and the same goes for
    > > all kinds of other technical subjects) actually do nothing other to
    > > make it harder to find the decent books. Ironically, the good books
    > > often seem to get published first, followed afterwards by a glut of
    > > awful ones jumping on the bandwagon. So much for competition...[/color]
    >
    > But the questions are:
    > 1) do the "crappy" books sell briskly to someone?
    > 2) is a plethora of books a healthy sign for a language?[/color]

    Comment

    • Alex Martelli

      #47
      Re: python a bust?

      Anand Pillai wrote:
      ...[color=blue]
      > There was a company called Wrox writing P2P (Programmer 2 Programmer)
      > books on many technical topics. I think it got absorbed by Wiley recently.[/color]

      They had gone bust, and the brand has been purchased.
      [color=blue]
      > Their choice of topics was "Popular" languages and technologies used
      > by practicing software developers. I never saw a Python book in their
      > stable.
      > Of course, again dont start a thread about the technical perfection of
      > Wrox books, since I know that their style & content cannot be compared
      > with an O'reilly nutshell book.[/color]

      You're wrong: some of their books were truly excellent. Short of Don Box's
      Addison-Wesley bible, they had the best on COM, and the best in particular
      on ATL, the best way to do COM in Visual C++. Of course, many others
      (while still technically OK) were "me too"'s in crowded fields.
      [color=blue]
      > But as again, I am not talking about
      > anything regarding
      > the "greatness" of the language, but just simple arithmetic.[/color]

      Simple arithmetic tells us Wrox went bust (despite having some excellent
      books and a very vast selection). I'm not sure how you plan to use this to
      convince other publishers to put out plenty of "me too's" technically decent
      but mostly undistinguished books in crowded fields.


      Alex

      Comment

      • Alex Martelli

        #48
        Re: python a bust?

        Michele Simionato wrote:
        ...[color=blue]
        > the world is. So, I do promote Python, but the pacific way ;)
        >
        > Michele
        >
        > P.S. in Italian "pacific" means "peaceful" but also, referred to a person,
        > somebody with a slow pace, and/or somebody who doesn't worry too much
        > (like me ;) not sure if the English word has the same connotation, but[/color]

        Yes, "pacific" has exactly the same two connotations in American English
        as "pacifico" has in Italian -- http://www.bartleby.com/61/37/P0003700.html
        It's just a rare-ish word, being overwhelmed by [a] "peaceful" and [b] the
        geographic-connoting "Pacific" (which refers not just to the Ocean, but to
        the huge variety of regions bordering said Ocean...).


        Alex

        Comment

        • Michael Hudson

          #49
          Re: python a bust?

          pythonguy@Hotpo p.com (Anand Pillai) writes:
          [color=blue]
          > My question was that, "If it is such a great language, why
          > it is not getting the recognition it deserves"?[/color]

          Oh, I think bit by bit we're doing fine. I personally have no urge to
          rush things.

          Cheers,
          mwh

          --
          This is an off-the-top-of-the-head-and-not-quite-sober suggestion,
          so is probably technically laughable. I'll see how embarassed I
          feel tomorrow morning. -- Patrick Gosling, ucam.comp.misc

          Comment

          • Douglas Alan

            #50
            Re: python a bust?

            "A.M. Kuchling" <amk@amk.ca> writes:
            [color=blue]
            > Andrew Dalke <adalke@mindspr ing.com> wrote:[/color]
            [color=blue][color=green]
            >> At the last bioinformatics open-source software developer meeting
            >> I went to, everyone was running either Linux or OS X. People
            >> booted into MS Windows mostly to check comptability.[/color][/color]
            [color=blue]
            > Similar anecdotal evidence indicates the same is true for astronomers, at
            > least the astronomers my SO hangs out with. A friend also recently told me
            > of a family reunion where pretty much everyone had an Apple laptop except
            > him.[/color]

            I work for astronomers too, and we're slowly but steadily giving up on
            Solaris and moving to Linux and OS X. I also went to a conference on
            "Lightweigh t Languages" a week ago, and 8 out of 10 notebook computers
            in the audience were Apples.

            |>oug

            Comment

            • Anand Pillai

              #51
              Re: python a bust?

              It was a generalization, not with any malice :-)
              What I meant was that many of their books were "me-toos",
              especially the Early Adopter series. I did not do
              a blanket bombing of their books. But I will prefer
              an O'Reilly nutshell book anyday to a Wrox one.

              I am not planning to convince any publishers on the
              market of Python books. At least, not yet.

              -Anand

              Alex Martelli <aleaxit@yahoo. com> wrote in message news:<c%_tb.404 32$hV.1573516@n ews2.tin.it>...[color=blue]
              > Anand Pillai wrote:
              > ...[color=green]
              > > There was a company called Wrox writing P2P (Programmer 2 Programmer)
              > > books on many technical topics. I think it got absorbed by Wiley recently.[/color]
              >
              > They had gone bust, and the brand has been purchased.
              >[color=green]
              > > Their choice of topics was "Popular" languages and technologies used
              > > by practicing software developers. I never saw a Python book in their
              > > stable.
              > > Of course, again dont start a thread about the technical perfection of
              > > Wrox books, since I know that their style & content cannot be compared
              > > with an O'reilly nutshell book.[/color]
              >
              > You're wrong: some of their books were truly excellent. Short of Don Box's
              > Addison-Wesley bible, they had the best on COM, and the best in particular
              > on ATL, the best way to do COM in Visual C++. Of course, many others
              > (while still technically OK) were "me too"'s in crowded fields.
              >[color=green]
              > > But as again, I am not talking about
              > > anything regarding
              > > the "greatness" of the language, but just simple arithmetic.[/color]
              >
              > Simple arithmetic tells us Wrox went bust (despite having some excellent
              > books and a very vast selection). I'm not sure how you plan to use this to
              > convince other publishers to put out plenty of "me too's" technically decent
              > but mostly undistinguished books in crowded fields.
              >
              >
              > Alex[/color]

              Comment

              • John Howard

                #52
                Re: python a bust?

                Let's say some one walked into a book store and glanced at the books
                in computers. He might think, "gee look at all the books on java and
                perl and hardly any books on python. What is python? And it's not even
                in the languages section. No sense in looking at that!" It's a matter
                of perception. "Lots of perl and java - that's the way to go." I also
                agree that maybe a lot of books on python are not necessary to learn
                the langage. Heck, I learned almost all I know (which I admit is not
                much) from web tutorials and samples. But I do have questions I cannot
                find the answers to when I browse the book store. Eg, how do I do
                admin stuff with python? How do I do cgi stuff with python? There are
                books on how to do these in perl. Dozens.

                pythonguy@Hotpo p.com (Anand Pillai) wrote in message news:<84fc4588. 0311140319.3778 de15@posting.go ogle.com>...[color=blue]
                > In the ideal "techie makes decisions" world this would have
                > been a good thing. But not in the real world where the Suits
                > make decisions in corporates.
                >
                > There might have been thousands of books published in C/C++
                > language and they have all helped to popularize it in one
                > or the other way. Contrast, in the python world we have one
                > Alex Martelli, one Wesley Chun, one David Mertz, really
                > countable by hand.
                >
                > There is a limit to how much a single person can evangelize
                > a language. Questions similar to what the O.P posted arise
                > from the listeners.
                >
                > I would prefer to see more books on Python though they all might
                > be useless from a pure techie point of view. Let us have
                > a book on Software Projects in python for example. It might not
                > have the technical superiority of a Martelli book, but more
                > attempts like that will save the language and help the
                > eyeball factor, which is so important in practical marketing.
                >
                > -Anand
                >
                > afriere@yahoo.c o.uk (Asun Friere) wrote in message news:<38ec68a6. 0311132310.630e 10e2@posting.go ogle.com>...[color=green]
                > > python473@yahoo .com (John Howard) wrote in message news:<9eabe547. 0311131610.4dd7 819c@posting.go ogle.com>...[color=darkred]
                > > > I've sent several messages over the last year asking about python -
                > > > Who teaches python? Is python losing steam? etc. I have noticed, eg,
                > > > the declinng number of books at my local borders. The last time I
                > > > visited a borders (last week), there was 1 (sic) book about python on
                > > > the shelve compared to dozens on perl & java![/color]
                > >
                > >
                > > If you were developing in Java or Perl maybe you would need dozens of
                > > books. But Python is so elegant and intuitive a single one will do.
                > > ;)[/color][/color]

                Comment

                • Anand Pillai

                  #53
                  Re: python a bust?

                  Exactly my feelings on this topic :-)

                  -Anand

                  python473@yahoo .com (John Howard) wrote in message news:<9eabe547. 0311191757.2cc5 1af3@posting.go ogle.com>...[color=blue]
                  > Let's say some one walked into a book store and glanced at the books
                  > in computers. He might think, "gee look at all the books on java and
                  > perl and hardly any books on python. What is python? And it's not even
                  > in the languages section. No sense in looking at that!" It's a matter
                  > of perception. "Lots of perl and java - that's the way to go." I also
                  > agree that maybe a lot of books on python are not necessary to learn
                  > the langage. Heck, I learned almost all I know (which I admit is not
                  > much) from web tutorials and samples. But I do have questions I cannot
                  > find the answers to when I browse the book store. Eg, how do I do
                  > admin stuff with python? How do I do cgi stuff with python? There are
                  > books on how to do these in perl. Dozens.
                  >
                  > pythonguy@Hotpo p.com (Anand Pillai) wrote in message news:<84fc4588. 0311140319.3778 de15@posting.go ogle.com>...[color=green]
                  > > In the ideal "techie makes decisions" world this would have
                  > > been a good thing. But not in the real world where the Suits
                  > > make decisions in corporates.
                  > >
                  > > There might have been thousands of books published in C/C++
                  > > language and they have all helped to popularize it in one
                  > > or the other way. Contrast, in the python world we have one
                  > > Ale[/color][/color]
                  x Martelli, one Wesley Chun, one David Mertz, really[color=blue][color=green]
                  > > countable by hand.
                  > >
                  > > There is a limit to how much a single person can evangelize
                  > > a language. Questions similar to what the O.P posted arise
                  > > from the listeners.
                  > >
                  > > I would prefer to see more books on Python though they all might
                  > > be useless from a pure techie point of view. Let us have
                  > > a book on Software Projects in python for example. It might not
                  > > have the technical superiority of a Martelli book, but more
                  > > attempts like that will save the language and help the
                  > > eyeball factor, which is so important in practical marketing.
                  > >
                  > > -Anand
                  > >
                  > > afriere@yahoo.c o.uk (Asun Friere) wrote in message news:<38ec68a6. 0311132310.630e 10e2@posting.go ogle.com>...[color=darkred]
                  > > > python473@yahoo .com (John Howard) wrote in message news:<9eabe547. 0311131610.4dd7 819c@posting.go ogle.com>...
                  > > > > I've sent several messages over the last year asking about python -
                  > > > > Who teaches python? Is python losing steam? etc. I have noticed, eg,
                  > > > > the declinng number of books at my local borders. The last time I
                  > > > > visited a borders (last week), there was 1 (sic) book about python on
                  > > > > the shelve compared to dozens on perl & java!
                  > > >
                  > > >
                  > > > If you were developing in Java or Perl maybe you would need dozens of
                  > > > books. But Python is so elegant and intuitive a single one will do.
                  > > > ;)[/color][/color][/color]

                  Comment

                  • JD

                    #54
                    Terminal &quot;hang up&quot; problem

                    What is the best way to debug a Python program if when i run it, it
                    totally hangs up the
                    terminal console.

                    Control-c or control-d has NO effect, so it's hung up somewhere, but
                    we have no idea
                    where.

                    We are using Python 2.3, on an openBSD box, running the python script
                    from the shell.

                    Is it possible to somehow find out what is making it hang up?



                    Comment

                    • Skip Montanaro

                      #55
                      Re: Terminal &quot;hang up&quot; problem


                      JD> What is the best way to debug a Python program if when i run it, it
                      JD> totally hangs up the terminal console.

                      JD> Control-c or control-d has NO effect, so it's hung up somewhere, but
                      JD> we have no idea where.

                      Does it use X? If so, try setting your DISPLAY to another box. (Maybe it's
                      hanging the X server.) If not, try ssh'ing into the box from another
                      machine. Can you run top in another window while it runs? Perhaps it's
                      chewing up gobs of memory (got any monster range() calls in there)?

                      If you give us some more details about how you think it's supposed to
                      interact with the system we might be able to provide some more debugging
                      clues.

                      Skip

                      Comment

                      • Donn Cave

                        #56
                        Re: Terminal &quot;hang up&quot; problem

                        Quoth JD <lists@webcrunc hers.com>:
                        ....
                        | Control-c or control-d has NO effect, so it's hung up somewhere, but
                        | we have no idea
                        | where.

                        One way to look at it might be ktrace. Somewhere in there, you're
                        stuck in one of those damned kernel mediated services like NFS, and
                        some ioctl to the offending device will be the last syscall reported
                        for the process. lsof might be good enough.

                        Donn Cave, donn@drizzle.co m

                        Comment

                        • Bengt Richter

                          #57
                          Re: Terminal &quot;hang up&quot; problem

                          On Mon, 15 Dec 2003 16:07:31 -0800, JD <lists@webcrunc hers.com> wrote:
                          [color=blue]
                          >What is the best way to debug a Python program if when i run it, it
                          >totally hangs up the
                          >terminal console.
                          >
                          >Control-c or control-d has NO effect, so it's hung up somewhere, but
                          >we have no idea
                          >where.
                          >
                          >We are using Python 2.3, on an openBSD box, running the python script
                          >from the shell.
                          >
                          >Is it possible to somehow find out what is making it hang up?
                          >[/color]
                          have you tried gdb python and then run with your_python_pro g.py as the arg?
                          If gdb will catch a ctl-c then you might be able to use bt to get a backtrace?
                          (I don't really know much about gdb, but someone here has probably done this
                          and can tell you the right way to do it ;-)

                          Of course, there's the lions-in-africa thing of putting print statements to
                          narrow down successively the area where it could be hanging ;-)

                          Regards,
                          Bengt Richter

                          Comment

                          • Michael Hudson

                            #58
                            Re: Terminal &quot;hang up&quot; problem

                            JD <lists@webcrunc hers.com> writes:
                            [color=blue]
                            > What is the best way to debug a Python program if when i run it, it
                            > totally hangs up the
                            > terminal console.
                            >
                            > Control-c or control-d has NO effect, so it's hung up somewhere, but
                            > we have no idea
                            > where.
                            >
                            > We are using Python 2.3, on an openBSD box, running the python
                            > script from the shell.[/color]

                            "gdb -p"?

                            Cheers,
                            mwh

                            --
                            Q: Isn't it okay to just read Slashdot for the links?
                            A: No. Reading Slashdot for the links is like having "just one hit"
                            off the crack pipe.
                            -- http://www.cs.washington.edu/homes/k...shdot.html#faq

                            Comment

                            Working...