There are several available software in the market for remote control, such as Teamviewer (probably the most well-known one), AnyDesk, etc., including the built-in Windows remote control utility (which is actually already very good especially for the use of local network connection). For cross-platform usage, for sure, Teamviewer is probably...
[Read More]
Thermal background in pair distrubtion function (PDF)
This post discusses the thermal background of a pair distribution function (PDF), taking the paper by K. Page, et al. [1] as the reference and noting down several aspects that are critical for understanding the topic. The paper was originally reporting an alternative way for coping with the incoherent inelastic...
[Read More]
Set up a self-hosted web server on Oracle VPS
Typical Science Papers with RMCProfile
This blog lists out several typical research papers with RMCProfile that I myself was involved.
[Read More]
RMCProfile + LAMMPS Implementation
Notes on using Jupyter book
Notes on difference Fourier map
Reversing the transformation from reciprocal space to real space given an experimentally measured diffraction pattern is difficult in practice since the phase information is lost in the experimental diffraction measurement and we are left with only the intensities of the Bragg spots. The Fourier map approach is one of commonly...
[Read More]
Notes on implementing search in Jekyll site
Notes Flask+Nginx+HTTPS setup
Notes on setting up WindTerm
A platform integrating both terminal and file explorer
This post is about the configuration of the tool WindTerm, which is a quicker and better SSH/Telnet/Serial/Shell/Sftp client for DevOps.
[Read More]
Notes on Forum Setup with MyBB
Side notes for the setup along the way of configuration
This post is for putting down some random sites notes as I struggle through the
process of setting up a forum hosted with MyBB.
[Read More]
Notes on Slack App Setup
Send message to Slack with Python
To set up for sending message to Slack using Python, we can refer to Ref. [1]. Most of the instructions in the reference
would work out, with several glitches and thus necessary adjustments.
[Read More]
Notes on Total Commander Setups
Tips & Tricks
This post is a collection of notes of tips and tricks for Total Commander setups. This is a software as an alternative
to the file explorer on Windows. It allows double column management and operations, making life much easier in terms of
file and directory operations.
[Read More]
Notes on GSAS-II
Tips & Tricks
This post is a collection of notes of tips and tricks for using GSAS-II.
[Read More]
Notes on slurm server setup
Tips & Tricks
This post is a collection of notes of tips and tricks when trying to set up slurm server on Ubuntu 20.04 focal.
[Read More]
Notes on Jupyterhub server setup
Tips & Tricks
Notes on twin paradox
This post is my notes for reading an online article published on Scientific American about resolving the twin paradox purely in the special relativity framework. Refer to Ref. [1, 2] for the original article.
[Read More]
Notes on magnetism - IV
About stray and demagnetization field
In this post, some basics about the stray and demagnetization field will be covered. The post originates from reading the book by Stöhr – Ref. [1].
[Read More]
Image effect in web page
CSS + Javascript for basic image effect in web page
In the index page of current blog, we have a picture shown as below - if we hover the mouse over the image, it will change to another picture and also as we move our mouse, the image will tilt along with the mouse moving.
[Read More]
Math equation in Jekyll
Notes on inclusion of equation in GitHub pages
Copy of code snippet in Jekyll
Notes on inclusion of a button for copy code snippet in GitHub pages
Notes On Isotropy Subgroup
Key notes for reading the lecture notes by Stokes on isotropy subgroup
Figure. 1. Isotropy subgroup [1].
[Read More]
OwnCloud Server Setup
Set up OwnCloud server on Windows with WSL
Size effect in RMCProfile
Implementation of nano-size effect correction for modeling PDF
Figure. 1. Simulation box for bulk (left) and nano (right) systems.
[Read More]
Derivation of neutron incoherent scattering length
Figure. 1. Neutron scattering length table by NIST [1].
[Read More]
Notes on topological physics
Image reproduced from Ref. [5].
[Read More]
Notes on Ising model
Ernst Ising (Left) and Wilhelm Lenz (Right) - Ising was Lenz’s student and the Ising model was claimed (by Ising himself) to be originated by Lenz but named after Ising.
[Read More]
Management of Jupyter kernels
Intro to Sphinx
Documentation with docstring in Python
Jupyterlab kernel setup
Conda environment to be used as Jupyterlab kernel across users
Notes on magnetism - III
Various physical quantities describing magnetic field
About electron spin
Why do we have spin half for electrons?
Illustration for Stern-Glach experiment [1].
[Read More]
Configure RMCProfile
Some tips for configuring RMCProfile on Unix/Linux system
Configuration on Linux system
[Read More]
Notes on Jekyll
building site with Jekyll locally
Notes on kernel density estimation
With a collection of data, we may want to extract or estimate the underlying distribution model. For example, we have the collection of house price in a certain area, we want to have an idea about how the house price in that area is distributed. However, without a priori knowledge...
[Read More]
Notes on Flask
Setting up web host with Python Flask
Notes on RSA algorithm
Image reproduced from Ref. [9].
[Read More]
为什么不能通过让海水不断降温从而获取无尽的能量?
Notes On Temperature
Notes on occupational short-range ordering in crystal
When multiple atomic species (including vacancies) coexist on the same crystallographic site, it immediately brings up a question - say, we have species A and B sharing the same site, then do we have clustering of A and B in separate domains, or do we have A and B preferring...
[Read More]
Notes on Sublime Text 3
Key binding configuration issue
When Fourier transform meets total scattering
Build package with conda recipe
A minimal working example
There are indeed instructions and tutorials about how to build conda packages (which we can then install easily through conda, e. g. by simply executing ‘conda install …’ from command line) with conda recipe. However, as a beginner to conda build, it was really difficult for myself to find the...
[Read More]
Install DISCUS version 6 on Windows 10
Problem & solution
Notes on CUDA programming II
Matrix multiplication
First of all, we may need a review for the very basic CUDA programming and GPU execution principle. Here, I want to use the diagram below to demonstrate the threadings on GPU with a very simple array addition operation example.
[Read More]
Notes on CUDA programming I
Preparation
To understand and implement CUDA codes in practice, the very first step is to understand the allocation of threads on GPU. Fundamentally, threads are basic units on GPU where computation can happen in a parallel way. To the first level, threads are grouped into blocks, either in a 1D, 2D...
[Read More]
Notes on magnetism - II
Magnetic ions in crystals
Talking about the magnetism of ions in crystals naturally brings us out of the atomic physics picture which we previously based ourselves in when discussing the free atom and ions (see previous note by clicking me!). Also, for sure we should turn to the many-electron scheme instead of a single-electron...
[Read More]
Notes on magnetism - I
Magnetism of free atoms and ions
To understand the magnetism of free atoms and ions, we may go through several stages, as follows,
Hartree approximation - electrons are treated in a non-interactive manner.
Beyond Hartree - interaction between electrons is taken into account.
Spin-orbital coupling.
Hyperfine interaction - the interaction between electrons and nucleus.
[Read More]
About Coriolis force
First, a comprehensive GIF animation demonstrating the basic ideas of Coriolis force is presented.
[Read More]
Notes on special relativity
A silent refrigerator
The working principle of Einstein’s refrigerator
All refrigerators running with gas relies on the principle that the evaporation of liquid to its corresponding gas form will take heat from surroundings. After evaporation, the gas should be liquefied back to liquid form to finish the cycle, and of course, the process of liquefaction will emit heat. That’s...
[Read More]