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

标签:#ens

找到 2524 篇相关文章

AI 资讯

Hello, DEV! I'm a Game Backend Engineer

I'm a backend engineer mainly working on game servers, with Java as my primary language. Over the years, I've spent a lot of time building and debugging backend systems, and recently I've been digging deeper into concurrency, I/O, logging, and performance. Working on game servers has taught me that many problems look simple at first, but become surprisingly complicated once the system gets busy. I'll be sharing some of the things I've learned from real-world systems, including experiments, benchmarks, design decisions, and a few open-source projects I'm working on. Glad to be here. Looking forward to learning from everyone on DEV!

2026-08-31 原文 →
AI 资讯

The Day I Became the One Being pip Installed: My Pre-Release Checks Caught 3 Leaks

(Translation of my Japanese article on Zenn.) This is part 4 of a series where I keep delegating implementation to AI without being able to read the code, building a vulnerability triage CLI called triage-lens. This installment is about distribution rather than the tool's internals: the tool had been sitting on GitHub, and I published it to PyPI so a single pip install triage-lens brings it in. A confession first. Shipping took more nerve than any of the feature work did. And three "leaks" actually turned up right before release. From the installing side to the installed side I can't read code, but I have typed pip install before. Years ago I dabbled in Python out of curiosity, and the one thing that stuck was the experience of a useful tool arriving in one line. Now that I'm the one publishing, the other side of that one line finally became concrete. Someone builds a thing, shapes it into a package, and puts it on the public shelf called PyPI. That's why it installs in one line anywhere in the world. My turn to put something on the shelf. I delegated the release work to AI too: package metadata, the release workflow, and one thing I insisted on. Instead of an API token, authentication to PyPI uses Trusted Publishing (OIDC). Nothing like a long-lived password gets stored anywhere; you declare "trust publishes from this workflow in this GitHub repository" and that's it. A secret you never hold is a secret that can't leak. The pre-release check caught three real ones In this project, nothing goes out to a public repository without passing a mechanical check. Procedures and tests, not eyeballs, verify that no personal or development-only information is mixed in. For three releases it came up empty. That's what insurance looks like. On the fourth run it caught something real. Three somethings. First, test code had slipped into the distribution. The packaging tool's default behavior had a path where the whole development test suite gets bundled along. I was about to scat

2026-08-31 原文 →
AI 资讯

Taming the Beast: Building a High-Performance ETL Pipeline for Apple Health’s Massive XML Exports

If you’ve ever tried to open an Apple Health export.xml file in VS Code, you’ve probably watched your RAM melt into a puddle of sadness. 🫠 Apple’s HealthKit data is a treasure trove of biological insights, but at the scale of 5GB+ of "dirty" XML, it’s a Data Engineering nightmare. In this tutorial, we are building a high-concurrency Apple Health ETL Engine . We’ll be leveraging Rust for blazing-fast parsing, Apache Arrow for memory-efficient data transport, and ClickHouse for lightning-fast analytical queries. Whether you are building a personal bio-hacking dashboard or a population health platform, this architecture is designed to handle "Big Data" on "Small Hardware." The Problem: Why XML is Killing Your Pipeline Apple Health exports everything as a single, massive XML file. A typical 3-year history contains millions of <Record> tags with inconsistent attributes. Standard DOM parsers (like Python’s ElementTree ) will crash your system because they try to load the entire tree into memory. To solve this, we need a Streaming ETL approach. The Architecture 🏗️ Our pipeline follows a "Performance-First" philosophy: we parse in a low-level language, pass data through a zero-copy memory format, and sink it into a columnar database. graph TD A[Apple Health export.xml] -->|Streaming I/O| B(Rust XML Parser) B -->|Schema Mapping| C{Apache Arrow Batches} C -->|Zero-copy| D[Python/Polars Wrapper] D -->|Bulk Insert| E[(ClickHouse OLAP)] E -->|SQL/Grafana| F[Health Insights] style B fill:#f96,stroke:#333,stroke-width:2px style E fill:#00f,stroke:#fff,stroke-width:2px Prerequisites 🛠️ Before we dive in, ensure you have the following installed: Rust (Latest stable) Python 3.10+ ClickHouse (Local or Cloud) Tech Stack : quick-xml , arrow-rs , polars , clickhouse-connect . Step 1: The High-Speed Rust Parser 🦀 We use the quick-xml crate because it provides a "pull-based" API. This allows us to read the file byte-by-byte without ever loading more than a few KB into memory. // src/parser

2026-08-31 原文 →
AI 资讯

I Wanted to Press F5 and Debug JavaScript — So I Built My Own VS Code Debugger

Sometimes software development reaches a point where the tools designed to make your job easier start becoming part of the job. I ran into that with browser debugging. I wanted something that should have been simple: Set a breakpoint. Press F5. Debug my JavaScript. Instead, I found myself spending too much time thinking about development servers, browser launch configuration, debugger connections, ports, profiles, and the debugging environment itself. That led to a simple question: What if browser debugging could go back to convention over configuration? So I built CloudIDEaaS JavaScript Debugger . ⚡ The Goal: Press F5 and Debug The philosophy behind CloudIDEaaS is straightforward: Spend your time debugging your application instead of debugging your debugging environment. For a straightforward JavaScript or HTML project, I wanted the workflow to look like this: Set a breakpoint. Press F5 . Start debugging. Behind those three steps, CloudIDEaaS can start the local web server, launch Chrome, establish the debugging connection, configure your breakpoints, and then load the application. The important part is that you don't have to think about most of that. 🔴 Real Debugging Inside VS Code This isn't intended to replace Chrome DevTools or compete feature-for-feature with every large JavaScript debugging platform. It's focused on providing the debugging features I use most often directly inside Visual Studio Code: 🔴 Source and conditional breakpoints 👣 Step over, step into, and step out ▶️ Continue and pause 🔍 Local variables and object inspection 📚 Scopes and call stacks 🧮 Expression evaluation ⚠️ Exception breakpoint configuration 🌐 A built-in local web server One feature that was particularly important to me was startup breakpoints . The debugger establishes the connection and configures your breakpoints before loading the application, making it possible to catch JavaScript that executes during startup. 🧠 What's Actually Happening Under the Hood? Building the debugger a

2026-08-31 原文 →
AI 资讯

Ponytail: An Open-Source "Lazy Senior Dev" Skill Pack for AI Coding Agents

Minimalist AI Code Generation: Meet Ponytail As developer adoption of autonomous AI coding assistants (such as Claude Code, Cursor, and GitHub Copilot CLI) reaches peak momentum, codebases are facing a new challenge: "AI bloat." AI models often tend to over-build—generating multi-file abstraction layers, injecting third-party dependencies, or re-implementing standard library functions when simple one-liners would suffice. Ponytail is an open-source skill pack developed by DietrichGebert to curb AI over-engineering. Built on the philosophy that "the best code is the code you never wrote," Ponytail forces AI agents to think like experienced senior developers, seeking the cleanest, lowest-footprint path to a working solution. What is Ponytail? Ponytail acts as a quality-control ruleset for AI coding clients. When an AI agent receives a prompt, Ponytail intercepts the task execution and forces the model through a strict 7-step decision ladder before writing code. The 7-Step Decision Ladder YAGNI (You Ain't Gonna Need It): Does this feature or abstraction really need to exist? Codebase Reuse: Is there an existing utility or helper in the project? Standard Library: Does the programming language's standard library provide native functions for this? Native Platform Features: Does the browser or OS already provide a built-in UI/API (e.g., <input type="date"> )? Installed Dependencies: Does a dependency already in package.json solve this? One-Liner Evaluation: Can this task be completed in a single clear line of code? Minimal Execution: Only if steps 1–6 do not apply, write the minimum safe implementation. Empirical Performance & Benefits According to benchmarks conducted across real open-source repositories (FastAPI + React stacks): ~54% Code Reduction: On average, agents write 54% fewer lines of code (reaching up to 94% reduction on over-engineered tasks). ~20% Token Savings: Fewer generated lines translate directly to lower API token consumption. ~27% Faster Task Completio

2026-08-31 原文 →
AI 资讯

Ownership, and Making This Template Your Own (Part 5)

Part 4 covered how this platform actually ships — scaffolding, CI/CD, and the two deployment shapes. This closing part is the two things every one of the last four parts has assumed: who actually owns each piece of this, and what it takes to make this whole template yours. Who owns what Every piece of this platform belongs to exactly one team, and that split is what makes independent deploys survive contact with a real organization, not just a single-team demo: Piece Owned by Depends on Host / Shell Platform team Store, Components, the manifest, the identity provider Components MFE Platform / design-systems team Nothing (a leaf) Store MFE Platform team The identity provider Utilities MFE Platform team Nothing (a leaf) Domain MFE (×N) Domain team Components, Store, Utilities only Manifest Registry Platform team Nothing Identity provider(s) Outside the platform — whichever the deployment configures — Backend / BFF Domain team, or a shared gateway (Part 2) Each team's own data The rule underneath the table: domain teams never import from each other, only from the shared platform layer. That keeps the dependency graph a strict two-level tree — Host → platform layer → domain leaves — instead of a mesh, which is what keeps independent deployability tractable once there's more than a handful of domain teams. It's the same rule that made every part of this series possible to write in isolation: Part 3's auth flow doesn't need to know Part 4's deploy pipeline exists, and neither needs to know how many domain teams there eventually are. Making this template your own Everything organization-specific in this platform — branding, which identity provider(s) it trusts, where the manifest lives — has lived in one file across this entire series, on purpose: // platform.config.json { "orgName" : "acme-corp" , "branding" : { "primaryColor" : "#0B5FFF" , "logoUrl" : "..." }, "idp" : { "issuers" : [ { "id" : "primary" , "issuer" : "https://issuer.example.com" , "clientId" : "..." , "def

2026-08-31 原文 →
AI 资讯

AI Innovation in Open-source Platforms 2026: Real Data & Costs

Originally published at nlocoding.com 94% of Fortune 500 companies now contribute to open-source AI projects (GitHub Octoverse, 2026). Not just using them. Actually building the future, brick by brick. Open-source AI isn’t a fringe experiment anymore. It’s the backbone of 2026’s digital economy. The same survey shows 77% of SaaS startups use at least one open-source AI model in production. Power, flexibility, and price—pick all three. Here’s why this trend breaks everything you thought you knew about innovation. Open-source AI dominates enterprise adoption in 2026 Open-source AI platforms are now the default for 62% of enterprises (Gartner, 2026), surpassing proprietary AI for the first time. The data says it: vendor lock-in is dead. Microsoft, Google, and Amazon all run open-source LLMs internally—Meta’s Llama 3 powers 85% of their internal NLP workflows at zero license cost. Why? Transparency. Control. Faster bug fixes. The average company adopting open-source AI saves $1.2M per year on licensing alone (RedMonk, 2026). 62%of enterprises now default to open-source AI (Gartner, 2026) Actionable takeaway: If you’re still stuck on locked-down SaaS AI, run a pilot with open-source alternatives (Llama 3, Mistral, Falcon). Measure cost, speed, and model control. You’ll never look back. 💡 Pro Tip: Pair open-source AI with cloud credits (AWS, GCP) to minimize infra costs in early pilots. Model quality is now open-source’s real advantage The data shows open-source AI models outperform closed models at 73% of NLP benchmarks (Stanford HELM, 2026). This wasn’t true two years ago. Mistral Medium, for example, beats OpenAI’s GPT-4 Turbo at summarization, retrieval, and code generation—free, unrestricted, and running locally. HuggingFace’s leaderboard is led by open models in 18 of 24 tracked domains. You’ll notice something: innovation outpaces regulation. With open weights, anyone can fine-tune or inspect for bias. The top Kaggle winner in 2026 used Falcon 2B, trained on $40 wo

2026-08-31 原文 →
AI 资讯

Help wanted: validate a React faceted search SPFx sample in SharePoint Online

Help wanted: validate a React faceted search SPFx sample in SharePoint Online A new read-only React faceted search sample is ready for the PnP SharePoint Framework webparts repository: Pull request: https://github.com/pnp/sp-dev-fx-webparts/pull/6480 Sample: https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-faceted-search The web part uses SharePoint Search REST ( /_api/search/query ) to search the current site. It supports: Search terms FileType and ContentClass refiners Result counts and metadata Safe encoded query/refiner values Loading, empty, access-denied, throttling, error, and retry states Responsive, accessible Fluent UI rendering The implementation is intentionally read-only and does not use a custom backend or Microsoft Graph. Local verification completed: 4/4 Jest tests passed TypeScript and webpack build passed ESLint passed Production .sppkg packaging passed Gallery metadata validator corrected and rerun successfully Tenant validation is still needed. If you have a SharePoint Online tenant, please test search indexing, result links, refiners, permissions, empty/error states, and narrow web-part widths. Real screenshots and negative findings are welcome; no local screenshot is being presented as tenant evidence. Please share feedback on the pull request. Thank you!

2026-08-30 原文 →