Spyder app (icon) is not initialized on application desktop after Anaconda/conda is installed, which means one has to start the program in the terminal. Unfortunately, Spyder would be closed if the terminal is interrupted accidentally. Indeed, Spyder can be started by the command with the help of nohup nohup spyder &. As a result, the app will not be disturbed even if the terminal is closed. The following will give a method to create a shortcut icon for spyder on application desktop. Press Ctrl+Alt+T open a terminal and input the following command. cd /usr/share/applications/ sudo gedit spyder4.desktop # depend on... Read more
Windows Subsystem for Linux (WSL) allows users to run a Linux terminal environment, install packages from the Ubuntu archive, and run Linux applications and workflows on Windows 10. Ref: WSL in ubuntu wiki issue 1: chmod WSL (Bash) doesn’t work To fix this, you need to edit /etc/wsl.conf. and put below config in. [automount] enabled = true options = "metadata" Ref: Automatically Configuring WSL Chmod/Chown WSL Improvements Read more
Matlab code % calc the precise result of 2^167. clear all; clear; N = 167; result_len = floor(log10(2^N))+1; % calc the digit of the result result = zeros(1, result_len); % create a blank matrix to store the result result(1) = 1; % 2^0 initialized result str_result = cell(1,N); % create N string cell to store the result of every step last = 1; % initialized the digit of the result fid =fopen('result.txt','w'); % create a file (result.txt) to print the result fprintf(fid,['## result of 2^', num2str(N),'\n']); % for idx = 1:N % multiply by 2 in every step result =... Read more
On Ubuntu: $ sudo apt-get install ntpadate //update time on Ubuntu $ sudo ntpdate time.windows.com $ sudo hwclock --localtime --systohc //update local time to hardware
UEFI system cannot boot from an NTFS formatted USB stick. We need to format it using FAT32. Used a new USB disk creation program (https://rufus.akeo.ie) and set it to FAT32 for UEFI and finnaly the tablet booted to the setup. The Windows 10 was formatting the sticks to NTFS. More infomation about Clean Install of Windows 10 on ThinkPad.