本地MySQL环境,是两台MySQL做M-M复制。今天发现错误信息:mysql 5.5.28-log> show slave status\G *************************** 1. row *************************** Slave_IO_State....
分类:
数据库 时间:
2015-06-05 12:08:25
阅读次数:
669
This morning when I do apt-get update on my new Ubuntu 14.04 server, I got these error messages:Reading package lists… Done W: GPG error: http://secur...
分类:
系统相关 时间:
2015-06-05 11:55:46
阅读次数:
324
如果在一个Tomcat Server上会部署多个Web应用,又希望这多个Web应用共用一套错误页面,而不是使用默认的错误页面。就需要自定义错误页面了。 在每个web应用中都可以通过error-page来配置错误页面。但是多个Web应用时,要在每个应用的web.xml中都配置一个错误页面,就显得...
分类:
移动开发 时间:
2015-06-05 11:41:29
阅读次数:
213
openstack swift container server的进程经常莫名其妙进入 D Ds等状态记录一下这个时候 storage.error的log 便于分析一种情形是下面这种logJun 3 16:46:03 host207 container-server: ERROR __call__....
分类:
编程语言 时间:
2015-06-05 11:37:25
阅读次数:
250
C:\Users\zpc\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC 增加环境变量: SET VS90COMNTOOLS=C:\Users\zpc\AppData\Local\Programs\Common...
分类:
编程语言 时间:
2015-06-05 08:48:27
阅读次数:
1938
Cocos2d-x示例提供了三种内置的网咯通信类HttpClient,WebSocket,SocketIO。其中第一个是简单的HTTP协议的使用,提供很多Http请求方式。剩下的Socket*是针对类Socket连接的方式,不提供应用协议封装,所以测试的时候大部分都是Error出现,但是应该比较适合...
分类:
其他好文 时间:
2015-06-05 00:11:29
阅读次数:
280
解决方法:1。 改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改称"%"mysql -uroot -p123456>us...
分类:
数据库 时间:
2015-06-05 00:02:31
阅读次数:
303
MySQL Error “There can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT clause” even though I‘m doing nothing wrong http://jasonbos.co/two-timestamp-columns-in-mysql/ 这是一个非常常...
分类:
数据库 时间:
2015-06-04 22:58:40
阅读次数:
668
#include#include#include#define ERROR 0#define Stack_Init_Size 100#define StackIncerMent 10#define OK 1using namespace std;typedef struct { int *ba...
分类:
其他好文 时间:
2015-06-04 22:40:50
阅读次数:
141
#Gradient Descent 梯度下降法#x为数据矩阵(mxn m:样本数 n:特征数 );y观测值(mx1);error相邻两次迭代的最大误差;#step为设定的固定步长;maxiter最大迭代次数,alpha,beta为回溯下降法的参数# 在直接设置固定的step时,不宜设置的过大,当步长...
分类:
其他好文 时间:
2015-06-04 21:01:28
阅读次数:
229