<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE feed [
      <!ENTITY lt "&#38;#60;">
      <!ENTITY gt "&#62;">
      <!ENTITY amp "&#38;#38;">
      <!ENTITY apos "&#39;">
      <!ENTITY quot "&#34;">
      <!ENTITY nbsp "&#160;">
      <!ENTITY copy "&#169;">
]>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title type="text">ブログ</title>
    <subtitle type="text">UJP-Unwired Job Professional</subtitle>
    <updated>2026-05-18T17:21:09+09:00</updated>
    <id>http://www.ujp.jp/modules/d3blog/index.php</id>
    <link rel="alternate" type="text/xhtml" hreflang="ja" href="http://www.ujp.jp/" />
    <link rel="self" type="application/atom+xml" href="http://www.ujp.jp/modules/d3blog/index.php?page=atom" />
    <rights>Copyright (c) 1995-2020</rights>
    <generator uri="http://www.ujp.jp/">D3BLOG - XOOPS BLOG MODULE</generator>
    <entry>
        <title>IINAで再生が止まるのでのキャッシュ設定を変更してみた</title>
        <link rel="alternate" type="text/xhtml" href="http://www.ujp.jp/modules/d3blog/details.php?bid=11120" />
        <id>http://www.ujp.jp/modules/d3blog/details.php?bid=11120</id>
        <published>2026-03-24T17:13:54+09:00</published>
        <updated>2026-03-24T17:13:54+09:00</updated>
        <category term="Macソフト" label="Macソフト" />
        <author>
            <name>ujpblog</name>
        </author>
        <summary type="html" xml:base="http://www.ujp.jp/" xml:lang="ja">　m2tsファイルを作成しても，IINAで再生できないことがある．　正確にいうと，最初から再生して数秒は問題ないけど，その後が再生できない．　Geminiに訊いてみたら，以下の方法が良い...</summary>
       <content type="html" xml:lang="ja" xml:base="http://www.ujp.jp/">
<![CDATA[<div>　m2tsファイルを作成しても，IINAで再生できないことがある．<br />　正確にいうと，最初から再生して数秒は問題ないけど，その後が再生できない．<br /><br />　Geminiに訊いてみたら，以下の方法が良いとのことで試したら再生できたのでメモ．<br /><br />引用：<div class="xoopsQuote"><blockquote>キャッシュ（バッファ）を増やす<br /><br />    設定 > 詳細 > 追加のmpvオプション に以下を1行ずつ追加してみてください。<br />        cache=yes<br />        demuxer-max-bytes=500MiB<br /></blockquote></div><br /><center><img src="http://www.ujp.jp/modules/xelfinder/index.php?page=view&file=14923&IINAcacheSetting.jpg" align="center" alt="" />><br>IINAの設定</center><br />　これで最初から再生するなら問題なく，一時停止や再生再開もできる．しかしキーボードの矢印キーを押して早送りや巻き戻し，タイムバーをクリックしてスキップなどをすると再生できない．　再生を続けてもタイムバーは動かない．<br /><br />　キャッシュを大きくして読み込んでいると再生できることと，m2tsファイルをレコーダーに描き戻して再度取り出すと再生できることがあるから，これはレコーダ側で書き込むときになにかインデックスデータが破損しているのだろう．再作成した方が良いようにおもうけど，m2tsからmpegファイルに変換するなどの対処がよいらしい．</div>]]>
       </content>
    </entry>
    <entry>
        <title>tabulaを使ってPDFからCSVデータを取り出す</title>
        <link rel="alternate" type="text/xhtml" href="http://www.ujp.jp/modules/d3blog/details.php?bid=10997" />
        <id>http://www.ujp.jp/modules/d3blog/details.php?bid=10997</id>
        <published>2025-12-08T16:36:44+09:00</published>
        <updated>2025-12-08T16:36:44+09:00</updated>
        <category term="Macソフト" label="Macソフト" />
        <author>
            <name>ujpblog</name>
        </author>
        <summary type="html" xml:base="http://www.ujp.jp/" xml:lang="ja">　オカンの使っている銀行だと地方銀行なので手軽に記帳ができない．PCでログインして通帳を確認すると明細がPDFでダウンロードできたので，それをテキストにしてExcelに取り込もうと...</summary>
       <content type="html" xml:lang="ja" xml:base="http://www.ujp.jp/">
<![CDATA[<div>　オカンの使っている銀行だと地方銀行なので手軽に記帳ができない．PCでログインして通帳を確認すると明細がPDFでダウンロードできたので，それをテキストにしてExcelに取り込もうと思った．<br /><br />　PDFからテキストを取り出す方法はいくつかあるけど，Copilotに訊いて最初に出てきたTabulaを使ってみることに．<br /><br />Tabula<br /><a href="https://tabula.technology/" rel="external">https://tabula.technology/</a><br /><br />　TabulaはWindows,macOS,Linuxに対応してるが要するにJavaアプリ．macOS版をダウンロードしてZIPファイルを展開したのがこれ．<br /><br /><center><img src="http://www.ujp.jp/modules/xelfinder/index.php?page=view&file=14740&tabula20251208_1.jpg" align="center" alt="" /></center><br />　アプリを起動するとデフォルトブラウザでローカルに起動したサーバに接続される．<br /><center><img src="http://www.ujp.jp/modules/xelfinder/index.php?page=view&file=14739&tabula20251208_2.jpg" align="center" alt="" /></center><br />　Browseボタンで分析したいPDFファイルを指定．<br /><br /><center><img src="http://www.ujp.jp/modules/xelfinder/index.php?page=view&file=14738&tabula20251208_3.jpg" align="center" alt="" /></center><br />　Importボタンを押下．<br /><br /><center><img src="http://www.ujp.jp/modules/xelfinder/index.php?page=view&file=14737&tabula20251208_4.jpg" align="center" alt="" /></center><br />　読み込まれたPDFが表示されるので，マウスでテキスト化したい部分を選択し，右上の緑色のPreview & Export Extracted Dataボタンを押下．<br /><br /><center><img src="http://www.ujp.jp/modules/xelfinder/index.php?page=view&file=14736&tabula20251208_5.jpg" align="center" alt="" /></center><br />　なんだかぐちゃぐちゃだった．OCRでもそんなに酷くない．．．<br /><br />引用：<div class="xoopsQuote"><blockquote>Q:<br />Tabulaは日本語は難しい？<br /><br />A:<br />いい質問ですね。Tabulaは「表形式のPDFからCSVへ変換する」ことに特化したツールですが、日本語PDFに関しては次のような特徴があります。<br /><br />✅ 得意なケース<br /><br />テキスト型PDF（銀行通帳や明細が「文字」として埋め込まれているタイプ）なら、日本語でも問題なく抽出できます。<br />数字や日付の列は安定して取り出せるので、通帳の「日付・金額・残高」などは比較的きれいにCSV化できます。<br /></blockquote></div>　文字として埋め込まれているけどなぁ．．．と思って，通帳のPDFを開いてテキストを選択してコピペしたら抽出できた．．．ロックされているから取り出せないと勘違いしていた．．．</div>]]>
       </content>
    </entry>
    <entry>
        <title>機械彫刻用標準書体</title>
        <link rel="alternate" type="text/xhtml" href="http://www.ujp.jp/modules/d3blog/details.php?bid=10660" />
        <id>http://www.ujp.jp/modules/d3blog/details.php?bid=10660</id>
        <published>2025-04-14T23:45:23+09:00</published>
        <updated>2025-04-14T23:54:33+09:00</updated>
        <category term="Macソフト" label="Macソフト" />
        <author>
            <name>ujpblog</name>
        </author>
        <summary type="html" xml:base="http://www.ujp.jp/" xml:lang="ja">　面白いものを見つけたので，ダウンロードしてインストールしてみた．　特に使う予定はないのだけれど．．．機械彫刻用標準書体https://fontfree.me/1812引用：工業的な彫刻により、文字を...</summary>
       <content type="html" xml:lang="ja" xml:base="http://www.ujp.jp/">
<![CDATA[<div>　面白いものを見つけたので，ダウンロードしてインストールしてみた．<br />　特に使う予定はないのだけれど．．．<br /><br />機械彫刻用標準書体<br /><a href="https://fontfree.me/1812" rel="external">https://fontfree.me/1812</a><br /><br />引用：<div class="xoopsQuote"><blockquote>工業的な彫刻により、文字を製作するときに標準としている日本工業規格（JIS）に定められた、独特な機能美が表現できる書体です。普段の生活でいうと、マンションの注意書きなどの、アクリル板や金属板などを彫り込む際に利用されているフォントです。特徴としては、回転する機械の刃によって軌跡を描くように彫刻されるため、収録されている全ての字画が一定の線幅で統一されており、その先端は半円形になっています。</blockquote></div>　<br /><br />械彫刻用標準書体<br /><a href="https://ja.wikipedia.org/wiki/%E6%A9%9F%E6%A2%B0%E5%BD%AB%E5%88%BB%E7%94%A8%E6%A8%99%E6%BA%96%E6%9B%B8%E4%BD%93" rel="external">https://ja.wikipedia.org/wiki/%E6%A9%9F%E6%A2%B0%E5%BD%AB%E5%88%BB%E7%94%A8%E6%A8%99%E6%BA%96%E6%9B%B8%E4%BD%93</a></div>]]>
       </content>
    </entry>
    <entry>
        <title>VMware Desktop Hypervisor Pro　無料化</title>
        <link rel="alternate" type="text/xhtml" href="http://www.ujp.jp/modules/d3blog/details.php?bid=10130" />
        <id>http://www.ujp.jp/modules/d3blog/details.php?bid=10130</id>
        <published>2024-05-26T23:18:26+09:00</published>
        <updated>2024-05-26T23:18:26+09:00</updated>
        <category term="Macソフト" label="Macソフト" />
        <author>
            <name>ujpblog</name>
        </author>
        <summary type="html" xml:base="http://www.ujp.jp/" xml:lang="ja">　個人利用だとVMware Playerで十分だろうし，macOSようだと随分前からVMware FUSIONは無料になっていたから，大きくメリットが増えたということでもないな．　仮想化ビジネスはお金にならな...</summary>
       <content type="html" xml:lang="ja" xml:base="http://www.ujp.jp/">
<![CDATA[<div>　個人利用だとVMware Playerで十分だろうし，macOSようだと随分前からVMware FUSIONは無料になっていたから，大きくメリットが増えたということでもないな．　仮想化ビジネスはお金にならない感じなのだろうか．<br /><br /><br />VMware Desktop Hypervisor Proアプリが個人用に利用可能になりました<br /><a href="https://blogs.vmware.com/cloud-foundation/2024/05/14/vmware-desktop-hypervisor-pro-apps-now-available-for-personal-use/" rel="external">https://blogs.vmware.com/cloud-foundation/2024/05/14/vmware-desktop-hypervisor-pro-apps-now-available-for-personal-use/</a><br /><br />引用：<div class="xoopsQuote"><blockquote>FusionとWorkstationのBroadcomへの統合を完了するにつつで、製品ラインナップの変更点と、それらをユーザーに提供する方法をコミュニティと共有したいと考えました。最も重要なのは、デスクトップハイパーバイザー製品のライセンス方法の変更です。今後、Fusion ProとWorkstation Proには2つのライセンスモデルがあります。<br /><br />現在、Proアプリの無料個人使用または有料商用利用サブスクリプションを提供しています。ユーザーは、商用サブスクリプションが必要かどうかをユースケースに基づいて決定します。これは、Mac、Windows、またはLinuxコンピュータ上の仮想ラボを望む日常のユーザーは、support.broadcom.comにある新しいダウンロードポータルから最新のビルドを登録してダウンロードするだけで無料でできることを意味します。新しい商用モデルでは、商用使用ライセンスを必要とするユーザー向けに、製品グループの提供を単一のSKU（VCF-DH-PRO）に減らしました。この簡素化により、40以上の他のSKUを排除し、VMware Desktop Hypervisorアプリ、Fusion Pro、Workstation Proの見積もりと購入がこれまで以上に簡単になります。新しいデスクトップハイパーバイザーアプリのサブスクリプションは、どのBroadcom Advantageパートナーからでも購入できます。</blockquote></div></div>]]>
       </content>
    </entry>
    <entry>
        <title>difftastic</title>
        <link rel="alternate" type="text/xhtml" href="http://www.ujp.jp/modules/d3blog/details.php?bid=9809" />
        <id>http://www.ujp.jp/modules/d3blog/details.php?bid=9809</id>
        <published>2024-01-07T17:55:24+09:00</published>
        <updated>2024-01-07T17:55:24+09:00</updated>
        <category term="Macソフト" label="Macソフト" />
        <author>
            <name>ujpblog</name>
        </author>
        <summary type="html" xml:base="http://www.ujp.jp/" xml:lang="ja">　diffの結果の可読性を上げてくれるというので試してみた．Difftastichttps://difftastic.wilfred.me.uk引用：Difftastic is a CLI diff tool that compares files based on their syntax, not line-by-line. Difftastic produces accurate...</summary>
       <content type="html" xml:lang="ja" xml:base="http://www.ujp.jp/">
<![CDATA[<div>　diffの結果の可読性を上げてくれるというので試してみた．<br /><br />Difftastic<br /><a href="https://difftastic.wilfred.me.uk" rel="external">https://difftastic.wilfred.me.uk</a><br /><br />引用：<div class="xoopsQuote"><blockquote>Difftastic is a CLI diff tool that compares files based on their syntax, not line-by-line. Difftastic produces accurate diffs that are easier for humans to read.<br /><i><u>Difftastic は CLI の diff ツールであり、行単位ではなく構文に基づいてファイルを比較します。Difftastic は、人間が読みやすい正確な差分を生成します。</i></u><br /></blockquote></div><br /><div class="xoopsCode"><pre><code>$ brew info difftastic🆑
==&gt; difftastic: stable 0.53.1 (bottled)
Diff that understands syntax
https://github.com/Wilfred/difftastic
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/d/difftastic.rb
License: MIT
==&gt; Dependencies
Build: rust ✘
==&gt; Analytics
install: 963 (30 days), 3,478 (90 days), 9,863 (365 days)
install-on-request: 962 (30 days), 3,478 (90 days), 9,863 (365 days)
build-error: 1 (30 days)
$</code></pre></div><div class="xoopsCode"><pre><code>$ brew install difftastic🆑
==&gt; Downloading https://ghcr.io/v2/homebrew/core/difftastic/manifests/0.53.1
######################################################################## 100.0%
==&gt; Fetching difftastic
==&gt; Downloading https://ghcr.io/v2/homebrew/core/difftastic/blobs/sha256:33d84b70a7e79e0b0b5895355108856aa475124f426c
######################################################################## 100.0%
==&gt; Pouring difftastic--0.53.1.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/difftastic/0.53.1: 8 files, 65.4MB
==&gt; Running `brew cleanup difftastic`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
$</code></pre></div>　インストールされたプログラムを調べる．<br /><div class="xoopsCode"><pre><code>$ which difftastic🆑</code></pre></div>　どこにインストールされたか調べる．<br /><div class="xoopsCode"><pre><code>$ brew ls difftastic🆑
/usr/local/Cellar/difftastic/0.53.1/.crates.toml
/usr/local/Cellar/difftastic/0.53.1/.crates2.json
/usr/local/Cellar/difftastic/0.53.1/bin/difft 🈁
$</code></pre></div>　difftコマンドだったのか．<br /><br />　試してみる．<br />　準備したテキスト．<br /><div class="xoopsCode"><pre><code>$ cat /tmp/diff1.txt🆑
1 This is a pen.
2 That is a pencil.
3 how do you do?
4 I beck your perdon?
5 may be tommorow
$
$ cat /tmp/diff2.txt🆑
1 This is a ball pen.
2 That is a pencil.
3 how do you do?
5 may be tommorow
$</code></pre></div>　普通のdiffコマンドを実行．<br /><div class="xoopsCode"><pre><code>$ diff /tmp/diff1.txt  /tmp/diff2.txt🆑
1c1
&lt; 1 This is a pen.
---
&gt; 1 This is a ball pen.
4,5c4
&lt; 4 I beck your perdon?
&lt; 5 may be tommorow
---
&gt; 5 may BE tommorow</code></pre></div>　difftコマンドを実行．<br /><div class="xoopsCode"><pre><code>$ difft /tmp/diff1.txt /tmp/diff2.txt🆑
/tmp/diff2.txt --- Text
1 1 This is a pen.                                         1 1 This is a ball pen.
2 2 That is a pencil.                                      2 2 That is a pencil.
3 3 how do you do?                                         3 3 how do you do?
4 4 I beck your perdon?                                    .
5 5 may be tommorow                                        4 5 may BE tommorow

$</code></pre></div>　色分けされているのでテキストで見るよりはカラーで見た方が良いかな．<br /><br /><center><img src="http://www.ujp.jp/modules/xelfinder/index.php?page=view&file=12270&difft.jpg" align="center" alt="" /></center><br />　あまり考えずに用意した試験用ファイルのdiff結果なので，有意義かどうかまでの検証はできてないね．</div>]]>
       </content>
    </entry>
</feed>