ujs 也挺好用的 http://ruby-china.org/topics/12306
Dash
准备中秋骑马自骑 (420km/24h),跟我的小伙伴们霸王跟
⚒ ~ ping ruby-china.org
PING ruby-china.org (122.226.207.19): 56 data bytes
64 bytes from 122.226.207.19: icmp_seq=0 ttl=52 time=15.803 ms
64 bytes from 122.226.207.19: icmp_seq=1 ttl=52 time=15.951 ms
64 bytes from 122.226.207.19: icmp_seq=2 ttl=52 time=15.981 ms
64 bytes from 122.226.207.19: icmp_seq=3 ttl=52 time=15.874 ms
64 bytes from 122.226.207.19: icmp_seq=4 ttl=52 time=15.848 ms
64 bytes from 122.226.207.19: icmp_seq=5 ttl=52 time=16.487 ms
64 bytes from 122.226.207.19: icmp_seq=6 ttl=52 time=15.626 ms
64 bytes from 122.226.207.19: icmp_seq=7 ttl=52 time=16.047 ms
64 bytes from 122.226.207.19: icmp_seq=8 ttl=52 time=15.615 ms
64 bytes from 122.226.207.19: icmp_seq=9 ttl=52 time=26.171 ms
64 bytes from 122.226.207.19: icmp_seq=10 ttl=52 time=13.331 ms
64 bytes from 122.226.207.19: icmp_seq=11 ttl=52 time=15.811 ms
64 bytes from 122.226.207.19: icmp_seq=12 ttl=52 time=15.935 ms
64 bytes from 122.226.207.19: icmp_seq=13 ttl=52 time=16.101 ms
64 bytes from 122.226.207.19: icmp_seq=14 ttl=52 time=19.287 ms
64 bytes from 122.226.207.19: icmp_seq=15 ttl=52 time=14.183 ms
Request timeout for icmp_seq 16
64 bytes from 122.226.207.19: icmp_seq=17 ttl=52 time=17.158 ms
64 bytes from 122.226.207.19: icmp_seq=18 ttl=52 time=13.380 ms
64 bytes from 122.226.207.19: icmp_seq=19 ttl=52 time=15.943 ms
64 bytes from 122.226.207.19: icmp_seq=20 ttl=52 time=16.564 ms
64 bytes from 122.226.207.19: icmp_seq=21 ttl=52 time=16.040 ms
64 bytes from 122.226.207.19: icmp_seq=22 ttl=52 time=13.804 ms
64 bytes from 122.226.207.19: icmp_seq=23 ttl=52 time=15.506 ms
64 bytes from 122.226.207.19: icmp_seq=24 ttl=52 time=15.899 ms
64 bytes from 122.226.207.19: icmp_seq=25 ttl=52 time=14.552 ms
Request timeout for icmp_seq 26
64 bytes from 122.226.207.19: icmp_seq=27 ttl=52 time=16.654 ms
Request timeout for icmp_seq 28
Request timeout for icmp_seq 29
64 bytes from 122.226.207.19: icmp_seq=30 ttl=52 time=18.593 ms
64 bytes from 122.226.207.19: icmp_seq=31 ttl=52 time=13.245 ms
64 bytes from 122.226.207.19: icmp_seq=32 ttl=52 time=15.636 ms
^C
--- ruby-china.org ping statistics ---
33 packets transmitted, 29 packets received, 12.1% packet loss
round-trip min/avg/max/stddev = 13.245/16.104/26.171/2.316 ms
上海电信 10M 光纤
#94 楼 @aisensiy http://www.zhihu.com/question/20755144
综合考虑后,我的选择是: RPi 作为家居中央控制服务器,负责与互联网的通信、采样存储 Arduino 上报的状态数据、处理数据量大的工作(如音频、视频、图片相关)、提供 API 给 iOS 及 Android 以方便用手机控制家居。RPi 与 Arduino 间通过以太网和 Zigbee 进行数据传输。
Arduino 负责家居传感器采样,如光线强度、温度、人体红外感应等。有的模块比较独立,比如人体感应的夜间走廊灯,单个 Arduino 可以自己实现监控加控制,就不需要上报数据给 RPi 了。需要上报和接收数据的 Arduino,通过 Zigbee 及以太网和 RPi 进行通信。
这样的好处就是投资小,而且把计算任务都放在了 RPi 上,算是物尽其用。
https://github.com/ruby-china/ruby-china/blob/master/app/models/user.rb line 92: scope :hot, desc(:replies_count, :topics_count)
无薪不欢
周末准备跟朋友骑车,从张江到滴水湖往返
下一行:Command + Enter 上一行:Shift + Command + Enter
在 github.io 上弄一个 demo 页面
#11 楼 @blacktulip 费点时间很值,因为我可不想把赚的钱都投资在临终前两个月的医药费上
#20 楼 @knwang #21 楼 @cisolarix 损伤膝盖那是因为跑的姿势不对、或鞋很烂、或刚开始运动量过大、或没有热身...
#18 楼 @xmonkeycn 从骑上车就没抽烟了,那个时候还没结婚 当你真正喜欢上跑步或骑车后,自然而然你就会把烟戒,要不然心肺功能是提不上去的
#17 楼 @luikore 我觉得测心率,步速一定要借助专业一点的设备,iPhone 应用不靠谱,我是在迪卡侬¥199 买了一套心率带 (手表 + 胸带) 平时可以当手表用,跑步时带上测试胸带即可 传送 http://detail.tmall.com/item.htm?id=9200155893
每天骑车上下班 12KM,晚上拉练 40KM 每周二至三次,周末一次 150+KM 长距离拉练 现在腰不酸了,背不疼了,烟也戒了,肩膀也不硬了
我来沷冷水,12000 的话我会去选择 13'RMBP 2.6GHz 双核 Intel Core i5 处理器 8GB 内存 256GB SSD
#2 楼 @nickelchen 你不觉得 mdeditor 太慢了么,滑屏滚动也不顺畅