`
liuwangxia
  • 浏览: 134995 次
  • 性别: Icon_minigender_1
  • 来自: 黄石
社区版块
存档分类
最新评论
文章列表
1) 查杀病毒    a) avast! 5.0 Home Edition简体中文版下载 免费获取注册号    b) Avira AntiVir PersonalEdition Classic (俗称“小红伞”)简体中文版下载    c) clamwin 0.95.3 下载 2) 下载工具    a) Free Download Manager 3.0 build 852 多语言版下载    c) Download Accelerator Plus 8.6 多语言版下载 3) 办公套件/Office文档查看    a) Open Office 3.3.0 简体中文主页(简体中文下载)    ...
PostgreSQL有一个用于高速导入导出数据的COPY命令,使用JDBC可以调用,但是在Hibernate中调用要麻烦一些,这是Hibernate4.1下用c3p0连接池时的调用方法: public CopyManager getCopyManager() throw Exception { final SessionImpl s = (SessionImpl)getSession(); //获取Hibernate Session 实例 final Connection connection = s.getTransactionCoordinator().getJdbcCoord ...
2010年做了一个精简版的PostgreSQL 8.4.4,依照文档推荐的方法用VC 2005编译,但是编译出来的结果运行不够稳定,pg_dump和pg_restore都异常退出,提示内存不能为READ。 改用MinGW和GCC 4.5编译后,问题解决。 现在 PostgreSQL 9.1.3 出来了,MinGW 也出了 GCC 4.6.2 版本,发现 GCC 4.6.2 编译速度要快的多,大约10多分钟就完成,记得以前用 GCC 4.5 编译 PostgreSQL 8.4.4 花了几个小时。 以下是详细步骤: 1)安装MinGW 到这里下载最新版本的mingw-get.exe,解压缩到 ...
PostgreSQL不支持一字节的 tinyint 整数,幸好它的扩展能力很强大,有人做了个 tinyint: tinyint-postgresql 有了这个例子也许可以做一个3字节的整数,用于在某些场合下精简数据库。
用于Java的RPC不少,比如RMI,Hessian,Spring带的HTTP invoker等等,个人感觉都不尽人意:RMI使用起来比较麻烦,太重量级了,且不能通过HTTP来调用;Hessian效率不够高;HTTP invoker的客户端要依赖Spring库。 最近新发现一个轻量级的RPC库叫做BRAP(Binary Remoting and Authentication Protocol),客户端不需要依赖Spring库。BRAP用的是Java本身的序列化机制,也没有压缩和加密功 能。kryo是个高效的Java序列化库,kryonet是一个基于kryo的RPC库,使用TCP和UDP通讯,目 ...
请访问本文的更新版用MinGW编译PostgreSQL的详细方法 最近在做一个精简的PostgreSQL版本,依照文档推荐的方法用VC 2005编译,但是编译出来的结果运行不够稳定,pg_dump和pg_restore都异常退出,提示内存不能为READ。 改用MinGW和GCC 4.5编译后,问题解决。
MaiTai是一款设计互动艺术画的开源工具。点击这里启动MaiTai MaiTai是用JavaFX开发的,关注JavaFX的一定不要错过。 引用What is MaiTai? MaiTai is an open source tool for building interactive artwork. You create interesting sketches by wiring different blocks together with lines. There are blocks to produce graphics, process mouse and keyboard in ...
使用JavaFX Production Suite设计界面的教训: 1)不用Photoshop,因为最后导出的FXZ文件基本是由PNG图像组成,在JavaFX中无利用价值。 2)要用矢量图形设计工具设计,可以插入位图,生成的FXZ文件很方便在JavaFX中利用。 3)矢量图形设计工具可用Illustrator,直接导出FXZ格式;也可用Inkscape和Karbon保存为SVG格式,然后用SVG2FX工具转换成FXZ。 鉴于Illustrator没有Linux版本且价格不菲,推荐大家用Inkscape,有兴趣的也可试试Karbon。
In the EffectsPlayground sample in javafx.com, there is a function saveImage(node:Node, file:java.io.File), but it does not work in JavaFX 1.2, because the internal implementation details was changed. I write a new function that works in JavaFX 1.2: import com.sun.javafx.geom.Bounds2D; import com. ...
The following tip is based on Weiqi Gao's original post on JavaFX 1.0 On Linux: NetBeans Plugin and my post JavaFX 1.1 On Linux: NetBeans Plugin Howto. The method outlined in these posts do not work with JavaFX 1.1.1. First you will need to install JDK 1.6 update 10 or above and NetBeans 6.5.1     * ...
将Windows XP从主分区移动到逻辑分区,再装Linux,却进不了Windows。 Grub项是Debian自动生成的: root (hd0,4) makedefault makeactive chainloader +1 Grub报错:Error 12:Invalid device requested 修改Grub项为: root (hd0,5) chainloader +1 引导程序报错:NTLDR is missing 检查NTLDR,NTDETECT.COM,BOOT.INI三个文件都正常,只好重装Windows XP。因为有三个主分区都是Linux分区,另外两个逻辑分区 ...
1) JVM language, can call any other jar library. 2) Bind and Trigger. 3) Static type and type inference. 4) GUI DSL(Domain Specific Langugae), I don't like XML. 5) Thread, there is no thread support in Action Script and Javascript. 6) Color management. Java support Color management from 1.4. Flash 9 ...
0) You should install JDK 1.6 update 12 and NetBeans 6.5 first. 1) goto http://dlc.sun.com.edgesuite.net/netbeans/updates/6.5/uc/final/stable/patch2/javafx2/, download all nbm files except the org-netbeans-modules-javafx-sdk-win.nbm file. 2)  extract the org-netbeans-modules-javafx-sdk-mac.nbm file ...
学设计模式时的有个小发现,今天记录下来: 创建模式 5 个, 结构模式 7 个, 行为模式 11 个, 每个都是素数,并且这三个还是连续的素数,它们的和是23,也是个素数。 参考:求100以内的是连续三个素数和,本身也为素数的数
想在Eclipse调试Maven Web项目,发现有比Debugging with the Maven Jetty Plugin in Eclipse(在Eclipse中调试Maven项目)更简单的方法,就是用m2eclipse。步骤如下: 1)安装 m2eclipse 插件,插件更新地址:http://m2eclipse.sonatype.org/update/ 2)点“Debug Configurations...”菜单,新建一个“Maven Build”,输入“Base directory”,在“Goals”中输入jetty:run -Djetty.port=8080
Global site tag (gtag.js) - Google Analytics