- 浏览: 10251 次
- 性别:
- 来自: 北京
最新评论
文章列表
sudo apt-get build-dep erlang
Redis内存存储结构分析 http://www.searchtb.com/2011/05/redis-storage.html
Redis内存使用优化与存储 http://www.infoq.com/cn/articles/tq-redis-memory-usage-optimization-storage
Redis复制与可扩展集群搭建 http://www.infoq.com/cn/articles/tq-redis-copy-build-scalable-cluster
发现google code上的一个项目
使用erlang的ssh client和erlang进程来管理数量巨大的服务器组
地址:
http://code.google.com/p/erlyssh
今天查找怎么使用rebar来编译支持HiPE的native代码。
发现http://erlang.2086793.n4.nabble.com/NIF-HiPE-can-it-works-together-td3577967.html
说的是nif和HiPE的native代码的兼容性问题
总的来说HiPE的兼容性还不太好。
在hipe中如果想使用nif的代码最好是不要使用native的选项来编译nif的接口导出模块。
需要将两部分的代码分开进行编译。
另外rebar中
在rebar.config中进行如下配置就能进行
{erl_opts, [
native
...
查看gcc的优化选项
- 博客分类:
- gcc
gcc -c -Q -O3 --help=optimizers | grep enabled
10.10默认安装将会把中文区域设置为zh_CN.utf8,而GVim能识别的中文区域设置为zh_CN.UTF-8。因此GVim会在启动时报错,且无法正常加载中文菜单。
使用如下方法解决
cd /usr/share/vim/vim72/langsudo ln -s menu_zh_cn.utf-8.vim menu_zh_cn.utf8.vim
在rebar使用 构建系统时,可以手动创建一个rebar.config的文件,通过这个文件可以对rebar进行配置。
这个文件中有两个参数比较重要
%% Where to put any downloaded depandencies. Default is `deps'
在哪里存放从网络上下载的依赖applic ...
发现kdevelop4很好用
升级方法
sudo add-apt-repository ppa:kubuntu-ppa/backports
以上是设置kde4.4.1的更新源
sudo add-apt-repository ppa:kubuntu-ppa/beta
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install kdevelop
转载一篇关于如何临时处理大量time_wait socket的方法
- 2009-12-07 15:58
- 浏览 700
- 评论(0)