2.1.5 Processing XML and Spreadsheet Data in GoExcelize - Go language spreadsheet library. Familiar with Go language programming, middleware, and big data solution. Working Experiences Alibaba Group - Software Engineer Baidu Inc. - Software Engineer Qihoo string `xml:"where,attr"` Addr string } } encoding/xml var p Person if err := xml.Unmarshal([]byte(data), &p); err != nil { fmt.Println(err) } fmt.Printf("%+v\n", p) // {Name:Tom Email:{Where:home Addr:tom@example ProcInst Directive Event-driven (Simple API for XML) decoder := xml.NewDecoder(strings.NewReader(data)) for { token, _ := decoder.Token() if token == nil { break } switch element := token.(type) {0 码力 | 35 页 | 1.34 MB | 1 年前3
3.云原生边云协同AI框架实践边侧逐步具备AI能力 分布式协同AI 核心驱动力 分布式协同AI核心驱动力 • 随着边侧算力逐步强化,边缘AI持续演变至分布式协同AI 分布式协同AI技术挑战 1. 边缘资源碎片化 2. 边缘数据孤岛 3. 边缘样本少 4. 边缘数据异构 分布式协同AI 技术挑战 边云协同AI框架 第二部分 首个分布式协同AI开源项目Sedna 基于KubeEdge提供的边云协同能力,支持现有AI类应用无缝下沉到边缘 GlobalCoordinator ⚫ 统一边云协同AI任务管理 ⚫ 跨边云协同管理与协同 ⚫ 中心配置管理 2. LocalController ⚫ 特性本地流程控制 ⚫ 本地通用管理: 模型, 数据集等 3. Worker ⚫ 执行训练或推理任务, 训练/推理程序, 基于现有AI框 架开 ⚫ 按需启动, docker容器或function ⚫ 不同特性对应不同的worker组, 可部署在边上或云 Unseen Task Detect EdgeNode 3 App Unseen Task Detect ① 基于N个历史任务,完成云端知识库初 始化 ② 基于云端知识库,学习当前边侧任务 ③ 基于当前边侧任务,更新云端知识库 ④ 重复步骤2-3以处理M个未来任务 Cloud 任务模型 任务样本 1 2 3 4 N个历史任务 当前任务 M个未来任务 知识库0 码力 | 37 页 | 2.36 MB | 1 年前3
Go vs. GoPlus(Go+)领域 • http://www.csdn.net/article/2012-09-14/2809984-will-go-be-the-new-go-to- programming-lan 惊喜3:interface • 非侵入式接口 -只要某个类型实现了接口要的方法,那么我们说该类型实现了此接口。 该类型的对象可赋值给该接口 -任何 Go 语言的内置对象都可以赋值给空接口 interface{} ... // error processing return } defer f.Close() ... // process file data 惊喜6:功能内聚 • 用组合实现继承(包括虚拟继承) type Foo struct { // 继承 Base ... } type Foo struct • SAS (1976) • MATLAB (1984) • Excel (1985) • Limited Domains (有限领域) ,比如 BI (Business Intelligence) • Limited Data (有限数据规模) • 数据科学不是基础设施,而是数学应用软件 • 全能力:统计/预测/洞察/规划/决策/… 数据科学的基建时期:大数据的兴起 • Map/Reduce0 码力 | 54 页 | 1.82 MB | 1 年前3
Build web application with GolangHow to use MySQL How to use SQLite How to use PostgreSQL How to use beedb ORM NOSQL Summary Data storage and session Session and cookies 2 1.7.2 1.7.3 1.7.4 1.7.5 1.8 1.8.1 1.8.2 1.8.3 encryption CSRF attacks Filter inputs XSS attacks SQL injection Password storage Encrypt and decrypt data Summary Internationalization and localization Time zone Localized resources International sites Summary Deployment and maintenance Logs Errors and crashes Deployment Backup and recovery Summary 3 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.14.5 1.14.6 1.15 1.15.1 1.15.2 1.15.3 1.15.4 1.15.50 码力 | 327 页 | 1.63 MB | 1 年前3
The Way To Go - 2012gccgo-compiler: ...................................................................................13 (3) File extensions and packages: ................................................................... .......................................................................................27 Chapter 3—Editors, IDE’s and Other tools..................................................................... PART 2—CORE CONSTRUCTS AND TECHNIQUES OF THE LANGUAGE Chapter 4—Basic constructs and elementary data types ......................................................49 4.1. Filenames—Keywords—Identifiers0 码力 | 629 页 | 4.85 MB | 1 年前3
Golang Manual By AstaXie-20120522pos) } prints character ?????? starts at byte position 0 character ?????? starts at byte position 3 character ???Z starts at byte position 6 Finally, Go has no comma operator and ++ and -- are statements defer fmt.Printf("%d ", i) } Deferred functions are executed in LIFO order, so this code will cause 4 3 2 1 0 to be printed when the function returns. A more plausible example is a simple way to trace function function- based. In the section on panic and recover we'll see another example of its possibilities. Data Allocation with new Go has two allocation primitives, the built-in functions new and make. They0 码力 | 6205 页 | 12.83 MB | 1 年前3
Go 101 (Golang 101) v1.21.0this book is written. §1. Acknowledgments §2. An Introduction of Go - why Go is worth learning. §3. The Go Toolchain - how to compile and run Go programs. Become Familiar With Go Code §4. Introduction underlying implementations is very helpful to clear some confusions about all kinds of Go values. 3. Explains memory blocks in detail. Knowing the relations between Go values and memory blocks is very 1.18, it is expected that Go will be used more and more in some other areas, such as gui/game, big data and AI. Finally, Go is not perfect in all aspects. There are certain trade-offs in Go design. And0 码力 | 880 页 | 833.34 KB | 1 年前3
Go 101 (Golang 101) v1.21.0this book is written. §1. Acknowledgments §2. An Introduction of Go - why Go is worth learning. §3. The Go Toolchain - how to compile and run Go programs. Become Familiar With Go Code §4. Introduction underlying implementations is very helpful to clear some confusions about all kinds of Go values. 3. Explains memory blocks in detail. Knowing the relations between Go values and memory blocks is very 1.18, it is expected that Go will be used more and more in some other areas, such as gui/game, big data and AI. Finally, Go is not perfect in all aspects. There are certain trade-offs in Go design. And0 码力 | 610 页 | 945.17 KB | 1 年前3
Go 101 (Golang 101) v1.21.0why this book is written. §1. Acknowledgments §2. An Introduction of Go - why Go is worth learning. §3. The Go Toolchain - how to compile and run Go programs. Become Familiar With Go Code §4. Introduction tapirgames.com ? to get more information about these games. Hope you enjoy them.) §0. About Go 101 3 About Go 101 I feel it is hard to describe the contents in this article in the general description underlying implementations is very helpful to clear some confusions about all kinds of Go values. 3. Explains memory blocks in detail. Knowing the relations between Go values and memory blocks is very0 码力 | 630 页 | 3.77 MB | 1 年前3
Casdoor · An Open Source UI-first Identity Access Management (IAM) / Single-Sign-On (SSO) platform supporting OAuth 2.0, OIDC, SAML and CASsuch as GitHub, Google, QQ, and WeChat, and it supports extending third-party login with plugins. 3. Casdoor supports authorization management based on Casbin. It supports ACL, RBAC, ABAC, and RESTful your app using these providers, with Casdoor acting as a middle layer (middleware). St Step 3 (Aut ep 3 (Authorization Grant) horization Grant) In this step, your Application already has the code from com/ signup/app-casbin-oa https://door.casdoor.com/login/oauth/ authorize?client_id=0ba528121ea87b3eb54d&response_type=code&redirect_uri=http://localhost:9000/ callback&scope=read&state=casdoor Login0 码力 | 825 页 | 58.31 MB | 1 年前3
共 125 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13













