Loading…
Browse by type
Tutorial reads
Tutorial posts on Yomu, summarised newest first.
- 791 posts
- 20 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Tutorial posts
Automate Spring 5.3.x CVE remediation with Lightwell
Spring Framework 5.3.x reached end of open source support on August 31, 2024, and CVE-2025-41249 affects both 5.3.18 and the final 5.3.39 release, leaving no free version to upgrade to. Moving to Spring 6 requires migrating from Java 8 to Java 17 and from the javax namespace to jakarta, a funded project for most teams. The pipeline uses a vulnerability-policy-gate task to evaluate dependency scan results and, when enabled, patches the pom.xml to replace the vulnerable spring-core artifact with a binary-compatible remediated build from Red Hat Lightwell. The pipeline also signs the resulting image with keyless signing via Red Hat Trusted Artifact Signer, pushes an SBOM into Red Hat Trusted Profile Analyzer, and performs a final image check with Red Hat Advanced Cluster Security. Event-Driven Ansible automates the entire response by listening for policy violations from Red Hat Advanced Cluster Security and triggering the remediation workflow without human intervention.
Deploy R models on Red Hat OpenShift AI with KServe
R models can be deployed as production microservices on Red Hat OpenShift AI using KServe and a custom R serving runtime. The runtime supports classical model file formats such as .rds, .qs2, .rda, and .RData, provided the object has a predict() method. A ModelCar container packages the model under the /models directory, separating the artifact from the runtime environment. The custom runtime is imported into OpenShift AI via CLI or web console, then the model is deployed through an InferenceService or the dashboard. OpenShift handles load balancing, autoscaling, self-healing, and security policies, while the UBI base image allows standard CVE scanning.
How to write a top-notch email newsletter (27+ tips)
Writing a great email newsletter requires deliberate effort across many elements, not just a single tactic. The post provides 28 tips covering subject lines, preview text, consistent templates, focused topics, and user-generated content. It emphasizes using behavioral triggers to personalize content and creating content buckets with consistent ratios like 40 percent industry insights and 30 percent company updates. Protecting deliverability with SPF, DKIM, and DMARC is essential to avoid the spam folder and keep complaint rates under 0.3 percent. The post also recommends adding a feedback loop, optimizing the unsubscribe experience, and cross-pollinating with other newsletters to expand reach.
Multi-Turn Agentic Reinforcement Learning with Tunix and Gemma 4 on Google TPUs
Training real-world AI agents requires reasoning over multiple turns with tool use and environment feedback in a multi-step loop. This post presents a method to train a multi-turn tool-using LLM agent on Cloud TPU v6e-8 using Tunix’s agentic reinforcement learning pipeline. The agent plays the Plane Strike board game on a 6x6 grid with a hidden eight-cell plane in one of four orientations, using Gemma 4 E2B in thinking mode. The pipeline includes a custom environment, Gemma 4 native tool calling via tool declarations and in-turn tool responses, a conversation agent for observation-to-message translation, and GRPO with multi-turn rollouts using vllm-tpu and prefix caching. After 100 training steps, the win rate on held-out boards jumps from 9.4% to 95% while average game length drops from 22.44 to about 16 strikes.
How United Airlines streams database changes to Apache Iceberg with Amazon Data Firehose
United Airlines built a near-real-time Change Data Capture (CDC) pipeline from an operational Amazon Aurora MySQL database to Apache Iceberg tables using AWS managed services, replacing a legacy batch process that caused stale data. The pipeline uses AWS DMS to capture changes, Amazon Kinesis Data Streams for buffering, an AWS Lambda function to parse the CDC record format, and Amazon Data Firehose to write Parquet files to Iceberg on Amazon S3 and commit new snapshots. Queries scanning more than 10 million rows no longer hit bottlenecks, average query latency improved 5x, and total job processing time dropped 2x. The provided CloudFormation template automates replication of a single source table, with Firehose handling Iceberg commits, while the Lambda transform is engine-specific. End-to-end latency can be as low as 10 seconds, adjustable via the Firehose buffer interval, and the data is queryable from AWS Glue, Amazon Redshift, and Amazon Athena.
Resilience testing your agents on Amazon Bedrock AgentCore
AI agents that rely on tools can fail silently or produce confident but incorrect answers when those tools break. This post introduces a method for testing agent resilience by injecting tool-level faults using AWS Fault Injection Service (AWS FIS) and AWS Systems Manager (SSM). Faults are classified into pre-hook faults, which cancel a tool call before execution, and post-hook faults, which corrupt the tool’s response after it runs. The agent runs on Amazon Bedrock AgentCore with the Strands framework, and fault injection is controlled via SSM Parameter Store, enabling dynamic activation without redeployment. Observability is built through Embedded Metric Format and Pydantic constraints, allowing teams to detect safe failures versus silent data corruption in agent behavior.
Block DNS threats with Infoblox rules in Amazon Route 53 Resolver DNS Firewall
Amazon Route 53 Resolver DNS Firewall blocks outbound DNS queries from Amazon VPCs, interrupting malware delivery and data exfiltration. Infoblox Threat Defense, now in preview as a partner managed rule, supplies automatically updated risk-based domain categories (Critical, High, Medium, Low, Informational). The solution requires the DNS Firewall Advanced pricing option and an AWS Marketplace subscription that authorizes sharing DNS query metadata with Infoblox. Administrators configure the rule in alert mode, review matches in Resolver query logs, create an allow list for approved domains using a Foundational rule with ALLOW action at a lower priority, then change the Infoblox rule to BLOCK. Costs include hourly Advanced rule charges per VPC plus the Infoblox subscription, which is free during preview.
Build Training-Ready Physical AI Datasets with Two Prompts in NVIDIA Cosmos
Building training datasets for physical AI is challenging because capturing rare or dangerous scenarios is costly and time-consuming. NVIDIA Cosmos Data Factory (CDF) provides five cloud-native blueprints and six composable skills to automate data curation, augmentation, and synthetic data generation. Users can set up and run these blueprints with just two prompts: one to clone and configure the orchestration repository, and another to execute the desired use case. The blueprints cover AV driving scenario generation, image attribute augmentation, video augmentation across weather and lighting, rare event video generation, and defect image generation. Using Cosmos, teams can generate training data up to 60x faster and 45x cheaper, with organizations reporting up to 24% better anomaly recall and 85% less manual engineering effort.
How to inspect, test, and debug MCP servers in Red Hat OpenShift console
Red Hat Connectivity Link 1.5 brings the Model Context Protocol (MCP) gateway to General Availability and introduces a new console plug-in for Red Hat OpenShift. The plug-in provides a setup wizard that creates MCP gateways without manual YAML, and a server registration wizard that binds MCPServerRegistration custom resources to HTTPRoutes. An MCP Overview dashboard displays real-time gateway and server health, along with attached policies such as authentication and rate limiting. The built-in MCP Inspector lets developers discover tools and prompts, execute live tool calls, and inspect raw JSON-RPC request and response payloads. This integration bridges cluster administration and AI developer workflows, enabling teams to scale agent tools with full visibility and governance.
Getting started with containers using Podman
Containers package an application with its dependencies into an isolated runtime that shares the host kernel, starting in seconds with less overhead than virtual machines. Podman is an open source engine for developing, running, and maintaining containers without root privileges or a background daemon. Container images are built from a Containerfile, which uses commands similar to a Bash script, and can be published to registries like Quay.io or Docker Hub. Running a container with Podman uses the podman run command, and data persistence requires volume mapping with the -v flag and the :z label on SELinux-enabled systems. Multi-container stacks can be managed declaratively with podman-compose using a YAML file, and automatic restart on boot requires enabling systemd lingering and the podman-restart service.
The day the sky emptied: rendering the FAA outage with ClickHouse FORMAT PNG
On November 13, 2026, an FAA outage grounded air traffic across the United States. The post visualizes the entire day over the lower 48 states using ADS-B data from adsb.exposed, which stores 380 billion position reports in a ClickHouse table sorted by a Z-order curve. The animation is rendered entirely by ClickHouse’s built-in FORMAT PNG output format, with no external plotting library or image-processing script. A SQL query aggregates positions by pixel and 5-minute frame, then returns rows that become the map, title, clock, timeline, and aircraft streaks colored by altitude and speed. The resulting animated PNG is 150 MB, reduced to 25 MB with a 256-color palette, and is also available as a GIF and MP4.
How to reply to an email: 8+ tips for responding to emails
Knowing how to reply to an email professionally is a skill that benefits customer relationships, colleague communication, and job interviews. The recommended reply structure has five parts: greeting, thanks, direct answer, next step, and sign-off. Setting a reply-to address ensures replies reach a monitored inbox and improves deliverability by reducing spam complaints. Teams should aim to respond within 24 hours and can set up automated responses for weekends. When handling negative feedback, show compassion, personalize the response, and thank the customer for their input. Positive feedback should also be acknowledged to build loyalty, and frequently used responses can be saved as templates for efficiency.
How to evaluate AI agents in production
Production evaluation of AI agents catches errors that pre-production testing misses, such as an agent telling customers a refund window is 60 days when it is 30. Twilio’s approach measures task completion and hallucination detection in every conversation after launch. The Task Completion operator labels each conversation as resolved, unresolved, escalated, or agent declined with a one-sentence reason. The Hallucination Detection operator flags statements that conflict with the connected knowledge base, conversation memory, or the conversation itself. Conversation Insights aggregates results across conversations to track trends and compare AI and human agents, while ConversationRelay Insights adds voice-specific metrics like time to first audio and interruption rate.
180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers
The author modified Transformers to stream MoE experts from disk, enabling a 180B-parameter Qwen model to run on a 32 GB MacBook M5 at ~14 tok/s. Existing engines like llama.cpp and vLLM either thrash the page cache or copy all experts on every token. The key innovation is a slot-pool cache: one preallocated device tensor shared across layers, with a per-layer mapping from expert ID to slot, so that grouped_mm runs on the pool as if it were a regular expert bank. Experts are quantized to 3 bits, read by 8 I/O threads, and prefetched by running the next two layers’ routers early. The implementation closes the gap with Strata to about 6% on short decode, with slightly faster prefill. The author notes that closing the remaining gap would require deeper changes in PyTorch’s MPS stream control.
ClickHouse forecasting and anomaly detection with time series foundation models
ClickHouse stores time-series data such as logs, infrastructure metrics, and sales, but training a separate classical model like ARIMA for every series becomes difficult as the number of series grows. Time-series foundation models (TSFMs) promise zero-shot forecasts from a new series’ history without per-series training, and the post connects TimesFM 3.0 to ClickHouse through executable user-defined functions (UDFs) that send numerical arrays to a model service over HTTP. SQL handles aggregation, time bucketing, and filtering to construct each series before passing it to the UDF, and forecasts return arrays of named tuples with median, q10, and q90 bounds. Anomaly detection scores observations against the model’s expected value, and the same SQL-to-model approach could connect ClickHouse to tabular foundation models for predictions on structured rows. The demo uses the M5 retail sales dataset to forecast daily demand and identify unusual historical observations.
Securing third-party AI agents on Red Hat AI with OpenShell
Red Hat AI 3.6 introduces a bring-your-own-agent strategy using OpenShell sandboxes, and the Omnigent project provides a meta-harness for running multiple AI agents such as Claude Code, Codex, Pi, and Goose under a common UI. This article demonstrates deploying Omnigent on Red Hat OpenShift with OpenShell, covering a custom UBI-based sandbox image, OpenShell profiles and providers for credential injection from GitHub, OpenAI, and Antigravity, and deployment via Kustomization overlays. The integration enables real-time session sharing and collaboration across devices while enforcing policies, network restrictions, and file system lockdown, with credential masking and policy violation detection via the OpenShell terminal. Agents inside the sandbox run with BubbleWrap for additional defense in depth, and the design prevents file passing at runtime to maintain separation of concerns. Future improvements include per-harness sandbox images, external CLI connections, and automatic sandbox suspension on session stop.
Creating a Halloween Escape Room Hotline for Twilio
Twilio created a Halloween campaign featuring a video about a family trying to cancel a gym membership. As a companion piece, the author built a virtual escape room hotline that callers could reach by dialing the number shown in the video. The experience uses both voice and SMS channels, has a spooky theme, can be completed in 10 minutes or less, and requires solving password puzzles using only the number keys on a smartphone. The hotline uses a Twilio Interactive Voice Response (IVR) system written in C# that directs calls via webhooks to an interactive menu. Voice lines were first tested with Amazon Polly TTS, then replaced with MP3 files generated via ElevenLabs using a Python script, and the final app runs as an Azure Container Application.
Accelerate Molecular Dynamics Simulations with Accurate, Flexible Primitives Using NVIDIA cuPotential
NVIDIA cuPotential is a focused library that provides modular primitives for accelerating molecular dynamics simulations, addressing the computational bottleneck of long-range interactions under periodic boundary conditions. The library offers direct-space and reciprocal-space utilities through a C API, along with a plugin for OpenMM that serves as a drop-in replacement for the nonbonded force, Langevin integrator, and Monte Carlo barostat. Building the runtime and plugin requires a Linux x86-64 system with a CUDA 13.1-compatible GPU and a conda environment supplying the CUDA toolkit and compilers. cuPotential uses new C2 continuous splitting and spreading functions developed with D. E. Shaw Research and the Flatiron Institute, which enable reducing the real-space cutoff or reciprocal-space grid size without loss of accuracy. The library also provides kernels for lattice dispersion interactions, improving dispersion energy accuracy by several thousand fold compared to conventional methods while significantly reducing energy drift.
Build a real-time next-best-offer recommender using Databricks Feature Views
Real-time personalization in retail banking requires aggregating clickstream data into time-windowed features for both training and serving, but separate pipelines create duplicate definitions that can drift. Databricks Feature Views solve this by letting you define features once for point-in-time-correct training and low-latency online serving. The open-source Solution Accelerator builds a next-best-offer recommender that ranks offers like credit card upgrades and personal loans using a LightGBM ranker. Streaming features from Kafka are continuously aggregated into the online store using RollingWindow and SawtoothWindow declarations, eliminating separate hand-written streaming jobs. In benchmarks, the ranking endpoint achieved 34 ms p95 latency and sustained approximately 56 requests per second on the smallest configuration.
Building a Secure MCP (Model Context Protocol) Server with Auth0.
An MCP server without an identity layer exposes internal data to any AI agent that reaches it, making proper authentication essential. This guide builds an MCP server in Go and secures it with Auth0 using OAuth 2.1, PKCE, and RBAC-backed scopes. The server validates bearer tokens against Auth0’s JWKS endpoint, checking signature, issuer, audience, and expiry before granting access. It enforces department-scoped access by requiring scopes like read:engineering or read:hr, returning 403 if the token lacks the required scope. The result is a server that only grants AI agents the data their user is authorized to see.
Top topics
- Architecture854
- Performance851
- LLMs750
- AI Agents716
- Machine Learning644
- AI637
- Open Source604
- Developer Experience461
Weekly digest
The best engineering reads, once a week.