## npm: ERR! should not happen... and running behind proxy

Sometimes one can get messages like the following during npm install: npm ERR! should not happen... npm ERR! should not happen... npm ERR! should not happen... That usually means some host answered with error which should definitely not happen. That can happen if your computer is working behind the proxy. In order to specify HTTP proxy one needs to do the following: npm config set strict-ssl false npm config set registry "http://registry. [Read More]

## Select unselectable in Bazel (or What Every Programmer Should Know About Bazel)

Let’s assume you want to write a macro. It will receive list of files, for which you want to generate set of rules which will produce some files. One can write it as follows:

## UserWarning: Unknown distribution option: 'project_urls'

One can receive strange warnings when running python setup.py if they have Python installed using Scoop package manager.

...\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)

These messages simply indicate that setuptools is too old. The solution is as follows:

pip install setuptools --upgrade

## Instructions, patches, fixes, hacks and workarounds

I’m a bit of tired to fix some configuration/build/code stuff having nobody to share it with and forcing everybody else to struggle at it again and waste their time. So I came to the idea of posting the recipes to this blog in order to have them searchable. ^_^