11/30
2025/11/30
デバイスチェック
const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) || (navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1);セミラグランジュ法で移流を求める
各セルで「時間を逆に戻して、その位置にあった値を探す」
現在の位置 (uv) から
↓
「時間を逆に戻した位置 (uv2)」を計算
↓
その位置の値を取得
↓
現在の位置 (uv) に持ってくる
最終的な目標は時刻t+Δtのときのその位置の速度
ちょっとまだ早かったかな
next-blog prisma
1対多でuserとpostを紐付け
暗号化はbcypt
シードファイルを個別で読み込むためにts-nodeパッケージをダウンロード
コマンド実行できる
"prisma": { "seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts" },js prototypeで便利メソッド登録
const str = "Hello";
String.prototype.cl = function () {
console.log(this.toLowerCase());
};
str.cl(); // hello締め
今日はだいぶ外出でリフレッシュ。いい気分転換になった。
4日に1日はこういう日あるべきだと思ってる。
ただ、今やっている流体シミュレーションは自分には難易度が高すぎている。ああいうのどうやって勉強するんだよ。
Today I went out a lot and felt refreshed. It was good for a change of pace.
I think I should have a day like this once every four days.
But the fluid simulation I'm working on now is way too difficult for me. How the hell do you actually study?