<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5622869745909854648</id><updated>2026-10-21T19:03:09.834+09:00</updated><category term="C#"/><category term="GWT"/><category term="Java"/><category term="Python"/><category term="OpenCV"/><category term="Eclipse"/><category term="マシン管理"/><category term="GAE"/><category term="Kinect"/><category term="GAS"/><category term="Netbeans"/><category term="AWS"/><category term="Windows"/><category term="GAE/J"/><category term="Linux"/><category term="Android"/><category term="DynamoDB"/><category term="UIBinder"/><category term="WPF"/><category term="イベント"/><category term="学会イベント"/><category term="雑談"/><category term="GWT-RPC"/><category term="Mac"/><category term="研究室"/><category term="C++/CLI"/><category term="JSON"/><category term="Twitter"/><category term="XML"/><category term="論文執筆"/><category term="Excel"/><category term="R"/><category term="SimpleDB"/><category term="Visual Studio"/><category term="エラー"/><category term="Flutter"/><category term="Google"/><category term="Google Classroom"/><category term="VBA"/><category term="つぶやき"/><category term="画像処理"/><category term="Comet"/><category term="M5Stack"/><category term="Mecab"/><category term="Objectify"/><category term="Word"/><category term="勉強会"/><category term="Arduino"/><category term="Firebase"/><category term="Flask"/><category term="Lambda"/><category term="サウンド処理"/><category term="研究室運営"/><category term="遠隔講義"/><category term="Amazon Product Advertising API"/><category term="C++"/><category term="DataStore"/><category term="GWT-Bootstrap"/><category term="HTML5"/><category term="Hibernate"/><category term="Java入門"/><category term="Moodle"/><category term="OBS"/><category term="Twitterizer"/><category term="e-Learning"/><category term="mgwt"/><category term="サイト管理"/><category term="ファイルアップロード"/><category term="マルチスレッド"/><category term="研究室ゼミ"/><category term="研究指導"/><category term="Android Hackathon"/><category term="BLE"/><category term="C++/MFC"/><category term="Channel API"/><category term="D3"/><category term="DevMode"/><category term="Flet"/><category term="GSON"/><category term="GWTモジュール"/><category term="Github"/><category term="Google Drive"/><category term="Googleサイト"/><category term="HTML"/><category term="IAM"/><category term="JDO"/><category term="KVM"/><category term="Kinect SDK"/><category term="LLM"/><category term="Memcache"/><category term="MySQL"/><category term="OAuth/xAuth"/><category term="PHP"/><category term="Picasa"/><category term="RealSense"/><category term="S3"/><category term="SQL Azure"/><category term="Subversion"/><category term="Tensorflow"/><category term="Tex"/><category term="Tomcat"/><category term="Twitter4J"/><category term="UDP"/><category term="UUID"/><category term="Unity"/><category term="VS Code"/><category term="Visual Studio Code"/><category term="WTP"/><category term="Win32"/><category term="WordPress"/><category term="XNA"/><category term="Zoom"/><category term="chatgpt"/><category term="derby"/><category term="glassfish"/><category term="pysimplegui"/><category term="オープンキャンパス"/><category term="コンポーネント化"/><category term="サンプル"/><category term="ツール"/><category term="トラブル"/><category term="メール"/><category term="ライブラリ"/><category term="報告"/><category term="学会"/><category term="感想"/><category term="授業改善"/><category term="教材"/><category term="教育"/><category term="教育工学"/><category term="時間"/><category term="機械学習"/><category term="正規表現"/><category term="自然言語処理"/><category term="論文"/><category term="API Gateway"/><category term="Active Directory"/><category term="Amazon"/><category term="Amazon API"/><category term="Android Studio"/><category term="Azure Table Storage"/><category term="Bedrock"/><category term="Bitmap"/><category term="Blazor"/><category term="Blog"/><category term="C/C++"/><category term="CSE"/><category term="CSS"/><category term="CentOS"/><category term="ChromaDB"/><category term="Claude"/><category term="Cline"/><category term="Cloud Vision"/><category term="DB"/><category term="DirectX"/><category term="Dropbox"/><category term="FD"/><category term="Facebook"/><category term="Facelets"/><category term="GCP"/><category term="GWT4NB"/><category term="Gemini"/><category term="Glassfish Netbeans"/><category term="Google Gadget"/><category term="GoogleMap"/><category term="IEICE-ET"/><category term="IplImage"/><category term="JCache"/><category term="JSF"/><category term="JSONP"/><category term="JavaScript"/><category term="Jetty"/><category term="Kotlin"/><category term="Logging"/><category term="Mediapipe"/><category term="Module"/><category term="Namespace"/><category term="Nuget"/><category term="OpenFace"/><category term="Pandas"/><category term="Parser"/><category term="Powershell"/><category term="RDB"/><category term="RDS"/><category term="SQLite"/><category term="SVG"/><category term="Samba"/><category term="Servlet"/><category term="Survey"/><category term="Swift"/><category term="Swiftplayground"/><category term="Template Engine"/><category term="TextArea"/><category term="Thunderbird"/><category term="TkInter"/><category term="UI"/><category term="VMWare Fusion"/><category term="Velocity"/><category term="VirtualBox"/><category term="WIndows7"/><category term="WebRequest"/><category term="WindowBuilder"/><category term="XAML"/><category term="XCode"/><category term="Zappa"/><category term="admin"/><category term="bash"/><category term="database"/><category term="firestore"/><category term="gist"/><category term="lib-gwt-svg"/><category term="opencode"/><category term="session"/><category term="visual studio 2010"/><category term="web.xml"/><category term="word2vec"/><category term="xapi"/><category term="xpath"/><category term="youtube"/><category term="yum"/><category term="イベント処理"/><category term="キーイベント"/><category term="クラウド"/><category term="サイト紹介"/><category term="サーベィ"/><category term="シリアライズ"/><category term="ストリートビュー"/><category term="スマートフォン gwt"/><category term="セキュリティ"/><category term="セッション"/><category term="セミナー"/><category term="ソフトウェア"/><category term="テンプレートエンジン"/><category term="デリゲート"/><category term="データ"/><category term="データクラス"/><category term="データベース"/><category term="パスワード管理"/><category term="フリー"/><category term="プッシュ"/><category term="プラグイン"/><category term="プログラミング"/><category term="プロトコル違反"/><category term="ポリコム"/><category term="ポートフォリオ"/><category term="ユーザ管理"/><category term="ライティング教育"/><category term="リソース"/><category term="リッチテキスト"/><category term="京都GTUG"/><category term="修士論文"/><category term="全国大会"/><category term="卒業研究"/><category term="反転授業"/><category term="学生"/><category term="形態素解析"/><category term="教材作成"/><category term="数値計算"/><category term="文字列"/><category term="日本語処理"/><category term="書籍"/><category term="独り言"/><category term="生成AI"/><category term="短縮URL"/><category term="研究会"/><category term="研究室紹介"/><category term="研究費"/><category term="科研"/><category term="統計処理"/><category term="若手"/><category term="英作文支援"/><category term="講義"/><category term="質的研究"/><category term="連携"/><category term="雑談、AWS"/><category term="非同期通信"/><title type='text'>おちラボ：教育システム研究開発BLOG</title><subtitle type='html'>情報工学技術を利用した教育支援、いわゆる教育工学の研究やってます。研究に関係する技術動向（プログラミングねた）や、日常の覚書き、呟きなどを書いていこうかと思います。今のところ、初歩的なプログラムネタばっかりですが、、、、長い目でお付き合いください。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>625</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-3716708344726792657</id><published>2026-10-21T19:03:09.833+09:00</published><updated>2026-10-21T19:03:09.834+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Gemini"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Classroom"/><category scheme="http://www.blogger.com/atom/ns#" term="LLM"/><title type='text'>Geminiでファイル資料を含むスキルの作成手順</title><content type='html'>&lt;p&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtrG8c9BwuGVgD7wwJxdFiCI-611y3ksfebAzDe8vAQy8oynfdmiyWoklhizAz9f1PPDhw9tRifAg5Quh6dMaQnggwrm6kKFDWVmb3Z3JQqujxtsZDB2E6_hVHayJbx8YNu03i0aVGwSJjiHgQMkX0-8hMlobRtevTXtUhHn2ZZ7l0to_5CminAiQ8oPPI/s1600/image.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;941&quot; data-original-width=&quot;1672&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtrG8c9BwuGVgD7wwJxdFiCI-611y3ksfebAzDe8vAQy8oynfdmiyWoklhizAz9f1PPDhw9tRifAg5Quh6dMaQnggwrm6kKFDWVmb3Z3JQqujxtsZDB2E6_hVHayJbx8YNu03i0aVGwSJjiHgQMkX0-8hMlobRtevTXtUhHn2ZZ7l0to_5CminAiQ8oPPI/w400-h226/image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; white-space: pre-wrap;&quot;&gt;教育関係界隈では、Gem廃止、Skillへ移行ということへの衝撃が走っておりますが、表題の通り、ファイル&lt;/span&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; white-space: pre-wrap;&quot;&gt;資料を含むスキルの作成手順を紹介します。&lt;/span&gt;&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-b30d2441-7fff-e3fa-88d5-b568432e1bdf&quot;&gt;&lt;h3 dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 4pt; margin-top: 16pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1f1f1f; font-size: 13pt; font-variant: normal; font-weight: 400; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Skillとは&lt;/span&gt;&lt;/h3&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Skill（スキル）とは、AIに「特定の作業のやり方」を覚えさせておく仕組みです。作業手順や指示を書いた SKILL.md というファイルと参考資料（PDFなど）を添えて登録しておくと、呼び出すだけでAIがその手順・資料に沿って作業してくれます。まあ、Gemみたいなもんなんですが、Skillというのは、ClaudeやChatGPTなどの他のLLMでも利用できる共通化した規格なんです。Geminiもそれに合わせましょうということで、Gemを廃止することにしたのでしょう。&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Gemとの違い&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Gemは「指示を設定した専用のAI」を事前に組み込んで会話するのに対し、Skillは「普段のチャット画面の中で @ で呼び出して使う機能」です。コマンドで呼び出す手間が必要というのが、ちょっと気になるところ。&lt;/span&gt;&lt;/p&gt;&lt;h3 dir=&quot;ltr&quot; style=&quot;background-color: white; line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; padding: 14pt 0pt 4pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;background-color: transparent; color: #1f1f1f; font-size: 13pt; font-variant: normal; font-weight: 400; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;スキルの作成手順&lt;/span&gt;&lt;/h3&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; white-space: pre-wrap;&quot;&gt;Geminiのサイドバーで ［カスタマイズ］ ＞ ［スキル］で作成します。スキルは、SKILL.md（カスタム指示）と資料ファイルをまとめた形式で作成する必要がありますが、カスタム指示を書くだけのスキルなら、画面上の編集だけでOKです。&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 11pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;カスタム指示だけでなく、&lt;/span&gt;資料ファイル（PDFなど）に基づいたスキルを作成する場合、現状ではファイル追加画面などがありませんので、以下のようにzipファイルを作成してアップロードします。何度も書きますが、現段階（2026/10/21）での方法なので、作成手順は今後変更になるかもしれません&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;blockquote style=&quot;border-color: currentcolor; border-image: none; border-style: none; border-width: medium; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;span&gt;&lt;h3 dir=&quot;ltr&quot; style=&quot;background-color: white; line-height: 1.38; margin-bottom: 4pt; margin-top: 0pt; padding: 14pt 0pt 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;background-color: transparent; color: #1f1f1f; font-size: 13pt; font-variant: normal; font-weight: 400; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;1. スキルファイルの作成&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border-color: currentcolor; border-image: none; border-style: none; border-width: medium; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: 12pt; white-space: pre-wrap;&quot;&gt;PC上でフォルダを作成します。&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;フォルダ内に参照させたい &lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;資料ファイル&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;（pdfなど）を配置します。&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #1f1f1f;&quot;&gt;フ&lt;/span&gt;ォルダ内に &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;SKILL.md&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;という名前のファイルを作成します。&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: 12pt; white-space: pre-wrap;&quot;&gt;そのファイルをテキストエディターで開き、スキルとしての指示を書きます。&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;span&gt;&lt;p style=&quot;line-height: 1.38; margin-bottom: 9pt; margin-top: 3pt; text-align: left;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;スキルの書き方ですが、スキル名はすべて小文字＋ハイフン区切り（例: &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;my-pdf-skill&lt;/span&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;）で記述するといったルールがいくつかありますので、SKILL.mdの作成は、geminiなどとの対話で作ってもらい、それをペーストするのが良いです。私も最初にGeimiやChatGPTに作ってもらってます。&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border-color: currentcolor; border-image: none; border-style: none; border-width: medium; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;span&gt;&lt;h3 dir=&quot;ltr&quot; style=&quot;background-color: white; line-height: 1.38; margin-bottom: 4pt; margin-top: 0pt; padding: 5pt 0pt 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;background-color: transparent; font-size: 13pt; font-variant: normal; font-weight: 400; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;2. ZIPファイルの作成&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border-color: currentcolor; border-image: none; border-style: none; border-width: medium; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;SKILL.md&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; と PDF資料を選択し、&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.zip&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; 形式で圧縮します。&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;DS_Store&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; などの不要な隠しファイルが含まれないよう注意してくださ&lt;/span&gt;&lt;span style=&quot;color: #1f1f1f; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;い。&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border-color: currentcolor; border-image: none; border-style: none; border-width: medium; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;span&gt;&lt;h3 dir=&quot;ltr&quot; style=&quot;background-color: white; line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;background-color: transparent; color: #1f1f1f; font-size: 13pt; font-variant: normal; font-weight: 400; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;3. Geminiへのアップロード&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border-color: currentcolor; border-image: none; border-style: none; border-width: medium; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;パソコンのブラウザで &lt;/span&gt;&lt;a href=&quot;https://gemini.google.com/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #0b57d0; font-size: 12pt; font-variant: normal; text-decoration-skip-ink: none; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;gemini.google.com&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; にアクセスします。&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border-color: currentcolor; border-image: none; border-style: none; border-width: medium; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;サイドバーで &lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;［カスタマイズ］&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;＞ &lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;［スキル］&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; を選択します。&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;画面上部の &lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;アップロードアイコン&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; をクリックし、作成した &lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ZIPファイル&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; を選択します。&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1f1f1f; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;スキルの内容を確認・微調整し、&lt;/span&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1f1f1f; font-size: 12pt; font-variant: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;［作成］&lt;/span&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1f1f1f; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; をクリックします。&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/blockquote&gt;&lt;span&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1f1f1f; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;上記の手順は、現段階（2026/10/21）では、Geminiアプリからだと添付ファイルをskillとして組み込んでくれなかったので、ウェブアプリからの作成がポイントです。&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;color: #1f1f1f; font-size: 12pt; font-variant: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Gemのときと違い、Googleドライブの資料を参照できなくなりました。もしかしたら、今後に仕様変更があるかなぁ。あと、いちいちzipを作成するもの面倒なので、画面上でファイル追加できるようにしてほしいですね。&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/3716708344726792657/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/10/gemini.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/3716708344726792657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/3716708344726792657'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/10/gemini.html' title='Geminiでファイル資料を含むスキルの作成手順'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtrG8c9BwuGVgD7wwJxdFiCI-611y3ksfebAzDe8vAQy8oynfdmiyWoklhizAz9f1PPDhw9tRifAg5Quh6dMaQnggwrm6kKFDWVmb3Z3JQqujxtsZDB2E6_hVHayJbx8YNu03i0aVGwSJjiHgQMkX0-8hMlobRtevTXtUhHn2ZZ7l0to_5CminAiQ8oPPI/s72-w400-h226-c/image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-4304143935169950559</id><published>2026-10-13T12:30:00.000+09:00</published><updated>2026-10-13T12:30:00.212+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="雑談"/><title type='text'>10月上旬は攻撃らしきアクセスが多かったようです</title><content type='html'>&lt;p&gt;&amp;nbsp;（この手の内容の投稿は初めてだな）&lt;/p&gt;&lt;p&gt;前日ふと、このbloggerのサイトのアクセス統計情報を見てみると、この1週間で47万アクセスという情報が。。。。多い日で19万アクセス/日。&lt;/p&gt;&lt;p&gt;「ついにおちラボの時代が来たか？！」と思いましたが、ページへのアクセス頻度は対してなく、、、、これは、昨今流行りの不正アクセス（攻撃）だったんじゃないかなと推測してます。&lt;/p&gt;&lt;p&gt;まあ、ここはGoogleのブログサイトですしね、、、Googleさんがセキュリティホール抱えてない限りは、まあ安全でしょう（と思いたい）&lt;/p&gt;&lt;p&gt;なお、10/9を最後に、今は鎮まっているようです。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/4304143935169950559/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/10/10.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4304143935169950559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4304143935169950559'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/10/10.html' title='10月上旬は攻撃らしきアクセスが多かったようです'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-9093039782327943787</id><published>2026-08-20T18:31:38.492+09:00</published><updated>2026-08-20T18:32:02.335+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LLM"/><category scheme="http://www.blogger.com/atom/ns#" term="opencode"/><title type='text'>OpenCodeでbedrockのGPTモデルを呼び出す設定</title><content type='html'>&lt;p&gt;&amp;nbsp;表題の通り。。。よく忘れるのでメモ書き。このファイルのプロジェクトのフォルダに入れておけばOK。ホームディレクトリの設定ファイルに書かなくても大丈夫です。&lt;/p&gt;
&lt;script src=&quot;https://gist.github.com/ochilab/9751973b6b38e6a221f160eb568da764.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/9093039782327943787/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/08/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/9093039782327943787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/9093039782327943787'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/08/blog-post.html' title='OpenCodeでbedrockのGPTモデルを呼び出す設定'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-1601263525660259940</id><published>2026-08-13T11:41:46.799+09:00</published><updated>2026-08-13T11:41:46.799+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>tmuxでSSH切断後もプログラムを継続</title><content type='html'>&lt;p&gt;リモートのサーバーに接続した後に、長時間を要するプログラムを実行する場合、SSHの接続が切れたりして、プログラムの実行が終了してしまうのは悲しいですよね？これを解決してくれるのが、tmuxです。&lt;/p&gt;&lt;p&gt;1. インストール**&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;sudo apt install tmux&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;2. 名前付きセッションを開始&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;tmux new -s experiment&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;3. プログラムを実行**&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;conda activate myenv &lt;br /&gt;python main.py&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;SSHが切れてもプログラムは動き続けます。&lt;/p&gt;&lt;p&gt;5. 元の画面に戻る&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;tmux attach -t experiment&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;という流れになります。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/1601263525660259940/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/08/tmuxssh.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1601263525660259940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1601263525660259940'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/08/tmuxssh.html' title='tmuxでSSH切断後もプログラムを継続'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-5790674704940390122</id><published>2026-07-16T19:00:00.000+09:00</published><updated>2026-07-16T19:00:00.174+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>Mac: フォルダ右クリック→クイックアクションにVSCodeで開くを追加する</title><content type='html'>&lt;p&gt;MacでVSCodeを開くときに、フォルダを起点にしたいときありますよね？私はフォルダからターミナル開いてVSCodeを呼び出していたんですが、クイックアクションに設定するとラクです・&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;手順&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Automator** を起動&lt;/li&gt;&lt;li&gt;「新規書類」→「クイックアクション」を選択&lt;/li&gt;&lt;li&gt;上部を以下のように設定&lt;/li&gt;&lt;ul&gt;&lt;li&gt;ワークフローが受け取る現在の項目:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;フォルダ（または「ファイルまたはフォルダ」）&lt;/li&gt;&lt;li&gt;対象:Finder&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;左側から シェルスクリプトを実行」を追加&lt;/li&gt;&lt;li&gt;入力の渡し方」を 引数としてに変更&lt;/li&gt;&lt;li&gt;以下スクリプトを書く&lt;/li&gt;&lt;li&gt;「ファイル」→「保存」（保存名がメニューに出てきます）&lt;/li&gt;&lt;/ol&gt;
&lt;div&gt;VSCodeの場合&lt;/div&gt;
&lt;script src=&quot;https://gist.github.com/ochilab/44e6421c42bdd1de92b1338fbd447c13.js&quot;&gt;&lt;/script&gt;
&lt;div&gt;おまけ：Terminalの場合&lt;/div&gt;
&lt;script src=&quot;https://gist.github.com/ochilab/e05b0d65155ec6ed3a6ad47f9b95c9e1.js&quot;&gt;&lt;/script&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/5790674704940390122/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/07/mac-vscode.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/5790674704940390122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/5790674704940390122'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/07/mac-vscode.html' title='Mac: フォルダ右クリック→クイックアクションにVSCodeで開くを追加する'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-6140628189095603296</id><published>2026-06-04T14:16:15.573+09:00</published><updated>2026-06-04T14:16:15.573+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="論文執筆"/><title type='text'>Macでバージョン1.3以上のPDFを作成する方法（裏技？）</title><content type='html'>&lt;p&gt;&amp;nbsp;学会発表のために、EDASからPDF原稿を提出したら、&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;The PDF file uses PDF version 1.3, however, only version 1.4 and greater are allowed.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;というエラーが発生。今までそんなこと言われたことなかったのになー、、と思いつつ。。。&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;PDFバージョン確認方法&lt;/b&gt;&lt;/div&gt;&lt;div&gt;ちなみに、PDFのバージョンの確認は、ターミナルで&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;head -n 1&amp;nbsp; xxxx.pdf&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;とすればバージョンが出てきます。たぶんここ（ヘッダ）でチェックしてるんでしょう。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;PDFファイル作成方法&lt;/b&gt;&lt;/div&gt;&lt;div&gt;どうやって1.3以上のPDFを作成するのか？Wordを前提にすると&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Word→ 印刷→PDF でダメ（1.3）&lt;/li&gt;&lt;li&gt;Word→ 名前をつけて保存 → PDF　でダメ（1.3）&lt;/li&gt;&lt;li&gt;Word→ PDF（作り方はなんでもいい）→ Edgeに読み込ませる→印刷→PDF保存→ PDFでOK（1.7）&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;という結果になりました。PDFからさらにPDFを作成するというやり方で、正攻法と言えないかもしれませんが、、、正しい解決策は、Acrobat使えってことかな。他のフリーなPDFソフトでもいいのかもしれないけど。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;つーか、なんでMacの内部PDF処理が1.3のままなんだ？&lt;/div&gt;&lt;div&gt;&lt;table style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;tbody&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/6140628189095603296/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/06/mac13pdf.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/6140628189095603296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/6140628189095603296'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/06/mac13pdf.html' title='Macでバージョン1.3以上のPDFを作成する方法（裏技？）'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-1599851802342427724</id><published>2026-06-04T10:16:49.906+09:00</published><updated>2026-06-04T10:21:12.006+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Claude"/><category scheme="http://www.blogger.com/atom/ns#" term="生成AI"/><title type='text'> Claude CodeとZoteroと連携させるスキル</title><content type='html'>&lt;p&gt;&amp;nbsp;表題の通り、Claude CodeとZoteroと連携させるスキルを書いてみた、、、いや、Opus4.6に書かせたというのが正しい表現か。。。&lt;/p&gt;&lt;p&gt;仕様&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;ローカルのZoteroクライアントに調べさせた文献の情報を登録させる&lt;/li&gt;&lt;li&gt;PDFのダウンロード作業はさせない（手動でやります）&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;全部自動化させたいところですが、ライセンスの関係でPDFのダウンロードができないこともあったり、無駄な作業をさせてトークンの無駄遣いを防ぐという点で、PDFダウンロードは手作業としてます。&lt;br /&gt;&lt;br /&gt;（P.S）今後は、このブログでもコードよりも、生成AIを動かすためのスキル記述（マークダウン）を紹介することが多くなるのかも。&lt;/p&gt;
&lt;p&gt;&lt;script src=&quot;https://gist.github.com/ochilab/0f06d52b81ea8c739ec0fd0eed21f21c.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/1599851802342427724/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/06/claude-codezotero.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1599851802342427724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1599851802342427724'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/06/claude-codezotero.html' title=' Claude CodeとZoteroと連携させるスキル'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-1357148535820648540</id><published>2026-03-08T17:00:00.001+09:00</published><updated>2026-03-08T17:00:00.118+09:00</updated><title type='text'>フォント埋め込みPDFの作り方（Word for Mac編）</title><content type='html'>&lt;p&gt;原稿提出の際にPDFを求められるのは当たり前の時代になりましたが、フォント埋め込みPDFファイルの提出を求められることがあります。その方法のメモ書きです。&lt;/p&gt;&lt;p&gt;&lt;b&gt;Wordのフォント埋め込み設定をする&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;環境設定→出力および共有→保存　の画面へ移動&lt;/li&gt;&lt;li&gt;その画面にある「ファイルにフォントを埋め込む」にチェックをいれる&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;でOKです。&lt;/p&gt;&lt;p&gt;&lt;b&gt;PDFで保存する&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;印刷に最適を選択してから保存&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;が正解です。&lt;/p&gt;&lt;p&gt;&lt;b&gt;fontが埋め込まれているか確認する&lt;/b&gt;&lt;/p&gt;&lt;p&gt;MacのPreviewだとフォント確認ができないので、確認のできるサードパーティーのソフトで確認します。例えば、Adobe Acrobatが良いでしょう。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/1357148535820648540/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/03/pdfword-for-mac.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1357148535820648540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1357148535820648540'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/03/pdfword-for-mac.html' title='フォント埋め込みPDFの作り方（Word for Mac編）'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-7563047983143410372</id><published>2026-01-06T10:16:00.001+09:00</published><updated>2026-01-06T10:16:18.276+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Swift"/><category scheme="http://www.blogger.com/atom/ns#" term="Swiftplayground"/><title type='text'>SwiftPlayground：〜から、ほかのアプリからのデータへのアクセス権を求められています。</title><content type='html'>&lt;p&gt;&amp;nbsp;Mac版のSwiftPlaygroundを利用すると、&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;〜（自分のアプリ名）から、ほかのアプリからのデータへのアクセス権を求められています。&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;というダイアログが何度も出てくる事象が発生中。これは、MacOSのバージョンが上がってセセキュリティが厳しくなったことにより発生している事象（バグ）のようです。&lt;/p&gt;&lt;p&gt;回避策は今のところなし（2026/01/06現在）。とりあえず、プレビューを停止することで発生を抑えることはできますが、プレビューで動作確認をする際には毎回出てくるので面倒です。&lt;/p&gt;&lt;p&gt;本件はAppleの公式フォーラムでも取り上げられています&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://discussions.apple.com/thread/256186270?sortBy=rank&quot; target=&quot;_blank&quot;&gt;Swift Playgrounds 4.6.4 on macOS 26.1 Data Access Prompt Issue.&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;早く対応してほしいですね。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/7563047983143410372/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2026/01/swiftplayground.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/7563047983143410372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/7563047983143410372'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2026/01/swiftplayground.html' title='SwiftPlayground：〜から、ほかのアプリからのデータへのアクセス権を求められています。'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-3619833034745233612</id><published>2025-11-17T10:52:00.004+09:00</published><updated>2025-11-17T10:52:39.634+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="VS Code"/><title type='text'>VSCodeからGoogle Colaboratoryを利用可能に</title><content type='html'>&lt;p&gt;&amp;nbsp;先日、表題のニュースがありました。以下、簡単な使い方メモ&lt;/p&gt;&lt;p&gt;１．拡張機能のインストール&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Colabという名前の拡張機能があるのでインストール（Google製であることを確認）&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;２．JupiterNotebook形式でファイル作成&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;ファイル作成から、JupiterNotebook形式を選ぶ&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;３．カーネル選択&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Colabを選ぶ&lt;/li&gt;&lt;li&gt;Auto Connectを選ぶとCPUだけ利用&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: red;&quot;&gt;GPUやTPUを利用したい場合は、New Colab Serverを選ぶ&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;というところですね。&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/3619833034745233612/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/11/vscodegoogle-colaboratory.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/3619833034745233612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/3619833034745233612'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/11/vscodegoogle-colaboratory.html' title='VSCodeからGoogle Colaboratoryを利用可能に'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-4662212562452354280</id><published>2025-10-10T18:43:00.000+09:00</published><updated>2025-10-10T18:43:38.041+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>WindowsPCでBIOS設定画面がでなくなってしまった場合の対処方法</title><content type='html'>&lt;p&gt;&amp;nbsp;表題の通りなんですが、、、、&lt;a data-preview=&quot;&quot; href=&quot;https://www.google.com/search?ved=1t:260882&amp;amp;q=Windows+Ubuntu+dual+boot+problems&amp;amp;bbid=5622869745909854648&amp;amp;bpid=4662212562452354280&quot; target=&quot;_blank&quot;&gt;Windows&lt;/a&gt;が入っているPCを&lt;a data-preview=&quot;&quot; href=&quot;https://www.google.com/search?ved=1t:260882&amp;amp;q=define+Ubuntu&amp;amp;bbid=5622869745909854648&amp;amp;bpid=4662212562452354280&quot; target=&quot;_blank&quot;&gt;Ubuntu&lt;/a&gt;にしようとして、USB起動しようとしても認識せず、&lt;a data-preview=&quot;&quot; href=&quot;https://www.google.com/search?ved=1t:260882&amp;amp;q=define+BIOS&amp;amp;bbid=5622869745909854648&amp;amp;bpid=4662212562452354280&quot; target=&quot;_blank&quot;&gt;BIOS&lt;/a&gt;（&lt;a data-preview=&quot;&quot; href=&quot;https://www.google.com/search?ved=1t:260882&amp;amp;q=define+UEFI&amp;amp;bbid=5622869745909854648&amp;amp;bpid=4662212562452354280&quot; target=&quot;_blank&quot;&gt;UEFI&lt;/a&gt;）起動して起動ディスクを変更しようとしてもだめ。。。という初歩的なようでハマりました。&lt;/p&gt;&lt;p&gt;症状&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Windowsは起動する&lt;/li&gt;&lt;li&gt;BIOSの画面が出ない&lt;/li&gt;&lt;li&gt;電源投入時にF2とかDelキーを連打してみると、Windowsは起動せず、画面が黒いまま停止&lt;/li&gt;&lt;li&gt;&lt;a data-preview=&quot;&quot; href=&quot;https://www.google.com/search?ved=1t:260882&amp;amp;q=define+HDMI&amp;amp;bbid=5622869745909854648&amp;amp;bpid=4662212562452354280&quot; target=&quot;_blank&quot;&gt;HDMI&lt;/a&gt;、DPポート両方にディスプレイを接続するも、どちらも表示されず&lt;/li&gt;&lt;li&gt;&lt;a data-preview=&quot;&quot; href=&quot;https://www.google.com/search?ved=1t:260882&amp;amp;q=ASRock+driver+support&amp;amp;bbid=5622869745909854648&amp;amp;bpid=4662212562452354280&quot; target=&quot;_blank&quot;&gt;ASRock&lt;/a&gt;のマザーボードなので、&lt;a data-preview=&quot;&quot; href=&quot;https://www.google.com/search?ved=1t:260882&amp;amp;q=UEFI+Setup+Utility&amp;amp;bbid=5622869745909854648&amp;amp;bpid=4662212562452354280&quot; target=&quot;_blank&quot;&gt;UEFI Setup Utility&lt;/a&gt;をインストールし、試すが変わらず&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;というように、私も素人ではないので、それなりに考えられる原因とその策はほぼ試しましたが駄目でした。画面が黒いままってのは、もしかするとBIOS画面が出ているはずなのに、ディスプレイが認識していないのかなぁ、、とか、BIOSの部分が壊れてる？のかなとか思ったり。。。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;解決策&lt;/div&gt;&lt;div&gt;コマンドプロンプトで&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span face=&quot;&amp;quot;Noto Sans JP&amp;quot;, sans-serif&quot; style=&quot;background-color: white; color: #333333; font-size: 16px;&quot;&gt;&lt;a data-preview=&quot;&quot; href=&quot;https://www.google.com/search?ved=1t:260882&amp;amp;q=shutdown+/r+/fw&amp;amp;bbid=5622869745909854648&amp;amp;bpid=4662212562452354280&quot; target=&quot;_blank&quot;&gt;shutdown /r /fw&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span face=&quot;&amp;quot;Noto Sans JP&amp;quot;, sans-serif&quot; style=&quot;background-color: white; color: #333333; font-size: 16px;&quot;&gt;を入力すると、再起動後にBIOS画面が出てきました。ちなみに、ここでBIOSが出たのは、HDMIの方でした。ディスプレイ端子が複数あるのであれば、両方に指しておいたほうがいいかもしれません。&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/4662212562452354280/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/10/windowspcbios.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4662212562452354280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4662212562452354280'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/10/windowspcbios.html' title='WindowsPCでBIOS設定画面がでなくなってしまった場合の対処方法'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-3205608628531284548</id><published>2025-08-25T18:32:00.001+09:00</published><updated>2025-08-25T18:32:27.810+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="e-Learning"/><title type='text'>Radis:Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix </title><content type='html'>&lt;p&gt;&amp;nbsp;表題に書いてあるように&lt;/p&gt;&lt;p&gt;# Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix &amp;lt;filename&amp;gt;&lt;/p&gt;&lt;p&gt;というエラーが出た場合&lt;/p&gt;&lt;p&gt;環境&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Mac&lt;/li&gt;&lt;li&gt;Learning Locker in Docker Desktop&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;原因&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;







&lt;p class=&quot;p1&quot;&gt;appendonly.aofファイルというのが破損している。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;p1&quot;&gt;Redis の AOF は「追記型ログ」なので、&lt;span class=&quot;s1&quot;&gt;&lt;b&gt;最後の部分だけ破損&lt;/b&gt;&lt;/span&gt;しやすい&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;対策&lt;/div&gt;&lt;div&gt;以下のコマンドを実行。意味は以下に解説。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;https://gist.github.com/ochilab/853d13d465744c2c4ae7ad1d1b78ddbf.js&quot;&gt;&lt;/script&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;（イメージのpull）&lt;/div&gt;&lt;div&gt;







&lt;p class=&quot;p1&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;
&lt;p class=&quot;p1&quot;&gt;redis-check-aof&lt;span class=&quot;s1&quot;&gt; などのツールを &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&lt;b&gt;同じバージョン環境&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;で実行できるようにするためにpull&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;（バックアップ処理）&lt;/div&gt;&lt;div&gt;







&lt;p class=&quot;p1&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;alpine コンテナを一時的に起動し、終了後は自動削除。&lt;/li&gt;&lt;li&gt;Redis のデータが入っている Docker ボリュームを、このコンテナの /data にマウント。&lt;/li&gt;&lt;li&gt;今いる作業ディレクトリ（ホスト）を /backup にマウント。&lt;/li&gt;&lt;li&gt;&amp;nbsp;tar ファイルをホストに書き出せる。&lt;/li&gt;&lt;li&gt;Alpine のシェルで /data に移動し、その中身を tar.gz に固めて /backup に保存。&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;（修復処理）&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;docker run : 新しいコンテナを一時的に起動する。&lt;/span&gt;&lt;/li&gt;&lt;li&gt;--rm : コンテナ終了後に自動で削除する。ゴミが残らない。&lt;/li&gt;&lt;li&gt;-it : 対話的モード（-i 標準入力を開く、-t 擬似端末を割り当てる）。&lt;/li&gt;&lt;li&gt;Docker ボリューム learning-locker-docker-image-main_learninglocker-redis をコンテナ内の /data にマウントする。&lt;/li&gt;&lt;li&gt;Redis のデータファイル（appendonly.aof や dump.rdb）がここに入っている。&lt;/li&gt;&lt;li&gt;サーバーではなく、同じイメージに含まれるツール redis-check-aof を実行したい。そこで --entrypoint で実行プログラムを差し替えている。&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/3205608628531284548/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/08/radisbad-file-format-reading-append.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/3205608628531284548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/3205608628531284548'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/08/radisbad-file-format-reading-append.html' title='Radis:Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix &lt;filename&gt;'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-1209197655724104204</id><published>2025-08-22T00:26:00.004+09:00</published><updated>2025-08-22T00:26:55.791+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flet"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python: flet+pystrayでメニューバー（タスクトレイ）常駐アプリ</title><content type='html'>&lt;p&gt;&amp;nbsp;表題の通りです。このサンプルは単純ですが、アイコン画像を用意して、メニューをいろいろ追加していけばいい感じになるのかなと思います。&lt;/p&gt;
&lt;script src=&quot;https://gist.github.com/ochilab/8c0932f6b9fb340140d9e8a1e15f6b7b.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/1209197655724104204/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/08/python-fletpystray.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1209197655724104204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1209197655724104204'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/08/python-fletpystray.html' title='Python: flet+pystrayでメニューバー（タスクトレイ）常駐アプリ'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-4037496178639321394</id><published>2025-08-20T16:07:00.000+09:00</published><updated>2025-08-20T16:36:44.046+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="e-Learning"/><title type='text'>Learning Locker をDockerでインストールする</title><content type='html'>&lt;p&gt;&amp;nbsp;Learning Lockerのインストールをしようとして、実にくだらないミスと言うか無駄な時間を使ってしまったので備忘録。&lt;/p&gt;&lt;p&gt;&lt;b&gt;結論&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Learning Lockerを入れる場合は、下記のkromiiiさんのリポジトリを利用するのが無難です。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://github.com/kromiii/learning-analytics-at-home&quot;&gt;https://github.com/kromiii/learning-analytics-at-home&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://github.com/kromiii/learning-locker-docker-image&quot;&gt;https://github.com/kromiii/learning-locker-docker-image&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;前者の方は、他にもいろいろはいっているので、後者のほうがいいかもしれない。説明は後者が詳しいです。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;おすすめしない方法&lt;/b&gt;&lt;/div&gt;&lt;div&gt;上記、リポジトリのことはすでに知っていたのですが、なぜかMac専用と思い込んで、Windowsだと別のイメージを探さなきゃ、、、と、chatgptに聞いたのがバッドケース。ChatGPTは以下のADLリポジトリを推薦してくれたんですがね。。&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;https://github.com/adlnet/learninglocker-docker&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;リポジトリの更新履歴を見ると4年前で止まってるし、古い言語仕様に合わせてdockerファイルを書き換えたり。。。を延々と繰り返して、一見すると動いたようで実は一部もモジュールが動いてなくて、ユーザ登録できなかったりとか、、、数時間試行錯誤して、これ？違うぞ？と思って、上記に立ち戻ったのが結末です。&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;なお、LearninLockerの本体も実は更新止まってるし、あとどれだけ続くのかが心配なところです。&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/4037496178639321394/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/08/learning-locker-dockerdockerfile.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4037496178639321394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4037496178639321394'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/08/learning-locker-dockerdockerfile.html' title='Learning Locker をDockerでインストールする'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-1562296003860533562</id><published>2025-07-10T13:18:00.004+09:00</published><updated>2025-08-20T16:17:51.615+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Mac: error: externally-managed-environment というエラーが出た場合</title><content type='html'>&lt;p&gt;これは PEP 668 で導入された新しい Python のセキュリティ仕様によるもので、特に macOS の Homebrew でインストールされた Python でよく見られます。&lt;/p&gt;&lt;p&gt;Homebrew は「システム Python 環境を壊さないため」に pip を直接使うことを制限しており、パッケージインストール時にこのエラーが出ます。&lt;/p&gt;&lt;p&gt;&lt;b&gt;解決方法&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;方法1: 仮想環境を使う（推奨）。anacondaやvenvを使うなどして、仮想環境を作成しそこでpipを行う&lt;/li&gt;&lt;li&gt;方法2: pip に --break-system-packages をつける（簡易だが慎重に使う）&lt;/li&gt;&lt;li&gt;方法3: pipx を使う。&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;本記事は、ChatGPTの内容をベースにしています。&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/1562296003860533562/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/07/mac-error-externally-managed-environment.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1562296003860533562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/1562296003860533562'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/07/mac-error-externally-managed-environment.html' title='Mac: error: externally-managed-environment というエラーが出た場合'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-7253564533926160312</id><published>2025-07-07T15:36:00.000+09:00</published><updated>2025-07-07T15:36:21.172+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Java: VSCodeで import文にエラーが出る場合に試して欲しいこと</title><content type='html'>&lt;p&gt;&amp;nbsp;たまに、Javaのプログラムを書いている時に表題のようなことが起きるんですよね。。。。いちおう前提として、&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;DropBoxでソースコードを共有&lt;/li&gt;&lt;li&gt;自宅と職場など異なるPCで開発をしている&lt;/li&gt;&lt;li&gt;自宅では問題ないソースコードが、職場だとimport文が真っ赤っか。。。&lt;/li&gt;&lt;li&gt;パッケージルートやクラスパスに問題なし（初歩的なミスはしてません）&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;というのを想定しています。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;原因と解決策&lt;/b&gt;&lt;/div&gt;&lt;div&gt;エラーの理由はそのクラスが見つからないということなんですが、自宅でちゃんと動いているしー。。。おそらく、自宅でコンパイルしたclassファイルが残っていると思います。これを消してみてください。多分これで解決します。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;何が起こっていたのか？&lt;/b&gt;&lt;/div&gt;&lt;div&gt;自宅と職場でJavaのバージョンが異なっているので、まずそのままでは動かないクラスになっていました。で、、、VSCodeはクラスファイルがある場合には、ソースではなくクラスファイルを参照して、互換性のないものがあるから、クラスの存在を認識できず、importできない！とエラーを出すわけです。&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/7253564533926160312/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/07/java-vscode-import.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/7253564533926160312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/7253564533926160312'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/07/java-vscode-import.html' title='Java: VSCodeで import文にエラーが出る場合に試して欲しいこと'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-394856358759133394</id><published>2025-06-17T18:47:00.001+09:00</published><updated>2025-06-17T18:47:24.261+09:00</updated><title type='text'>SAM（Segment Anything Model）を試してみた</title><content type='html'>&lt;p&gt;&amp;nbsp;Meta（旧Facebook）によって開発された汎用セグメンテーションモデルであるSAM（Segment Anything Model）を試してみました。SAMは、特定のクラスに依存せず、任意のオブジェクトのセグメントが可能で、さらに「プロンプト（指示）」に基づいてその対象を指定することが可能で、具体的には、&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;点（例：画面中央の1点）&lt;/li&gt;&lt;li&gt;ボックス（矩形領域）&lt;/li&gt;&lt;li&gt;マスク（既知の一部マスク）&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;などがあるようです。&lt;/p&gt;
以下は、中心点に着目した例です。
&lt;script src=&quot;https://gist.github.com/ochilab/8d1e78557f75d73006c3c994e7740fd0.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/394856358759133394/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/06/samsegment-anything-model.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/394856358759133394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/394856358759133394'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/06/samsegment-anything-model.html' title='SAM（Segment Anything Model）を試してみた'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-825069056868661995</id><published>2025-06-13T18:44:00.001+09:00</published><updated>2025-06-13T18:44:00.112+09:00</updated><title type='text'>PythonでIRTライブラリを試してみた</title><content type='html'>&lt;p&gt;&amp;nbsp;表題の通り、IRT（Item Response Theory)のライブラリを動かしてみました。Rの例は多いんですが、Pythonはまだ少ない感じ。とりあえずChatGPTに聞きながらですけど、このコードになるまで試行錯誤しました。ChatGPTの言うことがただしければ、pipでインストールされるライブラリにはバグがあるようなので、ライブラリをラップする自作クラスで再定義したという応急的処理をしてます。ミスがあればコメントください。&lt;/p&gt;
&lt;script src=&quot;https://gist.github.com/ochilab/69e4d68fa420d56a1a5fc7794e1f8863.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/825069056868661995/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/06/pythonirt.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/825069056868661995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/825069056868661995'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/06/pythonirt.html' title='PythonでIRTライブラリを試してみた'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-8130961122666362723</id><published>2025-05-09T19:00:00.001+09:00</published><updated>2025-05-09T19:00:00.115+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>PRISMLens：Mac対応バーチャルカメラ</title><content type='html'>&lt;p&gt;&amp;nbsp;今まで、OBSとかZoomとかで背景処理をするときは、XSplit VCamを使ってきましたが。。。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://ochi-lab.blogspot.com/2024/01/vcamai.html&quot;&gt;VCam.ai 出てます&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://ochi-lab.blogspot.com/2023/12/obs-backgroundremovalobs.html&quot;&gt;obs-backgroundremoval：OBSで背景削除する&amp;nbsp;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;無料で良いのを見つけました。&lt;a href=&quot;https://prismlive.com/en_us/lens.html&quot; target=&quot;_blank&quot;&gt;PRISMLens（公式サイト）&lt;/a&gt;というやつです。NAVER社が作ってるPRISM Live Studioのサブアプリ？みたいな位置付けらしいですが、単体でインストールできます。XSplitのは有料だったりするので、もうこっちでいいかなという印象。PRISM Live Studioってやつも、機会があれば触ってみようかと思います。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/8130961122666362723/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/05/prismlensmac.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/8130961122666362723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/8130961122666362723'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/05/prismlensmac.html' title='PRISMLens：Mac対応バーチャルカメラ'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-4604721959337617823</id><published>2025-04-26T14:41:00.000+09:00</published><updated>2025-04-26T14:41:09.399+09:00</updated><title type='text'>Python: OpenCVを利用してネットワークカメラの映像をHTTPで取得する</title><content type='html'>&lt;p&gt;&amp;nbsp;表題の通り。Python+OpenCVを使えば簡単にできちゃいます。昔は、mjpegのバイナリーデータを切り出したりして対応してましたが、便利な時代になったものです。&lt;/p&gt;
&lt;script src=&quot;https://gist.github.com/ochilab/53dada16037c9f5e0018baf27aa0fb87.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/4604721959337617823/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/04/python-opencvhttp.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4604721959337617823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4604721959337617823'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/04/python-opencvhttp.html' title='Python: OpenCVを利用してネットワークカメラの映像をHTTPで取得する'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-8396897279309476169</id><published>2025-03-12T17:39:00.002+09:00</published><updated>2025-03-12T17:39:47.750+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="xapi"/><title type='text'>Python: xapiでステートメントを登録する（Learning Locker）</title><content type='html'>&lt;p&gt;&amp;nbsp;表題の通り、LRSとしてLearning Lockerを使うことになったので、まずはPythonでのデータ（ステートメント）の登録方法など。一般的には、MoodleなどのLMSからLRSに送るので、コードでガリガリということはあまりないと思いますが・・・。&lt;/p&gt;&lt;p&gt;留意点としては(Learning Lockerを前提にしていますが）、&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&amp;nbsp;エンドポイントのportは8081&lt;/li&gt;&lt;li&gt;usernameとかpasswordは、Learning Lockerにある管理画面のKey, Secretなどが該当&lt;/li&gt;&lt;li&gt;headerには&quot;X-Experience-API-Version&quot;が必須&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;というところですね。&lt;/div&gt;&lt;p&gt;&lt;/p&gt;
&lt;script src=&quot;https://gist.github.com/ochilab/48fd14b3a358c06eddf59fbb2bd50ed2.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/8396897279309476169/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/03/python-xapilearning-locker.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/8396897279309476169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/8396897279309476169'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/03/python-xapilearning-locker.html' title='Python: xapiでステートメントを登録する（Learning Locker）'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-8316814168543555580</id><published>2025-03-10T12:45:00.000+09:00</published><updated>2025-03-10T12:45:17.629+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Lambda"/><title type='text'>AWS Lambda: [ERROR] ProfileNotFound: The config profile (xxxx) could not be found</title><content type='html'>&lt;p&gt;Chaliceを使ってPythonコードをlamdaにデプロイしたら、Internal Errorのリターンがあり、表題のようなエラーがCloud Watchで確認できました。エラーの意味は、xxxxってプロファイルがないよってことなんですが。。。。&lt;/p&gt;&lt;p&gt;&lt;b&gt;原因と解決策&lt;/b&gt;&lt;/p&gt;&lt;p&gt;原因は、ローカルで指定している Crediencialのプロファイルが、サーバー側にはないよってこと。&lt;/p&gt;&lt;p&gt;解決策は、デプロイするコードにはprofileを指定する記述をなくす。。ということにようです。sonnnet3.7の回答がそうだったので、実際そうすると動きました。でも何かスマートじゃないな。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/8316814168543555580/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/03/aws-lambda-error-profilenotfound-config.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/8316814168543555580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/8316814168543555580'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/03/aws-lambda-error-profilenotfound-config.html' title='AWS Lambda: [ERROR] ProfileNotFound: The config profile (xxxx) could not be found'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-7413416766776543933</id><published>2025-03-07T18:54:00.000+09:00</published><updated>2025-03-07T18:54:08.603+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bedrock"/><category scheme="http://www.blogger.com/atom/ns#" term="Cline"/><category scheme="http://www.blogger.com/atom/ns#" term="VS Code"/><title type='text'>ClineでBedrock(Sonnet3.7)を指定した際のAPI Request Failedへの対応</title><content type='html'>&lt;p&gt;巷で話題のClineを使ってみました。モデルの選択にAWS BedRockを経由できるらしく、おちラボではBedrockを研究費で使っているので、ラボ内で本格的に利用しても予算的に安心ではあります。。。で、モデルはClaudeを使いたいわけで、最近はSonnet3.7が出ているようなのでそれを指定すると、&lt;span style=&quot;color: red;&quot;&gt;API Request Failed&lt;/span&gt;のエラーが？！&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;400 Invocation of model ID anthropic.claude-3-7-sonnet-20250219-v1:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile that contains this model.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;というエラーで。。。オンデマンド対応してない？もともと使っていたSonnet3.5v1ならOK。Sonnet3.5v2なら同様のエラー。なんだこりゃ？3.5v2から仕様が変更になったのかと思いましたが、正解は。。。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Use cross-region inference　にチェックを入れる&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;でした。開発効率を上げる手段として生成AI利用は魅力。ゼミ生が有料のサービスの利用に躊躇しているようなので、希望すれば使わせたいなと思います。&lt;/p&gt;&lt;p&gt;ちなみに、個人的なClineの感想。まあ、便利そうだけど勝手に色々言ってくるのは正直鬱陶しいなというきますが、それは私が昭和な人間だからですかね。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/7413416766776543933/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/03/clinebedrocksonnet37api-request-failed.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/7413416766776543933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/7413416766776543933'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/03/clinebedrocksonnet37api-request-failed.html' title='ClineでBedrock(Sonnet3.7)を指定した際のAPI Request Failedへの対応'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-5477926180191956514</id><published>2025-02-15T08:00:00.001+09:00</published><updated>2025-02-15T08:00:00.115+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Windows：Macで圧縮されたZipをWindowsで文字化けなく解凍する方法</title><content type='html'>&lt;p&gt;ここ最近、Macを使う比重が増えてきているんですが、とりあえず自宅のメインマシンがまだWindowsなので両刀使いでいますが、たまに表題の通り、Zipファイルの文字化け問題が起きます。Mac→Windowsの場合ですね。&lt;/p&gt;&lt;p&gt;解決策：CubeIceを入れましょう&lt;/p&gt;&lt;p&gt;フリーの解凍ソフト（CubePDF）で実績のあるCube社のCubeIceがオススメです。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://www.cube-soft.jp/cubeice/&quot;&gt;https://www.cube-soft.jp/cubeice/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/5477926180191956514/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/02/windowsmaczipwindows.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/5477926180191956514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/5477926180191956514'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/02/windowsmaczipwindows.html' title='Windows：Macで圧縮されたZipをWindowsで文字化けなく解凍する方法'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5622869745909854648.post-4855660912739999767</id><published>2025-02-15T00:01:00.006+09:00</published><updated>2025-02-15T00:01:48.178+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>PowerShellでCSVファイルを連結する際の文字化け対策</title><content type='html'>&lt;p&gt;表題の通り。。。受け取った複数のcsvファイルをcatコマンドで１つにまとめようとしたら、文字バケが起きて、うまくいかなかったので。。。。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;入力ファイル　・・・　SJIS&lt;/li&gt;&lt;li&gt;結合ファイル　・・・　SJIS&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;という条件です。cat コマンド、typeコマンドもいずれも文字コード指定がなさそう？で、リダイレクト（&amp;gt;）でファイル出力すると文字化けが発生。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;解決策&lt;/div&gt;&lt;div&gt;下記のように、PowerShellのコマンドである Get-Contentでファイルを読み込み、パイプでSet-Content で渡せばいいらしい。文字コードの指定もできるようだ。&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.87); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, Meiryo, monospace; font-size: 14.96px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.87); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, &amp;quot;Hiragino Sans&amp;quot;, Meiryo, monospace; font-size: 14.96px;&quot;&gt;Get-Content *.csv -Encoding Shift-JIS | Set-Content all.csv -Encoding Shift-JIS&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;参考サイト&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://qiita.com/Josezawa/items/9616f1bf9fbde02c259a&quot; target=&quot;_blank&quot;&gt;PowerShellでフォルダ内のCSVファイルを連結するときの文字化け対応&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ochi-lab.blogspot.com/feeds/4855660912739999767/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://ochi-lab.blogspot.com/2025/02/powershellcsv.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4855660912739999767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5622869745909854648/posts/default/4855660912739999767'/><link rel='alternate' type='text/html' href='http://ochi-lab.blogspot.com/2025/02/powershellcsv.html' title='PowerShellでCSVファイルを連結する際の文字化け対策'/><author><name>OCHI</name><uri>http://www.blogger.com/profile/03929527197420538192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>