版本化、评审、共享,把团队的隐性知识编码成可执行指令,让无论是谁坐在键盘前,输出质量都能保持一致。
<p>AI coding assistants respond to whoever is prompting, and the quality of what they produce depends on how well the prompter articulates team standards. <b class = 'author'>Rahul Garg</b> proposes treating the instructions that govern AI interactions (generation, refactoring, security, review) as infrastructure: versioned, reviewed, and shared artifacts that encode tacit team knowledge into executable instructions, making quality consistent regardless of who is at the keyboard.</p> <p><a class = 'more' href = 'https://martinfowler.com/articles/reduce-friction-ai/encoding-team-standards.html'>more…</a></p>
发布日期:2026-03-31 · 来源:Martin Fowler
Published: 2026-03-31 · Source: Martin Fowler
DevOpsDevOpsSecuritySecurityAIAIArchitectureArchitecture
Slack 现在同时使用内部和外部的混合方式做网络测量,既测 AWS 可用区之间的流量,也测公网到 Slack 基础设施的流量。文章讲述了他们如何从商业 SaaS 和自研工具走向更可扩展的 Prometheus 探测方案,并为 HTTP/3 做准备。
The Problem: Legacy Tooling and Its Limitations Currently, Slack utilizes a hybrid approach to network measurement, incorporating both internal (such as traffic between AWS Availability Zones) and external (monitoring traffic from the public internet into Slack’s infrastructure) solutions. These tools comprise a combination of commercial SaaS offerings and custom-built network testing solutions developed by our…
发布日期:2026-03-31 · 来源:Slack Engineering
Published: 2026-03-31 · Source: Slack Engineering
TestingTestingDevOpsDevOpsDXDX
Cloudflare 正在把高级 Client-Side Security 工具开放给所有用户,并加入新的级联式 AI 检测系统。通过结合图神经网络和 LLM,他们把误报降低了高达 200 倍,同时还能抓到更复杂的零日攻击。
We are opening our advanced Client-Side Security tools to all users, featuring a new cascading AI detection system. By combining graph neural networks and LLMs, we've reduced false positives by up to 200x while catching sophisticated zero-day exploits.
发布日期:2026-03-30 · 来源:Cloudflare Blog
Published: 2026-03-30 · Source: Cloudflare Blog
SecuritySecurityAIAI
让软件不至于失去价值的办法其实很简单,但也很容易被忽视: 始终忠于你为之构建产品的人。
The surest way to keep software from becoming valueless is deceptively simple — stay true to the people you are building it for.Continue reading on Medium »
发布日期:2026-03-31 · 来源:Medium Software Engineering
Published: 2026-03-31 · Source: Medium Software Engineering
EssayEssay
这场对话发生在 Canvs 的两位高级设计经理之间,他们讨论了要让产品保持高质量,究竟需要怎样的知识和纪律。
This conversation is between 2 Senior Design Managers at Canvs. They talk about the knowledge & discipline it takes to keep products…Continue reading on Bootcamp »
发布日期:2026-03-31 · 来源:Medium UI Design
Published: 2026-03-31 · Source: Medium UI Design
DesignDesignEssayEssay
软件开发正在变化。到了 2026 年初,隐私与性能之间的历史性取舍已经大幅改变。文章介绍了可以离线、自托管或本地运行的开源 AI 编程模型,适合不想把代码和上下文发到 API 的场景。
The landscape of software development is shifting. In early 2026, the historical trade-off between privacy and performance has largely…Continue reading on Medium »
发布日期:2026-03-31 · 来源:Medium Web Development
Published: 2026-03-31 · Source: Medium Web Development
PerformancePerformanceAIAIOpen SourceOpen SourceEssayEssay
学习开发这件事,对学生来说并不总是轻松的。
Learning development as a student isn’t always easy.Continue reading on Medium »
发布日期:2026-03-31 · 来源:Medium Programming
Published: 2026-03-31 · Source: Medium Programming
EssayEssay
有些写法语法上能跑,但并不代表它们在类型系统里是真正“靠谱”的。作者把 type alias 和 runtime tuple 的职责区分开,强调类型注解和运行时校验最好分开处理。
"I would love to address these questions publicly because the snippets used could be very misleading. Source - https://stackoverflow.com/q/79917832 Posted by Rodrigo Torres Retrieved 2026-03-31, License - CC BY-SA 4.0 # in types.py type Scalar = bool | int | str |float SCALAR_TYPES = (bool, int, str, float) Yes, it works, but only part of what you’re doing is actually “real” typing, and that distinction matters. Here is a clean breakdown on your snippest What's really solid and correct This is fully valid and aligns with modern typing (PEP 695 style): type Scalar = bool | int | str | float` def extract_scalarT: Scalar -> T: ... Kindly note that Scalar is a proper type alias and T: Scalar is a bound That is my recommended approach Let look at What works, but is a bit misleading SCALAR_TYPES = (bool, int, str, float) def extract_scalarT: SCALAR_TYPES -> T: ... Yes, this runs. Yes, type checkers may accept it. But here’s the catch: SCALAR_TYPES is just a runtime tuple It is not a type-level construct PEP 695 expects literal tuples for constraints, not variables So even though Python 3.14 (with lazy annotations from PEP 649) allows it syntactically, you’re relying on behavior that is: not guaranteed by the typing spec potentially inconsistent across tools easy to break in future updates So, In plain terms: you’re mixing runtime values with type system intent Practical advice (what you should actually do) You’re thinking in the right direction—reuse and centralization is good. Just split responsibilities cleanly: # types.py type Scalar = bool | int | str | float SCALAR_TYPES = (bool, int, str, float) Then: # typing side def extract_scalarT: Scalar -> T: ... # runtime validation side if not isinstance(value, SCALAR_TYPES): ... Kindly use: type aliases for typing and tuples for runtime checks Don’t try to make one do both jobs.
发布日期:2026-03-31 · 来源:DEV Community
Published: 2026-03-31 · Source: DEV Community
一篇把 “Quantum Header” 描述成确定性、可追加、可重建的信息结构的技术宣言。文章用 2-bit 状态系统、QH56 / QH256 的状态空间、C 语言实现和 JSON 执行描述,强调把身份、状态和控制编码成可组合的结构。
K501 : Quantum Header (QH) Deterministic Identity, State Encoding, and Compile-Level Realization ⸻ 0. Canonical Header SYSTEM: K501 Information Space DOCUMENT: Quantum Header (QH) Specification VERSION: v0.5 (DEV.to Technical Edition) MODE: Deterministic / Append-only AUTHOR: Patrick R. Miller (Iinkognit0) ORCID: 0009-0005-5125-9711 TIMESTAMP: 2026-03-31T19:02:23Z UNIX: 1774983743 LICENSE: MIT (code) + CC BY 4.0 (text) SOURCE: GitHub: https://github.com/k501is GitHub: https://github.com/Iinkognit0 Zenodo: https://zenodo.org/records/18697454 Dev.to: https://dev.to/k501is HASH_SCOPE: Conceptual (pre-freeze) ⸻ 1. Problem Statement Modern systems treat information as mutable. overwrite → loss mutation → ambiguity state → non-reproducible K501 enforces: append-only deterministic fully reconstructable The Quantum Header (QH) is the minimal unit enabling this. ⸻ 2. Formal Definition QH := deterministic bit-structure Frame := (QH, Payload) Properties: ∀ input x: QH(x) = constant ∀ t: Frame(t+1) = Frame(t) + Δ ⸻ 3. State Logic (2-bit System) Each logical cell: S ∈ {0,1}^2 Mapping: Bits State 00 False 01 True 10 Unknown 11 Guard ⸻ 4. State Space Mathematics General: |S| = 4 Total States = 4^N Equivalent: 4^N = (2^2)^N = 2^(2N) ⸻ 5. QH56 Bits = 56 Cells = 28 Total States = 4^28 = 2^56 ≈ 7.205759 × 10^16 ⸻ 6. QH256 Bits = 256 Cells = 128 Total States = 4^128 = 2^256 ≈ 1.1579 × 10^77 ⸻ 7. Cosmological Comparison Atoms (observable universe) ≈ 10^80 QH256 states ≈ 10^77 Extended: 4^256 = 2^512 ≈ 10^154 Conclusion: Structured state space scales faster than physical matter ⸻ 8. Structural Interpretation Finite encoding → exponential state expansion The QH defines: • address space • logical constraints • identity layer Not: • storage of all states • interpretation ⸻ 9. Header Construction Model Abstract: QH = f(input) = deterministic mapping Example decomposition: QH := ID ⊕ STATE ⊕ CONTROL Where: • ID → identity space • STATE → logical encoding • CONTROL → constraints (Guard / flags) ⸻ 10. Minimal Implementation (C) include typedef uint64_t QH56; QH56 create_qh56(uint32_t id, uint16_t state, uint8_t control) { return ((uint64_t)id << 24) | ((uint64_t)state << 8) | (uint64_t)control; } QH256: include typedef struct { uint64_t a; uint64_t b; uint64_t c; uint64_t d; } QH256; ⸻ 11. Compile & Run (Executable Example) File: qh.c include include typedef uint64_t QH56; QH56 create_qh56(uint32_t id, uint16_t state, uint8_t control) { return ((uint64_t)id << 24) | ((uint64_t)state << 8) | (uint64_t)control; } int main() { QH56 qh = create_qh56(0xABCDEF, 0x1234, 0xFF); printf("QH56: %llu\n", qh); return 0; } Compile gcc qh.c -o qh Run ./qh ⸻ 12. JSON Execution Descriptor (portable) { "name": "K501_QH56_Build", "language": "C", "source_file": "qh.c", "compile": "gcc qh.c -o qh", "run": "./qh", "output": "QH56 numeric representation", "properties": { "deterministic": true, "append_only": true, "no_mutation": true } } ⸻ 13. Deterministic Guarantee ∀ x: QH(x) = QH(x) ∀ x ≠ y: QH(x) ≠ QH(y) (ideal mapping) ⸻ 14. System Role Pipeline: Input → Mapping → QH → Frame → Append ⸻ 15. Unified View QH56 → efficient local addressing QH256 → global identity space Both derive from: 4^N state expansion ⸻ 16. Core Statement Quantum Header = deterministic projection of input into an exponentially expanding state space ⸻ 17. References & Attribution • GitHub: https://github.com/k501is • Author: https://github.com/iinkognit0 • Zenodo: https://zenodo.org/records/18697454 • Dev.to: https://dev.to/k501is • ORCID: https://orcid.org/0009-0005-5125-9711 • Source: https://iinkognit0.de ⸻ Status DETERMINISTIC APPEND-ONLY REPRODUCIBLE CANON-ALIGNED No overwrite. No mutation. Only extension. :::
发布日期:2026-03-31 · 来源:DEV Community
Published: 2026-03-31 · Source: DEV Community