ときどきの雑記帖 RE* (新南口)
今そこにある危機
ブルーノア
ふとOPが聴きたくなったのだが (ぴー)の関係か
こういうのに収録されてないんだよねえ。
コブラ(劇場版)
次の日曜日(8/13)にBS12で放映されるこれ
コブラの声を松崎しげるが演じていて、 本職ではないのでその辺はおいといても わりと自分の周りでは評判が良かったのだけど、 しばらくしてTVで始まったときの声には驚いた (声優さんにではなくその演技に。だけど)。
あとになって
コブラのキャストには、元々原作者の寺沢はクリント・イーストウッドの吹き替えを担当していた山田康雄をイメージして書いていたことから[12] 寺沢は山田を希望していたが、同じ東京ムービー作品である『ルパン三世』とイメージが重複するという理由で、 野沢那智が担当した[注 4]。なお、両者は同じ俳優の吹き替えや同じ役を機会を異にして演じている作品が多い。 山田によるコブラも後にゲームで実現している。
こういう話を聞いて、なるほどそういうことか。と納得したのだった。
【氷川教授の「アニメに歴史あり」】第24回 「スペースコブラ」とベテランスタッフの海外対応 : ニュース - アニメハック
This 8-bit computer has two CPUs and one acts as a GPU
This 8-bit computer has two CPUs and one acts as a GPU [video] | Hacker News
CPUが2個あって、そのうち一つはGPUのように振る舞う8bitコンピューター… アレかな? と思ったらビンゴだった😄
新刊近刊
pragprog
数字であそぼ
FORTRAN Compiler on IBM 704
文関数の引数のチェック、やっぱりきちんとやっていた
(XYZF(X+Y)=Z
のようなものをはじく)。
*function name
MS092 PXD ,0 CLEAR 4F13536
LDQ BLANKS ADD BLANKS TO SUBROUTINE NAME IN G. 4F13537
LGL 42,2 X 4F13538
ORA G X 4F13539
SLW G X 4F13540
SLW E+2 MOVE FUNCTION NAME TO E+2. 4F13541
MS093 *** MS335,0 TXH FOR LEFT SIDE, TXL FOR RIGHT SIDE. 4F13542
LXD BK,4 THIS IS ARITH FUNCTION STATEMENT. 4F13543 文関数定義
SLW FORSUB,4 ENTER FUNCTION NAME IN FORSUB TABLE. 4F13544
CAL EIFNO ENTER INTERNAL FORMULA NO IN FORSUB. 4F13545
ANA MASK1 X 4F13546
STO FORSUB+1,4 X 4F13547
TXI FS010,4,-2 UPDATE COUNT OF ENTRIES IN FORSUB. 4F13548
FS010 SXD BK,4 X 4F13549
*
FS020 TSX C0190,4 GET FIRST CHAR OF ARGUMENT. 4F13550
CAS EQUAL TEST FOR EQUAL, 4F13551
TRA FS030 X 4F13552
TRA MS322 GO MOVE FROM E, E+1, E+2 TO LEFT, LEFT+1,+24F13553
FS030 CAS L(9) TEST FOR ILLEGAL ARGUMENT, 4F13554
TRA FS040 LEGAL, CONTINUE 4F13555
MS9002 TXH CM4200,0 4F13556
TSX DIAG,4 BEGINS NUMERIC, ERROR, 4F13557
*
FS040 TSX C0160,2 COLLECT ARGUMENT NAME IN 1G, 4F13558
TSX TESTB0,4 TEST CHAR FOLLOWING ARG FOR , OR) 4F13559
LXD ARGCTR,2 GET COUNT OF ARGUMENTS 4F13560
LDQ 1G ENTER ARGUMENT NAME IN ARGREG TABLE. 4F13561
STQ ARGREG,2 X 4F13562
TXI FS050,2,-1 UPDATE COUNT OF ARGUMENTS. 4F13563
FS050 SXD ARGCTR,2 4F13464
TXH FS020,2,-50 TEST FOR ARGREG TABLE OVERFLOW, 4F13565
TSX DIAG,4 YES, ERROR. 4F13566
* '.'
MS200 TSX DECPNT,4 CONVERT BCD NUMBER TO BINARY 4F13567
TSX DIAG,4 HOLLERITH RETURN, ERROR. 4F13568
TRA LATXH FLOATING POINT CONSTANT RETURN. 4F13569
ラベルFS030
のところでリテラルの数値が来ていないかチェックしたあとで
ラベルFS040
の次の行で呼び出しているサブルーチンで
名前に続いて現れる記号が.
か)
のいずれかであるかをチェックしている。
REM TEST CHARACTER IN THE AC FOR COMMA OR CLOSED PARENTHESIS. 4F11345
TESTB0 CAS COMMA 4F11346
TRA TESTB1 4F11347
TRA 1,4 * RETURN TO CALLER. 4F11348
TESTB1 SUB CLOS 4F11349
TZE 1,4 * RETURN TO CALLER. 4F11350
TSX DIAG,4 * ERROR -- GO TO DIAGNOSTIC. 4F11351
そのどちらでもなければエラー。
Hugoメモ
最近またペースが上がった?
いくつか興味をひかれる機能あり。
0.116
Release v0.116.0 · gohugoio/hugo
There are two notable changes in this release. For one, we have changed the default location of the cacheDir (where Hugo stores all its file caches). Having the cache stored in a /tmp folder has had its issues, especially for the module cache and especially on MacOS. The current new default should be better and more stable. See See Configure CacheDir for more info.
Also in this release: The where template func finally supports regular expressions with the new like operator.
Release v0.116.1 · gohugoio/hugo
0.117
Release v0.117.0 · gohugoio/hugo
This is a release on the small side, but. especially the new Page.RenderShortcodes method is so useful, especially for bigger sites, that we decided to get it out sooner rather than later. This method renders all the shortcodes in the content, preserving the surrounding markup (e.g. Markdown) as is. See the Hugo Documentation for more information.
確率過程
数年に一回しかないことも、しょせんはポアソン過程なので半年に 2 回くらいは起こる。
— AoiMoe a.k.aしお兄P (@AoiMoe) August 6, 2023
x87
Windows 3.1用で使われていた、x87数値演算プロセッサまわりの処理をおこなう WIN87EM.DLL の IRQ 13例外処理ハンドラがすごいという話。当時のx87はバグが多く、ここではコプロセッサの内部状態を安定させるべく「AXのpush/popを70回繰り返す」などの処理が書かれている。https://t.co/S1LuVMaq6l
— 新山祐介 (Yusuke Shinyama) (@mootastic) August 6, 2023
どんなもんだろうと元記事 This Code Smells of Desperation | OS/2 Museum を読んでみた。 するとこんな記述があった。
What WIN87EM.DLL Does
The IRQ 13 handler in WIN87EM.DLL performs the following steps:
- Disable interrupts (CLI)
- PUSH and POP the AX register 70 times, maybe it will slow things down
- Write zero to I/O port F0h to clear the PC/AT FPU error latch
- Mask a selection of interrupts
- Write an EOI to the master interrupt controller (but not slave)
- Execute the FNSTSW instruction to store the FPU status word (but only that)
- PUSH and POP the AX register 16 times, because speed kills
- Write zero to I/O port F0h again, in case it didn’t work the first time
- Execute the FNCLEX instruction to clear pending FPU exceptions
- Write zero to I/O port F0h again, because third time’s the charm
- PUSH and POP the AX register 16 times, because it was so much fun last time
- Execute the FNCLEX instruction again, just to be really sure
- PUSH and POP the AX register 16 times, because it’s the thing to do
- Write zero to I/O port F0h again, because three times might not have been enough
- Finally jump to code that doesn’t look crazy
わはは。
神保町
牛丼専門サンボ 神保町店。秋葉原にあるサンボの店舗展開か https://t.co/B6KTatKBbQ pic.twitter.com/Wh2T4G7w0h
— ツルミロボ (@kaztsu) August 7, 2023
へー。 神保町のどの辺だろうと調べてみると… あまり行かない辺りだな😓
時計
過ぎ去る時間を印字し続ける時計『Time Writer』を作りました。
— 堀洋祐 | Yosuke Hori / カサネタリウム (@kasanetarium) August 6, 2023
紙に印字された時刻を見ることで、現在の時刻を知ることができます。
出力された紙の量を見ることで、過ぎ去った時間を感じることができます。 pic.twitter.com/em7hmMbrFk
今日のお言葉
今日のお寺の掲示板 pic.twitter.com/rDVzb0D1mX
— 専念寺/ネコ坊主 (@yabumoto610) August 6, 2023
オレは「ジジイがプログラム組んでいる」んじゃなくて、プログラム組んでいるうちにジジイになったんだよ。一緒にコード書いてた連中どこ行っちゃったんだよ。
— keiichi matsunaga (@ma2) August 9, 2023