ときどきの雑記帖 RE* (新南口)
できるかな
できるかな
「再放送」された四回のうち、最終回だけ「おしゃべり」の声が違うので ん? となったけど
1989年
5月 - スタート以来、長期にわたって「おしゃべり」を担当してきたつかせのりこ急逝。かずきかずみが後任となる。
1990年
3月6日 - 最終回。ノッポさんが最終回にして初めて言葉を発する[2]。
ふむ。つかせさんの急逝は記憶にあったけど 「できるかな」放送中のことだったのか。 あと、晩期はほとんど(まったく?)観ていなかったにせよ、 最終回だけは本放送時にも観ていたはずなんだけどなあ。
FORM
そう言えばこの件どうなったんだろか。
ハンドドライヤー
そばで使われるのが嫌なくらいにはあの音が嫌いなので、 最近復活しつつあるのがぐんにゃり。
グラフ
- 気温には棒グラフを使わない - データ可視化ミニ講座(7)|荻原 和樹 / Kazuki OGIWARA
- [B! 統計] 気温には棒グラフを使わない - データ可視化ミニ講座(7)|荻原 和樹 / Kazuki OGIWARA
ある時点の、複数の地点の気温を比較したいといった場合に 使えるようなグラフってあるんだろうか?
sound
Dart 3リリース、ぬるぽエラーを根絶することが可能に | スラド デベロッパー
プログラミング言語「Dart」が10日、5年ぶりのメジャーバージョンアップ版である「Dart 3」をリリースした。 「Google I/O 2023」で発表された「Dart 3」では、100%の「健全なNULL安全性」(sound null safety)が達成されたという。
soundの意味・使い方・読み方|英辞郎 on the WEB
へー。
Cerberus
Cerberus ってなんじゃろ と思い調べてみると。
Kじゃないんだ。最初の文字。
新刊近刊
5月下旬新刊
— 書泉_MATH (@rikoushonotana) May 14, 2023
『五角形と五芒星』監訳/宮崎興二 訳/パウロ・パトラシュク(丸善出版)
五角形の幾何学的な性質や様々な分野に与えた影響について、具体的な事例と豊富な図版を用いながら解説していく。
書泉オンライン⇩https://t.co/eFmw2xc3vV
楽天⇩https://t.co/923AwOh66n pic.twitter.com/Lgp8RXqObB
なんか面白そうな、
現実的でないPythonプログラミング
現実的でないPythonプログラミング(仮) - 共立出版 というのを見かけ、原著は? と探してみたところ Search | No Starch Press にある
じゃないかという気がするのだけど
というのがすでにあるのだよね。
不公平な自由
著者名に見覚えが? と記憶をたどると…
ああ、Zen(という名のプログラミング言語)に関して ちょっとした騒ぎがあったときにみた名前だ、
今日の重箱の隅
Perlベースの正規表現ライブラリーPCRE2再サポート「GNU grep」バージョン3.11 | TECH+(テックプラス)
本バージョンでは、Perlベースの正規表現ライブラリーであるPCRE(Perl Compatible Regular Expressions)2を再サポートし、 「[\d]」のような表記が利用可能になった。
GNU grep バージョン3.11は前述のようにPCRE2をサポートし、バージョン3.8と同様に文字列をUnicodeではなくASCIIとして解釈する。 ただし、今後のGNU grepやPCREの仕様変更に伴い、再びUnicodeに戻す可能性があると開発陣は説明した。
なんか怪しい内容の記事なんで、また「あの人」だろうと思って 執筆者を確認してみたら別の人でありましたの巻。
この文章を読むと3.9から3.10まではPCREをサポートしていない
(つまり-P
オプションが使えない)ように読めるのだけど
そんなことはないわけで。
NEWSファイルを見ると
* Noteworthy changes in release 3.11 (2023-05-13) [stable]
** Bug fixes
With -P, patterns like [\d] now work again. Fixing this has caused
grep to revert to the behavior of grep 3.8, in that patterns like \w
and \b go back to using ASCII rather than Unicode interpretations.
However, future versions of GNU grep and/or PCRE2 are likely to fix
this and change the behavior of \w and \b back to Unicode again,
without breaking [\d] as 3.10 did.
[bug introduced in grep 3.10]
* Noteworthy changes in release 3.10 (2023-03-22) [stable]
** Bug fixes
With -P, \d now matches only ASCII digits, regardless of PCRE
options/modes. The changes in grep-3.9 to make \b and \w work
properly had the undesirable side effect of making \d also match
e.g., the Arabic digits: ルル。ル「ル」ル、ル・ルヲルァルィルゥ. With grep-3.9, -P '\d+'
would match that ten-digit (20-byte) string. Now, to match such
a digit, you would use \p{Nd}. Similarly, \D is now mapped to [^0-9].
[bug introduced in grep 3.9]
* Noteworthy changes in release 3.9 (2023-03-05) [stable]
** Bug fixes
With -P, some non-ASCII UTF8 characters were not recognized as
word-constituent due to our omission of the PCRE2_UCP flag. E.g.,
given f(){ echo Perテコ|LC_ALL=en_US.UTF-8 grep -Po "$1"; } and
this command, echo $(f 'r\w'):$(f '.\b'), before it would print ":r".
After the fix, it prints the correct results: "rテコ:テコ".
When given multiple patterns the last of which has a back-reference,
grep no longer sometimes mistakenly matches lines in some cases.
[Bug#36148#13 introduced in grep 3.4]
* Noteworthy changes in release 3.8 (2022-09-02) [stable]
** Changes in behavior
The -P option is now based on PCRE2 instead of the older PCRE,
thanks to code contributed by Carlo Arenas.
迷走というか試行錯誤というか まあ色々やっていたと。
で、これって、\d
や\w
などを使ったときに
実際にどういうキャラクターにマッチするか(させるか)の
問題じゃないんすかね。
Changelogには
2023-03-18 Jim Meyering <meyering@fb.com>
grep: -P (--perl-regexp) \d: match only ASCII digits
Prior to grep-3.9, the PCRE matcher had always treated \d just
like [0-9]. grep-3.9's fix for \w and \b mistakenly relaxed \d
to also match multibyte digits.
というのがあった(このほかにもPCRE関連と思われるもので最近のものがいくつか)。
gawk
そして PMA周りの仕様変更が行われたGNU Awkバージョン5.2.2 | TECH+(テックプラス) こっちの記事も同じ「別の人」が書いた記事だけど やっぱりよくわからない。
前述したPMA周りの仕様変更も多岐にわたるが、ディレクトリー(フォルダー)の入力パーサーとして追加使用できる拡張機能readdirを、 Windows環境で使用する際は取得レコードが簡略化されたのは、Windows環境でGawkを使用している利用者には大きい変更点である。
NEWSの記述はこんなん。
The time extension is no longer deprecated. The strptime() function from gawkextlib’s timex extension has been added to it.
Better information is passed to input parsers for when they want to decide whether or not to take control of a file. In particular, the readdir extension is simplified for Windows because of this.
extension の下にある readdir.cを過去のものと比較してもそんなに変わってないんだよねえ。
+2023-02-27 Arnold D. Robbins <arnold@skeeve.com>
+
+ * readdir.c (dir_can_take_file): Test is more flexible, based on
+ change in gawk's iop.c:iop_alloc() function.
MID$
進捗なっしんぐ。 というかこの先どう進めたもんですかねえ。
switch
進捗なっしんぐその2
FORTRAN Compiler on IBM 704
ちょっと前のことになるけどHN経由で
John Backus
こんなのを見かけたのでざっと読んでみた。
すると 以前言及したFORTRAN 0
以前ちょっと言及した THE EARLY DEVELOPMENT OF PROGRAMMING LANGUAGES を読んでいたら、
FORTRAN 0
というのが出てきた。 p.63にあるサンプルプログラムによればこう。
DIMENSION A(11)
READ A
2 DO 3,8,11 J=1,11
3 I=11-J
Y=SQRT(ABS(A(I+1)))+5*A(I+1)**5
IF (400.>=Y) 8,4
4 PRINT I,999.
GO TO 2
8 PRINT I,Y
11 STOP
のことと思われる記述があった。
The conditional execution statement IF was very limited: only some simple number comparing expressions were allowed in its guard. Furthermore, statement numbers had to be given to specify what needed to be done when the guard was true or false. For example:
10 IF I > 0 12,11
11 I = -I
12 J = J + I
ifの条件部分に書ける内容もかなり制限があったようで。
しかし、704(で使っていた文字セット)には>
はなかったので
いつ頃算術IF文になったのかちょっと気になるところではある。
DOに関しては「新情報」があって
More or less the same was true for the iterative execution statement DO. The first and last statement of the loop needed to be given, as well as the first statement to be executed after termination of the loop. The iteration was controlled by a variable that started out at a specified value, and was then successively increased by a given step, until a final value was reached. This strongly resembles the semantics of the modern day for statement in languages such as Pascal. For example:
10 DO 11,12,13 J=1,10,1
11 C = C + A(J)
12 D = D + B(J)
13 E = C / D
DIMENSION A(10)
DIMENSION B(10)
READ A, B
C = 0
DO 10,10,11 I = 1,10,1
10 C = C + A(I) * B(I)
11 PUNCH C
STOP
DOの後に続く文番号の三つ目がよくわからないけど (Pythonのfor文のelse部のような動作をする?)、 一つ目がDOループ本体の開始文の文番号で 二つ目がループ本体終端の文番号だと。
これでちょっと気になったのが
DO 10,10,11 I = 1,10,1
C = FUNCF(0)
10 C = C + A(I) * B(I)
Z = X + Y
11 PUNCH C
みたいなコードがどういう動作をするのか (そもそも書けるのか)ということ。
箙
6月末新刊予定
— 書泉_MATH (@rikoushonotana) May 14, 2023
『表現論入門 群・代数・箙と圏の表現』P. エティンゴフ/O. ゴルバーグ/S. ヘンゼル/T. リウ/著 西山 享/訳 5280円(丸善出版)…
数学の「箙」ってつい最近見かけたよなあ と思い検索してみたが
箙ってなんやねん
— Haru🐈 (@nyan_haru_nya) May 3, 2023
日本人も知らんわ
箙ってクラスター代数の定義にも出てきてたような??
— 葵 (@math_and_discus) May 3, 2023
曲面の話とも関係あるみたいだし、割とモチベあるかも
なんで微分方程式に箙が登場するのかなぁと思ってましたがようやくわかりました
— Tomoki (@deep_blue0723) May 5, 2023
この辺のツイートだったろうか?
電話帳
そろそろタウンページはその役割を終えるのだろうなあ。でも企業やお店の電話番号は残るか。 pic.twitter.com/YbFOQdCffC
— 小田 隆 Oda Takashi (@studiocorvo) May 13, 2023