love in
一些想法(in 2023.7.22)
# 一些想法 #### _第一篇blog。虽然有博客好久了,但是一直懒得动笔,第一篇,写一些另类的东西。_ #### - 今天晚上散步回来,被一只小奶狗撞见了。深夜旁边没有人,它应该也是才被遗弃的,不分人就直接跟着人又追又跑。从大马路上一直追到旁边城市绿化公共区域深处。虽然很小心,但是我的脚还是夹了 ......
How to Restore ASM Based OCR when OCR backup is located in ASM diskgroup? (Doc ID 2569847.1)
In this Document Goal Solution References APPLIES TO: Oracle Database - Enterprise Edition - Version 12.2.0.1 and later Information in this document a ......
ERROR in [eslint]
第一步:打开vue.config.js,然后在后面添加 lintOnSave: false 第二步:再次运行 npm run serve就可以了 ......
/tmp/ccVJLYWf.s:589: Error: selected processor does not support `cpsid i' in ARM mode 解决办法
linux20@ubuntu:~/Desktop/new$ arm-none-eabi-gcc -c ec_main.c /tmp/ccVJLYWf.s: Assembler messages:/tmp/ccVJLYWf.s:589: Error: selected processor does n ......
Python的OCR工具pytesseract解决TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information环境变量问题
pytesseract是基于Python的OCR工具, 底层使用的是Google的Tesseract-OCR 引擎,支持识别图片中的文字,支持jpeg, png, gif, bmp, tiff等图片格式。 如何安装使用请看我的上一篇。 在使用pytesseract打开图片是遇到没有找到文件解决pyt ......
Authentication in asp.net core异常汇总
services.AddAuthentication("Microsoft") .AddMicrosoftIdentityWebApp(Configuration,"AzureAd","Microsoft"); InvalidOperationException: No sign-out authe ......
what is the embeddings in AI?
What are embeddings? Text embeddings are a natural language processing (NLP) technique that converts text into numerical vectors. Embeddings capture s ......
c# - "Too many characters in character literal error"
https://www.coder.work/article/232348 我在处理一段代码时遇到错误: Too many characters in character literal error 使用 C# 和 switch 语句遍历字符串缓冲区并读取标记,但在这一行中出现错误: case '& ......
SyntaxError: Expected property name or ‘}‘ in JsoN atposition 1
1、在代码中通过JSON.parse()进行转换,发现如下图所示报错了。其实主要原因是单引号和双引号引起的问题。如果转义的字符串进行了赋值,那么上面一层代码会多了一层的转义。这里加2个JSON.parse()是因为,第一次转换的时候还是个字符串。我们要在json字符串前后手动加上双引号,然后在进行J ......
LeetCode 438. Find All Anagrams in a String 滑动窗口
Given two strings `s` and `p`, return an array of all the start indices of `p`'s anagrams in s. You may return the answer in any order. An Anagram is ......
java中tomcat 加载动态库XXX.dll报错“java.lang.UnsatisfiedLinkError: already loaded in another classloader”[supermap java iobject + iserver war]
错误: 在Tomcat 和supermap iserver 中使用了相同的supermap java iobject 【四个jar 包】,实际的访问过程如下: 这时候在访问Tomcat的时候,就会出现一个错误: an exception caught at Environment.loadLibra ......
Codeforces 1329E - Dreamoon Loves AA
思考下什么样的 $l,r$ 是合法的:显然对于一组长度为 $len$ 的空隙,要使得相邻两个 A 之间的距离在 $[l,r]$ 中,你新插入的 A 的个数应该位于 $[\lceil\dfrac{len}{r}\rceil-1,\lfloor\dfrac{len}{l}\rfloor-1]$ 中。因此 ......
Zbox loves stack
# Zbox loves stack ## 题意 有 $n$ 个栈,$q$ 次操作,$3$ 种操作。 1.$[l,r]$ 之间的栈全部加入一个数 $k$。 2.$[l,r]$ 之间的栈全部弹出栈顶。 3.第 $s$ 个栈中的第 $k$ 个元素,栈顶为第一个元素,没有则输出 `Error`。 $n \ ......
数字孪生in电力终端:高效虚拟环境实现测试“左移”
电力资源是现代社会发展必不可少的清洁型可再生资源,在清洁性、高效性、便捷性和适用性等方面优于传统化石能源,是如期实现2030年前碳达峰、2060年前碳中和的“双碳”目标的关键。2006至2019年前,电力行业累计为全社会减少了约159.4亿吨的碳排放,是终端能源消费中最有增长潜力的能源品种。 电力 ......
在cmd中使用pip命令出现报错Fatal error in launcher: Unable to create process using
1. 我找到了之前安装python的安装包,进行了修复 2. 然后在cmd中输入了where pip 看看是否有重复的pip路径 发现没有 3. 重新尝试打开cmd后输入命令 问题就解决了 ......
what is the retrievers in LangChain?
see: Retrievers | 🦜️🔗 Langchain https://blog.langchain.dev/retrieval/ 按文档说的Retriever就是一个接口,可以把和query相关的文档都查询出来,而vectorDB是否成retriever的关键组件之一。 ......
TypeScript中的keyof和in
## keyof使用 keyof操作符接受一个对象类型作为参数,返回该对象属性名组成的字面量联合 ```ts type Dog = { name: string; age: number; }; type D = keyof Dog; //type D = "name" | "age" ``` 可以 ......
Go:Missing type in composite literal
在使用含字符串数组的结构体时,我出现了以下问题 1 package main 2 3 import "github.com/gin-gonic/gin" 4 5 type MyJson struct { 6 Functions []string `json:"functions"` 7 Desc s ......
Measuring and Narrowing the Compositionality Gap in Language Models
[TOC] > [Press O., Zhang M., Min S., Schmidt L., Smith N. A. and Lewis M. Measuring and narrowing the compositionality gap in language models. arXiv p ......
Kingbase8: was aborted: ERROR: sorry, too many global temporary relations in backend already. Call getNextException to see other errors in the batch.
==额....今天踩了一个坑,找个半天找到的解决方法== 设置一个会话内最多允许的全局临时表数据和索引的最大文件数量,默认值为32,最小值为1,最大值为1024。这个文件数量并不是实际磁盘看到的文件数目,而是一些依附于这个表的扩展关系文件,比如索引、大对象等。一般情况下,一个全局临时表只会占用参数中 ......
C# 使用EPPlus 操作excel The given key '8' was not present in the dictionary.
使用EPPlus 删除excel中某一个sheet中的几列的时候,出现了The given key '8' was not present in the dictionary.的报错; 最开始的写法,是从前往后删除,出现错误//ExcelWorksheet sheet = package.Workb ......
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 1023: unexpected end of data
Connected to pydev debugger (build 213.6461.77)Traceback (most recent call last): File "PyCharm Community Edition 2021.3.1\plugins\python-ce\helpers\p ......
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
[TOC] > [Wei J., Wang X., Schuurmans D., Bosma M., Ichter B., Xia F., Chi E. H., Le Q. V. and Zhou D. Chain-of-thought prompting elicits reasoning in ......
安装 MySQL for Windows 时报错 The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' tab. 解决方法
今天在安装 MySQL for Windows 时报错 ```txt The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' ......
文献阅读——A Problem Meta-Data Library for Research in SAT
A Problem Meta-Data Library for Research in SAT •Published: March 15, 2019 Markus Iser and Carsten Sinz Abstract Experimental data and benchmarks play ......
CF1034E Little C Loves 3 III
太神仙了。 直接子集卷积肯定是不行的,1s 的时限和 62MB 的空间摆在那里。 那就要考虑使用模 $4$ 的性质乱搞了。 我们考虑给每个 $i$,不管它符不符合条件,赋一个权值。如果 $i\ \text{and}\ j\neq 0$,它对答案是没有贡献的,否则它能贡献到 $i\ \text{or} ......
解决PHP Warning: putenv() has been disabled for security reasons in phar:
在使用composer的时候报一下错误,这是因为php禁用了putenv() 函数 PHP Warning: putenv() has been disabled for security reasons in phar:///usr/bin/composer/vendor/composer/xde ......
You can’t specify target table ‘aaa′ for update in FROM clause
You can’t specify target table ‘aaa′ for update in FROM clause 使用MySQL 执行DELETE FROM时,若子查询的 FROM 子句和更新/删除对象使用同一张表,会出现错误。 针对“同一张表”这个限制,撇开效率不谈,多数情况下都可以通 ......