🐛 Execution failed for task ':react-native-vision-camera:compileDebugKotlin'.

What were you trying to do?
When I run npm i react-native-vision-camera and npm run android, the error ':react-native-vision-camera:compileDebugKotlin' appears.
I have downgraded the react-native-vision-camera to 2.13.0 and raised the react-native version to 0.68.2, but it still doesn't work. (https://github.com/mrousavy/react-native-vision-camera/issues/1012)
And I tried a lot of other things, but they all failed.
Reproduceable Code
Gradle JDK : Android Studio default JDK, version 11.0.10
--------------------------------------------------------
* package.json
react-native: ^0.65.1
react-native-vision-camera: ^2.13.5
--------------------------------------------------------
*gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-------------------------------------------------------------------
*build.gradle(android)
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        RNNKotlinVersion = "1.3.61"
        buildToolsVersion = "30.0.2"
        minSdkVersion = 21
        compileSdkVersion = 31
        targetSdkVersion = 31
        ndkVersion = "21.4.7075529"
        versions = [
            'gradle'                    : '4.2.2',
            'kotlin'                    : '1.4.10',
        ]
        androidXCore = "1.7.0"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:${versions.gradle}")
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        classpath 'com.google.gms:google-services:4.3.10'
    }
}

allprojects {
    repositories {
        mavenLocal()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url("$rootDir/../node_modules/react-native/android")
        }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
        }

        google()
        jcenter()
        flatDir {
            dirs 'libs'
        }
        maven { url 'https://www.jitpack.io' }
    }
}
----------------------------------------------------
*build.gradle(app)
apply plugin: "com.android.application"
// apply from: "../../node_modules/react-native/react.gradle"
apply plugin: 'com.google.gms.google-services'

import com.android.build.OutputFile

/**
 * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
 * and bundleReleaseJsAndAssets).
 * These basically call `react-native bundle` with the correct arguments during the Android build
 * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
 * bundle directly from the development server. Below you can see all the possible configurations
 * and their defaults. If you decide to add a configuration block, make sure to add it before the
 * `apply from: "../../node_modules/react-native/react.gradle"` line.
 *
 * project.ext.react = [
 *   // the name of the generated asset file containing your JS bundle
 *   bundleAssetName: "index.android.bundle",
 *
 *   // the entry file for bundle generation. If none specified and
 *   // "index.android.js" exists, it will be used. Otherwise "index.js" is
 *   // default. Can be overridden with ENTRY_FILE environment variable.
 *   entryFile: "index.android.js",
 *
 *   // https://reactnative.dev/docs/performance#enable-the-ram-format
 *   bundleCommand: "ram-bundle",
 *
 *   // whether to bundle JS and assets in debug mode
 *   bundleInDebug: false,
 *
 *   // whether to bundle JS and assets in release mode
 *   bundleInRelease: true,
 *
 *   // whether to bundle JS and assets in another build variant (if configured).
 *   // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
 *   // The configuration property can be in the following formats
 *   //         'bundleIn${productFlavor}${buildType}'
 *   //         'bundleIn${buildType}'
 *   // bundleInFreeDebug: true,
 *   // bundleInPaidRelease: true,
 *   // bundleInBeta: true,
 *
 *   // whether to disable dev mode in custom build variants (by default only disabled in release)
 *   // for example: to disable dev mode in the staging build type (if configured)
 *   devDisabledInStaging: true,
 *   // The configuration property can be in the following formats
 *   //         'devDisabledIn${productFlavor}${buildType}'
 *   //         'devDisabledIn${buildType}'
 *
 *   // the root of your project, i.e. where "package.json" lives
 *   root: "../../",
 *
 *   // where to put the JS bundle asset in debug mode
 *   jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
 *
 *   // where to put the JS bundle asset in release mode
 *   jsBundleDirRelease: "$buildDir/intermediates/assets/release",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in debug mode
 *   resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in release mode
 *   resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
 *
 *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means
 *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
 *   // date; if you have any other folders that you want to ignore for performance reasons (gradle
 *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
 *   // for example, you might want to remove it from here.
 *   inputExcludes: ["android/**", "ios/**"],
 *
 *   // override which node gets called and with what additional arguments
 *   nodeExecutableAndArgs: ["node"],
 *
 *   // supply additional arguments to the packager
 *   extraPackagerArgs: []
 * ]
 */

project.ext.react = [
    enableHermes: false,  // clean and rebuild if changing
]

apply from: "../../node_modules/react-native/react.gradle"

/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = false

/**
 * The preferred build flavor of JavaScriptCore.
 *
 * For example, to use the international variant, you can use:
 * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
 *
 * The international variant includes ICU i18n library and necessary data
 * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
 * give correct results when using with locales other than en-US.  Note that
 * this variant is about 6MiB larger per architecture than default.
 */
def jscFlavor = 'org.webkit:android-jsc:+'

/**
 * Whether to enable the Hermes VM.
 *
 * This should be set on project.ext.react and mirrored here.  If it is not set
 * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
 * and the benefits of using Hermes will therefore be sharply reduced.
 */
def enableHermes = project.ext.react.get("enableHermes", false);

android {
    ndkVersion rootProject.ext.ndkVersion

    compileSdkVersion rootProject.ext.compileSdkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }

    defaultConfig {
        applicationId "com.successmode.ktp"
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode 14011
        versionName "2.0.0"
        // missingDimensionStrategy 'react-native-camera', 'general'
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "arm64-v8a" // If debug mode with emulator add x86 and x86_64
        }
    }
    signingConfigs {
        debug {
            storeFile file('debug.keystore')
            storePassword 'android'
            keyAlias 'androiddebugkey'
            keyPassword 'android'
        }
         release {
            if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
                storeFile file(MYAPP_RELEASE_STORE_FILE)
                storePassword MYAPP_RELEASE_STORE_PASSWORD
                keyAlias MYAPP_RELEASE_KEY_ALIAS
                keyPassword MYAPP_RELEASE_KEY_PASSWORD
                }
            }
    }
    buildTypes {
        debug {
            signingConfig signingConfigs.debug
            resValue "string", "CodePushDeploymentKey", '""'
        }
        releaseStaging {
            // Caution! In production, you need to generate your own keystore file.
            // see https://reactnative.dev/docs/signed-apk-android.
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
            resValue "string", "CodePushDeploymentKey", '"F88PeZ0vM9zz05I2TLFfHZq3R6rnk3ZuKimTU"'

            // Note: It is a good idea to provide matchingFallbacks for the new buildType you create to prevent build issues
            // Add the following line if not already there
            matchingFallbacks = ['release']
        }
        release {
            // Caution! In production, you need to generate your own keystore file.
            // see https://reactnative.dev/docs/signed-apk-android.
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
            resValue "string", "CodePushDeploymentKey", '"pTo1lyqJdv-0M1SmILjNyLKjZtC6MO9FndfF5"'
        }
    }

    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // https://developer.android.com/studio/build/configure-apk-splits.html
            // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc.
            // def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
            def versionCodes = ["armeabi-v7a": 1, "arm64-v8a": 2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        defaultConfig.versionCode * 1000 + versionCodes.get(abi)
            }

        }
    }

    // REDUCE SDK SIZE
    packagingOptions {
       aaptOptions {
           ignoreAssetsPattern "module_energy:module_barcode:module_document:module_license_plate"
       }
    }
}

dependencies {
    // Import the Firebase BoM
    implementation platform('com.google.firebase:firebase-bom:29.2.1')

    // Add the dependency for the Firebase SDK for Google Analytics
    // When using the BoM, don't specify versions in Firebase dependencies
    implementation 'com.google.firebase:firebase-analytics'

    // Add the dependencies for any other desired Firebase products
    // https://firebase.google.com/docs/android/setup#available-libraries

    if (enableHermes) {
        def hermesPath = "../../node_modules/hermes-engine/android/";
        debugImplementation files(hermesPath + "hermes-debug.aar")
        releaseImplementation files(hermesPath + "hermes-release.aar")
    } else {
        implementation jscFlavor
    }

    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation files("/Users/jinheui/Library/Android/sdk/platforms/android-31/android.jar")

    //noinspection GradleDynamicVersion
    implementation "com.facebook.react:react-native:+"  // From node_modules
    //implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"

    debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
      exclude group:'com.facebook.fbjni'
    }

    debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
        exclude group:'com.facebook.flipper'
        exclude group:'com.squareup.okhttp3', module:'okhttp'
    }

    debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
        exclude group:'com.facebook.flipper'
    }
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"

What happened instead?
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':react-native-vision-camera:compileDebugKotlin'.

Compilation error. See log for more details

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

Get more help at https://help.gradle.org

BUILD FAILED in 47s
at makeError (/Users/jinheui/hjh/success/ktp/node_modules/@react-native-community/cli-platform-android/node_modules/execa/index.js:174:9)
at /Users/jinheui/hjh/success/ktp/node_modules/@react-native-community/cli-platform-android/node_modules/execa/index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (/Users/jinheui/hjh/success/ktp/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
at async Command.handleAction (/Users/jinheui/hjh/success/ktp/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:192:9)

info Run CLI with --verbose flag for more details.
Relevant log output
e: /Users/jinheui/hjh/success/ktp/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/utils/withPromise.kt: (14, 13): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0.
The class is loaded from /Users/jinheui/.gradle/caches/transforms-2/files-2.1/dd29d72351235421935757ac7419235d/jetified-kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class

/Users/jinheui/.gradle/caches/transforms-2/files-2.1/6adc402019d26e4e20d80e41f02ced82/jetified-kotlin-stdlib-common-1.6.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0.

Device
Pixel 2 API 29 (virtual device)
VisionCamera Version
2.13.5
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

I have a similar problem, it was compiling fine last month and now it fails all the time, it is also possible that something in my Linux environment changed...

+1

An update, I completely deleted my ndk and cmake compiler from the android sdk folder and reinstalled them from android studio, It was a really frustrating problem, but anyway that fixed it.
note: I installed ndk version 21.4.7075529 and 24.0.8215888 and all cmake versions.
hope this helps !!

+1

+1

+1

+1

Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3.
I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here?
Here's an instruction on how you can test that: https://github.com/mrousavy/react-native-vision-camera/pull/1674#issuecomment-1684104217
If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉
Otherwise please let me know and I'll keep this issue open to keep track of it.
Thank you!


Write the game rules

Link to #28

Include a prompt to start brainstorming ideas

Draft rules here: https://github.com/meagdoh/data-and-friends/blob/master/game_rules.md
Provide comments on this issue, or feel free to fork and PR your changes


How to run ConQueR code?

The command is "efg_run task", but how could I run the ConQueR code?
Thank you.

OK, I understand, just cd into the playground dir then run the command, but if I want to debug the code, is there a good methods？

efg_run operates on single GPU by default, if you want to inspect dataloaders, you can dynamically set dataloader.numworkers. for example:
efg_run dataloader.num_workers 0


Reduce memory allocation in improve get_reduced_dims

This PR removes temporary memory.

Jenkins, test this please

Jenkins CI test (for commit 504691fd7c2cfda008849be68e80bdd010889301, target branch master) succeeded!


Spatio-temporal big data, we are drowning, help!

A team of engineers are trying to improve medical diagnoses in Uganda using high spatial and temporal resolution environmental factors and time-series analysis -- they've been working on this for nearly 20yrs. The observations that they want to incorporate number in the 10s of millions originating from thousands of files posted to an ftp site in a variety of file formats, the only person on the team with any coding skills is a collaborator at another institution who writes fortran code and no one is familiar with spatial or high spatial resolution data. They also want to "fuse" these data with other spatial data and do not understand how to combine spatial data of multiple raster spatial resolutions, projections, grid registrations, and other spatial data formats.
There are no manual techniques that would have any prayer of working for their application, therefore, the standard GIS software solutions (with which one team-member is somewhat familiar), are not an option to solve this problem. They have an example of a paper that appeared to do something similar and the methods section says little about how they overcame these big data challenges.
The research group has worked with the Penn State Maps Library in some capacity in the past and acknowledged Maps in a prior publication on their work.

Problem: How to perform data analysis


Feature/updates 2022 12 25

Codecov Report

Merging #166 (814503c) into master (40114aa) will not change coverage.
The diff coverage is n/a.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Pluggy should be in install_requires; pytest shouldn’t

Since https://github.com/riscv-software-src/riscv-isac/pull/8, there has been a dependency on pluggy which is not listed in install_requires / requirements.txt.
On the other hand, as best as I can tell, pytest is only required to run tests (which is reasonable), yet is present in install_requires instead of only in tests_require, thus requiring every riscv_isac user to have it on their computer (which is not). It would be better to move it to the latter.

@alexshpilkin Thanks for filing the issue. Would you be willing to raise a PR for the same?

@pawks I’m fine doing that, sure. Do you want to make a separate test_requirements.txt or just special-case pytest for now? (I could even imagine comment-separated sections in the current requirements.txt file, but that sounds more fancy that this tiny problem is worth, honestly.)

Its better to have a separate test_requirements.txt than try to separate the requirements.txt into sections.


REFACTOR: Add support for NumPy 2.0

Connected to https://github.com/BCG-X-Official/facet/pull/376.

@j-ittner I think that all Facet / skleandf / pytools dependencies already have 2.0 compatible release. Here's a tracking list for downstream (it says which version introduces compatibility): https://github.com/numpy/numpy/issues/26191#issue-2219105340.
I think only SHAP isn't listed but I think they also added it https://github.com/shap/shap/pull/3712.
I think we can merge NumPy 2.0 PRs here.

Looks like SHAP 0.46.0 is the compatible version: https://github.com/shap/shap/releases/tag/v0.46.0

Looks like SHAP 0.46.0 is the compatible version: https://github.com/shap/shap/releases/tag/v0.46.0

Many thanks @mtsokol , very helpful!


Icons 'external link' and 'external link square' imply 'link' class

I've noticed the following - the icons external link and external link square cause the icon to be "linkable" (link class) which might not always be the desire of the designer. Or is this on purpose?
Thanks

My original thought was that anything with an external link icon would always be clickable. Perhaps there are cases where this is not true.
I'll rename to ``external iconandexternal square` which is backwards compatible for those using the old name, but still allow it not to link.


Slow loading of contacts (if you have few)

Describe the bug
Everytime I goto to the contacts page on the mobile app I get the blue spinny and it takes 10-15 seconds to load the contacts. Its really annoying as i know the data is locally on my phone so it should be instant.
Steps to reproduce

First I have 20+ contacts then start the app and go to the contacts tab.
This does load but it can take 10-15 seconds which is super annoying!

Expected behavior
Near Instant response
Screenshots
video eaxmple
https://user-images.githubusercontent.com/6131216/217664653-5b473516-38a4-4af1-a6b6-4bf569cfeaac.mp4
Smartphones
-Android Samsun S22 Ultra
Were you using an atApplication when the bug was found?
atmospherepro
Additional context
at sign used @ colin

@cconstab Can you please share your atKey ?

I can not reproduce this issue with this atSign on both trunk and play store version.

Added a fix in at_contact_flutter. Needs deployment and testing

@sachins-geekyants @Sardar1208 I just tested on 2 different atSigns (@kims and @snooker68) and did not experience a blue spinny when accessing the contact screen.  When I refresh however I do experience the skeleton screen and a bit of a delay, which I think is normal behavior.

@ksanty Yes that is the expected behaviour. I think we can close this ticket

@ksanty Yes that is the expected behaviour. I think we can close this ticket

Great!  Closing now.


Zoom plug-in issues

[ ] Zoom plug-in doesn't work on iOS on iPhone.
[ ] Zoom plug-in works on badges. Maybe it would make sense to disable the zoom plug-in for all images that are links?
[ ] When zooming into an image (that is not a link) and zooming back out, the zoom plug-in doesn't work anymore for that image on the page (but others) until page refresh.

Hi @QingWei-Li, glad you're now using medium-zoom. I noticed that you forgot to change the references in all plugins.md files though 😀

Thanks to both of you!


eipw fails to resolve requires in preamble

Pull Request
No response
What happened?
I assume this is an additional problem, adding to #45
When Walidator verifies the preamble, in the requires: 165, 721 it tries to open ERCS/eip-165.md and ERCS/eip-721.md.
This should rather be ERCs/erc-165.md and ERCs/erc-721.md`
Observed here:
https://github.com/ethereum/ERCs/pull/43/commits/46ed9058e00f24c6db8794aba4dcdeae49b0d718

Relevant log output
No response

As discussed here, it would maybe even make sense to adapt the preamble sections to ERCs now that the split happened, the preamble section as defined in EIP-1 makes sense if you have a repository containing both EIPs and ERCs but doesn't make sense anymore as soon as you split

I also have this error in https://github.com/ethereum/ERCs/pull/92/files
What is the best way to proceed?

CC @SamWilsn to move this into the eipw repo


Return JSON even in case of internal server error in API

For example, currently if Elastic backend is not available we are returning HTML page instead of JSON..

Already fixed, see https://github.com/seecloud/health/blob/master/health/main.py#L37 500 handler


Passing event-object to allowDrop-function

Any possibility to pass the event-object to the allowDrop-function in order to use it when deciding if the dropping is allowed or not?

released


Ignoring option goto: not supported for code-insiders

Version: 1.36.0-insider (system setup)
Commit: 9ff8ae037e8e6109d65e4b5e3eb3dc60cc187e21
Date: 2019-06-21T07:52:00.716Z
Electron: 4.2.4
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17134
Steps to Reproduce:

Open Remote SSH session (Host: Win10 x64, Remote: CentOS 7 x64)
Open integrated terminal (bash shell)
code-insiders -r -g /path/to/myfile.c:123
Observe error: Ignoring option goto: not supported for code-insiders.

Does this issue occur when all extensions are disabled?: Yes
How do I open a file to a specific line number using the command line in code-insiders?

Also happening in the stable release;
Version: 1.35.1 (user setup)
Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f
Date: 2019-06-12T14:30:02.622Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134

code --help on the local host shows the --goto switch, but the remote version of the code executable doesn't have it.
From the integrated terminal, code --help shows much less.
Request is for this version of code to also support the --goto switch.

Moved to microsoft/vscode-remote-release/issues/768


Add CI workflow to release to charmhub on push to main

Issue
We do not have a CI workflow that will auto-release the charm to charmhub upon a push to the main branch. We have acquired a charmhub token from the openstack team that will allow us to publish the charm to mysql-router on the dpe track.
Solution
Add a CI workflow to auto-release the charm to the dpe/edge channel upon a push to the main branch
Release Notes
Add CI workflow to release to charmhub on push to main

Thanks for the quick reviews!


Audio lost after caller receives a call from other app and Callkit is openned

Description
When 2 users are in the middle of a conversation and "the caller" receives a new call from another app or its own phone, after hang it up, sound is muted for my online twilio call. Futhermore if we do the same exercise but is "the receiver" who receives the call, it works as it should be, i guess is because callkit configuration in my app is set up properly. But there is no way to configure for "the caller"
Steps to Reproduce
User A calls user B
User B answers
User A receives a normal call from his phone (callkit is opened to answer or cancel this new call)
User A hang up this new call
When user A goes back to conversation with user B, call is still alive but they both don't hear anything
Expected Behavior
Audio should not be muted when another app is calling and not even answered it
Actual Behavior
When caller receives an external call in the middle of a Twilio call, no matter if caller answers or hang up the new call, that twilio call is automatically muted once callkit screen is opened to the caller to treat that new call.
Xcode
9.0
iOS Version
11.2.6
iOS Device
iphone 6
LOGS at the moment  audio in and out is lost when an external call is received
2018-02-28 12:49:24.864812+0100 myAppName[10348:7681537] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 1;
"audio_level_out" = 2;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = "8.875";
mos = "4.41";
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 50;
rtt = "36.712";
timestamp = "2018-02-28T12:49:24.863+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 354080;
"total_bytes_sent" = 366400;
"total_packets_lost" = 0;
"total_packets_received" = 2213;
"total_packets_sent" = 2290;
}
41
2018-02-28 12:49:25.832574+0100 myAppName[10348:7676480] [VERBOSE TwilioVoice] AVAudioSessionInterruptionNotification, interruption began
2018-02-28 12:49:25.832735+0100 myAppName[10348:7676480] [DEBUG TVOCall] Holding call
2018-02-28 12:49:25.832825+0100 myAppName[10348:7676480] [DEBUG TVOCommandHandler] Inside postCommand:, received command of type TVOHoldCallCommand
2018-02-28 12:49:25.834859+0100 myAppName[10348:7681409] [VERBOSE Twilio] on_call_tsx_state(), state: 1, status_code: 0: (null)
2018-02-28 12:49:25.864940+0100 myAppName[10348:7681409] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 1;
"audio_level_out" = 2;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = "9.875";
mos = "4.41";
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 50;
rtt = "36.712";
timestamp = "2018-02-28T12:49:25.864+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 362080;
"total_bytes_sent" = 370080;
"total_packets_lost" = 0;
"total_packets_received" = 2263;
"total_packets_sent" = 2313;
}
2018-02-28 12:49:25.887918+0100 myNameApp[10348:7681413] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact
2018-02-28 12:49:25.916453+0100 myNameApp[10348:7681413] [VERBOSE Twilio] on_call_tsx_state(), state: 6, status_code: 200: OK
2018-02-28 12:49:25.916759+0100 myNameApp[10348:7681409] [DEBUG Twilio] Inside on_call_media_state(), PJSUA_CALL_MEDIA_LOCAL_HOLD
2018-02-28 12:49:26.426521+0100 myNameApp[10348:7681728] TIC Read Status [65:0x0]: 1:57
2018-02-28 12:49:26.426582+0100 myNameApp[10348:7681728] TIC Read Status [65:0x0]: 1:57
2018-02-28 12:49:26.679774+0100 myNameApp[10348:7681911] TIC Read Status [66:0x0]: 1:57
2018-02-28 12:49:26.679834+0100 myNameApp[10348:7681911] TIC Read Status [66:0x0]: 1:57
42
2018-02-28 12:49:26.865203+0100 myNameApp[10348:7681727] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = "4.43";
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" =<PHONE_NUMBER>3709549353;
rtt = 0;
timestamp = "2018-02-28T12:49:26.864+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
43
2018-02-28 12:49:27.865976+0100 myNameApp[10348:7681727] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:27.864+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
44
2018-02-28 12:49:28.865894+0100 myNameApp[10348:7681537] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:28.864+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
45
2018-02-28 12:49:29.866025+0100 myNameApp[10348:7681911] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:29.863+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
46
2018-02-28 12:49:30.866547+0100 myNameApp[10348:7681911] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:30.863+01:00";
"timestamp_ms" =<PHONE_NUMBER>862;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
47
2018-02-28 12:49:31.869906+0100 myNameApp[10348:7681909] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:31.863+01:00";
"timestamp_ms" =<PHONE_NUMBER>862;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
2018-02-28 12:49:31.969599+0100 myNameApp[10348:7676480] [VERBOSE TwilioVoice] AVAudioSessionInterruptionNotification, interruption ended
2018-02-28 12:49:31.969772+0100 myNameApp[10348:7676480] [DEBUG TVOCall] Unholding call
2018-02-28 12:49:31.969874+0100 myNameApp[10348:7676480] [DEBUG TVOCommandHandler] Inside postCommand:, received command of type TVOSendReinviteCommand
2018-02-28 12:49:31.970130+0100 myNameApp[10348:7681909] [VERBOSE Twilio] Inside constructUri: Registration URL: sip:None@chunderm.gll.twilio.com;transport=tls
2018-02-28 12:49:31.970222+0100 myNameApp[10348:7681909] [INFO TVOSendReinviteCommand] New Call URI: sip:None@chunderm.gll.twilio.com;transport=tls
2018-02-28 12:49:31.970565+0100 myNameApp[10348:7681909] [INFO TVOCallImpl] Inside updateContact, new contact -> ec2-52-59-236-31.eu-central-1.compute.amazonaws.com
2018-02-28 12:49:31.973260+0100 myNameApp[10348:7681909] [VERBOSE Twilio] on_call_tsx_state(), state: 1, status_code: 0: (null)
2018-02-28 12:49:32.027363+0100 myNameApp[10348:7681413] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact
2018-02-28 12:49:32.028718+0100 myNameApp[10348:7681413] [VERBOSE Twilio] on_call_tsx_state(), state: 6, status_code: 200: OK
48
2018-02-28 12:49:32.865211+0100 myNameApp[10348:7681909] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:32.863+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
2018-02-28 12:49:33.484022+0100 myNameApp[10348:7676480] [VERBOSE TwilioVoice] Application did become active
2018-02-28 12:49:33.484814+0100 myNameApp[10348:7676480] [DEBUG TVOReachability] Reachability Flag Status: -R ------- networkStatusForFlags
2018-02-28 12:49:33.690272+0100 myNameApp[10348:7682044] TIC Read Status [68:0x0]: 1:57
2018-02-28 12:49:33.690329+0100 myNameApp[10348:7682044] TIC Read Status [68:0x0]: 1:57
49
2018-02-28 12:49:33.877682+0100 myNameApp[10348:7682046] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:33.864+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
50
2018-02-28 12:49:34.865071+0100 myNameApp[10348:7682046] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:34.864+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
51
2018-02-28 12:49:35.864308+0100 myNameApp[10348:7682046] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:35.863+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
52
2018-02-28 12:49:36.865149+0100 myNameApp[10348:7682046] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 0;
timestamp = "2018-02-28T12:49:36.863+01:00";
"timestamp_ms" =<PHONE_NUMBER>862;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
53
2018-02-28 12:49:37.864571+0100 myNameApp[10348:7682049] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 864;
timestamp = "2018-02-28T12:49:37.862+01:00";
"timestamp_ms" =<PHONE_NUMBER>862;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
54
2018-02-28 12:49:38.865621+0100 myNameApp[10348:7681727] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 864;
timestamp = "2018-02-28T12:49:38.863+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
55
2018-02-28 12:49:39.865771+0100 myNameApp[10348:7681911] [VERBOSE TVORTCMonitor] Inside statsToSample:, call quality sample: {
"audio_level_in" = 0;
"audio_level_out" = 0;
"call_sid" = CA039e12a89ac929e0d8d7112b53494061;
jitter = 0;
mos = 1;
"packets_lost" = 0;
"packets_lost_fraction" = 0;
"packets_received" = 0;
rtt = 864;
timestamp = "2018-02-28T12:49:39.864+01:00";
"timestamp_ms" =<PHONE_NUMBER>863;
"total_bytes_received" = 0;
"total_bytes_sent" = 0;
"total_packets_lost" = 0;
"total_packets_received" = 0;
"total_packets_sent" = 0;
}
2018-02-28 12:49:39.929929+0100 myNameApp[10348:7676480] [VERBOSE TwilioVoice] Disable audio.
2018-02-28 12:49:39.937287+0100 myNameApp[10348:7676480] [DEBUG TVOCommandHandler] Inside postCommand:, received command of type TVOHangupCallCommand
2018-02-28 12:49:39.937746+0100 myNameApp[10348:7676480] [INFO TVOCall] Inside publishConnectionEvent:, event type: disconnected-by-local
2018-02-28 12:49:39.938446+0100 myNameApp[10348:7681911] [DEBUG TVOCallImpl] Inside TVOCallImpl.hangup, hanging up call, callID: 0
2018-02-28 12:49:39.939669+0100 myNameApp[10348:7676480] [VERBOSE TVOCall] Inside publisherConnectionEvent:, sending disconnected-by-local event
2018-02-28 12:49:39.940420+0100 myNameApp[10348:7681911] [VERBOSE Twilio] on_call_tsx_state(), state: 1, status_code: 0: (null)
2018-02-28 12:49:40.083280+0100 myNameApp[10348:7681413] [VERBOSE Twilio] on_call_tsx_state(), state: 4, status_code: 200: OK
2018-02-28 12:49:40.083639+0100 myNameApp[10348:7681413] [DEBUG Twilio] Inside on_call_state(), call: 0x1c4127ee0, internal state: 6
2018-02-28 12:49:40.084054+0100 myNameApp[10348:7681413] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_DISCONNECTED, internal state: 6, last_status: 200
2018-02-28 12:49:40.084434+0100 myNameApp[10348:7681413] [VERBOSE TVOCall] handlePJSIPInviteStateDisconnected. Error: (null)

Hi @BorjaCloobing
I've tried the same steps and I can also see the no-audio issue after the interruption, though the no-audio problem seemed to happen either the mobile client is the caller or the receiver. There is indeed some bug in the AVAudioSession interruption handler inside the Voice SDK but I was able to update the code and audio was back after the interruption. We'll need to evaluate the fix before releasing but hopefully we can provide a new version soon.
-bobie

Hi @bchen-twilio thank you for your quick response, just let me know when hotfix is available 👍

hi @bchen-twilio any idea when the hotfix will be available?

Hi @BorjaCloobing
We are still working on fixes some cases but we are very close to being able to address the issue.
Please stay tuned.
Thanks
-bobie

Hi @BorjaCloobing
We've just released the Programmable Voice iOS SDK 2.0.3, which includes the fix for the audio interruption handler.
Thanks
-bobie

Hi @bchen-twilio
Thanks, it worked perfectly.

Awesome! Thanks @BorjaCloobing.


Tuya Lan stop work

Hello friends I have issue with Tuya-Lan plug I get this error
0|homebridge  | [TuyaAccessory] Socket had a problem and will reconnect to פינת אוכל (EHOSTUNREACH) 0|homebridge  | [9/28/2019, 6:19:29 PM] [TuyaLan] Discovered דוד<PHONE_NUMBER>f3eb7eae5e) identified as Outlet (3.1) 0|homebridge  | [TuyaAccessory] Socket had a problem and will reconnect to אורות (EHOSTUNREACH) 0|homebridge  | [TuyaAccessory] Socket had a problem and will reconnect to חדר שינה (EHOSTUNREACH) 0|homebridge  | [TuyaAccessory] Socket had a problem and will reconnect to סלון (EHOSTUNREACH) 0|homebridge  | [TuyaAccessory] Socket had a problem and will reconnect to מדרגות (EHOSTUNREACH) 0|homebridge  | [TuyaAccessory] Socket had a problem and will reconnect to מחסן (EHOSTUNREACH) 0|homebridge  | [TuyaAccessory] Socket had a problem and will reconnect to מטבח (EHOSTUNREACH) 0|homebridge  | [TuyaAccessory] Socket had a problem and will reconnect to דוד (EHOSTUNREACH)

Better open that issue at the respective plugin repo. Btw: EHostUnreach means that up is noch reachable. Maybe restart device?

The issue is specific to the plug-in so you should raise it there. With regards to this issue I believe there is a fix if you update to the latest developer version.


Add DNSimple update script

The PR adds a script dnsimple.sh:

Creates or updates DNS records at DNSimple
Loosely based on the cloudflare.sh script

Did some cleanup, now ready in my opinion. 🙂

It works reliably for us. :)


When changing custom project user directory all my editor settings disappeared?

Godot version:
3.2.3
OS/device including version:
Windows 10
Issue description:
I have no idea what happened exactly... I just changed the custom directory for my ongoing game since I didn't want it to be in the Godot folder (if people playing my games don't know what Godot is or think the file path is too complex, just so you know).
Then I decided to quit to project list because something was glitching out with my project (don't know if it might be another bug, but it had to do with StyleboxTextures turning into StyleboxFlats). However, when I got to the project list everything was reset, including the editor theme, projects, default project folder, etc. The editor layouts are still there, though. I did open the editor settings folder through the Godot engine only once, but that shouldn't have triggered a reset, I'm pretty sure.
Steps to reproduce:
I don't know exactly what happened, but I was changing the custom project directory directly to a folder in the AppData folder. Then I quit to project list.
Minimal reproduction project:

OS/device including version:

Please include this information.
Can you try to reproduce this a second time with another project? The fact that you lost your editor settings may be a concidence.

Okay, I added the OS to the bug report. I tried this with a new project but nothing happened, really. One thing I forgot to mention originally is that I tested the new folder by having my game save to the new user:// folder. I also dragged and dropped my save files into that new folder before having the game save it. I suspect the other bug I mentioned which is why I quit to the project list might be because of cache (which is what I thought, I don't really know the inner workings of Godot resource-saving), so I was trying to clear it somehow by going to the project list. I don't know if that would also be a factor in what happened here, though, but it could be a possibility since it has to do with the file system.
I noticed that all my projects were back when I set the default project folder and autoscan project folder back to my Godot files folder, but this is probably normal.

Duplicate of https://github.com/godotengine/godot/issues/40968 (same cause).


[GHA] Test Scripts workflow for macos is broken

make operator-sdk fails when executed by the GitHub action Test Scripts for macos-latest platform.
E.g. https://github.com/Kuadrant/authorino-operator/actions/runs/6313837883/job/17142801232?pr=140

I have seen this happen with more that just the macos-latest, it also happens on the ubuntu-latest. But it is a flaky, I found when the checks are reran they pass the second time. It does seem to be the same error each time.

Fixed at https://github.com/Kuadrant/authorino-operator/pull/147


Possible incompatibility with OTP 25

OTP 25 has turned on by default the prevent_overlapping_partitions Kernel option. Since updating to this version of OTP, my tests that rely on schism to create partitions started to fail, and I see the following output:
  2) test distributed heartbeat monitor - splitting off two nodes marks their caches as unhealthy (MyAppWeb.HeartbeatServiceTest)
     test/my_app_web/services/heartbeat_test.exs:143
     ** (MatchError) no match of right hand side value: :pang
     code: Schism.partition([first, second])
     stacktrace:
       (schism 1.0.1) lib/schism.ex:53: anonymous fn/5 in Schism.partition/2
       (elixir 1.13.4) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
       (schism 1.0.1) lib/schism.ex:41: Schism.partition/2
       test/my_app_web/services/heartbeat_test.exs:149: (test)

     The following output was logged:

     14:41:57.283 [warning] 'global' at node<EMAIL_ADDRESS>requested disconnect from node<EMAIL_ADDRESS>in order to prevent overlapping partitions

     14:41:57.284 [warning] 'global' at node<EMAIL_ADDRESS>requested disconnect from node<EMAIL_ADDRESS>in order to prevent overlapping partitions

     14:41:57.284 [warning] 'global' at node<EMAIL_ADDRESS>requested disconnect from node<EMAIL_ADDRESS>in order to prevent overlapping partitions

     14:41:57.285 [warning] 'global' at node<EMAIL_ADDRESS>requested disconnect from node<EMAIL_ADDRESS>in order to prevent overlapping partitions

The code that triggers this looks like this:
    test "splitting off two nodes marks their caches as unhealthy", %{nodes: nodes} do
      [first | [second | rest]] = nodes

      assert :connected = :rpc.call(first, CacheState, :state, [])

      Schism.partition([first, second])   # <- Line raising the error
      Schism.partition(rest)

      [...]
   end

Sorted out the proper syntax to disable:
ELIXIR_ERL_OPTIONS='-kernel prevent_overlapping_partitions false' mix test


No Northern Ireland on list

In configuration should be Northern Ireland (XI) to enable

That is correct, but Prestashop does not have North Ireland as a country by default.
You would have to manually create North Ireland as a country in Prestashop's backoffice at: "international > Locations > Countries" and make sure the iso code is "XI". If you have done this, it will show up in the module.


Issue when adjust app segment udp ports and clostest app connector

Hello All,
i think there is a bug / order verification issues when add udp ports in the same apply when change select_connector_close_to_app
zpa = {
  source  = "zscaler/zpa"
  version = "2.7.2"
}

data.zpa_server_group.global_all_appconnector_groups: Reading...
data.zpa_server_group.global_all_appconnector_groups: Read complete after 1s [id=72058393975587078]
module.zpa_segment_group.zpa_segment_group.sg: Refreshing state... [id=72058393975587081]
module.zpa_application_segment["rwe_application_discovery"].zpa_application_segment.as: Refreshing state... [id=72058393975587082]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated
with the following symbols:
~ update in-place
Terraform will perform the following actions:
module.zpa_application_segment["rwe_application_discovery"].zpa_application_segment.as will be updated in-place
~ resource "zpa_application_segment" "as" {
id                            = "72058393975587082"
name                          = "tf_it_network_team_rwe_application_discovery"
```
~ select_connector_close_to_app = false -> true
~ udp_port_ranges               = [
- "2",
- "52",
- "54",
- "65535",
]
(20 unchanged attributes hidden)
(1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
module.zpa_application_segment["rwe_application_discovery"].zpa_application_segment.as: Modifying... [id=72058393975587082]
╷
│ Error: FAILED: PUT, https://config.zpabeta.net/mgmtconfig/v1/admin/customers/....../application/......., 400, 400 Bad Request, {
│   "id" : "invalid.protocol.configuration.closertoapp",
│   "reason" : "Invalid Protocol configuration. Selecting App Connector Closer to App can be only enabled for TCP applications."
│ }
│
│   with module.zpa_application_segment["rwe_application_discovery"].zpa_application_segment.as,
│   on ..\modules\zpa_appsegment\main.tf line 5, in resource "zpa_application_segment" "as":
│    5: resource "zpa_application_segment" "as" {

Hi @D4rkiiee
The error message does not imply a bug. ZPA itself enforces that the attribute can only use TCP ports.
https://help.zscaler.com/zpa/configuring-application-segments

If the issue persists, please provide debug logs by setting the following environment variable flags
export TF_LOG="DEBUG"
export TF_LOG_PATH="terraform.log"
export TF_LOG_PROVIDER=INFO
export ZSCALER_SDK_LOG=true
export ZSCALER_SDK_VERBOSE=true

Hi will,
thanks for the quick reply. I wonder this is a general issues since zpa always want to update resource and not recreate them.
I have similar issue when i pull ranges of ports out of an existing app segment and move them into a new app segment.
I ask myself if it is best practice to add a random number to the resources incl. create_before_destroy = false (port overlaps or not allowed by ZPA)
Do you think this will help or will it have a negative impact to the connectivity experience of the users since i am not updating but delete an create of resources ?
Maybe it makes sense to have a talk. I can also open a zscaler case if your require that to provide me additional help?
BTW i had a call with N. Iyer and i think he was mentioning your name?

Hi william,
how can i send the debug on a secure way? I cannot share such an amount of information public accessible here
Is it possible to open and assign you a Zscaler ticket so i can share it there?
Greetings
Philip


Bugfix/tb bugfix 042801

这个 PR 实现什么功能/修复什么问题:

新增加zone&region disk capability接口

是否需要 backport 到之前的 release 分支:

release/3.7

/area region
/cc @zexi @ioito

Codecov Report

Merging #10964 (d4255d7) into master (9184fb2) will increase coverage by 5.36%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master   #10964       +/-   ##
===========================================
+ Coverage    5.82%   11.18%    +5.36%
===========================================
  Files         899      147      -752
  Lines      138797    16932   -121865
===========================================
- Hits         8080     1894     -6186
+ Misses     130010    14845   -115165
+ Partials      707      193      -514

Flag
Coverage Δ

aFlag
11.18% <ø> (+5.36%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/validators/validators_cert.go
37.06% <0.00%> (ø)

pkg/mcclient/options/k8s/pvc.go

pkg/cloudprovider/resources.go

pkg/util/netutils2/macutils.go

pkg/cloudprovider/instance.go

pkg/compute/models/hostresource.go

pkg/mcclient/options/k8s/charts.go

pkg/util/validate/days.go

pkg/util/stringutils2/stringutils.go

pkg/cloudcommon/db/owner.go

... and 740 more

Continue to review full report at Codecov.

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


⚠ Bofrost.fr has degraded performance

In 715ed25, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1024 ms

Resolved: Bofrost.fr performance has improved in 47dce93.


[e2e]: generic schedule main multi-uses slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3087671355
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Sep 20 05:36:57 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3087671355
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Sep 20 05:41:15 UTC 2022
Tests are passing now. Closing this issue.


get request with query string dosen't work

Framework version: 1.5
Implementations:  Spring Boot

Request with query string doesn't work.
Method Signature
@RequestMapping(path = "/ping2", method = RequestMethod.GET)
public Map<String, String> pingme(@RequestParam String user)
Expected behavior
Actual behavior
Gets 400 Bad request

Need a bit more info. What do the logs say? What does the request look like?

I have made no change to the example application, except adding a new  endpoint
Request - https://springbootexample.com/ping2?user=test
Logs
#################################
START RequestId: 56b52081-8a39-4c50-a60e-a0289cdda66f Version: $LATEST
16:38:09.619 [main] INFO com.amazonaws.serverless.proxy.internal.LambdaContainerHandler - Starting Lambda Container Handler
. ____ _ __ _ _
/\ / _' __ _ () __ __ _ \ \ \ \
( ( )___ | '_ | '| | ' / _` | \ \ \ \
\/ _)| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |__, | / / / /
=========||==============|/=///_/
:: Spring Boot :: (v2.2.6.RELEASE)
2020-07-03 16:38:13.552 INFO 7 --- [ main] c.a.s.p.i.servlet.AwsServletContext : Initializing Spring embedded WebApplicationContext
2020-07-03 16:38:13.793 DEBUG 7 --- [ main] c.a.s.p.i.servlet.AwsServletContext : Adding filter 'characterEncodingFilter' from org.springframework.boot.web.servlet.filter.OrderedCharacterEncodingFilter@51dbd6e4
2020-07-03 16:38:14.523 INFO 7 --- [ main] c.a.s.p.i.servlet.AwsServletContext : Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-07-03 16:38:14.635 DEBUG 7 --- [ main] c.a.s.p.i.servlet.FilterChainHolder : Starting REQUEST: filter 0-characterEncodingFilter
2020-07-03 16:38:14.637 DEBUG 7 --- [ main] c.a.s.p.i.s.AwsProxyHttpServletRequest : Called set character encoding to UTF-8 on a request without a content type. Character encoding will not be set
2020-07-03 16:38:14.637 DEBUG 7 --- [ main] c.a.s.p.i.servlet.FilterChainHolder : Starting REQUEST: filter 2-com.amazonaws.serverless.proxy.internal.servlet.FilterChainManager$ServletExecutionFilter
2020-07-03 16:38:14.654 DEBUG 7 --- [ main] c.a.s.p.i.servlet.AwsHttpServletRequest : Trying to access session. Lambda functions are stateless and should not rely on the session
2020-07-03 16:38:14.777 DEBUG 7 --- [ main] c.a.s.p.i.s.AwsHttpServletResponse : Response buffer flushed with 0 bytes, latch=1
2020-07-03 16:38:14.777 WARN 7 --- [ main] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'user' is not present]
2020-07-03 16:38:14.778 DEBUG 7 --- [ main] c.a.s.p.i.servlet.AwsHttpServletRequest : Trying to access session. Lambda functions are stateless and should not rely on the session
2020-07-03 16:38:14.779 DEBUG 7 --- [ main] c.a.s.p.i.servlet.FilterChainHolder : Executed ERROR: filter 3-com.amazonaws.serverless.proxy.internal.servlet.FilterChainManager$ServletExecutionFilter
2020-07-03 16:38:14.779 DEBUG 7 --- [ main] c.a.s.p.i.servlet.FilterChainHolder : Executed ERROR: filter 3-characterEncodingFilter
2020-07-03 16:38:14.793 INFO 7 --- [ main] c.a.s.p.internal.LambdaContainerHandler : <IP_ADDRESS> null- null [03/07/2020:16:38:14Z] "GET /ping2 null" 400 - "-" "-" combined
END RequestId: 56b52081-8a39-4c50-a60e-a0289cdda66f

Have you enabled the multi-value properties in ALB?

Closing since we haven't heard back.

Have you enabled the multi-value properties in ALB?

Thanks for this.. it worked


Async storage

This PR fixes unstable latency from using synchronous RocksDB within an async context.

This is superseded by https://github.com/AleoHQ/snarkOS/pull/972, correct?

Yes, supersedd by #972.


tube() default anchor should be CENTER?  Better parameter validation

Default anchor is BOTTOM, which isn't consistent with cyl().  Should it be CENTER?
I gave only ir parameter and forgot to give wall and got a cryptic error.  Should get an error instead like "Need to give wall or or"

Implemented in PR #817


CI: Conformance Ginkgo (f19-update) - found error endpoint regeneration failed

CI failure
Hit on https://github.com/cilium/cilium/pull/29051
Link: https://github.com/cilium/cilium/actions/runs/6825486460/job/18563485231
Sysdump: test_results-E2E Test (1.19, f19-update).tar.gz
Seen on scheduled runs as well:

https://github.com/cilium/cilium/actions/runs/6808498669/job/18513085412
https://github.com/cilium/cilium/actions/runs/6806188619/job/18507111511
https://github.com/cilium/cilium/actions/runs/6802855511/job/18496939129

• Failure in Spec Teardown (AfterEach) [573.044 seconds]
K8sUpdates
/home/runner/work/cilium/cilium/test/ginkgo-ext/scopes.go:461
  Tests upgrade and downgrade from a Cilium stable image to master [AfterEach]
  /home/runner/work/cilium/cilium/test/ginkgo-ext/scopes.go:515

  Found 1 k8s-app=cilium logs matching list of errors that must be investigated:
  2023-11-10T13:45:10.487646184Z level=error msg="endpoint regeneration failed" containerID=dc7fd23665 datapathPolicyRevision=0 desiredPolicyRevision=0 endpointID=1183 error="endpoint 1183 SecurityIdentity changed during policy regeneration" identity=6117 ipv4=<IP_ADDRESS> ipv6= k8sPodName=default/app1-94b79fb5b-b27qq subsys=endpoint

  /home/runner/work/cilium/cilium/test/ginkgo-ext/scopes.go:413
------------------------------

Summarizing 1 Failure:

[Fail] K8sUpdates [AfterEach] Tests upgrade and downgrade from a Cilium stable image to master
/home/runner/work/cilium/cilium/test/ginkgo-ext/scopes.go:413

I will take a look at that as it seems to be the most common reason for CI flakes recently.
FYI k8s version does not matter as it happens on all k8s versions.

I took a look at https://github.com/cilium/cilium/actions/runs/6860299826 run
It seems that endpoint regeneration failed is not "fatal" error, it is expected to happen when security identity changes during policy regeneration. So probably we could filter this error and not fail the test, but I guess we do not expect identities to change during upgrades/downgrades.
So now the question becomes why SecurityIdentity changes:
before:
security-labels:
  k8s:app: grafana
  k8s:io.cilium.k8s.namespace.labels.kubernetes.io/metadata.name: cilium-monitoring
  k8s:io.cilium.k8s.policy.cluster: test-upgrade-downgrade
  k8s:io.cilium.k8s.policy.serviceaccount: default
  k8s:io.kubernetes.pod.namespace: cilium-monitoring
after:
  security-labels:
    k8s:app: grafana
    k8s:io.cilium.k8s.namespace.labels.kubernetes.io/metadata.name: cilium-monitoring
    k8s:io.cilium.k8s.policy.cluster: default
    k8s:io.cilium.k8s.policy.serviceaccount: default
    k8s:io.kubernetes.pod.namespace: cilium-monitoring

It seems like k8s:io.cilium.k8s.policy.cluster label changes even though cluster-name is correctly specified:
-cluster-name='test-upgrade-downgrade'" subsys=daemon
....
2023-11-14T07:18:41.187995264Z level=debug msg="UpdateIdentities: Adding a new identity" identity=38192 labels="[k8s:app=migrate-svc-client k8s:io.cilium.k8s.namespace.labels.kubernetes.io/metadata.name=default

---> k8s:io.cilium.k8s.policy.cluster=default <----

k8s:io.cilium.k8s.policy.serviceaccount=default k8s:io.kubernetes.pod.namespace=default k8s:zgroup=migrate-svc]" subsys=policy

I just double-checked. The wrong identity is created after upgrade to 1.15.0-dev.
Identity timestamps with policy.cluster=default:
creationTimestamp: "2023-11-14T07:17:18Z"

which corresponds to this upgrade:
Tue, 14 Nov 2023 07:16:53 GMT
07:16:53 STEP: Upgrading Cilium to 1.15.0-dev

Nice investigation!
We could set a cluster name the same way as we do for the ci-e2e based tests - https://github.com/cilium/cilium/blob/main/.github/actions/cilium-config/action.yml#L66. I remember I had to set it too, but AFAIK for other test failures during the Cilium upgrade.

We could set a cluster name the same way as we do for the ci-e2e based tests

oh well, I don't think we can for this particular test :sob:
Anyway, I opened PR which should fix it.


Update README

Updates

I think npm link is not necessary. So, removed it.
Updated node index.js to node geojsonStreamMerge.js.
Use heading instead of bold text.

@geohacker Please 👀 and merge.

@bkowshik I think we need npm link for being able to use geojson-stream-merge as a CLI utility. If we put npm link then we don't need npm install because link does install first.

Ahh! @geohacker this looks much cleaner now.

@bkowshik thank you!


Problem with processing BIGINT values

I noticed that we can't correctly fetch BIGINT values from DB. It is regular problem of mysql package.
It can be fixed using advice from this answer
const connectionOptions = {...};//previous connection options
Object.assign(connectionOptions, {supportBigNumbers: true, bigNumberStrings: true})
var connection = mysql.createConnection(connectionOptions);

Maybe we should add this options only on some conditions or by other logic.
Please select the way of fixing it and I can make PR

Sorry for the late response, my paying gig and my house pulled me away.
The MySQL driver for database-js needs to be made to accept parameters, then those options can be chosen by the user.
The url format is:
driver://user:password@host:port/database?param1=value1&param2=value2&...
The parameters are a string, but if you call parseParameters on the connection object passed to the open function in the MySQL driver it will return a JSON object. However, every value in that JSON object will still be strings. It could be helpful to have a conversion function that will convert valid MySQL options to their Javascript types.
Then the user will pass the url:
mysql://user:password@host/database?supportBigNumbers=true&bigNumberStrings=true

The list of connection options is available here: https://www.npmjs.com/package/mysql#connection-options

Please be sure to use spaces instead of tabs in your code. I have no preference, but since we've started with spaces we avoid unnecessary diffs based on whitespace if we stick with spaces.

@mlaanderson thanks for the response. I see that these params are passed to the database-js-mysql constructor, but they are skipped during connection init.
Have you any implemented example of passing similar options to other database-js DB drivers?

@mlaanderson I've gone through your database-js-* projects and found that there are several implementations of the required feature:

appropriate in database-js-csv
this implementation in database-js-firebase can be replaced by first implementation.

Maybe it's better to move parse parameter logic to separate module and use its logic where we wanna add extra params?

That’s a pretty good idea. Right now it’s in the connection object under database-js, but making a utility module makes sense.

I’ve created an empty repository called database-js-common for this purpose.
https://github.com/mlaanderson/database-js-common
Right now it has no content. Feel free to contribute if you’d like.

I'm gonna create index.js with exported method parseParamsString.
Have you any preferences about naming conventions of exported methods and common code structure? Maybe you can provide links to your best-practices repositories?

Thank you for the patch Pavlo.


Shell completion command

Resolves #331
This pr aims to add a shell completion command so users can add a command to their shell start up script. It currently supports bash, elvish, fish, powershell and zsh.
This pr is initially opened as a draft, so there are still a number of tasks that need to be done.

[x] suggest command to shell start up script

[x] bash documentation
- [ ] elvish documentation
[x] include a link to the elvish not implemented issue
[x] fish documentation
[x] powershell documentation
[x] fish zsh documentation
- [ ] add a rename flag so the binary can be renamed by the user

[x] add  docstring for main completion command
[x] automatically add the completion function to the correct shell init script
- [ ] Implement elvish installation
- [ ] Implement elvish uninstallation
- [ ] Implement powershell installation
- [ ] Implement powershell uninstallation

@cnpryer On a different project I also added a --rename flag that takes a string so the shell completion script can get generated with a different binary name. Is this something that's also a nice to have on this feature? I added the task initially, but on further inspection the binary name is currently not super ambiguous. The other project had its binary named tool and I also rename rg to ripgrep for instance.

Another question, do you have any experience with the elvish shell? I don't actually know what the steps for adding the shell completion are for this.
Besides these 2 questions, I think this pr is almost done.

I also added a --rename flag that takes a string so the shell completion script can get generated with a different binary name

I'm not sure this is something I'd like to add. Couldn't the user just create an alias?

Another question, do you have any experience with the elvish shell?

I do not.
Thanks for the PR! I'll give this a review later today.

I'm not sure this is something I'd like to add. Couldn't the user just create an alias?
They can actually, TIL.

As for the elvish part, I think I will also put a placeholder text in the suggestion. Maybe to a specific issue even.

There probably also needs to be a more clear separation between the script and the suggestion on how to add the script to the users rc file.
I was thinking something along the lines of
some shell script stuff that makes the completion work
############################################
add the following to your bashrc file

`eval "$(huak completion bash)"`
############################################

since it currently looks like this
$ cargo run -- completion bash
...
        huak__version)
            opts="-h --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
    esac
}

complete -F _huak -o bashdefault -o default huak
"First, ensure that you install `bash-completion` using your package manager.
After, add this to your `~/.bash_profile`:

`eval "$(huak completion bash --rename huak)"`

What do you think?

Do you mean adding it as a suggestion style behavior or documentation for it? I'd think documenting it somewhere would suffice, but I haven't thought much about it yet.

This would be styling, imo it's not super clear where the script stops and the suggestion starts. Unless you redirect stdout to /dev/null you will see some part of the script as well.

I'm a fan of less chatty CLI. Do you think we could get away with just adding usage docs to docs.rs in our lib.rs?
I'll try giving this a spin later today to see if I'm missing something.

Thats definitely possible, is the README.md a mirror of documentation in src/huak/lib.rs? If so I'll also update that.

is the README.md a mirror of documentation in src/huak/lib.rs?

No. The readme is meant to be high level. I would like for everyone to read the readme, so adding too much there I think disincentivizes that.
Good question though.

Ah okay, I'll remove that section tomorrow then.

Also, this seems like more of an app-level command for huak. So I'm wondering if we should nest commands like this under something like self similar to how poetry does it. I'm open to alternatives. Never been too much of a fan of self specifically.

Im not familiar with poetry actually. After reading the docs quickly the self command seems to look like a command that groups all commands related to the management of poetry itself?
Since there are already a lot of commands in huak that's definitely something that could help with an explosion of commands in the top level. I think this should be fairly straightforward to implement as well. 2 questions on this though.
Do you want this subcommand to also be called self?
Do you have other commands that could be moved under this "category"?
Its probably a good idea to open a separate issue for all of those as well if that's the case since those seem out of scope for this issue.

I personally don't like self but I don't have alternative off the top of my head. Here are some ideas:

cli
config
settings

I guess if I'd have to chose I'd chose config, but I feel like cli is broader and can't think of any purpose other than management of "the cli application huak.
No other commands implemented so far should be put under that subcommand afiak. I can double check in a bit.

Okay I'll use config as a subommand then.
It'll look like
huak config completion

Worst case we can just swap the subcommand out in the future if it doesn't make sense. Could you also move those to a huak/bin/commands/config namespace?

Here's the tracking issue for cargo's config command. It looks like it's a little different, but I couldn't find something similar to self in cargo
https://github.com/rust-lang/cargo/issues/9301

This is actually harder than I thought :sweat_smile:, I can't seem to get clap to recognize the completion command as a subcommand. It keeps getting read as an argument for config and the help text that gets generated for it is wrong.
This will definitely take some more time.

Okay it took some looking into but there is a git-derive example that shows the config option in the Commands enum needed to be a struct not another enum.
sample outputs
➜ huak --help
A Python package manager written in Rust inspired by Cargo.

Usage: huak <COMMAND>

Commands:
  activate  Activate the project's virtual environment
  add       Add a dependency to the existing project
  audit     Check for vulnerable dependencies and license compatibility
  build     Build tarball and wheel for the project
  config    Interact with the configuration of huak
  clean     Remove tarball and wheel from the built project
  doc       Generates documentation for the project
  fix       Auto-fix fixable lint conflicts
  fmt       Format the project's Python code
  init      Initialize the existing project
  install   Install the dependencies of an existing project
  lint      Lint the project's Python code
  new       Create a new project at <path>
  publish   Builds and uploads current project to a registry
  remove    Remove a dependency from the project
  run       Run a command within the project's environment context
  test      Test the project's Python code
  update    Update dependencies added to the project
  version   Display the version of the project
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help information
  -V, --version  Print version information
------------------------------------------------------------------------------------------------------
➜ huak config --help
Interact with the configuration of huak

Usage: huak config <COMMAND>

Commands:
completion  Generates a shell completion script for supported shells. See the help menu for more information on supported shells
  help        Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help information
------------------------------------------------------------------------------------------------------
➜ huak config completion --help
Usage: huak config completion <SHELL>

Arguments:
  <SHELL>  [possible values: bash, elvish, fish, powershell, zsh]

Options:
  -h, --help  Print help information

Looking good. I mentioned earlier it would be cool if we could just make the configuration modification for the user. Maybe that's undesirable, but I don't think I see any comments on that idea. Do you have any thoughts on doing that?

I don't think this should be a problem, there is the aspect of removing it as well which might get messy quick. I'm not opposed to this though.

there is the aspect of removing it as well which might get messy quick

Yea but if we have the snippet wouldn't we just pull that out? What makes you think it'd get messy? I'm probably oversimplifying it.
If you do give it a shot can you add a simple test for it? Just to ensure that any modifications to this logic don't screw that up in the future.

There would be separate implementations for removing all the different shell versions. For fish and zsh this the files can just be deleted and for bash the line can be deleted. Elvish and powershell are the problem. I don't have access to a windows machine so I can't test this manually and the same goes for elvish although i'm less concerned with that since its still a linux based shell.
As for writing a test, that's definitely a good idea. I was thinking of just having the function that adds/removes the snippet take a AsRef<path> so a test file can be injected.

@cnpryer can you check the changes I made, I'm not sure if these tests suffice since they only test if the file gets created and cleaned up. Only the bash version checks for content.

If you'd like for me to wrap this PR lmk.  Appreciate the help!

No I think the iteration is good, I'd rather have the pr take a little longer than it to be half baked. I'll be honest this feature did have some scope creep but all the feedback has been productive.

There are still the elvish and powershell implementations that need to be done. I'm not sure if these need to also be implemented in this pr since I have no way of testing these.

There are still the elvish and powershell implementations that need to be done. I'm not sure if these need to also be implemented in this pr since I have no way of testing these.

No big deal if you want to leave those unimplemented. Maybe just add that to usage feedback. So if someone tries using that mention it's currently unimplemented and if they'd like the feature to submit an issue.

IMO huak should not worry about shell completion (un)installation, that should be done by end user or distro packaging. It should just provide a way to output shell completion to stdout.
Here are some distro packaging with shell completions examples:

https://github.com/Homebrew/homebrew-core/blob/89ac56e4c8b0cee300629283fa04ddba27e96d24/Formula/maturin.rb#L24
https://github.com/alpinelinux/aports/blob/d8a204d5101ae041c5b92bb68e3d2805072283a6/community/maturin/APKBUILD#L35-L37

Well I don't want to add any behavior that wouldn't be standard.
I also don't want to make you rip this apart. So if you feel comfortable with the way this is currently implemented, let me know and I'll come in and finalize this later today.
Are you looking for the hacktoberfest credit?

Are you looking for the hacktoberfest credit?

No
As far as ripping it apart goes, I think these things can exist side by side. Have huak config completion print to stdout and have huak config completion -i -s bash install the completion for bash manually.

Yea personally I don't have a problem with that. If the default behavior is to print to stdout then we're good. My comment here https://github.com/cnpryer/huak/pull/332#discussion_r1008737084 is wrong. So I just wanted to make sure we're on the same page with this feedback.

@cnpryer This is not a super important but currently if a user runs huak config completion -i there will be a small message printed to stderr like this. I think the rest of the pr is good to go though.
$ huak config completion -i
Please provide a shell

Its only required if --install or --uninstall is passed and only outputs it then. I can still remove it though so it just passes silently.

Thanks for the PR!


Animation start/end position different after resizing width.

Hello. I'm having a bit of an issue.
Pay attention to the PCI compliance part (The 12 icons with text)

I load the page up at 1400px let's say. Start scrolling down, most of the animations seem to trigger at the correct times, although the further down you go, some of the animations start off too late.
Then i scroll back up, change the width of the page to 700px. Then start scrolling down again. You can see that most of the elements start to show up too late. But if you adjust the width of the browser within that position, it fixes itself.

Reference: www.gainmutual.com
Hopefully seeing the site will help you understand the issue that I'm having. Let me know if you need any additional info.
Thanks in advance.

I think the issue is because when you change the width of the page one or two of your content boxes are having the height adjusted due to squashing the width. This in turn forces everything to be pushed down the page and thus the triggers are at different points than they would normally be....
All of that said, i'm not sure how to get around it, as i'm currently in the same situation as you!


[#17] disable maintaining access and modification time

The change checking of the AWS Datasync service relies on the file size and last modification time properties. Unfortunately, the "Copy timestamps" option is not working properly between S3 and EFS, and results incorrect file creation time on the EFS side. Therefore, in the case of Datasync change checking, only the file size information will be available which gives the "unchanged" answer even in the files are having different contents. Thus, the "Copy timestamps" option was switched off in order to get correct change checking answers.


Move color code, translations, import old messages

Properly display Messages from previous version
Support displaying messages of previous versions
After update to new Messages layout , we can no longer read the previous Messages log because they are 4 elements vs 7 in the new layout
Ensure no NPE if message is smaller than the 7 new elements

Small translations

en/fr small spelling fix
Excel template: move the new skipped/failed messages to appropriate section
merge the japaneese xml changes into Excel template

Sorry, messed up with my repo
On first time SMBSync2 will be updated to the new 2.30, user can no longer read previous Messages in app TAB
My first patch is no more valid because Title was moved to the horizontal one line layout with time/date
Old version log is 4 entries, [4] is Msg. New is 7 entries, [4] is Title, [5] is Msg
Option 1: mention in update that Messages are no longer displayed but accessed in History log
Option 2: merge something like my commit
Note: won't work if messages file was broken with my previous patch.
To test:

install v2.29, have a ".messages" file from 2.29
update to 2.30 with my patch
old Messages are displayed properly

Only cosmetic..., so drop it if you want

Thank you.
The ".messages" file should be initialized.
Message display has been changed.

Best regards.

Yes, better like this than hack around Title -> Message
Best regards


"executes" as short cut relation

From<EMAIL_ADDRESS>on April 30, 2013 03:19:11
http://sourceforge.net/tracker/?func=detail&aid=3603259&group_id=177891&atid=886178
Original issue: http://code.google.com/p/information-artifact-ontology/issues/detail?id=140

From<EMAIL_ADDRESS>on January 14, 2014 14:50:40
Should this go to the BFO2 rather than IAO tracker?


// being cut in the query

Hello, I'm using your great library.
We had to clone it and comment out this line
https://github.com/oyvindkinsey/easyXDM/blob/master/src/Core.js#L333
The reason is - we have a query parameter in URL
https://domain.com:443/myframe/index.html?access_token=cZRLiMjyBYPDOxCcE0MiGY/plMVI07VGlRkL46dWkI//+bhvu4MUFd8kB19nlWNt2fVoH2fU5Myq4AWhu76QdQ==
And sometimes access token can contain two slashes //, and it is cut by that part of the code. and the token is not valid anymore.
Maybe there is a way to skip that replacement? Or can I contribute and add a setting for that replacement?

This is a bug, since this normalization is only intended to apply to the path component of the url, and not additional components such as the fragment.
This should be fixed such that logic similar to that on #338 was applied.


Enrollment response

This is my first PR in a while, and also I don't know TypeScript, so there's a lot of stabbing in the dark. I'm trying to solve issue #49, which is theoretically a pretty good first issue. However, I do not understand the logic of breaking components up into tiny parts. Rather than asking someone to explain it to me, please comment on where things ought to have gone.
I created two components, RegistrationResponse and PassportApplicationResponse, which each take a single boolean isSuccess value to render one of two possible messages from the UI design. Unfortunately there isn't currently a way to see them in action, because they are just components. It should be easy enough to incorporate them into the Register and Passport forms, since all they need to know is whether the submission worked. But it seemed silly to modify either form without being able to do the thing that the response is signifying, so I left them alone.
I also created an external-link in shared-components, which I used for the "please alert our development team" link, and maybe we'll need another external link someday.

Update: changed ExternalLink component so it doesn't open a new tab, and takes a string for link text. So really it's just a link. But it does have an external-link icon after it.

Also, made snapshot test. Then, made snapshot test that successfully creates snapshot.

@acharliekelly how goes it on this PR are you able to fix the confilicts and address the last of the comments?

Pretty sure conflicts are resolved, but still not 100% on git stuff

Oops, I think I must have broken one of the snapshot tests


feat: add tooling required for the automated image update PR

Related to https://github.com/3scale/3scale-saas/pull/414
/assign
/priority important-soon
/kind maintenance

/kind feature

/lgtm

/approve


fix(react-table): props weren't being passed to the table

Closes #772
📝 Description
Striped variant fixed
⛳ Current behavior (updates)
#772
🚀 New behavior
Table props are now being passed to the table
💣 Is this a breaking change (Yes/No): No

📝 Additional Information

striped prop appears to still not work


vcap and json loads changes

This PR supports the following:

Convert data object to string before making a request
Temporary handle vcap services... This is a temporary change as we pass in only service name. So a VCAP service like compare-and-comply would be converted to compare_and_comply

* Temporary handle vcap services... This is a temporary change as we pass in only `service name`. So a VCAP service like `compare-and-comply` would be converted to `compare_and_comply`

We shouldn't be doing any transformation on the service name when we use it to retrieve an entry in VCAP_SERVICES.   If the service name obtained from the API definition and inserted into the generated code is "compare-and-comply", then that's the key that we'd expect to find in VCAP_SERVICES.
We only do the transformation on the service name when looking for properties in the credential file or environment variables.
There is a section on this in the Authentication design:
https://github.ibm.com/CloudEngineering/openapi-sdkgen/wiki/Core-SDK-Authentication-Design#a-note-about-service-names

@padamstx this was done temporary before the meeting as a candidate release had to get out


[Bug]: Table Widget doesn’t fill space in zones vertically

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Table Widget doesn’t fill space in zones vertically
Steps To Reproduce

Open an existing app with widgets on the Anvil base DP (https://ce-28238.dp.appsmith.com/)
Drag and drop a table widget and connect with a large dataset
Drag this table widget on to a long zone

Public Sample App
No response
Environment
Deploy Preview
Severity
Low (Inconsistent UI/UX)
Issue video log
No response
Version
cloud

@ramsaptami Closing the app as it is not relevant anymore. we provided number of rows for table now.


fix(accordion): add missing spacing in combination with cards

:rocket: Welcome to Baloise ChatOps based GitOps Bot :tada:
- If you want to enable preview environments for this PullRequest, comment with `/preview`.
- If you want to disable the preview environment for this PR, comment with `/undeploy`.
- If you need help or want to see the docs, comment with `/help`.

Make sure to refresh this page after submitting a command.
Preview environments can be redeployed automatically if you enable the webhook for updates to the source branch. :new:

Have fun building awesome apps! :hammer:  :whale2:  :truck:  :ship:


implicitly define properties bound to native attrs

Fixes https://github.com/PolymerLabs/polylint/issues/90

Does Polylint have a test suite? Asking for a friend.

@cdata https://github.com/PolymerLabs/polylint/blob/master/test/linter-test.js
I'll add a test to this PR after addressing peter's comments.

LGTM

Thanks


[Question]: there's gnet https server now, how to use gnet https client?

Actions I've taken before I'm here

[X] I've thoroughly read the documentations about this problem but still have no answer.
[X] I've searched the Github Issues/Discussions but didn't find any similar problems that have been solved.
[X] I've searched the internet for this problem but didn't find anything helpful.

Questions with details
how can i use gnet as https client? pls provide an example. thx.
also, pls update to use latest gnet-io/tls example for https.
thx!
Code snippets (optional)
No response

For this kind of question, please go to our discord channel.


Are there any systemjs examples?

All examples seem to be with webpack. How would we build the apps when they reside in different repos? Any help or suggestions is appreciated. Thx!

Apologies for the very very slow response here.
The majority of our initial examples (including single-spa-examples) used to be implemented with SystemJS, but we got rid of it because it became confusing for many people in the issue queues. If you went far enough back in the git history of single-spa-examples, you'd actually find SystemJS in there.
So currently I am not aware of any example repos that use systemjs. However, at Canopy we use SystemJS in production, have our single-spa applications in separate git repositories, and have the builds and deploys for single-spa applications completely independent of each other.
I actually start last week a blog post about this topic (see https://github.com/CanopyTax/single-spa/issues/221 and https://github.com/CanopyTax/single-spa/issues/169).
The basic approach:

Load the SystemJS library as a global variable on the page
Populate the SystemJS module registry with common dependencies, with SystemJS.registerDynamic('react', ....)
Have separate git repos and package.jsons for each single-spa application
Bundle with webpack each single-spa application down to an AMD format. Common dependencies should be "webpack externals" that get bundled down to amd dependencies.
Register your single-spa applications, implementing the single-spa loading functions for your applications with SystemJS. For example,  singleSpa.register('app1', () => SystemJS.import('/path-to-my-app.js', () => true)
Deploy your applications by uploading the bundled file and making sure that SystemJS.import() finds the new file. We use the systemjs plugin sofe to help find the new url to the bundle file

Anyway, hope that helps! I'm going to close this for now but feel free to reopen with further discussion or questions.

wanted to submit a fresh working SystemJS based sample since this took me a bit to get my head around the specifics given SystemJS and everything else has evolved enough for errors to be confusing based on the slightly dated sample code in these threads... not a dig, just the reality of how everything is moving forward.
@joeldenning - thanks for all of your kind guidance in these threads! and thanks to CanopyTax for backing the single-spa rallying point... we have high hopes for this basic concept in a major Seattle county govt Azure based project... there'd be no way i would've got there without all your posts... these clear steps you listed here were my north star :)
i'm going to cross post this in a couple other issues to make sure people see it... just comment back if that's frowned upon and i'll delete.


commit on kca

please mention what changes you have made to this repo, so that I can check the following.

please mention what changes you have made to this repo, so that I can check the following.

Was trying to make a few customisations.
Thanks for the tutorials.

ok will wait for it
On Sun, Nov 21, 2021, 12:06 PM Mwita @.***> wrote:

please mention what changes you have made to this repo, so that I can
check the following.
Was trying to make a few customisations.
Thanks for the tutorials.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/backslashflutter/email_password_flutter_firebase/pull/1#issuecomment-974763854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR7DVJC7U5I62CVVL4H73RDUNCHO7ANCNFSM5IMHMSSA
.


Dependency doesn't resolve on macos

Hey 👋 really cool project.  Wanted to check it out a bit, but unfortunately, it seems to not resolve on MacOS arm?
:app:main: Could not resolve io.github.smyrgeorge:sqlx4k-postgres:0.9.4.
Required by:
    project :app

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

I see the dependency on maven central, so this is quite strange https://central.sonatype.com/artifact/io.github.smyrgeorge/sqlx4k-postgres
With a --stacktrace I can see that gradle is confused about dependency variant, which I don't know much about, presumably has to do with the multiple dependencies created by the native system output when building multiplatform libs
Caused by: org.gradle.internal.component.resolution.failure.exception.VariantSelectionByAttributesException: No matching variant of io.github.smyrgeorge:sqlx4k-postgres:0.9.4 was found. The consumer was configured to find a library for use during compile-time, compatible with Java 17, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but:
  - Variant 'iosArm64ApiElements-published' declares a library, preferably optimized for non-jvm:
      - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during compile-time, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
      - Other compatible attributes:
          - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
          - Doesn't say anything about its elements (required them preferably in the form of class files)
          - Doesn't say anything about its target Java version (required compatibility with Java 17)
  - Variant 'iosArm64MetadataElements-published' declares a library, preferably optimized for non-jvm:
      - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during compile-time, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
      - Other compatible attributes:
          - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
          - Doesn't say anything about its elements (required them preferably in the form of class files)
          - Doesn't say anything about its target Java version (required compatibility with Java 17)
  - Variant 'iosArm64SourcesElements-published' declares a component, preferably optimized for non-jvm, and its dependencies declared externally:
      - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during compile-time, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
      - Other compatible attributes:
          - Doesn't say anything about its elements (required them preferably in the form of class files)
          - Doesn't say anything about its target Java version (required compatibility with Java 17)
  - Variant 'metadataApiElements' declares a library, preferably optimized for non-jvm:
      - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component for use during compile-time, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
      - Other compatible attributes:
          - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
          - Doesn't say anything about its elements (required them preferably in the form of class files)
          - Doesn't say anything about its target Java version (required compatibility with Java 17)
  - Variant 'metadataSourcesElements' declares a component, preferably optimized for non-jvm, and its dependencies declared externally:
      - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a library for use during compile-time, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
      - Other compatible attributes:
          - Doesn't say anything about its elements (required them preferably in the form of class files)
          - Doesn't say anything about its target Java version (required compatibility with Java 17)

Hoping you know how this can be resolved, or hopefully it's a quick bug to resolve.  I just want to use this for JVM for the moment :)

There was a problem with the build setup. I'm publishing the new version (0.10.0) that resolves this issue.
I'll let you know as soon as is published.

I'm publishing a new version (0.11.0). You will have to wait for this one.


[BP-1.16][FLINK-26907][Tests] RMQSourceITCase failed on azure due to ContainerLaunchException: Container startup failed

What is the purpose of the change
RMQSourceITCase failed on azure due to ContainerLaunchException: Container startup failed, Increase the number of TestContainer startup attempts
Brief change log

backport 1.16; Increase the number of TestContainer startup attempts from 1 to 3.

Verifying this change

This change is already covered by existing tests, such as MinioTestContainerTest.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper:no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

I'm closing this issue because 1.16 will soon be not supported anymore (after 1.18 was released).

Thank you very much


Service Binding

Is there any way to set up a service binding? I tried in website but it told me to setup in wrangler, however I can't find any related things in both the wrangler document and code base.
https://developers.cloudflare.com/workers/platform/bindings/about-service-bindings/
https://blog.cloudflare.com/service-bindings-ga/

I found the undocumented [experimental_services] and [[unsafe.bindings]], it works well!
Looking forward to an non-experimental config👀

Hello! We're working on service bindings integration in wrangler at the moment, you can follow the PR here https://github.com/cloudflare/wrangler2/issues/1004 Please pay attention to the "Current critical drawbacks" section.
Closing this issue, but happy to discuss further.