Latest Tutorials

Learn about the latest technologies from fellow newline community members!

  • React
  • Angular
  • Vue
  • Svelte
  • NextJS
  • Redux
  • Apollo
  • Storybook
  • D3
  • Testing Library
  • JavaScript
  • TypeScript
  • Node.js
  • Deno
  • Rust
  • Python
  • GraphQL
  • React
  • Angular
  • Vue
  • Svelte
  • NextJS
  • Redux
  • Apollo
  • Storybook
  • D3
  • Testing Library
  • JavaScript
  • TypeScript
  • Node.js
  • Deno
  • Rust
  • Python
  • GraphQL
NEW

What Is FlashInfer? FlashInfer-Bench and Faster Attention Kernels for LLM Inference

Evaluating FlashInfer against existing attention backends comes down to a few numbers that matter for production serving. Here's what the benchmarks actually show. FlashInfer vs. Existing Backends: What the Numbers Show FlashInfer sits between memory-bound token generation and compute-bound prompt…
Thumbnail Image of Tutorial What Is FlashInfer? FlashInfer-Bench and Faster Attention Kernels for LLM Inference
NEW

useEffect in React AI Apps: Patterns for Streaming, RAG, and Tool Calls

The most common mental trap when migrating from class components to hooks is treating useEffect as a one-to-one replacement for componentDidMount. That mental model breaks down fast in AI apps where you're fetching model lists, embeddings, or fine-tuned weights on mount. The pattern looks…
Thumbnail Image of Tutorial useEffect in React AI Apps: Patterns for Streaming, RAG, and Tool Calls

I got a job offer, thanks in a big part to your teaching. They sent a test as part of the interview process, and this was a huge help to implement my own Node server.

This has been a really good investment!

Advance your career with newline Pro.

Only $40 per month for unlimited access to over 60+ books, guides and courses!

Learn More
NEW

LayerNorm vs RMSNorm for Fine-Tuning LLMs in 2026

LayerNorm computes both mean and variance for each token, then applies learned scale and bias parameters. RMSNorm drops the mean-subtraction step entirely and uses only a scale parameter, cutting the learnable parameters in half—from 2d to just d, where d is your model width. That simplification…
Thumbnail Image of Tutorial LayerNorm vs RMSNorm for Fine-Tuning LLMs in 2026
NEW

Fine-Tuning LLMs for AI Inference

When you teach a general-purpose language model medical billing or customer service language, you are not hoping it understands your domain. You are making it do so. Fine-tuning turns vague, hallucination-prone outputs into systems that generate structured data, enforce compliance rules, and match…
Thumbnail Image of Tutorial Fine-Tuning LLMs for AI Inference
NEW

From Prompt Engineering to Context Engineering: Better Patterns for Real AI Applications

Most failures in a real AI application trace back to missing or messy context, not a weak model. When a production system "hallucinates," the prompt wording is rarely the culprit. It's what the model could and couldn't see at inference time. That changes how we teach lead developers. Prompt…
Thumbnail Image of Tutorial From Prompt Engineering to Context Engineering: Better Patterns for Real AI Applications