<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>技術ノート on kj’s blog</title><link>https://kfjie.me/ja/categories/notes/</link><description>Recent content from kj’s blog</description><generator>Hugo</generator><language>ja</language><managingEditor>None (Kfjie)</managingEditor><webMaster>None (Kfjie)</webMaster><copyright>本ブログのすべての文書は、特に指定されていない限り、BY-NC-SAライセンスに従っています。引用の際は出典を明記してください！</copyright><lastBuildDate>Thu, 29 Oct 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://kfjie.me/ja/categories/notes/index.xml" rel="self" type="application/rss+xml"/><item><title>12GBのGPUで動画モデルを微調整する方法：ZeRO-3を用いたマルチGPU実験の記録</title><link>https://kfjie.me/ja/post/zero3-multigpu-debugging/</link><pubDate>Thu, 29 Oct 2026 00:00:00 +0800</pubDate><author>None (Kfjie)</author><guid>https://kfjie.me/ja/post/zero3-multigpu-debugging/</guid><description>
<![CDATA[<h1>12GBのGPUで動画モデルを微調整する方法：ZeRO-3を用いたマルチGPU実験の記録</h1><p>著者: Kfjie(None)</p>
        
          <p>この記事では、以前サーバー上で動画モデルの微調整を試みた際の過程を記録しておく。</p>
<p>Video-ORAを使用しており、その役割はモデルに動画を視聴させ、保持すべき時間範囲を出力させ、それを後続のプログラムに引き継いで編集を行うことです。私はSFTを担当しており、具体的には動画と対応する正解を用いて教師あり微調整を行い、LoRAを用いて少量の追加パラメータを学習させています。</p>
        
        <hr><p>この記事は2026-10-29に<a href='https://kfjie.me/'>kj’s blog</a>で公開され、最終更新日は2026-10-29です</p>]]></description><category>Notes</category></item><item><title>記録：連結リストの逆順化</title><link>https://kfjie.me/ja/post/reverse-linked-list/</link><pubDate>Sun, 18 Oct 2026 20:00:00 +0800</pubDate><author>None (Kfjie)</author><guid>https://kfjie.me/ja/post/reverse-linked-list/</guid><description>
<![CDATA[<h1>記録：連結リストの逆順化</h1><p>著者: Kfjie(None)</p>
        
          <p>r：単方向リストの全反転</p>
<h2 id="まずこのリンクリストを見てみましょう">
<a class="header-anchor" href="#%e3%81%be%e3%81%9a%e3%81%93%e3%81%ae%e3%83%aa%e3%83%b3%e3%82%af%e3%83%aa%e3%82%b9%e3%83%88%e3%82%92%e8%a6%8b%e3%81%a6%e3%81%bf%e3%81%be%e3%81%97%e3%82%87%e3%81%86"></a>
まず、このリンクリストを見てみましょう
</h2><p>例えば、次のようなリンクリストがあるとします：</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">head
</span></span><span class="line"><span class="cl"> ↓
</span></span><span class="line"><span class="cl"> 1 → 2 → 3 → 4 → null
</span></span></code></pre></div><p>図中の各ノードの位置はそのままに、ノード間の参照関係を逆にする：</p>
        
        <hr><p>この記事は2026-10-18に<a href='https://kfjie.me/'>kj’s blog</a>で公開され、最終更新日は2026-10-18です</p>]]></description><category>Notes</category></item><item><title>ChatGPT 割引のチェックアウトにおける iDEAL の引き落とし履歴</title><link>https://kfjie.me/ja/post/chatgpt-trial-ideal-redirect-extraction/</link><pubDate>Thu, 20 Aug 2026 00:10:00 +0800</pubDate><author>None (Kfjie)</author><guid>https://kfjie.me/ja/post/chatgpt-trial-ideal-redirect-extraction/</guid><description>
<![CDATA[<h1>ChatGPT 割引のチェックアウトにおける iDEAL の引き落とし履歴</h1><p>著者: Kfjie(None)</p>
        
          <p>この記事では、2026年7月から8月にかけて一時的に利用可能だったiDEALのチェーン引き出しルートをまとめています。その後、iDEALの制限は明らかに厳格化され、「1つのアカウントにつき1回のスキャン」という方式も導入されました。ここでは、当時確認されたリクエストやステータスの変化を記録として残しておきます。</p>
        
        <hr><p>この記事は2026-08-20に<a href='https://kfjie.me/'>kj’s blog</a>で公開され、最終更新日は2026-08-20です</p>]]></description><category>Notes</category></item><item><title>ChatGPT 割引 チェックアウト クレジットカードの登録履歴</title><link>https://kfjie.me/ja/post/chatgpt-trial-direct-card-extraction/</link><pubDate>Thu, 20 Aug 2026 00:00:00 +0800</pubDate><author>None (Kfjie)</author><guid>https://kfjie.me/ja/post/chatgpt-trial-direct-card-extraction/</guid><description>
<![CDATA[<h1>ChatGPT 割引 チェックアウト クレジットカードの登録履歴</h1><p>著者: Kfjie(None)</p>
        
          <p>この記事では、2026年8月頃に正常に処理できたChatGPTの割引用Checkoutダイレクトカードの記録を補足します。当時は、「まずカードを紐付け、その後Checkoutを作成する」という方法を採用し、特定のカード発行会社の場合、チェックアウトページで直接送信すると拒否されやすいという問題を回避しました。</p>
        
        <hr><p>この記事は2026-08-20に<a href='https://kfjie.me/'>kj’s blog</a>で公開され、最終更新日は2026-08-20です</p>]]></description><category>Notes</category></item><item><title>Raspberry Pi 4のVNCで画面が真っ白になる問題の解決策</title><link>https://kfjie.me/ja/post/raspberry-pi-4-vnc-white-screen-solution/</link><pubDate>Tue, 17 Feb 2026 23:55:00 +0800</pubDate><author>None (Kfjie)</author><guid>https://kfjie.me/ja/post/raspberry-pi-4-vnc-white-screen-solution/</guid><description>
<![CDATA[<h1>Raspberry Pi 4のVNCで画面が真っ白になる問題の解決策</h1><p>著者: Kfjie(None)</p>
        
          <p>Raspberry Pi 4B (4GB, Rev 1.5) に Raspberry Pi OS (64ビット) をインストールして使用する場合、SSH を初めて設定し、VNC サーバーを起動した後、RealVNC Viewer を使用して接続すると、画面が真っ白になる（右クリックメニューしか表示されない）という問題が発生することがあります。これは通常、システムがデフォルトで使用している Wayland ディスプレイサーバーが RealVNC と互換性がないことが原因です。</p>
        
        <hr><p>この記事は2026-02-17に<a href='https://kfjie.me/'>kj’s blog</a>で公開され、最終更新日は2026-02-17です</p>]]></description><category>Notes</category></item><item><title>Linux サーバーのディレクトリ構造の詳細解説</title><link>https://kfjie.me/ja/post/understanding-the-server/</link><pubDate>Sat, 07 Feb 2026 21:18:00 +0800</pubDate><author>None (Kfjie)</author><guid>https://kfjie.me/ja/post/understanding-the-server/</guid><description>
<![CDATA[<h1>Linux サーバーのディレクトリ構造の詳細解説</h1><p>著者: Kfjie(None)</p>
        
          <p>Linuxのファイルシステムはツリー構造を採用しており、すべてのファイルとディレクトリは <strong>ルートディレクトリ</strong> (<code>/</code>)。</p>
<h2 id="linux-ファイルシステムの構造図">
<a class="header-anchor" href="#linux-%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%b7%e3%82%b9%e3%83%86%e3%83%a0%e3%81%ae%e6%a7%8b%e9%80%a0%e5%9b%b3"></a>
Linux ファイルシステムの構造図
</h2><pre class="mermaid">
  graph LR
    Root["/ (根目录)"]

    subgraph sg_core [核心系统]
        Usr["/usr/"]
        Boot["/boot/"]
        LinkBin["/bin, /sbin, /lib*"]
    end
    
    LinkBin -.-> Usr
    Root --> Usr
    Root --> Boot

    Usr --> UsrBin["bin/ (git, python3)"]
    Usr --> UsrSbin["sbin/ (nginx)"]
    Usr --> UsrLocal["local/ (手动安装)"]
    Usr --> UsrLib["lib/ (库文件)"]

    subgraph sg_data [配置与数据]
        Etc["/etc/"]
        Var["/var/"]
        Tmp["/tmp/"]
    end

    Root --> Etc
    Root --> Var
    Root --> Tmp

    Etc --> NginxConf["nginx/"]
    Etc --> Systemd["systemd/system/"]
    Etc --> Ssh["ssh/"]

    Var --> Log["log/"]
    Var --> Www["www/"]

    subgraph sg_apps [应用软件]
        Opt["/opt/"]
        Snap["/snap/"]
    end

    Root --> Opt
    Root --> Snap
    
    Opt --> OpenList["openlist/"]

    subgraph sg_users [用户空间]
        Home["/home/"]
        RootHome["/root/"]
    end
    
    Root --> Home
    Root --> RootHome

    subgraph sg_virtual [虚拟文件系统]
        DirProc["/proc/"]
        DirSys["/sys/"]
        DirDev["/dev/"]
        DirRun["/run/"]
    end

    Root --> DirProc
    Root --> DirSys
    Root --> DirDev
    Root --> DirRun

    subgraph sg_mounts [外部存储]
        Mnt["/mnt/"]
        Media["/media/"]
    end

    Root --> Mnt
    Root --> Media
</pre><hr>
<h2 id="1-コアシステムのディレクトリ">
<a class="header-anchor" href="#1-%e3%82%b3%e3%82%a2%e3%82%b7%e3%82%b9%e3%83%86%e3%83%a0%e3%81%ae%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa"></a>
1. コアシステムのディレクトリ
</h2><h3 id="bin--sbin-binaries">
<a class="header-anchor" href="#bin--sbin-binaries"></a>
bin &amp; sbin (Binaries)
</h3><ul>
<li><strong>用途</strong> ：実行可能なコマンドを格納します。</li>
<li><strong>説明</strong>：
<ul>
<li><strong>bin</strong> ：すべてのユーザーが利用できる基本的なコマンドを格納しており、例えば <code>ls</code>, <code>cp</code>, <code>mv</code> など。</li>
<li><strong>sbin</strong> ：主にシステム管理に使用されるコマンドが格納されており、通常は管理者権限を持つユーザーのみが実行可能です。例えば、 <code>reboot</code>, <code>fdisk</code> など。</li>
</ul>
</li>
</ul>
<h3 id="etc-etceteraconfiguration">
<a class="header-anchor" href="#etc-etceteraconfiguration"></a>
etc (Etcetera/Configuration)
</h3><ul>
<li><strong>用途</strong> ：システムおよびソフトウェアの設定ファイルを保存する。</li>
<li><strong>説明</strong> ：Nginx の設定、ユーザーアカウント情報、ネットワーク設定などがここに格納されています。このディレクトリ内のファイルを変更すると、システムやサービスの動作に直接影響します。
<ul>
<li>例：私の Nginx 設定ファイルは次の場所にあります。 <code>/etc/nginx/nginx.conf</code>。</li>
</ul>
</li>
</ul>
<h3 id="lib-lib64-libraries">
<a class="header-anchor" href="#lib-lib64-libraries"></a>
lib, lib64 (Libraries)
</h3><ul>
<li><strong>用途</strong> ：システム共有ライブラリを格納する。</li>
<li><strong>説明</strong> ：Windows と同様の <code>.dll</code> ファイル。システム内のプログラムに実行時のサポートを提供します。</li>
</ul>
<h3 id="systemd-system-daemons">
<a class="header-anchor" href="#systemd-system-daemons"></a>
systemd (System Daemons)
</h3><ul>
<li><strong>主要な目次</strong>：<code>/etc/systemd/system/</code></li>
<li><strong>用途</strong>：<strong>執事の本拠地</strong>。</li>
<li><strong>説明</strong> ：ここには「サービス設定ファイル」が格納されています (<code>.service</code> （ファイル）。
<ul>
<li>実行すると <code>systemctl enable nginx</code> または <code>systemctl start frps</code> その際、システムは実際にはここから対応するファイルを探し出します。</li>
<li><strong>docker.service.d/</strong> ：Docker サービスのカスタム設定ディレクトリ（プロキシ設定など）。</li>
<li>特定のプログラムを起動時に自動的に実行させたい場合は、ここに設定ファイルを配置する必要があります。</li>
</ul>
</li>
</ul>
<h3 id="boot-boot-loader">
<a class="header-anchor" href="#boot-boot-loader"></a>
boot (Boot Loader)
</h3><ul>
<li><strong>用途</strong> ：起動ファイル。</li>
<li><strong>説明</strong> ：カーネルの保存 (<code>vmlinuz</code>) およびブートローダー (GRUB)。通常は手を加える必要はありませんが、このマシンの起動に関する問題を修正する場合を除きます。</li>
</ul>
<hr>
<h2 id="2-ソフトウェアはどこにあるのかsoftware-locations">
<a class="header-anchor" href="#2-%e3%82%bd%e3%83%95%e3%83%88%e3%82%a6%e3%82%a7%e3%82%a2%e3%81%af%e3%81%a9%e3%81%93%e3%81%ab%e3%81%82%e3%82%8b%e3%81%ae%e3%81%8bsoftware-locations"></a>
2. ソフトウェアはどこにあるのか？（Software Locations）
</h2><p>Linux では、ソフトウェアは Windows のように一か所に集中しておらず、 <code>Program Files</code>ではなく、設置方法に応じてさまざまな場所に分散しています。以下は、私のサーバーにおける実際の状況です：</p>
        
        <hr><p>この記事は2026-02-07に<a href='https://kfjie.me/'>kj’s blog</a>で公開され、最終更新日は2026-02-07です</p>]]></description><category>Notes</category></item></channel></rss>