2022-01-01から1年間の記事一覧

Custom exception in Python Should we use custom exceptions in Python? | by Marcin Kozak | Towards Data Science

November ultra Novembre France inter

Tetrahedra of varying density and their applications https://link.springer.com/article/10.1007/s00371-021-02189-0#Sec4

Failure to run make html by sphinx Running sphinx with myst-parser and sphinx-book-theme installed via conda-forge failed. The reason could not be found, but downgrading myst-parser resolved the issue. conda install sphinx-book-theme linki…

Sphinx - MyST - 日本語 - pdf 日本語のドキュメントをsphinxで難なく作れる時代のようです。 Markdownで書きたいので、MySTを使っています。 extensions = [ "sphinx.ext.mathjax", "sphinx.ext.viewcode", "myst_parser", ] myst_enalbe_extensions = [ "a…

Matplotlib fonts in pdf Fonts in Matplotlib — Matplotlib 3.6.0 documentation plt.rcParams["pdf.use14corefonts"] = True

OpenMP version support by compilers I want to use collapse, but maybe better not to use version 3.0 because of MSVC.... OpenMP Compilers & Tools - OpenMP

_OPENMP not activated with setuptools Environment: M1 mac, conda-forge c-compiler Currently looking for the reason, but _OPENMP is not activated in C macro when using setuptools to compile, though usual build using cmake does with the same…

OpenMP info Welcome to OMP Jupyter Book — OpenMP Application Programming Interface Examples

My recent terminal setting Alacritty env: TERM: xterm-256color selection: save_to_clipboard: true window: dimensions: columns: 90 lines: 24 padding: x: 2 y: 2 font: size: 13 normal: family: 'Iosevka' style: Regular bold: family: 'Iosevka' …

homebrew (macOS Monterey) brew install wget brew install tmux brew install coreutils brew install gnu-tar brew install imagemagick brew install gnuplot brew install ripgrep brew install fd brew install htop brew install --cask xquartz brew…

Terminal alacritty GitHub - alacritty/alacritty: A cross-platform, OpenGL terminal emulator.

Font Iosevka GitHub - be5invis/Iosevka: Versatile typeface for code, from code.

When VSCode "Install in SSH" doesn't work Check proxy settings in .bashrc, .zshrc, etc, and .wgetrc of remote host Close local VSCode Kill all processes of ps ax|grep vscode-server on remote host Start local VSCode connecting remote host

Behaviour different in 3.9.0-15_osxarm64_openblas than previous versions It seems safer the follows: conda install openblas="0.3.18"

No header files in conda package of openBLAS 0.3.20 osx-arm64 I found it's my mistake. I expected conda-forge openblas package is installed automatically by dependency with "libblas==openblas", but only libopenblas was installed. So "openb…

Book title in Revtex bibliography bibtex - Book title in Revtex bibliography - TeX - LaTeX Stack Exchange

VSCode terminal word separators To add "<>" to default "terminal.integrated.wordSeparators": " ()[]{}',\"`─‘’<>"

cmake memory check Making CMake work for you if (USE_SANITIZER STREQUAL "Address") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address") elseif (USE_SANITIZER STREQUAL "Thread…

Color theme of ipython Write c.InteractiveShell.colors = 'Linux' in ipython.config.py that is created by % ipython profile create for the default profile. Introduction to IPython configuration — IPython 8.1.1 documentation Specific config …

NTP on Ubuntu ... Oh no... (Japanese) UbuntuでNTPが自動起動しない件 - 動かざることバグの如し