Live data from Hacker News

Viewing profile — londt8

londt8

HN member
Joined
Tue, Oct 10, 2017, 11:12 AM UTC
HN karma
33
Public activity
36 items

About londt8

No profile information was provided.

Recent public activity

  1. comment
    Comment #27539242

    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?

  2. comment
    Comment #25429551

    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://git…

  3. comment
    Comment #24459343

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

  4. comment
    Comment #23844112

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

  5. comment
    Comment #23380464

    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 re…

  6. comment
    Comment #23336887

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

  7. comment
    Comment #23090185

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

  8. comment
    Comment #23061604

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

  9. comment
    Comment #23006686

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

  10. comment
    Comment #22926883

    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.

  11. comment
    Comment #22906631

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

  12. comment
    Comment #22831684

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

  13. comment
    Comment #22703221

    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.

  14. comment
    Comment #22646293

    You can use strict types and enforce that all types are correct during runtime. Check out mypy with "--no-any-expression" flag and Pydantic.

  15. comment
    Comment #22358879

    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 rea…

  16. comment
    Comment #22281587

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

  17. comment
    Comment #21923611

    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.

  18. comment
    Comment #20356630

    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 scri…

  19. comment
    Comment #20195012

    Also adrenaline

  20. comment
    Comment #20075958

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

  21. comment
    Comment #19739024

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

  22. comment
    Comment #19603831

    Have you checked for diabetes?

  23. comment
    Comment #19273780

    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

  24. comment
    Comment #19246184

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

  25. comment
    Comment #19121924

    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.