じゃがいも畑(個人メモ)

2022-09-22に作成

個人的な開発用のメモです。
やりたい言語があるんじゃなくて、作りたい物があるのでその方策を探している系。

所有者限定モードのためこのボードには投稿できません ボードとは?

vagrant updateメモと余談

vagrant update

  • ある朝思い立ってupdateしました
  • エラーメモ

vagrant 自体の update

  • 入ってたバーションは Vagrant 2.2.X
  • https://www.vagrantup.com/downloads からインストーラを取得
  • インストーラ実行。C:\ に新たなディレクトリを作ろうと指定してくるが、元からあるE:\Vagrant を指定
  • PC再起動
$ vagrant -v
Vagrant 2.3.1

以下余談

  • 結論:add centos7 しようとしてたがすでに入ってた
$ vagrant box list
centos/7 (virtualbox, 2004.01)

...

add centos7しようとする

-- update後、addしようとした

$ vagrant box add centos7

-- 下記のようなエラー

Vagrant failed to initialize at a very early stage:

The plugins failed to initialize correctly. This may be due to manual
modifications made within the Vagrant home directory. Vagrant can
attempt to automatically correct this issue by running:

  vagrant plugin repair

If Vagrant was recently updated, this error may be due to incompatible
versions of dependencies. To fix this problem please remove and re-install
all plugins. Vagrant can attempt to do this automatically by running:

  vagrant plugin expunge --reinstall

Or you may want to try updating the installed plugins to their latest
versions:

  vagrant plugin update

Error message given during initialization: Unable to resolve dependency: user requested 'vagrant-hostsupdater (= 1.2.4)'
$ vagrant plugin expunge --reinstall

This command permanently deletes all currently installed user plugins. It
should only be used when a repair command is unable to properly fix the
system.

Continue? [N]: n

Vagrant expunge has been declined. Skipping removal of plugins.

Vagrant will now attempt to reinstall user plugins that were removed.
Installing the 'vagrant-hostsupdater' plugin. This can take a few minutes...
Installed the plugin 'vagrant-hostsupdater (1.2.4)'!
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vbguest (0.30.0)'!

==> box: Box file was not detected as metadata. Adding it directly...
A name is required when adding a box file directly. Please pass
the `--name` parameter to `vagrant box add`. See
`vagrant box add -h` for more help.

  • ここでVagrant Cloudを見に行って前に入れてなかったっけ?となってbox listを確認した。
  • もう入ってたのでこの話はおわり。

前回までのあらすじ

VSCodeはあるけどIDEはいってないよ
 → 調べ中

分かるひとには分かる大ボケすぎる

# VSCodeとVisual Studioは別の物だよ

Visual Studio Codeというと、その名称からVisual Studioを連想される方もいるでしょう。Visual Studioは同じくMicrosoft社の提供する統合開発環境(IDE)です。(中略)
VSCodeは、Visual Studioからエディタ部分を切り取りスピンアウトしたバージョンと位置付けることができますが、名前が似ているだけで中身はまったくの別物です。

 引用:開発の定番「VSCode」とは? インストールから使い方までを解説

いれました

いれました
一体何年開発者名乗っているんですか?
でもはるか昔にVisual Studioで開発してた様な気もしました。

visual studio

お気持ち

  • 頭で考えてるだけだと、ずっと同じところを行ったり来たりして進まないよね~ということでこの場をお借りするものです。
  • まじめに毎日業務外でコードを書いたりする人間ではない上にやる気にめちゃくちゃムラがあるので三日坊主になる気がする。

作りたいもの

  • 配信用 字幕表示+字幕読み上げツール
  • わたくし本人はしゃべりたくないけど、下記みたいな感じでゲームを日記的にプレイ配信はしたい、かもしれんという個人内需要により出たもの

配信画面のサンプル画像

とりあえず考えたり調べたりしたもの

  • VoiceText WebAPI がつかえそう
  • OBSに表示してる時計みたいにwebからテキストフォーム送信→OBSに字幕表示+ボイスしゃべらせ ができたらいいな~
     → OBSの時計はどういう仕組みで表示してるのかを確認したい
    • 白背景であればUWPアプリ?を作って字幕表示のみ+読み上げでもいいのかもしれない
       → UWPアプリ作成演習
    • VSCodeはあるけどIDEはいってないよ
       → 調べ中