dream hardware

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • castironpi@gmail.com

    dream hardware

    What is dream hardware for the Python interpreter?
  • Warren Myers

    #2
    Re: dream hardware

    A Cray?

    What are you trying to do? "dream" hardware is a very wide question.

    WMM

    On Feb 12, 2008 1:05 PM, <castironpi@gma il.comwrote:

    --

    "God may not play dice with the universe, but something strange is
    going on with the prime numbers." --Paul Erdõs
    "It's not possible. We are the type of people who have everything in
    our favor going against us." --Ben Jarhvi, Short Circuit 2

    Comment

    • Jeff Schwab

      #3
      Re: dream hardware

      On Feb 12, 2008 1:05 PM, <castironpi@gma il.comwrote:
      >What is dream hardware for the Python interpreter?
      Warren Myers wrote:
      A Cray?
      >
      What are you trying to do? "dream" hardware is a very wide question.
      The only "dream hardware" I know of is the human brain. I have a
      slightly used one myself, and it's a pretty mediocre Python interpreter.

      Comment

      • castironpi@gmail.com

        #4
        Re: dream hardware

        On Feb 12, 12:31 pm, Jeff Schwab <j...@schwabcen ter.comwrote:
        On Feb 12, 2008 1:05 PM,  <castiro...@gma il.comwrote:
        What is dream hardware for the Python interpreter?
        Warren Myers wrote:
        >
         A Cray?
         >
         What are you trying to do? "dream" hardware is a very wide question.
        >
        The only "dream hardware" I know of is the human brain.  I have a
        slightly used one myself, and it's a  pretty mediocre Python interpreter..
        Someone mentioned language-specific chips earlier. Or, if you could
        dedicate processes on certain chips or cores. Paralell, serial, cache
        size, pick.

        Comment

        • Tim Chase

          #5
          Re: dream hardware

          >>What is dream hardware for the Python interpreter?
          >
          The only "dream hardware" I know of is the human brain. I have a
          slightly used one myself, and it's a pretty mediocre Python interpreter.
          the human brain may be a pretty mediocre Python interpreter, but
          darn if I don't miss
          >>import dwim
          on other platforms...

          -tkc



          Comment

          • castironpi@gmail.com

            #6
            Re: dream hardware

            On Feb 12, 1:03 pm, Tim Chase <python.l...@ti m.thechases.com wrote:
            >What is dream hardware for the Python interpreter?
            >
            The only "dream hardware" I know of is the human brain.  I have a
            slightly used one myself, and it's a  pretty mediocre Python interpreter.
            >
            the human brain may be a pretty mediocre Python interpreter, but
            darn if I don't miss
            >
              >>import dwim
            >
            on other platforms...
            >
            -tkc
            You ever go to bars? import dwis. sigh()

            Comment

            • Carl Banks

              #7
              Re: dream hardware

              On Feb 12, 1:05 pm, castiro...@gmai l.com wrote:
              What is dream hardware for the Python interpreter?
              A 10 GHz single core.

              (Dual core if doing lots of I/O.)


              Carl Banks

              Comment

              • Bjoern Schliessmann

                #8
                Re: dream hardware

                Jeff Schwab wrote:
                The only "dream hardware" I know of is the human brain.
                Nah. Too few storage capacity, and too slow and error-prone at
                simple calculations. The few special but very advanced features are
                all hard-wired to custom hardware, it's a real nightmare
                interfacing with it.

                Regards,


                Björn

                --
                BOFH excuse #373:

                Suspicious pointer corrupted virtual machine

                Comment

                • castironpi@gmail.com

                  #9
                  Re: dream hardware

                  On Feb 12, 3:42 pm, Bjoern Schliessmann <usenet-
                  mail-0306.20.chr0n.. .@spamgourmet.c omwrote:
                  Jeff Schwab wrote:
                  The only "dream hardware" I know of is the human brain.
                  >
                  Nah. Too few storage capacity, and too slow and error-prone at
                  simple calculations. The few special but very advanced features are
                  all hard-wired to custom hardware, it's a real nightmare
                  interfacing with it.
                  >
                  Regards,
                  >
                  Björn
                  >
                  --
                  BOFH excuse #373:
                  >
                  Suspicious pointer corrupted virtual machine
                  Hold only one- recognition.

                  Comment

                  • Steven D'Aprano

                    #10
                    Re: dream hardware

                    On Tue, 12 Feb 2008 10:05:59 -0800, castironpi wrote:
                    What is dream hardware for the Python interpreter?
                    I'm not sure that the Python interpreter actually does dream, but if it's
                    anything like me, it's probably a giant computer the size of a bus, made
                    out of broccoli and oven-roasted garlic, that suddenly turns into
                    Sylvester Stallone in a tutu just before my program returns its result.


                    --
                    Steven

                    Comment

                    • Warren Myers

                      #11
                      Re: dream hardware

                      /me no longer wishes to know about your dreams.

                      WMM

                      On Feb 12, 2008 4:56 PM, Steven D'Aprano
                      <steve@remove-this-cybersource.com .auwrote:
                      On Tue, 12 Feb 2008 10:05:59 -0800, castironpi wrote:
                      >
                      What is dream hardware for the Python interpreter?
                      >
                      I'm not sure that the Python interpreter actually does dream, but if it's
                      anything like me, it's probably a giant computer the size of a bus, made
                      out of broccoli and oven-roasted garlic, that suddenly turns into
                      Sylvester Stallone in a tutu just before my program returns its result.
                      >
                      >
                      --
                      Steven
                      >
                      --

                      >


                      --

                      "God may not play dice with the universe, but something strange is
                      going on with the prime numbers." --Paul Erdõs
                      "It's not possible. We are the type of people who have everything in
                      our favor going against us." --Ben Jarhvi, Short Circuit 2

                      Comment

                      • Martin P. Hellwig

                        #12
                        Re: dream hardware

                        Bjoern Schliessmann wrote:
                        Jeff Schwab wrote:
                        >
                        >The only "dream hardware" I know of is the human brain.
                        >
                        Nah. Too few storage capacity, and too slow and error-prone at
                        simple calculations. The few special but very advanced features are
                        all hard-wired to custom hardware, it's a real nightmare
                        interfacing with it.
                        >
                        Regards,
                        >
                        >
                        Björn
                        >
                        Yes and don't try to do a direct interface if you are not absolutely,
                        certainly, 100% sure, that the understanding of the API is mutual.

                        If not, be prepare to handle exceptions. Some you can ignore in a
                        try/except clause like SyntaxError, MemoryError, RuntimeError and
                        ReferenceError.

                        Others should be more interpreted like a progress indication, for
                        example: ArithmeticError which may be raised like a plain StandardError.

                        But if you are lucky and get things more or less running watch out for
                        LookupError, BaseException, EnvironmentErro r and NameError, does can
                        ruin your day and may even be fatal.

                        Absolutely fatal are: ValueError and TypeError, nothing really you can
                        do against, even if you can catch these errors the program will usually
                        still halt on a SystemExit.

                        And if you think that is the worst can happen, he!
                        There is still: AttributeError, ImportError, IOError and OverflowError.

                        And it the end if all that didn't happen there is quite a chance either
                        you or the other go for a NotImplementedE rror.

                        If that didn't happen you always get after random() time an EOFError,
                        however the good thing is that the process continues due to os.fork()
                        (not available on all platforms).

                        Don't count on return(0).

                        --
                        mph

                        Comment

                        • Jeff Schwab

                          #13
                          Re: dream hardware

                          Steven D'Aprano wrote:
                          On Tue, 12 Feb 2008 10:05:59 -0800, castironpi wrote:
                          >
                          >What is dream hardware for the Python interpreter?
                          >
                          I'm not sure that the Python interpreter actually does dream, but if it's
                          anything like me, it's probably a giant computer the size of a bus, made
                          out of broccoli and oven-roasted garlic, that suddenly turns into
                          Sylvester Stallone in a tutu just before my program returns its result.
                          *Oven-roasted* garlic? OK, that's just weird.

                          Comment

                          • Ben Finney

                            #14
                            Re: dream hardware

                            Jeff Schwab <jeff@schwabcen ter.comwrites:
                            *Oven-roasted* garlic? OK, that's just weird.
                            Why, where do you roast your garlic?

                            --
                            \ "Crime is contagious ... if the government becomes a |
                            `\ lawbreaker, it breeds contempt for the law." -- Justice Louis |
                            _o__) Brandeis |
                            Ben Finney

                            Comment

                            • Asun Friere

                              #15
                              Re: *Oven-roasted* garlic?

                              On Feb 13, 12:31 pm, Jeff Schwab <j...@schwabcen ter.comwrote:
                              *Oven-roasted* garlic? OK, that's just weird.
                              Not weird -- delicious! Try doing it like this: Take a whole knob
                              unpeeled dribble on some olive oil and black pepper and bake in a
                              medium oven for 10-15 mins. Pull apart into individual cloves which
                              are pressed to squirt the now soft (and much less pungent) garlic
                              out. Eat it on croutons, toast, the chicken you've just roasted at
                              the same time or whatever.

                              Comment

                              Working...