wr
hn
Top
New
Best
Ask
Show
Jobs
Back
l
londt8
Joined 9 years ago
Karma
33
Submissions
36
Member since
Oct 10
View on Hacker News
Recent submissions
Comment · 5 years ago
I think its typical that only one python runtime is installed in the system. What is the use case for bundling the runtime with the app?
Comment · 5 years ago
This may seem like a good idea, but it gets problematic since you need to always use isinstance checks. Its actually discouraged to return union types by the mypy team:
https://github.com/python/mypy/issues/1693
Comment · 6 years ago
ISO8601 is quite large, they probably don't want to ship that big standard library modules which would parse 100% of ISO8601
Comment · 6 years ago
Scripts which generate the config also have their own problems. Check out Dhall, it attempts to solve this.
Comment · 6 years ago
I think docker is great for providing isolated environment, venv has similar goals. pip-tools + docker is powerful combination, but the article doesnt mention pip-tools for some reason.
Comment · 6 years ago
docker with pip-tools is great combination, you get deterministic builds easily
Comment · 6 years ago
Just FYI: google recaptcha works with screen readers too and blind users can use it.
Comment · 6 years ago
What kind of videos you watch? Maybe that could guide you to find something which interests you.
Comment · 6 years ago
Why not just anonymize the data instead? Not using foreign key constraint just for the sake of GDPR sounds weird.
Comment · 6 years ago
I tried to search for "cheese without holes" on Google and it yielded good results. I think the problem here is that the query is something people would rarely search.
Comment · 6 years ago
You can use pip to install the executable source files. Pip is preinstalled on most Libux distributions and MacOS.
Comment · 6 years ago
8x8 uses Jitsi for their video calls. Therefore funding Jitsi improves their paid service. I hope this clarifies it.
Comment · 6 years ago
I dont think list comprehensions are used to improve performance. One reason to use them is to improve readability, as the execution doesnt jump around with continue/break etc.
Comment · 6 years ago
You can use strict types and enforce that all types are correct during runtime. Check out mypy with "--no-any-expression" flag and Pydantic.
Comment · 6 years ago
I get your point, but i think the main reason for using 80 character line length nowadays is that its more readable. Books use often line lenght of about 60 characters for this reason.