Optimize CLI tools arg parser

Currently the arg parser does not make use of all the features of argparse. We should ensure that for the subparsers, we can fail fast if some required args are not provided, or if only certain values are accepted by using the required or choices or default parameters (Reference)
We should also remove support for the data-validation run command. (Example)

Currently, the column level parser also accepts hash, concat, comp-fields which makes the data-validation validate column -h command invalid.

Remove run-config command?
Make --hash, --concat, and --comparison-fields required and mutually exclusive for validate row command.
Remove --hash, --concat, and --comparison-fields from validate column command
Split optional and required arguments into different groups for better visibility while using -h flag
Deprecate --result-handler-config and --type in validate and generate-table-partitions command?
Remove --labels from validate schema
Remove data-validation run-config -c ex_yaml.yaml from cli usage doc_string
Remove --tables-list from validate custom-query command
Is --grouped-columns supported for validate row command?
Remove --use-random-row and --random-row-batch-size for generate-table-partitions command?

Updated:

Remove run-config command
Make --hash, --concat, and --comparison-fields required and mutually exclusive for validate row command.
Remove --hash, --concat, and --comparison-fields from validate column command
Split optional and required arguments into different groups for better visibility while using -h flag
Deprecate --result-handler-config and --type in validate and generate-table-partitions command
Remove data-validation run-config -c ex_yaml.yaml from cli usage doc_string
Remove --tables-list from validate custom-query command
Remove --grouped-columns from validate row command
Remove --use-random-row and --random-row-batch-size for generate-table-partitions command


[Help me] [1.2.2 regression] Failed to initialize client on a non-IPv6 client box.

Details
I didn't compile any IPv6 features in my linux distro, as you can see
~ $ sudo sysctl -a | grep ipv6
~ $

and 1.2.1 is pretty good, but after upgraded to 1.2.2, the client failed initializing due to
Oct 24 20:44:58 hysteria[1662]: 2022-10-24T20:44:58+08:00 [FATA] [error:listen udp <IP_ADDRESS>:1080: set socket option: IPV6_TRANSPARENT: protocol not available] Client shutdown
Oct 24 20:45:03 hysteria[1700]: 2022-10-24T20:45:03+08:00 [ERRO] [error:timeout: no recent network activity] Failed to initialize client

Hysteria server information
1.2.2
VPS information
N/A
Server config
N/A
Server logs
N/A
Hysteria client information
1.2.2
Client config
{
  "server": "............",
  "protocol": "wechat-video",
  "up_mbps": 50,
  "down_mbps": 100,
  "relay_tcps": [
    {
      "listen": "<IP_ADDRESS>:1053",
      "remote": "<IP_ADDRESS>:53"
    }
  ],
  "relay_udps": [
    {
      "listen": "<IP_ADDRESS>:1053",
      "remote": "<IP_ADDRESS>:53"
    }
  ],
  "tproxy_tcp": {
    "listen": "<IP_ADDRESS>:1080"
  },
  "tproxy_udp": {
    "listen": "<IP_ADDRESS>:1080"
  },
  "obfs": "...........",
  "auth_str": "...........",
  "alpn": "h2",
  "server_name": "..............",
  "recv_window_conn": 16777216,
  "recv_window": 67108864,
  "resolver": "<IP_ADDRESS>",
  "resolve_preference": "4",
  "retry": -1,
  "retry_interval": 10
}

Client environment (operating system)
Linux 5.15.72-1-lts
Client logs
Oct 24 20:44:58 hysteria[1662]: 2022-10-24T20:44:58+08:00 [FATA] [error:listen udp <IP_ADDRESS>:1080: set socket option: IPV6_TRANSPARENT: protocol not available] Client shutdown
Oct 24 20:45:03 hysteria[1700]: 2022-10-24T20:45:03+08:00 [ERRO] [error:timeout: no recent network activity] Failed to initialize client

this bug is probably introduced by https://github.com/HyNetwork/go-tproxy/commit/d32f8ab1e8e94422d84355a8e65c44a5a656136e


Base step to go to a new tab throws error

VerificationSteps.java
@Then("^I see a new tab open with the (.*) Page$")
    public static void openNewTab(String pageName) throws InterruptedException {
        PageManager.switchToNewWindow();
        pageName = pageName.replaceAll("\\s", "") + "Page";
        PageManager.setPage(pageName);
        PageManager.waitForPageLoad();
    }

Error throws:
com.dougnoel.sentinel.exceptions.NoSuchWindowException: Parent Window cannot be found. Please open a window and restart your test.
at com.dougnoel.sentinel.pages.PageManager.switchToNewWindow(PageManager.java:198)
at com.dougnoel.sentinel.steps.VerificationSteps.openNewTab(VerificationSteps.java:222)
at ?.I see a new tab open with the Question Item Page(file:///C:/Users/shussain001/Documents/Codebase/sentinel.example/src/test/java/features/US67890%20Test%20Story%202.feature:37)

This step is a verification step used to move to an opened tab. It will fail if you did not open a new tab. What steps did you use to reproduce this?
@Then("^I see a new tab open with the (.*) Page$")
public static void i_see_a_new_tab_open_with_the_foo_Page(java.lang.String pageName)
throws java.lang.Throwable
Opens the given pageName in a new window
Gherkin Examples:
I see a new tab open with the Home page
I see a new tab open with the Login page
I see a new tab open with the Google Maps page
Parameters:
pageName - String the page to open
Throws:
java.lang.Throwable - this exists so that any uncaught exceptions result in the test failing
https://dougnoel.github.io/sentinel/com/dougnoel/sentinel/steps/VerificationSteps.html#i_see_a_new_tab_open_with_the_foo_Page(java.lang.String)

I believe this was fixed.


[Feature Request]A Tween Method

Since react-motion can change props fluently, I think there is a tween method in it. (I didn't read the source code.) And I hope you can export it. It's a good helper function. Of course, if there is no tween method in react-motion, just close this issue.

I think it would be good to export the calculation functuion so I could use it outside react components. React motion is more about math rather than simply css styles animations. For example I want to animate scroll and I can't import only calculation function and use it to change scroll position, now I have to add it to render methd and return null to make it work


⚠ Jenkins Plugins Artifactory has degraded performance

In c2393ab, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1211 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 835e1c8 after 14 minutes.


[PDI-18876] - Calling API and passing Encrypted passwords fails to Decrypt password resulting in locked accounts

@pentaho-lmartins
@ssamora
@ppatricio
@smmribeiro
I have not attach any unit test, because the fix was inside of anonymous class.
Besides that this was a typo because on others similar anonymous classes it was passed the correct variable.

:white_check_mark: Build finished in 11m 8s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/pur/core

:ok_hand: All tests passed!
Tests run: 278, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Bump Rancher to v2.8.5

Bump Rancher to v2.8.5

replace by https://github.com/harvester/harvester-installer/pull/787


Fix

Problem

App level 0

Solution

Trying to fix it

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme


Unable to install on CentOS 6

Hi,
I would install your package on CentOS by passport-negotiate.
But errors happens when NPM try to build librarie throught node-gyp.
I have installed some Yum libs: krb5-libs, krb5-devel
Do you have a idea who help me ?

$ npm i kerberos

><EMAIL_ADDRESS>install /data/home/deploy/builds/af633ab6/0/******/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)

make: Entering directory `/data/home/deploy/builds/af633ab6/0/******/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from /home/deploy/.node-gyp/4.2.3/include/node/node.h:42,
                 from ../lib/kerberos.h:4,
                 from ../lib/kerberos.cc:1:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:336: error: expected unqualified-id before ‘using’
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:353: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:360: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:364: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:430: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: At global scope:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:469: error: expected unqualified-id before ‘using’
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:790: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:815: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:827: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: At global scope:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:852: error: expected unqualified-id before ‘using’
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:1089: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:1095: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:3205: error: ‘nullptr’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:7164: error: ‘nullptr’ was not declared in this scope
In file included from ../../nan/nan.h:182,
                 from ../lib/kerberos.h:9,
                 from ../lib/kerberos.cc:1:
../../nan/nan_maybe_43_inl.h: At global scope:
../../nan/nan_maybe_43_inl.h:13: error: expected unqualified-id before ‘using’
../../nan/nan_maybe_43_inl.h:16: error: expected unqualified-id before ‘using’
../../nan/nan_maybe_43_inl.h:19: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:24: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:31: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:36: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:41: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:46: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:51: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:60: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:65: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:70: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:77: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:84: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:92: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:99: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:109: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:115: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:119: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:126: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:131: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:136: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:140: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:146: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:151: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:157: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:163: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:169: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:175: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:181: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:187: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:195: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:202: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:206: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:210: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:214: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:218: error: expected initializer before ‘<’ token
In file included from ../../nan/nan.h:187,
                 from ../lib/kerberos.h:9,
                 from ../lib/kerberos.cc:1:
../../nan/nan_converters.h:14: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type
../../nan/nan_converters.h:14: error: expected ‘;’ before ‘<’ token
../../nan/nan_converters.h:16: error: ISO C++ forbids declaration of ‘Maybe’ with no type
../../nan/nan_converters.h:16: error: expected ‘;’ before ‘<’ token
../../nan/nan_converters.h:26: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:27: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:28: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:29: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:30: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:31: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:32: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:42: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:43: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:44: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:45: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:46: error: ‘return_t’ does not name a type
In file included from ../../nan/nan_converters.h:59,
                 from ../../nan/nan.h:187,
                 from ../lib/kerberos.h:9,
                 from ../lib/kerberos.cc:1:
../../nan/nan_converters_43_inl.h:18: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Boolean>’ does not name a type
../../nan/nan_converters_43_inl.h:19: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Number>’ does not name a type
../../nan/nan_converters_43_inl.h:20: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::String>’ does not name a type
../../nan/nan_converters_43_inl.h:21: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Object>’ does not name a type
../../nan/nan_converters_43_inl.h:22: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Integer>’ does not name a type
../../nan/nan_converters_43_inl.h:23: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Uint32>’ does not name a type
../../nan/nan_converters_43_inl.h:24: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Int32>’ does not name a type
../../nan/nan_converters_43_inl.h:34: error: ‘return_t’ in class ‘Nan::imp::ToFactory<bool>’ does not name a type
../../nan/nan_converters_43_inl.h:35: error: ‘return_t’ in class ‘Nan::imp::ToFactory<double>’ does not name a type
../../nan/nan_converters_43_inl.h:36: error: ‘return_t’ in class ‘Nan::imp::ToFactory<long int>’ does not name a type
../../nan/nan_converters_43_inl.h:37: error: ‘return_t’ in class ‘Nan::imp::ToFactory<unsigned int>’ does not name a type
../../nan/nan_converters_43_inl.h:38: error: ‘return_t’ in class ‘Nan::imp::ToFactory<int>’ does not name a type
In file included from ../../nan/nan.h:188,
                 from ../lib/kerberos.h:9,
                 from ../lib/kerberos.cc:1:
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:
../../nan/nan_new.h:21: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:
../../nan/nan_new.h:28: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:
../../nan/nan_new.h:35: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h: At global scope:
../../nan/nan_new.h:43: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type
../../nan/nan_new.h:43: error: expected ‘;’ before ‘<’ token
../../nan/nan_new.h:75: error: ‘return_t’ does not name a type
../../nan/nan_new.h:141: error: ‘return_t’ does not name a type
../../nan/nan_new.h:147: error: ‘return_t’ does not name a type
../../nan/nan_new.h:148: error: ‘return_t’ does not name a type
../../nan/nan_new.h:160: error: ‘return_t’ does not name a type
../../nan/nan_new.h:161: error: ‘return_t’ does not name a type
../../nan/nan_new.h:162: error: ‘return_t’ does not name a type
../../nan/nan_new.h:163: error: ‘return_t’ does not name a type
../../nan/nan_new.h:165: error: ‘return_t’ does not name a type
../../nan/nan_new.h:166: error: ‘return_t’ does not name a type
../../nan/nan_new.h:182: error: ‘return_t’ does not name a type
../../nan/nan_new.h:183: error: ‘return_t’ does not name a type
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:188,
                 from ../lib/kerberos.h:9,
                 from ../lib/kerberos.cc:1:
../../nan/nan_implementation_12_inl.h:56: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Date>’ does not name a type
../../nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::Function> Nan::imp::Factory<v8::Function>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:90: error: ‘NewInstance’ was not declared in this scope
../../nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::FunctionTemplate> Nan::imp::Factory<v8::FunctionTemplate>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>, v8::Local<v8::Signature>)’:
../../nan/nan_implementation_12_inl.h:118: error: ‘NewInstance’ was not declared in this scope
../../nan/nan_implementation_12_inl.h: At global scope:
../../nan/nan_implementation_12_inl.h:197: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type
../../nan/nan_implementation_12_inl.h:216: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type
../../nan/nan_implementation_12_inl.h:222: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type
../../nan/nan_implementation_12_inl.h:254: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:262: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:268: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:275: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:281: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:286: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:347: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type
../../nan/nan_implementation_12_inl.h:354: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type
In file included from ../../nan/nan.h:188,
                 from ../lib/kerberos.h:9,
                 from ../lib/kerberos.cc:1:
../../nan/nan_new.h:291: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:297: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:303: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:309: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:315: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:321: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:327: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type
In file included from ../lib/kerberos.h:9,
                 from ../lib/kerberos.cc:1:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
../../nan/nan.h:639: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:
../../nan/nan.h:639: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:
../../nan/nan.h:640: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
../../nan/nan.h:640: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:
../../nan/nan.h:641: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
../../nan/nan.h:641: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:
../../nan/nan.h:642: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
../../nan/nan.h:642: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:
../../nan/nan.h:643: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
../../nan/nan.h:643: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: At global scope:
../../nan/nan.h:651: error: expected initializer before ‘<’ token
../../nan/nan.h:673: error: expected initializer before ‘<’ token
../../nan/nan.h:689: error: expected initializer before ‘<’ token
../../nan/nan.h:702: error: expected initializer before ‘<’ token
../../nan/nan.h:719: error: expected initializer before ‘<’ token
../../nan/nan.h:725: error: expected initializer before ‘<’ token
../../nan/nan.h:733: error: expected initializer before ‘<’ token
../../nan/nan.h:740: error: expected initializer before ‘<’ token
../../nan/nan.h:746: error: expected initializer before ‘<’ token
/home/deploy/.node-gyp/4.2.3/include/node/v8.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:3021: error: argument dependent lookup finds ‘class v8::Set’
../../nan/nan.h:1366: error:   in call to ‘Set’
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1488: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1506: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:
../../nan/nan.h:1540: error: no matching function for call to ‘New(const char*)’
../../nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:
../../nan/nan.h:1829: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available
../../nan/nan.h:1829: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../nan/nan.h:1830: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:
../../nan/nan.h:1842: error: ‘GetFunction’ was not declared in this scope
../../nan/nan.h:1843: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
../../nan/nan.h:1868: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:1911: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’:
../../nan/nan.h:1959: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’:
../../nan/nan.h:2029: error: ‘NewInstance’ was not declared in this scope
In file included from ../lib/kerberos.h:9,
                 from ../lib/kerberos.cc:1:
../../nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:
../../nan/nan.h:2090: error: no matching function for call to ‘New(const char*&)’
../../nan/nan.h:2091: error: ‘GetFunction’ was not declared in this scope
/home/deploy/.node-gyp/4.2.3/include/node/v8.h:3021: error: argument dependent lookup finds ‘class v8::Set’
../../nan/nan.h:2091: error:   in call to ‘Set’
../../nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:
../../nan/nan.h:2098: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’
../../nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
../../nan/nan.h:2111: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:
../../nan/nan.h:2117: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../lib/kerberos.cc: In static member function ‘static void Kerberos::Initialize(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../lib/kerberos.cc:74: error: no matching function for call to ‘New(const char [9])’
../lib/kerberos.cc:89: error: no matching function for call to ‘New(const char [9])’
../lib/kerberos.cc: In static member function ‘static void Kerberos::After(uv_work_t*)’:
../lib/kerberos.cc:842: error: no matching function for call to ‘New(char*&)’
../lib/kerberos.cc:844: error: no matching function for call to ‘New(const char [5])’
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory `/data/home/deploy/builds/af633ab6/0/******/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/data/app/usr_local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 2.6.32-573.7.1.el6.x86_64
gyp ERR! command "/data/app/usr_local/bin/node" "/data/app/usr_local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /data/home/deploy/builds/af633ab6/0/******/node_modules/kerberos
gyp ERR! node -v v4.2.3
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok

:+1:

any luck on this?

It looks like a general problem with centos 6 and node in general.  You'll need to somehow get g++ 4.8 or higher installed on your box.  See this question:
http://superuser.com/questions/381160/how-to-install-gcc-4-7-x-4-8-x-on-centos
and this other related post issue:
https://github.com/travis-ci/travis-ci/issues/4771


ONE_AUTH variable not honored by x509 login

Author Name: Daniel Kouril (Daniel Kouril)
Original Redmine Issue: 4379, https://dev.opennebula.org/issues/4379
Original Date: 2016-03-22

The ONE_AUTH variable seems to be ignored while authentication token is being created using 'oneuser login USER --x509' and the outcome is always stored in $HOME/.one/one_auth. Other subsequent commands (like onehost) tries to read the file referred to by ONE_AUTH, which yields weird errors.

Another bug related has been found:
$ oneuser login USER --x509
undefined method `call' for [-1, "no implicit conversion of nil into String"]:Array

I have tested it and it works for me in the current master version:
$ export ONE_AUTH=/tmp/one_auth

$ oneuser login test --x509 --cert cert.pem -k key.pem
Enter PEM pass phrase:
  * Do you want to overwrite the file /tmp/one_auth? (Y|N):
N
File /tmp/one_auth exists, use --force to overwrite.
Authentication Token is:
test:e5e1ace4dc9fd93555df55c514b4c9aad1b1499430109282c1392dd51842fee8


Consider how to deal with already registered metric

Summary:
A given metric is only meant to be registered once, this issue is to decide how to handle duplicate or already registered metric (Currently not permitted and cause an error with Prometheus).
Possible Solutions:

Option 1: Replace the old registered metric by the new: This seems to be problematic, especially when you use the same name but different type or unit. This might create a problem in backend.

Option 2: Throw an error: This is not really advocated by the specs.

Option 3: Log a warning and skip duplicate metric: This might confuse the end users.

Suggest other options?

It is my opinion that Option 3 is the only currently viable option as option 1 may create problems with different backends (maybe this is handled by individual exporters?) and option 2 is not compatible with current spec (incorrect usage should not throw).
Option 3 may be confusing at first (generally I would expect it to behave like other Set-like APIs which overwrite rather than ignore if you try to set the same thing twice), but it is an easy to understand difference if documented properly.

Looks like we have an agreement here, closing this issue now.


Add BidderClaimsLosingDeposit and SellerClaims deposit to CLI. Also fix CLI tests as they had broken in some merge

@nazrhom Please separate to commits.


Sincerely look forward to further communication.

Hello, I am very interested in your work. Can I have your WeChat or QQ to have  a further talk?  This is my mail<PHONE_NUMBER>@qq.com), you can provide it through this mail, thanks.

Hi there @zcode86 ,
My apologies for the extremely late reply. I've been focussed on other things for quite some time.
I don't have wechat nor QQ, but you can ask questions through here. Perhaps others can learn as well ;)


Publish Python 3.12 wheel?

I'm hoping to be able to use this library rather than python-snappy as this seems easier to install (whereas python-snappy needs system installs). But currently when trying to install on Python 3.12 it tries to install the tar.gz because no wheel exists. Would it be possible to create a Python 3.12 wheel on the next release?
Thanks!

@scottbelden : just to let you know that there is a half-hatched plan to have python-snappy simply require and use this library in the future and be otherwise retired. It's just a question of time & effort.

@scottbelden : just to let you know that there is a half-hatched plan to have python-snappy simply require and use this library in the future and be otherwise retired. It's just a question of time & effort.

Is there an existing github issue that talks about this so I can subscribe to see if/when that happens?

Originally https://github.com/andrix/python-snappy/issues/91 but I have a feeling there must be something more recent

FWIW, first I heard about it was from https://github.com/andrix/python-snappy/issues/124#issuecomment-1486886986.

Wheels are on PyPI. Thank you!

Thank you!


Update DbPlugin.ProxyDriver

the class ProxyDriver haven't implements the Driver.java method:
public Logger getParentLogger() throws SQLFeatureNotSupportedException;

Thanks Yunxia for your kind effort and contribution!  Really appreciate it!
We use rest commander internally  and have a lot of more features and updates. Such as parallel SSH, async poller for concurrency on job level rather than request level ( for async request with return on progress and UUID etc).  We will try to update them here too after a change of the structure for the internal and external versions..
thanks,


Use DependencyManagement

See #22
This update pulls all Dependency requirements (plugins and dependencies) to the top level pom.
Dependencies (but not plugins) are checked, and any discrepancy will fail the build
Existing poms not updated in this PR - tests pass as effective version is the same (a couple of minor updates - see #22)
A batch pom update will be done in a subsequent PR
cc: @mandy-chessell

@GuyAckermans @DimitriosMaimaris Note the minor JanusGraph version change by 1 mod level to be consistent with the level being used for the egeria graph respository
@bogdan-sava Note a minor correction to spring-security-web, correcting what appears to be a type


Polymorphs and STI (regression)

Hi Pat.
After upgrading versions, I'm having the same issue I had some time ago with polymorphs and STI, joins are not using the base class, #820.
I've tracked the problem down to the JoinAssociation class. The solution is similar to that old issue. Changing base_klass.name to base_klass.base_class.name in line 8 in join_association.rb seems to solve it and not break anything else.
Regards

Hi Andrés, thanks for that excellent debugging work! Just so I can confirm things from my side - which versions of TS did you upgrade from/to, and which version(s) of Rails/ActiveRecord are you using?

Hi Pat. The upgrade was part of a greater one, from rails 4.0 to 4.2, we went from TS 3.1.2 to 3.2.0 (we had 3.1.4 in between but just for a few hours and can't confirm if the problem was there). We also went from version 0.2.0 to 0.3.4 of Joiner, maybe this is relevant (below). Those are our current versions.
As far as I have seen, the fix you added back in #820 is still there (in filter_reflection.rb, the scope method) but it's not reached because of the condition with the Joiner gem just above it. I've not gone into much detail, but I'd say the key moment was commit 50dc3d9 in Joiner. At that point the condition above the previous fix went true and caused the old fix to be skipped.

Just pushed the fix into develop, and added a test for it as well :)

Works perfectly. Thanks, Pat.

My part was easy - you found the fix! :)


Platform - Asynchronous Process Factory

https://github.com/vicboma1/loaderDumpsArcade/blob/master/assets/Daemon/DestroyProcessAsync/DestroyProcessAsync.cs


Support handlebars or tera template for default style project

I think I cleared out what I want to do.
First, there are few deviations between my template impls and original giter8 template. When we accept Handlebars, there will be 3 syntax to write trmplate, and I don't want that to happen.
So these are the things I should do:

rewrite current template to stick to giter8 one
bring handlebars in and make simple projects use it by default

made a branch for this, need more tests

Imagine parameters in toml format
[params]
name = "Your name here"
version = "0.1.0"

# using indexer API
[params."serde_version"]
default = "0.9"
index = { host = "cratesio" }

# using validators
[params.authors]
default =<EMAIL_ADDRESS>validation = ["email"]

Tera filters and testers not registered, must fix this.


transformVars not persisted and storeOutputAs not stored

Describe the bug
I need to persist information between tests for threaded conversation (modifying both input and output to and from a provider). I figured the only way to do it is to use both transformVars and storeOutputAs. However, none of them work. Below I include a short reproducer.
To Reproduce
Just eval this (with --verbose to see logs):
description: "Send 'Hi' twice and store LLM output in myVar variable. Print myVar on each pass. On second pass it should be non-empty. But it's empty."
providers: vertex:gemini-1.5-flash
defaultTest:
  options:
    transformVars: |
      console.log("MyVar: ", vars.myVar);
      console.log("LastOutput: ", vars.lastOutput);

      return {
        myVar: vars.lastOutput
      };
    storeOutputAs: lastOutput
prompts: '{{ message }}{{ _conversation | reject() }}' # when _conversation is not mentioned in prompt, the tests are independent and don't share conversation (even if --max-concurrency 1)
tests:
  - vars:
      message: Hi
  - vars:
      message: Hi
  - vars:
      message: Hi

I use _conversation parameter in prompt to enforce threaded conversation to persist state. It doesn't help. Btw, one must include this parameter in the prompt! If it is mentioned only in e.g., promptRubric and not prompt, the conversation state is not persisted and individual test cases are evaluated independently.
Expected behavior
There are two tests in the yaml.

The first test should set lastOutput variable via storeOutputAs
The second test should set myVar variable to lastOutput via transformVars
The third test is just to show outputs of both lastOutput and myVar, where both should be set.

However, none of the variables is set. Both are empty in every test case
Screenshots
This is the output with --verbose --no-cache:
..
MyVar:  undefined
LastOutput:  undefined
MyVar:  undefined
LastOutput:  undefined
MyVar:  undefined
LastOutput:  undefined
Setting concurrency to 1 because the _conversation variable is used.
..

System information:

Promptfoo version: 0.93.3

Hi @strentom, thank you for the detailed issue and for bringing this up! transformVars doesn’t persist between tests because it’s primarily designed for cases like referencing and loading large files (e.g., from S3). This behavior is intentional, but I realize it could be better documented, so I’ll work on adding more clarity in the docs.
I’ll take a closer look at the storeOutputAs behavior today. If you want to throw some time on my calendar: https://cal.com/michael-dangelo/15min we can talk about your use case and see if there's a better way to unblock you. Thanks for your patience and for being a part of the community!

Thank you very much, I didn't know that transformVars is ephemeral by design. I managed to implement the necessary behavior by storing a conversation state in a custom provider. That way, I avoided transformVars and don't need to storeOutputAs in defaultTest.


Began working on content for Synchronization

- What I did

Finished Synchronization definition and polished the content on what shared keys are.
- How I did it
Transferred material from google doc into markdown file as well as info from the articles.
- How to verify it
See synchronization.md, public-and-private-keys index.md
- Description for the changelog

Remember to write as if you were speaking as the company.

Please see https://github.com/atsign-foundation/atsign.dev-3.0/pull/62/commits/ce6b431d5e52655b4604c22cecbb6e7f14cba942 for changes applied! Let me know if I got everything correct!

Change Atsign.dev -> atsign.dev

Where exactly is this line? I am having trouble finding it

Maybe change title to @platform ? or How It Works At Atsign

Good catch! Better to be consistent


[Machine Learning] An Introduction to PyTorch Lightning

Proposal Submission
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific.
An Introduction to PyTorch Lightning
Proposed article introduction
We're looking for the first 2-3 paragraphs of your article that appropriately summarize what your article will be about.
We will use this writing snippet to help us assess the overall quality before approval so ensure it has been proofread, spellchecked and grammarchecked.
Pytorch lightning is a framework built on top of Pytorch. As we know, Pytorch is already great. Pytorch lighning is in a lot of ways even greater. PyTorch Lightining can be compared to the Keras API model which is built on top of TensorFlow. It is a lightweight PyTorch wrapper for high-performance primarily built for use by researchers and computer science PhD students.
This tutorial will give a gentle introduction to PyTorch lighting and implement an example to demonstrate how the framework can be used in code.
Key takeaways
What are the 3-5 most important things the reader should understand or be able to do after reading this article?
Use this area to get your ideas down on the bulk of your article or tutorial.
By the end of this tutorial, a reader will be able to understand:

What is PyTorch
What is PyTorch Lightning
The advantages of PyTorch Lightning over unstructured PyTorch
Who is PyTorch Lightning for?
Implement an example to demonstrate how PyTorch Lightning is used

References
Please list links to any published content/research that you intend to use to support/guide this article.

PyTorch Lightning
PyTorch Lightning GitHub Repo

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it). @Bayler
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

Closed #4642 via #4816


Valorous Deathbringer gear set and Handwraps of Surrendered Hope should not be available

In the warlock simulator the entire Valorous Deathbringer gear set and "Handwraps of Surrendered Hope" should not be available (as they are not available in tier 1)
To Reproduce
Idk go into https://wowsims.github.io/wotlk/warlock/ and try to click on the glove slot
Expected behavior
When you click on any slots none of these items appear
Sim Links and Screenshots
https://wowsims.github.io/wotlk/warlock/

The ring: Ring of the Empty Horizon also does not exist.


Update how to add roles

Please update website
Assign the Azure AD test user
Needs to include how to add roles eg how to add the "meraki_full_admin" role from the "Meraki Dashboard | App roles | Preview" tab

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

ID: e25502b7-432c-e8ff-2dde-f21e8ba6b4db
Version Independent ID: ab9b51a1-d5c9-050b-ef67-0f1820eaf910
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with Meraki Dashboard
Content Source: articles/active-directory/saas-apps/meraki-dashboard-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@chocky005 Thank you for your inputs. We will engage the content author on this and see how best this could be changed.

@jeevansd Could you please engage anyone from your ream to review this one ?

@chetansriv and @v-hagamp Can you please update this article for the correct app role?

@chetansriv @v-hagamp Could you please provide an update on this one ? thanks.

@chocky005 The article is fixed to clarify on the role setup, please review
#please-close


Updates supporting payloads as detached, and draft 07

Summary

[x] Feed_id becomes subject
[ ] Payload becomes statement
[x] Statements are only supported as detached payloads, where the hash is placed in the payload
[x] The content-type is set to the content type of the detached payload type
[ ] Rough proposal for storing statements on the DataTrails Attachments API, reducing the
[x] location-hint created as a DataTrails property on the protected header,
[ ] arc_statement-location-hint event attribute lifted from the DataTrails protected header property
[x] scitt_issuer event attribute lifted from the cwt-claims.sub protected header
[x] scitt_subject event attribute lifted from the cwt-claims.sub protected header
[ ] scitt_statement-payload lifted from the protected header statement property (although I am thinking we may want to leave the payload null, and create a datatrails_statement-hash protected header label
[ ] scitt_content-type event attribute lifted from the protected header

Pushed latest changes from our meeting today.

Fixed with #863, #870


[24.05] python3Packages.js2py: remove usage in other packages

(cherry picked from commit 0f79dd4197e3570ff7435e382346b9a3bf15db5b)
Manual backport of #349550
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I'm not sure this is acceptable as-is for a release, given that this removes a package. Maybe we should just remove the uses of the package, but leave the package intact?

Makes sense. I've amended the PR to not remove js2py itself.

Thank you!


Updated scripts inside script folder (feature/script-ts branch)

Ported the changes from #164 into the feature/script-ts branch (#144 by @dotcs)
If this gets merged #164 can be closed

Replaced all instances of request-promise with got

request-promise is deprecated, got is a good drop-in replacement

Added id-tagging-schema as a dev-dependency

Changed data injection from the repo to the dependency

importBrands.js now works with new versions of the project without cloning the repo

It seems like the old tags field is now addTags, some work might be needed

Merged with commit https://github.com/OsmTravel/OsmGo/commit/31c1acb66b6a77d72a05c07546e86082eaa9f10e
Closing


TaskLoader fails when declaring multiple target_delta_t

I start experimenting a forecasting set up in DeepSensor (see a MWE in colab). The example below shows how I define a TaskLoader for predicting air temperature in the next two days (lead times):
task_loader = TaskLoader(
    context=[era5_ds["air"],] * 3,
    context_delta_t=[-1, -2, 0],
    target=[era5_ds["air"],era5_ds["air"]],
    target_delta_t=[1, 2],
    time_freq="D",  # daily frequency (the default)
)

Then I reuse the training procedure suggested in DeepSensor tutorials. However, the training stops and gives an error when computing RMSE for the validation tasks.
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[<ipython-input-22-d73321d37ac8>](https://7773me6r0z9-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240916-060345_RC00_675086238#) in <cell line: 16>()
     18     batch_losses = trainer(train_tasks)
     19     losses.append(np.mean(batch_losses))
---> 20     val_rmses.append(compute_val_rmse(model, val_tasks))
     21     if val_rmses[-1] < val_rmse_best:
     22         val_rmse_best = val_rmses[-1]

1 frames
[/usr/local/lib/python3.10/dist-packages/deepsensor/data/processor.py](https://7773me6r0z9-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240916-060345_RC00_675086238#) in map_array(self, data, var_ID, method, unnorm, add_offset)
    516             c = -c / m
    517             m = 1 / m
--> 518         data = data * m
    519         if add_offset:
    520             data = data + c

TypeError: can't multiply sequence by non-int of type 'float'

My guess is that some changes should be required in map_array when considering multiple targets. I suggest recognising the object type of data below. If it's a list, then perform the multiply operator per element, in this case np.array.
https://github.com/alan-turing-institute/deepsensor/blob/6de4ddb566db64d35a93fa5e8e1ab4f4327bb8e4/deepsensor/data/processor.py#L518

Hey @acocac, thanks for raising this and the MWE. So you have two target sets for the two lead times, and you want to compute unnormalised RMSE in Kelvin for the first lead time. The model.predict interface is the intended way to get unnormalised predictions for computing unnormalised metrics. I've recently improved DeepSensor's forecasting functionality in deepsensor v0.4 which fixes model.predict forecast outputs; see https://github.com/alan-turing-institute/deepsensor/issues/130 and https://github.com/alan-turing-institute/deepsensor/pull/132.
However, in the MWE, you are not using the data_processor in the right way. .map_array is intended for a single array, not a list, so I suggest we keep the interface as-is. As a workaround, keeping the current approach:
# Don't do this:
# mean = data_processor.map_array(model.mean(task), target_var_ID, unnorm=True)
# true = data_processor.map_array(task["Y_t"][0], target_var_ID, unnorm=True)
# Do this:
lead_time_idx = 0
mean = model.mean(task)[lead_time_idx]
true = task["Y_t"][lead_time_idx]
error = np.abs(mean - true)
error_unnormalised = data_processor.map_array(error, target_var_ID, unnorm=True, add_offset=False)

But I'd suggest updating DeepSensor and using model.predict :-)


Powertoys Run should not register modules by their localized names.

📝 Provide a description of the new feature
Currently in main.cpp the list of module dlls is store in a map via:
modules().emplace(module->get_name(), std::move(module));
Each module returns a localized variable in the get_name() method that is initialzied similar to:
app_name = GET_RESOURCE_STRING(IDS_FANCYZONES);
This is potentially problematic for a couple reasons.

Some modules such as Launcher use the non localized module name to send IPC communications which won't work in other languages.   (This may already be a bug if english isn't currently being returned)
We could see strange behavior if the user changes display languages during or between running powertoys.

Proposal.

Implement a new module interface get_key that will return a non localized name to be used to uniquely identify a module.
Reference module->get_key() anywhere the the name is not displayed to the user.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

@enricogior:  This should be easy for us to fix.  Let me know if you have any thoughts / concerns before it gets prioritized.

Any other modules have issues or just PT Run?

I think it applies to all the modules.

@crutkas
we need to make sure there is no problem with the general settings file and the old Settings app.
The old Settings app may be using the module name passed by the runner, I need to verify it.

This seems important.  if we are regg'ing by loc'ed names, we could get something to not load correctly, right?

@crutkas
yes, that is a possibility.
And it may also break other places where we send notifications to module, kill processes if they are still running etc.

In the 0.25 release.  https://github.com/microsoft/PowerToys/releases/tag/v0.25.0


use microsoft's Terminal as default console

Is there any plan about using microsoft's new Terminal as wsldl's default console?

There is no plan for the moment.
What are the benefits?

just for better font and tabs.

I added "Windows Terminal" integration in the latest version.


Clean up ga_resources and ga_ows apps

A few utility functions from ga_resources and ga_ows apps are used throughout HydroShare codebase, but most functionalities in these two apps are not complete and not used. These few utility functions being used should be moved to hs_core app as part of HydroShare utility base with these two apps removed from HydroShare project as part of code base clean up work.

This is a subset of issue #958. I am assigning this to myself to look specifically on cleaning up ga_resources and ga_ows, but it'll be a low priority on my plate. If anyone else wants to look into this, please reassign.

@hyi I think you can close this issue.


Boilermaker updates

Assignee Tasks

Updated a bunch of the packages

Guidelines
It has been a while since the boilermaker repo has been updated so there were a few security vulnerabilities generated from lack of updates. I did avoid updating react-redux until I tested a few things in projects because it has been known to have some issues with versioning against other react- modules.

From Slack Academics Slack Channel: "I went through each package its dependency tree almost all manually to avoid updating things that don't need to be updated. So, I followed a format like given X.Y.Z, if X (major) was not on the correct number, it was updated, and if Y (minor) was like something larger, it was updated. Z (patches) wasn't really touched."

At face value this seems like a good thing.
Might be worth sending this to a few fellows to try and run against their grace shopper projects to see if anything breaks in an obvious way.

Related to #165

@b17z-fsa I tested this out locally last night in some free time and the commands all seemed to work as expected. It would be nice if you are introducing a change log to maybe automate some aspect of the change log or change CI to expect it? Thats really my only comment.
I didn't heavily test it however and agree with https://github.com/FullstackAcademy/boilermaker/pull/168#issuecomment-481455666 that having fellows give this a more thorough test could be worthwhile.

@leafoflegend Yeah, I can do that. I should have done that and will do that a bit later.
@collin Thanks for confirming/testing. I was having a few of the fellows look at it.


rewrite homepage banner to v2.0

Closes #332
Description
Before

After

Current Tasks

[x] Update homepage banner to version 2.0
[ ] Test on various devices

And this is what it will look like when we eventually change the app typeface to Inter:

@resir014 we need another version of this banner with the text to be set as the image in the meta tag and opengraph.


docs: Add documentation for mix()

Documentation was lacking for the mix() class method.

:tada: This PR is included in version 2.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


rm instance label

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

4 of 11 (36.36%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 28.352%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/app/impl/authz.go
1
2
50.0%

pkg/app/middlewares/policy_instance.go
0
3
0.0%

pkg/app/topaz/runtime_resolver.go
3
6
50.0%

Totals

Change from base Build<PHONE_NUMBER>7:
0.1%

Covered Lines:
1313

Relevant Lines:
4631

💛  - Coveralls


Allow Users to alter_table

Currently there is no way to alter a table, would be great to support alter_table command.

@gabosgab, just FYI, unsupported commands are still executable within a versioned migration:
https://github.com/hsgubert/cassandra_migrations/wiki/Migrations-DSL#unsupported-operations

Yeah, that's what I've been doing for now.  Just wish it was a first class citizen like Rails treats their migrations.


CEPs might be kept for unmanaged pods

Under certain conditions a CEP can be kept for unmanaged pods. This can happen, for example, in case Cilium stops running and the infra container of a pod is restarted on a node where another CNI besides Cilium starts managing it.
The GC of the CEP will not happen because a) the ownerReference of the CEP is the same since the pod is the same and b) Cilium Operator is only GC CEPs if the pod does not exist, which is also not the case. Both a) and b) are not sufficient as the only field that changed from the pod status was the pod IP.
There are two potential fixes for this

Watch for CEPs, which we already do under [1] and mark for deletion CEPs that are not running on the cilium agent. We can't delete them immediately since during the restore process the local agent will only start restoring the local endpoints after all state is synchronized with Kubernetes [2]. Thus, the CEPs can only be deleted after the endpoint restoration.

Verify if the IP addresses of the pod and the CEP are the same, if they are not, mark the CEP for deletion. This process can be executed from the cilium-operator. Similarly to case 1., we shouldn't delete the CEPs immediately at the risk of an endpoint having its IP address changed by a restart of the infra container where Cilium would be the CNI managing the pod. Cilium would likely re-create the CEP with the same name and the most up to date IP address but the IP address of the Pod Status might take a couple more seconds to be updated. If we delay the CEP deletion for maybe 1 minute we could guarantee the IP address of the Pod would be up to date and the CEP deletion would not happen unnecessarily.

[1] https://github.com/cilium/cilium/blob/63c0b29787e6743b2c7626782a7090272764e487/pkg/k8s/watchers/cilium_endpoint.go#L39-L47
[2] https://github.com/cilium/cilium/blob/54fdf6ee745a3e8ad51b6d81034c7a628a517a4f/daemon/cmd/daemon_main.go#L1621-L1627

Going to throw a summary some of my findings into this thread as there's a lot of potential ways that a CEP can get into a "stale" state.
From the customer-issue/Slack threads. It seems like there's a few different issues going on here.

Pods somehow un-managed, while retaining their CEP. One way that this can happen (i.e. I reproduced by) if the /etc/cni... Cilium config files get removed and the Node is restarted and loses its Cilium bpf state. In this case the same Pod might get re-sandboxed with another CNI (i.e. if the containers have to be restarted). At this point you'll have a Pod with a CEP but no endpoint in the endpoint manager. In this situation the CEP IP and actual Pod IP are likely to differ since the Pod has been restarted under a different CNI. As mentioned, Controller will not GC as the Pod.UUID and owner reference have not changed.

Pod becomes un-managed due to lost state. This can happen if the bpf state gets deleted for an endpoint. Once you restart the Cilium pod, upon restore the existing endpoint will not be restored. But, the Pod is still running with all the Cilium state still intact.

*** Endpoint state is wrong and is synced to CEP. I'm not sure how this could happen organically. I was able to force this by decoding/modifying/recoding the ep_headers.h b64 data. If you restore from this you're going to get an Endpoint/CEP that are not consistent with the actual Pod. The CEP will become consistent with the Endpoint due to endpoint sync but PodIP will not.

Other thoughts, I spent a lot of time thinking up weird states that Endpoints/Pods/CEPs can get into. I don't think we can necessarily resolve all these situations. But I think in the future we could add better validation on the Agent side to report when things look like their in some unresolvable state. For example:

Pod running Cilium endpoint programs etc but not being restored/managed by Cilium. In this case, the changes in my PR will cause the agent to delete the CEP but the Pod will continue to run on in a limbo state. We could probably check if this is the case and warn when this happens.


Fix bug: protobuf raise Exception while no listing in my store.

I don't see this exception. How does this occur?

How to reproduce the bug:

Create my store, but don't add any listing.
 Should be good to close.


feat: Sample for containerized transformer

Signed-off-by: seshapad<EMAIL_ADDRESS>

DO NOT MERGE. THIS PR HAD SIGN-OFF ISSUES.


cv::TickMeter class addition

resolves #6582
What does this PR change?
moves cv::TickMeter class in the core library
initial commit

never really missed that class..
But I think it could be more useful if it allowed computing the average time over multiple runs instead of just
auto start = cv::getTickCount();
...
(cv::getTickCount() - start)/cv::getTickFrequency();

@paroj actually it allows to calculate the average time over multiple runs

#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"
#include <iostream>

using namespace cv;
using namespace std;

int main()
{
	TickMeter tm;
	Mat test(1000, 1000, CV_8U);
	randu(test, 0, 255);
	Mat thresh;
	cout << "thresholding a 1000x1000 Mat 5000 times\n\n";
	for (int i = 0; i < 5000; i++)
	{
		tm.start();
		threshold(test, thresh, 230, 255, THRESH_BINARY);
		tm.stop();
	}

	cout << "Total Time in microseconds :" << tm.getTimeMicro() << endl;
	cout << "Average Time in microseconds :" << tm.getTimeMicro() / tm.getCounter() << endl;

	cout << "Total Time in milliseconds :" << tm.getTimeMilli() << endl;
	cout << "Average Time in milliseconds :" << tm.getTimeMilli() / tm.getCounter() << endl;

	cout << "Total Time in seconds :" << tm.getTimeSec() << endl;
	cout << "Average Time in seconds :" << tm.getTimeSec() / tm.getCounter() << endl;

	imshow("thresh", thresh);
	waitKey();
    return 0;
}

output:
thresholding a 1000x1000 Mat 5000 times
Total Time in microseconds :317603
Average Time in microseconds :63.5205
Total Time in milliseconds :317.603
Average Time in milliseconds :0.0635205
Total Time in seconds :0.317603
Average Time in seconds :6.35205e-05

Hello @sturkmen72 in relation to issue #6502, do you know if the tickMeter reports the same time in both windows and linux systems? I am looking for a universal way of providing time, even if multicore processing is being used.

@StevenPuttemans Sorry i have no idea about linux systems :(

Time is tricky. It is so critical to modern computing there's an ISO standard: iso.20.11.7
C++ implements this standard.
TickMeter is in OpenCv version 2.4 and therefore is C based. I wouldn't use it.
It should be deprecated.
Do your own timing with C++ methods in std::chrono and you should get comparable results on any modern OS or computer.
A simple example from Stroustrup The C++ Programming Language, 4th edition. Section 35.2.
steady_clock_time::time_point t = steady_clock::now();
// do your stuff
steady_clock::duration d1 = steady_clock::now() - t;
// do some more stuff
steady_clock::duration d2 = steady_clock::now() - d1;
There's nothing easier than that.
You can get resolutions down to picoseconds (depending on your hardware). It doesn't care how many cpus are running or what you had for breakfast.
Really precise timing might get weird on a "really cheap" CPU such as Raspberry Pi or Arduino. Even these errors would be so small they would likely be meaningless unless you're an astrophysicist.

I kind of agree with @FredFG that the absence of ISO standards for time and the introduction of them using C++11 can help us to make a more universal approach. However, C++11 is far from the standard compiler for now, so maybe we should add the 2 cases

if c++11 is available use new functionality
else fall back

this PR will be recreated because of CI issues


Use github-pr-check report on github-pr-review

Recently I switched from Hound to reviewdog for PR reviews using action-rubocop and have notice that after reviewdog finish processing my code it always return a success status when using reporter: github-pr-review (it's ok as reviewdog succeded commenting the code).
When I used Hound it would comment the code as well, but if there was an offense in the code, it would report a failure status, this was useful for blocking the merge button if not all guidelines of the project where met.
I think it would be nice if reviewdog could be configured to have a similar behaivor by having a report similar to github-pr-check report.
expected_behaivor: The first check would pass telling that the code was successfully reviewed but the report would return a failure (as the code has offenses) but wouldn't leave annotations.

thanks for coding this awesome software!
PD: Sorry for my bad english 😅

Latest release supports -fail-on-error=true now! https://github.com/reviewdog/reviewdog#exit-codes

Looks like action-rubocop is not updated yet. Sent https://github.com/reviewdog/action-rubocop/pull/9
cc/ @mgrachev

Thank you. Merged 🐶

Thank you for the quick response!
@mihailpozarski can you take a look?

@haya14busa @mgrachev
It runs smoothly!
thank you very much reviewdog team!


Metadata Parsing Errors

In a few situations, a valid rule fails to be written (using -c or -i) with the following error:
./CCCS-Yara/yara-validator/yara_file_processor.py", line 184, in strings_of_rules_to_original_file
    changed_rule_string = rule.rule_return.validated_rule.splitlines()
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'splitlines'

These regular expressions appear to the cause of the issue:
https://github.com/CybercentreCanada/CCCS-Yara/blob/4cca67453bee31e5cc4a2522b5aa9b1f6a488268/yara-validator/yara_validator.py#L246-L247
Based on these expressions:

meta and : must be on the same line, and be the only contents of that line.
The following strings or condition and : must be on the same line, and be the only contents of that line.

This breaks otherwise valid rules:
rule testing
{ meta:
    key = "value"
  condition:
    true
}

rule testing {
  meta:
    key = "value"
  strings: $re = /test/
  condition: $re
}

rule testing
{ meta:
    key = "value"
  condition: true
}

And on the most extreme end:
rule testing { meta: key = "value" condition: true }

I think in this case, plyara would come in handy. I have to take a look at this more in-depth to see what the original author was doing.


proto: should not print to fmt or log

$ rgrep --exclude "*_test.go" "log.Print"
equal.go:226:	log.Printf("proto: don't know how to compare %v", v1)
equal.go:279:			log.Printf("proto: don't know how to compare extension %d of %v", extNum, base)
equal.go:291:			log.Printf("proto: badly encoded extension %d of %v: %v", extNum, base, err)
properties.go:482:		log.Printf("proto: duplicate proto type registered: %s", name)
properties.go:503:		log.Printf("proto: duplicate proto type registered: %s", name)
clone.go:234:		log.Printf("proto: don't know how to copy %v", in)
lib.go:671:			log.Printf("proto: can't set default for field %v (sf.kind=%v)", f, sf.kind)
lib.go:741:			log.Print(err)
text.go:156:		log.Print("proto: textWriter unindented too far")

It is generally considered a code smell when a library prints to log. We should investigate whether these are actually necessary and remove them or turn them into errors.

Can we suppress these warnings (at least this one:
properties.go:503:		log.Printf("proto: duplicate proto type registered: %s", name)
)
Or maybe we can generate ifs in init function to check if type is already registered (instead of printing this warning).
In my case, I use 2 packages (client and server) in one app. and they share/register the same types, so when packages initialise it prints these messages on start of my app.

What was the rationale for having the same .proto file generated into two different Go packages, as opposed to just being generated into a single Go package that is depended upon by both the client and server?

Our app. uses two 3rd-party packages. One is a http client and the second one is a server. Both register the same types. In our app. we vendor both packages, because some users may want to talk over http, where others may prefer having embedded server.

In other words, I'm not against warnings, I'd like to have a option to suppress them by setting log level or by passing own logger.

What you are describing seems to be a case of the logging statement correctly complaining about a real issue. In order for some parts of the protobuf ecosystem to work correctly (e.g., jsonpb or the Any type), registration needs to be conflict free.
Several things to note:

What you are hitting is a known failure mode of vendoring, where the same Go package can end up getting linked in the same binary multiple times. With the upcoming module support, vendoring will be gradually deprecated, and hopefully registration conflicts as a result of vendoring will decline.
Rather than skirt around the issue of conflicting registration by ignoring the error, we may want to provide an option in the .proto file to disable registration, however, that is beyond the scope of this issue.

I'd like to have a option to suppress them by setting log level or by passing own logger.

That is one possibility, but I'm hesitant to add API for something that is actually a problem.

:/ With go modules, we will also however begin allowing separate major versions of proto packages. Will the full module+package name be used or the package name alone? If the later, then modules will not resolve this issue, but could even exacerbate the issue?

@puellanivis, I'm not sure I follow the concern. Is the issue regarding registration and major version change of generated protos? Can you mention it on #268, and we can discuss further there. Let's keep this issue about the log.Print statements.

This is fixed in the upcoming v1.4.0 release.


test(delay): use time() test helper in delay() tests

Merged with 3eebf50. Thanks @staltz (and have happy holiday)


Is it possible to add two variables together?

I've been trying to find a way to add 2 variables together, or to add one variable with some extra text. etc... and I cant find how to do so in insomnia or with your plugin. is that even possible?

Yeah, mainly I was intending on getting the data from my request's query parameters. So I could use the parameter of a chained request on the next one
Like
Request Step 1 - (html base with prompts)
Request Step 2 - (html from step 1 + new html base with prompts)
.
.
.
Step 9 same thing.
But I've found it to be impossible to do with the research I've done. Insomnia provides one that lets you get the data from one of your parameters in the current request's query you have open... But for me that is deemed useless. As id need to be able to select parameters from different request's queries... Not the current open one

If I understand correctly it sounds like you want to save a variable from the request side of a request, but you cannot do that because this plugin can only save a variable from the response side of a request. Is that right?

Ok great. I'll leave this open as a feature request. I'm planning to expand this plugin to have more ways to extract variables, including more data types (xml mainly - see #23) and also more sources such as status codes, request data, etc.

Alright that's great, thank you ;3. Cause my solution was very cumbersome, where I had to use 2 functions, one to send the data, one to retrieve the data I sent, and then another to send the data to a different step, etc.
This could be very useful :3 and reduce the size of my test unit very quickly.

You can now save values from the request body in the latest version 4.0.1.


Upgrade the Issue Template to use GitHub Issue forms 📜

Introduction
GitHub has recently rolled out a public beta for their issue forms feature. This would allow us to create interactive issue templates and validate them.
Devtron currently uses the older issue template format. The task is to create GitHub issue forms for this repository.
Tasks summary:

[ ] Fork & clone this repository
[ ] Prepare bug report issue form in .github/ISSUE_TEMPLATE/bug.yaml
[ ] Prepare documentation issue form in .github/ISSUE_TEMPLATE/documentation.yaml
[ ] Prepare feature request issue form in .github/ISSUE_TEMPLATE/feature.yaml
[ ] Push changes to master and test issue forms on your fork
[ ] Submit pull request

@pghildiyal Please let me know your thoughts on this and add appropriate labels for hacktoberfest. Thanks.

Closing as it is merged


Replication failed because of insufficient scope

harbor replication job failed, because of insufficient scope, reported in registry log

log content:

time="2018-06-28T04:39:16.00077525Z" level=warning msg="error authorizing context: insufficient scope" go.version=go1.7.3 http.request.host="XXX" http.request.id=0c4126b6-7202-411f-9d43-0ae6b4775c34 http.request.method=POST http.request.remoteaddr=XXX http.request.uri="/v2/custom/test/blobs/uploads/" http.request.useragent=harbor-registry-client instance.id=96b32b3a-e43e-49e3-987a-b457f5b3a3a2 service=registry vars.name="custom/test" version=v2.6.2
<IP_ADDRESS> - - [28/Jun/2018:04:39:15 +0000] "POST /v2/custom/test/blobs/uploads/ HTTP/1.1" 401 224 "" "harbor-registry-client"

I change the code and change the scope of auth token, and then replication is ok

@YEXINGZHE54 I'm a little confused about the error and why the pull scope is needed.
Could you provide more details and context?

Closing as inactive.


Display Iconsets based on text (Set Custom Number formatting)

Thank you! Is there any way to set up custom number formatting so I can display iconsets based on text rather than numbers?
(ex. Set the word "Done" = 1, "Working" = 0, "Not Done" = -1)
This way I could get cells that look like:
✓   Done
 !   Working
 X  Not Done
An example of what I want to do is here: http://www.bradedgar.com/excel-custom-number-formatting-conditionally-format-text-fields-icon-sets-using-number-formatting/

Not that I know of off the top of my head. I don't believe so. The library used to create the xlsx is EPPlus. I don't know if is supports this feature.


PowerToys Run Error

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
PowerToys Run
Steps to reproduce
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 02/07/2023 09:56:00
Exception:
System.Collections.Generic.KeyNotFoundException: The given key 'C:\Users\Mulhamsth\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.10\IDLE (Python 3.10 64-bit).lnk' was not present in the dictionary.
at System.Collections.Concurrent.ConcurrentDictionary2.ThrowKeyNotFoundException(TKey key)    at System.Collections.Concurrent.ConcurrentDictionary2.get_Item(TKey key)
at Wox.Infrastructure.Image.ImageCache.get_Item(String path)
at Wox.Infrastructure.Image.ImageLoader.LoadAsync(String path, Boolean generateThumbnailsFromFiles, Boolean loadFullImage)
at Wox.Infrastructure.Image.ImageLoader.<>c.<b__16_1>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
✔ Expected Behavior
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 02/07/2023 09:56:00
Exception:
System.Collections.Generic.KeyNotFoundException: The given key 'C:\Users\Mulhamsth\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.10\IDLE (Python 3.10 64-bit).lnk' was not present in the dictionary.
at System.Collections.Concurrent.ConcurrentDictionary2.ThrowKeyNotFoundException(TKey key)    at System.Collections.Concurrent.ConcurrentDictionary2.get_Item(TKey key)
at Wox.Infrastructure.Image.ImageCache.get_Item(String path)
at Wox.Infrastructure.Image.ImageLoader.LoadAsync(String path, Boolean generateThumbnailsFromFiles, Boolean loadFullImage)
at Wox.Infrastructure.Image.ImageLoader.<>c.<b__16_1>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
❌ Actual Behavior
No response
Other Software
No response

/dup #25848


changing ach participant model so AchLocation isn't a list

AchLocation isn't a list so changing the participant model so it can JSON unmarshal correctly

Thanks! The openapi.yml file is used to generate everything under client/, so we needed to change that file (and re-generate with make client).

Codecov Report

Merging #68 into master will not change coverage.
The diff coverage is n/a.


Collaboration with node-based @bazel/create

You create a WORKSPACE file
https://github.com/jin/create-bazel-workspace/blob/92c1ab3c1ba87a811653ed4a108fc67959468dfa/create-bazel-workspace.go#L65
I create a WORKSPACE file
https://github.com/bazelbuild/rules_nodejs/blob/0c165b75d7b4a619f84cba139f922f123178d1df/packages/create/index.js#L174
We each would like to have a tool that makes a polyglot workspace with lots of languages supported which is ambitious like Gazelle in the need for many plugins
Seems like we should have just one tool (write it in one language) then publish it into multiple ecosystems so I can use whatever binary in my $PATH to run it, like

go install bazel-create && $GO_PATH...
npx @bazel/create
mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart
all the others...

I agree and I'd love to help, but I don't have the bandwidth to work on this now. Also we should align with bazel-federation seems we all seem to be solving the package management problem.
A bazel init / project bootstrapping feature will also fit nicely into bazelisk too, IMO, so that can be the "one tool".


Failed -66 RSA attestation failed

Using StrongBox version of the code snippet because my device uses StrongBox. Has anybody else seen this or knows what it means?

Using StrongBox version of the code snippet because my device uses StrongBox. Has anybody else seen this or knows what it means?

Doesn't really answer the question - the key box supplied is valid yet RSA portion of the command fails?

Doesn't really answer the question - the key box supplied is valid yet RSA portion of the command fails?

Oh another error that, you mean the EC is valid but RSA fails?

Doesn't really answer the question - the key box supplied is valid yet RSA portion of the command fails?

Oh another error that, you mean the EC is valid but RSA fails?

Yes, error 66 from KmInstallKeybox.
The command without StrongBox worked fine.

Have you try this

Yes, false gives a different error saying the device expects props to be attested or something.

Yes, false gives a different error saying the device expects props to be attested or something.

You insert the keybox.xml provided with this guide or try yours?

Yes, false gives a different error saying the device expects props to be attested or something.

You insert the keybox.xml provided with this guide or try yours?

I've tried 3 now all with this same error. I cannot overwrite StrongBox key.

Yes, false gives a different error saying the device expects props to be attested or something.

You insert the keybox.xml provided with this guide or try yours?

I've tried 3 now all with this same error. I cannot overwrite StrongBox key.

Besides this 3, you have try and the keybox.xml provide with this guide right?

Yes, false gives a different error saying the device expects props to be attested or something.

You insert the keybox.xml provided with this guide or try yours?

I've tried 3 now all with this same error. I cannot overwrite StrongBox key.

Besides this 3, you have try and the keybox.xml provide with this guide right?

Yes, they all have the same error on StrongBox device ...

Yes, false gives a different error saying the device expects props to be attested or something.

You insert the keybox.xml provided with this guide or try yours?

I've tried 3 now all with this same error. I cannot overwrite StrongBox key.

Besides this 3, you have try and the keybox.xml provide with this guide right?

Yes, they all have the same error on StrongBox device ...

This is strange, maybe your ROM have some wrong and cause this problem

Have you successfully been able to run the StrongBox command and get a successful output? I am talking about the longer code snippet:
adb shell LD_LIBRARY_PATH=/vendor/lib64/hw KmInstallKeybox /data/nativetest64/qti_keymaster_tests/keybox.xml 0 true /data/nativetest64/qti_keymaster_tests/keybox.xml  0 true

This shorter code snippet says "TEE fine successful" but this is not enough on a StrongBox because it only seems to be reprogramming "half" the key.

 I am talking about the longer code snippet:
adb shell LD_LIBRARY_PATH=/vendor/lib64/hw KmInstallKeybox /data/nativetest64/qti_keymaster_tests/keybox.xml 0 true /data/nativetest64/qti_keymaster_tests/keybox.xml  0 true

What output do you get from that?
This shorter code snippet says "TEE fine successful" but this is not enough on a StrongBox because it only seems to be reprogramming "half" the key.

You mean this
adb shell LD_LIBRARY_PATH=/vendor/lib64/hw KmInstallKeybox /data/nativetest64/qti_keymaster_tests/keybox.xml 0 true keybox.xml 0 true
Because i think you write and some else in the end
Don't have try this yet but i take the answer from another users what say like in XDA, and say my opinion

And you can write here
https://xdaforums.com/t/tee-hacking.4662185/
And if any users have the same problem and found a solution can tell you

You mean this adb shell LD_LIBRARY_PATH=/vendor/lib64/hw KmInstallKeybox /data/nativetest64/qti_keymaster_tests/keybox.xml 0 true keybox.xml 0 true Because i think you write and some else in the end

It is necessary to supply to the full path to the keybox twice ...

You mean this adb shell LD_LIBRARY_PATH=/vendor/lib64/hw KmInstallKeybox /data/nativetest64/qti_keymaster_tests/keybox.xml 0 true keybox.xml 0 true Because i think you write and some else in the end

It is necessary to supply to the full path to the keybox twice ...

Really where say that? 🤔

If you don't understand why that is then I don't know if you're qualified to help me. :)
Writing keybox.xml attempts to read the file from the currently directory you're in - if you dont' supply a full path then KmInstallKeybox won't find the keybox file the 2nd time.

If you don't understand why that is then I don't know if you're qualified to help me. :)
Writing keybox.xml (with no full path) attempts to read the file from the currently directory you're in - if you dont' supply a full path then KmInstallKeybox won't find the keybox file the 2nd time.

Yeah i know that, for that i say only my opinion and maybe some is useful.
Yeah i get your point, just i confused because i read the guide and can't find where say this specific part

Hes copy pasted the code wrong for StrongBox, it's simple as that

Hes copy pasted the code wrong for StrongBox, it's simple as that

If so like this you say, then @chiteroman must change it


Issue 82: refactor workflow planning

This refactors workflow permission checking a bit, see #82.
Please don't merge, the reference branch is wrong for merging because I'm stacking again.

Urgh, merged before resetting the reference, which confuses GitHub. But it's merged, so I'll close it by hand.


Provide wheel without FFmpeg (non-LGPL wheel)

Currently, if a user would like to use opencv-python in an application that they distribute with PyInstaller, LGPL licenses produce difficulty due to the requirement to be able to swap in different versions of the LGPL'd library. (This is summarized in this PyOxidizer issue).
opencv-python-headless is very close to being compatible because it excludes Qt (also LGPL) but still includes FFmpeg (#349). FFmpeg brings with it a pretty extensive list of requirements on the developer: https://www.ffmpeg.org/legal.html
For developers who want to use all of the other great features of OpenCV without FFmpeg, do you think there could be a solution for hosting a wheel in this way? Or perhaps the -headless wheels could be updated to not include FFmpeg?
Relevant OpenCV ffmpeg README about build options: https://github.com/opencv/opencv/tree/master/3rdparty/ffmpeg

On Linux and other Unix flavors OpenCV uses default or user-built ffmpeg/libav libraries.
If user builds ffmpeg/libav from source and wants OpenCV to stay BSD library, not GPL/LGPL,
he/she should use --enabled-shared configure flag and make sure that no GPL components are
enabled (some notable examples are x264 (H264 encoder) and libac3 (Dolby AC3 audio codec)).
See https://www.ffmpeg.org/legal.html for details.
If you want to play very safe and do not want to use FFMPEG at all, regardless of whether it's installed on
your system or not, configure and build OpenCV using CMake with WITH_FFMPEG=OFF flag. OpenCV will then use
AVFoundation (OSX), GStreamer (Linux) or other available backends supported by opencv_videoio module.
There is also our self-contained motion jpeg codec, which you can use without any worries.
It handles CV_FOURCC('M', 'J', 'P', 'G') streams within an AVI container (".avi").

On Windows OpenCV uses pre-built ffmpeg binaries, built with proper flags (without GPL components) and
wrapped with simple, stable OpenCV-compatible API.
The binaries are opencv_videoio_ffmpeg.dll (version for 32-bit Windows) and
opencv_videoio_ffmpeg_64.dll (version for 64-bit Windows).
The pre-built opencv_videoio_ffmpeg*.dll is:

LGPL library, not BSD libraries.
Loaded at runtime by opencv_videoio module.
If it succeeds, ffmpeg can be used to decode/encode videos;
otherwise, other API is used.

FFMPEG build includes support for H264 encoder based on the OpenH264 library.
OpenH264 Video Codec provided by Cisco Systems, Inc.
See https://github.com/cisco/openh264/releases for details and OpenH264 license.
OpenH264 library should be installed separatelly. Downloaded binary file can be placed into global system path
(System32 or SysWOW64) or near application binaries (check documentation of "LoadLibrary" Win32 function from MSDN).
Or you can specify location of binary file via OPENH264_LIBRARY environment variable.
If LGPL/GPL software can not be supplied with your OpenCV-based product, simply exclude
opencv_videoio_ffmpeg*.dll from your distribution; OpenCV will stay fully functional except for the ability to
decode/encode videos using FFMPEG (though, it may still be able to do that using other API,
such as Video for Windows, Windows Media Foundation or our self-contained motion jpeg codec).
See license.txt for the FFMPEG copyright notice and the licensing terms.

It doesn't make sense to remove FFmpeg from the headless packages. Headless means that there are no dependencies to any GUI libraries and removing FFmpeg would break all software which is depending on FFmpeg features in the headless packages.
The FFmpeg libs are dynamically linked to the OpenCV binary and be at least in theory can be replaced by some modified version of FFmpeg. For example when I used PyInstaller some years ago for some software all the shared libraries were available next to the executable created by PyInstaller.
I'm aware of the OpenCV guidance on FFmpeg. Windows wheels use the pre-built binaries provided by OpenCV.
I could maybe create a third distribution which is completely stripped down version of OpenCV without any external dependencies. However, my recommendation is to use the toolchain in this repository to build a custom version of this wheel and embed that to the PyOxidizer / PyInstaller bundle. That should be very straightforward to implement with any CI system out there. If I start providing all kinds of combinations of OpenCV builds I have soon a line of people waiting for me to do their work for them.

If I start providing all kinds of combinations of OpenCV builds I have soon a line of people waiting for me to do their work for them.

Understood, this was a large concern of mine as well.

I could maybe create a third distribution which is completely stripped down version of OpenCV without any external dependencies.

This would be appreciated, but it's understood that this is a lot of work.

However, my recommendation is to use the toolchain in this repository to build a custom version of this wheel

Looks like perhaps only WITH_FFMPEG=OFF would be needed, so maybe this wouldn't be super difficult. Thank you for the suggestions.

I'll think about the new packages. Currently the priority is to get new releases out.
Local build / custom CI build should be very easy to do as well as hosting a local PyPI index. I have done that for multiple internal commercial Python packages (not for opencv-python) in the past (like ~5 years ago) and it worked fine. In case someone is wondering how to do that:

Clone this repository in CI system job (CI system being for example Travis, Appveyor, Jenkins, Bitbucket CI, Gitlab CI etc.)
export CMAKE_FLAGS="-DWITH_FFMPEG=OFF -DSOME_OTHER_FLAG=ON" and add any others flag you need (for example CUDA, which is also a bit complicated dependency to redistribute)
Run python setup.py bdist_wheel

Optionally use the manylinux images as a build hosts if maximum portability is needed (and run auditwheel for the wheel after build)

You'll have the wheel file in the dist folder and you can do with that whatever you wish (upload to local PyPI index, use as dependency in a CI job which runs the PyInstaller / PyOxidizer bundler for your app etc.)

Possible name for the wheel could be:

opencv-python-permissive-licensed

For anyone interested, bundled FFmpeg library files are separate in the wheel file (as @skvark mentioned):
opencv_python_headless-<IP_ADDRESS>-cp38-cp38-manylinux2014_x86_64.whl

opencv_python_headless.libs

libavcodec-681a2255.so.58.93.100
libavformat-fed7ce93.so.58.47.100
libavutil-bedca4f8.so.56.55.100
libswresample-e69eb03e.so.3.8.100
libswscale-59c13675.so.5.8.100

opencv_python_headless-<IP_ADDRESS>-cp38-cp38-win_amd64.whl

cv2

opencv_videoio_ffmpeg430_64.dll

@asmorkalov @sergregory Now that OpenCV is officially supporting this project, I was curious about your thoughts on this.
I believe having a fully permissively-licensed wheel for users who would like to embed OpenCV into Python applications and distribute those (e.g. PyInstaller, PyOxidizer, etc).

@johnthagen The option is under discussion for OpenCV 5.0. There are other OpenCV dependencies that should be handled and we are looking for general solution.

Has there been any progress on this in the last two years? As far as I can see, OpenCV 5.0 is not yet available, so this will most likely experience further delays and probably require building custom packages which omit FFmpeg?

A suggestion on this topic: it would be nice to have build option like -DPERVISSIVE_CODE_ONLY, that could build opencv with only MIT, BSD, Apache, PD-licensed code. This option is to be used to build OpenCV for commercial products.


Feature: Optimise argo-workflow dependency for dependabot fixes

🔖 Feature description
Clone argo-workflow project and optimise to serve our use case. And exclude any redundant module depenecies.
🎤 Pitch / Usecases
To optimise dependency graph and reduce vulnerabilities
🔄 Alternative
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

fixed in https://github.com/devtron-labs/devtron/pull/5731


Add configuration option to block deletion of non-empty folders

If you set an expiration date on a folder, the action will delete it when it expires, even if the folder contains children. This is how the add-on was designed, but there may be use cases where that is not preferred. Maybe we need a configuration option, either on a global basis or a folder-by-folder basis (a new property on the expirable aspect) that will only allow the delete if the folder is empty.

Hi Jeff, I hope you are well. I recommended your development and download the two amps you give in the Git. Install them very well, create a business rule and I get your option, BUT, do not find the option in the folder to add the expiration date. My alfresco is 5.1 201606 community. I hope you can help me and I thank you for sharing this development YOURS. Thank you very much.

@martins07 Your comment does not seem relevant to this issue, but I will try to help you. If you use this code as-is, the expiration date is not editable. It will also not show up when the form is in edit mode. It only shows up in view mode. The expiration date property is meant to be set using a rule. If you have added the cxme:expirable aspect to a document or to a folder, you should see a property that displays whatever you set in the cxme:expirationDate property. If you would like that property to be editable, change the Share config in this file.
If you have further questions or comments please create a new issue.


Cannot enter email

As in video
https://user-images.githubusercontent.com/30871217/104743267-c4bfcd00-574b-11eb-9207-bd194c0941f9.mp4
Writing in the mail form changes the characters in the last name form

New image is online. That should fix the error 😅

New image is online. That should fix the error 😅


Stuck in Lake county

I visited lake county 4 days ago (yik yak population = 2) and I'm still seeing and posting in the Lake County yik yak page even though I'm 3 hours away from there. There's a crazy slow turn around time

Close the app in the task list and re-open it. Right now it only refreshes your location when you start the app fresh.

Closing the task from my phone didn't work, but turning my phone off and on again did.

I think the way apps like 6tin use a button in settings to manually update position now if you want to is a good solution as well as whatever you had planned soren121

Tinder has a much wider radius than Yik Yak does (I think the smallest possible radius on Tinder is 10mi, whereas Yik Yak is locked to ~2.5mi.) Hiding a location update button in settings seems very UX-unfriendly to me.
What I was planning to do was request regular location updates, which will check your location every 15 minutes while the app is open.

This should be fixed in version <IP_ADDRESS>, although I haven't tested it extensively.


BAU Bump node-sass to address npm audit vulnerability report

npm audit fix bumps node sass to address vulnerability report.

Superseded by https://github.com/alphagov/pay-toolbox/pull/385


spike on entering some GitHub commits into Solr

We currently have full documents posting into the DB, individual commits coming soon

Figure separation of data into multiple namespace; figure out how to query data

Separation of data is now done by filtering first on Slack Channel ID
This has been implemented


[AWS] Automatically handle NotReady kubelets

AWS implementation of https://github.com/giantswarm/roadmap/issues/176 .
Internal implementation issue: https://github.com/giantswarm/giantswarm/issues/10357 .

This is already implemented for AWS. The documentation on how to enable the feature is available at: https://docs.giantswarm.io/basics/automatic-termination-of-bad-nodes/ .


Add --device flag to validate_examples

What does this Pull Request accomplish?
Add --device flag to validate_examples.py.
Why should this Pull Request be merged?
Makes it easier to run examples on real HW.
What testing has been done?
Ran nirfmxspecan examples with a device name on real hardware and without a device name using simulation.

FYI in my hand edit just ran both, I found it kind of nice to see examples ran against hardware simultaneously with simulation to see the differences.