HackerTrans
TopNewTrendsCommentsPastAskShowJobs

andreif

no profile record

comments

andreif
·last year·discuss
So I have to upload files to enable syntax highlighting. There is probably a reason but the users frustration is helping them to look for alternatives.
andreif
·last year·discuss
Do you enjoy the other parts of MS ecosystem?
andreif
·2 years ago·discuss
Actually, right this moment I am writing docs for my mini-yaml to generate JSON Schema Draft 4 for our EDA. Easy-peasy
andreif
·2 years ago·discuss
I think main problem people trying to solve is treating JSON as computer-human interface. It was not designed for it and I don’t think we need to expand its use-case. You can perfectly use subset of YAML with much better readability for human interactions. I wrote custom parsers for subset I need with like 100 lines of Python code. JSON should stay as a loggable system-to-system format that you can render in a more readable way.
andreif
·2 years ago·discuss
Dependencies is a sign of weakness.
andreif
·2 years ago·discuss
Packages is another story though. Pyenv is for Python versions. For me it’s either that or using Docker images. The later performed poorly with PyCharm when I tested a few years ago. I have seen an issue with Pyenv only once and not even on my machine.
andreif
·2 years ago·discuss
Pyenv is for Python versions. There is a plugin for virtualenvs that can be useful for some specific cases but I rarely use it nowadays.
andreif
·2 years ago·discuss
Dependencies are for the weak. You only need Python. Just support a range of versions if you intend to distribute.
andreif
·2 years ago·discuss
It’s totally up to your knowledge and experience to produce code that supports multiple versions. I had no issue with doing it. That’s what you pay for dynamic language that evolves rapidly.
andreif
·2 years ago·discuss
Also, when working on packages supporting multiple versions it was very helpful to use tox with pyenv.
andreif
·2 years ago·discuss
Works fine for me on macOS. I am using venv the same way you do except some global ones for certain tools.