2022/10,江端さんの忘備録

―― "0"と"1"の2状態しかない『デジタル英語力』だなぁ

昨日の続きですが、同様の話がわんさか出てきました。

I continue the story of yesterday, and more similar stories came out.

嫁さんと次女は、東京五輪で受付や、案内のアルバイトをやっていました。

Both my wife and junior daughter worked part-time as receptionists and ushers at the Tokyo Olympics.

(ちなみに、当時、江端家では、このバイト期間を『五輪バブル』と称呼していました)

(Incidentally, at the time, the Ebata family referred to this part-time period as the "Olympic bubble)

-----

外国の選手は、五輪会場の受付では「英語」でしゃべりかけてきます ―― 当然ですが。

Foreign athletes will speak to them in "English" at the reception desk at the Olympic venue -- naturally.

ところが、日本の五輪会場の受付のほとんどで、英語の会話は成立していなかったようです。

However, English conversation did not seem to be established in most of the reception areas at the Japanese Olympic venues.

この事実は、マスコミさえ伝えていないようです。マスコミが隠蔽した可能性はあります(忖度で)。

This fact does not seem to have been communicated even by the media. It is possible that the media covered it up.

ただ、会場の日本人スタッフの一生懸命の『身ぶり、手振り、あるいは寄り添って案内する』というアクションは、

However, the action of the Japanese staff at the venue, who tried their best to 'gesture, or lean in to show them around, seemed to success in

―― 外国から来日したアスリート(当時、コロナで選手以外は入国できなかった)の皆さんへ、日本人の誠意を伝えること

"conveying the sincerity of the Japanese people to all athletes who came to Japan from abroad (at that time, only athletes were allowed to enter the country at Corona)."

には、成功していたようです。

まあ、「カッコ悪い」という点だけは避けられなかった、と思いますが。

Well, the "uncool" aspect was unavoidable, I guess.

-----

『日本に来た以上、何人も日本語をベースとすべきである。当たり前のように、英語でしゃべりかけてくるというのは、礼に反していると言えよう』

"When you come to Japan, you should use Japanese as your base language. It is not polite to speak to them in English as a matter of course"

と、これまで多くの日本人が語ってきたフレーズを、次女も語っていました。

The junior daughter also said the same phrase that many Japanese have said in the past.

それと、

In addition, she said

『もし、それを期待するバイトであるなら、ギャラに見合わない』

'If it's a part-time job expected in speaking English, it's not worth the paycheck.'

とも言っていました。

-----

私は、直感的に『それは違うな』と思いました。

I intuitively thought, 'That's different'.

もし、バイトの募集要項に、

If, in the description of the part-time job application,

『日常的な英会話ができて、外国人の案内に支障がない程度の英語力』

'English proficiency to the point where I can converse in everyday English and have no difficulty in guiding foreigners.'

とのフレーズが一つでも入っていたら、

would be added,

『バイトは全く集まらなかったに違いない』と、私は確信しています。

I am convinced that they must not have attracted any part-timers at all.

2022/10,江端さんの忘備録

先日、長女から仰天ストーリーを聞きました。

The other day, my senior daughter told me an amazing story.

外国のお客さんに接客をしている時に、対応に困って、

When she was serving a foreign customer, but she was in trouble and said just

"Just a moment, please (少々お待ち下さい)"

"Just a moment, please"

とだけ言って、お客さんに待ってもらっていた時に、同僚から、

and asked the customer to wait, her colleague told her

―― 『江端さん(長女)って、語学留学していたんですか?』

"Did you (senior daughter) study abroad in a language, Ebata-san?"

と、尋ねられたそうです

(ちなみに、私は、語学留学の費用を出した記憶はありません)

(By the way, she did not study abroad in a language program)

-----

私は、英語は、必要な人が、必要な場面で、必要な力量で使えれば、それで十分だと思っています。

I think that English is used by people who need it when and where they need use it, by their own skill, and it is enough

ただ、この「力量」の考え方は、TOEICのスコア的な『アナログ英語力』単位の視点です。

However the thought of skill is based on "analog English ability" like TOEIC.

比して、「汎用的なワンフレーズの英語の使用」が「海外留学」まで発想がジャンプしてしまうという英語の視点は、

In comparsion, the English perspective that "using generic one-phrase English" jumps the idea all the way to "studying abroad, is

―― "0"と"1"の2状態しかない『デジタル英語力』だなぁ

"Digital English ability" that has only two states, '0' and '1'"

などと考えていました。

I think that.

-----

坂本竜馬風に

In the style of Sakamoto Ryoma

日本の夜明けは"遠い"ぜよ! ―― と、

"The dawn of Japan is far from over!"

叫んでみたくなりました。

I wanted to shout it.

2022/10,江端さんの忘備録

『プログラミング言語「C++」は嫌われる』という内容の記事は、ちょくちょく目にします。

I often see articles that say, "The programming language 'C++' is hated".

しかし、大きな本屋に行くと、C/C++の本の数が圧倒的です。

However, if you go to a large bookstore, you can see the number of C/C++ books is overwhelming.

下手すると、プログラム言語関連の半分が、C/C++の本だったりします。

Half of the books related to programming languages are often C/C++ books.

まあ、C/C++が選ばれる理由は、「ハードウェアの性能を最大限引き出す、低レベルのインターフェース」

Well, C/C++ is chosen because of its "low-level interface that maximizes hardware performance."

であり、

and,

C/C++が嫌われる理由は、「メモリリークが引き起こす、システムダウンへの恐怖」

C/C++ is disliked because of the "fear of system downtime caused by memory leaks."

でしょう。

I think that.

ガーベージコレクションが実装されている言語は、当然のことながら、実行速度が遅くなります。

Languages in which garbage collection is implemented are naturally slower to execute.

そういう面倒なことを気にせずに、平気で実装できる乱暴さがあるからこそ、C/C++は現在も最速の言語として君臨し続けているのです。

It is precisely because of the wildness that can be implemented with impunity, without worrying about such troublesome things, that C/C++ continues to reign as the fastest language to this day.

-----

私、米国赴任中に、現地で発生していたメモリーリークの問題を、「商用ライブラリ」の中に発見して、この回避方法を見つけました。

While on assignment in the U.S., I found a workaround for this problem of memory leaks that I was experiencing locally in a "commercial library".

それをミーティングの時に発表して、メンバーから絶賛された(と思う)のを覚えています。

I remember presenting it at a meeting and receiving (I think) rave reviews from the members.

というか、『この国のエンジニアは、メモリリークを容認するのか』とビックリしたのを覚えています。

I remember being surprised that 'engineers in this country tolerate memory leaks.

ちなみに、当時の弊社では、メモリリークを起こす実装をしたエンジニアは、回りの人間から『バカ、アホ、死ね』と言われて、頭(こうべ)を垂れ続けなければなりませんでした。

Incidentally, at our company at that time, the engineer who implemented memory leak had to keep hanging his head, with hearing "you are an idiot, a moron, and should die".

-----

「GoogleはC++の仕組みを土台として、C++と互換性のあるCarbonを開発する」と聞きました。

I heard that "Google will use the C++ mechanism as a foundation to develop Carbon, which is compatible with C++."

Googleのアホー!

"Google Idiot"

そんなもんいらんわー!

"I don't want that! "

そんなもん開発するくらいなら、

Instead of developing something like that, release an extended version of C++ from the get-go! with

(1)スケーラブル軽量スレッド(goroutineのこと)、と

(1) Scalable lightweight threads (goroutine's), and

(2)チャネルを追加実装した、

(2) Additional channels are implemented

最初から拡張版のC++をリリースしろ!

と、言いたい。

I want to say that.

ちなみに、メモリリークは、『間抜けなエンジニアの証明』で、私はO.K.です。

By the way, I am O.K that "memory leaks" is 'dumb engineer proof'"

ガーベージコレクションが走ると、正確なプログラムの実行時間が分からなくなるからです。

Garbage collection is not a good idea because it makes it impossible to know the exact program execution time.

-----

まあ、どっちみち、私は、Golangを人生最後のプログラム言語とする予定なので、まあ、今からどんな言語が出てこようとも構わないのですが。

Well, anyway, I plan to make Golang the last programming language of my life, so, well, I don't care what language comes out now.

2022/10,江端さんの技術メモ

あが

Golangのファイルを分割して使いたい

の方法が上手く動かない。

$ tree
.
├── Agent
│   ├── cert.pem
│   ├── go.mod
│   ├── go.sum
│   ├── key.pem
│   └── main.go
├── join
│   ├── cert.pem
│   ├── join.exe
│   ├── join.go
│   └── key.pem
└── ldarp
    └── libdarp.go

のAgent/main.go と、join/join.goの中で、ldap/libdarp.goを使いたいんだけど、

import (
	"m/ldarp"
)

を、

import (
	"m/../ldarp"
)

とか

import (
	"m/./../ldarp"
)

とか試したみたんだけど、ダメ。

エラーコードに記載されているように、大人しく、
join.go:13:2: package m/ldarp is not in GOROOT (c:\go\src\m\ldarp)
のところに作れば動くんだろうけど、『負けたような気がする』ので、Agent/main.go と、join/join.goの中に、ldap/libdarp.goを埋めこむことで対応した。

ライブラリの二重管理になるけど、まあいいかな、と。

2022/10,江端さんの忘備録

私、常日頃から、『北朝鮮という国は、本当に外交戦略が上手いよなぁ』と感心しています ―― 但し、

I have always been impressed by the diplomatic strategy of North Korea -- except for the

私たちから見た善悪や正義や不快感に関して、全て目をつむれば、ですが。

all that is right and wrong, justified and offensive from our point of view.

で、そのことをコラムで書こうかなぁ、と嫁さんにつぶやいてみたところ、

So I tweeted to my wife that I might write a column about it, however, she said

『絶対に止めてくれ』

"Don't ever do that"

と、厳しく禁じられました。

and I am strictly forbidden.

『江端家全体の、テロの脅威が(今以上に)高まるから』だ、そうです。

The reason is that the threat of terrorism to the entire Ebata family will increase (even more than before).

-----

最近、「地政学」という言葉が、テレビでも登場するようになっているようです。

The term "geopolitics" seems to be appearing more and more on TV these days.

地政学とは、一言で言えば、「その国の立ち位置(政治体制等)は、地理的な条件で決定する」というものです。

"Geopolitics" is, in a nutshell, that a country's positions(political system, etc.) is determined by its geographical condition.

地政学がピックアップされていることは、とても良いことだと思います。

I think the popularity of "Geopolitics" is good.

先ずは、この教科を、地理や歴史に組み込んでもいいんじゃないか、と思っています。

Above all, the better way is that this subject might be embedded in into geography and history.

なぜ、そう思うかというと、

The reason is simple.

―― 国際ニュースを見ていても、あまり腹が立たなくなるから

"It makes me less angry when I watch international news"

です。

『その国がどういう立場で、その行動をしているか』が、見えてくるので、ストレスが減るのです。

It's less stressful because I can see 'where the country stands and what they are doing'.

-----

ただ、国家としては、このような「物分かりのいい国民の育成」というのは、メリットでもありますが、デメリットでもあります。

On the other hand, as a nation, this kind of "cultivation of a well-informed public" is both an advantage and a disadvantage.

守屋淳さんの、こちらの本のp.354にある

In this book, written by Jun Moriya, in p. 354,

クラウゼヴィッツの「三位一体」

Clausewitz's "Trinity"

1. 国民 = 本能担当 = 戦争の情熱や熱狂担当

1. people = in charge of instinct = in charge of passion and enthusiasm for war

2. 軍隊 = 自由な精神活動担当 = 戦争の運営担当

2. military = free spirit = in charge of running the war

3. 政府 = 知性担当 = 戦争の大枠担当

3. government = in charge of intelligence = in charge of the general framework of war

という区分で考えると、「物分かりのいい国民」は、情熱も熱狂も持たない国民となり、国家全体としては、少々困ったことになるからです。

From the viewpoint of the above classes, "a well-informed public" has less passion and enthusiasm, and this is a little "troublesome" as the whole nation.

日本国民に特化して考えれば、以下のような項目に関することです。

Thinking about Japanese people, the following issue is a sample.

―― 「核」に関してだけは、理性的でも、論理的でもある必要もなく、むしろ、激情や憤怒で対応してもよい

-----

文部科学省が、国民に、義務教育で「地政学」を課していないのは、こういう理由なのなぁ、と邪推しています。

I wonder if this is the reason why the MEXT does not require its citizens to take "geopolitics" as part of compulsory education.

2022/10,江端さんの忘備録

モノを作る技術、というのは、一種の保険であると考えており、私は、(会社の仕事はサボっても)、流行りの技術のキャッチアップだけは怠らないように努めてきました。

I believe that the art of making things is a kind of insurance policy, and I have always tried to keep up with the latest trends in technology (even if I skip company work).

で、今、これを見て、心底驚愕しています。

And now, I am truly astonished to read this.

―― 何か怖いものを見た

"I watched something scary"

という感じです。

It is like that.

-----

もっともメーカーでなくても、「技術」は必要ですが、その技術は、人間の存在を前提とする技術 ―― コミュニケーションとか、人たらしとか、セールストークとか、カリスマとか ―― がメインになるのではないか、と思うのです。

I think that even if you are not a engineer, you still need "technology," but that technology should be mainly based on the existence of human beings--communication, charisma, sales talk, charisma, and so on.

その認識自体、すでに見誤っているのでしょうか?

Is that perception itself already misguided?

例えば、私の場合、明日会社を放り出されても、『パソコンがあれば、なんとかなるだろう』という漠然(ばくぜん)とした期待があります。

For example, in my case, I have a vague expectation that even if I am thrown out of the company tomorrow, I will be able to get by with a computer.

大抵の装置であれば、マニュアル読めば動かすことができるだろう、とも思っています。

I also believe that if I read the manual, I will be able to run most machines.

これが、人間の存在を前提としない「モノを作る技術」であり「一種の保険」と思っているものです。

This is what I consider a "technology of making things" and "a kind of insurance" that does not presuppose human existence.

-----

近年は、都市設計とか、地域サービスとか、地域復興とか、モノ作りの興味が変化していっているのは知っていますが ―― だとしても、

I know that in recent years, urban design, community service, and community revitalization have been popular -- however, I think, that

『その設計した何かは、ハードウェアと、プログラムと、データベースと、スマホなしでは動き出さんぞ』

"Something you've designed doesn't start working without hardware, program, database, and smartphone."

とは、思うのです。

2022/10,江端さんの忘備録

コンピュータのリソース不足を補う為に、Windows7のままで放置してあったPCを、昨日にWindows10に移行して、docker環境を作り込んでいました。

To compensate for the lack of computer resources, I had migrated my PC, which had been left in Windows 7, to Windows 10 yesterday to create a docker environment.

嫁さんの中では、『私が自分のプログラムの為だけにローカルに作った実験用の小規模データベース』は、データベースに含まれていないようです ――

dockerのイメージだけを、リモートに送り込む等、夜遅くまで、色々試していたのですが、データベース丸ごとをイメージにするのは難しく、docker export/import/save/load 全部を試した挙げく、

I was up late at night trying various methods, such as sending docker images to a remote location, but it was difficult to create an image of the entire database, and after trying docker export/import/save/load everything,

―― コンテンツ本体を、手動でUSBメモリにコピーして、現在、DB再構築の真っ最中

"Manually copied the content itself to a USB memory stick, currently in the middle of rebuilding the DB"

という体らくです。まあ、一人で作っているプログラムなので構わないのですが。

Well, I don't mind, since it is a program that I am making alone.

私としては、管理するPCは、あまり増やしたくないのですが、仕方ありません。

As for me, I don't want to add too many PCs to be managed, however I have no choice.

データベースの過負荷でシミュレーションが止ってしまうのを、放置し続ける訳にもいきませんから。

I cannot leave the simulator stopped due to database overload.

-----

私、100円のアイスクリームと、200円のアイスクリームを購入で、余裕で3分間は悩むことができます。

I need three minutes to annoy to choose between getting 100 yen or 200 yen icecream.

しかし、30万円のゲーミングPCを、自分のシミュレータを動かす為に購入することに関しては、あまり悩みません。

However, I wouldn't worry too much about buying a $300,000 gaming PC to run my simulator.

なにしろ、苦学生していたころ、定価85万円のパソコンを、「現金」で購入していたくらいです。

When I was a struggling student, I had purchased a computer with a list price of 850,000 yen with cash.

-----

『高スペックな計算機を追い求める』ことは、エンジニアにとっての「呪い」のようなものです。

The "pursuit of high-specification computer" is like a "curse" for engineers.

これまで何度も書いていますが、当時85万円のPCは、現在の5000円のボードコンピュータに勝てません(というか、その当時の、スパコンにも勝てません)

As I have written many times in the past, an 850,000 yen PC (a supercomputer too) at that time cannot beat even a 5,000 yen board computer today.

常識のあるエンジニア&研究員は、「スペック」に踊らされてはならないのです。

Engineers & researchers with common sense should not dance around the "spec.".

この本の題目(内容)は、私の生き方とは相容れませんが、

Although the subject (content) of this book is incompatible with my way of life

『置かれた環境で、計算しなさい』

"Do the math in your environment"

と読み替えるのであれば、正しい示唆だと思います。

If it is to be read this way, I think it is a correct suggestion.

2022/10,江端さんの忘備録

先日リリースされたコラムで、

In my column which is released yesterday, I wrote

―― 私が教祖になるには、まず、私が「天啓」を受けている、というストーリーが必要です

"To become a guru, I must first have a story that I am "enlightened"!"

と書きました。

日常生活においても、過激なダイエット等で、比較的簡単に「天啓」を得ることができることは事実です。

It is true that it is relatively easy to obtain "revelations" in daily life, e.g., through extreme dieting.

それは、私の体を張ったダイエットで、実証済みです。

This has been proven by my own physical diet.

加えて、実際に、私、これまで、何度も神を降ろしています(本当)。

In addition, I have, in fact, brought God down many times (really).

(↑のクリックで記事に飛びます)

(↑click to jump to the article)

つまり、世界三大宗教を含め、経典に記載されている「教祖の天啓」ってやつは、かなり「眉唾(まゆつば)もの」である、ということです。

In other words, the "revelations of founder of religion" in the scriptures, including those of the world's three major religions, are quite 'dubious tale'.

-----

ちなみに、私の宗教勧誘の撃退方法の一つに、

Incidentally, one of my methods of repelling religious solicitations is to

『あなた、神様を見たことがあるの? 私はあるよ。2000年9月11日、米国ユタ州の国立公園の巨大な砂岩のアーチの下で。クリアに見えたよ』

"Have you ever seen God? I have, on September 11, 2000, under a huge sandstone arch in a national park in Utah, USA. I saw them clear."

『あなた、神様の声を聞いたり、姿を見たりしたことあるの? え? ないの? ないのに"この私"に布教をしているの?』

"Have you ever heard or seen God? What? No? And you're proselytizing to me?"

『ちょっと思い上がってんじゃないのかなぁ』

"I think you are a little presumptuous are't you?"

と、「格の違いを見せつける」というメソッドがあります。

is a method to 'show the difference in class'.

2022/09,江端さんの忘備録

本日は、コラムがリリースされた日なので、日記はお休みです。

Today, new my column is released, so I take a day off.

「お金に愛されないエンジニア」のための新行動論(7)

老後を生き残る戦略として「教祖(仮)」になってみた

"A New Theory of Action for Engineers Who Are Not Loved by Money(7)"

I became a "guru (temporary)" as a strategy to survive in old age

-----

ぶっちゃけて言いますが、前回のコラムは、あまり好評ではなかったようです ―― Twitterとランク(順位)からの、私の、主観的な見解ですが。

Frankly speaking, the last column was not very well accepted -- from my viewpoint based on Twitter or rankings.

修正もしましたが、かなり力(リキ)を入れて書いたので、正直ガッカリしました。

I made some revisions, but to be honest, I was disappointed because I put a lot of effort into writing it.

-----

後輩:「江端さん。それ、多分、世代の違いですよ」

Junior: "Ebata-san. That's probably a generational gap"

江端:「?」

Ebata: "?"

後輩:「私たちの世代は、"カルト宗教"は本当に危険な存在として、認識されていましたよね ―― 統一教会、創価学会、オウム、幸福の科学、エホバの証人・・・。これらの存在を知らない大学生はいませんでしたし、世間も一定の知識がありました」

Junior: "In our generation, "cults" were recognized as really dangerous -- Unification Church, Soka Gakkai, Aum, Happy Science, Jehovah's Witnesses... There was no college student who didn't know about them, and the public had a certain level of knowledge about them. There wasn't a college student who didn't know these things existed, and the public had a certain amount of knowledge about them.

江端:「うん。そう思う。以前、ニュースで自民党・福田達夫総務会長が『(元・統一教会の)何が問題かわからない』との発言をしているのを見たけど、思わず、『あんた、これまで、一体何を学んできたんだ?』と、思わずテレビに向かって、説教してしまったよ」

Ebata: "Yes. I think so. I saw LDP General Affairs Chairman Tatsuo Fukuda on the news once saying, 'I don't know what the problem (about the Unification Church) is,' and I involuntarily lectured him on TV, saying, 'What the hell have you learned so far?' "

後輩:「・・・あの自民党の議員、本当に『分かっていなかった』のかもしれませんよ」

Junior: "...that LDP member, maybe he really 'didn't get it'."

江端:「ええ! いくらなんでもそれは"ない"だろう。そんな国会議員が我が国に存在するか?」

Ebata: "Yes! That's "no" in any case. Is there such a member of parliament in our country?"

後輩:「知識くらいはあったかもしれませんが、そのインパクト(霊感商法や過剰献金などの反社会的活動)を、肌で感じとっていない、という可能性はあります」

Junior: "It is possible that he had at least some knowledge, but he did not feel the impact (anti-social activities such as psychic sales and excessive donations) firsthand.

江端:「そうなの? 私が大学キャンパスを歩いている時は、『油断していれば、やられる』という緊張感が常にあったように思うけどなぁ」

Ebata: "Really? When I was walking around college campuses, there always seemed to be a sense of tension that if I wasn't careful, I would get hit."

後輩:「あと、カルト宗教側のアクティビティが低下している可能性もあります」

Junior: "Also, it's possible that activity on the cult side is declining."

江端:「というと?」

Ebata: "What do you mean?"

後輩:「信徒勧誘アプローチに改良が加えられていない ―― 既存のメソッドを使い回しているだけで、アプローチの改良をしていない、ということです。で、カルト宗教側も、ジリ貧のまま消滅に向かっている、と」

Junior: "There has been no improvement in the congregational recruitment approach -- they are just using existing methods and not improving their approach. And so the cult side is on the verge of extinction"

江端:「消滅に向かっているなら、めでたいことだけど・・・、私がコラムの中で提案している『ワンオペ布教』とか、取り得るアプローチは、まだ色々あるだろう?」

Ebata: "If it's on its way to extinction, that's great... but there are still a lot of approaches that could be taken, like the 'one-op missionary' that I proposed in my column, right?"

後輩:「そういう'ITリテラシーを持った人間を信徒にできないことも、カルト宗教団体の問題なんじゃないですかね」

Junior: "I think the problem with cult groups is that they can't make such 'IT literate' people into believers."

江端:「なるほど。『宗教』と『IT』は、とことん相性悪そうだもんなぁ・・・」

Ebata: "I see. Religion and IT don't seem to go well together..."

-----

今回のコラムでも、皆さんの「カルト宗教への関心」を観測していきたいと思います。

Now, in this column, I would like to look at your "interest in cults".

なお、前回のコラムの修正前版も、個人的にリリースしていますので、興味のある方はご連絡下さい。

Please note that I am also personally releasing an unmodified version of my previous column to anyone who is interested.

―― 『とある宗教団体』を直撃する内容

2022/09,江端さんの忘備録

先日、証明写真機(スピード写真)で、写真を取ってきました。

The other day, I took a photo from a photo machine (speed photo).

人生で初めて、『メガネ(老眼鏡)』をかけて写真撮影をしました。

For the first time in my life, I wore "glasses (reading glasses)" to take pictures.

―― メガネをつけると、目付きの悪さが緩和される

"Wearing glasses eases my unpleasant look"

という、事実を発見したからです。

I noticed that.

以前、パスポート更新用にとった写真を見て、ぞっとしました。

I was horrified when I saw the photo for my passport renewal.

もし、私が事故や事件に巻き込まれた時、この写真がニュースに出たら、ニュースの内容を確認されないまま、「加害者」「犯人」であると決めつけられる、と思いました。

I thought that if I were involved in an accident or incident and this photo appeared on the news, I would be assumed to be the "perpetrator" or "culprit" without having the news story confirmed.

-----

「国葬」の日、私は、終日、自宅に閉じ籠って仕事していました。

On the day of the "State Funeral," I spent the entire day confined to my home and worked.

―― 私、結構な頻度で、『職務質問』されるんですけど、良い対策方法ってありますか?