csapp notes types
Note&browser collect
#浏览器收藏的问题就在于,没有将东西变成自己的产出  ......
vue3+ts 报错 Cannot find module '../xxx/xxx.vue' or its corresponding type declarations(找不到对应的模块“@/views/xxx.vue”或其相应的类型声明)
解决方法在env.d.ts中加入下面代码 declare module '*.vue' { import { DefineComponent } from "vue" const component: DefineComponent<{}, {}, any> export default compo ......
去掉input type=file的默认样式
去掉input type=file的默认样式 解决: 加style="opacity: 0;"变成透明的 然后可以外面套个div,在div上自定义样式。 ......
类型转换static_cast<type>(value)
来自CHATGPT的回答 static_cast<float>(value) 和 (float)value 实际上是完成相同的类型转换,即将 value 的类型转换为 float 类型。两者的区别在于语法和一些特定的使用情境。 语法:static_cast<float>(value) 是使用 C++ ......
【cpluplus教程翻译】类型转换(Type conversions)
# 隐式类型转换(implicit conversion) 如果一个值被拷贝到另一个兼容类型中,隐式类型转换会自动执行(**注意对象 指针 引用的区别**)。比如 ```c++ short a=2000; int b; b=a; ``` a的值从short被提升到int,这个过程不需要显式的转换,这 ......
打字动画 Typed.js
## 概述 Typed.js 是一个 JavaScript 库,用于在网页上创建打字动画效果。它使您能够模拟打字机或逐字显示文本的效果,从而为用户提供逐渐展示文本的视觉体验。 Typed.js 提供了丰富的选项和配置,可以自定义打字动画的速度、暂停时间、删除效果等。您可以使用 HTML 元素或 Ja ......
How to check function arguments type in Python All In One
How to check function arguments type in Python All In One
Python & argument type check
......
Machine Learning 【note_02】
# note_02 Keywords: Classification, Logistic Regression, Overfitting, Regularization ## 1 Motivation Classification: - "binary classification": $y$ ca ......
ssh远程redhat6报错:Unable to negotiate with *.*.*.* port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
报错:Unable to negotiate with *.*.*.* port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss 分析:openssh觉得ssh-rsa加密方式不安全, 直接从8.8开始默认不允许这种 ......
Machine Learning 【note_01】
Declaration (2023/06/02): This note is the first note of a series of machine learning notes. At present, the main learning resource is *the 2022 Andre ......
Notes-task how wirte
多个分区排列任务不行,多了没人看,要集中一个 原来的task分组,内容分组,到后面你自己都不看 现在都搞到1个文件去,内部分组、分内容 多个分区排列任务不行,多了没人看,要集中一个 ......
[SprigMVC/SpringBoot] JSON序列化专题之日期序列化问题:接口报Jackson框架错误“InvalidDefinitionException: Java 8 date/time type `java.time.LocalDateTime` not supported by default:...”
# 1 问题描述 请求接口时,`service`层返回到`controller`层的数据结构为`List>`,而`Map`中存在一个`key`=`date`,value type=`java.time.LocalDate`的`Entry`,且日志报如下错误: ``` log InvalidDefin ......
MyBatis+Sharding-JDBC实体类LocalDateTime类型字段查询报SQLFeatureNotSupportedException: getObject with type
## 问题 最近协助渠道组开发新需求,封装实现了一个公共模块供不同渠道项目使用。 以前各个渠道项目有很多相似的菜单和功能,各自项目里自己的代码实现,本公共模块对新需求的功能点进行抽象,减少重复代码,提高模块复用性和可维护性。 目前有2个渠道项目接入了该公共模块,自测时发现其中1个运行正常,另1个项目 ......
「Note」 wqs 二分
最大标志:选择恰好 $K$ 个,使什么东西最优。 就比如说 $f_{i,j}$ 表示前 $i$ 个数里选 $j$ 个的最优解。直接求解复杂度很寄。 如果 $f_{n,x}$ 在坐标系里画出的是一个凸函数($x$ 是取了多少个值),那么就可以进行 wqs 二分。 我们想要求当 $x=K$ 时的解,因为 ......
MyBatis集成Oracle报:java.sql.SQLException: Invalid column type: 1111
1. 报错日志: ```java org.springframework.jdbc.UncategorizedSQLException: Error setting null for parameter #12 with JdbcType OTHER . Try setting a differen ......
vue3-element-plus DatePicker type=week 设置从周一到周日展示
main.js import ElementPlus from 'element-plus' import zhCn from 'element-plus/dist/locale/zh-cn.mjs' app.use(ElementPlus, { locale: zhCn, }).mount('#a ......
语音识别,语音转文字,会议记录自动化,Meeting Note, Speech to Note
经过百般测试,实践了Python的方案,实现:可以识别英语,但是断句和整句话的整理还是不尽人意。 还不如下面这个产品 Speechnotes https://speechnotes.co/dictate/ Pyhton的方案实践记录(部分): cd /Users/***/opt/anaconda3/ ......
Could not autowire. No beans of 'AddressBookService' type found.
错误: 错误原因: Service实现类未继承Service接口 解决方法: ......
Invalid prop: type check failed for prop “value”. Expected String, Number, got Undefined
记录一个报错问题,之前别的同事写的代码,还看了半天有点无语!! 下拉选择部门,联动动态赋值责任人下拉列表警告,导致选择责任人的时候无法正确赋值undefined。 究其原因是封装的表单formItem项中传入了下拉选项的映射字段,如下: 而在选择部门的时候又已经把动态数据遍历处理成了标准的label ......
springboot项目启动访问任何html页面报类型转换错误:Failed to convert value of type...
问题: 2023-05-30T21:35:57.495+08:00 WARN 19900 [nio-8080-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.ann ......
Note -「基本子串结构」速通笔记
学习自 crashed 的[《一类基础子串数据结构》摘抄及注解](https://www.cnblogs.com/crashed/p/17382894.html), 略过了一些 crashed 口中 "用不上" 的东西. 这里是速通笔记, 希望快速学习技巧的读者可以就看本篇, 但希望深入研究的读者还 ......
CF1398E Two Types of Spells 题解 set
题目链接:[https://codeforces.com/problemset/problem/1398/E](https://codeforces.com/problemset/problem/1398/E) ### 题目大意 你有一个集合,初始为空。 有两种类型的元素,一种是普通元素,一种是强化 ......
of-type选择器的坑
first-of-type, last-of-type, nth-of-type, nth-last-of-type 选择器的用法和我们想象的不一样,可以说是不合常理它们的用法相同,就以 nth-of-type 举例 :nth-of-type(1) 选择同类型标签元素的第1个 p:nth-of-ty ......
canal+rabbitmq: Could not convert incoming message with content-type [null]
SpringBoot整合 Canal+RabbitMQ 实现监听 MySQL 数据库同步更新 Redis 缓存,编写RabbitMQ 消费端监听同步缓存。 接收消息是字符串返回的是字节数据,eg: -30,-128,-100,-25,-126,-71,-27,-81,-71,-25,-126,-71 ......
vue3学习中使用vue-router@4的问题Invalid VNode type: undefined (undefined)
首先是按照常规的箭头函数引入的方法,结果报一下错误,且页面报错 const HelloWorld=()=>import('../components/HelloWorld.vue'); 解决办法 import { defineAsyncComponent } from 'vue' const Hel ......
el-date-picker type="daterange" 二个日期之间的range-separator样式
中间的这个“至”的颜色设置 从源代码中可以看出: 这样中间的字的颜色就改为白色了。 ......
「Note」整体DP小记
智慧智慧。 当树上问题能列出二维的 DP 方程,并且转移方程不是很复杂的时候可以用线段树来维护方程,并且用线段树合并来维护。 大概有几种情况可以直接维护。 一种是对于前缀和后缀求和之类的。在线段树合并的过程中实时维护前缀后缀和之类的。 一种是子树加在一起。显然是可以直接维护的。 ## P5298 [ ......
日常开发记录-axios配置请求头content-type
blobTypes.json,文件下载blob类型 // 全部类型列表网址 https://www.iana.org/assignments/media-types/media-types.xhtml#application { "pdf": "application/pdf", "zip": "a ......