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

Flutter Scaffold with the Dart MCP Server: Generate Layouts You Can Trust

Short version: The server validates typed parameters instead of improvising shell commands. Generate minimal test scaffolds first, then inspect runtime errors and the widget hierarchy as you iterate. Prompt templates specifying exact package imports reduce missing-dependency errors when generic…
Thumbnail Image of Tutorial Flutter Scaffold with the Dart MCP Server: Generate Layouts You Can Trust
NEW

Using Draft Models to Accelerate Large Language Inference

Chaining LLM calls in AI agents stacks latency at every step. A five-call reasoning chain isn't just five times slower — it's five separate memory bottlenecks, five token-by-token waits. Draft-model speculative decoding cuts that sequential grind by letting a lightweight model propose several…
Thumbnail Image of Tutorial Using Draft Models to Accelerate Large Language Inference

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

HTML Parsing for RAG: Turn Tags into Clean, Retrieval-Ready Chunks

Your bootcamp project pulls down a webpage for RAG ingestion, and the token count is bloated. The problem: most of that is CSS styles, JavaScript, comments, and other noise that actively harms retrieval. Raw HTML documents from the web aren't knowledge sources yet—they're bloated containers where…
Thumbnail Image of Tutorial HTML Parsing for RAG: Turn Tags into Clean, Retrieval-Ready Chunks
NEW

Optimizing LLM Performance with Prefix Caching

Prefix caching cuts inference latency and cost by reusing the KV cache when new requests share identical leading token sequences with earlier ones. Reusing long prompts can substantially reduce time-to-first-token on server and on-device deployments. Memory overhead scales with context length.…
Thumbnail Image of Tutorial Optimizing LLM Performance with Prefix Caching
NEW

Fine-Tune a Small LLM With QLoRA to Make Your Agent Call Tools Reliably

Tool-calling agents fail in production when they guess wrong about which API to invoke or construct malformed parameters. Each failed call costs you actual dollars in wasted compute and developer time debugging what broke. The standard fix is pumping thousands of tokens of tool schemas into every…
Thumbnail Image of Tutorial Fine-Tune a Small LLM With QLoRA to Make Your Agent Call Tools Reliably

Email Newsletter

Trusted by 200,000+ developers!

Popular Topics