text:
node-curl istall error

Got following error when trying to run sudo npm install node-curl --save in AWS ubuntu 14.04
sudo npm install node-curl --save
npm WARN package.json lattoApp@0.0.1 No repository field.
npm WARN package.json lattoApp@0.0.1 No README data
npm WARN package.json lattoApp@0.0.1 license should be a valid SPDX license expression
/

node-curl@0.3.3 install /home/ubuntu/node12/node_modules/node-curl
sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure build)

extract constants from /usr/include/curl/curl.h
generate src/integer_options.h
generate src/string_options.h
generate src/integer_infos.h
generate src/string_infos.h
generate src/double_infos.h
make: Entering directory /home/ubuntu/node12/node_modules/node-curl/build'   CXX(target) Release/obj.target/node-curl/src/node-curl.o In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:178:43: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> close(const v8::Arguments & args)                                            ^ ../src/node-curl.h:178:59: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> close(const v8::Arguments & args)                                                            ^ ../src/node-curl.h:265:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> getinfo(const v8::Arguments &args)                                              ^ ../src/node-curl.h:265:60: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> getinfo(const v8::Arguments &args)                                                             ^ ../src/node-curl.h:278:49: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> getinfo_int(const v8::Arguments & args)                                                  ^ ../src/node-curl.h:278:65: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> getinfo_int(const v8::Arguments & args)                                                                  ^ ../src/node-curl.h:283:49: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> getinfo_str(const v8::Arguments & args)                                                  ^ ../src/node-curl.h:283:65: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> getinfo_str(const v8::Arguments & args)                                                                  ^ ../src/node-curl.h:288:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> getinfo_double(const v8::Arguments & args)                                                     ^ ../src/node-curl.h:288:68: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> getinfo_double(const v8::Arguments & args)                                                                     ^ ../src/node-curl.h:293:51: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> getinfo_slist(const v8::Arguments & args)                                                    ^ ../src/node-curl.h:293:67: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> getinfo_slist(const v8::Arguments & args)                                                                    ^ ../src/node-curl.h:330:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> setopt_int(const v8::Arguments & args)                                                 ^ ../src/node-curl.h:330:64: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> setopt_int(const v8::Arguments & args)                                                                 ^ ../src/node-curl.h:335:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> setopt_str(const v8::Arguments & args)                                                 ^ ../src/node-curl.h:335:64: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> setopt_str(const v8::Arguments & args)                                                                 ^ ../src/node-curl.h:347:50: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> setopt_slist(const v8::Arguments & args)                                                   ^ ../src/node-curl.h:347:66: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> setopt_slist(const v8::Arguments & args)                                                                   ^ ../src/node-curl.h:355:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> setopt_httppost(const v8::Arguments & args)                                                      ^ ../src/node-curl.h:355:69: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> setopt_httppost(const v8::Arguments & args)                                                                      ^ ../src/node-curl.h:426:41: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> New(const v8::Arguments & args)                                          ^ ../src/node-curl.h:426:57: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> New(const v8::Arguments & args)                                                          ^ ../src/node-curl.h:433:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> process(const v8::Arguments & args)                                              ^ ../src/node-curl.h:433:61: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> process(const v8::Arguments & args)                                                              ^ ../src/node-curl.h:476:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> perform(const v8::Arguments & args)                                              ^ ../src/node-curl.h:476:61: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> perform(const v8::Arguments & args)                                                              ^ ../src/node-curl.h:496:47: error: ‘Arguments’ in namespace ‘v8’ does not name a type   static v8::Handle<v8::Value> get_count(const v8::Arguments & args )                                                ^ ../src/node-curl.h:496:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]   static v8::Handle<v8::Value> get_count(const v8::Arguments & args )                                                                ^ ../src/node-curl.h: In constructor ‘NodeCurl::NodeCurl(v8::Handle<v8::Object>)’: ../src/node-curl.h:124:3: error: ‘AdjustAmountOfExternalAllocatedMemory’ is not a member of ‘v8::V8’    v8::V8::AdjustAmountOfExternalAllocatedMemory(2*4096);    ^ ../src/node-curl.h:125:11: error: ‘class v8::Object’ has no member named ‘SetPointerInInternalField’    object->SetPointerInInternalField(0, this);            ^ ../src/node-curl.h:126:50: error: no matching function for call to ‘v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>&)’    handle = v8::Persistent<v8::Object>::New(object);                                                   ^ ../src/node-curl.h:126:50: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:7181:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Object]  T* PersistentBase<T>::New(Isolate* isolate, T* that) {     ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:7181:4: note:   candidate expects 2 arguments, 1 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:127:10: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘MakeWeak’    handle.MakeWeak(this, destructor);           ^ ../src/node-curl.h: In destructor ‘NodeCurl::~NodeCurl()’: ../src/node-curl.h:145:3: error: ‘AdjustAmountOfExternalAllocatedMemory’ is not a member of ‘v8::V8’    v8::V8::AdjustAmountOfExternalAllocatedMemory(-2*4096);    ^ ../src/node-curl.h: In static member function ‘static void NodeCurl::destructor(v8::Persistent<v8::Value>, void*)’: ../src/node-curl.h:166:40: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Value>’    v8::Handle<v8::Object> object = value->ToObject();                                         ^ ../src/node-curl.h:167:40: error: ‘class v8::Object’ has no member named ‘GetPointerFromInternalField’    NodeCurl * curl = (NodeCurl*)object->GetPointerFromInternalField(0);                                         ^ ../src/node-curl.h: In member function ‘void NodeCurl::close()’: ../src/node-curl.h:173:9: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’    handle->SetPointerInInternalField(0, NULL);          ^ ../src/node-curl.h:174:10: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Dispose’    handle.Dispose();           ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::close(const int&)’: ../src/node-curl.h:180:38: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    NodeCurl * node_curl = unwrap(args.This());                                       ^ ../src/node-curl.h:183:15: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    return args.This();                ^ ../src/node-curl.h: In static member function ‘static NodeCurl* NodeCurl::unwrap(v8::Handle<v8::Object>)’: ../src/node-curl.h:189:28: error: ‘class v8::Object’ has no member named ‘GetPointerFromInternalField’    return (NodeCurl*)value->GetPointerFromInternalField(0);                             ^ ../src/node-curl.h: In member function ‘size_t NodeCurl::on_write(char*, size_t)’: ../src/node-curl.h:209:84: error: ‘NewSymbol’ is not a member of ‘v8::String’    static v8::Persistent<v8::String> SYM_ON_WRITE = v8::Persistent<v8::String>::New(v8::String::NewSymbol("on_write"));                                                                                ^ ../src/node-curl.h:210:36: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’    v8::Handle<v8::Value> cb = handle->Get(SYM_ON_WRITE);                                     ^ ../src/node-curl.h:213:17: error: expected primary-expression before ‘*’ token     node::Buffer * buffer = node::Buffer::New(data, n);                  ^ ../src/node-curl.h:213:19: error: ‘buffer’ was not declared in this scope     node::Buffer * buffer = node::Buffer::New(data, n);                    ^ ../src/node-curl.h:213:53: error: no matching function for call to ‘New(char*&, size_t&)’     node::Buffer * buffer = node::Buffer::New(data, n);                                                      ^ ../src/node-curl.h:213:53: note: candidates are: In file included from ../src/node-curl.h:6:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:28:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)  NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);                                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:28:40: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)  NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,                                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:36:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)  NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,                                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:36:40: note:   candidate expects 5 arguments, 2 provided /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)  NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,                                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:43:40: note:   candidate expects 3 arguments, 2 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:215:77: error: no matching function for call to ‘v8::Object::CallAsFunction(v8::Persistent<v8::Object>&, int, v8::Handle<v8::Value> [1])’     v8::Handle<v8::Value> rt = cb->ToObject()->CallAsFunction(handle, 1, argv);                                                                              ^ ../src/node-curl.h:215:77: note: candidates are: In file included from /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:23:0,                  from ../src/node-curl.h:4,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2910:34: note: v8::Local<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)                      Local<Value> CallAsFunction(Local<Value> recv, int argc,                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8config.h:347:48: note: in definition of macro ‘V8_DEPRECATE_SOON’  #define V8_DEPRECATE_SOON(message, declarator) declarator                                                 ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2910:34: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘v8::Local<v8::Value>’                      Local<Value> CallAsFunction(Local<Value> recv, int argc,                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8config.h:347:48: note: in definition of macro ‘V8_DEPRECATE_SOON’  #define V8_DEPRECATE_SOON(message, declarator) declarator                                                 ^ In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2912:43: note: v8::MaybeLocal<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)    V8_WARN_UNUSED_RESULT MaybeLocal<Value> CallAsFunction(Local<Context> context,                                            ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2912:43: note:   candidate expects 4 arguments, 3 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In member function ‘size_t NodeCurl::on_header(char*, size_t)’: ../src/node-curl.h:226:85: error: ‘NewSymbol’ is not a member of ‘v8::String’    static v8::Persistent<v8::String> SYM_ON_HEADER = v8::Persistent<v8::String>::New(v8::String::NewSymbol("on_header"));                                                                                ^ ../src/node-curl.h:227:36: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’    v8::Handle<v8::Value> cb = handle->Get(SYM_ON_HEADER);                                     ^ ../src/node-curl.h:230:17: error: expected primary-expression before ‘*’ token     node::Buffer * buffer = node::Buffer::New(data, n);                  ^ ../src/node-curl.h:230:19: error: ‘buffer’ was not declared in this scope     node::Buffer * buffer = node::Buffer::New(data, n);                    ^ ../src/node-curl.h:230:53: error: no matching function for call to ‘New(char*&, size_t&)’     node::Buffer * buffer = node::Buffer::New(data, n);                                                      ^ ../src/node-curl.h:230:53: note: candidates are: In file included from ../src/node-curl.h:6:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:28:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)  NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);                                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:28:40: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)  NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,                                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:36:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)  NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,                                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:36:40: note:   candidate expects 5 arguments, 2 provided /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)  NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,                                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node_buffer.h:43:40: note:   candidate expects 3 arguments, 2 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:232:77: error: no matching function for call to ‘v8::Object::CallAsFunction(v8::Persistent<v8::Object>&, int, v8::Handle<v8::Value> [1])’     v8::Handle<v8::Value> rt = cb->ToObject()->CallAsFunction(handle, 1, argv);                                                                              ^ ../src/node-curl.h:232:77: note: candidates are: In file included from /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:23:0,                  from ../src/node-curl.h:4,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2910:34: note: v8::Local<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)                      Local<Value> CallAsFunction(Local<Value> recv, int argc,                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8config.h:347:48: note: in definition of macro ‘V8_DEPRECATE_SOON’  #define V8_DEPRECATE_SOON(message, declarator) declarator                                                 ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2910:34: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘v8::Local<v8::Value>’                      Local<Value> CallAsFunction(Local<Value> recv, int argc,                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8config.h:347:48: note: in definition of macro ‘V8_DEPRECATE_SOON’  #define V8_DEPRECATE_SOON(message, declarator) declarator                                                 ^ In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2912:43: note: v8::MaybeLocal<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)    V8_WARN_UNUSED_RESULT MaybeLocal<Value> CallAsFunction(Local<Context> context,                                            ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2912:43: note:   candidate expects 4 arguments, 3 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In member function ‘void NodeCurl::on_end(CURLMsg*)’: ../src/node-curl.h:243:82: error: ‘NewSymbol’ is not a member of ‘v8::String’    static v8::Persistent<v8::String> SYM_ON_END = v8::Persistent<v8::String>::New(v8::String::NewSymbol("on_end"));                                                                                ^ ../src/node-curl.h:244:36: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’    v8::Handle<v8::Value> cb = handle->Get(SYM_ON_END);                                     ^ ../src/node-curl.h:248:50: error: no matching function for call to ‘v8::Object::CallAsFunction(v8::Persistent<v8::Object>&, int, v8::Handle<v8::Value> [0])’     cb->ToObject()->CallAsFunction(handle, 0, argv);                                                   ^ ../src/node-curl.h:248:50: note: candidates are: In file included from /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:23:0,                  from ../src/node-curl.h:4,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2910:34: note: v8::Local<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)                      Local<Value> CallAsFunction(Local<Value> recv, int argc,                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8config.h:347:48: note: in definition of macro ‘V8_DEPRECATE_SOON’  #define V8_DEPRECATE_SOON(message, declarator) declarator                                                 ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2910:34: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘v8::Local<v8::Value>’                      Local<Value> CallAsFunction(Local<Value> recv, int argc,                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8config.h:347:48: note: in definition of macro ‘V8_DEPRECATE_SOON’  #define V8_DEPRECATE_SOON(message, declarator) declarator                                                 ^ In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2912:43: note: v8::MaybeLocal<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)    V8_WARN_UNUSED_RESULT MaybeLocal<Value> CallAsFunction(Local<Context> context,                                            ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2912:43: note:   candidate expects 4 arguments, 3 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In member function ‘void NodeCurl::on_error(CURLMsg*)’: ../src/node-curl.h:254:84: error: ‘NewSymbol’ is not a member of ‘v8::String’    static v8::Persistent<v8::String> SYM_ON_ERROR = v8::Persistent<v8::String>::New(v8::String::NewSymbol("on_error"));                                                                                ^ ../src/node-curl.h:255:36: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’    v8::Handle<v8::Value> cb = handle->Get(SYM_ON_ERROR);                                     ^ ../src/node-curl.h:258:57: error: ‘New’ is not a member of ‘v8::String’     v8::Handle<v8::Value> argv[] = {v8::Exception::Error(v8::String::New(curl_easy_strerror(msg->data.result)))};                                                          ^ ../src/node-curl.h:259:50: error: no matching function for call to ‘v8::Object::CallAsFunction(v8::Persistent<v8::Object>&, int, v8::Handle<v8::Value> [1])’     cb->ToObject()->CallAsFunction(handle, 1, argv);                                                   ^ ../src/node-curl.h:259:50: note: candidates are: In file included from /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:23:0,                  from ../src/node-curl.h:4,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2910:34: note: v8::Local<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)                      Local<Value> CallAsFunction(Local<Value> recv, int argc,                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8config.h:347:48: note: in definition of macro ‘V8_DEPRECATE_SOON’  #define V8_DEPRECATE_SOON(message, declarator) declarator                                                 ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2910:34: note:   no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘v8::Local<v8::Value>’                      Local<Value> CallAsFunction(Local<Value> recv, int argc,                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8config.h:347:48: note: in definition of macro ‘V8_DEPRECATE_SOON’  #define V8_DEPRECATE_SOON(message, declarator) declarator                                                 ^ In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2912:43: note: v8::MaybeLocal<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)    V8_WARN_UNUSED_RESULT MaybeLocal<Value> CallAsFunction(Local<Context> context,                                            ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2912:43: note:   candidate expects 4 arguments, 3 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::getinfo(const int&)’: ../src/node-curl.h:268:38: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    NodeCurl * node_curl = unwrap(args.This());                                       ^ ../src/node-curl.h:269:35: error: invalid types ‘const int[int]’ for array subscript    CURLINFO info = (CURLINFO)args[0]->Int32Value();                                    ^ ../src/node-curl.h:275:51: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Null(v8::Isolate*)’    return result ? JsClass::New(result) : v8::Null();                                                    ^ In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:8130:18: note: declared here  Local<Primitive> Null(Isolate* isolate) {                   ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::getinfo_slist(const int&)’: ../src/node-curl.h:296:37: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    NodeCurl* node_curl = unwrap(args.This());                                      ^ ../src/node-curl.h:297:35: error: invalid types ‘const int[int]’ for array subscript    CURLINFO info = (CURLINFO)args[0]->Int32Value();                                    ^ ../src/node-curl.h:303:48: error: no matching function for call to ‘v8::Array::New()’    v8::Handle<v8::Array> array = v8::Array::New();                                                 ^ ../src/node-curl.h:303:48: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2965:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)    static Local<Array> New(Isolate* isolate, int length = 0);                        ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2965:23: note:   candidate expects 2 arguments, 0 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:309:33: error: ‘New’ is not a member of ‘v8::String’      array->Set(array->Length(), v8::String::New(cur->data));                                  ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::setopt_int(const int&)’: ../src/node-curl.h:332:22: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    return unwrap(args.This())->setopt(args[0], args[1]->Int32Value());                       ^ ../src/node-curl.h:332:44: error: invalid types ‘const int[int]’ for array subscript    return unwrap(args.This())->setopt(args[0], args[1]->Int32Value());                                             ^ ../src/node-curl.h:332:53: error: invalid types ‘const int[int]’ for array subscript    return unwrap(args.This())->setopt(args[0], args[1]->Int32Value());                                                      ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::setopt_str(const int&)’: ../src/node-curl.h:339:40: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    NodeCurl   * node_curl = unwrap(args.This());                                         ^ ../src/node-curl.h:340:19: error: invalid types ‘const int[int]’ for array subscript    int key = args[0]->Int32Value();                    ^ ../src/node-curl.h:341:37: error: invalid types ‘const int[int]’ for array subscript    v8::String::Utf8Value value(args[1]);                                      ^ ../src/node-curl.h:344:22: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    return unwrap(args.This())->setopt(args[0], node_curl->strings[key].c_str() );                       ^ ../src/node-curl.h:344:44: error: invalid types ‘const int[int]’ for array subscript    return unwrap(args.This())->setopt(args[0], node_curl->strings[key].c_str() );                                             ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::setopt_slist(const int&)’: ../src/node-curl.h:349:40: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    NodeCurl   * node_curl = unwrap(args.This());                                         ^ ../src/node-curl.h:350:49: error: invalid types ‘const int[int]’ for array subscript    curl_slist * slist     = value_to_slist(args[1]);                                                  ^ ../src/node-curl.h:352:34: error: invalid types ‘const int[int]’ for array subscript    return node_curl->setopt(args[0], slist);                                   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::setopt_httppost(const int&)’: ../src/node-curl.h:357:38: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    NodeCurl * node_curl = unwrap(args.This());                                       ^ ../src/node-curl.h:359:66: error: invalid types ‘const int[int]’ for array subscript    v8::Handle<v8::Array> rows = v8::Handle<v8::Array>::Cast(args[0]);                                                                   ^ ../src/node-curl.h:376:15: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    return args.This();                ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::raise(const char*, const char*)’: ../src/node-curl.h:407:10: error: ‘ThrowException’ is not a member of ‘v8’    return v8::ThrowException(v8::Exception::Error(v8::String::New(what)));           ^ ../src/node-curl.h:407:50: error: ‘New’ is not a member of ‘v8::String’    return v8::ThrowException(v8::Exception::Error(v8::String::New(what)));                                                   ^ ../src/node-curl.h: In static member function ‘static void NodeCurl::export_curl_options(T, const char*, NodeCurl::CurlOption*, int)’: ../src/node-curl.h:413:57: error: no matching function for call to ‘v8::Object::New()’    v8::Handle<v8::Object> node_options = v8::Object::New();                                                          ^ ../src/node-curl.h:413:57: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2933:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)    static Local<Object> New(Isolate* isolate);                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2933:24: note:   candidate expects 1 argument, 0 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:418:5: error: ‘NewSymbol’ is not a member of ‘v8::String’      v8::String::NewSymbol(option.name),      ^ ../src/node-curl.h:419:34: error: no matching function for call to ‘v8::Integer::New(const int&)’      v8::Integer::New(option.value)                                   ^ ../src/node-curl.h:419:34: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2499:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)    static Local<Integer> New(Isolate* isolate, int32_t value);                          ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2499:25: note:   candidate expects 2 arguments, 1 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:422:10: error: ‘NewSymbol’ is not a member of ‘v8::String’    t->Set(v8::String::NewSymbol(group_name), node_options);           ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::New(const int&)’: ../src/node-curl.h:428:21: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    new NodeCurl(args.This());                      ^ ../src/node-curl.h:429:15: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    return args.This();                ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::process(const int&)’: ../src/node-curl.h:472:66: error: no matching function for call to ‘v8::Integer::New(int)’    return v8::Integer::New(transfered + (int)(running_handles > 0));                                                                   ^ ../src/node-curl.h:472:66: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2499:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)    static Local<Integer> New(Isolate* isolate, int32_t value);                          ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2499:25: note:   candidate expects 2 arguments, 1 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::perform(const int&)’: ../src/node-curl.h:478:32: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    NodeCurl *curl = unwrap(args.This());                                 ^ ../src/node-curl.h:493:15: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’    return args.This();                ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::get_count(const int&)’: ../src/node-curl.h:498:32: error: no matching function for call to ‘v8::Integer::New(int&)’    return v8::Integer::New(count);                                 ^ ../src/node-curl.h:498:32: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2499:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)    static Local<Integer> New(Isolate* isolate, int32_t value);                          ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2499:25: note:   candidate expects 2 arguments, 1 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::Initialize(v8::Handle<v8::Object>)’: ../src/node-curl.h:518:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’    v8::Handle<v8::FunctionTemplate> t = v8::FunctionTemplate::New(New);                                                                      ^ ../src/node-curl.h:518:69: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:4349:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)    static Local<FunctionTemplate> New(                                   ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:4349:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:522:58: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "perform_"      , perform);                                                           ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:523:61: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "setopt_int_"   , setopt_int);                                                              ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:524:61: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "setopt_str_"   , setopt_str);                                                              ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:525:63: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "setopt_slist_" , setopt_slist);                                                                ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:526:69: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "setopt_httppost_" , setopt_httppost);                                                                      ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:528:64: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "getinfo_int_"    , getinfo_int);                                                                 ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:529:64: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "getinfo_str_"    , getinfo_str);                                                                 ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:530:67: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "getinfo_double_" , getinfo_double);                                                                    ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:531:66: error: invalid conversion from ‘v8::Handle<v8::Value> (*)(const int&) {aka v8::Local<v8::Value> (*)(const int&)}’ to ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’ [-fpermissive]    NODE_SET_PROTOTYPE_METHOD(t , "getinfo_slist_"  , getinfo_slist);                                                                   ^ In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:252:13: error:   initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate>, const char*, v8::FunctionCallback)’ [-fpermissive]  inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,              ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:533:47: error: no matches converting function ‘close’ to type ‘v8::FunctionCallback {aka void (*)(const class v8::FunctionCallbackInfo<v8::Value>&)}’    NODE_SET_PROTOTYPE_METHOD(t, "close_", close);                                                ^ ../src/node-curl.h:178:31: note: candidates are: static v8::Handle<v8::Value> NodeCurl::close(const int&)   static v8::Handle<v8::Value> close(const v8::Arguments & args)                                ^ ../src/node-curl.h:171:7: note:                 void NodeCurl::close()   void close()        ^ ../src/node-curl.h:535:44: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::FunctionTemplate>&, const char [9], v8::Handle<v8::Value> (&)(const int&))’    NODE_SET_METHOD(t , "process_"  , process);                                             ^ ../src/node-curl.h:535:44: note: candidate is: In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)  inline void NODE_SET_METHOD(const TypeName& recv,              ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:236:13: note:   template argument deduction/substitution failed: In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:535:44: note:   cannot convert ‘NodeCurl::process’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’    NODE_SET_METHOD(t , "process_"  , process);                                             ^ ../src/node-curl.h:536:46: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::FunctionTemplate>&, const char [10], v8::Handle<v8::Value> (&)(const int&))’    NODE_SET_METHOD(t , "get_count" , get_count);                                               ^ ../src/node-curl.h:536:46: note: candidate is: In file included from ../src/node-curl.h:5:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)  inline void NODE_SET_METHOD(const TypeName& recv,              ^ /home/ubuntu/.node-gyp/4.2.2/include/node/node.h:236:13: note:   template argument deduction/substitution failed: In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:536:46: note:   cannot convert ‘NodeCurl::get_count’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’    NODE_SET_METHOD(t , "get_count" , get_count);                                               ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h:594:15: error: ‘NewSymbol’ is not a member of ‘v8::String’    target->Set(v8::String::NewSymbol("Curl"), t->GetFunction());                ^ In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In instantiation of ‘static v8::Handle<v8::Value> NodeCurl::getinfo(const int&) [with CType = long int; JsClass = v8::Integer; v8::Handle<v8::Value> = v8::Local<v8::Value>]’: ../src/node-curl.h:280:41:   required from here ../src/node-curl.h:275:38: error: no matching function for call to ‘v8::Integer::New(long int&)’    return result ? JsClass::New(result) : v8::Null();                                       ^ ../src/node-curl.h:275:38: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2499:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)    static Local<Integer> New(Isolate* isolate, int32_t value);                          ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2499:25: note:   candidate expects 2 arguments, 1 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In instantiation of ‘static v8::Handle<v8::Value> NodeCurl::getinfo(const int&) [with CType = char*; JsClass = v8::String; v8::Handle<v8::Value> = v8::Local<v8::Value>]’: ../src/node-curl.h:285:40:   required from here ../src/node-curl.h:275:38: error: ‘New’ is not a member of ‘v8::String’    return result ? JsClass::New(result) : v8::Null();                                       ^ ../src/node-curl.h: In instantiation of ‘static v8::Handle<v8::Value> NodeCurl::getinfo(const int&) [with CType = double; JsClass = v8::Number; v8::Handle<v8::Value> = v8::Local<v8::Value>]’: ../src/node-curl.h:290:42:   required from here ../src/node-curl.h:275:38: error: no matching function for call to ‘v8::Number::New(double&)’ ../src/node-curl.h:275:38: note: candidate is: In file included from ../src/node-curl.h:4:0,                  from ../src/node-curl.cc:1: /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2486:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)    static Local<Number> New(Isolate* isolate, double value);                         ^ /home/ubuntu/.node-gyp/4.2.2/include/node/v8.h:2486:24: note:   candidate expects 2 arguments, 1 provided In file included from ../src/node-curl.cc:1:0: ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::getinfo(const int&) [with CType = double; JsClass = v8::Number; v8::Handle<v8::Value> = v8::Local<v8::Value>]’: ../src/node-curl.h:276:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::getinfo(const int&) [with CType = char*; JsClass = v8::String; v8::Handle<v8::Value> = v8::Local<v8::Value>]’: ../src/node-curl.h:276:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::getinfo(const int&) [with CType = long int; JsClass = v8::Integer; v8::Handle<v8::Value> = v8::Local<v8::Value>]’: ../src/node-curl.h:276:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::setopt_httppost(const int&)’: ../src/node-curl.h:377:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::setopt_slist(const int&)’: ../src/node-curl.h:353:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::setopt_str(const int&)’: ../src/node-curl.h:345:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::setopt_int(const int&)’: ../src/node-curl.h:333:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::perform(const int&)’: ../src/node-curl.h:494:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ ../src/node-curl.h: In static member function ‘static v8::Handle<v8::Value> NodeCurl::raise(const char*, const char*)’: ../src/node-curl.h:408:2: warning: control reaches end of non-void function [-Wreturn-type]   }   ^ make: *** [Release/obj.target/node-curl/src/node-curl.o] Error 1 make: Leaving directory /home/ubuntu/node12/node_modules/node-curl/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-48-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/node12/node_modules/node-curl
gyp ERR! node -v v4.2.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
sh: 1: node-waf: not found
npm ERR! Linux 3.13.0-48-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-curl" "--save"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.7
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! node-curl@0.3.3 install: sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure build)
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the node-curl@0.3.3 install script 'sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure build)'.
npm ERR! This is most likely a problem with the node-curl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure build)
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-curl
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/node12/npm-debug.log

I also have the same error

So do i

same here

me too, ubuntu 15.10

👍

This may help, I was having issues on Ubuntu 16.04 -- https://github.com/joshtronic/node-curl -- I submitted a PR but since I doubt it will get accepted you may just want to install from source:
npm install /path/to/joshtronic/node-curl
Also, was having issues with the OpenSSL version of libcurl4. Ended up swapping for the gnutls version
sudo apt-get install libcurl4-gnutls-dev
Hope this helps!!

authors: Audace boompig dibyendu12340 flipflopsimsommer joshtronic karlito40 zirho

repo: jiangmiao/node-curl


text:
🐛 [OFFICIAL] Generated Issue: ConnectionTimeoutException

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The API has returned an error:
MongoDB\Driver\Exception\ConnectionTimeoutException
Status code: 13053
Message: No suitable servers found (`serverSelectionTryOnce` set): [connection timeout calling hello on '10.0.0.2:27017']
Trace: /var/www/jikan-rest/vendor/mongodb/mongodb/src/functions.php on line 487
Expected Behavior
The API should have returned a successful response with data.
Steps To Reproduce
Http Request: `GET /v4/top/anime?page=1
Return error 500
Environment
Brower : Chrome Version 121.0.6167.161 (Build officiel) (64 bits)

Anything else?

Resolved, thanks for reporting. Please re-open the ticket if it occurs again.

source: gharchive/issue

authors: irfan-dahir piyopiyolab

repo: jikan-me/jikan-rest

license: MIT

license_type: permissive

license_source: github-api


text:
Error with callback functios

https://github.com/jillix/svg.draggable.js/blob/master/svg.draggable.js#L120
The 'else' in this line must be deleted. Otherwise the y-Value will be always the same.
There it is right: https://github.com/wout/svg.draggable.js/blob/master/svg.draggable.js#L97

Good catch! Could you please create a pull request?

:ship: 1.0.0

authors: IonicaBizau ccvca

license: mit

license_source: bigquery


text:
creating uneeded instances

https://github.com/jima80525/ctypes_example/blob/07e89a10b5b933212932473f6f7f47c38e2a01d0/tutorial2/testWrappedPoint.py#L29
This calling of the wrapper functions and assignment to the instance on every  new point instantiation just looks bad. It is not that bad, as the wrapped functions are not new objects, but it remakes the assignment to the unique func in the ctypes wrapper for the library (although it would still have a major impact would one write actual Python code dealing with a couple hundred of Point instances)
I'd suggest just making the wrap call once, on top level code, would be much more elegant here:
class Point(...):
    ...
    def move(self):
         Point._move_point_func(self)

# These assignments must be after class body, due to the needed referenc  to the class itself.
 Point._move_point_func = wrap_function(lib, 'move_point', None, [Point])
...

(I am not sure if the functions wrapped by ctypes have a proper __get__. If they have, you might not  even need the intermediate  move method)

Thanks!  I'll play around with that when I get a minute or two.  I REALLY appreciate that suggestion!  I learned a great deal figuring out this demo and I'm glad to get to learn some more from it!
I'll leave this open until I work through your suggestion.
Thank you!

I created a pull request if you've got a few minutes.  I think this is what you were getting at.
https://github.com/jima80525/ctypes_example/pull/6
Also, I didn't quite follow your final comment.  Is it along the lines of hooking into the getattr function of the Line class, looking up the attributes of the library and then automatically calling an existing function?
I might play with that next.
Thanks again for your ideas!  I really appreciate it!


text:
RiotControl.on('eventName') appears to run twice per event fired as where Stores runs once which is desired behaviors.

Hi
I'm trying out RiotJS and using shared dispatcher for prototyping. Its all very great and RiotJS al the most impressive views library I've had the chance to face yet.
My main problem is when triggering events from RiotControl.trigger onto a RiotControl.on events gets fired twice.
http://i.imgur.com/HVNJt6Q.png
https://gist.github.com/madwill/a320c0b8fc69c600ad04
When triggering an event that is only listened on a Store it gets fired once which is fine.
But when triggering from the store back to the view, then i get 2 events no matter what.
Is there anything i should know ?
Thanks
William

It appears it is related to the require() using webpack.
I'm up to 3 event on each trigger now.

This seems to happen even when using .one (using it in node).

Do you have a minimal fiddle demo? And riotjs version #?

Hi
Riot version is 2.0.15, the latest one I've found.
It seems to be related to the number of store. I currently have 3 stores and have every event listened on the RiotControl object triggered 3 time, I had 2 when creating this ticket and had event being fired  2 times.
I don't think i can create a fiddle since it appears to be related to require.
If you create this setup add 2 stores and register them in index.js.
Then as my first comment gist send a "init" event to the store and have the store send something back. to app.tag which listen to whatever that is.
You'll get it twice and if you register 3 stores you'll get it 3 times.

Getting a feeling that my problem is with riot and not RiotControl

I'm seeing the same thing. The number of times an event is fired is directly tied to the number of stores in my application. Any resolution, workaround or identification of the root cause for this?

Personally I've never found one. Decided to go with PostalJS for pub sub of event. It has channels wich is nice.
Good luck

After running into similar problems we actually found it is a bug in our code!
For us it was related to two things:

Usage of "RiotControl.on()" from inside the store implementation.
Not removing event handler (for unmounted tags in this case)

After fixing both problems everything worked as expected.

@oderwat
Please make new gist work file .
Thank You !

I did. Hopefully it solves your problem, please report!

@avanslaars
When you check-out new videos with "Flux" and riot.js ?

@a-moses - I don't understand your question.

neither do I .. and I also did not get a reply to the proposed changes I made in his gist.

@a-moses - I would like to include RiotControl in a future video... I don't have as much time to put together examples, record and edit isn't as I used to so it's going to take me some time.

@avanslaars
In the Future Please consider to separate same Tutorial record  to two different videos:
videoA : Browser + Console.
videoB : Code + Terminal.
Voice: same Voice  with A and B.
All this to let me (the user) choose how to see the lesson
for example code bigger then preview
or user with two screen will could Split the videos ... and so on.
Just a suggestion .
Thank you  about your work.

@a-moses I wrote my comment into your gist. I am not going to create a new gist in my account to change one word in your pseudocode. Actually I unsubscribed this issue now. That Video discussion is pretty much off topic here.

If there is an outstanding issue here, I should have some free time this weekend to review. Otherwise, it looks like it may have been usage related.

Hi, still an issue.

@oderwat  Thank you about your comment.
the code work well done.
@oderwat  @jimsparkman  maybe some update to the documentation will minimize some of users issue .

Great! I had the same problem!

authors: a-moses avanslaars jimsparkman luisvinicius167 madwill oderwat osiloke ulrikaugustsson

repo: jimsparkman/RiotControl


text:
Explanation in prompt does not make sense

This prompt and resulting response are inconsistent
prompt
global_state:
{'present': {(1, 'e'), (2, 'a'), (2, 'l'), (1, 'a'), (0, 'e')}, 'correct': {(4, 'e')}, 'absent': {'i', 'g', 's', 'o', 'k', 'v', 't', 'f', 'r', 'w', 'c', 'u', 'm', 'd'}}
Solve the puzzle by guessing a five-letter word using these clues.
Words must contain 'e' in the fifth position.
Words must not contain the 'e' in the first position.
Words must not contain the 'e' in the second position.
Words must not contain the 'a' in the second position.
Words must not contain the 'a' in the third position.
Words must not contain the 'l' in the third position.
If more than one word meets the criteria, select the word that is more common. Provide step-by-step instructions for how you arrived at the selected word. When writing the instructions, do not list words. Return only a json structure with the key 'recommendation' for the recommended word and 'explanation' for your explantion.
List of candidate words:
abele
albee
anele
apple
blype
lynne
phebe
phene
phyle
plebe

llm_response
{"recommendation": "apple", "explanation": "First, we eliminate words that do not have
'e' in the fifth position. This leaves us with 'abele', 'albee', 'anele', 'apple', 'blype', 'phebe',
'phene', 'phyle', 'plebe'. Then, we eliminate words that have 'e' in the first or second position,
leaving us with 'apple', 'blype', 'phyle'. Next, we eliminate words that have 'a' in the
second or third position, leaving us with 'blype', 'phyle'. Finally, we eliminate words that
have 'l' in the third position, leaving us with 'apple'. Since 'apple' is a more common word, it is
the recommended word."}

Decided to remove the correct letter and present letter instructions.  These are already taken care by the regex processing to come up with candidate words.  Just leave instruction for selecting common word


text:
Upgrade all executors to >= 2.0.19

Recently @jacobowitz merged the gRPC runtime to the core.
It allows having Kubernetes managed replicas and will be part of the 2.0.19 release.
Please upgrade all executors to >= 2.0.19

It's unnecessary to upgrade them manually. Hubble will build it on-demand.

authors: florian-hoenicke mapleeit

repo: jina-ai/executors


text:
是时候摆脱大体积了

因为有用get-video-duration库的关系体积很大

[ ] 降低容量

从90mb降低到25mb

fix


text:
1.9 is not compatible with 1.0

What version of Go are you using (go version)?
1.10
Which database and its version are you using?
postgresql 10
The problem
With 1.0 our code works and with 1.9 it throws a panic when calling DB.Exec:
panic: index out of range

Hello @ptman
This should be caused by your SQL contains a ?, I have pushed a commit to fix the panic.

Thank you, it worked.

authors: jinzhu ptman

repo: jinzhu/gorm


text:
Requirements for TSV definition files

In the tsv files we have:

Description
Purpose
Derivation,
Valid Values
Format

and adam has added

Notes

Are all these useful and can the documentation be maintained? Some thoughts:
Purpose for most of these says 'analytics' in most instances. If we are keeping purpose then I would think it needs to be maintained by an analyst. Is it useful?
Is derivation useful?
Perhaps with notes where required, derivation and purposes can be dropped?
Valid values and format are duplicated elsewhere in the documentation- they are in the statement template (or common structures) . Duplication is bad - but I still think there is scope for them here as the TSV inputs are a single thing to point instutions to when describing the data required. Any thoughts?

Sugguest I remove purpose and derivation, but leave valid values and format

Weekly: decided to go with these conventions for each each statement template in 1.0.1
See tickets #219 #220 #215

repo: jiscdev/xapi


text:
jitsi meet not working using helm after joining two or more people

Title: Audio and Video Not Working for Third Participant in Jitsi Meet Deployment via Helm
Description:
We have deployed Jitsi Meet using Helm. All the necessary services like jitsi-web and jvb have been created with the necessary pods. We exposed the web service via Ingress and are able to create meetings for two participants without any issues. However, when a third participant joins the meeting, the audio and video stop working.
Below is the values.yml file we used for the deployment. Please advise if any changes need to be made to the values.yml to resolve this issue.
yaml
global:
clusterDomain: cluster.local
podLabels: {}
podAnnotations: {}
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

enableAuth: false
enableGuests: true
publicURL: "jitsiks.example.com"

tz: Asia/Kolkata

image:
pullPolicy: IfNotPresent

websockets:
colibri:
enabled: true
xmpp:
enabled: true

web:
replicaCount: 1
image:
repository: jitsi/web
tag: 'stable-9584-1'

extraEnvs:
name: ENABLE_P2P
value: "0"

service:
type: ClusterIP
port: 80
externalIPs: []

ingress:
enabled: false
annotations: {}
hosts:
- host: jitsi.local
paths: ['/']
tls: []

httpRedirect: false
httpsEnabled: false

livenessProbe:
httpGet:
path: /
port: 80
readinessProbe:
httpGet:
path: /
port: 80

podLabels: {}
podAnnotations: {}
podSecurityContext: {}
securityContext: {}
resources:
limits:
cpu: 1
memory: 2096Mi
requests:
cpu: 1
memory: 1096Mi

nodeSelector: {}

tolerations: []

affinity: {}

jicofo:
replicaCount: 1
image:
repository: jitsi/jicofo
tag: 'stable-9584-1'

xmpp:
password:
componentSecret:

livenessProbe:
tcpSocket:
port: 8888
readinessProbe:
tcpSocket:
port: 8888

podLabels: {}
podAnnotations: {}
podSecurityContext: {}
securityContext: {}
resources: {}
nodeSelector: {}
tolerations: []
affinity: {}
extraEnvs: {}

jvb:
replicaCount: 1
image:
repository: jitsi/jvb
tag: 'stable-9584-1'

xmpp:
user: jvb
password:

stunServers: 'meet-jit-si-turnrelay.jitsi.net:443'
useHostPort: true
useHostNetwork: true

UDPPort: 10000

service:
type: NodePort
annotations: {}

breweryMuc: jvbbrewery

livenessProbe:
httpGet:
path: /about/health
port: 8080
readinessProbe:
httpGet:
path: /about/health
port: 8080

prosody:
enabled: true
persistence:
enabled: false
server:
extraEnvFrom:

secretRef:
name: '{{ include "prosody.fullname" . }}-jicofo'
secretRef:
name: '{{ include "prosody.fullname" . }}-jvb'
configMapRef:
name: '{{ include "prosody.fullname" . }}-common'
name: '{{ include "prosody.fullname" . }}-jibri'
image:
repository: jitsi/prosody
tag: 'stable-9584-1'

Hello @sushantpatil12!
Can you please edit your original message and use triple backticks (```) around the values.yaml contents, so it doesn't get messed up by GitHub's markdown?

I have same issue. Here is my values.yaml file:
jitsi-meet:
  web:
    ingress:
      enabled: true
      ingressClassName: "traefik"
      annotations:
        cert-manager.io/cluster-issuer: letsencrypt-prod
        kubernetes.io/ingress.provider: traefik
      hosts:
      - paths: ['/']

  jvb:
    publicIPs:
      - <MY_PUBLIC_IP>
    service:
      externalTrafficPolicy: ""
    stunServers: "meet-jit-si-turnrelay.jitsi.net:443,stun1.l.google.com:19302,stun2.l.google.com:19302,stun3.l.google.com:19302,stun4.l.google.com:19302"

Also I tried to add this options:
  websockets:
    colibri:
      enabled: true

    xmpp:
      enabled: true

But issue was still present

Hello @Tlmonko!
Judging by the log you've attached, it looks like the JVB is unable to reach the client with UDP replies. Can you verify that Traefik really routes the UDP datagrams to JVB properly and sends the replies back to the user as well?
I had a similar problem when I used the ingress-nginx Ingress Controller with an extra config so it'd proxy incoming UDP to the JVB service. As it turned out, nginx assumes that all UDP connections behave like DNS, and so by default it would accept one UDP packet from the user, forward it to the JVB and then get exactly one response packet from the JVB and forward it back to the user. At the time I managed to fix this problem by changing some nginx configuration option to tell it to proxy at most 9999999 UDP response packets back to the user. It somewhat worked, but in the end I decided to cut the middleman and exposed the JVB via useHostPort: true instead.

@sushantpatil12, can you please try deploying Jitsi Meet with these values for JVB?
    jvb:
      UDPPort: 32768
      stunServers: >-
        meet-jit-si-turnrelay.jitsi.net:443,stun1.l.google.com:19302,stun2.l.google.com:19302,stun3.l.google.com:19302,stun4.l.google.com:19302
      useHostPort: true
      useNodeIP: true

This way JVB's data port will be exposed via the hostPort feature, and JVB will auto-detect the server IP and will announce it to the users.

authors: Tlmonko spijet sushantpatil12

repo: jitsi-contrib/jitsi-helm


text:
error adding jitsi package - A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction     2 files found with path 'lib/arm64-v8a/libfbjni.so' from input

A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction

2 files found with path 'lib/arm64-v8a/libfbjni.so' from inputs

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:mergeStageDebugNativeLibs'.

A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
2 files found with path 'lib/arm64-v8a/libfbjni.so' from inputs:
- /Users/rushitkapadia/.gradle/caches/transforms-3/504dc0e340a97dd328c273ceb208e4fc/transformed/jetified-react-android-0.72.9-debug/jni/arm64-v8a/libfbjni.so
- /Users/rushitkapadia/.gradle/caches/transforms-3/d82b31318c0ed8def6e04d97cb6d5632/transformed/jetified-fbjni-0.3.0/jni/arm64-v8a/libfbjni.so
If you are using jniLibs and CMake IMPORTED targets, see
https://developer.android.com/r/tools/jniLibs-vs-imported-targets

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

More info
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.2.1 23C71 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)

Same problem. Is this solved?

authors: Escapingbug richanshah

repo: jitsi/jitsi-meet-flutter-sdk


text:
Are the saved passwords for accounts in jitsi clients encrypted?

Are the saved passwords for accounts encrypted. Where are these passwords stored?

Yes.
In the configuration file.
Please ask questions on the mailing list.

authors: ibauersachs willemdh

repo: jitsi/jitsi


text:
We are getting below error for asyn classic code generator

Execution failed for task ':jooqGenerate'.

The  tag is mandatory. For details, see http://www.jooq.org/xsd/jooq-codegen-3.11.0.xsd

Note :- We have used the same code provided in the git

we are getting that &ltgenerate> &lt/generate> tag is mandatory

repo: jklingsporn/vertx-jooq


text:
SharpDX build.cmd fails when project directory contains spaces

More specifically, it fails first when executing the following task in SharpGenTools.Sdk.targets:
  <Target
    Name="GenerateExtensionHeaders"
    DependsOnTargets="PrepareCppGeneration;GenerateHeaders"
    Inputs="@(SharpGenSdkAssembly);@(SharpGenMapping);@(SharpGenConsumerMapping);@(Headers)"
    Outputs="@(ExtensionHeaders);@(PartialCppModule)"
    Condition="'@(SharpGenMapping)' != ''">
    <GenerateExtensionHeaders
      ConfigFiles="@(SharpGenMapping);@(SharpGenConsumerMapping)"
      Macros="$(SharpGenMacros)"
      ExtensionHeaders="@(ExtensionHeaders)"
      CastXmlExecutablePath="$(CastXmlPath)"
      OutputPath="$(MSBuildProjectDirectory)/$(SharpGenIntermediateDir)"
      PartialCppModuleCache="@(PartialCppModule)"
      UpdatedConfigs="@(UpdatedConfigs)"
    />
  </Target>

What exception do you get when it fails?

Sorry for the late reply, but I see you already fixed this, amazing, thanks!

No prob! The fix should be in SharpDX after my next release when they upgrade.

authors: Ziriax jkoritzinsky

repo: jkoritzinsky/SharpGenTools


text:
Homework 1 file

Have a look, let me know if I need to change anything major

Thanks, Justin. This looks great!

source: gharchive/pull-request

authors: jlperona powerjg


text:
The question about counterfactual

Dear Junior:
I'm sorry to disturb you again. I tried to use the function 'counterfactual' to defined the counterf following the example of KaijiTutorial. However, I got the massage:
Reference to non-existent field 'solve_user_defined_shocks'
Error dsge/filter
Error dsge/counterfactual
And I found that there is no 'solve_user_defined_shocks' in the result of 'rise.options' when I use the newest RISE_toolbox. However, the result of 'rise.options' has 'solve_user_defined_shocks' when I use the previous version. So, could you tell me how to modify the code?
Many thanks!
Kidd
2020.08.14

The example is deprecated. But do reopen the issue if you still want to run it.


text:
Disabled  elements should not be submitted.

According to 1 and 2, the disabled attribute prevents value from being submitted.
It seems that robobrowser does not check if elements are disabled or not. In my case there was a disabled checkbox in a form that was submitted unexpectedly.

Good catch! This is fixed in https://github.com/jmcarp/robobrowser/commit/c249037e2f3b9eaea84b2ef7c40f6d3c898ae031 and will be released soon.

repo: jmcarp/robobrowser


text:
Enhancement.

It was suggested to me over at GitLab that I pull in missing hosts for my new ZuckerBlock hosts-file. It includes Giphy hosts, as well as Oculus & Libra, and is CC0. So have a look, pull in what you need, and I'll do the same as we are both using the CC0 license. The repo is here: https://gitlab.com/intr0/zuckerblock. Peace.

Gitlab have smaller community so i don't know which improvements this will give you.

I want to be able to quickly delete all fb-related cookies, etc from my browser, so I'm looking for a list of expressions to search the cookie list to delete.  I can sort of eyeball a corporations/Facebook/all or ZuckerBlock list, looking at the second level part of the domains (SLD) and do it that way.  Anyone else interested in such a list?  (Facebook, insta, fbc...?   ).   As long as this Issue has a vague title, this seems like a not awful place to mention this enhancement idea - and get feedback.  Thinking selecting out the SLDs plus | sort | uniq would be an OK way to generate it, but maybe not.

Send PRs.

authors: Voltairine-de-Cleyre beerisgood drduh elvey

repo: jmdugan/blocklists


text:
Fix code climate GPA

Might involve adding the code climate config file to the repo

Done in #43

repo: jmeas/moment-business


text:
Question: Renaming across multiple files

Hello, this is probably not an issue with the plugin itself but:
When I want to rename a function using vim.lsp.buf.rename, the renaming works for the function itself but the references are not updated at all.
I couldn't really understand whether this is not supported or my config is wrong, my roslyn setup is pretty much identical to the one on the README, and I'm just using vim.lsp.buf.rename to rename.
I see both notifications regarding the plugin initialization, so I can jump around the definitions etc as usual.
Any thoughts?

I used this in different files and got my answer.
So, if the method is not tied to an interface, then the renaming only works on the method itself, not the references.
If the method belongs to an interface, renaming applies to all the references.
Adding my comment and closing this to prevent confusion.


text:
Robot name v1

Finished robot_name exercise

Nice work.  Take a look at the comments, but no need for a resubmission.

authors: djkotowski mccormjt


text:
progress: fix bar rate

implement rate as a rolling average over the last n updates.
the current issue is rate is calculated as an average rate over the lifetime of the progress bar. this reflects the actual progress well if the progress is smooth and flat but that's rarely the case.
the rolling average is a better way to represent changing rates. if more progress is made in the window than before, the rate will go up. if less progress is made, the rate will go down

I believe it calculates the running average download speed over a series of values to calculate download/upload rate, which will give a better result than what's in main currently

Some small comments – this is looking amazing 🤩

authors: jmorganca mxyng

repo: jmorganca/ollama


text:
Deprecation warning

I receive the following warning now and then:
DEPRECATION WARNING: Bolding log text with a positional boolean is deprecated and will be removed in Rails 7.2. Use an option hash instead (eg. color(:red, "my text", bold: true)). (called from feature_operation at /Users/jimmy/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/flipper-0.28.0/lib/flipper/instrumentation/log_subscriber.rb:35)
Rails version: 7.1.0.alpha
Ruby version: 3.2.1

Didn't see that @seanpdoyle already addressed this in #723. I apologize.

repo: jnunemaker/flipper


text:
Add awesome-cryptography

Link: https://github.com/sobolevn/awesome-cryptography

@jnv Any feedback, please?

Thanks Soboloev! I didn't have chance to look into this until now.

authors: jnv sobolevn

repo: jnv/lists


text:
🛑 Felix Telecom is down

In 5a138db, Felix Telecom (https://www.felixtelecom.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Felix Telecom is back up in a66b62d.


text:
🛑 CEI Sales App is down

In 84ec993, CEI Sales App (https://app.ceisales.com/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEI Sales App is back up in d529f9a after 12 minutes.


text:
🛑 GlobStar 1 is down

In a84b6d2, GlobStar 1 (https://globstar.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GlobStar 1 is back up in 44ed9b0 after 17 minutes.


text:
🛑 Felix Telecom is down

In 5de7713, Felix Telecom (https://www.felixtelecom.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Felix Telecom is back up in 213dd7d after 50 minutes.


text:
🛑 Amoobi is down

In 9e88ff6, Amoobi (https://www.amoobi.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Amoobi is back up in 4aff710.


text:
🛑 Amoobi is down

In e4d8024, Amoobi (https://www.amoobi.com) was down:

HTTP code: 502
Response time: 505 ms

Resolved: Amoobi is back up in f524e19.


text:
Agent names

I can't tell which agent is running.  I see different colors depending on which agent is running, but the agent name isn't printed out.  Is there a switch for this?

It prints at the start of the task but I hear you that there is value on printing it during execution as well, this is a duplicate of #34 so I'm closing it, but that is in the roadmap

authors: MikeyBeez joaomdmoura

repo: joaomdmoura/crewAI


text:
Add assertion for completion stage

Check List:

Fixes #1010
Unit tests :  NO
Javadoc with a code example (API only) : NO

Note I was not creative, so far only Copy&Paste from CompletableFuture classes (and javadoc is still unchanged)

Javadoc and Test still TODO.
This currently fails in Maven/oracle-java8/Ubuntu for me, but passes in IntelliJ.
Failure is
 [ERROR] Failures:
[ERROR]   Assertions_sync_assertThat_with_BDD_and_Soft_variants_Test.bdd_assertions_and_bdd_soft_assertions_should_have_the_same_assertions_methods
...
but the following elements were unexpected:
  <[public static org.assertj.core.api.CompletionStageAssert org.assertj.core.api.BDDAssertions.then(java.util.concurrent.CompletionStage)]>

Thanks @tkruse , I will review your PR in the next days !

@tkruse I can build your branch with maven on ubuntu 16.04, more precisely:
Maven home: /home/joel/prog/apache-maven-3.5.0
Java version: 1.8.0_112, vendor: Oracle Corporation
Java home: /home/joel/prog/java/jdk1.8.0_112/jre
Default locale: en_NZ, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-83-generic", arch: "amd64", family: "unix"

Ok, well, I cannot reproduce today. Maybe some IntelliJ interference. Any feedback on the codig approach? SHould I start writing unit tests, or would you want some redesign first?

I'll give some feedback by the end of the week.

@tkruse CompletionStage API does not expose data, I don't see which assertions we could perform on a CompletionStage.
Is there a value to convert a CompletionStage to a CompletableFuture on behalf of the user ? (I mean they could do when they need to).

There is no other value to it than to reduce the code for users dealing with APIs based on CompletionStage.

If I understand you correctly, all you need is are assertions factory method to get a CompletableFutureAssert from a CompletionStage ?
CompletableFutureAssert<RESULT> assertThat(CompletionStage<RESULT> actual) {
  return assertThat(actual.toCompletableFuture());
}

Yes, looks much easier than what I tried.

So should this PR be closed (for users to create such a method themselves), or modified adding this factory Method to some class?
The code you give is not null-safe, and also not corner-case safe (weird custom implementations of CompletionStage might exist that do undesired things on toCompletableFuture()).

@joel-costigliola : Any progress? This can be closed, but still it would be nice to have those  assertions factory methods you mentioned

I will integrate the factory method for the next release, super busy right now so if you feel like revamping this PR to only contain the factory method + unit tests then that would help.

Finished in 5badc3775065ad4041a8b974198b73040d3ad4f6 by adding a factory method to return CompletableFuture assertion from a CompletionStage.

Hi,
so the sad thing about this is that the compilation breaks for any Objects that extend both Future and CompletionStage:
private static interface Both<V> extends CompletionStage<V>, Future<V> {

}

@Test
public void testAssertJ() {
    Both future2 = mock(Both.class);
    // ambiguous method call
    assertThat(future2).isNotDone();
    // Workaround
    assertThat((Future<?>) future2).isNotDone();
}

This hapens e.g. for RFuture of Redisson. Maybe not a frequent use-case. A simple workaround is to disambiguate with a cast. But I wonder if this could be avoided entirely, somthing like this:
static <T, I extends Future<T> & CompletionStage<T>> void assertThat(I x) {
}

this is related to https://stackoverflow.com/questions/29499847/ambiguous-method-in-java-8-why I believe which was sadly introduced in java 8.

I guess another workaround would be to implement a custom static assertThat(RFuture future) {...} method.

authors: joel-costigliola tkruse

repo: joel-costigliola/assertj-core


text:
Package Resolution Failed when adding ApolloCombine via Swift Package manager

"ApolloCombine could not be resolved"
...
"An unknown error occurred, referene 'refs/remotes/origin/main' not found (-1)
Other packages work ok

Sorry. Just now seeing this. The reference should be to 'master', not 'main'.

repo: joel-perry/ApolloCombine


text:
Crashes when pressing PS button

Audio hangt when coming back to the app

You can't even press the PS button though because its locked?


text:
Is it ok to rename existing bitmask value?

Warning: Modifying possible values
IMPORTANT: Once you have data using a bitmask, don't change the order of the values, remove any values, or insert any new values in the :as array anywhere except at the end. You won't like the results.

The README warns not to change the order of :as array once we have data, but is it ok to rename one value without changing the order?
Example:
class User < ActiveRecord::Base
  bitmask :roles, :as => [:writer, :publisher, :editor, :proofreader]
end

to
class User < ActiveRecord::Base
  bitmask :roles, :as => [:writer, :publisher, :story_editor, :proofreader, :event_editor]
end

Just to follow up to this question, we did rename the bitmask role and it works pretty well without breaking


text:
Brand color

Gray looks great (ha), but I think it's time for a real brand color. I've toyed with the idea of red to match Ruby/Rails, but am open to other ideas.
Also, ideally this would be one of the 17 non-gray Tailwind CSS 3.0 colors so we can use all the 10 variants out of the box. If not, we would need to manually create 10 variants that work with Tailwind UI.

On second thought, I'm going to take GitHub's lead and make black/gray the "brand" color. This leaves open opportunities to use green, red, and yellow as accent colors for positive, negative, and neutral context, respectively. We could even add in blue for links!


text:
Update slf4j-api to 2.0.5

Updates org.slf4j:slf4j-api from 1.7.36 to 2.0.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.7.36).
You might want to review and update them manually.
joern-cli/frontends/x2cpg/src/test/scala/io/joern/x2cpg/utils/dependency/DependencyResolverTests.scala

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.slf4j", artifactId = "slf4j-api" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.slf4j", artifactId = "slf4j-api" }
}]

labels: library-update, early-semver-major, semver-spec-major, old-version-remains, commit-count:1

Superseded by #2104.

repo: joernio/joern


text:
Update Readme for Release of 1.9

This is issue is to track the updates to the README which should be done for 1.9 as there are multiple requests noting issues with examples.
This closes #137 in favour of more systematic updates.

Will be moving examples into Wiki instead so it can be updated without PR's


text:
Item 1C from 10-K

Hi John:
I talked to you about the same issue while discussing sec-parsers. I am wondering how I can get item 1C of 10-K for all companies since December 14, 2023 using datamule. I tried different code from datamule, but was unsuccessful. Thanks

Hi Sharif, good to hear from you.
I'll be adding a basic 10-K, 10-KSB, and 10-Q item parser to the package this week. It will be able to parse Item 1C from 2001-present. (Current benchmark is ~15 milliseconds per filing)

Ok. Thanks

The following code should work.
from datamule import Filing, Downloader
import os
import json
from pathlib import Path

# Download 10-K filings from 2023-12-14 to 2024-10-28 (Today's date)
downloader = Downloader()
downloader.download(form='10-K', file_types='10-K',output_dir='10k',date=('2023-12-14','2024-10-28'))

Path('10k_parsed').mkdir(exist_ok=True)

# Collect the text of Item 1C from each 10-K filing
item1c_list = []
for filename in [f for f in os.listdir('10k') if f.lower().endswith(('.htm','.html','.txt'))]:
    print(filename)
    filepath = os.path.join('10k', filename)

    filing = Filing(filepath, filing_type='10-K')
    parsed = filing.parse_filing()
    try:
        item1c = [item['text'] for item in parsed['content'][0]['items'] if item['title'].lower() == 'item1c'][0]
        item1c_list.append(item1c)
    except:
        # Some filings are missing Item 1C or the parser failed to extract it
        item1c_list.append('')

    # OPTIONAL: Save parsed data to a json file
    # with open(f'10k_parsed/{filename}.json', 'w') as f:
    #     json.dump(parsed, f)

Heads up, I will probably change the structure of the parsed 10-K in the future, as it's unintuitive.

Updated to make the structure intuitive.
parsed['document']['part1']['item1c']

result
Item
1C. Cybersecurity

Risk
Management and Strategy

We
have established cybersecurity risk assessment procedures to ensure effectiveness in cybersecurity management, strategy and governance
and reporting cybersecurity risks. The process is in alignment with our strategic objectives and risk appetite....

Hello,
Thanks.
I got the following error from the below code  -
# Collect the text of Item 1C from each 10-K filing
item1c_list = []
for filename in [f for f in os.listdir('10k') if f.lower().endswith(('.htm','.html','.txt'))]:
    print(filename)
    filepath = os.path.join('10k', filename)

    filing = Filing(filepath, filing_type='10-K')
    parsed = filing.parse_filing()
    try:
        item1c = [item['text'] for item in parsed['content'][0]['items'] if item['title'].lower() == 'item1c'][0]
        item1c_list.append(item1c)
    except:
        # Some filings are missing Item 1C or the parser failed to extract it
        item1c_list.append('')

The error -
000000695123000041_amat-20231029.htm
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[21], [line 8](vscode-notebook-cell:?execution_count=21&line=8)
      [5](vscode-notebook-cell:?execution_count=21&line=5) filepath = os.path.join('10k', filename)
      [7](vscode-notebook-cell:?execution_count=21&line=7) filing = Filing(filepath, filing_type='10-K')
----> [8](vscode-notebook-cell:?execution_count=21&line=8) parsed = filing.parse_filing()
      [9](vscode-notebook-cell:?execution_count=21&line=9) try:
     [10](vscode-notebook-cell:?execution_count=21&line=10)     item1c = [item['text'] for item in parsed['content'][0]['items'] if item['title'].lower() == 'item1c'][0]

File c:\Users\mshar\AppData\Local\Programs\Python\Python312\Lib\site-packages\datamule\sec_filing.py:14, in Filing.parse_filing(self)
     [13](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/sec_filing.py:13) def parse_filing(self):
---> [14](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/sec_filing.py:14)     self.data = self.parser.parse_filing(self.filename, self.filing_type)
     [15](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/sec_filing.py:15)     return self.data

File c:\Users\mshar\AppData\Local\Programs\Python\Python312\Lib\site-packages\datamule\parser\sec_parser.py:18, in Parser.parse_filing(self, filename, filing_type)
     [16](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/parser/sec_parser.py:16)     return parse_8k(filename)
     [17](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/parser/sec_parser.py:17) else:
---> [18](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/parser/sec_parser.py:18)     data = parse_textual_filing(url=filename, return_type='json')
     [19](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/parser/sec_parser.py:19) return data

File c:\Users\mshar\AppData\Local\Programs\Python\Python312\Lib\site-packages\datamule\datamule_api.py:10, in parse_textual_filing(url, return_type)
      [8](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:8) response = requests.get(base_url,params=params)
      [9](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:9) if response.status_code != 200:
---> [10](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:10)     raise ValueError('Server error')
     [12](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:12) if return_type == 'simplify':
     [13](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:13)     # return as html
     [14](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:14)     return response.text

ValueError: Server error

I think the issue is with parse_filing() function.

Hi Sharif, did you see the previous comment? You need to swap out parsed with
parsed['document']['part1']['item1c']

I changed the syntax to make it more intuitive, sorry for the confusion. Next time I'll edit the original comment directly.

Hello John:
Thanks for the feedback. It works fine now. I am wondering whether I can also get the CIK, company name, reporting date, and filing date from each parsed document.

Hi Sharif, you can, but it's annoying due to several technical considerations. I'm working on a solution (ETA 2 weeks).
In the meantime you can extract the information from the filename, e.g. 000001605821000001_edgar has accession number 000001605821000001. accession number contains cik: 0000016058, year:21, and filing count 000001.
From cik it's easy to get company name using load_package_csv('company_tickers') and performing a join command. (good reminder that I should implement a tutorial for this)
Reporting date and filing date is more difficult. If you can wait ~2 weeks, what you're trying to do will become two lines of code.

@msharifbd thanks to AnirudhJM24 filing data is now in the filename 000091205701000641_2001-01-08.htm.

@john-friedman and @AnirudhJM24 is there any way to get the "reporting date" as well? The reporting date is on the form for 10-K particularly.

Hi @msharifbd by reporting date do you mean accepted data?

@john-friedman not accepted date, I mean "Period of report" date. Can you see the date on the top right corner? That is the reporting date.

We can implement that. My attention is occupied elsewhere right now, so I'll ask Anirudh if he has time. Added as issue https://github.com/john-friedman/datamule-python/issues/13

OK. Thanks

authors: john-friedman msharifbd

repo: john-friedman/datamule-python


text:
Can you add support for PHPUnit > 6?

I was trying to install this extension into my project, but I stumbled into this problem

Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install phpunit/phpunit 6.3.0
- johnkary/phpunit-speedtrap 1.1.x-dev requires phpunit/phpunit >=4.7,<6.0 -> satisfiable by phpunit/phpunit[4.7.x-dev, 4.8.x-dev, 5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev].
- johnkary/phpunit-speedtrap v1.1.0 requires phpunit/phpunit >=4.7,<6.0 -> satisfiable by phpunit/phpunit[4.7.x-dev, 4.8.x-dev, 5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev].
- Can only install one of: phpunit/phpunit[4.8.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[5.6.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[5.7.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[4.7.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[5.0.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[5.1.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[5.2.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[5.3.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[5.4.x-dev, 6.3.0].
- Can only install one of: phpunit/phpunit[5.5.x-dev, 6.3.0].
- Installation request for phpunit/phpunit (locked at 6.3.0, required as ~6.1) -> satisfiable by phpunit/phpunit[6.3.0].
- Installation request for johnkary/phpunit-speedtrap ^1.1 -> satisfiable by johnkary/phpunit-speedtrap[1.1.x-dev, v1.1.0].

:+1:

Hi @Cayan, You can install phpunit-speedtrap for PHPUnit 6.0+ using v2.0.0-BETA1:
$ composer require --dev johnkary/phpunit-speedtrap v2.0.0-BETA1

Please close this issue if that works for you. I hope to have 2.0 ready soon.

It worked perfectly!

authors: Cayan johnkary marcelopm

repo: johnkary/phpunit-speedtrap


text:
1.17

A support engineer plans to perform several Azure management tasks by using the Azure CLI.
You install the CLI on a computer.
You need to tell the support engineer which tools to use to run the CLI.
Which two tools should you instruct the support engineer to use? Each correct answer presents a
complete solution.
NOTE: Each correct selection is worth one point.
A. Command Prompt
B. Azure Resource Explorer
C. Windows PowerShell
D. Windows Defender Firewall
E. Network and Sharing Center

AC

repo: johnnieng/afun


text:
Add a test case for the report class.

See title

Fixed

repo: johnnymast/redbox-scan


text:
Service name suffix

I think it would make sense to recommended services are suffixed with the pattern name the service implements. Example FeatureAgent or FeatureAdapter or FeatureObservable.

I like services to be named with an action or verb or in some way describing what they are providing. So yeah, those work.
But really, its up to you to be descriptive. "Be descriptive" might be the best guidance.

authors: johnpapa martinmcwhorter

repo: johnpapa/angular-styleguide


text:
Proposal:  Support including bs-config.json settings in package.json

In addition to reading from the bs-config.json, how about supporting reading this information from the package.json (ala eslint etc).
If you would entertain this proposal, I would be willing to PR it.

Ah cool, thx for info 👍

repo: johnpapa/lite-server


text:
vue-tsc can't find props in a vue-class-component

While adding volar to vue-test-utils-next (see https://github.com/vuejs/vue-test-utils-next/pull/645),
I stumbled on a component that does not compile with vue-tsc.
This component is using vue-class-component, so this might be normal?
<template>

{{ computedMsg }}

{{ msg }}

{{ dataText }}

    <button @click="changeMessage('Hello')" />

</template>

vue-tsc throws:
tests/components/ClassComponent.vue:4:23 - error TS2304: Cannot find name 'msg'.

4
{{ msg }}

                        ~~~
Found 1 error.

Decorators will not affect type-checking, you need to extend the type in other ways. See https://github.com/johnsoncodehk/volar/issues/21#issuecomment-725226222.

Great, thanks for your help.

authors: cexbrayat johnsoncodehk

repo: johnsoncodehk/volar


text:
Refacto: Remove the lib phpdocumentor/type-resolver that is not used

When we use the automapper on a Symfony project using ApiPlatform, we start having issue with the phpdocumentor.
Base on my research, it's not use on the project and should be comletely remove.

Sorry.
I close this PR as it's not the automapper issue

repo: jolicode/automapper


text:
tests crash with JDK 10

$ mvn test
produces errors, with core file
$ file core
core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/opt/java/jdk-10/bin/java -javaagent:/home/ed/.m2/repository/org/jacoco/org.jac'

Works with JDK <= 9

Wow thanks for reporting. I´am currently not testing/working with JDK 10. But PRs are always welcome 😃

repo: jonashackt/spring-boot-vuejs