A few small translation changes

@mcm1957,
Bis jetzt läuft der Adapter wie gewohnt. Zu einem "axios"-update kann ich nicht wirklich etwas sagen, aber ich werde es gerne testen. Vielen Dank

@mattreim
I'll merge for now.
But I want to notice that normally labels should not contain a double colon. So they should be removed to make labeling consistent with other adapters.
And I would suggest to relable IP-Address. I'm not sure what the address is used exactly - I only did a very fast code scan.
It either is used as 'IPv4 subnet mask' or as a 'Bind address'. So the label should clearify the function. If you know the exact functionality of this paramater I could check the labelling used at other adapters at weblate.

@mattreim
I've just created v2.3.0-alpha.3
axios is upodeat to current release
old admn ui files have been deleted
'interface' has been added as config parameter to io-package.json
Please check out this release and let me know whether everything is working. (I do not have any test possibility due to missing environment). Please let me know the result.
If everything is OK, I will create a new release 2.3.0 to be listed at latest repository.
If you have time it would be fine if you could look the issues list. Maybe one or the other can be fixed? Or closed due to user error?
Anyway - it very helpful that you soent the effort to update the UI. Thanks

Thank you for the new version. It was easy to install and has not shown any errors so far. The first IR and RF signals have already worked. Tomorrow I will test the training of devices. Have a nice evening.

Should I delete the colons from the i11n file?

I think ip can be deleted and a default value for "interface": "192.168.178.x"


Add extracted stories

Manual extraction

@vukosim
They are automatically extracted then fixed.

Okay. interim should just be the autoextracted. Once they are fixed, then there should be a file in processed/ instead.

Does that mean I should then move the manually extracted and, automatically extracted then fixed files to the processed when pushing?
I also had another question, I wanted to know if it is fine if each sentence in the processed file should be on its own line or if the current format is fine going forward?

One the first one, yes. Please move them to processed when pushing.
on the second one yes, don't worry about the per sentence anymore. @Daniel-Ind

LGTM @Daniel-Ind


Accessing 'Playlist' tab when a chart on one of the playlists has (<0.7)xMusic crashes the game.

So you added a song to playlist at 0.5xMusic?  But when you select the 'Playlist' tab after selecting out, the game crashes.
Steps to reproduce the behavior:
a1. Go to 'Playlists' tab -- Open up a playlist.
a2. Add a chart.
a3. Decrease the rate-mod of the file by right-clicking on the rate.
a4. See that it doesn't go below 0.7x.
A1. Set Ratemod to 0.5xMusic.
A2. Add a chart to a playlist (see 0.5x).
A3. Exit out of playlist tab.
A4. Crash game. (Go to 'Playlists' tab).
Windows 10 Home Single Language
Etterna 0.66.1
64-bit

Reproduced. The reason is basically that the calc doesn't currently output numbers below 0.7x and we look for them in a spot that they don't exist.

Fixed by a5d964d0f3b162880068fab57d2bb10411f2fc58


Unable to component props in a TypeScript project

Bug report
Hello and thank you for this wonderful and easy to use project! I ran into compilation issues when trying to use it in a Typescript project. I did my best to extract only the relevant code below.
What is the current behavior?
I can use the components normally, but as soon as I define a component property, TypeScript compilation fails. It looks like all components are affected, but I only added 2 samples for brevity.
If the current behavior is a bug, please provide the steps to reproduce.
Contents of package.json:
{
  "scripts": {
    "build": "tsc --noEmit --esModuleInterop --jsx react Test.tsx"
  },
  "devDependencies": {
    "@types/react": "^16.8.8",
    "@types/react-dom": "^16.8.2",
    "react": "^16.8.4",
    "react-dom": "^16.8.4",
    "reakit": "^0.16.0",
    "typescript": "^3.3.3333"
  }
}

Contents of Test.tsx:
import React from 'react'
import {Button, Heading} from 'reakit'

export class Test extends React.PureComponent {
  render() {
    return (
      <div>
        <Heading>Heading level 1</Heading>
        <Button>Button</Button>
        <Heading use='h2'>Heading level 2</Heading>
        <Button palette='secondary'>Button</Button>
      </div>
    )
  }
}

Running the following:
npm install
npm run build

results with Typescript compile errors:
> @ build ***
> tsc --noEmit

Test.tsx(11,10): error TS2322: Type '{ children: string; use: string; }' is not assignable to type 'IntrinsicAttributes & Pick<Pick<{}, never>, never> & ClassAttributes<any> & Pick<{}, never> & { readonly use?: string | string[] | undefined; readonly useNext?: string | string[] | undefined; }'.
  Property 'children' does not exist on type 'IntrinsicAttributes & Pick<Pick<{}, never>, never> & ClassAttributes<any> & Pick<{}, never> & { readonly use?: string | string[] | undefined; readonly useNext?: string | string[] | undefined; }'.
Test.tsx(12,10): error TS2322: Type '{ children: string; palette: string; }' is not assignable to type 'IntrinsicAttributes & Pick<Pick<{}, never>, never> & ClassAttributes<any> & Pick<{}, never> & { readonly use?: {} | {}[] | undefined; readonly useNext?: {} | {}[] | undefined; }'.
  Property 'children' does not exist on type 'IntrinsicAttributes & Pick<Pick<{}, never>, never> & ClassAttributes<any> & Pick<{}, never> & { readonly use?: {} | {}[] | undefined; readonly useNext?: {} | {}[] | undefined; }'.

What is the expected behavior?
Using documented component properties should not result in TypeScript compilation errors, as long as they are correctly defined.

Other relevant information:
reakit version: 0.16.0
typescript version: 3.2.4

Hi @jeremija
Try to npm install @types/styled-components

Thanks, that was it! Would it be possible to bundle these definitions with reakit somehow? Alternatively, it could be mentioned in docs/get-started.md to prevent others from running into the same issue.

Yeah, some people have run into that too. I think we should add a note to docs. Would you like to do that?

Thanks for the invite @diegohaz. Glad I was able to help!
I have one more question regarding Reakit and TypeScript. Since I haven't used styled-components before, I noticed the TS compilation time increase drastically now that compilation succeeds. In the simple example I provided, it jumped from being instant without Reakit to about 5s with Reakit. On the project I'm working on it jumped from ~1s to about 15s after adding a few Reakit components to a single component in the project.
Just wondering if this is the usual experience with styled-components or reakit, or do you think there might be room for improvement in my configuration?

We use lots of complex types from @types/react. I don't know if that's causing that problem, but there should be something we can do about it.


Variable set and push, is it possible?

Is it possible to do more than one commands on the single request?
Basically I'd like to deploy a merge as well as setting and environment variable, all on the same push. If this is not possible, maybe add way for the variable to be set without redeploying, so that it only makes sense on the next redeploy.

Not yet. It's a feature request we have in the queue.
It is possible to set environment variables in .platform.app.yaml, if that works for you (if you can commit the value to git).


Profile doesn't work on application.properties file but on equivalent yaml file

Describe the bug
I have a configmap with a application.properties file which has some custom values. It also makes use of different profiles. However, the value in the active profile is not read by the application. Switching to equivalent application.yml file works.
Sample
The original configmap with application.properties is as follows (truncated for brevity):
apiVersion: v1
kind: ConfigMap
metadata:
  name: app-config
data:
  application.properties: |-
    ....
    ---
    spring.profiles: staging
    verification.url.format: https://api.dev.url.com/verification?email=%s&token=%s
    ---
    spring.profiles: prod
    verification.url.format: https://api.url.com/verification?email=%s&token=%s

When I try to read verification.url.format in the staging environment, it gives me the string in prod profile. However, switching to the following configmap works:
apiVersion: v1
kind: ConfigMap
metadata:
  name: app-config
data:
  application.yml: |-
    ....
    ---
    spring:
      profiles: staging
    verification:
      url:
        format: https://api.dev.url.com/verification?email=%s&token=%s
    ---
    spring:
      profiles: prod
    verification:
      url:
        format: https://api.url.com/verification?email=%s&token=%s

Environment:

Spring Boot 2.3.1.REALEASE
Spring Cloud Kubernetes: 1.1.4.RELEASE

If you can answer the questions above, I'll see about reopening this.

If you can answer the questions above, I'll see about reopening this.

Added sample in the description, please reopen.

so, properties don't support mutltiple inline documents yet. What version are you using?

Spring Boot 2.3.1.REALEASE
Spring Cloud Kubernetes: 1.1.4.RELEASE

properties files won't support mutltiple inline documents until boot 2.4.x


Add Average and Maximum CPU load per iteration

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Adds a channel for overall CPU usage and a channel for the maximum usage of the most active core per PCL iteration.

Why should this Pull Request be merged?
Fixes #31
What testing has been done?
Added a new custom device to a sysdef to verify channels are added. Created calculated channels to perform the same calculations and verified the values are the same.
Created a sysdef with a previous version of the custom device then swapped out binaries with a build from this branch and verified the new channels are correctly added on mutation.

@Karl-G1 I just used 2<IP_ADDRESS> for the custom device version, although we've already shipped 21.3 custom devices. Any recommendations for the version?

@Karl-G1 I just used 2<IP_ADDRESS> for the custom device version, although we've already shipped 21.3 custom devices. Any recommendations for the version?

@buckd Ironically I just had this conversation with @rtzoeller about another custom device. I think cycle-aligning all CD packaging versions going forward makes the most sense. That means releasing 23.0 at the end of this cycle.
Whether or not we make the custom device version itself match that release version is up to you, but 2<IP_ADDRESS> would be the result.


update to target SDK 35 and dependencies

@calren while updating dependencies, it looks like there was an API change for DefaultPreloadManager.Status. Can you confirm that STAGE_LOADED_FOR_DURATION_MS is the right one to use?

@calren while updating dependencies, it looks like there was an API change for DefaultPreloadManager.Status. Can you confirm that STAGE_LOADED_FOR_DURATION_MS is the right one to use?

Can we not include to update the media3 lib to 1.5 ? I can take a separate AI for that. We expect a couple of changes to functioning of PreloadManager in media3 upgrade to 1.5. Will have to test out all those use cases before blanket update


X & Y reversed in library? (gotoXY function)

Good day,
I think there is an issue in the gotoXY function, namely that the x and y are reversed. This is in the library:
void ANSI::gotoXY(uint8_t x, uint8_t y) {   print("\033[");   print(x);   print(";");   print(y);   print("H"); }
But as per wikipedia:
CSI n ; m H | CUP | Cursor Position | Moves the cursor to row n, column m.
https://en.wikipedia.org/wiki/ANSI_escape_code
this is incorrect.
If I keep the library as is, I see issues in the output, if I swap the x and y in the function all is ok...

Thanks for reporting this issue.
Which terminal / program do you use.
I will do tests today to see if I can recreate the issue

Note to myself.
call parameters row and column instead of x y.

@pe1rmg

swapped X and Y for column and row.
updated readme
updated all examples where needed.
Created a develop branch - https://github.com/RobTillaart/ANSI/tree/develop
build-CI is running

moved code to .cpp
reorganized the code + comments
added some performance improvements.

Thanks for the quick fix!


Update GLSL: no samplers in function arguments

On some Android devices, gl.compileShader was complaining about a texture sampler in a function argument.
The relevant code in satellite-view was updated to use the global name for the sampler uniforms.
The updated code fixes #20 for our remaining test phones.

Test on a Pixel 3a running Android 12.1 and the latest Chrome:

Also tested on:

Samsung Galaxy S9 running Android 11, using the Samsung Internet browser
Moto G6 running Android 8.0, latest Chrome browser
Newer Samsung running Android 12, Chrome browser
Very old Samsung running Android 8.0, latest Chrome browser


Lottie/Using Codegen doc is missing Win2D dependency

Add step to include Win2D nuget.

@sohchatt any update on this?


[Application] add object detection example using pytorch

Add YOLO v2 object detection example using pytorch.
It was implemented in the same way as the YOLO v2 model, but only the backbone model was made into a simpler cnn model to make it easier to configure the initial version of YOLO to be implemented by NNTrainer.
In order to clarify the parts to be implemented by NNTrainer, it is a code that constructs only the basic structure proposed in the original yolo paper, excluding several third-part training techniques.

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2132. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

:octocat: cibot: @baek2sm, Applications/YOLO/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303031721170.54541611671448-db2dde53782739ac79990598dbe028aa4b101e91/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303031735430.33321404457092-d6c61a76ceaaa84a158e6822e9951ed337b1211a/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303031750020.79026699066162-d6a5732afbcbd2cffdb2768aab5f88ba2061d600/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303071357300.59516406059265-df97b6ff92a5b1ac1735777c3732b8c0ffa01f63/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303071849320.79399609565735-a834bf00927b24dcf9b97eb8c3556c85b4f2c51b/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303071857470.24245691299438-e8bed44540600de63b643a52330dfc53228c4a3e/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303071914330.45780611038208-bc7e66f865f3628ba3b33f3b0453d30a7dc4fb1b/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303071921120.050936937332153-c332a907baed1448600ce1f8ebaab022913f4243/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303081035490.50074696540833-9de1b96015afbe14d232586289cebd9780b3d994/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303081040040.57746410369873-391c36c6833e322e8e51585993e51438c64dcbfb/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/dataset.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303081043370.42881393432617-6ab796a7fe58a60b5ec16385ad70a855df0fc10a/report/pylint_result.txt.

:octocat: cibot: @baek2sm, Applications/YOLO/PyTorch/main.py does not include Doxygen tags such as ****. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303081119070.30377197265625-4d88f4a9b95eb933d39d01b5b77041a4b65810c9/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303081327340.48431491851807-57a4cca3b37db0e56be33aa4e46e5d8f3eeca0d8/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303091654370.58036398887634-bd0ab222aa408f5b4959c8b5056b8d0d02b4eb74/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303101656440.25480604171753-25c788ea2f2d04714aacdd052c3521df415aaedf/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2132-202303131108270.91705203056335-76c21463c729fd2ef651e454b511898dfd0bf9a7/report/pylint_result.txt.


Problem with Brightcove Prebid.js Example

Non-functional example page: http://prebid.org/examples/video/bc-demo.html
Brightcove player does not play any video content after clicking play button.

Need to follow up on this. The account the Brightcove example is pointing to is closed, so there is no content being loaded.

This has been fixed. See the new example here: http://prebid.org/examples/video/instream/brightcove/pb-ve-brightcove.html


[Notebooks] Refactor notebooks to minimize code duplication

The main aims of this issue are twofold:

Remove code duplication, for example:

Oracle SQL for table identification is duplicated across 3 notebooks
Oracle SQL for primary key identification is duplicated across 3 notebooks
Oracle SQL for partition columns identification is duplicated across 3 notebooks
MySQL code for table identification is different in two notebooks, one uses INFORMATION_SCHEMA.Tables other uses show tables

Fix incorrect SQL, for example:

Oracle SQL for primary key identification is missing owner predicate
Oracle SQL for partition columns identification is missing owner predicate

We'll introduce library code under the notebooks directory in order to have a single place for engine specific code and logic around setting Spark SQL JDBC options.

Once complete need to raise an issue questioning whether SERVICE_ACCOUNT should be used in Oracle/MySQL to Spanner notebooks.

Notes for pull request:

Fixed bug in display of Spanner primary keys (assumption that dict in same order as list)
MySQL PK read partitioning only driven by PKs with a single column, Oracle one picked first column of any PK. The Oracle logic was flawed and has been sync'd with MySQL logic.

Progress update: pull request created and assigned for review 2023-05-02.


Local Build Fails at Inspector and Watcher does not rebuild on save

Please note that whilst there are failures as described below babylon.max.js is still built and local playground tests are still available as described in the docs. However following any changes to a typescript build the full npm run build has to be done to re-build babylon.max.js.
Using npm version 6.4.1 errors here
[12:54:51] Starting 'buildMin'...
i ｢atl｣: Using<EMAIL_ADDRESS>from typescript
i ｢atl｣: Using tsconfig.json from C:/Users/User/Documents/GitHub/Babylon.js/inspector/tsconfig.json
i ｢atl｣: Checking started in a separate process...
i ｢atl｣: Time: 13320ms
[12:57:00] 'buildMin' errored after 2.13 min
[12:57:00] Error in plugin "webpack-stream"
Message:
    ./components/sceneExplorer/sceneExplorer.scss (../node_modules/css-loader!../node_modules/sass-loader/lib/loader.js!./components/sceneExplorer/sceneExplorer.scss)
Module build failed (from ../node_modules/sass-loader/lib/loader.js):
Error: Missing binding C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 8.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.sassLoader (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./components/sceneExplorer/sceneExplorer.scss 2:14-137
 @ ./components/sceneExplorer/sceneExplorerComponent.tsx
 @ ./inspector.ts
 @ ./index.ts
 @ ./legacy/legacy.ts
./components/embedHost/embedHost.scss (../node_modules/css-loader!../node_modules/sass-loader/lib/loader.js!./components/embedHost/embedHost.scss)
Module build failed (from ../node_modules/sass-loader/lib/loader.js):
Error: Missing binding C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 8.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.sassLoader (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./components/embedHost/embedHost.scss 2:14-133
 @ ./components/embedHost/embedHostComponent.tsx
 @ ./inspector.ts
 @ ./index.ts
 @ ./legacy/legacy.ts
./components/actionTabs/actionTabs.scss (../node_modules/css-loader!../node_modules/sass-loader/lib/loader.js!./components/actionTabs/actionTabs.scss)
Module build failed (from ../node_modules/sass-loader/lib/loader.js):
Error: Missing binding C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 8.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.sassLoader (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./components/actionTabs/actionTabs.scss 2:14-134
 @ ./components/actionTabs/actionTabsComponent.tsx
 @ ./inspector.ts
 @ ./index.ts
 @ ./legacy/legacy.ts
Details:
    domainEmitter: [object Object]
    domain: [object Object]
    domainThrown: false

[12:57:00] 'inspector' errored after 2.15 min
[12:57:00] 'typescript-libraries' errored after 12 min
[12:57:00] 'typescript-all' errored after 12 min
[12:57:00] 'default' errored after 16 min
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `gulp --max-old-space-size=8192 --tsLintFix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\User\AppData\Roaming\npm-cache\_logs\2019-02-20T12_57_00_927Z-debug.log

User@User-PC MINGW64 ~/Documents/GitHub/Babylon.js/Tools/Gulp (master)

After a file save at 1:04:46 Gulp Run produces the following but no changes in babylon.max.js

Built at: 02/20/2019 1:04:41 PM
                     Asset     Size               Chunks                    Chunk Names
    babylonjs.materials.js  394 KiB  babylonjs-materials  [emitted]  [big]  babylonjs-materials
babylonjs.materials.js.map  161 KiB  babylonjs-materials  [emitted]         babylonjs-materials
Entrypoint babylonjs-materials [big] = babylonjs.materials.js babylonjs.materials.js.map
[13:04:41] webpack is watching for changes
i ｢atl｣: Checking started in a separate process...
1:04:46 PM - File change detected. Starting incremental compilation...

1:04:49 PM - Found 0 errors. Watching for file changes.
i ｢atl｣: Checking started in a separate process...
i ｢atl｣: Time: 2ms
[13:05:02] Version: webpack 4.28.4
Built at: 02/20/2019 1:05:02 PM
 2 assets
Entrypoint babylonjs-gui [big] = babylon.gui.js babylon.gui.js.map
[13:05:02] webpack is watching for changes

After a while the watcher gives these error messages
ERROR in ./components/embedHost/embedHost.scss (../node_modules/css-loader!../node_modules/sass-loader/lib/loader.js!./components/embedHost/embedHost.scss)
Module build failed (from ../node_modules/sass-loader/lib/loader.js):
Error: Missing binding C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 8.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.sassLoader (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./components/embedHost/embedHost.scss 2:14-133
 @ ./components/embedHost/embedHostComponent.tsx
 @ ./inspector.ts
 @ ./index.ts
 @ ./legacy/legacy.ts

ERROR in ./components/sceneExplorer/sceneExplorer.scss (../node_modules/css-loader!../node_modules/sass-loader/lib/loader.js!./components/sceneExplorer/sceneExplorer.scss)
Module build failed (from ../node_modules/sass-loader/lib/loader.js):
Error: Missing binding C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 8.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.sassLoader (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./components/sceneExplorer/sceneExplorer.scss 2:14-137
 @ ./components/sceneExplorer/sceneExplorerComponent.tsx
 @ ./inspector.ts
 @ ./index.ts
 @ ./legacy/legacy.ts

ERROR in ./components/actionTabs/actionTabs.scss (../node_modules/css-loader!../node_modules/sass-loader/lib/loader.js!./components/actionTabs/actionTabs.scss)
Module build failed (from ../node_modules/sass-loader/lib/loader.js):
Error: Missing binding C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 8.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.sassLoader (C:\Users\User\Documents\GitHub\Babylon.js\inspector\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./components/actionTabs/actionTabs.scss 2:14-134
 @ ./components/actionTabs/actionTabsComponent.tsx
 @ ./inspector.ts
 @ ./index.ts
 @ ./legacy/legacy.ts
[13:08:48] webpack is watching for changes

can you try with node 8?

Am using node 10.15.0, now with npm 6.8.0. Think something might have got corrupted during my file changes and new pull requests to local. When I downloaded a new clone of babylon.js to check the polygonMeshBuilder new method I did not get the same errors.  Will close the issue for now as it seems a local problem


🌱 add cloudevents metrics.

Summary
This pull request adds metrics for CloudEvents to the SDK. The aim is to provide better observability for events processed by the SDK.
Related issue(s)
Fixes #

/hold

/assign @qiujian16 @skeeey @clyang82

/approve


Unexpected result for system

I want to find some possible values for P0, P1, P3 in the following system:
1e-08 <= P0/64 + P1/8 + P3/4
1e-08 <= 4*P0 + P1/2 + P3/64
1e-08 <= P0/64 + P1/4 + P3
-3*P0/32 - 5*P1/8 - P3 <= -1e-08
-24*P0 - 5*P1/2 - P3/16 <= -1e-08
-3*P0/32 - 5*P1/4 - 4*P3 <= -1e-08

This is the code I'm using to find them (with cplex):
from __future__ import print_function
from optlang import Model, Variable, Constraint, Objective

P0 = Variable('P0')
P1 = Variable('P1')
P3 = Variable('P3')
P0.lb = None
P0.ub = None
P1.lb = None
P1.ub = None
P3.lb = None
P3.ub = None

cs = [ Constraint(P0/64 + P1/8 + P3/4, lb=1e-8),
       Constraint(4*P0 + P1/2 + P3/64, lb=1e-8),
       Constraint(P0/64 + P1/4 + P3, lb=1e-8),
       Constraint(-3*P0/32 - 5*P1/8 - P3, ub=-1e-8),
       Constraint(-24*P0 - 5*P1/2 - P3/16, ub=-1e-8),
       Constraint(-3*P0/32 - 5*P1/4 - 4*P3, ub=-1e-8)
]
obj = Objective(P0 + P1 + P3, direction='min')

model = Model(name='model')
model.objective = obj
model.add(cs)

status = model.optimize()

print("status:", model.status)
print("objective value:", model.objective.value)
print("----------")
for var_name, var in model.variables.iteritems():
    print(var_name, "=", var.primal)

The values it computes are:
P0 = -1.02095238095e-08
P1 = 1.03352380952e-07
P3 = -5.36380952381e-08

They give the following inequalities:
1e-08 <= -1.02095238095e-08/64 + 1.03352380952e-07/8 + -5.36380952381e-08/4
1e-08 <= 4*-1.02095238095e-08 + 1.03352380952e-07/2 + -5.36380952381e-08/64
1e-08 <= -1.02095238095e-08/64 + 1.03352380952e-07/4 + -5.36380952381e-08
-3*-1.02095238095e-08/32 - 5*1.03352380952e-07/8 - -5.36380952381e-08 <= -1e-08
-24*-1.02095238095e-08 - 5*1.03352380952e-07/2 - -5.36380952381e-08/16 <= -1e-08
-3*-1.02095238095e-08/32 - 5*1.03352380952e-07/4 - 4*-5.36380952381e-08 <= -1e-08

Half of them are true, half are false (0, 2, 5).

1e-08 is below the default tolerance of the solver. Please note that the smallest possible tolerance is 1e-09.
You can get and set your tolerances using model.configuration.tolerances.* where * can be ['feasibility', 'integrality', 'optimality'].
The solver should do some automatic scaling of the problem but it might be safer to scale up your bounds and scale down your solutions afterwards.

Great, thank you


raito -> rate in README example

What does this PR do?
ratio is not a valid parameter - should be rate

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Was this discussed/approved via a Github issue? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

Thanks for your help.


Fix DateTime/DateTimeImmutable::getLastErrors() return type

This is wrong

Actually it's possible: https://3v4l.org/HBq0q

Hi @b1rdex ,
Thank you for the PR and for the example from 3v4l


Add warnings module and silence the ambiguous password warning

Yet another pull request you may or may not want to merge. I finally decided this was annoying me enough to fix, this PR removes an evaluation warning that appears on every rebuild:
The user '${user.name}' has multiple of the options
        `hashedPassword`, `password`, `hashedPasswordFile`, `initialPassword`
        & `initialHashedPassword` set to a non-null value.
        The options silently discard others by the order of precedence
        given above which can lead to surprising results. To resolve this warning,
        set at most one of the options above to a non-`null` value.

Since this is intentionally done to make sure a backup password is set in the event that secrets don't work correctly, this warning really isn't needed. A recent PR in nixpkgs made this even worse, now it dumps the 'conflicting' values too, making it even longer.

Nice, this has been bother me as well. Ideally we should PR nixpkgs with an option to silence the output but this will do for now. Thanks!

Ideally we should PR nixpkgs with an option to silence the output but this will do for now.

Yeah, there is already some discussion about that in NixOS/nixpkgs#287506, but as far as I can tell it hasn't really gone anywhere.

yeah discussions in closed tickets are never going anywhere


LightDM fails to start after switching modes

Everytime I switch modes, LightDM fails to start, and checking systemd status tells me it's because start request repeated too quickly.
I need to switch to another TTY and manually start LightDM every time.
I have tried manually setting my DM (using --dm lightdm) to no avail.
I use a Lenovo Legion 5 15ARH05 with a 4800H (RX Vega 7) + GTX 1650 Ti. OS is Arch Linux.
If anyone can help that would be great. I can also provide additional information if required. Thanks!

Did you try the fixes mentioned here(https://github.com/DaVikingMan/EnvyControl/wiki/Fixes-for-some-common-problems, the third fix)?

The afformentioned fixes did not work for me.
As for the Arch link, I use lightdm-webkit2-greeter and it was not removed from my system.
I have tried reinstalling LightDM and the greeter and such to no avail.

I've done some further testing and it seems it only happens when I switch to integrated mode. When I switch back to hybrid mode it works fine.

Do any other login managers work?

Hi, I seem to be able to have fixed this by setting logind-check-graphical=true in /etc/lightdm/lightdm.conf.
Sorry for the inconvenience!


Refactor code about "async invoke" in dubbo plugin (#1498)

fix #1498
I found that Dubbo always supports asynchronous calls, but blocks to get the return value when using $invoke.
So my solution is:

replace $asyncInvoke with $invoke
add attachment (async = true) to the dubbo thread context

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #1510 (0b98287) into master (55ecf11) will decrease coverage by 0.81%.
The diff coverage is 42.85%.

@@             Coverage Diff              @@
##             master    #1510      +/-   ##
============================================
- Coverage     64.95%   64.14%   -0.82%
+ Complexity     2095     2079      -16
============================================
  Files           419      418       -1
  Lines          8826     8788      -38
  Branches        883      881       -2
============================================
- Hits           5733     5637      -96
- Misses         2663     2721      +58
  Partials        430      430

Impacted Files
Coverage Δ
Complexity Δ

...gin/apache/dubbo/cache/ApplicationConfigCache.java
74.71% <ø> (+0.84%)
19.00 <0.00> (ø)

...he/dubbo/handler/ApacheDubboPluginDataHandler.java
83.33% <ø> (-1.29%)
4.00 <0.00> (ø)

...ubbo/subscriber/ApacheDubboMetaDataSubscriber.java
58.82% <ø> (-2.29%)
5.00 <0.00> (ø)

...in/apache/dubbo/proxy/ApacheDubboProxyService.java
51.72% <42.85%> (-7.26%)
4.00 <0.00> (-3.00)

...enyu/client/tars/TarsServiceBeanPostProcessor.java
34.66% <0.00%> (-56.00%)
8.00% <0.00%> (-6.00%)

...che/shenyu/sync/data/http/HttpSyncDataService.java
63.10% <0.00%> (-18.45%)
12.00% <0.00%> (ø%)

...in/alibaba/dubbo/cache/ApplicationConfigCache.java
75.86% <0.00%> (-4.60%)
20.00% <0.00%> (ø%)

...henyu/plugin/httpclient/NettyHttpClientPlugin.java
57.14% <0.00%> (-2.05%)
10.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


[Feature] Add optional score threshold option to coco_error_analysis.py

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
In some models, e.g., DETR, it does not support filtering score after prediction.
By adding score threshold option, we could filter the detection bboxes in flexible way.
It is also a common case to visualize the actual performance in dataset.
For example, positive bbox with low confident score will affect the AP and AR going higher.
Modification

Add optional score threshold to coco_error_analysis.py
Filter the detection bboxes with the score threshold when user set it.

BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMPreTrain.
The documentation has been modified accordingly, like docstring or example tutorials.

@guyleaf Please fix the lint

@guyleaf Please fix the lint

Done.


add app update strategy

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:loudspeaker: Thoughts on this report? Let us know!


Merge pull request #1 from UCSD/dev

sync with master on Dec 22

Hi @amikeliunas, thank you for the PR. We only update master from our production releases, so I went ahead and updated master from our latest 6.1.2 release. If there is anything else we can help with let us know.


Do not list bot users in the users' list or remove the delete option for the system's users

Affected module
UI/Backend
Describe the bug
We are listing bots in the users' list, which can be deleted.  We should:

List them but remove the possibility of removing them from UI.
Stop listing them.

Before deleting a bot user, we should check if it is associated with a bot.
To Reproduce
Search ingestion-bot in the list of users.
Expected behavior
It should:

Gray out the delete button
Stop listing them

In any case, do not allow delete a user if it is associated with a bot.
Version:

OpenMetadata version: 0.13.0

Additional context
Add any other context about the problem here.

Moving this to 1.0 since the change affects the elasticsearch user_index_mapping and we will require some more time.

@Ashish8689 is this coming in suggest ?

@Ashish8689, please pass the following flag
http://localhost:8585/api/v1/search/query?q=*+AND+isBot:false&from=0&size=10&index=user_search_index
cc @chirag-madlani

also lets make sure we add a test for this.

@harshach  yes, will be adding that.

@Ashish8689 opened a PR with a fix https://github.com/open-metadata/OpenMetadata/pull/10558


[Enhancement]: IMPROVE THE BACKGROUND OF SPELLING BEE GAME

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
The background of spelling bee game is very simple,.
Describe the solution you'd like
Solution steps
I will make the background of spelling bee game attractive.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @TusharChamlikar !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @TusharChamlikar ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Only display operators in legend we expect messages from

Currently we list all operators in charts legends regardless of whether we're operating in the area (in Somali projects). We should only have the ones we expect messages from. Should be set in firebase - active_projects?

This is easily configured in Firebase, but was added deliberately so we can track messages from operators who we didn't expect to hear from. We observed this happening to us on OCHA.


MultiSelect auto-scroll behavior on Safari

On Safari (currently on version 17.2.1), adding an item to a MultiSelect or sometimes just selecting a MultiSelect causes the page to jump to the top.
Setting the MultiSelect to searchable prevents the issue from occuring.
I first noticed this behavior in my own app, but the same behavior can be seen on the docs page for the MultiSelect component.
The issue does not occur on Chrome as best I can tell.
Dash Mantine Components v0.12.1
Dash v2.16.1

I just tried this on Safari with V0.14.4 and could not duplicate this issue.  Closing for now.


Extended the FAQ

The extends the FAQ to include more questions that we have seen come up.

build

build

Thanks for the reviews I think I have addressed all of the comments.

build


Any idea for how to run puppeteer with cookies on installed Chrome in my computer?

Some websites, they have google reptcha v2. So, I want to run puppeteer with cookies on Chrome in my computer, not with Chromnium. Any idea for this?

What about using executablePath property:
await puppeteer.launch({ headless: false, executablePath: '/usr/bin/google-chrome' })

Although executablePath is not enough, because puppeteer overrides user-data-dir argument here:
https://github.com/GoogleChrome/puppeteer/blob/4e48dfc7a195331ab1ff987d98290a6ab060a353/lib/Launcher.js#L105
Unfortunately solution like:
await puppeteer.launch({
  headless: false,
  executablePath: '/usr/bin/google-chrome',
  args: ['--user-data-dir=/home/lukasz/.config/google-chrome']
});

ended with UnhandledPromiseRejectionWarning: Error: Failed to launch chrome! for me - I'll try to investigate a bit more why.

Yes, I tried with executablePath and user-data-dir. It's ok. But need first login for save the cookies. Thank you!

Unfortunately solution like: ended with UnhandledPromiseRejectionWarning: Error: Failed to launch chrome! for me - I'll try to investigate a bit more why.

Weird, this should work just fine - as far as you use proper puppeteer version.
I'm glad it worked for @ace53thntu

Unfortunately solution like: ended with UnhandledPromiseRejectionWarning: Error: Failed to launch chrome! for me - I'll try to investigate a bit more why.

Weird, this should work just fine - as far as you use proper puppeteer version.
I'm glad it worked for @ace53thntu

Thanks @aslushnikov . It's worked

So, one more question. Do you know how to implement Puppeteer in Chrome Extension? I wrote code for create a Chrome Extension with React. I want to use Puppeteer in it. I search on google but now not yet found any solution. @aslushnikov

@aslushnikov there is definatelly an issue when you run executablePath + userDataDir + headless: false, at least on macos. There is report by @lusarz and opened question on SO.
I also failed to use Chrome's cookies. User data dir and executablePath are okay, it opens site in my google chrome (but I can't see it visually with headless disables because of above issue), it just ignores cookies when opens the site. Any help is appreciated, maybe there is hidden specifics or something that runs this site in my chrome with my profile, but it still in some sandbox or there is some restrictions on cookies reading or something.

See https://github.com/GoogleChrome/puppeteer/issues/921

@aslushnikov there is definitely an issue when you run executablePath + userDataDir + headless: false, at least on macos. There is report by @lusarz and opened question on SO.
I also failed to use Chrome's cookies. User data dir and executablePath are okay, it opens site in my google chrome (but I can't see it visually with headless disables because of above issue), it just ignores cookies when opens the site. Any help is appreciated, maybe there is hidden specifics or something that runs this site in my chrome with my profile, but it still in some sandbox or there is some restrictions on cookies reading or something.

@pleerock I was having this issue as well on MacOS. Here is my solution.
Install Chrome Canary. Copy your /Users//Library/Application Support/Google/Chrome/Default folder to /Users//Library/Application Support/Google/Chrome Canary/Default
Run the following code:
'const browser = await puppeteer.launch({
headless: false,
executablePath: '/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary',
userDataDir: '/Users/radium/Library/Application\ Support/Google/Chrome\ Canary/',
});'

@aslushnikov there is definitely an issue when you run executablePath + userDataDir + headless: false, at least on macos. There is report by @lusarz and opened question on SO.
I also failed to use Chrome's cookies. User data dir and executablePath are okay, it opens site in my google chrome (but I can't see it visually with headless disables because of above issue), it just ignores cookies when opens the site. Any help is appreciated, maybe there is hidden specifics or something that runs this site in my chrome with my profile, but it still in some sandbox or there is some restrictions on cookies reading or something.

@pleerock I was having this issue as well on MacOS. Here is my solution.
Install Chrome Canary. Copy your /Users//Library/Application Support/Google/Chrome/Default folder to /Users//Library/Application Support/Google/Chrome Canary/Default
Run the following code:
const browser = await puppeteer.launch({
 headless: false,
 executablePath: '/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary',
 userDataDir: '/Users/radium/Library/Application\ Support/Google/Chrome\ Canary/',
});'

I'm sorry for the poor formatting. I'm new to posting on github and i can't get indentation to work for some reason.

@RadiumZone Formatted :)

I'm adding this for reference as a few people have mentioned macOS in this thread: I've been able to use cookies for a couple of years without issue in puppeteer using the chrome-cookies-secure npm package.

const chrome = require('chrome-cookies-secure');
const puppeteer = require('puppeteer');
const url = 'https://www.yourUrl.com';
const getCookies = (callback) => {
chrome.getCookies(url, 'puppeteer', function(err, cookies) {
if (err) {
console.log(err, 'error');
return
}
console.log(cookies, 'cookies');
callback(cookies);
})
}
getCookies(async (cookies) => {
const browser = await puppeteer.launch({
headless: false
});
const page = await browser.newPage();
await page.setCookie(...cookies);
await page.goto(url);
await page.waitFor(1000);
browser.close()

});

I get this error with macOS:

[Error: SQLITE_CANTOPEN: unable to open database file
Emitted 'error' event on Database instance at:
] {
  errno: 14,
  code: 'SQLITE_CANTOPEN'
}```


JMESPath updates

Related issue

Proposed Changes

Updates to the JMESPath docs (mostly)
Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

Folks, this is a huge update to the JMESPath page which covers ALL custom filters individually. I know it's a lot to review, but let me know what you think and what could be better, fixed, etc.

Maintainers, please review and either provide feedback or approve and squash/merge as this should be cherry picked to 1.6. I would like to merge this prior to sending further doc updates.

Comments addressed. Will now merge.


Support ArrayBuffer as an xlsx.load argument

And it looks like we need to treat it as StringChunk
You can check the problem here https://codesandbox.io/s/file-upload-in-react-7ibtx

@alubbe not sure if this is related, but if you take this codesandbox sample, upgrade to latest exceljs and upload an xlsx file, the browser tab will lock up (100% CPU)


ngrok: add ForwardsProto to Bind

Resolves #139
Adds the ForwardsProto field to the Bind request.
Still missing the user-facing API to get it set.

Current dependencies on/for this PR:

main

PR #141   👈

This stack of pull requests is managed by Graphite.

Added the tentative user-facing config options, still need agreement on them though as well as documentation of valid values.

@jrobsonchase What does the error-logic look like if someone puts an invalid option? For example, if someone used --app-protocol moose, what would they see?

The configuration should fail validation and our services should return some sort of "invalid config" error. We could validate locally before sending it off, but I wouldn't. That way, we don't have to keep things synchronized between the sdk and our backend if new protocols are added. Kinda the same deal as with region validation (or lack thereof :stuck_out_tongue:)


Recording failed on iOS

Here are the logs:
AddInstanceForFactory: No factory registered for id <CFUUID 0x6000002f4060> F8BB1C28-BAE8-11D6-9C31-00039315CD46
AudioQueueObject.cpp:1580  BuildConverter: AudioConverterNew returned -50
from:  0 ch,  44100 Hz, .... (0x00000000) 0 bits/channel, 0 bytes/packet, 0 frames/packet, 0 bytes/frame
to:    1 ch,  44100 Hz, aac  (0x00000000) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame
AudioQueueObject.cpp:6708  ConvertInput: aq@0x1088e8200: AudioConverterFillComplexBuffer returned -50, packetCount 21
Uncaught Kotlin exception: dev.theolm.record.error.RecordFailException: Could not record audio
I will do some more debugging when I have more time.

I have the same error on the simulator.
It works on a physical device. Even though I found information saying otherwise, I suspect that the ios simulator does not support mic recording.
please try to build/run on a device.

Also crashes on real device:

I had a similar problem and added a retry method to startRecording to fix it

@theolm @leon-jakob-schneider The question I recently settled, you can take a look at this PR https://github.com/theolm/kmp-record/pull/3 Wait for Maintainer to merge the request

@mrljdx Thanks for fixing this issue. Feel free to open more PRs... Unfortunately, I don't have enough time to dedicate to this lib =/
It will be available in the next release (I'll publish it asap)


Add phone country codes

Data taken from https://datahub.io/core/country-codes#resource-country-codes
Will make this release 2.0 so that it doesn't break other packages using the config files in their existing format.

 (3) Additional Field Required for ALL UK Dealership Portal - Vehicle Order Number


MM-12053 Increase max height of post textbox

As per the ticket, the post textboxs will now take up about 50% of the post list in desktop view. The RHS one is slightly smaller than the centre channel one now since the RHS has slightly less vertical space due to the Add Comment button and the RHS header. The edit post modal didn't need any changes since its max height is already relative to the screen size.
Tested on Chrome/Firefox/IE11 on Windows 10 and Classic App on iOS
Ticket Link
https://mattermost.atlassian.net/browse/MM-12053
Checklist

Has UI changes

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-032410b231263f926.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-032410b231263f926

@esethna That's actually an existing issue oddly enough, but it's more pronounced since the old comment textbox barely ever changed height. Regardless, it was an easy fix

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0b2c29ce7fe3e9065.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0b2c29ce7fe3e9065

@esethna I'll file a separate bug for that since it's an existing issue


OLS-302: Unit tests: Redis retry settings on Redis client initialization

Description
Unit tests: Redis retry settings on Redis client initialization
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[x] Unit tests

Related Tickets & Documents

Related Issue #OLS-302

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Use make test-unit

When retry_on_error and retry_on_timeout set to True/"true", it should be True, but every other value ends up as False (according to how it is defined in config), right?
So why are there checks against None?

retry_on_error is not bool in the end. It's list of exception classes

/approve

/lgtm


Can't install with Laravel Scout 5.0

Composer says:

babenkoivan/scout-elasticsearch-driver v3.8.1 requires laravel/scout 4.* -> satisfiable by laravel/scout[4.0.x-dev].

Hi @hanspagel, have you required Scout 5 by Composer before?
Check your composer.json and if you have newer version, remove it to use the driver.


Hotfix/azure vm provision ae state machine

This PR is aim to fix azure machine can not be found in vmdb after deployment, which leads to exceed the 100 defaut retry time of executing the Automation Engine.
Let me explain you with some logs
evm.log example 1:
[----] I, [2017-07-07T07:13:31.343135 #1903:1311130]  INFO -- : Q-task_id([miq_provision_474]) MIQ(ManageIQ::Providers::Azure::CloudManager::Provision#poll_destination_in_vmdb) Unable to find Vm [Zttestazurevm2] with ems_ref [{:subscription_id=>"888888888-88888-8888-8888-888888888842", :vm_resource_group=>"Default-Storage-JapanEast", :type=>"microsoft.compute/virtualmachines", :vm_name=>"Zttestazurevm2"}], will retry

however object in db:
irb(main):007:0> ManageIQ::Providers::Azure::CloudManager::Vm.where('ems_ref like ?', '%Zttestazurevm2%').first.ems_ref
=> "888888888-88888-8888-8888-888888888842\\default-storage-japaneast\\microsoft.compute/virtualmachines\\Zttestazurevm2"

analyse: my vm_name has uppercase in it and when we try to find in db, it become lower case and we we could not find it
+++++++++++++++++++
evm.log example2:
[----] I, [2017-07-07T13:16:51.862325 #19446:72d134]  INFO -- : Q-task_id([miq_provision_479]) MIQ(ManageIQ::Providers::Azure::CloudManager::Provision#poll_destination_in_vmdb) Unable to find Vm [zttestazurevm6] with ems_ref [{:subscription_id=>"888888888-88888-8888-8888-888888888842", :vm_resource_group=>"Default-Storage-JapanEast", :type=>"microsoft.compute/virtualmachines"}], will retry

analyse: my vm_name is not given some time in the hash when we try to find the vm in db, but the destination name is present

some tests are faild, but i don't think is relate to my changes, could somebody help? @gmcculloug @bronaghs

Is there a way to do a case-insensitive find_by with ActiveRecord? The case really shouldn't matter for an ems_ref since we're basically just using an object id from Azure.

@djberg96 good point, i did some change for lower case search

👍

@zhitongLBN Just realized this PR was created on the euwe branch.  All changes should be submitted to the master branch first.  These PR needs to be closed and the commit moved to master.
Please open a new PR and link back here.

@gmcculloug  we are actually using euwe-1, will you bring this fix back to this euwe version???

Yes, we fix upstream first and label with euwe/yes to backport.

@gmcculloug as provider azure has been split from the main repo miq, this fix is split into 2 PR
https://github.com/ManageIQ/manageiq-providers-azure/pull/93
https://github.com/ManageIQ/manageiq/pull/15546


Create an Addon that uses custom webpack loaders.

Howdy, I'm pretty close to finishing a pretty neat feature that I'm using on my storybook. I'd like to wrap it up into an addon so I can reuse it on other projects. In a nutshell it:

Lets you load *.story.src.js files as 'stories'.
These files just export a component that should be the story example.
It then loads those same files using both prismjs-loader and raw-loader.
It uses those to create syntax-highlighted code blocks showing you how the story is coded as well as parsing the original story source code for the first docblock.
This docblock is expected to follow a convenient format that provides the info needed to call storiesOf() with the proper category and whatnot.
The rest of the dockblock is assume to be a markdown description of the story.

See it in action here: https://terraeclipse.github.io/react-stack/?selectedKind=Mapbox&selectedStory=Controls&full=0&down=1&left=1&panelRight=0&downPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel
And the relevant code can be found here: https://github.com/TerraEclipse/react-stack/blob/master/tools/.storybook/util/loadSourceStories.js
I'm not too familiar with the addon API, so I'm not sure exactly how I'd ship this. It requires the prismjs-loader to be available. In theory then my 'addon' could just export a function you call and pass your directory to with possibly a customizable regex.

Perhaps it doesn't really work as an addon at all, and just needs to be up and documented somewhere so I/people can copy-paste.

Wow that's really beautiful. I think there are two ways to go with this.

Make it an addon, where the source code displays in the addon pane. This would be pretty similar to https://github.com/Kilix/storybook-addon-jsx
Make it a decorator, that just adds to the preview pane.

The benefit to option 1 is that you can then resize the preview pane as you want and you can test responsive behavior on the component, etc.
The benefit to option 2 is that it looks really great and integrated.
Long-term option 1 will be better because we'll improve Storybook's UI to make addons more powerful. But short term I don't have a strong opinion.
For more on writing addons: https://storybooks.js.org/docs/react-storybook/addons/writing-addons/
Either way, great work!

PS @cpsubrian Added you to our examples gallery (WIP) https://github.com/storybooks/storybooks.github.io/pull/55

Oh awesome!
For the webpack loaders, would they be deps, devdeps, or peerDeps of an addon or decorator?
Due to how require contexts work, I think I'd have to have users pass in an actual require context, not a path, since webpack statically analyzes the 'require.context' call itself.

Looking forward to mobile UI, anything I could help with?

@cpsubrian Would you please join us on our slack to discuss this ?


Settings.json not highlighting hex colors.

I have customized workbench colors by changing settings.json.
In previous insider version 1.44.0, a small square box appeared as hex color preview.
Now those hex color not highlighting on Visual Studio Code Insider 1.45.0.
Here is settings image of v1.45.0

I saw this issue sometimes but now I can't reproduce it anymore on latest version. Can you help confirm that?


Should the account emails use the parent account id ?

Description
I just deployed the AWS Bootstrap Kit Examples' SDLC Org app, with a slightly different org structure :

Notice how the Prod and Staging accounts for Tenant-A have the following :

Prod : acct # starting in 3428590... but email with<EMAIL_ADDRESS>Staging : acct # starting in 67632595... but email with<EMAIL_ADDRESS>
This is, of course, from the perspective of a SaaS provider deploying multiple tenant environments.
So if we want to create Tenant-B with the same Prod and Staging structure we would be re-using the same email account to send AWS account creation notices, effectively making it impossible to distinguish which AWS account those are for.
The emails received (8 in total), all had one of the following 2 recipients :

<EMAIL_ADDRESS>or
<EMAIL_ADDRESS>
Note : account numbers masked and email domains changed on purpose.
Suggestion
Would it be possible to use email addresses with the actual ID of the account being created, rather than the stack account number ?
Current code below :
      else if(this.emailPrefix && this.domain)
      {
        accountEmail =<EMAIL_ADDRESS>      }

Good point . We will consider that shortly.


Split up backends (TF, SameDiff, DL4J, etc) + 'platform' artifacts into different profiles?

Motivation: Suppose I'm serving a TF model on Linux CPU. Why do I need other operating systems, DL4J, ONNX, etc dependencies?
On the one hand, splitting this would make it more complex for users and releases.
The main benefit is the reduced binary size. Once we add TF, SameDiff, DL4J (with cuDNN), and ONNX all into the one JAR, we could be looking at a couple of GB total size.
This is further compounded by the fact that we use platform binaries - i.e., all OSs for things like ND4J, MLKDNN and TensorFlow.

It's already like that:
https://github.com/bytedeco/javacpp-presets/wiki/Reducing-the-Number-of-Dependencies
What's missing?

@AlexDBlack  generally the javacpp binary size once we shrink it down to certain OSes isn't too bad. We would basically need to make it so you load an inference executioner as a loaded service or something like nd4j. If we want to do that, I'm not against it.

@Saudet we do have that which solves half the problem here, at least for our own builds
my concern is more from a usability perspective (needing your average Python user to know about javacpp platforms config isn't good)
maybe a simple script on top of the existing javacpp config would be fine for handling that concern though.
the "dl4j + onnx + tf + samediff all present in the jar but only using 1 of them" problem is my bigger concern though.
I haven't quite decided what we should do here, my main thing right now was simply to flag it for review/fixing in the future.

I would consider doing it in a similar fashion to how other platforms have, that is provide installers for single platforms, but also have repositories from which additional packages can be downloaded from when required.

One thing we could do is a "konduit configure" maybe? Auto detect the OS and go through a series of steps of what people want? Use that to build the jar?

Right, "wizard-style" CLI to select things could work. i.e., walk user through selecting which OSes, hardware, etc to support. Then yes, simply convert that into which maven profiles to use.


Issue with style50

I have been trying to use style50 for a while , but I am repeatedly getting the following error : Failed to connect extension server on port 1337. Could someone please help with this? Thank you.
Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Embedder: codespaces

style50 is not part of VS Code, please check with them for help.


set properties adds a ";" for the first key in case of multiple key/value pair

Hi,
I am using jfrog version 1.13.1 and encountering issue with set-props.
Command seems to add an ';' which I don't intend. Attached is the image.
Command used: jfrog rt sp --url "https//...." "my_repo/my_file.bin" "key2=value2|key3=value3"
replacing pipe by ';' doesn't set the properties.

As a work around a pipe at the beginning pushes the extra semicolon as a new property
command: jfrog rt sp --url "https//...." "my_repo/my_file.bin" "|key2=value2|key3=value3"

@ashok2285,
Do you experience the same issue with the latest release (1.14.0)?

yes,
jfrog.exe --version
jfrog version 1.14.0

@ashok2285 ,
Thank you for reporting this, we committed a fix for the problem which will be included in our upcoming release.

@ashok2285,
Did you get a chance to test this with the latest JFrog CLI release?


Translator

Description of the new feature / enhancement
For example: you know that you frequently need to quickly translate some word to English. When i do this a have to open browser and search for translator, write down word in my language and copy the word in another.
It would be great if you could implement this into this powerToys run. It would be huge time saver.
Scenario when this would be used?
For example: you know that you frequently need to quickly translate some word to English. When i do this a have to open browser and search for translator, write down word in my language and copy the word in another.
It would be great if you could implement this into this powerToys run. It would be huge time saver.
Supporting information
No response

/dup #3309


🍊 Jupyter Notebook

Thanks for the project ❤ I made a jupyter notebook 🥳 I hope you like it.
https://github.com/camenduru/Lumina-Next-jupyter

Wow! Really appreciate your effort! We will update this in our repo.


script to calculate date between to git commits

git rev-list -n 1 release-202201111351
git show --no-patch --no-notes --pretty='%cI' 24214c334e9416b52d0dc67c3140c25f10893a56 | cat
date +"%Y-%m-%dT%H:%M:%S%z"
https://stackoverflow.com/questions/4946785/how-to-find-the-difference-in-days-between-two-dates/6948865

  # verification step
  local latest
  latest=$(info releases | head -1)
  echo Please check errors at staging and verify the diff first.
    # actual hours
    local commit prev hours
    commit=$(git rev-list -n 1 "${latest}")
    prev=$(git show --no-patch --no-notes --pretty='%ct' "${commit}" | cat)
    hours="$(( $(($(date +%s) - "${prev}")) / (60*60) ))h"


fix/release

Please review before merging.

:tada: This PR is included in version 1.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


transfer DAO dCLM8 tokens to accounts with auto expiration and unlimited supply

Change the dCLM8 DAO tokens so that there is an unlimited supply of them (instead of the fixed supply in Compound)
Add transfer on the Governance tab for contract owner to transfer them to other accounts.  When they're transferred they're still automatically delegated to the recipient.
No one else can transfer their voting tokens to anyone else.  This will not be allowed in the contract so you can't do it even in metamask.
dCLM8 tokens should automatically expire so if they have not been voted and burned, they will burn at the time of expiration.

Hi @sichen1234 I am interested in taking up on this issue in any way possible, but will need some guidance in grasping what exactly needs to be done to prepare a PR for the issue. For now the problem statement seems rather conceptual. One natural question I have is that if this issue expects a purely programming answer to solve, or will some additional research be needed for the background as a motivation? For example, what software dependencies am I expected to use?
Finally, could you please assign me the issue if no one else is working on it?

This is just a programming change to the code of the dCLM8 contract for the
DAO.  Currently it has a limited supply.  We want it to have an unlimited
supply.  Also we want them to automatically expire if they are not used to
vote.
Si Chen
Open Source Strategies, Inc.
New Video: Creating Climate Solutions with Blockchain and Open Source
https://youtu.be/gtO3COq8crQ
On Mon, Nov 22, 2021 at 8:22 AM Kris Stern @.***> wrote:

Hi @sichen1234 https://github.com/sichen1234 I am interested in taking
up on this issue in any way possible, but will need some guidance in
grasping what exactly needs to be done to prepare a PR for the issue. For
now the problem statement seems rather conceptual. One natural question I
have is that if this issue expects a purely programming answer to solve, or
will some additional research be needed for the background as a motivation?
For example, what software dependencies am I expected to use?
Finally, could you please assign me the issue if no one else is working on
it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger-labs/blockchain-carbon-accounting/issues/116#issuecomment-975692920,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANAS4KFZ7YRBO3QF3EKWQTUNJU4HANCNFSM4Z3U66EA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


:sparkles: add ConvertStringToPascalcase/java

Why:

Closes #4093
What's being changed:

Please, make a reference to the issue you're trying to close.

I just ran your program, and it does not return a Pascal case converted string. hello world, for instance, returns Hello World, and not HelloWorld.

@joao-vitor-souza Hello, sorry now it's good, you can check the new commit


Created MVC Folder structure.

Related Issue
https://github.com/SrijanShovit/carbonops-v2/issues/22
I have created the MVC folder structure. I have also created protected routes for login and signup. Additionally, I have added JWT tokens which can be passed to the client using either cookies or headers.

Related Issue
#22
I have created the MVC folder structure. I have also created protected routes for login and signup. Additionally, I have added JWT tokens which can be passed to the client using either cookies or headers.

@Nishitbaria We are doing the login/signup via OAuth.Create MVC folder structure based on the ER Diagram

@shreya024 my external exam are going so it's task time so if you have urgent then you can assign someone other wise i will make it


[SUGGESTION] installation as a Homebrew package?

Thanks for making this tool! Great work!
Though I think it would be easier if this is also available to download via homebrew as well, easier to handle updates, etc too for the end-user.
What do you guys think?

Hi! and thanks for your kind words :heart:
Better packaging is definitely in our plans for the next few months. We are still not sure if homebrew would be the best option for this, given it's a Python package we may use Python packages instead, which might fit better and has a lot of the same advantages.

given it's a Python package we may use Python packages instead

Right! that does make sense too.

Hey, forgot to mention last week before I went for a short holiday, but we have already released on pip and updated the README with instructions.
For now, we'll keep it like this. We may consider releasing on brew later, but the next step on packaging should probably be to get our mac binaries signed/notarized. For now, I think pip is enough to keep updated without too much of a hassle :crossed_fingers:

I will close this issue, since it's good enough.
@javitonino Thanks for updating me on this!


Unbable to Login with azure/login@v1 or azure@login@v2

name: Check Az Login
uses: azure/login@v1
with:
creds: ${{secrets.AZURE_CREDENTIALS}}

name: Check Az Login
uses: azure/login@v2
with:
creds: ${{secrets.AZURE_CREDENTIALS}}

All CLI logins with a specific Azure Service Principle are failing using the above steps in Github workflow .yml files.

Errors being faced:
I am also facing this issue with azure/login@v1 where the error is outputting the below:
Error: Login failed with Error: The process '/home/$username/.local/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
If i change to azure/login@v2, then i get the below error:
Run azure/login@v2
/home/$username/actions-runner/externals/node20/bin/node: /lib64/libm.so.6: version GLIBC_2.27' not found (required by /home/$username/actions-runner/externals/node20/bin/node) /home/$username/actions-runner/externals/node20/bin/node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /home/$username/actions-runner/externals/node20/bin/node)
/home/$username/actions-runner/externals/node20/bin/node: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /home/$username/actions-runner/externals/node20/bin/node) /home/$username/actions-runner/externals/node20/bin/node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by /home/$username/actions-runner/externals/node20/bin/node)
/home/$username/actions-runner/externals/node20/bin/node: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /home/$username/actions-runner/externals/node20/bin/node) /home/$username/actions-runner/externals/node20/bin/node: /lib64/libc.so.6: version GLIBC_2.25' not found (required by /home/$username/actions-runner/externals/node20/bin/node)

Furthermore, running az login with Service Principle inside the Virtual Machine gives the below errors.
az login --service-principal -u "" -p "" --tenant "***
urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips  26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168
Traceback (most recent call last):
File "/home/$username/.local/lib/python3.8/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 664, in execute
raise ex
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 731, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 701, in _run_job
result = cmd_copy(params)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/commands/init.py", line 334, in call
return self.handler(*args, **kwargs)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/command_modules/profile/custom.py", line 139, in login
subscriptions = profile.login(
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/_profile.py", line 159, in login
identity.login_with_service_principal(username, password, scopes=scopes)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/auth/identity.py", line 189, in login_with_service_principal
cred = ServicePrincipalCredential(sp_auth, **self._msal_app_kwargs)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/auth/msal_authentication.py", line 132, in init
super().init(service_principal_auth.client_id, client_credential=client_credential, **kwargs)
File "/home/$username/.local/lib/python3.8/site-packages/msal/application.py", line 488, in init
import requests  # Lazy load
File "/home/$username/.local/lib/python3.8/site-packages/requests/init.py", line 43, in
import urllib3
File "/home/$username/.local/lib/python3.8/site-packages/urllib3/init.py", line 42, in
raise ImportError(
ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips  26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues
/2168
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/rh/rh-python38/root/usr/lib64/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/rh/rh-python38/root/usr/lib64/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/main.py", line 50, in
exit_code = cli_main(az_cli, sys.argv[1:])
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/main.py", line 36, in cli_main
return cli.invoke(args)
File "/home/$username/.local/lib/python3.8/site-packages/knack/cli.py", line 245, in invoke
exit_code = self.exception_handler(ex)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/init.py", line 127, in exception_handler
return handle_exception(ex)
File "/home/$username/.local/lib/python3.8/site-packages/azure/cli/core/util.py", line 59, in handle_exception
from msrestazure.azure_exceptions import CloudError
File "/home/$username/.local/lib/python3.8/site-packages/msrestazure/init.py", line 28, in
from .azure_configuration import AzureConfiguration
File "/home/$username/.local/lib/python3.8/site-packages/msrestazure/azure_configuration.py", line 34, in
from msrest import Configuration
File "/home/$username/.local/lib/python3.8/site-packages/msrest/init.py", line 28, in
from .configuration import Configuration
File "/home/$username/.local/lib/python3.8/site-packages/msrest/configuration.py", line 37, in
from .pipeline import Pipeline
File "/home/$username/.local/lib/python3.8/site-packages/msrest/pipeline/init.py", line 52, in
from requests.structures import CaseInsensitiveDict
File "/home/$username/.local/lib/python3.8/site-packages/requests/init.py", line 43, in
import urllib3
File "/home/$username/.local/lib/python3.8/site-packages/urllib3/init.py", line 42, in
raise ImportError(
ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips  26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues
/2168

I recommend upgrading the runner image to support Node20 and upgrading the azure-cli version to latest 2.60.0.

Running Azure CLI Login.
/usr/bin/az cloud set -n azurecloud
ERROR: The cloud 'azurecloud' is not registered.
Latest error, something is missing in the registration?

Issue resolved by upgrading azure-cli version to the latest.
Version that VM was running on was not working so installed "azure-cli-2.38.1-1.el7"
Thank you @MoChilia


Can you add an example usage on readme file.

Done. You can also checkout the website for more detailed examples


incl/utils/stitch_wrapper.so: undefined symbol

when I run the demo.py, I got the following errors. Looks like the ./submodules/utils is not built properly, missing some add'l lib in linkage, maybe. Would you please give me some directions? thanks.
2017-03-18 10:50:40,035 INFO Weights loaded successfully.
2017-03-18 10:50:40,035 INFO Starting inference using data/demo.png as input
Traceback (most recent call last):
File "demo.py", line 206, in
tf.app.run()
File "/home/jin/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "demo.py", line 172, in main
min_conf=0.50, tau=hypes['tau'], color_acc=(0, 255, 0))
File "incl/utils/train_utils.py", line 103, in add_rectangles
from stitch_wrapper import stitch_rects
ImportError: incl/utils/stitch_wrapper.so: undefined symbol: _ZTINSt8ios_base7failureB5cxx11E

Never ran across this error, sry.

@chrjxj did you Initialize all submodules: git submodule update --init --recursive
cd submodules/KittiBox/submodules/utils/ && make to build cython code

@bigsnarfdude  Yes, I did. It looks like a linkage error. Maybe some lib was setup incorrectly ...
My server goes down for a few days and don't have chance to fix this yet... but do need this working badly.

No clue what is going wrong. Try to rebuild. Close for now until there is an update about this issue.

I encountered the same problem. After re-clone and rebuild, it didn't work out. Have anyone solved it?

after execute this: conda install libgcc, then it worked.

thanks. I will give it a try

I was having a similar problem and think it was some sort of issue with things not being configured for python 3. I got it to work after running $ make all-python3 from  KittiBox/incl/utils


Thank you for your excellent work! What is the minimum GPU configuration required to train the PVG algorithm? Can it be trained with a single 4090 GPU?

I see that in your paper, you used A6000 to train for an hour. I don’t know how much your GPU memory consumption is? I don’t know if I can use a 4090 GPU for training, because the original 3DGS only requires a 4090 GPU for training.

Hi, for Kitti, it costs less than 10GB; for waymo, it costs around 20GB. If you have an OutOfMemory issue, you can try to decrease densify_until_num_points in config.

Yes, I have tested all sequences and scenarios. The 4090 can run this algorithm perfectly, and the memory consumption is consistent with what you said. Thank you very much!


[Event Request] codeunit 5764 Whse.-Post Shipment (Yes/No) - Function Code

Dear ALAppExtensions Team,
We would like to request the following event publisher in codeunit 5764 function Code, of course without the prefix DIN.
        if Find then
            if not HideDialog then begin
                // DINNL <<
                DINOnSetSelection(Selection, DINIsHandled);
                if not DINIsHandled then
                // DINNL >>
                Selection := StrMenu(ShipInvoiceQst, 1);

local procedure DINOnSetSelection(var Selection: Integer; var IsHandled: Boolean)

Hi @DirkGijsen .
The question and suggestion is like here: https://github.com/microsoft/ALAppExtensions/issues/11869. Let me know your opinion.

Hi Roman,
Thanks for your reply.
This suggested event is not sufficient for us.
We mis the parameter Selection, perhaps you could add this ?
@.***D72AD1.E57A54D0]
Regards
Dirk
Van: RomanZanizdra @.>
Verzonden: maandag 5 april 2021 16:13
Aan: microsoft/ALAppExtensions @.>
CC: Dirk Gijsen @.>; Mention @.>
Onderwerp: [EXTERNAL] Re: [microsoft/ALAppExtensions] [Event Request] codeunit 5764 Whse.-Post Shipment (Yes/No) - Function Code (#11868)
EXTERNAL

Hi @DirkGijsenhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDirkGijsen&data=04|01|dirk.gijsen%40aptean.com|540fe0f3ea154477f90d08d8f83ce17e|560ec2b0df0c4e8c9848a15718863bb6|0|0|637532287666868661|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=wDdhbzJlLbamZzjtcb%2BByAoDtcBUkW%2BUXCW6W0kvDjo%3D&reserved=0 .
The question and suggestion is like here: #11869https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FALAppExtensions%2Fissues%2F11869&data=04|01|dirk.gijsen%40aptean.com|540fe0f3ea154477f90d08d8f83ce17e|560ec2b0df0c4e8c9848a15718863bb6|0|0|637532287666868661|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=B3U8SmeRFrXoe9Q0tvA%2F9k5feXRfeMDYUhYmi3jfef0%3D&reserved=0. Let me know your opinion.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FALAppExtensions%2Fissues%2F11868%23issuecomment-813413629&data=04|01|dirk.gijsen%40aptean.com|540fe0f3ea154477f90d08d8f83ce17e|560ec2b0df0c4e8c9848a15718863bb6|0|0|637532287666878656|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=F4vl6ozx9Um8r57DxUwVei4ACXmmyiAr9yHZe1YK3gs%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKUUR3LSL3SQOPGAQBQQVBLTHHANPANCNFSM42G66GMQ&data=04|01|dirk.gijsen%40aptean.com|540fe0f3ea154477f90d08d8f83ce17e|560ec2b0df0c4e8c9848a15718863bb6|0|0|637532287666878656|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=N6Rj9eEhr3q8rGj%2Fff6QCJBnMyCrDomYxcDjrDkgLoU%3D&reserved=0.
This message contains information that is confidential and/or may be privileged. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution or copy of this message and/or its attachments is strictly prohibited. If you have received this message in error, please advise the sender immediately by replying to this email and delete this message. We are committed to your privacy. For more information, please see our Privacy Policy at https://www.aptean.com/privacy-statement

@DirkGijsen , deal. I'll add "Selection" parameter in event.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


integration_test_driver and integration_test_driver_extended

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

run integration test with integration_test_driver_extended
screenshot could generated as expect.

Expected results
integration test result integration_response_data.json should be able to generated.
Actual results
integration_response_data only printed in console, no json file is generated.
Code sample
Code sample
import 'dart:io';
import 'package:flutter_driver/flutter_driver.dart';
import 'package:integration_test/integration_test_driver_extended.dart';

DriverLogCallback logDriverMessages = (String source, String message) {
  final msg = '$source: $message';
  if (message.toLowerCase().contains('error')) {
    stderr.writeln(msg);
  } else {
    stdout.writeln(msg);
  }
};

Future<void> main() async {
  driverLog = logDriverMessages;
  try {
    await integrationDriver(
      onScreenshot: (String screenshotName, List<int> screenshotBytes, [Map<String, Object?>? args]) async {
        print('screenshot: $screenshotName');
        final File image =
            await File('$screenshotName').create(recursive: true);

        image.writeAsBytesSync(screenshotBytes);
        return true;
      },
    );
    // ignore: avoid_catches_without_on_clauses
  } catch (e) {
    print('Error occurred in Driver: $e');
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.10.3, on macOS 12.4 21F79 darwin-x64, locale en-CN)
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/2.17.6/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/clin/fvm/versions/stable. Consider adding /Users/clin/fvm/versions/stable/bin
      to the front of your path.
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 2 categories.

Hi @linchen2chris, which platform are you facing this issue on?
And I see your sample code still has a casting error. The onScreenshot callback is different now:
typedef ScreenshotCallback = Future<bool> Function(String name, List<int> image, [Map<String, Object?>? args]);

Please update to make it runnable. Thank you!

Thanks, I check this on Android but it doesn't seem to work:
Error occurred in Driver: DriverError: Could not determine URL to connect to application.
Either the VM_SERVICE_URL environment variable should be set, or an explicit URL should be provided to the FlutterDriver.connect() method.
No tests were found.

Can you also share the detailed steps to reproduce this? And which platform are you working on this?


Incorrect requestCode

By some reason onActivityResult gets incorrect requestCode (65869) instead of passed to startActivityForResult (333), resultCode is OK (-1).
The only difference with the example is that I called 'startActivityForResult' from the Fragment.
BTW, related 'onActivityResult' is called with correct "data" in returned 'intent'.
P.S. never mind, my bad, I should've call getActivity().startActivityForResult...

I guess you got it that you've to deal differently with activities and fragments.

Thanks for using and tinkering with this lib.

i am stuck with the same problem and tried with using getActivity.startActivityForResult
not able to see the comtent of root directory


[Doc] Chinese translation of config_generation.md

Does the file structure need to be aligned?
...configs/config_generation.md

I think so. Will fix it, thanks!