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

How to Run LLMs Locally in 2025: AnythingLLM vs Open WebUI vs Jan

Jan wins for absolute beginners. AnythingLLM fits hardware-constrained learners doing document Q&A. Open WebUI rewards advanced students ready to configure retrieval pipelines. Pick based on your skill tier, not GitHub stars. That matters more than most learners realize. The rule for any project is…
Thumbnail Image of Tutorial How to Run LLMs Locally in 2025: AnythingLLM vs Open WebUI vs Jan

`set -o pipefail` for AI Scripts: Catch Broken RAG Jobs Early

Quick Summary set -o pipefail is a one-line Bash setting that makes a pipeline fail if any command in it fails, not just the last one. For RAG scripts, it's the difference between catching a broken ingestion step early and discovering corrupted embeddings after you've already spent hours training.…
Thumbnail Image of Tutorial `set -o pipefail` for AI Scripts: Catch Broken RAG Jobs Early

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

FlashAttention-4 on H100: Benchmark Faster LLM Inference Properly

Run FA4 on an H100, watch it lose to older kernels, and it is tempting to file a bug. Do not. The kernel is not broken. You picked the wrong tool for that GPU, and that mistake ripples into every benchmark you write. Run Blackwell-specific instructions on Hopper silicon, and the co-design breaks…
Thumbnail Image of Tutorial FlashAttention-4 on H100: Benchmark Faster LLM Inference Properly

Clawdbot Daily Life Workflows: Turn Gmail Messages into Notion Tasks

Before you build anything, three accounts need to be talking to each other: Gmail, Notion, and Clawdbot. Most of it is basic config, with a couple of optional advanced paths if you want tighter control. Here's the tension you're setting up against. The daily experience runs smoothly once it's…
Thumbnail Image of Tutorial Clawdbot Daily Life Workflows: Turn Gmail Messages into Notion Tasks

Hugging Face TRL and PEFT: Choosing LoRA or QLoRA on One GPU

Watch: Fine-tuning LLMs with PEFT and LoRA by Sam Witteveen What actually separates LoRA from QLoRA? The split between LoRA and QLoRA is memory versus simplicity. Both freeze the base model and train tiny adapter matrices. QLoRA adds one thing on top: 4-bit quantization. That single change cuts…
Thumbnail Image of Tutorial Hugging Face TRL and PEFT: Choosing LoRA or QLoRA on One GPU