今日已更新 113 条资讯 | 累计 37664 条内容
关于我们

今日精选

HOT

最新资讯

共 37664 篇
第 1809/1884 页
AI 资讯 Dev.to

LLM Benchmarks, Agent Frameworks, and the Tools That Matter in 2026 [03:37:09]

Hey there! If you've been keeping up with the AI space lately, you know we're in the middle of something genuinely historic. What used to be science fiction is becoming production code — and it's happening fast. The Big Shift: Agents Over Assistants For years, we've been building chatbots. Helpful little assistants that answer questions. But something changed in 2026, and honestly, it happened so quietly that most people missed it. Agents aren't chatbots. A chatbot waits for you to ask. An agent sees an objective and acts on it. Autonomously. That's the difference. And the market just woke up to it. What's Actually Happening Right Now DBS Bank + Visa's Agentic Commerce Tests In February, these giants quietly completed trials of AI-driven agents executing credit card transactions automatically. No human in the loop. No confirmation needed. Just agents doing their job. If you're thinking "That sounds risky" — yeah. But it worked. BridgeWise's AI Wealth Agent A US fintech company just unveiled an AI agent that personalizes investment portfolios at scale . Something that would take a team of human financial advisors years to do, this agent does in minutes. Microsoft's Supply Chain Agents They're operating over 100 AI agents in their own supply chain. And they're planning to equip every employee with AI support by end of 2026. The Emergence of "Freelance Agentics" This one's wild. Solopreneurs are using AI agents to do the work of 10-person teams. Legal, accounting, architecture — fields that were supposedly "too complex" for automation are getting flipped upside down by a single person + a good agent framework. Why This Matters for Developers Here's what I think is important: This isn't hype. These are real companies running real agents in production. If you're a developer in 2026 and you don't understand how to build with agents, you're going to feel left behind. Not because everyone's obsessed with them — but because they're genuinely useful . The frameworks are solid

AI Bug Slayer 🐞 2026-05-29 11:37 11 原文
AI 资讯 Reddit r/webdev

Trying to site to host and stream videos with only Rumble Cloud, an FFmpeg, and CDN?

I've been looking into creating a site that would host an almost Youtube like platform (for a specific niche) where creators can post their videos and viewers can watch it for free. The site would have advertisement which would fund it as well as premium for viewers, but don't focus about the fund generation for this question. As some may know hosting and streaming videos is very expensive (Looking specifically at CloudFlare and Mux, which are the best options but come up to insane numbers if streaming to a high population of views per video at high minute counts like half an hour) so trying to find a cost viable way to host videos I found Rumble Cloud which is used as a cloud provider, which summed up stores the videos (a big part of what the other options offer) for an incredibly more reasonable price. So knowing that, I looked into what I needed to make up what something like CloudFlare and Mux does already. I don't know anything about webdev or anything like this, I've only been using research and what little business knowledge I know to figure this out, I'm way out of scope so I need the help. So the question is: If I used Rumble Cloud to store the uploaded videos, had whoever I hire build in an FFmpeg (used to shred up the stored content into a watchable video that won't destroy everything), then used a CDN (looking into bunny.netCDN but not sure yet) to lessen the load that watching a video would have on the site and viewers, would all of that allow me to host and stream videos on the site with minimal issue and if not what am I missing. Again I know very little about this as a whole and have only done research for some time in the past months, I may be missing many things but could really use the help. If there is absolutely any more details or information you need me to give you to help you answer the question please let me know. (Also I'm looking into an alternative I have questions about so this is one of two related but not rlly related questions) submit

/u/GladeYaBoi 2026-05-29 11:36 6 原文
AI 资讯 Dev.to

Building a Resume Download Gate: Email Collection, Signed Tokens, and an S3 Lesson

I wanted a soft gate on my resume download. Not a paywall. Just an email field — enough friction to filter bots, enough signal to know who's interested. What started as a straightforward feature turned into a three-part lesson: stateless token signing, S3 public access, and email delivery mechanics. Here's the full story. The Feature The flow I wanted: Visitor clicks "Download Resume" on the About page or Hero A modal asks for their email Backend validates the email (format + disposable domain check) A signed, time-limited link is emailed to them They click the link, the PDF opens No database tokens. No cron jobs. No permanent S3 URLs floating around. Part 1 — The Model and the Gate The Resume Model Resume follows the singleton pattern I already use for page headers — force pk=1 on every save, restrict add/delete in admin. One row, forever. class Resume ( models . Model ): pdf = models . FileField ( upload_to = " resume/ " , storage = private_resume_storage ) last_updated = models . DateField ( default = date . today ) def save ( self , * args , ** kwargs ): self . pk = 1 super (). save ( * args , ** kwargs ) ResumeDownloadRequest logs every email that requests a link — no tokens, no expiry columns, just a record of who asked and when. class ResumeDownloadRequest ( models . Model ): email = models . EmailField () created_at = models . DateTimeField ( auto_now_add = True ) unsubscribed = models . BooleanField ( default = False ) class Meta : ordering = [ " -created_at " ] The unsubscribed flag is there for a future newsletter broadcast — when a new blog post goes out, skip anyone who opted out. Blocking Disposable Emails Before signing anything, the email is checked against a frozenset of ~70 known throwaway domains: # core/validators.py DISPOSABLE_EMAIL_DOMAINS : frozenset [ str ] = frozenset ({ " mailinator.com " , " guerrillamail.com " , " yopmail.com " , " 10minutemail.com " , " trashmail.com " , # ... ~70 total }) def is_disposable_email ( email : str ) -> bool

Vicente G. Reyes 2026-05-29 11:32 12 原文
AI 资讯 Dev.to

We have introduced Discord for SuperRails and LazyCafe user support

I am developing SuperRails and LazyCafe . Recently, I realized that email was the only way to receive bug reports and feedback requests for my products. In 2026, the barrier for people to send an email is incredibly high. Therefore, I have introduced Discord, a tool that I use every single day. Here is the link: https://discord.gg/WjCp7Qvt7 It is also linked on the SuperRails and LazyCafe homepages. If you have any questions, requests for improvement, complaints, or refund requests regarding our products, please feel free to leave a comment in the respective channels. You can also send a direct message (DM) to Hulk in Public. If the barrier to signing up for Discord is too high for you, we will continue to handle support via haruku.maniwa@laicos.tech as well. Why we chose Discord for user support Now, let me share the reasons why we decided to adopt Discord. Currently, I am challenging myself as a company to release one product every month. Thanks to everyone's support, I have managed to release up to our second project. Actually, for the third project, I was planning to build a user support tool in June. However, I decided against it. I realized that no user would leave complaints or feedback on a platform they don't yet trust. (So, the direction for the product to be developed in June is still undecided!) I realized that Discord, which I already use and love daily, could function perfectly fine as an MVP. Plus, you can use most of its features for free. Our goal is not just to develop products; it is to make our users happy. I thought Slack might be more suitable than Discord (which is aimed at gamers) since many developers likely use Slack for work. However, with Slack's free plan, you can only use a limited set of features. Most importantly, you cannot view messages older than 90 days. This is a huge dealbreaker. In fact, Discord is widely adopted as a community tool for many open-source (OSS) projects. It should be more than enough to serve its purpose for Supe

Hulk in Public 2026-05-29 11:26 5 原文
AI 资讯 Dev.to

Battery Balancing Explained: Passive vs Active Balancing

Lithium battery packs are only as strong as their weakest cell. Whether you're designing a drone battery, an EV pack, or an energy storage system, cell balancing plays a critical role in battery safety, lifespan, and performance. But many developers and hardware engineers still confuse passive balancing and active balancing , or underestimate how important balancing becomes in multi-cell lithium systems. In this article, we'll break down: Why battery balancing matters What causes cell imbalance How passive balancing works How active balancing works Engineering trade-offs between both methods Where each balancing strategy is commonly used 1. Why Battery Cells Become Unbalanced In theory, every lithium cell inside a battery pack should behave identically. In reality, that never happens. Even cells from the same production batch will have slight differences in: Internal resistance Capacity Self-discharge rate Temperature response Aging characteristics Over time, those small differences accumulate. For example: One cell may charge slightly faster Another may discharge deeper One may heat up more under load Eventually, the pack voltage becomes uneven. This is called cell imbalance . 2. Why Cell Imbalance Is Dangerous Imagine a 4S lithium battery pack. If one cell reaches 4.25V while the others are still at 4.10V, the charger must stop to avoid overcharging that single cell. That means: The entire pack never reaches full usable capacity Weak cells age faster Heat generation increases Safety risks become higher The same problem happens during discharge. If one cell drops below the minimum safe voltage earlier than others, the BMS cuts power to protect the pack — even though the remaining cells still contain energy. In other words: A battery pack is limited by its weakest cell. 3. What Is Battery Balancing? Battery balancing is the process of equalizing cell voltages inside a battery pack. The goal is simple: Prevent overcharge Prevent over-discharge Improve pack lifespan I

Docy 2026-05-29 11:21 11 原文
AI 资讯 Dev.to

How I Protected My Inbox from Spam Bots While Building Landing Pages

As developers, indie hackers, and solo founders, we launch numerous static sites, minimal landing pages, and open-source project documentation blocks. Every single one of these deployments shares a universal prerequisite: a reliable path to gather raw incoming user feedback, inbound sales leads, or bug reports. The traditional path of least resistance has long been to embed a hardcoded HTML <form> inside our page, or worse, expose a standard mailto: link. However, we all know what happens next. Within hours of your app hitting public hosting servers or GitHub, automated asynchronous spam bots find your raw source code, harvest your personal email address, and turn your inbox into a living nightmare. I used to spend hours configuring captchas, writing honey-pot filters, or spinning up custom Serverless Lambda routines just to secure a simple contact form. Eventually, I realized I was fighting the wrong battle. The best way to protect your inbox isn't to build a better shield around your frontend form; it's to remove the form from your code entirely. That is why I built FormCrab.com . 🦀 The Problem: Why Client-Side Forms are a Risk When you embed a custom form or mailto link into your landing page, you are effectively publishing your communication architecture to the world. Spam bots don't even need to render your page anymore; they use basic regex scrapers to crawl through millions of raw static HTML repositories looking for keywords like type="email" or action="..." . Once your endpoint or raw email identity is captured, it is added to bulk programmatic marketing lists. The Trade-Off We All Hate: Option A: Spin Up a Custom Backend. Configuring an Express or Spring Boot API routing layer solely to act as an authenticated SMTP relay. This adds infrastructural complexity and database burdens to what should be a 15-minute frontend project. Option B: Use Form Backends. Even if you use a standard form endpoint handler, you still have to code the frontend UI, handle valida

ysykzheng 2026-05-29 11:17 11 原文
AI 资讯 Dev.to

Why output-stage PII masking is the wrong protective surface for data exfiltration in RAG

"The output filter runs after the LLM has already seen the confidential data. By then, three classes of leak can no longer be stopped. The right surface is retrieval. Walking through a real implementation." TL;DR Most RAG-with-RBAC stacks I see in production put the access-control gate at the output stage: an LLM-response post-filter that masks PII or redacts confidential strings. This is defense-in-depth, not the load-bearing layer. By the time the filter runs, the LLM has already received the confidential context, and three classes of leak — creative paraphrasing, inference, cross-turn persistence — can no longer be stopped by string-matching the output. The protective surface that actually carries the weight is retrieval-stage ABAC: documents and graph nodes the user can't read are never traversed, never make it into the prompt, never seen by the model. The output filter still belongs in the stack, but as the second-to-last line, not the first. This post is a walk through why and how, with code references from a working implementation. It was prompted by a 6-turn LinkedIn DM exchange with Ali Afana (Provia founder, dev.to Featured) on injection-fixture schema design, where the framing crystallized. The seductive default You build a RAG system. You have documents at different sensitivity levels — public, internal, confidential. You want the model to answer based on whichever documents the user is allowed to see. The default mental model: "I'll let the model answer freely, and then I'll filter the response on the way out." This is appealing because: The retrieval pipeline stays simple (one query, one vector search, one response) The access control feels surgical (just before the user, just before damage) The PII-mask vocabulary is well-established (Presidio, regex catalogs, named-entity recognition models) So you wire up something like: Python The seductive default def answer(query, user): chunks = retrieve(query, top_k=10) # No ABAC here context = "\n".join(c.text

Hashevolution 2026-05-29 11:10 8 原文
AI 资讯 Dev.to

这个 GitHub 开源项目让你的 AI Agent 拥有「工具应用商店」,86K+ Stars 但 90% 的人只用了 1% 的功能

你知道吗?GitHub 上有一个 6,870 Stars 的开源项目,它自称是「MCP 服务器的 App Store」。但大多数开发者只知道用它查服务器名字,却完全忽略了它的 5 个隐藏用法——这些用法能彻底改变你构建 AI Agent 工作流的方式。 这个项目叫 MCP Registry(modelcontextprotocol/registry),2025 年 9 月正式上线,是 Model Context Protocol 官方社区维护的 MCP 服务器目录。到 2026 年,它已经成为 MCP 生态系统的核心基础设施——但 90% 的开发者仍然只用它做一次性查询。 今天我来揭示 MCP Registry 的 5 个隐藏用法,这些用法在 2026 年将决定你能否构建真正智能的 AI Agent 工作流。 隐藏用法 #1:动态工具发现端点(像 npm 一样查询 MCP 服务器) 大多数人的用法: 手动打开 registry 网站,找到想要的服务器,复制安装命令,结束。一次性查询,没有后续。 隐藏技巧: MCP Registry 提供了一个完整的 REST API( registry.modelcontextprotocol.io/docs ),MCP 客户端可以在运行时动态查询可用工具——不需要在代码里硬编码服务器 URL。 为什么这在 2026 年很重要: MCP 服务器正在爆发式增长(官方 modelcontextprotocol/servers 仓库有 86,424 Stars),静态工具列表已经无法维护。Registry API 让你的 Agent 可以在需要时动态发现工具——就像包管理器发现 npm 包一样。 代码示例: import requests , json # 通过 Registry API 查询某个分类下的所有服务器 def discover_mcp_servers ( category = " web " ): base = " https://registry.modelcontextprotocol.io/v0 " resp = requests . get ( f " { base } /servers " , timeout = 15 ) if resp . status_code == 200 : servers = resp . json () # 按分类动态过滤 filtered = [ s for s in servers if category . lower () in s . get ( " tags " , [])] return filtered return [] # 发现所有 web 相关的 MCP 服务器 web_servers = discover_mcp_servers ( " web " ) print ( f " 发现 { len ( web_servers ) } 个 web MCP 服务器 " ) for s in web_servers [: 5 ]: print ( f " - { s [ ' name ' ] } : { s [ ' description ' ] } " ) 效果: 你的 Agent 可以动态发现并使用网页自动化工具(浏览器、API 测试、爬虫),无需你预先安装任何东西。工具发现成为 Agent 运行时逻辑的一部分。 数据来源: MCP Registry API 在 registry.modelcontextprotocol.io 确认可访问(HTTP 200,2026-05-29)。Registry 自述文件称其为「MCP 服务器的应用商店」。 隐藏用法 #2:服务器可信度评分(在安装前验证维护状态) 大多数人的用法: 随便选一个看起来合适的 MCP 服务器,不管维护状态。 隐藏技巧: MCP Registry 为每个服务器追踪关键元数据:最后更新时间、维护者信誉、GitHub Stars、以及是否经过 Anthropic「官方验证」。你可以在安装前程序化地获得可信度信号。 为什么这在 2026 年很重要: MCP 生态正在爆发,社区服务器质量参差不齐——有些维护活跃,有些已被放弃。Registry 的元数据让你可以在将服务器接入 Agent 管道之前程序化地构建「可靠性评分」。 代码示例: import requests from datetime import datetime , timedelta def score_server_trust ( server_name ): base = " https://registry.modelcontextprotocol.io/v0 " resp = requests . g

2026-05-29 11:10 5 原文
AI 资讯 Dev.to

MCP Registry's 5 Hidden Uses Nobody Talks About in 2026

Think of it as the "npm for AI agents" — but most developers still don't know it exists. The Model Context Protocol Registry (modelcontextprotocol/registry, 6,870 GitHub Stars) launched in September 2025 as a community-driven catalog of MCP servers. By 2026, it has become the backbone of the MCP ecosystem — yet 90% of developers are only using it as a simple lookup tool when they're missing its most powerful hidden capabilities. In this article, I reveal 5 hidden uses of the MCP Registry that will completely change how you build and deploy AI agent workflows. Hidden Use #1: The Registry API as a Dynamic Tool Discovery Endpoint What most people do: They manually browse the registry website, find a server they like, copy the installation command, and move on. This is a one-time lookup. The hidden trick: The MCP Registry exposes a full REST API at registry.modelcontextprotocol.io/docs that MCP clients can query dynamically at runtime to discover available tools — without hardcoding server URLs in your code. Why it matters in 2026: With the explosion of MCP servers (the official modelcontextprotocol/servers repo has 86,424 Stars), static tool lists are impossible to maintain. The Registry API lets your agent discover tools on demand, the same way a package manager discovers npm packages. The code: import requests , json # Query MCP Registry API for all servers in a category def discover_mcp_servers ( category = " web " ): base = " https://registry.modelcontextprotocol.io/v0 " resp = requests . get ( f " { base } /servers " , timeout = 15 ) if resp . status_code == 200 : servers = resp . json () # Filter by category/tag dynamically filtered = [ s for s in servers if category . lower () in s . get ( " tags " , [])] return filtered return [] # Discover all web-related MCP servers web_servers = discover_mcp_servers ( " web " ) print ( f " Found { len ( web_servers ) } web MCP servers " ) for s in web_servers [: 5 ]: print ( f " - { s [ ' name ' ] } : { s [ ' description ' ]

2026-05-29 11:10 3 原文
AI 资讯 Reddit r/webdev

Aside from working hours, how much time do you devote to webdev?

Successful developers, question above. How much time do you devote to web dev/programming/learning outside of your regular working hours? How much time do you spend involved in the web-dev-sphere and absorbing knowledge and/or discussing with others? I was browsing remote jobs and came across one that seemed pretty cool but in the application , just the application that you fill out to see if they are interested, they asked mandatory/required questions like " What’s an idea, book, blog post, or talk that recently changed how you think about your craft?" and "What’s a controversial or unpopular opinion you hold about software engineering, and why?" I've been a webdev for 15 years and I don't even know how to answer either of those questions. None? I read daily posts and blogs about webdev (subbed to TLDR) but I haven't read anything mindblowingly earthshattering to change how I think about web dev. Am I just not devoting enough time outside of work to "the craft"? Am I supposed to spend 15+ hours a day thinking/reading/discussing web dev? *HONEST QUESTION, NOT A RANT OR COMPLAINT. I honestly want to know if I need to be doing more?* submitted by /u/X5455 [link] [留言]

/u/X5455 2026-05-29 10:27 4 原文