2020-01-01から1年間の記事一覧
よくわからないのでメモ. C - .NET上で動作するオブジェクト指向言語 .NET framework MicrosoftがWindows用に作成した開発プラットフォーム 今はクロスプラットフォーム (.NET Coreと呼ばれる) Mono (.NET framework互換プラットフォーム)はXamarinやUnity…
参考文献: Pythonではじめるソフトウェアアーキテクチャ スケーラビリティ = 計算リソースの追加によりソフトウェアシステムが拡張される程度 システム拡張 垂直スケール (スケールアップ): 計算ノード内でリソース(CPUやRAM)を追加,リソースを有効活用 水…
まとめ CVPR 2020 Tutorial Novel-View Synthesis for Objects and Scenes from awesome neural rendering papers コード 動作確認済み 動作未確認 SynSin: End-to-end View Synthesis from a Single Image Nerf++ Generative View Synthesis: From Single-v…
以下のページに書いてあるとおり,MacTeXが悪い. discourse.brew.sh 面倒くさいので,以下のように雑に対応 sudo chown -R $(whoami) $(brew --prefix)/*
My desktop booted with super low resolution (640x480) after upgrading from Ubuntu 18.04 to 20.04. I happily solved the problem following here. Software & Update > Additional Drivers > select the newest one, 450 in my case.
Scene CollectionのImport/Export - jsonファイルで管理 ファイル名 このQ&Aを見る限り,絶対パスで指定 jsonファイルを編集してメディアソースのファイル名を相対パスにしたら動画を再生できなかった ファイル差し替え 絶対パスでファイルを関連付けている…
% conda config --add channels bioconda % conda config --add channels conda-forge % conda install biopython % conda install cython seaborn pysam pyvcf simuPOP dendropy rpy2 % conda install r-essentials r-gridextra
Ubuntu 18.04用 sudo apt install r-base sudo apt install gdebi-core wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.3.1073-amd64.deb sudo gdebi rstudio-1.3.1073-amd64.deb Ubuntu 20.04用 Rのバージョンも違うかも # install R …
目的 オンラインで学生実験を行うためのwebアプリ開発 - コンデンサの充放電の実験 作ってみたサンプル Bokehのサンプルプログラムを改造して,サインカーブの一部をcsvとして保存するページを作った. charmie11.github.io 要件 github上で公開可能 (インス…
As recommended by the official HP, the following command downloads Rustup, toolchain manager, and then installs Rust, compiler. curl https://sh.rustup.rs -sSf | sh Then, the terminal asks to select which installation of the followings: 1) …
コード署名と資格情報の登録はここに書いてある通り.
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
自動でアップデートしてくれなかったので手動アップデート 以下のコマンド 1. 公式サイトから最新版(tar.gz)をダウンロード 1. ダウンロードしたファイルを解凍 1. DEBSディレクトリで以下のコマンドを実行して既存のバージョンをアンインストールしてから最…
After installing obs-ndi, apt upgrade returns the following error message. /sbin/ldconfig.real: /usr/lib/libndi.so.4 is not a symbolic link The following command proves that the file is not a symbolic link. % cd /usr/lib % ls -l | grep lib…
plot of bar or barh with hatch, that adds pattern to bars, does not work with savefig as pdf. The result pdf lacks some bars without hatch patterns. To fix this, a simple solution is render with alpha=some value. The following stackoverflo…
step 1: enable box selection Ctrl + Shift + A shows FindAction window type column lists column related actions the top in the list is Column Selection Mode that is assigned Alt + Shift + Insert step 2: use box selection turn on box selecti…
JetBrain provides an installation management software called Toolbox App. Simple but efficient management is aveilable!! uninstall installed PyCharm and CLion # uninstall PyCharm sudo snap remove pycharm-community rm -rf ~/.java/.userPrefs…
sklearn で Manifold Learning Manifold Learningは非線形な高次元のデータを次元圧縮する時に使われる. sklearnでも色々なアルゴリズムの実装が提供されている. 複数のアルゴリズムの比較はこのサンプルを見ると分かる. fit とtransformを別々に実行可能…
skimage.transform.rescale関数を使った時にハマったので,備忘録. 色々試行錯誤したコードはページの下の方に載せている. カラー画像とグレースケール画像をで変換する時の色々を載せる. 原画像 以下のように,両画像が8bitの画像として読み込まれる. c…
Step 0: check gcc and g++ clang might cause compilation error. % g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/9.2.0_3/libexec/gcc/x86_64-apple-darwin19/9.2.0/lto-wrapper Target: x86_64-apple-darwin…
とりあえず xxx-config.cmakeさえ作っておけば良い? static library add_libraryでSTATICを指定 ファイルの出力先はset_target_properties(ARCHIVE_OUTPUT_DIRECTORY ${DIR_TO_OUTPUT})で指定 shared library add_libraryでSHAREDを指定 ファイルの出力先は…
前提 imagemagickがインストール済み 同一ディレクトリに一つ以上のpdfファイルが保存されている 全pdfファイルは1ページ スクリプト 以下の通り #!/bin/bash for filename in *.pdf; do convert $filename -quality 90 ${filename/.pdf/.png} done 注意 pd…
vcpkgでインストールに成功・失敗したパッケージのまとめ library version OS result ceres 1.14.0-7 mac o boost 1.73.0 mac x (boost-python) g2o 2020-02-07 mac o gtest 1.10.0 mac o CMakeLists.txtでの設定についてはインストール後に表示されるメッセ…
RDB関係のメモ SQL RDB管理システムにおけるデータベース言語・ドメイン固有言語 宣言型言語なのでプログラミング言語ではないらしい RDBMS Relational Database Management System (RDBMS)の略 以下の Oracle Database Microsoft SQL Server MySQL IBM DB2 …
グラフ理論の特にグラフのスペクトルに関するまとめ 参考書一覧 情報数理の基礎と応用 疑問点 特性方程式の係数が何を意味するか(特にc_n,n>3) グラフのスペクトルを何に使うのか 前提 グラフ G = (V, E) Vは頂点の集合 Eは辺の集合 隣接行列 A: グラフGの辺…
networkxの使い方のメモ networkxのTutorialに書いてある. Graphの生成 import networkx as nx G = nx.Graph() グラフGにノードを追加 add_nodeでノードを1つ追加,add_nodes_fromで複数のノードをまとめて追加できる G.add_node(1) G.add_nodes_from([2, 3…
PyWaveletsに関するメモ (公式資料の低質の和訳). PyWaveletsとは Wavelet変換を実現するためのオープンソースのPythonパッケージ 以下の機能を提供 1次元,2次元,多次元の離散Wavelet変換(DWT)と逆離散Wavelet変換(IDWT) 1次元,2次元,多次元の多重解像…
デフォルトのコンパイラでclangが選ばれちゃう. シンボリックリンクの参照先をインストールしたgcc, g++に設定したものの,CMakeで選択されるデフォルトコンパイラはclangのままだった. 解決策はコンパイラの指定 コンパイラの指定を選択 コンパイラの指定…
from App store ソフトウェア 備考 Commander One Slack Xcode command line toolsのインストールだけでもOKっぽい Tag Editor Free ForkLift Dark modeなしファイルマネージャ from installer ソフトウェア 備考 Dropbox Office 365 Skype Sublime Text 3 t…
texwikiに書いてあった. いくつか設定をすればOK