Programming
文章平均质量分 86
Babyfacer
Don't tell me how educated you are. Tell me how much you have traveled.
展开
-
在Visual C++中怎样获取随机数
Microsoft Visual C++5.0 在VisualC++中怎样获取随机数?不知如何获取指定范围内的随机数?(即实现TurboC中random函数的功能)使用rand函数获得随机数。rand函数返回的随机数在0-RAND_MAX(32767)之间。 例子: #include #include原创 2008-10-13 19:15:00 · 2332 阅读 · 0 评论 -
A Comprehensive Developer's Guide to Payment Card Industry Compliant Web Apps
Original linke: http://cloud.dzone.com/articles/comprehensive-developers-guide by Ken CochraneWhen I first started working at CashStar.com three and a half years ago, I had heard about PCI before, bu转载 2012-03-20 23:27:26 · 3638 阅读 · 0 评论 -
GPU计算的十大质疑——GPU计算再思考
原文链接:http://www.hpcwire.com/hpcwire/2011-06-09/top_10_objections_to_gpu_computing_reconsidered.html作者:Dr. Vincent Natoli, Stone Ridge Technology (http://www.stoneridgetechnology.com/ )译者:陈晓炜(转载请注明出处 h翻译 2011-11-02 14:53:29 · 8960 阅读 · 8 评论 -
Tomcat 7 访问 Manager 和 Host Manager
配置好 Tomcat 7.0 后,在 tomcat-users.xml 中配置用户角色来访问 localhost:8080 的这样三个按钮总出现问题:Server StatusManager AppHost Manager要么是三个都不能访问,要么是只能访问其中一个,或者两个。后来发现是角色没有添加全,特别是针对第三个按钮“Host Manager”其实解决点在这样两个症结上:前两个按钮和mana原创 2011-10-02 01:05:27 · 7603 阅读 · 3 评论 -
Struts2 错误 “No result defined” 与 ActionSupport 类
在学习Struts2时,遇到了“No result defined for ...” 错误。除了大小写,编程等错误外,最常见的一种解决方法是在package里面加上namespace="/"一句。不过我发现其实还有人即使解决了上述所有问题,还是会出现错误,可能是在ActionSupport类。当然这是个很初级的问题。不过就我这种初学者,还是得写下来。未继承ActionSupport时,我用的是这样原创 2011-10-07 11:36:39 · 1980 阅读 · 0 评论 -
MatPlotLib
http://matplotlib.sourceforge.net/examples/pylab_examples/pcolor_demo.html pylab_examples example code: pcolor_demo.py¶[source cod转载 2010-12-03 21:30:00 · 1371 阅读 · 0 评论 -
常用的ASP.net代码
1. 打开新的窗口并传送参数://传送参数:response.write("<script>window.open(*.aspx?id=" +this.DropDownList1.SelectIndex+"&id1="++ ")</script>") //接收参数: string?a?=?Request.QueryString("id");string原创 2008-10-13 01:03:00 · 948 阅读 · 0 评论 -
水晶报表网络资源
No1: 水晶报表官方支持站点 官方站点,就不说了 http://support.businessobjects.com/资源非常之丰富 文档,打包模块,补丁等等 中国支持 http://china.crystaldecisions.comNo2:目前国内最好的水晶报表资源--海波.Net http://blog.csdn.net/haibodo转载 2008-10-13 00:53:00 · 910 阅读 · 0 评论 -
M/M/n stochastic queueing equations in Matlab
<br />转载自:http://128.173.204.63/courses/matlab/matlab_tutorial.html<br /> <br /> <br />Stochastic Queues infq_m.mfinite_queue.mfct.m<br /> <br />这里贴的只是里面的 infq_m.m:<br />Multi-server queue equations with infinite population based on M/M/n stochastic转载 2010-07-31 15:47:00 · 1863 阅读 · 0 评论 -
The Predator-Prey Equation in Matlab
<br />转载自:http://www-users.math.umd.edu/~jmr/246/predprey.html<br /> <br /> <br /> The Predator-Prey EquationContentsOriginal Lotka-Volterra ModelCritical points:Phase PlotPlot of Populations vs. TimeModified Model with "Limits to Growth" for Prey (in Abse转载 2010-07-31 15:43:00 · 2570 阅读 · 0 评论 -
NoSQL对比:Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Membase vs Neo4j
原文自:http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redisCassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Membase vs Neo4jWhile SQL databases are insanely useful tools, their monopoly转载 2012-11-15 16:13:01 · 3286 阅读 · 0 评论