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

nn.LayerNorm Explained: Pre-Norm Transformers, LoRA, and vLLM Inference

nn.LayerNorm is cheap enough that a single call never appears on a profile. The problem is volume. Every token, every layer, every forward pass repeats the same arithmetic. When you measure energy across training or inference, that repetition turns a tiny computation into a recurring cost. Research…
Thumbnail Image of Tutorial nn.LayerNorm Explained: Pre-Norm Transformers, LoRA, and vLLM Inference
NEW

How to Security-Test DeepSeek V3 and R1 with Promptfoo

Security testing stopped being optional the moment you wired an open-source model into a product real users touch. One successful jailbreak can leak your proprietary prompts, expose customer data, or drop you into a compliance mess you never budgeted for. DeepSeek V3 and R1 are appealing for good…
Thumbnail Image of Tutorial How to Security-Test DeepSeek V3 and R1 with Promptfoo

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

GLM-5.2 vs Fable 5: Coding Agents, Cost, and Long Context

Picking a coding-agent model for your cohort stopped being a taste decision the moment token spend showed up next to instructor salaries. If you run a bootcamp, the GLM 5.2 vs Fable call comes down to three things you'll have to defend: cost per student, how much context the model holds during long…
Thumbnail Image of Tutorial GLM-5.2 vs Fable 5: Coding Agents, Cost, and Long Context
NEW

Set clear scope for AI agents using Gemini context engineering

Scope stopped being optional the moment your agent could call tools, query databases, or keep memory across sessions. Scope is the set of information and operations your agent can access during a single task. Get it wrong and you watch your agent burn through tokens on irrelevant context, fire the…
Thumbnail Image of Tutorial Set clear scope for AI agents using Gemini context engineering
NEW

How to Test AI Agent Behavior Before Production: Three Strategies

Testing agent workflows stops being optional once you move past simple single-turn interactions. An agent can answer correctly in isolation and still lose a customer's order details mid-conversation, send the wrong arguments to a refund endpoint, or retrieve stale inventory data. These problems…
Thumbnail Image of Tutorial How to Test AI Agent Behavior Before Production: Three Strategies