JavaScript console.log is not displayed when Debug Console panel is not visible

Does this issue occur when all extensions are disabled?: Yes

Version: 1.56.2 (user setup)
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T17:13:13.157Z (1 day ago)
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19041

Create a new NPM project:

mkdir my-project
cd my-project
npm init -y

Add index.js

console.log('foo');
console.log('bar');

Click "Run and Debug".

The output is shown in the Debug Console panel when the panel is active/visible when you run the application. The output is not shown in the Debug Console panel when the panel is not active/visible when your run the application.
Of course I can make sure Debug Console is active/visible before clicking "Run and Debug". But this does not work if I have a pre-launch task configured that switches to another panel and thereby hides the Debug Console panel.

As a workaround, I can force the Debug Console to always to become visible by adding "internalConsoleOptions": "openOnSessionStart" to launch.json.

Yeah that is the idea, just use internalConsoleOptions setting please


Lab 2: Requirement 2

I have some trouble understanding requirement 2 from lab 2. What are we trying to achieve? From my understanding, we were supposed to implement a boot loader that can load the kernel image into memory in requirement 1, then what else should we put in cpio archive and load into ram disk?

In Lab 2, you can put plain text files inside it only to test the functionality.
In later labs, you'll put some script files, raw binaries, and ELF inside it.
Then, you can test your kernel without manually typing commands.
Finally, if you have any problem with the documentation, please submit issue at  documentation's repository.


Rxjs dependencies

Hi,
I like your library, but I would like it so much more if you removed the rxjs-compat dependency as well as rxjs on version 5.
Can you migrate to rxjs 6?

Not without dropping Angular 5 support. I intend to keep the compatibility if possible.
If I do decide to move to rxjs 6, then the project will likely need a new name, too :)

I don't think there is any point in supporting Angular 5 since 8 is already out. The big problem with having old rxjs is that you basically force anyone using your library to include whole rxjs which increases build size quite significantly. Its a deal breaker imho.

Following is an image from webpack-bundle-analyzer where you can see that your library is exporting full rxjs package which is adding 168.9 KB to bundle size. Size of your code is another 46 KB.
Since this is an angular plugin, you should not include rxjs in package dependencies, but rather define it as a peerDependency.

I really don't want to drop the Angular 5 support or maintain different branches for different Angular versions at this stage.
The good news is that I found a workable compromise. I changed the version specifier for rxjs to be >=5.5.6. On Angular 5, it will use rxjs 5 and on Angular 6+ it will work with rxjs 6. rxjs-compat has to stay as a dependency, but it is a very small package, so it shouldn't be a problem.
This will be available in next slider release.

But users wanting to use it with Angular 5 can use older versions, right? I really don't see how forcing anyone using your library to include full rxjs-compat dependency is a good idea. 122KB is not "very small package" - its quite significant and it is also reason we decided not to use this package :/

Hi @piotrdz any updates on when the new version is going to be released?
I have used ng5-slider in one of my projects and I have to do a workaround in the package.json to avoid rxjs version conflicts between modules.

Thanks for the workaround, that's the biggest issue dealt with already.
Personally, I can only sign what @Enngage has mentioned already. Official Angular 5 support has ended - in fact, Angular 6 support will be ending in November this year. As with other packages, people with old and unsupported angular versions can always use older versions of your package as well, can't they?

Hi there! Any news on this issue?

Meanwhile you can use the following workaround:
Add this to your tsconfig.json
"paths": {
    "rxjs": [
        "../node_modules/rxjs"
    ],
    "rxjs/*": [
        "../node_modules/rxjs/*"
    ]
}

@piotrdz your update for the rxjs dep is not yet released, however Ivy is coming soon and that doesn't like rxjs 5: https://github.com/angular-slider/ng5-slider/issues/159

Having it working with ng5 does not require you to use the whole rxjs package as a dependency, it will still work with a peerDependency

The dependency on rxjs 5 broke my angular 9 build and the above tsconfig.json workaround didn't work.   So, I fell back to a jquery slider.

I just found this now via Google search: https://github.com/m0t0r/ngx-slider

I just found this now via Google search: https://github.com/m0t0r/ngx-slider

Thank you!  I'll give it a try.

I have posted updates about this in other places, but this is the original ticket, so I should add it here as well:
v2.0 of slider targeting Angular 6+ and rxjs 6+ is in preparation and will be released very soon.

Release v2.0.0 is out. Closing.


Detect PRs

Features Description
It would be nice if you added PR detection, ci-info has information on env vars regarding PRs
Describe the solution you'd like
A nice API that checks whether the PR can be detected and if it is detected.

will do. thanks!!!!

PR flag (and few other changes as well) are now pushed.
since this is a breaking change (not the pr but the other stuff that i pushed) i will be a new minor version.
Thanks for the suggestion!!!

published in version 0.4.0

Great, thanks for the fast work!


Refactor JTango

Throw away all used stuff
Optimize client
Rx API

In the end we want lightweight Tango library that can be also contributed to the Community


missing keys in env

It looks like some keys are missing, I found at least these:
SERVER_NAME
SERVER_PORT
I noticed because I use URLMap and it does some checks before routing any request which failed in my case xD
Here is the code:
    def call(env)
      path = env["PATH_INFO"]
      script_name = env['SCRIPT_NAME']
      hHost = env['HTTP_HOST']
      sName = env['SERVER_NAME']
      sPort = env['SERVER_PORT']

      @mapping.each do |host, location, match, app|
        unless hHost == host \
            || sName == host \
            || (!host && (hHost == sName || hHost == sName+':'+sPort))
          next
        end
     # ...

I am not sure what is the level of compatibility your are aiming for with reel-rack though.
For now I am doing my testing with:

class FixReel
  def initialize(next_app)
    @next_app = next_app
  end

  def call(env)
    env['SERVER_NAME'], env['SERVER_PORT'] = env['HTTP_HOST'].split(':')
    @next_app.call(env)
  end
end

use FixReel
# run xxx

that's definitely not production code for now it is enough for my tests.

Looks done, please close @tarcieri, thanks.


Revert #27426

Apparently, we didn't backport one of the refactoring PRs which caused the fixup we backported to fail.
Fixes: https://github.com/go-gitea/gitea/issues/27473

Added issue ref.


fix: can't find module "kind-of"

Added missing kind-of module. Got this error when I try to build my Raycast extension.
Tried to add it to my package.json extension but seems the error it's located in your build. I've tried to use the patch-package to modify my chatgpt build by adding the kind-of module and it's working.
Now I thought it'd be nice if I can get mine working without patching every time I build just adding the kind-of module directly on yours.

Interesting; no idea why your build config is throwing this error.
Which package manager are you using, and what build tool is this? kind-of is already a hard transitive dependency of this package (see the below output of pnpm why kind-of), so I'd like to understand what's going on before merging — since I believe this is much more likely a problem with either a dependency or an upstream packager / build tool.
Legend: production dependency, optional only, dev only

<EMAIL_ADDRESS>/Users/tfischer/dev/modules/chatgpt-api

dependencies:
puppeteer-extra-plugin-recaptcha 3.6.6
├─┬ merge-deep 3.0.3
│ ├─┬ clone-deep 0.2.4
│ │ ├── kind-of 3.2.2
│ │ └─┬ shallow-clone 0.1.2
│ │   └── kind-of 2.0.1
│ └── kind-of 3.2.2
└─┬ puppeteer-extra-plugin 3.2.2
  └─┬ merge-deep 3.0.3
    ├─┬ clone-deep 0.2.4
    │ ├── kind-of 3.2.2
    │ └─┬ shallow-clone 0.1.2
    │   └── kind-of 2.0.1
    └── kind-of 3.2.2
puppeteer-extra-plugin-stealth 2.11.1
├─┬ puppeteer-extra-plugin 3.2.2
│ └─┬ merge-deep 3.0.3
│   ├─┬ clone-deep 0.2.4
│   │ ├── kind-of 3.2.2
│   │ └─┬ shallow-clone 0.1.2
│   │   └── kind-of 2.0.1
│   └── kind-of 3.2.2
└─┬ puppeteer-extra-plugin-user-preferences 2.4.0
  ├─┬ puppeteer-extra-plugin 3.2.2
  │ └─┬ merge-deep 3.0.3
  │   ├─┬ clone-deep 0.2.4
  │   │ ├── kind-of 3.2.2
  │   │ └─┬ shallow-clone 0.1.2
  │   │   └── kind-of 2.0.1
  │   └── kind-of 3.2.2
  └─┬ puppeteer-extra-plugin-user-data-dir 2.4.0
    └─┬ puppeteer-extra-plugin 3.2.2
      └─┬ merge-deep 3.0.3
        ├─┬ clone-deep 0.2.4
        │ ├── kind-of 3.2.2
        │ └─┬ shallow-clone 0.1.2
        │   └── kind-of 2.0.1
        └── kind-of 3.2.2

devDependencies:
del-cli 5.0.0
└─┬ meow 10.1.5
  └─┬ minimist-options 4.1.0
    └── kind-of 6.0.3

@abielzulio As far as I can tell, this is working as expected and Node.js-wise, there should be no reason to add kind-of as a top-level dependency. It's likely a bug somewhere in your app's build config that's causing this.
Sorry, but if you can provide a more compelling reasoning as to why it isn't working for you in particular, that would help.


How to remove Title (which appears beneath the icons) from Tab bar

static navigationOptions = {
title: 'Camera',
activeTintColor: Colors.tabIconSelected,
inactiveTintColor : Colors.tabIconDefault,
showLabel: false
};
Current Behavior

I tried the default expo client app with navigation and I cannot seem to be able to remove the title which appears underneath the label or even change its color. When I changed the color, only the icon color was changed but the title remains the same. How can I remove the title completely?
Expected Behavior

I tried showLabel false but its not working, the options mentioned above only change the color of the icon not the title. (I would really love to remove it)
Are label and title the same thing? If not then how would I remove the title.
Your Environment

software
version

react-navigation
^1.0.0-beta.12

react-native
https://github.com/expo/react-native/archive/sdk-19.0.0.tar.gz

node

npm or yarn

try it.
const MainScreenNavigator = TabNavigator([
  { screen: RecentChatsScreen },
  { screen: AllContactsScreen },
], {
  tabBarOptions: {
    showLabel: false
  }
});

It's possible to remove label only for Android?

thanks so mucho @limichange

is it possible to remove the label for one tab only? because the solution mentioned by @limichange removes it for all the tabs.

Try tabBarLabel and title in navigationOptions.

that actually doesn't do what I need, but I solved what I need in this fork

you can see  it's behavior in this video here
On Mon, Sep 10, 2018 at 9:36 AM Tobias Törnros<EMAIL_ADDRESS>wrote:

Try tabBarLabel and title in navigationOptions.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/react-navigation/react-navigation/issues/2424#issuecomment-419832715,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATiK75M-VjpI1BRis8zzvenJBiyhpTY1ks5uZiSNgaJpZM4O8O-F
.


Update stable version in repo from 1.6.1 to 1.6.2

Think about update stable version to 1.6.2
Version: stable=1.6.1 (211 days old) => latest=1.6.2 (17 days old)
Installs: stable=279 (65.19%), latest=22 (5.14%), total=428
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.6.2 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

I won't bring v1.6.2 to stable since there is still an open issue.

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.6.2 but in the meantime an update to version 1.6.3 is suggested.
So this issue will be closed and replaced by an updated one.
@mcm195 for evidence


Use fake command in analytics test

Description
This test was actually calling the doctor command without any fakes or mocks.
Also temp directory creation to the memory file system.
Related Issues
Fixes https://github.com/flutter/flutter/issues/58543.
Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

Not sure what's going on with the test failures, it's using a memory file system, it's passing on my machine, and the version file I see when I step through is at /version in the memory file system, not private anything.
05:22 +1425 ~4: test/general.shard/analytics_test.dart: analytics doesn't send when disabled
Failed to write the version file to the artifact cache: "FileSystemException: No such file or directory, path = 'private' (OS Error: No such file or directory, errno = 2)".
Please ensure you have permissions in the artifact cache directory.
05:22 +1425 ~4 -1: test/general.shard/analytics_test.dart: analytics doesn't send when disabled [E]
  Exception: Failed to write the version file
  package:flutter_tools/src/base/common.dart 14:3                      throwToolExit
  package:flutter_tools/src/runner/flutter_command_runner.dart 309:11  FlutterCommandRunner.runCommand.<fn>
  ===== asynchronous gap ===========================
  dart:async                                                           _asyncErrorWrapperHelper
  test/src/context.dart 141:30                                         testUsingContext.<fn>.<fn>.<fn>.<fn>
  dart:async                                                           runZoned
  test/src/context.dart 139:18                                         testUsingContext.<fn>.<fn>.<fn>
  package:flutter_tools/src/base/context.dart 150:29                   AppContext.run.<fn>
  dart:async                                                           runZoned
  package:flutter_tools/src/base/context.dart 149:18                   AppContext.run
  test/src/context.dart 105:22                                         testUsingContext.<fn>.<fn>
  package:flutter_tools/src/context_runner.dart 62:18                  runInContext.runnerWrapper
  ===== asynchronous gap ===========================
  dart:async                                                           _asyncThenWrapperHelper
  package:flutter_tools/src/context_runner.dart                        runInContext.runnerWrapper
  package:flutter_tools/src/base/context.dart 150:29                   AppContext.run.<fn>
  dart:async                                                           runZoned
  package:flutter_tools/src/base/context.dart 149:18                   AppContext.run
  package:flutter_tools/src/context_runner.dart 65:24                  runInContext
  test/src/context.dart 104:11                                         testUsingContext.<fn>
  test/src/common.dart 169:18                                          test.<fn>

Not sure what's going on with the test failures, it's using a memory file system, it's passing on my machine, and the version file I see when I step through is at /version in the memory file system, not private anything.

I give up (for now).  Reverted from the memory file system back to the tmp stuff.  Really I'm just trying to get rid of the real doctor call.


Merge branches 'WRFSES-151-create_endpoints_for_data_retrieval' and '…

endpoints updated
Conflicts:
package-lock.json
package.json
src/Structure/Structures.ts
src/app.ts
src/routes/OurTesterClass.ts
src/routes/referenceKeysRoutes.ts
src/routes/routes.ts
tslint.json

This change is

@mikecokingtin Also make sure to resolve your conflicts.


[1pt] Add item class properties

All Item class properties visible in the diagram should be defined and set up in the constructor method. Exception: properties for the 1-to-many relationships should NOT be set in the constructor method. Instead, they should have a custom setter method created.

Closing the issue as the task has been completed in Pull Request No. 27


Server shutdown on windows?

The given shutdown example works fine for linux systems, but raises a not implemented exception(signal handler). Now, i'd like to close the server in a safe way; any suggestions?

Yes, that's why the documentation says:

On Unix systems, shutdown is usually triggered by sending a signal.

I'm not going to be able to help much because I don't know anything about Windows.
There was some discussion here: https://github.com/aaugustin/websockets/issues/124#issuecomment-253951579


RNGoogleSignIn.configure got 8 arguments expected 3 after upgrading to newest @next rc version

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

project.ext.react = [
    entryFile: "index.js"
]

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

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

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

android {
    compileSdkVersion 26
    buildToolsVersion "26.0.1"

    defaultConfig {
        applicationId "com.jobia"
        minSdkVersion 16
        targetSdkVersion 26
        versionCode 3
        versionName "1.0.5"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
        multiDexEnabled true
    }
   signingConfigs {
        release {
            if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
                storeFile file(MYAPP_RELEASE_STORE_FILE)
                storePassword MYAPP_RELEASE_STORE_PASSWORD
                keyAlias MYAPP_RELEASE_KEY_ALIAS
                keyPassword MYAPP_RELEASE_KEY_PASSWORD
            }
        }
    }
    splits {
        abi {
            reset()
            enable false
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86"
        }
    }
    dexOptions {
        jumboMode = true
    }
    buildTypes {
        release {
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
        }
    }
    // 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:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a":1, "x86":2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    // testing multi dex support
    implementation 'com.android.support:multidex:1.0.3'

    compile project(':react-native-radial-gradient')
    compile project(':react-native-fast-image')
    compile project(':react-native-snackbar')
    compile project(':react-native-document-picker')
    compile project(':react-native-image-picker')
    compile project(':react-native-fbsdk')
    compile(project(':react-native-firebase')) {
        transitive = false;
    }

    compile "com.google.android.gms:play-services-base:15.0.0"
    compile 'com.google.firebase:firebase-core:15.0.2'
    compile "com.google.firebase:firebase-auth:15.1.0"
    compile "com.google.firebase:firebase-firestore:16.0.0"
    compile "com.google.firebase:firebase-storage:15.0.2"

    compile(project(":react-native-google-signin")){
        exclude group: "com.google.android.gms"
    }
    compile 'com.google.android.gms:play-services-auth:15.0.0' // should be at least 15.0.0

    //compile project(':react-native-vector-icons')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:26+"
    compile "com.facebook.react:react-native:+"  // From node_modules

    project.ext.vectoricons = [
        iconFontNames: [ 'FontAwesome.ttf' ] // Name of the font files you want to copy
    ]
}

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

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
apply plugin: 'com.google.gms.google-services'

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

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.2'
        classpath 'com.google.gms:google-services:3.2.1'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        google() // <-- Add this line above jcenter
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

React-native version:     "react-native": "^0.55.4",
React-native-google-sign-in version:     "react-native-google-signin": "^1.0.0-rc1",

Did you rebuild your project?

@vonovak i cleaned gradle ./gradlew clean than run react-native run-android, nothing else

@vonovak is there anything i could do or should i reroll to old version , i had so many issues like api is not connected yet and all that stuff

@gugakatsi I'm think the problem is due to some problems in your installation - the native side expected 3 arguments, but received 8 from JS. It is hard to help without a runnable reproduction though.

@vonovak thanks for response, actually i fixed it , will post some code here. explaining what was problem and etc.

@gugakatsi were u able to gather the tips for chasing this issue? Having now the same with RC6.

@abramenal @shohailahm i'll check it tomorrow evening and write down probably

@gugakatsi please..thank you man i need it real bad

@gugakatsi help brah?

I have this issue I will try cleaning npm cache but this issue is only for the Android part. IOS works fine.

@gugakatsi @shohailahm we are only getting this issue with the release version. Debug version is working fine. Any suggestion if you guys already solved it? We did all the steps and rebuild app as suggested in the thread above.


styled-engine: Expose cache

Hi @oliviertassinari, @mnajdova  👋🏻 ,
It would be nice if I could access the emotion cache used internally by mui.
It would be for a tighter integration with tss-react when SSR is involved.
The goal would be to enable users to write something like this to enable SSR in next.js projects.
The mui cache would be provided as usual by users using the <StyledEngineProvider />.
Now that said I would understand if you prefer to keep it internal.
In this case there is an easy workaround. The user would write this and this instead.
I though you might be encline to expose it as it is already exported from StyledEngineProvider.js but never used elsewhere.
Best,

I would personally push for

Using a custom cache provider for SSR. StyledEngineProvider is a client side helper, doesn't work server-side anyway
Keep the interface identical between the emotion and sc adapter

diff --git a/packages/material-ui-styled-engine/src/StyledEngineProvider/StyledEngineProvider.js b/packages/material-ui-styled-engine/src/StyledEngineProvider/StyledEngineProvider.js
index 8217655f07..737bead109 100644
--- a/packages/material-ui-styled-engine/src/StyledEngineProvider/StyledEngineProvider.js
+++ b/packages/material-ui-styled-engine/src/StyledEngineProvider/StyledEngineProvider.js
@@ -4,7 +4,7 @@ import { CacheProvider } from '@emotion/react';
 import createCache from '@emotion/cache';

 // Cache with option to prepend emotion's style tag
-export const cache = createCache({ key: 'css', prepend: true });
+const cache = createCache({ key: 'css', prepend: true });

 export default function StyledEngineProvider(props) {
   const { injectFirst, children } = props;

StyledEngineProvider is a client-side helper only, it doesn't work server-side.

It could work if I had access to the cache.

Using a custom cache provider for SSR.

StyledEngineProvider is a custom cache provider.
But anyway I will happily stick with your suggested solution of directly using the <CacheProvider /> from @emotion/react.
I understand the will of having the same API for the two adapters.
Berst regards

It could work if I had access to the cache.

I doesn't because the cache propagation is stopped from the one needed on the server.

Do you want to remove the rogue export in this PR? It would still be valuable, I think.


External authentications other than LDAP

Need a generic way to authenticate to external APIs other than LDAP. Ideally this should happen every time CVAT is loaded.  Initial thoughts are that this can be done in two ways:

Expect the API to return a user object and http code 200 when login is successful.
Allow developers to create their own custom auth providers

@rushtehrani , do I understand correctly that the main idea here is to avoid extra authorization inside CVAT if it is integrated in a 3rd-party platform? How does it work now in OnePanel?

@nmanovic correct, right now, we have updated CVAT’s code to create the user when CVAT launches. After that, we don’t ever log the CVAT user out as all authentication goes through Onepanel.

Added link on all possible auth applications for Django: https://djangopackages.org/search/?q=auth

Related issue #1217


Add ImageMagick with HEIC support to our thumbnail container

Now that ImageMagick supposedly supports HEIC images, we should use it in our thumbnailing container. (It should be faster than the the heiftojpeg binary that shells out to ffmpeg 50 times, once per 500x500 HEVC tile in the HEIC grid.)
I tried to build it, but failed, and I got sidetracked on other things.
My Dockerfile was:
# Copyright 2018 The Perkeep Authors.
# Licensed under the Apache License, Version 2.0
FROM alpine:3.7 as builder
MAINTAINER Perkeep Contributors<EMAIL_ADDRESS>RUN apk add --no-cache git cmake alpine-sdk ghostscript-fonts imagemagick imagemagick-dev ffmpeg
RUN apk add --no-cache automake autoconf libtool
RUN apk add --no-cache bash

ENV GIT_VERSION 859511c029bb8e9ea02037f5672e0fd741abf414

# Fetch and build heiftojpeg.
WORKDIR /tmp
RUN git clone https://github.com/strukturag/libde265.git
WORKDIR libde265

RUN ./autogen.sh
RUN ./configure
RUN make install

WORKDIR ..
RUN git clone https://github.com/ImageMagick/ImageMagick.git
WORKDIR ImageMagick

RUN git reset --hard $GIT_VERSION

RUN ./configure --with-heic=yes
RUN make

That builds, and seems that HEIC support was enabled, but it doesn't work:
$ docker build --tag=magick .
[....]

$ docker run -v /home/bradfitz/images/:/img -ti magick convert -version
Version: ImageMagick 7.0.7-11 Q16 x86_64 2017-11-15 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jpeg lcms ltdl pangocairo png ps rsvg tiff webp xml zlib

bard:perkeep.org $ docker run -v /home/bradfitz/images/:/img -ti magick convert /img/still.heic /img/still.jpg
convert: no decode delegate for this image format `HEIC' @ error/constitute.c/ReadImage/509.
convert: no images defined `/img/still.jpg' @ error/convert.c/ConvertImageCommand/3275.

Help wanted!

Here we go. This works. Needed JPEG support too:
FROM alpine:3.7 as builder
MAINTAINER Perkeep Contributors<EMAIL_ADDRESS>RUN apk add --no-cache git alpine-sdk
RUN apk add --no-cache automake autoconf libtool
RUN apk add --no-cache bash

ENV GIT_VERSION 859511c029bb8e9ea02037f5672e0fd741abf414

# Fetch and build heiftojpeg.
WORKDIR /tmp
RUN git clone https://github.com/strukturag/libde265.git
WORKDIR libde265

RUN ./autogen.sh
RUN ./configure
RUN make install

WORKDIR ..
RUN git clone https://github.com/ImageMagick/ImageMagick.git
WORKDIR ImageMagick

RUN git reset --hard $GIT_VERSION

RUN apk add --no-cache libjpeg-turbo-dev

RUN ./configure --with-heic=yes --with-jpeg=true
RUN make
RUN make install

Done in https://camlistore-review.googlesource.com/c/camlistore/+/15766

how to add support for other delegate like png or any other, i tried


gcc-arm-none-eabi: package outdated

Package Name: gcc-arm-none-eabi
Arm changed their toolchain naming convention and thus broke checkver version extraction and autoupdate.
prev: gcc-arm-11.2-2022.02-mingw-w64-i686-arm-none-eabi.zip
now: arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi.zip

I updated it just now, let me know if it's all correct.

Tested right now and works well. Thank you!


Clearing fuseki doesn't work in local Docker setup

To debug the DTS endpoints I set up a local DraCor environment based on docker-compose and the DTS branch. I can connect to the empty exist and to the dracor api, but loading of corpora fails (probably due to fuseki):
api_1       | (Line: 467 /db/apps/dracor/modules/rdf.xqm) clearing fuseki graph: http://dracor.org/ger

The loading doesn't proceed after this line.

as a quickfix I uncommented here in load.xqm: https://github.com/dracor-org/dracor-api/blob/dts/modules/load.xqm#L105
(: clear fuseki graph :)
-            drdf:fuseki-clear-graph($name),
+            (: drdf:fuseki-clear-graph($name), :)

@ingoboerner I now created a slimmed down version of stain/jena-fuseki (https://github.com/dracor-org/dracor-fuseki) and integrated it into the docker-compose.yml of #175. Could you try that and see if it works for you?


chore: unify json http client implementation

What kind of change does this PR introduce?
chore
What is the new behavior?
Reduce code duplication.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

54 of 81 (66.67%)  changed or added relevant lines in 4 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 57.035%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/utils/api.go
10
11
90.91%

internal/utils/deno.go
0
1
0.0%

internal/utils/tenant/client.go
6
11
54.55%

internal/utils/http.go
38
58
65.52%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.31%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
5197

Relevant Lines:
9112

💛  - Coveralls


Show which user watered a tree

If you click on a tree, it should show not only when it was watered, but also the username who watered it:

zuletzt gegossen am XY.XY. von XY

this makes it easier to coordinate or get in touch with other users in future releases

i just realized that there are no usernames, so unless we want to add usernames as a feature, this issue makes no sense?


files in embed form

Laravel Version: 5.5.2
PHP Version: 7.1.1
Laravel-admin: 1.5

Description:
Image file deleted when update embed form
@z-song  Please help me
when i add many image fields in embed form:
1- when add images at first time, every think ok.
2- when i update embed form, all images filelds have been cleared.
Steps To Reproduce:

see #1024


Connecting to linux shows this warning message.

In Sys.setlocale("LC_CTYPE", "en_US.UTF-8") :
  OS reports request to set locale to "en_US.UTF-8" cannot be honored

Looks like it only accepts Sys.setlocale("LC_CTYPE","C");

I thought R on *nix is always UTF-8.

Internally it does for strings etc, same as Windows. But when it interfaces with the OS, it uses the system locale (including locale encoding) - same as any other well-behaved Unix app.
We specifically invoke Sys.setlocale, IIRC, to make it talk the same language as the client, rather than the default locale on the server.
In this case, the problem is probably that locales weren't properly generated. The only locale that's always guaranteed to be there is "C", everything else is optional. Distros usually pregen the common ones by default, but it might be different with containers. Take a look at locale-gen and /etc/locale.gen.

Ah, apparently, on Debian/Ubuntu, you need to install the locales package - that'll bring in the pregened locales.
However, we should consider the possibility that locale for a given language might not be there. In this case we should fall back to `"C.UTF-8", so that we at least get proper encoding.

Updated the images that we are testing to have the locales package. We have to handle this in code for customer scenarios.

I think it is done, correct?

For someone in the future seeing this, not only do you have to install locales package. you also need to configure it:
sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales


watchexec: 1.23.0 -> 1.25.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/watchexec/watchexec/releases.
meta.description for watchexec is: Executes commands in response to file modifications
meta.homepage for watchexec is: https://watchexec.github.io/
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.22.3 with grep in /nix/store/22xlsxk3fnrwsgsaf9qbz0kpx3wg0cxy-watchexec-1.22.3
found 1.22.3 in filename of file in /nix/store/22xlsxk3fnrwsgsaf9qbz0kpx3wg0cxy-watchexec-1.22.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
watchexec

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/22xlsxk3fnrwsgsaf9qbz0kpx3wg0cxy-watchexec-1.22.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A watchexec https://github.com/r-ryantm/nixpkgs/archive/2236696a2eaaf6755954704f2e07cbcce9adc6fe.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/22xlsxk3fnrwsgsaf9qbz0kpx3wg0cxy-watchexec-1.22.3
ls -la /nix/store/22xlsxk3fnrwsgsaf9qbz0kpx3wg0cxy-watchexec-1.22.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

watchexec

Maintainer pings
cc @michalrus for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/watchexec/versions.
meta.description for watchexec is: Executes commands in response to file modifications
meta.homepage for watchexec is: https://watchexec.github.io/
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.24.0 with grep in /nix/store/7ghbc1fz1bgb10w9iz35xlqc6qsx05fm-watchexec-1.24.0
found 1.24.0 in filename of file in /nix/store/7ghbc1fz1bgb10w9iz35xlqc6qsx05fm-watchexec-1.24.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
watchexec

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7ghbc1fz1bgb10w9iz35xlqc6qsx05fm-watchexec-1.24.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A watchexec https://github.com/r-ryantm/nixpkgs/archive/1cf9954b5269578148a7184d96848c5e6d1b594a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1cf9954b5269578148a7184d96848c5e6d1b594a#watchexec

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7ghbc1fz1bgb10w9iz35xlqc6qsx05fm-watchexec-1.24.0
ls -la /nix/store/7ghbc1fz1bgb10w9iz35xlqc6qsx05fm-watchexec-1.24.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

watchexec

Maintainer pings
cc @michalrus for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/watchexec/versions.
meta.description for watchexec is: Executes commands in response to file modifications
meta.homepage for watchexec is: https://watchexec.github.io/
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.24.2 with grep in /nix/store/5xpjyhwfy03n0ia3h0kpzydqngvqry2b-watchexec-1.24.2
found 1.24.2 in filename of file in /nix/store/5xpjyhwfy03n0ia3h0kpzydqngvqry2b-watchexec-1.24.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
watchexec

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5xpjyhwfy03n0ia3h0kpzydqngvqry2b-watchexec-1.24.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A watchexec https://github.com/r-ryantm/nixpkgs/archive/d187d8b8a5b5124e212d86979bcda6cd2685e9ae.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d187d8b8a5b5124e212d86979bcda6cd2685e9ae#watchexec

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5xpjyhwfy03n0ia3h0kpzydqngvqry2b-watchexec-1.24.2
ls -la /nix/store/5xpjyhwfy03n0ia3h0kpzydqngvqry2b-watchexec-1.24.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

watchexec

Maintainer pings
cc @michalrus for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/watchexec/versions.
meta.description for watchexec is: Executes commands in response to file modifications
meta.homepage for watchexec is: https://watchexec.github.io/
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.25.0 with grep in /nix/store/3fypqadvqwqssbqwi2w98fvpdxchvkm1-watchexec-1.25.0
found 1.25.0 in filename of file in /nix/store/3fypqadvqwqssbqwi2w98fvpdxchvkm1-watchexec-1.25.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
watchexec

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3fypqadvqwqssbqwi2w98fvpdxchvkm1-watchexec-1.25.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A watchexec https://github.com/r-ryantm/nixpkgs/archive/c67499e8465cc4bb984f0aff27cd9bf01a7903ec.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c67499e8465cc4bb984f0aff27cd9bf01a7903ec#watchexec

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3fypqadvqwqssbqwi2w98fvpdxchvkm1-watchexec-1.25.0
ls -la /nix/store/3fypqadvqwqssbqwi2w98fvpdxchvkm1-watchexec-1.25.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

watchexec

Maintainer pings
cc @michalrus for testing.


Update "Internal State and Actions" page to reflect easy-peasy removal

Hi there, was just taking a look at the code and reviewing the docs in preparation for trying out react-flow. It looks like easy-peasy is no longer used and it's just plain Redux now, right? This PR fixes the old reference to easy-peasy.

👌


Add inline text styles for keyboard inputs

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd

@Hitansh-Shah this would be very similar to your initial implementation for code styles: https://github.com/wagtail/guide/commit/d10e8f7dbbe0a7db990d39768ea999163110f23b
Except stored with tag of kbd.


Fix bug in evp_keymgmt_util_match

Fixes bug #17482 in evp_keymgmt_util_match so that it actually tries cross export the other way if the first attempt fails.
Checklist

does not apply

This pull request is ready to merge

Merged to master and 3.0 branches. Thank you for your contribution!


Organize is referenced in the LHS navigation but isn't in the diagram nor mentioned on the CAF home page?

Organize is referenced in the LHS navigation but isn't in the overview diagram nor mentioned on the CAF home page?
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/organize/

Organize is currently an unofficial "bonus" methodology. This is high on our testing and design list but will likely be a while before it is addressed. Holding on test results regarding the definition of the broader operating model. More to follow...


Clean up imports and exports

One thing we should discuss anyway at some point is what we will mark internal ... sparse-ir has a fairly small public interface (the rest is hidden behind "_" definitions.  How shall we do this here? What's the julia equivalent of that?

Codecov Report

Merging #39 (2de24c8) into main (5ff3ab9) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   89.66%   89.66%
=======================================
  Files          16       16
  Lines        1239     1239
=======================================
  Hits         1111     1111
  Misses        128      128

Impacted Files
Coverage Δ

src/SparseIR.jl
100.00% <ø> (ø)

src/abstract.jl
30.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Typically in Julia packages the public interface (for semver purposes) is whatever is exported & documented. We'd need to figure out which functions we want the interface to comprise and then make sure they are exported & documented.

Hmm, that's interesting, because LinearAlgebra for instance has plenty of methods that are documented, but not exported.  They also have methods starting with underscores, so I am not sure what the difference is there ...

You're right, this is not really specified anywhere. In doubt, when using a (third party) dependency package in SparseIR, I've been taking the documentation as source for what's fair game. That said, I'm not sure a strict distinction between public and private is that important right now for SparseIR.jl. What do you think?

Well, I think once v1 hits we want some sort of policy, because otherwise we may get complaints if we change something :)
How about the following policy for v1?

leading underscore: "private", may break at any time
no leading underscore, not exported: "public", may only break at major versions
no leading underscore, exported: either types or methods with semantics general enough that they are useful for other packages?

I agree it's not hugely important - what do you think?


[ci] fix build-linux-subkey job

Temporary fix until https://github.com/paritytech/substrate/issues/10852 is solved
Closes https://github.com/paritytech/ci_cd/issues/331

@alvicsam please create a follow up issue so we revert this once #10852 is resolved

Closing, because key was added https://github.com/paritytech/substrate/pull/10853


Reduce memory usage of forced alignment on CPU

In the forced alignment c++ code, backPtr is an int8 tensor while only storing the values 0,1, and 2 which can be effectively stored using only 2 bits instead of 8, and since the backPtr tensor size is log_probs_len * (targets_length * 2 + 1), it can grow to unmanageable sizes in audio files that exceed 2 hours.
By using two std::vector<bool> to represent the two bits needed for backPtr we guarantee that the results are exactly the same while lowering memory usage since std::vector<bool> should use 1 bit to represent a boolean.
Best case scenario is memory usage drops to 25%, worst case scenario memory usage doubles if a boolean is represented using 1 byte.
From my experiments, the new code can handle longer audio files without running out of memory. I also noticed that on average, only 1-targets_length/log_probs_length of the backPtr array is used (depending on the inputs) so further memory savings can be gained if we used a shape that reduces unused elements.
log_probs.shape (1,50000,32)
targets.shape (1,25000)
# new code
12.2 s ± 63 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
# original
12.3 s ± 170 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

edit:
I implemented a better structure for the backPtr tensor that still uses two boolean vectors but the numbers of elements are greatly reduced to achieve better memory efficiency.
The new structure is similar to a sparse matrix or a list of lists, instead of initializing a complete trellis matrix, we initialize the elements which are only going to be used which is approximated by the formula in the code (deduced empirically and tested thorougly). We also create two new arrays for indexing purposes.

I used this compression trick in my Python CTC-based forced alignment: https://github.com/vadimkantorov/ctc/blob/master/ctc.py
And this compression indeed works

since torchaudio is no longer maintained, I've created a library that builds upon this code and improves it here


Recognize CREATE FUNCTION statement

CREATE FUNCTION fun(query_from_time date) RETURNS TABLE(foo double precision, bar double precision)
    LANGUAGE plpgsql
    AS $$
      BEGIN
       RETURN QUERY
      WITH bla AS (
        SELECT * from foo)
      Select * from bla;
      END;
      $$;

http://www.postgresql.org/docs/9.1/static/sql-createfunction.html
For me it would be enough if JSql sees that its a function and has the content of the function as a string.
This seems quite hard because we need to be able to recognize changes of escape characters and so on.

I guess there´s no solution for the problem found yet?
Btw. are PostgreSQL stored procedure supported in general?

There is no solution for JSQLPARSER. Usage of functions within sqls is supported.

any info on this?

Unfortunately there is no progress here.


D455, the number of Color images and Depth images are different

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ D455 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Windows 10

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Camera }

Issue Description
I found that the number of color images and depth images are different after processing.
Firstly,turning on RGB, Stereo and Motion botton, I used D455 to capture imges in a in-room scene and get a .bag file.
Then I employed rs_convert.exe to translate the .bag file into color images, depths images and some other txts.
I originally thought that there is a one-to-one correspondence between RGB images and depth images. What I mean is that an RGB image and an image are acquired by the camera at the same time, the same position, and the same orientation.
But I sort the images by filename and found that the filename of the first RGB image is _Color_1679621670605.45190429687500.png. I would have thought the filename of the first depth image would be _Depth_1679621670605.45190429687500.png. But actually, the file name of the first depth map is _Depth_1679621670605.38891601562500.png, which is not the same name as the RGB image. And there are 2320 RGB images and 2312 depth images respectively. Their numbers are not the same.
Why is this? What do I need to do?
Also, I need to know the intrinsic parameters of the camera that captures these RGB images and depth images. But in RealSense Viewer, I see Left Intrinsics , Right Intrinsics,World to Left Rotation, World to Rigth Rotation, Rectified Resolution. I want to know what they mean and which ones do I need?
Finally, is there any tutorial for my kind of shooting with D455 to obtain RGB and depth images and the processing related to computer vision?

And could you please tell me the meaning of the file's name ?
Like _Color_1679621670605.45190429687500.png

Hi @TwiceMao  The number of the depth and color frames exported from rs-convert is almost never identical.  You have not done anything wrong and there is nothing that can be done about the difference.
Filenames are assigned by rs-convert based on frame timestamp and not the frame number.  So your quoted color PNG filename will be the timestamp that this particular color frame was captured at.
The RealSense SDK Dynamic Calibration tool's user guide provides the following information about intrinsics and extrinsics.
https://www.intel.com/content/www/us/en/support/articles/000026723/emerging-technologies/intel-realsense-technology.html

Further information about intrinsics and extrinsics and their meaning can be found in the SDK's Projection documentation.
https://dev.intelrealsense.com/docs/projection-in-intel-realsense-sdk-20
In regard to intrinsic distortion coefficients, these are mostly set to zero by the SDK, except for the RGB stream on the D455 model which has non-zero coefficients.
You can list the unique intrinsic and extrinsic values for your particular camera with the 'rs-enumerate-devices' tool by launching it in calibration information mode with the command rs-enumerate-devices -c as described at https://github.com/IntelRealSense/librealsense/issues/8689#issuecomment-809118054
Intel have an extensive list of RealSense white-paper guides and YouTube tutorial videos at the links below.
https://dev.intelrealsense.com/docs/whitepapers
https://www.youtube.com/@IntelRealSense/videos
A good place to start is the RealSense camera tuning guide:
https://dev.intelrealsense.com/docs/tuning-depth-cameras-for-best-performance
And then read Intel's post-processing guide:
https://dev.intelrealsense.com/docs/post-processing-filters

I want to synchronize the RGB camera with the Depth camera, that is, there is a one-to-one correspondence between the RGB image and the depth map. How to do this?
What's more. Could you please give me a usage of rs-enumerate-devices.exe in windows? All I have now is the .bag file. Thanks very much.

A RealSense team member offers advice about missing frames in rs-convert at https://github.com/IntelRealSense/librealsense/issues/3500#issuecomment-473624881
Providing a list of rs-enumerate-devices output from a D455 camera may not be useful as each camera unit has unique calibration values even when new.  I have printed the complete calibration listing from my own D455 to a PDF document and attached it below in case it is helpful to you.
D455 Calibration.pdf

I did not express clearly. I want to know how to use rs-enumerate-devices.exe to get the internal parameters of the camera, because I don't know how.

You can read detailed calibration information from your camera by running the rs-enumerate-devices tool with the launch command below:
rs-enumerate-devices -c
If you are using Windows, instructions for doing so in the Windows Command Prompt interface can be found in the link below.
https://github.com/IntelRealSense/librealsense/issues/3569#issuecomment-615365409

The D455 is not capable of synchronizing exposures of the RGB and Depth cameras. This has been a fatal flaw of every single RealSense camera.
The current engineering team has an incorrect definition of what sync means, and the support team either does not understand the issue, or is not allowed to admit that the devices are incapable of synchronizing the color cameras.
The Oak D Pro cameras may be able to do the feature you are looking for.

@sam598  The problem described by @TwiceMao is about having different numbers of frames exported from the rs-convert tool instead of both depth and color having the same number of exported frames.  It is not a question about temporal sync between depth and color sensors.

@MartyG-RealSense yes that is the topic, but his goal is to sync RGB and Depth. He should know that it is not possible.
https://github.com/IntelRealSense/librealsense/issues/11609#issuecomment-1482674831

@sam598 @MartyG-RealSense My purpose is to obtain a one-to-one correspondence between the RGB image and the Depth image. They need to be seen at the same time from the same camera position. I am now using rs-convert tool to convert the .bag file to color.png and depth.png. It was found that there is no one-to-one correspondence between them. Is it possible that the depth image acquired by the D455 uses the Stereo method, so the depth image needs to be projected onto the color image. But I don't know how to do it.

There are tools in the api for projecting depth to color, and @MartyG-RealSense can provide guidance on that.
However the two cameras will never take a photo at the exact same moment of time as they are treated as separate devices at the hardware level.
RealSense engineers define sync as two cameras running at the same frame rate with relative time stamps. But this goes against the common industry and literal definition of sync.
The frames will still be very close together temporally, but it is not useable for 3D scanning involving moving cameras or subjects.

Sorry, I didn't understand. Can you explain in detail and give an example about what you said about RealSense engineers define sync as two cameras running at the same frame rate with relative time stamps.

毛懋
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年3月26日(星期天) 中午11:05
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [IntelRealSense/librealsense] D455, the number of Color images and Depth images are different (Issue #11609)
There are tools in the api for projecting depth to color, and @MartyG-RealSense can provide guidance on that.
However the two cameras will never take a photo at the exact same moment of time as they are treated as separate devices at the hardware level.
RealSense engineers define sync as two cameras running at the same frame rate with relative time stamps. But this goes against the common industry and literal definition of sync.
The frames will still be very close together temporally, but it is not useable for 3D scanning involving moving cameras or subjects.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@sam598
Sorry, I didn't understand. Can you explain in detail and give an example about what you said about RealSense engineers define sync as two cameras running at the same frame rate with relative time stamps.

True sync would be that both the color and depth cameras take a photo at the exact same moment in time.
instead the RealSense cameras both run at the same frame rate, but run out of sync. The photos may be taken close to the same moment in time, or they might be up to half a frame offset (for example 30fps would be off by 16ms or so). With a handheld or constantly moving camera this would make it impossible to get reliable depth values for the color pixels, since they would always be misaligned.
If the camera is completely still, and there are no moving subjects, you can project the depth map onto the color to get proper correspondence.
the azure Kinect provides one of the cleanest depth maps out there, but because it’s time of flight the depth values are precise but inaccurate. With RealSense the depth maps are very noisy/imprecise but accurate because they are calibrated stereo disparity. Azure Kinect also requires a windows PC and does not have the OS and SDK/API versatility that RealSense has (although Intel has been dropping support for operating systems as the project winds down).
the oak-d project seems to try and solve a lot of the shortcomings from the RealSense cameras. However their depth do not appear to be as good as the ones the RealSense cameras produce, and they are geared for on device AI compute as opposed to just capture.

Thanks very much！

Hi @TwiceMao  Do you require further assistance with this case, please?  Thanks!

No thanks. Because I use the open3d library to process the .bag file and get a synchronized RGB image and depth image.

Thanks very much @TwiceMao for the update.  As you do not require further assistance, I will close this case.  Thanks again!


Refs #31493 -- Replaced var with const/let in documentation JS.

ticket
Pairs with #12767.

@jdufresne you may be interested to check


Won't count down in Safari

Just wanted to see if you are aware that this plugin doesn't seem to work in Safari. It will inject the HTML string into the specified element but it then just says '00:00:00'.
Using the following code:
$('#timeCheck').countdowntimer({
    dateAndTime: "2018-05-08 19:55:01 UTC"
});

Tested this plugin on two different websites that I've created, one using jQuery v1.11.2 and the other using jQuery v3.1.1, both sites work perfectly as expected when viewed with Google Chrome [v66.0.3359.139] while neither work using Safari [v10.1.1 (12603.2.4)]. I've also tried playing around editing the format of the date and time but no luck.
I know that Safari is said to handle JS differently than Google Chrome but I don't know the specifics enough as to why Safari won't countdown the numbers as expected or what to do to fix it.
Would you please take a look and provide me with any suggestions as how I could get it working? I like this plugin and would rather not move to a different one but my sites need to support Safari unfortunately. Thanks in advance.

I am noticing this same issue, did you ever find a fix?

Hey @clveranis I noticed I had my dateAndTime formatted like yours, with dashes (2018-05-08). The documentation calls for slashes (2018/05/08), so I switched to that and it works just fine :)

Hi,
As suggested by @zforsman,
It doesn't seem to be an issue with the timer. For support please write me to<EMAIL_ADDRESS>Meanwhile You can also refer the documentation.


Support freebsd OOTB.

Simple one line change to support FreeBSD out of the box, so those users aren't required to needlessly set PHANTOMJS_BIN.

Anybody?

Sorry for the late response and thank you for the contribution!
Could you please update the commit message following our conventions after that it looks good to me.

Better?

Thanks @petejohanson
LGTM


Update msgpack library

pending https://github.com/keybase/node-framed-msgpack-rpc/pull/10

@chrisnojima yup

[ ] update with https://github.com/keybase/node-framed-msgpack-rpc/pull/14


Add admin log for codewords

About the PR

Adds an admin log for codewords
Why / Balance

Ret wanted it since the refactor removed it accidentally.
Technical details

Logs when codewords are generated
Media

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

Includes game rule entity now, to make it easy to connect the log to which game rule generated the codewords.


Custom Config Documentation Request

It would be nice to get the documentation to make custom config files.
That would also help the development team as new config files could be sent to the project to help support more displays quicker

@petrosrz That's an interesting idea and it might expand the base of devices GUISlice can be used with. It might also be useful if there was a place where users could provide information on their experience using GUISlice with devices and drivers not included in the current config files.
Don

Hi @petrosrz --
This is a good idea... I do have some documentation on the config files posted in the wiki.
Please take a look here and see if it helps. I am sure that there are many other sections that haven't been documented well yet, so let me know if there are specific settings that I can add to the wiki for you first.
For example:

https://github.com/ImpulseAdventure/GUIslice/wiki/Config-Mode-Details
https://github.com/ImpulseAdventure/GUIslice/wiki/Configuring-GUIslice
https://github.com/ImpulseAdventure/GUIslice/wiki/Configure-GUIslice-for-Arduino

Hope that helps


fix(build) - Whitelist get-contrast

Whitelist get-contrast to fix deployment of build - used for accessibility

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Please add directwrite option to config.

Current parameter argument: --disable-direct-write, please add this option to config so we don't have to use parameter argument, since it causes other issues.
In addition, this is a solution for this issue: https://github.com/adobe/brackets/issues/10398 and for whoever prefer to disable or enable directwrite. Sublime text editor has this option.
Thanks.

Bump.
 for 3 years now.

CEF no longer have directwrite support. Closed.


Table Method autoResizeColumn does not consider OData v2 content

OpenUI5 version:  1.79.0
Browser/version (+device/version): Chrome Version 84.0.4147.105
Steps to reproduce the problem:

Create OData Service
Create sap.ui.table Table based on the OData service
Attach busyStateChange event to table in handler for event afterRendering
If not busy then perform autoResizeColumn for columns of table in event handler for event busyStateChanged

What is the expected result?
The columns will be optimized by both header text and OData content
What happens instead?
autoResizeColumn only optimizes the column width by header text, OData content is not considered at this point
Any other information? (attach screenshot if possible)
I also tried adding an event listener for the event 'dataRecieved' in the event handler for beforeRebindTable and optimized the columns in the dataRecieved event handler and got the same result.

Hi @cwolbert ,
Thank you for your findings. Please provide a working example (JSBin or something like this) that demonstrates a problem. That way we can inspect and eventually fix the issue.
Best Regards,
Nikolay Hristov
GitHUb dispatcher

Hi,
I was struggeling with providing a working example but I finally managed. The problem is too complex to add a JSBin example, so I attached a .zip file that contains all the relevant information:
autoResizeColumns.zip
As a result I get a table that looks like this:

However with the automized column widths I would expect it to look like this:

It seems to me that the data is not yet available in the table when the dataRecieved event is fired and therefore the columns are only optimized by their headers.

Hello @cwolbert ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards, Diana

Hi @cwolbert,
The "autoResizeColumn" method only works with a limited set of controls and only considers the current state of the UI. So you need to catch the right point in time where the cell content is already rendered with the (new) data. I admit that this is not very user-friendly, but that's as much as we can get from this experimental method.
You can use the "change" or "dataReceived" event of the binding and add a timeout of a few milliseconds (let's say 10).
https://jsbin.com/ruquqomagu/1/edit?html,output

But what if I add a timeout of say 10ms and there is a lot of data to be rendered or/and the user has a terribly slow internet connection or/and uses a smartphone. In that case, there is no guarantee that the cell content is rendered in time. So is
there really no other way to achieve this? It would make sense to fire a event after the rendering is completed. I would expect this to be afterRendering but as I have mentioned before, the data is not considered at that point either, probably because it hasn't been rendered.

A slow internet connection should not be an issue when using the "dataReceived" event.
Rendering is a synchronous task. The timeout should just make sure that the rendering process has been started before calling "autoResizeColumn". The method should then be called after the rendering process has finished. If the rendering of the cell content is async - maybe some controls update some of their parts async, not sure about that - then the table also has no chance to find out when the rendering of its entire content is really fully completed.
After all, there are reasons why this method is experimental for such a long time. It works quite ok for simple (text) content and client-side data, but for complex cell content and server-side data there are no straightforward solutions for the existing difficulties, or even no solutions as all.


WER?

The PicovoiceCheetahASREngine is super fast, but is not accurate based on my test.
Is it suitable to use Levenshtein distance as the WER?
From Wikipedia

The WER is derived from the Levenshtein distance, working at the word level instead of the phoneme level.

Here is some transcripts of Common Voice's cv-valid-dev set.
from "go into your dance" to "go into gour dance"
from "when you start to eat like this something is the matter" to "when you start to eat like this something is the matter"
from "i had seen all that it would presently bring me" to "i have feen all that it would presently bring me"
from "he moved about invisible but everyone could hear him" to "he moved abut and vasible but everyone could hear him"
from "mr lee can't be bothered now" to "mister lincal be bothered now"
from "the shepherd swore that he would" to "the shepherd swore that he would"
from "it must have fallen while i was sitting over there" to "i must have fallnwhile i was sitting over there"
from "just like an organ" to "just like in organ"
from "and the solid part was called the philosopher's stone" to "and the solid park was caurds af alows of her sto"
from "raisins are delicious" to "raisoned arylitious"
from "get the governor on the phone" to "got the governor on the fo"
from "so then try he said to the englishman" to "so then try he said to the englishman"
from "i thought about whether we should find coins and models in it and so on" to "i thought about whether of we should find coins and lodtels in it and to on"
from "the angel touched the man's shoulder and they were both projected far into the future" to "the ageel touched lhe ment showter and thet eiere both projectted far into the futur"
from "lots of places sell tea around here the merchant said" to "the lass of pases selt he aroud here thand much in se"
from "everyone on earth has a treasure that awaits him his heart said" to "onper one on perds has a triture that the waiys hom hes hart said"
from "i'm beginning to like this" to "i am beginning to like this"
from "all they wanted was food and water" to "all they wanted witsh food and water"
from "it has happened many times before" to "it does not many danse before"
from "but most important he was able every day to live out his dream" to "but most important he was able every day to live pout his dream"
from "because you have already lost your savings twice" to "because you have already lost hor savings twice"
from "whenever he could he sought out a new road to travel" to "whenever he colld he sai tout and yow rod to trallo"
from "he was about the same age and height as the boy" to "he was about the same age and height as the"
from "drawing from my own experience as a learner of english and german i value engaging activities that involve everyday conversation" to "rong from mor own experience as the lone of english and german i tout jenin gatehing at tomatis that involve every day contersation"
from "they set off running wildly into the trees" to "they set off fonning wild leans hrough the trees"
from "but finally the merchant appeared and asked the boy to shear four sheep" to "the finally the merchant oppeared in asked the boy to sheer for sheep"
from "the merchant looked anxiously at the boy" to "the merchon non anxiously af the bo"
from "the nurse waddled around the ward" to "the nervese watld around the ward"
from "where did he keep his money" to "where do he caep his momey"
from "i learned the alchemist's secrets in my travels" to "i learned the alchemistsecrets in my trave"
from "everything in life is an omen said the englishman now closing the journal he was reading" to "averything in life is an omen said the englishman now closing the journal he was realing"
from "the boy was startled" to "the boy wast storted"
from "half an hour later his shovel hit something solid" to "al aleyre lihter he shavell hit subething sollid"
from "i heard a faint movement under my feet" to "thhard faint movement under my feet"
from "it is i the boy answered" to "it is i the boy answered"
from "its been a long time since she last read chekhov and because of that she no longer feels like the heroine of her own story" to "tin along time since she last read checkel and because of that she no longer fiel like the herror one of her ens story"
from "i learned how to care for sheep and i haven't forgotten how that's done" to "i learn how to kare for sheep and i haven't forgotten 'll dats then"
from "they placed the symbols of the pilgrimage on the doors of their houses" to "e place the sembols of the tigrimice on the doors of their houses"
from "i heard a faint movement under my feet" to "i heard a faint movement on the my fet"
from "he could always go back to being a shepherd" to "he could alwas go back to being a shepherd"
from "its lower end was still embedded" to "it's lower and wesstill imbidded"
from "hundreds must have seen it and taken it for a falling star" to "hundreds must have seen it and taken in for a falling stan"
from "as the sun rose the men began to beat the boy" to "as the sun rosed man began to peat the boy"
from "i feel i ought to take care of her" to "i feel i aught to take car of her"
from "i have to find a man who knows that universal language" to "i have to find a mann  who knows that univrsal lang"
from "the burning fire had been extinguished" to "the burning far had been extinguished"
from "how come you speak spanish he asked" to "i'l gons biaks that anish he sk"
from "i thought tonight i'd put miss kelly there" to "i thought tonig to id but miss carly there"
from "the cursor blinked expectantly" to "the curser bliked expectantly"
from "the boy mumbled an answer that allowed him to avoid responding to her question" to "the boy mumbled and onser that a loued him to avoide was ponding to her question"
from "fresh coffee is much better than the freeze dried stuff" to "fresh coffee is much better then the freezes drives stuff"
from "but you will love her and she'll return your love" to "but you were love her and she'll return your love"
from "i think they're going to last for a long time he said to the monk" to "i think they're going to last for a long time he said to the mon"
from "and then he perceived it very slowly" to "and hany perceived it very slowly"
from "my wife pointed out to me the brightness of the red green and yellow signal lights" to "my wife pointed out to me the brightness of the red green and yellow signal lights"
from "they become the soul o f the world" to "then come to saw of the warl"
from "what's going on here" to "what's going on here"
from "the alchemist knocked on the gate of the monastery" to "is the alchemist nocked on the gait of the monastery"
from "her manipulation failed" to "ere minipulation fai"
from "why the shots stopped after the tenth no one on earth has tried to explain" to "why te shot stopped after the tenth no one on earth has tried ting thran"
from "that's the man who knows all the secrets of the world she said" to "that's the man hur knows all the secrets of the word she is said"
from "they reached the center of a large plaza where the market was held" to "there reach the sentr af a large plase awere the market was helt"
from "he was thinking about omens and someone had appeared" to "he was thinking about omens and someone had appeared"
from "no sense messing up the streets" to "no fhende metting up the street"
from "that's what i'm not supposed to say" to "but if what i've not tre posed to fary"
2018-08-08 15:53:18,429 WER = 0.336652

Hello @xiongyihui
I think there are two questions here. (1) Use of Levenstein distance (2) Accuracy. Let's attend to (1) and once resolved we can go to (2).
The code currently is using Levenstein distance to compute the WER according to the Wiki link you provided. It is here: https://github.com/Picovoice/stt-benchmark/blob/master/benchmark.py#L15-L29
Does this answer question (1)?

Word Error Rate (WER) is working at the word level. But the  Levenstein distance in the code is at the char level.

I believe it works in word level. If you run the function with arguments below:
_word_error_rate("this is ref transcript", "that is transcript")
it gives you 0.5 which is the correct WER. There are 4 words in reference. There are 1 substitution (this -> that) and 1 deletion (ref).
If I am missing something please elaborate and I'll be happy to apply fixes.

Oh, sorry, I misunderstood the editdistance.eval()


MPS-rand-circ fails with type error

What happened?
whilst running MPS-rand-circ a type error pops up - preventing the notebook to continue
https://github.com/quicophy/mdopt/blob/main/examples/random_circuit/mps-rand-circ.ipynb

What did you expect to happen?
a random circ test
Minimal Complete Verifiable Example
No response
Relevant log output
No response
Anything else we need to know?
Python 3.10.12 on jupyter notebook

Environment
occurs both with pip3 install mdopt and from main installing it with -r requirements.txt

Hey @twobombs, thanks a lot for reporting this and very sorry for a late response, let me look into it and get back to you shortly!

@twobombs Can you try reproducing the error from the current version of the main branch please?

I forgot to mention last time wich could be important:
after removing the random_circuit double declaration leaving only examples to import the notebook runs

this time it stops at the same place with the same error

Hey @twobombs, thanks for the clarification!
First, the imports for the examples folder in a notebook usually require adding the directory to the os.path. Feel free to open PR, that should be just a one-liner: smth like try import ... and except ModuleNotFoundError os.path[0].append(...).
Second, the current version of the function mps.utils.create_simple_product_state has an argument called tolerance which corresponds to how much we can deviate from "real" (normalised) quantum states. Thus the second error must go away once the main branch is pulled.
Thanks a bunch and let me know!


how to set circleStrokeSpin stroke width

how to set circleStrokeSpin stroke width

Sorry, it's not supported. You can only change type, size and padding of animations.


Update common.js

@Naizaaiia Can you introduce yourself on chat.zulip.org? We can talk about Zulip's coding standards.

Thanks for your help and interest in Zulip. Closing, since this unfortunately cannot be merged as is, but please make an account on our developers' server at https://chat.zulip.org, and we can find a good project to match your interests.


ADBDEV-4909-17: Add lost query_block check for NULL.

Add lost query_block check for NULL.
The get_ao_distribution function contains paths where the query_block pointer is
not checked for NULL. That's why I added these checks.

Can you explain why SPI_tuptable can't be null?

This patch is not about SPI_tuptable!


Extract the folder and open GflessClient.exe

There is no GflessClient.exe in the file you provided

I need to create automatic mail:pass:id but I couldn't do it, can you help me?.    "I can only add id to my own mail"... what i need is random mail + password + game id how can i do this...   please contact me here. I want paid help. Discord: cips0x666


Configurable option for returning session ID

This pull request adds a configurable option to return the session ID. This is useful for revoking specific/single sessions.

@harrisonratcliffe Can you run the linter on your code (with Pint) and I'll merge it in.
Cheers!

@cjmellor I've just done that now mate!

Cheers @harrisonratcliffe 🙏


[💡 FEATURE REQUEST]: Use Opentelemerty specific  environment variables

Plugin
GRPC
I have an idea!
Hello! Opentelemerty plugin reads config from .rr.yaml as other plugins do.
Also specification defines environment variables https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/ and https://opentelemetry.io/docs/specs/otel/protocol/exporter/ to read default opentelemetry values from.
Roadrunner 2023 already uses library https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc#pkg-overview with support of this variables but over writes them with hardcoded defaults:
		c.Resource.ServiceNamespaceKey = fmt.Sprintf("RoadRunner-%s", uuid.NewString())
		sdktrace.WithResource(newResource(p.cfg.Resource, cfg.RRVersion())),

Could you restore use of this environment variables as defaults if no values are set in .rr.yaml and use hardcoded strings only when both configurations are empty?
Variables tested to be effective with otel v.1.21.1
OTEL_SERVICE_NAME: "some-micro-service"
OTEL_RESOURCE_ATTRIBUTES:"service.namespace=deployment-namespace,host.name=server-hostname"
OTEL_TRACES_SAMPLER: "traceidratio"
OTEL_TRACES_SAMPLER_ARG: "0.5"
OTEL_TRACES_EXPORTER: "otlp"
OTEL_EXPORTER_OTLP_PROTOCOL: "http"
OTEL_EXPORTER_OTLP_INSECURE: "true"
OTEL_EXPORTER_OTLP_ENDPOINT: "http://<IP_ADDRESS>:4318"

Here is an example of code using these variables with InitFromEnvironment()
package trace

// Based on
// https://opentelemetry.io/docs/instrumentation/go/manual/
// https://github.com/open-telemetry/opentelemetry-go-contrib/blob/v1.21.1/instrumentation/google.golang.org/grpc/otelgrpc/example/server/main.go#L54

import (
	"context"
	env "github.com/caarlos0/env/v6"
	log "github.com/sirupsen/logrus"
	"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
	"go.opentelemetry.io/otel"
	"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp"
	sdktrace "go.opentelemetry.io/otel/sdk/trace"
	"go.opentelemetry.io/otel/trace"
	"google.golang.org/grpc/stats"
)

type TraceConfig struct {
	ServiceName                string `env:"OTEL_SERVICE_NAME" envDefault:"your-service-name"`
}

var Config TraceConfig
var Tracer trace.Tracer
var TracerProvider *sdktrace.TracerProvider

func InitFromEnvironment() (*sdktrace.TracerProvider, error) {
	config := TraceConfig{}
	if err := env.Parse(&config); err != nil {
		log.Fatalln(err)
	}

	return InitFromConfig(config)
}

func InitFromConfig(config TraceConfig) (*sdktrace.TracerProvider, error) {
	Config = config
	Tracer = otel.Tracer(Config.ServiceName)
	return InitTracerProvider()
}

// InitTracerProvider configures an OpenTelemetry exporter and trace provider.
func InitTracerProvider() (*sdktrace.TracerProvider, error) {
	// Set up exporter
	exporter, err := otlptracehttp.New(
		context.Background(),
	)

	if err != nil {
		return nil, err
	}

	tp := sdktrace.NewTracerProvider(
		sdktrace.WithBatcher(exporter),
	)
	otel.SetTracerProvider(tp)
	TracerProvider = tp
	return tp, nil
}

// [Unrelated code removed.]

Hey @fasdalf 👋
Fair take, I was waiting for a ticket like this 😃
Sure, OTEL specific variables might be defined via env variables and this FR is approved by default 👍
Let me think of how to implement this w/o extra third-party libraries (I mean env/v6).

Hey @fasdalf 👋
Remember, that you may use the following well-known syntax, e.g.:
otel:
    # other options
    endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://collector:4318}

In this case, if the OTEL_EXPORTER_OTLP_ENDPOINT env variable is not set, default http://collector:4318 value for the endpoint would be used.

otel:
    # other options
    endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://collector:4318}

Thank you, @rustatian! I gave it a try and it worked!
Is it suitable to add this variables, especially OTEL_SERVICE_NAME, to config examples shipped with the Roadrunner?

Cool 🥳
Yeah, I also forgot that RR supports Bash parameter expansion syntax. It would be cool if document your configuration experience here: link 🙏


RFC: Other Installer options for the CLI

Currently, the CLI uses npm as a package manager and requires users of the CLI to install npm with node version > 8.2 for successful installation of the CLI.
This RFC is to gauge community interest around the CLI being published to other package managers if there's a disinterest in installing the CLI via npm or yarn.
Some of the options which we're considering are the following:

brew for macOS
Windows 64/34 bit installers
snap for Ubuntu 16+
curl for installing the CLI as a tarbal via a HTTP request

Please comment on this thread if you've faced issues with npm when installing the CLI and if you think adding additional installers would smoothen out the CLI installation process for you or your team.

iOS RFC: https://github.com/aws-amplify/aws-sdk-ios/issues/1972
Android RFC: https://github.com/aws-amplify/aws-sdk-android/issues/1248

Some additional options we would like feedback on:

Gradle dependencies and installation
Cocoapods hooks & build phases

Is there a separate thread where users were having issues with npm? Perhaps it's the bubble I'm in, though I just figured that since Amplify was a web/mobile framework, that most users would be comfortable using npm.
I suspect the native crowd (swift, java) devs may be the driving factor?
Thanks again for all the hard work on the package, apologies that I'm a bit off topic.

Some of my largest AWS clients run "hard shell" private VPCs where internet access is blocked by default and 99% of subnets are private. All communication to the external world, when allowed passes through SSL decrypting firewalls for analysis.
We mirror software repositories internally for simple things like Perl CPAN and R CRAN but the new generation of package managers used by modern frameworks (like npm) have client-server communication requirements that make a static private internal mirror effectively impossible.
We've since deployed some Nexus Repository Managers to handle the new generation of package managers which works ok. NPM is hosted here.
So please consider this a +1 vote for a simple tarball install method that we could host internally on a private HTTP mirror.
This is a minor side digression into my constant rant that most of the AWS best practices, evangelist outreach materials/talks along with nearly all of the published AWS design and deploy patterns just inherently assume that unrestricted internet egress is always available and always allowed.

I appreciate clean and easy options that are standard in the industry and work the same way across multiple OSes, so while brew is great otherwise, I really like that NPM is the supported option and would prefer for it to stay (at least as one of the main supported options).
P.S. Thank you for opening this feedback process to the public - love the transparency!!

@mtliendo well one thing that sucks about npm install is that it's not an idempotent operation. I should not have to run npm install, get a single package that fails to install for some reason, manually install that package, re-run npm install, etc. until I get a working node_modules. And then sometimes you'll run npm install, get zero errors, run it again, and get updated or removed packages.
That being said, @kaustavghosh06 your OP implies that installing Amplify CLI, SDK and the Amp component libraries can currently be installed with yarn. If so this is an undocumented feature, or maybe requires a more advanced understanding of yarn. (Does yarn synchronize with an npm mirror, meaning all npm packages can be installed by yarn by default?)

I get your perspective--and I apologize in advance for the assumptions I'm going to make, though I hear feedback like that when I'm teaching devs that are newer to JS, specifically the JS package managers.
A couple of things to note about npm:

When installing packages, some packages may log errors in the console, but this could be for a variety of reasons but the case shouldn't be that it installs others except for that one package.  For example, a common error that pops up for Windows users is something about node-gyp.  Though that's an error that's thrown because it's doing a check for linux machines (it sucks that it shows an error), but the package execution continues

If having to manually add packages (relating to amplify), then I would file an issue so we can get some feedback and troubleshoot.  That definitely shouldn't be happening.

npm (as opposed to yarn) will audit packages for security vulnerabilities.  While those packages can be manually updated as a way to resolve the vulnerabilities, it's best to leave that to the Amplify team since an updated package might introduce breaking changes.

Regarding yarn:

The amplify framework can definitely be used with yarn 😊

npm i -g yarn will install the command, in which case as long as your project is initialized with yarn (specifically, a yarn.lock file exists) then amplify will can pick it up to install its dependencies

I agree, the above statement could be documented (easy Hacktoberfest PR if you're interested 😇)
To answer your last question, the yarn registry used to just point directly to the npm registry, but I think that changed in the past year or so. Either way, you can use yarn or npm to manage packages.  Personally I prefer npm for the package auditing, but yarn also has some nifty features as well.

Hope that helps, or at least demystifies some things! Happy coding!

Just on a related note, on Mac there was an issue installing amplify-cli via npm if node was installed via brew. After installing node via nvm (which by the way I installed via brew), I no longer had issues installing amplify-cli via npm.
So brew -> nvm -> npm -> amplify-cli. Haha!!

Personally, I find the hard dependency on node.js and npm to be a "necessary evil". The AWS CDK is in a similar situation in that is only available via node & npm. I don't think anyone actually enjoys using npm.
My qualification: I lead a small but diverse global (remote) team of developers and DevOps staff working on 100% AWS native services, including container based and serverless applications, using a variety of platforms and languages - JavaScript, TypeScript, React, Python, and Java, running on AWS Lambda, Fargate/ECS, using the whole gamut of related AWS services - Amplify Console, AppSync, API Gateway, DynamoDB, Aurora PostgreSQL, DocumentDB, etc.
I think there's a few unique perspectives and important discussion points where the user experience is degraded by node & npm being a prerequisite / requirement for use of the Amplify CLI:

npm/node doesn't come pre-installed on any major operating system (Windows, MacOS, or any Linux distro). This makes using the Amplify CLI just a little bit harder than it needs to be for new users. This is somewhat mitigated by being able to use 3rd party package managers on Windows (Chocolatey) and MacOS (Homebrew) to install node - but it's not safe to assume every developer can even have those tools installed (they may be blocked by company security policy, for example).

NPM the Company and NPM the Service are seen as a liability to some. Having lots of npm dependencies in a project can turn into a security nightmare if even one nested dependency is abandoned and security vulnerabilities are discovered.

Just as an example, @aws-amplify/cli has 41 direct dependencies, but when the dependency tree is fully resolved turns out to be 5568 packages installed under node_modules (counting multiple versions of each package), or 2004 unique packages (when ignoring multiple versions of the same package).
2a) HN recently had some excellent discussion on the various issues and challenges regarding npmjs.com: Ask HN: Why All the Hate for NPM?

Large parts of the Amplify Toolchain can be used without ever writing a single line of JavaScript or touching any Web UI Framework (React / Vue) or Mobile (iOS / Android) application functionality. I think it's entirely reasonable to use the Amplify Toolchain to build an AppSync GraphQL API leveraging DynamoDB, Aurora and Lambda for external consumption. For example, there could be multiple teams working on a large platform, where you have one team dedicated to the API and Database, one team working on the Web Frontend, and one or more teams working on the Mobile Applications. Obviously there are interdependencies between the teams and they must work together to be successful, but there are clear non-overlapping areas of responsibility and ownership.

For example, If I want to build an API (only the API - the frontend / UI is another team) using an AppSync GraphQL API and API Gateway with both AppSync Apache VTL and Python based Lambda Functions in front of an existing database (DocumentDB or Aurora for example) - I don't need node / npm to do any of that, except for installing and using the Amplify CLI.

For new users who aren't developing in JavaScript/TypeScript and don't have experience nor interest in jumping into the JS/TS swimming pool, this can be a frustrating and confusing problem. As @mtliendo mentioned, during the installation some packages will frequently output error logs in big red text in the console, and for the uninitiated, that can be confusing and intimidating.

Thanks for all the feedback. As of last week, we've released various installation and scaffolding options (npx scripts for JS projects, Gradle plugin for Android projects and Cocopods with Xcode build phases for iOS projects) to ease out this process.
Please read more about it out here - https://aws.amazon.com/blogs/mobile/introducing-aws-amplify-for-ios-and-android/