2024,江端さんの忘備録

私の出身地は名古屋(の隣接市)ですので、『味噌煮込みうどん』は、私のソウルフードです。

I am from Nagoya (an adjacent city to Nagoya), so "Miso Nikomi Udon" is my soul food!

冷凍うどん

関東に出てきてから、「そば」の美味しさを知りました。

After coming to the Kanto region, I discovered the deliciousness of "soba" (buckwheat noodles).

娘も「そば」は好きなようです。

My daughter also likes "soba".

―― 小田急の乗客の多くに愛され続けている「名代 箱根そば」について、熱く語れる女子高校生

『フッ、所詮、パパも、その程度の器(うつわ)か』

-----

ただ、私は、『水、コシ、温度がうんぬん』とかいう、面倒くさいことを言うマンガとは異なる方向で、「そば」が好きです。

However, I like "soba" differently from the cartoons about "water, firmness, temperature, etc. " and other tedious things.

時間をかけ、手間をかけ、心を込めた、そして値段が高い「そば」は、確かに旨いと思います。

I believe that time-consuming, labor-intensive, heart-centered, and overpriced "soba" is delicious.

でも私は、安くて、手軽で、電子レンジやコンロだけで麺の処理が完了する、簡単で美味しい「そば」が好きなのです。

But I prefer cheap, easy, and delicious "soba" that is easy to make and requires only a microwave or stove to complete the noodle process.

で、そういう「そば」を求めて、スーパーやAmazonをうろついています。

So, I've been wandering around supermarkets and Amazon searching for such "soba."

最近は、これを購入しました。美味しかったです。

I recently purchased this. It was delicious.

4束入って300円位の乾麺に比べると3倍以上も高価ですが、こっちのほうが、より「そば」って味がします。

However, although it is more than three times more expensive than dried noodles, which cost about 300 yen for a four-pack, it tastes more like soba.

私が作るそば汁は、市販の「めんつゆ」に、そこに、かしわ、葱、えのき、ほうれんそう、砕いた鷹の爪を放り込んで、煮立てているだけの簡単なものです。

The soba soup I make is a commercial noodle soup with Kashiwa, leek, enoki mushrooms, spinach, and crushed togarashi thrown in there and simmered.

私は、こうやって自分で作る「そば」がとても好きなのです。

I like to make my own "soba" this way.

-----

海原雄山や山岡士郎が、何と言おうとも、

No matter what Yuzan Kaihara or Shiro Yamaoka might say,

こちらの最後のページの最終行に記載している通り、

As stated in the last line of the last page here,

=====

それでも、私は ―― 1年365日、いつどこでも、「納豆御飯ともやし炒め」をおいしいと思える人だけが、次の20年後の人工知能ブームへの架け橋となり、そして、第4次の人工知能ブームを立ち上げる当事者と成り得る ―― と信じているのです。

Nevertheless, I believe that only those who can think "natto gohan and fried bean sprouts" is delicious anytime, anywhere, 365 days a year, can be the bridge to the next artificial intelligence boom in the next 20 years and be the party that launches the fourth artificial intelligence boom.

=====

これこそが、研究員の生き方であり、そして、私は研究員です。

The above is the way of life of a researcher, and I am a researcher.

2024,江端さんの技術メモ

curl http://localhost:8000/getHeartbeatInfo

curl http://localhost:8000/getHeartbeatInfo/

のように、行末に”/"を入れたり、入れなかったりしてみる。

未分類

特許明細書に添付する図面を書いています ―― 何やっているか、モロバレですね。

もちろん、自分の特許発明を殺す(特許法29条)ような図面は公開していません ―― 私、プロですから。

2024,江端さんの忘備録

先日、里帰りした長女(頻繁に戻ってきているようですが)との会話です。

I had a conversation with my senior daughter (who seems to be back frequently), who recently returned to her hometown.

長女:「パパ、あの『葬式(そうしき)のフリーレン』だけど・・・」

Daugher:"Dad, that 'Frieren in Funeral'..."

私:「『葬送(そうそう)のフリーレン』な」

Me:"It's 'Frieren in Future'"

(*)邦題は、"Frieren : Beyond Journey's End"となっています。「フリーレン:終末の彼方へ」って感じでしょうか。

-----

たった1文字で、印象がガラっと変わるもんだなぁ、と。

I was amazed at how just one letter can completely change the impression.

葬式会場の「喪幕(ももく)」を魔法で張っているフリーレンが見えました。

I could see Frieren putting up the "mourning curtain" for the funeral hall using her magic.

-----

ChatGPTがマヌケな回答をしたので紹介しておきます。

ChatGPT gave a dumb answer, so here it is.

私: アニメ「葬送のフリーレン」の邦題を教えて下さい

Me: What is the Japanese title of the anime "Sousou-no-Furiren"?

ChatGPT: アニメ「葬送のフリーレン」の邦題は、「That Time I Got Reincarnated as a Slime」(転生したらスライムだった件)です。

ChatGPT: The Japanese title of the anime Sousou-no-Fureren is "That Time I Got Reincarnated as a Slime."

アニメ「葬送のフリーレン」のオープニング(日本語と英語版の両方)を聞かせれば、英語や国語が『人を感動させる道具(あるいは武器)になる得る』という実例を、分かって貰えるんじゃないかなぁ、とか考えています。

2024,江端さんの忘備録

『絶対に見捨てない』という見出しで始まる記事が多いです。

Many articles begin with the headline, 'Never Abandon anyone.'

それは立派なことだと思います ―― もし、それが本当にできるのであれば、ですが。

That would be admirable -- if it is possible.

私の場合、逆に

In my case, on the contrary, I can assure you that

『絶対に見捨てる』

"I'll abandon anyone."

と断言できます。

これは、私の経験からも明らかなことです。

It is clear from my experience.

私は、勉強を見捨て、仕事を見捨て、友人を見捨て、そして、両親すらも見捨てた、という自覚があります。

I know I have abandoned my studies, work, friends, and even my parents.

-----

『絶対に見捨てない』は、そもそも無理なのです。

It is impossible to say, "Never abandon anyone" in the first place.

これは簡単に証明できます。

The above is easy to prove.

自分の持っているリソースを越えて、相手にリソースを提供することはできないからです。

Because I cannot provide resources to others beyond what I have.

単純なエネルギー保存法則です。

It is a simple conservation of energy law.

唯一の例外があるとすれば、『絶対に見捨てない』を続けている途中で、自滅する(か、死亡する)くらいだと思います。

The only exception would be if I self-destruct (or die) in the process of continuing to 'never abandon'.

これなら、『絶対に見捨てない』を完遂できた、と言い張ってもいいでしょう。

The above case would be a good time to say we have completed "Never Abandon Anyone."

-----

もっとも、私は、『絶対に見捨てない』が、"決意の表明"とか、"強い形容句"であることは分かっています。

I know that "Never abandon" is a "statement of determination" or a "strong adjective.

ですので、上記の私の言い様は、ズルくて、悪意があることも分かっています。

So, I know that the way I said it above is unfair and malicious.

ですが、やっぱり私は、安易に『絶対に見捨てない』を口にすることはできないのです。

But I still can't say 'never abandon anyone ' so quickly.

-----

ところで、「絶対に見捨てる」には良いこともあるのです。

By the way, there is some good in "abandon anyone absolutely.".

誰かが、私を助けてくれない時に、それを、

When someone doesn't help me, that is,

■嘘吐きと罵しったり、

Calling them a liar,

■裏切られたと感じたり、

Feeling betrayed,

■世の中は非情だと悲観したり、

Being pessimistic against miserable

―― そういう感情を、短期間かつ小さく収めることができるからです。

"This is because such feelings can pack them quickly and in a small way."

また「絶対に見捨てられる」と腹を括っていれば、

If I prepare to be "absolutely abandoned" again,

『相手に、『簡単に見捨てさせない』ためには、どのような手を打たなければならないか』

What should I take to "not let them abandon me so quickly?

を常に考え続けなければならない、という覚悟ができます。

I can always prepare to keep thinking about the above.

姉:「(市役所に)何かした?(しかけた?)」

-----

本日の結論としましては、

In conclusion for today,

(1)誰かの『絶対に見捨てない』というフレーズは信じない方がよい

(1) Don't believe someone's phrase, "I will never abandon you.

そして、

And,

(2)誰かに『絶対に見捨てさせない』ための努力をした方がよい

(2) I will try to 'never let someone abandon me.'

となるかと思います。

are important.

2024,江端さんの技術メモ

import os
import sys
import signal
import errno

def kill_parent_and_children(parent_pid):
    try:
        # 親プロセスとその子プロセスのPIDを取得
        parent_and_children_pids = [parent_pid] + get_child_processes(parent_pid)
        # 親プロセスとその子プロセスを終了させる
        for pid_to_terminate in parent_and_children_pids:
            if pid_to_terminate is not None:
                os.kill(pid_to_terminate, signal.SIGKILL)  # プロセスを終了させる
    except Exception as e:
        print(f"Error terminating processes: {str(e)}")

def get_child_processes(parent_pid):
    child_processes = []
    try:
        # /procディレクトリからプロセス情報を取得
        proc_dir = '/proc'
        for pid_entry in os.listdir(proc_dir):
            pid_path = os.path.join(proc_dir, pid_entry)
            if os.path.isdir(pid_path) and pid_entry.isdigit():
                # プロセスのステータスを読み取り
                with open(os.path.join(pid_path, 'status'), 'r') as status_file:
                    status_lines = status_file.readlines()
                    # PPid行から親プロセス番号を取得
                    for line in status_lines:
                        if line.startswith('PPid:'):
                            ppid = int(line.split()[1])
                            if ppid == parent_pid:
                                child_processes.append(int(pid_entry))
                            break
    except Exception as e:
        print(f"Error getting child processes: {str(e)}")
    return child_processes
if __name__ == "__main__":
    if len(sys.argv) != 2:
        print("Usage: python3 xxxx.py <parent_pid>")
        sys.exit(1)
    parent_pid = int(sys.argv[1])
    # 親プロセスとその子プロセスをすべて終了させる
    kill_parent_and_children(parent_pid)

2024,江端さんの忘備録

私は、あなたのことを「勇者 ―― ビヨンド エバハラ」、省略して「エバハラ勇者」と命名したいと思います。

こちらでも書いていますが、私は、

As I write here, I believe that

「社会的価値観は、2週間単位でバージョンアップし続けている」

"Social values continue to be upgraded on a fortnightly basis."

と思っています。

私は、これを『Windows Update的価値観バージョンアップ』と呼んでいます。

I call this a "Windows Update-like Value Upgrade."

-----

Windows10/11のアップデートが発生した次の日は、パソコンは起動まで30分以上かかり、下手すると起動に失敗することもあります。

The day after a Windows 10/11 update occurs, the computer can take 30 minutes or more to boot up; if it is terrible, it can fail.

起動に失敗すると、頭の中が真っ白になります。

When it fails to start, my mind goes blank.

もし再起動に失敗すれば、HDDの中身を取り出すことができなくなるかもしれないからです。

If the reboot fails, I may not retrieve the HDD's contents.

仮に取り出すことができたとしても、その作業には数十時間単位、または数万円のコストが必要となることがあります。

Even if it could be retrieved, the work may require dozens of hours or cost tens of thousands of yen.

Windows Updateは、常に私にとっては「恐怖」の対象です。

Windows Update has always been a "horror" for me.

私の意図せぬ形で、勝手にシステムを更新され、勝手に機能を追加され、そして、不具合を起こすWindows Updateですが、それでも、私は対応し続けなければなりません。

Windows Update updates my system without intention, adds features without permission, and causes glitches, but I still have to keep dealing with it.

日々強化し続けるサイバー攻撃から、自分のシステム(PC)を守り続けるためです。

This protects my system (PC) from cyber attacks that continue to strengthen daily.

それはさておき。

Aside from that.

-----

自民党青年局"過激パーティー"(*)については、モラルの点から論じるのは他の人がやってくれていますので、そちらには言及せず、私は、単純に組織とその構成員人間から論じたいと思います。

Others have already discussed the LDP Youth Bureau's "radical party"(*) from a moral standpoint, so I will not mention it. Still, I would like to discuss it simply from the perspective of the organization and its members.

(*)自民党青年局が2023年に開いたパーティーで、“過激なダンスショー”が繰り広げられていたことが判明。パーティーでは、露出度の高い女性ダンサーが登場し、参加者にボディタッチなどを行っていたという。この問題で青年局長らが辞任、党内からも批判の声が上がっている。

(*) It was discovered that an "extreme dance show" was held at a party held by the LDP Youth Bureau in 2023. At the party, a highly revealing female dancer appeared and body-touched the attendees. The youth bureau chief and others resigned over this issue, and some have criticized the party.

(1)前提として、この手のこのパーティは、30年前のバブル経済中であれば、問題にならなかったか、あるいはここまで問題とはされなかったかもしれません。しかし、今は30年前ではない。

(1) The premise is that this kind of party would not have been a problem or might not have been considered so much of an issue 30 years ago during the bubble economy. But now is not 30 years ago.

(2)思うに、自民党青年局なる組織は、この時代にあって、基本的に"MS-DOS"OSくらいの頭脳と知性のままで維持され続け、廃棄対象のPCと程度のスペックすらもなく、2週間に1回どころか、30年間もバージョンアップができない人間で構成される組織である。

(2) The LDP Youth Bureau is an organization that, in this day and age, continues to be maintained with brains and intelligence equivalent to an "MS-DOS" operating system and is composed of people who do not even have the specifications of a discarded PC, and have been unable to upgrade their software for 30 years, let alone once every two weeks.

我が国の未来を、このような「無能な青年」に託すのは不安以外の何ものでもありませんが、それ以上に、

It is nothing but anxiety to entrust the future of our country to such "incompetent young men," but more than that,

―― そもそも、そういう下品なイベント以外に、自分たちが楽しめるイベントを自力で企画・運営できない

"In the first place, they cannot plan and organize events they can enjoy on their own, other than such vulgar events."

という創作性の欠如に深い絶望感を感じます。

I feel a deep sense of despair at the lack of creativity that

例えば、

For example,

『このパーティの参加者の大部分が女性議員であったとして、その上でこのイベントを実施しなければならならないというミッションが与えられたと仮定した場合、どのようなイベントの形に持っていくことが最適か』

'Assuming that the majority of the attendees at this party were women legislators, and then given the mission of conducting this event, what would be the best way to shape the event?'

というような、各種の縛りのある条件下で、考え抜かれたイベントであれば、私は評価できると思います。

Like the above, I would appreciate the event being well thought out under various binding conditions.

日々、各種の縛り(新規性、進歩性、企業利益、企業ブランドなど)の中で、常に新し発明を案出し続けなければならない企業研究員(私です)としては、「努力の欠片も見えない下品イベント」という、彼らの無策に腹を立ててているのです。

As a corporate researcher (that's me) who must constantly come up with new inventions amidst all kinds of restrictions (novelty, inventive step, corporate profit, corporate brand, etc.), I am angry at this inaction, a "vulgar event that shows no effort at all.

-----

それにしても、あの組織(2024年現在、与党)って、つくづく本当にパーティ好きだなぁ、と感心します。

Still, I am impressed that that organization (the ruling party as of 2024) likes to party.

『パーティがなければ、死んでしまう人たち』のように見えます。

It looks like 'people who would be dead without the party.'

政治というものが、『パーティと不可分一体』であるとすれば ―― 『私(江端)には、政治は無理だな』と再認識しました。

If politics is an inseparable part of partying, I realized again that politics is impossible for me (Ebata).

未分類

21歳を越えた次女は、我が家の自動車で運転を始めました。

My second daughter, over 21 years old, started driving our automobile.

そして、私は『ティーンエージャの3年間の無事故』を素直に信じません。

先日、次女を駅にピックアックしに行った時、『運転させて欲しい』と言われたので、運転席を譲りました.

The other day, when I went to pick up my second daughter at the station, she asked me to let her drive, so I gave up my driver's seat.

次女:「何、しれっと後部座席に座っているの。助手席に座って運転を指導してよ」

Second daughter: "What are you doing sitting in the back seat? Why don't you sit in the passenger seat and coach me on how to drive?

私:「いや、助手席って、死亡率が一番高いし・・・。私は、まだママと一緒に人生を生きていきたいんだ」

Me: "Well, passenger seats have the highest mortality rate... I still want to live my life with my wife."

と、抵抗したのですが、許して貰えませんでした。

I resisted, but she would not let me.

-----

人の運転は、基本的に怖いものです。

Driving people is fundamentally scary.

そして、初心者の運転は、ジェットコースターより怖い。

And driving for beginners is scarier than a roller coaster.

自分のステアリングとアクセルとブレーキのタイミングが全く違う。

The steering, gas pedal, and brake timing differ entirely from mine.

車幅の認識、道路の中央や路側帯からの距離感が違う。

The perception of vehicle width and distance from the center of the road or roadside strip is different.

急加速と急減速で、頭部にありえない"F"がかかる。

Sudden acceleration and deceleration cause an impossible "F" to be applied to the head.

後方確認後、ターゲットをロックオンしないままでバックの車庫入れが開始される。

After the rearward check, a backup garage entry is initiated without locking it onto the target.

総じて言えば、自分の車の位置を、空間的に把握する ―― 3Dビューがない。

You may know where your car is spatial; however, she has no 3D view.

-----

とは言え、初心者が、最初から「3Dビュー」を持っていたら、それはそれで怖いのです。

Nevertheless, if a beginner had a "3D view" from the beginning, that would be scary.

『自分は運転の才能がある』と過信している初心者の車は、『走る殺人兵器』です。

The car of a beginner who is overconfident that they are a talented driver is a "killer weapon.

『初心者"が"運転を怖がり』『初心者"の"運転が怖い』ことは、とても良いこと ―― それは分かっているのです。

'Beginners are afraid to drive' and 'We are afraid of Beginners driving' are excellent statements—I know that.

-----

以前、私の姉は、『初心者というのは、車を一台半壊させて、一人前』というようなことを言っていました。

My sister once told me, "A beginner becomes a driver after they have destroyed half a car.

私はそこまで腹を括ることはできませんが ―― それでも、娘が人身事故を起こすことを考えれば、助手席で怯えることくらい、どうってことはない、とは思っています。

I can't be that prepared, though; I don't think that being frightened in the passenger seat is anything compared to my daughter being involved in a personal injury accident.

2024,江端さんの忘備録

私のコラムへの読者コメントを読んでいて、ちょっとビックリしたことがありました。

I was surprised to read some of the reader comments on my column.

出生率(特殊出生率)の考え方を、間違って解釈している人がいるということです。

This means that some people misinterpret the concept of the fertility rate (special fertility rate).

現在の人口を維持するために必要な出生率は、"2.08"です。

The birth rate needed to maintain the current population is "2.08".

つまり、その国の一組の男女のカップル(既婚、結婚関係なく)から2.08人、つまり2人+αが出産できて、トントンということです。

This means that 2.08 people from one male-female couple (married or unmarried) in a country can give birth, i.e., 2 + α, which is equal.

これを、"1.0"を基準と考えている人がいるようです。

Some people seem to think this is based on "1.0."

これは酷い誤解です。

This is a terrible misunderstanding.

------

『韓国は、0.72だけど、日本は1.20だから大丈夫』は、大間違いです。

It is a big mistake to say, "Korea is at 0.72, but Japan is at 1.20.

もし人口を維持できる出産率を100点満点のテストで表現するのであれば、

If the birth rate that can sustain a population is expressed in a 100-point test,

■韓国: 48点(187カ国中、世界最下位)

South Korea: 48 points (out of 187 countries, lowest in the world)

■日本: 57点(187カ国中、下から10番目)

Japan: 57 points (10th from the bottom out of 187 countries)

ちなみに、

Incidentally,

■アフガニスタン: 228点(187カ国中、上から17番目)

Afghanistan: 228 points (17th from the top out of 187 countries)

です。

アフガニスタンは、最優秀選抜クラスに在籍し、私たち(と韓国の皆さん)は、要補習クラスです。

Afghanistan is enrolled in the best-selected class, and we (and everyone else in Korea) are in the required remedial class.

----

もちろん、出生率が高ければ、それで全てO.K.という訳ではありません(幼児死亡率とかも勘案する必要があります)。

Of course, a high birth rate does not mean everything is O.K. (infant mortality and other factors must be considered).

ちなみに、(もう聞き飽きたかもしれませんが)、日本の女性の地位のランキングは、アフガニスタンと"トントン"くらいの底辺にいます。

Incidentally (as you may be tired of hearing by now), the ranking of women's status in Japan is at about the same level as that of Afghanistan.

ですから、アフガニスタンの(多分、一部の)人たちから、『少なくとも、日本には勝っている』と見られている可能性は高いと思っています。

So I think it is very likely that (some) people in Afghanistan see us as, at least, we are winners against Japan.

―― 仮にタリバンを武力で殲滅することができても、"勉強が嫌いな少女"を虐殺することは、絶対に不可能

------

ともあれ、出生率の基準値は、"1.0"ではありません。

At any rate, the reference value for the birth rate is not "1.0."

"2.08"です。

But "2.08".

お忘れなきよう、よろしくお願い申し上げます。

Thank you very much for your understanding and cooperation.

2024,江端さんの忘備録

最近、送別会やら歓迎会やらが企画されています。

Recently, farewell and welcome parties have been planned.

最近では、『コロナ禍』という言い訳が使えなくなってきて、困っています。

Recently, I have been having trouble using the excuse of 'corona disaster.'

しかし、私の回りでは、コロナやインフルエンザで、文字通り『転げ回って苦しんでいる人』が、(自宅と職場に)結構な数います。

However, quite a few people around me (at home and work) are literally 'rolling over and suffering' from coronas and flu.

そういうことも勘案して、私は、今後も『飲み会』への参加は、リモートのみに限定したいのです。

With this in mind, I would like to limit my participation in "drinking parties" to remote environments only.

-----

ところが、会を主催する幹事の方からは、『出欠の旗幟(きし)を明かにせよ』と言われます。

However, the organizer of a drinking party tells me, 'Make your attendance flag clear.

少なからず、私も、このような幹事をやらされてきたので、その気持ちは分かるのですが、

In no small part, I know what it is like because I, too, have been asked to be the organizer of such an event,

―― 出席はしたいが、欠席したい

"I would like to attend, but I would like to be absent."

という微妙な心の機微が考慮されていない。

The subtle subtleties of the heart are not taken into account.

「出欠の返事をしない」ことをもって、『遺憾ながら欠席』という意味に解して貰えないものでしょうか。

Is it impossible if it would be possible to interpret "not replying" as meaning "regrettably absent.

-----

土壇場で出席したり、欠席したりするバカに、これまで私がどれだけ腹を立ててきたか ―― それを考えると、「出欠の旗幟(きし)を明かにせよ」という指示は、支持できます。

Considering how often I have felt angry by idiots who attend or miss a meeting at the last minute. Therefore, I can support the instruction to "clarify your attendance."

ですが、これからは、『お返事のなかった方は、本日零時をもって、欠席として確定させて頂きます。これ以後の変更はご遠慮下さい』のフレーズを加えることで、丸く解決して欲しいと、強く希望するものであります。

However, from now on, I strongly hope that you will resolve this issue by adding, "Those who have not responded will be confirmed as absent as of midnight today. We hope this will be determined by adding, "If you have not responded, please refrain from making any further changes.

-----

まあ、『随分自分勝手なこと言っているなぁ』という自覚はあるんですけどね。

Well, I am aware that I am being very selfish.

『なんだかんだいって、セクショナリズムの対抗手段は、定期的な飲み会である』