Node version mismatch for USB drivers

Any t2 command is met with
ERR! Node version mismatch for USB drivers.
INFO To correct this issue, please run the following command:
INFO
INFO   npm rebuild --update-binary usb
INFO
INFO This will rebuild the USB drivers for your version of Node.js

running npm rebuild --update-binary usb has no effect
This is on node v8.9.4

Downgraded to v6.13.0 and it works fine

Looks like https://github.com/tessel/node-usb/ is building and publishing a version with the correct ABI version (57): https://github.com/tessel/node-usb/releases.

Here's the result I got when trying the same
rwaldron in ~/clonez/t2-cli on master
$ t2 list
ERR! Node version mismatch for USB drivers.
INFO To correct this issue, please run the following command:
INFO
INFO   npm rebuild --update-binary usb
INFO
INFO This will rebuild the USB drivers for your version of Node.js
rwaldron in ~/clonez/t2-cli on master
$ npm rebuild --update-binary usb

><EMAIL_ADDRESS>install /Users/rwaldron/clonez/t2-cli/node_modules/usb
> node-pre-gyp install --fallback-to-build

node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/Users/rwaldron/.nvm/versions/node/v8.9.4/bin/node',
node-pre-gyp verb cli   '/Users/rwaldron/clonez/t2-cli/node_modules/usb/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli   'install',
node-pre-gyp verb cli   '--fallback-to-build' ]
node-pre-gyp info using<EMAIL_ADDRESS>node-pre-gyp info using<EMAIL_ADDRESS>| darwin | x64
node-pre-gyp verb command install []
node-pre-gyp http GET https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v57-darwin-x64.tar.gz
node-pre-gyp http 404 https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download: https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v57 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Pre-built binary not available for your system, looked for https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v57-darwin-x64.tar.gz
node-pre-gyp verb command build [ 'rebuild' ]
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  CC(target) Release/obj.target/libusb/libusb/libusb/core.o
../libusb/libusb/core.c:2241:35: warning: comparison of integers of different signs: 'int'
      and 'unsigned long' [-Wsign-compare]
        if (header_len < 0 || header_len >= sizeof(buf)) {
                              ~~~~~~~~~~ ^  ~~~~~~~~~~~
../libusb/libusb/core.c:2250:44: warning: comparison of integers of different signs: 'int'
      and 'unsigned long' [-Wsign-compare]
        if (text_len < 0 || text_len + header_len >= sizeof(buf)) {
                            ~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~
2 warnings generated.
  CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
  CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
  CC(target) Release/obj.target/libusb/libusb/libusb/io.o
  CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
  CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
  CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
  CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
  CC(target) Release/obj.target/libusb/libusb/libusb/os/darwin_usb.o
../libusb/libusb/os/darwin_usb.c:344:3: warning: 'objc_registerThreadWithCollector' is
      deprecated: it does nothing. Define OBJC_SILENCE_GC_DEPRECATIONS=1 to temporarily
      silence this diagnostic. [-Wdeprecated-declarations]
  objc_registerThreadWithCollector();
  ^
/usr/include/objc/objc-auto.h:242:1: note: 'objc_registerThreadWithCollector' has been
      explicitly marked deprecated here
OBJC_GC_DEPRECATED("it does nothing")
^
/usr/include/objc/objc-auto.h:45:55: note: expanded from macro 'OBJC_GC_DEPRECATED'
#   define OBJC_GC_DEPRECATED(message) __attribute__((deprecated(message ". Defin...
                                                      ^
../libusb/libusb/os/darwin_usb.c:1281:27: warning: expression which evaluates to zero
      treated as a null pointer constant of type 'IOUSBInterfaceInterface550 **' (aka
      'struct IOUSBInterfaceStruct550 **') [-Wnon-literal-null-conversion]
  cInterface->interface = IO_OBJECT_NULL;
                          ^~~~~~~~~~~~~~
/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h:164:24: note: expanded from
      macro 'IO_OBJECT_NULL'
#define IO_OBJECT_NULL  ((io_object_t) 0)
                        ^~~~~~~~~~~~~~~~~
2 warnings generated.
  LIBTOOL-STATIC Release/usb.a
  CXX(target) Release/obj.target/usb_bindings/src/node_usb.o
In file included from ../src/node_usb.cc:1:
In file included from ../src/node_usb.h:21:
../src/helpers.h:18:7: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        obj->ForceSet(Nan::New<String>(name).ToLocalChecked(), value, CONST_PROP);
             ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
1 warning generated.
  CXX(target) Release/obj.target/usb_bindings/src/device.o
In file included from ../src/device.cc:1:
In file included from ../src/node_usb.h:21:
../src/helpers.h:18:7: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        obj->ForceSet(Nan::New<String>(name).ToLocalChecked(), value, CONST_PROP);
             ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:42:57: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]
                Local<Object> obj = constructorHandle->GetFunction()->NewInstance(...
                                                                      ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3831:3: note: 'NewInstance' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:57:15: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        info.This()->ForceSet(V8SYM("busNumber"),
                     ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:59:15: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        info.This()->ForceSet(V8SYM("deviceAddress"),
                     ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:63:15: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        info.This()->ForceSet(V8SYM("deviceDescriptor"), v8dd, CONST_PROP);
                     ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:68:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bLength)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:69:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bDescriptorType)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:70:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bcdUSB)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:71:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bDeviceClass)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:72:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bDeviceSubClass)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:73:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bDeviceProtocol)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:74:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bMaxPacketSize0)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:75:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, idVendor)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:76:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, idProduct)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:77:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bcdDevice)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:78:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, iManufacturer)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:79:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, iProduct)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:80:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, iSerialNumber)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:81:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8dd, dd, bNumConfigurations)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:91:15: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        info.This()->ForceSet(V8SYM("portNumbers"), array, CONST_PROP);
                     ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:104:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8cdesc, *cdesc, bLength)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:105:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8cdesc, *cdesc, bDescriptorType)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:106:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8cdesc, *cdesc, wTotalLength)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:107:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8cdesc, *cdesc, bNumInterfaces)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:108:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8cdesc, *cdesc, bConfigurationValue)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:109:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8cdesc, *cdesc, iConfiguration)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:110:2: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        STRUCT_TO_V8(v8cdesc, *cdesc, bmAttributes)
        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:112:11: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        v8cdesc->ForceSet(V8STR("bMaxPower"), Nan::New<Uint32>((uint32_t) cdesc->M...
                 ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:114:11: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        v8cdesc->ForceSet(V8SYM("extra"),
                 ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:119:11: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        v8cdesc->ForceSet(V8SYM("interfaces"), v8interfaces);
                 ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:134:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, bLength)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:135:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, bDescriptorType)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:136:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, bInterfaceNumber)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:137:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, bAlternateSetting)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:138:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, bNumEndpoints)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:139:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, bInterfaceClass)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:140:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, bInterfaceSubClass)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:141:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, bInterfaceProtocol)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:142:4: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        STRUCT_TO_V8(v8idesc, idesc, iInterface)
                        ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:144:13: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        v8idesc->ForceSet(V8SYM("extra"),
                                 ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:149:13: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                        v8idesc->ForceSet(V8SYM("endpoints"), v8endpoints, CONST_PROP);
                                 ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:156:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                STRUCT_TO_V8(v8edesc, edesc, bLength)
                                ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:157:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                STRUCT_TO_V8(v8edesc, edesc, bDescriptorType)
                                ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:158:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                STRUCT_TO_V8(v8edesc, edesc, bEndpointAddress)
                                ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:159:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                STRUCT_TO_V8(v8edesc, edesc, bmAttributes)
                                ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:160:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                STRUCT_TO_V8(v8edesc, edesc, wMaxPacketSize)
                                ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:161:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                STRUCT_TO_V8(v8edesc, edesc, bInterval)
                                ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:162:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                STRUCT_TO_V8(v8edesc, edesc, bRefresh)
                                ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:163:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                STRUCT_TO_V8(v8edesc, edesc, bSynchAddress)
                                ^
../src/device.cc:5:11: note: expanded from macro 'STRUCT_TO_V8'
                TARGET->ForceSet(V8STR(#NAME), Nan::New<Uint32>((uint32_t) (STR).N...
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:165:14: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
                                v8edesc->ForceSet(V8SYM("extra"),
                                         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:253:2: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        INT_ARG(interface, 0);
        ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:263:2: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        INT_ARG(interface, 0);
        ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:272:2: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        INT_ARG(interface, 0);
        ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:281:2: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        INT_ARG(interface, 0);
        ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:293:3: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
                INT_ARG(interface, 0);
                ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:316:3: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
                INT_ARG(interface, 0);
                ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:317:3: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
                INT_ARG(altsetting, 1);
                ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/device.cc:340:3: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
                INT_ARG(desired, 0);
                ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
58 warnings generated.
  CXX(target) Release/obj.target/usb_bindings/src/transfer.o
In file included from ../src/transfer.cc:1:
In file included from ../src/node_usb.h:21:
../src/helpers.h:18:7: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        obj->ForceSet(Nan::New<String>(name).ToLocalChecked(), value, CONST_PROP);
             ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:3099:3: note: 'ForceSet' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
  ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/transfer.cc:29:2: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        INT_ARG(endpoint, 1);
        ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/transfer.cc:30:2: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        INT_ARG(type, 2);
        ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/transfer.cc:31:2: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        INT_ARG(timeout, 3);
        ^
../src/helpers.h:66:18: note: expanded from macro 'INT_ARG'
        NAME = info[N]->ToInt32()->Value();
                        ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8.h:2331:10: note: 'ToInt32' has been
      explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
         ^
/Users/rwaldron/.node-gyp/8.9.4/include/node/v8config.h:321:29: note: expanded from macro
      'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
4 warnings generated.
  SOLINK_MODULE(target) Release/usb_bindings.node
  COPY /Users/rwaldron/clonez/t2-cli/node_modules/usb/src/binding/usb_bindings.node
  TOUCH Release/obj.target/action_after_build.stamp
node-pre-gyp info ok
<EMAIL_ADDRESS>/Users/rwaldron/clonez/t2-cli/node_modules/usb
rwaldron in ~/clonez/t2-cli on master
$ t2 list
INFO Searching for nearby Tessels...
 	USB	bishop
 	LAN	bishop

Also, I should note that<EMAIL_ADDRESS>is out of date, but when I upgrade it I get some REALLY STRANGE BEHAVIOR...
$ t2 list
node-pre-gyp INFO Searching for nearby Tessels...
node-pre-gyp  	USB	bishop
node-pre-gyp  	LAN	bishop

Whaaaaaaaaaat??? So, when I look at node-pre-gyp's deps, I see npmlog. I will look deeper tomorrow.

Rolling back to<EMAIL_ADDRESS>fixes the issue.

Hello, I'm still having this issue for a while.
After several different installation my latest environment is:
$ node -v
v6.13.1
$ npm -v
5.7.1

With<EMAIL_ADDRESS>basic example, after running t2 init, t2 run index.js  returns the error below:
ERR! Node version mismatch for USB drivers.
INFO To correct this issue, please run the following command:
INFO
INFO   npm rebuild --update-binary usb
INFO
INFO This will rebuild the USB drivers for your version of Node.js

But running npm rebuild --update-binary usb still has no effect.
Before this versions I've also tried with node 8.10 and 9.9. But nothing's changed. Any idea or instruction list to make t2-cli work on macOS Sierra?

related issues:

https://github.com/tessel/t2-cli/issues/1489
https://github.com/tessel/t2-cli/issues/1491
https://github.com/tessel/t2-cli/issues/1490

well ... looks like there is a general problem on USB an Tessel ?
@reconbot @rwaldron maybe one of you could report a working version combination of Tessel (0.0.16 and 0.1.0 doesn't work) and USB / SerialPort?
This would help until things are fixed.

Any idea or instruction list to make t2-cli work on macOS Sierra?

or is this really a problem of macOS Sierra ? (I am using 10.13.4 (17E202))

Any update on this?   Getting same error on Mac OSX on 10.11.6 with npm 6.4.1 and Node 8.12.0 LTS


changing st_text definition

Solves https://github.com/CartoDB/cartodb/issues/14855
The function was created without parameter name (only type), so I have done the same in the test which creates the function. I think the regex and the migrations works fine with this change, so I have followed the easy path.

@oleurud :shipit:  when :green_heart: .I've restarted the CI tests because pg11 got stuck in the bolt spec


Assignment

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Adding Code
What did you learn from the changes you have made?
Create Directory, Copy directory, search in directories
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
kept trying
How were these changes tested?
I ran the code locally
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

Prefect!


test PR with Github API

Please pull this in!

Docs Build status updates of commit 343a037:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

sdp-test/page-model-documents/Tutorial.yml
:warning:Warning

Details

sdp-test/page-model-documents/Tutorial.yml

[Warning] Unable to find uid "challenge-uid".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit c5a64d5:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

sdp-test/page-model-documents/Tutorial.yml
:warning:Warning

Details

sdp-test/page-model-documents/Tutorial.yml

[Warning] Unable to find uid "challenge-uid".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit bdc9ae1:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

sdp-test/page-model-documents/Tutorial.yml
:warning:Warning

Details

sdp-test/page-model-documents/Tutorial.yml

[Warning] Unable to find uid "challenge-uid".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


DateOnly type not serialized

Hi,
First, thank you for this amazing project.
I found that the DateOnly type do not serialize and produces an empy tag:
public class TestClass
{
	public DateOnly DateOfBirth { get; set; }
}

TestClass test = new()
{
	DateOfBirth = DateOnly.Parse("2024-01-22")
};

IExtendedXmlSerializer serializer = new ConfigurationContainer()
	.UseAutoFormatting()
	.UseOptimizedNamespaces()
	.Create();

serializer.Serialize(new XmlWriterSettings { Indent = false }, test);

Produces:
<?xml version="1.0" encoding="utf-8"?><TestClass xmlns="clr-namespace:..."><DateOfBirth /></TestClass>
How to fix this?
Thanks.

Hey there @moshekar thank you for the kind words and for writing in.  This is a good point, we do not currently support DateOnly types as they are newer.  I will see if I can get this in there for you.

Well this is a pickle.  It appears that DateOnly is supported in .NET6+ and not netstandard2.0 which is what we use to be compatible with .NET Framework.  We do not have an easy way to account for this at the moment.  The best recommendation I can provide is to use an extension which I  have provided for you here:
https://github.com/ExtendedXmlSerializer/home/blob/ed2abb115fcff12c9187ad1bd798ae239da1bd4c/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue608Tests.cs#L19
Please let me know how that looks to you and/or any further questions around this and I will further assist. 👍

Nevermind, I feel silly now! This is possible w/ .NET Standard after all and only thought to search after posting the above 😅
https://stackoverflow.com/a/70961343
I will see if I can get that incorporated using the converter from above.

Ah I spoke too soon, this library is not official and I am hesitant to add a new dependency at this stage if it's not directly from Microsoft.  However, if there are others that ask for this going forward (and some time passes) I will consider this.  I feel having an extension as the above for .NET6+ scenarios is the best path for now.  I am open to further dialogue around this. 👍

Well this is a pickle. It appears that DateOnly is supported in .NET6+ and not netstandard2.0 which is what we use to be compatible with .NET Framework. We do not have an easy way to account for this at the moment. The best recommendation I can provide is to use an extension which I have provided for you here:
https://github.com/ExtendedXmlSerializer/home/blob/ed2abb115fcff12c9187ad1bd798ae239da1bd4c/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue608Tests.cs#L19
Please let me know how that looks to you and/or any further questions around this and I will further assist. 👍

Thank you very much Mike.
Your extension is working well and solved the problem for me. I'll use it for now, unless you find a way to solve it permanently in the project.
If anyone needs, I created a short extension class to use with your solution easily:
public static class ExtendedXmlSerializerExtensions
{
	public static IConfigurationContainer AddDateOnlySupport(
		this IConfigurationContainer container)
	{
		return container
			.Type<DateOnly>()
			.Register()
			.Converter()
			.Using(DateOnlyConverter.Default);
	}
}

Then just add to the serializer:
IExtendedXmlSerializer serializer = new ConfigurationContainer()
	...
	.AddDateOnlySupport()
	Create();

Thanks again!

Sure thing @moshekar happy to get a win here :)

Sounds like we resolved this issue as best we could considering the circumstances.  As we cannot viably add DateOnly support to .NET Standard 2.0 projects that limits how we can proceed.  If someone has any better approaches (preferably a PR 😊) I can further explore this.  Closing for now.


403 Forbidden

just now, i used both the methods
-u username -p password
and
cookie
but both are returning 403 Forbidden
is it not possible to download the course anymore at all as they are invalidating the request all together
[*] : Trying to login using cookies ...
[+] : Logged in successfully.
[-] : Udemy Says : 403 Forbidden You should use cookie base method to authenticate or try again in few minutes ...

Try this

Log out of your udemy and log in again
Now copy the fresh token and replace it in the cookie.txt file
now it should work

i too had faced this issue once where it gave 403 error with cookies but using a fresh cookie -access token worked well

@chukked you should update the cookies instead or access token

thank you, it is working now :)

@r0oth3x49 i have 2 suggestions

Since login through username and password is now depreciated , you should remove the -u and -p flags from readme and mention clearly that only cookies login is supported ( because new users might not know only 1 method works , so they may create issue after trying -u,-p authentication )

Even if someone uses cookies , there is chance that they may get error 403 Forbidden... , so you can mention these steps in readme - https://github.com/r0oth3x49/udemy-dl/issues/539#issuecomment-663841172 .

Then anyone wont report authentication related issues and only other real issues will get reported


Flutter: Exercises for Intro_To_Dart

Edit the exercise.md file present inside Flutter/Intrduction_To_Dart, to add questions related to dart programming, along with thier solution.
Reference: https://github.com/Asabeneh/30-Days-Of-JavaScript/blob/master/04_Day_Conditionals/04_day_conditionals.md#exercises-level-1
Anyone can do contribution, I am not assigning to anyone but comment before working on which topic you will be adding the question. (Max 3 questions per topic), so that other contributors should not add question related to that topic.

Interested.
I'll add probs based on conditionals

Interested
I'll add problems on parameters

Intrested
I'll add problems on operators

I would like to work on functions.

I wish to add excercise on classes and objects.

I wish to add excercise on maps and list data types.

Don't take more than one issue at a time..

Interested, I would like to work on Array Utility Methods like forEach(), map() etc...

Don't take more than one issue at a time..

I have completed the first issue assigned for me, can I do now the exercise for functions?

@naveeramesh contact you mentor first so that he can validate your contribution.. once done then only do further contribution

@naveeramesh contact you mentor first so that he can validate your contribution.. once done then only do further contribution

@ViAsmit can you assign the work I commented for?

I'd like to contribute for inheritance concept in Dart.

@ViAsmit can I contribute now to the exercise based on functions?

Interested,
I'll add problems on Strings. Please assign me this task.
Shabi Kaushal (batch 10)

Now no more topics on this issue... This much will be ok..

@thisisamank

Hi @PranavMasekar Thanks for tagging. Your PR just got merged and it looks good to me too.

Hey, I have created a PR for the issue I was assigned. https://github.com/girlscript/winter-of-contributing/pull/535. Please have a look @thisisamank

@msbuddhu  I have edited your PR.. how to add the issue number in PR. Have a look on that. so that you wont get confused again

Ok. I have seen. Thanks

Ill add probs for loop statements and format the document to look clean and uniform.

@ViAsmit Why I have been unassigned?

@msbuddhu actually I was removing who have completed thier contribution...so that I can take a record who are still left...

@msbuddhu actually I was removing who have completed thier contribution...so that I can take a record who are still left...

Ok. No problem then.

I have mentioned @thisisamank in the comments above. Now what to do @ViAsmit ?

@msbuddhu I think you already mention aman... He will review it...

@msbuddhu He will review it soon..you can take rest now...

Ok :)


jdk11u-linux-aarch64-openj9 InvalidModuleDescriptorException

Platform:
Linux
Architecture:
aarch64
Got this when running some test nightly builds:
https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-openj9/545/console
11:14:14  Compiling 4 files for BUILD_JIGSAW_TOOLS
11:14:14  java.lang.module.FindException: Error reading module: /home/ubuntu/workspace/build-scripts/jobs/jdk11u/jdk11u-linux-aarch64-openj9/workspace/build/src/build/linux-aarch64-normal-server-release/jdk/modules/jdk.internal.le
11:14:14  Caused by: java.lang.module.InvalidModuleDescriptorException: Package jdk.internal.org.jline.reader not found in module

It's been failing since 25/10/2020 (all have been building inside docker containers). For reference, build 541 is the recent release, all others are nightlies.
https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-openj9

The commit hash for the openj9 repo between the last failing and first successfull build is https://github.com/ibmruntimes/openj9-openjdk-jdk11/commit/fd18c0317c3059188d00ba91a410d6c87415d0f2. Both the first failing and last successfull have this commit hash listed as the latest one. I cannot see the sources for the omr repo unfortunately.
Last passing openj9 version:
00:25:52  openjdk version "11.0.9" 2020-10-20
00:25:52  OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+11-202010232344)
00:25:52  Eclipse OpenJ9 VM AdoptOpenJDK (build master-909c7ffdc, JRE 11 Linux aarch64-64-Bit Compressed References 20201023_542 (JIT enabled, AOT enabled)
00:25:52  OpenJ9   - 909c7ffdc
00:25:52  OMR      - cb68c30b7
00:25:52  JCL      - fd18c0317c based on jdk-11.0.9+11)

@pshipton

@keithc-ca could this be related to your openjdk change?

Sorry, I misread it. Last success build also has the openjdk change.

Sorry, I misread it. Last success build also has the openjdk change.

I did just edit it to add that so it was my bad for not putting it in the first place

@keithc-ca could this be related to your openjdk change?

Do you mean ibmruntimes/openj9-openjdk-jdk11#355? I was willing to consider that it affected cross-compiling somehow, but as you say, it's in the last good build.

I don't know what SHA's the broken build is building, but I see these OpenJ9 commits since the working one.
https://github.com/eclipse/openj9/pull/10731 - merged Oct 24 7:35am EDT.
https://github.com/eclipse/openj9/pull/10557 - merged Oct 25 11:09pm EDT.
For OMR this was, promoted Oct 23, 2020 7:53:25 PM EDT.
https://github.com/eclipse/omr/pull/5584
No record for when these were manually promoted, sometime after Oct 24, ~10am EDT is my guess.
https://github.com/eclipse/omr/pull/5441
https://github.com/eclipse/omr/pull/5583
Not sure of the timezone for these, it could be UK time.
Last success Oct 24, 2020 1:30:22 AM
First failure Oct 25, 2020 1:30:21 AM
@knn-k can you pls take a look.

@0xdaryl @dsouzai fyi as well

Not sure of the timezone for these, it could be UK time.
Last success Oct 24, 2020 1:30:22 AM - Oct 23 9:30pm EDT?
First failure Oct 25, 2020 1:30:21 AM - Oct 24 9:30pm EDT?

Looks like it's 1 hour ahead of UK time. UTC+1 is my guess

Not sure of the timezone for these, it could be UK time.
Last success Oct 24, 2020 1:30:22 AM - Oct 23 9:30pm EDT?
First failure Oct 25, 2020 1:30:21 AM - Oct 24 9:30pm EDT?

I'm guessing UTC+1 as I just executed a test build and it's come up as 26-Oct-2020 16:05 (It's was 15:05 UK time when I executed it)

https://github.com/eclipse/openj9/pull/11006 should fix this.

eclipse/openj9#11006 was merged.

https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-openj9/550/console is passing now. Thanks


boost::process::v2 improve

Fix the msw link error, invest move to boost::process::v2, can be in place of the defunct process issue

On gcc-14 and gtk boost::process::v2 also does not compile


Support FIO sequential write test case with Alluxio Fuse

Is your feature request related to a problem? Please describe.
So far Alluxio Fuse doesn't work well with FIO. This is due to some special IO operations, and Alluxio Fuse doesn't support that well. This feature is important as people want to do an apple-to-apple comparison. FIO is a popular tool in posix.
Describe the solution you'd like
There are two options:

try to cater the create/open operations from FIO in Alluxio Fuse
modify one existing IO engine to make the create/open friendly for Alluxio Fuse

Describe alternatives you've considered
Like mentioned above item2, copy and create a new IO Engine to adapter to Alluxio Fuse style.
Urgency
This is just for a benchmark test, it is not that urgent.
Additional context
Some Reference Information:
FIO parameters
[root@ip-172-31-8-187 fio_pattern]# cat ~/test_script/fio/fio.cfg
[global]
direct=1
fallocate=none
#ioengine=libaio
group_reporting
time_based
size=5g
#nrfiles=50
iodepth=32
stonewall
runtime=600
[bs2m_job32_write]
directory=/mnt/dummy
bs=2m
numjobs=1
rw=write
FIO system call
open("/mnt/dummy/bs2m_job32_write.0.0", O_WRONLY|O_CREAT, 0644) = 6
open("/mnt/dummy/bs2m_job32_write.0.0", O_RDWR|O_CREAT|O_DIRECT, 0600) = 6
FUSE received call
create flags: 0x8041 /bs2m_job32_write.0.0 0100644 umask=0022
open flags: 0xc002 /bs2m_job32_write.0.0

@yyongycy The scope of this issue may be big
I tested mainly two workloads

single thread sequential read a 4GB file with buffer size 4M
fio --name=sequential-read --directory=/mnt/alluxio-fuse --rw=read --refill_buffers --bs=4M --size=4G
fio: pid=0, err=95/file:filesetup.c:182, func=ftruncate, error=Operation not supported

"Create an empty file, use truncate() to set the file size to a large value

Fuse.Getattr(path=/sequential-read.0.0)
Fuse.Create(path=/sequential-read.0.0,mode=100644) create flags: 0x8241
Fuse.Truncate(path=/sequential-read.0.0,size=4294967296)
Failed to truncate file /sequential-read.0.0(0 bytes) to<PHONE_NUMBER> bytes: not supported
"

This one is hard to support since we need to support using truncate() to set the file size to a larger value which i think is a part of the random write process.

single thread sequential write a 4GB file with buffer size 4M
fio --name=sequential-write --directory=/mnt/alluxio-fuse --rw=write --refill_buffers --bs=4M --size=4G --end_fsync=1
fio: io_u error on file /mnt/alluxio-fuse/sequential-write.0.0: File exists: write offset=0, buflen=4194304

"Create empty file and then open for write
Fuse.Create(path=/sequential-write.0.0,mode=100644)
Fuse.Flush(path=/sequential-write.0.0,fd=1)
Fuse.Release(path=/sequential-write.0.0,fd=1)
Fuse.Open(path=/sequential-write.0.0,flags=0x8002(READ_WRITE))
Fuse.Write(path=/sequential-write.0.0,fd=2,size=131056,offset=0)
Cannot overwrite existing file /sequential-write.0.0 without O_TRUNC flag or fuse.truncate(size=0), flag 0x8002"

This one can be solved by my PR #15740

single thread sequential write a 4GB file with buffer size 4M
fio --name=sequential-write --directory=/mnt/alluxio-fuse --rw=write --refill_buffers --bs=4M --size=4G --end_fsync=1
fio: io_u error on file /mnt/alluxio-fuse/sequential-write.0.0: File exists: write offset=0, buflen=4194304

"Create empty file and then open for write
Fuse.Create(path=/sequential-write.0.0,mode=100644)
Fuse.Flush(path=/sequential-write.0.0,fd=1)
Fuse.Release(path=/sequential-write.0.0,fd=1)
Fuse.Open(path=/sequential-write.0.0,flags=0x8002(READ_WRITE))
Fuse.Write(path=/sequential-write.0.0,fd=2,size=131056,offset=0)
Cannot overwrite existing file /sequential-write.0.0 without O_TRUNC flag or fuse.truncate(size=0), flag 0x8002"

This one can be solved by my PR #15740

Tested https://github.com/Alluxio/alluxio/pull/15742 with the following test cases, they can all passed
#16 threads sequential read 16 4GB files with buffer size 4M
fio --name=big-file-multi-read --directory=/mnt/alluxio-fuse --rw=read --refill_buffers --bs=4M --size=4G --numjobs=16
#16 threads sequential write 16 4GB files with buffer size 4M
fio --name=big-file-multi-write --directory=/s3fs --rw=write --refill_buffers --bs=4M --size=4G --numjobs=16 --end_fsync=1


feature/alumni -> dev

This change is

Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion.

a discussion (no related file):
Still need new icons for BYU Speeches and Transcripts

Comments from Reviewable

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

a discussion (no related file):
Previously, alexanderboswell (bozzy) wrote…
Still need new icons for BYU Speeches and Transcripts

Thanks for marking this. Sam will get these for you when she's in next

Comments from Reviewable

Reviewed 5 of 5 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: all files reviewed at latest revision, 2 unresolved discussions.

a discussion (no related file):
Get with Geoff and make sure they look the exact same

Comments from Reviewable

Reviewed 5 of 8 files at r3.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Reviewed 48 of 48 files at r5.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: 25 of 34 files reviewed at latest revision, 2 unresolved discussions.

a discussion (no related file):
Previously, romrell4 (Eric Romrell) wrote…
Thanks for marking this. Sam will get these for you when she's in next

Done.

a discussion (no related file):
Previously, romrell4 (Eric Romrell) wrote…
Get with Geoff and make sure they look the exact same

Done.

Comments from Reviewable

Reviewed 10 of 13 files at r6.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[BEAM-8383] Add metrics to the Python state cache

For more insight into how effectively the cache works, metrics have been added
to the Python SDK. All the state operations are counted, as well as metrics like
the current size of the cache, cache hits/misses, and the capacity of the cache.

Run Python2_PVR_Flink PreCommit

Run Java PreCommit

I've ran some cluster tests with this. The metrics provide pretty good insight into how well the state caching performance. The hit/miss gauges as well as the current state size/capacity allows users to tune the cache to a decent size. The metrics are available per-bundle and as totals.
This could need a review now :)

Just to summarize, these are the metrics provided:
# Per-bundle gauges
'get'
'put'
'extend'
'miss'
'hit'
'clear'
'evict'
'size'
'capacity'
# Counters
'get_total'
'put_total'
'extend_total'
'miss_total'
'hit_total'
'clear_total'
'evict_total'

Since this throws a few things into the per-record path, have you compared performance (CPU, throughput) before/after?

I've compared the CPU usage and didn't see any difference. Of course there might be a slight overhead but I think it is very small compared to all the other instructions which are involved with state. That said, I didn't observe any CPU increase.

Run Python PreCommit

Run Python PreCommit

Run Python PreCommit

Builds for Python time out, but tests were consistently passing before on Jenkins and locally. There appears to be an issue with the test infrastructure.


cloudflared is available on winget wich comes pre-installed with windows

Alot of people havent heard of winget but I noticed cloudflared was on winget

Its a package manager Microsoft made a year or two ago that is available in cmd and powershell and comes pre-installed with the latest windows update

I just made a really dumb mistake ill fix it rq


[Feature Request]: scroll not complementing the theme of the website

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The current scroll bar is not aligning to the theme of the website. It needs to be redesigned
Use Case
Better UI and visual appeal
Benefits
Better UI and visual appeal
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I want to work on this issue

Sure you can go ahead with this issue, but before making a PR please give a screenshot here, so I can confirm

@subinoybiswas This is the custom scroll bar with aesthetic color complementing the color palette of the website.

should i raise a PR for the same?

sure, also the white bg of the outer scrollbar is not looking great either, do something about that as well


chore(deps): update golang.org/x/exp digest to 4a55095

This PR contains the following updates:

Package
Type
Update
Change

golang.org/x/exp
require
digest
1829a12 -> 4a55095

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 59.241%

Files with Coverage Reduction
New Missed Lines
%

pkg/config/env.go
4
79.65%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.2%

Covered Lines:
1234

Relevant Lines:
2083

💛  - Coveralls


Cosmetic changes

A bunch of cosmetic changes to function signatures (types), docstrings, comments and variable names.

Thanks :D


select dropdown default value binding- Emergency Help

Hi,
Issue 1 : Im having an issue in select  dropdown value binding. How could I bind the default value for select dropdown as Aesthetic
issue 2 : After saving the form I can able to retrieve all other information such as title.long description except dropdown,hope If I achieves default value binding then it will easy to bind the saved values...Im trying to solve the issue more than a three month ...please help me out.

Closed due to no activity. This should be fixed.


Add a transport that uses UDP or DTLS when multiplexing streams

As I wasn't at the DockerCon I haven't heard how libchan is going to be used, but if multiple streams on top of these transports is a goal I suggest adding a datagram-based transport as well.
The reason is because of head-of-line blocking.
Obviously, HTTP/2 or SPDY is already better than HTTP/1.x or something like WebSocket at dealing with multiple streams.
But at the TCP level you can still get head-of-line blocking because if packets are lost they can not be reordered.
It's similar to the TCP tunneling in TCP problem:
http://sites.inka.de/~W1011/devel/tcp-tcp.html
It is also (one of ?) the reasons https://en.wikipedia.org/wiki/QUIC is being developed.
An other example WebRTC which uses DTLS ('SSL'/TLS over UDP) at the lowerlevel and SCTP as the datachannel protocol for the multiplexing.
Obviously I wouldn't suggest implementing all of WebRTC, it's a pretty big specification.
But they are just examples of current protocols that already do this.

What's the status of it?

@sheerun if you know of any Go libraries implementing QUIC I would love to give it a try. Also feel free to advocate for an alternative. As it stands now most this specifications are still fluid and Go implementations are not there.


Generate and implement Face SDK via TypeSpec

Packages impacted by this PR
@azure-rest/ai-vision-face
Issues associated with this PR
Describe the problem that is addressed by this PR
Generate and implement Face SDK via TypeSpec.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

/azp run prepare-pipelines

/azp run js - face - ci

should we have asset.json checked in after the test recordings are uploaded?

the ci is failing for various reasons, please follow the step here to make sure you have done everything after the generation. https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/steps-after-generations.md. I notice this step is missing

And about the link verification, please finish the above step then follow the instructions here https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Troubleshoot-ci-failure.md#broken-links to fix the problem, thanks

should we have asset.json checked in after the test recordings are uploaded?

Thanks for reminder. I will check the process.

the ci is failing for various reasons, please follow the step here to make sure you have done everything after the generation.

The generated samples was intentionally removed. Let me put it back.

There seems to be custom code mixed in with the generated code. Could you help me understand what is custom and the reasons we need it?

The customization includes the followings:

Make detectionModel, recognitionModel, returnFaceId of DetectFromUrlQueryParamProperties and DetectQueryParamProperties mandatory. API definition says they are optional, but we want the invocation to be more explicit.
Classify FaceAttributeType by the supporting detection/recognition models to reduce the cost of misusing these constants.
Give filename of CreateLivenessWithVerifySessionContentVerifyImagePartDescriptor a default value. It's required by backend but makes no sense to clients.

If we really need custom code, let's follow the customization guide. But I would like to make sure that we really need it, usually Rest Level Clients don't need customization

I didn't find the customization guide. Could you please share it with me? Thanks.

/azp run js - face - ci

/azp run js - face - ci

/azp run prepare-pipelines

/azp run js - face - ci

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure-rest/ai-vision-face

LGTM

Thanks for this pr! I left some comments and I think I could give the approval once them addressed.


Documentation - default 'client' test suite requires chromedriver and chrome

The documentation on http://paypal.github.io/SeLion/html/documentation.html#buildingSelion does not list chromedriver and chrome as a prerequisite.
While technically, this is accurate if you do mvn -DskipTests=true or run a test suite other than the default one with mvn -DsuiteXmlFile=<a suite file in src/test/resources/suites>, it does not work per the instructions provided which will run the default test (requires Chrome - either locally or on a remote SELION_SELENIUM_HOST)

addressed with commithttps://github.com/paypal/SeLion/commit/7c34b2b65e9892b0c064fb6628c6c2090b2ced63


Schema with isIn validation

How to validate query/body/header using isIn() in the schema? I tried something like this:
'digit': {
    notEmpty: true,
    isIn: {
        options: ['one', 'two', 'zero'],
        errorMessage: 'no enum.'
    },
    errorMessage: 'Missing digit.'
}

Try options: [['one', 'two', 'zero']],
The options array is for passing each param. Since isIn() expects an array as its parameter, you need to put that array in an array. Confusing, I know, but that should work.

Looks it works, thanks :)

Could the README/docs be updated, @JaniszM ?


Multiple users having the same issues please help or fix, wih pairing move controlers

When pairing move controllers , The service does not recognize the controllers at all, but the PC sees them as move controllers. I am using a CSR 4.0 blue tooth adapter. I have seen others in here with he same issues. please help, I have purchased all his hardware and its frustrating that it wont work!

Also reading people have issues with the new micro usb ones, is there a fix?

I had some serious trouble find a bluetooth dongle that would work with the playstation hardware, must have gone through 4 or 5 different brand and chipsets before giving up and just buying the bt400. Worked straight away and was smooth sailing after that.

on my pc only recognize and charge on usb 3.0, using bluetooth 2.0

But does it pair with the psmove service? When i plug the psmove controllers the pc does see them and charges but will not talk to them unless i have the dongle plugged in

It all comes down to the chipset. I believe is have something to do with the atheros/BCM20702 uses. CSR or broadcomm both use it in some of there dongles.

these new CECH-ZCM2U model move controllers that came with skyrim vr will not show up at all on psmoveservice. even with the bt-400.

Thank you dethmasta for pointing that out with the skyrim bundle, which is what I have and saved me from buying bt-400. Have you found a solution yet?

If it's a new controller, please follow #512
If it's an old controller, please try different bluetooth adapters. Windows is picky.
If you're one of the 'multiple users' and you're using Mac or Linux, then please open a separate issue with that in the title.


feat: Support participants_matrix

This PR adds a new config argument called participants_matrix, which allows the user to easily spin up a matrix of EL/CL combos. The el and cl keys within this argument can be fully fledged normal participants, so they support the exact same arguments.
For example:
Example 1
participants_matrix:
  el:
  - el_type: geth
  - el_type: besu
  - el_type: reth
  cl:
  - cl_type: nimbus

This config would create the following participants:

nimbus-geth
nimbus-besu
nimbus-reth

Example 2
participants_matrix:
  el:
  - el_type: geth
  - el_type: besu
  - el_type: reth
  cl:
  - cl_type: nimbus
participants:
 - el_type: nethermind
   cl_type: lighthouse

This config would create the following participants:

nimbus-geth
nimbus-besu
nimbus-reth
lighthouse-nethermind

Example 3
participants_matrix:
  el:
  - el_type: geth
  - el_type: besu
  - el_type: reth
  cl:
  - cl_type: nimbus
     count: 5

This config would create the following participants:

5x nimbus-geth
5x nimbus-besu
5x nimbus-reth

Added support for vc as well, to make cross bn <> vc testing easier in the future.


Fix a couple examples in the docs.

Thanks! That one error came due to relaxing the ImportAll rule. WIll create an issue for creating a unit test for the docs


iframe reloading unexpectedly

IFrameElement blinking - disappear for a short time and then appear again on mouse moving
      ui.platformViewRegistry.registerViewFactory(
          'youtube-id',
          (int viewId) => IFrameElement()
            ..width = 123
            ..height = 123
            ..src = 'https://www.youtube.com/embed/aqz-KE-bpKQ'
            ..style.border = 'none');

Steps to Reproduce

Run app
Move cursor to the any TabBar Tab on the same screen with IFrame

Expected results: IFrameElement visible constantly
Actual results: IFrameElement blinking - disappear for a short time and then appear again

EmbedElement / ObjectElement / IFrameElement - all have same blinking issue
Flutter 1.15.3 • channel dev
Dart 2.8.0
Could be related to this case:
https://stackoverflow.com/questions/59890992/embedded-youtube-video-widget-disappears-while-the-web-page-created-by-flutter

/cc @hterkelsen Could this be a reparenting issue?

I love Flutter Web.
I had same problem.
I tried some case of screen arrangement, and I got workaround about no reloading iframe.
In my case, floatingActionButton is added to application, reading is stopped.
floatingActionButton: FloatingActionButton(
backgroundColor: Colors.black.withAlpha(0),
elevation: 0.0,
),
Test program is:
https://github.com/MypaceEngine/flutter_testWebonWeb.git
Thanks

floatingActionButton is added to application, reloading is stopped.
It does not work for the TabBar Tab case

I'm having a similar issue. In a Flutter for Web project of mine, the embedded youtube video widget keeps disappearing as the page is scrolled/refreshed.
https://stackoverflow.com/questions/59890992/embedded-youtube-video-widget-disappears-while-the-web-page-created-by-flutter

I have this issue as well. It is not just iframes but any HtmlElementView gets rerendered on mouseovers of completely separate widgets like buttons. This makes it very difficult to make Web platform plugins and makes no sense for iframes.

@jonaird  I've been having some luck with putting a RepaintBoundary around e.g. the button whose hover causes the HtmlElementView to rerender.

In my case, resize of the browser window reloads YouTube iframe. RepaintBoundary doesnt help either.

@muhleder Thanks, at least this works for buttons (not text fields unfortunately). Also rerenders on resizing the window for me.

@jonaird Are you using canvasKit? There is a canvas attached to each HtmlElementView with canvasKit enabled, and the canvases rerender on window resize which seems to trigger the html element to also rerender. With canvasKit disabled I'm not seeing the rerender on window resize.

Another trick which seems to work is putting the html widget behind a Scaffold.
      Stack(
        children: [
          MyHtmlElementView(),
          Theme(
            data: Theme.of(context).copyWith(
              canvasColor: Colors.transparent,
              scaffoldBackgroundColor: kIsWeb ? Colors.transparent : Colors.white,
            ),
            child: Scaffold(
              drawer: Theme(
                data: Theme.of(context).copyWith(canvasColor: Colors.white),
                child: MyDrawer(),
              ),
              body: MyOtherWidget(),
            ),
          ),
        ],
      );

Possible fix here https://github.com/flutter/flutter/issues/53253
Fix works with the sample app in https://stackoverflow.com/questions/59890992/embedded-youtube-video-widget-disappears-while-the-web-page-created-by-flutter

Hi @zs-dima
Are you still having this issue? If yes, can you please provide your flutter doctor -v, and a minimal complete reproducible code sample?
Thank you

@pedromassangocode I already posted code and steps to reproduce in the description - it is known Flutter bug.
and Flutter doctor pass all checks.

I can reproduce this issue with InteractiveViewer
Preview

complete code sample
import 'package:flutter/material.dart';
import 'dart:html';
import 'dart:ui' as ui;
import 'package:flutter/cupertino.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: InteractiveViewer(
          child: Container(
              alignment: Alignment.center,
              width: 3000,
              height: 3000,
              child: EmbedWebView(
                  src: 'https://www.youtube.com/embed/3fB1mxOsqJE',
                  width: 500,
                  height: 550))),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

class EmbedWebView extends StatefulWidget {
  final Key key;
  final String src;
  final double height, width;
  EmbedWebView({this.key, this.src, this.height, this.width});

  @override
  State<StatefulWidget> createState() {
    return EmbedWebViewState();
  }
}

class EmbedWebViewState extends State<EmbedWebView>
    with AutomaticKeepAliveClientMixin {
  @override
  void initState() {
    super.initState();
    final IFrameElement _iframeElement = IFrameElement()
      ..height = '100%'
      ..width = '100%'
      ..src = widget.src
      ..style.border = 'none'
      ..style.overflow = "hidden"
      ..allow = "autoplay"
      ..allowFullscreen = true;
    // ignore: undefined_prefixed_name
    ui.platformViewRegistry.registerViewFactory(
      widget.src,
      (int viewId) => _iframeElement,
    );
  }

  @override
  void dispose() {
    super.dispose();
  }

  @override
  bool get wantKeepAlive => true;

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return Center(
      child: SizedBox(
        width: widget.width,
        height: widget.height,
        child: HtmlElementView(
          // key: UniqueKey(),
          viewType: widget.src,
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.23.0-14.0.pre.152, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
    • Flutter version 1.23.0-14.0.pre.152 at C:\Code\flutter_master
    • Framework revision 62cf4dbf10 (6 hours ago), 2020-10-13 14:12:02 +0800
    • Engine revision<PHONE_NUMBER>
    • Dart version 2.11.0 (build 2.11.0-213.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.5)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30523.141
    • Windows 10 SDK version 10.0.18362.0

[✓] Android Studio
    • Android Studio at C:\Code\android-studio\
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = C:\Code\android-studio\
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.50.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.15.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows    • windows-x64    • Microsoft Windows [Version 10.0.19041.508]
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 86.0.4240.75

• No issues found!

I have this issue too.
I added an iFrame to use an embedded Google Map to show my client's office location on a Flutter WebApp. It works as expected if not scrolled. If the page is scrolled, the HtmlElement is rebuilt very frequently. (keeps reloading just after the iFrame loads until the scrolling stops.)
I tried creating the iFrame element in the top scope (even inside a Change notifier provider class) to prevent them from state changes and rebuilds.
How can we solve this? I've been researching for 2 days about this issue.

any news on that guys??
its very important for our web application!

any news on that guys??
its very important for our web application!

any fix on this

any fix on this

I'm going to publish soon a document with a proposed solution, but it's going to take a while to implement and test properly!

I'm going to publish soon a document with a proposed solution, but it's going to take a while to implement and test properly!

I'm going to publish soon a document with a proposed solution, but it's going to take a while to implement and test properly!

Wow, I am looking forward to hearing from you. Thanks 🙏🏻

I'm going to publish soon a document with a proposed solution, but it's going to take a while to implement and test properly!

Wow, I am looking forward to hearing from you. Thanks 🙏🏻

any news on that ??

The document is under active review, but here's my latest draft:

Using slot to embed web Platform Views

Feel free to add comments there!
(Apologies for the URL, I'll publish the google doc to flutter.dev as soon as flutter/website starts accepting PRs again! )

@ditman That looks awesome. This is the main blocker for me switching to CanvasKit. Is there a way to implement this locally?

Is there a way to implement this locally?

@dannnnthemannnn You could have an override of the flutter/engine and build on top of that, but I wouldn't necessarily advise you to do this!

This is also related to #79065 - using CanvasKit for me, the iframe is reloading on all resize actions, which makes video players unusable because you cannot go full-screen.

I've started working on this, please track progress here: https://github.com/flutter/flutter/issues/80524

We have a working PoC in #80524 which implements the design doc I linked above. Please, drop by the issue and respond a question. Do we want to keep the buggy behavior and opt-in to the fix, or do we want just a fix for this?

@jkampitakis not super trivial, if you want to give it a shot:

Setup the Engine Development Environment
(this is my development branch)
then, Compile the Engine (General and Compile for the Web)
then, you need to launch/build your app telling flutter that you're attempting to override the engine.


can't use a lookup table to customize a parameter for another query

I'm trying to enhance an alert like so:
+lookup cassandra_writes {
+    entry env=prod {
+        period = 10min
+        t_warn = 0.8
+        t_crit = 0.3
+    }
+    entry env=poc-foo {
+    period = 2h
+    t_warn = 0.5
+    t_crit = 0.2
+    }
+    entry env=* {
+        period = 30min
+        t_warn = 0.8
+        t_crit = 0.3
+    }
+}

@@ -486,15 +507,20 @@ alert cassandra_writes {
     $graphData4d = graphite("$metric", "4d", "", "env.host")
     $graphData2h = graphite("$metric", "2h", "", "env.host")
     $past = median(graphiteBand("$metric", "1h", "1d", "env.host", 2))
-    $now = avg(graphite("$metric", "1h", "", "env.host"))
+    $period = lookupSeries($graphData2h, "cassandra_writes", "period")
+    $t_warn = lookupSeries($graphData2h, "cassandra_writes", "t_warn")
+    $t_crit = lookupSeries($graphData2h, "cassandra_writes", "t_crit")
+
+
+    $now = avg(graphite("$metric", "$period", "", "env.host"))
     $cluster_avg_now = avg(t($now, "env"))
     $cluster_avg_past = avg(t($past, "env"))
     $cluster_frac = $cluster_avg_now / $cluster_avg_past
     $dev_from_cluster_avg = $now / $cluster_avg_now
     $devs = t($dev_from_cluster_avg, "env")

-    $traffic_warn = $cluster_frac < 0.8
-    $traffic_crit = $cluster_frac < 0.3
+    $traffic_warn = $cluster_frac < $t_warn
+    $traffic_crit = $cluster_frac < $t_crit
     $unbalanced_warn = min($devs) < 0.67 || max($devs) > 1.3

     warn = $traffic_warn || $unbalanced_warn

basically, when i query for $now i want to use a period parameter that is retrieved from a lookup table. but of course the lookup table depends on a resultset from another query.
this results in this very vague error:

in the general case, i can imagine doing the same for any parameter for graphite or graphiteBand and perhaps also es/opentsdb/influxdb functions.

Some ways we might be able to do this:

Make another function that takes a numberset instead of a string for the duration params
Make the language accept multiple types for certain params and basically do the above
Make a TypeStringSet and update the functions to take that, and promote literal strings to a TypeStringSet sort of like we do with Scalars and NumberSets

Make another function that takes a numberset instead of a string for the duration params

this also means that said function needs to execute multiple queries (one for each tag group) and then merge them together in a series set right? and to do this it needs to know how to restrict the input query to the given tagsets.  maybe this easy with opentsdb, but with graphite this is gonna be hard. as it would need to parse the query and adjust it accordingly. (query could be foo.bar.baz in which case it's easy, but could also be divide(perSecond('foo.bar.baz'),derivative('foo.b*.baz')) which complicates things a lot, especially when the input query has certain patterns that wouldn't match the tagsets that are provided in the numberset.


Bad ToJSONKey

I think to preescaped builders for the ToJSONKey instances for IPv6 and Mac are bad.

This was fixed in https://github.com/andrewthad/haskell-ip/commit/e0095057d29a70cc30709333af4b289b991b1db3


Question or Issue regarding Use of Silent aim .

I was trying silent aim and I know what it does, then I came to know that it is the only client-sided only so what is the reason for this option in aimbot when it is not server-sided. I know making the server-side is challenging but what is the point for client-side only, because in the demo it is visible.

its for rage so you dont get seizure from aim shaking i guess

server side silent aim (aka psilent) was patched years ago

ok thanks


Types does not recognize IndexAssetInfo type

When loading all weighted indexes, after making the multicall to get all data it then tries to transform each type in this function:
https://github.com/empyrealapp/eth-packages/blob/main/packages/eth_rpc/src/eth_rpc/utils/types.py#L26
While iterating over, it tries to process:
list[eth_typeshed.peapods.weighted_index.IndexAssetInfo]
which it catches as a list and tries to then process the IndexAssetInfo class
https://github.com/empyrealapp/eth-packages/blob/main/packages/eth_typeshed/src/eth_typeshed/peapods/weighted_index.py#L10
but the transform function gets stuck in an infinite loop as it does not appear to have a catch for IndexAssetInfo's type

hey sorry for the delay!  thanks for pointing this out, we need to migrate this from a NamedTuple to a Struct

@centerpeas just wanted to follow up on this, do you have a small example of how you're running this?

@centerpeas  I believe this fixes the issue https://github.com/empyrealapp/eth-packages/pull/84