Better HN
topnewbestaskshowjobs
Log inSign up

londt8

33 karma · joined Oct 10, 2017 (9y ago) · 36 submissions

Submissions

comment 5y ago · link · parent

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 5y ago · link · parent

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 6y ago · link · parent

ISO8601 is quite large, they probably don't want to ship that big standard library modules which would parse 100% of ISO8601

comment 6y ago · link · parent

Scripts which generate the config also have their own problems. Check out Dhall, it attempts to solve this.

comment 6y ago · link · parent

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 6y ago · link · parent

docker with pip-tools is great combination, you get deterministic builds easily

comment 6y ago · link · parent

Just FYI: google recaptcha works with screen readers too and blind users can use it.

comment 6y ago · link · parent

What kind of videos you watch? Maybe that could guide you to find something which interests you.

comment 6y ago · link · parent

Why not just anonymize the data instead? Not using foreign key constraint just for the sake of GDPR sounds weird.

comment 6y ago · link · parent

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 6y ago · link · parent

You can use pip to install the executable source files. Pip is preinstalled on most Libux distributions and MacOS.

comment 6y ago · link · parent

8x8 uses Jitsi for their video calls. Therefore funding Jitsi improves their paid service. I hope this clarifies it.

comment 6y ago · link · parent

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 6y ago · link · parent

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 6y ago · link · parent

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.

comment 6y ago · link · parent

It has questionable default of 88 characters per line, which is configurable. I wish they chose 79 characters as PEP8 suggests.

comment 6y ago · link · parent

I think reviewing all code in the dependencies is not reasonable. When i add new dependency to my projects i evaluate how trustworthy the maintainers seem.

comment 7y ago · link · parent

Its more like an alternative to scripts generating configuration from templates. they claim that this is better because you cant for example write an infinite loop ruining the script.

comment 7y ago · link · parent

Also adrenaline

comment 7y ago · link · parent

Technically there is no iteration in filter/map/reduce at all.

comment 7y ago · link · parent

You are thinking of something else than python? Python has strong, dynamic type system with little implicit type conversions.

comment 7y ago · link · parent

Have you checked for diabetes?

comment 7y ago · link · parent

I recommend using mypy for python, type safe python has came a long way. The type annotation syntax has been in the language spec for years

comment 7y ago · link · parent

Important part of STM is that the retry mechanism requires functions to be pure - which haskell compiler will check for you.

comment 7y ago · link · parent

I have understood that saturated fats are bigger culprit for type 2 diabetes than high carb intake. Also sugars are larger risk than carbs in general.

comment 7y ago · link · parent

The participants received other benefits too, the total was higher than 560 per month.

comment 7y ago · link · parent

Google has internal equivalent of docker which they use instead, and they are one of biggest contributors to kubernetes. Im sure there are more reasons though.

comment 8y ago · link · parent

Raw number crunching performance is similar with Node and Go. Python and ruby are in different league than them. https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

comment 8y ago · link · parent

Are you sure about this? I would think using wine or any other emulator would show up as windows in the statistics.

comment 8y ago · link · parent

Is ORTC used by something else than Skype?
12