ときどきの雑記帖 RE* (新南口)
The Third Wave
動物言語学
最近はNHKラジオをつけっぱなしで寝ているのだけど、 夜更けにちょっと目が覚めたときに流れていた番組で知った
- 動物言語学分野 鈴木研究室 | 東京大学 先端科学技術研究センター
- 【シジュウカラ】動物言語学者・鈴木俊貴先生が語る、他者を理解するための「観察力」 | Worker’s Resort | オフィスマネージャーのためのリサーチネットワーク
- 鈴木俊貴 - Wikipedia
- 鈴木俊貴 Toshitaka Suzuki(@toshitaka_szk)さん / X(
シジュウカラの言葉云々というのは以前にも聞いたことがあったかも
pump and dump
- The age of Pump and Dump software | Hacker News
- The Age of Pump and Dump Software : r/programming
- The Age of Pump and Dump Software | by Tautvilas Mečinskas | Jan, 2026 | Medium
- Pump and dump - Wikipedia
- 「pump and dump」の意味・使い方・表現 - 英辞郎 on the WEB
swift
Broadly agree but, as is most things, the devil is in the details!
Swift takes Rust’s ideas and hides them in C-like syntax.
shebang
次はdashを例にシェル側のコードを紹介したいと思います。
とあったけど(ry exec.c « src - dash/dash.git - DASH Shell
repeat:
#ifdef SYSV
do {
execve(cmd, argv, envp);
} while (errno == EINTR);
#else
execve(cmd, argv, envp);
#endif
if (cmd != path_bshell && errno == ENOEXEC) {
*argv-- = cmd;
*argv = cmd = path_bshell;
goto repeat;
}
やっぱりbashやzsh(さらにはUNIX V6、V7のシェル)と同じようなことしてますね。 じゃあその辺決まってんじゃね? と思って調べたらやっぱりあった
2.9.1.6 Non-built-in Utility Execution
If the execl() function fails due to an error equivalent to the [ENOEXEC] error defined in the System Interfaces volume of POSIX.1-2024, the shell shall execute a command equivalent to having a shell invoked with the pathname resulting from the search as its first operand,
execveじゃなくてexeclで書かれているけど、まあその辺は
WG 14
| N3809 | 2026/02/01 | Almkainzi, Unselected _Generic branches should be ignored |
| N3805 | 2026/02/01 | Colomar, named arguments after varying arguments in macros |
| N3804 | 2026/02/01 | Colomar, The Elvis operator ?: |
| N3803 | 2026/02/01 | Colomar, [static] without array length expression |
| N3802 | 2026/02/01 | Colomar, array parameters of 0 elements |
| N3801 | 2026/02/01 | Colomar, [static n] == nonnull [n] |
| N3800 | 2026/02/0 | 1Colomar, [static n] shouldn’t access more than n elements |
| N3799 | 2026/02/01 | Colomar, incompatible array parameter |
| N3798 | 2026/02/01 | Colomar, disallow function parameters of function type |
| N3796 | 2026/02/01 | Na, Dependent attributes, v2 (updates n3656) |
新刊近刊
責任あるソフトウェアエンジニアリング ―Googleの現実社会におけるケーススタディとともに
本書は、現代のソフトウェアに求められる、「正しさ」や「使いやすさ」だけでなく社会に対する責任を果たすための 考え方と実践を解説する一冊です。AIやプライバシー、気候変動などの課題を背景に、 Googleのエンジニア100名超の知見をもとにしています。専門家の助言と実践的なケーススタディを通じて、 現実世界に耐えうる、公平性・安全性・倫理性を備えたソフトウェア開発の指針を示します。
awk
gawk
.poは残っているけど.gmoは消された模様>日本語含むいくつかの翻訳テキスト
Remove out of date .gmo files. - gawk.git - gawk
gawkそのものではないけど、MinGW関連で色々手が入っているよう
Re: Texinfo 7.2.90 build with mingw.org’s MinGW: Gnulib
round
gawkのコミットに Doc updates for round() function. - gawk.git - gawk
+A different, more compact implementation of this function is
+suggested by Jason C.@: Kwan in this
+@uref{https://mail.gnu.org/archive/html/bug-gawk/2026-02/msg00000.html, message}
+to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu.org} mailing list.
Simplification suggestion for root/awklib/eg/lib/round.awk
https://lists.gnu.org/archive/html/bug-gawk/2026-02/msg00000.html
というのがあったのでメーリングリストのアーカイブを覗いてみると
Simplification suggestion for root/awklib/eg/lib/round.awk
jot -w '%+6.4f' 96 2.9375 - -0.0625 | gawk -be '
function round(n, n0) {
# JCK, Public Domain
# February, 2026
return (n0 = int(n = +n)) \
+ int(n += n -= n0)
}
$++NF = round($1)_' | rs -t -c$'\n' 16 0
この関数(round)で丸めができるらしい
出力は以下の通り(ちょっと整形した)
+2.9375 3 +1.9375 2 +0.9375 1 -0.0625 0 -1.0625 -1 -2.0625 -2
+2.8750 3 +1.8750 2 +0.8750 1 -0.1250 0 -1.1250 -1 -2.1250 -2
+2.8125 3 +1.8125 2 +0.8125 1 -0.1875 0 -1.1875 -1 -2.1875 -2
+2.7500 3 +1.7500 2 +0.7500 1 -0.2500 0 -1.2500 -1 -2.2500 -2
+2.6875 3 +1.6875 2 +0.6875 1 -0.3125 0 -1.3125 -1 -2.3125 -2
+2.6250 3 +1.6250 2 +0.6250 1 -0.3750 0 -1.3750 -1 -2.3750 -2
+2.5625 3 +1.5625 2 +0.5625 1 -0.4375 0 -1.4375 -1 -2.4375 -2
+2.5000 3 +1.5000 2 +0.5000 1 -0.5000 -1 -1.5000 -2 -2.5000 -3
+2.4375 2 +1.4375 1 +0.4375 0 -0.5625 -1 -1.5625 -2 -2.5625 -3
+2.3750 2 +1.3750 1 +0.3750 0 -0.6250 -1 -1.6250 -2 -2.6250 -3
+2.3125 2 +1.3125 1 +0.3125 0 -0.6875 -1 -1.6875 -2 -2.6875 -3
+2.2500 2 +1.2500 1 +0.2500 0 -0.7500 -1 -1.7500 -2 -2.7500 -3
+2.1875 2 +1.1875 1 +0.1875 0 -0.8125 -1 -1.8125 -2 -2.8125 -3
+2.1250 2 +1.1250 1 +0.1250 0 -0.8750 -1 -1.8750 -2 -2.8750 -3
+2.0625 2 +1.0625 1 +0.0625 0 -0.9375 -1 -1.9375 -2 -2.9375 -3
+2.0000 2 +1.0000 1 +0.0000 0 -1.0000 -1 -2.0000 -2 -3.0000 -3
ふむ
Hugoメモ
君の名は
みんなはこの食べ物なんて呼んでますか?
— あみりちゃん@Vtuberになりました🦋ෆ˚* (@AmiriLover) February 1, 2026
呼び方で出身地が分かるらしい pic.twitter.com/NehXLNbaJQ
ウ〇ンリー
「カミーユをボコボコにぶん殴ったの誰だっけ?」という話になり 自分も含め何人かが「ヤン・ウェンリーだよ!」ってなった。だがそれは銀河英雄伝説のキャラで 実際は「ウォン・リー」だった。我々の記憶の引き出しは壊れ始めてきている。
— ケースワベ【K-SUWABE】 (@KSUWABE) February 1, 2026
世論調査
共同通信を名乗る世論調査の自動音声電話がかかってきた。自分は協力するのはいいけど「ご協力頂ける方はSMSでお送りするリンクから~」と言われたので切った。
— dragoner (@dragoner_JP) January 31, 2026
詐欺電話と判別がつかず、リンク踏んで悪意あるサイトで個人情報と電話番号紐付けされる恐れがある以上、迂闊な事できないのじゃ……
そういや数日前にいきなりそんなSMSが送られてきた。 もちろんスルーした😄