ANAPITube News APIinapitube.hashnode.dev·Sep 30 · 12 min readHeadlines 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 gi00
ANAPITube News APIinapitube.hashnode.dev·Sep 27 · 14 min readA 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 reason00
ANAPITube News APIinapitube.hashnode.dev·Sep 24 · 15 min readA 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 before00
ANAPITube News APIinapitube.hashnode.dev·Sep 21 · 21 min readAn 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 00
ANAPITube News APIinapitube.hashnode.dev·Sep 16 · 11 min readA week of NVIDIA news is 5,718 articles. My filter kept 161I wanted a small script that pings me when something real happens to NVIDIA — an earnings surprise, an export-control change, a leadership move. Not a feed. A handful of lines a day I can actually rea00