随笔分类 - [22]代码阅读
摘要:烦透了闭包。目前在修改一个项目,该项目的原始代码中使用了大量的闭包。一个套一个,甚至套了三四层,那函数啊,那局部变量啊,叫一个多啊,那执行流程啊,叫一个乱啊。 下面是个draw函数,730行,把它的结构提取出来,有下面的树: draw 15变量 ...
阅读全文
摘要:越南信息和通讯部发布一项行政管理规定,在政府机构增加使用自由开源软件产品,包括后台和桌面。 根据新规定,到2009年6月30日,100%的政府服务器必须运行Linux;到2009年底,70%的机构必须使用OpenOffice.org、 Mozilla Firefox和Mozilla Thunderbird。100%的IT部门员工要接受使用这些软件的训练,至少50%的人要精通。到2010年12月31...
阅读全文
摘要:新项目,数据量仅在10万数量级。比较了半天sqlite和db4o,最后选用db4o。好用好用,太好用了,太太太太……好用了!
阅读全文
摘要:(1) BlenderBlender is the open source software for 3D modeling, animation, rendering, post-production, interactive creation and playback. Available for all major operating systems under the GNU Genera...
阅读全文
摘要:StringTrmplate:StringTemplate is a java template engine (with ports for C# and Python) for generating source code, web pages, emails, or any other formatted text output. StringTemplate is particularly...
阅读全文
摘要:Project name: Pentaho - Business IntelligenceDate founded/started: June 2005URL: http://www.pentaho.org/Project page: http://sourceforge.net/projects/pentahoDescription of projectThe Pentaho BI Projec...
阅读全文
摘要:1,HLA(1)标准IEEE 1516(2)书籍《计算机仿真中的HLA技术》,[美] Frederick Kuhi, Richard Weatherly, Judith Dahmann,付红军,王用红 译,戴绍强 审(3)开源rti实现。jaRTI(http://sourceforge.net/projects/jarti):The Open Source HLA RTI that love bu...
阅读全文
摘要:sswf http://sswf.sourceforge.net/The SSWF project includes several utilities to work on Flash movies. The main one is certainly the library which enables a programmer to easilly create an SWF file. Th...
阅读全文
摘要:ODE is an open source, high performance library for simulating rigid body dynamics. It is fully featured, stable, mature and platform independent with an easy to use C/C++ API. It has advanced joint t...
阅读全文
摘要:版本:geoserver1.3a找呀找呀,才发现是geotools的问题,其shapefile读取模块不能选择dbf文件的编码.解决方案如下:(1) 网上给的方案shapefile optional parametersDbaseFileReader vs non-ISO-8859-1 charsets(2)用excel编辑dbf文件,把中文去掉,嘿嘿,比较损(3)shp->postgis,...
阅读全文
摘要:实践出真知。提高技术的关键是作出一些东西。看起来有用,看起来伟大的产品都是你我能做出来的。 偶结合自己近来的一些想法,提出几个项目,供大家参考讨论。感兴趣的一起探讨探讨。有时间的兄弟姐妹们可以尝试写一写。 这些项目有这些特点:(1)有用;(2)可行;(3)有意思;(4)做好了都能作大;(5)适合.net开发;(6)可出名(开源)或可卖钱(不开源);(7)和asp.net无关; 一...
阅读全文
摘要:主页:http://www.ogre3d.org/以下内容来自www.ogre3d.org: OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented,flexible 3D engine written in C++ designed to make it easier and moreintuitive for...
阅读全文
摘要:今天成功用ikvm将开源java gis中间件geotools转换到.net上。详细操作见我的blog文章:将java库转换为.net库
阅读全文
摘要:(1)EventSinks--接收Events(2)Rules(3)Resources
阅读全文
摘要:(1)Tasks--引擎调度,网页解析应该都是通过Tasks实现的(2)CoreEvents 与 CoreEvents' Visitor--一些核心Event和一个Agent(3)JSpiderEvents 与 JSpiderEvents' visitors--扩展JSpider最需要了解这一块。JSpider提供了3种Visitor,对于特定的应用,需要扩展现有Visitor或者实现自己的Vis...
阅读全文
摘要:(本系列文章主要是阅读笔记,描述偶的阅读过程,看起来可能比较杂乱,缺乏逻辑性--等偶把JSpider弄明白后会出修改版的。:P JSpider有数万行代码,又没有开发手册,只能瞎子摸象般的看了)JSpider用户手册里面有这样一张结构图:结合代码,可以看出JSpider大概组成如下:(1)JSpider的核心:装载插件,获取配置信息,初始化调度器。机制比较复杂,具体的代码没细看。(2)Dispa...
阅读全文
摘要:从名字可以看出,JSpider是一个用Java实现的Web Spider。JSpider官方网站这样说的: JSpider is: • A highly configurable and customizable Web Spider engine. • Developed under the LGPL Open Source license • In 100% pure Jav...
阅读全文
摘要:运行: 1,下载jspider-0.5.0-dev.zip,解压缩. 2,开始->运行->cmd,进入命令行窗口,进入jspider-0.5.0-dev/bin目录 3, 试着抓取网站http: //j-spider.sourceforge.net的内容: jspider http: //j-spider.sourceforge.net >> out.txt 可以看见屏幕上显示: J...
阅读全文
摘要:今天将一个20多M的shp文件倒进PostgreSql数据库,然后用JUMP打开,JUMP上显示的内存占用在60M的时候出现错误:内存不足。改用udig,就能够顺利的打开,打开后性能还很不错。恩,以后就用它了。
阅读全文