2020/06,江端さんの忘備録

(昨日の続きです)

(Continuation from yesterday)

私の基本スタンスは、「やられたら、やりかえせ」であり、「江戸の敵を、長崎のみならず、世界中どこでもで討つ」であり、「後ろから背中を撃ってきた奴の背中をさらに撃つ」です。

My basic stance is "If you get hit, hit back", "I will take on the enemies of Edo, not only in Nagasaki, but anywhere in the world", and "I will shoot him in the back after he shoots me in the back".

この最低のポリシーは、「報復の無限連鎖」を導くだけのようにも見えますが、実は結構な「自分への抑制力」にもなっているのです。

This lousy policy may seem to only lead to an "endless chain of retaliation," but it's actually quite a bit of "restraint on myself" as well.

(1)私のような考え方をする人間は、少なくないはずだ

(1) There must be more than a few people who think like me.

(2)恨みを買うような批判の仕方をすると、どこでどんな報復されるか分かったもんじゃない

(2) If I criticize people in a way that causes resentment, I don't know where I am going to get retribution.

(3)故に、当時の状況や社会通念、相手の心象風景を可能な限り探り、最大限の配慮をした上で、ロジカルに、証拠(数値等)をつけて批判を行う

(3) Therefore, I should explore the circumstances and social conventions of the time and the mental picture of the other person, as much as I can. criticize people with the utmost care, logically and with evidence (numbers, etc.).

つまり、自分の中の「夜叉」を上手く使うことで、上手い(狡猾な)批判をするモチベーションが作れるのです。

In other words, I can create motivation to be a good (and cunning) critic by using the "demon" in you well.

-----

私は、批判されると、その内容が正当であろうが不当であろうが、不愉快に感じて、直ちに戦闘体制に入る、かなり「最低な人間」です。

I'm a pretty "lousy person", whenever I'm criticized I feel uncomfortable and immediately go into combat mode even if the criticism is right.

しかし、その「最低」を究(きわ)めることによって、逆に得られるものもあるのです。

However, there is something to be gained by getting to the bottom of that "minimum".

私は、無理して「いいひと」を目指しません ―― そもそも、私、そういう努力はできません。

I'm not going to force myself to be a good person -- To begin with, I can't make the effort like that.

私は、クレバーでロジカルでクールな「最低な人間」を目指し、これからも「後ろから背中を撃ってきた奴の背中をさらに撃つ」を続けます。

I will continue to be a clever, logical, cool "lousy person" and continue to "shoot the guy in the back who shot me in the back some".

2020/06,江端さんの忘備録

最近、新型感染ウイルスに対する、具体的な対応を提唱し実施した人物を、結果から批判する記事やコメントが目立ちます。

Recently, there have been a number of articles and comments criticizing those who have advocated and implemented a specific response to the new virus.

これらの記事やコメントは ――

In response to these articles and comments,

『燃えさかる家屋の前から逃げ去った奴が、その後、現場検証の時、消火の手順に難癖を付けるような』 ―― すさまじい下品さを感じます。

A person who ran away from a burning house, says "difficulty with firefighting procedures" during a subsequent site inspection. I feel that it's tremendously vulgar.

―― 全てが終った後で、安全なところから、闘ってきた人の背中を撃つ

"Shooting someone who has fought back from a safe distance, after everything is done"

まさに、これです。

This is exactly it.

-----

まあ、私も、自分で言うのもなんですが、「燃えさかる家屋の前に、無理矢理押し出されたこと」があり、同じように「何とか鎮火した挙句に、難癖を付けられた」という経験があります。

Well, in my experiments, I was once forced out in front of a burning house. And I've had the same experience of "I've managed to put out the fire, and after that I've had a difficult time with it".

私は、こういう「後ろから背中を撃ってきた」人物を、生涯、絶対に許さないことに決めています。

I am determined to never forgive these "shoot me in the back" people for the rest of my life.

もちろん、私は、社会人ですから(そして、若いころは劇団員でしたから)、日常生活での「外面似菩薩、内心如夜叉(げめんじぼさつ、ないしんにょやしゃ)」は、徹底しています。

Of course, I'm a working man (and I was a theatergoer in my youth),so in daily life, "Fair face, foul heart" is a thoroughgoing practice.

-----

ただ、これらが、「背中を撃つ」行為であるとしても、全ての批判を全て止めてしまっては、物事を良くしてくことができないことは事実です。

However, it's also true that even if these are "shots in the back" acts, you can't make things better if you stop all the criticism.

私のコラムなんぞ、他者への批判が全体の半分を占めていると思います。

According to my columns, I think criticism of others makes up half of the content.

つまり「闘ってきた人の背中を撃つ」ことをしてきたのは、他の誰でもないこの私です。

In other words, it is me who "shoots people in the back who have been fighting".

しかし、私は「他者の批判を行っている者(私)は、他者からの批判を甘受しなければならない」 などとは、1mmも思っていないのですよ。

But I don't believe at all that "those who are criticizing others (me) must indulge in criticism from others".

(続く)

(To be continued)

2020/06,江端さんの忘備録

在宅勤務が続き、昼飯は自宅で自炊しています。

I continue to work at home and cook my own lunch at home.

ここのところ、家族全員が自宅にいることが多くなり、夕食を一緒に食べる機会がぐっと増えました。

These days the whole family is home more and more often, and we have much more opportunities to eat dinner together.

しかし、昼飯については、各自が自分の好きな時間に、好きなものを作って食べています。

However, as for lunch, each of us cook and eat what we want at our own time.

どうしても簡単な麺類になってしまうのですが、これもずっと続くと、さすがに飽きてきます。

It's inevitably going to be a simple noodle dish, and I get bored indeed.

-----

江端家では、ストックされている非常食の中で、賞味期限が経過したものを、嫁さんが、籠にいれてキッチンに置くようにしています。

In the Ebata's house, my wife put the stocked emergency foods, which are past their expiration date into baskets and place them in the kitchen.

家族は、そこから好きなものを取り出して食べていますが、こちらも保存食の性質上、レトルトの食材になります。

My family takes what they want out of it and eats it. Due to the nature of preserved foods, they are retort foods.

レトルトと言えば、カレーライスでしょう。

Speaking of retorts, curry and rice would be the best.

私がカレーをカレールーから作ると、私以外の家族が食することができない激辛カレーになります。

When I make a curry from a curry roux, it's a very hot curry that no other family member can eat except me.

しかし、レトルトカレーは、私に言わせれば、全く「辛くない」。

However, for me, the retort curry is not "spicy" at all.

-----

で、まあ、レトルトカレーを自分流にアレンジしています。

And, well, I have my own take on retort curry.

フライパンに、唐辛子とニンニクを刻んだものを入れて軽く炒めた後、そこに100g程度の鶏肉とナスを一口大に切って投入。

In a frying pan, lightly fry the chilies and chopped garlic, then add about 100g of Cut the chicken and eggplant into bite-sized pieces and throw them in.

鶏肉に火が通ったら、レトルトカレーをぶちまけて具とからませた後、ホウレンソウを手で千切って、しんなりとなるまで炒めて、

最後に、ババロネソースを投入して完成です。

After the chicken is cooked, pour the retort curry on it and mix it with the ingredients, cut the spinach into strips by hand and fry it until it becomes soft, and finally, throw in the Bavarone sauce.

まあ、それでも、レトルトカレーの域を出ることはないのですが ―― 結構、いけます。

Well, still, it's never out of the range of retort curry -- it's pretty good.

在宅勤務で、昼飯がマンネリになっている人は、一度お試し下さい。

If you work at home and are in a lunch rut, give it a try.

マリーシャープス ハバネロソース HOT 148ml

2020/06,江端さんの忘備録

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

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

踊るバズワード ~Behind the Buzzword(3)量子コンピュータ(3):

量子ビットを初期化する ~さあ、0猫と1猫を動かそう

Dancing Buzzword-Behind the Buzzword (3) Quantum Computer (3)

Initializing the Quantum Bit - Now let's move the 0cat and 1cat!

-----

いずれ、娘たちが、我が家を去る時がくるはずです ―― 就職か、結婚か、あるいは別の理由かは分かりませんが。

The time is coming when our daughters will leave our home -- whether it's for a job, marriage, or some other reason. I don't know.

子どもは、親を踏み台として、親を見捨てて、親と逆の方向に向かって、跳ばなければなりません。

The children must leap in the opposite direction of the parent, abandoning the parent as a stepping stone.

親は、子どもが飛翔する為のエネルギーとして、使い尽されることで、その任を終えるのです。

Parents finish their charge by being used up as energy for their children to fly.

私が、同じように親を踏み台としてきたように。

Just as I have used my parents as a stepping stone in the same way.

―― とまあ、それはさておき。

Aside from that.

-----

長女と次女がいなくなった後、我が家には、結構なスペースが生じます。

After my senior and junior daughter are gone, our house will have quite a bit of space.

子ども部屋を2つ壁をぶち抜いたら、そこに「量子コンピュータ」を設置できるかな、とか考えています。

I'm wondering if I could set up a "quantum computer" in the children's room if I busted out the wall.

取り敢えず、スペースとしては。

For now, as for space.

2020/06,江端さんの技術メモ

(昨日の続きです)

(Continuation from yesterday)

COCOAのセキュリティや個人情報の流出が心配なら、いっそのこと Contributorとして参加させて貰えばいいかな、と思いつきました。

If I am worried about COCOA's security and the release of your personal information, I came up with the idea that I might as well go to Contributor.

まあ、ソースコード開発は無理としても、テスターくらいなら役に立つかもしれません。

Well, even if I can't do source code development, it might be useful, at least for testers.

とは言え、もうリリースされているし、今後バージョンアップでもない限り、私がでしゃばる場面はないかもしれません。

However, it's already released, and unless it's an upgrade in the future, there may not be a situation where I'm going to be stuck with it.

まだソースコードをちゃんと読んでいる訳ではないのですが、オープンソースとして公開されているという時点で、「個人情報が抜かれる」とか「政府に監視される」とかをチェックするのが面倒くさくなってきたのです。

I haven't read the source code properly yet, but I am tired of checking for "personal information being pulled out" or "government surveillance" just because it's published as open source.

これは、「テスト前に、人のノートのコピーを取っただけで安心してしまう」という、あの心理に似ています。

This is similar to a peace of mind of "just getting a copy of someone's notes before a test".

そもそも、私は、オープンソースの開発者は信じることができきます(これは理屈ではありません)。

To begin with, I can believe (not in theory) that open source developers are believable.

それと、政府首脳の、あの絶望的なITリテラシーを見ている限り、

And, as far as the heads of government are concerned, that hopeless IT literacy, I have a tremendous amount of trust in the government that

『現政府に、ITを使った陰謀を企てられるほどの知性も度胸もない』

"The current government lacks the intelligence and nerve to pull off an IT conspiracy"

という、政府に対する絶大な信頼があります。

最近、巷で騒がれている元大臣の選挙違反事件についても、そのIT情報の取り扱い(証拠隠滅)は、酷いものです。

According to the election fraud case of a former minister, their handling of IT information (destruction of evidence) is terrible.

地検によってパソコンから証拠のデータを復元させられるなど ―― 私なら、その事実で、恥かしくて転げ回りそうです。

"The district attorney's office can have evidence recovered from your computer"、If I were him, I would be so embarrassed with crying.

-----

COCOAのインストールは個人の自由ですが、私はインストールをお勧めしたいと思います。

Installing COCOA is a personal choice, but I would recommend that you install it.

特に、接客業の人には、感染リスクを見える化できる、という点で、働き方の工夫へのモチベーションが上がると思います。

Particularly for those in the hospitality industry, I believe that the ability to visualize the risk of infection will increase motivation to devise new ways of working.

また、通勤通学での電車やバスを利用する人などは、「やっぱりラッシュ時の乗車は怖いんだなぁ」と怖い思いをすることで、時差出勤や、在宅勤務や、あるいは、自転車やバイクを使った通勤などの検討のきっかけになるかもしれません。

Also, people who use trains and buses to commute to work or school can be afraid of riding at rush hour. This may lead you to consider staggered work, telecommuting, or even biking or biking to work.

加えて、長期間の多くの人の利用によって「これはヤバい」「これはヤバくない」が、ハッキリとしてくるかもしれません。

In addition, the use of many people over a long period of time may make it clear that "this is bad" or "this is not bad".

なにより、PCR検査や抗体検査ほどに面倒ではない、という点がいいです(インストールするだけです)。

The best part is that it's not as cumbersome as PCR or antibody testing (just install it).

-----

もし、私から陽性反応が出るようなことがあれば、即座に登録します。

If I get a positive reaction from me, I will register it immediately.

もちろん、「市民としての義務と貢献」という観点もあります。

Of course, there is also the perspective of "civic duty and contribution".

加えて、「エンジニアとしての義務と興味」という気持ちもあります。

In addition, there is a feeling of "duty and interest as an engineer".

部屋に閉じ込もっている2週間の間、私のスマホから出ている通信メッセージのハックを続ける予定です。

During the two weeks I'm locked in my room, I will continue to hack the communication messages coming out of my phone.

2020/06,江端さんの忘備録

先日、新型コロナウイルス接触確認アプリ(COCOA)についての誤った情報を展開してしまいました(元記事にて誤記を明示しました)。

Recently, I deployed misinformation about the new Coronavirus Contact Confirmation App (COCOA) and (I clarified the error in the original article).

以下は、その後、私が調べた(正しいと思われる)情報です。

Here's what I've found out after (which I believe to be correct)

(1)ソースコードは、ここにあるようです。

(1) The source code seems to be here.

(2)Mozilla Public License Version 2.0でライセンスされているようです。

(2) Licensed under the Mozilla Public License Version 2.0

(3)C#で開発されている?

(3) Is it developed in C#?

スマホアプリをC言語系で開発しているとはかなり意外でした。もちろん、私にとっては、C言語は歓迎なのですが。

I was quite surprised to see that they are developing a smartphone app in the "C" language system. Of course, for me, C is a welcome addition.

サーバシステム・・・という訳でもないよなぁ。そもそもCOCOAは、ネイティブなスマホアプリだし。

The server system... is notreally. COCOA is a native smartphone app, to begin with.

(4)悪意(イタズラ)の感染者登録はできそうにない

(4) It's unlikely to register as a malicious (prank) infected person.

保健所から付与されるID番号を入れないと、感染者登録されないようです。

If you don't put in the ID number given by the health department, you will not be registered as an infected person.

デタラメな番号いれても「登録されました」と表示されるけど、実際には登録されません。

Even if you put in a bullshit number, it will say "registered", but it won't actually register.

(5)14日後に感染者登録情報は消滅

(5) After 14 days, the information on the infected person's registration will disappear.

14日後は、感染者として取り扱われなくなります。現実に即しています。

After 14 days, you will no longer be treated as an infected person. It is a reality.

(6)感染情報は、機器(スマホ)の固体番号とは紐付いていない

(6) Infection information is not tied to the solid number of the device (smartphone).

アプリのハックでは、感染者の特定は無理でしょう。

The app hack will not be able to identify the infected people.

私なら、Public Address(EthernetのMACアドレスのような)のハックができるかもしれませんが、そこから機種を探しだし、個人に至るのは、無理だと分かります

I might be able to hack the Public Address (like Ethernet MAC address), however, I think that it's impossible to find a model and get to a personal identification.

どのくらい不可能かというと、自分の側にいる人の一人一人に「すみませんがスマホ貸して下さい」頼んで、無線アナライザで解析作業をする、というくらいの面倒くさい作業が必要です。

How impossible can it be? It requires a lot of annoying works, like, asking each person on your side of the line, and saying "Excuse me, can I borrow your phone?" and work on the analysis with the radio analyzer.

仮に、それを強行したとしても、普通はスマホが自動生成するRandomアドレスを使うので、固定のPublic Addressを読みとることは、できないだろうと思います。

Even if you were to force it, I don't think it would be possible to read a fixed Public Address, because it would normally use the Random Address that your phone automatically generates.

「セキュリティが万全」というよりは、「ハックするコストが全然見合わない」という感じです。

It's not "full security," but "no worth to hack it"

(続く)

(To be continued)

2020/06,江端さんの技術メモ

* [Dockerのあれこれを断捨離する](https://qiita.com/ksato9700/items/b0075dc54dfffc64b999)
* [dockerでいらないimage,container,networkを一括削除する](https://qiita.com/mom0tomo/items/911b92cc18871f52a2a0)

2020/06,江端さんの技術メモ

コンテナを一括削除する

$ docker ps -aq | xargs docker rm

イメージを一括削除する

$ docker images -aq | xargs docker rmi

2020/06,未分類,江端さんの技術メモ

「COCOAが「まもりあいJapan」のコードをベースにしている」という誤記を記載して、現在、COCOAのコードを探していましたが、どうやら、https://github.com/Covid-19Radar/Covid19Radar がソースコードの場所のようです。

現在、パッケージ一式をダウンロードして、読んでいます。

2020/06,江端さんの忘備録

ここを↓をご参照下さい

ここから↓は無視して下さい。

「新型コロナウイルス接触確認アプリ(COCOA) COVID-19 Contact-Confirming Application のソースコード(?)のざっくりレビュー」

I wrote the review of the sorce codes(?) of "COCOA: COVID-19 Contact Confirming Application"

を書いてみました。

興味のある方は、御一読下さい。

If you are interested in that, please read on.

========追記===========

Wikipediaによりますと、

まもりあいJapanとは、新型コロナウイルス感染症(COVID-19)において陽性患者と濃厚接触した恐れのある人に通知を送るアプリとしてコード・フォー・ジャパンが開発し、Github上に公開したもの。2020年5月8日に厚生労働省が「新型コロナウイルス陽性判定者との濃厚接触ほか各種関連情報を迅速に通知するスマートフォンアプリ」を公式に導入することを決定し、これを受けて開発を取りやめた

となっなっており、以下の「まもりあいJAPAN」のコードと同じか、ベースとしている という、以下の記事は間違っております。訂正してお詫び申し上げます。

記事は、私の記録の為に残しますが、取扱にはご注意下さい。

========追記ここまで===========