摘要:
某光伏电站项目 7488个组件,容量2396kWp,单片功率320Wp,每24个一串,每13个串接入一台逆变器,共24台100kW组串式逆变器 10个方阵各3台逆变器1个月的5min间隔有功功率运行数据,数据量 8.5M 贝壳找房 产品技术团队:1000人 日志流式数据:线上服务2000个 埋点数据 阅读全文
posted @ 2021-07-29 16:20
cxc1357
阅读(186)
评论(0)
推荐(0)
摘要:
导读 模板/泛型,面向对象是C++的两大思路 STL主要用模板/泛型 C++OOP2-ex.cpp 1 // author : Hou Jie 2 // date : 2015/11/27 3 // compiler : DevC++ 5.11 (MinGW with GNU 4.9.2) 4 // 阅读全文
posted @ 2021-07-29 15:41
cxc1357
阅读(72)
评论(0)
推荐(0)
摘要:
概述 流式计算,本质上是增量计算,需要不断查询过去的状态 概念 Streams(流):分为有界流(固定大小,不随时间增加而增长)和无界流(随时间增加而增长), State(状态):在进行流式计算过程中的信息,用于容错恢复和持久化 Time(时间):支持Event time、Ingestion tim 阅读全文
posted @ 2021-07-29 15:39
cxc1357
阅读(89)
评论(0)
推荐(0)
摘要:
队列模式 瓜分模式,生产者发送了10条消息到activeMQ服务器,多个消费者瓜分10个消息,一个消费只能被一个消费者得到 TestConsumer.java 1 package cn.how2j.queue; 2 3 import javax.jms.Connection; 4 import ja 阅读全文
posted @ 2021-07-29 15:39
cxc1357
阅读(55)
评论(0)
推荐(0)
摘要:
Lecture 01 相似的逻辑,运行速度相差20倍 Labs Data Lab:bit运算与float相关操作 Bomb Lab:汇编,破解密码 Attack Lab:Buffer Overflow攻击 Cache Lab:实现cache simulator Shell Lab:用多进程实现简单的 阅读全文
posted @ 2021-07-29 15:38
cxc1357
阅读(91)
评论(0)
推荐(0)
摘要:
《大话设计模式源码》java https://github.com/echoTheLiar/JavaCodeAcc 导入数据库文件 https://blog.csdn.net/qq_39516859/article/details/79655343 设计模式——建筑学 https://www.osc 阅读全文
posted @ 2021-07-29 15:38
cxc1357
阅读(42)
评论(0)
推荐(0)
摘要:
成员函数 参数self代表当前对象的引用 实现查询/修改类的属性等功能 类函数 参数cls表示必须传一个类进来 用于实现不同的init构造函数 需要装饰器@classmethod声明 静态函数 不访问修改类的属性,又不想放到类的外面 用于做一些简单独立的任务,方便测试 需要装饰器@staticmet 阅读全文
posted @ 2021-07-29 15:33
cxc1357
阅读(131)
评论(0)
推荐(0)
摘要:
书籍 TCP/IP 详解 卷1:协议 计算机网络 自顶向下 计算机网络 第五版 谢希仁 知识点 TCP/IP技术栈一大部分都隐藏于操作系统内核态 TCP/IP协议体系的认知 透明性:下层对上层透明 链路层 以太网帧格式 MTU ARP 网络层 IP首部格式 IP分片 IP选路 ICMP 传输层: U 阅读全文
posted @ 2021-07-29 15:30
cxc1357
阅读(40)
评论(0)
推荐(0)
摘要:
在软件构建过程中,如果某一特定领域的问题比较复杂,类似的结构不断重复出现,如果使用普通的编程方式来实现将面临非常频繁的变化 在这种情况下,将特定领域的问题表达为某种语法规则下的句子,然后构建一个解析器来解释这样的句子,从而解决问题 GoF:给定一个语言,定义它的文法的一种表示,并定义一种解释器,这个 阅读全文
posted @ 2021-07-29 15:28
cxc1357
阅读(51)
评论(0)
推荐(0)
摘要:
Object Based(基于对象) class without pointer menbers class with pointer menbers Object Oriented(面向对象) Classes之间的关系 继承(inheritance) 复合(composition) 委托(dele 阅读全文
posted @ 2021-07-29 15:28
cxc1357
阅读(57)
评论(0)
推荐(0)
摘要:
class with pointer menbers string_test.cpp 1 #include "string.h" 2 #include <iostream> 3 4 using namespace std; 5 6 int main() 7 { 8 String s1("hello" 阅读全文
posted @ 2021-07-29 15:28
cxc1357
阅读(109)
评论(3)
推荐(0)
摘要:
概述 借鉴集装箱运输的思路 解决了同样代码,运行环境变化后无法运行的问题 一个容器包含了完整的运行时环境,除了应用程序本身之外,这个应用所需的全部依赖、类库、其他二进制文件、配置文件等,都统一被打入了一个称为容器镜像的包中 介绍 镜像:镜像是文件,是只读的,提供了运行程序完整的软硬件资源,是应用程序 阅读全文
posted @ 2021-07-29 15:27
cxc1357
阅读(38)
评论(0)
推荐(0)
摘要:
如题 1 #include<stdio.h> 2 int main() { 3 int i,j=0; 4 char a[]="How are you"; 5 for(i=0; a[i]; i++) 6 if(a[i]!=' ') a[j++]=a[i]; 7 a[j]='\0'; 8 printf( 阅读全文
posted @ 2021-07-29 14:55
cxc1357
阅读(46)
评论(0)
推荐(0)
摘要:
1 #include <iostream> 2 3 class My1{ 4 public: 5 My1(); 6 ~My1(); 7 }; 8 9 class My2{ 10 public: 11 My2(); 12 ~My2(); 13 My1 mymm; 14 }; 15 16 class M 阅读全文
posted @ 2021-07-29 14:53
cxc1357
阅读(156)
评论(0)
推荐(0)
摘要:
浙大mooc习题: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #define MAXSIZE 10 5 #define NotFound 0 6 typedef int ElementType; 7 8 typedef int Position; 阅读全文
posted @ 2021-07-29 14:53
cxc1357
阅读(38)
评论(0)
推荐(0)
摘要:
例题:编写函数,求一个数的平方 #include <iostream> using namespace std; int power(int a,int b); int main(){ int n; n = power(3,3); printf("%d\n",n); } int power(int 阅读全文
posted @ 2021-07-29 14:51
cxc1357
阅读(43)
评论(0)
推荐(0)
摘要:
正则表达式 字符串可以保存任意的数据信息,并向所有的数据类型转换 正则最早是Linux下发展起来的技术,理论基础源自离散数学 JDK 1.4 修改了String类定义,可通过字符串类进行正则的处理 传统的做法 1 public class Regex_Demo { 2 public static v 阅读全文
posted @ 2021-07-29 14:43
cxc1357
阅读(48)
评论(0)
推荐(0)
摘要:
集合中的泛型 只有APHero可以放入 ArrayList<APHero> heros = newArrayList<APHero>(); heros.add(newAPHero()); APHero和ADHero都可以放入 ArrayList<Hero> heros = new ArrayList 阅读全文
posted @ 2021-07-29 14:43
cxc1357
阅读(33)
评论(0)
推荐(0)
摘要:
用栈实现深度优先遍历 1 #include <iostream> 2 #define MAX_ROW 5 3 #define MAX_COL 5 4 5 struct point { int row, col; } stack[512]; 6 int top = 0; 7 8 void push(s 阅读全文
posted @ 2021-07-29 14:42
cxc1357
阅读(38)
评论(0)
推荐(0)
[bug] A reference cannot be reassigned, so it must be initialized at the member-initialization-list.
摘要:
参考 https://stackoverflow.com/questions/10956139/uninitialized-reference-member 阅读全文
posted @ 2021-07-29 14:39
cxc1357
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号