Error on New Version of NODE_MODULE_VERSION Needed

I am now generating this error when I try to run "node example/color.js":
Error: The module '/node_modules/node-hid/build/Release/HID.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at Object.Module._extensions..node (internal/modules/cjs/loader.js:707:18)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at bindings (/home//node_modules/bindings/bindings.js:81:44)
at Object. (/home//node_modules/node-hid/nodehid.js:5:34)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
When I try to rebuild in the msi-keyboard folder I get the following:
******@ghost:[msi-keyboard] $ npm install

<EMAIL_ADDRESS>install /home/******/build/msi-keyboard/node_modules/node-hid
prebuild-install || node-gyp rebuild

prebuild-install info begin Prebuild-install version 2.4.1
prebuild-install info looking for local prebuild @ prebuilds/node-hid-v0.5.7-node-v64-linux-x64.tar.gz
prebuild-install info looking for cached prebuild @ /home//.npm/_prebuilds/https-github.com-node-hid-node-hid-releases-download-v0.5.7-node-hid-v0.5.7-node-v64-linux-x64.tar.gz
prebuild-install http request GET https://github.com/node-hid/node-hid/releases/download/v0.5.7/node-hid-v0.5.7-node-v64-linux-x64.tar.gz
prebuild-install http 404 https://github.com/node-hid/node-hid/releases/download/v0.5.7/node-hid-v0.5.7-node-v64-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=10.0.0 runtime=node arch=x64 platform=linux)
make: Entering directory '/home//build/msi-keyboard/node_modules/node-hid/build'
CC(target) Release/obj.target/hidapi/hidapi/libusb/hid.o
../hidapi/libusb/hid.c: In function ‘hid_read_timeout’:
../hidapi/libusb/hid.c:1078:6: warning: variable ‘bytes_read’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
int bytes_read = -1;
^~~~~~~~~~
AR(target) Release/obj.target/hidapi.a
COPY Release/hidapi.a
CXX(target) Release/obj.target/HID/src/HID.o
In file included from ../src/HID.cc:31:0:
../../nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’:
../../nan/nan.h:840:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../src/HID.cc:30:0:
/home//.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home//.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/HID.cc:31:0:
../../nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’:
../../nan/nan.h:855:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../src/HID.cc:30:0:
/home//.node-gyp/10.0.0/include/node/node.h:165:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home//.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/HID.cc:31:0:
../../nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, const char, int, v8::Localv8::Value)’:
../../nan/nan.h:870:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate, v8::Localv8::Object, const char*, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../src/HID.cc:30:0:
/home//.node-gyp/10.0.0/include/node/node.h:158:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home//.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/HID.cc:31:0:
../../nan/nan.h: In member function ‘v8::Localv8::Value Nan::Callback::Call_(v8::Isolate, v8::Localv8::Object, int, v8::Localv8::Value) const’:
../../nan/nan.h:1484:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
));
^
In file included from ../src/HID.cc:30:0:
/home//.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home//.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
../src/HID.cc: At global scope:
../src/HID.cc:67:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(JSException);
^~~~~
../src/HID.cc:70:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(JSException);
^~~~~
../src/HID.cc:152:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(JSException)
^~~~~
../src/HID.cc:163:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(JSException)
^~~~~
../src/HID.cc: In member function ‘void HID::readResultsToJSCallbackArguments(HID::ReceiveIOCB, v8::Localv8::Value)’:
../src/HID.cc:207:74: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Localv8::Value [1])’
Local buf = nodeBufConstructor->NewInstance(1, nodeBufferArgs);
^
In file included from /home//.node-gyp/10.0.0/include/node/node.h:63:0,
from ../src/HID.cc:30:
/home//.node-gyp/10.0.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context, int, v8::Localv8::Value) const
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(
^~~~~~~~~~~
/home//.node-gyp/10.0.0/include/node/v8.h:3848:44: note:   candidate expects 3 arguments, 2 provided
/home//.node-gyp/10.0.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(
^~~~~~~~~~~
/home//.node-gyp/10.0.0/include/node/v8.h:3851:44: note:   candidate expects 1 argument, 2 provided
../src/HID.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE HID::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/HID.cc:409:62: warning: ‘v8::String::Value::Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
serialPointer = (wchar_t) v8::String::Value(info[2]);
^
In file included from /home//.node-gyp/10.0.0/include/node/v8.h:26:0,
from /home//.node-gyp/10.0.0/include/node/node.h:63,
from ../src/HID.cc:30:
/home//.node-gyp/10.0.0/include/node/v8.h:2846:51: note: declared here
V8_DEPRECATED("Use Isolate version", explicit Value(Localv8::Value obj));
^
/home//.node-gyp/10.0.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
make: *** [HID.target.mk:106: Release/obj.target/HID/src/HID.o] Error 1
make: Leaving directory '/home//build/msi-keyboard/node_modules/node-hid/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Linux 4.16.6-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/******/build/msi-keyboard/node_modules/node-hid
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Any input would be helpful.
Thanks,
raedeus

Hey there! The second grouping of output is the result of that. Yes. Scratching my head.

Can you try with a node 8/9 version? Not sure if node-hid has issues with node 10

Sure thing. I will report back with my findings.
Thanks for your assistance with this!
raedeus

Yep. Pulled down node 8 and ran with that just fine. I guess it's a problem with 10. I will just run with that binary until it get's fixed.
So, maybe this is a bug report then?

raedeus

Try to clone just node-hid and run their example on node 10.

Will do when I return end of day and report back.
Thanks,

raedeus

On Mon, May 7, 2018, 8:10 AM Steve Lacy<EMAIL_ADDRESS>wrote:

Try to clone just node-hid and run their example on node 10.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stevelacy/msi-keyboard/issues/63#issuecomment-387096820,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFXbmdUUrLoA7quRdrq8FSBeMRE5rkNmks5twGPSgaJpZM4T0cov
.

Yeah sounds like a node 10 issue with node-hid...

Please share exact version of node that worked for you.
I've tried 8 different versions already and I'm getting This version of Node.js requires
NODE_MODULE_VERSION 64 or 57 all the time. ~thanks

I will forward the version as soon as I get back on the system. Currently
away. ETA end of day today PDT.
Thanks.
On Wed, Jun 27, 2018, 9:55 PM Sebastian Tarach<EMAIL_ADDRESS>wrote:

Please share exact version of node that worked for you.
I've tried 8 different versions already and I'm getting
This version of Node.js requires NODE_MODULE_VERSION 64 or 57 all the
time. ~thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stevelacy/msi-keyboard/issues/63#issuecomment-400910523,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFXbmeEecvHOEEsFmEoGZHlvQJgnNPcWks5uBGGygaJpZM4T0cov
.

Hey tarach,
node-v8.11.1
So I didn't screw anything up I compiled it, left it in the bin directory and ran it as such [absolute paths removed]:
[...]/node-v8.11.1-linux-x64/bin/node [...]/msi-keyboard/color.js

Shortly after posting I found out that my MSI GL62 7RD does not support keyboard backlight. As I remember I decided its pointless to spend another 100 $ for a feature that most likely is not supported on linux... Well I was clearly wrong.
Either way. Just to let you know, after changing version to 8.11.1 ( npm 5.6.0 ) I'm still getting the same messages.
msi-keyboard-gui:

The module '/home/sebastian/projects/msi-keyboard-gui/dist/app/node_modules/node-hid/build/Release/HID.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 54. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).

msi-keyboard:

$ which node
/root/.nvm/versions/node/v8.11.1/bin/node
$ node examples/color.js
/home/sebastian/projects/msi-keyboard/node_modules/node-hid/nodehid.js:24
this._raw = new (Function.prototype.bind.apply(binding.HID,
^
Error: cannot open device with vendor id 0x1770 and product id 0xff00
at new HID (/home/sebastian/projects/msi-keyboard/node_modules/node-hid/nodehid.js:24:17)
at module.exports (/home/sebastian/projects/msi-keyboard/lib/findKeyboard.js:8:14)
at Object. (/home/sebastian/projects/msi-keyboard/examples/color.js:1:92)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)

The second command needs to be run as root, sudo node examples/color.js
As for the first error, use a prebuilt binary from the latest releases.

@tarach if your laptop does not have the stealseries keyboard then this module will always fail with 'Cannot open device'

I did call it as root. I had to switch to root account instead of using sudo because I'm using nvm and it wouldn't work with sudo.
My laptop does have stealseries keyboard but without backlight.
https://msi.com/Laptop/GL62-7RD.html


Cannot login

The application does not let me login, at first I though this was a strange issue totally at random, i tried with everything and I just saw that whenever I tried running it with "flatpak run --env=RUST_BACKTRACE=full dev.alextren.Spot" it says: "Spotify API error: No token". Is this currently being solved or is it a thing that I need to fix.

October 12 and it gave me the same error upon start:

damn

Hey there! I'm looking into it right now.
On an unrelated note: Very fitting for the issue number.

By the way: the error does print in my console, but it does not prevent me from logging in.

Getting the same thing here on Debian testing on GNOME with current flatpak v0.4.0.

Could be fixed in the new version. If I were to guess, librespot's token is expired. It's kinda on Spotify.
However, a new version is to be released on flathub which is running just fine on my machine. I'll be closing this spooky issue for now, but do reopen it if did not solve your problem!


Allow Prefix and Suffix labels on data

It would be great if it's possible to add prefixes and suffixes to series in order that they are displayed in the hover over. For example Prefix: $, suffix k giving $13k.

Are you talking about the tool tip?
If so, you can use
options = {
        tooltipTemplate: "$<%= value %>k",
    }

and pass it as option when you create the chart.
If you have many lines, you need to set  multiTooltipTemplate
Unfortunately I can not find the documentation for this template system.
BTW, in future use http://stackoverflow.com/questions/tagged/chart.js for this kind of questions

Thanks @MakersF
@RichardAtDP the template is your best option for v1. In v2 we've moved away from the template since it's confusing to use.

Thanks for the hints. I'm using v2 as there was functionality there that I required - any idea if this will be a future feature in v2?
Thanks.

@etimberg I've actually replied to him, but I started using Charts.js just yesterday.
How stable is v2?
Should I use that instead of V1? I must admit that having a sane tooltip system is intriguing, but it's not that important to me and I'm pretty time constrained.
Will you put the updated documents online soon (I saw the ones on github, but they don't display the actual chart)

@MakersF v2 is fairly stable (I don't forsee any external API changes now before release) but there may be bugs we are still working through.
@RichardAtDP in v2 you can use the callback as suggested by @MakersF
https://github.com/nnnick/Chart.js/blob/v2.0-dev/samples/scatter-logX.html demonstrates it's use

Closing as resolved. V2 documentation is hosted at http://nnnick.github.io/Chart.js/docs-v2/

@etimberg i am not able to access any of the above links http://nnnick.github.io/Chart.js/docs-v2/
And also can we prefix $ symbol for datalabels . Any response could help .


Write better documentation

The README was written when host-spawn was only a proof-of-concept, to demonstrate the issues in flatpak-spawn --host were relatively easy to fix. Now that it's starting to be used as a replacement of flatpak-spawn itself, it's better to rewrite the docs to explain how it works and how to set it up.

@pioupia please use this discussion for usage questions: https://github.com/1player/host-spawn/discussions/23
But in simple terms, my suggested setup, provided you are using it with distrobox or toolbox, is to put the binary in /usr/local/bin inside the container and that's all that's needed. Calling host-spawn from within the container should open a shell on the host, and running host-spawn <command> will run the command on the host.


Inconsistent behavior of Listener, GestureDetector in a Stack and Container

Steps to Reproduce

run  code sample and tap on the screen

code sample
import 'package:flutter/material.dart';

void main() => runApp(
      MaterialApp(
        home: Material(
          child: Stack(
            children: [for (var i = 0; i < 3; i++) MyListener(i)],
          ),
        ),
      ),
    );

class MyListener extends StatelessWidget {
  MyListener(this.index) : super(key: ValueKey('MyListener: $index'));
  final int index;
  @override
  Widget build(BuildContext context) => Center(
        child: Listener(
          behavior: HitTestBehavior.translucent,
          onPointerDown: (_) => print('$index'),
          child: Container(),
        ),
      );
}

Logs
🔥  To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".
2
1
0
2
1
0
2
1
0
2
1
0

Application finished.

modifie the code sample as indicated below and tap on the screen

          child: Container(
+            color: const Color.fromRGBO(200, 0, 0, .3),
          ),

or
    child: Container(
+            child: FlutterLogo(),
          ),

Logs
🔥  To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".
2
2
2

Expected results:
the behavior should not change
Actual results:
Container having a color or a child (and so on) breaks HitTestBehavior.translucent

doctor
[✓] Flutter (Channel master, 1.26.0-13.0.pre.178, on Linux, locale en_US.UTF-8)
    • Flutter version 1.26.0-13.0.pre.178 at /home/francesco/snap/flutter/common/flutter
    • Framework revision 22f1700427 (84 minutes ago), 2021-01-26 14:34:03 +0800
    • Engine revision 6e391c5942
    • Dart version 2.12.0 (build 2.12.0-257.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/francesco/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_SDK_ROOT = /home/francesco/Android/Sdk
    • Java binary at: /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~20.04-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /snap/bin/chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Chromium 88.0.4324.96 snap

! Doctor found issues in 1 category.

Notes
Possibly related issues:

this issue https://github.com/flutter/flutter/issues/47119 shows an inconsistent behavior between GestureDetector and Listener  in a Stack

this issue https://github.com/flutter/flutter/issues/72113 reports that Container is removing childrens from the widget tree

References:

the issue has been initially reported here but closed for reasons beyond my understanding

I'm able to reproduce the issue.

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-13.0.pre.178, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-13.0.pre.178 at /Users/pedromassango/Code/flutter_master
    • Framework revision 22f1700427 (17 minutes ago), 2021-01-26 14:34:03 +0800
    • Engine revision 6e391c5942
    • Dart version 2.12.0 (build 2.12.0-257.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.96

! Doctor found issues in 1 category.

I'm able to reproduce the issue.

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-13.0.pre.178, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-13.0.pre.178 at /Users/pedromassango/Code/flutter_master
    • Framework revision 22f1700427 (17 minutes ago), 2021-01-26 14:34:03 +0800
    • Engine revision 6e391c5942
    • Dart version 2.12.0 (build 2.12.0-257.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.96

! Doctor found issues in 1 category.

this is explained in https://github.com/flutter/flutter/issues/18450
solution suggested in https://github.com/flutter/flutter/issues/18450#issuecomment-575447316

this is explained in https://github.com/flutter/flutter/issues/18450
solution suggested in https://github.com/flutter/flutter/issues/18450#issuecomment-575447316

this is explained in #18450 (i guess)
solution suggested in #18450 (comment)

@nt4f04uNd
this seems to me a workaround  rather than a solution
coming from a feature request for documentation, so likely not intended for production purpose
also does not really explains why the inconsistency of the behavior

this is explained in #18450 (i guess)
solution suggested in #18450 (comment)

@nt4f04uNd
this seems to me a workaround  rather than a solution
coming from a feature request for documentation, so likely not intended for production purpose
also does not really explains why the inconsistency of the behavior

@iapicca i agree it behaves weird, but this is how it was intended to work
check what hixie says https://github.com/flutter/flutter/issues/18450#issuecomment-397372078
this is even documented
https://github.com/flutter/flutter/blob/7a3a29e71f0da5b3c45ac359b02582fc3b2514c0/packages/flutter/lib/src/rendering/box.dart#L2728-L2755

@iapicca i agree it behaves weird, but this is how it was intended to work
check what hixie says https://github.com/flutter/flutter/issues/18450#issuecomment-397372078
this is even documented
https://github.com/flutter/flutter/blob/7a3a29e71f0da5b3c45ac359b02582fc3b2514c0/packages/flutter/lib/src/rendering/box.dart#L2728-L2755

@nt4f04uNd
I take back my statement, you are right!
https://github.com/flutter/flutter/issues/18450#issuecomment-397416779

Use a PointerListener instead of a GestureDetector.

@nt4f04uNd
I take back my statement, you are right!
https://github.com/flutter/flutter/issues/18450#issuecomment-397416779

Use a PointerListener instead of a GestureDetector.

@iapicca changing default hitTestBehavior with Stack might be a proposal
this is completely unobvious in the way it works right now, like when we specify HitTestBehavior.translucent, we expect all children behind to receive an event and it doesn't makes sense not to do that as it looks inconsistently and moreover useless

@iapicca changing default hitTestBehavior with Stack might be a proposal
this is completely unobvious in the way it works right now, like when we specify HitTestBehavior.translucent, we expect all children behind to receive an event and it doesn't makes sense not to do that as it looks inconsistently and moreover useless

The behaviour described here is as intended.
The next step if you'd like it changed is to describe (preferably in a new bug so that we start afresh) the use case -- that is, the end-user behaviour you are trying to achieve -- and an explanation of why/how it's inconvenient to get that behaviour today.

The behaviour described here is as intended.
The next step if you'd like it changed is to describe (preferably in a new bug so that we start afresh) the use case -- that is, the end-user behaviour you are trying to achieve -- and an explanation of why/how it's inconvenient to get that behaviour today.

The behaviour described here is as intended.

@Hixie
if this is indeed the intended behavior than I'll close the issue
as the remaining points are addressed in existing issues:

provided more detailed documentation: https://github.com/flutter/flutter/issues/18450 https://github.com/flutter/flutter/issues/74733
provide a HitTestBehavior that works for all the children i stack https://github.com/flutter/flutter/issues/47119

The behaviour described here is as intended.

@Hixie
if this is indeed the intended behavior than I'll close the issue
as the remaining points are addressed in existing issues:

provided more detailed documentation: https://github.com/flutter/flutter/issues/18450 https://github.com/flutter/flutter/issues/74733
provide a HitTestBehavior that works for all the children i stack https://github.com/flutter/flutter/issues/47119

Sounds good, thanks!

Sounds good, thanks!


Difficulty connecting leaf devices to Edge gateway

After configuring a transparent Edge gateway on Windows, I had intermittent difficulties connecting a leaf device through it: the connection would sometimes work, but more often would timeout. I discovered that it was due to a networking issue with resolving the gateway hostname incorrectly. Let's assume that my gateway name is "gateway-host". I did the following command on my leaf device:
nslookup gateway-host
The result would contain the following:

Full FQDN name of the gateway
One IPv6 address
A few IPv4 addresses: one of them being the real IP address on my Ethernet connection, and also a bunch of vEthernet IPs, such as "nat" and "DockerNAT".

I think it's these virtual network interfaces that caused the problem for the leaf device trying to connect through the Edge Gateway. I fixed the problem by adding a host file entry on the leaf device, where I specified the proper IP address for the gateway-host. After that leaf device would establish connection right away, and the telemetry would start flowing to the IoT Hub.
I'm not sure if it's a bug or a troubleshooting entry, but I hope that other IoT Edge users will find this information relevant.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 014b28e4-afcd-a151-1819-1eccd31d3715
Version Independent ID: 032a4694-18d7-67eb-56bb-64078d79d6ae
Content: Troubleshoot Azure IoT Edge
Content Source: articles/iot-edge/troubleshoot.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Hi @andrepodnozov. You followed the guidance in one of the transparent gateway articles, and configured your leaf device with the proper certs and then amended the hostname to the leaf device's connection string? After that, you found the connection intermittent?
We're currently planning a rewrite of the gateway documentation, so I'm trying collect as much information as I can. Thanks for providing this feedback.

This is correct, except I used the windows version of the tutorial rather than linux: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-create-transparent-gateway-windows

@mrohera can you take a look at @andrepodnozov's original issue and provide guidance on whether we should include this step in the gateway article, or perhaps as a troubleshooting tip? Thanks!

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Sorry for dropping the ball on this issue. I think this will make a nice addition to the Troubleshooting FAQ. @kgremban can you put this together?


1.0.0 beta.11

Description of changes
This is changes that we discussed in the comments of #6
Makes the following changes:

changes the algorithm for finding the project root
changes the scheme copying algorithm to only target the Debug and Release schemes
adds the ability to specify a different iOS project directory in package.json
cleans up some features from my beta.10 branch that weren't needed/wanted

Related issues (if any)
#8
#7
#4

Thank you so much!
I'll go ahead and merge this in and do an NPM release.

@gwmccull Not sure if I should raise a ticket or not; But I noticed that I'm getting the following warning when building:
Showing All Issues
../node_modules/react-native-schemes-manager/lib/react-native-xcode.sh: eval: line 37: syntax error near unexpected token `)'

../node_modules/react-native-schemes-manager/lib/react-native-xcode.sh: eval: line 37: `  )'

And the value of __DEV__ within the app is still set as true - although I'm not sure if that's related to the above warning 🤔

As an update to the above - I have created https://github.com/Thinkmill/react-native-schemes-manager/pull/12


Error: Missing binary search algorithm

Additional context
There must be a folder for Binary search algorithm in the DSA , it's implementation and some basic questions of it.

Assign it to me @keshavsingh4522

Hello @Aryanshaw  and @keshavsingh4522 I would like to work on this issue under Hacktoberfest2021, I can implement the selection sort algorithm in CPP as I am fluent with C++ , Data Structures and Algorithms , Please assign this to me.
Thanks in Advance.

Hello sir, can you please assign me this issue . I would like to contribute.


TypeError: Cannot read property 'LayoutParams' of undefined

Geny emulator Android API21
tns 2.3.0
Im trying to build a camera component in my app.
html
<StackLayout exampleTitle toggleNavButtonrm>
    <ScrollView>
        <!-- >> camera-module-html -->
        <FlexboxLayout flexDirection="column-reverse">
            <Image [src]="imageTaken" flexGrow="3" class="img-rounded"></Image>
            <Button text="Take Photo" class="btn btn-primary btn-active" (tap)="onTakePhoto()" flexGrow="1"></Button>
            <Button text="Request permissions" class="btn btn-primary btn-active" (tap)="onRequestPermissions()" flexGrow="1"></Button>
        </FlexboxLayout>
        <!-- << camera-module-html -->
    </ScrollView>
</StackLayout>

component.ts

import { Component } from "@angular/core";
import { ImageAsset } from "image-asset";
import * as camera from "nativescript-camera";

@Component({
    selector: 'using-camera-component',
    templateUrl: 'pages/createexpense/expense-photo.html'
})

export class ExpensePhotoComponent {

    public imageTaken: ImageAsset;
    public saveToGallery: boolean = true;
    public keepAspectRatio: boolean = true;
    public width: number = 300;
    public height: number = 300;

    onTakePhoto() {
        var options = { width: this.width, height: this.height, keepAspectRatio: this.keepAspectRatio,  saveToGallery: this.saveToGallery };
        camera.takePicture(options)
            .then(imageAsset => {
                this.imageTaken = imageAsset;
                console.log("Size: " + imageAsset.options.width + "x" + imageAsset.options.height);
            }).catch(err => {
                console.log(err.message);
            })
    }

    onRequestPermissions() {
        camera.requestPermissions();
    }

    onCheckForCamera() {
        var isCameraAvailable = camera.isAvailable();
        console.log("Is camera hardware available: " + isCameraAvailable);
    }

}

This is the log  :

Hey @agrawal-mohit
Try updating your tons-core-modules and tns-core-modules-widgets
tns plugin add tns-core-modules@next
tns plugin add ins-core-modules-widgets@next

@NickIliev Tried that, didn't solve it.

Have your removed your platforms and node_modules folder before rebuilding your application
rm -rf node_mopdules
rm -rf platforms
tns plugin add tns-core-modules@next
tns plugin add tns-core-modules-widgets@next

The error you are logging is caused by the lack of the new functionalities like FlexboxLayout and ImageAsset which are coming with nativeScript 2.4.0 so updating the modules and rebuilding your app should fix it. If not can you  please provide the error log (preferably no as screenshot but as text file or git gist )

This is what I'm getting now :

node_modules/nativescript-angular/http/ns-http.d.ts(8,22): error TS2415: Class 'NSHttp' incorrectly extends base class 'Http'.
  Types of property 'get' are incompatible.
    Type '(url: string, options?: RequestOptionsArgs) => Observable<Response>' is not assignable to type '(url: string, options?: RequestOptionsArgs) => Observable<Response>'.
      Type 'Observable<Response>' is not assignable to type 'Observable<Response>'.
        Property 'source' is protected but type 'Observable<T>' is not a class derived from 'Observable<T>'.

The last issue you are hitting is related to this one and also some users have hit it and discussed it here
Try the solution suggested in the last issue as follows:

In your package.json file, please use this for now:
"nativescript-angular": "next"
Until a new version is released.

I've made the changes suggested in these posts. This is what shows in my terminal :

app/app.module.ts(7,10): error TS2305: Module '"/Users/mohit/work/Mobile/native/finly-ng/node_modules/nativescript-angular/http"' has no exported member 'NS_HTTP_PROVIDERS'.

node_modules/nativescript-angular/http/ns-http.d.ts(8,22): error TS2415: Class 'NSHttp' incorrectly extends base class 'Http'.
  Types of property 'get' are incompatible.
    Type '(url: string, options?: RequestOptionsArgs) => Observable<Response>' is not assignable to type '(url: string, options?: RequestOptionsArgs) => Observable<Response>'.
      Type 'Observable<Response>' is not assignable to type 'Observable<Response>'.
        Property 'source' is protected but type 'Observable<T>' is not a class derived from 'Observable<T>'.

These are my files :
NS Files.zip

@NickIliev I have create a dummy project that reproduces the problem. Could you please check and verify if it works for you ? I have updated the tns-core-modules to 2.5 but strangely i am still getting the error. Here's the repo - https://github.com/agrawal-mohit/fundoo/tree/master

@agrawal-mohit the link above is dead .
However, I think you issue might be related to [this one](Class 'NSHttp' incorrectly extends base class 'Http') so perhaps you can try the suggested workarounds.
I am closing this issue as it is not related to the application here but more likely is related to a configuration problem.


Benchmarking CLI improvements

A few small things that would be great to improve in benchmarking CLI:

We should use structop instead of clap as thats what we use for all other CLIs (e.g., here).
We should keep CLI parameters as consistent as possible across different CLIs (e.g., for how we specify security, number of outputs etc.). See example here.
Let's change the executable file name to something like miden-bench (miden-benchmarking-cli is way too long).
miden::prove() also includes execution time, I believe. So, to make things more clear, we should probably label it as "Execution + proving time" or something like that.
Would also be great to print out proof size.

Should we revive the CLI benchmarking? Did you use this or are you mostly using the benchmarking of the examples in the Miden VM?

I think it would be good to do so - but fairly low priority. So, maybe we can delegate this to someone external?


Use S3 functionality of hubmap-commons for search endpoints

For responses from search() and search_by_index() greater than the AWS Gateway 10Mb limit, stash the results in AWS S3 and return a URL and 303 response, using hubmap-commons support.
Merge straight to main for rapid release. Joe will get to dev-integrate.

@kburke How does the search-adaptor handle the scenario where items inside S3_settings_dict are not set from the Search-API? For instance if SenNet pulls the search-adaptor without updating app.cfg inside its instance of Search-API?

@maxsibilla Thanks for @'ing me, even though Linux Slack still didn't notify me :(
If you do not pass an S3_settings_dict to the execute_query() method in search-adaptor, it defaults to the current behavior.  That is, check_response_payload_size(response_text):  is called, and posts an error if the response is too big for AWS Gateway.  Otherwise, it returns the response.
If you pass the dictionary, it would stash that response at S3.  But I do not do a bunch of verification of the dictionary.  There will be KeyErrors if something is missing, other exceptions if S3 doesn't like the credentials, etc.

@kburke Awesome, good to know. Thanks


Custom OTA server

Are these the right steps for custom OTA server?

Change "https://os.hashbang.sh" to "https://www.domain.com/update"

Upload "marlin-ota_update-11022414.zip" so it will be at ""https://www.domain.com/update/marlin-ota_update-11022414.zip"

What should be in the page source for "https://www.domain.com/update"? Currently only:

marlin-ota_update-11022414.zip
Thank you!

We are currently working on the OTA system and will have an automated path to do all of this soon. Leaving this open until then.

The updater app we use relies heavily on ensuring that metadata is provided. So we'll either need to patch updater (which we're already working on in #9 for PGP Verification) to either not directly require this metadata or just implement the same strategy in our update server as exists here

Thank you both for responses.
If I understood correctly the page source for Updater app should be like:
{
    "result": [{
        "channel": "STABLE",
        "filename": "marlin-ota_update-PQ2A.190205.003.2<IP_ADDRESS>.zip",
        "fingerprint": "Android/aosp_marlin/marlin:9/PQ2A.190205.003/2<IP_ADDRESS>:user/release-keys",
        "incremental": "PQ2A.190205.003.2<IP_ADDRESS>",
        "timestamp": "1553343204",
        "url": "https://www.domain.com/update/marlin-ota_update-PQ2A.190205.003.2<IP_ADDRESS>.zip"
    }]
}

Based on metadata generation script output on OTA zip file was:
2<IP_ADDRESS><PHONE_NUMBER> PQ2A.190205.003

We could do a dynamic patch like we do for fdroid. This would be easy. Marking as an easy first PR for someone.

just implement the same strategy in our update server as exists here

Thanks @drGrove for implementing it this way. This issue can be closed.
Ref: https://github.com/hashbang/aosp-build/pull/2


Escape "query" parameter

"query" parameter may contains any characters such as "&".
Sorry for no tests.
I'm newbie for Go.  Adding tests about them was difficult for me. :bow:

Thank you for PR 😄, good catch !
Please update target branch dev-1.1 to main. I wanna apply these changes for gotwtr immediately.

OK.  I rebased.
Note that searchAllTweets API does not not exist in main.  Therefore, you need to fix it in the dev-1.1 branch.

@thinca

Note that searchAllTweets API does not not exist in main. Therefore, you need to fix it in the dev-1.1 branch.

Yes, I know. I'll create PR for apply for your comment 👍

CI failed, but the test succeeds in my local environment.
It appears to be a cache issue in the CI environment.

I used act (demonstrate github actions in local), and this CI is passed. So, I don't no idea that why is this checks is failed. You said cache issue in the CI environment, but we cached only go.sum. As these reason, the checks is failed, but I'd like to merge this PR. What do you think ?

Fmm...  Sorry, this is not the cache problem.
https://github.com/sivchari/gotwtr/pull/121/checks#step:2:205

HEAD is now at 937d90b Merge b9c61bf850d787898b0b24b2281b20ce5ed35f31 into 749a04a3b31705ffa56573d22042bb6b2c280ea3

749a04a3b31705ffa56573d22042bb6b2c280ea3 is a commit at dev-1.1.  The CI is not updating the merge point.
I'll try update it by close/reopen this PR.

Oh... re-approval is needed.

Hi, I comprehended, so I approve now.


[FinalClassFixer] Support attributes for Doctrine entity detection

The rule description of FinalClassFixer is:

All classes must be final, except abstract ones and Doctrine entities.

But Doctrine entities are only detected by @ORM\Entity annotation, not by php8 attribute #[ORM\Entity].

Is it true that entities are also not detected if you use PHP mapping?


[skip ci] Tiny document fix: args is not used

I found a typo in variadic arguments example for mapStateToProps.  args is not used.

Yeah, that seems reasonable.  Thanks!


feat: cheatcode to set address name for trace

Component
Forge
Describe the feature you would like
Allow using cheatcode to set aliases for addresses and contracts deployed by deploycode, making it convenient to display in the trace.
Additional context
No response

I think you're looking for label cheatcode? https://book.getfoundry.sh/cheatcodes/label

Closing per above comment, vm.label is what you are looking for :)

I think you're looking for label cheatcode? https://book.getfoundry.sh/cheatcodes/label

yes! thank you


[Feature]: Install k8sgpt-overview and servicemonitor in the namespace where kube-prometheus is located

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?
Yes
Problem Description
I must install k8sgpt and Prometheus in the same namespace, otherwise the monitor will not work
Solution Description
If only you could add a few helm parameters
Benefits
This eliminates the need to install k8sgpt and prometheus in the same namespace

hey @yangy30 , what version of the prometheus operator are you using?
from prom operator: Namespace "limits"/things to keep in mind

we can definitely use the namespaceSelector:   and expose the value in values.yaml
feel free to open a PR @yangy30 !

May I inquire if there were any modifications to the Grafana dashboard that you might have overlooked, sir?
------------------ 原始邮件 ------------------
发件人:                                                                                "k8sgpt-ai/k8sgpt-operator"                                                                                @.>;
发送时间: 2023年5月31日(星期三) 晚上6:56
@.>;
<EMAIL_ADDRESS>主题: Re: [k8sgpt-ai/k8sgpt-operator] [Feature]: Install k8sgpt-overview and servicemonitor in the namespace where kube-prometheus is located (Issue #131)
we can definitely use the namespaceSelector:   and expose the value in values.yaml
feel free to open a PR @yangy30 !
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hey @yangy30 just addressed the prometheus Service Monitor, I didn't touch the Grafana configMap, can you open a new issue for that one please?

I have applied. Thank you for your efforts.
------------------ 原始邮件 ------------------
发件人:                                                                                "k8sgpt-ai/k8sgpt-operator"                                                                                @.>;
发送时间: 2023年6月1日(星期四) 上午7:45
@.>;
<EMAIL_ADDRESS>主题: Re: [k8sgpt-ai/k8sgpt-operator] [Feature]: Install k8sgpt-overview and servicemonitor in the namespace where kube-prometheus is located (Issue #131)
Hey @yangy30 just addressed the prometheus Service Monitor, I didn't touch the Grafana configMap, can you open a new issue for that one please?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


80-test_pkcs12.t skipped on windows due to non-greek system locale

Another thing caught my eye in https://github.com/conda-forge/openssl-feedstock/pull/72:
While the windows test suite runs through, there's a skip that looks strange to me:
80-test_pkcs12.t ................... skipped: Non-Greek system locale

I wouldn't expect a whole test recipe to be skipped just because the machine has a non-greek(!) locale?
On linux (with the same non-greek locale), the test passes:
80-test_pkcs12.t ................... ok

The greek locale is needed because the test uses a greek password for some reason. It would be a feature to rework the test cases to not use the greek password.

As I mentioned, it doesn't skip on linux, which is at the very least inconsistent. Also, while I don't claim to understand the test accounting in OpenSSL, this shouldn't skip the entirety of the recipe...?

It would be a feature to rework the test cases

Not that it matters much, but I cannot imagine a definition of "feature" that encompasses pure test fixes. In my opinion (and I'd say it's a pretty widely-held one), the features are exclusively in the code being tested, the tests themselves only exercise & verify the correct operation of those features.

The whole recipe uses the password. And it does not skip it on Linux because the greek locale is not needed there.

Maybe it could be called a refactor instead of feature. It is not a bug to be fixed though.

Marking as inactive, will be closed at the end of 3.4 dev barring further input.


When using a proxy that has its own certificates, such as BURP, and then turning it off, Mattermost does not load

I confirm (by marking "x" in the [ ] below: [x]):

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

https://mattermost.atlassian.net/browse/MM-14171
Summary

Environment

Operating System: Windows 7 x64
Mattermost Desktop App version: 4.1.0
Mattermost Server version: 4.9.0

Steps to reproduce

Download https://portswigger.net/burp
Open BURP and Mattermost
Go into Windows Internet Options > Connections > LAN settings
Set the proxy server for the system to BURPs, which is `localhost:8080

Expected behavior
Mattermost continues to function as normal
Observed behavior
After showing innumerable amounts of prompts asking to accept the PortSwigger CA (somewhat expected behaviour), Mattermost shows a blank white screen. Doing Clear Cache and Hard Reload does not work, nor does restarting the application.
The only solution is to close BURP, turn off the proxy, do a Clear Cache and Hard Reload, and then restart Mattermost.

Possible fixes
Implement proper support for replacing root CAs on-the-fly, and proxies in general.

@yuya-oc Are you familiar with this set up?

Unfortunately no. Need to investigate and probably need to replace the dialog with Electron’s one.
For now, possibly installing the root CA into the system might make sense, although I’m not sure.

Jira ticket: https://mattermost.atlassian.net/browse/MM-14171.

@ssolidus Have you still experienced this issue recently?

Closing as inactive


add --version flag on cli

Adds a --version flag to the cli
Addresses #176

Coverage increased (+0.005%) to 96.181% when pulling 1acb27595355f7330e42e985440c981d82935b17 on version into 4fe4e7725f0fe30b8e491684ae73ceb9085bdcc6 on staging.


Implement a denser console output using unicode

This is more or less a cross-issue I just posted in the qrcode-rust library project ( kennytm/qrcode-rust#39 ).
But since your project is more console-centric, maybe you are interested to add it in some form:
https://gist.github.com/georgmu/eb37863f0bea3b8a1d18670587553e8a

This seems like something that would be implemented in qrcode-rust, and then just used here as an option.


[D2] 2.4 [Feature #4} [User Feature] [complete / incomplete] [Ai Xin]

Feature 4: View Past Resource Request and Performance Evaluation Form History and Status

[x] completed
[ ] incomplete


pytest prints "Segmentation fault" after succeeding

For example, try pytest cirq/ops/fsim_gate_test.py:
======== test session starts ========
platform linux -- Python 3.7.3, pytest-3.8.2, py-1.8.0, pluggy-0.13.0
benchmark: 3.2.2 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: [...]/cirq, inifile:
plugins: benchmark-3.2.2, cov-2.5.1
collected 22 items

cirq/ops/fsim_gate_test.py ......................                                                                   [100%]

======== warnings summary ===============
[... site-packages/jsonschema/compat ...]
=========== 22 passed, 2 warnings in 0.26 seconds ==========
Segmentation fault

I've narrowed this down to the line import qiskit inside of the qasm compatibility tests. I've confirmed that a python file containing nothing except import qiskit prints the segfault message.
Best guess: the version we are targeting has bit-rotted and we need to bump it.

I just ran that on my machine and didn't get a segfault. For reference I have qiskit 0.6.1 and qiskit aer 0.3.2 installed on my venv

Those ones. Very strange.
I also wasn't able to update qiskit without blowing away my virtual environment first. Regardless, I'm not seeing the issue anymore after increasing the qiskit version to 0.13. So I'll consider this issue closed once that gets merged.


After the update LP chat was broken

https://hastebin.com/ipozozodak.vbs

Put an old version of LP, everything became OK

I need the full error please.

Fixed in e1e7bc8e0d78c974aed817bf3d928fde441758bc


Updating access-svn

keyword_TIWG   |    by<EMAIL_ADDRESS>
Robin has asked NCI if the software on access-svn (subversion, trac) could be updated

hi NCI sysadmins
the SVN software used on access-svn.nci.org.au is quite old and limited in what can be done with it.
What is required to upgrade this system to latest SVN with full functionality ?
Do we move to a new platform and copy the repositories to there ?
Can we upgrade the SVN on top of the current system and what outage time is needed ?
Who has responsibility for doing such an upgrade ?
What issues are known about doing an upgrade ?
cheers
Robin

Issue migrated from trac:209 at 2024-01-31 18:15:09 +1100

<EMAIL_ADDRESS>changed owner from `` to rmb548

<EMAIL_ADDRESS>commented

Check access-svn is still using saved passwords\
Robin to check if any progress on update at NCI

<EMAIL_ADDRESS>changed status from new to assigned


Booleans in Python

Description 📜
This is a video presentation to illustrate Boolean data type in Python. A Google Drive link to view the video is provided.
Fixes issue #971

Type of change 📝

[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)

Domain of Contribution 📊

[x] Python_Domain

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.

I said to create folder named Boolean_in_Python and inside that add file in readme with a short intro about video and video link

I created new PR.Please check:
https://github.com/girlscript/winter-of-contributing/pull/8554
On Fri, Nov 26, 2021 at 6:36 PM Kumaran KM @.***> wrote:

I said to create folder named Boolean_in_Python and inside that add file
in readme with a short intro about video and video link
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/8526#issuecomment-979964888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APGHRQO37I4WXQZ6LHXU3SLUN6A35ANCNFSM5I2IBQ3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Only one clinician per provider

Not sure if this is a bug, but I noticed when generating a number of datasets that there's only ever one clinician generated per provider. In some cases, I guess this would make sense (e.g. a patient would likely stick to the same doctor). However, this means that a hospital also only has one doctor because all new patients attending a particular hospital will always visit the only one doctor at the hospital (unlikely in real life), and patients never seek a second opinion, etc.
I made a local fix by generating a random number of clinicians at each provider in agents/Provider when the clinician is a GP:
if (row.get("hasSpecialties") == null             || row.get("hasSpecialties").equalsIgnoreCase("false")) {
 //ikha: randomizing number of clinicians at a provider from 1-3
int numberOfClinicians = new Random().nextInt(3);
parsed.clinicianMap.put(ClinicianSpecialty.GENERAL_PRACTICE,                 parsed.generateClinicianList(numberOfClinicians+1, ClinicianSpecialty.GENERAL_PRACTICE));
} else {
for (String specialty : ClinicianSpecialty.getSpecialties()) {
String specialtyCount = row.get(specialty);
if (specialtyCount != null && !specialtyCount.trim().equals("")                 && !specialtyCount.trim().equals("0")) {
parsed.clinicianMap.put(specialty,                   parsed.generateClinicianList(Integer.parseInt(row.get(specialty)), specialty));
}
}
if (row.get(ClinicianSpecialty.GENERAL_PRACTICE).equals("0")) {
//ikha: randomizing number of clinicians at a provider from 1-3
int numberOfClinicians = new Random().nextInt(3);
parsed.clinicianMap.put(ClinicianSpecialty.GENERAL_PRACTICE,                   parsed.generateClinicianList(numberOfClinicians+1, ClinicianSpecialty.GENERAL_PRACTICE));
}
}
Since the clincians are picked randomly from the clinician list for encounters (chooseClinicianList function), I think this was the initial intention anyway? Are there any consequences of randomizing the number of clinicians at a provider like above?

It isn't really a bug (it was designed to do that), but as you correctly point out, it doesn't make a ton of sense either.
The use of new Random() without a seed is frowned upon in Synthea, because we want to make sure generation is repeatable. In general, we used seeded Randoms (where the seed is repeatable), or use an existing seeded Random. This is why you see a lot of use of Patient.random throughout the code-based.
Ideally, I would prefer to have a public data source that identified how many GPs existed at each facility.

I had a think about this. There was a recent fix for randomizing the selection of Providers when the distance to the nearest provider is the same (I think I saw the issue posted with Austin TX - I had the same problem with Dallas TX too). Maybe a randomization is a good idea in this case as well, because it could even work in the future when there's a data source for the number of GP's at a facility - I reckon we may not want to initialize ALL of them in the cliniciansList (esp if they are not specialists), and then randomly select from the list. Perhaps it would be a good idea to supply a random (seeded) number of them from for the facility's data source, just like the Providers when closest provider > 1.

The method below already allows a Patient to randomly pick an available Clinician, although it isn't smart enough to dynamically load them on demand as you seem to suggest. Typically the Random being passed in is the Patient.random.
https://github.com/synthetichealth/synthea/blob/f35fffb3d1e44f782b172bff0c28964a90d30962/src/main/java/org/mitre/synthea/world/agents/Provider.java#L428-L439
In the short term we could either add a seeded Random to the Provider which would consistently generate the same random set of GPs, or we could add a configuration setting that would specify N GPs to create at each site instead of the currently hard-coded 1.


Breadcrumb keeps adding in the failed scenario if you click on 'Try again'

Breadcrumb keeps adding in the failed scenario if you click on 'Try again'
It also stores the previous sessions.

#56

We have addressed this and the solution will be part of an upcoming PR.


[CORE] Rename the project

Feature: Develop the library EV3Dev-lang-java
In the third generation of Lego Mindstorms,
it is possible to install a complete Linux distribution and a complete Oracle JRE.
It is necessary to develop a library to use the hardware compatible with EV3Dev.

    Scenario: Rename the project
        Given The library EV3Dev-lang-java
        And other alternatives
        And the project didn´t implement binding features
        Then It is necessary to rename the project

In the beginning of the project, the library tried to experiment with the repo:
https://github.com/ev3dev/ev3dev-lang
but after some time invested, I didn´t consider that code generation with Java was the most suitable way to develop but I create the repository with that name:
https://github.com/jabrena/ev3dev-lang-java
In the time, other project created the binding with Java:
https://github.com/mob41/ev3dev-lang-java
and it is fair to replace the name of the project with another without something related with the binding.

http://www.wondersandmarvels.com/2012/03/the-worlds-first-robot-talos.html

According to the legends, Talos was not a human being but a creature made by Zeus himself. Another version of the myth attributes his creation to Hephaestus, the god of fire and iron. In other versions, Talos was the son of Cres and the god Hephaestus.

http://mythology.net/greek/greek-concepts/talos/

It is not a priority


Foundation: add some type conversion extensions for Windows

The file attribute flags are used extensively in the file manipulation code.  Explicitly converting to the value to DWORD adds no value and clutters the code.  Provide an internal overload to translate the type appropriately.

@swift-ci please test


fixed first column?

did not find that in your examples but did you consider to add option to have the first column fixed too? like this: http://nkmrshn.com/fixedTblHdrLftCol/samples/sample_0_basic.html
but all i find are containers which are limited in their height.

See read me. The part about what the plugging does not do


Firebase method missing in Java

[READ] Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request make sure the issue title starts with "FR:".

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Operating System version: Mac/Windows
Firebase SDK version: firebase-admin
Library version: 6.11.0
Firebase Product: firebase-admin

[REQUIRED] Step 3: Describe the problem
code compiles successfully but when executing getting method not found.
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
SEVERE: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: com.google.firebase.ImplFirebaseTrampolines.getService(Lcom/google/firebase/FirebaseApp;Ljava/lang/String;Ljava/lang/Class;)Lcom/google/firebase/internal/FirebaseService;] with root cause
java.lang.NoSuchMethodError: com.google.firebase.ImplFirebaseTrampolines.getService(Lcom/google/firebase/FirebaseApp;Ljava/lang/String;Ljava/lang/Class;)Lcom/google/firebase/internal/FirebaseService;
at com.google.firebase.messaging.FirebaseMessaging.getInstance(FirebaseMessaging.java:73)
at com.google.firebase.messaging.FirebaseMessaging.getInstance(FirebaseMessaging.java:64)
Relevant Code:
// TODO(you): code here to reproduce the problem

List<String> registrationTokens = Arrays.asList(
    "YOUR_REGISTRATION_TOKEN_1",
    // ...
    "YOUR_REGISTRATION_TOKEN_n"
);

MulticastMessage message = MulticastMessage.builder()
    .putData("score", "850")
    .putData("time", "2:45")
    .addAllTokens(registrationTokens)
    .build();
BatchResponse response = FirebaseMessaging.getInstance().sendMulticast(message);
// See the BatchResponse reference documentation
// for the contents of response.
System.out.println(response.getSuccessCount() + " messages were sent successfully");

its because of firebase SDk
'''

com.google.firebase
firebase-server-sdk
3.0.3

'''
and
'''

com.google.firebase
firebase-admin
6.11.0

'''
removed server sdk and its working.


canonical_parts with grandparent relationships

The current view doesn't handle child -> parent -> grandparent relationships
e.g. I expected this to return one row:
select * from canonical_parts where part_num = '2536c';

part_num | canonical_part_num
--------   ------------------
2536c	     2536
2536c	     2536b
2536c	     6135

Here is a recursive version that handles this
CREATE VIEW canonical_parts AS

	WITH RECURSIVE part_tree(part_num, canonical_part_num) AS (
	    -- Base case: parts that have no parents are their own root
	    -- a -> a
	    SELECT part_num, part_num FROM parts WHERE part_num NOT IN (SELECT child_part_num FROM part_relationships where rel_type = 'M')

	    UNION

	    -- Recursive case: join child parts with their parents' roots
	    -- when looking record c -> b
	    SELECT child_part_num, part_tree.canonical_part_num -- c -> a
	    FROM part_relationships
	    JOIN part_tree on part_relationships.parent_part_num = part_tree.part_num -- join b -> a
	    WHERE rel_type = 'M'
	)
	SELECT * FROM part_tree;

select * from canonical_parts where part_num = '2536c';

part_num | canonical_part_num
--------   ------------------
2536c	     2536

Great project, thanks for sharing it ❤

I was not aware of this. Thank you for sharing this enhancement! I'll make this change.


Experiment with the Libcontainer trait for build_container to something like open_stdio

          `build_container` seems like a fairly heavy trait function.

I think if we add something like open_stdio to the trait we can implement common build_container?
Originally posted by @cpuguy83 in https://github.com/containerd/runwasi/pull/226#discussion_r1293814105

The question is - do we want shim authors to be able to build their customized Container using Container's builder methods?

There is an approach in #243 that simplifies this


DecoratedWindow does not update content when changing the targetState of Crossfade

See https://github.com/Omico/kotlin-explorer/commit/2d728aaccba6c2e38a7efc89d880d5779f878783

@Omico it would be great to have a video of the issue in action and some more info such as which OS you're using

https://github.com/JetBrains/jewel/assets/14316223/8b932357-f8e7-45f8-a127-ec0e3e745564

Thanks! It is definitely a weird issue, and I'm not sure how it relates to the decorated window — maybe it's caused by the menu bar? That looks very broken due to its placement, but I'm not sure what is the intended behaviour on Windows tbh

Yeah, I want to completely replace MenuBar with Dropdown, but I got stuck at https://github.com/JetBrains/jewel/issues/295#issuecomment-2016323981. Maybe I should implement a MenuBar entirely myself.


Enhancement: Named err on tx not fully funded

Currently there is no way to differentiate between not enough funds, vs a system error, from the error returned from tx.Fund without doing a raw string comparison 🤮 .
Adding in a new error and updated docs.

Codecov Report

Merging #65 (a8ba35c) into master (dda328c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   84.75%   84.75%
=======================================
  Files          28       28
  Lines        3011     3011
=======================================
  Hits         2552     2552
  Misses        325      325
  Partials      134      134

Impacted Files
Coverage Δ

txinput.go
85.26% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fix on setting state of the db with data.json cloned values.

Hello typicode, I just donwloaded the repo, and tests were failing, the main reason is the state was not set with the data.json.
router.db.state was undefined.
router.db.setState is the one I found.
Please if I am missing something here and not using correctly the package, just let me now.
Tests are working now.
Thanks for this package, kind regards,
Juan

Hi Juan,
Thank you for the fix :+1: and the feedback :)


Remove builtins

Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

COOL

I :heart: @runcom

@tiborvass :)

LGTM
very exciting!

LGTM
I think my comment changes nothing.

cool just merged


Scrolling doesn't work correctly after setting tableView's separator

After setting tableView's separator to none, the navigation bar becomes transparent and won't react during scrolling such as shrinking, changing color.
Guess changing tableView's property will destroy the scroll delegate somehow.

This is interesting. There's not much magic going on other than accessing whatever table view is in the hierarchy, and I don't know why it would have this behavior. Will try to reproduce on my end and investigate. In the meantime, if you have an example project, would you mind sending it our way? Thank you!

Found the problem only occurs when the navigation bar displays a large title.
Just create a new SwiftUI project and use this can reproduce it.
struct ContentView: View {
    var body: some View {
        NavigationView {
            List(0...10, id: \.self) { num in
                Text(String(num))
            }
            .navigationBarTitle("Title", displayMode: .large)
            .introspectTableView { tableView in
                tableView.separatorStyle = .none
            }
        }
    }
}

Thanks a lot! I can reproduce on my end, I'll see if I can find a workaround.

Fyi List { ... }.background(Text("Some text")) causes the same bug.

You're right. Adding a background to List or ScrollView embedded in NavigationView will cause the same bug. Seems that it affects the scroll delegate inside. Just SwiftUI's problem.
Thank you for investigation!

Fixed in ec46ea4 by using .overlay instead of .background. Will release 0.0.3 soon.

0.0.3 is now available as a tag for SwiftPM and in the Cocoapods trunk. Let me know if it works for you!

Well...No😅In the same code above, after updating, method .introspectTableView doesn't work at all. separator still appears.
And I found a workaround. Call .instrospect... method by the view that embedded in List, instead of by the List itself. Any view in List or add a Spacer().introspect... is OK. In this way, Both .background and .overlay works well.

Oh boy, I didn't even notice. Even the tests didn't pass. Fixing.

This is now fixed in 0.0.4 using previousSibling instead of nextSibling.


Showing and Hiding a section is now working incorrectly

When attempting to show/hide a section using the hide behavior a section will intermittently not show fully when invalidating visibility. Only half of a section will show until the page is scrolled or refreshed. Seems like it may have something to do with calculating height.

This is still happening in v2.4.0


1.0 suggestions

[ ] remove stream mode support;
[ ] remove non-parentheses if syntax;
[ ] search include file relatively, and in paths;
[ ] parsing to ast
[ ] make it async
[ ] loop operator
[ ] sourcemaps support

@coderhaoxin We can make breaking changes before 1.0 release. 0.* is non-semver, so npm updates only patch version for this  ^0..
So, it's nice ability to remove extra code.

@TrySound I think we could publish 1.0 now, and the todo list above should be 1.x.

@coderhaoxin After 1.* couldn't have breaking changes. But here we can do them every 0.*

After 1.* couldn't have breaking changes

Never mind, we could publish as 2.x, 3.x and so on.

But still I want to make all cosmetic breaking changes before.

It's nice solution with 0.*.

However we can do no more releases before 1.0


win32a consistently crashes

Using the win32a feature set on pdcurses consistently crashes, possibly due to threading issues. Is there a fix for this coming shortly?

Any steps to reproduce? Is this something pancurses is causing or are the issues also present when using PDCurses directly?


Upgrade 1.6 -> 1.7.0 = HDD no longer found

Hey,
I just upgraded a fully synced and running node to Raspiblitz 1.7.0. I backed up the LND folder on the harddisk and flashed the new image over the SD card. Proceeded to boot and then the Raspiblitz got stuck on the info screen showing bitcoind block sync to 99.74% and then hardware froze. After rebooting a few times I never got past this issue of syncing and then hardware freeze.
Now the Raspiblitz no longer boots correctly. Apparently it fails to find and mount the SSD drive. If I take the SSD and plug it into another (Ubuntu) machine then it mounts fine and I can see the contents of the drive. e4fsck shows there's no errors on the disk. I see no power warnings. The Raspi is running from a 3A 12VDC converter. It had been running fine in this configuration until the upgrade. The SSD shows a power light and occasional blinking of the activity light.
I can't post output from the "Run softwaretest (DebugReport)" option since apparently that needs the disk to be working. Here's some more outputs that might allow troubleshooting.
Would be happy if someone can give me some pointers as to how to fix this. Thanks in advance!
admin@raspberrypi:~ $ /home/admin/XXdebugLogs.sh | nc termbin.com 9999
ls: cannot access '/mnt/hdd/litecoin/litecoin.conf': No such file or directory
Unit bitcoind.service could not be found.
tail: cannot open '/mnt/hdd/bitcoin/testnet3/debug.log' for reading: No such file or directory
Unit lnd.service could not be found.
tail: cannot open '/mnt/hdd/lnd/logs/bitcoin/testnet/lnd.log' for reading: No such file or directory
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
/home/admin/config.scripts/bonus.electrs.sh: line 15: /mnt/hdd/raspiblitz.conf: No such file or directory
/home/admin/config.scripts/blitz.statusscan.sh: line 4: /mnt/hdd/raspiblitz.conf: No such file or directory
/home/admin/config.scripts/blitz.ups.sh: line 4: /mnt/hdd/raspiblitz.conf: No such file or directory
https://termbin.com/6xtc
admin@raspberrypi:~ $
admin@raspberrypi:~ $ tail -n1000 -f raspiblitz.log

Running RaspiBlitz Bootstrap 1.7.0
Mon 10 May 12:00:59 BST 2021

No HDMI switch found.
isMounted: 0
Skipping UASP deactivation ... cmdlineExists(1) hddAdapterUSB() hddAdapterUSAP(0)
HDD is there but not AutoMounted yet - checking Setup
HDD is NOT formatted in  .. awaiting user setup.
admin@raspberrypi:~ $ cat /etc/fstab
proc            /proc           proc    defaults          0       0
PARTUUID=3881a727-01  /boot           vfat    defaults          0       2
PARTUUID=3881a727-02  /               ext4    defaults,noatime  0       1
tmpfs         /var/cache/raspiblitz  tmpfs  nodev,nosuid,size=32M  0  0
a swapfile is not a swap partition, no line here
use  dphys-swapfile swap[on|off]  for that
admin@raspberrypi:~ $
admin@raspberrypi:~ $ sudo fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mmcblk0: 58.9 GiB,<PHONE_NUMBER>0 bytes, 123473920 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3881a727
Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        8192   532479   524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2<PHONE_NUMBER>6271 14753792    7G 83 Linux

I did some more testing and know for sure it is not a power issue. I've tried powering the SSD with a USB power injector and get the same issue. I tried downgrading again by flashing the SD card with a Raspiblitz 1.6 image, but it doesn't boot. It says it does not find a hard disk plugged in.  The 1.7 image also fails to boot.
I'm running out of ideas to try to fix this and could use a little help... Thanks in advance!

Just flashed Raspberry Pi OS onto the SD card and booted into it. The SSD mounts just fine, in exactly the same hardware configuration as Raspiblitz was failing to. I guess it is a Raspiblitz issue and not a SSD/power/hardware issue.
Help would be appreciated.

Can you please share what USB disk adapter are you using?
Can try if it works on the USB2 port as well (will be slow).
A quick solution si to use one of the recommended adapters from the shopping list /issues.

better still is to use a Samsung T5 or T7 1Tb SSD since they are designed for use with mobile apps smartphones etc (you can now find them for around 80eu i paid 120eu for mine T5 over 14mnt back) -meaning they don't require more than the 3A the pi provides by default - if that is not an option you can also try to edit config.txt to the desired power output. look into raspberrypi.org docs for the exact values


Update meta-artik submodule

Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>

@agherzan

SGTM

Can one of the admins verify this patch?

Can one of the admins verify this patch?


fix: List types

SelectBar > selectedItems doesn't have the right type Record<string, unknown>[], should be T[] where T is the type passed to List component

Is there anything else?

SelectBar > selectedItems doesn't have the right type: Record<string, unknown>[], should be T[] where T is the type passed to List component

This was fixed on #1901

@DorianMaliszewski @matthprost this has been fixed by ListV2 right ?

Yes! 👌

@chambo-e I will wait for ListV2 to become List once migration is done I will close this issue, same for pagination 😄


support function unnesting for json_as_text inner calls

Noticed this while investigating #53

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.78%. Comparing base (6fae049) to head (b9efba3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   84.69%   84.78%   +0.09%
==========================================
  Files          15       15
  Lines         980      986       +6
  Branches      980      986       +6
==========================================
+ Hits          830      836       +6
  Misses        103      103
  Partials       47       47

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Match event order depends on the platform

I run into this when trying to figure out why gulp outputs files in different order on windows. This used to work with older version of gulp. Detective work pointed to this graceful-fs change: https://github.com/isaacs/node-graceful-fs/commit/08471b246bec73848b53e9ad4972f5fe02031805
If this was to be "fixed" now the most convenient and probably the only place would be in node-glob and it would be to sort each readdir result:
self._readdirEntries(abs, entries, cb) -> self._readdirEntries(abs, entries.sort(), cb)
I run benchmarks to see what kind of performance penalty there is but couldn't see anything consistent. The following is three run average and numbers are: [before fix] -> [after fix] (percentage change):
Node statSync and readdirSync timing:

	real 1.681 -> 1.633 (-2.9%)
	user 1.138 -> 1.123 (-1.3%)
	sys  0.530 -> 0.528 (-0.4%)

Node glob.sync timing:

	real 3.921 -> 3.879 (-1.1%)
	user 3.314 -> 3.284 (-0.9%)
	sys  0.647 -> 0.635 (-1.1%)

Node glob async timing:

	real 7.752 -> 7.816 (+0.8%)
	user 7.461 -> 7.515 (+0.7%)
	sys  1.501 -> 1.524 (+1.5%)

@contra @heikki I'm sorry to be the bearer of bad news.
It turns out that sorting the readdir results isn't actually enough of a fix, and in fact, it can't be reliably fixed in the general case without some truly awful things.
Consider this:
a
├── b/
│   └── z/
└── c/
    └── z/

If you glob for a/*/z then it does the first readdir on the a/ dir.  Some platforms this returns ['b','c'] and others, ['c','b'].  So, we sort it.
Then, for each of those two dirs, in parallel, it does a readdir to see if there's a z inside.  They'll both hit the thread pool at effectively the same time, just a few ns off.  But sometimes, readdir('a/c') will return before readdir('a/b'), so even though we sort every readdir, we still get a/c/z before a/b/z.
To truly fix this, we'd have to somehow sort the readdir responses and also sort the return processing from each child branch to manage the order that they return in.  That's way beyond my threshold for complexity.  A simpler approach would be to serialize the processing of each child dir, but then we'll be leaving a lot of performance on the table (like, 4x in some cases).
With that in mind, I'm going to revert this "fix", because it adds complexity and CPU cycles for no benefit.
You'll just have to handle out-of-order results.  They are sorted in the final tally, though, so you can either have them sooner (and maybe out of order), or all at once (and sorted).  Trade-off appropriately for your use case, I guess.

@isaacs Ok, thanks for info. Have to figure out alternative.


Chrome on Windows is detected as a mobile device

See attached screenshot.

Could not replicate with generic Chrome on Windows 10 or 7 user agent string. Emailed Zachary Lowry to get his user agent string.


⚠ Bofrost.lu has degraded performance

In d987079, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1196 ms

Resolved: Bofrost.lu performance has improved in 304cb17 after 6 minutes.


Toggle Button covers panel

Just a small issue and probably an easy fix: The toggle button covers the panel and in the "bottom-right" position it makes it difficult to read the value for the triangles.

Edit: I just noticed this might be a Problem with Chakra UI since this issue only appears when using Chakra UI. I believe Chakra UI uses some global CSS resets. Maybe that's what's causing it.

@marcelmusiol Thanks for the feedback. I will implement a basic CSS reset on the container of the module it might fix that issue!

Thanks! And thank you for providing this tool! Especially when learning three js and react three fiber I find it very helpful as you can immediately tell if some code is not performing well.

@marcelmusiol Version 3.2.0 release should fix that issue. Also improved the chart settings and fixed the trackGPU parameter. Thank you for the kind words it motivates me to keep working on these kind of tools :relaxed:


Permission denied using default service account

Hello,
I am facing errors with the default credentials when initializing the LoggingWinston inside GKE.
Logs:
(node:24) UnhandledPromiseRejectionWarning: Error: 7 PERMISSION_DENIED: The caller does not have permission
    at Object.callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:176:52)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /app/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
    at processTicksAndRejections (internal/process/task_queues.js:75:11)
(node:24) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 11)

Initially, I thought the pod doesn't have permissions. I tried running the curl metadata server inside the pod and I got the following response:
/app # curl http://<IP_ADDRESS>/computeMetadata/v1/instance/service-accounts/default/scopes -H "Metadata-Flavor:Google"
https://www.googleapis.com/auth/devstorage.read_only
https://www.googleapis.com/auth/logging.write
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/servicecontrol
https://www.googleapis.com/auth/service.management.readonly
https://www.googleapis.com/auth/trace.append

I am unable to find a solution, please help.

Hi, by the time you ssh into the pod and ping metadata server, it is ready.
The race condition happens in the split seconds during the initial deployment, when the library is initially trying to authenticate. The GCP metadata service might not be available to the pods within the first n seconds of deployment.
Please see the troubleshooting guide or next steps mentioned in this previous issue.
Closing as this error doesn't originate from this repo.

Thank you so much.
I just added a 5-sec delay before the server started.

Hello,
I added a 30-sec delay before the application starts.  Still no luck.

Hi,
I added a function to wait for the GCP Meta service to start before starting the server.
I am trying to get the token and the scope before I start the server.
Logs:
Booting App
Contacting GCP Meta Server
GCP Meta Server responded -  {
  token: {
    access_token: 'ya29.c.KpkB-gcYLx5ltaepfoP4JbHDWUabgif4u40UAWKz9kr-I5dBmbc4_fcXx65wEtb0HQoKIYnjrUPWF0Bg6uFqA5SH-zfwfrlktdYNYgtOXKtkJuv-9jveOZDZQv4bmNjO0-ndV4-y41dwKDdnUhIIUzivfNzl7Dnj5Eke0gt9BCTifCJzXxJuhXNbGZUUjVp5CGOK31SIEbEMHnGF',
    expires_in: 2566,
    token_type: 'Bearer'
  },
  scope: 'https://www.googleapis.com/auth/devstorage.read_only\n' +
    'https://www.googleapis.com/auth/logging.write\n' +
    'https://www.googleapis.com/auth/monitoring\n' +
    'https://www.googleapis.com/auth/servicecontrol\n' +
    'https://www.googleapis.com/auth/service.management.readonly\n' +
    'https://www.googleapis.com/auth/trace.append\n'
}
Using Google Logging
Using local console logging
[NestWinston] Info      4/7/2021, 9:18:07 AM [NestFactory] Starting Nest application... - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] AppModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] PrismaModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] FirebaseModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] HttpModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] DiscoveryModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] CommonModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] ConfigHostModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] TerminusModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] ScheduleModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] ConfigModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] TeachersModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] HealthModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:08 AM [RoutesResolver] TeachersController {/teachers}: - {}
[NestWinston] Info      4/7/2021, 9:18:08 AM [RouterExplorer] Mapped {/teachers/assignedNumbers/:id, GET} route - {}
[NestWinston] Info      4/7/2021, 9:18:08 AM [RouterExplorer] Mapped {/teachers/assignPushNotifications, GET} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/create, POST} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/updateDeliveryStatus, PUT} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/message/create, POST} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/message/update, PUT} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/disableDevice/:id, PUT} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RoutesResolver] HealthController {/health}: - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/health, GET} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RoutesResolver] CommonController {/common}: - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/common/service-version, GET} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [NestApplication] Nest application successfully started - {}
(node:17) UnhandledPromiseRejectionWarning: Error: 7 PERMISSION_DENIED: The caller does not have permission
    at Object.callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:176:52)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /app/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
    at processTicksAndRejections (internal/process/task_queues.js:75:11)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@austin

Hi,
I added a function to wait for the GCP Meta service to start before starting the server.
I am trying to get the token and the scope before I start the server.
Logs:
Booting App
Contacting GCP Meta Server
GCP Meta Server responded -  {
  token: {
    access_token: 'ya29.c.KpkB-gcYLx5ltaepfoP4JbHDWUabgif4u40UAWKz9kr-I5dBmbc4_fcXx65wEtb0HQoKIYnjrUPWF0Bg6uFqA5SH-zfwfrlktdYNYgtOXKtkJuv-9jveOZDZQv4bmNjO0-ndV4-y41dwKDdnUhIIUzivfNzl7Dnj5Eke0gt9BCTifCJzXxJuhXNbGZUUjVp5CGOK31SIEbEMHnGF',
    expires_in: 2566,
    token_type: 'Bearer'
  },
  scope: 'https://www.googleapis.com/auth/devstorage.read_only\n' +
    'https://www.googleapis.com/auth/logging.write\n' +
    'https://www.googleapis.com/auth/monitoring\n' +
    'https://www.googleapis.com/auth/servicecontrol\n' +
    'https://www.googleapis.com/auth/service.management.readonly\n' +
    'https://www.googleapis.com/auth/trace.append\n'
}
Using Google Logging
Using local console logging
[NestWinston] Info      4/7/2021, 9:18:07 AM [NestFactory] Starting Nest application... - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] AppModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] PrismaModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] FirebaseModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] HttpModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] DiscoveryModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] CommonModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] ConfigHostModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] TerminusModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] ScheduleModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] ConfigModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] TeachersModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:07 AM [InstanceLoader] HealthModule dependencies initialized - {}
[NestWinston] Info      4/7/2021, 9:18:08 AM [RoutesResolver] TeachersController {/teachers}: - {}
[NestWinston] Info      4/7/2021, 9:18:08 AM [RouterExplorer] Mapped {/teachers/assignedNumbers/:id, GET} route - {}
[NestWinston] Info      4/7/2021, 9:18:08 AM [RouterExplorer] Mapped {/teachers/assignPushNotifications, GET} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/create, POST} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/updateDeliveryStatus, PUT} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/message/create, POST} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/message/update, PUT} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/teachers/disableDevice/:id, PUT} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RoutesResolver] HealthController {/health}: - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/health, GET} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RoutesResolver] CommonController {/common}: - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [RouterExplorer] Mapped {/common/service-version, GET} route - {}
[NestWinston] Info      4/7/2021, 9:18:10 AM [NestApplication] Nest application successfully started - {}
(node:17) UnhandledPromiseRejectionWarning: Error: 7 PERMISSION_DENIED: The caller does not have permission
    at Object.callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:176:52)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /app/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
    at processTicksAndRejections (internal/process/task_queues.js:75:11)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Were you able to get a fix for this? Running into the same issue

I'm also running into this. My service account definitely has the Error Reporting Writer permission...