Zaharid
Zaharid
I typed ``` In [1]: from prompt_toolkit import prompt In [2]: prompt?? ``` because I wanted to know the default for some argument in that api. It printed the following,...
As far as I can tell, the following should work (sorry it requires BeautifulSoap); I want to crawl over each email in a mailing list and do something with it:...
Consider a piece of C++11 code like: ```c++ std::string get_profile_path() { char *env_path = std::getenv("NNPDF_PROFILE_PATH"); if (env_path) { return env_path; } auto p = DEFAULT_NNPDF_PROFILE_PATH; return p; } ``` where...
I was trying to upload a PDF from the folder I was in and got ``` $ vp-upload . [INFO]: Detected pdf input [INFO]: Checking SSH connection to [email protected]. [INFO]:...
It takes long to import code is starting to become and issue (because those few seconds are incredibly distracting). Toying around with e.g. ``` python -X importtime `which validphys` 2>...
We should try to have packages from non-master branches that can be trivially used to e.g. run fits. At the moment we can upload the packages that get built, but...
The way https://github.com/NNPDF/nnpdf/blob/master/validphys2/src/validphys/pdfbases.py is a bit silly and really only made sense when there where two "bases" with disjoint flavours. The minor problem is that we don't want to be...
The NNPDF server is an increasingly complex beast and setting it up requires a pretty large amount of knowledge: ssh authentication, http authentication, SSL encryption, nginx configuration, custom indexers (see...
People seem to be very fond of adding free form keywords and authors when they upload validphys reports. This makes actually searching for something more difficult than it should. Some...
Several `validphys.core` objects use a quick and dirty `TupleComp` base class to provide basic comparison functionality. Several of these classes outgrew `namestuple` at some point. It works but it could...