窗口未显示,控件未生成。所以如果在OnSize中使用了GetDlgItem, 要注意返回是否为空指针。似乎在64位Win7上,程序会吞下这个异常,而在32位Win7,程序将会在启动时崩溃。
在Ubuntu 14.04 64bit 上装 ns-3.23
首先准备环境
1 |
sudo apt-get install gcc g++ python python-dev qt4-dev-tools mercurial bzr cmake libc6-dev libc6-dev-i386 g++-multilib gdb valgrind gsl-bin libgsl0-dev libgsl0ldbl flex bison libfl-dev tcpdump sqlite sqlite3 libsqlite3-dev libxml2 libxml2-dev libgtk2.0-0 libgtk2.0-dev vtun lxc libboost-signals-dev libboost-filesystem-dev |
然后Build
1 |
./build.py --enable-examples --enable-tests |
然后(可选)waf设置参数
1 |
./waf clean |
上面这句话会清空前面的生成
1 |
./waf --build-profile=optimized --enable-examples --enable-tests configure |
配置生成,以生成optimized的,带有examples和tests的ns-3
1 |
./waf |
生成。
比urandom快到不知道那里去的覆盖磁盘用随机数生成器
1 |
openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" < /dev/zero > clean |
去掉了-nosalt
NTP service available
Hostname: chl.la
IP: 2600:3c01::f03c:91ff:fec8:5c8
IP: 45.79.111.114
Ref:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
remote refid st t when poll reach delay offset jitter ============================================================================== #time-a.nist.gov .ACTS. 1 u 518 512 377 66.067 2.221 0.230 #time-b.nist.gov .ACTS. 1 u 468 512 377 65.989 4.897 0.171 #time-c.nist.gov .ACTS. 1 u 459 512 377 66.044 2.313 0.228 #time-d.nist.gov .ACTS. 1 u 149 512 377 66.132 3.036 2.318 #wsip-98-175-203 .NIST. 1 u 292 512 377 83.113 1.924 3.410 #nist.netservice .ACTS. 1 u 170 512 377 60.518 1.510 1.998 -nisttime.carson .ACTS. 1 u 470 512 377 60.339 1.052 0.423 #nist1-lnk.binar .ACTS. 1 u 161 512 377 56.069 1.510 0.118 +time-a.timefreq .ACTS. 1 u 430 512 377 28.742 0.291 0.221 +time-b.timefreq .ACTS. 1 u 497 512 377 28.864 0.282 0.228 -time-c.timefreq .ACTS. 1 u 474 512 377 28.885 0.070 0.144 -host-24-56-178- .ACTS. 1 u 468 512 377 33.903 1.083 0.298 -india.colorado. .NIST. 1 u 326 512 377 29.766 0.493 0.144 +utcnist2.colora .ACTS. 1 u 162 512 377 29.636 0.365 0.161 #198.60.73.8 .ACTS. 1 u 17 512 377 28.779 -2.130 0.172 #131.107.13.100 .ACTS. 1 u 522 512 377 19.277 8.688 1.174 #nist-time-serve .ACTS. 1 u 170 512 377 31.424 -4.676 0.113 *clock.sjc.he.ne .CDMA. 1 u 152 512 377 0.451 0.272 0.188 -clock.fmt.he.ne .CDMA. 1 u 73 512 377 0.540 0.267 0.162 -clock.nyc.he.ne .CDMA. 1 u 184 512 377 67.834 -0.257 0.180 |
More Info
http://www.pool.ntp.org/scores/2600:3c01::f03c:91ff:fec8:5c8
http://www.pool.ntp.org/scores/45.79.111.114
数据库丢了
Linode的上级帐号被封,旧主机也受牵连。
然而当时备份只备份了php(什么用都没有)….
现在手动恢复一些post吧
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!