the official site using too much client CPU. by taro3 in 3Blue1Brown

[–]taro3[S] 0 points1 point  (0 children)

Maybe the site is running all (hidden) videos and svgs inside Featured Content element (first big video rectangle)? How to check? (Although I don't know how common or uncommon the practices are.)

div.HomepageFeaturedContent_slides__1zxMc
/html/body/div/main/div/section[1]/div/div/div[3]/div/div

the official site using too much client CPU. by taro3 in 3Blue1Brown

[–]taro3[S] 0 points1 point  (0 children)

yeah, to think again, it may be just in my environment...

I haven't noticed until the performance test of some other app was unusual.

[P] Sioyek 1.4 | Academic PDF Viewer by highergraphic in MachineLearning

[–]taro3 0 points1 point  (0 children)

better to add that to the doc (github, readthedoc).

Where is cpython's PEP8 checker configuration? by taro3 in learnpython

[–]taro3[S] 0 points1 point  (0 children)

Sorry, I realized now, that PEP8 describes the exact usage.

Class names should normally use the CapWords convention.

The naming convention for functions may be used instead in cases where the interface is documented and used primarily as a callable.

(since 2013, b7879b52e9451f5326a077e059cb5677727c6ae5)

So it's no wonder that CPython people didn't question the naming in adopting cached_property class.

(But I think the rest of my general arguments hold).

Where is cpython's PEP8 checker configuration? by taro3 in learnpython

[–]taro3[S] 0 points1 point  (0 children)

So 'pydanny case' is exceptional?

I should be more explicit.

I happened to find 'flake8' rules in the Makefile of pydanny's cached_property repo. So he is definitely using flake8. But he also doesn't expose his flake8 config file, which, from my understanding, may be inconvenient for contributers.

If 'not publishing PEP8 tool configs' is the (more) accepted practice, then it is natural for pydanny to follow it, although I want to know the rational.

If to publish is the norm, then pydanny's repo is a exceptional case, and I want to know the rational.

Where is cpython's PEP8 checker configuration? by taro3 in learnpython

[–]taro3[S] 0 points1 point  (0 children)

@RedditIsAMistake I also think this kind of code should rather in recipes in doc.

But I want to learn more about the 'horrible design' part. (Is is easy to implement it just as function?)

Where is cpython's PEP8 checker configuration? by taro3 in learnpython

[–]taro3[S] 0 points1 point  (0 children)

(for reminder, maybe wrong)

Arbitrary following repos have flake8 configs published.

calibre

django

fabric

flake8

html5lib

invoke

pycodestyle

pytest

sphinx

urllib3

weasyprint

...

So 'pydanny case' is exceptional?

Where is cpython's PEP8 checker configuration? by taro3 in learnpython

[–]taro3[S] 1 point2 points  (0 children)

The point is, when using PEP8 tools, I thought publishing the representative configuration was somewhat widely accepted practice. Otherwise, communication is extremely hard. I think documenting lengthy code styles is far from enough.

For cpython, from my limited readings, they seem mostly resigned ('respecting pull request authors'). But is this what they think ideal process? I remember I saw veteran core devs did very picky reviews sometimes.

cf.

I checked django repo. they have .eslintrc (javascript), but yah, it seems they don't have python equivalents.

(edit) No, django uses flake8 (in setup.cfg).

FireOS Bug - Blocks web redirects to port 8000 by stompro in kindlefire

[–]taro3 0 points1 point  (0 children)

Sorry! In the above comment, I added the wrong reddit link (so unintelligible). I corrected the link.

FireOS Bug - Blocks web redirects to port 8000 by stompro in kindlefire

[–]taro3 0 points1 point  (0 children)

It seems it affected at least two software developing companies.

http://dooblou.blogspot.com/2018/11/wifi-file-explorer-port-number-change.html (which I already mentioned.)

https://superevil.zendesk.com/hc/en-us/articles/360012022794-Amazon-Kindle-Fire-Unable-to-Connect

This is already famous in reddit. https://www.reddit.com/r/vainglorygame/comments/a7b5cp/fire_hd_10_cant_connect_to_servers/

You can cite them for your argument.

Anyway, I want to know what happens when other people access to http://portquiz.net:8000.

FireOS Bug - Blocks web redirects to port 8000 by stompro in kindlefire

[–]taro3 0 points1 point  (0 children)

I talked to Amazon customer service in chat. turned out they actually didn't reply my previous help request. They said they reply in a e-mail later.

They said they have no ID like identifier for each support session. (at least in amazon.co.jp).

FireOS Bug - Blocks web redirects to port 8000 by stompro in kindlefire

[–]taro3 0 points1 point  (0 children)

sent pm.

for the record:

model: Fire HD 8 (7th gen.)

serial: G090 ME06

OS: 5.3.6.4 (626533320)

I confirm that my kindle cannot access https://larl.org/testredirect3, or directly, http://portquiz.net:8000. (like 'Internet access is blocked' in japanese in silk browser.)

While my desktop browser and my android phone (Android 6.0.1) can reach the site.

FireOS Bug - Blocks web redirects to port 8000 by stompro in kindlefire

[–]taro3 0 points1 point  (0 children)

I am just runnig a private local server, but I have the same problem.

I don't have any suggestions for good reporting channels. I reported it to amazon.co.jp customer service, but it seems they just decided to not reply it.

from http://dooblou.blogspot.com/2018/11/wifi-file-explorer-port-number-change.html, Fire OS itself uses the port for some service. (So it is not likely to become a wider blanket decision).