Install Issue using Node 0.12.2 & Node-Gyp 1.0.3

There is an issue installing node-inotify after having upgraded it's dependencies. Here is the error log:
aaa@ubuntu:~/node_modules/node-inotify$ node-gyp clean
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp info ok
aaa@ubuntu:~/node_modules/node-inotify$ node-gyp configure
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/aaa/node_modules/inotify/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/aaa/.node-gyp/0.12.2/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/aaa/.node-gyp/0.12.2',
gyp info spawn args   '-Dmodule_root_dir=/home/aaa/node_modules/inotify',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok
aaa@ubuntu:~/node_modules/inotify$ node-gyp build
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory /home/aaa/node_modules/inotify/build'   CXX(target) Release/obj.target/inotify/src/bindings.o In file included from ../src/bindings.cc:2:0: ../src/bindings.h:16:44: error: ‘Arguments’ does not name a type              static Handle<Value> New(const Arguments& args);                                             ^ ../src/bindings.h:16:55: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]              static Handle<Value> New(const Arguments& args);                                                        ^ ../src/bindings.h:17:49: error: ‘Arguments’ does not name a type              static Handle<Value> AddWatch(const Arguments& args);                                                  ^ ../src/bindings.h:17:60: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]              static Handle<Value> AddWatch(const Arguments& args);                                                             ^ ../src/bindings.h:18:52: error: ‘Arguments’ does not name a type              static Handle<Value> RemoveWatch(const Arguments& args);                                                     ^ ../src/bindings.h:18:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]              static Handle<Value> RemoveWatch(const Arguments& args);                                                                ^ ../src/bindings.h:19:46: error: ‘Arguments’ does not name a type              static Handle<Value> Close(const Arguments& args);                                               ^ ../src/bindings.h:19:57: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]              static Handle<Value> Close(const Arguments& args);                                                          ^ ../src/bindings.h:21:52: error: ‘AccessorInfo’ does not name a type                                               const AccessorInfo& info);                                                     ^ ../src/bindings.h:21:66: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]                                               const AccessorInfo& info);                                                                   ^ ../src/bindings.h:24:13: error: ‘uv_poll_t’ does not name a type              uv_poll_t* read_watcher;              ^ ../src/bindings.h:28:34: error: ‘uv_poll_t’ has not been declared              static void Callback(uv_poll_t* watcher, int status, int revents);                                   ^ ../src/bindings.h:29:41: error: ‘uv_handle_t’ has not been declared              static void on_handle_close(uv_handle_t* handle);                                          ^ ../src/bindings.cc: In static member function ‘static void NodeInotify::Inotify::Initialize(v8::Handle<v8::Object>)’: ../src/bindings.cc:21:71: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’          Local<FunctionTemplate> t = FunctionTemplate::New(Inotify::New);                                                                        ^ ../src/bindings.cc:21:71: note: candidate is: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)    static Local<FunctionTemplate> New(                                   ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../src/bindings.cc:26:56: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&)’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]                                        Inotify::AddWatch);                                                         ^ In file included from ../src/node_inotify.h:5:0,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/src/node.h:244:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Handle<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Handle<v8::FunctionTemplate> recv,              ^ ../src/bindings.cc:28:59: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&)’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]                                        Inotify::RemoveWatch);                                                            ^ In file included from ../src/node_inotify.h:5:0,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/src/node.h:244:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Handle<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Handle<v8::FunctionTemplate> recv,              ^ ../src/bindings.cc:30:53: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&)’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]                                        Inotify::Close);                                                      ^ In file included from ../src/node_inotify.h:5:0,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/src/node.h:244:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Handle<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Handle<v8::FunctionTemplate> recv,              ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:33:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_ACCESS); //File was accessed (read)          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:34:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_ATTRIB); //Metadata changed, e.g., permissions, timestamps,          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:37:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_CLOSE_WRITE); //File opened for writing was closed          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:38:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_CLOSE_NOWRITE); //File not opened for writing was closed          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:39:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_CREATE); //File/directory created in watched directory          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:40:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_DELETE); //File/directory deleted from watched directory          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:41:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_DELETE_SELF); //Watched file/directory was itself deleted          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:42:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_MODIFY); //File was modified          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:43:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_MOVE_SELF); //Watched file/directory was itself moved          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:44:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_MOVED_FROM); //File moved out of watched directory          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:45:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_MOVED_TO); //File moved into watched directory          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:46:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_OPEN); //File was opened          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:47:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_IGNORED); // Watch was removed explicitly (inotify.watch.rm) or          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:50:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_ISDIR); //Subject of this event is a directory          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:51:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_Q_OVERFLOW); //Event queue overflowed (wd is -1 for this event)          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:52:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_UNMOUNT); //File system containing watched object was unmounted          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:53:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_ALL_EVENTS);          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:55:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_ONLYDIR); // Only watch the path if it is a directory.          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:56:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_DONT_FOLLOW); // Do not follow a sym link          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:57:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_ONESHOT); // Only send event once          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:58:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_MASK_ADD); //Add (OR) events to watch mask for this pathname if it          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:61:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_CLOSE); // (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE)  Close          ^ /home/aaa/.node-gyp/0.12.2/src/node.h:222:15: error: ‘class v8::FunctionTemplate’ has no member named ‘ForceSet’      (target)->ForceSet(constant_name, constant_value, constant_attributes);   \                ^ ../src/bindings.cc:62:9: note: in expansion of macro ‘NODE_DEFINE_CONSTANT’          NODE_DEFINE_CONSTANT(t, IN_MOVE);  //  (IN_MOVED_FROM | IN_MOVED_TO)  Moves          ^ ../src/bindings.cc:64:46: error: ‘NODE_PSYMBOL’ was not declared in this scope          path_sym        = NODE_PSYMBOL("path");                                               ^ ../src/bindings.cc:75:72: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Persistent<v8::String>&, v8::Handle<v8::Value> (&)(v8::Local<v8::String>, const int&))’          object_tmpl->SetAccessor(persistent_sym, Inotify::GetPersistent);                                                                         ^ ../src/bindings.cc:75:72: note: candidate is: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:3579:8: note: void v8::ObjectTemplate::SetAccessor(v8::Handle<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Handle<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Handle<v8::AccessorSignature>)    void SetAccessor(Handle<String> name,         ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:3579:8: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::String>’ ../src/bindings.cc:77:25: error: ‘NewSymbol’ is not a member of ‘v8::String’          t->SetClassName(String::NewSymbol("Inotify"));                          ^ ../src/bindings.cc:78:21: error: ‘NewSymbol’ is not a member of ‘v8::String’          target->Set(String::NewSymbol("Inotify"), t->GetFunction());                      ^ ../src/bindings.cc: In constructor ‘NodeInotify::Inotify::Inotify()’: ../src/bindings.cc:83:9: error: ‘read_watcher’ was not declared in this scope          read_watcher = new uv_poll_t;          ^ ../src/bindings.cc:83:28: error: expected type-specifier before ‘uv_poll_t’          read_watcher = new uv_poll_t;                             ^ ../src/bindings.cc:83:28: error: expected ‘;’ before ‘uv_poll_t’ ../src/bindings.cc: In constructor ‘NodeInotify::Inotify::Inotify(bool)’: ../src/bindings.cc:91:9: error: ‘read_watcher’ was not declared in this scope          read_watcher = new uv_poll_t;          ^ ../src/bindings.cc:91:28: error: expected type-specifier before ‘uv_poll_t’          read_watcher = new uv_poll_t;                             ^ ../src/bindings.cc:91:28: error: expected ‘;’ before ‘uv_poll_t’ ../src/bindings.cc: In destructor ‘virtual NodeInotify::Inotify::~Inotify()’: ../src/bindings.cc:101:21: error: ‘uv_handle_t’ was not declared in this scope              uv_ref((uv_handle_t *) read_watcher);                      ^ ../src/bindings.cc:101:34: error: expected primary-expression before ‘)’ token              uv_ref((uv_handle_t *) read_watcher);                                   ^ ../src/bindings.cc:101:48: error: ‘uv_ref’ was not declared in this scope              uv_ref((uv_handle_t *) read_watcher);                                                 ^ ../src/bindings.cc: At global scope: ../src/bindings.cc:112:38: error: ‘Arguments’ does not name a type      Handle<Value> Inotify::New(const Arguments& args) {                                       ^ ../src/bindings.cc:112:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]      Handle<Value> Inotify::New(const Arguments& args) {                                                  ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> NodeInotify::Inotify::New(const int&)’: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected    V8_INLINE HandleScope() {}              ^ ../src/bindings.cc:113:21: error: within this context          HandleScope scope;                      ^ ../src/bindings.cc:116:17: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’          if(args.Length() == 1 && args[0]->IsBoolean()) {                  ^ ../src/bindings.cc:116:40: error: invalid types ‘const int[int]’ for array subscript          if(args.Length() == 1 && args[0]->IsBoolean()) {                                         ^ ../src/bindings.cc:117:41: error: invalid types ‘const int[int]’ for array subscript              inotify = new Inotify(args[0]->IsTrue());                                          ^ ../src/bindings.cc:125:28: error: ‘New’ is not a member of ‘v8::String’              ThrowException(String::New(strerror(errno)));                             ^ ../src/bindings.cc:125:56: error: ‘ThrowException’ was not declared in this scope              ThrowException(String::New(strerror(errno)));                                                         ^ ../src/bindings.cc:126:25: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’              return Null();                          ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:306:28: note: declared here    friend Handle<Primitive> Null(Isolate* isolate);                             ^ ../src/bindings.cc:138:38: error: ‘uv_default_loop’ was not declared in this scope          uv_poll_init(uv_default_loop(), inotify->read_watcher, inotify->fd);                                       ^ ../src/bindings.cc:138:50: error: ‘class NodeInotify::Inotify’ has no member named ‘read_watcher’          uv_poll_init(uv_default_loop(), inotify->read_watcher, inotify->fd);                                                   ^ ../src/bindings.cc:138:75: error: ‘uv_poll_init’ was not declared in this scope          uv_poll_init(uv_default_loop(), inotify->read_watcher, inotify->fd);                                                                            ^ ../src/bindings.cc:139:32: error: ‘class NodeInotify::Inotify’ has no member named ‘read_watcher’          uv_poll_start(inotify->read_watcher, UV_READABLE, Inotify::Callback);                                  ^ ../src/bindings.cc:139:46: error: ‘UV_READABLE’ was not declared in this scope          uv_poll_start(inotify->read_watcher, UV_READABLE, Inotify::Callback);                                                ^ ../src/bindings.cc:139:76: error: ‘uv_poll_start’ was not declared in this scope          uv_poll_start(inotify->read_watcher, UV_READABLE, Inotify::Callback);                                                                              ^ ../src/bindings.cc:142:34: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’          Local<Object> obj = args.This();                                   ^ ../src/bindings.cc:147:23: error: ‘uv_handle_t’ was not declared in this scope              uv_unref((uv_handle_t *) inotify->read_watcher);                        ^ ../src/bindings.cc:147:36: error: expected primary-expression before ‘)’ token              uv_unref((uv_handle_t *) inotify->read_watcher);                                     ^ ../src/bindings.cc:147:59: error: ‘uv_unref’ was not declared in this scope              uv_unref((uv_handle_t *) inotify->read_watcher);                                                            ^ ../src/bindings.cc:156:22: error: ‘class v8::HandleScope’ has no member named ‘Close’          return scope.Close(obj);                       ^ ../src/bindings.cc: At global scope: ../src/bindings.cc:159:43: error: ‘Arguments’ does not name a type      Handle<Value> Inotify::AddWatch(const Arguments& args) {                                            ^ ../src/bindings.cc:159:54: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]      Handle<Value> Inotify::AddWatch(const Arguments& args) {                                                       ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> NodeInotify::Inotify::AddWatch(const int&)’: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected    V8_INLINE HandleScope() {}              ^ ../src/bindings.cc:160:21: error: within this context          HandleScope scope;                      ^ ../src/bindings.cc:164:17: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’          if(args.Length() < 1 || !args[0]->IsObject()) {                  ^ ../src/bindings.cc:164:40: error: invalid types ‘const int[int]’ for array subscript          if(args.Length() < 1 || !args[0]->IsObject()) {                                         ^ ../src/bindings.cc:166:13: error: ‘New’ is not a member of ‘v8::String’              String::New("You must specify an object as first argument")));              ^ ../src/bindings.cc:166:73: error: ‘ThrowException’ was not declared in this scope              String::New("You must specify an object as first argument")));                                                                          ^ ../src/bindings.cc:169:37: error: invalid types ‘const int[int]’ for array subscript          Local<Object> args_ = args[0]->ToObject();                                      ^ ../src/bindings.cc:171:32: error: no matching function for call to ‘v8::Object::Has(v8::Persistent<v8::String>&)’          if(!args_->Has(path_sym)) {                                 ^ ../src/bindings.cc:171:32: note: candidates are: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2144:8: note: bool v8::Object::Has(v8::Handle<v8::Value>)    bool Has(Handle<Value> key);         ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2144:8: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::Value>’ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2152:8: note: bool v8::Object::Has(uint32_t)    bool Has(uint32_t index);         ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2152:8: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘uint32_t {aka unsigned int}’ ../src/bindings.cc:173:13: error: ‘New’ is not a member of ‘v8::String’              String::New("You must specify a path to watch for events")));              ^ ../src/bindings.cc:173:72: error: ‘ThrowException’ was not declared in this scope              String::New("You must specify a path to watch for events")));                                                                         ^ ../src/bindings.cc:176:36: error: no matching function for call to ‘v8::Object::Has(v8::Persistent<v8::String>&)’          if(!args_->Has(callback_sym) ||                                     ^ ../src/bindings.cc:176:36: note: candidates are: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2144:8: note: bool v8::Object::Has(v8::Handle<v8::Value>)    bool Has(Handle<Value> key);         ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2144:8: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::Value>’ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2152:8: note: bool v8::Object::Has(uint32_t)    bool Has(uint32_t index);         ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2152:8: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘uint32_t {aka unsigned int}’ ../src/bindings.cc:177:37: error: no matching function for call to ‘v8::Object::Get(v8::Persistent<v8::String>&)’              !args_->Get(callback_sym)->IsFunction()) {                                      ^ ../src/bindings.cc:177:37: note: candidates are: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note: v8::Local<v8::Value> v8::Object::Get(v8::Handle<v8::Value>)    Local<Value> Get(Handle<Value> key);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::Value>’ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note: v8::Local<v8::Value> v8::Object::Get(uint32_t)    Local<Value> Get(uint32_t index);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘uint32_t {aka unsigned int}’ ../src/bindings.cc:179:13: error: ‘New’ is not a member of ‘v8::String’              String::New("You must specify a callback function")));              ^ ../src/bindings.cc:179:65: error: ‘ThrowException’ was not declared in this scope              String::New("You must specify a callback function")));                                                                  ^ ../src/bindings.cc:182:37: error: no matching function for call to ‘v8::Object::Has(v8::Persistent<v8::String>&)’          if(!args_->Has(watch_for_sym)) {                                      ^ ../src/bindings.cc:182:37: note: candidates are: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2144:8: note: bool v8::Object::Has(v8::Handle<v8::Value>)    bool Has(Handle<Value> key);         ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2144:8: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::Value>’ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2152:8: note: bool v8::Object::Has(uint32_t)    bool Has(uint32_t index);         ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2152:8: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘uint32_t {aka unsigned int}’ ../src/bindings.cc:185:41: error: no matching function for call to ‘v8::Object::Get(v8::Persistent<v8::String>&)’              if(!args_->Get(watch_for_sym)->IsInt32()) {                                          ^ ../src/bindings.cc:185:41: note: candidates are: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note: v8::Local<v8::Value> v8::Object::Get(v8::Handle<v8::Value>)    Local<Value> Get(Handle<Value> key);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::Value>’ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note: v8::Local<v8::Value> v8::Object::Get(uint32_t)    Local<Value> Get(uint32_t index);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘uint32_t {aka unsigned int}’ ../src/bindings.cc:187:17: error: ‘New’ is not a member of ‘v8::String’                  String::New("You must specify OR'ed set of events")));                  ^ ../src/bindings.cc:187:69: error: ‘ThrowException’ was not declared in this scope                  String::New("You must specify OR'ed set of events")));                                                                      ^ ../src/bindings.cc:189:45: error: no matching function for call to ‘v8::Object::Get(v8::Persistent<v8::String>&)’              mask |= args_->Get(watch_for_sym)->Int32Value();                                              ^ ../src/bindings.cc:189:45: note: candidates are: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note: v8::Local<v8::Value> v8::Object::Get(v8::Handle<v8::Value>)    Local<Value> Get(Handle<Value> key);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::Value>’ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note: v8::Local<v8::Value> v8::Object::Get(uint32_t)    Local<Value> Get(uint32_t index);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘uint32_t {aka unsigned int}’ ../src/bindings.cc:192:17: error: ‘New’ is not a member of ‘v8::String’                  String::New("You must specify OR'ed set of events")));                  ^ ../src/bindings.cc:192:69: error: ‘ThrowException’ was not declared in this scope                  String::New("You must specify OR'ed set of events")));                                                                      ^ ../src/bindings.cc:196:51: error: no matching function for call to ‘v8::Object::Get(v8::Persistent<v8::String>&)’          String::Utf8Value path(args_->Get(path_sym));                                                    ^ ../src/bindings.cc:196:51: note: candidates are: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note: v8::Local<v8::Value> v8::Object::Get(v8::Handle<v8::Value>)    Local<Value> Get(Handle<Value> key);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::Value>’ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note: v8::Local<v8::Value> v8::Object::Get(uint32_t)    Local<Value> Get(uint32_t index);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘uint32_t {aka unsigned int}’ ../src/bindings.cc:198:61: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’          Inotify *inotify = ObjectWrap::Unwrap<Inotify>(args.This());                                                              ^ ../src/bindings.cc:203:66: error: no matching function for call to ‘v8::Integer::New(int&)’          Local<Integer> descriptor = Integer::New(watch_descriptor);                                                                   ^ ../src/bindings.cc:203:66: note: candidate is: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)    static Local<Integer> New(Isolate* isolate, int32_t value);                          ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided In file included from ../src/node_inotify.h:6:0,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/src/node_object_wrap.h:132:30: error: ‘v8::Persistent<v8::Object> node::ObjectWrap::handle_’ is private    v8::Persistent<v8::Object> handle_;                               ^ ../src/bindings.cc:206:18: error: within this context          inotify->handle_->Set(descriptor, args_->Get(callback_sym));                   ^ ../src/bindings.cc:206:25: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’          inotify->handle_->Set(descriptor, args_->Get(callback_sym));                          ^ ../src/bindings.cc:206:66: error: no matching function for call to ‘v8::Object::Get(v8::Persistent<v8::String>&)’          inotify->handle_->Set(descriptor, args_->Get(callback_sym));                                                                   ^ ../src/bindings.cc:206:66: note: candidates are: In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note: v8::Local<v8::Value> v8::Object::Get(v8::Handle<v8::Value>)    Local<Value> Get(Handle<Value> key);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2128:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘v8::Handle<v8::Value>’ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note: v8::Local<v8::Value> v8::Object::Get(uint32_t)    Local<Value> Get(uint32_t index);                 ^ /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:2130:16: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::String>’ to ‘uint32_t {aka unsigned int}’ ../src/bindings.cc:208:22: error: ‘class v8::HandleScope’ has no member named ‘Close’          return scope.Close(descriptor);                       ^ ../src/bindings.cc: At global scope: ../src/bindings.cc:211:46: error: ‘Arguments’ does not name a type      Handle<Value> Inotify::RemoveWatch(const Arguments& args) {                                               ^ ../src/bindings.cc:211:57: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]      Handle<Value> Inotify::RemoveWatch(const Arguments& args) {                                                          ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> NodeInotify::Inotify::RemoveWatch(const int&)’: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected    V8_INLINE HandleScope() {}              ^ ../src/bindings.cc:212:21: error: within this context          HandleScope scope;                      ^ ../src/bindings.cc:216:17: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’          if(args.Length() == 0 || !args[0]->IsInt32()) {                  ^ ../src/bindings.cc:216:41: error: invalid types ‘const int[int]’ for array subscript          if(args.Length() == 0 || !args[0]->IsInt32()) {                                          ^ ../src/bindings.cc:218:13: error: ‘New’ is not a member of ‘v8::String’              String::New("You must specify a valid watcher descriptor as argument")));              ^ ../src/bindings.cc:218:84: error: ‘ThrowException’ was not declared in this scope              String::New("You must specify a valid watcher descriptor as argument")));                                                                                ^ ../src/bindings.cc:220:23: error: invalid types ‘const int[int]’ for array subscript          watch = args[0]->Int32Value();                        ^ ../src/bindings.cc:222:61: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’          Inotify *inotify = ObjectWrap::Unwrap<Inotify>(args.This());                                                              ^ ../src/bindings.cc:226:28: error: ‘New’ is not a member of ‘v8::String’              ThrowException(String::New(strerror(errno)));                             ^ ../src/bindings.cc:226:56: error: ‘ThrowException’ was not declared in this scope              ThrowException(String::New(strerror(errno)));                                                         ^ ../src/bindings.cc:227:26: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’              return False();                           ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:6633:17: note: declared here  Handle<Boolean> False(Isolate* isolate) {                  ^ ../src/bindings.cc:230:21: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’          return True();                      ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:6624:17: note: declared here  Handle<Boolean> True(Isolate* isolate) {                  ^ ../src/bindings.cc: At global scope: ../src/bindings.cc:233:35: error: variable or field ‘on_handle_close’ declared void      void Inotify::on_handle_close(uv_handle_t* handle) {                                    ^ ../src/bindings.cc:233:35: error: ‘uv_handle_t’ was not declared in this scope ../src/bindings.cc:233:48: error: ‘handle’ was not declared in this scope      void Inotify::on_handle_close(uv_handle_t* handle) {                                                 ^ ../src/bindings.cc:238:40: error: ‘Arguments’ does not name a type      Handle<Value> Inotify::Close(const Arguments& args) {                                         ^ ../src/bindings.cc:238:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]      Handle<Value> Inotify::Close(const Arguments& args) {                                                    ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> NodeInotify::Inotify::Close(const int&)’: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected    V8_INLINE HandleScope() {}              ^ ../src/bindings.cc:239:21: error: within this context          HandleScope scope;                      ^ ../src/bindings.cc:242:61: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’          Inotify *inotify = ObjectWrap::Unwrap<Inotify>(args.This());                                                              ^ ../src/bindings.cc:246:28: error: ‘New’ is not a member of ‘v8::String’              ThrowException(String::New(strerror(errno)));                             ^ ../src/bindings.cc:246:56: error: ‘ThrowException’ was not declared in this scope              ThrowException(String::New(strerror(errno)));                                                         ^ ../src/bindings.cc:247:26: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’              return False();                           ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:6633:17: note: declared here  Handle<Boolean> False(Isolate* isolate) {                  ^ ../src/bindings.cc:252:21: error: ‘uv_handle_t’ was not declared in this scope              uv_ref((uv_handle_t *) inotify->read_watcher);                      ^ ../src/bindings.cc:252:34: error: expected primary-expression before ‘)’ token              uv_ref((uv_handle_t *) inotify->read_watcher);                                   ^ ../src/bindings.cc:252:57: error: ‘uv_ref’ was not declared in this scope              uv_ref((uv_handle_t *) inotify->read_watcher);                                                          ^ ../src/bindings.cc:264:21: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’          return True();                      ^ In file included from /home/aaa/.node-gyp/0.12.2/src/node.h:61:0,                  from ../src/node_inotify.h:5,                  from ../src/bindings.h:4,                  from ../src/bindings.cc:2: /home/aaa/.node-gyp/0.12.2/deps/v8/include/v8.h:6624:17: note: declared here  Handle<Boolean> True(Isolate* isolate) {                  ^ ../src/bindings.cc: At global scope: ../src/bindings.cc:267:28: error: variable or field ‘Callback’ declared void      void Inotify::Callback(uv_poll_t *watcher, int status, int revents) {                             ^ ../src/bindings.cc:267:28: error: ‘uv_poll_t’ was not declared in this scope ../src/bindings.cc:267:39: error: ‘watcher’ was not declared in this scope      void Inotify::Callback(uv_poll_t *watcher, int status, int revents) {                                        ^ ../src/bindings.cc:267:48: error: expected primary-expression before ‘int’      void Inotify::Callback(uv_poll_t *watcher, int status, int revents) {                                                 ^ ../src/bindings.cc:267:60: error: expected primary-expression before ‘int’      void Inotify::Callback(uv_poll_t *watcher, int status, int revents) {                                                             ^ ../src/bindings.cc:332:1: error: expected ‘}’ at end of input  }//namespace NodeInotify  ^ ../src/bindings.cc: In static member function ‘static v8::Handle<v8::Value> NodeInotify::Inotify::New(const int&)’: ../src/bindings.cc:157:5: warning: control reaches end of non-void function [-Wreturn-type]      }      ^ ../src/bindings.cc: In static member function ‘static v8::Handle<v8::Value> NodeInotify::Inotify::AddWatch(const int&)’: ../src/bindings.cc:209:5: warning: control reaches end of non-void function [-Wreturn-type]      }      ^ ../src/bindings.cc: In static member function ‘static v8::Handle<v8::Value> NodeInotify::Inotify::RemoveWatch(const int&)’: ../src/bindings.cc:231:5: warning: control reaches end of non-void function [-Wreturn-type]      }      ^ ../src/bindings.cc: In static member function ‘static v8::Handle<v8::Value> NodeInotify::Inotify::Close(const int&)’: ../src/bindings.cc:265:5: warning: control reaches end of non-void function [-Wreturn-type]      }      ^ make: *** [Release/obj.target/inotify/src/bindings.o] Error 1 make: Leaving directory /home/aaa/node_modules/inotify/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-49-generic
gyp ERR! command "node" "/usr/local/bin/node-gyp" "build"
gyp ERR! cwd /home/aaa/node_modules/inotify
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok

By doing a git clone, I was able to compile it without errors. But when I try to use it in node, I get this error:
var Inotify = require('inotify').Inotify;
Error: Cannot find module './build/Debug/inotify'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/home/aaa/node_modules/inotify/inotify.js:4:22)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)

Interesting. What nodejs version are you using? or is it io.js?

it is Node.js 0.12.2

Support for Node 0.12.x just landed in version 1.3.0. This should be fixed. Please re-open if you have any issues.


Remove IP field from DB and keep the time on the date range

Only two comments, not directly related to reducing log size:

The time range to query the reporting-server gets refreshed every time we change tabs on the left-hand side panel. It might be helpful to persist the time range.
Currently, the IP address that is being logged in the reporting-server is the ip address of the reverse proxy used in a kubernetes deployment. Not sure if there is a way to "fix" this, but currently the ip field is "non-informational" with this ( arguably common) deployment architecture.

Originally posted by @cnboonhan in https://github.com/open-rmf/rmf-web/issues/430#issuecomment-885578623

Merged


Update OpenCVAnimOperator.py

added win path as people ask win version - this is only diff
placed rig name into variable since it's changed in the one I downloaded

this feeling when you look at something you did on github years ago and struggle to find the context inside your brain :-) Thank you very much for your work friends. I remember this project to be inspirational.


fix nlp-feature-extractors release by renaming requirements file

Description
Rename the dev-requirements.txt file in the new nlp-feature-extractors package to requirements-dev.txt to fix the package release github action.  We rename the file to make it consistent with all other projects and the release script.
See failing release pipeline here:
https://github.com/microsoft/responsible-ai-toolbox/runs/8018746531?check_suite_focus=true#step:7:202
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements-dev.txt'
Error: Process completed with exit code 1.

Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1670 (e075cbf) into main (873ff44) will increase coverage by 3.24%.
The diff coverage is n/a.

:exclamation: Current head e075cbf differs from pull request most recent head b1a7b08. Consider uploading reports for the commit b1a7b08 to get more accurate results

@@            Coverage Diff             @@
##             main    #1670      +/-   ##
==========================================
+ Coverage   89.04%   92.29%   +3.24%
==========================================
  Files         105       17      -88
  Lines        5534     1298    -4236
==========================================
- Hits         4928     1198    -3730
+ Misses        606      100     -506

Flag
Coverage Δ

unittests
92.29% <ø> (+3.24%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

responsibleai/responsibleai/_config/__init__.py

responsibleai/responsibleai/_internal/__init__.py

...tabalanceanalysis/distribution_balance_measures.py

raiutils/raiutils/dataset/__init__.py

raiutils/raiutils/common/__init__.py

raiwidgets/raiwidgets/error_analysis_constants.py

raiutils/raiutils/webservice/__init__.py

.../databalanceanalysis/aggregate_balance_measures.py

raiutils/raiutils/common/retries.py

...idgets/raiwidgets/responsibleai_dashboard_input.py

... and 78 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


how to get last inserted ID ?

hi, is there a way to get last inserted ID?

Can you try $this->getAdapter()->getConnection()->lastInsertId();
The getConnection() method isn't in the AbstractInterface but is in the PDOAdapter which implements that interface. So, any PDO based connection should be able to use the above call.

Please make a PR for docs to include this.


Finalize Collection URL Structure

Context:
We need to figure out all possible collection link variations, since I remember we talked about private collection link is not perma link, and once a collection is public, we make a new perma link for it, etc.. But not sure if that has changed
In my mind, it feels like it’s possible to have one collection link regardless of whether the collection is private or public. And we can use Auth0 + BE to determine if a logged user’s Access Token has access to the collection.
For Reviewer/Publisher, who don’t need to sign up (bearer token case), it seems like Auth0 says we can implement a guest role with access to that collection id, and then customize it with access TTL and Read/Write privilege, etc.. So potentially we can generate such temporary Access Token and add it to the collection link as a param, and DP will use the Access Token to hit Collection endpoint?
E.g., cellxgene.cziscience.com/collection/{id}?token={TEMP_ACCESS_TOKEN}
Source: https://community.auth0.com/t/temporary-token-for-a-user/27378/5
What:

Work with Product/BE/Design on seeing if the approach above satisfies users' requirements
Hopefully we can simplify the URL structure by having one collection URL structure regardless of the Collection's public/private state cellxgene.cziscience.com/collection/{id}
Figure out with BE if utilizing Auth0 to create TEMP_ACCESS_TOKEN is feasible, and work out the integration flow

FE tickets have been created 🤩! Thanks all!
https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/chanzuckerberg/single-cell/23


Tamagui Switch looks broken on web by default

Current Behavior
Here an example of how I use the Switch component
<Switch
        size="$4"
        checked={currentTheme === "dark"}
        onCheckedChange={() =>
          setCurrentTheme(currentTheme === "dark" ? "light" : "dark")
        }
        bg="darkgray"
        cursor="pointer"
        aria-label="Active dark theme"
        accessible // Follow that issue: https://github.com/tamagui/tamagui/issues/2698
      >
        <Switch.Thumb animation="bouncy" />
      </Switch>

And the result on the web. (On mobile it looks perfect. Only a web problem)

Expected Behavior
Here is how I fix it manually by forcing a padding: 0
<Switch
        p={0} // <-- Style is broken in web without p={0}
        size="$4"
        checked={currentTheme === "dark"}
        onCheckedChange={() =>
          setCurrentTheme(currentTheme === "dark" ? "light" : "dark")
        }
        bg="darkgray"
        cursor="pointer"
        aria-label="Active dark theme"
        accessible // Follow that issue: https://github.com/tamagui/tamagui/issues/2698
      >
        <Switch.Thumb animation="bouncy" />
      </Switch>

There is the result by just adding p={0} and it looks great on web et mobile.

Tamagui Version
1.100.0

Platform (Web, iOS, Android)
Web only

Looks good on mobile

Reproduction
Simply build for the web with the base component.

<Switch
        size="$4"
        checked={currentTheme === "dark"}
        onCheckedChange={() =>
          setCurrentTheme(currentTheme === "dark" ? "light" : "dark")
        }
        bg="darkgray"
        cursor="pointer"
        aria-label="Active dark theme"
        accessible // Follow that issue: https://github.com/tamagui/tamagui/issues/2698
      >
        <Switch.Thumb animation="bouncy" />
      </Switch>

System Info
System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 1.46 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    Yarn: 4.0.2 - ~/.nvm/versions/node/v18.16.0/bin/yarn
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
    bun: 1.0.2 - ~/.bun/bin/bun
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 125.0.6422.142
    Edge: 125.0.2535.85
    Safari: 17.5
  npmPackages:
    @babel/core: ^7.24.5 => 7.24.5
    @expo/metro-runtime: ~3.2.1 => 3.2.1
    @react-native-async-storage/async-storage: ^1.23.1 => 1.23.1
    @react-navigation/drawer: ^6.6.15 => 6.6.15
    @react-navigation/native: 6.1.17 => 6.1.17
    @tamagui/config: ^1.100.0 => 1.100.0
    @tamagui/lucide-icons: ^1.100.0 => 1.100.0
    @tamagui/metro-plugin: ^1.100.0 => 1.100.0
    @tamagui/toast: ^1.100.0 => 1.100.0
    @types/react: ~18.2.79 => 18.2.79
    @types/react-native: ^0.73.0 => 0.73.0
    babel-preset-expo: ^11.0.6 => 11.0.6
    burnt: ^0.12.2 => 0.12.2
    expo: ~51.0.8 => 51.0.8
    expo-font: ~12.0.5 => 12.0.5
    expo-linking: ~6.3.1 => 6.3.1
    expo-localization: ~15.0.3 => 15.0.3
    expo-router: ~3.5.14 => 3.5.14
    expo-splash-screen: ~0.27.4 => 0.27.4
    expo-status-bar: ^1.12.1 => 1.12.1
    expo-system-ui: ~3.0.4 => 3.0.4
    expo-video: ^1.1.10 => 1.1.10
    expo-web-browser: ~13.0.3 => 13.0.3
    i18next: ^23.11.5 => 23.11.5
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.3.1
    react-i18next: ^14.1.2 => 14.1.2
    react-native: 0.74.1 => 0.74.1
    react-native-reanimated: ~3.10.1 => 3.10.1
    react-native-safe-area-context: 4.10.1 => 4.10.1
    react-native-screens: ~3.31.1 => 3.31.1
    react-native-svg: ^15.2.0 => 15.3.0
    react-native-web: ^0.19.12 => 0.19.12
    tamagui: ^1.100.0 => 1.100.0
    typescript: ^5.3.3 => 5.4.5
    zustand: ^4.5.2 => 4.5.2

I found the problem.
import<EMAIL_ADDRESS>wasn't imported.
That being said, I stard the project with the expo-router template.
So it would be a good idea to add that in the template.
I simply add the import at the main _layout.tsx file.

Please send that change would be super helpful!


SoC is falling

Describe the bug
I don‘t know if it is a bug, but at two installed systems the SoC shown by serialbattery falls.
mit works around three weeks perfekt. Voltage was around 3,45V the SoC was 99%.
now it just shows 90%, at the other (same) system it is at 60%.
VenusOS (please complete the following information):

Device type:  Venus OS Raspberry PI at MP 2 5000
Firmware Version [e.g. 2.87]

Battery/BMS (please complete the following information):

BMS/Battery type: JK BMS with EVE 280k
Cells: 16
Interface: USB-RS485

It is the JKBMS not your Driver, Louis, but how can I handle that?

This would not be a bug in the driver, but rather that the driver is now showing you what is happening inside your battery.
The SOC value is what your BMS is publishing. The driver is just publishing that the the Victron system.
This can be influence by the formulas and logic that your BMS use.  It could be that there are some cells not up to voltage that is keeping the SOC value lower. Dig a bit into the min/max cell values and check if you see anything strange. The graphs in the advance section in VRM give a lot of great insight into your battery.

That is my "problem". The Battery Voltages are nearly matching the whole time. The greatest difference which the VRM showed to me is 0,04V while Loading with 65A.

Are you using large currents or are your system only using small amounts at a time.
These BMS use a shunt to measure the current flow and while this is one of the best methods to use it can sometimes struggle to measure small amounts of current. So if you have a 100A BMS but are most of the time using say 1A then it could be that your BMS is not reading that correctly. A shunt has to be calibrated for either large currents or small. Or you need 2 to be able to read small and large currents, which increase the cost so no body builds BMS like that.
When you are seeing the 0.04V cell difference, is that when your battery is at the highest SOC? What are your voltages at that time? Can you post these 3 graphs from your system for the last full day that shows the problem

You're the man! Thanks for your massiv help. The battery is now up for 40 days. I was last week in holiday so the battery wasn't used that much, if that matters...
I just to make sure that i can add  second 16s pack parallel to the existing one. (same config)

Today (first day back) i got a max difference from 0,08V, but just while i load with 65A and just a short time. If i disable loading in the bms the cells will be all back nearby.

Your system is looking good. All the values is as I would expect them

Hmmm thanks again for you answer. i have no idea how to recalibrate the SoC. Did you have any further tipps/ideas?

What settings do you have for your JKBMS?

To recalibrate SoC in the JKBMS the following procedure works for me:

discharge to something below 70% (not shure if there is a distict threshold)
alter the Ah setting, at this point the BMS guestimates a new SoC (you loose cycle count and cycle Ah, take notes if you want to track these values)
it looks like you're "missing" 9%, therefore the new SoC should be at least these 9% above the old value
recharge to full, SoC will rise and stay at 99% until "true" full charge is reached

You'll see 100% only for the brief moment when the BMS' Max Cell Voltage is hit and the charge-FET gets disabled.


add WithFont function

What type of PR is this?
/kind cleanup
/kind feature
What this PR does / why we need it:
follow up of https://github.com/kubernetes-sigs/release-utils/pull/44#discussion_r836157061
add a new function called WithFont that return the version function with a selected ASCII font
/assign @saschagrunert @puerco
cc @kubernetes-sigs/release-engineering
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?

add WithFont function

You just made a lot of maintainers happy further down the stream, thanks friends :)
/lgtm
/hold cancel


fix(md-3858): cell gap and image position/scaling

:tada: This PR is included in version 1.1.0-alpha.89 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Chips: why are value entries objects with "text" key

...and not simply strings? @zemirco

A single chip can have an icon as well. See https://github.com/HBM/react-components/pull/41 for an example.


Code Explaination

Hi, Thank you very much for your contribution. Can you provide Some detail related to "intermediate_dim = 10,z_dim = 3" or if you have some example dataset that would be best only want to know insight related to the selection of these values

Hi,
intermediate_dim is actually the dimension of the LSTM layer (of shape batch_size, timesteps, intermediate_dim).
z is the latent space, and 3 is its dimension. You can freely change these parameters :)
Every timeseries dataset could fit here. The more complexe your datas are, the more you will want a latent space (z) of a bigger dimension (a kind of simple rule to get some insight). On the otherside, if you want a simpler representation of your data, a smaller z may be better. There is no fixed rule here, you have to try several values :), and see what you get on a test set (reconstruction loss).
Same for the intermediate dim !
Hint : try it with an artificial dataset (e.g. sin/cos waves with gaussian noise) or http://odds.cs.stonybrook.edu/#table1 for some real world issues.


Remove dup code in QUICMultiCertConfigLoader

The only difference between SSLMultiCertConfigLoader::_store_ssl_ctx and QUICMultiCertConfigLoader::_store_ssl_ctx was whether it says "QUIC" on log outputs.
This commit removes the long dup code and introduces _debug_tag() so that derived classes can override the debug tag.
Also, this is actually for #6933. I could request or make the same change for QUICMultiCertConfigLoader but unifying the code would make more sense.

If #6933 goes to 9.0 then the same fix for QUIC should be made on 9.0 as well.

Cherry-picked to v9.0.x branch.


Upgrade Twine?

Hi! I'm a Twine maintainer; thanks for using Twine. I noticed you've pinned an old version of Twine in your requirements file. Twine has changes in 1.11.0 that you might find useful, and I hope you'll upgrade. If you have any trouble upgrading, please do let us know.

Hey, thanks for the heads up. I just pinned the version to 1.11.0 (https://github.com/siddhantgoel/tornado-sqlalchemy/commit/4ee0628a9372a9806f242ccdf70a8c2d3d2486bd). :sparkles:

Thanks! I got the libraries.io page to re-sync so it's up to date now. :) And if you want, you can now use Markdown descriptions for PyPI!

Ah cool - didn't know that PyPI now supports Markdown. I'll consider changing the format, when I get tired of RST. :)


support GET /v1/teams/:team_name #3

Close #3

Codecov Report

Merging #45 (536ae59) into main (d8d9e5d) will decrease coverage by 0.39%.
The diff coverage is 90.90%.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
- Coverage   97.36%   96.97%   -0.40%
==========================================
  Files          12       12
  Lines         342      364      +22
==========================================
+ Hits          333      353      +20
- Misses          6        8       +2
  Partials        3        3

Impacted Files
Coverage Δ

esaapi/teams/types/teams_parameter.go
95.23% <88.88%> (-4.77%)
:arrow_down:

esaapi/teams/types/teams_response.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8d9e5d...536ae59. Read the comment docs.


camel-fhir: Override commons-text version

We need to backport this to 3.18 and 3.14 branches

We need to backport this to 3.18 and 3.14 branches

There's another PR for 3.18.x:
https://github.com/apache/camel/pull/8603
I will cherry-pick the change back to 3.14.x after merging.


Unable to "npm start"

I run all the steps, after "cd messenger-discord" and "npm start", I get:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart<EMAIL_ADDRESS>6 info start<EMAIL_ADDRESS>7 verbose unsafe-perm in lifecycle true
8 info<EMAIL_ADDRESS>Failed to exec start script
9 error<EMAIL_ADDRESS>start: node index.js
9 error Exit status 1
10 error Failed at the<EMAIL_ADDRESS>start script.
10 error This is most likely a problem with the messenger-discord package,
10 error not with npm itself.
10 error Tell the author that this fails on your system:
10 error     node index.js
10 error You can get their info via:
10 error     npm owner ls messenger-discord
10 error There is likely additional logging output above.
11 error System Linux 4.9.59-v7+
12 error command "/usr/bin/nodejs" "/usr/bin/npm" "start"
13 error cwd /home/pi/messenger-discord
14 error node -v v4.8.2
15 error npm -v 1.4.21
16 error code ELIFECYCLE
17 verbose exit [ 1, true ]

Could you show me the output of node -v?
I think you're running too old version of node

Did the script say something except the path to the log file?

I updated to node 9.6.1 , I get a new error. See the original post for this.

Edit: I gave it admin permission on the discord apps webpage and readded it, and it now works. Thanks!

Resolved!


docs(readme): Remove examples not using typing SVG

Removes examples from readme that no longer have typing SVGs displayed

If either of you decide to ever start using it again, feel free to open another PR to add yourself back :+1:

Alright Man!


[boost-iostreams] Fix mingw

Fixes #32436.

Baseline regression. Needs #34311.

The following alarm appears when performing installation tests locally.
warning: Detected outdated dynamic CRT in the following files:
  F:\boost-iostreams\packages\boost-iostreams_x64-mingw-dynamic\debug\bin\libboost_iostreams-mgw6-mt-d-x32-1_83.dll:msvcrt.dll
  F:\boost-iostreams\packages\boost-iostreams_x64-mingw-dynamic\bin\libboost_iostreams-mgw6-mt-x32-1_83.dll:msvcrt.dll
To inspect the dll files, use:
  dumpbin.exe /dependents mylibfile.dll
warning: The following files were built for an incorrect architecture:
warning:   F:\boost-iostreams\packages\boost-iostreams_x64-mingw-dynamic\debug\bin\libboost_iostreams-mgw6-mt-d-x32-1_83.dll
 Expected: x64, but was x86
warning:   F:\boost-iostreams\packages\boost-iostreams_x64-mingw-dynamic\bin\libboost_iostreams-mgw6-mt-x32-1_83.dll
 Expected: x64, but was x86
error: Found 2 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile: F:\boost-iostreams\ports\boost-iostreams\portfile.cmake

warning: Detected outdated dynamic CRT in the following files:
 F:\boost-iostreams\packages\boost-iostreams_x64-mingw-dynamic\debug\bin\libboost_iostreams-mgw6-mt-d-x32-1_83.dll:msvcrt.dll
 F:\boost-iostreams\packages\boost-iostreams_x64-mingw-dynamic\bin\libboost_iostreams-mgw6-mt-x32-1_83.dll:msvcrt.dll
To inspect the dll files, use:
 dumpbin.exe /dependents mylibfile.dll

This is normal vcpkg, unless you use ucrt-enabled mingw toolchain, e.g. MSYS2 UCRT64.

warning: The following files were built for an incorrect architecture:
warning:   F:\boost-iostreams\packages\boost-iostreams_x64-mingw-dynamic\debug\bin\libboost_iostreams-mgw6-mt-d-x32-1_83.dll
Expected: x64, but was x86
warning:   F:\boost-iostreams\packages\boost-iostreams_x64-mingw-dynamic\bin\libboost_iostreams-mgw6-mt-x32-1_83.dll
Expected: x64, but was x86

Alerting, but not related to my changes.
Both problems didn't occur in my MSYS2 UCRT64 tests.


All_reduce of collective_ops hangs in a distributed environment

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux CentOS 7.6.1810
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
TensorFlow installed from (source or binary): No
TensorFlow version (use command below): v1.13.1-0-g6612da8951
Python version: 3.6.8
Bazel version (if compiling from source): None
GCC/Compiler version (if compiling from source): None
CUDA/cuDNN version: None
GPU model and memory: None

Describe the current behavior
The monitored session hangs in there fetching the reduced_weight.
Describe the expected behavior
The all_reduce tensor reduced_weight gives proper answer on all workers.
Code to reproduce the issue
"""Illustrate AllReduce"""

import multiprocessing as mp

MP_METHOD = 'fork'  # 'fork' (UNIX), 'spawn' (WINDOWS);
NUM_PROCESSES = 2

def process_fn(worker_hosts, task_index):
    """allreduce process"""
    import time
    import tensorflow as tf
    from tensorflow.python.ops import collective_ops

    num_workers = len(worker_hosts)

    cluster_spec = tf.train.ClusterSpec({'worker': worker_hosts})

    server = tf.train.Server(cluster_spec,
                             job_name='worker', task_index=task_index)
    group_key = 0
    instance_key = 0
    with tf.Graph().as_default():
        weights = list()
        reduced_weight = list()
        for worker_index in range(num_workers):
            with tf.variable_scope('worker{}'.format(worker_index)), \
                    tf.device('job:worker/task:{}/device:CPU:0'.format(
                            worker_index)):
                weight = tf.get_variable('weight', shape=[])
                weights.append(weight)
                if worker_index == task_index:
                    reduced_weight = collective_ops.all_reduce(
                        weight, num_workers, group_key, instance_key,
                        'Add', 'Div')

        session_creator = tf.train.ChiefSessionCreator(master=server.target)
        with tf.train.MonitoredSession(session_creator=session_creator) \
                as mon_sess:
            print('task {} have {}'.format(task_index, mon_sess.run(weights)))
            result = mon_sess.run(reduced_weight)
        print('task {} reduce {}'.format(task_index, result))
        time.sleep(1)

def start_process():
    """start process"""
    port = 60000
    host_fmt = 'localhost:{}'
    worker_hosts = list()
    for process_index in range(NUM_PROCESSES):
        worker_hosts.append(host_fmt.format(port + process_index))
    mp_ctx = mp.get_context(MP_METHOD)
    processes = list()
    for process_index in range(NUM_PROCESSES):
        process = mp_ctx.Process(target=process_fn,
                                 args=(worker_hosts, process_index,))
        processes.append(process)
        process.start()
    for process in processes:
        process.join()

if __name__ == '__main__':
    start_process()

Other info / logs
(tf-1.13-py3) [huwh1@huwh1-centos worksync]$ python ./tf_distribute_collective_ops.py
2019-08-23 10:55:20.150797: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-08-23 10:55:20.152951: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-08-23 10:55:20.163464: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-08-23 10:55:20.163852: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x4364100 executing computations on platform Host. Devices:
2019-08-23 10:55:20.163883: I tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): <undefined>, <undefined>
2019-08-23 10:55:20.165614: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job worker -> {0 -> localhost:60000, 1 -> localhost:60001}
2019-08-23 10:55:20.165828: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-08-23 10:55:20.166148: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x4363fe0 executing computations on platform Host. Devices:
2019-08-23 10:55:20.166174: I tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): <undefined>, <undefined>
2019-08-23 10:55:20.166519: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:391] Started server with target: grpc://localhost:60001
2019-08-23 10:55:20.167632: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job worker -> {0 -> localhost:60000, 1 -> localhost:60001}
2019-08-23 10:55:20.168829: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:391] Started server with target: grpc://localhost:60000
WARNING:tensorflow:From /home/huwh1/virtualenv/tf-1.13-py3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From /home/huwh1/virtualenv/tf-1.13-py3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2019-08-23 10:55:20.262106: I tensorflow/core/distributed_runtime/master_session.cc:1192] Start master session c45b1693e334d401 with config:
2019-08-23 10:55:20.269965: I tensorflow/core/distributed_runtime/master_session.cc:1192] Start master session a7c551a16b557bd8 with config:
task 1 have [-0.82924074, -0.72853804]
task 0 have [-0.82924074, -0.72853804]

The collective_ops.all_reduce seems to be referenced only once in build_collective_reduce, where the instruction suggests "input_tensors: tensors within a single worker graph that are to be reduced together; must be one per device." Is that mean the all_reduce is only applicable to In-graph replication?

Reassigning this to @dubey since it involves collective_ops.

Thanks very much to all you guys! The solution fix the hanging. 🙂

Here comes a further question. Does this fix work concurrently for the both in-graph and between-graph communications? Two distributed workers are created with three towers on each, where the between-graph communication works fine. Nevertheless, the in-graph allreduce among the three towers on the same worker fails with a message
Check failed: cp->group.group_size == cp->instance.device_names.size() (3 vs. 2)0x7ff630142180

and worker0 exits. It seems that the group_key doesn't have the same effect as an mpi communicator. I wonder is there some method to carry out the communications under the same mon_sess? The complete code and log are attached below.
Code:
"""Illustrate AllReduce"""

import multiprocessing as mp

MP_METHOD = 'fork'  # 'fork' (UNIX), 'spawn' (WINDOWS);
NUM_PROCESSES = 2
NUM_TOWERS = 3

def process_fn(worker_hosts, task_index):
    """allreduce process"""

    import time
    import tensorflow as tf
    from tensorflow.python.ops import collective_ops

    cluster_spec = tf.train.ClusterSpec({'worker': worker_hosts})

    # unconfigured collective_group_leader make each worker the leader
    # '/replica:0' is necessary in the configuration.
    config = tf.ConfigProto(device_count={'CPU': NUM_TOWERS})
    config.experimental.collective_group_leader = '/job:worker/replica:0/task:0'
    server = tf.train.Server(cluster_spec, config=config,
                             job_name='worker', task_index=task_index)
    with tf.Graph().as_default():
        # create weight
        all_weights = list()
        for worker_index in range(NUM_PROCESSES):
            worker_weights = list()
            with tf.variable_scope('worker{}'.format(worker_index)):
                for tower_index in range(NUM_TOWERS):
                    device = '/job:worker/replica:0/task:{}/device:CPU:{}'.format(
                        worker_index, tower_index)
                    with tf.device(device):
                        worker_weights.append(tf.get_variable(
                            'weight{}'.format(tower_index), shape=[]))
            all_weights.append(worker_weights)

        intra_reduced = list()
        inter_reduced = None
        with tf.variable_scope('worker{}'.format(task_index)):
            # intra-worker allreduce
            for weight in all_weights[task_index]:
                with tf.device(weight.device):
                    intra_reduced.append(collective_ops.all_reduce(
                        weight, NUM_TOWERS, task_index, 0, 'Add', 'Div'))
            # inter-worker allreduce
            weight = all_weights[task_index][0]
            with tf.device(weight.device):
                inter_reduced = collective_ops.all_reduce(
                    weight, NUM_PROCESSES, NUM_PROCESSES, 0, 'Add', 'Div')

        if task_index == 0:
            session_creator = tf.train.ChiefSessionCreator(
                master=server.target)
        else:
            session_creator = tf.train.WorkerSessionCreator(
                master=server.target)
        with tf.train.MonitoredSession(session_creator=session_creator) \
                as mon_sess:
            result_all = mon_sess.run(all_weights)
            print('task {} sense {}'.format(task_index, result_all))
            result_inter = mon_sess.run([inter_reduced])
            print('task {} inter_reduce {}'.format(task_index, result_inter))
            result_intra = mon_sess.run([intra_reduced])
            print('task {} intra_reduce {}'.format(task_index, result_intra))
            time.sleep(1)

def start_process():
    """start process"""
    port = 60000
    host_fmt = 'localhost:{}'
    worker_hosts = list()
    for process_index in range(NUM_PROCESSES):
        worker_hosts.append(host_fmt.format(port + process_index))
    mp_ctx = mp.get_context(MP_METHOD)
    processes = list()
    for process_index in range(NUM_PROCESSES):
        process = mp_ctx.Process(target=process_fn,
                                 args=(worker_hosts, process_index,))
        processes.append(process)
        process.start()
    for process in processes:
        process.join()

if __name__ == '__main__':
    start_process()

Log:
(tf-1.13-py3) [huwh1@huwh1-centos worksync]$ python ./tf_distribute_collective_ops_rev2.py
2019-08-29 15:28:57.955533: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-08-29 15:28:57.957342: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-08-29 15:28:57.969872: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-08-29 15:28:57.970223: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x3c8cb80 executing computations on platform Host. Devices:
2019-08-29 15:28:57.970257: I tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): <undefined>, <undefined>
2019-08-29 15:28:57.971219: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-08-29 15:28:57.971524: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x3c8ce20 executing computations on platform Host. Devices:
2019-08-29 15:28:57.971544: I tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): <undefined>, <undefined>
2019-08-29 15:28:57.972298: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job worker -> {0 -> localhost:60000, 1 -> localhost:60001}
2019-08-29 15:28:57.973081: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job worker -> {0 -> localhost:60000, 1 -> localhost:60001}
2019-08-29 15:28:57.973289: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:391] Started server with target: grpc://localhost:60000
2019-08-29 15:28:57.974456: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:391] Started server with target: grpc://localhost:60001
WARNING:tensorflow:From /home/huwh1/virtualenv/tf-1.13-py3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From /home/huwh1/virtualenv/tf-1.13-py3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2019-08-29 15:28:58.154712: I tensorflow/core/distributed_runtime/master_session.cc:1192] Start master session 35144c1b1c60a213 with config: device_count { key: "CPU" value: 3 } experimental { collective_group_leader: "/job:worker/replica:0/task:0" }
2019-08-29 15:28:58.170439: I tensorflow/core/distributed_runtime/master_session.cc:1192] Start master session 3c9b794a1f1e9112 with config: device_count { key: "CPU" value: 3 } experimental { collective_group_leader: "/job:worker/replica:0/task:0" }
task 0 sense [[-0.8433976, 1.4618217, 1.4098305], [-0.9607944, -0.2295152, 1.4139572]]
2019-08-29 15:29:28.195776: I tensorflow/core/distributed_runtime/master_session.cc:1192] Start master session 12138e7e76d8c500 with config: device_count { key: "CPU" value: 3 } experimental { collective_group_leader: "/job:worker/replica:0/task:0" }
task 1 sense [[-0.8433976, 1.4618217, 1.4098305], [-0.9607944, -0.2295152, 1.4139572]]
task 0 inter_reduce [-0.90209603]
task 1 inter_reduce [-0.90209603]
2019-08-29 15:29:28.244516: F tensorflow/core/common_runtime/collective_param_resolver_local.cc:389] Check failed: cp->group.group_size == cp->instance.device_names.size() (3 vs. 2)0x7ff630142180
2019-08-29 15:29:30.742565: W tensorflow/core/common_runtime/base_collective_executor.cc:203] BaseCollectiveExecutor::StartAbort Unavailable: OS Error
	 [[{{node worker1_1/CollectiveReduce}}]]
2019-08-29 15:29:30.742915: W tensorflow/core/common_runtime/base_collective_executor.cc:203] BaseCollectiveExecutor::StartAbort Unavailable: OS Error
	 [[{{node worker1_1/CollectiveReduce_1}}]]
2019-08-29 15:29:30.743016: W tensorflow/core/common_runtime/base_collective_executor.cc:203] BaseCollectiveExecutor::StartAbort Unavailable: OS Error
	 [[{{node worker1_1/CollectiveReduce_2}}]]
2019-08-29 15:29:40.753678: W tensorflow/core/distributed_runtime/master_session.cc:1363] Timeout for closing worker session
2019-08-29 15:29:50.758593: I tensorflow/core/distributed_runtime/master.cc:267] CreateSession still waiting for response from worker: /job:worker/replica:0/task:0
Terminated

Are you trying to do something like a hierarchical all-reduce?
I haven't tried this myself but one thing I see that confuses me is the assignment of group keys and instance keys.  You want a unique group key for each set of devices participating in a collective, and you want a unique instance key for every instance of a collective.

Thank you for the fruitful advice. :smiley:  It seems a global unique instance_key across all groups is required for the all_reduce op, in spite of different group is specified by the group_key in a distributed environment. I think this issue should be closed.


Consider supporting local documentation with links to Hackage

This SO question has got me thinking: what would it take to have local documentation link to Hackage documentation? This might make it possible to follow hyperlinks through transitive dependencies, but without needing to locally build the docs for those dependencies.
So, what would it take? I think:

Hackage would have to expose the haddock interface files produced by docbuilder
Cabal should get an option to download the haddock interface files and feed them properly to Haddock (perhaps downloading + handing to Haddock only if no local alternative was found)
Haddock needs a way of dealing with interface files that aren't local

Perhaps this isn't worth doing at all, but opening an issue just to see what people think about the idea. 😄

Is having local documentation link to Hackage documentation something other than what is currently provided by the standalone-haddock application? If not, I did wonder why standalone-haddock was not an option offered by haddock itself.


Print skipped perf tests in verbose mode

Chatting to you made me decide this is a good idea, though it's not relatedd.

LGTM


feat(basic-auth-empty-password) allow empty password

Summary
Story: I'm trying to migrate our current API to kong, and we have to support basic-auth with empty passwords, thus I opened this pr.
I think this is not a breaking change, and it's based on the master branch instead of the next branch.
Related to empty password basic auth

https://svn.reviewboard.kde.org/r/1601/
https://tools.ietf.org/html/rfc7617 (it didn't mention that password should be not empty)

Full changelog

Add empty password support for basic-auth

@zhouzhuojie Thank you!


Implemented required includes -- again

Redone from scratch.
This includes additional tests proposed last time I raised a pull request.

Regards issue https://github.com/typesafehub/config/issues/121

This looks good to me, thank you - any comments from @2m / @patriknw / others?

LGTM

2 years in the making

Thanks! Sorry about the dead ends. We got there in the end.


Use windows-sys in windows tests

This PR adds windows-sys to test_dependencies so that we don't have to write out windows api bindings for each test.

Looks good, thanks :)
@bors r+

:pushpin: Commit e5db7ca3ff3e9e377e79fea76ce3b8a07894945c has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit e5db7ca3ff3e9e377e79fea76ce3b8a07894945c with merge 27b5f4fb1ad8290f91d972913dd53da59e32b42c...

:broken_heart: Test failed - checks-actions

looks like macos being macos...
@bors retry

:hourglass: Testing commit e5db7ca3ff3e9e377e79fea76ce3b8a07894945c with merge 667e5a481059c611288e29c0f0b46dadb977622e...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 667e5a481059c611288e29c0f0b46dadb977622e to master...


docs: access zitadel apis

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Header overlap website body content

The header overlaps the body content of the website. Please assign me this issue under GSSOC'23.

It breaks on chrome only ig, still assigned to you


--dist-url key is mentioned to be optional, but seem mandatory when running

To clarify, if you use release-bundle-generator config to configure a distribution url, you don't have to pass --dist-url, and that's why it's optional.


Problem with Ipython.display Markdown with math

Describe the bug
context
When I do create ipynb with cell
text2 = ('Lorem ipsum $x$ lorem $A$ ipsum?\n'
           '\t\\[\n\t\t\\text{A=}\\left[\\begin{matrix}2 x + 4 & x - 4\\\\x + 1 & -1\\end{matrix}\\right]\n'
           '\t\\]\n'
           'Lorem ipsum $x=-2.$ Ipsum lorem.\n')

and
Markdown(text2.replace('\\[','$$').replace('\\]','$$'))

I receive wrong result generated by sphinx with myst_nb

expectation
I expected like in jupyter lab

bug
But i received

Reproduce the bug

Create ipynb and add to index
make html

List your environment
installed:
myst-nb                       1.1.1
myst-parser                   4.0.0
jupyter                       1.1.1
jupyter-cache                 1.0.0
jupyter_client                8.6.2
jupyter-console               6.6.3
jupyter_core                  5.7.2
jupyter-events                0.10.0
jupyter-lsp                   2.2.5
jupyter_server                2.14.2
jupyter_server_terminals      0.5.3
jupyterlab                    4.2.5
jupyterlab_pygments           0.3.0
jupyterlab_server             2.27.3
jupyterlab_widgets            3.0.13
nbsphinx                      0.9.5
sphinx-autoapi                3.3.1
sphinx-rtd-theme              2.0.0
sphinxcontrib-applehelp       2.0.0
sphinxcontrib-devhelp         2.0.0
sphinxcontrib-htmlhelp        2.1.0
sphinxcontrib-jquery          4.1
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          2.0.0
sphinxcontrib-serializinghtml 2.0.0

my conf.py:
project = u"test"

extensions = [
         "myst_nb"
]

exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

html_theme = "sphinx_rtd_theme"

I haven't tried a fix here, but for LaTeX heavy notebooks over at astroml-notebooks, padding the equations with empty lines solved these rendering issues for me.

I haven't tried a fix here, but for LaTeX heavy notebooks over at astroml-notebooks, padding the equations with empty lines solved these rendering issues for me.

Thanks, I tried and received:

I also tried 'dollarmath' (works with nbsphinx) and 'amsmath' extensions unfortunately without success.


Editor not focused when init on click

Expected behavior.
When using the initOnClick functionality, the editor should gain focus when clicked like it does when not using AngularJS.
Actual behavior.
When using the angular-froala bindings, the editor does not get focused when initializing on click.
Steps to reproduce the problem.
JSFiddle angular-froala: https://jsfiddle.net/Lty2xz7e/
JSFiddle vanilla Froala: https://jsfiddle.net/2h5aeoz2/

Start the angular-froala JSFiddle above.
Click the editor.
Click outside the editor. Since the editor didn't get focus when clicked, the blur event is not triggered.

Repeating the same steps with the vanilla Froala JSFiddle above, the editor does get focus when initialized and the blur event is triggered when clicking somewhere else.
Use-case:
We're using the blur event to destroy and reinitialize the editors to avoid having more than one active editor at a time on the same page. Since the editor doesn't get focus the event isn't triggered and multiple instances can be opened at the same time.
OS.
macOS 10.12.6 Sierra
Browser.
Chrome 62.0.3202.94

It appears to be an issue on the Angular implementation, not related to #2283.

Tested and works. Thanks!


Support for "Prop Hunt: X2Z"

Check into whether support for https://steamcommunity.com/sharedfiles/filedetails/?id=2176546751 is worth it and how it would need to be achieved.

Prop Hunt: X2Z ships with its own menu accessible with "C". This addon no longer is useful, so I will drop support for it entirely.


Not working properly with Https and firefox version2

Minify version:
PHP version:

What steps will reproduce the problem?
1. website should be in https
2. Use firefox veresion 2.0.3
3. Looking for future data like 2011 or more

Expected output: It should come with proper manner and style

Actual output: It is not coming properly the style and css not looking good.

Did any unit tests FAIL? (Please do not post the full list)

Please provide any additional information below. If this has to do with URI
rewriting, please include your DOCUMENT_ROOT, the

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 9 Dec 2010 at 3:00

Minify doesn't send anything different to different browsers. You can check the
Debugging wiki page and try a post to the minify support group, but odds are
you need Javascript help.

Original comment by<EMAIL_ADDRESS>on 11 Dec 2010 at 8:44

Changed state: WontFix


'NSInvalidArgumentException', reason: '-[UICollectionView setEmptyDataSetSource:]: unrecognized selector sent to instance

I am using this library for a collection view in swift 3.x (target iOS 11.0). The collection view is inside a UIViewController.
The code snippet looks like -->
class MyViewController: UIViewController {
@IBOutlet weak var collectionView: UICollectionView!
override func viewDidLoad() {
    super.viewDidLoad()

    collectionView.delegate = self
    collectionView.dataSource = self

    collectionView.emptyDataSetSource = self
    collectionView.emptyDataSetDelegate = self
}

.......
...
....}
Manually dropped the library (.h and .m) in project and added bridging header.
But this is continuously throwing this error --> 'NSInvalidArgumentException', reason: '-[UICollectionView setEmptyDataSetSource:]: unrecognized selector sent to instance
Also, I am not able to import DZNEmptyDataSet as it says "no such module".

Don't know if there is a problem with Xcode 9 beta. The file was locked for modification when dropped inside project folder. It started working when I manually created the same file and copied the contents. Anybody getting the same issue can try this.


Creating virtual switch using ARM Azure VM

We need to provide name of the virtual switch when creating a container:
$container = New-Container -Name "MyContainer" -ContainerImageName WindowsServerCore -SwitchName "Virtual Switch"

When I was creating a classic Azure VM, as in: https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/azure_setup , the virtual switch is created by default
PS C:\Program Files\WindowsPowerShell\modules> get-vmswitch

Name           SwitchType NetAdapterInterfaceDescription
----           ---------- ------------------------------
Virtual Switch NAT

However, when I'm working on Azure VM created using ARM template, Get-VMSwitch does not return anything...
How do I add VM switch to the ARM VM?

Looking into this :).  Thank you

I've deployed the TP4 template using ARM with no issues. The VMSwitch was present, type of NAT, and name of 'Virtual Switch'. I do not think that there is an issue here.

Could you paste the template? Or at least name of the image you used to deploy VM?

Here you go, feel free to follow up with me if needed.

Display Name in Azure: 'Windows Server 2016 Core with Containers Tech Preview 4'.
Image Name (PowerShell, json, etc.): '2016-Technical-Preview-with-Containers'.
Here is a pre-created template that should work (I updated it last night for TP4) - 2016-Technical-Preview-with-Containers.

That's what I thought, you are using image which was pre-configured to work with containers (and thus has Virtual Switch present).
I was trying the scenario where clean image is used, in my case:
"imagePublisher": "MicrosoftWindowsServer",
"imageOffer": "WindowsServer",
"sku":"Windows-Server-Technical-Preview"

How do I configure VMSwitch on those so that I can create containers on any image, not only on the one you guys provide?

I have not tried to build a container host in Azure, but here are a few things that may help.

Manual Deployment Docs - https://msdn.microsoft.com/en-us/virtualization/windowscontainers/deployment/deployment.
We also have a script that will convert an existing system into a container host, not sure if it will work in Azure https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/inplace_setup.
The command to create a VM Swirtch configure with NAT is New-VMSwitch -Name "Virtual Switch" -SwitchType NAT -NATSubnetAddress <IP_ADDRESS>/12.

Hope this helps.
neilp