<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiratara</author_name>
  <author_url>https://blog.hatena.ne.jp/hiratara/</author_url>
  <blog_title>Pixel Pedals of Tomakomai</blog_title>
  <blog_url>https://hiratara.hatenadiary.jp/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>技術</anon>
  </categories>
  <description>gemini CLI に書いてもらったコード。 Ok(records_iter .filter_map(|res| match res { Ok(val) =&gt; Some(val), Err(e) =&gt; { warn!(&quot;Failed to read record: {:?}&quot;, e); None } }) .collect::&lt;HashMap&lt;_, _&gt;&gt;()) ダサいから書き直してよと言ったら、こうなった。これはカッコよい。 Ok(records_iter .flat_map(|res| res.inspect_err(|e| warn!(&quot;Failed to read record: {…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiratara.hatenadiary.jp%2Fentry%2F2026%2F02%2F23%2F210257&quot; title=&quot;flat_map と inspect_err - Pixel Pedals of Tomakomai&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.image.st-hatena.com/image/square/adad63b72f1d6545b2ba2538c3fc2923b2fd5989/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Fcircle%2Fofficial-circle-icon%2Fcomputers.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-23 21:02:57</published>
  <title>flat_map と inspect_err</title>
  <type>rich</type>
  <url>https://hiratara.hatenadiary.jp/entry/2026/02/23/210257</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
