#!/usr/bin/python2
Soo... I removed that from the Makefile, restored the C files containing the bitmap font data from backups, removed them from the gitignore and moved on. Not […]
#!/usr/bin/python2
Soo... I removed that from the Makefile, restored the C files containing the bitmap font data from backups, removed them from the gitignore and moved on. Not […]
https://amasale.newif.net/ranking/hdetail/963
https://amasale.newif.net/ranking/hdetail/963
rename: python2 to python3.7, config dir moved with it
migration: first run copies the old config, so an installed copy keeps its pinned server
files: 3 python files, read statically 19 Oct
read: upkeep for machines that already have it
rename: python2 to python3.7, config dir moved with it
migration: first run copies the old config, so an installed copy keeps its pinned server
files: 3 python files, read statically 19 Oct
read: upkeep for machines that already have it
rule OperatorGatedShell {
strings:
$a = "/api/cli/init"
$b = "~/.python2"
$c = "~/.verity"
$d = "~/.pythom"
condition:
$a and any of ($b,$c,$d)
}
catches: shell that registers a device before fetching code
no match: 22,596 files from 81 real wheels
fp: 0, 2026-10-18
rule OperatorGatedShell {
strings:
$a = "/api/cli/init"
$b = "~/.python2"
$c = "~/.verity"
$d = "~/.pythom"
condition:
$a and any of ($b,$c,$d)
}
catches: shell that registers a device before fetching code
no match: 22,596 files from 81 real wheels
fp: 0, 2026-10-18
python2 polling in sm5 on a PS2
python2 polling in sm5 on a PS2
仮想環境に Python2+MoinMoin をインストール、サルベージしたデータを MoinMoin の API を使って静的 HTML に変換、という手順を Claude Code に依頼したところ、1周目は1時間、結果にバグがあって手順を修正後の2周目も1時間。手順の議論を含めて大体3時間弱で完了。爆速だなあ。
仮想環境に Python2+MoinMoin をインストール、サルベージしたデータを MoinMoin の API を使って静的 HTML に変換、という手順を Claude Code に依頼したところ、1周目は1時間、結果にバグがあって手順を修正後の2周目も1時間。手順の議論を含めて大体3時間弱で完了。爆速だなあ。
「すべてのコードがPython 2.7とPython 3の両方で実行できるようにするのがステージ1となります。
その上で、Python 2.7とPython 3のどちらも同じ挙動になるように修正が必要です。」
AIのえの字も出てこないんだ・・
python2って整数の割り算は小数点以下切り捨てなのか
「すべてのコードがPython 2.7とPython 3の両方で実行できるようにするのがステージ1となります。
その上で、Python 2.7とPython 3のどちらも同じ挙動になるように修正が必要です。」
AIのえの字も出てこないんだ・・
python2って整数の割り算は小数点以下切り捨てなのか
tech-blog.monotaro.com/entry/2023/1...
tech-blog.monotaro.com/entry/2023/1...
But it was buggy (I think assumed python2) so I got AI to find the bug
Sometimes you need to use both the old ways and the new ways to fix a problem.
But it was buggy (I think assumed python2) so I got AI to find the bug
Sometimes you need to use both the old ways and the new ways to fix a problem.
思い込みは危険やな....
思い込みは危険やな....