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

Beyond Basic RAG: Self-RAG, CRAG, and RA-DIT Patterns That Actually Improve Retrieval

The short version: Basic RAG follows a rigid sequence: retrieve k passages, insert them into the prompt, generate an answer. The weakness often sits in that fixed sequence, not in the retriever. The RAG survey describes the shift from basic retrieval to modular and adaptive designs. Self-RAG offers…
Thumbnail Image of Tutorial Beyond Basic RAG: Self-RAG, CRAG, and RA-DIT Patterns That Actually Improve Retrieval
NEW

Find vs Grep for AI Coding Workflows: Why Grep Still Beats Plain Search for Agent Debugging

Watch: Debug Retrieval (Grep, Web Search) Before You Debug the LLM by Isaac Flath Ask grep to find getUserName across a large codebase and it scans every line sequentially. Ask ripgrep to do the same job and it often finishes faster—parallelized work, automatic .gitignore respect. That gap stops…
Thumbnail Image of Tutorial Find vs Grep for AI Coding Workflows: Why Grep Still Beats Plain Search for Agent Debugging

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

Dotenv TypeScript for AI Agents: Typed Env Validation for OpenAI Keys, MCP, and Safer Deploys

Raw environment variables are strings. When you load process.env.OPENAI_API_KEY in a TypeScript project, you get a string — or you get undefined if someone forgot to set it. Your agent boots, runs for thirty seconds, then crashes when it tries to call the OpenAI API with a missing key. No warning…
Thumbnail Image of Tutorial Dotenv TypeScript for AI Agents: Typed Env Validation for OpenAI Keys, MCP, and Safer Deploys
NEW

Startup Credits for AI Builders: Spend Free Cloud Budget on RAG, Evals, and n8n Workflows

Startup credit programs can cover much of the stack AI builders use: Google Cloud for compute and Gemini calls, Anthropic's Claude API for inference, n8n workflow automation credits, Runware for image generation, and Pinecone's free starter tier for vector storage. Program details vary depending on…
Thumbnail Image of Tutorial Startup Credits for AI Builders: Spend Free Cloud Budget on RAG, Evals, and n8n Workflows
NEW

Stable-Baselines3 vs QLoRA: When to Train an Agent or Fine-Tune an LLM

Before we get into it, the short version: Stable Baselines3 trains reinforcement learning agents through trial and error in simulated environments. QLoRA fine-tunes large language models using labeled input-output pairs to reshape text generation behavior. The two address fundamentally different…
Thumbnail Image of Tutorial Stable-Baselines3 vs QLoRA: When to Train an Agent or Fine-Tune an LLM

Email Newsletter

Trusted by 200,000+ developers!

Popular Topics