惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
F
Full Disclosure
Martin Fowler
Martin Fowler
The GitHub Blog
The GitHub Blog
L
LangChain Blog
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
GbyAI
GbyAI
Y
Y Combinator Blog
博客园 - Franky
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
IT之家
IT之家
Jina AI
Jina AI
N
Netflix TechBlog - Medium
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
腾讯CDC
H
Help Net Security
H
Heimdal Security Blog
J
Java Code Geeks
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
The Exploit Database - CXSecurity.com
The Register - Security
The Register - Security
大猫的无限游戏
大猫的无限游戏
T
Threatpost
B
Blog RSS Feed
T
Threat Research - Cisco Blogs
Microsoft Security Blog
Microsoft Security Blog
S
Securelist
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
量子位
AWS News Blog
AWS News Blog
Project Zero
Project Zero
P
Proofpoint News Feed
Cisco Talos Blog
Cisco Talos Blog
Spread Privacy
Spread Privacy
S
Schneier on Security

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Six Things I Wish Someone Had Told Me Before I Started Working Inside AI
Jaskaran Sin · 2026-04-26 · via DEV Community

I did not plan to work in AI.

For five years I was building apps. The kind people actually download and use every day. That was the job. That was the plan. Then the industry shifted and I started paying attention to how these AI tools actually work underneath, not just what they produce on the surface.

Now my job is to test AI. I talk to it, push it, try to break it, and figure out where it goes wrong. I have spent a lot of time watching AI fail in ways that look completely fine at first glance.

And that changes how you see these tools.

Most articles about AI explain these concepts the way a textbook would. Clean, tidy, no mess. I want to explain them the way I actually learned them. Through the moments they surprised me, confused me, or quietly let me down.


1. Tokens: AI Reads in Tiny Bites, Not Full Sentences

A person says a full sentence while an AI breaks it into small word tokens and processes them one by one

Imagine tearing a book into individual syllables and handing them to someone one at a time. That is roughly how AI reads your text.

AI does not process words the way you do. It breaks everything into tiny fragments called tokens. "Hamburger" might be three tokens. "Cat" is one. Spaces, punctuation, even parts of words all count. Every single thing you type is being measured.

Why does this matter?

Every AI model has a budget. A maximum number of tokens it can handle at once. The longer your message, the more tokens it uses. The longer the conversation, the closer you get to that ceiling. When you hit it, the oldest parts of the conversation start disappearing. The AI is not getting confused. It is literally running out of room to hold everything.

I first noticed this when I kept getting strange, off-target answers in long conversations. The AI was not going rogue. It had simply forgotten what I said at the beginning because there was no room left to keep it.

The fix I started using was to keep messages focused. Instead of dumping everything at once, I ask about one thing at a time. Shorter, more specific messages get better answers. Not because the AI got smarter, but because I stopped wasting its budget.

Try it yourself: OpenAI's Tokenizer Playground lets you paste any text and see exactly how many tokens it uses. Paste a long email or paragraph you wrote. The number will surprise you.


2. Context Window: AI Has a Short-Term Memory Problem

A long document where only the most recent section is highlighted, showing AI can only focus on the latest information and forget earlier parts

Last year I built a small tool that monitors a government immigration website. Canada's immigration program drops new opportunities without warning. No email, no alert, nothing. Miss it and you wait months. My tool checks the website automatically and sends me a message the moment something new appears.

Early on it had a strange problem.

It would work perfectly for a while. Then it would start acting confused. Alerting me about things it had already reported. Missing obvious updates. Behaving like it had completely forgotten what it was supposed to be doing.

The problem was the context window.

Think of the context window like a sticky note. Everything the AI knows about your current conversation lives on that sticky note. Your questions, its answers, anything you shared. The sticky note has a size limit. Once it is full, the oldest things get erased to make room for new ones. No warning. They just disappear.

My tool was filling up that sticky note with every check it ran. After enough cycles, the original instructions were gone. The AI was working without the information it needed and had no idea.

The fix was simple once I understood the problem. Give the AI only what it needs for each task, not everything that has happened so far. Stop letting the sticky note overflow.

If you have ever noticed AI forgetting something you mentioned earlier in a long chat, this is exactly what happened. It did not ignore you. It ran out of space.

Go deeper: Anthropic's model overview explains how much text different AI models can hold at once. Worth a look if you use AI for anything involving long documents or back-and-forth conversations.


3. Temperature: The Dial Between Predictable and Creative

A dial ranging from low to high showing AI outputs becoming more predictable on one side and more creative on the other

Every time AI writes the next word in a sentence, it is choosing from a list of possible options. Temperature is the setting that controls how adventurous those choices are.

Think of it like ordering coffee.

Low temperature is the AI playing it safe. Always picking the most expected, reliable option. Like a barista who makes your order exactly the same way every single time. Consistent. Dependable. Occasionally boring.

High temperature is the AI experimenting. It reaches for less obvious choices. Sometimes it surprises you with something genuinely better. Sometimes it goes in a direction you did not want at all.

I tested this once by asking the same question twice. Once with a low setting and once with a high one. The low setting gave me a clear, straightforward answer I could use immediately. The high setting gave me something more interesting but also more unpredictable. For some tasks that unpredictability is exactly what you want. For others, like anything factual or precise, it is a problem.

If you are using AI to write something creative or brainstorm ideas, a higher temperature gives you more variety to choose from. If you need a consistent, reliable answer every time, you want it low. Most AI tools do not show you this setting, but knowing it exists explains a lot about why you sometimes get wildly different answers to the same question.

Quick reference: The Anthropic API docs show how temperature works in practice. Even if you never touch the setting yourself, understanding it makes AI much less mysterious.


4. Hallucination: Confident, Fluent, and Completely Wrong

A user asks a question and the AI gives a confident but incorrect answer, illustrating how AI can sound right while being wrong

This is the one I worry about most.

AI makes things up. Not occasionally, not as a rare edge case. It happens regularly. And the scary part is not that it happens. It is that the wrong answers look exactly like the right ones.

I have seen AI recommend a restaurant that does not exist, in a neighbourhood it described accurately, with opening hours and a menu. Completely invented. Presented like a fact.

I have seen it cite a news article with a real-sounding headline, a plausible publication name, and a date. The article never existed.

The reason this happens is worth understanding. AI is not looking things up. It is not retrieving facts from a database. It is predicting what text should come next based on patterns it has seen. Most of the time those patterns align with reality. Sometimes they do not. And the model cannot always tell the difference, so it does not flag it. It just keeps going, confidently.

In my job testing AI I spend a lot of time specifically looking for this. The ones that fool me are not the obviously wrong answers. Those are easy to catch. The dangerous ones are the answers that are almost right. Right enough to pass a quick read. Wrong in a way that only becomes clear later.

The practical lesson is to not trust AI output on anything important without checking it against a real source. Not because AI is useless. Because this is simply how it works right now.


5. RAG: Teaching AI to Look Things Up Before Answering

A step-by-step flow where a question goes to AI, then to a knowledge source, and returns with a more accurate answer

Going back to my immigration monitoring tool. This is where I really understood what RAG does.

RAG stands for Retrieval-Augmented Generation. Ignore the name. The idea is simple.

Instead of asking AI to answer purely from memory, you give it a way to check a source first. It fetches the relevant information, reads it, and then writes its answer based on what it actually just read. Not what it vaguely remembers from training.

My tool works this way. Every time it runs, it does not ask the AI to remember what the immigration website looked like before. It fetches the current page, hands that fresh content to the AI, and asks whether anything has changed. The AI is reading real, current information. Not guessing from memory.

This is the difference between asking a friend to answer from the top of their head versus letting them check their notes first. Same person. Much better answer.

This matters because AI's knowledge has a cutoff date. It does not know what happened last week. It does not know what is in your company's internal documents. It does not know anything it was not trained on. RAG is how you fill that gap by giving the AI something real to read before it responds.

It is why some AI tools can accurately answer questions about recent events, or about your specific business, when a general AI tool would just guess.

Start here: Anthropic's contextual retrieval post explains RAG in plain language with real examples. LangChain also has a beginner-friendly tutorial if you want to see how it actually gets built.


6. Prompting: The Way You Ask Changes Everything

A comparison between a vague prompt and a clear, detailed prompt showing how better instructions lead to better AI responses

This one took me longer than it should have to take seriously.

Prompting just means how you phrase your request to an AI. And it changes the answer more than most people realize.

Here is an example anyone can test right now.

Ask AI this. "Write me an email."

Then ask this instead. "Write me a short, friendly email to my landlord asking if I can get a pet cat. Keep it under five sentences. Be polite but direct."

The second one gets you something you can actually send. The first one gets you something generic that you will spend ten minutes editing anyway.

Same AI. Same moment. The only difference is how specific you were.

I learned this from the other side. My job involves writing requests specifically designed to trip AI up and expose its weaknesses. That work taught me something. The more vague your request, the more room the AI has to fill in the gaps with whatever is most common. Most common is rarely most useful.

AI does not read between the lines the way a person does. A colleague who knows you might guess what you mean from a half-finished thought. AI takes your words at face value and produces something plausible for exactly what you wrote. Not more. Not less.

The habit worth building is this. Before you ask AI something, spend thirty seconds making the request more specific. What format do you want? What should it avoid? Who is going to read it? That thirty seconds saves you ten minutes of editing on the other side.


None of this requires a technical background. Tokens are the budget AI works within. Context windows are its short-term memory. Temperature controls how predictable or experimental it gets. Hallucination is confident wrongness that looks right. RAG is the look-it-up approach. Prompting is just asking better questions.

I learned all of this the slow way. By watching things break and figuring out why after the fact. You do not have to.

The people getting genuinely useful results from AI right now are not using better tools. They just understand what is actually happening when they hit send.


I write about AI, what it gets wrong, and how to use it without getting burned. Follow along on dev.to or connect on LinkedIn.