News for kids by reading age: 19 of 276 were usableNews for kids by reading age: 19 of 276 were usable A parent or teacher who wants news for kids without rewriting it has one obvious lever in a news API: a reading-age filter. We set readability.age.mOct 18 · 9 min readapitube.hashnode.dev
Headlines in Home Assistant with a REST sensor, and how often to pollHome Assistant's REST sensor polls every 30 seconds by default. Point it at a news API and that is 2,880 requests a day for a card nobody looks at more than a few times an hour. A free news API key giSep 30 · 12 min readapitube.hashnode.dev
A news feed in C# with ASP.NET CoreThe /api/news endpoint below answers in 874 ms when it has to ask the news API and in 0.9 ms when IMemoryCache already holds the page. That is the number most tutorials leave out, and it is the reasonSep 27 · 14 min readapitube.hashnode.dev
A SwiftUI news app with a home screen widget, 7,504 bytes per refreshA home screen widget runs on a budget: WidgetKit gives a frequently viewed widget somewhere between 40 and 70 refreshes a day, and each refresh is a process that has to fetch, decode and render beforeSep 24 · 15 min readapitube.hashnode.dev
An Android news app in Kotlin, from empty project to APKOne page of 20 headlines weighs 608 KB when we take a news API's default response and 18 KB when we ask for only the eight fields a list row renders. That single query parameter, fl=, decides whether Sep 21 · 21 min readapitube.hashnode.dev