monocarp and set the
Ian and Array Sorting
题目链接 题目描述: To thank Ian, Mary gifted an array $a$ of length $n$ to Ian. To make himself look smart, he wants to make the array in non-decreasing order ......
FIT5201 Complexity and Model Selection
Assignment 1, FIT5201, S1 20231 Model Complexity and Model Selection In this section, you study the effect of model complexity on the training and tes ......
E - Kth Takoyaki Set
E - Kth Takoyaki Set 题目来源:E - Kth Takoyaki Set (atcoder.jp) 题目大致意思: 给你几个数,把他们各种排列的和(每个数字可以多次使用,不一定每个数字都要选)的第k小的ans是多少 思路: 第一想法是背包吧,但是很明显这个作为val的范围第一很大 ......
Moves, copies and clones in Rust
原文链接:Moves, copies and clones in Rust 简介(Introduction) move 和 copy 是 Rust 中的基础概念。这对于来自 Ruby、Python 或 C#等垃圾回收语言的程序员来说可能是完全陌生的。这些术语在 C++中也确实存在,但它们在 Rust ......
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 ......
B. Two Sets
B. Two Sets https://codeforces.com/problemset/problem/468/B 思路 对于每个元素,计算其集合归属性, 但是要注意的是, x, a-x 如果都存在, 并不意味着他们只能出现在A集合中 特殊情况下, 也可以出现的B集合 b-x x a-x b-( ......
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 ......
Oracle OEM中EMGC_OMS1指标警报The heap usage使用率过高
Oracle OEM中EMGC_OMS1指标警报The heap usage使用率过高 OEM报警EMGC_OMS1目标堆内存占用率过高。 我的环境OEM版本是13.3。 默认监控目标EMGC_OMS1的最大内存使用是1740M,当前的最大堆内存值对于实际的 OMS 负载来说太低了。 由于已经定期生 ......
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. ......
Introducing QCN9274: The Next Generation of Wi-Fi 7 Wireless Networking
Are you tired of slow internet speeds and dropped connections? Want to upgrade your wireless network to the latest and greatest technology? Look no fu ......
Linux中使用ntpdate同步失败报错:14 Apr 08:42:12 ntpdate[1255]: the NTP socket is in use, exiting:解决方法.
报错信息: 报错原因: 1、可能是因为同步的域名信息没有解析到。 2、可能是因为服务的问题导致没有同步成功。 解决方法: 1、先关闭ntpd服务。 [root@k8s-master01 ~]# service ntpd stop Redirecting to /bin/systemctl stop ......
set接口
set接口 HashSet里面有一个HashMap(适配器模式)。 Set的接口和他的实现类都是基于对应Map的来实现,他的存在是为了我们只需要进行对单一数据操作来保证数据不重复等特点的使用的。 存储一组唯一,无序的对象,最多存储一个null值 实现类: HashSet、LinkedHashSet和 ......
java学习日记20230414-Set接口
Set接口的常用方法和基本介绍 Set接口基本介绍: 无序(添加和取出的顺序不一致),没有索引; 不允许重复元素,所以最多包含一个null; JDK API中Set接口的实现类:AbstractSet,EnumSet,HashSet,TreeSet,LinkedHashSet,JobStateRea ......
JSON Web Tokens (JWT) — the only explanation you will ever need
本文摘抄自 Ariel Weinberger 博客 JSON Web Tokens (JWT) — the only explanation you will ever need | by Ariel Weinberger | Medium JSON Web Tokens (JWT) — the o ......
How to Calculate the size of archive log files each day
Calculate the size of archive log files each day SQL> SELECT TRUNC(COMPLETION_TIME) ARCHIVED_DATE, SUM(BLOCKS * BLOCK_SIZE) / 1024 / 1024 SIZE_IN_MB F ......
Visual Stadio 编译提示 The BaseOutputPath/OutputPath property is not set for project ...
完整的错误信息是: The BaseOutputPath/OutputPath property is not set for project 'xx.csproj'. Please check to make sure that you have specified a valid combina ......
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 ......
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 ......
TypeError: Cannot read properties of undefined (setting '××××××')
前言 由于在编写代码时经常遇见如下报错信息,找到原因后在此做个小总结 解析 1、变量未定义:当我们在尚未定义或未初始化的变量上设置属性,就会出现此错误 let obj; obj.name = 'aaa';//throw the error 要解决此问题,我们可以在设置属性之前使用空对象或适当的初始值 ......
mssql server 2012数据库 jdk8 + springboot 项目 报错:SQL Server (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted by client preferences [TLS12]". ClientConnectionId
2023-04-13 11:01:39.727 [main] INFO com.alibaba.druid.pool.DruidDataSource:1003 - {dataSource-3,slave_2} inited 2023-04-13 11:01:39.846 [Druid-Connect ......
git 更新代码错误 Your local changes to the following files would be overwritten by merge处理
当git pull时提示 Your local changes to the following files would be overwritten by merge idea中撤销当前本地 本次提交 ......
【BUG】ExtJS 的Tab Reorder 插件持续更新布局问题解决办法 (Solution to layout issues in the continually updated Tab Reorder plugin of ExtJS)
更新记录 2023年4月13日 初始化。 ExtJS教程汇总:https://www.cnblogs.com/cqpanda/p/16328016.html 问题 不停的拖动tab栏,会不断更新布局。 Dragging the tab bar continuously will update the ......
感觉和知觉(Perception and Consciousness)的区分和学习
感觉和知觉(Perception and Consciousness) consciousness 是知觉,这个应该是被动对环境的反应和内在的意识 Perception 对对外的感觉,主动对外界的思考的探索 前缀per- 表示“完全,贯穿,自始至终,向前”。forth, ford 是其同源词。 词根 ......
vite写jsx语法报错: [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you use tsconfig.json, make sure to not set jsx to preserve.
1.安装vite的jsx包 npm i @vitejs/plugin-vue-jsx --save 2.安装所有依赖 npm i 3.在vite.config.ts中配置 import { defineConfig } from 'vite'; import vue from '@vitejs/pl ......
.net core中Grpc使用报错:The remote certificate is invalid according to the validation procedure.
因为Grpc采用HTTP/2作为通信协议,默认采用LTS/SSL加密方式传输,比如使用.net core启动一个服务端(被调用方)时: public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultB ......