How to set NotebookApp.iopub_data_rate_limit and others NotebookApp settings in JupyterHub?
want to start my notebooks with jupyter notebook –NotebookApp.iopub_data_rate_limit=10000000000 arguments. Where one could set it in JupyterHub?
want to start my notebooks with jupyter notebook –NotebookApp.iopub_data_rate_limit=10000000000 arguments. Where one could set it in JupyterHub?
I don’t think it’s a good idea to ask your customers to disable this configuration at all. Remember that enabling and making this change does not only apply to your website but to other websites as well. There’s a huge security reason why it is disabled in Internet and Restricted Sites zones by default and … Read more
A simple way of doing this is to use Password Based Encryption in Java. This allows you to encrypt and decrypt a text by using a password. This basically means initializing a javax.crypto.Cipher with algorithm “AES/CBC/PKCS5Padding” and getting a key from javax.crypto.SecretKeyFactory with the “PBKDF2WithHmacSHA512” algorithm. Here is a code example (updated to replace the less secure MD5-based variant): One problem remains: Where … Read more
A simple way of doing this is to use Password Based Encryption in Java. This allows you to encrypt and decrypt a text by using a password. This basically means initializing a javax.crypto.Cipher with algorithm “AES/CBC/PKCS5Padding” and getting a key from javax.crypto.SecretKeyFactory with the “PBKDF2WithHmacSHA512” algorithm. Here is a code example (updated to replace the … Read more
For Python 3.5+ use: For Python 3.3 and 3.4 use: (Although this has been deprecated in Python 3.4.) For Python 2 use: There are equivalent convenience functions for compiled Python files and DLLs. See also http://bugs.python.org/issue21436.
You’ll need to add a reference to System.Configuration in your project’s references folder. You should definitely be using the ConfigurationManager over the obsolete ConfigurationSettings.
assuming that a worker wants to send 4G of data to the driver, then having spark.driver.maxResultSize=1G, will cause the worker to send 4 messages (instead of 1 with unlimited spark.driver.maxResultSize). No. If estimated size of the data is larger than maxResultSize given job will be aborted. The goal here is to protect your application from driver loss, … Read more
Hmmm — since this is handled by the JVM, I delved into the OpenJDK VM source code a little bit, thinking that maybe what’s done by OpenJDK mimics what’s done by Java 6 and prior. It isn’t reassuring that there’s a way to do this other than on Windows. On Windows, OpenJDK’s get_temp_directory() function makes a Win32 API … Read more
The link mentioned by Subimage was right on the money for me. It suggested changing the virtual host tag, ie, from <VirtualHost myserver.example.com:443> to <VirtualHost _default_:443> Error code: ssl_error_rx_record_too_long This usually means the implementation of SSL on your server is not correct. The error is usually caused by a server side problem which the server … Read more