Sizing RAG Chunks in Tokens, Not Characters
Embedding models and language models read tokens, not characters or words. If you size chunks in characters, some chunks will exceed the mod...
Clear, practical tutorials on LLM APIs, RAG, AI agents, MCP, context engineering, local LLMs, fine-tuning, PyTorch and more — plus handy tools to speed up your everyday development work.
Animated examples of SQL, Laravel, PHP and JavaScript code being written and run, from Technical Simple tutorials.
Embedding models and language models read tokens, not characters or words. If you size chunks in characters, some chunks will exceed the mod...
Context is the background a model needs to give a useful answer: who the audience is, what the output is for, what has already been decided...
Three tools control gradients in PyTorch. zero_grad() clears old gradients so they do not pile up between steps. torch.no_grad() turns off g...
Git is the best safety net you have when an agent is editing your code. A clean branch per task, frequent small commits and a protected main...
130 quick tools that run in your browser — nothing to install.
Format, validate, minify and sort JSON with exact error positions.
Open toolEncode and decode Base64 text and files, with full Unicode and URL-safe support.
Open toolGenerate MD5, SHA, PBKDF2 and Bcrypt hashes right in your browser.
Open toolCreate strong random passwords or passphrases with entropy and crack-time estimates.
Open toolWrite HTML and preview it live, with formatting, import and export.
Open toolTest regular expressions with live highlighting and capture groups.
Open toolGenerate harmonious colour palettes and export them as CSS variables, SCSS or JSON.
Open toolShrink JPG, PNG and WebP images in your browser with a quality slider and before/after sizes.
Open toolCreate QR codes for links, text, Wi-Fi, contacts, email and SMS; download PNG or SVG.
Open toolCombine several PDFs into one, in the order you choose — all in your browser.
Open toolConvert cURL commands into fetch, Axios, Python requests, PHP, Go and Node.js code.
Open toolExplain cron schedules in plain English and see the next runs.
Open toolCustomers scan your QR code, upload their PDF or photos and pay your UPI ID directly. You check the payment and press print. No app, no commission, a one-time registration.
Join the newsletter and get new articles delivered to your inbox. Free, and you can unsubscribe anytime.