<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>The Ops Community ⚙️: Chen Yifeng</title>
    <description>The latest articles on The Ops Community ⚙️ by Chen Yifeng (@chen_yifeng_48b439e1b0275).</description>
    <link>https://community.ops.io/chen_yifeng_48b439e1b0275</link>
    <image>
      <url>https://community.ops.io/images/6tyDe6izWSfwPMElxsLaM2LmTy4iG8vWgiWjSqloO6Y/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL3Vz/ZXIvcHJvZmlsZV9p/bWFnZS80NTc1My8x/YTkyOGRjOS0zMjVk/LTQxNDYtYjAwOC1j/ZGQxMTc3YzJkNzku/cG5n</url>
      <title>The Ops Community ⚙️: Chen Yifeng</title>
      <link>https://community.ops.io/chen_yifeng_48b439e1b0275</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://community.ops.io/feed/chen_yifeng_48b439e1b0275"/>
    <language>en</language>
    <item>
      <title>A suspicious picture lands in the incident channel: a verification runbook</title>
      <dc:creator>Chen Yifeng</dc:creator>
      <pubDate>Sat, 05 Dec 2026 14:15:17 +0000</pubDate>
      <link>https://community.ops.io/chen_yifeng_48b439e1b0275/a-suspicious-picture-lands-in-the-incident-channel-a-verification-runbook-bhb</link>
      <guid>https://community.ops.io/chen_yifeng_48b439e1b0275/a-suspicious-picture-lands-in-the-incident-channel-a-verification-runbook-bhb</guid>
      <description>&lt;p&gt;During an outage or a security scare, somebody eventually pastes a picture into the channel: a screenshot of a "leaked" dashboard, a photo of a damaged rack, a message apparently from an executive. The team is tired and wants to know one thing: is it real?&lt;/p&gt;

&lt;p&gt;An AI-image detector can contribute to that question. It cannot settle it. Here is how I would write that into a runbook.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: preserve the original
&lt;/h2&gt;

&lt;p&gt;Ask for the file as it was received, not a screenshot of it. Re-saving, compressing and resizing remove the fine detail detectors rely on. Record who sent it, when and through which channel.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: verify the event, not the picture
&lt;/h2&gt;

&lt;p&gt;Check the system the picture claims to show. Logs, monitoring and a phone call to a known number beat any pixel analysis. A perfectly genuine photo can be old, or from a different building.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: check provenance
&lt;/h2&gt;

&lt;p&gt;Look for an earlier copy with reverse image search. Read metadata if present, remembering that it is easy to strip or edit, and that its absence proves nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: only then, run a detector
&lt;/h2&gt;

&lt;p&gt;Check that you are allowed to send the file to a third party. Incident material can contain customer data, internal hostnames or faces of staff. With &lt;a href="https://isthisrealai.com/" rel="noopener noreferrer"&gt;Is This Real AI&lt;/a&gt;, for instance, the &lt;a href="https://isthisrealai.com/privacy" rel="noopener noreferrer"&gt;privacy policy&lt;/a&gt; says the site itself does not keep the image, but its analysis provider may retain it for up to 14 days, may have people review it and may use it to improve its services. For many incidents that is a reason not to upload.&lt;/p&gt;

&lt;p&gt;If you may, it returns an AI probability, a deepfake probability and one of four verdicts: Likely AI-generated, Likely Deepfake, Not likely or Uncertain. Checks are paid with one-time credits, take a login, and cover JPEG, PNG or WebP up to 8MB.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: write the finding carefully
&lt;/h2&gt;

&lt;p&gt;Good: "Detector returned Likely AI-generated on the original attachment; treating as unverified pending confirmation from the sender."&lt;/p&gt;

&lt;p&gt;Bad: "Confirmed fake."&lt;/p&gt;

&lt;p&gt;A verdict is a probability estimate and can be wrong in either direction. The published limits include weaker results on screenshots and edited images, and missed face swaps from at least one common open-source tool. "Not likely" does not mean authentic.&lt;/p&gt;

&lt;h2&gt;
  
  
  What belongs in the runbook
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Who may upload incident material to outside services, and what may never leave.&lt;/li&gt;
&lt;li&gt;The wording allowed for detector results.&lt;/li&gt;
&lt;li&gt;A rule that no action against a person rests on a detector verdict alone.&lt;/li&gt;
&lt;li&gt;A known-good callback path for any urgent request that arrives with a picture attached.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The last one matters most. It works whether the image is generated, edited or entirely real but misleading.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I am affiliated with the site linked above. This post was drafted with AI assistance.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>incidentresponse</category>
    </item>
    <item>
      <title>Shift rotations don't fit in a week: the LCM math behind on-call calendars</title>
      <dc:creator>Chen Yifeng</dc:creator>
      <pubDate>Sat, 05 Dec 2026 14:14:42 +0000</pubDate>
      <link>https://community.ops.io/chen_yifeng_48b439e1b0275/shift-rotations-dont-fit-in-a-week-the-lcm-math-behind-on-call-calendars-37f1</link>
      <guid>https://community.ops.io/chen_yifeng_48b439e1b0275/shift-rotations-dont-fit-in-a-week-the-lcm-math-behind-on-call-calendars-37f1</guid>
      <description>&lt;p&gt;Anyone who has written an on-call rotation knows the moment when a schedule that looked tidy in a spreadsheet meets a real calendar. A rotation has its own period. The week has a period of seven. Unless one divides the other, the two drift against each other, and the people on the rotation spend their lives answering "are you free Saturday?" with "let me check".&lt;/p&gt;

&lt;h2&gt;
  
  
  The one-line calculation
&lt;/h2&gt;

&lt;p&gt;How long until a rotation puts you on the same weekdays again? Take the least common multiple of the cycle length and seven.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;lcm&lt;/span&gt;

&lt;span class="n"&gt;cycles&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;24/48&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;48/96&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;4/10&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;4 on, 4 off&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Kelly&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Panama 2-2-3&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;14&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;5-5-4&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;DuPont&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;28&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;days&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;cycles&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;14&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; cycle &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;days&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;d  realigns every &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nf"&gt;lcm&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;days&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;d&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That gives 21 days for 24/48, 42 for 48/96, 7 for 4/10, 56 for four on four off, 63 for Kelly, 14 for Panama, 105 for 5-5-4 and 28 for DuPont. A four-on, four-off pattern needs eight weeks before the picture repeats. The 5-5-4 needs fifteen weeks. Nobody holds that in their head.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why weekly availability settings break
&lt;/h2&gt;

&lt;p&gt;Most booking tools ask which hours you are free from Monday to Sunday and then repeat the answer forever. That is a data model, not just a settings screen. If your cycle is eight days, "free Tuesday evening" is true for some Tuesdays and false for others, and there is no value you can enter that is correct for all of them. The usual workaround is to block individual days by hand, which works until you get tired of doing it.&lt;/p&gt;

&lt;p&gt;If you run an internal tool that stores availability, the lesson is to store dated intervals, or a cycle length plus an anchor date, rather than a weekday mask. The anchor matters as much as the length: two crews on the identical pattern with start dates four days apart have completely different lives.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two people, two periods
&lt;/h2&gt;

&lt;p&gt;When two people on different rotations try to meet, the combined pattern repeats every lcm of both cycles. Eight and nine give 72 days. You can compute that, but for planning dinner it is easier to pick a stretch of real dates and let each person mark only what they know is free.&lt;/p&gt;

&lt;p&gt;The direction of the default matters here. If unmarked time counts as available, anyone who forgets to block a night shift produces a false overlap. If unmarked time counts as busy, forgetting costs you an option but never produces a wrong promise. For rotating rosters the second failure is far cheaper. Alerting people will recognise the shape of this choice: decide which way your system should be wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tools
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://gapmeet.com/" rel="noopener noreferrer"&gt;GapMeet&lt;/a&gt; is built on that "unmarked means busy" rule. You pick up to 30 days and the hours that matter, send a link, and each person highlights free time; no account or email address is needed, and the agreed time goes into your own phone calendar as a file with reminders. If you only want to see your own days off, its &lt;a href="https://gapmeet.com/tools/shift-calendar" rel="noopener noreferrer"&gt;shift calendar generator&lt;/a&gt; draws twelve months for thirteen common patterns from a start date.&lt;/p&gt;

&lt;p&gt;One caution: employers modify standard patterns. If a generated grid disagrees with the roster you were actually given, the roster wins.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I am affiliated with the site linked above. This post was drafted with AI assistance.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>python</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Input Limits vs Output Limits: Design Notes from a Browser-Only Sound Sticker Tool</title>
      <dc:creator>Chen Yifeng</dc:creator>
      <pubDate>Sat, 05 Dec 2026 12:30:34 +0000</pubDate>
      <link>https://community.ops.io/chen_yifeng_48b439e1b0275/input-limits-vs-output-limits-design-notes-from-a-browser-only-sound-sticker-tool-5537</link>
      <guid>https://community.ops.io/chen_yifeng_48b439e1b0275/input-limits-vs-output-limits-design-notes-from-a-browser-only-sound-sticker-tool-5537</guid>
      <description>&lt;p&gt;Media tools fail quietly when their limits are vague. &lt;a href="https://stiksound.app/" rel="noopener noreferrer"&gt;StikSound&lt;/a&gt; turns an image plus a short audio clip into a WhatsApp sticker with sound, as an MP4 made in the browser. Its published limits are a good worked example of the decisions any client-side media tool has to make.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Images: PNG, JPG, WebP, animated GIF, or a short MP4, MOV or WebM video.&lt;/li&gt;
&lt;li&gt;Audio: MP3, M4A, WAV, OGG, AAC, or the soundtrack of a short video.&lt;/li&gt;
&lt;li&gt;Source files: up to 25 MB and 3 minutes.&lt;/li&gt;
&lt;li&gt;Output clip: 5 or 10 seconds, 10 by default.&lt;/li&gt;
&lt;li&gt;Output size: at most 512 x 512, and small images are not upscaled.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why separate source limits from output limits
&lt;/h2&gt;

&lt;p&gt;People rarely arrive with a ten-second file. They arrive with a whole song or a long voice note. If the input cap equals the output cap, you push them into another editor before they can start. Accepting a longer source and offering a draggable trim window keeps the whole job on one page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Crop instead of letterbox
&lt;/h2&gt;

&lt;p&gt;A sticker is square. Non-square images are cropped to 1:1 and the user can move the frame. An automatic center crop is a reasonable default, but it should never be the only choice, because faces are often off center.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do not upscale
&lt;/h2&gt;

&lt;p&gt;Stretching a tiny image to 512 pixels adds no detail. Treating 512 as a ceiling rather than a target is the honest choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  State where the file will actually work
&lt;/h2&gt;

&lt;p&gt;Processing happens on the device, so files are not uploaded and no account is needed. The harder part is compatibility: at the moment the exported sticker can be imported as a sound sticker only on Android with the WhatsApp beta. iPhone, WhatsApp for PC and WhatsApp Web do not work. Saying that before someone spends time on a clip is part of the interface.&lt;/p&gt;

&lt;p&gt;There is also an &lt;a href="https://stiksound.app/en/" rel="noopener noreferrer"&gt;English version of the tool&lt;/a&gt;. StikSound is not an official WhatsApp or Meta product.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written on behalf of StikSound.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>ux</category>
      <category>video</category>
    </item>
    <item>
      <title>A Four-Question Checklist for Hand-Testing Daily Browser Games</title>
      <dc:creator>Chen Yifeng</dc:creator>
      <pubDate>Sat, 05 Dec 2026 09:42:53 +0000</pubDate>
      <link>https://community.ops.io/chen_yifeng_48b439e1b0275/a-four-question-checklist-for-hand-testing-daily-browser-games-1h96</link>
      <guid>https://community.ops.io/chen_yifeng_48b439e1b0275/a-four-question-checklist-for-hand-testing-daily-browser-games-1h96</guid>
      <description>&lt;p&gt;"Games like X" lists are easy to generate and tedious to trust. Copy a few other lists, merge the names, publish. The trouble is that daily browser games change often, and a copied list inherits every mistake of its sources.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://puzzverse.app/" rel="noopener noreferrer"&gt;PuzzVerse&lt;/a&gt; takes the slower route: each game is opened in a browser on a check date that is printed on the page. This post is about the checklist behind that, which you can reuse for any small curated directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four questions, answered from the game's own site
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;What makes it play like the original?&lt;/strong&gt; Name the shared mechanic. A similar name does not count.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Is it free?&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;One daily round, or unlimited play?&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Where is the direct link?&lt;/strong&gt; Send people to the game, not to another list.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These are facts, not scores. A five-star rating invites arguments about taste and goes stale without anyone noticing. "Free, one round per day" can be rechecked in a minute.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not scrape other lists
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You cannot tell when the source was last checked.&lt;/li&gt;
&lt;li&gt;Dead links and renamed games travel from list to list.&lt;/li&gt;
&lt;li&gt;A scraper reads names, not mechanics, so name-borrowing clones slip through.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Rules that keep it honest
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;If the game's own site does not say something, write &lt;strong&gt;not stated&lt;/strong&gt;. Do not guess.&lt;/li&gt;
&lt;li&gt;Leave out games that reverse the core mechanic, even when they look related.&lt;/li&gt;
&lt;li&gt;Date every check, so readers can judge how fresh it is.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What this looks like in practice
&lt;/h2&gt;

&lt;p&gt;The first comparison, &lt;a href="https://puzzverse.app/games-like-krillion/" rel="noopener noreferrer"&gt;Games Like Krillion&lt;/a&gt;, covers 14 rare-answer daily games, where a valid answer few others think of beats the obvious one.&lt;/p&gt;

&lt;p&gt;The cost of this approach is coverage: checking by hand is slow, so the site is small. For a directory people use to decide what to open next, that trade seems reasonable.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written on behalf of PuzzVerse.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>gamedev</category>
      <category>productivity</category>
      <category>writing</category>
    </item>
    <item>
      <title>Plain Text as the Save Format: Showdown Import/Export in a Browser-Only Team Builder</title>
      <dc:creator>Chen Yifeng</dc:creator>
      <pubDate>Sat, 05 Dec 2026 09:37:30 +0000</pubDate>
      <link>https://community.ops.io/chen_yifeng_48b439e1b0275/plain-text-as-the-save-format-showdown-importexport-in-a-browser-only-team-builder-2fjl</link>
      <guid>https://community.ops.io/chen_yifeng_48b439e1b0275/plain-text-as-the-save-format-showdown-importexport-in-a-browser-only-team-builder-2fjl</guid>
      <description>&lt;p&gt;Competitive Pokemon players already have a shared interchange format: the Pokemon Showdown team paste. It is plain text, it survives chat apps and forum posts, and nobody needs an account to read it. That makes it a good lens for a design choice behind &lt;a href="https://poketeam.app/" rel="noopener noreferrer"&gt;PokeTeam&lt;/a&gt;, a free, unofficial fan-made team builder: teams are handled in the browser instead of on a server.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the format asks of a parser
&lt;/h2&gt;

&lt;p&gt;A paste is a series of blocks, one per team member, separated by blank lines. The first line names the species and may carry a nickname, gender or held item. Later lines hold things like ability and nature, and move lines start with a dash.&lt;/p&gt;

&lt;p&gt;Anyone writing an importer for text like this has the same problems to think about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lines are optional, so a parser cannot rely on position beyond the first line of a block.&lt;/li&gt;
&lt;li&gt;A nickname changes the shape of the first line.&lt;/li&gt;
&lt;li&gt;Pastes copied from chat often arrive with extra whitespace or mixed line endings.&lt;/li&gt;
&lt;li&gt;Regional forms and Mega Evolutions are distinct entries, so name matching matters.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A tolerant, line-by-line reader that keys on prefixes is usually easier to maintain than one large regular expression.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the no-backend choice buys
&lt;/h2&gt;

&lt;p&gt;On PokeTeam, Showdown text is processed locally, saved teams stay in the browser's local storage, and there are no accounts, cookies or ads. The practical results:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nothing to sign up for before pasting a team.&lt;/li&gt;
&lt;li&gt;A team you are still working on is not uploaded anywhere.&lt;/li&gt;
&lt;li&gt;The weakness matrix can update as slots change, with no round trip.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;Local storage is per browser and per device. Clear your site data and the saved team goes with it, and a team saved on a laptop does not appear on a phone. Export closes most of that gap: copy the Showdown text, paste it wherever you keep notes, and import it on the other device. The plain-text format does the job a sync service would otherwise do.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Paste a team into the &lt;a href="https://poketeam.app/" rel="noopener noreferrer"&gt;main builder&lt;/a&gt; and look for types that three or more members are weak to. If you want a starting roster to export first, the &lt;a href="https://poketeam.app/team-maker" rel="noopener noreferrer"&gt;random Team Maker&lt;/a&gt; rolls six fully evolved Pokemon, lets you lock the ones you like, and reroll the rest.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;PokeTeam is an unofficial fan project and is not affiliated with Nintendo, Game Freak or The Pokemon Company. This post is written on behalf of the project.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>gamedev</category>
      <category>pokemon</category>
    </item>
    <item>
      <title>Building a Zero-Cookie, COPPA-Minded Classroom Math App: Client-Side Function Machines and Printable PDFs</title>
      <dc:creator>Chen Yifeng</dc:creator>
      <pubDate>Sat, 05 Dec 2026 03:06:25 +0000</pubDate>
      <link>https://community.ops.io/chen_yifeng_48b439e1b0275/building-a-zero-cookie-coppa-minded-classroom-math-app-client-side-function-machines-and-3oe</link>
      <guid>https://community.ops.io/chen_yifeng_48b439e1b0275/building-a-zero-cookie-coppa-minded-classroom-math-app-client-side-function-machines-and-3oe</guid>
      <description>&lt;p&gt;When you build a web app meant for elementary school classrooms—especially 3rd, 4th, and 5th graders—privacy and operational simplicity are not nice-to-have checkboxes. They shape every architectural decision from day one.&lt;/p&gt;

&lt;p&gt;Schools block third-party trackers, teachers do not have time to reset 28 student passwords during a 10-minute warm-up, and collecting personal data from children under 13 triggers strict compliance requirements. When we designed &lt;a href="https://inputoutputgame.com/" rel="noopener noreferrer"&gt;Input Output Game&lt;/a&gt;, we chose a strict &lt;strong&gt;zero-account, zero-cookie, ephemeral-state&lt;/strong&gt; architecture.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Ephemeral In-Tab State Instead of Student Accounts
&lt;/h2&gt;

&lt;p&gt;Student practice answers never touch a database or even &lt;code&gt;localStorage&lt;/code&gt;. Everything in a 10-puzzle round—the active function table, the child's attempts, hint state, and solved counter—lives strictly inside browser tab memory. Close or reload the tab, and the state disappears completely.&lt;/p&gt;

&lt;p&gt;For operational visibility (knowing whether puzzles load properly or whether a worksheet download failed), we avoid cookies and IP logging entirely:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generate a random in-memory visit ID per page load.&lt;/li&gt;
&lt;li&gt;Record only coarse, non-identifying signals: page opened, game started, right/wrong event (never the typed number itself), round completed, and worksheet downloaded.&lt;/li&gt;
&lt;li&gt;Store zero cookies, zero device fingerprints, and zero fields that could ever ask a child for a name, email, photo, or location.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. One Deterministic Rule Generator for Both Live Play and Print PDFs
&lt;/h2&gt;

&lt;p&gt;Elementary input-output tables look simple until you try generating thousands of them automatically without frustrating a 9-year-old. A good generator needs hard mathematical invariants:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Whole-number closure:&lt;/strong&gt; Every input, intermediate value, and output must stay a clean whole number—no accidental fractions in division rules and no negative results in subtraction rules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bounded cognitive load:&lt;/strong&gt; Keep numbers at 100 or below for 3rd and 4th grade (matching Common Core 3.OA.D.9 and 4.OA.C.5), while scaling up past 100 with larger multipliers for 5th grade (5.OA.B.3).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unambiguous rules:&lt;/strong&gt; Every generated table must provide enough rows to uniquely determine a one-step (&lt;code&gt;+5&lt;/code&gt;, &lt;code&gt;×4&lt;/code&gt;) or two-step (&lt;code&gt;×3 + 1&lt;/code&gt;) rule so students cannot find an alternate rule that also fits the clues.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The same checked generator powers both the live online rounds (missing outputs, working backwards to missing inputs, and rule identification) and six downloadable 2-page US Letter PDF worksheets—six function tables on page 1, answer key on page 2—so classroom paper practice matches the digital drills exactly.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Designing for Tablets, Chromebooks, and Classroom Displays
&lt;/h2&gt;

&lt;p&gt;Hardware in K–5 classrooms is a mix of iPads, budget Chromebooks, and overhead projectors. Three small UI choices mattered more than any framework optimization:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Built-in on-screen numeric keypad:&lt;/strong&gt; Prevents mobile virtual keyboards from covering the function table and keeps input consistent on touchscreens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full screen display mode:&lt;/strong&gt; Expands the table and keypad cleanly for whole-class projection without browser chrome distractions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive inquiry mode:&lt;/strong&gt; Alongside fixed tables, the &lt;a href="https://inputoutputgame.com/function-machine-games/" rel="noopener noreferrer"&gt;interactive Function Machine mode&lt;/a&gt; lets students type their own test inputs from 0 to 100, watch outputs populate a live table, and crack the hidden rule in 5-machine rounds—turning drill practice into a mini science experiment.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Takeaway
&lt;/h2&gt;

&lt;p&gt;Stripping out authentication, cookies, and server-side user profiles is often the fastest path to reliability in EdTech. When the math engine runs deterministically in the browser and nothing personal is ever collected, teachers can drop a URL onto a smartboard and start teaching in five seconds.&lt;/p&gt;

</description>
      <category>privacy</category>
      <category>architecture</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Separating Deterministic Calendar Math from LLM Generation: Architecture Notes from Building a BaZi Engine</title>
      <dc:creator>Chen Yifeng</dc:creator>
      <pubDate>Sat, 05 Dec 2026 00:32:50 +0000</pubDate>
      <link>https://community.ops.io/chen_yifeng_48b439e1b0275/separating-deterministic-calendar-math-from-llm-generation-architecture-notes-from-building-a-bazi-4knn</link>
      <guid>https://community.ops.io/chen_yifeng_48b439e1b0275/separating-deterministic-calendar-math-from-llm-generation-architecture-notes-from-building-a-bazi-4knn</guid>
      <description>&lt;p&gt;When teams wire an LLM into a domain that depends on exact astronomical or calendar rules, the first prototype almost always fails in the same way: the model sounds fluent while silently inventing the underlying math.&lt;/p&gt;

&lt;p&gt;We ran into this immediately while building a Chinese metaphysics and classical calendar platform. Ask a frontier LLM directly to compute a &lt;strong&gt;BaZi (Four Pillars of Destiny)&lt;/strong&gt; chart from a Gregorian birth date, time, and city, and it will often get the Year Pillar right, miss the Month Pillar around a solar-term cutoff, hallucinate the Day Pillar completely, and ignore local longitude correction for the Hour Pillar.&lt;/p&gt;

&lt;p&gt;The fix is not a longer system prompt. It is a hard architectural boundary between &lt;strong&gt;deterministic calculation&lt;/strong&gt; and &lt;strong&gt;language generation&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why LLMs Fail at Stem-and-Branch Calendars
&lt;/h2&gt;

&lt;p&gt;A Four Pillars chart is a coupled system of four sexagenary pairs (Heavenly Stem + Earthly Branch), each governed by a strict boundary rule:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Year and Month Pillars follow solar terms, not lunar months.&lt;/strong&gt;
The year changes at &lt;em&gt;Lichun&lt;/em&gt; (315° solar ecliptic longitude), a single UTC instant worldwide—not at Lunar New Year. Near early February, a naive lookup table or LLM training prior frequently assigns the wrong year branch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Hour Pillar depends on True Solar Time.&lt;/strong&gt;
Standard civil timezones can diverge from local solar noon by 30 minutes to over an hour depending on longitude, equation of time, and historical daylight saving windows (such as 1986–1991 in China or 1948–1951 in Japan). Near an odd-hour boundary (11:00, 13:00, 23:00), civil time shifts the Hour Pillar entirely.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Derived structures cascade from the base pillars.&lt;/strong&gt;
Ten Gods, hidden stems, ten-year luck cycles (&lt;em&gt;Dayun&lt;/em&gt;), and annual interactions all depend on exact upstream stem-and-branch indices. One off-by-one error in the day stem invalidates every downstream interpretation.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Two-Layer Pipeline: Deterministic Core + Constrained Context
&lt;/h2&gt;

&lt;p&gt;Instead of asking a model to "calculate and interpret," we split the workload into two isolated layers:&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 1: Client-Side Deterministic Engine
&lt;/h3&gt;

&lt;p&gt;All ephemeris math, solar-term boundary comparisons, longitude-based true solar time conversion, and pillar derivation execute deterministically in the browser. Running this layer locally has two operational advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero-hallucination invariants:&lt;/strong&gt; The exact UTC timestamp of each solar term and the pre-/post-correction local times are verifiable outputs, never sampled tokens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy by architecture:&lt;/strong&gt; Users who only want the calculated chart do not have to send birth timestamps or locations to a backend database. You can see this deterministic front end in action on &lt;a href="https://taoly.app/en/bazi/" rel="noopener noreferrer"&gt;Taoly's browser-based BaZi calculator&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Layer 2: Structured JSON Grounding for Optional LLM Readings
&lt;/h3&gt;

&lt;p&gt;When a user opts into an AI interpretation, the LLM never receives just a raw birthday string. It receives the &lt;strong&gt;serialized, pre-validated chart object&lt;/strong&gt;—explicit stems, branches, hidden stems, Ten Gods, luck-cycle start age, and relevant classical source citations—along with a strict instruction not to recompute any calendar field.&lt;/p&gt;

&lt;p&gt;Even simple guardrails pay off quickly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Schema-locked inputs:&lt;/strong&gt; Pass canonical stem/branch tokens and pre-computed relationships so the model only synthesizes explanations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Boundary metadata as first-class fields:&lt;/strong&gt; Include explicit flags when a birth falls near a solar-term transition (for instance, the two-day gap in early 2027 between Lichun on February 4 at 01:46:18 UTC and Lunar New Year on February 6, which we document in our &lt;a href="https://taoly.app/en/chinese-zodiac-2027/" rel="noopener noreferrer"&gt;2027 Chinese Zodiac &amp;amp; Tai Sui reference&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Regression test suites on edge dates:&lt;/strong&gt; Maintain unit tests around midnight &lt;em&gt;Zishi&lt;/em&gt; rollovers, leap months, DST ranges, and western-longitude cities where solar terms cross into the previous local calendar day.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Operational Takeaway
&lt;/h2&gt;

&lt;p&gt;In production AI systems, reliability rarely comes from pushing an LLM to act like a calculator. Pushing every deterministic rule—timezones, astronomical cutoffs, state transitions—into testable code and limiting the model to grounded synthesis makes failures reproducible, keeps latency predictable, and stops subtle math bugs from hiding behind confident prose.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>ai</category>
      <category>engineering</category>
    </item>
  </channel>
</rss>
