On

Vue3---error xx should be on a new line

ESLint: ':render-header' should be on a new line.(vue/max-attributes-per-line) 此问题是由于.eslintrc.js文件中的vue/max-attributes-per-line配置错误产生的 "vue/max-attri ......
should error Vue3 line Vue

10 iozone Examples for Disk I/O Performance Measurement on Linux

https://www.thegeekstuff.com/2011/05/iozone-examples/ As we discussed in our Linux performance monitoring introduction article, measuring IO subsystem ......

迁移学习(MEnsA)《MEnsA: Mix-up Ensemble Average for Unsupervised Multi Target Domain Adaptation on 3D Point Clouds》

论文信息 论文标题:MEnsA: Mix-up Ensemble Average for Unsupervised Multi Target Domain Adaptation on 3D Point Clouds论文作者:Ashish Sinha, Jonghyun Choi论文来源:2023 C ......

some basic operations on mysql8

it's my first time using version 8. keep a note just for practice. $ sudo docker images | grep mysql mysql latest 8189e588b0e8 6 days ago 564MB $ sudo ......
operations mysql8 basic mysql some

Codeforces Round 689 (Div. 2, based on Zed Code Competition)D.Divide and Summarize

题意: 我们给定包含n个正整数的数组,我们可以对这个数组执行一些操作之后,可以让数组内元素的和成为我们想要的数。 我们对数组的执行操作一共分为三个步骤,第一个步骤是我们首先计算出数组的中间值mid。这里mid的定义不是中位数也不是均值,而是最大值和最小值的均值。也就是mid = (min + max ......

Hive On Spark调优

第1章 集群环境概述 1.1 集群配置概述 本课程所用集群由5台节点构成 其中2台为master节点: 用于部署HDFS的NameNode Yarn的ResourceManager 另外3台为worker节点,用于部署HDFS的DataNode、Yarn的NodeManager等角色。 Master ......
Spark Hive On

AtCoder Regular Contest 114 D Moving Pieces on Line

洛谷传送门 AtCoder 传送门 挺有意思的题。 首先显然地,一个棋子不会走回头路。于是一个棋子沿着边走的效果就是区间异或。 更进一步,设 $s_i$ 为 $i-1 \to i$ 的边颜色与 $i \to i+1$ 的边颜色是否相同(差分),相当于对于每个 $i$ 都选择 $s_{a_i}$ 和 ......
AtCoder Regular Contest Moving Pieces

xv6 labs Copy-On-Write fork

虚拟内存提供了一个中间层:内核可以通过将PTE标记为invalid或者read-only来拦截内存引用,这会导致page fault,此时,你可以通过修改PTE来改变地址的含义。在计算机系统中有一种说法,任何系统问题都可以通过中间层解决。lazy allocation实验提供了一个例子,本次实验将探 ......
Copy-On-Write Write labs Copy fork

mysql使用group by 异常on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

临时解决 SET @@global.sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; ......

03-v-on的事件修饰符

title: 03-v-on的事件修饰符 publish: true v-on的事件修饰符 v-on的常见事件修饰符 v-on 提供了很多事件修饰符来辅助实现一些功能。事件修饰符有如下: .stop 阻止冒泡。本质是调用 event.stopPropagation()。 .prevent 阻止默认事 ......
事件 v-on 03 on

【题解】[ABC248G] GCD cost on the tree

「八云紫」无数次痛苦地询问,为什么我们还活着? ……而「古明地恋」从不会回答。 恋恋闭上了觉之眼。 思路 容斥 + dp. $\gcd$ 相关,考虑 $\mu$ 反演或者 $\varphi$ 反演。 本质上都和容斥差不多,不如直接一步到位考虑容斥。 把权值拆成 $\gcd$ 和对应的方案数两部分,考 ......
题解 248G cost tree ABC

Uva--122 Trees on the level(二叉树的层次遍历)

记录 23:27 2023-4-20 https://onlinejudge.org/external/1/122.pdf reference:《算法竞赛入门经典第二版》例题6-7 二叉树的层次遍历,这里是直接复制了作者的代码。(之前在我的数据结构学习里面手写过树、二叉树、AVL树(说是手写,其实也 ......
层次 Trees level Uva 122

Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNot

(1)一开始的时候看到 Cause: java.sql.SQLException: 觉得是sql语句写错了,经过检查sql并没有错误 (2)再次看了下报错,后面还有半句话 Error setting driver on UnpooledDataSource.Cause: java.lang.Clas ......

Oracle“ORA-38104: 无法更新ON子句中引用的列”解决方式

参考: MERGE INTO QLIK_CONFIG_MAPPING_REPORT USING dual ON (CONFIG_ID=2 AND REPORT_ID=6) WHEN MATCHED THEN UPDATE SET "CONFIG_ID" = 2,"REPORT_ID"=6 WHEN ......
子句 方式 Oracle 38104 ORA

Install .NET on Windows

https://learn.microsoft.com/en-us/dotnet/core/install/windows?tabs=net60#dependencies https://blog.csdn.net/weixin_43596442/article/details/119801821 ......
Install Windows NET on

How to Configure SSL/TLS on ORACLE RAC

Goal This document will demonstrate the steps required to configure SSL/TLS on RAC or SIHA. Instruction is by example and also shows various methods t ......
Configure ORACLE How SSL RAC

Codeforces Round 850 (Div. 2, based on VK Cup 2022 - Final Round) E. Monsters (hard version) 线段树二分

传送门 详细题解传送门 ** 抄的ygg代码,向在这里说一下刚开始没看懂的部分。** ** 求答案的时候是把所有的当前为止的所有数值加起来减去一个从1开始并且公差为1的等差数列的前size项和。其中size是当前最多能用到哪个位置,满足前size项能构成1,2,3,....,sz这样的形式。** * ......
线段 Round Codeforces Monsters version

Crash on AIX produces no core or a truncated core

Crash on AIX produces no core or a truncated core Troubleshooting Problem This document outlines what needs to be done to ensure that a full core file ......
core truncated produces Crash AIX

ts报错:Property '$xxx' does not exist on type

问题 在catch中统一处理异常信息,就想着写到一个函数里面,然后需要用到的地方自行调用就可以。 一般两种方法,要不通过mixin,要不绑定到vue的prototype上面。 这里采用的是后者。 在以前没引入ts之前,是那么简单的一件事情。 // 先绑定 Vue.prototype.$catchRe ......
Property exist 39 does type

Rendering the Whole Wide World on the World Wide Web - Kevin Ring,2013 - Cesium&AGI

Kevin Ring,Analytical Graphics, Inc. December 2, 2013 1. Massive Terrain Rendering(大批量地形渲染) 2. Cesium Platform - Javascript,webgl,web workers,typed ar ......
World Wide Rendering the Cesium

Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported 设置crossOrigin无效

最近在使用图片导出base64 的时候遇到下面的报错 我的代码如下 let myImage = new Image(); myImage.src =imgSrcData; myImage.crossOrigin = 'Anonymous'; 网上查阅资料,都说 给图片设置 crossOrigin 值 ......

使用了enabled_PDBs_on_standby参数后,主库新增pdb后从库的操作

环境:OS:Centos 7DB:12.2.0.1 拓扑:1主1从的 dataguard 1.从库查看参数enabled_PDBs_on_standby SQL> show parameters enabled_PDBs_on_standby NAME TYPE VALUE enabled_PDBs ......

Codeforces Round 625 (Div. 1, based on Technocup 2020 Final Round) A. Journey Planning(dp)

https://codeforces.com/contest/1320/problem/A ###A. Journey Planning 题目大意: 给定一组数,问我们ai-aj==i-j的时候就可以把ai的值加起来,问我们可以凑到的最大总值是多少? input 6 10 7 1 9 10 15 o ......
Round Codeforces Technocup Planning Journey

On PBS

PBS 命令罗列 检查节点任务状态 pbsnodes –a 提交作业 qsub [ script.pbs ] 检查作业状态 qstat -f -x [ job_id ] 删除作业 qdel [ job_id ] -W: waiting time PBS脚本 注释以“#”开头 PBS运行参数以 “#P ......
PBS On

On Anaconda

安装 安装anaconda 离线环境中新增环境 可以直接拷贝base文件夹 卸载 可以直接删除anaconda文件夹,并且删除相应的环境变量 rm rf ~/anaconda3 # delete the anaconda dirvi ~/.bashrc # delete the export var ......
Anaconda On

[Flink] Flink作业报错:Caused by: The connector is trying to read binlog starting at GTIDs ..., but this is no longer available on the server[转载]

这个问题,属于偶现问题。通常几个月才偶现一次。 因为上周五又出现了一次,且团队内多位小伙伴都遇到过。故此,这次特别记录下,以加强印象。 1 问题描述 Flink作业报错:Caused by: The connector is trying to read binlog starting at GTI ......
Flink available connector starting Caused

A Crash Course on the Depths of Win32™ Structured Exception Handling

January 1997 A Crash Course on the Depths of Win32™ Structured Exception Handling At its heart, Win32 structured exception handling is an operating sy ......
Structured Exception Handling Course Depths

Maximum sum on a torus UVA - 10827

求 n×nn×n 的环状方阵上的最大子矩阵和。 构造 2*n *( 2*n) 的正方形 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N=300; int a[N] ......
Maximum 10827 torus sum UVA

2023-04-15-QA-on-friendship

2023-04-15 QA on friendship Datetime: 2023-04-15T07:50+08:00 Categories: Essay Tags: Diary 我很想把这一篇随笔起名为 Dandelion's Promise。 一次参加圆桌会议的笔记与感想,是一些问题和我自己的 ......
QA-on-friendship friendship 2023 04 15

2023-04-14 Fatal error: Call to a member function fetch_assoc() on a non-object in C:\wamp\www\work\user.php on line 860

问题:php报错。 业务场景:使用update语句去更新数据库字段。 原因:update接收值不正确。 原代码: $query = "UPDATE student SET date = now() WHERE id = $id"; $result = $mysqli->query($query2) ......