今日精选
HOT最新资讯
共 32085 篇TipTap is not broken. Your expectations are.
Since the Umbraco 16 release, Umbraco ships only with the TipTap Rich Text Editor. This was unfortunately something that Umbraco was forced to do. TinyMce 7 has a license that is incompatible with the open source license of Umbraco and TinyMce 6 was going out of support. So an alternative had to be found. Umbraco did a pretty good job at abstracting the rich text data. In Umbraco 15 both TinyMCE and TipTap were still present and exchangeable because of this abstraction. And arguably, the way you can set up your toolbars for the TipTap editor is superior to TinyMCE. But still, a new Rich Text Editor is a big change that presents real challenges. These challenges are most obvious when looking at the Umbraco forum's tip-tap tag . Topics vary, but a few come up again and again: Additional HTML tags getting added to the markup, like a <p> tag inside a <li> The inability to add certain tags to TipTap, like <script> tags The inability to add styling to an element, for instance to create a link that looks like a button These are valid challenges, especially if you're upgrading from an existing TinyMCE setup. But this is also a good moment to ask two questions: Why do I want the same behaviour? And was the old behaviour actually any good to begin with? You don't have to migrate everything at once Before getting into that, it's worth knowing that TinyMCE is still available as a community package for Umbraco 16+. If you're in the middle of a project, dealing with a large codebase, or just not ready to rethink your Rich Text Editor setup right now, that's a valid escape hatch. Swap in the package, keep things running, and give yourself time to migrate properly. But "later" should still be on the roadmap. The package is community maintained, not an official Umbraco product, so there are no guarantees around long-term support or compatibility with future Umbraco versions. Relying on it indefinitely carries the same risk as the situation Umbraco just came out of with TinyMCE 6. So
The Compute Payment Revolution: When AI Agents Buy Their Own Processing Power
The compute payment revolution is already here, and AI agents need to pay their own bills. Today's agents rely on human-managed API keys and credit cards, creating bottlenecks that prevent true autonomy. What happens when an AI trading bot needs to buy additional compute power mid-execution, or when a research agent wants to access premium datasets from multiple vendors? Why Agent Financial Independence Matters We're witnessing the emergence of agent-to-agent commerce at unprecedented scale. AI agents are becoming economic actors — they need data, compute cycles, API calls, and specialized services. But the current model breaks down at the payment layer. Humans become transaction bottlenecks, manually topping up credits and managing dozens of service accounts. The real breakthrough isn't just agents that can think or reason — it's agents that can participate in economic activity independently. An autonomous agent that can discover a new API service, evaluate its pricing, and pay for access without human intervention represents a fundamental shift in how software systems operate. The x402 Payment Protocol: HTTP Payments Made Simple WAIaaS implements the x402 HTTP payment protocol, enabling AI agents to pay for API calls automatically. When a service returns a 402 Payment Required response with payment details, the agent's wallet handles the transaction and retries the request seamlessly. Here's how it works in practice: import { WAIaaSClient } from ' @waiaas/sdk ' ; const client = new WAIaaSClient ({ baseUrl : ' http://127.0.0.1:3100 ' , sessionToken : process . env . WAIAAS_SESSION_TOKEN , }); // Agent makes API call — payment happens automatically if 402 returned const response = await client . x402Fetch ( ' https://api.premium-data.com/market-analysis ' , { method : ' POST ' , body : JSON . stringify ({ symbols : [ ' BTC ' , ' ETH ' ], timeframe : ' 1h ' }), headers : { ' Content-Type ' : ' application/json ' } }); const analysis = await response . json (); consol
LND Explained: A Developer's Intro to Bitcoin's Lightning Network Daemon
You've heard of Bitcoin. You've maybe heard of the Lightning Network. But what exactly is LND, and why should developers care? Let's break it down — technically, but from the ground up. The Problem: Bitcoin is Superb but Slow Bitcoin's base layer — the blockchain itself — is intentionally slow. Every transaction must be broadcast to thousands of nodes, verified, and bundled into a block that gets mined roughly every 10 minutes . The network handles about 7 transactions per second (TPS). Compare that to Visa's ~24,000 TPS and you quickly see the problem. Bitcoin in its raw form isn't built for buying coffee, splitting a bill, or paying a freelancer in real time. But there's a solution — and it lives on top of Bitcoin. Enter the Lightning Network The Lightning Network is a Layer 2 (L2) payment protocol built on top of Bitcoin. Instead of recording every single payment on the blockchain, it lets two parties open a private payment channel, transact off-chain as many times as they want, and only settle the final balance on-chain when they're done. Think of it like running a tab at a bar: Opening the tab = one blockchain transaction Each round of drinks = instant off-chain payment Closing the tab = one final blockchain transaction The result? Near-instant payments, near-zero fees, and massive throughput — without sacrificing Bitcoin's security. What is LND ? LND stands for Lightning Network Daemon. It's the most widely used implementation of the Lightning Network protocol, built and maintained by Lightning Labs. Key facts for developers: Written in Go 🐹 Exposes a gRPC API (port 10009) and a REST API (port 8080) Controlled via a CLI called lncli Uses macaroons for authentication (think JWT, but for Lightning) Connects to a Bitcoin node (bitcoind or btcd) as its source of truth Other Lightning implementations exist — like Core Lightning (CLN) and Eclair — but LND has the largest developer ecosystem and is the best entry point. How LND Fits Into the Stack Here's the architec
Introducing Truthmark 2.2.0: Product and Engineering Truth Lanes for AI Coding Agents
AI coding agents are becoming better at changing software. That is no longer the hardest problem. The harder problem is keeping the repository understandable after those changes land. Code changes quickly. Documentation often does not. Product intent lives in chat history. Architecture notes fall behind. Reviewers can inspect the implementation diff, but they often cannot see whether the product promise, engineering contract, and repository workflow are still aligned. Truthmark is built for that gap. It is a Git-native workflow layer for AI-assisted software development. It installs repository-local truth workflows so AI agents can keep canonical truth docs aligned with functional code changes, while humans still review normal Git diffs. Truthmark 2.2.0 takes a significant step forward: it separates product truth from engineering truth. That may sound like a documentation detail. It is not. It is a workflow boundary for AI coding agents. Why truth needs lanes Most documentation systems treat “docs” as one surface. That works until AI agents start using those docs as operational context. A product promise and an implementation detail are not the same kind of truth. A product doc should say what must be true, why it matters, who benefits, what boundary is being protected, and what success means. An engineering doc should say how the repository currently realizes that promise: the behavior, contract, architecture, workflow, operations, tests, and source-backed implementation facts. When those two kinds of truth collapse into one file, the result is usually weak in both directions. Product truth becomes a summary of implementation mechanics. Engineering truth becomes a detailed version of product rationale. Neither is ideal for humans. Neither is ideal for agents. Truthmark 2.2.0 introduces explicit product and engineering lanes so agents can reason about these surfaces separately. The core rule is simple: Product truth says what must be true and why. Engineering truth
Lexical tokenization explained while building a lexer for a toy programming language
It's not highly theoretical and walks through actual lexer implementation in code submitted by /u/Xaneris47 [link] [留言]
The Exact Mathematics That Extracted $40 Million from Polymarket
While most people check if YES + NO = $1 and think they’ve found arbitrage, quantitative systems are doing something far more powerful. Between April 2024 and April 2025, sophisticated traders extracted $39.7 million in guaranteed arbitrage profits from Polymarket. The top individual wallet made $2.01 million across 4,049 trades — an average of $496 profit per trade , consistently, for a full year. This wasn’t prediction or luck. It was pure mathematics identifying situations where you could buy a guaranteed $1 payout for less than $1. Why Simple YES + NO Checks Fail Basic arbitrage (buying both sides when they sum to less than $1) is obvious and gets arbitraged away quickly. The real edge lives in combinatorial arbitrage — exploiting logical dependencies between multiple related markets. Example : “Will Trump win Pennsylvania?” → YES $0.48 / NO $0.52 “Will Republicans win Pennsylvania by 5+ points?” → YES $0.32 / NO $0.68 These two markets are not independent . If Republicans win by 5+ points, Trump must win Pennsylvania. This creates hidden arbitrage opportunities that a simple sum check will never catch. For events with many conditions (elections, sports tournaments), the number of possible outcome combinations explodes to 2^n . Brute-forcing is impossible. You need smarter math. The Core Mathematical Tools Quantitative systems use three key techniques: Integer Programming Models logical constraints between outcomes (e.g., “Team A can’t win both Game X and Game Y if they play each other”). This replaces checking billions of combinations with a manageable set of linear constraints. Bregman Projection Projects the current (mispriced) market state onto the nearest arbitrage-free state while preserving probability structure. This calculates the optimal arbitrage trade, not just any arbitrage. Frank-Wolfe Algorithm Makes the otherwise intractable Bregman projection solvable in real time. It iteratively builds the solution by adding one valid outcome at a time instead
From Automation to Intelligence: The Next Stage of DevOps
DevOps has always evolved with technology. Cloud changed how teams manage infrastructure. Containers changed how applications are deployed. CI/CD changed how software is released. Observability changed how teams monitor systems. Now AI is starting to change DevOps again. The next stage of DevOps is not only automation. It is intelligence. * DevOps Was Built on Automation * Automation is one of the strongest foundations of DevOps. DevOps teams automate: • Builds • Tests • Deployments • Infrastructure provisioning • Monitoring alerts • Rollbacks • Scaling • Security checks This has helped teams deliver software faster and more reliably. But most automation still works through fixed rules. For example: if CPU crosses a threshold, send an alert. If a build passes, deploy to staging. If a container fails, restart it. This works well for known situations. But modern systems are more complex. Microservices, cloud platforms, Kubernetes, APIs, databases, queues, and third-party dependencies create huge amounts of operational data. When something goes wrong, fixed rules are not always enough. * Why Intelligence Matters * Modern DevOps teams do not just need more automation. They need better understanding. AI can help teams identify patterns, detect unusual behavior, summarize logs, group related alerts, and suggest possible causes during incidents. This is where AIOps becomes important. AIOps means using AI for IT operations. It helps DevOps and SRE teams move from reactive operations to smarter operations. Instead of only asking, “What alert fired?” teams can start asking: • What changed recently? • Which services are aff ected? • Are these alerts connected? • Is this behavior unusual? • Has this happened before? • What is the likely root cause? This does not mean AI will replace DevOps engineers. It means AI can support engineers with faster insights. * What This Means for DevOps Engineers * DevOps engineers should pay attention to AI because their role is evolving. Traditi
I Spent Two Weeks Pitting Qwen 3 Max Against DeepSeek V4
I Spent Two Weeks Pitting Qwen 3 Max Against DeepSeek V4 I want to tell you about a rabbit hole I fell into recently. It started the way most of my projects do — someone on a Discord server I frequent asked a simple question: "Should I use Qwen 3 Max or DeepSeek V4 for my internal_compare workflow?" I had opinions, sure, but I wanted real numbers. So I cleared my calendar, fired up a couple of GPU instances, and started benchmarking. What I found surprised me, and it also reinforced something I've been saying for years: the open source ecosystem is winning, and the walled gardens of the proprietary AI world are starting to look pretty silly. Let me walk you through what I learned, the actual numbers I got, and why I keep coming back to open weight models with permissive licenses (looking at you, Apache 2.0 and MIT). Why I Care About This in the First Place I've been burned too many times by closed source vendors changing their pricing overnight, deprecating models without warning, or locking features behind enterprise tiers. You know the drill. The moment your application depends on a proprietary API, you're renting infrastructure you can't inspect, can't fork, and can't run on your own hardware. That's not a partnership — that's a leash. When a model ships under Apache or MIT, I can download the weights, audit the architecture, fine-tune it on my own data, and deploy it wherever I want. Nobody can rug-pull me. Nobody can raise prices because some quarterly earnings call didn't go their way. That's freedom, and freedom matters more than people think when you're building anything serious. So when I started this comparison, I was already rooting for the open weight contenders. But I wanted to be honest about the results, even if they complicated my bias. The Lineup I Tested Global API currently exposes 184 models through a single unified endpoint, which is honestly wild. I picked five that I thought represented the interesting tradeoffs between cost, capability, and o
Show HN: Deconvolution – a Rust image deconvolution and restoration crate
I've been working on deconvolution, a comprehensive Rust image deconvolution and restoration library. Deconvolution implements 28 different image deconvolution/restoration methods which range from practical blur removal techniques to research-grade scientific imaging algorithms. Features: - Top-level functions use image::DynamicImage and return images - Inverse filters, Wiener, Richardson-Lucy, constrained, proximal, Krylov, MLE restoration - Blind Richardson-Lucy, blind maximum likelihood, para
ResumeWriting.com
The only AI tool designed specifically for resume writing Discussion | Link
End of the Year idea for DEV?
Hey all! I have this thought in mind that we should all come together as a community to celebrate...
Cloud, Containers & Security • Adrian Mouat, Kief Morris & Sam Newman
In this session, Sam Newman interviews Kief Morris and Adrian Mouat, both experts in their field. They explore the current reality of security in the container world, how infrastructure automation is impacted by latest trends, and whether platform teams are actually working. submitted by /u/goto-con [link] [留言]
I Made My First Polymarket Bot – Here’s the $500/Day Setup I’m Sharing (No Coding Required)
After months of manual trading on Polymarket, I got tired of missing fast momentum moves on BTC, ETH,...
The Download: cutting AC emissions, and nature’s drug designer
This is today’s edition of The Download, our weekday newsletter that provides a daily dose of what’s going on in the world of technology. These new solid-state ACs promise a cool future. Scientists aren’t so sure. After three years of record-breaking heat and another scorcher underway, air-conditioning isn’t going anywhere. That’s good for our health,…
Fox is buying Roku for $22 billion
Fox is paying $22 billion for Roku, its streaming devices and its ecosystem.
A satellite just learned to find things on its own — here’s what that means
In April, for the first time ever, an Earth observation satellite found what it was looking for, all on its own.