2023,江端さんの技術メモ

Keyword: VScode vscode 図面 draw.io  drawio

 

毎年1本は、Officeを使って特許明細書を書かなければなりませんが、パワーポイントは、フローチャートやシーケンス図の作成にはあまり向いていません。はっきり言えば使い難い。

*.drawioで提出できればいいのだけど、それでは、私の図面を修正する人が困ってしまうので、最終的には*.ppt/pptx形式にしなければなりませんが、このコンバートの相性がどうも今一つ。

今、ちょっとテストしていたのですが、一応、以下でできるようですが、文字が出てこなかったりとか完璧な対応は難しいようです。

1.svg形式で保存して、emfファイルに変換 (私は、https://convertio.co/ja/を使ってみた)
2. Officeに「拡張メタファイル」で貼り付け
3. グループ解除

(参考:SVGファイルをPowerPointで編集できる図形として読み込むには?)

Drawio. integration がエクスポート/コンバートに、ppt/pptx形式をサポートしてくれれば嬉しいんだけど、ないものねだりをしても仕方ありません。

どなたか、「何を言っとるんだ? これで簡単にでできるだろう?」とアドバイスして頂ける方。お助け下さい。→ メールアドレス

2023,江端さんの忘備録

―― もし、土方歳三や榎本武揚が、維新戦争で、北海道国の樹立に成功していたら

昨日の続きです。

高校の時に、友人にこんなことを言われました。

When I was in high school, a friend told me this.

―― ソビエト連邦が、日本を侵略してきたとして、俺たち、何か困るかな?

"If the Soviet Union invaded Japan, would we be in trouble?"

と。

当時の社会主義国であるソビエト連邦は、(建前として)個人財産の所有を禁止して、全ての財産を国有化していました。

The Soviet Union, a socialist country at the time, nationalized all property, forbidding (Officially) the ownership of personal property.

彼が言うには、『私有財産もない我々庶民にとって、支配するのが、ソビエト連邦であろうが、日本国政府であろうが、どっちでもよくないか?』と。

He said, "For us common people who have no private property, doesn't it matter whether it is the Soviet Union or the Japanese government that rules?"

もっとも、ソビエト型社会主義は、色々な思想統制や表現の自由、個人資産の禁止など、うっとうしいことはたくさんあるかもしれないけど、それでも、『自分の家を燃やされて、家族や自分を殺害されるよりは、マシとちゃうか?』と。

But, while Soviet-style socialism may have a lot of annoying things like thought control, freedom of expression, prohibition of personal property, etc., it is still "better than having your house burned down and having your family and yourself murdered, isn't it?"

その時の私は、『なるほど、それはそうかも』と思ったのを、覚えています。

I remember thinking then, 'I see, that may be true.

-----

50年後の私の考えは、以下の通りです。

Here are my thoughts after 50 years.

―― 徹底抗戦

"It is a thorough fight."

なぜ、このように私が変化したかというと、一言で言うと『面倒くさい』からです。

The reason why I have changed in this way is, in a word, because it is 'troublesome.'

これから新しい社会システムを受けいれていく苦痛を考えると、ゾっとするからです。

I cringe when considering the pain of accepting the new social system.

私、パソコンのOSを変えたり、OfficeのUIが変わるだけでも、死ぬほど憂鬱(ゆううつ)になるのに、この年齢になって、今さら、社会システム(司法、行政、立法)の総入れ替えなんぞ、本当に『冗談ではない』。

I get depressed to death just by changing the OS of my computer or the UI of Office, and now, at my age, to have to replace the entire social system (judicial, administrative, and legislative) is really "no joke."

これが、コンサバティブ(保守)というものです。

This is what we call conservatism.

一言で言えば「どんな変化も反対」です。

In a word, they are "absolutely against any change.

-----

『江端は、LGBTとか同性婚は、積極的に支持しているじゃないか?』と疑問に思われる方がいるかもしれませんが、その理由は明快です。

'Ebata, you actively support LGBT and same-sex marriage, don't you?' The reason for this is apparent.

LGBTとか同性婚について、私(江端)には不利益が1mmもないからです

Because I (Ebata) don't have 1mm of disadvantage about LGBT or gay marriage

不幸な人を減らしていく仕組みに、なんでわざわざ反対しなければならないの? 暇なの? バカなの? と尋ねたくなるくらいです。

Why should I oppose a system that reduces the number of unhappy people? Are you bored? Are you stupid? I am tempted to ask.

しかし、社会システムの根幹を揺がすような大きな変化は、私は認容できないのです。

However, I cannot approve of significant changes that shake the very foundations of our social system.

「戦う」のは面倒だけど、「新しい社会への適応」も面倒 ―― どっちも面倒なら、(余命年齢も考慮して)『現状維持バイアス』が勝ちます。

"Fighting" is troublesome, but so is "adapting to a new society" -- if both are troublesome, then (considering life expectancy age) the "status quo bias" wins.

-----

以前、私、愛国心なんぞなくても、『腹が立つ』だけで十分戦える、と書きました。

I have written that "being angry" is enough to fight without patriotism.

NHK BS1スペシャル『ウクライナ大統領府 軍事侵攻・緊迫の72時間 完全版』を、嫁さんと3日がかりで見ました。

これに加えて、『面倒くさい』も、私を戦わせる十分な理由になるなぁ、と思っています。

In addition, I think 'it's too much trouble' is a good enough reason to make me fight.

それはさておき。

That aside.

-----

台湾の政府は、公式には『中国からの独立』などとは"言って"いないはずです。

The Taiwanese government has never officially said anything about "independence from China."

台湾の人々は、中国の強権的な一党独裁政策を押しつけられるのが、嫌なだけです。

The people of Taiwan do not want to have China's authoritarian one-party dictatorship policy imposed on them.

中国本土が、台湾風の民主主義政策を取るなら、台湾は喜んで中国の一部として参入するんじゃないかと、私は勝手に思っています。

If mainland China adopted a Taiwanese-style democratic policy, Taiwan would gladly be a part of China.

しかし、香港、チベット、ウイグルの様子を見ている限り、台湾の人々が『ちょっと今の中国共産党と一緒にやっていくのは無理。あと100年くらい様子を見させて』と思ってしまうのは、仕方がないことだと思います。

But -- as far as Hong Kong, Tibet, and Uyghur are concerned, the people of Taiwan are thinking, 'Hey, we can't work with the current CCP. Let me see how it goes for another 100 years or so.

2023,江端さんの忘備録

私がティーンエイジャだったころ、東西冷戦は現実的な恐怖でした。

When I was a teenager, the Cold War was a realistic fear.

核ミサイルの到来や、ソビエト軍(×ロシア軍)の北海道上陸は、現実味のある話でした。

The arrival of nuclear missiles and the landing of Soviet (x Russian) troops in Hokkaido was a real possibility.

一方、中国の台湾侵攻など、考えたこともありませんでした。

On the other hand, I had never thought about a Chinese invasion of Taiwan.

当時の中国は、本当に貧しかったのです(今となっては、信じられないかもしれませんが)。

China was poor then (believe it or not, now).

私を含めて、

Including me,

―― 50年後に、北海道ではなく、キーウに侵攻する

"50 years later, Kyiv has been invaded, not Hokkaido."

という未来は、50年前の人間には、1ミリも想像できなかったことです。

Such a future was unimaginable to anyone 50 years ago.

そもそも、ウクライナは、ソビエト連邦の構成国の一つでしたし。

To begin with, Ukraine was one of the constituent states of the Soviet Union.

ウクライナのソビエト連邦からの独立(1991年)というのは、日本から北海道が『北海道国』として独立するようなイメージで把握できます。

Ukraine's independence from the Soviet Union (1991) can be grasped in the same way that Hokkaido became independent from Japan as "Hokkaido koku."

-----

私は、以前、娘たちに、

I once told my daughters about Ukraine and Taiwan using a paradigm,

―― もし、土方歳三や榎本武揚が、維新戦争で、北海道国の樹立に成功していたら

"If Hijikata Toshizo and Enomoto Takeaki had succeeded in establishing the nation of Hokkaido in the Restoration War,"

というパラダイムを使って、ウクライナや台湾の話をしたことがあるのですが、まったく通じませんでした。

However, they did not understand me at all.

これは、『るろうに剣心』の北海道編をアニメ化していない為だと思っています。

I think that the Hokkaido version of "Rurouni Kenshin" has not been animated.

(あるいは、『ゴールデンカムイ』の幕末編、とか)

(Or the Bakumatsu version of "Golden Kamuy," for example.)

―― 『ジジイが、余裕かました目線で、エラそうに、好きなこと語っているんじゃねーよ』

2023,江端さんの忘備録

日本共産党について、私が最初に手にしたのは、この本ですね(超有名)。

The first book I got about the JCP was this one (very famous).

大学時代に住んでいた自治寮の政治的立ち位置が、民青(民主青年同盟)と対立していたらしいのですが、当時も今も、その背景を理解できていません。

I heard that the political position of the self-governing dormitory where I lived during my college days was at odds with the Minsei (Democratic Youth League). Still, I did not understand the background then or know it now.

私は、寮に『寄生していただけ』の学生だったからです。

I was just a 'parasite' student in the dorm.

というか、はっきりいって工学部の学生やりながら、バイトで生活費を稼ぎならが、そんで、政治運動なんぞに関われたら、それは、もはや人間ではなくて、ロボットかサイボーグです。

To put it bluntly, if you are an engineering student, working part-time to earn a living, and then getting involved in a political movement, you are no longer a human being but a robot or a cyborg.

「政治」より「ラプラス変換」、「闘争」よりは「シミュレーションプログラミング」、というような理系学生にとって、自治寮はあまり快適な場所ではなかったです。

For science students, who are more interested in "Laplace transformations" than "politics" and "simulation programming" than "struggle," the self-governing dormitory was not a very comfortable place to be.

それはさておき。

Aside from that.

-----

私、共産党、というか、共産主義思想には、さんざんお世話になっています ―― もっぱら「アイロニィ」と「パロディ」で、ですが。

I am indebted to the Communist Party, or rather, Communist ideology, a lot -- exclusively for "irony" and "parody."

これは「悪い」のではありません。「そういうもの」なのです。

停滞主義とは(2)

ここ3年間くらいだけでも、これだけ書いています。

I have written this much in the last three years or so alone.

------

最近、ある政党の代表が、共産党に対して「なくなったらいい政党」と発言して、物議をかもし出しています。

Recently, a political party representative made a controversial remark about the Communist Party, saying that it is a party that "should be gone.

まあ、私たちは、だれもが「なくなったらいい奴」の一人や二人はいます。

We all have one or two "guys" we wish were gone.

しかし、そういうことは言わないことが約束です ―― 大人だから。

But I promise not to say those things -- because I'm an adult.

(今回は、この手の考え方を否定する簡単なロジック『優生学』の話を出すのは止めますね。面倒くさいから)

(This time, I won't bring up the simple logic of 'eugenics' that negates this thinking. It's too much trouble.)

「なくなったらいいXXX」という考え方は、民主主義とか、主義主張とか、そういうことは関係なく ――

The idea that "XXXX should go away" has nothing to do with democracy, principle, or--

『統計学的』に良くない。

Not good from a 'statistical' standpoint.

健全な状態ではないのです。

It is not a healthy state of affairs.

いろいろな考え方が、(正規分布のように)ほどよく散らばっている状態の民主主義の方が、系(システム)としては安定するのです。

Democracy is more stable when the various ideas are well scattered (like a normal distribution).

そうじゃないと、一党独裁とか覇権主義を押し出して運用ざるを得ず、私から見ると『無理している民主主義』に見えてしまいます。

Otherwise, we would have to push and operate a one-party dictatorship or hegemony, which, in my view, looks like a 'democracy that is being forced.'

もちろん、例えば、『暴力を是認する』ような、正規分布の4~5σあたりの考え方や集団は、取締まるべきですが、それは、法律(と暴力装置(警察))に任せておけば良いのです。

Of course, ideas and groups around the 4-5 sigma of the normal distribution that 'endorse violence,' for example, should be clamped down on, but that should be left to the law (and the violent apparatus (the police)).

調べてみたら、なんか、今も、ちゃんと見張られ続けているみたいですよ。

I looked it up, and it seems that they are, somehow, still being properly watched.

2023,江端さんの技術メモ

IEがないと設定画面が表示されないので、サポートセンタに電話したら"EdgeからIEモードを起動する"でググって下さい、と教えて貰った(対応時間15秒)。で、

https://www.maspro.co.jp/support/security/pdf/edge_iemode.pdf

に説明が記載されているのので、http://192.168.0.2, login/password = admin/jvc(だったと思う) 指定URLとして登録したところ、

次の画面が表示されました。

2023,江端さんの技術メモ

対処方法

  1. FireFoxのURL欄にabout:configと入力してENTERキーを押す
  2. 動作保証外警告が出ますが、「危険を承知の上で使用する」をクリック
  3. 検索欄にnetwork.http.spdy.enabled.http2と入力
  4. ダブルクリックして値をfalseに変更する

対策として、設定の「プライバシーとセキュリティ」タブ(about:preferences#privacy)にある「Firefoxのデータ収集と利用について」欄のチェックボックスをすべて外すことで状況が改善するとのこと。

https://gigazine.net/news/20220113-firefox-problem/

 

で、まあ、現在、上手く動いていません。

2023,江端さんの忘備録

日本国政府さん、東京電力さん、その他、小売電気事業者さん。

To the Government of Japan, Tokyo Electric Power Company (TEPCO), and all other retail electricity providers.

この工夫で、何か私にアワードを授けて頂くことはことはできませんか?

Is there any way you can give me an award for this ingenuity?

イレクターパイプを使って、カーテンレールを作ってみた件

まあ、やっていることは、小学生の自由研究程度のことですが、これを、『定年まぎわのシニアががんばった』という点を評価して。

Well, what they are doing is about the level of accessible research for elementary school students. Still, I appreciated that "a senior citizen on the verge of retirement did his best."

-----

国際学会で論文賞や奨励賞を頂いても、家族が、私を尊敬してくれません。

My family does not respect me, even though I have received a "best paper award" or an "encouragement award" at international conferences.

 

2023,江端さんの忘備録

狼少年の話を知らない人はいないと思います。

I don't think there is anyone who doesn't know the story of the wolf boy.

ロシアのウクライナ侵攻時、日本のニュースでは、西側の『金融制裁』と『国際銀行間通信協会(SWIFT)から排除』によって、ロシア経済が崩壊して、ロシアは立ち行かなくなる、という話が盛んでした。

At the time of Russia's invasion of Ukraine, there was much talk in the Japanese news that the Russian economy would collapse and Russia would not be able to stand due to Western "financial sanctions" and "exclusion from the Society for Worldwide Interbank Financial Telecommunications (SWIFT).

しかし、現時点において、ロシア経済は崩壊していないようですし、ロシアはウクライナ国土で戦闘を続けています。

At this point, however, the Russian economy does not appear to collapse, and Russia continues to fight on Ukrainian soil.

我が国においては、『ウクライナ優勢』のニュースは景気よくバンバン登場しますが、『ウクライナ劣勢』のニュースは小さく、少ないです。

In our country, news of "Ukraine's superiority" appears with a bang, but information on "Ukraine's inferiority" is small and scarce.

我が国においては、政府、国会、民間人に至るまで『反ロシア』で統一されています ―― これ、結構珍しいケースです。

In our country, the government, parliament, and even the civilian population are unified in being 'anti-Russian' -- this is a relatively rare case.

私の知る限り、ロシアを擁護する日本の新聞社やテレビ局はありませんし、ロシア擁護発言をする政治家は、四方八方から非難の矢を受けています。

As far as I know, no Japanese newspaper or TV station defends Russia, and politicians who speak out in defense of Russia receive flak from all sides.

-----

そういえば、我が国では、前米国大統領の評判は良くなかったように思います。

Come to think of it, I don't believe the former U.S. president had a good reputation in our country.

―― 「我が国の国民の現職米国大統領に対する評価」は、「ゴルゴ13の中で描かれている内容と同じ」

日本のメディアは、『明日にでも、前米国大統領が留置所に収監される』というような話を山ほど流し続けていましたが、現時点で、そのようなことは、発生していません。

Japanese media has been running a mountain of stories that the former U.S. president will be in jail tomorrow, but at this point, nothing like that has occurred.

そして、米国に滞在している人から『日本のニュースは「トランプ嫌い」の偏向が過ぎる』というコメントを聞いたことがあります。

And I have heard comments from people in the U.S. that 'Japanese news has too much of a 'Trump-hating' bias.

米国民から見れば、トランプ元大統領の政策が『全部ではないが、筋の通ったものがある』のだそうですが、それが日本のメディアには伝わっていない、と。

From the American public's point of view, former President Trump's policies 'are not all of them, but some of them make sense,' he said, but this has not been conveyed to the Japanese media.

ともあれ、「ウクライナ」であれ「トランプ」でれ、日本のメディアは、日本国民が喜びそうなニュースばかりを流す、というのは、事実だと思います。

Anyway, whether it is "Ukraine" or "Trump," I think it is true that the Japanese media only report news that the Japanese people seem to enjoy.

理解はできます。そういうニュースの方がPV(ベージビュー)を稼げますからね。

It is understandable. That kind of news will likely get PV (verge views).

―― それでも、当時の我が国の国民は、4年間の戦争を耐え凌いだ

-----

ところで、私のコラムは、『辛い現実が、数字と一緒に書かれていて、しかもソリューション(解決手段)の記載がない』と、自分の娘たちから批判されています。

By the way, my daughters criticized my column for 'describing painful realities with numbers and no solutions (solutions).

ですから、私も、『読者が喜びそうなコラムばかりを書くようにしなければ』と、心掛けています ―― PV稼ぐためにも。

Therefore, I also remember, 'I must try to write only columns that readers will enjoy' -- to earn PV.

2023,江端さんの忘備録

ロシアによるウクライナ侵攻or侵略は、食料でもなく、エネルギーでなく、「自国の安全を担保するための戦争」です。

Russia's invasion or invasion of Ukraine is not about food, not energy, but "a war to ensure its security."

要するに「バッファエリア(緩衝地帯)」を維持しておきたいためだけの戦争です。

In short, it is a war to maintain a "buffer zone.

これ、歴史的にみて、ロシアの伝統的お家芸の戦争パターンです。

This, historically speaking, is Russia's traditional forte war pattern.

単純な比較ですが、ロシアの領土は、日本の45倍で、人口は日本とほぼ同じです。

As a simple comparison, Russia's territory is 45 times larger than Japan's, and its population is about the same as Japan's.

―― 我が家の家の45倍の土地を、私一人で管理する

"I alone manage a plot of land 45 times the size of my present house."

ことと同じです。

It is the same thing.

たった一人で、1つの町内全部を守るようなもので、考えるだけでゾっとします。

It's like protecting an entire neighborhood with just one person, and I shudder to think about it.

-----

自分の町(ロシア)に不法または違法占拠者が入ってこないようにするには、周辺の町内会(ウクライナ)とタッグを組みたいところです。

To prevent illegal or squatters from entering my town (Russia), I would like to tag team with the surrounding neighborhood associations (Ukraine).

ところが、私(の町(ロシア))は、平素から著名な先祖や歴史を自慢して、潤沢なエネルギーを算出しており、他の町内会(ウクライナ)の運営に口を出し、私(の町は)すっかり、周りの町内会(ウクライナ、フィンランド、スウェーデン、スイス)からも、すっかり嫌われものになっていました。

However, my town (Russia) has always boasted about its prominent ancestors and history. It has been calculating abundant energy and interfering in the management of other neighborhood associations (Ukraine). As a result, My town (Russia) was hated by the surrounding neighborhood associations (Ukraine, Finland, Sweden, and Switzerland).

そんなこともあって、ついに、隣りの町内会(ウクライナ)が、別の町の町内会連合(NATO)の同盟の意志を表明し、私の町内(ロシア)と敵対する立場を表明することになります。

Such is the case, finally, that the neighborhood association next door (Ukraine) expressed its willingness to ally with another neighborhood association (NATO) and expressed its hostile position to me (Russia).

私(ロシア)の自業自得と言えばそれまでですが、これは、本当に怖いです。

It would be an understatement to say that I (Russia) deserved it, but this was really scary.

なにしろ、私(ロシア)は、たった一人で45軒の家を管理しているんですから、どこで何をされるか分かったものではありません。

After all, I (Russia) am the only one managing 45 houses, so I don't know what they will do to me.

てっとり早い方法は、となりの町内会(ウクライナ)の会長(大統領)を、自分の知り合いの人間にすげかえてしまうことです。

The quickest way is to replace the president of the following neighborhood association (in Ukraine) with someone I know.

『知り合いの暴力団(ワグネル)に頼んで、おどしをかければ、3日もあれば十分』と思っていたんですけどね、隣町の町内会長は、結構、胆の座ったやつでして ―― これが、私(ロシア)の誤算だったのです。

I thought, 'If I ask a gangster (Wagnel) I know and scare him, three days will be enough,' but the neighborhood chairman of the neighboring town is a pretty bold guy -- this was my town (Russian) miscalculation.

-----

小さい国で、こじんまりと生きていく ―― 私のような器の小さい人間の生き方は「ラク」です。

Living in a small country, living small -- the way of life for a small vessel like me is "easy."

ロシアも、チンギスハーンの時代のモンゴルや、太平洋戦争までのかつての日本帝国のような巨大な領土(占領地域)を手放せば楽にになりますよ ――

"Russia would have an easier time if it gave up huge territories (occupied territories) like Mongolia under Genghis Khan or the former Japanese empire until the Pacific War."

と、ロシアの大統領に進言したいですが、間違いなく、その前に殺害されると思います。

I want to advise the Russian president, but I do not doubt that I will be killed before I can do so.

今回のロシアのウクライナ侵略に関して、ロシアと日本の間について、私は分からないことが多いのです。

2023,江端さんの忘備録

20世紀初頭にドイツで生まれたハーバー・ボッシュ法は「空気からパンを作る」と謳われ、農業生産の飛躍的な向上に貢献しました。

The Haber-Bosch process, which originated in Germany at the beginning of the 20th century, was heralded as "bread from the air" and significantly improved agricultural production.

これはアンモニアを合成する技術で、ざっくり説明すると「農作物を従来の10倍にする」という発明です。

This is a technology for synthesizing ammonia, an invention that, roughly explained, "makes crops ten times better than conventional ones.

この発明によって、人類は「食料不足を補う為に、領土を奪い合う戦争」というパラダイムを終了させた ―― はずでした。

This invention was supposed to end the paradigm of "wars over territory to compensate for food shortages.

-----

ハーバー・ボッシュ法によるアンモニア製造装置を、日本の戦国時代に置いてくることができたら、どうなっただろう?

What would have happened if the Haber-Bosch ammonia production equipment could have been left behind in Japan's Warring States period?

少なくとも、食料による領土的野心はなくなるけど、それって、結局のところ「稲作にって身分制度が強固となった」というパラダイムからは、抜け出すことはできません ―― 結局、あんまり変わらないかな。

At least it eliminates territorial ambitions with food. Still, it doesn't get us out of the paradigm that "rice cultivation strengthened the status system" after all -- not much has changed.

食料の増産は、人口増加を招くから、今度は作物用の土地を求めて、国外への戦略戦争になるだけ ―― と、まあ、そんなことを考えていました。

Increased food production would only lead to an increase in population, which would lead to strategic wars outside the country in search of land for crops -- and, well, that's what I was thinking.

-----

フリッツ・ハーバーも、そこで止めていれば、人類の救済者として歴史の名前を残せたのでしょうが、その後、「兵器としての毒ガス開発」を行い、最後には、ナチスドイツのユダヤ人排斥運動で、国を追い出されて、非業の死と、不名誉な名を残すに至っております。

If Fritz Haber had stopped there, he could have left his name in history as a savior of humanity, but he later developed poison gas as a weapon. The anti-Jewish movement of Nazi Germany finally forced him out of his country, leading to his untimely death and leaving his name in disgrace.

何がいいたいかというと

What I'm trying to say is,

『"名誉"とか"正義"などというもので、研究なんぞをやるものではない』

We should not do research for "honor" or "justice."

ということです。

どうせやるなら、"興味"と"娯楽"あたりが良いと思います。

If you do it anyway, I think it is better to do it around "interest" and "entertainment."

それでも、"ちんけ"な研究員&エンジニアには、"ちんけ"なりの人類への貢献方法があるんですよ。