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

Fine-Tuning LLMs on Colab: Free GPU Limits and Workarounds

You can fine-tune a 7B language model on a free Colab T4. With 4-bit weights and LoRA adapters, you'll stay within the T4's roughly 15 GB memory budget. If you're learning fine-tuning, start with a 1B model and save your progress before pushing closer to the memory limit. Start with Llama 3.2 1B in…
Thumbnail Image of Tutorial Fine-Tuning LLMs on Colab: Free GPU Limits and Workarounds
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

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

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
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

Email Newsletter

Trusted by 200,000+ developers!

Popular Topics