
Happy Monday! ☀️
Welcome to the 36 new hungry minds who have joined us since last Monday!
If you aren't subscribed yet, join smart, curious, and hungry folks by subscribing here.

📚 Software Engineering Articles
🗞️ Tech and AI Trends
👨🏻💻 Coding Tip
Fixture setups in TypeScript
Time-to-digest: 5 minutes

Context
Shopify is rebuilding its mobile apps as native Swift and Kotlin applications while exploring how coding agents can work on them. The team designed Reflex around a short feedback loop: an agent needs to exercise app behavior without waiting for a simulator and a rendered screen.
Challenge
Two native implementations can drift, while UI tests need devices or emulators, and duplicate unit suites may not establish that both apps support the same journeys. Shopify wanted fast behavior checks that could run against both platforms.
Implementation Highlights
Separate logic from presentation. A UI-free core holds ViewModels, services, navigation, and other app logic; the mobile host provides platform integrations.
Expose a small contract. Each ViewModel accepts actions and exposes state through JSON. A CLI can inspect a screen and invoke actions against the headless core or a real build.
Share tests, not implementation. The same behavior test runs against the Swift and Kotlin versions. Fixtures stand in at network and device boundaries while the tests exercise the real logic underneath.
Results/Learnings
Shopify reports that more than 1,700 behavior tests run on both platforms in about four minutes in CI. This is a gray-box layer: it checks state and actions, not pixels, so it complements rather than replaces tests of rendered UI.
Closing Insight
The interesting design move is making behavior observable before asking an agent to improve it. A small, stable interface can shorten the feedback loop for humans and agents alike.

ARTICLE (states on display)
Pseudo-pseudo-classes for maximum interactive demos!
ARTICLE (less compute, same code)
Node.js at scale, rebalanced: how we cut cost by 38%
ARTICLE (the agent framework bill)
The AI Cost of JavaScript Frameworks
ARTICLE (fixtures without the fuss)
The MustCreate Pattern for Go Tests
ESSENTIAL (keep thinking)
Resisting Cognitive Surrender
ARTICLE (the cost of a newline)
We can do better than line-buffered output
ESSENTIAL (specs meet production)
How we continuously validate formal specifications in production
ESSENTIAL (fence the old primary)
Fencing a Postgres primary that might still be alive
ARTICLE (changes without triggers)
Change Data Capture in SQLite, Without the Triggers
Want to reach 200,000+ engineers?
Let’s work together! Whether it’s your product, service, or event, we’d love to help you connect with this awesome community.

Brief: Ars Technica reports that specific configurations combining OpenSSH and musl are vulnerable. Check whether your systems meet the affected authentication conditions.
Brief: AlphaSignal reports that OpenAI released a model focused on security work.
Brief: AlphaSignal reports that Kimi K3.1 Pro model weights have been released publicly.
Brief: Anthropic describes using Claude to assist researchers with database searches, isolation methods, and structural analysis of a vault-like particle.
Brief: METR estimates faster model-capability progress and considers AI-assisted research a likely contributor. The organization emphasizes uncertainty and limits on the evidence it can disclose.
Brief: Blue Origin says its Northstar engine will cost less to manufacture than the BE-4. The company is also developing a third stage for more demanding missions.

This week’s tip:
Make fixture setup fail loudly. A small generic helper can unwrap a valid test value or stop immediately when setup fails. Keep real validation tests separate; this helper is for fixtures the test expects to be valid.

When?
When test setup needs a value that should always be valid.
When several fixture constructors return
undefinedfor invalid input.When you want setup to fail immediately instead of passing an invalid fixture into a test.
Perplexity is the beginning of knowledge.
Kahlil Gibran


That’s it for today! ☀️
Enjoyed this issue? Send it to your friends here to sign up, or share it on Twitter!
If you want to submit a section to the newsletter or tell us what you think about today’s issue, reply to this email or DM me on Twitter! 🐦
Thanks for spending part of your Monday morning with Hungry Minds.
See you in a week — Alex.
Icons by Icons8.
*I may earn a commission if you get a subscription through the links marked with “aff.” (at no extra cost to you).





