NTP on Ubuntu ...
Oh no... (Japanese) UbuntuでNTPが自動起動しない件 - 動かざることバグの如し
Oh no... (Japanese) UbuntuでNTPが自動起動しない件 - 動かざることバグの如し
git clone https://github.com/flatironinstitute/finufft.git
make.inc
.make lib
export LD_LIBRARY_PATH=finufft_dir/lib
cd python
python setup.py build && pip install -e .
python test/run_accuracy_tests.py
make.inc
for macOS and conda-forge environment:
CFLAGS = -O3 CONDA_PREFIX = /Users/accountname/.miniforge/envs/dev CXX=$(CONDA_PREFIX)/bin/clang++ CC=$(CONDA_PREFIX)/bin/clang CFLAGS += -I./include -I$(CONDA_PREFIX)/include FFLAGS = $(CFLAGS) CXXFLAGS = $(CFLAGS) LIBS += -L$(CONDA_PREFIX)/lib OMPFLAGS = -fopenmp OMPLIBS = -L$(CONDA_PREFIX)/lib -lomp
x = 2 * np.pi * np.arange(100) / 100 c = np.exp(1j * x) f = np.fft.fftshift(np.fft.ifft(c)) c_r = finufft.nufft1d2(x, f) import matplotlib.pyplot as plt plt.plot(x, c_r.real) plt.plot(x, c.real, '.') plt.show()
Note fftshift
but not ifftshift
for the case that the number of original uniform data is odd. This shift is necessary to make data compatible between np.fft and finufft. See
x = 2 * np.pi * np.arange(100) / 100 c = np.exp(1j * x) f = np.fft.fftshift(np.fft.ifft(c)) y = 2 * np.pi * np.arange(200) / 200 c_i = finufft.nufft1d2(y, f) import matplotlib.pyplot as plt plt.plot(y, c_i.real) plt.plot(x, c.real, '.') plt.show()
Note fftshift
but not ifftshift
for the case that the number of original uniform data is odd. This shift is necessary to make data compatible between np.fft and finufft. See
On Ubuntu 20.04
sudo apt install apache2 ruby ruby-hikidoc docdiff ruby-nokogiri
ln -s ../mods-available/cgi.load ln -s ../mods-available/cgid.load ln -s ../mods-available/cgid.conf
<Directory /var/www/html> Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi DirectoryIndex hiki.cgi <Files "hikiconf.rb"> deny from all </Files> </Directory>
GitHub - regro/cf-graph-countyfair: Working files for the @cf-regro-autotick-bot
Google Summer of Code 2020 improved automatic maintenance of conda-forge — the conda-forge blog
Information in the following like solved pefectly this issue:
Ricty系フォントのバックチックを修正する - Koji Noshita
Here, the copy of the above information is left considering the case that the original information will be lost.
cvt_ricty.pe
with chmod 755
Open($1) Select(0u0060) SetGlyphClass("base") Generate($1)
Then
% find ~/Library/Fonts -name "Ricty*.ttf" | xargs -I {} fontforge -lang ff -script cvt_ricty.pe {}