HNHacker News
TopNewBestAskShowJobs

londt8

33 karma · joined October 10, 2017

submissionscomments
londt8··on Nuitka: a Python compiler written in Python
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?
londt8··on Exhaustiveness Checking with Mypy
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
londt8··on The Unix timestamp will begin with 16 this Sunday
ISO8601 is quite large, they probably don't want to ship that big standard library modules which would parse 100% of ISO8601
londt8··on AWS Copilot
Scripts which generate the config also have their own problems. Check out Dhall, it attempts to solve this.
londt8··on Overview of Python dependency management tools
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.
londt8··on Hypermodern Python
docker with pip-tools is great combination, you get deterministic builds easily
londt8··on Ask HN: Any good FOSS alternative to Google's reCAPTCHA?
Just FYI: google recaptcha works with screen readers too and blind users can use it.
londt8··on Ask HN: How do you manage self-study?
What kind of videos you watch? Maybe that could guide you to find something which interests you.
londt8··on Instead of deleting account, NYT appends ‘1000’ to username and email address
Why not just anonymize the data instead? Not using foreign key constraint just for the sake of GDPR sounds weird.
londt8··on Shirt Without Stripes
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.
londt8··on Writing Python inside Rust
You can use pip to install the executable source files. Pip is preinstalled on most Libux distributions and MacOS.
londt8··on Jitsi Meet Electron 2.0
8x8 uses Jitsi for their video calls. Therefore funding Jitsi improves their paid service. I hope this clarifies it.
londt8··on It's not what programming languages do, it's what they shepherd you to
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.
londt8··on MonkeyType: A system for Python that automatically generates type annotations
You can use strict types and enforce that all types are correct during runtime. Check out mypy with "--no-any-expression" flag and Pydantic.
londt8··on RuboCop 0.80: Ruby static code analyzer and code formatter
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.
londt8··on Format Python Code Using YAPF
It has questionable default of 88 characters per line, which is configurable. I wish they chose 79 characters as PEP8 suggests.
londt8··on Automate GitHub Dependency Updates with Dependabot
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.
londt8··on Dhall: A Non-Repetitive Alternative to YAML
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.
londt8··on Blood sugar patterns to master as a type 2 diabetic
Also adrenaline
londt8··on How to use array reduce for more than just numbers
Technically there is no iteration in filter/map/reduce at all.
londt8··on James Webb Telescope will run a proprietary JS interpreter by a bankrupt company
You are thinking of something else than python? Python has strong, dynamic type system with little implicit type conversions.
londt8··on Turning the Puzzle Sideways: Sleep, Diet and the Brain-Gut Connection
Have you checked for diabetes?
londt8··on Implications of Rewriting a Browser Component in Rust
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
londt8··on Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
Important part of STM is that the retry mechanism requires functions to be pure - which haskell compiler will check for you.
londt8··on A taste for fat may have made us human, says study
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.
londt8··on Did Finland’s basic income experiment work? [video]
The participants received other benefits too, the total was higher than 560 per month.
londt8··on Podman and Buildah available in RHEL 7.6 and RHEL 8 Beta
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.
londt8··on Redbird: A modern reverse proxy for Node
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/...
londt8··on With Proton and Steam Play, many Windows games now work on Linux
Are you sure about this? I would think using wine or any other emulator would show up as windows in the statistics.
londt8··on Show HN: WebRTC implementation for Python using Asyncio
Is ORTC used by something else than Skype?
Page 1 of 2Next →