<?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-4996113778417992490</id><updated>2026-10-17T07:22:44.463+09:00</updated><category term="日々の暮らし"/><category term="プログラムネタ"/><category term="3DPrinter"/><category term="iOS 開発ネタ"/><category term="RaspberryPi"/><category term="ハードネタ"/><category term="WEB系ネタ"/><category term="PocketChip"/><category term="Macネタ"/><category term="fon 2.0"/><category term="自転車"/><category term="PCネタ"/><category term="アニメ"/><category term="宣伝"/><category term="BeagleBoneBlack"/><category term="JavaScript"/><category term="Swift"/><category term="エコ"/><category term="写真"/><category term="FPGA"/><category term="xquery"/><category term="一眼デジカメ"/><category term="天体観測"/><title type='text'>鏡の中</title><subtitle type='html'>１円起業した人付き合いの苦手な普通のプログラマの日々</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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>521</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-7907028525452407637</id><published>2026-09-07T11:53:11.705+09:00</published><updated>2026-09-07T12:17:40.093+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>資本主義の極限が「民主社会主義」に行き着く：国家を株式会社として再定義する統治モデル</title><content type='html'>&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;結果的に、士郎正宗世界における、企業国家に関する考察となるのだろうか&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;国家を「完全合理的な株式会社（JP Holdings Inc.）」として再定義し、AIガバナンスと資本主義のメカニズムを極限まで適用することで、倒産や失業のない超効率的な統治モデルを構築する可能性について書き記す&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1. 国家の株式会社化&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;国家を単一のコングロマリット（JP Holdings Inc.）として再設計し、国民を「社員（株主）」と定義する。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;国債の全額買収: 発行されている膨大な国債（例えば日本における1,700兆円規模の債務）は株式市場における株となる&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2. 「倒産ゼロ・失業ゼロ」を実現するAI経営判断&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;企業や組織の持続可能性を担保するため、経済活動の動的コントロールをAIに一任する。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;赤字部署の事前再編: 個別の事業セグメントが赤字に転落する前に、AIがリアルタイムのデータに基づいて自動的に事業ポートフォリオを組み替え、破綻や倒産という概念そのものを消滅させる。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;労働者の完全保護: 部署の統合や再編において、そこで働いていた構成員には一切のお咎め（解雇や不利益）が発生しない。すべてのリソースは成長セグメントへシームレスに再アサインされる。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;税務署も年金機構も必要ない、全てソフトウェアに置き換わる&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;年金は退職金の分割払いとなる&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;3. 戦争なき時代の国家買収スキーム&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;国家の株式会社化が世界に浸透した場合、&lt;span style=&quot;font-family: inherit;&quot;&gt;敵対的買収による戦争のない抗争で決着をつけることになる&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;資本のレバレッジ: 直接的な巨大国家の買収が困難である場合、まずは小国の買収や経済圏の統合によって基盤となる資本とエネルギー拠点を確保する。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;経済合理性による統合: 非効率なレガシー官僚機構や政治的妥協を排除し、純粋な株主価値と資本効率の最大化を基準として、国家の経営権を合法的に書き換える。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;このような形こそが真の意味での民主社会主義と言えるのではなかろうか&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;ただし、どのように日本を企業に変貌させるのかはわからない&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;とは言え、トランプの出現は、アメリカ合衆国全体を株式会社トランプにする前段階とも取れる&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;なんの成果も出せない見せかけの政治に民衆が気がついてしまった&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;だから、政治家ではないトランプが求められた&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;トランプもイーロン・マスクのやっていることも、政治というより会社経営だ&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 40px; text-indent: -40px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/7907028525452407637/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/7907028525452407637' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/7907028525452407637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/7907028525452407637'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/09/blog-post_07.html' title='資本主義の極限が「民主社会主義」に行き着く：国家を株式会社として再定義する統治モデル'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-7854882292356867052</id><published>2026-09-06T19:26:48.848+09:00</published><updated>2026-09-06T20:45:08.392+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'> 膨らみ続ける政府債務の行方：戦争なき現代、この巨大な借金はどう決着するのか</title><content type='html'>&lt;p&gt;&lt;span style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); font-family: inherit;&quot;&gt;&amp;nbsp;「インフレによって数字が大きくなっていくだけだから平気だ」&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;政府債務の膨張に対して、こうした楽観論が語られることがある。しかし、はたして本当にそれだけで済む話なのだろうか。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;日本の国債は政府が借りている借金であり、その保有者は日銀、金融機関、海外、家計などに分かれている。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;一応現時点での内訳も書いておく&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;日本銀行&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;44.2%&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;銀行等&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;16.0%&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;生損保等&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;14.5%&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;海外&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;12.3%&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;公的年金＋年金基金&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;8.4%&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;家計&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1.5%&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;その他&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;3.1%&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;国債は殆ど日本国内で買われているから大丈夫と言う論理も、この割合から海外が意外に多いなと感じるのではなかろうか？&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;またこの割合にしろ、今後海外の割合は増えると予想する&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;なぜなら日銀はが金利を上げたからだ&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;日銀が大きな割合を保有しているとはいえ、日銀と政府は別の法人・会計であり、財布も別だ。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;日銀が利益を出した場合、その一部は国庫納付金として政府に戻り、一般会計に入った金は結果として新規国債の発行額を減らすことはできる。しかし、それによって既存の国債そのものが消えるわけではない。つまり、日銀というバッファが存在していても、政府債務そのものが消えてなくなるわけではないのだ。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;そして国債は満期になるたびに返済する必要があるが、実際には新しい国債を発行して借り換えることで財政を維持している。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;この仕組みを長期間続ければ、金利が上昇したときに、より高い金利で借り換えることになり、利払いも増えていく。債務が膨らみ続ける仕組みを、永遠に維持できるとは考えにくい。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;「インフレで額面が大きくなる」の本当の意味&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;もちろん、100年も経てば物価も賃金も上昇する。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;一円玉が消えて、一万円玉が使われるようになり、日本の平均年収が一億円になるような世界になれば、国債の額面も現在とは比較にならないほど大きくなるだろう。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;しかし、それで「国債がいくら増えても問題ない」ということにはならない。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;日本は、すでに国家債務と通貨の大きなリセットを経験している。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;明治以来、日本では長く「銭」という単位が使われていたが、戦争前にはインフレが進み、敗戦時には政府が発行した国債の価値も大きく失われた。通貨の単位も、実質的にはそれまでとは異なる「円」の時代へと移っていった。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;これは、単に物価が上がって国債の数字が大きくなったという話ではない。戦争と敗戦をきっかけに、通貨の価値、国債の価値、そして国家財政の前提そのものが大きく変わったのである。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;それからまだ百年も経っていない。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;戦争なき世界で、債務はどう調整されるのか&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;日本では再び国債が膨れ上がり、アメリカや欧州を含む世界各国でも、政府債務が積み上がり続けている。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;今度は、同じような大規模な戦争が起きるとは限らない。では、戦争が起きないまま、さらに百年が経過したとき、膨らみ続けた政府債務はどうなっているのだろうか。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;問題は、国債の額面が何兆円、何京円になるかだけではない。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;その膨張を、インフレ、増税、歳出削減、金利抑制、債務整理などのどのような形で、最終的に誰が負担するのかという問題である。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;「インフレで通貨の単位が大きくなるから、国債の額が増えても問題ない」というだけでは、この問題を説明したことにはならない。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-kerning: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;誰も答えを出していない大きな問い&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;各国は現時点で日本よりも高い年収、高い物価、高い税金へシフトしている&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;日本も追従する事になるだろう&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-color: rgb(224, 224, 224); -webkit-text-stroke-width: 0px; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;だがそれもいつか限界に達する&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/7854882292356867052/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/7854882292356867052' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/7854882292356867052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/7854882292356867052'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/09/blog-post_06.html' title=' 膨らみ続ける政府債務の行方：戦争なき現代、この巨大な借金はどう決着するのか'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-5347037850266837899</id><published>2026-09-05T17:52:00.088+09:00</published><updated>2026-09-05T18:00:56.421+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>権力集中をしない政治体制</title><content type='html'>&lt;div&gt;権力集中をしない政治体制&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&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;1. なぜ欧州は「権力集中」を恐れるのか？&lt;/div&gt;&lt;div&gt;ドイツのナチス政権やイタリアのファシスト政権など、歴史上、「民主的な選挙」を経て成立した政権がそのまま権力を掌握し、独裁化していったという痛烈な反省があります。&lt;/div&gt;&lt;div&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;2. 権力を縛る「縦と横」の分断メカニズム&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;権力の暴走を防ぐため、欧州各国は主に「横の牽制（機関同士）」と「縦の分散（中央と地方）」という2つのアプローチをとっています。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(1) 横の分散：機関同士のチェック＆バランス&lt;/div&gt;&lt;div&gt;・ドイツ：首相に対する不信任決議を、同時に後任を選出する「建設的不信任決議」とし、政局の不安定化を防ぎつつ、連邦憲法裁判所が政府の行為を厳しく審査する。また、人間の尊厳や民主制など「絶対に変えてはならない永久条項」が憲法（基本法）にある。&lt;/div&gt;&lt;div&gt;・イタリア・オーストリア：国家元首である大統領と内閣（首相）を明確に分離し、対等な権限を持つ二院制や、法律の合憲性をチェックする憲法裁判所を設置している。&lt;/div&gt;&lt;div&gt;・フランス：大統領に比較的強い権限を与える一方で、首相・政府を別系統の行政主体とし、国会や憲法院、さらには上位概念であるEUの司法機関による外部的な制約を受けている。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(2) 縦の分散：中央から地方への権限委譲&lt;/div&gt;&lt;div&gt;・ドイツ・オーストリア：連邦制を採用し、州に大きな権限を与えている。連邦政府だけで立法や行政を完結できない構造になっている。&lt;/div&gt;&lt;div&gt;・スペイン：フランコ独裁による強烈な中央集権体制への反省から、1978年憲法で「自治州制度」を導入し、広範な自治権を与えている。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. 「数」の力で暴走させない選挙と政権の仕組み&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;制度だけでなく、選挙制度も権力集中を防ぐ大きな防壁となっています。&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;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. まとめ：人格や善意に頼らない「仕組みの民主主義」&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;欧州の戦後民主主義の肝は、政治家個人の人格や善意に依存せず、以下のマルチな要素で権限を細かく切り分けている点にあります。&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;/div&gt;&lt;div&gt;・与党と野党&lt;/div&gt;&lt;div&gt;・大統領と首相&lt;/div&gt;&lt;div&gt;・議会と憲法裁判所&lt;/div&gt;&lt;div&gt;・国家とEU&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;これらはすべて、「民主的な選挙で選ばれた政権であっても、国家権力を無制限に行使させてはならない」という共通の理念に基づいています。戦後欧州の政治は、独裁者を排除する制度というよりも、「権力の集中そのものを起こさせない防壁のネットワーク」として理解する必要があります。&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;br /&gt;&lt;/div&gt;&lt;div&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;1. 「外部からの破壊」ではなく「内部での継承」による近代化&lt;/div&gt;&lt;div&gt;欧州各国は、自国の政治体制がファシズムやナチズムによって崩壊し、他国に占領されるなど「国家体制の完全なリセット・再構築」を経験しました。その痛烈な反省から、憲法レベルで権力分立を厳格にデザインし直しました。&lt;/div&gt;&lt;div&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;2. 中選挙区制から小選挙区制への移行と「政党の性格」&lt;/div&gt;&lt;div&gt;日本の選挙制度は、かつての中選挙区制（1つの選挙区から複数当選する）の時代、自民党候補同士が同じ党内でパイを奪い合う構造（保守分裂）でした。これが実質的な野党の役割を果たし、自民党が単独で過半数を取らなくても政権を維持できる「自民党一強」の土壌を作りました。&lt;/div&gt;&lt;div&gt;1994年の政治改革で導入された「小選挙区制」は、本来は「政権交代が起きやすい制度」として設計されましたが、実際には野党側が割れやすく、自民党の組織力・資金力が圧倒的に有利に働くため、結果として野党が万年野党化しやすい構造を生みました。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. 「強いリーダーや強力な中央集権」を好む行政文化&lt;/div&gt;&lt;div&gt;欧州の多くの国（ドイツやスペインなど）は、過去の強権的な中央集権のトラウマから「地方分権」や「連邦制」へ舵を切りました。&lt;/div&gt;&lt;div&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;4. 野党側の受け皿の弱さと「現状維持」の心理&lt;/div&gt;&lt;div&gt;欧州では比例代表制が主流であるため、少数政党でも議席を確保しやすく、連立のパートナーとして発言力を持ちます。&lt;/div&gt;&lt;div&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;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;欧州が「誰が権力を握っても暴走しないように、あらかじめギチギチにハードルを設けたシステム」であるのに対し、日本は「特定の政党（自民党）と官僚機構が長期政権を担うことで、政策の継続性や行政の安定を重視してきたシステム」と言えます。&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;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/5347037850266837899/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/5347037850266837899' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/5347037850266837899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/5347037850266837899'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/09/blog-post.html' title='権力集中をしない政治体制'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-258985230922969895</id><published>2026-08-11T16:14:52.997+09:00</published><updated>2026-08-11T16:14:52.998+09:00</updated><title type='text'>Macで作ったZIPの文字化け</title><content type='html'>&lt;p&gt;MacでZIPを作ってWindowsに持っていき、Windowsで解凍すると文字化けする。&lt;/p&gt;&lt;p&gt;MacのZIPはちょっと古いもので、ヘッダにUTF-8フラグやUTF-8ファイル名を記録してくれず、そのままUTF-8ファイル名のみを保持するため、Windowsで解凍するときにそのまま文字化けしてSJISになってしまうのが原因だ。&lt;/p&gt;&lt;p&gt;Mac定番のKekaを使うときちんとヘッダにUTF-8ファイル名も書き込んでくれるようで、Windowsで解凍しても文字化けが起きない。&lt;/p&gt;&lt;p&gt;ちなみにKekaはAppStoreから落とすとサブスク？料金がかかるんだけど、本家サイトからダウンロードするとそのまま使える。&lt;/p&gt;&lt;p&gt;Macでも新しいZIPをbrew install zipしてやって、&lt;/p&gt;&lt;p&gt;/opt/homebrew/bin/zip -UN=UTF8 -r &quot;${BASE_NAME}.zip&quot; &quot;$TARGET&quot; -x &quot;*.DS_Store&quot; -x &quot;__MACOSX&quot; -x &quot;._*&quot;&lt;/p&gt;&lt;p&gt;とかやってやれば文字化けせず、.DS_Storeや._ファイル名も含めずZIPできるんだけど&lt;/p&gt;&lt;p&gt;そこまでやる人普通はいないので素直にKeka使ったほうがいいかもしれない。&lt;/p&gt;&lt;p&gt;というか、Appleちゃんとしろよ&lt;/p&gt;&lt;p&gt;世界中が困ってんだよ&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/258985230922969895/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/258985230922969895' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/258985230922969895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/258985230922969895'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/08/maczip.html' title='Macで作ったZIPの文字化け'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-6466231853159483602</id><published>2026-07-10T00:04:05.171+09:00</published><updated>2026-07-10T00:04:05.172+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ハードネタ"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>RaspberryPiにWaveshareのe-inkディスプレイをつけた</title><content type='html'>&lt;p&gt;&amp;nbsp;Pythonで書いて、サービスにしておいたので、&lt;/p&gt;&lt;p&gt;ラズパイが起動したら表示されます&lt;/p&gt;&lt;p&gt;&lt;br /&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/AVvXsEi8YtMsTyomjARCgWwXkewqPOQHj9GvT6z5UYJd5wz8NRtY5yYpFo1WlTFd1aEQUnQp23Op6dN4_wH5OOVToBoFmj3Id09vnloCEUY2AMSnelc-Kf_sBzDLzU7d_4dTFrNS-81o4RLLPpF9sQnYsA_0Gkt8UPStxmuAnxopL3eQ-cSS8Xa2_3WEPsARYBc/s4032/IMG_3312.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3024&quot; data-original-width=&quot;4032&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8YtMsTyomjARCgWwXkewqPOQHj9GvT6z5UYJd5wz8NRtY5yYpFo1WlTFd1aEQUnQp23Op6dN4_wH5OOVToBoFmj3Id09vnloCEUY2AMSnelc-Kf_sBzDLzU7d_4dTFrNS-81o4RLLPpF9sQnYsA_0Gkt8UPStxmuAnxopL3eQ-cSS8Xa2_3WEPsARYBc/s320/IMG_3312.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/6466231853159483602/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/6466231853159483602' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/6466231853159483602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/6466231853159483602'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/07/raspberrypiwavesharee-ink.html' title='RaspberryPiにWaveshareのe-inkディスプレイをつけた'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/AVvXsEi8YtMsTyomjARCgWwXkewqPOQHj9GvT6z5UYJd5wz8NRtY5yYpFo1WlTFd1aEQUnQp23Op6dN4_wH5OOVToBoFmj3Id09vnloCEUY2AMSnelc-Kf_sBzDLzU7d_4dTFrNS-81o4RLLPpF9sQnYsA_0Gkt8UPStxmuAnxopL3eQ-cSS8Xa2_3WEPsARYBc/s72-c/IMG_3312.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-3000640720866641039</id><published>2026-07-09T11:27:08.698+09:00</published><updated>2026-07-09T11:27:08.698+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>全有権者比率での投票率</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;div class=&quot;shine-table-wrapper&quot; style=&quot;-webkit-tap-highlight-color: rgba(0, 0, 0, 0); box-sizing: inherit; caret-color: rgb(112, 150, 255); color: #eaeaea; font-family: &amp;quot;Avenir Next&amp;quot;, sans-serif; font-size: 18px; margin-bottom: unset; margin-top: unset; overflow-x: scroll !important; overflow-y: hidden;&quot;&gt;&lt;table style=&quot;border-collapse: collapse; border-spacing: 0px; border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); margin-bottom: var(--paragraph-spacing); margin-inline-end: 20px; margin-top: var(--paragraph-spacing); table-layout: fixed; width: 100%;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit; font-family: var(--font);&quot;&gt;&lt;tr style=&quot;border: 0px; box-sizing: inherit; font-family: var(--font);&quot;&gt;&lt;th class=&quot;selected-cell&quot; style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); font-weight: var(--bold-font-weight); min-width: 40px; padding: 2px 8px; position: relative; text-align: start; vertical-align: top;&quot;&gt;&lt;div style=&quot;box-sizing: inherit; font-family: var(--font); margin-bottom: unset; margin-top: unset;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;政党&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); font-weight: var(--bold-font-weight); min-width: 40px; padding: 2px 8px; position: relative; text-align: start; vertical-align: top;&quot;&gt;&lt;div style=&quot;box-sizing: inherit; font-family: var(--font); margin-bottom: unset; margin-top: unset;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;2026&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); font-weight: var(--bold-font-weight); min-width: 40px; padding: 2px 8px; position: relative; text-align: start; vertical-align: top;&quot;&gt;&lt;div style=&quot;box-sizing: inherit; font-family: var(--font); margin-bottom: unset; margin-top: unset;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;2024&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); font-weight: var(--bold-font-weight); min-width: 40px; padding: 2px 8px; position: relative; text-align: start; vertical-align: top;&quot;&gt;&lt;div style=&quot;box-sizing: inherit; font-family: var(--font); margin-bottom: unset; margin-top: unset;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;2021&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;th style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); font-weight: var(--bold-font-weight); min-width: 40px; padding: 2px 8px; position: relative; text-align: start; vertical-align: top;&quot;&gt;&lt;div style=&quot;box-sizing: inherit; font-family: var(--font); margin-bottom: unset; margin-top: unset;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;2017&lt;/b&gt;&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;border: 0px; box-sizing: inherit; font-family: var(--font);&quot;&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;自民党&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;20.66%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約17.8%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約19.7%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約17.9%&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;border: 0px; box-sizing: inherit; font-family: var(--font);&quot;&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;立憲＋公明（→中道改革連合）&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;約10.25%&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;約18.3%&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;約18.4%&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;&lt;b style=&quot;box-sizing: inherit; font-family: var(--font); font-weight: 600;&quot;&gt;約16.7%&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;border: 0px; box-sizing: inherit; font-family: var(--font);&quot;&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;国民民主&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;5.47%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約6.8%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約2.6%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約1.4%&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;border: 0px; box-sizing: inherit; font-family: var(--font);&quot;&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;維新&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;4.85%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約8.7%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約8.0%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約3.4%&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;border: 0px; box-sizing: inherit; font-family: var(--font);&quot;&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;共産&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;2.48%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約3.5%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約4.1%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約4.0%&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;border: 0px; box-sizing: inherit; font-family: var(--font);&quot;&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;れいわ&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;1.64%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約2.9%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;約2.2%&lt;/td&gt;&lt;td style=&quot;border: 1px solid var(--input-border-color); box-sizing: inherit; font-family: var(--font); min-width: 40px; padding: 2px 8px; position: relative; vertical-align: top;&quot;&gt;―&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/3000640720866641039/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/3000640720866641039' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/3000640720866641039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/3000640720866641039'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/07/blog-post.html' title='全有権者比率での投票率'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-3187267791550118302</id><published>2026-06-27T17:41:48.833+09:00</published><updated>2026-07-07T21:52:01.300+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>dot_cleanしてくれる常駐アプリを作りました</title><content type='html'>&lt;p&gt;&amp;nbsp;最近MacbookNeoをつかいまくってて、&lt;/p&gt;&lt;p&gt;SDカードとか書き込んでて気がついた&lt;/p&gt;&lt;p&gt;そうだった。.ds_storeとか_ファイル名とか、Macを使ってると隠しファイルができてしまうのだ。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;しかし！&lt;/p&gt;&lt;p&gt;それらを消すコマンドがある！&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;ターミナルを開いて、以下のコマンドを入れる&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: rgba(25, 29, 39, 0.95); color: #e0e0e0; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;dot_clean -m /Volumes/NO\ NAME&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;マウントされている名前はNO NAMEなんだけど、スペースが入ってるからバックスラッシュ・スペースでつながっている&lt;/p&gt;&lt;p&gt;これを毎回やるのは嫌なので、&lt;/p&gt;&lt;p&gt;取り出しをするときにフックして、dot_cleanを実行するアプリを作ってみた。&lt;/p&gt;&lt;p&gt;名前はdcleanにした&lt;/p&gt;&lt;p&gt;xcodeを立ち上げて、アカウント入れたりなんだりしてから、contentViewやItemを消して、dcleanAppだけ残して以下のように書き換え&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;import&lt;/b&gt;&lt;/span&gt; SwiftUI&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;import&lt;/b&gt;&lt;/span&gt; AppKit&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;import&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; Combine &lt;/span&gt;// 🌟 これを追加！&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p4&quot; style=&quot;background-color: #1f1f24; color: #92a1b1; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s3&quot; style=&quot;color: #6c7986;&quot;&gt;// &lt;/span&gt;&lt;b&gt;MARK: - 1. ログのデータ構造と管理クラス&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;// 重複したログでも区別できるように Identifiable にする&lt;/p&gt;&lt;p class=&quot;p5&quot; style=&quot;background-color: #1f1f24; color: #d0a8ff; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;struct&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;color: #5dd8ff;&quot;&gt;LogItem&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;: &lt;/span&gt;Identifiable&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; {&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;id&lt;/span&gt; = &lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;UUID&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;text&lt;/span&gt;: &lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;String&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;// ログを管理し、UI（メニューバー）を更新する専用のクラス&lt;/p&gt;&lt;p class=&quot;p5&quot; style=&quot;background-color: #1f1f24; color: #d0a8ff; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;class&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;color: #5dd8ff;&quot;&gt;LogStore&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;: &lt;/span&gt;ObservableObject&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; {&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;static&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;shared&lt;/span&gt; = &lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;LogStore&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;@Published&lt;/span&gt; &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;var&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;logs&lt;/span&gt;: [&lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;LogItem&lt;/span&gt;] = []&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;// UIの更新は必ずメインスレッドで行う&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;func&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;addLog&lt;/span&gt;(&lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;_&lt;/span&gt; message: &lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;String&lt;/span&gt;) {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;DispatchQueue.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;main&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;async&lt;/span&gt; {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; formatter = DateFormatter()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;formatter.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;dateFormat&lt;/span&gt; = &lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;HH:mm:ss&quot;&lt;/span&gt; &lt;span class=&quot;s3&quot; style=&quot;color: #6c7986;&quot;&gt;// 実行時間も表示&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; timeString = formatter.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;string&lt;/span&gt;(&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;from&lt;/span&gt;: &lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Date&lt;/span&gt;())&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; newLog = &lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;LogItem&lt;/span&gt;(&lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;text&lt;/span&gt;: &lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;[&lt;/span&gt;\(timeString)&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;] &lt;/span&gt;\(message)&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;// 最新のログが一番上に来るように追加&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;self&lt;/b&gt;&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logs&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;insert&lt;/span&gt;(newLog, &lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;at&lt;/span&gt;: &lt;span class=&quot;s11&quot; style=&quot;color: #d0bf69;&quot;&gt;0&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;// メニューが長くなりすぎないよう最新10件に制限&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;self&lt;/b&gt;&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logs&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;count&lt;/span&gt; &amp;gt; &lt;span class=&quot;s11&quot; style=&quot;color: #d0bf69;&quot;&gt;10&lt;/span&gt; {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;self&lt;/b&gt;&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logs&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;removeLast&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;func&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;clear&lt;/span&gt;() {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;DispatchQueue.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;main&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;async&lt;/span&gt; {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;self&lt;/b&gt;&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logs&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;removeAll&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p4&quot; style=&quot;background-color: #1f1f24; color: #92a1b1; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s3&quot; style=&quot;color: #6c7986;&quot;&gt;// &lt;/span&gt;&lt;b&gt;MARK: - 2. メインのApp定義&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p6&quot; style=&quot;background-color: #1f1f24; color: #fc5fa3; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;b&gt;@main&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;p7&quot; style=&quot;background-color: #1f1f24; color: #5dd8ff; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;struct&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;dcleanApp&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;: &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;App&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; {&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;// LogStoreの変更を監視する&lt;/p&gt;&lt;p class=&quot;p5&quot; style=&quot;background-color: #1f1f24; color: #d0a8ff; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;@StateObject&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;private&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;var&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;logStore&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; = &lt;/span&gt;&lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;LogStore&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;shared&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;init&lt;/b&gt;&lt;/span&gt;() {&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;// アプリ起動時にディスク監視を開始&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;DiskObserver&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;shared&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;start&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;var&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;body&lt;/span&gt;: &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;some&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Scene&lt;/span&gt; {&lt;/p&gt;&lt;p class=&quot;p8&quot; style=&quot;background-color: #1f1f24; color: #fc6a5d; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;MenuBarExtra&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(&lt;/span&gt;&quot;dclean&quot;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;systemImage&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;: &lt;/span&gt;&quot;wand.and.stars&quot;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;) {&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p8&quot; style=&quot;background-color: #1f1f24; color: #fc6a5d; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Text&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(&lt;/span&gt;&quot;外付けドライブの取り外しを監視中...&quot;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;font&lt;/span&gt;(.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;caption&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;disabled&lt;/span&gt;(&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;true&lt;/b&gt;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;// ログが存在する場合のみ履歴メニューを表示&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; !&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logStore&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logs&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;isEmpty&lt;/span&gt; {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Divider&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Text&lt;/span&gt;(&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;最近の動作履歴&quot;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;font&lt;/span&gt;(.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;caption&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;disabled&lt;/span&gt;(&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;true&lt;/b&gt;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;ForEach&lt;/span&gt;(&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logStore&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logs&lt;/span&gt;) { log &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;in&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Text&lt;/span&gt;(log.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;text&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;font&lt;/span&gt;(.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;system&lt;/span&gt;(&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;size&lt;/span&gt;: &lt;span class=&quot;s11&quot; style=&quot;color: #d0bf69;&quot;&gt;11&lt;/span&gt;)) &lt;span class=&quot;s3&quot; style=&quot;color: #6c7986;&quot;&gt;// ログは少し小さめの文字で表示&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Divider&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Button&lt;/span&gt;(&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;履歴をクリア&quot;&lt;/span&gt;) {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;logStore&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;clear&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Divider&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Button&lt;/span&gt;(&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;アプリを終了&quot;&lt;/span&gt;) {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;NSApplication&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;shared&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;terminate&lt;/span&gt;(&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;nil&lt;/b&gt;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p9&quot; style=&quot;background-color: #1f1f24; color: #a167e6; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;.&lt;/span&gt;menuBarExtraStyle&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(.&lt;/span&gt;menu&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p4&quot; style=&quot;background-color: #1f1f24; color: #92a1b1; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s3&quot; style=&quot;color: #6c7986;&quot;&gt;// &lt;/span&gt;&lt;b&gt;MARK: - 3. ディスク監視クラス&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;p7&quot; style=&quot;background-color: #1f1f24; color: #5dd8ff; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;class&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;DiskObserver&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;: &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;NSObject&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; {&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p10&quot; style=&quot;background-color: #1f1f24; color: #9ef1dd; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;static&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;shared&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; = &lt;/span&gt;DiskObserver&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;()&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p6&quot; style=&quot;background-color: #1f1f24; color: #fc5fa3; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;b&gt;private&lt;/b&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;b&gt;override&lt;/b&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;&lt;b&gt;init&lt;/b&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;() {&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;super&lt;/b&gt;&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;init&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;func&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;start&lt;/span&gt;() {&lt;/p&gt;&lt;p class=&quot;p9&quot; style=&quot;background-color: #1f1f24; color: #a167e6; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;NSWorkspace&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;.&lt;/span&gt;shared&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;.&lt;/span&gt;notificationCenter&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;.&lt;/span&gt;addObserver&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;self&lt;/b&gt;&lt;/span&gt;,&lt;/p&gt;&lt;p class=&quot;p11&quot; style=&quot;background-color: #1f1f24; color: #67b7a4; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;selector&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;: &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;#selector&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(&lt;/span&gt;handleVolumeWillUnmount&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(&lt;/span&gt;_&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;:)),&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p9&quot; style=&quot;background-color: #1f1f24; color: #a167e6; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;name&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;: &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;NSWorkspace&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;.&lt;/span&gt;willUnmountNotification&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;,&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;object&lt;/span&gt;: &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;nil&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;@objc&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;func&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;handleVolumeWillUnmount&lt;/span&gt;(&lt;span class=&quot;s5&quot; style=&quot;color: #41a1c0;&quot;&gt;_&lt;/span&gt; notification: &lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Notification&lt;/span&gt;) {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;guard&lt;/b&gt;&lt;/span&gt; &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; volumeURL = notification.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;userInfo&lt;/span&gt;?[&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;NSWorkspace&lt;/span&gt;.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;volumeURLUserInfoKey&lt;/span&gt;] &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;as&lt;/b&gt;&lt;/span&gt;? &lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;URL&lt;/span&gt; &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt; { &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt; }&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; path = volumeURL.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;path&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;guard&lt;/b&gt;&lt;/span&gt; path.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;hasPrefix&lt;/span&gt;(&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;/Volumes/&quot;&lt;/span&gt;) &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt; { &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt; }&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;background-color: #1f1f24; color: #6c7986; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;// &quot;/Volumes/USB_Drive&quot; から &quot;USB_Drive&quot; の部分だけを抽出して見やすくする&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; driveName = volumeURL.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;lastPathComponent&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p8&quot; style=&quot;background-color: #1f1f24; color: #fc6a5d; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(&lt;/span&gt;&quot;取り外しを検知: &lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;\(path)&lt;/span&gt; - dot_cleanを開始します。&quot;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;LogStore&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;shared&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;addLog&lt;/span&gt;(&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;⏳ &lt;/span&gt;\(driveName)&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt; をクリーン中...&quot;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;runDotClean&lt;/span&gt;(&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;for&lt;/span&gt;: path, &lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;driveName&lt;/span&gt;: driveName)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p12&quot; style=&quot;background-color: #1f1f24; color: #41a1c0; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;func&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; &lt;/span&gt;runDotClean&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(&lt;/span&gt;for&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; path: &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;, &lt;/span&gt;driveName&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;: &lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;) {&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;let&lt;/b&gt;&lt;/span&gt; task = &lt;span class=&quot;s6&quot; style=&quot;color: #d0a8ff;&quot;&gt;Process&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p8&quot; style=&quot;background-color: #1f1f24; color: #fc6a5d; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;task.&lt;/span&gt;&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;launchPath&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt; = &lt;/span&gt;&quot;/usr/sbin/dot_clean&quot;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;task.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;arguments&lt;/span&gt; = [&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;-m&quot;&lt;/span&gt;, path]&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;do&lt;/b&gt;&lt;/span&gt; {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;try&lt;/b&gt;&lt;/span&gt; task.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;run&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;task.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;waitUntilExit&lt;/span&gt;()&lt;/p&gt;&lt;p class=&quot;p3&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p8&quot; style=&quot;background-color: #1f1f24; color: #fc6a5d; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;(&lt;/span&gt;&quot;dot_clean完了: &lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;\(path)&lt;/span&gt; - 安全に取り外します。&quot;&lt;span class=&quot;s2&quot; color=&quot;rgba(255, 255, 255, 0.85)&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;LogStore&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;shared&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;addLog&lt;/span&gt;(&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;✅ &lt;/span&gt;\(driveName)&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt; のクリーン完了&quot;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;} &lt;span class=&quot;s1&quot; style=&quot;color: #fc5fa3;&quot;&gt;&lt;b&gt;catch&lt;/b&gt;&lt;/span&gt; {&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;print&lt;/span&gt;(&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;dot_clean実行エラー: &lt;/span&gt;\(error.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;localizedDescription&lt;/span&gt;)&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s7&quot; style=&quot;color: #9ef1dd;&quot;&gt;LogStore&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;shared&lt;/span&gt;.&lt;span class=&quot;s10&quot; style=&quot;color: #67b7a4;&quot;&gt;addLog&lt;/span&gt;(&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;❌ &lt;/span&gt;\(driveName)&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt; でエラー発生。&lt;/span&gt;\(error.&lt;span class=&quot;s8&quot; style=&quot;color: #a167e6;&quot;&gt;localizedDescription&lt;/span&gt;)&lt;span class=&quot;s9&quot; style=&quot;color: #fc6a5d;&quot;&gt;&quot;&lt;/span&gt;)&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/p&gt;&lt;p class=&quot;p1&quot; style=&quot;background-color: #1f1f24; color: rgba(255, 255, 255, 0.85); font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; line-height: normal; margin: 0px;&quot;&gt;}&lt;/p&gt;&lt;p&gt;三角を押して動作確認したら、ビルド対象をAny Mac(arm64, x86_64)にして、メニューのプロダクトからアーカイブを選んでディストリビュートし、CopyAppを選んで適当なところに配置、XCODEでを終わらせて、できたAppをダブルクリックしたら動くはず&lt;/p&gt;&lt;p&gt;これで、いちいち、dot_cleanする必要はなくなった。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;欲しい方は&lt;a href=&quot;https://drive.google.com/file/d/1qPBmtcBRwsSIgty90b7wVyRRMXUcT0Bm/view?usp=drive_link&quot; target=&quot;_blank&quot;&gt;こちら&lt;/a&gt;からどうぞ&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2026年06月30日バージョンから、上記説明の他にあれこれ追加して、右クリックメニューのクイックアクションにフォルダをクリーンアップするCleanupと、.DS_Storeや._ファイル名を除外しながらZIPを作るmakeCleanZipを登録する事ができるように修正しました。&lt;/p&gt;&lt;p&gt;2026年07月04日ネットワークドライブなども対象になっていたので、それらを除外する処理を追加しました。&lt;/p&gt;&lt;p&gt;2026年07月07日アプリ用アイコン作成、上部常駐部アイコン作成、下部のバーにアイコンが出てしまったのを修正&lt;/p&gt;&lt;p&gt;起動すると上部にアプリが常駐します。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;クイックアクション設定から「Finder右クリックに追加する」で、クイックアクションが登録されます。&lt;/p&gt;&lt;p&gt;「Finder右クリックから削除する」でクイックアクションは消せます。&lt;/p&gt;&lt;p&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/AVvXsEiKrqpQTnwsR8_wQ_QRabgSeUAnpCwR15OOVkuUG5tmNNsIglyb7VED-FV-oopG5xXHg8aEsG6PzXOppHDcM5D8ITGeXz1Srqfc94fzEVlf2PGgfF8Sp30bA2dawVxf5CrcFAyn4Ttvu6-uHA93bSS43gwja74ukjSvA-QteeyyAN74XCk4_U_iPPH0u1Q/s758/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-30%2023.44.23.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;452&quot; data-original-width=&quot;758&quot; height=&quot;191&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKrqpQTnwsR8_wQ_QRabgSeUAnpCwR15OOVkuUG5tmNNsIglyb7VED-FV-oopG5xXHg8aEsG6PzXOppHDcM5D8ITGeXz1Srqfc94fzEVlf2PGgfF8Sp30bA2dawVxf5CrcFAyn4Ttvu6-uHA93bSS43gwja74ukjSvA-QteeyyAN74XCk4_U_iPPH0u1Q/s320/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-30%2023.44.23.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;終了させるときは「アプリを終了」です。&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;実はこれを作る前にはKekaというアプリを使っていたのですが、&lt;/p&gt;&lt;p&gt;ZIPしか使わないし、拙作アプリだけで良くなりました。&lt;/p&gt;&lt;div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/3187267791550118302/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/3187267791550118302' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/3187267791550118302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/3187267791550118302'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/06/dotclean.html' title='dot_cleanしてくれる常駐アプリを作りました'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/AVvXsEiKrqpQTnwsR8_wQ_QRabgSeUAnpCwR15OOVkuUG5tmNNsIglyb7VED-FV-oopG5xXHg8aEsG6PzXOppHDcM5D8ITGeXz1Srqfc94fzEVlf2PGgfF8Sp30bA2dawVxf5CrcFAyn4Ttvu6-uHA93bSS43gwja74ukjSvA-QteeyyAN74XCk4_U_iPPH0u1Q/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-30%2023.44.23.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-9127118581168096274</id><published>2026-06-21T22:46:23.003+09:00</published><updated>2026-06-21T23:07:06.705+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ハードネタ"/><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>自動開閉ゴミ箱の回路を差し替えた</title><content type='html'>&lt;br /&gt;&lt;br /&gt; 以前買ったそこそこ高い自動開閉ゴミ箱&lt;br /&gt;&lt;br /&gt;なぜ最近、閉まらなくなってしまって&lt;br /&gt;&lt;br /&gt;開く時と閉まる時でトルクが全然違う&lt;br /&gt;&lt;br /&gt;ドライバーがいかれたのだろうか？&lt;br /&gt;&lt;br /&gt;直すのも面倒なので回路ごと差し替えることにしました。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;使ったのはPIC16F1825とDRV8835、GP2Y0E03、他に部品は、LEDとプルアップ抵抗4.7k2本、あとはユニバーサル基盤&lt;br /&gt;&lt;br /&gt;開発環境はMacbookNeoで、MPLab X IDE 6.3 と snap、あとは、リボンケーブルやデュポンコネクタ、ジュンフロン線、半田、コテくらいですかね&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;開く時と閉まる時の時間設定をすると、動き始めと動き終わりがゆっくりになるように調整しています。&lt;/div&gt;&lt;div&gt;開いている時間は、家族から45秒くらい欲しいと言われたので、その設定にしました。&lt;/div&gt;&lt;div&gt;一応スイッチを付ければ、距離センサーで反応する高さを設定することもできるようにしてあるのですが、今のところ25cm固定で問題なさそうなので、スイッチは付けてません。そのうちやるかも知れませんが、今のところ必要性がないです。&lt;/div&gt;&lt;div&gt;他に考えてるのは、snap用のコネクタが剥き出しなので、TPUで部品作って、覆うようにしようかなとかですかね&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dxhlVZBTBsAB-BzzsdwO66XeI462VkDPOVGa_9achhp6Tu_VpsgGvFbcMSKA5JsTjzqLZHaVGvxKc0ioSa9JQ&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: #b2b2b2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dwAXzfhZLLWks41WkyEk-hbEGAp0lgBMU-JlCqQx0yCCsU0bKWqaoySUYNpvsR5G--1-T46S2AHzxcguX0iOA&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&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/AVvXsEjTgq8-bEEYzXlk8zIhrIvjvWBbUpjCbzbIpE-rR2oKpo29Gu8cHfctz9-qAMU8Aa0lEcm1diVx3FRIuIhBKJ9ZgPLXeIfRsb4sG15kUK6-aE_O-PbYIdLTZeYkeDUXKILhh53A7WDDvYULtFv1K4TpaC9-H4tNc3bWkMb7M5YrlCc6QFIdwnGyRpkB5Ro/s4032/IMG_3228.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;4032&quot; data-original-width=&quot;3024&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTgq8-bEEYzXlk8zIhrIvjvWBbUpjCbzbIpE-rR2oKpo29Gu8cHfctz9-qAMU8Aa0lEcm1diVx3FRIuIhBKJ9ZgPLXeIfRsb4sG15kUK6-aE_O-PbYIdLTZeYkeDUXKILhh53A7WDDvYULtFv1K4TpaC9-H4tNc3bWkMb7M5YrlCc6QFIdwnGyRpkB5Ro/s320/IMG_3228.jpeg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;snap用のコネクタも付けました。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;今回結構多くのデュポンコネクタを作りました。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;2.54mmピッチで、AWG28あたりの線を使うと、&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;デュポン一択ですね&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/9127118581168096274/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/9127118581168096274' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/9127118581168096274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/9127118581168096274'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/06/blog-post_21.html' title='自動開閉ゴミ箱の回路を差し替えた'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/AVvXsEjTgq8-bEEYzXlk8zIhrIvjvWBbUpjCbzbIpE-rR2oKpo29Gu8cHfctz9-qAMU8Aa0lEcm1diVx3FRIuIhBKJ9ZgPLXeIfRsb4sG15kUK6-aE_O-PbYIdLTZeYkeDUXKILhh53A7WDDvYULtFv1K4TpaC9-H4tNc3bWkMb7M5YrlCc6QFIdwnGyRpkB5Ro/s72-c/IMG_3228.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-147002648179045052</id><published>2026-06-11T13:47:13.068+09:00</published><updated>2026-06-11T13:47:13.068+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ハードネタ"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><title type='text'>VSC+PlatformIO+ESP WROOM 32</title><content type='html'>&lt;p&gt;&amp;nbsp;マウスキーボードジグラーを作った&lt;/p&gt;&lt;p&gt;BLEで繋ぐとチョビチョビ動く&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/AVvXsEi7g37yLGOP-NkO7SFM41iClacqApBSk_r5KeW8yvDD8KjBdg-dG5MXd12gi14MjuoP398MfzYJwY00_Dx2vmOqvObwOm67DyHSMFPX-7cSgaCPC_mz1pN9FXM71Fo5irbaTNZp6iu3wrh2FYxr419Y5ilu4eNk5fLR3avMw3RxDvQHc9X2UNLABGPMxM4/s4032/IMG_3135.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;4032&quot; data-original-width=&quot;3024&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7g37yLGOP-NkO7SFM41iClacqApBSk_r5KeW8yvDD8KjBdg-dG5MXd12gi14MjuoP398MfzYJwY00_Dx2vmOqvObwOm67DyHSMFPX-7cSgaCPC_mz1pN9FXM71Fo5irbaTNZp6iu3wrh2FYxr419Y5ilu4eNk5fLR3avMw3RxDvQHc9X2UNLABGPMxM4/s320/IMG_3135.jpeg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/147002648179045052/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/147002648179045052' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/147002648179045052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/147002648179045052'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/06/vscplatformioesp-wroom-32.html' title='VSC+PlatformIO+ESP WROOM 32'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/AVvXsEi7g37yLGOP-NkO7SFM41iClacqApBSk_r5KeW8yvDD8KjBdg-dG5MXd12gi14MjuoP398MfzYJwY00_Dx2vmOqvObwOm67DyHSMFPX-7cSgaCPC_mz1pN9FXM71Fo5irbaTNZp6iu3wrh2FYxr419Y5ilu4eNk5fLR3avMw3RxDvQHc9X2UNLABGPMxM4/s72-c/IMG_3135.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-2338322774755305263</id><published>2026-06-10T11:40:05.708+09:00</published><updated>2026-06-10T11:40:05.709+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>ノウハウの蓄積と継承問題</title><content type='html'>&lt;p&gt;&amp;nbsp;農業や漁業も若者に魅力のない職業らしいが、高齢化という点では、建設業もやばい、そして実はソフトウェアもやばい&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;というか本気でソフトウェアはマヂやばい&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;建設業に似てると思う&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;どちらの業種もノウハウが山のようにある&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;それなのに大工の研修数年やった程度の人に家を建ててもらうことになるのはマヂ勘弁してほしい&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;プログラマもそうだろ？&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;半年プログラミング講義して、現場に投入よ？&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;今はAI使ってそれらしい答えが得られるんだけど、、、&lt;/p&gt;&lt;p&gt;それ、正しいわけがないので、ちゃんと読んで治せる人がいないと全然ダメ&lt;/p&gt;&lt;p&gt;そのうちAIが変わるかもしれないけど、今時点ではどれもこれもまだダメ&lt;/p&gt;&lt;p&gt;いやー本当に、プログラムなんて組まないでいい時代になってほしいよ&lt;/p&gt;&lt;p&gt;そうしたらスッキリやめるのになー&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;まぁ、多分仕事は無くならない気がする&lt;/p&gt;&lt;p&gt;建てた家が十年後大丈夫か見極められる人、書いたプログラムがなんでそういう設計なのかメンテコストなど見越して設計できる人、そういう立場の連中は残るだろう&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;そこが居なくなったら大変よ&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/2338322774755305263/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/2338322774755305263' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/2338322774755305263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/2338322774755305263'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/06/blog-post_10.html' title='ノウハウの蓄積と継承問題'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-1329127474873896506</id><published>2026-06-09T21:25:22.909+09:00</published><updated>2026-06-09T21:25:22.909+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ハードネタ"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><title type='text'>自動開閉ゴミ箱の調子が悪い</title><content type='html'>&lt;p&gt;&amp;nbsp;開くときにはトルクがあるのだけど、閉まるときに全然トルクがない&lt;/p&gt;&lt;p&gt;多分Hブリッジイカれた&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;仕方ないので自前回路で置き換える&lt;/p&gt;&lt;p&gt;まずは部品選定（単一電池２本で動くようにしないといけない）&lt;/p&gt;&lt;p&gt;PIC16F1825&lt;/p&gt;&lt;p&gt;モータードライバはDRV8835&lt;/p&gt;&lt;p&gt;赤外線距離センサーはGP2Y0E03&lt;/p&gt;&lt;p&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/AVvXsEg0l7JzrwqfpbOgvrEodLGDDgCAghIe9J2t-S3uywE31-tH4udfpKPmWq094jeph439lu12zmqWPpJQy1chh8bxPsNuoMpbnI2DYQ_6Uv74eh-xJhPE5KJKwCcCbJpbXFrHOjt5o7sbwPLSdxbN2PAD30wFA_OVDQ2m_lgZF3lESsnHXVeaEAYrnPoziEk/s3260/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-09%2021.23.31.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1854&quot; data-original-width=&quot;3260&quot; height=&quot;362&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0l7JzrwqfpbOgvrEodLGDDgCAghIe9J2t-S3uywE31-tH4udfpKPmWq094jeph439lu12zmqWPpJQy1chh8bxPsNuoMpbnI2DYQ_6Uv74eh-xJhPE5KJKwCcCbJpbXFrHOjt5o7sbwPLSdxbN2PAD30wFA_OVDQ2m_lgZF3lESsnHXVeaEAYrnPoziEk/w637-h362/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-09%2021.23.31.png&quot; width=&quot;637&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;あとは書き込んで配線して試すだけ・・・&lt;/div&gt;&lt;div&gt;ちょっと今日はできないのでまた時間のあるときにやる&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/1329127474873896506/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/1329127474873896506' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/1329127474873896506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/1329127474873896506'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/06/blog-post_09.html' title='自動開閉ゴミ箱の調子が悪い'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/AVvXsEg0l7JzrwqfpbOgvrEodLGDDgCAghIe9J2t-S3uywE31-tH4udfpKPmWq094jeph439lu12zmqWPpJQy1chh8bxPsNuoMpbnI2DYQ_6Uv74eh-xJhPE5KJKwCcCbJpbXFrHOjt5o7sbwPLSdxbN2PAD30wFA_OVDQ2m_lgZF3lESsnHXVeaEAYrnPoziEk/s72-w637-h362-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-09%2021.23.31.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-4245687503153931193</id><published>2026-06-05T00:44:32.587+09:00</published><updated>2026-06-05T00:44:32.587+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>ミジンコ</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;元気に泳いでいます&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;528&#39; height=&#39;438&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dw4DC1ey654BvNCL0eQASq5FrdTdoNGCjRG-QpB-UZNo6_DO4yK6M7iMFNgtZH0Za844wb6nNiOGPbmqLgBoA&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&amp;nbsp;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/4245687503153931193/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/4245687503153931193' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/4245687503153931193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/4245687503153931193'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/06/blog-post_05.html' title='ミジンコ'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-642483554667346702</id><published>2026-06-04T23:43:17.294+09:00</published><updated>2026-06-06T18:29:19.440+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3DPrinter"/><title type='text'>フィラメントケースを再考する</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.onlyspoolz.com/portfolio/&quot;&gt;https://www.onlyspoolz.com/portfolio/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;こちらを見ると1kgサイズのスプールは厚みが65mm程度&lt;/p&gt;&lt;p&gt;だからわたしが以前採用したこちらのケースでは４つのスプールが収まります。&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://amzn.to/3ROjlrF&quot;&gt;https://amzn.to/3ROjlrF&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3100円なんですけど、業務用というものもあって、&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://amzn.to/4odPO6W&quot;&gt;https://amzn.to/4odPO6W&lt;/a&gt;&lt;/p&gt;&lt;p&gt;サイズもほぼ一緒でこちらは2209円&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;わたしは底面から15cmの中心に、&lt;/p&gt;&lt;p&gt;Φ20のパイプを33cm長に切って、&lt;/p&gt;&lt;p&gt;3Dプリンタで作った部品で固定しています。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;それを作ったのが2018年の年末で、&lt;/p&gt;&lt;p&gt;そこからずっと使ってますが、&lt;/p&gt;&lt;p&gt;一度もジャムったことがありません&lt;/p&gt;&lt;p&gt;よくある底面で支えるタイプも試したことはあるんですが、どうもゴロゴロして安定しません&lt;/p&gt;&lt;p&gt;フィラメントスプールは中心に穴が空いてるんだから、そこにΦ20のパイプを通して保持する方が断然安定しますし、この容器の中にシリカゲルを仕込んだ方が扱いも簡単です。&lt;/p&gt;&lt;p&gt;ですが、残念なのが一点&lt;/p&gt;&lt;p&gt;パイプ一本なので、真ん中のスプールだけ変えたい時に全スプールをら持ち上げなくてはなりません。&lt;/p&gt;&lt;p&gt;まぁ、4キロくらいどうってことはないんですけど、フィラメントがPTFEパイプに通っているとちょっとやりづらさはあります。&lt;/p&gt;&lt;p&gt;できれば、パイプを4本に切って、スプールホルダを四つ中に仕込みたい。&lt;/p&gt;&lt;p&gt;2ミリ幅くらいで仕込めたらいいんだけど、パイプ保持には両側から2cmくらいは欲しい&lt;/p&gt;&lt;p&gt;まぁそんな感じでホルダーのデザインをしてますがなかなかうまくいかないですね&lt;/p&gt;&lt;p&gt;薄さと強度の両立ってなかなか大変です。&lt;/p&gt;&lt;p&gt;多分これなら行けるかも？&lt;/p&gt;&lt;p&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/AVvXsEheOkT9P46e8MDKCfekUdglmQQyp5u_I8NQMesyVjJ494P3lGiR6VzY8V3dkyDz1_rlGoQ2nW1ao8-EEZfR7UD-BLsZNR-4ruPTMPAdMgRYgVvKjSST1n5_SPfcZR07iY-l9pU_-p4saUbRfO4gcEaEWrQw2rHV6K6lXx_nXGlqCYy-bAtek_pG_sG6iqc/s1374/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-05%201.42.35.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1316&quot; data-original-width=&quot;1374&quot; height=&quot;362&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheOkT9P46e8MDKCfekUdglmQQyp5u_I8NQMesyVjJ494P3lGiR6VzY8V3dkyDz1_rlGoQ2nW1ao8-EEZfR7UD-BLsZNR-4ruPTMPAdMgRYgVvKjSST1n5_SPfcZR07iY-l9pU_-p4saUbRfO4gcEaEWrQw2rHV6K6lXx_nXGlqCYy-bAtek_pG_sG6iqc/w379-h362/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-05%201.42.35.png&quot; width=&quot;379&quot; /&gt;&lt;/a&gt;&lt;/div&gt;幅70mm以下のスプールに対応&lt;p&gt;&lt;/p&gt;&lt;p&gt;ホルダーの幅自体は74mmになり、4つ分を横に並べると、74 x 4 = 296mm&lt;/p&gt;&lt;p&gt;先程の容器の下部は小さくすぼんでいるため、&lt;/p&gt;&lt;p&gt;容器の最小サイズは下部となり、30 x 20 x 23くらい&lt;/p&gt;&lt;p&gt;30cm なら296mmでぎり入ります。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;百均の園芸支柱11mmを70mm長に切って４箇所取り付け、最上部はφ20mmのパイプを同じく70mmに切って上からはめる&lt;/p&gt;&lt;p&gt;はめるときは真ん中を少し広げないといけないので、&lt;/p&gt;&lt;p&gt;都度ホルダーごと上に抜き取る必要はありますが、&lt;/p&gt;&lt;p&gt;フィラメント４つを引き抜くよりは楽です。&lt;/p&gt;&lt;p&gt;ケースもこれ以上幅広のものを用意したくは無いので、これで決まりですかね・・・&lt;/p&gt;&lt;p&gt;あ、いやだめだ&lt;/p&gt;&lt;p&gt;スプールの真ん中がφ２０くらいのパイプならOKなんだけど、&lt;/p&gt;&lt;p&gt;それの支え部分がφ４０&lt;/p&gt;&lt;p&gt;全然だめだ・・・&lt;/p&gt;&lt;p&gt;もうちょい単純に考えてこれでいい気がしてきました&lt;/p&gt;&lt;p&gt;スプール中心にφ２０のパイプを使うのもやめます。&lt;/p&gt;&lt;p&gt;支柱部品も３Dプリントで作ってしまいます。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&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/AVvXsEiMsnRI3N21UAs70ITc7dd2kgFq_2OL3yWa957Z2uXVMSqktfuj1psBsQxG47nBsOjSnBkMO0yuiPL-_0UnI5B6tliqET1bQ-pWCzCgFmiRKSHNlaDAZPdZ3h6tvbHnk_QzIF0YaVFCJQLKBvZRDcc-KqV6xCgJLGM8QTeqoc3qWsyi5oBfubMqUlMBedY/s1146/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-05%202.49.09.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1114&quot; data-original-width=&quot;1146&quot; height=&quot;379&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMsnRI3N21UAs70ITc7dd2kgFq_2OL3yWa957Z2uXVMSqktfuj1psBsQxG47nBsOjSnBkMO0yuiPL-_0UnI5B6tliqET1bQ-pWCzCgFmiRKSHNlaDAZPdZ3h6tvbHnk_QzIF0YaVFCJQLKBvZRDcc-KqV6xCgJLGM8QTeqoc3qWsyi5oBfubMqUlMBedY/w390-h379/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-05%202.49.09.png&quot; width=&quot;390&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;text-align: left;&quot;&gt;強度とか使い勝手に関しては使ってみないとわかりません&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;追記(2026/06/06)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;やはり使ってみて改善点が出てきました&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;最終的にこの形になりそうです&lt;/div&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/AVvXsEg44T2uRk7SCZ4Qv1JuDQclnhQqgFukEQMRhHeZZSxTfuWDoms9keysDbxeBLv3f7aMszfSAtR53QRdUucxdj6MvkXTZVmm88wyinxtLV0e9QKPB_vCgn7QR9XLeeqqxtyRmXbj2kusFfAHODQLhy5TQWyK8QUt6qtNHDUxkOlbmkWRUvp7ZASsBHU2WKM/s1220/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-06%2018.28.39.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1206&quot; data-original-width=&quot;1220&quot; height=&quot;387&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg44T2uRk7SCZ4Qv1JuDQclnhQqgFukEQMRhHeZZSxTfuWDoms9keysDbxeBLv3f7aMszfSAtR53QRdUucxdj6MvkXTZVmm88wyinxtLV0e9QKPB_vCgn7QR9XLeeqqxtyRmXbj2kusFfAHODQLhy5TQWyK8QUt6qtNHDUxkOlbmkWRUvp7ZASsBHU2WKM/w392-h387/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-06%2018.28.39.png&quot; width=&quot;392&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/642483554667346702/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/642483554667346702' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/642483554667346702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/642483554667346702'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/06/blog-post.html' title='フィラメントケースを再考する'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/AVvXsEheOkT9P46e8MDKCfekUdglmQQyp5u_I8NQMesyVjJ494P3lGiR6VzY8V3dkyDz1_rlGoQ2nW1ao8-EEZfR7UD-BLsZNR-4ruPTMPAdMgRYgVvKjSST1n5_SPfcZR07iY-l9pU_-p4saUbRfO4gcEaEWrQw2rHV6K6lXx_nXGlqCYy-bAtek_pG_sG6iqc/s72-w379-h362-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-06-05%201.42.35.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-6804307110505958376</id><published>2026-06-03T11:44:23.848+09:00</published><updated>2026-06-03T15:20:47.257+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3DPrinter"/><title type='text'>Duet6HC+SBCでの3.6.3</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;３日悩んだのですが、事の発端は、ファームのアップデートでした。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;アップデート後SPIコネクションがresetされる現象が以下の様に発生&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;shine-table-wrapper&quot; style=&quot;text-decoration-color: rgb(26, 26, 26);&quot;&gt;&lt;table style=&quot;border-collapse: collapse;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;width: 200px;&quot;&gt;&lt;/col&gt;&lt;col style=&quot;width: 200px;&quot;&gt;&lt;/col&gt;&lt;col style=&quot;width: 200px;&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;2026/6/1 16:42:29&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;&lt;b&gt;Warning:&lt;/b&gt; SPI connection has been reset&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;2026/6/1 16:42:29&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;Connection to Duet established&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;2026/6/1 16:42:29&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;&lt;b&gt;Warning:&lt;/b&gt; Lost connection to Duet (Transfer timeout while waiting for TfrRdy pin)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;2026/6/1 16:25:59&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;File 0:/gcodes/Dish - PoleMiddle_PETG_6h0m.gcode selected for printing&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;2026/6/1 16:13:54&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;Finished printing file 0:/gcodes/Dish - PoleBottom_PETG_1h41m.gcode, print time was 2h 7m&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;2026/6/1 15:41:46&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border: 1px solid rgb(216, 216, 216);&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #999999;&quot;&gt;接続確立&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;まずいことに、わたしはリボンケーブルにちょっと自身がなかったのです。&lt;/p&gt;&lt;p&gt;自前で４０ピン、２８ピンのケーブルを作ったので、もしや、失敗したのかと思い、FC４０ピンソケットを購入し、つけ直しました。&lt;/p&gt;&lt;p&gt;しかし、また再現、仕方なく、もう一度つけ直しました。&lt;/p&gt;&lt;p&gt;それでも再現・・・&lt;/p&gt;&lt;p&gt;そこで、公式を見てみたのですが、&lt;/p&gt;&lt;p&gt;２２ピンであるところ、TfrRdy pinは正常に動いていることを確認しました。&lt;/p&gt;&lt;p&gt;次に、疑ったのはファームです。&lt;/p&gt;&lt;p&gt;SBC（RaspberryPi4)には、source.listにunstableの設定が書かれていました。&lt;/p&gt;&lt;p&gt;stableにして、ダウングレード手順に従ってダウングレードしました。&lt;/p&gt;&lt;p&gt;そしたら、嘘のように安定しました。&lt;/p&gt;&lt;p&gt;いやぁ・・・新しいからいいわけではないですね&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/6804307110505958376/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/6804307110505958376' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/6804307110505958376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/6804307110505958376'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/06/duet6hcsbc363.html' title='Duet6HC+SBCでの3.6.3'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-7384289175375792439</id><published>2026-05-27T18:44:14.063+09:00</published><updated>2026-05-27T18:44:25.196+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><title type='text'>GoogleFitがなくなるというので</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;p&gt;記録先はログインしたGoogleアカウントのドライブ上にJSONで記録する&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;542&#39; height=&#39;450&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dzkjs4UY11LigRXE1y9MpIPBww_leSRk3eI8KoFVIk5DwY567yjoEHqDqG7TOxXaSgxK4sEyAJepk-_0OjkmQ&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/7384289175375792439/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/7384289175375792439' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/7384289175375792439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/7384289175375792439'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/05/googlefit_01789273478.html' title='GoogleFitがなくなるというので'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-5092282392443763052</id><published>2026-05-09T20:47:00.001+09:00</published><updated>2026-05-09T20:47:09.787+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><title type='text'>GoogleFitへ食べたものを登録できるアプリを作っている</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;p&gt;GoogleFitと同期できる&lt;/p&gt;&lt;p&gt;言語はGo&lt;/p&gt;&lt;p&gt;フレームワークはFiber&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&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/a/AVvXsEjFJF6WF6SFi6c1VI-9pEVwMerERtiv1qb7UD3spERNYfN_QQu8_9VhbMRK4S3cBGw1QkURWyVVbWMaE4uLUQiXOzmzFHMJvPab-KsWL9Khrm-K92etO-qGxy8OTgfGdBn9VWKhQU-FZO_mdWqbIo88kou30x1b96eaFJj1LSjtTTWGDapktSXMJeusEBY&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;2522&quot; data-original-width=&quot;2816&quot; height=&quot;409&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjFJF6WF6SFi6c1VI-9pEVwMerERtiv1qb7UD3spERNYfN_QQu8_9VhbMRK4S3cBGw1QkURWyVVbWMaE4uLUQiXOzmzFHMJvPab-KsWL9Khrm-K92etO-qGxy8OTgfGdBn9VWKhQU-FZO_mdWqbIo88kou30x1b96eaFJj1LSjtTTWGDapktSXMJeusEBY=w457-h409&quot; width=&quot;457&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;iPhoneのGoogleFitアプリでの表示はこんな感じ&lt;/p&gt;&lt;p&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/a/AVvXsEi7xI4DcBzAUouPWNulluRCKU5ljUHVgQJJyZDaweotQlH2uZGLgf6sV7qaW7WNWe7Zc5pMDRta7WFRvroBmciWn7teDweupWNDFCS8nMj04s899OrNTV9ngOg21kEvxAWNK372Z8IkAcsQN_Jj9Kk5LzLMaA2Wpo1YvfcLBiDQiEs62Y_Q5ZzIp4WYqxE&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;2601&quot; data-original-width=&quot;1200&quot; height=&quot;617&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi7xI4DcBzAUouPWNulluRCKU5ljUHVgQJJyZDaweotQlH2uZGLgf6sV7qaW7WNWe7Zc5pMDRta7WFRvroBmciWn7teDweupWNDFCS8nMj04s899OrNTV9ngOg21kEvxAWNK372Z8IkAcsQN_Jj9Kk5LzLMaA2Wpo1YvfcLBiDQiEs62Y_Q5ZzIp4WYqxE=w285-h617&quot; width=&quot;285&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/5092282392443763052/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/5092282392443763052' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/5092282392443763052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/5092282392443763052'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/05/googlefit.html' title='GoogleFitへ食べたものを登録できるアプリを作っている'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/a/AVvXsEjFJF6WF6SFi6c1VI-9pEVwMerERtiv1qb7UD3spERNYfN_QQu8_9VhbMRK4S3cBGw1QkURWyVVbWMaE4uLUQiXOzmzFHMJvPab-KsWL9Khrm-K92etO-qGxy8OTgfGdBn9VWKhQU-FZO_mdWqbIo88kou30x1b96eaFJj1LSjtTTWGDapktSXMJeusEBY=s72-w457-h409-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-9036338944830330865</id><published>2026-04-03T21:34:00.007+09:00</published><updated>2026-04-03T21:34:54.244+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>MacBookNeoが来ました</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;ようやくMacbookNeoが届きました。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;色はシトラスです。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;iPhoneのCPUの方がインテルMacよりはやいなんて・・・&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;わかりやすい例としてちょっと重い処理をやってみました。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;こちらのJSで実装したLispで描いたマンデルブロ集合は、&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;インテル入ってる初代MacBookProより断然速く描画が完了します。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.yachiyo.tech/tool/JSLisp/&quot;&gt;https://www.yachiyo.tech/tool/JSLisp/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;インテルCPUが、スマホのCPUに、速度でも電力効率でも負けるなんて、&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;アップルは本当にとんでも無いことをやっていると思います。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;数時間使いっぱなしなんですけど、全然バッテリーが減りません。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;一体どうなってるんでしょうか&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&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/a/AVvXsEibap2bwjdb-Q6nC8R2ba116q03XgIfy94DAeemtPpXFozgIcPkfotLHWhrfBg9gSoRrgqYDLqz30tc4GBmBvmBClOCBAXvu1FYj83qD2BPOs7S2g28cwrJFSQMPvaNgaIjL4GBAlSxDlTi4ckRm7ifUY_GoBhdC0uKi6A3t8BTyhfA6BlrGoGABp9tbKU&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1024&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEibap2bwjdb-Q6nC8R2ba116q03XgIfy94DAeemtPpXFozgIcPkfotLHWhrfBg9gSoRrgqYDLqz30tc4GBmBvmBClOCBAXvu1FYj83qD2BPOs7S2g28cwrJFSQMPvaNgaIjL4GBAlSxDlTi4ckRm7ifUY_GoBhdC0uKi6A3t8BTyhfA6BlrGoGABp9tbKU&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&amp;nbsp;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/9036338944830330865/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/9036338944830330865' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/9036338944830330865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/9036338944830330865'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/04/macbookneo.html' title='MacBookNeoが来ました'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/a/AVvXsEibap2bwjdb-Q6nC8R2ba116q03XgIfy94DAeemtPpXFozgIcPkfotLHWhrfBg9gSoRrgqYDLqz30tc4GBmBvmBClOCBAXvu1FYj83qD2BPOs7S2g28cwrJFSQMPvaNgaIjL4GBAlSxDlTi4ckRm7ifUY_GoBhdC0uKi6A3t8BTyhfA6BlrGoGABp9tbKU=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-1141943087663744072</id><published>2026-03-10T20:21:00.003+09:00</published><updated>2026-03-10T20:21:25.655+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>さようならEvernote</title><content type='html'>&lt;p&gt;&amp;nbsp;EvernoteからUpNoteへの引っ越し完了&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Evernoteは2009年から使っていました&lt;/p&gt;&lt;p&gt;しかし、わたしの場合このまま使うと4月に$249.99/yearを、請求されるらしいです&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;あり得んでしょ？&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;実は自前で作っているシステムに引っ越しさせようかとも思いましたが&lt;/p&gt;&lt;p&gt;今回は間に合わず、仕方なくUpNoteに引っ越ししました&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Evernoteからのエクスポートには、evernote/backup.exeを使って、コマンドラインからバックアップしましたが、バックアップ前に、Evernoteのメモを作成日ごとに切り分けておきました&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;一つのenexが1Gを超えるとUpNoteでインポートできません&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;ちなみにこちらのツールです&lt;/p&gt;&lt;p&gt;https://github.com/vzhd1701/evernote-backup&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;UpNoteに引っ越してわかりましたが、使い勝手はこちらの方が上です&lt;/p&gt;&lt;p&gt;買い切りで六千円なら買いますよ&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;さようならEvernote&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/1141943087663744072/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/1141943087663744072' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/1141943087663744072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/1141943087663744072'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/03/evernote.html' title='さようならEvernote'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-4038287678770623099</id><published>2026-03-05T07:34:00.003+09:00</published><updated>2026-03-05T07:34:23.498+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>2026年の増税をAIにまとめさせた結果</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp;&lt;span style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); font-weight: bold;&quot;&gt;現時点で判明している、2026年以降に実施される「増税」および「実質的な負担増（社会保険料引き上げ等）」をすべて網羅してプレインなテキストでまとめます。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;たばこ・酒（嗜好品）&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 加熱式たばこ増税（2026年4月・10月）：紙巻きたばことの税率格差解消のため2段階で実施。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 紙巻きたばこ・加熱式共通増税（2027年〜2029年 各4月）：1本0.5円（1箱10円）ずつ、3年連続で段階的に引き上げ。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 第3のビール・発泡酒増税（2026年10月）：ビールとの税率一本化に伴い、安価なビール系飲料が値上がり。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• チューハイ・サワー・果実酒増税（2026年10月）：これらもビール系とのバランス調整により税率が引き上げ。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;防衛財源（防衛増税）&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 法人税付加税（2026年4月以降）：法人税額に4%を上乗せ。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 所得税付加税（2027年1月〜）：所得税額に1%を上乗せ。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 復興特別所得税の期間延長（2027年1月〜）：税率は下がるが、支払い期間が最長13年程度延長され、生涯の負担総額が増加。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;子育て・社会保障（保険料上乗せ等）&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 子ども・子育て支援金（2026年4月〜）：医療保険料に上乗せして全員から徴収。実質的な「子育て税」とも呼ばれる。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 高校生の扶養控除縮小（2026年度〜）：16〜18歳の扶養控除が38万円から25万円に削減。児童手当支給との引き換えですが、高所得層を中心に実質増税。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 介護保険料の引き上げ（2026年度〜）：高齢化に伴い、40歳以上が支払う介護保険料の基準額が全国的に改定・上昇。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;その他・検討中の項目&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 森林環境税（継続中）：2024年から開始された年1,000円の国税（住民税に加算）が引き続き継続。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 国際観光旅客税（出国税）の増税（検討中）：出国時の1,000円を3,000円に引き上げる案が議論されています。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• 国民年金保険料の納付期間延長（検討中）：納付期間を40年から45年に延長する案があり、実現すれば5年分（約100万円）の負担増。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;• インボイス制度の経過措置終了（2026年10月〜）：免税事業者からの仕入れ税額控除80%特例が終了。納税負担がさらに増加。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-kerning: none; font-weight: bold;&quot;&gt;2026年は特に「子ども・子育て支援金」の徴収開始と「酒・たばこ」のダブル増税が家計に直結する大きな変化となります。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;


















&lt;div&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/4038287678770623099/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/4038287678770623099' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/4038287678770623099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/4038287678770623099'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/03/2026ai.html' title='2026年の増税をAIにまとめさせた結果'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-4059696278305641569</id><published>2026-02-18T21:48:00.003+09:00</published><updated>2026-02-18T21:48:45.535+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'>政治と経済の無相関性：歴史的視点からの考察</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); font-family: TimesNewRomanPS-BoldMT; font-weight: bold;&quot;&gt;これまでの主要な経済事象を振り返ると、政治が経済に与える影響は極めて限定的、あるいは皆無であることがわかります。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;• 高度経済成長（イザナギ景気）&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;戦後ゼロからの再出発において、成長は必然的な流れでした。これは社会構造の復興によるものであり、政治の功績ではありません。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;• バブル崩壊&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;市場の過熱とその終焉は経済サイクルの一環であり、政治的コントロールの枠外で発生しました。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;• 震災と民主党政権&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;福島第一原発事故や東日本大震災という未曾有の国難、そして「悪夢」と評された政権下においても、株価は停滞しつつも極端な反応を示さず平行線を辿りました。この事実は、政権交代や重大な政治事象が市場の本質を動かさない証左です。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;• アベノミクスによる30年の停滞&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;多種多様な政策が打たれましたが、結果として待っていたのは「失われた30年」の継続でした。金利操作の限界から外国人投資家の反応も限定的であり、株価の上下動はあったものの、実体経済と政治施策に直接的な因果関係は見出せません。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;• サナエノミクスと現状&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;金利上昇による住宅ローンへの打撃や、1300兆円を超える国債赤字が露呈しています。かつて技術的コアコンピタンスを誇った企業の低迷を見れば、政治主導の技術投資も無意味であることは明白です。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;結論&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;以上の歴史的事実から導き出される結論は一つです。政治は経済に対して実質的な影響力を持っていません。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;「経済対策」と銘打たれた数々の政策が、実際の経済動向に寄与した例は皆無であり、経済は政治とは切り離された独自の原理で動いています。&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/4059696278305641569/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/4059696278305641569' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/4059696278305641569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/4059696278305641569'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/02/blog-post_18.html' title='政治と経済の無相関性：歴史的視点からの考察'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-1469980090738574948</id><published>2026-02-11T10:42:00.001+09:00</published><updated>2026-02-11T10:42:06.244+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日々の暮らし"/><title type='text'> 【考察】異世界転生ブームの構造：ドラクエを共通言語とした救済</title><content type='html'>&lt;p&gt;&lt;span style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); font-family: TimesNewRomanPS-BoldMT;&quot;&gt;1. 宗教的機能の代替&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;現代の異世界転生作品は、かつての宗教が担っていた「現世の苦難からの解放」という役割を引き継いでいる。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;• 救済の構図: 現実での挫折や閉塞感を、死（転生）を境界線としてリセットする。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;• 報酬: 努力の積み重ねではなく、転生時に付与される「能力（チート）」によって即座に成功と承認を得る。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;2. 信仰対象の不在と派閥&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;この現象には、特定の神や教祖が存在しない。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;• 信仰ではなく共有: 読者は特定の対象を拝んでいるのではなく、提示された「都合の良い設定」を各自で利用している。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;• 派閥の性質: 「悪役令嬢」「追放」などのジャンル（派閥）は、個人の好みの違いであり、教義の対立ではない。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;3. 土台としての「ドラゴンクエスト」&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;作品群の根底には、ドラゴンクエスト（JRPG）が定着させたルールが共通基盤として存在する。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;• 共通ルールの利用: ステータス、レベル、魔法、魔王、ギルドといった要素は、説明不要の「周知の事実」として扱われる。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px 0px 0px 30.1px; text-indent: -30.1px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;• 効率化: 世界観の説明を省略し、読者が最も求める「成功体験」の部分に物語を集中させることを可能にしている。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;結論&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-webkit-text-stroke-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; font-width: normal; line-height: normal; margin: 0px;&quot;&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none;&quot;&gt;異世界転生ブームとは、宗教に代わり、ドラクエ的な共通ルールを道具として用いることで、誰もが手軽に「自分が報われる物語」を消費できる救済の仕組みである。&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: TimesNewRomanPS-BoldMT; font-kerning: none; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/1469980090738574948/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/1469980090738574948' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/1469980090738574948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/1469980090738574948'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/02/blog-post.html' title=' 【考察】異世界転生ブームの構造：ドラクエを共通言語とした救済'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-1718202976327061513</id><published>2026-01-17T15:25:00.002+09:00</published><updated>2026-01-17T15:25:12.956+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><title type='text'></title><content type='html'>&lt;p&gt;&amp;nbsp;JSで作ったLISPライク言語&lt;/p&gt;&lt;p&gt;実は少しバージョンアップして、Switch-CaseやFillRectのみですが描画命令を持たせました&lt;/p&gt;&lt;p&gt;これにより、マンデルブロを描画できるようにしてみました。&lt;/p&gt;&lt;p&gt;是非ご観覧ください&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.yachiyo.tech/tool/JSLisp/&quot;&gt;https://www.yachiyo.tech/tool/JSLisp/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/ChaosReadman/JSLisp&quot;&gt;https://github.com/ChaosReadman/JSLisp&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&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/a/AVvXsEjVHZtXeCV-U3Zht5X9GekZ9GHJbWrkT3Ca7agLwQPjPdNJ2LZdbIuH0-DML_ww61o5bLKjfOjuy8S-MtwEi9tM00yaGra4UojlKNRKZdUikqrokunN6WmcUkqeS7QSohSzJYnyBNvyYIsxlXr7cc4jsNsDMdzdFmC68d5PiS-5KXGUfZaDZ8b27nAhp1A&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;747&quot; data-original-width=&quot;793&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjVHZtXeCV-U3Zht5X9GekZ9GHJbWrkT3Ca7agLwQPjPdNJ2LZdbIuH0-DML_ww61o5bLKjfOjuy8S-MtwEi9tM00yaGra4UojlKNRKZdUikqrokunN6WmcUkqeS7QSohSzJYnyBNvyYIsxlXr7cc4jsNsDMdzdFmC68d5PiS-5KXGUfZaDZ8b27nAhp1A&quot; width=&quot;255&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/1718202976327061513/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/1718202976327061513' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/1718202976327061513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/1718202976327061513'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/01/switch-casefillrect-httpswww.html' title=''/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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/a/AVvXsEjVHZtXeCV-U3Zht5X9GekZ9GHJbWrkT3Ca7agLwQPjPdNJ2LZdbIuH0-DML_ww61o5bLKjfOjuy8S-MtwEi9tM00yaGra4UojlKNRKZdUikqrokunN6WmcUkqeS7QSohSzJYnyBNvyYIsxlXr7cc4jsNsDMdzdFmC68d5PiS-5KXGUfZaDZ8b27nAhp1A=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-3477237387655305695</id><published>2026-01-04T14:34:00.006+09:00</published><updated>2026-01-04T14:34:49.302+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><title type='text'>独自WEBフレームワークAlbion</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;a href=&quot;https://github.com/ChaosReadman/Albion&quot;&gt;https://github.com/ChaosReadman/Albion&lt;/a&gt;&lt;/p&gt;&lt;p&gt;XQueryの完全実装をやめ、必要な機能のみ実装&lt;/p&gt;&lt;p&gt;どこがどう違うのか、開発哲学もREADMEに記述&lt;/p&gt;&lt;p&gt;XQueryに存在しない更新系クエリも実装&lt;/p&gt;&lt;p&gt;もはやwiki、レシピサイト、ブログなども作ることができますが、まだ脆弱性に関する設計を置き去りにしていますので、現状のまま使わないでくださいね&lt;/p&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://chaosreadman.blogspot.com/feeds/3477237387655305695/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/3477237387655305695' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/3477237387655305695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/3477237387655305695'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/01/webalbion.html' title='独自WEBフレームワークAlbion'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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-4996113778417992490.post-6955339663075809459</id><published>2026-01-04T02:16:00.002+09:00</published><updated>2026-01-04T02:16:16.471+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><title type='text'>独自WEBフレームワーク（FUSEやめました）</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;FUSEを使うのをやめたらめちゃくちゃ早くなりました。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;2秒ちょいかかっていたのが、0.5秒かからなくなりました。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;これなら実用速度です。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;double, int, stringへのキャストにも対応しましたので&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;以下のような書き方もできます。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;background-color: #313131; color: #569cd6; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;where&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-type&quot; style=&quot;background-color: #313131; color: #4ec9b0; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;xs:double&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hljs-variable&quot; style=&quot;background-color: #313131; color: #bd63c5; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;$book&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/@price) &amp;gt;= &lt;/span&gt;&lt;span class=&quot;hljs-number&quot; style=&quot;background-color: #313131; color: #b8d7a3; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;10.5&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;background-color: #313131; color: #569cd6; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;order&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;background-color: #313131; color: #569cd6; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;by&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-type&quot; style=&quot;background-color: #313131; color: #4ec9b0; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;xs:int&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hljs-variable&quot; style=&quot;background-color: #313131; color: #bd63c5; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;$book&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/@price)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;background-color: #313131; color: #569cd6; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;order&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;background-color: #313131; color: #569cd6; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;by&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hljs-type&quot; style=&quot;background-color: #313131; color: #4ec9b0; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;xs:string&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hljs-variable&quot; style=&quot;background-color: #313131; color: #bd63c5; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;$book&lt;/span&gt;&lt;span style=&quot;background-color: #313131; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/@price)&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;563&quot; src=&quot;https://www.youtube.com/embed/T6rS8_iYUGY&quot; width=&quot;677&quot; youtube-src-id=&quot;T6rS8_iYUGY&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://chaosreadman.blogspot.com/feeds/6955339663075809459/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/6955339663075809459' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/6955339663075809459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/6955339663075809459'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/01/webfuse.html' title='独自WEBフレームワーク（FUSEやめました）'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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://img.youtube.com/vi/T6rS8_iYUGY/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4996113778417992490.post-7602214127298714799</id><published>2026-01-03T23:16:00.005+09:00</published><updated>2026-01-03T23:16:46.723+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="プログラムネタ"/><title type='text'>独自WEBフレームワーク</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;再び独自フレームワークを作り始めています。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;あるアイデアのもと、Fuseを使い、XML Dataをファイルとフォルダ構造で置き換えています。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;そしてSwiftによってResftfulAPIを作り、&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;リクエスト先にquery.xqyを配置&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;リクエストが来た時にquery.swiftを作成し、コンパイルし、実行します。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;二回目からのリクエストでは、実行ファイルができている状態なので、コンパイル等の時間はかかりません。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;デモでは食品データベース（２４７７種類）を使用しています。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;553&quot; src=&quot;https://www.youtube.com/embed/bYruhN-dD3M&quot; width=&quot;667&quot; youtube-src-id=&quot;bYruhN-dD3M&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&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://chaosreadman.blogspot.com/feeds/7602214127298714799/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4996113778417992490/7602214127298714799' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/7602214127298714799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4996113778417992490/posts/default/7602214127298714799'/><link rel='alternate' type='text/html' href='http://chaosreadman.blogspot.com/2026/01/web.html' title='独自WEBフレームワーク'/><author><name>ChaosReadman</name><uri>http://www.blogger.com/profile/14805844394297727205</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://img.youtube.com/vi/bYruhN-dD3M/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>