2025,江端さんの忘備録

私、学生の頃から、各種の制御技術について学んできて、色々試してきました。

Since I was a student, I have been learning about various control technologies and have tried many things.

大学で、ロボットの研究をやっていたからです。

I was researching robots at university.

現代制御理論、PID制御、ファジィ制御、などです(最近の制御のトレンドは知りません)。

Modern control theory, PID control, fuzzy control, etc. (I don't know about recent control trends).

実は、この「制御技術」というのは、「予測技術」と表裏一体の関係にあります。

This “control technology” is inextricably linked to “forecasting technology.

"未来"に起こるであろうふるまいを「予測」して、"今"その対策を打つのが「制御」です。

Control” is to ‘predict’ the behavior that will occur in the ‘future’ and take measures to deal with it ”now.

まあ、考えてみれば、制御とは「工学」の世界の話だけではなく、世の中のすべてのものが「予測と制御」の対象であるといっても過言ではありません。

Well, if you think about it, it is no exaggeration to say that control is not only about the world of “engineering” but everything in the world is subject to “prediction and control.

地震に対する避難対策、感染症の蔓延に対する防疫措置、財政対策、金融政策、少子化対策──これらはすべて「予測と制御」です。

Evacuation measures against earthquakes, quarantine measures against the spread of infectious diseases, fiscal measures, monetary policy, and birthrate reduction measures are all “forecasting and control.”

ただ、多くの場合、この「予測と制御」は上手く噛み合いません。一言で言えば、「難しい」。

However, in many cases, these “prediction and control” do not mesh well. In a word, it is difficult.

ロボットアームの制御も難しいですが、それでも機械の制御は、パラメータが有限数なので、時間をかけて力ずくでチューニングすれば良く、簡単に検証実験ができます。

Controlling a robot arm is also tricky, but even so, machine control has a finite number of parameters so that it can be tuned by force over time, and easily verified experiments can be performed.

比して、少子化対策は、パラメータの数が不明です。時定数も恐ろしく長い(10〜20年以上)。チューニングしようにも、どこに手を入れれば良いのか分からない上に、検証実験ができるわけでもありません。さらに糞面倒くさいことに、そのパラメータの一つに「人間」が入っている、ということです。

In contrast, the number of parameters for fertility reduction is unknown. The time constant is also terribly long (10-20 years or more). Even if you want to tune it, you don't know where to put your hands, and there is no way to conduct verification experiments. Even more annoying is that one of the parameters is “human.”

ところが、この超絶に難しい少子化対策のパラメータは、つまるところ2つだけです。「金」と「法律」です。

However, there are only two parameters for this strict fertility reduction policy: money and law. Money and law.

「金」は、試す方法が「たくさん」にできる、という効果があります。数を打てば当たることがあります。また「補助金」という形で、出産・育児を支援するという手段になりえます。

The “gold” has the effect of allowing “lots” of ways to try. If you hit a few, you may hit the right one. It can also be a means of supporting childbirth and childcare in the form of “subsidies.

「法律」とは命令です。仮説ですが、「結婚すれば納税(消費税を含む)を半分にする。出産すれば、さらに半分にする」という法律が成立すれば、かなり簡単に解決すると思います。

The “law” is an order. Hypothetically, if a law were passed that said, “If you get married, you pay half your taxes (including sales tax). If a law were passed that said, “If you marry, you pay half your taxes (including sales tax), and if you give birth, you pay half more,” it would be a fairly easy solution.

ただし、我が国の財政が成り立つかどうか分かりませんし、そもそもこれは「法の下の平等」という法治国家の理念を踏み躙る法律になります。

However, I do not know if our country's finances are viable, and in the first place, this would be a law that violates the principle of “equality before the law” and the rule of law.

(台湾で『独身税』の導入の真偽をめぐって、国会で大暴動が起きたことを思い出しています)

(I am reminded of the massive riot in the National Assembly over the authenticity of introducing the “bachelor tax” in Taiwan.)

予算案の審議で、「内容を精査する」と、野党議員がたびたび発言していますが、私はいまだかつて「精査した結果の報告書」なるものを一度も見たことがありません。

During deliberations on budget proposals, opposition party members often say that they will “scrutinize the contents,” but I have never seen a “report of the scrutiny results.

「金をかけて、場当たりでやってみる」というのが、現実解でしょう。

The real solution would be to “spend the money and try it ad hoc.”

もし、本当に「内容を精査する」なら、1年分の予算の審議に10年の時間が必要となることは、――制御(もやらされてきた)エンジニアとして、私が断言します。

If we really “scrutinize the content,” I can assure you that it would take 10 years to deliberate on a year's worth of budget - and as an engineer who has been in control (and has also been made to do so), I can assure you that it would take 10 years to do so.

「金をかける」というのは、「"当たり"を引く確率を高める」ということ以上の意味はありません。

Spending money” means nothing more than ”increasing the probability of winning.

ぶっちゃけ、私に関しては、少子化問題について「出生率を上げる」という"制御"については、諦めています。

As far as I am concerned, I have given up trying to “control” the declining birth rate.

むしろ、半分になった人口でサービス品質を落とさない、日本というプラットフォームの設計に力を注いだ方が、費用対効果は高いと信じています。

Instead, we believe it would be more cost-effective to focus on designing a platform for Japan that does not compromise service quality with a population cut in half.

2025,江端さんの忘備録

先日、出張帰りの品川駅、横須賀線ホームへの入口の階段のところで、人が集っていました。

On my way home from a business trip the other day, people gathered at Shinagawa Station, at the entrance stairs to the Yokosuka Line platform.

何事かと思って覗いてみると、

I peeked in to see what was going on,

―― 階段に真っ逆さまになって、倒れている男性

"I looked over to see what was going on -- a man lying face down on the stairs."

倒れている男性の横には、吐瀉物と、その人のものと思われるスマホが落ちていました。

The man was lying on the ground, with vomit and a phone that appeared to belong to him on the ground next.

頭を下にして落ちている男性は、ピクリとも動かず、階段の真ん中で留まっていました。

The man falling with his head down did not twitch and stayed in the middle of the stairs.

体は全く動かず、声もなく、頭を下にして、俯せた状態のまま停止していました。

The man's body was completely motionless and without voice, and he had stopped, head down, in a prone position.

・・・えっと、この場合、何すればよかったんだっけ?

...Well, what was I supposed to do in this case?

と、私は、完全に思考停止してしまいました。

And I stopped thinking altogether.

そこに走り込んできた駅員さんのペア(男性と女性)がやってきたのを見て、ようやく我に返りました。

I finally came to my senses when I saw two station staff members (a man and a woman) come running in.

私は、その倒れている男性の横を通って、ホームに降りました。

I walked past the prone man and stepped down onto the platform.

-----

私、こういう状態の時になったら「救助支援をするように訓練されている」と思っていたのですが、それは思い違いだったようです。

I thought I was “trained to provide rescue assistance” in situations like this, but I was mistaken.

階段の真ん中で、真っ逆さまの状態で、意識不明のまま倒れて完全停止している人間は、はっきり言って「怖かった」。

The person falling unconscious and coming to a complete stop in the middle of a staircase headlong was “scary,” to say the least.

その男性を助ける手段が、1mmも思いつきませんでした。

I could not think of a single mm of means to help the man.

まず、どう動かせばいいのか。下手すれば階段を滑落していく可能性もありました。その男性はガタイが大きくて、仰向けにする方法のイメージもわきません。下手に動かして、状況を悪くするのではないかとも思っていました。

First of all, how could I move him? If I was not careful, I could slide down the stairs. The man was large, and I could not imagine turning him on his back. I also thought I might worsen the situation by moving him badly.

正直に言えば、「あ、もう、これダメだな(死んでいるな)」という感じでした(もちろん、これは主観であって、意識不明になっていただけだったかもしれませんが)

I was like, “Oh, my God, this is no good (He is dead).” (of course, this is subjective, and I may have just been unconscious).

駅員さんが、倒れている男性に何か話かけていたようですが、『意識なし!』という言葉が聞こえてきました。しばらくしたら、多くの駅員さんが男性の倒れた付近をブルーシートで、囲んでいました。

The station attendant was talking something to the collapsed man, and I heard the words, 'He is unconscious! After a while, many station staff members surrounded the area where the man had collapsed with blue sheets.

-----

私はふだんから、「他人のことは、ほっとけ」と言い続けています。

I have always said, “Leave other people alone.

今回の件で、自分は「救助支援を必要とする人」すらも「他人」として括っていたのだと気づかされました。まあ、それで自己嫌悪に陥るようなことは、特にありませんが。

This incident made me realize that I had been lumping even “people who need rescue assistance” as “others. Well, there is nothing in particular that makes me feel self-loathing.

「他人のことは、ほっとけ」とは、つまり「自分のことも、ほっとかれる」ということですから。

Because “leave others alone” means that “others will leave me alone," too.

私は、今の時代に必要なのは「積極的無関心」ではないかと思うのです ―― つまり、『人のことはほっとけ。自分のことだけやっとけ』です。

未分類

なるほど、なるほど、 ―― 「侍タイムスリッパー」を見た感想です。

Amazon Primeに、昨日から来ているのを見ました。

多分、ここから始まる地獄の半年の最後の休憩時間と考えて、部屋の暗くして、嫁さんと二人でリビングのテレビでソファーで観賞しました。

-----

今、宣伝用のページを見ているのですけど、『ああ、ここには書かれていないんだ』と分かりました。

私の記憶している限り、2回、驚かされるストーリー展開(転換)があります(ネタバレになるので書きませんが)。

自信をもって、お勧めできる映画です。

少なくとも、単なる「笑い」の映画ではなく、私には、本当に、真剣に、真面目に、『良い映画』でした。

2025,江端さんの忘備録

昔、「100W電球」というのが普通に使われていました。

In the past, “100W bulbs” were commonly used.

今は、ほとんどLED電球に替わって、同じ程度の光量に対して、消費電力はざっくり1/5程度(20W)程度です。

Most of them have been replaced by LED bulbs, which consume roughly 1/5 of the power (20W) for the same amount of light.

比して、ラズパイ(Raspberry Pi 4 Model B)の消費電力は、5.5~7Wくらいです。

In comparison, the power consumption of Raspberry Pi (Raspberry Pi 4 Model B) is about 5.5 to 7W.

-----

先日の出張で、工場の実験システムで、このラズパイ1台で、4つのリアルタイム映像の転送ができることを確認してきました。

On a recent business trip, I confirmed that a single Raspi can transfer four real-time video images in an experimental system at a factory.

また、ラズパイを使って2万人が同時に動くマルチエージェントシミュレータのデータベースを動かしています。

We also use Raspi to run a multi-agent simulator database with 20,000 people running simultaneously.

コストパフォーマンスから鑑みて、

Given cost performance,

―― コンピュータ(というか半導体)って、凄いなぁ

"Computers (or semiconductors) are awesome!"

と実感しています。

I realize that this is not the case.

------

以前、この抜群のコストパフォーマンスであるはずのコンピュータの消費電力が、生成AIによって「爆上がりする将来」の話をしました。

I have previously talked about a future in which the power consumption of computers, which are supposed to be outstandingly cost-effective, will “explode” due to generative AI.

―― 生成AIの登場が、これまでの私の仮説を、次から次へとひっくり返しに来ているなぁ

生成AIが使用する電力が、いかに凄まじいものであるかが、分かろうというものです。

This is a good indication of the tremendous amount of electricity used by generative AI.

-----

などと考えていて、ふと気がついたのですが、

I was thinking about this, and it occurred to me that,

―― もしかしたら人間の知的能力(ChatGPTに相当する能力)というのも、電力量の単位で置き換えられるかもしれない

"Perhaps human intellectual capacity (equivalent to ChatGPT) could also be replaced by units of electricity."

電力の単位は、カロリーの単位に、置き換え可能です。

Units of calories can replace units of electric power.

例えば、

For example,

100W の電力を1時間(3600秒)使用した場合のカロリー量は、

The amount of calories for one hour (3600 seconds) of 100 W of power is the following.

Ecal=100×36004.184860,420 calE_{\text{cal}} = \frac{100 \times 3600}{4.184} \approx 860,420 \text{ cal}

これは、ざっくり、860 kcal は 約1時間半のランニング(10 km/h) や 約3時間のウォーキング(5 km/h) に相当します。これは、一般的な成人が1日に消費するカロリーの約1/3~1/2に匹敵する運動量です。

Roughly, 860 kcal is equivalent to about 1.5 hours of running (10 km/h) or 3 hours of walking (5 km/h). This is equivalent to about 1/3 to 1/2 of the calories a typical adult burns daily.

と、ここまでは、よく使われてきた「運動量とカロリーと体重の関係」を説明する話です。

So far, we have discussed the commonly used “relationship between physical activity, calories, and body weight.”

-----

しかし、ここからが違う。

But here's the difference.

これからは、ChatGPTの作ったレポート(とその電力量)、私が作ったレポートを教授とか上司が比較して、数値でジャッジする時代がくる。

The time will come when the reports made by ChatGPT (and their power) and my reports will be compared by professors or supervisors and judged by the numbers.

『うん、江端のこのレポートは、"10ワット"くらいだな』

"Yeah, this Ebata's report is likely to “10 watts."

という世界の出現です。

Such is the emergence of the world.

嫌な世界です。

It is a disgusting world.

そして、この世界の最も嫌なところは、「頭脳を使っている人は、エネルギー消費が激しい」という考え方から派生する、「太っている人間は、頭を使っていない」という間違った認識への誘導、がありえるということです。

The most disgusting part of this world is that there can be an induction, derived from the idea that “people who use their brains use more energy,” into the false perception that “fat people don't use their brains.”

いや、正確にいうと、私は、これが「間違っている」という論理的根拠を持っている訳でありません。もしかしたら『科学的に正しい』という可能性も否定できません。

No, to be precise, I do not have any logical basis for saying this is 'wrong.' I cannot deny the possibility that it may be 'scientifically correct.'

あんまり考えたことはなかったのですが、今考えてみると、テレビに出てくる科学者や経営者や、ノーベル賞の受賞式などに登場する人物で『この人、すごく太っているなぁ』と思った人の記憶がありません。

I never really thought about it, but now that I think about it, I can't remember any scientist or businessman on TV or at Nobel Prize ceremonies who thought, 'This person is so fat.

-----

ともあれ、私は、今の段階で、誰かが「知的運動量と体重」の関係を言い出す可能性について、警告を出しておきたいと思います。

Anyway, at this stage, I would like to warn you about the possibility of someone saying there is a relationship between “intelligent physical activity and weight.”

「ただの運動量と体重」で止めておきましょう。それ以上やっても、誰も幸せになりませんから。

Let's stop at “just physical activity and weight.” No one will be happy if you go any further than that.

自分の頭脳の運動量まで定量化されては、人生、やってられません。

I can't live my life if I have to quantify the amount of exercise my brain does.

-----

ただ、私の場合、論文執筆の後とか、ハードなプログラミングの直後とかには、確かに体重落ちているんですよ。

But in my case, I certainly lose weight after writing a paper or right after complex programming.

酷い時には2kgぐらい減っていて、ゾッとすることがあります。

In the worst cases, I have lost about 2 kg, which can be horrifying.

あと、メンタル面がやられている時も、体重落ちます。こっちは、もうびっくりするほどの勢いで痩せていきます。

Also, I lose weight when my mental health is hit. I lose weight at an alarming rate.

-----

最近、2つのプロジェクトのプログラムの問題点が解決しました。

Recently, I have resolved program issues with two of my projects.

1つは、半年くらい悩んでいたバグだったので、これを見つけた時は、本当にホッとしました。

One was a bug I had been struggling with for about six months, so I was relieved when I found this.

もう一つは、前述の「4つのリアルタイム映像の転送を確認」です。

The other is those above “confirm four real-time video transfers.

今の私は、(人間ドッグ時の基準体重より)2kg太っています。

I am now 2 kg overweight (from the standard weight at the time of the physical exam).

未分類

「その着せ替え人形は恋をする」を読了して、コスプレという文化と技術とコスプレに傾倒する人たちの熱意とかを知ることができました。このようにコミックによって、サブカルそのものを理解できなくても、サブカルを『分かったような気にはなれる』と思いました。
サブカルに限らず、このような表現文化に関するマンガ、その他のメディアについて、ピックアックして頂き、その文化と技術と傾倒する人たちの熱意について、一覧で纒めて頂きたいです。

承知しました。以下に、先ほどの表現文化系に加えて「スポーツ」を描いたマンガを含めた一覧をアップデートしました。野球・サッカーはそれぞれ1作品のみに絞り、あまり知られていない競技(相撲・アーチェリー・スケートなど)を中心にピックアップしています。


表現文化・スポーツを描いたマンガ・メディア一覧

(文化・技術・情熱に注目)

作品名 扱っている文化/競技 技術的要素 登場人物たちの熱意・姿勢
その着せ替え人形は恋をする コスプレ、衣装制作 裁縫、メイク、造形、ウィッグ 創作を通じた自分らしさの追求と他者尊重
アクタージュ act-age 演技、舞台・映画 感情表現、演技法、舞台理解 自己内面と演技を繋げる研ぎ澄まされた集中
映像研には手を出すな! アニメ制作 絵コンテ、演出設計、世界観構築 想像力を具現化することへの純粋な渇望
重版出来! 出版・編集 取材、企画力、マンガ制作進行 マンガという文化を世に届ける使命感
げんしけん オタク文化全般 同人誌、イベント、考察 サブカルに対する深い知識と共有の喜び
バクマン。 マンガ制作 ネーム、作画、プロ意識 少年の夢を現実にするための試行錯誤と覚悟
ちはやふる 競技かるた 和歌暗記、反射、心理戦 伝統文化を「勝負」に昇華させる集中力
ランウェイで笑って モデル・服飾 ファッション構成、表現力 身体的ハードルを越える努力と夢への執念
ボールルームへようこそ 社交ダンス ステップ技術、ペアの呼吸、審査基準 表現と競技の融合を極める覚悟
火ノ丸相撲 相撲 組み手、体重コントロール、精神修行 小兵が巨漢に挑む意志と日本文化の継承
弓道士魂 弓玄(きゅうげん) 弓道 射法八節、集中、姿勢の美しさ 無心の精神と精度への執念
スピナマラダ! アイスホッケー スケート技術、パス、戦術 東北を舞台にした熱血かつ泥臭い成長劇
ノーコン・キッド 卓球 サーブ、ラリー、台上技術 地味な競技に魂を燃やす高校生たちの青春
BAMBOO BLADE 剣道 構え、打突、間合い チームとの絆と勝利への葛藤
あさひなぐ 薙刀 構え、打突、礼節 女子ならではの精神的・技術的成長物語
群青にサイレン 野球 バッテリー、心理戦 心の葛藤を抱えながらも頂点を目指す兄弟
DAYS サッカー ドリブル、連携、気持ち 才能よりも“努力”で這い上がる物語
銀盤カレイドスコープ フィギュアスケート ジャンプ、表現力、演技構成点 表現と技術の両立に悩む選手の成長譚
ツルモク独身寮 家具職人 木工加工、設計、美的センス 若者たちの手仕事への矜持と熱意(番外的だが技術職マンガとして)

ご覧のとおり、スポーツといっても「競技」だけでなく、「表現」や「精神性」が求められるものが多く、文化と地続きです。相撲や弓道、薙刀のような日本伝統の身体文化にも熱い想いが描かれています。

今回の私の質問の意図は、「サブカルであれマイナーなスポーツであれ、それを知ろうという行動を起こすことなく、批判しているヤツは『バカ』と断言して良い」、ということです。

2025,江端さんの忘備録

私は、政治団体「NHKから国民を守る党」(N国)の党首へのテロ事件の犯人を非難します。

I condemn the perpetrators of the terrorist attack on the leader of the political group “Party to Protect the People from NHK” (N-Kokoku).

嘔吐主義(ゲロリズム)を主導した人物が、『マスコミがこの事件を一向に報道しない』だの『国民からの同情やテロに対する批判がない』だのと言っていたとしても、『一体、どの口が・・・』などと言ってはならないのです。

If the person who led the vomits (Gerolism) says that 'the media never reports this incident' or 'there is no sympathy or criticism of terrorism from the public,' we should not say, 'What the hell are you talking about...?

私は、これを、"テロリズム(暴力主義)"ではなく、"ゲロリズム(嘔吐主義)"と命名したいと思います。

いかなる人物であろうとも、テロリズム(暴力主義)は否定されなければならないのです。

Terrorism must be rejected, no matter who it the target.

たとえ、

Even if,

■脅迫罪および威力業務妨害罪で東京地裁から懲役2年6カ月、執行猶予4年の有罪判決を受けていようが、

He may have been convicted of intimidation and obstruction of business with force by the Tokyo District Court and sentenced to two years and six months in prison with a four-year suspended sentence,

​■兵庫県議会の竹内英明元県議の死去に際し、SNSで虚偽の情報を発信したとして、死者に対する名誉毀損罪が成立する可能性があろうが、

On the occasion of the death of Hideaki Takeuchi, a former prefectural assembly member of the Hyogo Prefectural Assembly, he may be charged with defamation of character against the deceased for sending out false information on a social networking service,

■そのくせ、「反社会的カルト集団」と言われたことに対して、名誉毀損訴訟を起した結果、請求棄却されていようとも、

He filed a defamation lawsuit against what he called an “antisocial cult group,” even though the claim was dismissed as a result,

『奴は不快だ』という理由だけで、テロをしかけていたら、世の中テロだらけになってしまいます。

If we were to start terrorism just because 'he is an offensive person,' the world would be whole of terrorism.

-----

これを認容すると、私(江端)も、簡単にテロの対象になってしまう世の中が、普通になってしまいます。

If we allow this to happen, it will become the norm in a world where I (Ebata) can quickly become a target of terrorism.

それは、困るんですよ ―― まあ、私はゲロリストではありませんが。

That's the trouble -- however, I am not a vomitist.

2025,江端さんの忘備録

私は『都市は"雪"に弱い』ということを、思い知っています。

I have learned that cities are vulnerable to snow.

今朝も思い知りました。

I was reminded of this again this morning.

雪の日が出張日(だいたい隔週)に当たるとは、とても残念です。本当に私は運が悪い。

I'm sorry that snow days fall on your business trip days (usually every other week). I'm unlucky.

今日も、積雪もしていない少量の雪の影響で、品川までの電車のダイヤの、ほぼ全部が遅延していました。

Today, almost all of the train schedules to Shinagawa were delayed due to a small amount of snow that had not accumulated.

それでも、なんとか、目的の特急列車に乗り込むことができて、安堵しています。

Still, I am relieved that I boarded the express train I wanted.

-----

都市は"雪"だけでなく、"風"にも弱いです(出張が中止になったことがあります)。"雨"にも弱いです。"地震"に弱いことは、世界共通だとは思いますが。

Cities are vulnerable not only to “snow” but also to “wind” (I once had to cancel a business trip).” They are also vulnerable to “rain.” Earthquakes” are common in the world, I think.

思うに、自然災害の影響を受けにくい場所が、都市になりやすかったのだろうと、と思います。

I think places less susceptible to natural disasters were more likely to become cities.

日本の都市の多くは、(1)起伏の少なく、(2)河川があり、(3)湾岸に直結しています。これらは、人流や物流を支える要素です。

Most Japanese cities have (1) few ups and downs, (2) rivers, and (3) direct connections to the Gulf Coast. These are elements that support logistics for human flow.

しかし、重要なことを忘れてはなりません。

However, we must not forget something important.

都市を成立させている土地は、「氾濫(水害)がくりかえされることによって、土砂によって平地が広げられたもの」です。

The land on which cities are built is “the flat land that has been expanded by sediment due to repeated inundation (flooding).

すなわち、氾濫(水害)が、都市を作ってきた、と言えます。

In other words, it can be said that flooding (flood damage) has created cities.

調べてみて頂ければ分かりますが、日本の大半の都市の水害ハザードマップは、だいたい「真っ赤」です。

As you can see, flood hazard maps for most Japanese cities are usually “bright red.

しかし、真っ赤なエリアは、生活をしていく上ではとても便利です。起伏が少なく、繁華街へのアクセスが良い。道路も、公共交通も充実しています。なにより人口が多い。

However, the bright red area is a great place to live. There are few ups and downs and easy access to downtown. There are good roads and public transportation. Above all, the population is large.

人口が多いと税収が多くなり、税収が多くなれば、福祉施設(図書館などを含む)を建設するコストも捻出でき、文化的レベルの高い街になります。

A larger population means more tax revenue, which can be used to defray the cost of building welfare facilities (including libraries, etc.) and give the city a higher cultural level.

-----

そんな風に考えていくと、日本列島というのは、実に面倒くさい国土ですよね。

When you think about it in this way, the Japanese archipelago is a troublesome land.

■山間部は豪雪で孤立しかねないし、

■Mountainous areas could be isolated due to heavy snowfall,

■沿岸部は津波の恐怖に怯えなければならず、

■Coastal areas have to be frightened of tsunamis,

■そのどちらでもない地域は、公共交通が少なくて、外出しにくい。

■ Areas that are neither of these have little public transportation and are difficult to get out and about.

そして、

And,

■それらのいずれでもない都市部の大部分は、水害レッドエリアで、大地震の場合、水、電気、ガスのインフラが破壊され、物流が途絶やすく、命の危険に直結している

■Most of the urban areas that are not one of these are flood-red areas, where a major earthquake could destroy water, electricity, and gas infrastructure, easily disrupt logistics, and directly endanger lives.

加えて、

In addition,

■比較的アクセスの良い沿岸部の多くには、原発等の発電所が建設されている

■Nuclear power plants and other power generation plants are being built in many relatively accessible coastal areas

さらに言えば、

Even more so,

■日本列島には『活断層がない』という場所がありません。そして、実際、毎日100を越える地震が発生しています(体感できないだけです)。

■There is no place in the Japanese archipelago is “free of active faults. And in fact, over 100 earthquakes occur every day (you can't feel them).

毎日100~200の地震が発生しているのですから、「大地震が起きませんように(もし起きるなら、私の関係のない場所でヨロシク)」と祈っても、多分、無駄でしょう。

南海トラフ地震は、これまで、90~150年周期で、発生してきました。今後、30年以内の発生率は、80%だそうですが、私のような地震学の素人でも、納得できる数値だと思います。

Nankai Trough earthquakes occur over a 90- —to 150-year cycle. The probability of occurrence within the next 30 years is said to be 80%, a figure that even an amateur seismologist such as myself can agree with.

私だけが『ディスプレイが突き刺さった状態の遺体で発見される』

-----

外国の人から、

From a foreigner,

―― なんで、そんなに危険な日本列島なんかに住んでいるの?

"-- Why do you live in such a dangerous Japanese archipelago?"

と問われたら、合理的な説明ができないです。

I cannot give a rational explanation.

これについては、以前にお話をしましたが、『自分の生活居住区に対するこだわり』は、論理的には説明できないのです。

I have discussed this before, but 'commitment to one's living quarters' cannot be explained logically.

まあ、それでも理屈を捻り出すとしたら、"SIL"を持ち出すしかないかなぁ、と思っています。

If I had to develop a theory, I would have to bring up “SIL.”

SILって何だろう

SILを主観的に説明すれば、『自分が生きている間に、死に直結する自然災害が発生しないことを、祈ること』ということでしょう。

A subjective explanation of SIL would be 'to pray that a natural disaster that directly leads to death will not occur in one's lifetime.

未分類

VSCodeでC言語のインデントをGo言語のようにTABキーで自動的に整える方法を説明します。

1. C/C++拡張機能をインストール

まず、MicrosoftのC/C++拡張機能がインストールされているか確認してください。

  • VSCodeの「拡張機能」 (Ctrl+Shift+X) で「C/C++」を検索
  • ms-vscode.cpptools をインストール

2. settings.json を作成

.vscode フォルダの中に settings.json を作成します。

方法1: VSCodeのGUIを使う

  1. .vscode フォルダ内で 右クリック → 新しいファイル
  2. ファイル名を settings.json にする

3. settings.json に設定を追加

作成した settings.json を開いて、以下の内容を記述します。

{
  "editor.formatOnType": true,  // セミコロンや波括弧入力時に自動フォーマット
  "editor.formatOnSave": true,  // 保存時に自動フォーマット
  "editor.tabSize": 4,          // タブ幅を4に設定
  "editor.insertSpaces": false,  // タブをスペースに変換しない
  "C_Cpp.clang_format_fallbackStyle": "Google", 
  "C_Cpp.clang_format_style": "{ BasedOnStyle: Google, IndentWidth: 4, UseTab: Always }"
}

4. Emacsキーバインドを使いつつTABの動作を変更

Emacsのキーバインドを保持したままTABの動作だけ修正したい場合、keybindings.json でTABキーの挙動を変更できます。

設定方法

  1. Ctrl+Shift+P「Preferences: Open Keyboard Shortcuts (JSON)」 を検索
  2. keybindings.json を開く
  3. 以下の設定を追加:
    [
      {
        "key": "tab",
        "command": "editor.action.reindentlines",
        "when": "editorTextFocus"
      }
    ]
    
    

    これで、私の環境の方では何とか動いたようです。

[.vscode/c_cpp_properties.json]

{
	"configurations": [
		{
			"name": "Win32",
			"includePath": [
				"${workspaceFolder}/**",
				"C:/msys64/mingw64/include"
			],
			"defines": [
				"_DEBUG",
				"UNICODE",
				"_UNICODE"
			],
			"windowsSdkVersion": "10.0.22621.0",
			"compilerPath": "C:/msys64/mingw64/bin/gcc.exe",
			"cStandard": "c17",
			"cppStandard": "c++17",
			"intelliSenseMode": "windows-gcc-x64"
		}
	],
	"version": 4
}

[.vscode/launch.json]

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Cデバッグ (MinGW64)",
            "type": "cppdbg",
            "request": "launch",
            "program": "${fileDirname}/${fileBasenameNoExtension}.exe",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": true,
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "gdb を有効化",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ],
            "miDebuggerPath": "C:/msys64/mingw64/bin/gdb.exe"
        }
    ]
}

[.vscode/settings.json]

{
	"editor.formatOnType": true, // セミコロンや波括弧入力時に自動フォーマット
	"editor.formatOnSave": true, // 保存時に自動フォーマット
	"editor.tabSize": 4, // タブ幅を4に設定
	"editor.insertSpaces": false, // タブをスペースに変換しない
	"C_Cpp.clang_format_fallbackStyle": "Google",
	"C_Cpp.clang_format_style": "{ BasedOnStyle: Google, IndentWidth: 4, UseTab: Always }"
}

[.vscode/tasks.json]

{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "Cコンパイル (MinGW64)",
			"type": "shell",
			"command": "C:/msys64/mingw64/bin/gcc",
			"args": [
				"-g",
				"${file}",
				"-o",
				"${fileDirname}/${fileBasenameNoExtension}.exe"
			],
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"problemMatcher": [
				"$gcc"
			],
			"detail": "MSYS2 MinGW64 の GCC を使用して C をコンパイル"
		}
	]
}

作成したCファイルをアクティブにし、Ctrl + Shift + B を押してビルドタスクを実行したあと、vscodeのデバッグができるようです。

2025,江端さんの忘備録

『リーダー(総理)に期待していない』

"We don't expect much from the leader (prime minister).”

がっかりせずに、この言葉を、今一度思い出さなければならないと思います。

Without being discouraged, we must remind ourselves of these words once again.

『他者への没頭はそれが支援であれ、妨害であれ、愛情であれ、憎悪であれ、つまるところ自分から逃げるための手段である』(エリック・ホッファー:アメリカの独学の社会哲学者 )

事件の概要は、以下の通りです。

A summary of the case is as follows

■石破茂首相が昨秋の衆院選で初当選した自民党議員15人に、10万円相当の商品券を配布したことが明らかになった。

■ It was revealed that Prime Minister Shigeru Ishiba distributed gift certificates worth 100,000 yen to 15 LDP members who were first elected in last fall's lower house election.

■石破首相はこれを認め、個人資金からの支出で法的問題はないと述べていますが、野党は厳しく追及しています。

■ Prime Minister Ishiba has acknowledged this and stated that there is no legal problem with the expenditure from his funds, but the opposition parties are harshly pursuing the issue.

■一部の議員からは「金銭感覚のズレが大きかった」との指摘も出ています。

■Some council members have pointed out a significant discrepancy in the sense of finances.

で、まあ、内閣支持率は、今、石破茂内閣の支持率は26%と急落し、不支持率は59%に達してしまいました。

And, well, the approval rating of the Cabinet of Shigeru Ishiba has now plummeted to 26%, while the disapproval rating has reached 59%.

-----

「これが、10万円ではなく1万円だったら?逆に100万円だったら?」

"What if it were 10,000 yen instead of 100,000 yen? Or, conversely, what if it were 1,000,000 yen?"

「"10万円"って、ピンポイントで腹立つ金額だよね。わざわざ"国民の激怒を誘った"としか考えられない金額だ」

"The amount of 100,000 yen is a pinpoint amount that angers us. It's an amount that can only be thought of as a deliberate attempt to provoke public outrage."

「100万とか1000万円だったら、秘匿され続けたかもしれないけどね」

"They might have kept it under wraps if it had been a million or ten million yen.”

「筋の通った国防論と、それに基づく憲法改正の考え方があって、柔軟な野党協議も進められて、米国との関係もなんとか維持できそう、って感じで、かなり"期待"していたんだけどなぁ」

"I had high hopes for the current prime minister,” he said, ”because he has a reasonable theory of national defense and a concept of constitutional revision based on that theory, and he seems to be able to maintain relations with the U.S. while promoting flexible opposition party talks."

「根っこは、"昭和のまま"かよ」

“At the root, he is still in the Showa era.”

―― という会話が、めずらしく夕食時に帰宅していた次女と、嫁さんと、私の3人で行われていました。

The conversation was going on between my second daughter, who had unusually come home for dinner, my wife, and me.

2025,江端さんの忘備録

『疲労困憊でフラフラしている時に、短時間の睡眠(10~30分)で嘘のように体がラクになることがあるが、これは「疲労回復」しているのか?』

“When I am dizzy with exhaustion, does a short sleep (10 to 30 minutes) make me feel better? Is this 'recovering from exhaustion'?”

と、いうことが疑問になりまして調べてみました。

I wondered about this and looked into it.

どうやら、この現象は「疲労回復」ではなく、「疲労回復"錯覚"」と称呼できるようなものらしいです。

This phenomenon is not “recovery from fatigue,” but something that can be called “the illusion of recovery from fatigue.

ポイントは、「睡眠慣性のリセット」と「中枢神経のリフレッシュ」の2点。

The key points are “resetting sleep inertia” and “refreshing the central nervous system.

■極度の疲労時には脳の働きが低下し、意識がぼんやりする「睡眠慣性」が発生するが、短時間の睡眠(10~30分)をとることで、この状態がリセットされ、一時的に脳の覚醒度が回復する

■When extremely fatigued, brain function declines, and “sleep inertia,” a state of foggy consciousness, occurs, but a short sleep (10 to 30 minutes) resets this state and temporarily restores brain alertness.

■短時間の睡眠(10~30分)後には、自律神経のバランスが変化し、交感神経が優位になることで「シャキッとする」感覚が得られる

■ After a short period of sleep (10-30 minutes), the balance of the autonomic nervous system changes, and the sympathetic nervous system becomes dominant, resulting in a “crisp” feeling

ただし、これは脳が「覚醒モード」に切り替わっただけであり、肉体的な疲労回復とは異なるようです。

However, the above is just the brain switching to “wake-up mode,” which seems different from physical recovery from fatigue.

その他、

Other,

■脳の疲労物質であるアデノシンが分解され、脳の負担が軽減する

■Adenosine, a brain-fatiguing substance, is broken down, reducing the burden on the brain.

ということもあるそうです。

The above is also one of the reasons.

-----

ただし、このような「短時間の睡眠(10~30分)」では、根本的な疲労回復には不十分のようです。

However, such “short sleep (10-30 minutes)” does not seem sufficient for fundamental fatigue recovery.

筋肉の修復の為には、深いノンレム睡眠が必要で、自律神経のバランスを整えるためには、長めの睡眠で副交感神経を優位にする必要があり、ホルモンバランスが深い睡眠で正常化される、とのことです。

According to the report, deep non-REM sleep is necessary for muscle repair. To balance the autonomic nervous system, the parasympathetic nervous system must be dominant with longer sleep, and hormone balance is normalized with deep sleep.

したがって、「短時間の睡眠(10~30分)で嘘のように楽になる」のは、あくまで『脳の一時的なリフレッシュ』であり、本当の意味での疲労回復ではない。

Therefore, “a short sleep (10 to 30 minutes) makes it easier to lie down” is only a “temporary brain refreshment” and not a proper recovery from fatigue.

短時間の睡眠での回復は「ブースト」にすぎず、根本的な回復には十分な睡眠が不可欠、というのが結論のようです。

The conclusion seems to be that recovery from short periods of sleep is only a “boost,” and that adequate sleep is essential for fundamental recovery.

・・・って、書いていて思ったのですが、これって「覚醒剤」「麻薬」の効果と同じ内容ですよね。

I thought as I wrote this, this is the same content as the effects of “methamphetamine” and “narcotics.”

それはさておき。

That aside.

-----

私が、生来の「早朝覚醒型不眠」であり、朝方に安定剤(セルシン)を投与している話は何度かしました。

I have mentioned several times that I have a natural “early morning awakening insomnia” and that I am on a stabilizer (Selsyn) in the morning.

それ以前は、早朝から日本酒やウィスキーの一気飲みをして、強制的に寝ていましたが ―― あんなに『楽しくない飲酒』もなかった、と思います。

Before that, I used to chug sake or whiskey early in the morning and force myself to sleep. I had never felt such “unenjoyable drinking.”

飲酒による強制睡眠の結果、私は昼寝すらできない体質になってしまいました。

As a result of forced sleep from drinking, I am unable even to take a nap.

こんな日常を続けていたら『近い未来に死ぬ』と考えて、完全断酒 + 安定剤の定期的摂取(通院)に踏み切りました。

Thinking that I would 'die shortly' if I continued living like this, I decided to completely abstain from alcohol + regularly take stabilizers (hospital visits).

今は、必要と感じれば、昼寝もできますし、電車の中で一眠りしてリフレッシュするという、バラ色のような生活も手に入っております。

Now, if I feel the need, I can take a nap or even take a nap on the train to refresh myself, and I have a rosy life on my hands.

そういう意味では、「断酒」という"人生の半分の価値"の取引に手に入れたのが「昼寝(うたた寝)というリフレッシュ手段」です。

In that sense, I have acquired a means of refreshment called “napping” in exchange for “half the value of my life,” which is “sobriety.

-----

私は、もう、残りの人生において「十分な睡眠」とか「健康のための睡眠」というのは、諦めています。

I have already given up on “enough sleep” or “sleep for health” for the rest of my life.

それでも、「昼寝(うたた寝)」による、『脳の一時的なリフレッシュ』ができるだけで、かなり「幸せ」です。

Even so, I am pretty happy just to be able to “temporarily refresh my brain” by taking a “nap.

-----

いらんアドバイスかもしれませんが、アルコール依存型の不眠の人には「断酒」をお勧めします。

This may be unneeded advice, but I recommend “abstinence from alcohol” for those with alcohol-dependent insomnia.

そんなことが簡単ではなく、無茶なことを言っていることは、もの凄く理解してはいます。

I understand that this is not an easy thing to do and that I am talking nonsense.

しかし、これも考え方一つです。

However, this is just one way of thinking.

「昼寝(うたた寝)」という"覚醒剤"または"麻薬"を、完全合法かつ安全に手に入れられる、と考えれば、コストはペイしますぜ、ダンナ。

The cost will pay for itself if you consider that you can get the “stimulant” or “drug” called “napping” completely legally and safely.

薬局で貰ったセルシン21錠を握って、スキップしながら自宅に戻り、万全の体制で連休を迎えることができました。