error: cannot find symbol BuildConfig

New Version
0.71.8
Old Version
0.69.7
Build Target(s)
android simulator dev build
Output of react-native info
System:
OS: macOS 13.3.1
CPU: (10) arm64 Apple M1 Pro
Memory: 820.83 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.6.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.6.6 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8815526
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
Languages:
Java: 11.0.16 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Issue and Reproduction Steps

I faithfully implemented the contents of the upgrade helper, but when I build, an error occurs at that part
What should I do?

Can you share the content of your MainApplication.java file?

Can you share the content of your MainApplication.java file?

import android.app.Application;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.swmansion.gesturehandler.RNGestureHandlerPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint;
import com.facebook.react.defaults.DefaultReactNativeHost;
import com.facebook.soloader.SoLoader;
import java.util.List;
import com.microsoft.codepush.react.CodePush;
import com.facebook.react.bridge.JSIModulePackage;
//import com.swmansion.reanimated.ReanimatedJSIModulePackage;
import org.wonday.orientation.OrientationActivityLifecycle;
public class MainApplication extends Application implements ReactApplication {
private final ReactNativeHost mReactNativeHost =
new DefaultReactNativeHost(this) {
@Override
public boolean getUseDeveloperSupport() {
return BuildConfig.DEBUG;
}
    @Override
    protected List<ReactPackage> getPackages() {
      @SuppressWarnings("UnnecessaryLocalVariable")
      List<ReactPackage> packages = new PackageList(this).getPackages();
      packages.add(new TmpPackage());
      // Packages that cannot be autolinked yet can be added manually here, for example:
      // packages.add(new MyReactNativePackage());
      return packages;
    }

    @Override
    protected String getJSMainModuleName() {
        return "index";
    }

//        @Override
//        protected JSIModulePackage getJSIModulePackage() {
//            return new ReanimatedJSIModulePackage();
//        }
    @Override
    protected String getJSBundleFile() {
        return CodePush.getJSBundleFile();
    }

    @Override
    protected boolean isNewArchEnabled() {
        return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
    }
    @Override
    protected Boolean isHermesEnabled() {
        return BuildConfig.IS_HERMES_ENABLED;
    }
  };

@Override
public ReactNativeHost getReactNativeHost() {
return mReactNativeHost;
}
@Override
public void onCreate() {
super.onCreate();
SoLoader.init(this, /* native exopackage */ false);
registerActivityLifecycleCallbacks(OrientationActivityLifecycle.getInstance());
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
DefaultNewArchitectureEntryPoint.load();
}
ReactNativeFlipper.initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}
}
thanks for the answer! here is the content

thanks for the answer! here is the content

Thanks. I see you use CodePush, I suspect that might be the root cause of your problem.
Can you share your android/app/build.gradle and android/build.gradle files?

thanks for the answer! here is the content

Thanks. I see you use CodePush, I suspect that might be the root cause of your problem. Can you share your android/app/build.gradle and android/build.gradle files?

here is files

app/build.gradle

/**
 * This is the configuration block to customize your React Native Android app.
 * By default you don't need to apply any configuration, just uncomment the lines you need.
 */

//react {
    /* Folders */
    //   The root of your project, i.e. where "package.json" lives. Default is '..'
    // root = file("../")
    //   The folder where the react-native NPM package is. Default is ../node_modules/react-native
    // reactNativeDir = file("../node_modules/react-native")
    //   The folder where the react-native Codegen package is. Default is ../node_modules/react-native-codegen
    // codegenDir = file("../node_modules/react-native-codegen")
    //   The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
    // cliFile = file("../node_modules/react-native/cli.js")
    /* Variants */
    //   The list of variants to that are debuggable. For those we're going to
    //   skip the bundling of the JS bundle and the assets. By default is just 'debug'.
    //   If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
    // debuggableVariants = ["liteDebug", "prodDebug"]
    /* Bundling */
    //   A list containing the node command and its flags. Default is just 'node'.
    // nodeExecutableAndArgs = ["node"]
    //
    //   The command to run when bundling. By default is 'bundle'
    // bundleCommand = "ram-bundle"
    //
    //   The path to the CLI configuration file. Default is empty.
    // bundleConfig = file(../rn-cli.config.js)
    //
    //   The name of the generated asset file containing your JS bundle
    // bundleAssetName = "MyApplication.android.bundle"
    //
    //   The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
    // entryFile = file("../js/MyApplication.android.js")
    //
    //   A list of extra flags to pass to the 'bundle' commands.
    //   See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
    // extraPackagerArgs = []
    /* Hermes Commands */
    //   The hermes compiler command to run. By default it is 'hermesc'
    // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
    //
    //   The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
    // hermesFlags = ["-O", "-output-source-map"]
//}

apply plugin: "com.android.application"
apply plugin: "com.facebook.react"
apply plugin: "com.google.gms.google-services"
apply plugin: "com.google.firebase.crashlytics"
apply plugin: "com.google.firebase.firebase-perf"
apply plugin: "com.google.firebase.appdistribution"

apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

/**
 * Set this to true to create four separate APKs instead of one,
 * one for each native architecture. This is useful if you don't
 * use App Bundles (https://developer.android.com/guide/app-bundle/)
 * and want to have separate APKs to upload to the Play Store.
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Set this to true to Run Proguard on Release builds to minify the Java bytecode.
 */
def enableProguardInReleaseBuilds = false

/**
 * The preferred build flavor of JavaScriptCore (JSC)
 *
 * 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:+'

/**
 * Private function to get the list of Native Architectures you want to build.
 * This reads the value from reactNativeArchitectures in your gradle.properties
 * file and works together with the --active-arch-only flag of react-native run-android.
 */
def reactNativeArchitectures() {
    def value = project.getProperties().get("reactNativeArchitectures")
    return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}

android {
    ndkVersion rootProject.ext.ndkVersion
    compileSdkVersion rootProject.ext.compileSdkVersion

    namespace project.env.get("APP_ID")
    defaultConfig {
        applicationId project.env.get("APP_ID")
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode 88
        versionName "2.6.5"
        multiDexEnabled true
        archivesBaseName = "${applicationId}-v${versionCode}(${versionName})-"
        resValue "string", "build_config_package", "com.yohoyoho_app"
    }

    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include (*reactNativeArchitectures())
        }
    }
    signingConfigs {
        debug {
            storeFile file('debug.keystore')
            storePassword 'android'
            keyAlias 'androiddebugkey'
            keyPassword 'android'
        }
        release {
            if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) {
                storeFile file(MYAPP_UPLOAD_STORE_FILE)
                storePassword MYAPP_UPLOAD_STORE_PASSWORD
                keyAlias MYAPP_UPLOAD_KEY_ALIAS
                keyPassword MYAPP_UPLOAD_KEY_PASSWORD
            }
        }
    }
    buildTypes {
        debug {
            signingConfig signingConfigs.debug
        }

        release {
            // Caution! In production, you need to generate your own keystore file.
            // see https://reactnative.dev/docs/signed-apk-android.
            signingConfig signingConfigs.release
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            firebaseCrashlytics {
                nativeSymbolUploadEnabled true
                unstrippedNativeLibsDir 'build/intermediates/merged_native_libs/release/out/lib'
            }
        }
    }

    flavorDimensions "mode"
    productFlavors {
        dev {
            dimension "mode"
        }
        prod {
            dimension "mode"
        }
        staging {
            dimension "mode"
        }
    }

    // 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 abi = output.getFilter(com.android.build.OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        defaultConfig.versionCode * 1000 + versionCodes.get(abi)
            }
//            def date = new Date();
//            def formattedDate = date.format("yyyyMMddHHmmss");
//            outputFileName = project.env.get("APP_ID") + "-v${variant.versionName}" + "_" +project.env.get("MODE") + ".apk"
        }
    }
}

dependencies {
    implementation 'com.kakao.sdk:usermgmt:1.17.0'
    implementation platform('com.google.firebase:firebase-bom:32.0.0')
    implementation 'com.google.firebase:firebase-analytics'
    implementation 'com.google.firebase:firebase-inappmessaging-display'

    // The version of react-native is set by the React Native Gradle Plugin
    implementation("com.facebook.react:react-android")

    implementation ("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")

    implementation 'com.google.android.play:core:1.10.3'

    // git 설정
    implementation 'com.facebook.fresco:animated-gif:2.6.0'

    implementation 'com.facebook.fresco:animated-webp:2.6.0'
    implementation 'com.facebook.fresco:webpsupport:2.6.0'

    implementation 'com.facebook.android:facebook-android-sdk:12.3.0'

    implementation('com.facebook.soloader:soloader:0.10.3') {
        version {
            strictly '0.10.3'
        }
    }

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

    debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
    if (hermesEnabled.toBoolean()) {
        implementation("com.facebook.react:hermes-android")
    } else {
        implementation jscFlavor
    }
}

repositories {
    mavenCentral()
}

2.android/build.gradle
import org.apache.tools.ant.taskdefs.condition.Os

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "33.0.0"
        minSdkVersion = 23
        compileSdkVersion = 33
        targetSdkVersion = 33
        kotlinVersion = "1.6.0"
        // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "23.1.7779620"
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:7.3.1")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("com.google.gms:google-services:4.3.14")
        classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.2")
        classpath("com.google.firebase:perf-plugin:1.4.2")
        classpath("com.google.firebase:firebase-appdistribution-gradle:3.1.0")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
    }

    subprojects {
        repositories {
            mavenCentral()
            maven {
                url 'http://devrepo.kakao.com:8088/nexus/content/groups/public/'
                allowInsecureProtocol true
            }
        }
    }
}

Your file looks correct. Can you share your package.json file as well?

Thank you for your continued interest.  It looks fine.
We would need a reproducer now as I can't say just by looking at those files what's going on.

Thanks for your package.json. It looks fine. We would need a reproducer now as I can't say just by looking at those files what's going on.

Ah... I'm sorry.
Unfortunately I can't provide that.
I do not own the final ownership of this app, so the information I can provide is limited. I can't upload the contents of the currently commercially available app to the repository at will.

@cortinico um.... seems to have found something
The way I built it was this
ENVFILE=.env.dev react-native run-android --variant=devDebug --appId [my.pacakge.name_TEST]
I failed in this

ENVFILE=.env.prod react-native run-android --variant=prodDebug
In this case, the build succeeds

Perhaps something went wrong in the --appId part,
I don't know why that keyword is a problem...
can you tell me why??

i finally catch what is the problem
here it is
the problem is 'react-native-config',
in this case its official doc said
Advanced Android Setup
In android/app/build.gradle, if you use applicationIdSuffix or applicationId that is different from the package name indicated in AndroidManifest.xml in <manifest package="..."> tag, for example, to support different build variants: Add this in android/app/build.gradle

defaultConfig {
    ...
    resValue "string", "build_config_package", "YOUR_PACKAGE_NAME_IN_ANDROIDMANIFEST_XML"
}

but in react-native 0.71.8 (its my version)
upgrade helper said

so i tried this

namespace and build_config_package name both set same value in static string (full package name in prod [com.blahblah_blah])
and (In my case, Use "_~~~" to classify development, staging, and environment names. It is not attached separately when prod, in prod, same with namespace, and build_config_value like this [com.blahblah_blah] -> cuz applicationId is [com], and suffix is [.blahblah_blah] so [com.blahblah_blah])

and its finally started work fine!
ENVFILE=.env.dev react-native run-android --variant=devDebug <-- without --appId

but idk why it works
when i build dev env, the package name is [com.blahblah_blah_TEST]
but the
namespace, and resValue (build_config_package) value is [com.blahblah_blah]
thoes are mismatched but works fine
plz somebody teach me why, and how it works
and I hope this helps people like me who are using react-native-config and having trouble upgrading the react-native version.
p.s sry about my English skill ;)

i found it
the namespace project.env.get("APP_ID") is not work....
Must be specified as a static string to work ;)

btw in react-native-config official doc

@rdtf1230 Can you link where the docs are? Those are old and needs to be updated

btw in react-native-config official doc

@rdtf1230 Can you link where the docs are? Those are old and needs to be updated

https://github.com/luggit/react-native-config
scroll down and find section [Advanced Android Setup] there is

I see. You should reach out to them and ask to update the documentation then

알겠어요. 그들에게 연락하여 문서 업데이트를 요청해야 합니다.

https://github.com/luggit/react-native-config/issues/736
Someone raised an issue about this already in February.
I don't know if the author knows, but seeing that the version of the library was updated last week, it doesn't seem to be a dead library.

I see. You should reach out to them and ask to update the documentation then

https://github.com/luggit/react-native-config/issues/736
Someone raised an issue about this already in February.
I don't know if the author knows, but seeing that the version of the library was updated last week, it doesn't seem to be a dead library.


Format of a MediaSourceReference not working with float?

in the MediaSourceReference used to instantiate the VideoCompositor, the fields start, sourceStart and duration seem to work with inters but not with float, this makes it difficult to do accurate cut programmatically. Was wondering it there's any ways a round that? or if it's possible to add support for float?

Hi pietrop, you should be able to use floats in all of those fields currently. If it's not working it may be an issue with how the videos are encoded (the compositor is quite picky about this), how they're being served, or possibly the browser (at the moment things are working best in chrome).
Internally the compositor uses setting of a video elements currentTime property to implements sourceStart & duration. So a quick test to see if things are behaving as expected could be to try programmatically setting the currentTime of the videos you're using and to see if that seeks to the expected point.

Hi Matthew,
Thanks, I am using it in nw js so an implementation of Chromium for desktop apps.
However as it's tricky to enable mp4 there(due to licencing issues) I am converting the videos in ogg for now, and thought that could be the issue.
But I run the test as you suggested with currentTime and it works fine
videoCompositor.currentTime = 10.04;

Then I tried playing a sequence modifying the example once with float, and that works as well
  var playlist =  {
        "tracks":[
                    [
                      {type:"video", sourceStart:0.01, start:3.00, duration:2.01, src:"./media/Clip16.ogg", id:"1"},
                      {type:"video", sourceStart:20.01, start:5.02, duration:6.01, src:"./media/debate_test.ogg", id:"2"},
                       {type:"video", sourceStart:30.01, start:11.03, duration:6.01, src:"./media/debate_test.ogg", id:"3"}
                    ]
                ]
      };

//testing the video compositor with float sequence

canvas = document.getElementById('player-canvas');
videoCompositor = new VideoCompositor(canvas);
videoCompositor.playlist = playlist;
videoCompositor.play();

Anyway, thanks I've now narrowed it down to a problem with the code I am using to generate the playlist programmatically. As I am getting this error Uncaught MediaSourceReferences 3 in track 0 starts before previous MediaSourceReference, which I am assuming it means the timing in the playlist are not right?

Hi pietrop, yeah that error is thrown when the end of one MediaSourceReference overlaps with the start of another on the same track. JavaScript rounding errors could be the cause of the error, one potential solution is to round start, sourceStart, and duration times to the nearest integer number of frames (i.e round to nearest 0.04 seconds for 25 fps video).

sounds good, I am not sure how would I round start, sourceStart, and duration  to the nearest integer number of frames?
at the moment I was using
parseFloat(numberToRoundUp).toFixed(2)

Something like this maybe? Although you'd need to know the frame-rate of the video up front.
var result = (Math.round(numberToRound*25))/25;

cool, make sense, I'll try it out,
yeah I guess you could have the fps as a variable
// rounding time to the nearest integer number of frames
var fps = 25;
var result = (Math.round(numberToRound*fps))/fps;

Thanks

I'm going to close this issue for now as it appears the original problem is resolved.

Sounds good, thanks!


Validation of meeting time

Closes #1368
It should now be impossible to create a meeting with an end-time that is earlier than the start time.
This should be the same for editing meetings

An error message is not really nice... I expected: If I changed the start date, the end date should be set to start date. Than I can save directly (without changing end date) if my meeting is a one-day-event.

So in other words:
If the user changes one date and the result is valid, do nothing further.
If the user changes one date and the result is invalid, change the other so that they are the same date?


Publishing an event throws  amqp.exceptions.FrameSyntaxError if worker_ctx.data values are not strings.

worker_ctx.data dict must contain values of type str, otherwise when an event is published an amqp.exceptions.FrameSyntaxError is raised.
This is caused by the contents of worker_ctx.data eventually being used as headers in the published message:
A potential solution would be to filter out those which aren't of correct type, which is already done with None types. Or alternatively do some validation when a key is added to worker_ctx.data.
Happy to submit a PR.

Oh interesting, thanks. I had assumed that kombu serialized them using whatever encoder is configured, but I guess not. A PR would be great!
Actually the warning about None values is kinda unhelpful because it tends to generate a lot of logs. Something that warned once would probably be good (using the warnings module) or otherwise just dropping them silently.


Compilation crashes with texinfo 6.3

In ArchLinux, compilation ends with:
../../gcc-4.8.2/gcc/doc/gcc.texi: 88: warning: @tex should only appear at the begginning of a line
../../gcc-4.8.2/gcc/doc/gcc.texi: 208: there is no corresponding '@end text'
../../gcc-4.8.2/gcc/doc/gcc.texi: 208: there is no corresponding '@end multitable'
../../gcc-4.8.2/gcc/doc/gcc.texi: 208: there is no corresponding '@end titlepage'
With older versions of texinfo (6.1 in Fedora 24, for example) works well.

Now compiles ok.


UX issue?: Subclasses of 'str' error out even when packable

Description
I'm trying to import some things into Neo4J. They are classes called enhanced_str which inherit from str. But I get an error when trying to import.
Related issues
https://github.com/py2neo-org/interchange/issues/4
https://github.com/linkml/linkml-runtime/issues/64
https://github.com/cancerDHC/ccdh-terminology-service/issues/115
Error message
Short err
TypeError: Values of type <class 'linkml_runtime.utils.yamlutils.extended_str'> are not supported

What I tried
I looked at where this is erroring. It looks like it fails the following check:
        # String (Unicode)
        if t is self.text_type:
            self._pack_unicode(value)

It fails because self.text_type returns <class 'str'>, but type(value) in my situation returns <class 'linkml_runtime.utils.yamlutils.extended_str'>, and clearly these are not equal.
I tested self._pack_unicode(value), and I did not get an error.
Suggestions
It would be a lot of work probably, but maybe it would be an improvement for us to not just check if things are serializable using isinstance. The enhanced_str objects are serializable as unicode, but I'm not sure if there is a good way to check for this.
Perhaps using the typing module would be good. Perhaps Type[str] or TypeVar(str).
Perhaps issubclass() would work.

Hi @joeflack4,
thanks for the feedback 🚀
lets check if we are on the same track:
You are trying to import some none built-in python class called enhanced_str
interchange expects a string but gets your enhanced_str instead and so it fails.
Now you suggestions is that interchange would be improved by trying harder to serialize a non built-in class, correct?
If i got you right my answer would be "No" :) sorry
Lets me explain my views on this:
There may be hundred or thousand or billions of instances of interchange running in the world. From all these instances, as far as we know, only your instance needs this feature. So every of the other instances would need to run some extra lines of code to please your niche case that can be solved very easy on your side.
It would be much easier for the world if you adapt your code to please the interchange api.
There are some very easy ways how you can solve the issue:
The first i can come up with would maybe to cast your non build-in class back to a built-in class
self._pack_unicode(str(value))

this does almost not have any impact on a normal str values and casts your enhanced_str back to a normal str
Does this help or are we at cross-purposes?

Hey Tim. I'm not surprised; I was expecting a response like this.
What I'm asking is not to support every / additional classes.  Rather than ask "is this a string", one could ask "does this support the capabilities of a string?". I'm not an expert on how to do this, but I think it would involve reflection/introspection instead. Like you can check to see things like (a) is this a subclass of string?, and/or (b) does this class contain all of the methods (or at least the ones we need for our purposes) that exist on the native Python string class?
Honestly I wouldn't prioritize it if I were you either, and I don't have time for it myself. You can close it if you want; but I just want you to be aware of the issue.
For my personal use case, I'm using 2 sets of libraries; One is Neo4J, and the other lis LinkML, where the enhanced_str comes from. I've already worked around this on my end by converting everything to plain string, but I raised the issue in LinkML. I may take the time to solve it here. But I wanted you guys to be aware of this kind of issue as well.

Hi joeflack,
i see your point, but in my experience usually the API dictates the type not the client using it, especially when the conversion is so easy. Also there is potential that this would open a can a of worms :)
So, no hard feelings :heart: , but i am going to close the issue for now. if there emerges a common use case out of your case (aka more users adopting it and using LinkML enhanced_str) we can re-open and continue the discussion.
nevertheless, thanks for the feedback


Document the ProxyUseDefaultCredentials switch

Summary
dotnet-install.ps1 supports the ProxyUseDefaultCredentials switch, but it isn't mentioned in the web documentation.
I've added some info based on the ProxyUseDefaultCredentials documentation in for Invoke-WebRequest.
This also added a two-liner example for use from behind a corporate proxy.

@johnbeisner can you please take a look at this PR?

John is out on vacation, so I'll follow up with him when he's back.

@johnbeisner can you please review this PR?

@johnbeisner can you please review this PR? It's a couple of months old.

Great to hear, thanks!


[BUG] Text Disappears from Chart when Zoomed In

Expected Behavior
Text labels and annotations should remain visible and legible even when the chart is zoomed in
Current Behaviour
When zooming in on the chart, the text labels and annotations disappears
https://github.com/louisnw01/lightweight-charts-python/assets/93983733/0260852f-497e-4710-b04a-19673d9f2a54
Reproducible Example
HI

Environment
- OS: macOS
- Library:

https://github.com/louisnw01/lightweight-charts-python/assets/93983733/89b40fac-80a4-4e5d-be0f-5d134da84443

Not a bug; all markers shhould be in chronological order.
Louis

def Text_List_TV(chart, Dataframe, Index, Text, font_color, position ):     for idx in np.sort(Index) :         chart.marker( time = Dataframe.at[idx, "Datetime"], position = position,                color = font_color, text = Text)
'm currently using this function to plot the index in the list. There is no problem when only one list is used, as the single list is synchronized. However, when attempting to plot multiple lists, each with its own index, the synchronization is not maintained, leading to misaligned data points on the chart.
Could you please advise on the best approach to ensure proper synchronization of indices when plotting multiple lists using the chart.marker function or any custom function designed for this purpose? I would greatly appreciate any insights or suggestions you can provide to address this issue.

@louisnw01 @NijanJ  I am also facing the same issue. The texts disappear when i try to zoom in the chart and reappears when zoom out.


Create VINC explainer [12.04]

Deadline: EoD 12.04
I will create a document that explains:

VINC
The basic problem setting of PCA
Variance, Covariance

https://drive.google.com/file/d/1FnrllR9_e5j1QR-1ZP6WKnEk44sGQ0fb/view?usp=share_link


examples: zephyr: Add CBOR examples to lightdb_stream example app

Update the lightdb_stream example app to include sync & async examples showing how to send CBOR-encoded sensor data to LightDB Stream.
If you don't want the last commit (dc055c6464d0c34445f1a53275033b6e1dea2ca6) just LMK and I can drop it (was just trying to consolidate duplicate code)

@cdwilson Can we add tests for the new functionality? Should be as simple as extending the number of temperature readings we're checking (in examples/zephyr/lightdb_stream/pytest/test_sample.y) to ensure that we're covering the new functions.


feat: reexport protobufjs from gax

We sometimes need protobufjs in client libraries (e.g. for LRO proto loading). gapic-generator does not do a great job detecting if protobufjs is needed or not for the given client library, which sometimes causes lint errors about unused dependency.
Since protobufjs is an important part of gax, it will always be installed within gax. Let's just reexport it from gax, so that the client library used gax.protobuf.loadSync, gax.protobuf.Root, etc. whenever needed. By doing this, we'll remove protobufjs dependency from the client libraries, and also will make sure there will be no compatibility problems between two protobufjs dependencies.

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

lgtm


merge package from Kronos-Tools/npm-package-template-minimal

package.json

chore(package<EMAIL_ADDRESS>chore(package): add module from template

.travis.yml

chore(travis): remove node versions 10.14.2
chore(travis): add node versions 10.15.0

Coverage remained the same at 14.543% when pulling 5984ef033d1adc8b53bfdc200489c6678068fc3a on template-sync-1 into 3a4632071c33fcf315ccd5732b8216305c04a8e5 on master.


Fix azure.NewFutureFromResponse to always return tracker

When creating a future always include the polling tracker even if
there's a failure; this allows the underlying response to be obtained
by the caller.
Thank you for your contribution to Go-AutoRest! We will triage and review it as soon as we can.
As part of submitting, please make sure you can make the following assertions:

[ ] I've tested my changes, adding unit tests if applicable.
[ ] I've added Apache 2.0 Headers to the top of any new source files.
[ ] I'm submitting this PR to the dev branch, except in the case of urgent bug fixes warranting their own release.
[ ] If I'm targeting master, I've updated CHANGELOG.md to address the changes I'm making.

same issue with linter location being moved


FIX: spelling / keyword

Fixing a spelling / keyword issue in the FAQ docs.

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

(replace with a link to AIRFLOW-X)

Per Apache guidelines you need to create a Jira issue.
Testing Done:

Unittests are required, if you do not include new unit tests please
specify why you think this is not required. We like to improve our
coverage so a non existing test is even a better reason to include one.

Reminders for contributors (REQUIRED!):

Your PR's title must reference an issue on
Airflow's JIRA.
For example, a PR called "[AIRFLOW-1] My Amazing PR" would close JIRA
issue #1. Please open a new issue if required!
Please squash your commits when possible and follow the How to write a good git commit message.
Summarized as follows:

Separate subject from body with a blank line
Limit the subject line to 50 characters
Do not end the subject line with a period
Use the imperative mood in the subject line (add, not adding)
Wrap the body at 72 characters
Use the body to explain what and why vs. how
scheduler_interval => schedule_interval

Current coverage is 64.69% (diff: 100%)

Merging #1739 into master will decrease coverage by 0.04%

@@             master      #1739   diff @@
==========================================
  Files           127        127
  Lines          9498       9498
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6149       6145     -4
- Misses         3349       3353     +4
  Partials          0          0

Powered by Codecov. Last update 821bdb5...5f48090

Thanks for the contribution! Please adhere to the commit guidelines (jira issue, commit message)

@gjreda As @bolkedebruin mentioned, you need to follow instructions on https://cwiki.apache.org/confluence/display/AIRFLOW/Contributors'+Guide
This means creating a JIRA, prefacing your PR and commit with the id and adding a link here to the JIRA, etc.... Please look at other PRs to follow as an example.
Also, if you find other sure inconsistencies in the docs, feel free to include all of them in this PR. That will get it merged with greater expediency.


Docs > Wikidata

The first part of this draft is substantially pulled from the wiki docs on the subject. I believe it can be edited down further.
The second part of this draft is somewhat redundant to what's on the Wikidata help pages for OpenRefine. So, I'm sure they can also be edited down, although I am biased and prefer my own version.

@tfmorris Can you let me know if you think there are still redundancies on this page? Thanks!

I think we are agreed that more work will happen on this page and the various other areas where information is to be found. Currently this work is scheduled for January, if we don't get to it sooner. So, if we're happy with the draft in this current form, we can go ahead and merge this!


Can it be used by a app that will be deployed in playstore

I want to know wether will I face any copyright issues regarding the music. Or will my app get rejected due to this?

you will get both


exchange go-routine spawning by cleanup routine

Feel free to merge it if you like.
BTW: You will need a removeUser method as clients can send a typing = false request in which case you will want to remove it unrelated to a probably existing timeout.
You can have a look at the Matrix-Spec
Signed-Off-By: Matthias Kesler<EMAIL_ADDRESS>

hey @krombel I have updated the design as I described earlier.
We could discuss if this is efficient way to do it.
If yes, could you edit this pr so that we can have the testRemoveUser as it fits perfectly with current implementation.


ERROR: 400: Invalid Input - invalid - Chrome browser management

I'm moving 25K enrolled browsers from the root to a sub OU. GAM gets all browsers just fine. When start moving them, I get ERROR: 400: Invalid Input - invalid. The first time it moved 5000, the second time it moved 11K. I tried batching from 100, 200, 500, and not batch command. None of these worked. Any ideas about what is going on?

You can use:
GAM_CSV_ROW_FILTER="orgUnitPath:regex:^/$" gam print browsers query
os_platform:Windows | gamd move browsers csvfile -:deviceId orgunit
/Browsers
The API doesn't let you query on current OrgUnit today so we use a local
GAM fllter to only show browsers currently in / with:
GAM_CSV_ROW_FILTER="orgUnitPath:regex:^/$"
Jay
Jay Lee
On Thu, Oct 21, 2021 at 6:17 PM pipilisimo @.***> wrote:

gam move browsers query "os_platform:Windows" orgunit /Users/"Destination
OU" batch_size 500
and
gam move browsers query "os_platform:Windows" orgunit /Users/"Destination
OU"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1440#issuecomment-949044403, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDIZMACF7IQZLTFJ3JAG33UICGP5ANCNFSM5GPFQM6A
.

The general idea here is even if the command errors out after moving a
fraction of the browsers, when you re-run the command we won't get those
moved browsers anymore because they're already in the proper OU and not /
Just keep re-running until all / most are moved.
I suspect you may end up with a handful of browsers in the end that throw
an error when you try to move them.
Jay Lee
On Thu, Oct 21, 2021 at 6:32 PM Jay Lee @.***> wrote:

You can use:
GAM_CSV_ROW_FILTER="orgUnitPath:regex:^/$" gam print browsers query
os_platform:Windows | gamd move browsers csvfile -:deviceId orgunit
/Browsers
The API doesn't let you query on current OrgUnit today so we use a local
GAM fllter to only show browsers currently in / with:
GAM_CSV_ROW_FILTER="orgUnitPath:regex:^/$"
Jay
Jay Lee
On Thu, Oct 21, 2021 at 6:17 PM pipilisimo @.***>
wrote:

gam move browsers query "os_platform:Windows" orgunit /Users/"Destination
OU" batch_size 500
and
gam move browsers query "os_platform:Windows" orgunit /Users/"Destination
OU"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1440#issuecomment-949044403, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDIZMACF7IQZLTFJ3JAG33UICGP5ANCNFSM5GPFQM6A
.


torch.hub.load error

Thank you for sharing excellent code and model.
I tried torch.hub.load without cloning this repository, and faced the error below.
Traceback (most recent call last):
File "/home/XXX.py", line 336, in
model = torch.hub.load('yvanyin/metric3d', 'metric3d_vit_giant2', pretrain=True).cuda().eval()
File "/opt/conda/lib/python3.10/site-packages/torch/hub.py", line 568, in load
model = _load_local(repo_or_dir, model, *args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/torch/hub.py", line 597, in _load_local
model = entry(*args, **kwargs)
File "/home/XXX/.cache/torch/hub/yvanyin_metric3d_main/hubconf.py", line 110, in metric3d_vit_giant2
cfg = Config.fromfile(cfg_file)
File "/opt/conda/lib/python3.10/site-packages/mmengine/config/config.py", line 460, in fromfile
lazy_import is None and not Config._is_lazy_import(filename):
File "/opt/conda/lib/python3.10/site-packages/mmengine/config/config.py", line 1661, in _is_lazy_import
with open(filename, encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'mono/configs/HourglassDecoder/vit.raft5.giant2.py'
Could you check?

It looks like your cache is incomplete, please delete your incomplete cache located at /home/XXX/.cache/torch/hub/yvanyin_metric3d_main. Then try torch.hub.load again.
Note: Please pay attention to network issues and make sure that torch.hub.load has smooth access to github.com to download the code and huggingface.co to download the weights.

found the issue, I've created a PR for it.
https://github.com/YvanYin/Metric3D/pull/92
i have add small code to convert from relative path to absolute path to get the config file.

Sorry for my oversight, I just tested and fixed this issue.
@Gabriellgpc Thank you for your kind pr.


After upgrade to 2.1.0 from 1.6x cannot start pode server

Describe the Bug
Unable to find type [PodeListenerType].
At C:\Program Files\WindowsPowerShell\Modules\Pode\2.1.0\Private\PodeServer.ps1:256 char:9

    [PodeListenerType]

    ~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (PodeListenerType:TypeName) [], ParentContainsErrorRecordException
FullyQualifiedErrorId : TypeNotFound

Steps To Reproduce
Start-PodeServer {
#New-PodeLoggingMethod -Terminal | Enable-PodeErrorLogging
Add-PodeEndpoint -Address localhost -Port 8080 -protocol http
Add-PodeRoute -Method Get -Path '/config' -ScriptBlock {

    Write-PodexmlResponse -value 'test'
}

}
Expected Behavior
I'm not expecting that error. pode server will not start
Screenshots
If applicable, add screenshots to help explain your problem.
Platform

OS: [e.g. iOS, Windows] Windows 2012r2
Browser: [e.g. Chrome, Safari]
Versions:

Pode: 2.1.0
PowerShell: 5.1

Additional Context
this machine was running pode 1.6.x but was upgraded to 2.1.0, after which it no longer functions.

if I disable termination when I start the pode server I get this:

I've had someone report this once before, and it was resolved by updating .NET to 4.7.2 - does this work for you as well?

I'm closing this on the assumption the above worked; if not, feel free to re-open.


chromedriver.exe VS chrome.exe - is there any difference?

Hello friends.
Is there any chance to start in headless mode a web driver which is used with Selenium framework?
The executable is "chromedriver.exe". You get it from Selenium site.
And a parallel  question: Is there anything in common between that Selenium tailored "chromedriver.exe" and regular "chrome.exe" that you get when you install Google Chrome on your Windows PC?
Thanks,
Vladimir
vladimir.oleynikATmailDOTcom

@voleynik these names are really easy to make people confused.
I think the page you found is talking the other things, which is selenium's api "WebDriver".
and what I found is, seems the chromedriver.exe is make by Google. homePage
seems it can be used instead of the chrome.exe

chromedriver.exe is a standalone server that takes commands from Selenium Server and communicates with browser's API via JSON commands. There is nothing to do with Chrome browser itself.
To run Chrome headless you better first read this topic: https://developers.google.com/web/updates/2017/04/headless-chrome


Added ReferenceHandler.Preserve to avoid cyclic exceptions outputting…

Some Exceptions are cyclic, when this occurs and the test fails, the test handler appears to dump the exceptions endlessly (in a loop) to the console.

https://github.com/thomhurst/TUnit/issues/1018

It didn't seem appropriate to create tests given there are no tests currently specifically for serialization, it is only tested by proxy in the RPC tests.

Closing due to this not fixing the core issue it was raised for.


Support "Configuration-Only" Deploy

It would be really great if ember-cli-deploy supported different deploy types, other than just deploying the index.html file.
For most apps, there are usually three things that change in the index.html file between deploys. For my app, it's
app-<hash>.js
app-<hash>.css
vendor-<hash>.js

And the rest of the index.html page always stays the same.
Use Case
We insert dynamic content into our index.html on each request. For instance, we use node-geoip to make a best guess at the user's location and insert it into the rendered index.html for Ember to read out. You can imagine other cases where one might want to modify the HTML before serving to the user (user specific api token, etc.)
With the current implementation, we have to deploy the entire index.html file with a marker (like an HTML comment) to know where to insert our dynamic content.
<head>
  ...
  <link rel="stylesheet" href="//app-abc1234.css">
  <!-- Insert server data below -->
</head>

Then we have to locate this comment, remove it and insert our data.
Feature Request
It would be great if ember-cli-deploy could be configured such that Redis could store just the hashes of the files that change between deploys. This way, we could leave the construction of the (very) simple index.html file to the server and more easily control where we insert our dynamic server data.

Hi Ben,
Thanks for the suggestion. That's an interesting use case. The plan for
ember-CLI-deploy is to allow custom plugins to plug in to the deploy
pipeline so you can customise the process just like this.
There is talking of a plugin that sends the index information as json
instead of html allowing servers to use their own templating which may also
work for you in this case.
Anyway, v0.5.0 should start to have some of the pipeline functionality so
hopefully we will be able to provide you the flexibility to suit your use
case soon.
Would love to hear more about your use case as well.
Thanks again for the suggestion.
On Sun, 8 Mar 2015 at 18:50 Ben Limmer<EMAIL_ADDRESS>wrote:

It would be really great if ember-cli-deploy supported different deploy
types, other than just deploying the index.html file.
For most apps, there are usually three things that change in the
index.html file between deploys. For my app, it's
app-.js
app-.css
vendor-.js
And the rest of the index.html page always stays the same.
Use Case
We insert dynamic content into our index.html on each request. For
instance, we use node-geoip https://github.com/bluesmoon/node-geoip to
make a best guess at the user's location and insert it into the rendered
index.html for Ember to read out. You can imagine other cases where one
might want to modify the HTML before serving to the user (user specific api
token, etc.)
With the current implementation, we have to deploy the entire index.html
file with a marker (like an HTML comment) to know where to insert our
dynamic content.

  ...

Then we have to locate this comment, remove it and insert our data.
Feature Request
It would be great if ember-cli-deploy could be configured such that Redis
could store just the hashes of the files that change between deploys. This
way, we could leave the construction of the (very) simple index.html file
to the server and more easily control where we insert our dynamic server
data.
--
Reply to this email directly or view it on GitHub
https://github.com/ember-cli/ember-cli-deploy/issues/89.

Thanks for the quick response, Aaron. It definitely sounds like the custom plugin work could yield something that we could use to create a plugin to do this. I filed this issue after chatting with @lukemelia at EmberConf about this. He talked about the possibility of integrating this kind of functionality with ember-cli-deploy.
Also, the json vs. html would be much easier than what we're considering doing now. The biggest problem is that with html we have to use a library to parse, find the comment and insert the information. It's far easier to parse something like JSON vs. HTML on the server.
Currently we're inserting a few different things server-side:

API token
We have a method server-side to generate a token that Ember Data attaches to each API request.
Location
My app's content varies by physical location. We run the request IP address through a geocoder to make a best guess on the user's location and embed in index.html. Think something like Groupon or LivingSocial that needs to show you deals in your area.
New Relic
We also use node-newrelic to insert browser timing headers for each request.

As a possible solution, I was thinking that instead of just a key-value we could use a Redis HSET for this case. So you could have something like this:
HGETALL current
1) "appHash"
2) "def123"
3) "cssHash"
4) "ghi123"

In one of the projects I worked one we had the same needs. We fetched the index.html from redis and injected properties like api-token, locale (by IP or user specified locale) etc. server-side before serving the index.html
I don't think json is a good idea in this case because it complicates things a lot and your usecase is already supported with the current implementation. You'd also need to support some kind of JSON-build in ember-cli directly (ember-cli-deploy does not do anything special it just uses the build task from ember-cli). What would be useful though is a better support for placeholders that can be filled out by a server-implementation. Maybe the fast-boot server or the server that is responsible for serving your fast-bootable index.html could fill out the dynamic content before serving html to your users. If this worked the build process could stay the same and the rest of the deployment-pipeline also.
Did you run into problems with the current way of injecting stuff into index.html?

In my experience working with consulting clients, companies are often averse to shipping HTML around, especially when they want their server-side app to be primarily responsible for the shell of the HTML on the page. Also, rewriting the URI-encoded JSON config meta tag can be somewhat annoying if you need to do that. In these situations, outputting JSON from the build makes sense.
JSON build output should be implemented as a separate addon, but I would be in favor of a future version of ember-cli-deploy having the right hooks to make working with this easy. I would suspect it will just be a matter of deploying json where we are normally deploying HTML.

@LevelbossMike sounds like on that previous project you had very similar needs to what we need to do. You caught me a little, we haven't yet moved to Ember CLI (I hope to do this in the coming weeks) so my "current solution" is just in my head, but I'm pretty confident it will work. How did you inject your properties. I was looking at cheerio and it looks like it could work with the current ember-cli-deploy feature set.
@lukemelia I tend to agree with your consulting clients regarding shipping HTML around. Since the index.html page rarely changes in a meaningful way, I lean towards using a JSON "configuration" deploy. I guess the biggest problem is that it couples the deploys in the case where index.html and the client side changes must go out together (which, in my experience, isn't often).
I would definitely be OK with JSON output as a plugin, and I (briefly) looked into the hooks and I didn't see exactly how we would implement this sort of plugin. Perhaps this issue should track which hooks would be needed?

@blimmer We did not use cheerio because the server that was responsible for serving the index.html was written in Ruby (a Rails application). We just put ne necessary parts into meta tags which we then parsed on application start of our ember app.
This of course is kind of messy but it worked fine for our use-case.

Did you use a similar library to manipulate (insert the meta tags) on the HTML string you got back?

If I remember correctly we just manipulated the html string directly but I see nothing wrong with using a library to do that.

@blimmer if you wanted to help out on the OSS side, I think creating an addon that adds json output to ember-cli's build would be great. Maybe called "ember-cli-json-output"? Figuring out the right hooks might be challenging, but I'm pretty confident this is doable.

Depending on how quickly I need to get my app over to CLI and deployed, I might have time to work on the OSS solution to this problem.
From a high level, this is how I see something like this working:

The user configures the add on telling it what specific files or file types they went to upload to their db of choice. They could provide things like *.js, *.css, *.extension or app-*.js, app-*.extension.
The addon (recursively?) navigates through the dist/ folder created by ember build, and notes the files matching the configuration params.
Instead of an index.html file, the addon produces a JSON block that you will upload to your DB, something like:

{
  "js": [
    "app-abc123.js",
    "vendor-def456.js"
  ],
  "css": [
    "app-abc789.css",
    "vendor-abc123.css"
  ],
  "extension": [
    "some-random-file.extension"
  ]
}

The adapter would store this JSON block in lieu of the index.html (keyed by the revision number as it is today). I believe this means that the index adapters could be useful wholesale.
The asset upload would not need to be customized because we still want to upload our same assets to S3 or another store
Does this high-level plan make sense?

Outstanding question:

It seems like deploy-index.js is coupled to reading the contents of dist/index.html. It passes the HTML-string directly to the upload function on the index-adapter. How should this behavior be modified to do something different?

Thanks for your time and help with this idea!

you could just ignore the passed index.html file and do your own thing in the upload function of the index-adapter for now but we will think about a way how to better customize the steps for the 0.5.0 release.

Sounds good. I'll do a quick prototype to see what I can get going. If 0.5.0 isn't released by the time we need to go live, we can do it the way you suggested (ignoring index.html from upload()). Should we leave this issue open for consideration on a potential supporting change in 0.5.0?

Yep. I'm going to tag this plugin-use-case and for 0.5.0.

I definitely think the default should still be index.html, since everyone is familiar with that and that's what everyone expects, though we've done something similar (string parse to insert meta tags). A plugin that pushes updated JSON seems very reasonable.

In case anyone else is going the meta tag configuration route, I just open-sourced the plugin I wrote to handle meta tag configurations on the App-side. It's called ember-cli-server-variables. It's pretty basic, but is working for our current use case.

This is probably one of the reasons that we don't currently use ember-cli-deploy (along with the overhead of needing redis for every app and having a separate deploy for server side).

With 0.5.0, we now have https://github.com/ember-cli-deploy/ember-cli-deploy-json-config and @achambers is already using it to deploy a production app.


Refactor traits lifecycle

The current trait life-cycle is something like:

check if it can be applied to the current environment
check if it should auto-configure

auto-configure it

check if it is enabled

execute it

I think that we can condense the first three steps in a single one who is responsible to set up the trait according to the given environment and user parameters, validate the set-up and finally determine if the trait should be executed or not.
The Trait interface then would look like:
type Trait interface {
    Identifiable

    Configure() (bool, err)
    Apply(environment *Environment) error
}

The trait loop then would look like:
for _, trait := range traits {
    enabled, err := trait.Configure(env)
    if err != nil {
        return err
    }

    if enabled {
        if err := trait.Apply(env); err != nil {
	    return err
	}

        env.ExecutedTraits = append(env.ExecutedTraits, trait.ID())
    }
}

@nicolaferraro make sense ?

Fixed by PR #273


ReloadTitle

Hi, how can I change the title of the menu after the creation and display of the controller? In the beginning I created and displayed all PageMenu the controller, then one of the controller trying to change the title, but it does not change

@Maxim-Zakopajlov  can you tell me how to reload menu's title? Thx!


Add option parameter for StaticMiddleware

StaticOption

Prefix : serve static file only when prefixed with this.
default is ""
IndexFile : name of local file to serve when request URL is directory.
if its value equals "", middleware dosen't try serve
file when request URL is directory

:+1: I'd like to see this feature as well.


version update and template update

@codiebeulaine please review cc @miltontony

👍 once merge conflicts have been solved and travis

@TrevorOctober @codiebeulaine this was closed without being merged.

@miltontony i accidentally deleted feature/issue-57-bump-new-version-and-template-update branch locally, so i decided to replace #60 with #62


build: add definitions for devcontainer base image

Split from #1893
Push a Docker image with the time-consuming cargo packages installed to GHCR.
Changes are also included to separate only the install-cargo-tools task in the Taskfile referenced in the Dockerfile into a separate Taskfile, from a Dokcer cache perspective.

@max-sixty Since the initial (multi-platform) build will take several hours, sorry but I will merge this now without your review.
As always, please revert this if we have problems.

I will merge this now without your review.

Always feel free!

ICYMI: https://github.com/PRQL/prql/actions/runs/4340298602

ICYMI: PRQL/prql/actions/runs/4340298602

Sorry for failing the workflow. I will investigate and fix it......

Sorry for failing the workflow. I will investigate and fix it......

Zero stress, keep merging until it works. It ran on this PR, so possibly it was just flaky on that run?

Zero stress, keep merging until it works. It ran on this PR, so possibly it was just flaky on that run?

Sorry, I was completely mistaken about the base image. To my surprise, the base image does not support the arm64 platform!
$ docker buildx imagetools inspect mcr.microsoft.com/devcontainers/rust:0.203.7-1
Name:      mcr.microsoft.com/devcontainers/rust:0.203.7-1
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:427f31e3c81cf8189e4a4253c332dac381fe2e0646569634e57d1781d65122c3

Manifests:
  Name:        mcr.microsoft.com/devcontainers/rust:0.203.7-1@sha256:f8a481ea7a30621a1ba07c16fac67fd330f6a25d6d064f8086de70f1f1553264
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/amd64

  Name:        mcr.microsoft.com/devcontainers/rust:0.203.7-1@sha256:62645b8a13342c442cf8c0cdf877f6dc699edb3338ab80e8236ae81674bbcb5f
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations:
    vnd.docker.reference.digest: sha256:f8a481ea7a30621a1ba07c16fac67fd330f6a25d6d064f8086de70f1f1553264
    vnd.docker.reference.type:   attestation-manifest

Oh, weird! Do none of them?

I was completely mistaken, but it seems that the default variant is still buster and the bullseye needs to be explicitly stated.
https://github.com/devcontainers/images/blob/c087e361571e2200c3b40ed86d14a8ced84c388a/src/rust/README.md?plain=1#L13
$ docker buildx imagetools inspect mcr.microsoft.com/devcontainers/rust:0.203.7-1-bullseye
Name:      mcr.microsoft.com/devcontainers/rust:0.203.7-1-bullseye
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:7eb80e1054ba35dd4865e1fb9d9c27f7401b6ba6e406d7fc986e9f7ff9507741

Manifests:
  Name:        mcr.microsoft.com/devcontainers/rust:0.203.7-1-bullseye@sha256:8e0fc0744f644ea9f64c0cebcc3ee87a77035b3af99ddb874bd910541eb5f9e9
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/amd64

  Name:        mcr.microsoft.com/devcontainers/rust:0.203.7-1-bullseye@sha256:21b4d0c618a3dd24b1a37a38ef2cbc150c6dc038b72edbed5227d95780de5661
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/arm64

  Name:        mcr.microsoft.com/devcontainers/rust:0.203.7-1-bullseye@sha256:5b2ef13f21aff24c6999c5d9a2d82c8785ef658b15271bcdf659a95a049deebf
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations:
    vnd.docker.reference.digest: sha256:8e0fc0744f644ea9f64c0cebcc3ee87a77035b3af99ddb874bd910541eb5f9e9
    vnd.docker.reference.type:   attestation-manifest

  Name:        mcr.microsoft.com/devcontainers/rust:0.203.7-1-bullseye@sha256:feffae93572a62643ede3aac2130304e3193a50ae7c5f28cd07bfd0277518375
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations:
    vnd.docker.reference.digest: sha256:21b4d0c618a3dd24b1a37a38ef2cbc150c6dc038b72edbed5227d95780de5661
    vnd.docker.reference.type:   attestation-manifest

Oh, weird! Do none of the standard Microsoft VSCode images?

If I remember correctly, this was due to a bug in OpenSSH or something, and the buster and ubuntu:focal arm64 images were not built.
I mistakenly thought that the default was already moved to bullseye since it has been so long since bullseye was released...


Rename LanguageViewLocationExpanderOption to LanguageViewLocationExpanderFormat

It's not just an option, it's specifying the format of the location.
Also, while there, need to fix a typo in the comment: exisits

Checked in with 8cb2aae4f5ce7899c123e41bdc53b7ab0e9a3008.


Sentinel forwarder fails to apply if not using most recent layer ARN

Summary
The sentinel_forwarder module fails to Terraform apply if the layer_arn being used is not the most recently published layer version:
╷
│ Error: error creating Lambda Function (1): AccessDeniedException:
│ 	status code: 403, request id: 4be17092-313c-469a-b905-45f6cbec8546
│
│   with module.sentinel_forwarder.aws_lambda_function.sentinel_forwarder,
│   on .terraform/modules/sentinel_forwarder/sentinel_forwarder/main.tf line 34, in resource "aws_lambda_function" "sentinel_forwarder":
│   34: resource "aws_lambda_function" "sentinel_forwarder" {
│
│
│ "User is not authorized to perform: lambda:GetLayerVersion on
│ resource: arn:aws:lambda:ca-central-1:283582579564:layer:aws-sentinel-connector-layer:20
│ because no resource-based policy allows the lambda:GetLayerVersion action"

Although the layer has a permission policy created for it on publish, it appears that this permission is being removed when a new layer version is published.
aws lambda get-layer-version-policy \
  --layer-name aws-sentinel-connector-layer \
  --version-number 37

# policy returned successfully

aws lambda get-layer-version-policy \
  --layer-name aws-sentinel-connector-layer \
  --version-number 36

# Following error returned for any layer version that is not the latest
An error occurred (ResourceNotFoundException) when calling the GetLayerVersionPolicy operation: Layer version arn:aws:lambda:ca-central-1:283582579564:layer:aws-sentinel-connector-layer:36 does not have any resource policy.

Related

cds-snc/notification-terraform#612

This implies it's possible to re-add the lambda layer's resource based policy to previous versions, but it's not clear what's causing the removal of the permission in the first place:
https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountlayer


A 3d-party service can't re-send the state parameter from RFC.

Hi! I'm feeling stuck with StateTokenBuilder and the oAuth2 authority service. This service can't re-send me the state parameter. I've wrote them and they told that the state parameter isn't required from RFC. It's just a recommended parameter.
In this case I always get The state token is invalid or has expired. Please try again.  message.
I know this but I'm not feeling easier. I have to ask my users for an additional transition to login. This is extremely inconvenient.
Are there any ideas to avoid this? Can I catch the StateTokenBuilder workflow and put to it the state from the properties service?
Best wishes!

Which OAuth2 provider are you trying to connect to?
One possible solution we be to use the tactic the Apps Script OAuth1 library uses, namely to append the state parameter to your redirect URI:
https://github.com/googlesamples/apps-script-oauth1/blob/master/Service.gs#L518
So instead of relying on the OAuth provider to read the state parameter and send it back when it does the redirect, you merely append it directly to your redirect URI. This may not work if the full redirect URI needs to be registered ahead of time, since the state token changes for each request.

I'm using the Yandex.Money API with their oAuth. They don't use state.
Ok. I try to pass the redirect uri. Thanks.
Don't close this topic for a week please. I think I can solve this problem.

I don't know if my problem is the same, but the error I get is the same. I'm trying to get a Google email address.
In testing, everything works great. Buttons are clicked, tokens are exchanged, magic is made and emails are logged, all as expected when using my account, but when I publish and test with another account I get:

The state token is invalid or has expired. Please try again.

When I change...

"Execute the app as: Me"

to...

"Execute the app as: User accessing the web app"

...the second test account works, but I get no results on my end (obviously). This seems like a pretty normal thing to attempt, so what am I doing wrong?
I'm pretty much using code straight off of samples/GooglePlus.gs
Here's the web-app.

@sdooleyFJUHSD That is a separate issue. The library won't work for the scenario where the web app is deployed as the developer. This is because the state token forged when you get the Authorization URL has the developer's identity, but when the user gits the /usercallback URL is uses their identity.
Closing this issue since it's been a couple of weeks.

Ok. It is solved with a internal browser's communicate library like Intercom.js https://github.com/googlesamples/apps-script-oauth2/tree/master/samples/Add-on


Changelog for releases

Hi @erikzhang
Could you please add a short Changelog for releases of neo-cli? This could be done either in a Changelog.md file, or in the release description directly. This would be very helpful to understand more easily what has changed.
I'm trying to keep up with the releases with neo-privatenet-docker ^^
❤

I will do it from next release.


Added operator precedence tests and some logical operations

The ones currently supported are correct. I don't have not operators, or any bitwise operators yet.
To test:

[ ] <=, <, >, >=, !=

Codecov Report

Merging #38 (9a6ae7b) into main (23ae362) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #38   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           16        16
  Lines         1267      1278   +11
=========================================
+ Hits          1267      1278   +11

Impacted Files
Coverage Δ

src/HartreeParticleDSL/backends/C_AOS/visitors.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Generated C code doesn't reflect intended type when oneof is used.

Background
We use the .options file to modify the generated types and it works fine for types like uint8_t, uint16_t.
For example:
a. in .proto
message Uint8Message {
  uint32 value = 1;
}

b. in .options
Uint8Message.value int_size:IS_8
Generated code:
typedef struct Uint8Message {
    uint8_t value;
} Uint8Message;

The Issue
But when we use oneof section, we observed that the generated type defaults to the uint32_t and doesn't faithfully reflect the size specified in .options file.
P.S. Not entirely certain if this is a bug or is by design.
Steps to reproduce the issue

Define a message with oneof construct for nullability

message PartialNullDummyType {
  uint32 val1 = 1;
  oneof _val2 {
    uint32 val2 = 2;
  }
}

Specify size explicitly in .options as:

PartialNullDummyType._val2.val2 int_size:IS_8
PartialNullDummyType.val1 int_size:IS_8

Run generator

What happens?
The generated type doesn't reflect the desired datatype:
typedef struct PartialNullDummyType {
    uint8_t val1;
    pb_size_t which__val2;
    union {
        uint32_t val2;
    } _val2;
} PartialNullDummyType;

Please note that, val1 is properly declared to be of uint8_t type, thus, size specified in .options file is considered but not for _val2 which is using the oneof construct.
What should happen?
Ideally the type should be or is expected to be
typedef struct PartialNullDummyType {
    uint8_t val1;
    pb_size_t which__val2;
    union {
        uint8_t val2;
    } _val2;
} PartialNullDummyType;

The issue was resolved by modifying the .options as below:
PartialNullDummyType.val2 int_size:IS_8
PartialNullDummyType.val1 int_size:IS_8

i.e. specifying the size for the oneof(union) memebers


updated to Avalonia v11 preview5

This fixes some errors so the AutoGrid works with the latest preview5.
I was unable to find this on NuGet. If you don't want to list it, would you mind if I do?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: JordanMarr sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


editing an object page

Description
This is less of a bug and more of a query. I want to edit and save the object page in my app. But I am unsure how to continue once I execute the edit button.
To Reproduce
Steps to reproduce the behavior:

When.onTheDetailPage.onHeader().iExecuteEdit()
I require some help with what functions I need to use following this. I assume I need to perform some onForm actions but my tests do not get executed, they stop abruptly.

Expected behavior
I want to be able to edit and save my changes to the object page
Runtime Env:
wdi5/wdio-ui5-service-version: 1.3.2
@ui5/cli version: 1.13.0
@wdio/cli-version : 7.31.1
node-version : 18.4.0
OS: MacOS Ventura
Browser + Version : Chrome, Version : 112.0.5615.137

Hi @diya-dhan,
Were you able to solve this.. we are new in using wdi5 to write e2e tests for UI Screens which uses Fiori Elements and data v4. we are creating new Business Object so we are able to click on create button in list report and navigate to Object Page now we want to enter values in Header title, description and in Header Facets. We read through the documentation of sap.fe.test library but not able to make it success.  This is the code we tried.

Screen looks like this

This is the annotation file for the Object Page Header section


react-search-refiners - I can't seem to use the "q" Dynamic datasource

Great webpart by the way! As above I can't use the 'q' URL query string in  my environment as the option does not populate in the dropdown.
Steps to reproduce:
Add result webpart to page and edit datasource - No options are shown in the absence of a search box.
On another note:
I have a great set of handlebar templates now if anyone is interested -  they incorporate the default modern search styles to provide previews in a popup dialog.

Hi @Aracnakid. The data source for the 'q' parameter is provisioned using an SPFx extension. Did you deploy it with the Web Parts as well? Make sure it is included in the config.json and package-solution.json. Also make sure the "skipFeatureDeployment" is false.
For the handlebar templates, sure! A PR would be very appreciated! I suggest you to create a 'templates' folder here + a README file explaining briefly what your template do and if there are any prerequisites to use it.
Thanks again!

Hi @Aracnakid, any updates on this?
Thanks!

Thank you for your help - I was having a blonde moment and was trying to run it in the wrong Tenant,
I have held off uploading the templates as I am currently trying to work them into the code - I will fork and send a PR when I have completed it.
Here is a screenshot of the preview in action:

And also another Idea I have been playing with:

The idea is to be able to add predefined KQL queries and titles to allow tabbed navigation like the old search pages - Items should be able to be added to both the Search Box and Results webpart - Clicking a tab will setState of the KQL Query string.
Thanks again for your help!

Nice @Aracnakid, do not hesitate to make a PR with your templates. It seems very promising.


quote(unexistent_symbol) brings an error object not found

quote(unexistent_symbol) brings an error "object not found". Which shouldn't be the case as quote is supposed to be unevaluated.
Thanks for your work

Thank you for reporting this! I have reproduced and can confirm the bug.
I've made a change that should hopefully fix the problem, in commit 5df4c6a.
Please can you try updating the extension,
quarto update r-wasm/quarto-live

and let me know if that also fixes the problem for your documents?

Thanks. Seems like it works now. I've made the switch. Thanks


Long training time

using 4 V100,32G to train the model, about 1day for 1 epoch.how can i improve the speed from the algorithm?

Hi @jasminezz, it takes about 7-8 hours to train 1 epoch on 8 v100. As both processing multiple frames in one model and training transformers are time-consuming. Besides, the original DETR model for training segmentation is also slow. We have no idea to speed up the training at this time, in the future it may be solved by a more efficient transformer model. But the model has good performance even only training for 1 epoch. You could test and use a small epoch number for the experiment.


Generic survey

This is an idea how to remove the boilerplate from the Survey module. It's advanced magic I barely understand. But it's also super cool and it doesn't tank the compile time. It also shouldn't change the perceived behaviour of trident survey. What do you think, @stschiff?
To make this work as expected I had to adjust the order of the fields in the JannoRow record type.

Codecov Report
Patch coverage: 95.31% and project coverage change: -0.48 :warning:

Comparison is base (4bf44ef) 71.82% compared to head (7fa4394) 71.34%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #239      +/-   ##
==========================================
- Coverage   71.82%   71.34%   -0.48%
==========================================
  Files          19       19
  Lines        2552     2520      -32
  Branches      274      276       +2
==========================================
- Hits         1833     1798      -35
- Misses        445      446       +1
- Partials      274      276       +2

Impacted Files
Coverage Δ

src/Poseidon/CLI/Survey.hs
80.64% <89.47%> (-8.83%)
:arrow_down:

src/Poseidon/Janno.hs
82.41% <97.77%> (-0.14%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Detect not imported element

I often loose my mind looking for vicious a bug whereas I only forgot to import one of the native elements I am using... The no-undef classic rule is not triggering.
Is there a walk around ?
Thanks

Hi, could you post an example of this? I personally have not had any issues related to this.

Hi,
I am sorry, it took me ages... Bad news I had to change computer, good news I fully reinstalled my set up and so I can provide you with genuine information.
Eslint doesn't detect not imported native element (such as Text). I tested with atom linter and in command line, on Mac and on Debian.
I deleted Text from the imports and add an unused test variable in my code.

Eslint detects the unused variable but not the missing Text element.

Here is my eslintrc... pretty sure, it can help
{     "env": {         "browser": true,         "es6": true,         "node": true     },     "extends": "eslint:recommended",     "parser": "babel-eslint",     "parserOptions": {         "ecmaFeatures": {             "experimentalObjectRestSpread": true,             "jsx": true         },         "sourceType": "module"     },     "plugins": [         "react",         "react-native"     ],     "rules": {         "no-unused-vars": ["error", { "varsIgnorePattern": "React" }],         "react/jsx-uses-vars" : "error",         "indent": [             "error",             2         ],         "linebreak-style": [             "error",             "unix"         ],         "quotes": [             "error",             "single"         ],         "semi": [             "error",             "always"         ]     } }
Thanks


Send Notifications for Complaint

Send complaint notifications to admins and do notification read implementation.

Notifications are sent to admin users.


Confirm the description of the detected traffic

Hi team,
Out customer got an issue about the detected traffic.

Problem: If no user-defined probe is set and no host name is set for the backend setting, the FQDN in the backend pool is selected as the SNI header according to the document description.
Test and verify as follows(appgw sku: V2)
The configuration is as follows:

The backend health status is unhealthy.

Packet capture on the backend server showed that the detected traffic did not carry SNI headers( server_name).

Please help to confirm whether the description of the detected traffic is correct.
Thanks
Alex

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

ID: 77a317f1-deef-4ba7-5839-f39ce3733655
Version Independent ID: d85aa8fe-7270-d073-ea56-d1c0759383b8
Content: Enabling end to end TLS on Azure Application Gateway
Content Source: articles/application-gateway/ssl-overview.md
Service: application-gateway
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@alexchen2016
Thanks for your feedback! We will investigate and update as appropriate.

@alexchen2016
I'm going to assign this to the document author so they can take a look at it accordingly.
@greg-lindsay
please review it.

This is internal work item #240836
#please-close


⚠ Bofrost.at has degraded performance

In c7efd31, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1749 ms

Resolved: Bofrost.at performance has improved in db4ef3c after 28 minutes.


More view hook changes

I've had this sitting in my queue for a while, haven't had time to fully work out all the bugs. Here's a work-in-progress edit to the bb-view-hooks branch.
@Florian-R
diff --git a/src/chaplin/views/collection_view.coffee b/src/chaplin/views/collection_view.coffee
index 96ffc29..b7fa10c 100644
--- a/src/chaplin/views/collection_view.coffee
+++ b/src/chaplin/views/collection_view.coffee
@@ -5,6 +5,8 @@ Backbone = require 'backbone'
 View = require 'chaplin/views/view'
 utils = require 'chaplin/lib/utils'

+# jQuery's $.fn.toggle is much more advanced than simply hiding. We're including
+# it here because it'd be a huge block of code to include
 toggleElement = (elem, visible) ->
   if Backbone.$
     Backbone.$(elem).toggle visible
@@ -30,7 +32,7 @@ insertView = (list, viewEl, position, length, itemSelector) ->

   if insertInMiddle or itemSelector
     # Get the children which originate from item views.
-    children = list.querySelectorAll(itemSelector)
+    children = list.querySelectorAll itemSelector
     childrenLength = children.length

     # Check if it needs to be inserted.
@@ -203,7 +205,7 @@ module.exports = class CollectionView extends View

   # When an item is added, create a new view and insert it.
   itemAdded: (item, collection, options) =>
-    @insertView item, @renderItem(item), options.at
+    @insertView @listEl, item.el, @renderItem(item), options.at

   # When an item is removed, remove the corresponding view from DOM and caches.
   itemRemoved: (item) =>
@@ -354,10 +356,10 @@ module.exports = class CollectionView extends View
       view = @subview "itemView:#{item.cid}"
       if view
         # Re-insert the view.
-        @insertView item, view, index, false
+        @insertView @listEl, item.el, view, index, false
       else
         # Create a new view, render and insert it.
-        @insertView item, @renderItem(item), index
+        @insertView @listEl, item.el, @renderItem(item), index

     # If no view was created, trigger `visibilityChange` event manually.
     @trigger 'visibilityChange', @visibleItems if items.length is 0
@@ -404,7 +406,10 @@ module.exports = class CollectionView extends View

     # Start animation.
     if included and enableAnimation
-      startAnimation view.el, @useCssAnimation, @animationStartClass
+      if @useCssAnimation
+        view.el.classList.add @animationStartClass
+      else
+        view.el.style.opacity = 0

     # Hide or mark the view if it’s filtered.
     @filterCallback view, included if @filterer
@@ -427,7 +432,8 @@ module.exports = class CollectionView extends View
         setTimeout (=> view.el.classList.add @animationEndClass), 0
       else
         # Fade the view in if it was made transparent before.
-        endAnimation view.el, @animationDuration
+        view.el.style.transition = "opacity #{(@animationDuration / 1000)}s"
+        view.el.opacity = 1

     view

diff --git a/src/chaplin/views/layout.coffee b/src/chaplin/views/layout.coffee
index e21c81e..453bf94 100644
--- a/src/chaplin/views/layout.coffee
+++ b/src/chaplin/views/layout.coffee
@@ -203,18 +203,13 @@ module.exports = class Layout extends View

     # Apply the region selector.
     instance.container = if region.selector is ''
-      if Backbone.$
-        region.instance.$el
-      else
-        region.instance.el
+      region.instance.el
     else
-      if region.instance.noWrap
-        if Backbone.$
-          Backbone.$(region.instance.container).find region.selector
+      root = if region.instance.noWrap
+          region.instance.container
         else
-          region.instance.container.querySelector region.selector
-      else
-        region.instance.$ region.selector
+          region.instance.el
+      root.querySelector region.selector

   # Disposal
   # --------
diff --git a/test/spec/collection_view_spec.coffee b/test/spec/collection_view_spec.coffee
index f534f73..2743321 100644
--- a/test/spec/collection_view_spec.coffee
+++ b/test/spec/collection_view_spec.coffee
@@ -86,7 +86,7 @@ define [
         collectionView.$list.children collectionView.itemSelector
       else
         if collectionView.itemSelector
-          (item for item in collectionView.list.children when Backbone.utils.matchesSelector item, collectionView.itemSelector)
+          (item for item in collectionView.list.children when item.tagName is collectionView.itemSelector)
         else
           collectionView.list.children

@@ -609,11 +609,7 @@ define [
           model.get('title') is 'new'

         filterCallback = (view, included) ->
-          cls = if included then 'included' else 'not-included'
-          if jQuery
-            view.$el.addClass cls
-          else
-            view.el.classList.add cls
+          view.el.classList.add if included then 'included' else 'not-included'

         filterCallbackSpy = sinon.spy filterCallback
         collectionView.filter filterer, filterCallbackSpy
diff --git a/test/spec/layout_spec.coffee b/test/spec/layout_spec.coffee
index 70c46ac..daaf403 100644
--- a/test/spec/layout_spec.coffee
+++ b/test/spec/layout_spec.coffee
@@ -343,12 +343,8 @@ define [
       instance2 = new Test2View {region: 'test2'}
       instance3 = new Test2View {region: 'test0'}

-      if $
-        expect(instance2.container.attr('id')).to.be 'test2'
-        expect(instance3.container).to.be instance1.$el
-      else
-        expect(instance2.container.id).to.be 'test2'
-        expect(instance3.container).to.be instance1.el
+      expect(instance2.container.id).to.be 'test2'
+      expect(instance3.container).to.be instance1.el

       instance1.dispose()
       instance2.dispose()
@@ -375,10 +371,8 @@ define [
       instance1 = new Test1View()
       instance2 = new Test2View()
       instance3 = new Test3View {region: 'test2'}
-      if $
-        expect(instance3.container.attr('id')).to.be 'test5'
-      else
-        expect(instance3.container.id).to.be 'test5'
+
+      expect(instance3.container.id).to.be 'test5'

       instance1.dispose()
       instance2.dispose()
@@ -407,10 +401,8 @@ define [
       instance2 = new Test2View()
       instance2.stale = true
       instance3 = new Test3View {region: 'test2'}
-      if $
-        expect(instance3.container.attr('id')).to.be 'test2'
-      else
-        expect(instance3.container.id).to.be 'test2'
+
+      expect(instance3.container.id).to.be 'test2'

       instance1.dispose()
       instance2.dispose()

I like where it's going and i'd like to address some of these items. Thanks for sharing. Just a few thoughts/question.

I'm wondering what's the best approach for the animation in CollectionView. It's pretty easy for a user to subclass it to add className which fit the best for him, so maybe it's worth to remove all this logic (huge braking change anyway).

ClassList: Very cool to use, but it leaves IE < 10 out of the game. Is it acceptable?

It seems the signature of CollectionView#insertView has changed, but the corresponding changes are missing in this diff

Changes to Layout are pretty, but the tests seems to check on implementation details.

If i have the time, i 'll give it a shot next week, starting probably by Layout. In that case, do you prefer PRs on the same branch, or do you like to keep them separated of our initial PR?

ClassList: Very cool to use, but it leaves IE < 10 out of the game. Is it acceptable?

I'm of the opinion let's use natives where pollyfills are easily and readily available, and not worry too much about oldIE. We could also use a RegExp on className.
There will be b/c breakage here. It'd be nice to limit is as much as possible, but method signatures are a fine change imo.


Highlight the runnable nature of samples in API Ref

In the DateTime reference, highlight the runnable nature of the C# samples:

[ ] Change the intro wording to add "runnable" in the opening.
[ ] Consider adding a quick sample above the fold.

Note that the second task would be jarring without a VB interactive experience.
/cc @LadyNaggaga

This is really cool! 😄 Can't wait for this to become more widespread - would love to make use of it for the NUnit Docs at some point too.
I presume the eventual plan is for this to be rolled out to all the docs? Is there a central issue tracking that, or is it all being handled internally?

DateTime reference already has a boilerplate with the explanation of the Run button.


[Functionality] Admin is able to enter a name of a partner. The mandatory field, symbols limit is 100.

Priority: Medium
Preconditions
1.Go to the site.
2.Login as admin.
3.Open page "Admin/Партнери".
4. Open the modal window "Додати партнера".
Steps to reproduce

Try to add 101 symbols to the "Назва" field.

Expected result
The system doesn't allow adding 101st symbol and displays a counter set at 100 symbols.
User Story #1491

Add the epic, the block, and the page where it should be checked at the beginning in the [].
And a label with the type of the TC (functional or UI).


Navigating Issues Through Labels Is Awkward

gogs_v0.5.13_windows_amd64
Windows 7 Pro 64bit
msysgit Git <IP_ADDRESS>

No error to log, just awkward behavior in the web UI.
Began with a first-run repo, and made one issue and one label, then navigated to: http://localhost:3000/victor/DVS/issues
The label gets hyperlink href: http://localhost:3000/victor/DVS/issues?type=all&state=&labels=1
Clicking that acts as a filter toggle. That's working. However, with the label toggled ON, the "Closed" and "Open" hyperlinks are not including that filter.
Closed href, when a label is toggled on: http://localhost:3000/victor/DVS/issues?type=all&state=closed
After the behavior is learned by the user, it still requires navigating to Open or Closed before selecting labels. It also prevents swapping between Open and Closed while keeping the selected label filter.
I would make a feature request to have label selection persist through the Open/Closed URL params, and also add a "clear selected" hyperlink to the Labels sidepanel; moving that label-clearing behavior there, and making it intentional. "Clear selected" would be a URL that still includes the "state" parameter.

Thanks your feedback!

Thank you.
My mistake in calling it a feature request; it is really an enhancement. I'm not sure if that affects priority.

@victorsegall Hmm, they're basically the same, just a clarification thing. I would say it's a bug as well :stuck_out_tongue_closed_eyes:

Then we agree that user experience is a feature. :smiley:

The behavior is solidly a bug when navigating issues by Milestone. Selecting a label filter will remove the milestone filter.

Should work well now! https://try.gogs.io/unknwon/gogs/issues


[BUG] - cannot run bot

Hey!
It is not possible to run this bot - d3dshot requires different pillow version to scikit-image and the two are thus incompatible. Is there any solution for this?
Kind regards

Hey!
It is not possible to run this bot - d3dshot requires different pillow version to scikit-image and the two are thus incompatible. Is there any solution for this?
Kind regards

Hey brother,
You'll have to use python ~3.8 I believe.   D3dshot has pretty well been dead for 2+ years, so it'll require older version of everything.  If you are trying to install requirements with a later version installed, you'll run into a host of issues.
I'm using PyEnv and Poetry to manage everything on a python version 3.8.2, so have a crack with those.

[tool.poetry.dependencies]
python = "~3.8.2"
pillow = "~7.1.2"
python-dotenv = "^0.19.2"
flake8 = "^4.0.1"
isort = "^5.10.1"
pip = "^21.3.1"
wheel = "^0.37.1"
opencv-python = "^4.5.5"
PyAutoGUI = "^0.9.53"
PyGetWindow = "^0.0.9"
scikit-image = "^0.19.2"
d3dshot = "^0.1.5"
networkx = "^2.6.3"
xxhash = "^3.0.0"

ping @mrdavid09?


upgrade to babel 7 and other dependencies

This pull request upgrades babel to v7. In order to make everything compatible, I had to upgrade other dependencies as well.
Coverage drops to around 69.23%. @jasonslyvia Can you help to improve it?
Refers to #207

Coverage decreased (-6.7%) to 69.231% when pulling 158dd742ec54e93864e335ab9da04596aa567cfe on iAziz786:upgrade-dependencies into 80bcae46c3d86f2fce6b2ba888442f2277a37e8c on jasonslyvia:master.

Coverage decreased (-6.7%) to 69.231% when pulling 158dd742ec54e93864e335ab9da04596aa567cfe on iAziz786:upgrade-dependencies into 80bcae46c3d86f2fce6b2ba888442f2277a37e8c on jasonslyvia:master.

Coverage decreased (-6.7%) to 69.231% when pulling 158dd742ec54e93864e335ab9da04596aa567cfe on iAziz786:upgrade-dependencies into 80bcae46c3d86f2fce6b2ba888442f2277a37e8c on jasonslyvia:master.


Solver failing

Hi,
I created a simple model, which makes a query and expects a return.
The query is defined in TYPEDEF Actions ::= Query {in :: ParameterType; arg :: Int} ENDDEF
The response is defined in:
TYPEDEF ServerActions
    ::=
        ReturnQuery {
            out :: ParameterType;
            myList :: ListInt;
            error :: EResponseType}
ENDDEF

Given a query:

In case the attribute arg has a value between 1 and 15, the attribute error (EResponseType) in the return should be SUCCESS and the list of integers should have at least one element.
If the attribute arg is 'invalid', we expect a FAILURE and the list of integers should have no elements.

This behaviour is expressed in the following model:

STAUTDEF mySTAUTDEF[ Input::Actions; Output::ServerActions] () ::=
        STATE  state0, state1, state2

        INIT   state0

        TRANS   --if a valid attribute arg is given as input, we go to state 1, where we expect a  SUCCESS error.
                state0  -> Input ? a [[isValidArg(arg(a))]]
                                    -> state1

                --if an invalid attribute arg is given as input, we go to state 2, where we expect FAILURE error.
                state0  -> Input ? a [[not(isValidArg(arg(a)))]]
                                    -> state2

                --  If it is a SUCCESS, the list should have at least one element
                state1  -> Output ? b [[isSUCCESS(error(b)) /\
                                        (lengthList(myList(b)) >= 1)
                                        ]]
                                        -> state0

                --  If it is a FAILURE, the list should be empty
                state2  -> Output ? b [[isFAILURE(error(b)) /\
                                        (lengthList(myList(b)) == 0)
                                        ]]
                                        -> state0

ENDDEF

The problem is that when I run this model in tester mode and use nc -l 7890 to send the responses, I get unfoldCTbranch: Solve Unknown messages in some cases .
E.g

TXS >>  .....5: IN: Act { { ( Input, [ Query(A,16) ] ) } }
TXS >>  unfoldCTbranch: Solve Unknown
TXS >>  .....6: OUT: Act { { ( Output, [ ReturnQuery(A,NilInt,FAILURE) ] ) } }

Am I missing something? I've added the full .txs file (in .txt, because git does not allow .txs) and a log containing a sequence of interactions.
simpleListInt.txt
final-log.txt
Thank you in advance,
Alan

Yes, the behaviour was the same with z3 version 4.8.0 (see log)
I am using the 0.6.0 version (Linux) in a Ubutu 16.04
Yes. I ran it in tester mode and sent the responses manually, that is the reason why they match even though there are no constraints. (ran it again without caring about matching ParameterType, see log-error.txt)

I believe I found the cause of the problem, which seems to me like a small bug.
After replacing (lengthList(myList(b)) == 0) with (isNilInt(myList(b))) there are no unfoldCTbranch: Solve Unknown messages. If you try to run the model is stepper mode using (lengthList(myList(b)) == 0) it will stop for a few minutes in a few cases before resulting in unfoldCTbranch: Solve Unknown, with (isNilInt(myList(b))) everything goes the way it should be (smooth-log.txt)
state2  -> Output ? b [[isFAILURE(error(b)) /\
                                        --this breaks it
                                        --(lengthList(myList(b)) == 0)
                                        (isNilInt(myList(b)))
                                        ]]
                                        -> state0

simpleListInt.txt
log-error.txt
smooth-log.txt

Indeed it is smarter to use isNilInt for the empty list and isCstrInt for the non-empty list. The problemsolver in  those cases doesn't have to solve a problem that includes the length function.

After my holidays, i will look into the issue and report back my findings.

Could reproduce issue and isolate it. Send bug report to Z3:  https://github.com/Z3Prover/z3/issues/1895

I could reproduce the issue and isolate it.
I submitted a bug report to Z3: https://github.com/Z3Prover/z3/issues/1895

Note that the original problem, leads to a query that is too hard to decide for current problem solvers:
The statement lengthList(myList(b)) == 0 has a solution.
TorXakis however wants to generate a random solution when possible,
so it will ask for a solution to the two statements
lengthList(myList(b)) == 0 and not (isNilInt(myList(b))),
to find out whether multiple solutions are possible.
However to prove that this query has no solutions, requires one to use the monotonicity of the lengthList function (i.e., the longer the list the large the length value).
To my knowledge both z3 and cv4 lack this capability.
The already discussed alternative problem that uses isNilInt and isCstrInt does not create a query that can't be solved by current problem solvers.

Please use IncrementBins. It should be the default. Maybe reduce the integer range, since you are not interested in overflow ( numbers larger than 2^64)

With the following similar program (growingList.txs)
TYPEDEF List ::= Nil
               | Cstr{head::Int; tail::List}
ENDDEF

CHANDEF Chans ::=
    Input     ;
    Output    :: List
ENDDEF

PROCDEF proc [Input; Output :: List](l :: List) ::=
        Input
    >-> Output ? n [[ IF isCstr(n) THEN tail(n) == l ELSE False FI ]]
    >-> proc [Input, Output] (n)
ENDDEF

MODELDEF Model ::=
    CHAN IN    Input
    CHAN OUT   Output

    BEHAVIOUR
        proc [Input,Output] (Nil)
ENDDEF

I get
PS C:\experiment> torxakis.exe .\growingList.txs

TXS >>  TorXakis :: Model-Based Testing

TXS >>  txsserver starting: "NLYBSTQVP4NB77Y.code1.emi.philips.com" : 61094
TXS >>  Solver "z3" initialized : Z3 [4.8.0 - build hashcode a12af4a619a0]
TXS >>  TxsCore initialized
TXS >>  input files parsed:
TXS >>  .\growingList.txs
TXS >> stepper Model
TXS >>  Stepper started
TXS >> step 10
TXS >>  .....1: Act { { ( Input, [] ) } }
TXS >>  .....2: Act { { ( Output, [ Cstr(-86,Nil) ] ) } }
TXS >>  .....3: Act { { ( Input, [] ) } }
TXS >>  .....4: Act { { ( Output, [ Cstr(-56,Cstr(-86,Nil)) ] ) } }
TXS >>  .....5: Act { { ( Input, [] ) } }
TXS >>  .....6: Act { { ( Output, [ Cstr(0,Cstr(-56,Cstr(-86,Nil))) ] ) } }
TXS >>  .....7: Act { { ( Input, [] ) } }
TXS >>  .....8: Act { { ( Output, [ Cstr(-90,Cstr(0,Cstr(-56,Cstr(-86,Nil)))) ] ) } }
TXS >>  .....9: Act { { ( Input, [] ) } }
TXS >>  ....10: Act { { ( Output, [ Cstr(50,Cstr(-90,Cstr(0,Cstr(-56,Cstr(-86,Nil))))) ] ) } }
TXS >>  PASS

I assume this is random enough for you?
Note my parameters are:
TXS >> param
TXS >>  param_ImpRel = IOCO
TXS >>  param_IncrementChoice_IntPower = 4
TXS >>  param_IncrementChoice_IntRange = 65536
TXS >>  param_IncrementChoice_MaxGeneratedStringLength = 10
TXS >>  param_InputCompletion = ANGELIC
TXS >>  param_RandSolve_IntHalf = 1000
TXS >>  param_RandSolve_IntNum = 5
TXS >>  param_Randomization = IncrementBins
TXS >>  param_Sim_inputEager = 0
TXS >>  param_Test_inputEager = 3
TXS >>  param_TrueBins_Next = Linear
TXS >>  param_TrueBins_NrOfBins = 10
TXS >>  param_TrueBins_StringLength = 6
TXS >>  param_TrueBins_StringMode = Regex
TXS >>  param_max_rand_depth = 4
TXS >>  param_Sim_deltaTime = 2000
TXS >>  param_Sim_ioTime = 10
TXS >>  param_Sut_deltaTime = 2000
TXS >>  param_Sut_ioTime = 10

The problem was indeed with the randomization mode.
I used the Linux installer torxakis_0.6.0_amd64.deb and for that reason I did not have the most up-to-date randomization options. I was having some problems to build torxakis in Ubuntu 16.04, but yesterday I put some extra effort into it after your response and managed to build it.
Now I am using the newest version of torxakis and IncrementBins randomization works beautifully.
Thank you again for your help! :)

Z3 was fixed, but there are still some performance issues:
We are tracking it: https://github.com/Z3Prover/z3/issues/1979