-
教资-信息技术-知识点
1. CRC 循环冗余校验(Cyclic Redundancy Check, CRC)1.1 原理解释CRC 的原理是模二除法。 模二运算是一种二进制算法。与四则运算相同,模二运算也包括加、减、乘、除四种运算,运算符也是相同的。 ... -
数据库-关系代数
传统的集合运算1. 并 2. 交 3. 差 4. 笛卡尔积 专门的关系运算符前置条件 关系模式:表示一张表的首行信息,是一个关系的抽象,例如:关系模式:, 是属性抽象 关系:一张表代表一个关系,n 目,表示 n 列,例如: ... -
C++ 可恶的 duplicate symbol (符号重复)
背景我之前是主写 Java Kotlin 的,C++ 写的少之甚少 之前写 OpenGL 的时候,就一直被 duplicate symbol 这个问题困扰 现在我终于找到了解决方法 原理首先,C++ 的编译器本身也是一段程序,而且不同编译器,编译成功... -
虚幻5 乱七八糟的小问题
背景我最近在玩 虚幻5,并且还为此买了张显卡 为啥不用 Mac 开发 虚幻5 呢? 使用 虚幻5 会发生什么问题呢? 问题 虽然虚幻 5 是跨平台,但是最优选择还是使用 Windows ,Mac 没有 VS,无法打开 sln项目,Uproject 还... -
上传你的 SDK 到 MavenCentral
参考链接:https://juejin.cn/post/7023219116534136840 注册账号Maven Central 是由 Sonatype 公司负责维护的,所以我们要使用Maven Central 的话,首先需要注册 Sonatyp... -
Android自定义View03 - 属性动画
概述这次的内容其实相比上篇要容易的多,只需要接触代码上的知识就好了 本文介绍的是 ViewPropertyAnimator 和 ObjectAnimator 应用场景ViewPropertyAnimator 和 ObjectAnimator 原理都是... -
Android自定义View02 - 绘制流程
概述Android 坐标系都是以左上角为原点,并且 view、canvas、Camera 是一个独立的坐标系 所以在进行绘制的时候,比如:自定义 Drawable 或者自定义 View,该如何去思考这个绘制流程呢? 如过你看过扔物线的视频或者文章,又... -
Android自定义View01 - 事件分发原理
我们从写一个自定义 View 开始,了解 View 分发机制 事件分发 返回true消费事件 我们都知道 OnTouchEvent 和 OnTouchListen... -
Android小技巧01-持续按钮
问题如果你要做一个功能:有 4 个按钮,按着按钮的时候,间隔 500ms 循环调用某个函数(比如打印一条 log,或者改某个数值),并且按下每个按钮,也不能影响其他按钮的按下状态,该怎么做? 解决思路你当然会直接想到 setOnTouchListen... -
记录扔物线的三个协程视频
第一个视频(学不会协程?很可能因为你看过的教程都是错的)学不会协程?很可能因为你看过的教程都是错的 协程的概念开头就说了,我们没有必要关注协程是什么!因为协程并没有一个官方的或者统一的定义,包括维基百科(作者一直在说 kotlin 协程,而不是只说...