Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69484

Re: Code style query: multiple assignments in if/elif tree

References (3 earlier) <CALwzidmEqc45K49c3agMzRzpAtEqejGF2svpPOZXg5X6dbBnGw@mail.gmail.com> <CA+vVgJUW8hugy-9Dt16unYdPw8zw4_F7=rtpQb5SmmLbUORafw@mail.gmail.com> <CALwzidnvTfyUO8iRaosYYK8oW0xMaM0PkKu1jxiWED_zwMDaxA@mail.gmail.com> <CA+vVgJUfpHz=ZoxrHP1057o60BhY0O8HRfYKk=6WSNDecmvoTA@mail.gmail.com> <CA+vVgJXon5=OPt_3=nRmtY+=ZGRtxHdciQeCQB6zkcsZCr+c-Q@mail.gmail.com>
Date 2014-04-01 03:39 -0400
Subject Re: Code style query: multiple assignments in if/elif tree
From David Hutto <dwightdhutto@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.8779.1396337950.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

The link isn't to prove my ideology of what happens, it to show what you
might be thinking about, instead of how I feel about it...nth dimensional
dynamics/hyperspace taken out. Been out of this for a while due to medical
reasons, but try to keep up on the latest measurements/accumulated data
with today's(what has been publicly released) manufacturing levels.


On Tue, Apr 1, 2014 at 3:34 AM, David Hutto <dwightdhutto@gmail.com> wrote:

> You would be assuming a quantum leap type theory, that the object has no
> Vo->V1, it just adjusts to the constant immediately, instead of what I
> would call the quantum leap,without other 'theories' involved, that it has
> a classical physics type movement in which it can accelerate from a resting
> position, to a velocity, and then regain orbit:
>
> http://wiki.answers.com/Q/What_is_a_quantum_leap
>
>
>
> On Tue, Apr 1, 2014 at 3:21 AM, David Hutto <dwightdhutto@gmail.com>wrote:
>
>> u is the initial velocity from a starting/resting point, not a static
>> speed at that point, and begins to accelerate,
>> over a particular timeframe, in which it's momentum is not stopped by
>> friction on which the rails/environment it travels upon has, or the similar
>> properties the object might have during acceleration in relation to the
>> environment it travels within.
>>
>> So the object has a starting point at which there is no equal, or
>> opposing force, as it begins to accelerate from a resting position(Newton:
>> an object will remain in motion, until acted upon  by an equal or opposite
>> force, and in this case the motion is propulsion of the object, or the
>> newtons of propulsion, until it is moving at the exact speed of the
>> propulsion applied to the object->Vo-V1, with 0 friction/viscosity during
>> this timeframe).
>>
>> The difference in our opinions, seems to be that there is an initial
>> resting state, and not at an already accelerated motion that has reached
>> it's maximum capacity.
>>
>>
>> So there is a dynamic in my mind's eye, where the object is at a
>> "resting" point initially, and either the environment, or the object can
>> maneuver their own viscosity in relation to the other.
>>
>>
>> On Tue, Apr 1, 2014 at 2:39 AM, Ian Kelly <ian.g.kelly@gmail.com> wrote:
>>
>>> On Tue, Apr 1, 2014 at 12:24 AM, David Hutto <dwightdhutto@gmail.com>
>>> wrote:
>>> >>
>>> >> >> (1) v = u + at
>>> >> >> (2) s = 1/2(u + v)t
>>> >> >> (3) s = ut + 1/2(at^2)
>>> >> >> (4) v^2 = u^2 + 2as
>>> >> >>
>>> >> >> Only (1) and (3) are needed.
>>> >> >
>>> >> > Okay, what's u here? Heh.
>>> >>
>>> >> u is the initial velocity; v is the velocity after accelerating at a
>>> for
>>> >> time t.
>>> >
>>> >
>>> > This assumes that the viscosity is in a state of superfluidity, and in
>>> a
>>> > perfect state between itself, and it's traveling environment.
>>>
>>> I fail to see how this is relevant.  I would assume that the amount of
>>> friction is already modeled in the acceleration constants; if it were
>>> zero then the brakes would be nonfunctional and the train would not be
>>> able to accelerate or decelerate at all.  In any case, a change in
>>> friction simply works out to a change in acceleration.  The equations
>>> above still hold true.
>>> --
>>> https://mail.python.org/mailman/listinfo/python-list
>>>
>>
>>
>>
>> --
>> Best Regards,
>> David Hutto
>> *CEO:* *http://www.hitwebdevelopment.com
>> <http://www.hitwebdevelopment.com>*
>>
>
>
>
> --
> Best Regards,
> David Hutto
> *CEO:* *http://www.hitwebdevelopment.com
> <http://www.hitwebdevelopment.com>*
>



-- 
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com <http://www.hitwebdevelopment.com>*

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 01:33 +1100
  Re: Code style query: multiple assignments in if/elif tree Marko Rauhamaa <marko@pacujo.net> - 2014-03-31 18:40 +0300
    Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 03:03 +1100
      Re: Code style query: multiple assignments in if/elif tree Rustom Mody <rustompmody@gmail.com> - 2014-03-31 09:20 -0700
        Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 03:29 +1100
          Re: Code style query: multiple assignments in if/elif tree "Rhodri James" <rhodri@wildebst.org.uk> - 2014-03-31 21:31 +0100
    Re: Code style query: multiple assignments in if/elif tree Ned Batchelder <ned@nedbatchelder.com> - 2014-03-31 17:42 -0400
    Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 09:50 +1100
    Re: Code style query: multiple assignments in if/elif tree Ben Finney <ben+python@benfinney.id.au> - 2014-04-01 09:57 +1100
    Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 10:12 +1100
      Re: Code style query: multiple assignments in if/elif tree Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-04-01 00:57 +0000
    Re: Code style query: multiple assignments in if/elif tree Ethan Furman <ethan@stoneleaf.us> - 2014-03-31 17:30 -0700
  Re: Code style query: multiple assignments in if/elif tree Steven D'Aprano <steve@pearwood.info> - 2014-04-01 04:26 +0000
    Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 16:01 +1100
      Re: Code style query: multiple assignments in if/elif tree Steven D'Aprano <steve@pearwood.info> - 2014-04-01 07:20 +0000
        Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 18:35 +1100
          Re: Code style query: multiple assignments in if/elif tree Steven D'Aprano <steve@pearwood.info> - 2014-04-01 08:07 +0000
            Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 19:12 +1100
        Re: Code style query: multiple assignments in if/elif tree Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-01 02:18 -0600
        Re: Code style query: multiple assignments in if/elif tree Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-01 02:24 -0600
    Re: Code style query: multiple assignments in if/elif tree Rustom Mody <rustompmody@gmail.com> - 2014-03-31 22:45 -0700
      Re: Code style query: multiple assignments in if/elif tree David Hutto <dwightdhutto@gmail.com> - 2014-04-01 02:05 -0400
      Re: Code style query: multiple assignments in if/elif tree Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-01 00:28 -0600
    Re: Code style query: multiple assignments in if/elif tree Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-01 00:13 -0600
    Re: Code style query: multiple assignments in if/elif tree David Hutto <dwightdhutto@gmail.com> - 2014-04-01 02:24 -0400
    Re: Code style query: multiple assignments in if/elif tree Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-01 00:39 -0600
    Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 17:55 +1100
      Re: Code style query: multiple assignments in if/elif tree Steven D'Aprano <steve@pearwood.info> - 2014-04-01 07:29 +0000
        Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 18:49 +1100
        Re: Code style query: multiple assignments in if/elif tree Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-01 02:29 -0600
        Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 19:56 +1100
    Re: Code style query: multiple assignments in if/elif tree David Hutto <dwightdhutto@gmail.com> - 2014-04-01 03:21 -0400
    Re: Code style query: multiple assignments in if/elif tree Chris Angelico <rosuav@gmail.com> - 2014-04-01 18:26 +1100
    Re: Code style query: multiple assignments in if/elif tree David Hutto <dwightdhutto@gmail.com> - 2014-04-01 03:34 -0400
    Re: Code style query: multiple assignments in if/elif tree David Hutto <dwightdhutto@gmail.com> - 2014-04-01 03:39 -0400
    Re: Code style query: multiple assignments in if/elif tree David Hutto <dwightdhutto@gmail.com> - 2014-04-01 03:46 -0400
    Re: Code style query: multiple assignments in if/elif tree Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-01 02:55 -0600

csiph-web