THU 22 OCT 2026
Dev Journal: freq4freq, asking what happens underneath
Today’s work was mostly about revisiting assumptions. We improved how freq4freq collects data for Trends, and we changed how it handles listener location. Neither change began with a request for something flashy. Both began with asking what the app was actually doing underneath.
A live question is not a weekly question
When we first built song information into the player, the question was straightforward: what is this station playing right now? Later, when we added Trends, that existing way of getting song information became the starting point. The app checked stations every five minutes and accumulated observations.
That was an understandable extension. We already had a way to ask stations what was playing. Reusing it got us to a working feature. But “what is playing now?” and “what did these stations play this week?” are different questions.
A snapshot every five minutes can miss a song entirely. Seeing the same song again is not necessarily evidence of another play. And a weekly chart does not need us to keep asking a live question all day if the station already publishes a record of what it played.
There had been a warning two weeks earlier, on October 8, about resource pressure. The Trends collector was a suspected contributor, although the available checks did not establish the full cause. Lovable recommended a larger instance; I said not to upgrade. We left the collection method in place. Looking back, I wish the next question had been less about buying capacity and more about whether we were asking for the right data in the first place.
Today we made that change. Trends now reads published playlist histories six times a day, recording the stations’ air times and preventing repeat reads from counting the same play twice. That replaces 288 scheduled runs a day with six. It is a large reduction in scheduled activity, not proof of a matching reduction in cost: each history read can do more work, and we have not measured the resulting savings yet.
We also narrowed the claim. Nine stations are included, WWOZ is explicitly partial, and stations without a readable history are excluded rather than covered by a different, less dependable guessing method. They still play normally. Live song information remains separate.
This is better evidence for Trends, not a promise of perfect coverage. A feed can be shallow, a DJ can leave songs unlogged, and a station can change its page. Those limits need to stay visible.
The black-box problem
There is a Dunning–Kruger-shaped danger in this kind of work. I can describe a feature, watch an AI produce it, and see convincing results without knowing enough to recognize which questions I have not asked. My ability to get software built can move faster than my ability to judge how it works.
I do not mean that as a diagnosis of myself, or a claim that beginners should not build things. The problem is more specific: a polished result can make an unexamined assumption feel settled.
The AI’s approach was reasonable within the path we had taken. We began with live station metadata, so reusing that machinery for Trends was a natural choice. I did not think to ask how observations were becoming play counts. Once I understood the method, the mismatch was obvious.
That does not make the responsibility entirely mine. An AI collaborator should surface consequential assumptions, especially when they affect accuracy, expense, or privacy. “Here is the chart” is not enough. I also need to know what a count means, what gets missed, and what happens when the source is incomplete.
My practical lesson is to ask for the mechanism in plain language before treating the output as trustworthy. Where does each number come from? Is it observed, inferred, or reported by the station? What would make it wrong? Those questions are useful even when I cannot read all the code.
Lovable, Claude, and the person asking
I have also been thinking about the differences between working with Lovable and working with Claude. I notice differences, but I am not confident I can isolate their cause.
Some may belong to the tools themselves. Some may come from having spent more time with Claude and learning how to work with it. Some may be me becoming more proficient at prompt-based coding: asking narrower questions, challenging an implementation, and separating a working demonstration from a trustworthy method. It could easily be a combination.
I do not have a clean comparison. The projects, context, and my own skill are not held constant. Calling one tool inherently better would be more certainty than I have earned.
What I can say is that the quality of the collaboration depends partly on whether I ask for an outcome or also ask to understand the choices behind it. Today’s change came from the latter.
Privacy was a design question, too
A skeptical colleague had Claude review the app and flagged its use of ipapi.co to estimate a visitor’s location. That outside review was useful. Something that seemed like a small input to a visualization looked different when someone else asked why the app needed it.
We made location lookup opt-in and off by default, with a remembered choice on the welcome cards, in the controls, and on a new Privacy page. But adding a switch was only part of the work. The maps needed to remain coherent when the listener declined.
The globe now radiates from the broadcast station instead of drawing a connection to the listener. The flat map’s waves work without a listener location, Synthwave omits the listener marker, and the Turntable already did not need location.
That feels like the right standard: declining an optional data request should still leave a complete experience. This is not a claim that the whole app collects no data; it is a specific change to an optional third-party location lookup.
Where I ended the day
The common thread was making hidden choices explicit. Trends now says which stations it covers and uses their published records. Location is a choice rather than an assumption. I am trying to apply the same standard to my own confidence: understanding enough to ask a better question, without mistaking the ability to build something for proof that I understand it.
The full list of changes is in the release notes.