ときどきの雑記帖 RE* (新南口)
果てしなき流れの果てに
ガンダム
例の先行上映されている作品の影響で 無印ガンダムの、それもTV版を観ようという人が増えているそうで ちとフクザツな心境な今日このごろ。
ガンダム@テレ玉
光る宇宙
そう言えばアニメージュだかで 劇場版の話が初めて出てきたころに 劇場版は四部作になるとか 第四部は光る宇宙編だとかあったような。
- 老いたな父も
- 手の震えが止まりません
- 人は変わってゆくのね
- 影を落とすと出力が下がる
- あれは憎しみの光だ
グラナダとア・バオア・クー(とジオン本国)の位置関係が今一つよくわからん。
冒頭ギレンはデギンとのやり取りの中で「ソーラ・システム」と言っているが、 直後のアサクラ大佐のセリフでは「ソーラ・レイ」となっていて、 そのあとも「ソーラ・レイ」。
キシリアとシャアのやりとりがめぐりあい宇宙とは微妙に違ったり、 レビルの「つらいのだな。ジオンも」のセリフはTV版ではなし。 この辺はめぐりあい宇宙の方が好みかなあ。
次回、宇宙要塞ア・バオア・クー
ピタゴラ装置準備装置
録画してたのを観た。 こういうの好きだわー😄
初めて観たと思うんだけど、何度目かの放送だったらしい (ほぼ毎回録画しているはずなんだけどなぜ気がつかなかった🤔)。
南武線ワンマン運転
3月から開始らしい。 なるほどホームドアの設置のピッチを上げたわけだ
JR南武線のワンマン運転、来年3月15日から実施 人手不足に対応 | カナロコ by 神奈川新聞
イケボの車掌さんどうなるんだろう?
AI
共有地の悲劇
Tim O’Reilly
- Tim O’Reilly has good news and bad news about your programming career : r/programming
- The End of Programming as We Know It – O’Reilly
無限アセンブラ
今回のタイトルネタは、ケヴィン・J・アンダースン、ダグ・ビースン共著「無限アセンブラ」 (ハヤカワ文庫SF。1995年刊。原題Assemblers of Infinity,1993)である。
タイトルをそのまま使うのが2回続いたので
第202回 | 無限アセンブラ |
第201回 | The Only Neat Thing to Do |
第200回 | へびつかい座ドローライン |
第199回 | Walk, Don’t Run |
第198回 | Excel’s Run |
ん?と思ったけど、ちょいと遡ると これまでも時々あった。
最近だとこの辺
今まで魚をありがとう
So long, GNU Gold Linker, and thanks for all the fish!
— GCC - GNU Toolchain (@gnutools) February 6, 2025
This message was brought to you by the high performance Mold Linker. https://t.co/57qtfgd2dm
GNU Gold Linker Is Deprecated & Will Be Gone For Good Without New Developershttps://t.co/cxnCBQylh0
— Phoronix (@phoronix) February 6, 2025
GNU Gold Linker Is Deprecated & Will Be Gone For Good Without New Developers - Phoronix
ふむ?
C compiler
Pascalで書かれたCコンパイラをC言語に変換する
Pascalで書かれたCコンパイラーって あっても不思議とは思わないけど 見たことがない。どんな出自のものなんだろう?
Deep C/C++
Found Deep C/C++, a huge primer on the bowels of these languages! Not for the faint of heart, these should have a lot of alpha in them! pic.twitter.com/zps6dhJVKj
— Rui Carrilho (@RuiCarrilho5) January 26, 2025
Falsehoods programmers believe about null pointers
- Falsehoods programmers believe about null pointers : r/programming
- Falsehoods programmers believe about null pointers | purplesyringa’s blog
6502
- I believe 6502 instruction set is a good first assembly language | Hacker News
- 6502 is a Good Starting Point for Beginning Assembly Programming
6800より6502の方が色々いいんじゃないかと思うんだけど、 6800を採用したのには深い理由があったんだろうか?>マイコン博物館のアレ
21st Century C++
- 21st Century C++ | Hacker News
- 21st Century C++ : r/programming
- 21st Century C++ – Communications of the ACM
Plan 9
plan9/sys/src/libregexp/regcomp.c のこの辺を読むと、BREの書き方には対応してないような感じだなあ。
static int
nextc(Rune *rp)
{
if(lexdone){
*rp = 0;
return 1;
}
exprp += chartorune(rp, exprp);
if(*rp == L'\\'){
exprp += chartorune(rp, exprp);
return 1;
}
if(*rp == 0)
lexdone = 1;
return 0;
}
static int
lex(int literal, int dot_type)
{
int quoted;
quoted = nextc(&yyrune);
if(literal || quoted){
if(yyrune == 0)
return END;
return RUNE;
}
switch(yyrune){
case 0:
return END;
case L'*':
return STAR;
case L'?':
return QUEST;
case L'+':
return PLUS;
case L'|':
return OR;
case L'.':
return dot_type;
case L'(':
return LBRA;
case L')':
return RBRA;
case L'^':
return BOL;
case L'$':
return EOL;
case L'[':
return bldcclass();
}
return RUNE;
}
あれ、{n,m}
にも対応してない?
awk
gawk
- Start on stylistic cleanups. - gawk.git
- More stylistic cleanups. - gawk.git
- Fix a memory leak in indirect calls. - gawk.git
- Start on fixes for indirect call weird cases. - gawk.git
- Update fixes and ChangeLog. - gawk.git
- Add indirectbuiltin5 test. - gawk.git
- Fix a memory leak. - gawk.git
前回のコレ gawk.git - gawk
if (!best.has_value() && (!r.firstbytes.has_value() || (wcnext != WConv::End && (*r.firstbytes)[(unsigned char) *wconv.cp]))) {
要するに最初の一つ以外は見なくてもよかったという話?
best | std::optional<COWVec<std::size_t, (std::size_t) -1» best; |
r | const Regexp &r; |
firstbytes | std::optional<const std::array<bool, 256» firstbytes; |
wcnext | auto wcnext = wconv.look(); |
wconv | WConv wconv; |
WConv::End | enum { End = -1 }; |
optional::has_value - cpprefjp C++日本語リファレンス
Put a finger down
✋ Put a finger down if your boss has asked for data insights 15 minutes before a call.
— Microsoft Excel (@msexcel) February 5, 2025
Good thing Microsoft 365 Copilot in Excel can help: https://t.co/4bJJgEga25 #AI pic.twitter.com/5lEU3XjtZn
Put a finger down
ってそのまま訳してもよくわからないので
なんか特別な言い回しっぽい気がするんだけど、
えーあいに尋ねても
検索してもよくわからんなあ。
三昧
2月11(祝・火)『今日は一日「庵野秀明の世界」三昧』#NHKFM にて放送! 放送35年を迎える「ふしぎの海のナディア」音楽も盛りだくさんです。
— ふしぎの海のナディア30【公式】 (@nadia30_nep) February 6, 2025
🦁 https://t.co/IiFwXpRkLU
メモ。
★庵野秀明さんの出演はございません。
😄
宇宙戦艦ヤマト 全記録展
#庵野秀明 企画・プロデュース/放送50周年記念
— 株式会社カラー (@khara_inc) February 5, 2025
~「宇宙戦艦ヤマト #全記録展」~
✅3月15日(土)〜3月31日(月)
📍東京・西武渋谷店にて開催!
当時の企画書やキャラクター/メカニックなどの設定画をはじめとする貴重な資料の展示、企画展オリジナルグッズの販売なども予定されております!!…
2025年3月15日(土)〜3月31日(月)、
— 株式会社カラー (@khara_inc) February 6, 2025
東京・西武渋谷店にて開催される
「#宇宙戦艦ヤマト 全記録展」に向け、#庵野秀明 のコメントが公開されました👀
展覧会詳細は👇https://t.co/yqnzK16h9i pic.twitter.com/HhExNEeb8i
宇宙戦艦ヤマト #全記録展 には #ATAC で保存している設定資料原版や原画やセル画などを多数出品します!
— 認定NPO法人アニメ特撮アーカイブ機構(ATAC) (@Info_ATAC) February 5, 2025
↓でお見せしている画もすべて肉筆画です。
3/15から西武渋谷店にて、どうかお見逃しなく!#ヤマト50周年 #宇宙戦艦ヤマト #庵野秀明 https://t.co/a1wsxUncDV
メモ(その2)。
Python
Pythonが科学計算界を席巻したのは、やっぱりNumeric(NumPyの祖先)を作ったときに、GuideさんがNumericのためにPythonそのものも改善したからだなぁと思う。科学計算言語に汎用機能を追加するのではなく、汎用言語に科学計算機能を追加したのがよかった。逆だとそこまで広がらなかった気がする。
— Atsushi Sakai (@Atsushi_twi) February 5, 2025
そんなことが。と思ったので一応裏取り。 この辺の話だろうか
The Python programming language was not originally designed for numerical computing, but attracted the attention of the scientific and engineering community early on. In 1995 the special interest group (SIG) matrix-sig was founded with the aim of defining an array computing package; among its members was Python designer and maintainer Guido van Rossum, who extended Python’s syntax (in particular the indexing syntax[5]) to make array computing easier.[6]
例によって日本語版にはこの辺の記載なし。
%n
C言語のprintfの%nの話。一瞬アレ?と思ったが、%2$nとは別の話か。なにやらprintfで出力した文字数を引数の変数に出力するらしい(なにそれ怖い)。
— Koichi Nakashima (@ko1nksm) February 7, 2025
もしやまさかね、と思いながらシェルで実行してみたら、bash、ksh93、zshも対応していた...
$ printf 'abcdefg%n\n' var
abcdefg
$ echo "$var"
7 https://t.co/DUdJF8RB6w
やめてくだしあ!CTFじゃなくて本当の攻撃に使われてヤられた人もいるんですよ! https://t.co/IMeR8NK4qW
— とみながたけひろ (@takehiro_t) February 8, 2025
printfの%n、CTFのpwnableで書式指定文字列攻撃に触れた人にとっては、%dで数値、%sで文字列を表示と同じくらいに当たり前の機能だけど、世間一般での認知度はどんなもんなんだろう。改めて考えてみると、CTF以外で見たことが無いし、ほぼゼロか? https://t.co/aQ4kWcY0ek
— kusanoさん@がんばらない (@kusano_k) February 7, 2025
C99からだっけ?と思ったら c89にもあった でござるの巻
The %n format has been added to permit ascertaining the number of characters converted up to that point in the current invocation of the formatter.
じゃあいつ頃入ったのかと File:Unix history-simple.svg - Wikimedia Commons を見つつ追いかけてみると、v7にはなくて
- v7unix/v7/usr/src/libc/stdio/doprnt.s at master · v7unix/v7unix
- 3BSD/libc/stdio/doprnt.s at master · dank101/3BSD
- 4.2BSD/lib/libc/vax/stdio/doprnt.s at master · dank101/4.2BSD
- 4.3BSD-Reno/lib/libc/stdio/doprnt.c at master · dank101/4.3BSD-Reno
4.3BSD-Renoにはあったが4.2BSDにはなかった(当然3BSDにもなし)。 ということで、この辺で入ったものっぽい (BSDが他のどこかの実装から取り込んだという可能性もあるけど そこまで調べるのはめんd(ry)。
入れた動機なんかが残っているといいんだけど パッと見た感じではなさそう?
ν
カッコ良かった··· pic.twitter.com/VYoF3BqA9S
— おーが (@guy_ferd) February 7, 2025
お台場のアレと交換してほしい…