C++,python,热爱算法和机器学习
全部博文(1214)
发布时间:2016-06-22 16:19:03
原文地址:http://www.qmailer.net/archives/251.html1在Python程序内部,通常使用的字符串为unicode编码,这样的字符串字符是一种内存编码格式,如果将这些数据存储到文件或是记录日志的时候,就需要将unicode编码的字符串转换为特定字符集的存储编码格式,比如:UTF-8、GBK等.........【阅读全文】
发布时间:2016-06-21 21:01:11
vi /etc/redis/redis.confmaxclients 65000tcp-backlog 65536timeout 120tcp-keepalive 60vi /etc/security/limits.conf * soft nofile 65536* hard nofile 65536vi /etc/sysctl.confvm.overcommit_memory = 1vm.swappiness = 0net.core.somaxconn = 60000net.ipv4.tcp_window_scaling = 1net.ipv4.t.........【阅读全文】
发布时间:2016-06-21 10:11:08
原文地址:http://shokunin.co/blog/2014/11/11/operational_redis.htmlRedis is mostly single threaded application. To ensure that redis is not running on the same CPU as those handling any network traffic, it is highly recommended that RPS is enabled.Redhat has a detailed.........【阅读全文】
发布时间:2016-06-20 21:08:32
原文地址:http://coolnull.com/2842.html# netstat -an|grep 6380|wc -l 4602# ps -ef|grep redis root 23427 21683 0 19:08 pts/0 00:00:00 grep redisroot 31886 1 0 11:30 ? 00:00:00 /usr/local/bin/redis-server /data/redis/6379/redis6379.conf# cat /proc/31886/limits Limit Soft Limit Hard Limit Units Ma.........【阅读全文】
发布时间:2016-06-20 09:13:46
sudo apt-get install gitgit clone https://gitlab.com/ocserv/ocserv.gitsudo apt-get install libgnutls28-dev libev-dev libwrap0-dev libpam0g-dev liblz4-dev libseccomp-dev libreadline-dev libnl-route-3-dev libkrb5-dev liboath-devsudo apt-get install autoconf libprotobuf-c0-dev libtalloc-dev libh.........【阅读全文】
chinaunix网友2009-10-12 16:19
你好,你在Google Code上放的sg2fcitx的mainme.c源代码我下载编译会出现段错误。请问你的编译环境是什么?GCC版本是多少? 谢谢。