ときどきの雑記帖 RE* (新南口)
虹とスニーカーの頃
トイオ・プレイグラウンド コマンド
カードを使ってプログラミングの基礎を学べる「トイオ・プレイグラウンド コマンド」が5月14日に発売 - GAME Watch
メモ
バウアー
こうなったか
- 元DeNAバウアーが米独立リーグと契約、NPBからもオファーあったと明かす - MLB : 日刊スポーツ
- 【米独立L】バウアー新天地は暴言王も在籍した〝いわくつき球団〟「どん底に落ちた」と米メディア冷笑 | 東スポWEB
- 元DeNAバウアーが米独立リーグでプレーすることを選んだ理由 代理人が本紙に明かす「ニューヨークが…」 日本球団からもオファーあった/大リーグ/デイリースポーツ online
ブレンパワード
【TV本編】「ブレンパワード」第01話〔サンチャン〕 - YouTube
始まった
Clojure: The Documentary
Clojure: The Documentary [OFFICIAL TRAILER] | Coming April 16th! 🚨 - YouTube
DRAM
- DRAM pricing is killing the hobbyist SBC market | Hacker News
- DRAM pricing is killing the hobbyist SBC market - Jeff Geerling
- Raspberry Pi、主力製品を再値上げ 120ドルだったPi 5の16GBモデルは305ドルに | マイナビニュース
WG 14
ふと、issueをまとめたページがあるのに気がついた
- C90 (superseded)
- Summary (one page per issue)
- Full issue log (all issues on one page)
- C99 (superseded)
- Summary (one page per issue)
- Full issue log (all issues on one page)
- C11 / C17 (superseded)
- Summary (one page per issue)
- Full issue log (all issues on one page)
- C23
- Summary (one page per issue)
- Full issue log (all issues on one page)
- Floating-point TS 18661 (C11 version, 2014-2016) (superseded)
- Summary (one page per issue)
- Full issue log (all issues on one page)
- Floating-point TS 18661 (C23 version, 2025)
- Summary (one page per issue)
- Full issue log (all issues on one page)
- Secure Coding Rules TS 17961:2013
- Summary (one page per issue)
- Full issue log (all issues on one page)
以下省略
古いのを見てもなかなか面白そうで、C90の最初の方を見るとこんな感じ
| Issue | Summary | Status |
|---|---|---|
| 0001 | Do functions return values by copying? | Fixed in C90 TC1 |
| 0002 | Should \ be escaped within macro actual parameters? | Closed |
| 0003.01 | Are preprocessing numbers too inclusive? | Closed |
| 0003.02 | Should white space surround macro substitutions? | Closed |
| 0003.03 | Is an empty macro argument a constraint violation? | Closed |
| 0003.04 | Should preprocessing directives be permitted within macro invokations? | Closed |
| 0004 | Are multiple definitions of unused identifiers with external linkage permitted? | Fixed in C90 |
新刊近刊
n月刊ラムダノート
というわけで、n月刊ラムダノートの新刊が発売中です。既刊と合わせて新年度の刺激にぜひ! https://t.co/b73XGRw5ai
— 専門性・売上・原稿 (@golden_lucky) March 31, 2026
新刊『n月刊ラムダノート』Vol.6 No.2(2026)を発売しました!
— lambdanote (@lambdanote) March 27, 2026
#1 WebSocketとそのセキュリティ
#2 不変性から導くパッケージ管理とNix」
#3 現代の技術者から見たチューリングマシンhttps://t.co/v0Qii55Gdf
近年サプライチェーン攻撃は聞かない日はないほど身近な脅威となりました
— 天才タンパクコンサル美少女3丁目 (@Pavane1899) April 1, 2026
Nixはビルドサンドボックスやコンテンツアドレッシングいった技術のもと再現可能ビルドを体現しており、これらは攻撃への有効な対策として機能しています
n月刊ラムダノートでNixがいかにソフトウェアを守るのか解説しています https://t.co/UEA17u7W5E
忘れないうちに買っておかねば
リトル・ルービン欠測データの統計解析
『リトル・ルービン欠測データの統計解析』 ロデリック・J.A.リトル ドナルド・B.ルービン 繁桝算男/監訳 9900円(朝倉書店)
— 書泉_MATH (@rikoushonotana) April 3, 2026
測定されなかったデータを適切に処理・分析するための考え方と統計学的手法を詳しく解説する.
書泉オンラインショップ⇩
https://t.co/cLJc8zJtZh pic.twitter.com/Vc1N6CY3yr
ね、値段が
awk
gawk
正規表現ライブラリがMinRXになって遅くなったという話らしいんだけど…?
Re: Matching all Unicode characters
LC_ALL=C GAWK_GNU_MATCHERS=1 gawk -e "$__code__" "$m2p" 0.26s user 0.13s system
97% cpu 0.404 total
LC_ALL=C gawk -e "$__code__" "$m2p" 7.54s user 0.20s system 99% cpu 7.746 total
Re: Matching all Unicode characters
OK, so please use the GNU matcher for as long as this difference exists and is of such importance for you.
Re: Matching all Unicode characters
You should perhaps consider using tools that are more suited to such data, such perl, python or ruby.
ほかにも気になるのがいくつか(あとでよむ
Re: [Security] 32-bit integer overflow in do_sub() ampersands×matchlen c
Actually, the whole report is specious. size_t on a 32-bit system is only 4 bytes long. In any case the glibc malloc dies:
gawk 5.4.0 gsub/sub bug on non-utf8 multibyte locale
$ gawk --version | head -1
GNU Awk 5.4.0, API 4.1, PMA Avon 8-g1
$ echo 'aaca' | LANG=ja_JP.ujis gawk '{gsub(/a/,"b");print}'
bbca # should be 'bbcb'
$ echo 'aaca' | LANG=ja_JP.utf8 gawk '{gsub(/a/,"b");print}'
bbcb # correct
$ echo 'aaca' | LANG=C gawk '{gsub(/a/,"b");print}'
bbcb # correct
Re: Matching all Unicode characters
The problem is not a general problem with MinRX, but rather with the specific regex ^$. The GNU matchers have an optimization for cases where a regex is anchored with ^ but can never match, and can thus return failure to match immediately, without scanning the data to be matched.
MinRX was lacking such an optimization. Mike Haertel has added one, and that is the main part of the attached patch. Wth this patch, the test case runs as fast or faster with MinRX as it does with the GNU matcher.
Re: [Security] Use-After-Free in do_getline_redir() via two-way pipe NON
diff --git a/io.c b/io.c
index d1700752..b48f14ea 100644
--- a/io.c
+++ b/io.c
@@ -2852,21 +2852,24 @@ do_getline_redir(int into_variable, enum redirval redirtype)
redir_exp = TOP();
redir_exp = elem_new_to_scalar(redir_exp);
rp = redirect(redir_exp, redirtype, & redir_error, false);
- DEREF(redir_exp);
decr_sp();
if (rp == NULL) {
if (redir_error) { /* failed redirect */
update_ERRNO_int(redir_error);
}
+ DEREF(redir_exp);
return make_number((AWKNUM) -1.0);
} else if ((rp->flag & RED_TWOWAY) != 0 && rp->iop == NULL) {
if (is_non_fatal_redirect(redir_exp->stptr, redir_exp->stlen)) {
update_ERRNO_int(EBADF);
+ DEREF(redir_exp);
return make_number((AWKNUM) -1.0);
}
(void) close_rp(rp, CLOSE_ALL);
+ DEREF(redir_exp); // we're about to die, but what the heck, release it anyway
fatal(_("getline: attempt to read from closed read end of two-way pipe"));
}
+ DEREF(redir_exp);
iop = rp->iop;
if (iop == NULL) /* end of input */
return make_number((AWKNUM) 0.0);
あー、else if ((rp->flag & RED_TWOWAY) != 0 && rp->iop == NULL)
のところで、すでにDEREFしたredir_expを参照しちゃってる
is_non_fatal_redirect(redir_exp->stptr, redir_exp->stlen)
のか
しかしDEREF(redir_exp);が複数個所に散らばるのも
あまりうれしくはないすねえ…
Hugo メモ
着々とバージョン上がってるなあ
C++20 Coroutines
C++20 Coroutines Optimization Opportunities from Compiler's perspective https://t.co/eW22UhQZmx zh→en→jaで読んでる
— yoh (@yohhoy) March 29, 2026
なぜに最初に中国語? と思ったのだけど、
The post was written in Chinese and translated by LLM. Feel free to contact me if any phrasing seems unnatural.
大本は中国語版と。
- C++20 Coroutines Optimization Opportunities from Compiler’s perspective
- C++20 Coroutines 编译器视角下的优化机会
ところで
- 编译器 → 編訳器 → compiler
- 视角下的 → perspective
- 优化 → 最適化 优化(中国語)の日本語訳、読み方は - コトバンク 中日辞典
- 机会 → 機会 → Opportunities
优化はなかなかわからなかった
ギャ〇ンドゥ
西城秀樹を知らない人には何が何だかわからない書き込み。 https://t.co/aaC6nC0w67
— Kazuto Suzuki (@KS_1013) March 28, 2026
納豆売り
「初代『ひみつのアッコちゃん』ED曲は『アッコちゃんを追っかけていると用もないのに納豆売りが通りかかった』という歌詞だが、その納豆売りは変身したアッコちゃんちゃうやろか」という記事を見かけ、半世紀の時を経て「ああっ!!」ってなった。
— 椎名高志 (@Takashi_Shiina) March 29, 2026
映像化
いつか、イゼルローン日記と、ダゴンを映像化したいという夢があります。
— 橋満克文(ハシミツカツフミ)🐯里親支援団体🐶の投稿をRTします。 (@69nrolljourney) March 27, 2026
夢ですけどね。
その為の土台だけは作り上げたつもりです。
後世のどなたかにバトンを委ねる可能性もあるのですが、すくなくとも繋ぎました。 https://t.co/Vlq9lR1kQK
観たいなあ>ダゴン星域会戦記の映像化
元祖
こういうのの元祖ってなんだろ、
— ノリ (@o5kjH8uG8NGe2xK) April 2, 2026
エルガイム? https://t.co/8qwZW5p0Xv pic.twitter.com/CG7tfw34Bi
— はらぺこ珍味(とんかつはロース派) (@hZ3LqTCTdpr9NBE) April 2, 2026
最初自分も勘違いしてしまったのだけど、 「ロボット」がでかい大砲持って…というシチュエーションではなくて、 ラスボス倒すのに初期装備とか旧機種でという話だったらしい。
それはそれとして、 自分は「ロボット」がでかい大砲持って…というのは実はあまり好きではない。 というかキライ(笑)
とは言いつつもザンボット3のイオン砲(元はキングビアルのもの)とか MHのバスターランチャー(とイデオンの波導ガン)などは例外としてあるのだけど、 Zで出てきたメガバズーカランチャーなんかは以下略
きゅるる
電話口でお客さんに「きゅるるコマンド」って言われて「はぁ… きゅるるが正しく動かない… でございますね… 左様ですか」で何も分からずトークでギリギリ切り抜け受話器置いた瞬間に「あ!!!curl!!!!」ってなるのがサポートの醍醐味だよ
— 📦 (@Liliaceae) April 2, 2026
トラブルシューティング
技術で一番「時間を無駄にした」と思った経験ありますか?
— むらさん(Murasan) (@murasametech) April 2, 2026
自分は
LANケーブルが抜けてただけのトラブルに
4時間費やしたことがあります🔌
物理層は最初に確認しよう#エンジニア
なかなか興味深い事例がいろいろ
銀河の歴史がまた一ページ
— 今日は何の日@銀英伝bot (@logh_today) April 3, 2026