2016-10-16 Meng Lei
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick Start Create a new post bash $ hexo new "My New Post" More info: Writing Run server bash $ hexo server More in 继续阅读 »
2014-09-26 summer
问题 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:", LC_ALL = (unset), LC_PAPER = "zh_CN.UTF-8", LC_ADDRESS = "zh_CN.UTF-8", LC_MONETARY = "zh_CN.UTF-8", LC_NUMERIC = "zh_CN.UTF-8", LC_TELEPHONE = "zh_CN.UTF-8", LC_IDENTIF 继续阅读 »
2016-09-09 MoreFreeze
git
I had shared a precommit here which help you check your code before your commit. If you want to deploy it on test machine even production machine, you may need this. 继续阅读 »
2014-01-31 张炎泼
jobq.py processes serial of input elements with several functions concurrently and sequentially. Check out on github: [jobq][jobq-github]. 继续阅读 »
2013-01-14 Klaus Ma
ACE provides lots of wrapper classes to hide the difference between OS. ACE_Process is one of them to give us an unified operation interface to fork/kill/wait a process. And ACE_Process is also a good example code to show useful function, such as how to check whether a process is alive. 继续阅读 »
2015-06-20 王财勇
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick Start Create a new post bash $ hexo new "My New Post" More info: Writing Run server bash $ hexo server More in 继续阅读 »
2010-03-31 Jamling
对rcp的国际化主要是通过添加插件工程来完成。这一部分可以从网上或者书上找到不少的资料。在这里我主要阐述一下导出的RCP产品如何对使用的 eclipse内容及其它插件的国际化。 举个例子,你创建了一个jface对话框,确定按钮显示的是OK。如果你的rcp依赖于p2,那么检查更新的菜单显示的是Check for Updates。 继续阅读 »
2014-08-04 Kun Ren
pipeR 0.4 is released! Check it out at the project page. In this new version, two things happen. First, %>>% handles everything. Second, the introduction of Pipe object. 继续阅读 »
2016-04-18 blademainer
Why 读ConcurrentHashMap的时候,我们遇到的一个很大的概念就是Segment(java8之后只有在调用writeObject方法的方法的时候才会用到segment),该类继承了ReentrantLock,用于实现分段锁(乐观锁)。处于心痒痒的目的,我也尝试写了个简陋版的分段锁。 How 该Demo实现的比较简单:根据key获取或者创建Lock(获取锁的时候使用double check),然后使用该锁来同步put或者read(ConcurrentHashMap的读操作使用的volatile,这里不深入)。不足之处还请指正~ What java实现: github more ```java package 继续阅读 »
2016-05-04 veryyoung
今天在批量插入数据的时候遇到了奇怪的现象,明明 60 多行数据 id 居然到了 105,搞得我还以为是数据重复插入了呢。 Check 之后才知道,原来是自增 id 不连续。 more Google 一番才知道,这是 Mysql 的优化策略。 继续阅读 »