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


Groups > comp.lang.python > #76671 > unrolled thread

what do you get with 1 divide by 998001, interesting results

Started byEverything You Need To Know <eyn2k@outlook.com>
First post2014-08-20 08:36 -0700
Last post2014-08-21 15:15 -0700
Articles 7 on this page of 47 — 14 participants

Back to article view | Back to comp.lang.python


Contents

  what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 08:36 -0700
    Re: what do you get with 1 divide by 998001, interesting results Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-08-20 18:05 +0200
      Re: what do you get with 1 divide by 998001, interesting results Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-21 09:08 +1000
        Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 18:22 -0700
          Re: what do you get with 1 divide by 998001, interesting results Chris Angelico <rosuav@gmail.com> - 2014-08-21 11:41 +1000
          Re: what do you get with 1 divide by 998001, interesting results Ben Finney <ben+python@benfinney.id.au> - 2014-08-21 11:35 +1000
            Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 19:07 -0700
              Re: what do you get with 1 divide by 998001, interesting results Ben Finney <ben+python@benfinney.id.au> - 2014-08-21 14:39 +1000
                Re: what do you get with 1 divide by 998001, interesting results Rustom Mody <rustompmody@gmail.com> - 2014-08-20 21:49 -0700
                  Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 22:08 -0700
                    Re: what do you get with 1 divide by 998001, interesting results Ben Finney <ben+python@benfinney.id.au> - 2014-08-21 15:26 +1000
                      Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 22:38 -0700
                        Re: what do you get with 1 divide by 998001, interesting results Chris Angelico <rosuav@gmail.com> - 2014-08-21 15:49 +1000
                          Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 23:09 -0700
                            Re: what do you get with 1 divide by 998001, interesting results Chris Angelico <rosuav@gmail.com> - 2014-08-21 16:50 +1000
                              Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 23:52 -0700
                                Re: what do you get with 1 divide by 998001, interesting results Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-21 09:19 +0100
                            Re: what do you get with 1 divide by 998001, interesting results Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-21 09:15 +0100
                        Re: what do you get with 1 divide by 998001, interesting results Ben Finney <ben+python@benfinney.id.au> - 2014-08-21 15:54 +1000
                      Re: what do you get with 1 divide by 998001, interesting results Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-22 02:50 +1000
                        Re: what do you get with 1 divide by 998001, interesting results Terry Reedy <tjreedy@udel.edu> - 2014-08-21 16:15 -0400
                          Re: what do you get with 1 divide by 998001, interesting results Rustom Mody <rustompmody@gmail.com> - 2014-08-21 15:09 -0700
                        Re: what do you get with 1 divide by 998001, interesting results Ben Finney <ben+python@benfinney.id.au> - 2014-08-22 07:15 +1000
                          Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-21 16:10 -0700
                            Re: what do you get with 1 divide by 998001, interesting results Joel Goldstick <joel.goldstick@gmail.com> - 2014-08-21 19:28 -0400
                              Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-24 17:04 -0700
                                Re: what do you get with 1 divide by 998001, interesting results Chris Angelico <rosuav@gmail.com> - 2014-08-25 10:08 +1000
                            Re: what do you get with 1 divide by 998001, interesting results Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-22 02:27 +0100
                        Re: what do you get with 1 divide by 998001, interesting results Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-21 22:58 +0100
                    Re: what do you get with 1 divide by 998001, interesting results Rustom Mody <rustompmody@gmail.com> - 2014-08-20 22:31 -0700
              Re: what do you get with 1 divide by 998001, interesting results Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-21 09:09 +0100
          Re: what do you get with 1 divide by 998001, interesting results Steven D'Aprano <steve@pearwood.info> - 2014-08-21 02:36 +0000
            Re: what do you get with 1 divide by 998001, interesting results Rustom Mody <rustompmody@gmail.com> - 2014-08-20 19:46 -0700
            Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 20:48 -0700
              Re: what do you get with 1 divide by 998001, interesting results Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-20 23:03 -0600
                Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-20 23:18 -0700
                  Re: what do you get with 1 divide by 998001, interesting results Ben Finney <ben+python@benfinney.id.au> - 2014-08-21 16:30 +1000
          Re: what do you get with 1 divide by 998001, interesting results Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-08-21 10:23 +0200
    Re: what do you get with 1 divide by 998001, interesting results Terry Reedy <tjreedy@udel.edu> - 2014-08-21 03:25 -0400
      Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-21 00:40 -0700
        Re: what do you get with 1 divide by 998001, interesting results Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-21 09:24 +0100
    Re: what do you get with 1 divide by 998001, interesting results Everything You Need To Know <eyn2k@outlook.com> - 2014-08-21 06:25 -0700
      Re: what do you get with 1 divide by 998001, interesting results luofeiyu <elearn2014@gmail.com> - 2014-08-21 21:37 +0800
        Re: what do you get with 1 divide by 998001, interesting results Grant Edwards <invalid@invalid.invalid> - 2014-08-21 19:50 +0000
        Re: what do you get with 1 divide by 998001, interesting results Rustom Mody <rustompmody@gmail.com> - 2014-08-21 15:21 -0700
      Re: what do you get with 1 divide by 998001, interesting results Terry Reedy <tjreedy@udel.edu> - 2014-08-21 16:10 -0400
    Re: what do you get with 1 divide by 998001, interesting results Dan Stromberg <drsalists@gmail.com> - 2014-08-21 15:15 -0700

Page 3 of 3 — ← Prev page 1 2 [3]


#76721

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-08-21 09:24 +0100
Message-ID<mailman.13243.1408609509.18130.python-list@python.org>
In reply to#76714
On 21/08/2014 08:40, Everything You Need To Know wrote:
> On Thursday, 21 August 2014 16:55:44 UTC+9:30, Terry Reedy  wrote:
>> On 8/20/2014 11:36 AM, Everything You Need To Know wrote:
>>
>>> Neat little exercise, surprisingly cool results!
>>
>>> less than 3 minutes!
>>
>>>
>>
>>> https://www.youtube.com/watch?v=PlDjl5JK0eU&feature=youtu.be
>>
>>
>>
>> Dear EYNToK (Adam Nowak?, the name on the video?): I am both a long-term
>>
>> participant in this group and currently one of the behind-the-scenes
>>
>> moderators. Here are the mistakes you made.
>>
>>
>>
>> 0. You posted from Google Groups.
>>
>> 0a. GG is the source of at least half the spam targeted at python-list,
>>
>> including the stuff that gets caught and discarded by me or another
>>
>> moderator.  Google gives the appearance of being indifferent to being
>>
>> spam source #1. Or maybe they see it as a mark of success somehow.
>>
>> 0b. By default, GG does not follow normal and reasonable protocols.
>>
>> Google is obviously indifferent to that. At one time in the past, Google
>>
>> would have been cut off from usenet groups for GG's behavior. Now Google
>>
>> is too big and powerful and hence arrogant.
>>
>> 0c. Some posters, when requested, change the defaults as requested and
>>
>> instructed. Some do not, thereby asking to be ignored.
>>
>>
>>
>> 1. A pseudonym, but not just a pseudonym, but one that could be
>>
>> interpreted as intentionally obnoxious and 'in our faces', such as used
>>
>> by trolls.  I realize that as a newcomer, you don't know the history,
>>
>> but it affects people who have been around awhile.
>>
>>
>>
>> 2. Slightly deceptive subject line, to your detriment. The video is
>>
>> about simulating indefinite precision long division with python. This is
>>
>> a quite legitimate beginner exercise. The 1/998001 example is just an
>>
>> illustration of the value of being able to get more than 18 decimal digits.
>>
>>
>>
>> 3. The form of your post! It screams 'I am spam!' Judgment in 3 seconds!
>>
>>
>>
>> In sum, if this post had been presented to me by the spam filter for
>>
>> action, and I had acted without viewing the video, especially late at
>>
>> night when tired, I might have deleted it.
>>
>>
>>
>> Having watched the video, I now know that would have been a mistake. As
>>
>> Steven said, properly formatted occasional announcements of free
>>
>> python-related resources are on-topic. (If we got multiple such
>>
>> announcements every day, we might change the rules.) I agree with the
>>
>> rest of his excellent post.
>>
>>
>>
>> --
>>
>> Terry Jan Reedy
>
> Well said
>

Glad to see that you took it on board.  Except that you're still using 
google groups.  I'm not interested in trying to read posts when they're 
in the appalling formatting above.  Please take steps to rectify the 
situation or go away, your choice.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#76732

FromEverything You Need To Know <eyn2k@outlook.com>
Date2014-08-21 06:25 -0700
Message-ID<dbc0c5d6-fb0b-4124-8611-405d73756ba0@googlegroups.com>
In reply to#76671
On Thursday, 21 August 2014 01:06:37 UTC+9:30, Everything You Need To Know  wrote:

These exercises were all linked together to make a 'python' board game, Thought it was really neat myself. This is something that would not interest this Forum I am to presume?

Thank you

Adam A

[toc] | [prev] | [next] | [standalone]


#76748

Fromluofeiyu <elearn2014@gmail.com>
Date2014-08-21 21:37 +0800
Message-ID<mailman.13257.1408650208.18130.python-list@python.org>
In reply to#76732
This man is  crazy , he go on to send rubbish to waste our time ,i 
strongly strongly advise that python maillist administrator kick him off 
here.


On 8/21/2014 9:25 PM, Everything You Need To Know wrote:
> On Thursday, 21 August 2014 01:06:37 UTC+9:30, Everything You Need To Know  wrote:
>
> These exercises were all linked together to make a 'python' board game, Thought it was really neat myself. This is something that would not interest this Forum I am to presume?
>
> Thank you
>
> Adam A

[toc] | [prev] | [next] | [standalone]


#76749

FromGrant Edwards <invalid@invalid.invalid>
Date2014-08-21 19:50 +0000
Message-ID<lt5iip$fpa$1@reader1.panix.com>
In reply to#76748
On 2014-08-21, luofeiyu <elearn2014@gmail.com> wrote:

> This man is crazy, he go on to send rubbish to waste our time ,i 
> strongly strongly advise that python maillist administrator kick him
> off here.

He's not wasting my time -- I filter out all posts from Google Groups.

What I do see is all of the responses.  Perhaps I should filter out
posts that have googlegroups.com in the References: header...

-- 
Grant Edwards               grant.b.edwards        Yow! How's the wife?
                                  at               Is she at home enjoying
                              gmail.com            capitalism?

[toc] | [prev] | [next] | [standalone]


#76756

FromRustom Mody <rustompmody@gmail.com>
Date2014-08-21 15:21 -0700
Message-ID<9476ec48-b0e7-4893-979a-acd4561caf6e@googlegroups.com>
In reply to#76748
On Thursday, August 21, 2014 7:07:36 PM UTC+5:30, luofeiyu wrote:
> This man is  crazy , he go on to send rubbish to waste our time ,i 
> strongly strongly advise that python maillist administrator kick him off 
> here.

> On 8/21/2014 9:25 PM, Everything You Need To Know wrote:
> > On Thursday, 21 August 2014 01:06:37 UTC+9:30, Everything You Need To Know  wrote:
> > These exercises were all linked together to make a 'python' board game, Thought it was really neat myself. This is something that would not interest this Forum I am to presume?
> > Thank you
> > Adam A

I suggest you compute the product: OT-ness * quantity

And look for a mirror.


This very post is a top-post -- not to mention grammar and punctuation
issues.  Obnoxious? Not usually. But can become when the
quantity-multiplier of barely python-related posts swells to a barrage.

[toc] | [prev] | [next] | [standalone]


#76750

FromTerry Reedy <tjreedy@udel.edu>
Date2014-08-21 16:10 -0400
Message-ID<mailman.13258.1408651871.18130.python-list@python.org>
In reply to#76732
On 8/21/2014 9:37 AM, luofeiyu wrote:
> This man is  crazy

Such ad hominem slurs are a violation to the Python Community Code of 
Conduct.

> he go on to send rubbish to waste our time ,

Everyone should stop bashing each other, including you.  What I see is 
people driving each other a bit crazy, and I would like it to stop.

> i strongly strongly advise that python maillist administrator

I am one of them.

> kick him off here.

This is a last resort, not first.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#76759

FromDan Stromberg <drsalists@gmail.com>
Date2014-08-21 15:15 -0700
Message-ID<mailman.13264.1408669845.18130.python-list@python.org>
In reply to#76671
Amusing.

It works in hexadecimal too:
    numerator = 1
    denominator = 0xffe001
    shift = int(16 ** 30)
    print(hex(int(numerator * shift / denominator)))

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.lang.python


csiph-web