http://m.baidu.com/news?fr=mohome&ssid=0&uid=&pu=sz%401320_2001%2Cta%40iphone_1_7.1_3_537&bd_page_type=1#page/info%3A互联网/http%3A%2F%2Fwww.huxiu.com%2Farticle%2F114327%2F1.html/深挖BAT内部级别和薪资待遇,你敢看?%20/虎嗅网/1430894729000/12489789468531375681
个人感言
越是看起来与我们背景接近的人取得成就越是会对身边的人产生一种不平衡感。
CXXNET安装
环境:ubuntu 14.04, cuda 6.5
先安装cuda-toolkit, cuda-cublas, cudart, cuda-curand这四个安装包
cuda_6.5.14_linux_64.run
cuda-cublas-6-5_6.5-14_amd64.deb
cuda-cudart-6-5_6.5-14_amd64.deb
cuda-curand-6-5_6.5-14_amd64.deb
下载路径:http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/
安装 OpenCV
sudo apt-get install libopencv-2.4
配置环境变量
vi ~/.bashrc
export CUDA_HOME=/usr/local/cuda-6.5
export PATH=$CUDA_HOME/bin:$PATH
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:/usr/local/lib:$LD_LIBRARY_PATH
export CPLUS_INCLUDE_PATH=/usr/local/cuda/include
下载一份cxxnet
git clone https://github.com/dmlc/cxxnet.git
切换至目录 cd cxxnet
拷贝一份配置到当前目录 cp make/config.mk .
修改 vi config.mk
USE_CUDA = 1
USE_BLAS = blas
USE_DIST_PS = 1
USE_OPENMP_ITER = 1
编辑 vi Makefile, 修改如下:
CFLAGS += -g -O3 -I./mshadow/ -fPIC $(MSHADOW_CFLAGS) -fopenmp -I/usr/local/cuda/include
LDFLAGS = -pthread $(MSHADOW_LDFLAGS) -L/usr/local/cuda/lib64
最后编译文件
./build.sh
unable to correct problems you have held broken packages
OS: Ubuntu 14.04
When installing a ubuntu desktop KDE, some error like “unable to correct problems you have held broken packages” happen. So I finally found the problm is the package python3-software-properties is too new and can’t be compatible with the kde package. The soluation is follling:
sudo apt-get remove python3-software-properties
sudo apt-get install python3-software-properties=0.92.36
Ubuntu 14.04 install oracle JDK
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
在百度的最后一天
今天(2015-03-13)是办理离职流程的最后一天。归还公司的资产,到财务结清工资并拿离职证明。过程还比较顺利。感觉有些轻松又有些伤感。从2012年9月入职到现在离开,时间过的可真快。有成长,有郁闷,有辛酸,现在真有些不是滋味。或许以后还会再回来,不知道。人生有几个三年,来回折腾人生。有些老了,或许不够壮志,但路要走得稳。希望自己在新单位发展如意!
Kaldi站点更新
原网站地址是: http://kaldi.sourceforge.net/
后来更改为: http://kaldi-asr.org/ https://github.com/danpovey/kaldi-asr
sudo: luarocks: command not found
sudo: luarocks: command not found
solutition:
$ sudo -s
root@hq:~# luarocks install cutorch
luarocks安装–Failed loading manifest
使用luarocks安装lunit,出现下面报错:
jerry@ubuntu:~$ sudo luarocks install lunit
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/torc h/rocks/master – Failed downloading https://raw.githubusercontent.com/torch/rocks/master/manifest
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rock s-moonscript-org/moonrocks-mirror/master – Failed downloading https://raw.githubusercontent.com/rocks-m oonscript-org/moonrocks-mirror/master/manifest
Error: No results matching query were found.
经查发现https://raw.githubusercontent.com/torch/rocks/master/manifest这个地址无法连接。只好切换另一个服务器了
方法1:
sudo luarocks install –verbose –only-server=http://rocks.moonscript.org lunit
方法2:
jerry@ubuntu:~$ mkdir ~/.cache/luarocks/https___rocks.moonscript.org
jerry@ubuntu:~$ sudo wget https://rocks.moonscript.org/manifest-5.1 -O ~/.cache/luarocks/https___rocks.moonscript.org/manifest-5.1
查看端口是否占用
环境 :CentOS
[root@sandbox ~]# lsof -i:80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
httpd 1118 root 4u IPv6 9178 0t0 TCP *:http (LISTEN)
httpd 1255 apache 4u IPv6 9178 0t0 TCP *:http (LISTEN)
httpd 1256 apache 4u IPv6 9178 0t0 TCP *:http (LISTEN)
httpd 1257 apache 4u IPv6 9178 0t0 TCP *:http (LISTEN)
httpd 1258 apache 4u IPv6 9178 0t0 TCP *:http (LISTEN)
httpd 1259 apache 4u IPv6 9178 0t0 TCP *:http (LISTEN)
httpd 1260 apache 4u IPv6 9178 0t0 TCP *:http (LISTEN)
httpd 1261 apache 4u IPv6 9178 0t0 TCP *:http (LISTEN)
httpd 1262 apache 4u IPv6 9178 0t0 TCP *:http (LISTEN)