Skip to content

Instantly share code, notes, and snippets.

@Hiroshiba
Hiroshiba / report_claude.md
Created July 25, 2026 13:59
ARM64版voicevoxを作る場合にやること調査結果

Arm64 Windows版VOICEVOXビルド調査

調査の対象

Arm64版WindowsでVOICEVOXを動かすために、どのリポジトリで何を変更すればよいかを調査した。

対象は voicevox(エディター)、voicevox_enginevoicevox_coreonnxruntime-buildervoicevox_additional_libraries の5リポジトリである。 調査の過程で、voicevox_core が依存する open_jtalk-rs と、voicevox_engine が依存する kanalizerpyopenjtalkpyworldsoxr も対象に含めた。 これらはVOICEVOXのビルドが実際に通るかどうかを左右する依存先であり、5リポジトリ側の変更だけでは完結しないためである。

@Hiroshiba
Hiroshiba / PRテンプレート・Issueテンプレートの改善と整理 のissue案.md
Created March 23, 2026 12:06
PRテンプレート・Issueテンプレートの改善と整理 のissue案.md

内容

PRテンプレートとIssueテンプレートを改善したいです。 ついでに各リポジトリに重複しているテンプレートの整理と、questionラベルの統一もやりたいです。

やりたいこと

  1. PRテンプレート・Feature Requestテンプレートに「何を解決したいのか」を追記する
( https://github.com/VOICEVOX/voicevox/pull/2866 用 )
!hiho_get_pr_detail_comments_review_threads 2866
以上が VOICEVOX/voicevox/pull/2866 のPRのやり取りすべてです。
このPRはすでにマージされています。
更に必要な情報があればgithub mcpで取得して下さい。
このPRで未解決なコメントをまとめてissueを作ろうと思います。
もれなく作りたいです。

指示プロンプト(!gh pr diffを実行したあと)

以上が今のブランチとmainブランチとのdiffです。
この実装は変更が2000行ほどあります。100~500行ほどの変更に分けていきたいのですが、どう分けるのが良さそうでしょうか。
コードを熟読してください。READMEも読んでこのプロジェクトの目的も把握しつつ適切な粒度を教えて下さい。
ultrathink

↓結果

@Hiroshiba
Hiroshiba / createProviderAndInjector.ts
Created October 25, 2024 16:45
Vueで、型を指定しつつprovide/injectできる関数を生成する。
import { InjectionKey, provide, inject } from "vue";
/**
* 型を指定しつつprovide/injectできる関数を生成する。
* 親のコンポーネントでprovideを行い、子孫コンポーネントでinjectを行うことで、
* 離れているコンポーネント間のデータの受け渡しが簡単になる。
*
* @example
* // 親コンポーネント
@Hiroshiba
Hiroshiba / hiho_counter_pr.bash
Created October 23, 2024 12:56
プルリクエストに対してプルリクエストを投げるコード
#!/bin/bash
set -euo pipefail
# HEADから過去5回分のコミットを探索し、カウンタープルリクエスト対象のブランチを決定
attempts=5
branches=""
for ((i = 0; i < attempts; i++)); do
commit_ref="HEAD"
for ((j = 0; j < i; j++)); do
@Hiroshiba
Hiroshiba / generate.ipynb
Last active May 20, 2021 21:54
PySide2 Property Generator
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Hiroshiba
Hiroshiba / 01.py
Created April 3, 2021 18:22
きりたん歌唱データベースにjuliusの音素アライメントを適用させるコードメモ
import subprocess
from pathlib import Path
lab = Path("01.lab.txt").read_text()
i = 0
out_labs = []
for l in lab.splitlines():
a, b, c = l.split()
if c == "pau":
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.