02 TiDB Operator 架构与实现 付业成Backup/Restore/Data migration - ... TiDB Operator TiDB PingCAP.com Kubernetes Pattern - Declarative Model - 用户描述自己的期望,提交给 Kubernetes API Server - Kubernetes 根据用户的期望以及当前的状态,协调各方达成用户的期望 PingCAP.com statefulset, etc. - But it does not know how to operate a TiDB cluster... Kubernetes Pattern - Declarative Model PingCAP.com - Kubernetes has pod, deployment, statefulset, etc. - But it does not know how how to operate TiDB cluster… - Until we implemented TiDB Operator Kubernetes Pattern - Declarative Model PingCAP.com Operator Pattern - Extending Kubernetes TiDB Operator TiDB PD API Kubernetes0 码力 | 47 页 | 1.73 MB | 6 月前3
亚马逊AWSAI Services Overview深度学习框架 – MXNet 概述 MXNet • 节省以及资源效率 • 工程中廉价的GPUs、较小的内存以及网络的限制 • 速度 • 线性的扩展能力 • 简单 • 混合了声明式(declarative)和命令式()代码的特点 为什么选择 MXNet ? MXNet: 可扩展的深度学习框架 MXNet 框架的特点 命令式 NDArray API 声明式 Symbolic Executor Understanding Book Flight London Utterances Flight booking London Heathrow Intent / Slot model London Heathrow Origin Destination Departure Date Flight Booking “Book a flight to London” Understanding Book Flight London Utterances Flight booking London Heathrow Intent / Slot model London Heathrow Location Location Seattle Origin Destination Departure Date Flight Booking0 码力 | 56 页 | 4.97 MB | 1 年前3
Python3 基础教程 - 廖雪峰............................................................................... 455 Day 4 - 编写 Model ................................................................................................. 编写底层模块的第一步,就是先把调用接口写出来。比如,使用者如果 使用这个 ORM 框架,想定义一个 User 类来操作对应的数据库表 User, 我们期待他写出这样的代码: class User(Model): # 定义类的属性到列的映射: id = IntegerField('id') name = StringField('username') email password='my-pwd') # 保存到数据库: u.save() Python3 基础教程【完整版】 http://www.yeayee.com/ 215/531 其中,父类 Model 和属性类型 StringField、IntegerField 是由 ORM 框架 提供的,剩下的魔术方法比如 save()全部由 metaclass 自动完成。虽然 metaclass 的编写会比较复杂,但0 码力 | 531 页 | 5.15 MB | 1 年前3
Mybatis 3.3.0 中文用户指南one click with http://pdfmyurl.com! 来作为领域 模型。MyBatis 对两者都支持。看看下面这个 JavaBean: package com.someapp.model; public class User { private int id; private String username; private String hashedPassword; 语句中会精确匹配到列名。 这样的一个 JavaBean 可以被映射到结果集,就像映射到 HashMap 一样简单。 Your 要记住类型别名是你的伙伴。使用它们你可以不用输入类的全路径。比如:0 码力 | 98 页 | 2.03 MB | 1 年前3
Kotlin 1.9.10 官方文档 中文版
to: How warm the Kotlin daemon and the Gradle daemon are. How fast or slow the disk is. The CPU model and how busy it is. Which modules are affected by the changes and how big these modules are. Whether 解构声明 data class Car(val manufacturer: String, val model: String, val year: Int) val myCar = Car("Tesla", "Y", 2019) val ( manufacturer, model, year, // 尾部逗号 ) = myCar val cars = listOf() need to implement a native UI or work with platform APIs. Compose Multiplatform, a JetBrains' declarative UI framework based on Kotlin and Jetpack Compose, gives you the option to push the sharing capabilities 0 码力 | 3753 页 | 29.69 MB | 1 年前3
DeepSeek从入门到精通(20250204)应用“多角度”提示探索不同视角 3. 使用“深化”提示拓展初始想法 4. 设计“反转”提示寻找替代方案 思维拓展的提示语链设计建立在创造性认知理论的基础上。根据Geneplore模型(Generate-Explore Model), 创造性思维包括两个主要阶段: 思维拓展的提示语链设计 聚合思维的提示语链设计 基于“FOCUS”框架 • Filter(筛选):评估和选择最佳想法 • Optimize(优化):改进选定的想法 假设需要撰写一篇关于“气候变化”的文章,目的是 “增强公众意识并促进行动”: 陈述型(Assertive) 指令型(Directive) 承诺型(Commissive) 表达型(Expressive) 宣告型(Declarative) 主题聚焦机制(TFM):锁定核心内容 �TFM的理论基础: TFM借鉴了认知语言学中的“原型理论”和“框架语义 学”,可开发以下技巧: �TFM实施步骤: 1. 定义主题原型:列出主题的关键特征和代表性例子0 码力 | 104 页 | 5.37 MB | 8 月前3
Kotlin 官方文档中文版 v1.9to: How warm the Kotlin daemon and the Gradle daemon are. How fast or slow the disk is. The CPU model and how busy it is. Which modules are affected by the changes and how big these modules are. Whether 解构声明 data class Car(val manufacturer: String, val model: String, val year: Int) val myCar = Car("Tesla", "Y", 2019) val ( manufacturer, model, year, // 尾部逗号 ) = myCar val cars = listOf() need to implement a native UI or work with platform APIs. Compose Multiplatform, a JetBrains' declarative UI framework based on Kotlin and Jetpack Compose, gives you the option to push the sharing capabilities 0 码力 | 2049 页 | 45.06 MB | 1 年前3
Kubernetes开源书 - 周立映射: "annotations": { "key1" : "value1", "key2" : "value2" } 类似以下信息可记录到Annotation中: 由declarative configuration layer管理的字段。将这些字段附加为Annotation,可将它们与客户端或服务器设置的默 认值、⾃动⽣成的字段或以及auto-sizing或auto-scaling的系统所设置的字段区分开。 另起⼀个终端,输⼊: curl http://localhost:8001/api/v1/proxy/namespaces/kube-system/services/heapster/api/v1/model/namespaces/de fault/pods/cpu-demo/metrics/cpu/usage_rate 即可看到监控信息。 在本例中,尽管容器启动时,尝试使⽤2个CPU单位,但由 kubectl proxy curl http://localhost:8001/api/v1/proxy/namespaces/kube-system/services/heapster/api/v1/model/namespaces/de fault/pods/memory-demo/metrics/memory/usage 可看到如下结果: { "timestamp": "2017-06-20T18:54:00Z"0 码力 | 135 页 | 21.02 MB | 1 年前3
Functional Programming - 包涵卿var strs = [String]() for var i = 0; i < nums.count; ++i { strs.append(String(nums[i])) } DECLARATIVE: MATHEMATICS let nums = [1, 2, 3, 4, 5, 6, 7] let strs = nums.map(String.init) WHY CURRY CURRY0 码力 | 38 页 | 1.33 MB | 1 年前3
宋净超 从开源 Istio 到企业级服务:如何在企业中落地服务网格that VM ● Install DEB/RPM package of the Workload Onboarding Agent on that VM ● Provide a minimal declarative configuration describing where to onboard the workload to Bridged Mode vs Direct Mode ● Bridged:0 码力 | 30 页 | 4.79 MB | 6 月前3
共 484 条
- 1
- 2
- 3
- 4
- 5
- 6
- 49













