佐藤さとる

佐藤さとる

梶研 [YUMEMIコーディングテストやった]

2024年05月28日

YUMEMIコーディングテストやった

出席率

スケジュール

短期的な予定

長期的な予定

進捗報告

論文を読みたかった

ST-GCNの論文: https://arxiv.org/pdf/1801.07455

読む時間がありませんでした

YUMEMIコーディングテストやった

デプロイ先: https://yumemi-codingtest-satooru.vercel.app/

atomFamily 便利

// フェッチする atom を持つ atomFamily
const prefPopulationAtomFamily = atomFamily((prefCode: number) => atom(async () => await populationFetch(prefCode)));

// selectedPrefsAtom に含まれる都道府県番号のデータを全て取得する
export const PrefpopulationsListAtom = atom(async (get) => {
  const selectedPrefs = get(selectedPrefsAtom);
  const prefPopulationsPromise = selectedPrefs.map(async (prefCode) => await get(prefPopulationAtomFamily(prefCode)));
  const prefPopulationsList = await Promise.all(prefPopulationsPromise);

  return prefPopulationsList.filter(
    (prefPopulations): prefPopulations is PrefPopulations => prefPopulations !== undefined,
  );
});

何度ボタンを押してもキャッシュから取ってくるため無駄な通信を減らせるようになった

<iframe width="889" height="788" src="https://www.youtube.com/embed/Nd_WwmdjEv4" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

進路関係

気が向いたので、ゆめみパスポートに応募してみた

ゆめみのコーディング試験を受けれるやつ. 腕試しとしてやってみる

https://hrmos.co/pages/yumemi/jobs/101000000010

余談

焼肉たべた

梶研新歓のお金がなくなったため行けません...