# orderedItems[].object.content
@timsavage This is a limitation of expressing certain floats as binary and not unique to #Python.

"Note: The behavior of round() for floats can be surprising: for example, round(2.675, 2) gives 2.67 instead of the expected 2.68. This is not a bug: it’s a result of the fact that most decimal fractions can’t be represented exactly as a float."

https://docs.python.org/3/library/func tions.html?#round
https://docs.python.org/3/tutorial/flo atingpoint.html#tut-fp-issues

Converting 0.895 to binary gives 0.1110010100, which is 0.89453125 and gets rounded down!

# orderedItems[].object.contentMap.en
@timsavage This is a limitation of expressing certain floats as binary and not unique to #Python.

"Note: The behavior of round() for floats can be surprising: for example, round(2.675, 2) gives 2.67 instead of the expected 2.68. This is not a bug: it’s a result of the fact that most decimal fractions can’t be represented exactly as a float."

https://docs.python.org/3/library/func tions.html?#round
https://docs.python.org/3/tutorial/flo atingpoint.html#tut-fp-issues

Converting 0.895 to binary gives 0.1110010100, which is 0.89453125 and gets rounded down!

# orderedItems[].object.content
@davidism Hi from the Pillow project!

# orderedItems[].object.contentMap.en
@davidism Hi from the Pillow project!

# orderedItems[].object.content
@treyhunner @AlSweigart

with this opened file as a file object:
do something

# orderedItems[].object.contentMap.en
@treyhunner @AlSweigart

with this opened file as a file object:
do something

# orderedItems[].object.content
@jugmac00 Do you know if it's possible to update PRs created by all-repos?

I've created a bunch of PRs using all-repos to add 3.12-dev to GitHub Actions, and used "--branch-name add-3.12-dev"

Before merging, I now remembered I should also add py312 to tox.ini

But running again with the same branch name gives:

! [rejected] HEAD -> all-repos_autofix_add-3.12-dev (non-fast-forward)
error: failed to push some refs to 'github.com:hugovk/pypistats'

Any ideas?

# orderedItems[].object.contentMap.en
@jugmac00 Do you know if it's possible to update PRs created by all-repos?

I've created a bunch of PRs using all-repos to add 3.12-dev to GitHub Actions, and used "--branch-name add-3.12-dev"

Before merging, I now remembered I should also add py312 to tox.ini

But running again with the same branch name gives:

! [rejected] HEAD -> all-repos_autofix_add-3.12-dev (non-fast-forward)
error: failed to push some refs to 'github.com:hugovk/pypistats'

Any ideas?

# orderedItems[].object.content
@Lorenanicole Good timing, if you can generate over 50,000 words, sounds perfect for #NaNoGenMo!

"National Novel Generation Month: Spend the month of November writing code that generates a novel of 50k+ words. This is in the spirit of National Novel Writing Month's interesting definition of a novel as 50,000 words of fiction."

https://github.com/NaNoGenMo/2022

# orderedItems[].object.contentMap.en
@Lorenanicole Good timing, if you can generate over 50,000 words, sounds perfect for #NaNoGenMo!

"National Novel Generation Month: Spend the month of November writing code that generates a novel of 50k+ words. This is in the spirit of National Novel Writing Month's interesting definition of a novel as 50,000 words of fiction."

https://github.com/NaNoGenMo/2022

# orderedItems[].object.content
@andrewjbtw Because the bot is often removing the context, a common #botALLY technique is to use a bad words list and skip anything that matches.

For example:
https://github.com/dariusk/wordfilter

That's fine, as the bot can churn out the next one from its infinite pool.

See also this by @darius:

https://tinysubversions.com/2012/06/th e-strange-journey-of-metaphor-a-minute/index.html

Who is also quoted here, along with @xor:

https://www. vice.com/en/article/mg7g3y/how-to-make-a-not-racist-bot

# orderedItems[].object.contentMap.en
@andrewjbtw Because the bot is often removing the context, a common #botALLY technique is to use a bad words list and skip anything that matches.

For example:
https://github.com/dariusk/wordfilter

That's fine, as the bot can churn out the next one from its infinite pool.

See also this by @darius:

https://tinysubversions.com/2012/06/th e-strange-journey-of-metaphor-a-minute/index.html

Who is also quoted here, along with @xor:

https://www. vice.com/en/article/mg7g3y/how-to-make-a-not-racist-bot

# orderedItems[].object.content
I had forgotten I had created this other account, and I don't know if I ever posted there, and I haven't logged in for four years, but the admins just deleted it and all the data with no notice

# orderedItems[].object.contentMap.en
I had forgotten I had created this other account, and I don't know if I ever posted there, and I haven't logged in for four years, but the admins just deleted it and all the data with no notice

# orderedItems[].object.content
@eumiro@fosstodon.org A new one from @jonafato and @kjaymiller:

Python Community News: https://pythoncommunitynews.transistor.fm/

# orderedItems[].object.contentMap.en
@eumiro@fosstodon.org A new one from @jonafato and @kjaymiller:

Python Community News: https://pythoncommunitynews.transistor.fm/

# orderedItems[].object.content
@ambv @fredrikaverpil I can see it in the web UI of mastodon.social after repeatedly pressing "Load more" until there's 125 hashtags in the list...

Also can't see it in Android app as there's no "Load more" button.

# orderedItems[].object.contentMap.en
@ambv @fredrikaverpil I can see it in the web UI of mastodon.social after repeatedly pressing "Load more" until there's 125 hashtags in the list...

Also can't see it in Android app as there's no "Load more" button.

# orderedItems[].object.content
@bryanbrake Yes, I get them same. Need to click the #python hashtag in another post or bio...

# orderedItems[].object.contentMap.en
@bryanbrake Yes, I get them same. Need to click the #python hashtag in another post or bio...

# orderedItems[].object.content
@smadin @jine @darius @nickmofo We already have a NaNoGenGenMo courtesy of @liza!
https://github.com/NaNoGenMo/2022/issu es/15 #NaNoGenMo

# orderedItems[].object.contentMap.en
@smadin @jine @darius @nickmofo We already have a NaNoGenGenMo courtesy of @liza!
https://github.com/NaNoGenMo/2022/issu es/15 #NaNoGenMo

# orderedItems[].object.content
@jradavenport Inspired by that, I made this of the artworks of the Finnish National Gallery https://www. flickr.com/photos/hugovk/13892 399336/

# orderedItems[].object.contentMap.en
@jradavenport Inspired by that, I made this of the artworks of the Finnish National Gallery https://www. flickr.com/photos/hugovk/13892 399336/

# orderedItems[].object.content
@muffinista Also qualifies as a Nano-NaNoGenMo! #NNNGM https://nickm.com/post/2019/11/nano-na nogenmo-or-nnngm/

# orderedItems[].object.contentMap.gd
@muffinista Also qualifies as a Nano-NaNoGenMo! #NNNGM https://nickm.com/post/2019/11/nano-na nogenmo-or-nnngm/

# orderedItems[].object.content
@SpankyWorks@cybre.space French has loads of chefs/chiefs of/at things

chef de cuisine = director of kitchen

chef de projet = manager of project

chef de chœur = master of choir

# orderedItems[].object.contentMap.en
@SpankyWorks@cybre.space French has loads of chefs/chiefs of/at things

chef de cuisine = director of kitchen

chef de projet = manager of project

chef de chœur = master of choir

# orderedItems[].object.content
@jgmac1106 @aparrish @enkiv2 It's an entire 50,004-word novel about bison, and another 50,004-word novel about the NY bison that bother them, both by @bcj:

https://github.com/NaNoGenMo/2016/issu es/95
https://github.com/bcj/buffalo
https://raw.githubusercontent.com/bcj/buffalo/master/examples/buffalo.txt
https://raw.githubusercontent.com/bcj/buffalo/master/examples/bison.txt

# orderedItems[].object.contentMap.en
@jgmac1106 @aparrish @enkiv2 It's an entire 50,004-word novel about bison, and another 50,004-word novel about the NY bison that bother them, both by @bcj:

https://github.com/NaNoGenMo/2016/issu es/95
https://github.com/bcj/buffalo
https://raw.githubusercontent.com/bcj/buffalo/master/examples/buffalo.txt
https://raw.githubusercontent.com/bcj/buffalo/master/examples/bison.txt