逻辑and
08 Shading(Shadding, Pipeline and Texture Mapping)
关键点 Real-Time Rendering Pipeline Shader 1. Graphics(Real-time Rendering) Pipeline 管线 1.1 Pipeline MVP, Rasterization, Z-Buffer, Shading, Texture 1.2 S ......
07 Shading (Illumination, Shading and Graphics Pipeline)
关键点 Blinn-Phong Reflectance Model Specular Diffuse Ambient 对不同的物体应用不同的材质,不同的材质与光线的相互作用存在不同的方法。 1. Blinn-Phong Reflectance Model 1.1 光源 Specular highli ......
06 Rasterization (Antialiasing and Z-Buffering)
关键点 MSAA/FXAA/TAA Z-Buffering 1. Antialiasing 反走样 1.1 Sampling Artifacts Jaggies Moire Patterns 摩尔纹 Wagon Wheel Effect 1.2 Blurring(Pre-Filtering) 模糊 ......
Linux input and ouput command < symbol & > symbol All In One
Linux input and ouput command < symbol & > symbol All In One
left input / right output
< 向左侧输入
> 向右侧输出
pbcopy
pbpaste
剪切板
......
error and except
import logging logging.basicConfig(filename="std.log", format='%(asctime)s %(message)s', filemode='w') logger=logging.getLogger() logger.setLevel(logg ......
springBoot启动 Error running Application. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
1. 打开SpringBoot启动配置 2.选择shorten command line 3.apply保存就行了 ......
Salt formation: an effective means to improve the physical and chemical properties of drug molecules and enhance the druggability of drugs
Salt formation is one of the effective means to improve the physicochemical properties of drug molecules and enhance drug-forming properties. ......
MyBatisPlus解决逻辑删除与唯一索引的兼容问题
需求背景 比如有张用户表,在插入或者更新数据的时候,我们需要 用户名称(username),不能重复。 我们首先考虑的是给该字段创建唯一索引 create unique index uni_username on user(username) 似乎这样就可以了,然而事情并没有那么简单。 因为我们表中 ......
【面试题】思维逻辑方面
1、有一个没有刻度的长方形的铁盒子,没有盖子,可以随意摆动,它的容积是 1升。请罗列出你能想到的:只使用这个盒子称量,列出你可以想到的能够准确地量出多少升的水? 答案:0.5L 2、排队,小明站在从前往后数的第x 个,从后往前数的第y 个,则小明所在的列共有多少人? 答案:x + y - 1 3、桌 ......
Graphs with Python: Overview and Best Libraries
Graphs with Python: Overview and Best Libraries Graph analysis, interactive visualizations, and graph machine learning A graph is a relatively old mat ......
机器学习(六):回归分析——鸢尾花多变量回归、逻辑回归三分类只用numpy,sigmoid、实现RANSAC 线性拟合
[实验1 回归分析] 一、 预备知识 使用梯度下降法求解多变量回归问题 数据集 Iris 鸢尾花数据集是一个经典数据集,在统计学习和机器学习领域都经常被用作示例。数据集内包含 3 类共 150 条记录,每类各 50 个数据,每条记录都有 4 项特征:花萼长度、花萼宽度、花瓣长度、花瓣宽度,可以通过这 ......
Understanding the different flavors of Clang C and C++ compilers in Windows
https://blog.conan.io/2022/10/13/Different-flavors-Clang-compiler-Windows.html This article will explain the different flavors of Clang C and C++ comp ......
How to Disable Suspend and Hibernation Modes In Linux
How to Disable Suspend and Hibernation Modes In Linux Disable Suspend and Hibernation in Linux sudo systemctl mask sleep.target suspend.target hiberna ......
感觉和知觉(Perception and Consciousness)的区分和学习
感觉和知觉(Perception and Consciousness) consciousness 是知觉,这个应该是被动对环境的反应和内在的意识 Perception 对对外的感觉,主动对外界的思考的探索 前缀per- 表示“完全,贯穿,自始至终,向前”。forth, ford 是其同源词。 词根 ......
sklearn.linear_model.LogisticRegression-逻辑回归分类器
语法格式 class sklearn.linear_model.LogisticRegression(penalty='l2', *, dual=False, tol=0.0001, C=1.0, fit_intercept=True, intercept_scaling=1, class_weig ......
dpt-shell 抽取壳实现原理分析(执行逻辑)
开源项目位置(为大佬开源精神点赞) https://github.com/luoyesiqiu/dpt-shell 抽取壳分为两个步骤 加壳逻辑: 一 对apk进行解析,将codeItem抽出到一个文件中,并进行nop填充 二 对抽取后的apk进行加密 三 注入壳程序相关文件即配置信息 执行逻辑: ......
QT多个按钮信号绑定同一个槽函数,执行不同业务逻辑
界面如果包含多个按钮,每个按钮都创建一个槽函数,这样会这代码看起来比较冗杂,我们可以让多个按钮共用一个槽函数,然后去执行不同的功能。 一、ObjectName 通过setObjectName()在定义button处先设置ObjectName,后在槽函数中判断按钮的名称。然后根据按钮的名称从而实现不同 ......
dpt-shell 抽取壳实现原理分析(加壳逻辑)
开源项目位置(为大佬开源精神点赞) https://github.com/luoyesiqiu/dpt-shell 抽取壳分为两个步骤 加壳逻辑: 一 对apk进行解析,将codeItem抽出到一个文件中,并进行nop填充 二 对抽取后的apk进行加密 三 注入壳程序相关文件即配置信息 执行逻辑: ......
逻辑回归的参数学习
from sklearn.datasets import load_breast_cancer from sklearn.feature_selection import SelectFromModel from sklearn.linear_model import LogisticRegress ......
正则对税号的匹配逻辑
税号一般由15或18位数字组成,其中: - 15位税号:前6位是所属地区(通常是行政区划代码前6位)、中间6位是组织机构代码、最后3位是登记管理部门代码。- 18位税号:前2位是登记管理部门代码、中间6位是组织机构代码、最后10位是由国家税务总局统一分配的顺序编码。 所以,对于税号的正则匹配逻辑可以 ......
Squeeze-and-Excitation Networks(SENet)
结构和代码如下(参考:b站视频:YOLOv5 v6.1添加SE,CA,CBAM,ECA注意力机制教学,即插即用): Global pooling:每个channel上面的所有点做平均,这样每个channel都输出一个数。所以左图中,HxWxC变成了1x1xC。(参考:关于global average ......
Python script get date and time All In One
Python script get date and time All In One
Python shell script print current datetime to log file
......
FPGA中左移和右移的区别,以及逻辑右移和算术右移
(1)>>>(算术右移)与>>(逻辑右移)的区别: 逻辑右移就是不考虑符号位,右移一位,左边补零即可。算术右移需要考虑符号位,右移一位,若符号位为1,就在左边补1,;否则,就补0。所以算术右移也可以进行有符号位的除法,右移,n位就等于除2的n次方。 例如,8位二进制数11001101分别右移一位。逻 ......
CPU 进行图形显示的 逻辑,以及 gpu 与 display controler 的关系
问题: 对上面这个问题一直不是很理解。 截图如下: ......
intellij idea 中On 'Update' action 下无Update classes and resources选项
intellij idea 中使用tomcat发布项目时,On ‘Update’ action 下无Update classes and resources选项,这时在tomcat设置中Deployment要使用exploded模式的war包。只有exploded模式下才会有update class ......
【论文阅读笔记】iCaRL: Incremental Classifier and Representation Learning
Author: Alexander Kolesnikov Key_words: nearest-mean-of-exemplar rule, prioritized exampler selection,representation learning Create_time: September 1 ......
Zeros and Ones UVA - 12063
给出n、k(n≤64,k≤100),有多少个n位(无前导0)二进制数的1和0一样多,且值为k的倍数? f[i][j][k] #include <iostream> #include <cstring> #include <cmath> #include <algorithm> using names ......
迁移学习()《Attract, Perturb, and Explore: Learning a Feature Alignment Network for Semi-supervised Domain Adaptation》
论文信息 论文标题:Attract, Perturb, and Explore: Learning a Feature Alignment Network for Semi-supervised Domain Adaptation论文作者:Taekyung Kim论文来源:2020 ECCV论文地址 ......
Using OFFSET and FETCH to limit the rows returned sql server分页查询
Using OFFSET and FETCH to limit the rows returned We recommend that you use the OFFSET and FETCH clauses instead of the TOP clause to implement a quer ......
install vim-latexsuite and set .vimrc
(4/4) 正在安装 vim-latexsuite [#######] 100%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Set the following lines ......