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

今日精选

HOT

最新资讯

共 27419 篇
第 31/1371 页
AI 资讯 Dev.to

How AI Is Transforming Software Development Workflows in 2026

How AI Is Transforming Software Development Workflows in 2026 By 2026, AI has moved far beyond autocomplete and boilerplate generation. It has become an integral, intelligent partner in the entire software development lifecycle. From writing initial architecture to diagnosing production incidents, AI agents are embedded into the fabric of modern engineering workflows. This transformation is not just about speed—it's a fundamental shift in the way developers think, collaborate, and deliver software. The Rise of AI-Native Development Environments The days of classic IDEs with a chat sidebar bolted on are behind us. In 2026, AI-native development environments are the norm. These IDEs are built around context-aware AI models that understand not just the syntax but the semantic intent of the codebase. Tools like Cursor and Windsurf have evolved into full-blown autonomous agents that can navigate large codebases, propose cross-file refactors, and even execute multi-step changes with minimal supervision. Consider a common task: adding a new payment gateway. In a traditional workflow, a developer would manually trace API routes, update database schemas, and write integration tests. In 2026, the developer simply describes the requirement in natural language. The AI agent explores the existing adapter patterns, creates the new integration, updates configuration files, and runs the test suite. The developer reviews the diff, tweaks edge cases, and signs off. This paradigm shift has accelerated feature delivery by an order of magnitude. Intelligent Automated Testing and Debugging Testing has always been a critical yet time-consuming part of development. AI in 2026 has revolutionised this domain. Instead of writing every test case manually, developers use AI to generate exhaustive test suites that cover edge cases, security vulnerabilities, and performance bottlenecks. The AI analyses the code's control flow, historical bug data, and production logs to generate tests that would

Kai X Intelligence 2026-08-01 17:51 6 原文
AI 资讯 Dev.to

Build a Spanish WhatsApp booking landing page with plain HTML, CSS, and JavaScript

Many independent service businesses already use WhatsApp to confirm appointments. The missing piece is often a small, clear landing page that answers the obvious questions before the first message: what is offered, how much it costs, and what a visitor should do next. I built a dependency-free Spanish booking-page pattern around that handoff. The booking flow A useful booking page does not need a heavy scheduling stack to start doing its job. Its core flow can be simple: Show a small set of services with understandable prices and durations. Put a clear call to action on every relevant section. Open WhatsApp with enough context that the owner does not have to ask the same first question again. Keep the page fast and editable. The key implementation detail is generating the WhatsApp link from a service-specific message: const phone = " 56900000000 " ; document . querySelectorAll ( " .whatsapp-link " ). forEach (( link ) => { const message = link . dataset . message ; if ( message ) { link . href = `https://wa.me/ ${ phone } ?text= ${ encodeURIComponent ( message )} ` ; } }); That lets a CTA such as “Reserve a hair ritual” arrive as a message like “Hola, quiero reservar el Ritual de cabello.” It is a small interaction, but it removes friction for both the customer and the business. Design choices that help Mobile-first layout: appointment links are frequently opened from a phone. Visible prices and durations: clearer expectations usually mean better-quality enquiries. Short FAQs: rescheduling, location, and confirmation are common blockers. Semantic HTML: headings, buttons, and disclosure details work without a framework. No fake live contact details: the phone number, copy, price, and social links are clearly marked for replacement. Live demo You can inspect the working beauty-studio demo here: WhatsApp Booking Landing Kit — Interactive Demo Editable bundle I also made the complete editable source available as a paid digital kit. It now includes three standalone Spani

Luna Studio Kits 2026-08-01 17:32 5 原文
AI 资讯 Dev.to

My Shell Scripts Speak C# Now

Every couple of weeks I need a twenty-line program. Find what's bloating a build agent's disk, dedupe a CSV, hash-check a folder. For fifteen years the honest answer to "which language?" was not C# — by the time I'd done mkdir , dotnet new console , and named yet another throwaway csproj, the moment had passed. So those little jobs went to bash or Python, and I grumbled quietly every time. .NET 10 removed the ritual. You write one .cs file and run it. I'd been meaning to check how well this actually holds up for real scripts, so this week I did — nothing fancy, one Linux container and a stopwatch. One file, no project Here's biggest.cs , a small utility that lists the largest files under a directory. The whole program is this one file — no csproj anywhere: # !/ usr / bin / env dotnet # : package Humanizer @ 3.0 . 10 using Humanizer ; var root = args . Length > 0 ? args [ 0 ] : "." ; var top = args . Length > 1 && int . TryParse ( args [ 1 ], out var n ) ? n : 10 ; var files = new DirectoryInfo ( root ) . EnumerateFiles ( "*" , new EnumerationOptions { RecurseSubdirectories = true , IgnoreInaccessible = true , AttributesToSkip = FileAttributes . ReparsePoint }) . OrderByDescending ( f => f . Length ) . Take ( top ) . ToList (); foreach ( var f in files ) { var size = f . Length . Bytes (). Humanize ( "#.#" ); var age = ( DateTime . UtcNow - f . LastWriteTimeUtc ). Humanize (); Console . WriteLine ( $" { size , 10 } { f . FullName } (modified { age } ago)" ); } Two lines are new. #:package Humanizer@3.0.10 is a NuGet reference written as a directive, right in the source. The shebang we'll get to in a minute. Everything else is the C# you already write, top-level statements and all. $ dotnet run biggest.cs -- ~/.dotnet 5 Top 5 files under /root/.dotnet: 37.6 MB .../FSharp.Compiler.Service.dll (modified 46 seconds ago) 18.7 MB .../Microsoft.CodeAnalysis.CSharp.dll (modified 46 seconds ago) 18.7 MB .../Roslyn/bincore/Microsoft.CodeAnalysis.CSharp.dll (modified 45 seconds

Sukhpinder Singh 2026-08-01 17:22 4 原文
AI 资讯 Dev.to

Part 5 - STATISTICS

Non-Gaussian Distributions Explained from First Principles (Beginner Friendly) As we all know, the real-world dataset is not normalized , but most of us thought every dataset followed the famous bell curve . After all, everyone talks about the Normal Distribution . But then I looked at real-world datasets like: Income of people Stock market returns Website traffic YouTube views Population of cities None of them looked like a bell curve. That's when I realized something important. Not every dataset in the real world is normally distributed. In this article, we'll understand Non-Gaussian (Non-Normal) Distributions from first principles using simple language, intuition, and real-world examples. First, What Does "Non-Gaussian" Mean? The Normal Distribution (also called the Gaussian Distribution) has a very specific shape. It is: Bell-shaped Symmetrical Mean = Median = Mode Most observations lie near the average But what if our data doesn't look like that? Then it is called a Non-Gaussian Distribution . In simple words, Any probability distribution that does not follow the Normal Distribution is called a Non-Gaussian Distribution. Why Should We Care? Imagine you are analyzing the salaries of employees. Most employees earn between ₹25,000 and ₹1,00,000. But a few CEOs earn ₹50 lakh or even ₹2 crore. Will this data form a perfect bell curve? No. The extremely high salaries pull the distribution toward one side. If we wrongly assume the data is normal, our analysis can become misleading. That's why understanding Non-Gaussian Distributions is extremely important in Data Science. Before Learning Other Distributions... Let's understand two important ideas. These help us decide whether our data is normally distributed or not. Kurtosis — How Heavy Are the Tails? When beginners hear the word Kurtosis , they usually think it measures how tall the peak of a graph is. That's actually a common misconception. A better way to think about Kurtosis is this: How likely is the distribution

Sami 2026-08-01 17:20 1 原文
AI 资讯 Dev.to

Create God and Ask Him for Money

This is obviously a bubble Jim Rickards, a former adviser to the CIA and Pentagon, warns that the United States is currently facing a tectonic economic crisis driven by an unprecedented bubble in Artificial Intelligence (AI). According to his analysis, this impending crisis has the potential to be more destructive than the dot-com crash, the 2008 financial crisis, and the pandemic-related market crashes combined. He is not alone in his dire outlook; veteran investor Jeremy Grantham has warned, "This is obviously a bubble. The probabilities it doesn't burst are slim to none. And when it does, it could be an economic catastrophe unprecedented in the last 97 years" . Furthermore, former SEC Chairman Gary Gensler has stated that "the next financial crisis will come from AI". Create God and ask him for money The Unprecedented Scale of the AI Bubble The current market relies dangerously on a single sector, with the AI bubble estimated to be 17 times larger than the dot-com bubble of the late 1990s. Many AI companies are burning through cash at an alarming rate. For instance, OpenAI is reportedly losing more than a billion dollars a month; as it is noted in the source, "for every dollar they make, they have to spend at least three". This massive cash burn led a Deutsche Bank analyst to observe, "No startup in history has operated with losses on anything approaching this scale". Despite the astronomical costs and high valuations, OpenAI’s CEO was quoted as previously saying, "I have no idea how we're going to generate revenue". Former Goldman Sachs banker and Bloomberg columnist Matt Levine summarized this extreme speculative mindset, noting, "The business model they believe they need seems to be create God and ask him for money". "Subprime AI" and Toxic Debt Just as the 2008 financial crisis was fueled by toxic subprime mortgages, the AI boom is being fueled by dangerous debt structures used to fund massive data centers. Private equity firms are financing data centers as r

Saad Alkentar 2026-08-01 17:19 1 原文
AI 资讯 Dev.to

Chinese AI Models Are 10-30x Cheaper Than GPT-5.5. Here's How to Actually Use Them.

Chinese AI Models Are 10-30x Cheaper Than GPT-5.5. Here's How to Actually Use Them. I almost paid $300/month for what costs $15 Last month I was building an internal code review tool. My initial stack: GPT-5.5 for analysis, Claude Opus for refactoring suggestions, Gemini for documentation. Estimated cost: $280-320/month for our team's usage. Then I ran the same tasks through Chinese models. Same quality for our use cases. Actual cost: $14.70/month. This isn't a "Chinese models are catching up" story. They already caught up. The problem is that most Western developers don't know how to access them legally, reliably, and without getting scammed by gray-market resellers. The six models you should know These are production-ready, API-available models with English documentation and international payment support. Prices verified 2026-08-01 from official pages and Artificial Analysis. Model Best For Input (¥/1M) Output (¥/1M) vs GPT-5.5 DeepSeek V4-Flash Batch processing, simple tasks ¥0.559 ¥1.117 ~50x cheaper DeepSeek V4-Pro Coding, reasoning ¥1.806 ¥3.612 ~28x cheaper GLM-5.2 Complex reasoning, agentic tasks ¥6.09 ¥18.90 ~8x cheaper Kimi K3 Long context (1M tokens), coding ¥12.60 ¥63.00 ~5x cheaper Qwen3.7-Max Chinese/English mixed, general ¥10.50 ¥31.50 ~6x cheaper MiniMax M3 Cost-sensitive production ¥1.26 ¥5.04 ~25x cheaper Exchange rate: 1 USD ≈ 6.76 CNY. GPT-5.5 pricing: $5 input / $30 output per 1M tokens (Artificial Analysis). But are they actually good? Yes. Here's the evidence, not marketing: GLM-5.2 ranks #5 globally on aitier.net (2026-06-19), tied with GPT-5.5 (high) and Gemini 3.5 Flash (high), above Gemini 3.1 Pro Preview. Kimi K2.6 beat Claude and GPT-5.5 in a public coding challenge (thinkpol.ca, HN 380 points). Simon Willison ran GLM-4.5 Air on a 2.5-year-old laptop and built a playable game (HN 577 points). Artificial Analysis cross-provider benchmarks show the same model can vary 5-10x in throughput depending on provider. Kimi K3: 35 t/s official dire

klaussh 2026-08-01 17:18 3 原文
开发者 Dev.to

Magento 2 Customer Data Sections & localStorage Performance Optimization

Magento 2 Customer Data Sections & localStorage Performance Optimization Every Magento 2 storefront uses customer data sections — the mechanism behind the mini-cart, customer name display, wishlist counters, and checkout summaries. It looks seamless to shoppers, but under the hood it can silently murder your page load performance. If you've ever wondered why your pages fire an extra AJAX request immediately after the initial load, or why your localStorage balloons to several megabytes, this post is for you. What Are Customer Data Sections? Magento 2 splits page rendering into two phases: server-side (Astro/Varnish/FPC) and client-side (JavaScript). Because full-page cache serves the same HTML to every visitor, personalized data — cart contents, logged-in customer name, wishlist count — cannot be rendered server-side for cached pages. Enter sections.xml and the Customer Data JS API : <!-- Vendor_Module/etc/frontend/sections.xml --> <?xml version="1.0"?> <config xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "urn:magento:module:Magento_Customer:etc/sections.xsd" > <action name= "checkout/cart/add" > <section name= "cart" /> <section name= "checkout-data" /> </action> </config> This file tells Magento: "When the checkout/cart/add action runs, invalidate the cart and checkout-data sections." On the next page load, JavaScript detects these invalidated sections and fetches fresh data via customer/section/load/ AJAX. The Data Flow Page loads from FPC/Varnish (no personalization) JS initializes Magento_Customer/js/customer-data localStorage is checked for cached section data (by sectionLoadUrl + storeId key) Invalidated sections trigger POST /customer/section/load/ with section names Response updates localStorage, ko.observables, and UI (mini-cart, messages, etc.) This sounds efficient, but it has three major performance traps . Performance Trap #1: The "Sections Hell" AJAX Request Out of the box, Magento 2's customer-data module calls

Magevanta 2026-08-01 17:16 6 原文
AI 资讯 Dev.to

I built an AI dev team that reviews its own work — here's what I learned about multi-agent loops

Most multi-agent demos are impressive for five minutes and useless for five hours. After months of building Task Hounds — an open-source, local multi-agent development workspace — here are the design decisions that actually mattered. The setup Task Hounds runs three agents in a loop around one project: A Manager that understands context, maintains the plan, and assigns exactly one concrete task per cycle A Worker that implements the task and files a structured report: files changed, test results, known issues A Reviewer that inspects the result for bugs, UX problems, and risks — before the Manager decides what happens next A human writes a Directive (the mission), and can inject thoughts or new tasks mid-run. Everything — plans, todos, reports, feedback, live agent streams — persists in local SQLite and renders in a real-time dashboard. Lesson 1: One task at a time beats parallel everything My first instinct was parallel workers. It demoed great and shipped nothing: agents stepped on each other's files and the Manager couldn't attribute failures. Serializing to one task per loop looks slower and finishes dramatically more work. Lesson 2: Give the human a write-protected anchor Goal drift is the silent killer of long loops. Around loop 10, the plan subtly stops resembling what you asked for. Our fix: the Human Directive is copied into every session and the loop is forbidden from editing it. Only a human can change the mission. Drift now shows up as visible divergence from a fixed anchor instead of quiet mutation. Lesson 3: Structured handoffs, not chat history Passing conversation history between agents fails in two ways: it blows the context window, and it lets downstream agents anchor on upstream reasoning noise. Every hop in Task Hounds is a fixed document: the Manager's memory is an explicit JSON handoff read once per loop; the Worker's output is a fixed report schema. If the machine-readable todo JSON is invalid, the loop repairs it before any work is released.

Chris Lui 2026-08-01 17:12 2 原文
AI 资讯 Dev.to

Singularity and the Chevalier in the Supermarket

My favorite metaphor for brutal cognitive dissonance — the one we will likely experience when the Singularity actually arrives — is “ the knight in the supermarket .” I prefer the word “chevalier,” though, so I’ll be using that going forward. Try to imagine the following scene: a medieval chevalier, somewhere on the land of current Germany, riding his horse, heavily armored, helmet on, big sword. The year is 1450, and our chevalier is just charging in a small battle against some equally armed neighbors. But then something happens. A short circuit in the space-time continuum and our chevalier is fast forwarded to the current times, but in the exact same location. Where, of course, there is a supermarket now. The lights. The shiny shelves with thousands of small, colored objects. The cold near the meat sector. The TVs rotating ads with faces of women talking in a slightly similar language, but saying words he cannot understand. At this moment, it’s safe to say that our chevalier is completely lost. He has no idea how light is made (no “electricity” concept in his mind), no way to know how cold is made inside a building (no “refrigerator”), no way to understand what the tiny packages on the shelves are (“chemistry” is closer to alchemy for him) and no way to understand remote communication (“television” doesn’t simply exist). He can still walk around, but the world will feel almost hostile to him. We’re Not in the Singularity. Not Yet Now let’s get back to the current X timeline, where everybody is screaming that we’re in AGI. In the Singularity. The world will never be the same. This changes everything. But does it, really? Are we experiencing the same cognitive gap as our chevalier in the supermarket? I don’t think so. The world is keep worlding right now, except for a very small percentage of people who are subjecting themselves to some AI-related psychosis. All we’ve done so far is cramming a LOT of compute into tiny digital artifacts that are nothing more than ver

Dragos Roua 2026-08-01 17:11 1 原文
AI 资讯 Dev.to

How to Audit Hidden Reminders and Context Usage in Claude Code Logs

How to Audit Hidden Reminders and Context Usage in Claude Code Logs | Agent Lab Journal Agent Lab Journal Guides Glossary Advanced field guide How to Audit Hidden Reminders and Context Usage in Claude Code Logs Advanced · 45 min read · Local analysis · Updated August 1, 2026 The visible transcript in Claude Code is not necessarily a complete representation of everything recorded around a request. Service messages, internal reminder markers, tool payloads, and usage metadata can exist in session logs without appearing as ordinary chat turns. If you want to know how often ip_reminder occurs—or how input, output, cache creation, and cache read tokens are distributed—you need to inspect the stored records directly and preserve enough structure to avoid misleading totals. In this guide What this audit can establish Concrete investigation case Locate and select one session Preserve an auditable copy Run a quick structural check Build the full local report Interpret reminder and token data Verify the report independently Failure cases and repairs Limitations What this audit can—and cannot—establish This workflow examines one local session stored as JSON Lines (JSONL): a text format in which each line is normally an independent JSON value. It creates a report with: the selected file’s path, size, modification time, and SHA-256 digest; the number of physical lines, parsed records, blank lines, and malformed lines; every record containing the exact, case-sensitive string ip_reminder; the JSON paths at which the marker was found; timestamps and record types when those fields are available; per-record and aggregate input, output, cache creation, and cache read token values; a chronological CSV suitable for a spreadsheet or notebook; a machine-readable JSON report for later comparison. The report shows what is present in the selected file. It does not prove why a reminder was inserted, whether it was transmitted to a model exactly as stored, or how the client’s undocumented inte

Михаил 2026-08-01 17:10 0 原文
AI 资讯 Reddit r/artificial

Al isn't replacing jobs, it's replacing human economic value itself

The biggest mistake people make about AI is thinking it’s coming for artists, writers, musicians, or programmers. They’re just first. AI is coming for almost every profession that depends more on a brain than a body. Accountants. Lawyers. Teachers. Consultants. Analysts. Customer service. Marketing. Management. Software engineering. Research. Finance. Medicine. Eventually almost every job where the primary product is human thought. Manual labor only looks safe because robotics hasn’t caught up yet. AI doesn’t have to replace an entire profession to destroy it. It only has to let one person do the work of ten. Companies don’t need AI to be perfect. They need it to be cheaper than you. Once that happens, replacing people stops being a technological question and becomes an accounting decision. For most workers, there is no safe career waiting on the other side. People tell themselves we’ll adapt like we always have. We won’t. The Industrial Revolution replaced muscle while making human intelligence more valuable. AI replaces the intelligence behind the work itself. Every previous technological revolution created new industries that still needed millions of people. AI is being built for the opposite purpose: producing more with fewer humans. The next comforting myth is that people will simply buy human-made products instead. No, they won’t. There will always be a luxury market for handmade art, music, books, furniture, and clothing. There are still people who buy mechanical watches and vinyl records. That’s a niche—not an economy. Most people buy whatever is cheaper, faster, easier, and good enough. Businesses care even less. They exist to reduce costs, increase output, and beat competitors. Sentiment doesn’t survive quarterly earnings. There is no hidden human economy large enough to rescue everyone AI makes unnecessary. The consequences don’t stop with unemployment. Workers are also consumers and taxpayers. If hundreds of millions of people lose well-paid jobs, they s

/u/Stitching 2026-08-01 16:40 0 原文