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

Rust AI Apps with Rig: Connect Ollama, RAG, and Tool Calls

A RAG service (retrieval-augmented generation, where the model answers from your own documents) built with Rust and Rig can have a much smaller runtime memory footprint than an equivalent Python LangChain server in many local-serving setups. Rust’s lack of garbage-collection pauses can also help…
Thumbnail Image of Tutorial Rust AI Apps with Rig: Connect Ollama, RAG, and Tool Calls
NEW

Execution Context for Cursor, Claude Code, and Codex CLI: A Workflow That Keeps AI Coding on Track

Execution context is what lets an AI coding agent reason from the same picture of your project across every prompt. Lose it, and the agent forgets which files it touched, re-reads code it already understood, and burns tokens rebuilding a mental model you already paid for. For a multi-file refactor…
Thumbnail Image of Tutorial Execution Context for Cursor, Claude Code, and Codex CLI: A Workflow That Keeps AI Coding on Track

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

Reproducing QLoRA: NF4 Fine-Tuning with Unsloth and LLaMA-Factory

Reproducing QLoRA stopped being a research curiosity once 4-bit fine-tuning became a common way teams ship custom models. This block is your scoping sheet: hardware, software stack, time-to-train, and where Unsloth and LLaMA-Factory each fit. Read it like a capstone plan, not a demo. The paper…
Thumbnail Image of Tutorial Reproducing QLoRA: NF4 Fine-Tuning with Unsloth and LLaMA-Factory
NEW

Reinforcement Learning Examples Behind Modern LLMs: RLHF, RLAIF, and CodeRL in Practice

Supervised fine-tuning (SFT) trains a model on curated prompt-and-answer examples. It stops short once the model leaves the demo and meets real users. SFT gives the model examples to copy. It does not teach the model to rank competing answers, refuse unsafe requests, or handle prompts with multiple…
Thumbnail Image of Tutorial Reinforcement Learning Examples Behind Modern LLMs: RLHF, RLAIF, and CodeRL in Practice
NEW

ESLint Setup for Cursor and GitHub Copilot: Project Rules That Stop AI Code Drift

Before we get into it, the short version: Here's the whole workflow at a glance before you commit an afternoon to it. This ESLint setup for AI-assisted projects hinges on a lint config plus instruction files that your assistant can consult. Wire those up and your linter can stop being a passive…
Thumbnail Image of Tutorial ESLint Setup for Cursor and GitHub Copilot: Project Rules That Stop AI Code Drift