2023,江端さんの忘備録

権力者が死なないと、その権力者の犯罪が明るみに出ない、というのは、よくある話です。

こちらにも書きましたが、未来の私が思い出せるように、概要を残しておきます。

As mentioned above, I will leave a summary for future me to remember.

(1)性犯罪を生涯続けてきた人物をトップに置き続けてきた「ジャニーズ」という芸能事務所がありました。

(1) There was an entertainment company called "Johnny's" that kept a lifelong sexual predator at the top.

(2)その人物の死亡によって、ようやく、その犯罪が明らかになってきました。

(2) His crime finally comes to light with that person's death.

(3)しかし、その芸能事務所は、自主廃業は行わずに、今後も事業を継続するという意思を示しています。

(3) the entertainment company has indicated that it will not voluntarily close its business and will continue to do so.

(4)現時点では、「ジャニーズ」という名称も維持する予定らしいです。

(4) At this time, they also plan to keep the name "Johnny's."

-----

私は、「ジャニーズ」という事務所には興味がありませんので、その事務所が何を選択しようが知ったことではありません。

I have no interest in "Johnny's" office, so I don't care what that office chooses to do.

ただ、

However,

(1)自主廃業して、

(1) Voluntary closure of business,

(2)第三者機関による被害者救済団体を設立し、

(2) Establish a third-party victim relief organization,

(3)内部留保資産の全額を被害者救済の支払いに当てて、その残額を救済団体の基金とする

(3) All retained assets are allocated to pay for victims' relief, and the balance is used as a fund for relief organizations.

という、私の中では当然の処理フローが、全く提示されないのを不思議に思ってはいます。

I wonder why the natural process flow, "the best way to do it," is not presented.

-----

私の予測の一つに、

One of my predictions is

「ジャニーズ」という言葉が「チャイルドセクシャルアブユーズ(児童性虐待)」という意味で使われていく未来があります。

The term "Johnny's" will mean "child sexual abuse.

「Karoshi(過労死)」「Tsunami(津波)」という英単語が世界に広まったように、

Just as the English words "Karoshi" (death from overwork) and "Tsunami" (tsunami) have spread around the world,

―― 驚くことに、あの学校は組織的な"ジャニーズ(児童性虐待)"をしていました。

"To our surprise, the school had an organized Johnny's."

というような用語として、世界中に使わていく未来です。

This is a future in which the term will be used worldwide.

それはそれで、世界に"何か"の貢献をすることなるかもしれません。

It may be that we will contribute "something" to the world.

ともあれ、私の頭の中では「ジャニーズ = 児童性虐待」で、変換登録完了済みです。

I think "Johnny's = child sexual abuse," and the conversion is already registered.

2023,江端さんの忘備録

私が、NHKスペシャルにおいて最高傑作と認定し、その後もその認定が更新されていない

This content I have identified as the best in NHK Specials and that has not been renewed since then,

キューバ危機【十月の悪夢・破滅の淵の13日】

The Cuban Crisis [October Nightmare: 13 Days on the Edge of Doom]"

が、今、YouTubeで見られるようです。

is now available on YouTube.

このドキュメンタリーは、シミュレーションエンジニアとしての、今の私を作ったコンテンツの一つです。

This documentary is one of the contents that made me who I am today as a simulation engineer.

―― こうやって、パソコンの中に、ケネディと、マクナマラと、アチソンを作るのかぁ

2023,江端さんの忘備録

私は、髪の毛が一定の長さを越えると、突然、頭髪がうっとうしく感じるようになります。

When my hair exceeds a certain length, I suddenly start to feel annoyed with my head of hair.

ところが、最近の私は、床屋に行く時間すら惜しいです。

These days, however, I can't even spare the time to go to the barber.

短時間、低コストを売りにしている床屋でさえ、待ち時間を入れれば、1時間弱の時間が取られることもありますし、そこそも、床屋に出かけるのが面倒です。

Even barbershops that sell short-time, low-cost services can take less than an hour if you include waiting time, and even there, it is a hassle to go out to the barbershop.

で、まあ、こういう所業に至ってしまう訳です。

And so, well, I ended up in this kind of situation.

という訳で、本日、私、40年ぶりくらいに「丸刈り」にしてきました。

ところが、この髪型、家族に恐しく評判が悪かった。

However, this haircut was not well received by the family.

毎朝、嫁さんや娘がギョっとした顔をします ―― まあ、私も毎日、鏡の中に「東京裁判審理中の東条英機元首相」の姿を見ることになりましたが。

Every morning, my wife and daughter look at me with gawk -- well, I also see the image of "former Prime Minister Hideki Tojo during the Tokyo Tribunal proceedings" in the mirror every day.

という訳で、最近は「丸刈り」はやめて、「スポーツ刈り」に戻していますが、あいかわらず、床屋に行くのは面倒です。

So, I have recently stopped wearing a "round haircut" and returned to a "sports haircut," but it is still a hassle to go to the barber.

-----

バリカン買ってみました。

I bought a clipper.

まあ、床屋2回分のコストで元が取れるし、そもそも、私は理容に「美」を求めていませんので、これで十分です。

Well, the cost of two barbershops will pay for itself, and since I am not looking for "beauty" in hairdressing in the first place, this is good enough for me.

また、付属のコームを付ければ、一定の髪の毛を残すこともできるので、問題ありません。

Also, with the attached comb, you can leave a certain amount of hair in place, which is not a problem.

上半身裸になって庭に出て、適当にバリカンで刈りまくって、髪の毛をふり落した後、そのまま、風呂場に直行しました。

I stripped down to my top, went out into the yard, and after trimming my hair with clippers at random and shaking it off, I went straight to the bathroom.

後頭部だけは見えないので、嫁さんに、はさみで切り落して貰いましたが、これも将来的には自力でなんとかしたいと思います。

Only the back of my head is invisible, so I asked my wife to cut off the hair with scissors, but I would like to do something about this on my own.

-----

自分の髪型に1mmのこだわりもなく、ただ、うっとうしい髪をとっとと処分したいだけ人には、「バリカン」の利用をご提案したいと思います。

For those who are not particular about their hairstyle and want to get rid of their annoying hair as soon as possible, I suggest using "hair clippers.

2023,江端さんの技術メモ

SELECT seq, node, edge, b.cost
FROM pgr_dijkstra(
    'SELECT gid as id, source, target, cost, reverse_cost FROM ways WHERE source NOT BETWEEN 10 AND 20 AND target NOT BETWEEN 10 AND 20',
    1, 50, directed := false
) a
INNER JOIN ways b ON (a.edge = b.gid)
ORDER BY seq;

出力結果
seq | node | edge | cost
-----+------+------+------------------------
1 | 1 | 2 | 8.518550262944416e-06
2 | 2 | 3 | 9.420518456308501e-05
3 | 3 | 4 | 2.6662995399998606e-05
4 | 4 | 6 | 2.1389117484400878e-05
5 | 5 | 7 | 4.6563628817813256e-06
6 | 6 | 1313 | 7.188606587820858e-06
7 | 863 | 126 | 1.0007051975223507e-05
8 | 99 | 127 | 1.450451593740212e-05
9 | 100 | 129 | 7.160567611289415e-06
10 | 101 | 131 | 4.109420419283505e-05
11 | 102 | 133 | 2.934679929904221e-05
12 | 103 | 135 | 1.5514200871555155e-05
13 | 104 | 137 | 1.2955240951715268e-05
14 | 105 | 139 | 3.932409601088787e-05
15 | 106 | 141 | 3.756326743314803e-05
16 | 107 | 143 | 6.437495269868342e-05
17 | 108 | 145 | 3.580138401404371e-05
18 | 109 | 147 | 5.81727588604755e-05
19 | 110 | 148 | 4.310761927462597e-05
20 | 651 | 1196 | 0.00021148735186994806
21 | 780 | 995 | 0.00017553851429442523
22 | 653 | 997 | 5.381635439655622e-05
23 | 654 | 996 | 3.9727662820583996e-05
24 | 21 | 24 | 6.931684268013142e-06
25 | 22 | 25 | 7.70969814835397e-06
26 | 23 | 26 | 1.2029326750062135e-05
27 | 24 | 27 | 3.163056561909417e-05
28 | 25 | 28 | 3.715561627508799e-05
29 | 26 | 29 | 1.6759949788587843e-05
30 | 27 | 30 | 1.3935943447597369e-05
31 | 28 | 31 | 7.276956035534738e-06
32 | 29 | 32 | 1.2096545992840006e-05
33 | 30 | 33 | 4.534133154905821e-05
34 | 31 | 34 | 1.8836761764769703e-05
35 | 32 | 35 | 8.806681794688408e-06
36 | 33 | 36 | 7.526055852520615e-06
37 | 34 | 37 | 1.0243676427727028e-05
38 | 35 | 38 | 1.5622874238716658e-05
39 | 36 | 39 | 6.894091782961944e-06
40 | 37 | 40 | 1.786596350373829e-05
41 | 38 | 41 | 1.796453895498639e-05
42 | 39 | 42 | 6.566793603978039e-05
43 | 40 | 43 | 4.0144224056584715e-05
44 | 41 | 44 | 2.037304658526977e-05
45 | 42 | 45 | 1.643518634972223e-05
46 | 43 | 46 | 1.1916705412252495e-05
47 | 44 | 47 | 1.0031152210412222e-05
48 | 45 | 48 | 1.1949163674231717e-05
49 | 46 | 49 | 1.7529822253810993e-05
50 | 47 | 50 | 1.9115799546536715e-05
51 | 48 | 51 | 5.101757589403705e-05
52 | 49 | 53 | 2.8187114581170035e-05

2023,江端さんの技術メモ

送信プログラム(send_data.c):

#include <stdio.h>
#include <stdint.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>

int main() {
    int sockfd;
    struct sockaddr_in server_addr;
    uint32_t data = 0x12345678; // 4バイトのデータ(0x12345678)

    // ソケットの作成
    if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) {
        perror("socket");
        return 1;
    }

    // 送信先サーバの情報を設定
    server_addr.sin_family = AF_INET;
    server_addr.sin_port = htons(12345); // 送信先ポート番号
    server_addr.sin_addr.s_addr = INADDR_LOOPBACK; // ループバックアドレス (127.0.0.1)
    # INADDR_LOOPBACK で動かなければ、INADDR_ANY を使う

    // データを送信
    if (sendto(sockfd, &data, sizeof(uint32_t), 0, (struct sockaddr *)&server_addr, sizeof(server_addr)) == -1) {
        perror("sendto");
        close(sockfd);
        return 1;
    }

    printf("Data sent: 0x%X\n", data);

    close(sockfd);

    return 0;
}

受信プログラム(receive_data.c):

#include <stdio.h>
#include <stdint.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>

int main() {
    int sockfd;
    struct sockaddr_in server_addr;
    struct sockaddr_in client_addr;
    socklen_t client_addr_size = sizeof(client_addr);
    uint32_t received_data;

    // ソケットの作成
    if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) {
        perror("socket");
        return 1;
    }

    // サーバの情報を設定
    server_addr.sin_family = AF_INET;
    server_addr.sin_port = htons(12345); // 受信ポート番号
    server_addr.sin_addr.s_addr = INADDR_ANY;

    // ソケットとポートを結びつける
    if (bind(sockfd, (struct sockaddr *)&server_addr, sizeof(server_addr)) == -1) {
        perror("bind");
        close(sockfd);
        return 1;
    }

    printf("UDP Server is waiting for messages...\n");

    while (1) {
        // データを受信
        if (recvfrom(sockfd, &received_data, sizeof(uint32_t), 0, (struct sockaddr *)&client_addr, &client_addr_size) == -1) {
            perror("recvfrom");
            close(sockfd);
            return 1;
        }

        printf("Received Data: 0x%X\n", received_data);
    }

    close(sockfd);

    return 0;
}

2023,江端さんの忘備録

自分一人でできることには、限界があります。

There is a limit to what I can do on my own.

だから、大きなことを成し遂げるだめには、チームを作って、協力しあう必要があります。

So, to accomplish something big, we need to build a team and work together.

しかし、私は、チームを作って、協力しあうのが、苦手です。

However, I am not good at building a team and working together.

だから、私には、大きなことを成しとげることはできない、と腹を括っています。

So, I am resigned that I will not be able to accomplish great things.

それ故、「自分1人でできること」を、「自分1人」でやっています。

Hence, I am doing "what I alone can do."

-----

これからは、そういう新しい行動様式や価値観が、従来の価値観に対抗する形で、力強く立ち上がってくるだろう ―― と、この3年間のコロナ禍中で思い続けてきました。

From now on, such new behaviors and values will rise strongly in opposition to conventional values -- I have continued to think this during the past three years of the Corona disaster.

上位下達、業務命令とは異なる新しい社会 ―― 人間関係が"疎"結合で結びついた、自律した個人からなる分散社会が到来するだろう、と。

A new society is different from the one based on superiors, subordinates, and business orders - a decentralized community of autonomous individuals with "loosely" coupled human relationships will arrive.

しかし、私が思っていた以上に、世界の復元力は強かったようです。

However, the world seemed more resilient than I had thought.

もっと分かりやすく言えば ――

To put it more simply--

世界中の全ての人間が、私のような『ぼっち』になって、孤独、孤立がデフォルトの世界になれば、みんな、孤独や孤立を感じない世界として完成する。

If every human being in the world becomes 'alone' like me, and loneliness and isolation become the default, we will all complete the world as a world where we do not feel lonely and isolated.

結果として、そのような、私にとってのユートピア、多くの人にとってのディストピアは、残念ながら具現化されなかったようです。

Such is the fact that utopia for me, and dystopia for many, was unfortunately not materialized.

―― 学閥、人脈、コネ一切なしの、シニアのサラリーマンエンジニアの「ぼっち戦略」

2023,江端さんの技術メモ

■ダイクストラ計算を使った方法(一般的なやりかた)
tomioka_db_b=# SELECT seq, node, edge, b.cost FROM pgr_dijkstra('SELECT gid as id, source, target, cost, reverse_cost FROM ways',1, 11) a INNER JOIN ways b ON (a.edge = b.gid) ORDER BY seq;
seq | node | edge | cost
-----+------+------+------------------------
1 | 1 | 2 | 8.518550262944416e-06
2 | 2 | 3 | 9.420518456308501e-05
3 | 3 | 4 | 2.6662995399998606e-05
4 | 4 | 6 | 2.1389117484400878e-05
5 | 5 | 7 | 4.6563628817813256e-06
6 | 6 | 8 | 1.3184236987589488e-05
7 | 7 | 9 | 6.438782425766514e-06
8 | 8 | 10 | 3.92599380897713e-05
9 | 9 | 11 | 3.1320245670872654e-05
10 | 10 | 12 | 1.7193010226696205e-05

■ところが、こうすると、2番目の最短距離が算出できます。

tomioka_db_b=# SELECT seq, node, edge, b.cost FROM pgr_ksp('SELECT gid as id, source, target, cost, reverse_cost FROM ways',1, 11, 2) a INNER JOIN ways b ON (a.edge = b.gid) ORDER BY seq;
seq | node | edge | cost
-----+------+------+------------------------
1 | 1 | 2 | 8.518550262944416e-06
2 | 2 | 3 | 9.420518456308501e-05
3 | 3 | 4 | 2.6662995399998606e-05
4 | 4 | 6 | 2.1389117484400878e-05
5 | 5 | 7 | 4.6563628817813256e-06
6 | 6 | 8 | 1.3184236987589488e-05
7 | 7 | 9 | 6.438782425766514e-06
8 | 8 | 10 | 3.92599380897713e-05
9 | 9 | 11 | 3.1320245670872654e-05
10 | 10 | 12 | 1.7193010226696205e-05
12 | 1 | 2 | 8.518550262944416e-06
13 | 2 | 1214 | 7.368115779153013e-06
14 | 792 | 118 | 8.976775615866592e-06
15 | 95 | 119 | 9.423341104506603e-05
16 | 96 | 121 | 2.578196166482512e-05
17 | 97 | 123 | 2.35136729002621e-05
18 | 98 | 125 | 6.587696385101331e-06
19 | 99 | 126 | 1.0007051975223507e-05
20 | 863 | 1313 | 7.188606587820858e-06
21 | 6 | 8 | 1.3184236987589488e-05
22 | 7 | 9 | 6.438782425766514e-06
23 | 8 | 10 | 3.92599380897713e-05
24 | 9 | 11 | 3.1320245670872654e-05
25 | 10 | 12 | 1.7193010226696205e-05

10番目までを出したかったら、上記の"2"を、"10"にすれば出てきます。
綺麗に直す方法については、がんばって下さい。

 

 

 

2023,江端さんの忘備録

私は、数字を使ってコラムを書く「もの書き」もやっています。

I also do "writer," writing columns with numbers.

メディアのニュースを使う場合、最新のニュースを「使わない」ようにしています。

I try not to "use" the latest news when using media news.

時事ニュースなどは、サマリとして纏められるまで(例えば、NHKスペシャルなどの番組として放映されるまで)、執筆を始めないようにもしています。

I do not start writing about current news until it has been summarized (e.g., aired as an NHK special).

恣意的、感情的、誘導的に記載されている記事は、数字と相性が悪いのです ―― 矛盾が多すぎる。

Articles that are arbitrary, emotional, and inductive are not compatible with the numbers -- there are too many inconsistencies.

また、計算には時間がかかり、そもそも、断片的な情報だけでは、全体像を把握できないので。「書けない」というのが一番の原因です。

Also, the calculations are time-consuming and, in the first place, because only bits and pieces of information are available to give a complete picture. The bottom line is, "I can't write."

-----

まあ、私の場合も、いろいろな予測をしてきましたが、「外した」ものも多いです。

Well, I have made many predictions, but many have "missed" as well.

それは、仕方がないと思っています。

I believe that is something that cannot be helped.

未来は、色々な予測もしないような要因がまざり込んでくるからです。

The future is a mixture of various unpredictable factors.

その全部を考慮にいれて予測することなど、まあ不可能ですからね。

It is, well, impossible to consider them all and make predictions.

私にできることは、過去のデータぶっこんで、その延長線にある未来の地点を予想することくらいです。

All I can do is plug in the past data and predict future points in the extension.

ただ、私は、私のコラムの内容で「外した」と思うことは、ちゃんとその旨を公表してきたし、これからも、そうしたいと考えています。

However, I have been and will continue to be forthcoming about what I consider "off" in my columns.

他の人がどう考えるかは知りませんが、私にとっては、それは全く「恥しい」ことではないからです。

I don't know what others think, but it is not "shameful" for me.

-----

上記のことを踏まえて、私は、過去に以下の問題について論じた方に、現時点での総括を期待します。

In light of the above, I would expect those who have discussed the following issues to summarize them now.

■ TPPによって、我が国の経済は破綻すると主張していた方

- Those who claimed that the TPP would bankrupt our economy.

■ 地球温暖化は、幻想(あるいは、各国政府の陰謀)と論じていた方

- Those who have argued that global warming is an illusion (or a conspiracy by governments)

『主張を変えろ』『自己批判しろ』などと、無礼なことを申し上げている訳ではありません。

I do not mean to be rude, saying they should change their assertions or self-criticize. I want to ask them to

(1)現時点での現状の整理

(1)Organize the current status at this time

(2)当初の主張からの変更点

(2)Changes from the original claim

(3)さらなる今後の予想

(3) Further future projections

をして貰いたいだけです。

-----

『私たちは、これからも未来予測を"外し"続けていく』で良いのです。

We will continue to "miss" future predictions.

大切なのは、

What is essential is,

(A)"外した内容"の認定と、

(A) Identification of "what was missed" and

(B)"外した理由"の検討が、

(B) "Reasons for the missed" and

(C)定期的にきっちりとなされていくことである、

(C) "Reasons for the removal" are to be examined regularly,

と、私は思っています。

I believe that this is the most essential part of the process.

まあ、これが、いわゆる『エンジニアリングアプローチ』というものなのですが。

Well, this is what we call an 'engineering approach.'

電卓を叩けば恐怖が見える

2023,江端さんの忘備録

私が仕事や作業で頭を抱えていると、『江端さんなら、大丈夫ですよ』って、言われれることが多いです。

When I have my head in the sand with work or tasks, people often say, 'Ebata-san, you'll be fine.

これは、いわゆる「ご追従」というやつだと思っていたのですが、どうやら、そうでもないらしいことが分かってきました。

When I have my head in the sand with work or tasks, people often say, 'Ebata-san, you'll be fine.

-----

嫁さん:「それは、『信用されている』ということじゃないの?」

Wife: "Doesn't that mean 'trusted'?"

江端:「いや、私の『もうダメだ』という言葉を信じてくれないんだから、信用されていないんじゃないのか」

Ebata: "No, they don't trust me because they don't believe me even if I say, 'I'm screwed.'"

-----

私の『もうダメだ』を真剣に聞いて貰えないかなぁ ――

I wonder if someone can get him to take my 'I'm screwed' seriously

とか考えていたのですが、

I thought that, however,

『ああ、江端さん。確かに、そりゃダメですね』

"Oh, Mr. Ebata. Indeed, that's no good."

と、同意されたら ―― それはそれで腹立つな。

And if they agree with me, that's what pisses me off.

『"もうダメだ!"と思ったら読む本』

 

2023,江端さんの忘備録

『若手医師「100連勤・月200時間超の残業」で自殺』の件です。

The young doctor committed suicide after "working 100 consecutive hours and over 200 hours of overtime per month".

多くの人は、「自殺するくらいなら、医師を辞めればいいのに」と思われるかもしれませんが、それは違います。

Many may think, "Why don't you just quit being a doctor rather than commit suicide?" but they don't understand this issue.

そのくらいのことは、もちろん、頭の中では分かっているのです。

That much, of course, Anyone knows in their head.

ただ、精神的に追い込まれた状態の人にとっては、「医師を辞めた後」の事を考えること自体が、もう地獄のように辛いことなのです。

However, thinking about "after quitting the doctor" is already hellishly painful for those in a mentally driven state.

『未来が見えない』ということは、本当に『死ぬより怖い』ことなのです。

To be 'unable to see the future' is scarier than death.

私なんか、並行して走っている3つの仕事の全部が行き詰まって「見えなくなる」だけで、"死"に逃げたくなるほどのチキンです。

For example, I am such a chicken that when I get stuck and "lose sight" of all three parallel jobs, I want to flee to my "death."

-----

多分、これは、本人の気質や経歴にも因ると思います。

Perhaps this is due to their temperament and background.

例えば、私、ティーンエイジャの頃、生徒会長などやって、ちやほやされていたころがありました(短い期間ですが)。

For example, as a teenager, I was the student body president and was pampered (for a short period).

加えて、私は、ちょっとばかし口が上手いので、トラブルなどもサクサクと収拾て、『もしかしたら、自分には能力あるんじゃね?』などという勘違いもしていました。

In addition, I was a bit of a smooth talker so I could get out of trouble quickly. So, I had the mistaken impression that maybe I was capable.

当然ですが、私より処理能力が高くて、優秀な人は、世の中にはゴマンといます。

Of course, there are many people out there who are better and more capable than I am.

-----

私が、ティーンエイジャのころに学び損ねたと思えることが、

Something I seem to have missed learning when I was a teenager,

(1)完全に失敗して、完膚なきまでに挫折すること

(1) To complete failure and setback.

(2)そして、恥も外聞もなく逃げ出すこと

(2) And to run away without any shame.

これらを、若いころに、ちゃんとやらなかった。

These were not done correctly when I was young.

つまり『白旗の上げ方を学ぶことができなかった』の一言に尽きます。

In other words, 'I never learned how to raise the white flag.

これは、いわゆる「エリート」あるいは「優秀」と言われてきた人に、多いのではないかと推認します。

I suspect this is often the case with those called "elite" or "excellent."

-----

今、私は、抑うつ状態ですが、『白旗の上げ方(逃げ方)』について、嫁さんと話しをしています。

I am currently in a state of depression, so I am talking to my wife about 'how to raise the white flag (how to escape).''

嫁さんからは、「どんな逃げ方をしてもいい」と言われています。

My wife has told me that I can escape any way I want.

そして、念のため、私の頭の中には、複数の逃げ方のシナリオがあります。

And just in case, I have multiple escape scenarios in my head.

ただ、これだけ準備して、なお、

However, the fear and bitterness of this disease lie in the fact that even after all this preparation, I still think,

『逃げた後のことを考えなければならないなら、死んだ方がラクかな~』

"If I have to think about what happens after I escape, it would be easier to die."

と考えてしまうところに、この病気の恐しさ、苦しさがあります。

ここ2~3日は、食事を取ることすら、面倒です。