- 集合: 8:10頃 新宿駅 7番線発(適宜)
- 8:19 新宿駅 電車中央線ホリデー快速おくたま5号特別快速奥多摩行 (1,080円)
- ホリデー快速は自由席、値段も変わらないらしい
- 新宿-->奥多摩(9:54着、10:05発: 2番乗り場)-->池の尻(10:52着)
import plistlib | |
INPUT_FILE = 'PATH_TO' + 'iTunes Music Library.xml' | |
with open(INPUT_FILE, 'rb') as f: | |
xml = plistlib.load(f) | |
tracks = xml["Tracks"] | |
t = {} |
suma@sumac'0[pyvm]$ ./main mytest.pyc [master ~/Dropbox/devs/pyvm][E:0] | |
2016-04-24T14:29:50.644:vm.d:this:50 content.length = 231 | |
2016-04-24T14:29:50.644:vm.d:parse:67 Parsing "mytest.pyc"... | |
2016-04-24T14:29:50.644:vm.d:parse:71 Valid compiled python file (2.7) | |
2016-04-24T14:29:50.645:vm.d:parse:76 File created: 2012-07-17T03:46:58 (timestamp: 1342464418) | |
2016-04-24T14:29:50.645:vm.d:readObject:88 Token = 'c' (99) | |
2016-04-24T14:29:50.645:vm.d:readObject:88 Token = 's' (115) | |
2016-04-24T14:29:50.645:vm.d:readObject:109 string: ddlZdZdZeGdGeGdGeeGHdGej�GHdS | |
2016-04-24T14:29:50.645:vm.d:readObject:88 Token = '(' (40) | |
2016-04-24T14:29:50.645:vm.d:readObject:88 Token = 'i' (105) |
# Mac OS X (Yosemite) | |
$ gcc opencl.c -framework opencl | |
# Linux | |
$ gcc opencl.c -lOpenCL -I/opt/AMDAPPSDK-3.0-0-Beta/include -L/opt/AMDAPPSDK-3.0-0-Beta/lib/x86_64/ |
suma@debian-sid-suma:~/repos/msgpack-rpc-ruby$ rake spec | |
/home/suma/.rbenv/versions/2.2.0/bin/ruby -I/home/suma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-support-3.1.2/lib:/home/suma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/lib /home/suma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb | |
Run options: include {:focus=>true} | |
All examples were filtered out; ignoring {:focus=>true} | |
. | |
An error occurred in an `after(:context)` hook. | |
NoMethodError: undefined method `close' for nil:NilClass | |
occurred at /home/suma/repos/msgpack-rpc-ruby/spec/unit/client_spec.rb:105:in `block (2 levels) in <top (required)>' |
# iperf3 IP over IB | |
[suma@localhost ~]$ iperf3 -c 10.0.0.22 | |
Connecting to host 10.0.0.22, port 5201 | |
[ 4] local 10.0.0.21 port 56066 connected to 10.0.0.22 port 5201 | |
[ ID] Interval Transfer Bandwidth Retr Cwnd | |
[ 4] 0.00-1.00 sec 721 MBytes 6.04 Gbits/sec 50 451 KBytes | |
[ 4] 1.00-2.00 sec 885 MBytes 7.43 Gbits/sec 70 303 KBytes | |
[ 4] 2.00-3.00 sec 859 MBytes 7.21 Gbits/sec 49 298 KBytes | |
[ 4] 3.00-4.00 sec 867 MBytes 7.27 Gbits/sec 49 265 KBytes | |
[ 4] 4.00-5.00 sec 886 MBytes 7.44 Gbits/sec 48 325 KBytes |
suma@obfuscatism:~$ ifconfig | |
eth0 Link encap:Ethernet HWaddr 52:54:09:01:31:89 | |
inet addr:133.242.184.203 Bcast:133.242.185.255 Mask:255.255.254.0 | |
inet6 addr: fe80::5054:9ff:fe01:3189/64 Scope:Link | |
inet6 addr: 2401:2500:102:1113:133:242:184:203/64 Scope:Global | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:73587 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:5146 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:4632759 (4.6 MB) TX bytes:6228102 (6.2 MB) |
diff --git a/jubatus/core/driver/nearest_neighbor_test.cpp b/jubatus/core/driver/nearest_neighbor_test.cpp | |
index 554ed51..00f00bf 100644 | |
--- a/jubatus/core/driver/nearest_neighbor_test.cpp | |
+++ b/jubatus/core/driver/nearest_neighbor_test.cpp | |
@@ -145,10 +145,14 @@ class nearest_neighbor_test | |
: public ::testing::TestWithParam< | |
shared_ptr<core::nearest_neighbor::nearest_neighbor_base> > { | |
protected: | |
- void SetUp() { | |
- nn_driver_ = shared_ptr<core::driver::nearest_neighbor>( |
// push-pull mixer | |
for (candidate in candidates) { | |
// pull from candidate | |
vector<bytes> my_args = self->get_pull_argument(0); | |
vector<bytes> candidate_diff = caondadate->pull(my_args); | |
// pull from me (myself) | |
vector<bytes> candidate_args = candidate->get_pull_argument(); | |
vector<bytes> my_diff = self->pull(candidate_args); |