TLDR Dev 2025-06-03
AI skeptics are crazy ๐ค, prompt engineering playbook ๐, write better tests ๐งชย
๐งโ๐ป
Articles & Tutorials
Do NOT Assert on Requests (Do This Instead) (7 minute read)
Instead of directly asserting on API requests in UI tests, it's better to focus on testing UI state. This is because users don't care about API calls and only about the UI's behavior. For example, instead of asserting that a POST /cart request was made, you should test that clicking "Add to cart" shows the success message to emulate real user experience.
No Server, No Database: Smarter Related Posts in Astro with `transformers.js` (8 minute read)
This article goes over how to implement smarter related-post suggestions for an Astro blog using Hugging Face's transformers.js, without needing servers or databases. It uses embeddings, which capture the meaning of text using numeric vectors, and cosine similarity to find posts with similar content. The entire workflow is shown: loading markdown files, generating embeddings with transformers.js, calculating similarities, and displaying the top related posts.
AI and the Rise of Judgement Over Technical Skill (3 minute read)
AI is shifting the focus from technical skill to human judgment. AI tools are democratizing various fields by lowering technical barriers and allowing anyone to produce professional-looking results. The real value now lies in making thoughtful decisions about what to create, how to approach problems, and how to evaluate quality.
My AI Skeptic Friends Are All Nuts (15 minute read)
LLMs are not a fad and are already impacting software development by automating tedious tasks and boosting productivity. Modern LLM-assisted coding and agents that can access and modify codebases are more advanced than anything before.
Integrating AI agents: Navigating challenges, ensuring security, and driving adoption (9 minute read)
AI agents are becoming essential tools for aligning business outcomes with technical workflows, with autonomous planning, reasoning, and action capabilities. Integrating AI agents is not easy though. There are challenges like data access, performance, security, and governance that organizations must address.
AI makes the humanities more important, but also a lot weirder (14 minute read)
Generative AI presents both challenges and opportunities for the humanities. AI elevates the importance of humanistic skills, especially in language processing and cultural understanding, but it also undermines core aspects of education by letting students bypass real intellectual engagement.
Decorative text within HTML (5 minute read)
Decorative text and unconventional spacing can be used within HTML attribute values to improve readability. Techniques like brackets, extra spaces, emojis, Unicode characters, and even ASCII art within class names are useful for visual grouping and commenting.
The most important software engineering news in one daily email
Join 480,000 readers for
one daily email