- 错误笔记:DataGrip安装汉化包失败解决方法(Plugin “Chinese (Simplified) Language Pack / 中文语言包“ was not installed: Inva
小王每天都在学习
错误笔记笔记
DataGrip安装汉化包失败解决方法(Plugin“Chinese(Simplified)LanguagePack/中文语言包“wasnotinstalled:Invalidfil)当时想快速地了解和熟悉一下DataGrip,想下载一个汉化版,结果下载失败显示插件“中文(简体)语言包/中文中文”未安装:服务器返回的文件名无效原因插件版本和DataGrip不兼容解决1.进入官网下载Chinese(
- SQL错误笔记:6503
小王每天都在学习
sql数据库
我学习CLR过程中尝试为SQLServer中为第三方dll(在.net中开发)创建一个程序集createassembly[CLRTest]authorizationdbofrom'C:\\xxxx\CLRTest.dll'withpermission_set=unsafe但是执行上述脚本时出现此错误:在SQL目录中找不到程序集“system.web…‘’(错误:6503)解决:填写的程序集路径是普
- Vue-cli初始化项目时候出现一些错误笔记
小钟钟同学
安装:npminstall--globalvue-cliC:\Users\Administrator>
[email protected]:CoffeeScriptonNPMhasmovedto"coeescript"(nohyphen)npmWARNcheckPermissionsMissingwriteac
- leetcode刷题错误笔记(树之前)
风中追风FF
算法
1.简单数据结构1.1数组一二分查找:看题目,数组升序,复杂度logn,想到二分查找。classSolution{publicintsearch(int[]nums,inttarget){//避免当target小于nums[0]nums[nums.length-1]时多次循环运算if(targetnums[nums.length-1]){return-1;}intleft=0,right=nums
- 记录undefined reference to `SSLv3_client_method‘错误笔记
老爸我爱你
笔记服务器linux
libcurl.a(libcurl_la-openssl.o):infunction`ossl_connect_step1':openssl.c:(.text+0x3ca8):undefinedreferenceto`SSLv3_client_method'我个人环境原因:编译选项指定了某个openssl目录,此目录下有libcrypto.alibssl.a解决方法:删除这些-Lxxxx目录编译选
- 诡异错误笔记TypeError: An op outside of the function building code is being passed a "Graph" tensor.
Archer阿茶
TensorFlow2.1tensorflow神经网络机器学习深度学习python
再进行SimpleRNNCell循环神经网络学习过程中发现一个奇怪的bug,错误日志如下:File"C:\Users\Jame_Peng\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_core\python\eager\execute.py",line61,inquick_executenum_outputs
- 错误笔记:JavaWeb:请求的资源[/$%7BpageContext.request.contextPath%7D/login]不可用
(YSY_YSY)
#JavaWeb
项目场景:JavaWeb使用jsp定位Servlet问题描述:类型状态报告消息请求的资源[/$%7BpageContext.request.contextPath%7D/login]不可用描述源服务器未能找到目标资源的表示或者是不愿公开一个已经存在的资源表示。HelloWorld!用户名:密码:原因分析:原因是${}没有解析出来。<%@pageisELIgnored="true|false"%>如
- RDKit 源码编译安装gnina,遇到的错误笔记
LRJ-jonas
笔记笔记
无法访问Google下载Comic_Neue字体如果您希望在编译安装RDKit时使用已经下载好的字体包,您可以将字体包放置在${RDKit_DataDir}/Fonts/目录下。请注意,${RDKit_DataDir}是一个变量,它表示RDKit数据目录的位置。您可以在编译安装RDKit时查看该变量的值。例如,如果您已经下载了ComicNeue-Regular.ttf字体文件,您可以将其放置在${
- 错误笔记(持续更新中)
Liaojiajia-2020
笔记类
错误笔记1.RuntimeError:Expectedobjectofscalartypefloatbutgotscalartype__int64forsequenceelement1.2.TypeError:expectedTensoraselement1inargument0,butgotlist3.RuntimeError:Allinputtensorsmustbeonthesamedevi
- 错误笔记
一个心理咨询师
人在一些时候,可能会被某些想法所局限。根据皮革马利翁效应,即自我实现的预言,就是假如你不断去想糟糕的事情,糟糕的事情就会发生;不断去想愉快的事情,愉快的事情就可能发生。还有一点就是,人会选择性的对周围环境做出反应。身边会发生很多事,但只有一小部分事是能触动你,并让你做出反应的。所以每个人都在塑造着自己的世界。人是被局限的,因为有局限,眼界和视野会有所不及。根据以上内容,我决定今天写错误笔记。目的是
- Python错误笔记:‘NoneType‘ object has no attribute ‘xxx‘的一种解决方法
幸福马上来
pythontkinter错误笔记学习python
近期学习python的gui时发现’NoneType’objecthasnoattribute‘bind’,百度一下发现这个问题造成的原因有很多,简单说就是没找到bind属性后来才发现最好把pack()布局另起一行不要加在组件后面就可以解决c1=Canvas(root,width=200,height=200,bg='green')c1.pack()c1.bind('',mouseTest)又做到
- 第1天-代码随想录刷题训练| 704二分查找、26移除元素
陈大头啊呀
代码随想录刷题训练营leetcode算法数据结构
文章目录1.二分查找704扩展2.移除元素2.1数组理论基础2.2暴力解法2.3双指针解法2.4扩展题1.二分查找704原题链接给定一个n个元素有序的(升序)整型数组nums和一个目标值target,写一个函数搜索nums中的target,如果目标值存在返回下标,否则返回-1。错误笔记:边界条件设置为了right>left,导致只有一个元素的时候会判断错误定义不一样的区间就需要设置不同的边界条件,
- 错误笔记
男神nick
[MT]PluginLoading:Requiredplug-incompatibilityUUIDC80A9C11-3902-4885-944E-A035869BA910forplug-inatpath'~/Library/ApplicationSupport/Developer/Shared/Xcode/Plug-ins/KSHObjcUML.xcplugin'notpresentinDVTP
- 【错误笔记】docker-compose构建失败
Echo_YeZ
背景基于官方的docker-compose文档构建compose服务环境CentOS/7.9x86_64(64bit)Dockerversion1.13.1,build7d71120/1.13.1问题下载compose巨慢无比原因:墙解决:使用国内站点提供的下载地址curl-Lhttps://get.daocloud.io/docker/compose/releases/download/1.25
- python机器学习基础
N:O:N
机器学习python支持向量机
python机器学习基础错误笔记Logistic回归和线性SVM代码报错书本代码importmglearnimportmatplotlib.pyplotaspltfromsklearn.linear_modelimportLogisticRegressionfromsklearn.svmimportLinearSVCX,y=mglearn.datasets.make_forge()fig,axes
- Python错误笔记(一):CUDA initialization: CUDA unknown error - this may be due to an incorrectly set up env
ZZY_dl
pythonubuntuError
错误提示RuntimeError:CUDAunknownerror-thismaybeduetoanincorrectlysetupenvironment,e.g.changingenvvariableCUDA_VISIBLE_DEVICESafterprogramstart.Settingtheavailabledevicestobezero.解决方式1.重启系统2.sudoapt-getins
- PyTorch代码错误笔记一
曹小小
PyTorch
PyTorch代码错误笔记一文章目录PyTorch代码错误笔记一前言1、RuntimeError:stackexpectseachtensortobeequalsize,butgot[1,224,224]atentry0and[3,224,224]atentry322、BrokenPipeError:[Errno32]Brokenpipe3、RuntimeError:CUDAoutofmemory
- 错误笔记
modric710
错误深度学习pytorch机器学习计算机视觉
1.高算平台yolov5模型,更换权重到yolov5x,报错:PytorchStreamReaderfailedreadingziparchive:failedfindingcentraldirectory解决:网上这一种解法不行。最后发现服务器里之前上传的yolov5x比实际的权重文件少零点几M,则原因出在权重文件,重新上传后解决。
- 2018年7月1日+14号 嘿嘿+《原则》-day11+21天阅读写作自律计划
嘿嘿_Luo
生活经历部分(50—100页)把错误看作学习和改进的机会作者讲述了很多自己犯下的错误,从错误中得到的远远大于犯下的错误。为了让自己不再犯同样的错误,他会有一本“错误笔记”错误日记,任何时候出现任何性质的不良结果,都会记录下来,我们采取补救行动。如果事情出了岔子,你必须写入日记,写明其严重程度,并写清楚谁为此负责。如果一个错误发生,写日记你就没事,如果没有写入笔记,你就会有大麻烦。这是他在桥水基金的
- 解决SpringBoot 链接mysql 时出现 0秒后返回数据报错(mysql参数调优,win服务器tcp调优)错误笔记记录
DvilWz
项目笔记感悟javaspringspringboot
在项目部署之后,每次在第二天早上就出现tomcat种SpringBoot项目链接不上数据库0秒后返回数据的错误。重启服务器后就能连上了。(老折磨人了,每天白天上课都要看着服务器,希望别死......)历经磨难终于解决了/(ㄒoㄒ)/~~第一种情况网络链接问题,比如断网,内外网的情况。第二种情况也是网上回答最多的情况在保证能ping同不是网络问题之后。可能会是mysql会将连接池中好久没用的连接断开
- android开发错误笔记
叫我马小帅
整理错误TheAndroidGradlepluginsupportsonlyKotlinGradlepluginversion1.2.51andhigher.Project'项目名'isusingversion1.1.51.解决方式在最外层build.gradle中修改dependencies{classpath"org.jetbrains.kotlin:kotlin-gradle-plugin:
- 错误笔记
null_meng
1.Fragment获取Activity时使用getActivity()方法返回为null避免方法:在onAttach方法里直接获取2开启模拟机时报错AVDNexus_5X_API_24isalreadyrunning.Ifthatisnotthecase,deletethefilesatC:\Users\Administrator\.android\avd/Nexus_5X_API_24.avd
- python编程常见错误笔记
不贰过先生
python
1:python中SyntaxError:Non-ASCII解决方法:[python]viewplaincopyFile"F:\progrem\luna\DeepLearningBasicsMachineLearned\DecisionTree\AllElectronics_1.py",line1SyntaxError:Non-ASCIIcharacter'\xe5'infileF:\progre
- Qt应用和错误笔记
sudy103810
qt
1.qtthisdoesnotseemtobeadebugbuildCom.pro中CONFIG+=qtwarn_offrelease改为CONFIG+=qtwarn_offdebug,Buid->RebuildAll即可。QtCreator->工具->选项->构建套件->手动设置->调试器->编辑->引擎->GDB引擎二进制:P:\Qt\qtcreator-2.8.0\mingw\bin\gdb
- fstream的open方法使用——错误笔记
雪蚊子
VC开发个人错误调试笔记
要从文件中读取数据,但是总是打不开文件。反复调试查看,发现open调用失败,但是文件的目录,是自己获取的绝对目录使用GetModuleFileName(NULL,filepath,sizeof(filepath));方法获取的当前应用程序的目录,在拼接成在即要打开的文件的目录,反复验证后,目录的路径是没有问题的。但是结果就是打不开文件,读取不到自己想要的东西。fstreamfs;fs.open(f
- git(错误笔记)
虎纹鲨鱼吖
git
出错原因当我gitpush的时候报了下面的错误error:failedtopushsomerefsto"xxx@xxxx"这种错误一般是因为远程库和本地库不同步所导致的,比如你刚刚在远程库添加了新的文件但是没有将它同步到本地库,这时候你gitpush便会报错解决方法将远程库和本地库同步:gitpull--rebaseoriginmaster然后再gitpush就OK
- 【Spring错误笔记】自己new出来的bean中被@Autowired注解修饰的属性报空指针异常:java.lang.NullPointException
SnailMann
日常错误
自己new出来的bean中被@Autowired注解修饰的属性报空指针异常异常描述原本我再测试RabbitMQ的发送程序,里面用到了一个AmqpTemplate接口,用了@Autowired注解。但是当我使用AmqpTemplate的convertAndSend()方法时却总报空指针异常:java.lang.NullPointException错误代码修改过的可重现问题代码:@Componentp
- jsp页面中修改html元素内容关于单双引号的错误笔记
coder_小康
JavaWeb
$(document).ready(function(){'+'"+r.getRoleName()+"'"+"+''+"+"'"+r.getDisplayName()+"'+''");//输出若干行代码}Stringhtml=sb.toString().substring(1);%>//$("#rolesList").html('111');//111//$("#rolesList").html(
- 错误笔记
superanters
错误笔记
1,使用strlen()计算需要分配的堆的字符串长度必须记得加一用于结束符。字符串结尾记得加结束符。char*content=pvPortMalloc(strlen(phItem->valuestring)+1);strcpy(content,phItem->valuestring);2,加入一个函数。调试并未运行到此函数。就出现voidHardFault_Handler(void)错误。去掉该函
- 【错误笔记】NDK编译程序运行出现 unused DT entry 错误
追火车
●【问题集】
文章目录一、问题描述二、原因分析1.先看官方对问题给出的一些描述2.总结三、解决方法四、制作android-elf-cleaner工具1.github地址2.编译3.使用五、android系统版本和API对应表一、问题描述NDK版本:ndk16b;使用NDK制作的编译工具链编译出可执行文件后,传到Android中运行的时候,会出现如下的WARNING信息:root@XXX_Device:/data
- js动画html标签(持续更新中)
843977358
htmljs动画mediaopacity
1.jQuery 效果 - animate() 方法 改变 "div" 元素的高度: $(".btn1").click(function(){ $("#box").animate({height:"300px
- springMVC学习笔记
caoyong
springMVC
1、搭建开发环境
a>、添加jar文件,在ioc所需jar包的基础上添加spring-web.jar,spring-webmvc.jar
b>、在web.xml中配置前端控制器
<servlet>
&nbs
- POI中设置Excel单元格格式
107x
poistyle列宽合并单元格自动换行
引用:http://apps.hi.baidu.com/share/detail/17249059
POI中可能会用到一些需要设置EXCEL单元格格式的操作小结:
先获取工作薄对象:
HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet();
HSSFCellStyle setBorder = wb.
- jquery 获取A href 触发js方法的this参数 无效的情况
一炮送你回车库
jquery
html如下:
<td class=\"bord-r-n bord-l-n c-333\">
<a class=\"table-icon edit\" onclick=\"editTrValues(this);\">修改</a>
</td>"
j
- md5
3213213333332132
MD5
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class MDFive {
public static void main(String[] args) {
String md5Str = "cq
- 完全卸载干净Oracle11g
sophia天雪
orale数据库卸载干净清理注册表
完全卸载干净Oracle11g
A、存在OUI卸载工具的情况下:
第一步:停用所有Oracle相关的已启动的服务;
第二步:找到OUI卸载工具:在“开始”菜单中找到“oracle_OraDb11g_home”文件夹中
&
- apache 的access.log 日志文件太大如何解决
darkranger
apache
CustomLog logs/access.log common 此写法导致日志数据一致自增变大。
直接注释上面的语法
#CustomLog logs/access.log common
增加:
CustomLog "|bin/rotatelogs.exe -l logs/access-%Y-%m-d.log 
- Hadoop单机模式环境搭建关键步骤
aijuans
分布式
Hadoop环境需要sshd服务一直开启,故,在服务器上需要按照ssh服务,以Ubuntu Linux为例,按照ssh服务如下:
sudo apt-get install ssh
sudo apt-get install rsync
编辑HADOOP_HOME/conf/hadoop-env.sh文件,将JAVA_HOME设置为Java
- PL/SQL DEVELOPER 使用的一些技巧
atongyeye
javasql
1 记住密码
这是个有争议的功能,因为记住密码会给带来数据安全的问题。 但假如是开发用的库,密码甚至可以和用户名相同,每次输入密码实在没什么意义,可以考虑让PLSQL Developer记住密码。 位置:Tools菜单--Preferences--Oracle--Logon HIstory--Store with password
2 特殊Copy
在SQL Window
- PHP:在对象上动态添加一个新的方法
bardo
方法动态添加闭包
有关在一个对象上动态添加方法,如果你来自Ruby语言或您熟悉这门语言,你已经知道它是什么...... Ruby提供给你一种方式来获得一个instancied对象,并给这个对象添加一个额外的方法。
好!不说Ruby了,让我们来谈谈PHP
PHP未提供一个“标准的方式”做这样的事情,这也是没有核心的一部分...
但无论如何,它并没有说我们不能做这样
- ThreadLocal与线程安全
bijian1013
javajava多线程threadLocal
首先来看一下线程安全问题产生的两个前提条件:
1.数据共享,多个线程访问同样的数据。
2.共享数据是可变的,多个线程对访问的共享数据作出了修改。
实例:
定义一个共享数据:
public static int a = 0;
- Tomcat 架包冲突解决
征客丶
tomcatWeb
环境:
Tomcat 7.0.6
win7 x64
错误表象:【我的冲突的架包是:catalina.jar 与 tomcat-catalina-7.0.61.jar 冲突,不知道其他架包冲突时是不是也报这个错误】
严重: End event threw exception
java.lang.NoSuchMethodException: org.apache.catalina.dep
- 【Scala三】分析Spark源代码总结的Scala语法一
bit1129
scala
Scala语法 1. classOf运算符
Scala中的classOf[T]是一个class对象,等价于Java的T.class,比如classOf[TextInputFormat]等价于TextInputFormat.class
2. 方法默认值
defaultMinPartitions就是一个默认值,类似C++的方法默认值
- java 线程池管理机制
BlueSkator
java线程池管理机制
编辑
Add
Tools
jdk线程池
一、引言
第一:降低资源消耗。通过重复利用已创建的线程降低线程创建和销毁造成的消耗。第二:提高响应速度。当任务到达时,任务可以不需要等到线程创建就能立即执行。第三:提高线程的可管理性。线程是稀缺资源,如果无限制的创建,不仅会消耗系统资源,还会降低系统的稳定性,使用线程池可以进行统一的分配,调优和监控。
- 关于hql中使用本地sql函数的问题(问-答)
BreakingBad
HQL存储函数
转自于:http://www.iteye.com/problems/23775
问:
我在开发过程中,使用hql进行查询(mysql5)使用到了mysql自带的函数find_in_set()这个函数作为匹配字符串的来讲效率非常好,但是我直接把它写在hql语句里面(from ForumMemberInfo fm,ForumArea fa where find_in_set(fm.userId,f
- 读《研磨设计模式》-代码笔记-迭代器模式-Iterator
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.util.Arrays;
import java.util.List;
/**
* Iterator模式提供一种方法顺序访问一个聚合对象中各个元素,而又不暴露该对象内部表示
*
* 个人觉得,为了不暴露该
- 常用SQL
chenjunt3
oraclesqlC++cC#
--NC建库
CREATE TABLESPACE NNC_DATA01 DATAFILE 'E:\oracle\product\10.2.0\oradata\orcl\nnc_data01.dbf' SIZE 500M AUTOEXTEND ON NEXT 50M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K ;
CREATE TABLESPA
- 数学是科学技术的语言
comsci
工作活动领域模型
从小学到大学都在学习数学,从小学开始了解数字的概念和背诵九九表到大学学习复变函数和离散数学,看起来好像掌握了这些数学知识,但是在工作中却很少真正用到这些知识,为什么?
最近在研究一种开源软件-CARROT2的源代码的时候,又一次感觉到数学在计算机技术中的不可动摇的基础作用,CARROT2是一种用于自动语言分类(聚类)的工具性软件,用JAVA语言编写,它
- Linux系统手动安装rzsz 软件包
daizj
linuxszrz
1、下载软件 rzsz-3.34.tar.gz。登录linux,用命令
wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz下载。
2、解压 tar zxvf rzsz-3.34.tar.gz
3、安装 cd rzsz-3.34 ; make posix 。注意:这个软件安装与常规的GNU软件不
- 读源码之:ArrayBlockingQueue
dieslrae
java
ArrayBlockingQueue是concurrent包提供的一个线程安全的队列,由一个数组来保存队列元素.通过
takeIndex和
putIndex来分别记录出队列和入队列的下标,以保证在出队列时
不进行元素移动.
//在出队列或者入队列的时候对takeIndex或者putIndex进行累加,如果已经到了数组末尾就又从0开始,保证数
- C语言学习九枚举的定义和应用
dcj3sjt126com
c
枚举的定义
# include <stdio.h>
enum WeekDay
{
MonDay, TuesDay, WednesDay, ThursDay, FriDay, SaturDay, SunDay
};
int main(void)
{
//int day; //day定义成int类型不合适
enum WeekDay day = Wedne
- Vagrant 三种网络配置详解
dcj3sjt126com
vagrant
Forwarded port
Private network
Public network
Vagrant 中一共有三种网络配置,下面我们将会详解三种网络配置各自优缺点。
端口映射(Forwarded port),顾名思义是指把宿主计算机的端口映射到虚拟机的某一个端口上,访问宿主计算机端口时,请求实际是被转发到虚拟机上指定端口的。Vagrantfile中设定语法为:
c
- 16.性能优化-完结
frank1234
性能优化
性能调优是一个宏大的工程,需要从宏观架构(比如拆分,冗余,读写分离,集群,缓存等), 软件设计(比如多线程并行化,选择合适的数据结构), 数据库设计层面(合理的表设计,汇总表,索引,分区,拆分,冗余等) 以及微观(软件的配置,SQL语句的编写,操作系统配置等)根据软件的应用场景做综合的考虑和权衡,并经验实际测试验证才能达到最优。
性能水很深, 笔者经验尚浅 ,赶脚也就了解了点皮毛而已,我觉得
- Word Search
hcx2013
search
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or ve
- Spring4新特性——Web开发的增强
jinnianshilongnian
springspring mvcspring4
Spring4新特性——泛型限定式依赖注入
Spring4新特性——核心容器的其他改进
Spring4新特性——Web开发的增强
Spring4新特性——集成Bean Validation 1.1(JSR-349)到SpringMVC
Spring4新特性——Groovy Bean定义DSL
Spring4新特性——更好的Java泛型操作API
Spring4新
- CentOS安装配置tengine并设置开机启动
liuxingguome
centos
yum install gcc-c++
yum install pcre pcre-devel
yum install zlib zlib-devel
yum install openssl openssl-devel
Ubuntu上可以这样安装
sudo aptitude install libdmalloc-dev libcurl4-opens
- 第14章 工具函数(上)
onestopweb
函数
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/
- Xelsius 2008 and SAP BW at a glance
blueoxygen
BOXelsius
Xelsius提供了丰富多样的数据连接方式,其中为SAP BW专属提供的是BICS。那么Xelsius的各种连接的优缺点比较以及Xelsius是如何直接连接到BEx Query的呢? 以下Wiki文章应该提供了全面的概览。
http://wiki.sdn.sap.com/wiki/display/BOBJ/Xcelsius+2008+and+SAP+NetWeaver+BW+Co
- oracle表空间相关
tongsh6
oracle
在oracle数据库中,一个用户对应一个表空间,当表空间不足时,可以采用增加表空间的数据文件容量,也可以增加数据文件,方法有如下几种:
1.给表空间增加数据文件
ALTER TABLESPACE "表空间的名字" ADD DATAFILE
'表空间的数据文件路径' SIZE 50M;
&nb
- .Net framework4.0安装失败
yangjuanjava
.netwindows
上午的.net framework 4.0,各种失败,查了好多答案,各种不靠谱,最后终于找到答案了
和Windows Update有关系,给目录名重命名一下再次安装,即安装成功了!
下载地址:http://www.microsoft.com/en-us/download/details.aspx?id=17113
方法:
1.运行cmd,输入net stop WuAuServ
2.点击开