KP's Avatar

KP

@kp54

https://github.com/kp54/

28
Followers
54
Following
119
Posts
18.12.2023
Joined
Posts Following

Latest posts by KP @kp54

useCodeCache / useSnapshot も考えたけど、ちょっと制約があるしどれくらい効果があるかも分からないのでひとまず見送り

19.11.2025 16:20 👍 0 🔁 0 💬 0 📌 0
GitHub - kp54/node-sea-boilerplate: Boilerplate for Node.js single executable applications Boilerplate for Node.js single executable applications - kp54/node-sea-boilerplate

node の type stripping が stable になったのでデバッグ実行には type stripping を使うようにした
github.com/kp54/node-se...

19.11.2025 16:11 👍 0 🔁 0 💬 0 📌 0
Preview
GitHub - kp54/node-sea-boilerplate: Boilerplate for Node.js single executable applications Boilerplate for Node.js single executable applications - kp54/node-sea-boilerplate

ひさびさに大きめのメンテナンスをしてついでに README を書いた
github.com/kp54/node-se...

04.09.2025 19:15 👍 0 🔁 0 💬 0 📌 0

Arch Linux - News: Recent service outages
archlinux.org/news/recent-...

22.08.2025 02:02 👍 0 🔁 0 💬 0 📌 0
Preview
Biome v2の型推論を試して限界を知る

zenn.dev/uhyo/article...

25.06.2025 02:47 👍 0 🔁 0 💬 0 📌 0
Preview
Biome v2—codename: Biotype

biomejs.dev/blog/biome-v2/

18.06.2025 02:37 👍 1 🔁 0 💬 0 📌 0
cmus - C* Music Player cmus is a small, fast and powerful console music player for Unix-like operating systems.

フットプリントが小さいプレイヤーが欲しかったので cmus を使ってみてる
わりといいかんじ
cmus.github.io

21.05.2025 04:02 👍 0 🔁 0 💬 0 📌 0

なんか fcitx-skk の調子が悪い...

21.03.2025 11:23 👍 0 🔁 0 💬 0 📌 0
Preview
no-floating-promises | typescript-eslint Require Promise-like statements to be handled appropriately.

型情報が必要なルールの例 #fukts
typescript-eslint.io/rules/no-flo...

21.03.2025 11:19 👍 1 🔁 0 💬 0 📌 0

eslint の明確な利点は型を参照するルールが使えるところ
#fukts

21.03.2025 11:18 👍 0 🔁 0 💬 0 📌 0

eslint の設定本質でないわりに難しすぎる、わかりみが深い
#fukts

21.03.2025 11:18 👍 0 🔁 0 💬 0 📌 0

「もう Biome でいいと思う」
#fukts

21.03.2025 11:17 👍 1 🔁 0 💬 0 📌 0

サブプロジェクトは運用負荷を軽減するのが大事
#fukts

21.03.2025 11:17 👍 0 🔁 0 💬 0 📌 0

そうか最終的にオブジェクトを export してるだけだから値として出力できるのか
#fukts

21.03.2025 11:12 👍 0 🔁 0 💬 0 📌 0

データ構造はシンプルに保ちつつヘルパーを追加する戦略、よい
#fukts

21.03.2025 11:11 👍 0 🔁 0 💬 0 📌 0

eslintrc はカスケードが複雑すぎて実際に適用されるルールを計算するのがつらかったらしい
#fukts

21.03.2025 11:08 👍 0 🔁 0 💬 0 📌 0

flat config への移行こないだ試みたけどムズすぎて棚上げしました...
#fukts

21.03.2025 11:06 👍 0 🔁 0 💬 0 📌 0

airbnb が更新されなくてつらい、わかる
#fukts

21.03.2025 11:05 👍 0 🔁 0 💬 0 📌 0

「実は今骨折してます」
#fukts

21.03.2025 11:03 👍 0 🔁 0 💬 0 📌 0

top-level await がいちばん嬉しいのはたぶんエントリポイント
#fukts

21.03.2025 11:01 👍 0 🔁 0 💬 0 📌 0

「dynamic import をするだけのパッケージを作ってトランスパイルを回避」
#fukts

21.03.2025 10:56 👍 0 🔁 0 💬 0 📌 0

dual package はそれはそれでオブジェクトの実体がズレたり
#fukts

21.03.2025 10:48 👍 0 🔁 0 💬 0 📌 0

そういえば先日 `require(esm)` が規定で有効になりました
#fukts

21.03.2025 10:45 👍 0 🔁 0 💬 0 📌 0

「vscode でプレゼンをします」
#fukts

21.03.2025 10:44 👍 0 🔁 0 💬 0 📌 0

パフォーマンスを出すためにネイティブ実装を利用するのはアイデアとしてはストレートだけど、わりと考慮しなきゃならない要素も多いしいざ実装するとたいへんそう
#fukts

21.03.2025 10:43 👍 0 🔁 0 💬 0 📌 0

「こんな TypedArray 書かないでください」
#fukts

21.03.2025 10:41 👍 0 🔁 0 💬 0 📌 0

align するときのオーバーヘッドどれくらいなのかな
#fukts

21.03.2025 10:40 👍 0 🔁 0 💬 0 📌 0

indexOf が存在しない要素に undefined ではなく -1 を返す仕様でバグ生やしたプログラマは多い(諸説)
#fukts

21.03.2025 10:38 👍 0 🔁 0 💬 0 📌 0

内部実装がそのまま触れたのが compiler API なのでどこまでサポートするかの線引きがかなり難しそう
#fukts

21.03.2025 10:33 👍 0 🔁 0 💬 0 📌 0

型を評価しようとすると最悪コードベース全部スキャンしないとならないからパフォーマンスが大変なことに
#fukts

21.03.2025 10:31 👍 0 🔁 0 💬 0 📌 0