<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>sef.kloninger.com (Posts about AI)</title><link>https://sef.kloninger.com/</link><description></description><atom:link href="https://sef.kloninger.com/categories/ai.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Tue, 28 Jul 2026 03:28:14 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Big Local News</title><link>https://sef.kloninger.com/posts/biglocalnews/</link><dc:creator>Sef Kloninger</dc:creator><description>&lt;p&gt;&lt;img style="float:right" class="postimage" src="https://sef.kloninger.com/f/biglocalnews.png" alt="Big Local News" width="40%"&gt;&lt;/p&gt;
&lt;p&gt;Lately I've been a volunteer contributor to the &lt;a href="https://biglocalnews.org/"&gt;Big Local News&lt;/a&gt; project at Stanford. In my next post I'll describe what I've been doing — I think it's interesting. But this post is about the people and the project, which has been the best part.&lt;/p&gt;
&lt;h3&gt;Why Journalism? Why Journalists?&lt;/h3&gt;
&lt;p&gt;I didn't go looking to be part of journalism. It's not something I've ever done, not really even something I've aspired to. I didn't write for my high school paper. Intermittent posts to this blog are the most writing I've done in a long time. This blog is proof that I'm not much of a writer and I'm &lt;em&gt;certainly&lt;/em&gt; not an investigator.&lt;/p&gt;
&lt;p&gt;What I've come to understand is that writing is only a part of the journalist's job, maybe not even the most important part. Sure, you have to know structure and grammar, and know how to present complex ideas in a cogent way. But look at how &lt;a href="https://www.britannica.com/topic/journalism"&gt;Britannica&lt;/a&gt; defines journalism:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Journalism is the collection, preparation, and distribution of news and
information to the public. Embedded in the idea of journalism is the notion
that it exists to inform the public and hold the powerful to account.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There are a lot of verbs in there, none of which are "writing" or "editing."&lt;/p&gt;
&lt;p&gt;These days the journalist's job seems to be as much about &lt;em&gt;data&lt;/em&gt; as the traditional parts of the job: working the phones, cultivating sources, and shoe-leather chasing down leads. Journalists are now expected to know how to get data, evaluate it, and analyze it to pull out insights. Aside from the purely narrative stories, most stories are built on foundations of insightful data.&lt;/p&gt;
&lt;p&gt;Indeed, if you read the FAQ at the Stanford Master's in Journalism program page, when someone asks "I'm a writer but I don't know how to program, is this program a fit for me?" the answer is "we'll teach you." I think that's pretty common in the field these days. But it's also a tall order. Some journalists want to be data engineers too, but some don't.&lt;/p&gt;
&lt;p&gt;Back to the definition: "collection, preparation, and distribution" of news sounds like data science to me. But also read that second part, about "informing the public" and "holding the powerful to account." Good stuff, right? Journalists (at least the ones I've been working with lately) bring a sense of mission to the job. Sure, it's work, it's of civic importance, and there's pride in the craft. But what they seem to enjoy the most is speaking truth to power. They're troublemakers.&lt;/p&gt;
&lt;h3&gt;Big Local News&lt;/h3&gt;
&lt;p&gt;I found my way to the Big Local team through my friend &lt;a href="https://www.linkedin.com/in/hannah-frost-8080696/"&gt;Hannah&lt;/a&gt;. She's a librarian at Stanford. She introduced me to &lt;a href="https://journalism.stanford.edu/people/cheryl-phillips"&gt;Cheryl Phillips&lt;/a&gt;, the director and program founder, and we met over coffee. We hit it off.&lt;/p&gt;
&lt;p&gt;Two things impressed me. First, &lt;strong&gt;the mission&lt;/strong&gt;. Big Local News uses technology to bend the cost curve for local journalism — make local news cheaper. I'll say a little more about why that resonates with me below. But I believe local news is worth fighting for, and I like how BLN is doing it. Trying to fix the demand side of the news business model feels really hard, swimming against a lot of currents — more readers! more exciting stuff! I think Big Local News, by taking on a supply-side fix, is taking a novel and more scalable approach.&lt;/p&gt;
&lt;p&gt;Second, I really liked &lt;strong&gt;the BLN team&lt;/strong&gt;. They are muckrakers and do-gooders, exactly the kind of mission-driven people I described above. Sure, they also have good technical chops and I enjoy doing tech stuff with them. But first and foremost they're journalists. Most have worked a beat or spent time in a newsroom. They know the domain, and they know what problems local news organizations actually have. So I have some confidence that if we build this stuff, it'll reach the local news outlets that need it. It's also important that they are bright, nice people.&lt;/p&gt;
&lt;p&gt;After meeting the team and going to a &lt;a href="https://www.eventbrite.com/e/2026-story-discovery-at-scale-tickets-1981909366266"&gt;conference&lt;/a&gt; I got to work (more on the project coming soon). For the past three months I've worked as a member of the team. They've welcomed me into their meetings. I sit with them in the McClatchy building on the Stanford campus, I'm in the Slack, and I went to their year-end party. It's nice to be affiliated with these folks. I like having an excuse to hang out with some troublemakers.&lt;/p&gt;
&lt;p&gt;Last week I was proud to be added to the &lt;a href="https://biglocalnews.org/content/about/"&gt;team "about" page&lt;/a&gt; — scroll down to the "Collaborators" section. 😀&lt;/p&gt;
&lt;h3&gt;Motivation&lt;/h3&gt;
&lt;p&gt;I think everyone's aware of the decline of the business model behind local news over the past twenty-some years. It's gone from bad to worse. A couple of examples.&lt;/p&gt;
&lt;p&gt;In some places, like the Bay Area Peninsula where I live, local papers banded together as a nonprofit, &lt;a href="https://www.embarcaderomediafoundation.org/"&gt;Embarcadero Media&lt;/a&gt;, on the theory that they are a public good (which they are). Being a 501(c)(3) enables charitable giving to fill in gaps left when classified ads and subscriptions dried up. That's a fine solution to the problem — honest, and probably useful — but I think that might only work in wealthy places like here.&lt;/p&gt;
&lt;p&gt;Not so much for Fresno, where I'm from. My mom and dad still both live there (separately) and each gets the daily paper. Both bemoan the slow decline of the Fresno Bee: the print version that Mom wants is down to three days a week and upward of $500/year to have delivered to your door. That's just too much, so Dad takes the SF Chronicle, a good paper but not local. Without news about your community, is it any surprise that people feel less connected to and invested in where they live? And yes, the mundane things like weather and high school sports do matter.&lt;/p&gt;
&lt;p&gt;What's a place like Fresno to do? I recently came across &lt;a href="https://fresnoland.org/"&gt;Fresnoland&lt;/a&gt;, which looks to be doing some good reporting. They're structured as a nonprofit, like Embarcadero, and they've gotten &lt;a href="https://fresnoland.org/our-donors/"&gt;good donors&lt;/a&gt;. I hope that's keeping the lights on! I see two members on their staff for whom &lt;a href="https://www.reportforamerica.org/about-us/"&gt;Report for America&lt;/a&gt; pays half their salary — that seems like a cause worth supporting. Maybe it's presumptuous, but I imagine Fresnoland might need some help with the data science. They're exactly the kind of team that Big Local News is aiming to help.&lt;/p&gt;
&lt;p&gt;I think having better, shared news is one part of healing the divisions in this country. If I can help with a little bit of that, it's worth doing.&lt;/p&gt;</description><category>AI</category><category>Civics</category><category>Data</category><category>Journalism</category><guid>https://sef.kloninger.com/posts/biglocalnews/</guid><pubDate>Tue, 28 Jul 2026 03:00:00 GMT</pubDate></item><item><title>"It's Overwriting, Not Appending"</title><link>https://sef.kloninger.com/posts/ai-mediation/</link><dc:creator>Sef Kloninger</dc:creator><description>&lt;p&gt;I like the command line. But more and more I find myself &lt;strong&gt;mediating those tasks through a chat&lt;/strong&gt;, which surprises me because I used to find chat frustrating. But Claude is just so darn helpful.&lt;/p&gt;
&lt;p&gt;Here's an example. I've been working on a typical scrape-and-loader for election data. It does one election cycle at a time to split up the work and give you a chance to inspect. After the first download, I verified the data which looked good. I asked Claude to get all the rest. It dutifully constructed a loop ("&lt;code&gt;for i in 2000, 2002&lt;/code&gt;...") and started working down the list, which would take hours. Before heading to bed, I checked in.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Screenshot of a Claude chat finding a bug" src="https://sef.kloninger.com/f/claude-finds-a-bug.png"&gt;&lt;/p&gt;
&lt;p&gt;Of course throwing away the data as we go isn't what I wanted.&lt;/p&gt;
&lt;p&gt;What's fascinating is that I didn't ask for this check. Claude checked to make sure the job &lt;em&gt;made sense&lt;/em&gt; and warned me when it didn't. Delightful!&lt;/p&gt;</description><category>AI</category><category>Tech</category><guid>https://sef.kloninger.com/posts/ai-mediation/</guid><pubDate>Thu, 16 Apr 2026 15:00:00 GMT</pubDate></item><item><title>I Built This: Leafletter</title><link>https://sef.kloninger.com/posts/leafletter/</link><dc:creator>Sef Kloninger</dc:creator><description>&lt;p&gt;&lt;img style="float:right" class="postimage" src="https://sef.kloninger.com/f/leafletter-icon-large.png" alt="Leafletter app icon" width="60%"&gt;&lt;/p&gt;
&lt;p&gt;I'd like to discuss an app I just wrote. Not so much the app itself, but
how I made it and why.&lt;/p&gt;
&lt;p&gt;You can try it out yourself. The web version is &lt;a href="https://leafletter.app/"&gt;Leafletter.app&lt;/a&gt; and there's
an iPhone app available on the &lt;a href="https://apps.apple.com/us/app/leafletter/id6760505256"&gt;Apple App Store&lt;/a&gt;. The &lt;a href="https://leafletter.app/about/"&gt;about page&lt;/a&gt; has a
short description of what it does. There are a couple of test campaigns where
you can log a pretend leaflet distribution trip. Give it a try, that's what
those test campaigns are for!&lt;/p&gt;
&lt;p&gt;The two main use cases are: volunteers who distribute these leaflets need to
know what neighborhoods have already been covered; workers can report in so
others don't double up their efforts.&lt;/p&gt;
&lt;p&gt;Most of the interaction is through the "worker view". There you have a map
showing what's already been done and a button for logging your own trip. There
are web and iOS versions, although the iOS one is mostly just a webview.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Screenshot of Leafletter App's worker view" src="https://sef.kloninger.com/f/leafletter-worker-screenshot.png"&gt;&lt;/p&gt;
&lt;h3&gt;Why?&lt;/h3&gt;
&lt;p&gt;I built this app for a few reasons.&lt;/p&gt;
&lt;p&gt;First was to help my wife. She's been working with &lt;a href="https://indivisiblemp.org/"&gt;Indivisible Mid-Peninsula&lt;/a&gt;
here in the SF Bay Area to organize &lt;a href="https://nokings.org"&gt;No Kings&lt;/a&gt; protests, and needed something
like this.&lt;/p&gt;
&lt;p&gt;There are existing apps out there for organizing campaigns, but they all cost
money and are much more heavyweight than what we need here. Their target markets
are people hiring and managing gig workers to distribute things, which means a
lot of workflow to keep track of inventory and tracking work (GPS, photos). You
wouldn't want all those flyers just in a trashcan somewhere. Instead, my goal
was something simple, with a main interface that was easy to use and low
friction -- no accounts!&lt;/p&gt;
&lt;p&gt;Second, this was the capstone project in the Vibe Coding class I took this
quarter. I spent a few more weeks tweaking it, making it more robust, and adding
features, but the basics were working in that week I spent on it in class.&lt;/p&gt;
&lt;p&gt;Third, it was just plain fun to do. I learned a ton living in Claude Code. The
overall experience was joyful. While I'd like for this to get some use, the fun
was in the making.&lt;/p&gt;
&lt;h3&gt;What I Learned&lt;/h3&gt;
&lt;p&gt;I liked managing things mostly through GitHub Issues. I have a nice workflow:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;File a bug describing what I wanted&lt;/li&gt;
&lt;li&gt;"Let's fix issue #100"&lt;/li&gt;
&lt;li&gt;Simple things just got coded up right then, harder things would go through
   planning&lt;/li&gt;
&lt;li&gt;Local testing&lt;/li&gt;
&lt;li&gt;"Commit it and close the bug"&lt;/li&gt;
&lt;li&gt;I do the git push&lt;/li&gt;
&lt;li&gt;Infra notices and does its build and push&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I did this for issues big and small -- at this writing that means &lt;a href="https://github.com/sefk/leafletter-app/issues?q=is%3Aissue"&gt;over 100
issues&lt;/a&gt;. The bugs were a good way to have Claude capture its plan, or a
good place to capture work-in-progress for later.&lt;/p&gt;
&lt;p&gt;I recorded a two-minute &lt;a href="https://youtu.be/gyJbiEwGMoU"&gt;screencast&lt;/a&gt; showing my workflow in action. This one
was adding a little navigation &lt;a href="https://github.com/sefk/leafletter-app/issues/100"&gt;feature&lt;/a&gt;, a request from my sister.&lt;/p&gt;
&lt;p&gt;I also found it helpful to set up some personas that I could delegate tasks to.
A &lt;em&gt;Developer&lt;/em&gt; to do most of the work, adhering to some rules I put in for good
coding practices ("always run tests"). And then two others that were rarely
used, on demand: a &lt;em&gt;Project Manager&lt;/em&gt; to debug GitHub and a &lt;em&gt;UX Engineer&lt;/em&gt; to
review and make suggestions ("Great, please open bugs for all of those").&lt;/p&gt;
&lt;p&gt;The tricky part was managing the download of the street data and stitching it
together into something manageable. It's a fair amount of data, and the
OpenStreetMap backend isn't very reliable. Retries and long-running operations
needed a queue and worker. The screenshots below show the organizer interface
with one event still being processed, and the ops console showing the
different servers.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Leafletter list of campaigns" src="https://sef.kloninger.com/f/leafletter-campaigns.png"&gt;
&lt;img alt="Leafletter ops console on railway" src="https://sef.kloninger.com/f/leafletter-railway.png"&gt;&lt;/p&gt;
&lt;p&gt;I'm using Railway for hosting for the moment, which has been OK. Their storage
setup is a bit wonky (&lt;a href="https://github.com/sefk/leafletter-app/issues/102"&gt;#102&lt;/a&gt;) and it might prove to be expensive -- we'll see.&lt;/p&gt;
&lt;p&gt;I did all of this easily within my $20/month Claude Code token budget. The
biggest expense was the $100 fee to have the privilege of putting something up
on Apple's App Store (boo).&lt;/p&gt;
&lt;h3&gt;Future work&lt;/h3&gt;
&lt;p&gt;Mobile still could use some work.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I tried an iOS native interface for a while, but could never get it to perform
  well enough. But that'd still probably give a better experience.&lt;/li&gt;
&lt;li&gt;I'd like to do an Android app too. I don't have a dev phone, but I imagine I
  could buy one from a friend at some point.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And then a ton of features: organization views and ACLs, correlating streets
with household demographics, better UX for selecting streets, etc. If you have
feedback please &lt;a href="https://github.com/sefk/leafletter-app/issues"&gt;file a bug&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;I'm looking forward to getting this in the hands of some real users soon and
getting some feedback.&lt;/p&gt;</description><category>AI</category><category>Engineering</category><guid>https://sef.kloninger.com/posts/leafletter/</guid><pubDate>Wed, 25 Mar 2026 05:00:00 GMT</pubDate></item><item><title>"Hey Claude, What's Interesting In This Dataset?"</title><link>https://sef.kloninger.com/posts/claude-dataviz/</link><dc:creator>Sef Kloninger</dc:creator><description>&lt;p&gt;&lt;span style="float:right; width:60%; display:block; margin: 0 0 1em 1em; outline: 1px solid #ddd; box-shadow: 0 4px 12px rgba(0,0,0,0.15);"&gt;&lt;img style="display:block; width:100%; padding:0;" class="postimage" src="https://sef.kloninger.com/f/tweetskb-dash.png" alt="TweetsKB EDA Dashboard"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This week I used Claude as my pipeline engineer and data analyst. I had a ton of
fun and figured I'd write about it.&lt;/p&gt;
&lt;p&gt;I've been taking a Data Visualization class at Stanford Continuing Studies (TECH
26, Winter 2026). I needed a final project. There's this data set I've always
wanted to play with, &lt;a href="https://data.gesis.org/tweetskb/"&gt;TweetsKB&lt;/a&gt;. Researchers took the Twitter Firehose data from
2013-23, back when it was &lt;a href="https://www.reddit.com/r/DataHoarder/comments/10rj691/twitter_will_remove_free_access_to_the_twitter/"&gt;more available&lt;/a&gt;, and ran it through entity extraction
and sentiment analysis. They made the dataset available for others to work with.
It's well documented and a reasonable size, about 500GB. I figured there'd be
something interesting in there.&lt;/p&gt;
&lt;p&gt;The cool part didn't turn out to be the analysis itself. I did find and graph
some trends, like Wordle hitting the scene in Feb 2022 and then falling off;
contrast that with K-Pop, which we all know has been much more durable. You can
see those in the &lt;a href="https://docs.google.com/presentation/d/1foF5n95BJadZ3fQEziQO697c3KwIVdSr7Vd2XcmAElg/edit"&gt;presentation&lt;/a&gt; I did for the class, and I included some charts
below.&lt;/p&gt;
&lt;p&gt;But the main thing is this was just plain &lt;strong&gt;fun&lt;/strong&gt;.&lt;/p&gt;
&lt;h4&gt;What I (We) Did&lt;/h4&gt;
&lt;p&gt;What I spent the week doing was chatting with Claude interspersed with running
pipelines, bringing up and down jobs, etc. What it felt like though was having
my own junior engineer working hard for me, doing whatever I asked, and doing it
well and without complaint.&lt;/p&gt;
&lt;p&gt;This section has more of the details of how it went. Consider skipping if you
don't want to get in the weeds.&lt;/p&gt;
&lt;p&gt;We started with &lt;strong&gt;ETL pipelines&lt;/strong&gt;. File format conversion, multiprocessing,
scaling to fit RAM and processor limitations, progress bars and
interruption/restart logic.&lt;/p&gt;
&lt;p&gt;Yikes, this is full of offensive stuff! I &lt;a href="https://github.com/sefk/tweetskb-analysis/blob/main/session_prompts.md#14-2026-02-24-0130-utc"&gt;asked&lt;/a&gt; for &lt;strong&gt;redaction&lt;/strong&gt; with
stable terms and it found and used a nice &lt;a href="https://pypi.org/project/better-profanity/"&gt;off-the-shelf library&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When I didn't trust what I was seeing, I &lt;a href="https://github.com/sefk/tweetskb-analysis/blob/main/session_prompts.md#64-2026-02-25-1158-utc"&gt;asked&lt;/a&gt; for &lt;strong&gt;end-to-end data
quality tests&lt;/strong&gt;. Claude wrote them and then found and fixed a double counting
bug. Nice!&lt;/p&gt;
&lt;p&gt;When I wanted to wander around in the data I &lt;a href="https://github.com/sefk/tweetskb-analysis/blob/main/session_prompts.md#21-2026-02-24-1559-utc"&gt;asked&lt;/a&gt; for an &lt;strong&gt;EDA
dashboard&lt;/strong&gt; and got one. EDA is the term of art I learned in class, "exploratory
data analytics". The idea is something where you can click around, slice and
scrub, looking for interesting things like correlations and trends.&lt;/p&gt;
&lt;p&gt;You can see this in the screenshot at the top of this post. Essentially I got
the "Overview" and "Slice by Entity" tabs in one shot. How do you do EDA with it?
For example, the default view is two baseball teams. See the peaks when the
Red Sox won championships in 2013 and 2018? But the Astros peak was higher in
2017, presumably because of the &lt;a href="https://en.wikipedia.org/wiki/Houston_Astros_sign_stealing_scandal"&gt;scandal&lt;/a&gt;. Fun, right?&lt;/p&gt;
&lt;p&gt;I then iterated on that dashboard quite a bit. Instead of a normal notebook or
colab-style workflow I was used to, I iterated around the dashboard. I'd
ask Claude to add or update charts in the dashboard ("annualize the last data
point"), it'd reload, test and repeat. I did fall back to python or a notebook
when I had to look at the raw data, but just in throwaway mode. I found this to
be a really fast way to work.&lt;/p&gt;
&lt;p&gt;But I still had a hard time finding something interesting in the dataset. So I
just &lt;a href="https://github.com/sefk/tweetskb-analysis/blob/main/session_prompts.md#110-2026-02-26-0009-utc"&gt;asked&lt;/a&gt; an open-ended question, basically "&lt;strong&gt;find interesting stuff&lt;/strong&gt;"
and it produced &lt;a href="https://github.com/sefk/tweetskb-analysis/tree/main/analysis"&gt;five analysis scripts&lt;/a&gt;. Most of what's in the "Analysis" came
from this one query, except for "Democrats vs. Republicans", which I did on my
own and didn't prove too insightful.&lt;/p&gt;
&lt;p&gt;And yes, when I had ops issues Claude fixed those for me too, see screenshot
below. Sure, I &lt;em&gt;could&lt;/em&gt; tune workers vs. threads and manage PID files, but who
wants to? And yes, when it came time to write the &lt;a href="https://docs.google.com/presentation/d/1foF5n95BJadZ3fQEziQO697c3KwIVdSr7Vd2XcmAElg/edit"&gt;presentation&lt;/a&gt;, Claude wrote
that for me too. Well, most of it.&lt;/p&gt;
&lt;p&gt;You can play with the &lt;a href="http://home.kloninger.com:8050/?tab=analysis"&gt;dashboard&lt;/a&gt; yourself. It's hosted on an underpowered
server at my home, so if it doesn't work, let me know or try again later. All
the code is &lt;a href="https://github.com/sefk/tweetskb-analysis"&gt;in GitHub&lt;/a&gt; and there are &lt;a href="https://github.com/sefk/tweetskb-analysis/issues"&gt;known issues&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;At some point I felt it was helpful to define "personas" for Claude to better
describe the goals of each prompt. Then I started a prompt with "hey dashboard
engineer, I'd like to...". Tough to tell how much that helped.&lt;/p&gt;
&lt;h4&gt;Some Thoughts&lt;/h4&gt;
&lt;p&gt;Let's not give AI too much credit. Pulling entity mentions out of tweets is
something that data scientists and journalists have been doing for years. And
this particular dataset probably has been around for a while and might very well
have been used and written about, by undergrads. The story here might very well
not be "gee whiz, looks at how smart AI is" and more "look at how AI has scooped
up and repackaged years of everyone else's work."&lt;/p&gt;
&lt;p&gt;The speed of accomplishing these dev/debug tasks was remarkable. I felt like I
had a coworker. And at remarkably low cost, too. This was all using the Claude
$20/month plan. This past week was the time I poked above the token cap. I
happily paid $5 more to keep on going.&lt;/p&gt;
&lt;p&gt;Is this programming? I think so, at least it felt that way when I was doing it.
I was very much using the same parts of my brain as when I'm writing all the
code myself. Indeed for years most of us have been "programming" mostly via
Google and Stack Overflow. It's like that but fast.&lt;/p&gt;
&lt;h4&gt;Charts&lt;/h4&gt;
&lt;p&gt;Here are three charts that fell out. Again, don't focus so much on the insights
but how these came from a high-level, open ended prompt.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Chart of COVID posts and sentiment" src="https://sef.kloninger.com/f/tweetskb-covid.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Chart showing the Crypto bubble" src="https://sef.kloninger.com/f/tweetskb-crypto.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Two charts showing pop culture moments" src="https://sef.kloninger.com/f/tweetskb-popculture.png"&gt;&lt;/p&gt;
&lt;h4&gt;Some Screenshots&lt;/h4&gt;
&lt;p&gt;Maybe some people would like to see what this looked like when I was doing it.
Here's a screenshot during pipeline development. On the left is Claude adding
some logging; the top right is &lt;code&gt;tail -f&lt;/code&gt; on a log file, and the bottom right
shows the progress bars churning through the data. &lt;/p&gt;
&lt;p&gt;&lt;img alt="Screenshot of pipeline development" src="https://sef.kloninger.com/f/tweetskb-pipeline.png"&gt;&lt;/p&gt;
&lt;p&gt;My modest Mac has 8 performance cores, hence 8 workers. &lt;/p&gt;
&lt;p&gt;And this screenshot is kind of fun. Look at how Claude explained a worker crash
issue that I asked it to debug: "You already flagged it, the UI literally
says..." 😀&lt;/p&gt;
&lt;p&gt;&lt;img alt="Screenshot of Claude debugging an ops problem" src="https://sef.kloninger.com/f/tweetskb-ops.png"&gt;&lt;/p&gt;
&lt;p&gt;Claude made the adjustment and saved its suggestions in a &lt;a href="https://github.com/sefk/tweetskb-analysis/issues/2"&gt;Github issue&lt;/a&gt; in
case I want to revisit it later.&lt;/p&gt;</description><category>AI</category><category>Tech</category><guid>https://sef.kloninger.com/posts/claude-dataviz/</guid><pubDate>Sat, 28 Feb 2026 15:00:00 GMT</pubDate></item><item><title>AI Is Good At Janitorial Work</title><link>https://sef.kloninger.com/posts/gemini-claude-cleanup/</link><dc:creator>Sef Kloninger</dc:creator><description>&lt;p&gt;&lt;img style="float:right" class="postimage" src="https://sef.kloninger.com/f/gemini-claude-cleanup.png" alt="Claude Code on the left, Gemini on the right" width="60%"&gt;&lt;/p&gt;
&lt;p&gt;It's been nice having AI tools at the ready for cleanup work. You know, those
tasks that require a little program or script. Sure you can write it yourself,
but it won't be fun, and it'll take some time, so instead you just don't bother
and it doesn't get done.&lt;/p&gt;
&lt;p&gt;Instead of just knocking this out I decided this would be a fun one to try with
the two tools I'm using the most these days, &lt;strong&gt;Gemini&lt;/strong&gt; and &lt;strong&gt;Claude&lt;/strong&gt;. I can't
really call this a proper bakeoff, since it's just those two and it's not an
especially hard task.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;And the result? Both did well but Gemini did a little better.&lt;/strong&gt; Gemini got it
right on the first try; Claude had two bugs that were easy to find and fix.
Claude was a little nicer to work with and produced a nicer description of the
solution. Aside from that, the end product was identical.&lt;/p&gt;
&lt;h3&gt;The Task&lt;/h3&gt;
&lt;p&gt;I wanted to clean up some of the old files backing this blog. I migrated the
site from Wordpress to Nikola in 2013. Even back then I &lt;a href="https://sef.kloninger.com/posts/switching-to-static.md"&gt;complained
about&lt;/a&gt; the crufty file format, but couldn't be
bothered to fix it then.&lt;/p&gt;
&lt;p&gt;The prompt describes in a fair bit of detail what I wanted done. Probably too
much detail. It's down at the bottom of this post.&lt;/p&gt;
&lt;p&gt;The best way to see what they did is to just look at the resulting commits:
&lt;a href="https://github.com/sefk/sefk.github.io/commit/4a91a57dc965b1e77c05fafbc05fa14f1a293c7f"&gt;Gemini&lt;/a&gt; and &lt;a href="https://github.com/sefk/sefk.github.io/commit/78cee0789d98677c5298df543e895d7e2002ff72"&gt;Claude&lt;/a&gt;. They're pretty similar. I asked both to save
their work in a &lt;code&gt;migration_scripts&lt;/code&gt; subdirectory, including its own summary
of the work and full log.&lt;/p&gt;
&lt;p&gt;For both tools I pay the $20/month that gives me access to reasonable token
limits and good production models -- Gemini 3 and Sonnet 4.6.&lt;/p&gt;
&lt;h3&gt;Thoughts on Claude&lt;/h3&gt;
&lt;p&gt;I didn't describe the problem as "Wordpress-style naming" but Claude sussed that
out. Honestly I'd forgotten that was the source of the problem. Nice!&lt;/p&gt;
&lt;p&gt;I like that Claude inserted comments in the configuration file without being
asked to.&lt;/p&gt;
&lt;p&gt;Despite being told to test, there were two bugs that I had to find.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Some of the redirects were broken. I pointed the problem out and it did more thorough
  testing using &lt;code&gt;curl&lt;/code&gt; and found the problem. The new format was what Gemini
  came up with in the first pass (luck? smarts?).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A missing newline between the metadata and the body caused the hero images
  to be dropped.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="side by side view showing bug" src="https://sef.kloninger.com/f/cleanup-missing-hero.png"&gt;&lt;/p&gt;
&lt;h3&gt;Thoughts on Gemini&lt;/h3&gt;
&lt;p&gt;I haven't used the Gemini CLI as much by this point. It seems to have borrowed
much of its UI and flow from Claude Code (slash commands, asking questions as
it goes) so it's familiar. It's really nice to use, just a smidgen less mature
and polished than Claude Code.&lt;/p&gt;
&lt;p&gt;I preferred Claude's writeup a little so I went with that one. But Gemini wins
the prize for nailing the task on the first try!&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;p&gt;I really liked how Claude shows how much of its context window is used via the
&lt;code&gt;/context&lt;/code&gt; command. I had a harder time getting this kind of thing out of
Gemini, and even when I did it was harder to grok.&lt;/p&gt;
&lt;p&gt;I couldn't tell with either if I'm getting close to any global usage limits. I
should hope not, this wasn't a very big job.&lt;/p&gt;
&lt;h5&gt;Claude &lt;code&gt;/context&lt;/code&gt; Output&lt;/h5&gt;
&lt;p&gt;&lt;img alt="Claude context window usage" src="https://sef.kloninger.com/f/claude-context.png"&gt;&lt;/p&gt;
&lt;h5&gt;Gemini &lt;code&gt;/stats model&lt;/code&gt; Output&lt;/h5&gt;
&lt;p&gt;&lt;img alt='Gemini "stats for nerds"' src="https://sef.kloninger.com/f/gemini-context.png"&gt;&lt;/p&gt;
&lt;h3&gt;Prompt&lt;/h3&gt;
&lt;p&gt;Both started with this:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;First read DEV.md for context about this web site.

In the posts subdirectory are many files that follow an old 
naming convention.  Please convert them all to the new file
naming convention.

The old convention has files of the format YYYYMM&amp;lt;slug&amp;gt;.SUFFIX,
where YYYY is the year, MM is the month, and SUFFIX is html or
meta. &amp;lt;slug&amp;gt; is the short form of the title, and should match
the "slug" field in the metadata

To convert to the new convention

1. Drop the YYYYMM file prefix

2. Combine the "html" and "meta" files into one markdown file
   with a "md" suffix. The contents of "meta" are at the top of
   the file as an HTML comment

3. Add redirects so the old names can still be served. Add tuples
   in the REDIRECTIONS of conf.py

Use the `nikola build` and `nikola serve` commands to test your
work. Make sure all old URL's still function. Make sure pages
look the same. Make sure tags still work.

Do not commit changes. Do not push to production.
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I also checked in a &lt;a href="https://github.com/sefk/sefk.github.io/blob/dev/DEV.md"&gt;&lt;code&gt;DEV.md&lt;/code&gt;&lt;/a&gt; file that described the purpose, directory
layout, and some constraints. Again, maybe overkill, but I figured this isn't
the last time I'll be asking one of these tools to help me futz with this site.&lt;/p&gt;</description><category>AI</category><category>Tech</category><guid>https://sef.kloninger.com/posts/gemini-claude-cleanup/</guid><pubDate>Wed, 18 Feb 2026 19:00:00 GMT</pubDate></item><item><title>Yeah, I Did Some Vibe Coding Too</title><link>https://sef.kloninger.com/posts/daleks/</link><dc:creator>Sef Kloninger</dc:creator><description>&lt;p&gt;This is a story about my recent experience Vibe Coding. The work itself isn't
impressive and this writeup isn't different than the many gee-whiz posts you see
these days. I didn't do &lt;a href="https://mastodon.social/@stroughtonsmith/116014270900193494"&gt;three apps in a day&lt;/a&gt;. But I wanted to write up my
experience, mostly to give me an excuse to tell an old-time programming story
from the 1900's.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sef.kloninger.com/daleks"&gt;
&lt;img style="float:right" class="postimage" src="https://sef.kloninger.com/f/daleks-2026.png" alt="Screenshot of my recent Daleks game" width="50%"&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Today, 2026&lt;/h3&gt;
&lt;p&gt;While I'm &lt;a href="https://sef.kloninger.com/posts/leaving-google/"&gt;on a break&lt;/a&gt; I'm taking a &lt;a href="https://continuingstudies.stanford.edu/courses/detail/20252_TECH-42"&gt;Vibe Coding class&lt;/a&gt;. It's a fun excuse to
play with some new toys, and it's well taught, and I like doing things with my
friend Jane.&lt;/p&gt;
&lt;p&gt;One interesting tidbit: the first day of class, February 3, 2026, was one year
and one day after "vibe coding" itself was coined via &lt;a href="https://x.com/karpathy/status/1886192184808149383?lang=en"&gt;tweet&lt;/a&gt;. That name seems
to have stuck, for the time being at least. On &lt;a href="https://atp.fm/678"&gt;last week's ATP&lt;/a&gt; they said that
by this time next year this will probably just be called "coding" and I bet
they're right.&lt;/p&gt;
&lt;p&gt;Anyway our week one assignment was to code up a game. &lt;strong&gt;In about two hours and
$10&lt;/strong&gt; I had something up and running. I spent another couple of hours futzing
with version control, documentation, and hosting. But that's it! &lt;/p&gt;
&lt;p&gt;It's pretty basic, and not all that much fun, but you can &lt;a href="https://sef.kloninger.com/daleks"&gt;play it here&lt;/a&gt;. It's
hosted on Github pages, just like this blog. The code and construction notes are
in &lt;a href="https://github.com/sefk/daleks"&gt;checked in&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This was my first experience with &lt;a href="https://replit.com/"&gt;Replit&lt;/a&gt;. It's impressive and fun. This was
what was recommended for the class and the good folks at Replit were nice enough
to give us all $30 in credits, which I had plenty to spare. Most of my comrades
presented apps that were fancier than mine with 3D graphics, sound, and more
interactive gameplay. Some also said, though, that they ended up spending much
more than I did, so YMMV on costs.&lt;/p&gt;
&lt;p&gt;One interesting part was dealing with integration. To get their code deployed
onto my personal website required wiring up a GitHub workflow, which I'd
never done before. No problem, Replit took care of that too. Then I asked
&lt;a href="https://geminicli.com/"&gt;Gemini&lt;/a&gt; to get local hosting running. When I hit a permissions problem and a
crash I had to resist the urge to copy paste the error messages into a search
boxes and Stack Overflow, like I've done for years. Instead I asked Gemini to
debug and sort this out for itself and it did straight away. Pretty great.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.macintoshrepository.org/3913-daleks"&gt;
&lt;img style="float:right" class="postimage" src="https://sef.kloninger.com/f/daleks-1984.jpeg" alt="Original Daleks game from 1984" width="45%"&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Forty Years Ago, 1985&lt;/h3&gt;
&lt;p&gt;Why'd I pick this weird old &lt;a href="http://en.wikipedia.org/wiki/Robots_%28BSD_game%29"&gt;chase game&lt;/a&gt;? Well, that's the more fun and
nostalgic part of the story.&lt;/p&gt;
&lt;p&gt;When I was fourteen years old, I spent the summer hand-coding a video game. I'd
gone to a family gathering and my older cousin Erik brought his Mac from
college. It was the first I'd seen a Mac and fell in love. I thought the
Daleks game he had running on it was so cool. The screenshot on the right
is from that Classic Mac website of that game that I found online, and is
exactly how I remember it looked.&lt;/p&gt;
&lt;p&gt;Upon return to Fresno I got to work. I spent most of the rest of that summer
writing a clone of Daleks on my Apple //e. All hand-coded 6502 opcodes and twos
complement math for branch offsets by hand (I didn't have an assembler), in
pencil on graph paper. The hardest part was getting smooth animation working,
since the Apple //e "hi res" &lt;a href="https://en.wikipedia.org/wiki/Apple_II_graphics"&gt;graphics system&lt;/a&gt; was super quirky.&lt;/p&gt;
&lt;p&gt;It took about two months to get it working. It's the first time I can remember
being in a flow state and I loved it. It was my first "real program" and began
my lifelong love of computers.&lt;/p&gt;</description><category>AI</category><category>Tech</category><category>War Stories</category><guid>https://sef.kloninger.com/posts/daleks/</guid><pubDate>Tue, 17 Feb 2026 00:00:00 GMT</pubDate></item></channel></rss>