上一页 1 ··· 130 131 132 133 134 135 136 137 138 ··· 425 下一页
摘要: 最近公司购买了Style intelligence 出的BI报表工具,接触新的东西不是很容易上手,这个东西是别的项目组用的,我们项目组由于进度比较快就让我先到他们项目组帮他们,为了使用这个东西,他们已经培训了两次,进行了了一个月的摸索,我对这个东西没啥了解,幸好他们已经总结了一些经验,以免我走一些弯路。1、首先要配置数据源,就是将数据库的URL等配置配到数据源中,使用query做了一个Demo后,又使用model做了一个Demo,两者的差别在于,query使用方便,但需要多表关联时就显得麻烦了,而model则在这时显得很方便了,将多张表的一个或多个字段组合起来,像视图一样。2、对于分数的显示上 阅读全文
posted @ 2013-07-12 19:32 坚固66 阅读(240) 评论(0) 推荐(0)
摘要: memcache研究最近开发了一个数据库,该数据库是利用共享内存做的,测试了下增删改查的性能,想与memcached数据库做个对比,故研究下memcached。那什么是memcached?memcached是一个高性能,分布式的内存缓存服务器,通过内存的数据访问来降低对数据库的访问,从而提高动态内容应用网站的速度。memcached的特征:(1)基于C/S架构,协议简单;(2)基于libevent的事件处理;使用libevent进行网络并发连接的处理,能够保持在很大并发情况下,保持快速的相应能力。(3)内置内存存储方式;数据存储方式使用SlabAllocation,数据过期方式采用:LazyE 阅读全文
posted @ 2013-07-12 19:30 坚固66 阅读(203) 评论(0) 推荐(0)
摘要: 我们把OpenGL里模型的三维坐标往二维坐标的转化称为投影,则屏幕上的二维坐标往三维坐标转化则可以称为反投影,下面我们来介绍一下反投影的方法。主要是gluUnProject函数的使用,下面是代码:void screen2GLPoint(){ int x = xCord; /* 屏幕坐标 */ int y = yCord; GLint viewport[4]; GLdouble mvmatrix[16], projmatrix[16]; GLfloat winx, winy, winz; GLdouble posx, posy, posz; glPushMatrix(); //glScal... 阅读全文
posted @ 2013-07-12 19:28 坚固66 阅读(669) 评论(0) 推荐(0)
摘要: 1 tomcat/webapps/目录下创建web应用mail。 目录结构如下 tomcat/webapps | mail | WEB-INF | | web.xml classes | cn.itcast.java.web.servlet.MyServlet.class 2 tomcat/webapps/mail/目录下写一个类MyServlet实现Servlet接口。 3 进入cmd命令台,加入servlet-api.jar[tomcat中有]支持 set classpath=%classpath%;D:\ap... 阅读全文
posted @ 2013-07-12 19:27 坚固66 阅读(208) 评论(0) 推荐(0)
摘要: 聚类算法是一类非监督学习算法,在有监督学习中,学习的目标是要在两类样本中找出他们的分界,训练数据是给定标签的,要么属于正类要么属于负类。而非监督学习,它的目的是在一个没有标签的数据集中找出这个数据集的结构把它自动聚成两类或者多类。 本讲主要介绍了最常用了一种聚类算法--K-means聚类算法。如果将数据集分成两类,即k=2,K-means算法过程如下: 1、首先任意选取两个不同的样本作为两类样本的中心 2、K-means算法有两部,第一步cluster assignment step,遍历所有样本点,计算出每个样本点离两个中心的距离(这个距离不一定是欧几里得距离,根据不同需要... 阅读全文
posted @ 2013-07-12 19:25 坚固66 阅读(391) 评论(0) 推荐(0)
摘要: ****************************************************************因为发在中华英才和智联招聘没有人采我所以我在这里发布我的个人简历希望有公司能给我机会对啦这是我第一次写简历,应该有很多高手麻烦你们提些意见使劲批评,越厉害越好,越刻薄越好 -_-!!****************************************************************陈福林一年以上工作经验|男|24岁居住地:武汉电 话:13419595163(手机)E-mail:fulinux@sina.com博客:http://... 阅读全文
posted @ 2013-07-12 19:23 坚固66 阅读(439) 评论(0) 推荐(0)
摘要: A. Ciel and Dancingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel and her friends are in a dancing room. There arenboys andmgirls here, and they never danced before. There will be some songs, during each song, there must be exactly one b 阅读全文
posted @ 2013-07-12 19:21 坚固66 阅读(285) 评论(0) 推荐(0)
摘要: #include #include #include int main(){ using namespace std; int num_case; cin >> num_case; while (num_case--) { int lenght, n; cin >> lenght >> n; int *pos = new int [n]; int i(0); for (i = 0; i > pos[i]; } int minT(0); for (i = 0; i < n; ++i) { minT = max(minT, min(pos[i], l 阅读全文
posted @ 2013-07-12 19:19 坚固66 阅读(186) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=128简单说下思路:从字符串最右端开始扫描,遇到数字则入栈,遇到运算符则弹出两个元素计算后再入栈,知道最后栈中最后一个元素就是最后表达式的值。字符串的处理比较繁琐。充分利用库函数 。#include #include #include #include #include #include #include #include #include using namespace std;int main(){ stack s; string ex; while(getline(cin,ex)) 阅读全文
posted @ 2013-07-12 19:17 坚固66 阅读(205) 评论(0) 推荐(0)
摘要: 继续上次的spring服务的问题,这边介绍一种spring配置客户端的方法。1、src目录下新建client-beans.xml文件 --> 2、客户端调用类:ClientSpringpackage demo.cxf.helloworld.client;import org.springframework.context.support.ClassPathXmlApplicationContext;import demo.cxf.helloworld.HelloWorld;public class ClientSpring { public static void m... 阅读全文
posted @ 2013-07-12 19:15 坚固66 阅读(361) 评论(0) 推荐(0)
上一页 1 ··· 130 131 132 133 134 135 136 137 138 ··· 425 下一页