| description |
|---|
OpenAI Codex CLIを使用したコードレビュー。ローカル差分レビュー、ファイル単体レビュー、未コミット変更のレビューに対応。 |
OpenAI Codex CLIを使用してコードレビューを実行する。
自宅でビデオ会議をしていると、空調とか屋外のノイズなどをマイクが拾いがちなので、Voice Meeter Bananaを使ってノイズを軽減するための工夫をあれこれ試してみたメモ。
| #!/usr/bin/python | |
| from math import exp | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| def rbf_kernel(x1, x2, variance = 1): | |
| return exp(-1 * ((x1-x2) ** 2) / (2*variance)) | |
| def gram_matrix(xs): |
2014.11.11時点でのインストール情報です。
pythonまわりがややこしいので、pyenvのanaconda-2.0.1にインストールする方針
以下をインストール
tl;dr IdotabaのGemfileは"全プレ"になりました。ご笑納ください。→ Gemfile
rebuild.fmのep36でお知らせさせていただきました、Idobataの最新版Gemfileプレゼントをお届けいたします。 過日はIdobata会議01への多数のご参加ありがとうございました。おかげさまで盛況なミートアップとなりました。 (当日会場を提供いただいたEngine Yardさまのブログにて、Idobata会議01当日の様子がまとめられています。ありがとうございます!)
| #!/usr/bin/python | |
| # crf.py (by Graham Neubig) | |
| # This script trains conditional random fields (CRFs) | |
| # stdin: A corpus of WORD_POS WORD_POS WORD_POS sentences | |
| # stdout: Feature vectors for emission and transition properties | |
| from collections import defaultdict | |
| from math import log, exp | |
| import sys |
| # | |
| # Working with branches | |
| # | |
| # Get the current branch name (not so useful in itself, but used in | |
| # other aliases) | |
| branch-name = "!git rev-parse --abbrev-ref HEAD" | |
| # Push the current branch to the remote "origin", and set it to track | |
| # the upstream branch | |
| publish = "!git push -u origin $(git branch-name)" |