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

Latexの読めない数式フォント mathfracというらしい。 http://tex.stackexchange.com/questions/94839/how-could-i-type-the-symbol-of-an-ideal

gitでmerge conflictした時のコードの見方 Git conflict markers - Stack Overflow

Auctex AUCTeX - Sophisticated document creation

GitHub共同作業 プライベートのレポジトリにコラボレータを追加する場合。 Adding collaborators to a personal repository - User DocumentationOrganizationのレポジトリにコラボレータを追加する場合。 Adding outside collaborators to repositories in …

numpyの(m, n)行列から(m, 1)行列をrow-wiseで引く (m, 1)の行列を作ればいいんですね。タイトルを正確に書いてみようとして、ああなるほど、その通りでした。 python - numpy subtract every row of matrix by vector - Stack Overflow

Ubuntu desktopでネットワークの設定をコマンドから行う方法 Configuring your network via the CLI will likely interfere with Network Manager or wicd. To counter this, disable the startup script of either application or completely remove the pa…

matplotlibのsubplotでtick labelのフォントサイズ変更 python - Matplotlib make tick labels font size smaller - Stack Overflow

Macportsのqt4-macがEl Capitanでインストール可能になった ついにmayaviのインストールができた。

QNAPのRADIUS clientの設定 IP addressというところにはnetwork addressを入れるらしい。 Configuration | Router Configuration Blog wifiアクセスポイントが複数あるときでも、これでいける。

統計 scikit-learn: machine learning in Python — scikit-learn 0.16.1 documentation

白抜き、袋文字 袋文字・影文字: LaTeX

VirtualBoxの別のVMをコピーして別のVMとして使う VMを作って登録する。 VBoxManage createvm --name ....vboxファイルが所定の場所に作られる。それを登録する。 VBoxManage registervm fullpath_to_filename.vbox昔書いた記事がまだ使えるようだ。VMを作っ…

GridEngineのMPIとopenMPのハイブリッド分散実行の設定 Hybrid MPI-OpenMP Jobs - URCFwiki Exploiting the Grid Engine Core Binding Feature MPI tutorial A Comprehensive MPI Tutorial Resource · MPI Tutorial wesleykendall/mpitutorial · GitHub

Pythonのdistutilsやpipでのユーザローカルへのインストール --userオプション pip install hoge --userとか python setup.py install --userとかで~/.local以下にインストールされる。 mpi4py openmpiの環境はすでにセットアップできていたので、mpi4pyのイ…

Webサーバ Apache一択だと思っていたのに、bottle+gunicorn+nginxとか全くついていけない。 Bottleについて Pythonの軽量WebサーバBottleの使い方 - MyEnigma Bottle: Python Web Framework — Bottle 0.13-dev documentation Flaskについて Welcome | Flask …

数学 Graduate Texts in Mathematics - Wikipedia, the free encyclopedia GAP System for Computational Discrete Algebra Fourth training course on symmetry and group theory, Tsukuba, Japan, 7-11 March 2016 Fourth training course on symmetry and…

Numpyのwarningを例外処理にしてロギング numpyのfloating-point errorはデフォルトではwarningを出す。 http://docs.scipy.org/doc/numpy/reference/generated/numpy.seterr.html ここの情報によると、 http://stackoverflow.com/questions/10519237/python…

MPI http://mpitutorial.com/tutorials/mpi-hello-world/

El Capitanアップグレード OSのアップグレードはスムースに進む。 Vmware 8 Vmware 8にアップグレード。Full screenだと起動でクラッシュすることがある。Single windowだとうまく起動するようだ。Single windowで起動した後、full screenにしてもクラッシュ…

slapdの応答が悪くなる(Ubuntu 14.04 server AMD-64) sshアクセスが増えたサーバのslapdの応答が悪くなった(一度落ちた)ので、クライアント側であれこれやってみた後うまくいかなかったので、サーバのsyslogを見てみると、こんなのが出ていた。 slapd[17…

クロージャというのか この情報を探していました。クロージャの部分。 http://qiita.com/_rdtr/items/d3bc1a8d4b7eb375c368

多数のコマンドをtmux内で次々に起動し実行する方法を探す 基本的には全部tmuxのmanに書いていると思うけど、まず参考になるサイトを検索。 http://tyano.shelfinc.com/post/81276875680/tmux-with-shell このサイトの例だと、まず新しいsessionを作って(new…

Ubuntu key-repeat delayの調整 なぜかcontrol panelからでは変更結果が反映されないので、以下のコマンドを実行する。 % gsettings set org.gnome.settings-daemon.peripherals.keyboard delay 250参考 http://askubuntu.com/questions/140255/how-to-overr…

Ubuntuの再起動が*will now restartで止まる。 以下のサイトを参考にgrubに設定を加えると直ったような、直ってないような・・・ http://ubuntuforums.org/archive/index.php/t-1776484.html

Macportsで古いバージョンのパッケージをインストールする方法 Macportsのselfupdate/upgrade outdatedしたところ、vtk(6.3)とのバージョンミスマッチでmayavi(4.4.2)がインストールでこけるようになってしまった。そこで、古いvtk(6.2)をインストールする方…

メモ https://wiki.gnome.org/Projects/Tracker

zshエラーメッセージ compinit: function definition file not found 以下のリンクがストライクでした。 http://yag-ays.hateblo.jp/entry/2012/06/04/164111

Generator expressions 仕事でいつもpythonを使っている割に、はじめにサッと勉強して難しそうなのでスキップしたような機能を使えていない。 恥ずかしながらユニットテストを使ったことがないので、昨日勉強しようと思いググったり、本を読んでみたりして脇…

Python C-APIのエラーハンドリング https://docs.python.org/2/extending/extending.html

Mayavi再び http://stackoverflow.com/questions/25809845/how-to-extract-the-vertex-data-from-a-tvtk-polydata-instance http://stackoverflow.com/questions/21500190/contour-plot-from-data-in-a-vtk-file-using-python