Fixed issue #3760, handle X10 unit numbers greater than 9.

Description:
Added the colon to the string array index to slice all characters past the first one, to handle unit numbers that have more than one digit, any greater than 9.
Related issue (if applicable): fixes #3760
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

👍 LGTM. Thanks for the bug fix!

🐬  top!


[ASTMangler] Mangle enum case argument label

We don't include the enum case's argument labels (if present) in the mangling for the enum case or the default argument generator. This leads to symbol collisions in SILGen or strange runtime behaviour.
This PR updates the ASTMangler to include the labels too. For example:
enum Foo {
  case foo(bar: Int = 0)
  case foo(bas: Int = 0)
}

The previous mangling for the default argument generator for Foo.foo(bar:) was:
$s4test3FooO3fooyACSi_tcACmFfA_ ---> default argument 0 of test.Foo.foo(test.Foo.Type) -> (Swift.Int) -> test.Foo

Now, the new mangling is:
$s4test3FooO3fooyACSi3bar_tcACmFfA_ ---> default argument 0 of test.Foo.foo(test.Foo.Type) -> (bar: Swift.Int) -> test.Foo

Similarly, for the enum case, the previous mangling was:
$s4test3FooO3fooyACSi_tcACmFWC ---> enum case for test.Foo.foo(test.Foo.Type) -> (Swift.Int) -> test.Foo

Now, the new mangling is:
$s4test3FooO3fooyACSi3bar_tcACmFWC ---> enum case for test.Foo.foo(test.Foo.Type) -> (bar: Swift.Int) -> test.Foo

Because this will break existing code, this PR also updates IRGen to emit the old symbols if the enum is resilient.
Resolves SR-12206
Resolves rdar://problem/59496023

I would add a flag to the mangler somewhere to select between the old and new behavior. Then in IRGen, add a second kind of LinkEntity for the compatibility version of LinkEntity::forEnumCase(), and when we emit the enum tag symbols, emit an alias for the old name too.

I have done that now. How does it look?

@slavapestov Do you have any more feedback on this?

Ping @slavapestov

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci please smoke test

@swift-ci please smoke test

@slavapestov Do we need to emit the old symbols in the TBD file, because I am getting a verification failure because the old symbol exists in the TBD file but not in the IR file. Since we emit an alias to the old symbol in the IR file, I suppose we can drop the old symbol from the TBD file? Or do we still need it for compatibility?

Both the old and new symbols must appear in the TBD file.

Thanks for confirming. So is the TBD verification error acceptable in the non-resilient case? (since the IR file won’t have the old symbol)

It looks like you're not emitting the symbols in IRGen then?

Oh right, I mistakenly thought it was handled by defineAlias. I have now added a function to explicitly emit the symbols, which seems to have solved the problem I mentioned above.
@swift-ci please test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - d8eb57f32c9e75d724b2ea15ef2324c6eda1d565

Build failed
Swift Test Linux Platform
Git Sha - d8eb57f32c9e75d724b2ea15ef2324c6eda1d565

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 1501c8cce009f09c4d4c139a3db457659105cf87

Build failed
Swift Test OS X Platform
Git Sha - 1501c8cce009f09c4d4c139a3db457659105cf87

@slavapestov Could you please take another look at my change (specifically the code to emit the old symbols in IRGen)? I just want to confirm whether I am emitting the old symbols in the right scenario, as there were 2 failing tests (IRGen/enum_resilience.swift and IRGen/lazy_metadata_with-g.swift) because the old case symbol was present.

You should only emit the old (and new) symbols when library evolution is enabled; they're not used otherwise.

@slavapestov That's what I did initially i.e. I put the call to emit the symbols after the if (!isResilient(theEnum, ResilienceExpansion::Minimal)) check in IRGenModule::emitEnumDecl, but the problem I had with that was when I pass -validate-tbd-against-ir=all (with or without -enable-testing) then the validation fails due to the old symbols present in the TBD file but not in the IR file (similar to what I said here).

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)

Resolves SR-12206

And it also resolves https://bugs.swift.org/browse/SR-10077 👍

@theblixguy We should still fix this, IMO. Do you mind resolving the conflicts? They should be pretty superficial.


feat(aci): provide container details page

closes #3960

something to check in review. I load the details by loading all the subscriptions, then loading all the resources group and container groups and then filter on each array to get the objects this page needs. This is very suboptimal, is there a way with aci to get the specific container details?

@chiptus need to check the API docs to see if there is a way to do so, thanks, we'll review it.

@chiptus need to check the API docs to see if there is a way to do so, thanks, we'll review it.

There's an api for that, I change this pr to use it


generate the rsa secret key failed with bash-5.1

Hello,
When I execute the openssl command(version is openssl-1.1.1) to generate the rsa secret key in bash-5.1, it’s failed. But the same command can be successfully executed in bash-5.0.
LD_LIBRARY_PATH= openssl rsa -aes256 -passout stdin <<< "4567263139692f79613d254c51363046723a307e5c6124263f5935356e436a56
-----BEGIN RSA PRIVATE KEY-----
MIIG4wIBAAKCAYEAwXo4TQIBaKPRDy17IHGVE5G9pBJIgVY2D98wexktPUGE0z7K
/++dSqMJJH81r+XvAirQgzW6ZAbjImSBYuOYlXEI4MOmdTpYhTfnofOL9Pdi0Sy+
nJxv8b4NrRqqXDfEuzpVmnWRMI/ZrZXaILOSjXBBo9TujM9pQ8kYcIloQ6DX6nUC
dxNqOk+/QFEvmTwp6Q/cHZ8oMDlVeRYyP5S93lQ7Exxf1CJeqqBf1E/kFjpaK8Wn
YAFzumNDEopUwzboYJF1kEk7WXUTkaOT/BTyCBpuQfhauAMzi+iFSRV2q+ReviPq
UdvjP5RwTCA43PBLJoRV3IXrpWxOuwDB/YQX3MQ+hq034VJBCCeZT2HDYbuWvSIY
GYykOjWYthM6tleTmKuLB8T0kEfwFSTM71gzcbDCKHZYI7cuSERcwwsOzpggggBk
Y6daOi8acqJKl47KO15jEErCCgUCCzto5+x79AASicZXuGN0whk7XAMqT/y4ERvt
ZCaAwVG8WT3bvouFAgMBAAECggGAX1yMT3iDlT3ZFzAFlhIltkWJQUs5rXX+o4gQ
bzwTjjOy8iPrDobd8iG1qeWBYrdkPJ85stJSkmbKoPMEyub/F/lktNP6QaGGa/MI
GkzeWNluPUdek/aPPom8V+viuB1MvDOeack0zMi6M9K+dovL2ibQU53qDkFU0vJV
N3Kij2LByW/uzR4mp6MS0vKxEUgUKCmHBpqhxlMcC9ii36/CfcjqbRr5KKfgHR16
3jyaYVJVi2mae7l7fwzZzFOeP7HZsAQ1jEGYoNFlG4hJJ59BVuncUw490LU/yucS
8kybHjoshXMUc3Wiy0c/BBp9tdF6xcEBXy3cBb+1tVEbyZwAubk1bVt06rRvqXrO
GFbzhSs/UsxNjrHQ4h21mK1h29bSHBzQ6EGniIeAHJ1LNoHEJQezDMsrH1EnvEaF
v6Z9RsXDB5HX9FOw1bPsrxyFTLW+RnlDC5nQaeFv6geiGfD268Zj6Sx3vQoIVDLN
uMTv2NF8YgZYXQVgc1HY34ocfLxBAoHBAOI4Q+VRXWzjVwaakvlh31QFZKAC1eBS
IkKAQrdVkjIGJUg7o6q33PXNCz940v+2vak8P7hvxUM8VCb6w/wxcM9y6xv+4ZEw
IUNP5B9HjaNj0sDiXpAWJXaPOOpPqu07HDhbSJ2oCxbWocVAaapHPNpqRK8Uh1bW
EVRZfzfohpxcFmZFNDb94Pf/8mssWCnpsKh+sZiAhtlRlGZ/VVWQkL2Q/0vlT+jR
jSVLHa/mWPiiXxzMZ2rkA7oCoJadBEUOHQKBwQDa8oS8dUCjHkheOxoF8hIhqZPv
oy9aj2GlqmeuHAkZiO1t28VTOlsUpeJ2id68qJyh8gKERd2yWFaY+mWU+JqMV+kW
ceW57JAJvZsCgiBYMlrNOUVUZpGgdRDbm0gRkuq2V5se6gSb3ItyOpVsDO6cok+Z
YeEznpivhVfkNlqBXg5YfqjDVr28s624GqEnSuMsY4JSbHnVXzuHWgJIRAqPEyk+
29cXLxUZ83XJw3K/drXPV3onf1ehxNgBLpuJlokCgcBNlDQckWGztOckWaArq9fV
zZ+rjC1ip2geXDQFAXCIfTkN434GTtWU6gOAeeQKU9YJEqNbkeEZZLgLQhYyB5aD
Xgqo6CjdDJ9roRs/at90+AfPpBH/4chpN0ayfC3G+217Gjr17ioXY/XIWoWiIpoI
4Ua6sBSVwAXjYmnRd4mqV55K5lK4xSoAgqLVBDkb7otpzUEEZpdYMbTtzZ8rH8+z
YuVaVsKnui1oa7E7oIhEhBKQIr0YmCd7A+mknSZYtDUCgcEA2Dl9YOii5vS3H2ha
sNh5k4j3MkgEMfk7w/Hf5pCFZBRX9pB99U3COUgBuHM75zDVTxHD7oFZChI3o2hV
/aLubf87kBD3gH/hV91KQlXkP3WrOtV+ZHXPB5nVBiv6JnDjHySxavxNhOdvR2YX
vteepk2dMqr5TpMn0t9rB1OuWehbXoXngNIfG0aPHywdTsKkS2gSgffi8hfUoD0B
2ABqNRYFO7C8YIb83d4TyygcIH3J23RWjL8z+ex+LdyreluRAoHAHOkdXOy5sbXQ
xA0zJ5rOO3wy7hgMrodiCdzaLbmNer2qY0ymknlW64mEISVKFVerdkmyJFOvc/A+
bGMsuXPfO+r8NS8HHAplj/YmNlNksgZIdrHfKO/HxkBnEZZ8ny3Nt+i+J9z8uzMr
hgvr0zvd003hONS41q4m84ufRWfcxVfJls3fZ64q77p6UlzECY31m2n+wm1/Nmpp
pk1TJdu73LqpZ6NZ8pgIzsTVgTBRDgTJ6JgEFH86tEpEyFsXtgbf
-----END RSA PRIVATE KEY-----"

and error msg is:
unable to load Private Key
140737348022272:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: ANY PRIVATE KEY

I find that bash-5.1 try to use a pipe internal instead of a temp file. And in openssl-1.1.1, before calling the fgets function to read stdin, setbuf(stdin, NULL) will be called, this is the cause of failure.
if (file == NULL && maybe_stdin) {
    unbuffer(stdin); // setbuf(stdin, NULL)
    key = dup_bio_in(format);
}

I don't understand why setbuf(stdin, NULL) will be called before dup_bio_in(stdin)? And then whether it can be deleted ?

I wrote a simple demo to simulate this situation:
$ cat main_pipe.cpp
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdio.h>

using namespace std;

int main() {
    int herepipe[2];

    if (pipe(herepipe) < 0) {
        cout << "pipe file failed" << endl;
    }

    string read_line = "first line\nsecond line\nthird line\n";

    write(herepipe[1], read_line.c_str(), read_line.length());

    close(herepipe[1]);

    dup2(herepipe[0], 0);

    char read_str[256] = { 0 };

    while (fgets(read_str, 255, stdin))
    {
        setbuf(stdin, NULL); // clear buffer
        printf("%s", read_str);
    }

    close(herepipe[0]);
}

The execution result of the program is:
$ first line

You're trying to pass the original private key file as a here document on stdin but at the same time use the password input that goes from stdin too. I do not think this can work reliably.
If you do not use -passout stdin this should work.

Or do not pass the key through stdin but use a temporary file instead.

You're trying to pass the original private key file as a here document on stdin but at the same time use the password input that goes from stdin too. I do not think this can work reliably.
If you do not use -passout stdin this should work.

I am confused here by what do you mean by generating secret key - there is no key generation happening in neither rsa nor ec commands.

The setvbuf was added there for a reason, so we are not going to remove it:
 *) Disable stdin buffering in load_cert (apps/apps.c) so that no certs are
    skipped when using openssl x509 multiple times on a single input file,
    e.g. "(openssl x509 -out cert1; openssl x509 -out cert2) <certs".
    [Bodo Moeller]

Tomáš Mráz wrote:

You're trying to pass the original private key file as a here document on stdin but at the same time use the password input that goes from stdin too. I do not think this can work reliably.
(1) here document vs (2) here string.
Example uses (2) and is not so portable.

Regards,
Roumen

I am confused here by what do you mean by generating secret key - there is no key generation happening in neither rsa nor ec commands.

Forgive me for not being clear
openssl rsa -aes256 -passout stdin <<< "" can be executed normally on bash-5.0，but failed in bash-5.1
openssl ec -aes256 -passout stdin <<< can be executed normally both on bash-5.0 and bash-5.1
If setbuf() cannot  remove, then I think I have to modify my code framework.
Thank you for your answer

The setvbuf was added there for a reason, so we are not going to remove it:
 *) Disable stdin buffering in load_cert (apps/apps.c) so that no certs are
    skipped when using openssl x509 multiple times on a single input file,
    e.g. "(openssl x509 -out cert1; openssl x509 -out cert2) <certs".
    [Bodo Moeller]

The program stack of openssl rsa -aes256 -passout stdin <<< "" is as follows:

The commands uses the load_key function instead of load_cert.
I compared the implementation of the two commands openssl rsa (rsa.c) and openssl ec(ec.c), and found that ec_main directly calls PEM_read_bio_ECPrivateKey() to read the private key without without emptying the standard input buffer. The rsa privatekey reading function PEM_read_bio_PrivateKey() called in openssl rsa is wrapped by load_key(). Maybe unbuffer() is redundant in the load_key?

Thank you for your help.  We fixed this problem by adding stdbuf -i0 in front of the openssl command to close the buffer early.
Please confirm whether unbuffer in function load_key() is redundant, if not, we will close this issuer. Thanks.

Closing since this is marked as resolved.


test(visual-regression): Allow container volume args to be overridden

This updates scripts/run-playwright-container.sh so that an overlay file system is used when mounting the current directory (including node_modules). This means node_modules starts off the same as the host, but any changes written to it in the container are temporary and limited to the container itself.
The e2e directory is mounted normally so that reports and screenshots are written to the host.
This speeds up the npm install part of npm run test:visual for me (on Ubuntu).
@adamledwards Could you check if this works okay for you?

This fails for me unfortunately
npm ERR! code ENOSYS
npm ERR! syscall mkdir
npm ERR! path<EMAIL_ADDRESS>npm ERR! errno -38
npm ERR! ENOSYS: function not implemented, mkdir<EMAIL_ADDRESS>
I'll be looking at fuse-overlay to see if there is something I am missing in my setup.

Reworked this so the volume arguments are the same as they were before, but can now be overridden using an environment variable so using customised arguments is possible. (E.g. I'm using export PLAYWRIGHT_CONTAINER_VOLUME_ARGS="-v "$(pwd)":/work/:O -v "$(pwd)/e2e/":/work/e2e/" on Ubuntu.)

@adamledwards This should be okay for you now if you want to have another look.

will have a look this afternoon

This is working for me, I doubt it is related but hitting a issue with macro-options.spec.ts not matching the screenshot, I'll verify if this is the same for main


[tool_crash] FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2

Command
flutter --no-color pub get

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:539:18)
#3      _File.readAsStringSync (dart:io/file_impl.dart:584:18)
#4      ForwardingFile.readAsStringSync (package:file/src/forwarding/forwarding_file.dart:96:16)
#5      ErrorHandlingFile.readAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:222:22)
#6      _runSync (package:flutter_tools/src/base/error_handling_io.dart:597:14)
#7      ErrorHandlingFile.readAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:221:12)
#8      _DefaultPub.get (package:flutter_tools/src/dart/pub.dart:291:50)
<asynchronous suspension>
#9      PackagesGetCommand._runPubGet (package:flutter_tools/src/commands/packages.dart:141:7)
<asynchronous suspension>
#10     PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:176:5)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

[☠] Flutter (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ Exception: Could not find directory at /Users/madmax/Desktop/Data/Softwares/flutter/bin/cache/dart-sdk/bin/resources/devtools
    • #0      Cache.devToolsVersion (package:flutter_tools/src/cache.dart:388:9)
      #1      _DefaultDoctorValidatorsProvider.validators.<anonymous closure> (package:flutter_tools/src/doctor.dart:99:46)
      #2      FlutterValidator.validate (package:flutter_tools/src/doctor.dart:494:84)
      #3      Doctor.startValidatorTasks.<anonymous closure> (package:flutter_tools/src/doctor.dart:216:72)
      #4      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #5      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #6      _rootRun (dart:async/zone.dart:1426:13)
      #7      _CustomZone.run (dart:async/zone.dart:1328:19)
      #8      _runZoned (dart:async/zone.dart:1861:10)
      #9      runZonedGuarded (dart:async/zone.dart:1849:12)
      #10     runZoned (dart:async/zone.dart:1780:12)
      #11     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #12     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:208:9)
      #13     DoctorText._validatorTasks (package:flutter_tools/src/doctor.dart:610:60)
      #14     DoctorText._validatorTasks (package:flutter_tools/src/doctor.dart)
      #15     DoctorText._runDiagnosis (package:flutter_tools/src/doctor.dart:614:71)
      #16     DoctorText.text (package:flutter_tools/src/doctor.dart:606:36)
      #17     DoctorText.text (package:flutter_tools/src/doctor.dart)
      #18     _createLocalCrashReport (package:flutter_tools/runner.dart:209:51)
      #19     _handleToolError (package:flutter_tools/runner.dart:165:31)
      <asynchronous suspension>
      #20     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #21     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/madmax/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.71.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Android SDK built for arm64 (mobile) • emulator-5554 • android-arm64 • Android 10 (API 29) (emulator)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: beta
Creation framework version: 198df796aa80073ef22bdf249e614e2ff33c6895

Closing as duplicate of https://github.com/flutter/flutter/issues/91559


Personal details - Error message displayed when user try to save Date of birth.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Launch App
Navigate to Profile > Personal details
Tap "date of birth" / add date
Tap on Save

Expected Result:
Error message is not displayed when user try to save Date of birth.
Actual Result:
Error message displayed when user try to save Date of birth.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/218576129-458e6639-a2b2-40d0-a073-796fcbfc57fd.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01b6b30a13e8f991fc
Upwork Job ID:<PHONE_NUMBER>186849792
Last Price Increase: 2023-02-13

Triggered auto assignment to @kevinksullivan (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Job added to Upwork: https://www.upwork.com/jobs/~01b6b30a13e8f991fc

Triggered auto assignment to Contributor Plus for review of internal employee PR - @mollfpr (Internal)

Proposal
Please re-state the problem that we are trying to solve in this issue.
Our app must not produce unexpected errors for users or have platform inconsistencies like things working on native but not web.
What is the root cause of that problem?
We are checking to see if values.dob is empty using _.isEmpty() here:
https://github.com/Expensify/App/blob/e31cb5349e802a0c7386e6d171834344f63322a9/src/pages/settings/Profile/PersonalDetails/DateOfBirthPage.js#L65-L67
The dob value is a Date object and underscore will treat that as empty. This only seems to happen on native which suggests an issue with underscore.

What changes do you think we should make in order to solve the problem?

Stop using underscore for this check a simple check of !values.dob should be enough.
Make sure that we are actually passing a String around instead of the Date object

What alternative solutions did you explore? (Optional)
Fix it in underscore - I don't think it's worth fixing at that level. We don't have to use this method to check for the existence of a date.
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

@marcaaron Proposal looks good to me.
Although we have the function to check if the date is valid and the required date field.
https://github.com/Expensify/App/blob/e31cb5349e802a0c7386e6d171834344f63322a9/src/libs/ValidationUtils.js#L50-L59
https://github.com/Expensify/App/blob/e31cb5349e802a0c7386e6d171834344f63322a9/src/libs/ValidationUtils.js#L78-L95

Thanks @Prince-Mendiratta! This definitely will be fixed with your PR.
@marcaaron Should we close this or wait until the PR is merged and try to reproduce it again?


Replace cache plugin with artifacts plugin

The default fs backend for the cache-plugin requires a folder to exist prior to using the plugin.
This makes the first experience running some of these templates not-so-great. https://github.com/buildkite-plugins/cache-buildkite-plugin/issues/54
Following the approach of a few other templates, this switches a handful of template over to using the buildkite artifacts plugin, using build artifacts as the method for caching project dependencies.


activation shortcut not working

Microsoft PowerToys version
0.62.0
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
press keyboard shortcut keys to activate or show powertoys run search window
✔ Expected Behavior
search window should appear
❌ Actual Behavior
nothing happens. search window is not shown. very rarely search window shows up. additionally, I checked the 'Use Centralized keyboard hook' but that did not solve this problem.
Other Software
No response

Hello and thanks for your message. What is the hotkey to open PT Run? And is there any other software that could interfere?

Thanks for your reply. I am using Ctrl Win Space.
I changed to different keys but even they don't work. I changed it back to Ctrl Win Space and PowerToys took the keyboard combination which tells me it's not used. There is no other software interfering with it.
So, no matter what keyboard shortcuts combination is use it works only 1 out of 10 times.

after last 2 updates, color picker keyboard shortcut stopped working. even it stopped showing in startup icons. though fancy zones and search widget works verywell. new features like screengrab text also doesnot show up.
I am using win 10 64x amd ryzen 5600

I have the same issue, but the search window never shows up for me. After changing from the default hotkey and enabling 'Use Centralized keyboard hook' the problem persists.
I'm using version 0.63.0 on W11 (22H2)

I need to reactivate powertoys run and exit powertoys multiple times after last update.

Same problem. The difference is that I was never able to launch PowerToys Run with any of the shortcuts I assigned. For me this module is completely unusable.
PowerToys (Preview) x64 0.82.1
Microsoft Windows 10.0.19045.4651
Report — drive.google.com/file/d/1lWhlffLHfzEpVfeCiyLQWRmfYVLk087F/view


Test make docs

@njericha I just pushed something that should have fixed the error you were getting regarding make docs. Please double check it and let me know if it's working.

Everything works!


Update README.md

📥 Pull Request
📘 Description
Briefly describe the changes you've made.
🔄 Related Issue (if applicable)
If this PR is related to an existing issue, reference it here.
🎯 Goal
Explain the intention behind this change.
🔍 Additional Context
Any extra information or context to help us understand the change?
🧪 Testing
Describe the tests you performed to validate your changes.
Thank you for your contribution to Agentops!

Can we merge this?

Excellent README.md updates, sir.


upgrade react-apollo and replace react-apollo-hooks

closes #1533

This looks good mate. I wanted to get Tim to put and eye over it before we merged. Sorry for the delay. Everyone has been really busy this last week.

Unfortunately due to #1576, a bug in this PR wasn't caught. I'm going to attempt to revert this PR.
See the test failure in https://circleci.com/gh/keystonejs/keystone-5/25127?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link:
Error: `Content#getBlocks()` threw a Promise. This may occur when calling `Content#(de)serialize()` before blocks have had a chance to fully load.

I will work on that bug, would that be new PR or reopen this PR?


Allow calling Draft4Support.Enable() multiple times

Second call to Draft4Support.Enable() was throwing
  Failed MultipleEnableDoesNotThrow [36 ms]
  Error Message:
   System.ArgumentException : Overriding known specification versions is not supported.
  Stack Trace:
     at Json.Schema.SchemaRegistry.RegisterNewSpecVersion(Uri metaSchemaUri, SpecVersion specVersion)
   at Graeae.Models.SchemaDraft4.Draft4Support.Enable() in D:\src\Graeae\Graeae.Models\SchemaDraft4\Draft4Support.cs:line 181
   at Graeae.Models.Tests.ApiTests.MultipleEnableDoesNotThrow() in D:\src\Graeae\Graeae.Models.Tests\ApiTests.cs:line 10

We use it in multiple test fixtures that might be executed all at once or filtered out -- and initialization is per fixture, not per project. This is also something that worked in Graeae 0.2


Update Artifacts for CodeFlare Stack 0.0.4

Hi @anishasthana, I took a look at this... if I try applying your new subscription it works if I do the following:

Take off any existing CodeFlare operator
Apply your new subscription

oc apply -f https://raw.githubusercontent.com/anishasthana/distributed-workloads/codeflare_0.4.0/tests/resources/codeflare-subscription.yaml

Approve the manual InstallPlan to be true

oc get ip
NAME            CSV                         APPROVAL   APPROVED
install-pkf49   codeflare-operator.v0.0.4   Manual     false

to
oc get ip
NAME            CSV                         APPROVAL   APPROVED
install-pkf49   codeflare-operator.v0.0.4   Manual     true

And then the codeflare operator starts up:
oc get pods
NAME                                                       READY   STATUS    RESTARTS   AGE
codeflare-operator-manager-7b4fdcf579-5khjz                2/2     Running   0          80s
opendatahub-operator-controller-manager-84858b8998-2wctz   2/2     Running   0          7h9m
<EMAIL_ADDRESS>~]# oc get csv
NAME                          DISPLAY                  VERSION   REPLACES                      PHASE
codeflare-operator.v0.0.4     CodeFlare Operator       0.0.4     codeflare-operator.v0.0.3     Succeeded
opendatahub-operator.v1.6.0   Open Data Hub Operator   1.6.0     opendatahub-operator.v1.5.0   Succeeded

I'm just not certain how the tests run anymore... looks like to run the ./run.sh distributed-workloads.sh I need to have codeflare installed already, and I'm getting a weird
./run.sh distributed-workloads.sh
tr: Illegal byte sequence
Creating namespace basictests-
error: resource(s) were provided, but no name was specified
error: A project named "basictests-" does not exist on "https://api.jimlarge412.cp.fyre.ibm.com:6443".

But then it runs until the notebook, but it's erroring out because it needs an API token... I think I've forgotten how to pass the API token to the notebook.
oc logs -f jupyter-nb-kube-3aadmin-0
You must obtain an API token by visiting https://oauth-openshift.apps.jimlarge412.cp.fyre.ibm.com/oauth/token/request

Well, it's goofy for me, I've got multiple things going on...

My cluster is too slow, so the mnist job is completing, but not in the 1200 seconds required.  I had to bump it up (put it to 2400 seconds for now)
The two curl commands to get the token aren't working, at least on my Mac.  I had to manually set the variable to my actual token in order to be able to run the command
The "NotFound" items aren't working for me, it appears to be "not found" on my cluster.  Not certain if this is due to my oc/kubectl version or not.
With all the above, it's taking a very long time to get through all the tests...  hopefully it'll run to completion now.

Passed on my cluster with above tweaks - will try one last time from a Linux server just out of curiosity...

Well, shoot!  That was easy - works great from a Red Hat 8 server.  I should have just done that instead of utilizing my Mac.
./run.sh took 1268 seconds
[INFO] Exiting with 0


console.log and console.warn are out of order on Windows

I have the following code in hooks\before_prepare\010_create_distribution.js
(I think the text has to be long enough to trigger the behavior, that's why I put multiple letters)
console.warn('aaaaaaaaaaaaaaaa')
console.warn('bbbbbbbbbbbbbbbb')
console.log('cccccccccccccccccc')
console.log('dddddddddddddddddd')

Now, when I run cordova run android it prints in proper order. Fine for now.
But when I run ionic run android, I see stuff out of order:
aaaaaaaaaaaaaaaa          (in red)
cccccccccccccccccc
dddddddddddddddddd
bbbbbbbbbbbbbbbb          (in red)

My guess is that ionic does some overrides, maybe you do something like redirecting console.warn to a different stream (stderr?) that triggers this behavior?
Win7, ionic 1.7.12

Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.


Can I help?

Hi,
I have some non-prod side project at dayjob,  that was using my own hand-rolled library like this one. I'd like to port it over to this code. No commitments (as I said, it's a side-project), but I think I can push this project forward a bit here and there.
I will use this thread to post some questions etc. If you prefer eg. gitter channel, I'm happy to use that instead.
Is this library supposed to be 1:1 Bitcoin-RPC, or can it include some glue logic? Eg.
I need getblock. getblock Bitcoin RPC comes in two version. Non-verbose returns hex-encoded data, verbose big Json breakdown of TX. How should the API for this call look? fn getblock -> String and fn getblock_verbose -> Block? Is it reasonable to have another API call, that does non-verbose getblock and then hex-decode and consensus-decode to return bitcoin::block::Block directly?

Are you OK with using rustfmt for everything? If so, can you run cargo fmt once and commit it as a start? And maybe add rustfmt.toml file to show that it's encouraged/required.

I don't think rpc_method is very useful. rpc_request seems OK, but Just the fact that's rpc_method  "contains code" can confuse IDEs, text formatters and readers. I would rather take the little duplication instead.
BTW. In my code I had:
    pub fn do_rpc<T: for<'a> serde::de::Deserialize<'a>>(
        &mut self,
        rpc_name: &str,
        args: Vec<serde_json::value::Value>,
    ) -> Result<T> {
        let request = self.rpc_client.build_request(rpc_name.to_string(), args);
        let response = self.rpc_client.execute(request);
        let response = response?;

        if let Some(err) = response.error {
            bail!("{:#?}", err);
        }

        Ok(response
            .clone()
            .into_result()
            .with_context(|e| format!("{}; response: {:?}", e, response))?)
    }

and then my methods looked like this:
    /// Generate new receiving address
    pub fn get_new_address(&mut self, account: Account) -> Result<Address> {
        self.do_rpc("getnewaddress", vec![account.into()])
    }

I guess the rpc_request is a little better, but just an example that even that is not necessary.

rpc_request returning from inside itself (contains ?) is actually confusing.
TODO: unwraps when deserializing rpc responses is probably a bad idea.

Bitcoin Json RPC uses floats for balances (because JavaScript can't do integers?). In the APIs here, should we also use floats (lame), or should we take and return u64 and convert them on fly to floats that JSON needs?

Or would you prefer write access in the repository?

Write access would be awesome. I think we're eventually going to create a new repo and push-there, under rust-bitcoin org, but before that I could push all my changes to master and eventually at least mention in the README that there's a new location.


After update to dbt 1.8.3 the table elementary.dbt_run_results is partially empty

Describe the bug
After updating to dbt 1.8.1 (from 1.7.2) and elementary 0.15.1, the table elementary.dbt_run_results is partially empty - the columns execute_started_at, execute_completed_at, compile_started_at and compile_completed_at are null.
To Reproduce
I just run this query to see the latest dates:
select
    max(generated_at) as generated_at,
    max(execute_started_at) as execute_started_at,
    max(execute_completed_at) as execute_completed_at,
    max(compile_started_at) as compile_started_at,
    max(compile_completed_at) as compile_completed_at
from elementary.dbt_run_results;
/*
+-------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|generated_at       |execute_started_at         |execute_completed_at       |compile_started_at         |compile_completed_at       |
+-------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|2024-07-29 06:12:50|2024-07-09T05:51:33.254265Z|2024-07-09T05:53:12.946757Z|2024-07-09T05:51:33.243691Z|2024-07-09T05:51:33.252922Z|
+-------------------+---------------------------+---------------------------+---------------------------+---------------------------+
*/

Expected behavior
I'd expect these fields to be filled in, we use them for internal tracking of execution times.
Screenshots
N/A
Environment (please complete the following information):

Elementary CLI (edr) version: 0.15.1
Elementary dbt package version:  0.15.1
dbt version you're using: 1.8.3
Data warehouse: Redshift
Infrastructure details: Runs as a last step in Airflow on k8s in our dbt pipeline. Never had issues before.

Additional context
We also did enable the flag in our project:
flags:
  require_explicit_package_overrides_for_builtin_materializations: False

Interestingly, the Elementary website dashboard works and has all the execution data.
Would you be willing to contribute a fix for this issue?
Sure, if not too complicated.

Hey @jan-benisek, this has been resolved in our newest version (0.16.0) 👍


Unsupported option specified! (unsafe.enable_getters_and_setters)

I'm getting the message .flowconfig:72 Unsupported option specified! (unsafe.enable_getters_and_setters) which is an option defined in the default .flowconfig while using create-react-native-app. This option is also specified in the Flow documentation so why am I getting this error?

Its been removed in 0.62.0. Getters and setters are enabled by default.

I can reproduce the issue in 0.64.0
It fix the issue when I downgraded to 0.57.3

@tintorres If you look above you can find solution. Also you can read changelog

Think the flow docs should be updated to indicate this change. As they are currently misleading or just wrong (depending how you look at it)


Weird type inference for binary plus

For (x, y) => x + y, we infer x: string | number and y: string | number.  This doesn't actually work since the two binary operators involved return different types.
let sn: string | number;
let n: number;
let s: string;

const v1 = sn + sn; // ERROR
const v2 = n + n; // number
const v3 = s + s; // string

const v4 = sn + n; // ERROR
const v5 = n + sn; // ERROR

const v6 = sn + s; // string
const v7 = s + sn; // string

const v8 = n + s; // string
const v9 = s + n; // string

The safest thing would probably be to infer number unless there's a specific reason to allow string.

Longer repro:  (a, b) => (c, d) => a + b + c + d.  a and b are always inferred as number and d is always inferred as string | number (which generally fails to compile once the others are inferred).  c is inferred as number if the outer inference is done first and as string | number if the inner inference is done first.

If it's being added to a string, go with unknown and try to find other better types.
Otherwise probably go with number?

Note that "being added to a string" isn't always so obvious given the shape of the AST.
let x = a + b + "hello";


Update text for allowing http content, allow mixed content by default

How's this look @yuya-oc ?

@jwilander Thanks!

Thanks @jwilander!!


TypeError: Cannot read property 'join' of undefined

If the response from https://www.google.com/recaptcha/api/siteverify does not contain body['error-codes'], handleResponse() throws a type error on line 52:
new Error(`Failed to verify: ${body['error-codes'].join(', ')}`)

Thanks for reporting! v1.1.0 is now published.

Thanks for the quick fix!
-- Andy
On Sun, Mar 26, 2017 at 1:21 AM, Alexander Martin<EMAIL_ADDRESS>wrote:

Thanks for reporting! v1.1.0 is now published.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/martin-experiments/google-recaptcha/issues/1#issuecomment-289259380,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKo1vrxejYkTNxBBSBM2zRB6G9mIfudks5rpfXJgaJpZM4MpT79
.


Issue: API Implementation for AI Q&A in PyGwalker Visualization Panel Not Working

Hello everyone,
Has anyone here tried using an API to implement AI Q&A functionality in the PyGwalker visualization panel?
I have reviewed the Wiki page for PyGWalker and followed the sample code to try using the Kanaries token in PyGwalker: How to set your Kanaries token in PyGwalker?, but unfortunately, I couldn’t get it to work successfully.
My Current Setup:

Environment: Google Colab

What I’ve Tried:

Verified that I followed the steps on the Wiki correctly.
Added my API key as instructed.

Error Details:
When I run the sample code, I encounter the following issue: Request failed: Get workspace id error
Additional Notes:

I did not find any related issues on the GitHub page.
There is a lack of further tutorials related to AI visualization chat in PyGwalker.
before I set the api token, I got error---- "kanaries_api_key is not valid. Please set kanaries_api_key first. kanaries token in pygwalker", leading me to believe that it is not a token issue.

Has anyone encountered a similar issue or has insight into how to resolve this? Any help or pointers would be greatly appreciated!
Thank you!

Hi @MindyZHAOMinzhu, thanks for your feedback.
This may be caused by a bug in kanaries cloud api.
I will contact the related developer to check this issue.
Many thanks for the help!


Unexpected nestloop join in tpch-q2

Steps to reproduce the behavior (Required)
Dataset: TPC-H SF100 in Parquet format
Create a hive external catalog, and then run the query:
select
  s_acctbal,
  s_name,
  n_name,
  p_partkey,
  p_mfgr,
  s_address,
  s_phone,
  s_comment
from
  part,
  supplier,
  partsupp,
  nation,
  region
where
  p_partkey = ps_partkey
  and s_suppkey = ps_suppkey
  and p_size = 15
  and p_type like '%BRASS'
  and s_nationkey = n_nationkey
  and n_regionkey = r_regionkey
  and r_name = 'EUROPE'
  and ps_supplycost = (
    select
      min(ps_supplycost)
    from
      partsupp,
      supplier,
      nation,
      region
    where
      p_partkey = ps_partkey
      and s_suppkey = ps_suppkey
      and s_nationkey = n_nationkey
      and n_regionkey = r_regionkey
      and r_name = 'EUROPE'
    )
order by
  s_acctbal desc,
  n_name,
  s_name,
  p_partkey
limit 100

Expected behavior (Required)
The query can run successfully.
Real behavior (Required)
When setting enable_spill=true, the query fails with the error:
ERROR 1064 (HY000): Internal error: vector::_M_range_insert

When setting enable_spill=false, the query fails with the error:
ERROR 1064 (HY000): Memory of Query3d6c48af-4afa-11ee-bc1e-525400e35875 exceed limit. Pipeline Backend: <IP_ADDRESS>, fragment: 3d6c48af-4afa-11ee-bc1e-525400e35877 Used:<PHONE_NUMBER>2, Limit:<PHONE_NUMBER>9. Mem usage has exceed the limit of single query, You can change the limit by set session variable query_mem_limit.

I see a nestloop join node in the query plan (plan node id: 14) since all joins in this query are inner joins with equivalence predicates, the nestloop join shouldn't be included in the plan. The full query plan is:
MySQL [benchmark_hive.tpch_parquet_100g]> explain select   s_acctbal,   s_name,   n_name,   p_partkey,   p_mfgr,   s_address,   s_phone,   s_comment from   part,   supplier,   partsupp,   nation,   region where   p_partkey = ps_partkey   and s_suppkey = ps_suppkey   and p_size = 15   and p_type like '%BRASS'   and s_nationkey = n_nationkey   and n_regionkey = r_regionkey   and r_name = 'EUROPE'   and ps_supplycost = (     select       min(ps_supplycost)     from       partsupp,       supplier,       nation,       region     where       p_partkey = ps_partkey       and s_suppkey = ps_suppkey       and s_nationkey = n_nationkey       and n_regionkey = r_regionkey       and r_name = 'EUROPE'     ) order by   s_acctbal desc,   n_name,   s_name,   p_partkey limit 100;
+--------------------------------------------------------------------------------------------------------------------------------+
| Explain String                                                                                |
+--------------------------------------------------------------------------------------------------------------------------------+
| PLAN FRAGMENT 0                                                                                |
|  OUTPUT EXPRS:15: s_acctbal | 11: s_name | 23: n_name | 1: p_partkey | 3: p_mfgr | 12: s_address | 14: s_phone | 16: s_comment |
|   PARTITION: UNPARTITIONED                                                                                |
|                                                                                |
|   RESULT SINK                                                                                |
|                                                                                |
|   24:MERGING-EXCHANGE                                                                                |
|      limit: 100                                                                                |
|                                                                                |
| PLAN FRAGMENT 1                                                                                |
|  OUTPUT EXPRS:                                                                                |
|   PARTITION: HASH_PARTITIONED: 1: p_partkey                                                                                |
|                                                                                |
|   STREAM DATA SINK                                                                                |
|     EXCHANGE ID: 24                                                                                |
|     UNPARTITIONED                                                                                |
|                                                                                |
|   23:TOP-N                                                                                |
|   |  order by: <slot 15> 15: s_acctbal DESC, <slot 23> 23: n_name ASC, <slot 11> 11: s_name ASC, <slot 1> 1: p_partkey ASC     |
|   |  offset: 0                                                                                |
|   |  limit: 100                                                                                |
|   |                                                                                |
|   22:Project                                                                                |
|   |  <slot 1> : 1: p_partkey                                                                                |
|   |  <slot 3> : 3: p_mfgr                                                                                |
|   |  <slot 11> : 11: s_name                                                                                |
|   |  <slot 12> : 12: s_address                                                                                |
|   |  <slot 14> : 14: s_phone                                                                                |
|   |  <slot 15> : 15: s_acctbal                                                                                |
|   |  <slot 16> : 16: s_comment                                                                                |
|   |  <slot 23> : 23: n_name                                                                                |
|   |                                                                                |
|   21:SELECT                                                                                |
|   |  predicates: 20: ps_supplycost = 50: min                                                                                |
|   |                                                                                |
|   20:ANALYTIC                                                                                |
|   |  functions: [, min(20: ps_supplycost), ]                                                                                |
|   |  partition by: 1: p_partkey                                                                                |
|   |                                                                                |
|   19:SORT                                                                                |
|   |  order by: <slot 1> 1: p_partkey ASC                                                                                |
|   |  offset: 0                                                                                |
|   |                                                                                |
|   18:EXCHANGE                                                                                |
|                                                                                |
| PLAN FRAGMENT 2                                                                                |
|  OUTPUT EXPRS:                                                                                |
|   PARTITION: RANDOM                                                                                |
|                                                                                |
|   STREAM DATA SINK                                                                                |
|     EXCHANGE ID: 18                                                                                |
|     HASH_PARTITIONED: 1: p_partkey                                                                                |
|                                                                                |
|   17:Project                                                                                |
|   |  <slot 1> : 1: p_partkey                                                                                |
|   |  <slot 3> : 3: p_mfgr                                                                                |
|   |  <slot 11> : 11: s_name                                                                                |
|   |  <slot 12> : 12: s_address                                                                                |
|   |  <slot 14> : 14: s_phone                                                                                |
|   |  <slot 15> : 15: s_acctbal                                                                                |
|   |  <slot 16> : 16: s_comment                                                                                |
|   |  <slot 20> : 20: ps_supplycost                                                                                |
|   |  <slot 23> : 23: n_name                                                                                |
|   |                                                                                |
|   16:HASH JOIN                                                                                |
|   |  join op: INNER JOIN (BROADCAST)                                                                                |
|   |  colocate: false, reason:                                                                                |
|   |  equal join conjunct: 17: ps_partkey = 1: p_partkey                                                                        |
|   |  equal join conjunct: 18: ps_suppkey = 10: s_suppkey                                                                       |
|   |                                                                                |
|   |----15:EXCHANGE                                                                                |
|   |                                                                                |
|   0:HdfsScanNode                                                                                |
|      TABLE: partsupp                                                                                |
|      NON-PARTITION PREDICATES: 17: ps_partkey IS NOT NULL, 18: ps_suppkey IS NOT NULL                                          |
|      partitions=1/1                                                                                |
|      cardinality=80000000                                                                                |
|      avgRowSize=24.0                                                                                |
|      numNodes=0                                                                                |
|                                                                                |
| PLAN FRAGMENT 3                                                                                |
|  OUTPUT EXPRS:                                                                                |
|   PARTITION: RANDOM                                                                                |
|                                                                                |
|   STREAM DATA SINK                                                                                |
|     EXCHANGE ID: 15                                                                                |
|     UNPARTITIONED                                                                                |
|                                                                                |
|   14:NESTLOOP JOIN                                                                                |
|   |  join op: CROSS JOIN                                                                                |
|   |  colocate: false, reason:                                                                                |
|   |                                                                                |
|   |----13:EXCHANGE                                                                                |
|   |                                                                                |
|   10:Project                                                                                |
|   |  <slot 10> : 10: s_suppkey                                                                                |
|   |  <slot 11> : 11: s_name                                                                                |
|   |  <slot 12> : 12: s_address                                                                                |
|   |  <slot 14> : 14: s_phone                                                                                |
|   |  <slot 15> : 15: s_acctbal                                                                                |
|   |  <slot 16> : 16: s_comment                                                                                |
|   |  <slot 23> : 23: n_name                                                                                |
|   |                                                                                |
|   9:HASH JOIN                                                                                |
|   |  join op: INNER JOIN (BROADCAST)                                                                                |
|   |  colocate: false, reason:                                                                                |
|   |  equal join conjunct: 13: s_nationkey = 22: n_nationkey                                                                    |
|   |                                                                                |
|   |----8:EXCHANGE                                                                                |
|   |                                                                                |
|   1:HdfsScanNode                                                                                |
|      TABLE: supplier                                                                                |
|      partitions=1/1                                                                                |
|      cardinality=1000000                                                                                |
|      avgRowSize=138.4929                                                                                |
|      numNodes=0                                                                                |
|                                                                                |
| PLAN FRAGMENT 4                                                                                |
|  OUTPUT EXPRS:                                                                                |
|   PARTITION: RANDOM                                                                                |
|                                                                                |
|   STREAM DATA SINK                                                                                |
|     EXCHANGE ID: 13                                                                                |
|     UNPARTITIONED                                                                                |
|                                                                                |
|   12:Project                                                                                |
|   |  <slot 1> : 1: p_partkey                                                                                |
|   |  <slot 3> : 3: p_mfgr                                                                                |
|   |                                                                                |
|   11:HdfsScanNode                                                                                |
|      TABLE: part                                                                                |
|      NON-PARTITION PREDICATES: 6: p_size = 15, 5: p_type LIKE '%BRASS'                                                         |
|      MIN/MAX PREDICATES: 53: p_size <= 15, 54: p_size >= 15                                                                    |
|      partitions=1/1                                                                                |
|      cardinality=1                                                                                |
|      avgRowSize=39.6                                                                                |
|      numNodes=0                                                                                |
|                                                                                |
| PLAN FRAGMENT 5                                                                                |
|  OUTPUT EXPRS:                                                                                |
|   PARTITION: RANDOM                                                                                |
|                                                                                |
|   STREAM DATA SINK                                                                                |
|     EXCHANGE ID: 08                                                                                |
|     UNPARTITIONED                                                                                |
|                                                                                |
|   7:Project                                                                                |
|   |  <slot 22> : 22: n_nationkey                                                                                |
|   |  <slot 23> : 23: n_name                                                                                |
|   |                                                                                |
|   6:HASH JOIN                                                                                |
|   |  join op: INNER JOIN (BROADCAST)                                                                                |
|   |  colocate: false, reason:                                                                                |
|   |  equal join conjunct: 24: n_regionkey = 26: r_regionkey                                                                    |
|   |                                                                                |
|   |----5:EXCHANGE                                                                                |
|   |                                                                                |
|   2:HdfsScanNode                                                                                |
|      TABLE: nation                                                                                |
|      NON-PARTITION PREDICATES: 22: n_nationkey IS NOT NULL                                                                     |
|      partitions=1/1                                                                                |
|      cardinality=25                                                                                |
|      avgRowSize=11.08                                                                                |
|      numNodes=0                                                                                |
|                                                                                |
| PLAN FRAGMENT 6                                                                                |
|  OUTPUT EXPRS:                                                                                |
|   PARTITION: RANDOM                                                                                |
|                                                                                |
|   STREAM DATA SINK                                                                                |
|     EXCHANGE ID: 05                                                                                |
|     UNPARTITIONED                                                                                |
|                                                                                |
|   4:Project                                                                                |
|   |  <slot 26> : 26: r_regionkey                                                                                |
|   |                                                                                |
|   3:HdfsScanNode                                                                                |
|      TABLE: region                                                                                |
|      NON-PARTITION PREDICATES: 27: r_name = 'EUROPE'                                                                           |
|      MIN/MAX PREDICATES: 51: r_name <= 'EUROPE', 52: r_name >= 'EUROPE'                                                        |
|      partitions=1/1                                                                                |
|      cardinality=1                                                                                |
|      avgRowSize=8.8                                                                                |
|      numNodes=0                                                                                |
+--------------------------------------------------------------------------------------------------------------------------------+
184 rows in set (0.02 sec)

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

3.1.2-4f3a2ee
This issue happens on both 3.1.1 and 3.1.2.

@stdpain PTAL

@stdpain
W0904 16:09:10.801517 3909583 mem_hook.cpp:266] large memory alloc:<PHONE_NUMBER> bytes, stack:
    @          0x4b4f753  malloc
    @          0x82a09f5  operator new()
    @          0x28dbcbe  std::vector<>::_M_range_insert<>()
    @          0x28df924  starrocks::BinaryColumnBase<>::append()
    @          0x5248bea  starrocks::NullableColumn::append()
    @          0x29dbab3  starrocks::JoinHashTable::append_chunk()
    @          0x2e48a4c  starrocks::HashJoinBuilder::append_chunk()
    @          0x2e427cc  starrocks::HashJoiner::append_chunk_to_ht()
    @          0x2c92849  starrocks::pipeline::HashJoinBuildOperator::push_chunk()
    @          0x2915ca3  starrocks::pipeline::PipelineDriver::process()
    @          0x534d90e  starrocks::pipeline::GlobalDriverExecutor::_worker_thread()
    @          0x4c4df02  starrocks::ThreadPool::dispatch_thread()
    @          0x4c489fa  starrocks::Thread::supervise_thread()
    @     0x7ff7d55ceea5  start_thread
    @     0x7ff7d4be99fd  __clone
    @              (nil)  (unknown)

@Youngwb take a look. may be caused by wrong statistics

bumping up. still an issue in 3.1.3


Can't print pages

the nav bar shows half way down on the second page in print preview.

Seems fine for me.

Given that this type of thing is especially likely to be browser and OS dependent, would you mind spelling out in detail what you're using (and if you can provide screenshots and reproduce on other browsers on the same machine, that'd be marvellous)?

Windows 7.
Old Chrome release (not sure which).
A fix would be, not scrolling down. I might make a pr to the docs_theme later on, given the chance.

Can confirm this with FF 45.0.2 on Win 8.1.
An easy fix would be the creation of a separate CSS file with @media print annotation and to disable the topbar there.

@jamierocks can you please try again and report back? 9dd6bb8 should hopefully fix your issue.

yeah it works great - Thanks ;)


ros2pkg generates license warning messages.

part of https://github.com/osrf/ros2_test_cases/issues/954

This needs to be aligned with https://github.com/ros2/ros2cli/pull/827
CC: @Yadunund @clalancette

@clalancette thanks, that makes sense to me. i will update it as you suggested.

@clalancette requesting another review. thanks in advance.


TurtleShroom Productions Proudly Presents: Based Fungi Overhaul

This Pull Request incorporates massive improvements and changes to the Fungi Mod, comprising a comprehensive and exciting experience for players, including compatibility for many, many Mods.

Tried this and got the following errors when starting the game:
Exception parsing
HairStyle
 to type Verse.EndogeneCategory: System.ArgumentException: Exception parsing Verse.EndogeneCategory from "HairStyle"
Exception parsing
BeardStyle
 to type Verse.EndogeneCategory: System.ArgumentException: Exception parsing Verse.EndogeneCategory from "BeardStyle"
Exception parsing
Fur
 to type Verse.EndogeneCategory: System.ArgumentException: Exception parsing Verse.EndogeneCategory from "Fur"
Could not resolve cross-reference to Verse.PawnKindDef named TSP_VFEF_FakeFungi (wanter=kindDefs)

I think I forgot to deploy the MAYREQUIRE system. I will check.
Sent from Mail.ru app for Android Sunday, 15 October 2023, 03:36PM -04:00 from Mlie  @.*** :

Tried this and got the following errors when starting the game:
Exception parsing

HairStyle to type Verse.EndogeneCategory: System.ArgumentException: Exception parsing Verse.EndogeneCategory from "HairStyle"
Exception parsing
BeardStyle to type Verse.EndogeneCategory: System.ArgumentException: Exception parsing Verse.EndogeneCategory from "BeardStyle"
Exception parsing
Fur to type Verse.EndogeneCategory: System.ArgumentException: Exception parsing Verse.EndogeneCategory from "Fur"
Could not resolve cross-reference to Verse.PawnKindDef named TSP_VFEF_FakeFungi (wanter=kindDefs)

—
Reply to this email directly,  view it on GitHub , or  unsubscribe .
You are receiving this because you authored the thread. Message ID:  @ github . com>

Tried this and got the following errors when starting the game

Okay, try now.

Published in 510ecd7
Fixed the faulty Name="FungiMelee" in the TSP_FungiSlave def


5.1.1 release fails to install

Failure log:
npm ERR! code 254
npm ERR! path /home/runner/work/generator-jhipster/generator-jhipster/app/node_modules/postcss-rtlcss
npm ERR! command failed
npm ERR! command sh -c npx -y only-allow pnpm
npm ERR! npm ERR! code ENOENT
npm ERR! npm ERR! syscall lstat
npm ERR! npm ERR! path /home/runner/work/generator-jhipster/generator-jhipster/app/target/lib
npm ERR! npm ERR! errno -2
npm ERR! npm ERR! enoent ENOENT: no such file or directory, lstat '/home/runner/work/generator-jhipster/generator-jhipster/app/target/lib'
npm ERR! npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! npm ERR! enoent

Looks related to added preinstall script:
https://github.com/elchininet/postcss-rtlcss/blob/231ca43aa49f49e74f6592480a1506dc9f554df4/package.json#L55
https://github.com/jhipster/generator-jhipster/pull/25836
https://github.com/jhipster/generator-jhipster/pull/25825

Hi @mshima,
Do you know what process tries to execute the postinstall script from postcss-rtlcss preprending sh -c?
Regards

It doesn't matter what is trying to execute the script, it was created only to avoid confussion with multiple package managers but i am using pnpm for all my packages so this is not needed anymore. I'll release a patch with the removal.

I've tried to reproduce manually and failed, not sure why it's executed in the specific use case.
Thanks for the quick reply and fix.

I've tried to reproduce manually and failed, not sure why it's executed in the specific use case.

Do not waste time trying to reproduce it, it doesn't worth the effort 🙂
Version 5.1.2 has been released with the patch.
Regards


Fix service startup command.

Shouldn't this be systemctl?

Why, yes it should be, and thank you for the PR.  I did actually catch this issue before I saw the PR, so I'm going to close this, but if you see any other typos please feel free to open more PRs!


Add icon for Uber

Added an icon for Uber.
The original png added to IssuerIcons/ has 3500x3500, as opposed to 1024x1024 as asked in the description. So, if you want to change that, just comment and I will make another commit.
Furthermore, why not let Linux users use imagemagick conversion instead of sips? I don't have a Mac and used the following code to do the conversion, which outputs the exact same result, or a better image:
convert "$file" -resize 192<EMAIL_ADDRESS>>/dev/null
convert "$file" -resize 128<EMAIL_ADDRESS>>/dev/null
convert "$file" -resize 64 "${imageset}${name}.png" >/dev/null

Edit: updated the code markdown because I forgot to use it
Edit 2: made some changes to improve the readability

My version of GenerateIssuerIconAssets.sh for reference:
#!/usr/bin/env bash
set -euo pipefail

get_name() {
  echo $1 | sed -E 's:.+/(.+)\.png:\1:'
}

write_json() {
  # JSON copied from Xcode output
  cat << EOF > "$2"
{
  "images" : [
    {
      "idiom" : "universal",
      "filename" : "${1}.png",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename"<EMAIL_ADDRESS>      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename"<EMAIL_ADDRESS>      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
EOF
}

cd "$(dirname "$0")"
for file in ./IssuerIcons/*.png; do
  name="$(get_name $file)"
  echo "Generating icon for ${name}"
  imageset="./Tofu/Assets.xcassets/${name}.imageset/"
  mkdir -p "$imageset"
  convert "$file" -resize 192<EMAIL_ADDRESS>>/dev/null
  convert "$file" -resize 128<EMAIL_ADDRESS>>/dev/null
  convert "$file" -resize 64 "${imageset}${name}.png" >/dev/null
  write_json "$name" "${imageset}Contents.json"
done

Hey @robozatiTemp, thanks so much for the icon and sorry for not getting back to you earlier.
The reason we use sips is that it is installed by default on macOS, which is required to build the app. Always using sips means we can re-generate all icons without creating binary diffs for unchanged icons.
I really appreciate your contribution and the icon looks great but I will close this PR in favor of #71 since that also includes an Uber icon and is up to date with the current master.


ROADMAP

Android

[X] connect
[X] connect with options
[X] disconnect
[X] add event listener without acknowledgement
[X] emit event without acknowledgement
[X] add event listener with acknowledgement
[X] emit event with acknowledgement
[X] remove all event listeners
[X] remove particular event listener
[X] add one-time event listener

iOS

[X] connect
[X] connect with options
[X] disconnect
[X] add event listener without acknowledgement
[X] emit event without acknowledgement
[X] add event listener with acknowledgement
[X] emit event with acknowledgement
[X] remove all event listeners
[X] remove particular event listener
[X] add one-time event listener

TODO

[ ] migrate to nativescript-plugin-seed
[ ] write tests or make socket.io-client tests work for this plugin
[ ] make verified

Feature
Android
iOS

connect
yes
yes

connect with options
yes
WIP

disconnect
yes
WIP

add event listener without acknowledgement
yes
WIP

emit event without acknowledgement
yes
WIP

add event listener with acknowledgement
yes
WIP

emit event with acknowledgement
yes
WIP

remove all event listeners
bug (#2)
WIP

remove particular event listeners
bug (#2)
WIP

Can I help you migrate to nativescript-plugin-seed @naderio ?

hi @shiv19, thank you for your initiative
I'm working on migration to nativescript-plugin-seed already, once I push the initial version I would need help with testing on iOS and writing tests for both platforms


Too much duplicated effort creating new filters for browsing in apostrophe-pieces-pages

A lot of people are setting perPage to a giant number or doing a lot of extra queries that fetch All The Things in order to list the distinct tags, or topics, or related kittycats, or what have you. This is a real bummer. It does not scale at all. We should be letting pagination do its job, and populating filters in a scalable way.
We can do better. I propose a browseFilters option to apostrophe-pieces-pages:
'cat-people-pages': {
  extend: 'apostrophe-pieces-pages',
  browseFilters: [
     // Simple single-select filter
    'tags',
    // Multiple-select, additive filter. "subtractive" would work too
    {
      name: '_kittycats',
      type: 'additive'
    }
  ]
}

Now you would automatically have data.filters.tags and data.filters._kittycats at your disposal in index.html.
Each of these would be an array of all the distinct values for these fields, ready to be used as an array of choices (with label and value properties). Since _kittycats is a join in the schema for cat-people, pieces-pages would execute that join in a really minimal and efficient way to get the names of the kitties as the labels.
If you are already filtering by tag, then the list of kittycats is restricted to kittycats with that tag, so that adding one more filter does not produce a boring/frustrating result. Basically every filter’s list of choices honors all the filters except itself.
This would give us back something we had in a pretty powerful way in A1.5, except it was too hard to understand because SQL and Doctrine and pain.
There will always be some weirdass case where you’re adding some queries in beforeIndex, and there are better and worse ways to do that, but I want to make the temptation to Just Get Everything go away and also eliminate the need to write custom cursor filters for most cases, which, while super powerful, is hard to wrap your head around.

Hello Tom,
Just be carefull with the sorting here. In the case of _kittycats, that list may have to be sorted through some other property which has nothing to do with the "Label" or "Value". Note that in 0.5 "list" are text sorted on the Label which is not ideal, and takes considerable effort to change (at least to me)
Other than that, this will save a lot of async code.
Disclaimer: I haven't touched 0.6 yet

You really should engage with 0.6 (: We have several production projects
now, and unstable.apostrophenow.org is going to be the new apostrophenow.org
with a few days. It'll be published as 2.0.0.
On Tue, Aug 23, 2016 at 11:30 AM, Fotis Paraskevopoulos <
<EMAIL_ADDRESS>wrote:

Hello Tom,
Just be carefull with the sorting here. In the case of _kittycats, that
list may have to be sorted through some other property which has nothing to
do with the "Label" or "Value". Note that in 0.5 "list" are text sorted
on the Label which is not ideal, and takes considerable effort to change
(at least to me)
Other than that, this will save a lot of async code.
Disclaimer: I haven't touched 0.6 yet
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/625#issuecomment-241771621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fd5_CZ2RtwuMftANILI81jO98Y57ks5qixIsgaJpZM4JhaxH
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

This got a lot easier with the decision to provide autoloading for cursor.js files. Still, I think we'll soon want to provide a good way to obtain the distinct values of a field on every index page through module configuration, etc. There are patterns for this that were worked out in 1.5 which I think we can carry through here in a better way. I don't think that we need to drown people in templates we expect them to use, I just want to give them an easy way to build the correct links, which is intuitive yet nontrivial (:

Back end support for scalable, sharable AJAX filters in apostrophe-pieces-pages
Time has passed, more sites have been built and I'm seeing lots of things that are unsustainable when there are more than 100 or so pieces, because folks resort to fetching everything all the time and asking the browser to cope with it all. This will just fall over and go boom on a site with a decent number of pieces.
I see a strong need to make server side rendering with tag filtering links, etc. and AJAX easy enough that nobody is tempted to reinvent it and break basic requirements like sharability, back button compatibility, pagination and scalability.
So looking again at the proposed browseFilters option for apostrophe-pieces-pages, with one addition:
'cat-people-pages': {
  extend: 'apostrophe-pieces-pages',
  browseFilters: [
     // Simple single-select filter
    'tags',
    // Multiple-select, additive filter. "subtractive" would work too
    {
      name: '_kittycats',
      type: 'additive'
    },
    {
      name: '_author',
      autocomplete: true
    }
  ]
}

The new autocomplete: true option allows us to say we want an autocomplete API call available for this field but we don't want an array of distinct values pushed to the browser (because it would be too large).
As I mentioned before:
"If you are already filtering by tag, then the list of kittycats is restricted to kittycats with that tag, so that adding one more filter does not produce a boring/frustrating result. Basically every filter’s list of choices honors all the filters except itself." This is a really important UX design feature to provide intuitive filtering which was worked out in earlier versions of Apostrophe and should be carried forward.
Front end support
It can and should often be completely overridden with project-specific markup, but I think it makes sense to output these filters nicely in the default templates for pieces-pages, so that folks see what they can do with the data we're providing above. It would be there to teach the API really, not as markup you must use.
But again... it's about providing the data any markup will want.
AJAX
It's high time we used Apostrophe's excellent support for refreshing the content area after an edit to handle front-end AJAX too. The main barrier is that it doesn't currently deal with updating the URL for back button and sharing purposes (that's not relevant when editing the site).
This is a really small missing piece. We should find or, if we must, build a simple and correct jQuery extension for ensuring that the AJAX query becomes part of the URL and the browser history and make it part of our frontend, logged-out world.
cc @colpanik @agilbert @stuartromanek

@fotisp made a point about sorting which is well taken, fortunately that should be an easy one: when configuring a browseFilter for a join field, you should be able to toss in a filters property which does what they always do... passes its properties on as filter method calls when fetching the join.
sort is a cursor filter, so there you go:
browseFilters: [
    {
      name: '_office',
      sort: { size: -1 }
    }
  ]

However having the default sort be on the title (case insensitive, via titleSortified) is such a common preference for this kind of filtering that we should do that, and let an explicit sort option override if provided, rather than using the default sort for the type we're joining with. End users usually know which one they want and expect to be able to find it alphabetically or get cranky (:

Progress:
https://github.com/punkave/apostrophe/compare/browse-filters
Automatic addition of cursor filters for all schema fields; initial support for browseFilters option for apostrophe-pieces-pages; 2x speedup of typical index pages even when this is not even being used
Not sending a PR yet because there are some features we specified above that haven't been built yet and are easy enough to drop in. Would also like to get some frontend sample macros going to give devs a feel for it even if they will almost always not use them directly.

@boutell you're proposing browseFilters to avoid confusion with standard mongodb filters correct? But once you get into the guts of the code, everything is just filters: getFilters, addFilters, etc. Trying to make sure I'm not confused by the naming conventions here.
Either way, for some reason I am still hesitant about using browse as a prefix to label this object. It sounds to me like a somewhat arbitrary way of describing the way the data might be used. It's specific to a certain UX perspective / nomenclature that feels prescriptive and limiting. Would be interested in others thoughts on this.
I might also consider renaming cursorFilterInterested... isn't this just a check to see if it has a value? Could this be named more explicitly?
Ok enough with my usual grousing about naming. It looks like the biggest lift here is defining the filter behavior for each schema field type, right? It's surprising to see how much code this adds to almost all of the field type definitions, but I guess that makes sense. Then moving forward, any new field types that you might extend apostrophe-schemas with would also require code for filtering them?

Alex, I went with "browseFilters" for the reasons you're thinking of... we're still talking about apostrophe-cursor filters either way, but the "filters" option for widgets and joins actually calls them with certain values, while the "browseFilters" option to apostrophe-pieces says which ones you'd like to be provided with dropdown menu / autocomplete / link building choices for (and perhaps some UI built by macros, by default, although it would be easy to override that).
But, it's actually a given that "apostrophe-pieces-pages" is all about browsing. I mean, as soon as you see "apostrophe-pieces-pages" you know it's a window into apostrophe-pieces...
And differences in the meanings of options for different modules are unavoidable.
So it's probably OK to just call this puppy "filters."
I don't foresee it being mandatory that every schema field type support filters. Some of them already don't (areas and singletons would be quite a tough lift requiring a bunch of denormalization; arrays less so but I haven't had time to think about it; attachments, although come to think of it, a simple "has attachment" filter is useful; and some rarely used types I just haven't prioritized for this first go-round).

 Easier filtering for content in Pieces Pages

Resolved in #766


Registering a simple webhook

Issue summary
I've been attempting to register a simple webhook for users that want to request their personal data. Tried pretty much everything, and look through every shopify forums on this, "read_customers, write_customers" scopes are in env. The error message is "No webhook is registered for topic customers/data_request"
createShopifyAuth({
  async afterAuth(ctx) {

     ...

     const response = await Shopify.Webhooks.Registry.register({
          shop,
          accessToken,
          path: "/webhooks",
          topic: "customers/data_request",
          webhookHandler: async (payload) => {
               console.log("WEBHOOK FIRED")
          }
     });

     if (!response.success) {
          console.log( `Failed to register webhook: ${response.result}`
     );

     ...

     }
}

You have to add endpoint to app dashboard

they're there, the webhook doesn't register or fire

they're there, the webhook doesn't register or fire

@smotched this is a shot in the dark but I don't think you actually have to register the GDPR webhooks in the code just in the admin, as the topic you're trying to register doesn't actually exist it could be erroring out because of that.
Also if you're using a body parsing package like koa-body-parser make sure you're excluding your webhooks route from it because that could also block incoming webhooks. Here is my approch
  server.use(async (ctx, next) => {
    if (ctx.path === "/graphql" || ctx.path === "/webhooks") {
      return await next();
    }
    await bodyParser({
      extendTypes: {
        json: ["text", "text/plain"],
      },
    })(ctx, next);
  });

Again unsure if this will help but this is how I resolved a similar situation


Default mid-point bar wrong when using numType: absolute

Here's an example of the mid bar not working correctly when numMax is 50 or below (actually it doesn't work for anything below 100 it seems). Not only is the bar at the wrong place, but when <50, the bar is off the chart. My use case: I need bars to represent heights of people in a competition. I effectively want the bar to range from 36 inches to 48 inches.
var opt = { numType: 'absolute', numMin:0, numMax:50, numMinLabel: true, numMaxLabel:true };
$('#bar1').barIndicator(opt);
49

40
var opt = { numType: 'absolute', numMin:0, numMax:48, numMinLabel: true, numMaxLabel:true };
$('#bar1').barIndicator(opt);

When numMin + numMax < 100 the median bar is past the end.


[Urgent] VpnGatePlugin(*.dll) source code is not publicly?

Resource file:
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/PenCore/PenCore.rc
Code file:
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/Cedar/VG.c
The above documents, I can't find the actual implementation code. Not publicly?
For example: the dialog(D_VGC_LIST) -> button(B_REFRESH) click event code in where? (See attachment)
Excuse me, I should how to modify the B_REFRESH button click event? Where to???

Nop. Looks like it is not part of the OpenSource Repository and is not being generated when compiling the code.


hide REGISTRATION_TOKEN env

also don't use deprecated gitlab-runner name.
copied from (private) image that i maintain ;)

Thank you very much :-)


v3.23.1 Felixconfiguration: workloadSourceSpoofing validator expects "Any)" instead of "Any"

workloadSourceSpoofing validator expects "Any)" instead of "Any"
Expected Behavior
We are trying to pass the FelixConfiguration w/ new workloadSourceSpoofing: Any spec.
This should work properly and felixconfig should be applied w/o issues.
Current Behavior
Currently this will throw an error:
Hit error(s): [error with field WorkloadSourceSpoofing = 'Any' (Reason: failed to validate Field: WorkloadSourceSpoofing because of Tag: oneof )]

Possible Solution
There seems to be a typo in felixconf.go where instead of oneoff beeing Any it is Any).
https://github.com/projectcalico/calico/blob/b15773370b72c67d68075037f5012f5337228ab3/api/pkg/apis/projectcalico/v3/felixconfig.go#L455
Temp workaround (which will probably not work if someone really want's to use the service is to try to apply):
workloadSourceSpoofing: Any)...
This applies w/o errors.
Steps to Reproduce (for bugs)
Have v3.23.1 calico (k8s 1.21.3)

Try to apply the felixconfig  where workloadSourceSpoofing is set to Any.

 ---
    apiVersion: projectcalico.org/v3
    kind: FelixConfiguration
    metadata:
      name: default
    spec:
      workloadSourceSpoofing: Any
      bpfLogLevel: ""
      logSeverityScreen: Info
      reportingInterval: 0s

Apply this using calicoctl apply -f myfelixconf.yml
Error message appears:

Failed to apply 'FelixConfiguration' resource: [error with field WorkloadSourceSpoofing = 'Any' (Reason: failed to validate Field: WorkloadSourceSpoofing because of Tag: oneof )]

Context
Your Environment
Client Version:    v3.23.1
Git commit:        967e24543
Cluster Version:   v3.23.1
Cluster Type:      k8s,bgp,kubeadm,kdd

k8s version: v1.21.3

Thank you for the report @anaperic , I just opened #6280 to fix this.


[Tracking Issue] Skip slow tests on PRs

Tracking issue for work done on adding an @slow decorator to skip some tests in CI during pre-submit.

[x] Merge RFC apache/tvm-rfcs#55
[x] Add @slow decorator #10057
[x] Investigate slow tests identified in https://discuss.tvm.apache.org/t/rfc-ci-skip-slow-tests-on-prs/11910

cc @mbrookhart  @driazati

Next steps:

[ ] Re-generate the list of slow tests, since the long pole may have changed
[ ] Triage those tests and determine if we can move any to post-merge build now via new @slow decorator.

the @tvm.testing.slow decorator is merged


Universal cables and EnderIO power buffer.

When I disconnect a Mekanism Universal cable from a enderio power buffer, my server crashes.
EnderIO: <IP_ADDRESS>1
Minecraft: 1.7.10
Forge: <IP_ADDRESS>8
Mekanism <IP_ADDRESS>1
Crash Report:
http://pastebin.com/JvxUHqAf

Seems like a problem from ender io.
Try to update to latest beta (427) and see if problem persists.

Yeah, does not appear to be on my end.


Support returning multiple values from _apply_full_axis

What is the need for this?

This is request from oneDAL team. They are currently implementing some prototype for their distributed algorithms with using Modin, namely, _apply_full_axis. In order to be compatible with scikit-learn they asked us to implement returning of multiple values from _apply_full_axis. I think this feature is useful for us as well because there are some functions (like pandas.DataFrame.align) which return multiple values. I have already provided the feature related to returning of multiple values from _apply_full_axis to oneDAL team  and currently I am doing pd.DataFrame.align implementation.

I am closing the issue because we implemented another approach for distributed ML algorithms.
Having tested the performance for aling method with the feature of returning multiple values from _apply_full_axis it turned out the execution time of Modin implementation is significantly more than pandas. We will need to think of another implementation for align.

I am closing the issue because we implemented another approach for distributed ML algorithms.
Having tested the performance for aling method with the feature of returning multiple values from _apply_full_axis it turned out the execution time of Modin implementation is significantly more than pandas. We will need to think of another implementation for align.


Windows Support

How can i set it up for windows excel?

@MalikSamiAwan
currently I don't have the readme section, but you can start with side loading for windows
https://learn.microsoft.com/en-us/office/dev/add-ins/testing/create-a-network-shared-folder-catalog-for-task-pane-and-content-add-ins

@Arenukvern Thanks for answering
But its not working i even tried this method on this sample raw
https://raw.githubusercontent.com/xsoulspace/sheets_manager_excel_addin/develop/manifests/office_manifest.xml

Thanks for helping it is resolved


add replaces tag to csv - and run make bundle

Signed-off-by: Chris Ahl<EMAIL_ADDRESS>Part 2 of issue https://github.com/open-cluster-management/backlog/issues/17921
Forgot to run make bundle after csv template change

/lgtm


Add license

We need one. Add the MIT license and precede it with a Red Hat copyright notice (Copyright 2018 Red Hat, Inc.).
https://opensource.org/licenses/mit-license.php
Where do we need to add it though?

It should go in a LICENSE file at the root and in a comment at the top of every source file.


Starting to get MBASIC.com to work

This pull-request allows MBASIC.COM to launch and run :)
Once complete it will close #49, and as part of the implementation changes introduced in this pull-request #50 will also be closed.
There are two main changes to get MBASIC running, and that is largely because it is not a "well-behaved" application:

We setup fake entrypoints in the zero-page.

This ensures that the various RST XXX instructions will ultimately jump to our handlers.
This is necessary because mbasic is not well-behaved, and doesn't invoke CP/M functions via call 0x0005.

We implemented the aux I/O routines.

The output routine attempts to convert vt52/adm3a to ANSI

This pull-request, as-is, works well enough to launch and operate mbasic however there are some spurious output characters that need to be eliminated..

So previously I said:

BUT it produces spurious output characters.

All the code uses A_READ and A_WRITE for its functionality, however the spurious characters are coming from calls to C_WRITE - which should not be happening.
Since it is "illadvised" to mix AUX and CON functions I think I just disable the C_WRITE call after A_READ or A_WRITE have been used.  Needs to be tested.
Unless something is wrong in my indirection, via OUT, I think this is a weird issue to see.  Seems like the cause is easy to understand, but the reason?  Bug?  Unexpected thing I'm missing?


When will you release the source code and pre-trained model?

The source code has been released. Please check it in src


Question: DependencyProperty => RegisterReadOnly method missing ???

Hi,
I am currently doing some prototypes migrating custom controls available in our end from WPF to WinUI.
During prototype I noticed that, in our end there are some WPF custom controls using DependencyProperty ( from System.Windows ) and the equivalent type DependencyProperty is available in WinUI ( from Microsoft.UI.Xaml ).
WPF DependencyProperty contains both Register and RegisterReadOnly method whereas WinUI DependencyProperty doesnot contain RegisterReadOnly method.
These implementations will be available soon in near WinUI Preview release ?
I am using right now
VS => Version 16.7.0 Preview 5.0
.Net SDK => dotnet-sdk-5.0.100-preview.4.20268.1-win-x64 / dotnet-sdk-5.0.100-preview.4.20268.1-win-x86
Code Snippet
private static readonly DependencyPropertyKey IsXyzPropertyKey =
DependencyProperty.RegisterReadOnly("IsXyz", typeof(bool), typeof(CustomControlExample), new PropertyMetadata(false));
public static readonly DependencyProperty IsXyzProperty = IsMultipleCalendarPropertyKey.DependencyProperty;
public bool IsMultipleCalendar
{
get {
return (bool)GetValue(IsXyzProperty);
}
protected set {
                 SetValue(IsXyzPropertyKey, value);
	  }

}
Thanks.

I ran across the same issue a while ago and ended up asking in the Microsoft Docs repo at the time:
https://github.com/MicrosoftDocs/windows-uwp/issues/1878
Read-only dependency properties are especially important to implement collections. However, in UWP Collection-Type Dependency Properties are not supported. In fact, in UWP SelectedItems isn't even a DP which is really bad architecture. All of this needs to be tackled at once IMO to bring the DP system in-line with WPF.
Like you I ran across this issue with custom controls.

There's no near-term plan to add RegisterReadOnly. Agreed it's a useful feature, and should be used for some existing properties like TwoPaneView.Mode and MenuBar.Items.

There's no near-term plan to add RegisterReadOnly. Agreed it's a useful feature, and should be used for some existing properties like TwoPaneView.Mode and MenuBar.Items.

Thanks for the feedback. In my experience, if there is no near-term plan then there is no plan to do it and it likely won't happen. Honestly, doing it during WinUI 3.0 is really the best shot as well since it's a breaking change to do it properly and add to existing controls.

@ranjeshj @StephenLPeters @ryandemopoulos
I'll state this here but it could apply to many different issues. @VijayanRamachandran and all the issues he's filed recently is a good illustration of the problems many of us went through a while ago during the initial migration from WPF to UWP. This is now happening again as devs and companies are looking at going to WinUI. Missing features like this left a really bad taste for devs and it's one of the reasons UWP was never successful. Honestly, the goal needs to be to close ALL missing functionality with WPF in areas such as these where the feature hasn't been reimplemented another way.

Seeing a bulk of UWP vs. WPF issues. For example #3074, #3073, #3040, and this. For all of these, these are totally valid requests. But we are coming at this from the perspective of moving UWP XAML out of of Windows into a separate thing. Changes to the UWP API have to be handled as such: changes. These changes have cost, so we need to be intentional about what we do when, so I'm sorry to ask that these asks all go through the proposal process but that's the way we handle asks and can weigh cost/benefit. I appreciate your situation and the effort you've put in so far to identify gaps in the platform.

Created feature-request here: https://github.com/microsoft/microsoft-ui-xaml/issues/3139