Mohammad

add get and resolve into incident service and fixes historicTask properties.

any timeline on merge for this?


Removed view_count column and its references

Fixes

Fixes #540 by @aldenstpage
Description

Removed view_count column of image table and its references in codebase.
Technical details

view_count column in image table was used to perform analytics on image views. We used arcane mechanism to capture and analyse image view count. This is now deprecated.
Now that we have a dedicated mechanism of analytics, we no longer require this column and feature. A related cron job was also deleted.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

It looks like there's a build error in the Travis logs stopping the tests from running:
ERROR:  column "view_count" of relation "image" does not exist

{"message": "Successfully scheduled task", "task_id": "71a84b86-dc39-46e8-b348-ac2b05d0ca0a", "status_check": "http://localhost:8001/task/71a84b86-dc39-46e8-b348-ac2b05d0ca0a"}{"message": "Successfully scheduled task", "task_id": "a4635522-2d51-41be-b45c-e861aaef948e", "status_check": "http://localhost:8001/task/a4635522-2d51-41be-b45c-e861aaef948e"}(integer) 1

$ bash -c 'while [[ "$(curl --insecure -s -o /dev/null -w ''%{http_code}'' http://localhost:8000/v1/images?q=test)" != "200" ]]; do sleep 5; done'

It looks like there's a build error in the Travis logs stopping the tests from running:
ERROR:  column "view_count" of relation "image" does not exist

{"message": "Successfully scheduled task", "task_id": "71a84b86-dc39-46e8-b348-ac2b05d0ca0a", "status_check": "http://localhost:8001/task/71a84b86-dc39-46e8-b348-ac2b05d0ca0a"}{"message": "Successfully scheduled task", "task_id": "a4635522-2d51-41be-b45c-e861aaef948e", "status_check": "http://localhost:8001/task/a4635522-2d51-41be-b45c-e861aaef948e"}(integer) 1

$ bash -c 'while [[ "$(curl --insecure -s -o /dev/null -w ''%{http_code}'' http://localhost:8000/v1/images?q=test)" != "200" ]]; do sleep 5; done'

I was able to replicate the error locally. Our load_sample_data.sh script is failing. We are unable to create analytics database. It is called from web service where postgresql-client package and hence createdb binary is not installed.
Did we make any change in these files? Should I dig deeper?

There was some inconsistency in commits. Deleted that branch and created a fresh one.


history improvements

not sure if these are the preferred fixes, happy to rework these based on your feedback.
for #41, #34 and #39

please don't merge. i think these changes are not complete - when history is full, cpu consumption increases significantly, and messages are frequently lost even on localhost.

Hi @liamtask. Since there wasn't activity in this PR from a long time we are going to close it.
If you want to recover this contribution, please feel free to update the PR.
Anyway, thank you for your efforts on this.

no problem - the original issues appear to have been resolved (I have not verified) so these commits should no longer be needed.


eval_genforecast: No output after "Sending batch ... "

Hi!
Really sorry to go over the top with bugs now.
I tried the other scripts they ran fine. For the ldcast model (with 1 gpu), I find that the output is stuck after "Sending batch ...". I have tried looking into nvidia-smi and htop but it seems there is no activity. Is there an issue with the processes not able to join?
https://github.com/MeteoSwiss/ldcast/blob/b2829aeec135d9bd8ac8dd59f4830ed009b90eb5/scripts/eval_genforecast.py#LL90C5-L90C31

Sorry for not being able to look into this yesterday, I had other commitments for the whole day.
python eval_genforecast.py works for me.
I assume from your description that you don't see messages saying "LDM ready at 0" etc? This will happen if there is an exception before the model is loaded. And unfortunately there is no clear traceback when the exception happens in one of the spawned processes (so I should add better error printouts going forward). But I think the most likely problem is that the model file is not found. The model file path is indicated by the argument weights_fn in the function create_evaluation_ensemble in eval_genforecast.py. Could you check that this file exists in the right location?

So you put a debug print at the beginning of ldm_process and it doesn't produce anything? Could you also put a print command just before the mp.spawn command that starts the ldm_process, to make sure that the execution gets there?
Sorry that this is getting difficult, since I'm not able to replicate the problem on my system...


Updates instructions on file location

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sorry for the long delay. Merging.


You have provided a history object created with history v4.x or v2.x and earlier.

Bug Report
I'm not able to access the documentation generated by docz. It compiles without any errors but when opening the browser to check out the pages I get this:

You have provided a history object created with history v4.x or v2.x and earlier. This version of React Router is only compatible with v3 history objects. Please change to history v3.x.

To Reproduce

Run docz on development mode
Open localhost:3000 in browser

You have provided a history object created with history v4.x or v2.x and earlier. This version of React Router is only compatible with v3 history objects. Please change to history v3.x.
Stack trace

in Router (created by BrowserRouter)
in BrowserRouter (created by DoczTheme)
in DataServer (created by DoczTheme)
in CopyOnWriteStoreProvider (created by DoczTheme)
in ErrorBoundary (created by DoczTheme)
in DoczTheme (at root.jsx:7)
in Root (created by HotExportedRoot)
in AppContainer (created by HotExportedRoot)
in HotExportedRoot (at index.jsx:17)

package.json
"devDependencies": {
    "docz": "^0.10.3",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-plugin-import": "^2.12.0",
    "eslint-plugin-jsx-a11y": "^5.0.1",
    "eslint-plugin-react": "^7.8.2",
    "gulp": "^3.9.1",
    "gulp-inject": "^4.3.2",
    "husky": "^0.14.3",
    "lint-staged": "^7.2.0",
    "react-scripts": "1.1.4",
    "webpack": "^4.17.1"
  },
  "dependencies": {
    "axios": "^0.17.1",
    "bootstrap": "^4.1.1",
    "classnames": "^2.2.5",
    "css-element-queries": "^1.0.2",
    "graphql": "^0.13.2",
    "graphql-tag": "^2.9.2",
    "gsap": "^1.20.3",
    "history": "^4.7.2",
    "localforage": "^1.5.6",
    "lodash": "^4.17.10",
    "moment": "^2.22.1",
    "moment-duration-format": "^2.2.2",
    "node-sass-chokidar": "^1.3.0",
    "npm-run-all": "^4.1.3",
    "paper": "^0.11.5",
    "prop-types": "^15.6.1",
    "query-string": "^5.0.1",
    "rc-slider": "^8.6.1",
    "rc-steps": "^3.1.1",
    "react": "^16.4.0",
    "react-apollo": "^2.1.8",
    "react-app-rewire-hot-loader": "^1.0.1",
    "react-app-rewired": "^1.5.2",
    "react-copy-to-clipboard": "^5.0.1",
    "react-datepicker": "^1.4.1",
    "react-dom": "^16.4.0",
    "react-feather": "^1.1.0",
    "react-helmet": "^5.2.0",
    "react-hot-loader": "^4.3.0",
    "react-infinite-scroller": "^1.1.3",
    "react-player": "^1.3.1",
    "react-redux": "^5.0.6",
    "react-router": "^3.2.0",
    "react-router-redux": "^4.0.8",
    "react-select-plus": "^1.2.0",
    "react-tabs": "^2.2.2",
    "react-toggle": "^4.0.2",
    "react-toggle-switch": "^3.0.4",
    "reactstrap": "^6.3.1",
    "redux": "^3.7.2",
    "redux-action-buffer": "^1.2.0",
    "redux-logger": "^3.0.6",
    "redux-persist": "^5.5.0",
    "redux-promise": "^0.6.0",
    "redux-thunk": "^2.2.0",
    "shortid": "^2.2.8",
    "styled-bootstrap-grid": "^1.0.4",
    "styled-components": "^3.3.3",
    "styled-system": "^3.0.2",
    "styled-theming": "^2.2.0",
    "underscore": "^1.9.1",
    "whatwg-fetch": "^2.0.3"
  },
  "scripts": {
    "gulp": "gulp",
    "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
    "start-js": "react-app-rewired start",
    "start": "npm-run-all -p watch-css start-js",
    "build-js": "react-app-rewired build",
    "build": "npm-run-all build-css build-js gulp",
    "test": "react-app-rewired test --env=jsdom",
    "eject": "react-app-rewired eject",
    "precommit": "lint-staged",
    "lint:check": "eslint src",
    "lint:fix": "eslint --fix src",
    "docz:dev": "docz dev"
  },
  "lint-staged": {
    "*.js": [
      "eslint"
    ]
  }

Expected behavior
Not crash
Environment

OS: elementaryOS 0.4.1
Node/npm version: Node v10.0.0 / npm v6.1.0

The problem is that you are using incompatible versions between "react-router" and "history".
Attempt to update "react-router" to 4.3 and see if this helps you.

@sallas I updated react-router to 4.3.1 and it works now, thank you!

@pedronauck  I have been using react-router v3 in my application and I do not wish to upgrade to v4. Any solution to this problem without upgrading to v4.
Here is my package.json file
{
  "name": "client",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@babel/core": "^7.0.0",
    "@babel/plugin-proposal-class-properties": "^7.0.0",
    "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
    "@babel/plugin-syntax-dynamic-import": "^7.0.0",
    "@babel/plugin-transform-runtime": "^7.0.0",
    "@babel/preset-env": "^7.0.0",
    "@babel/preset-react": "^7.0.0",
    "@babel/runtime": "^7.0.0",
    "autoprefixer": "7.1.6",
    "axios": "^0.18.0",
    "babel-core": "^7.0.0-bridge.0",
    "babel-eslint": "7.2.3",
    "babel-jest": "20.0.3",
    "babel-loader": "^8.0.0",
    "babel-preset-react-app": "^3.1.1",
    "case-sensitive-paths-webpack-plugin": "2.1.1",
    "chalk": "1.1.3",
    "classnames": "^2.2.6",
    "css-loader": "0.28.7",
    "dotenv": "4.0.0",
    "dotenv-expand": "4.2.0",
    "eslint": "4.10.0",
    "eslint-loader": "1.9.0",
    "eslint-plugin-flowtype": "2.39.1",
    "eslint-plugin-import": "2.8.0",
    "eslint-plugin-jsx-a11y": "5.1.1",
    "eslint-plugin-react": "7.4.0",
    "extract-text-webpack-plugin": "3.0.2",
    "file-loader": "1.1.5",
    "fs-extra": "3.0.1",
    "html-webpack-plugin": "2.29.0",
    "i18next": "^11.6.0",
    "i18next-browser-languagedetector": "^2.2.3",
    "i18next-xhr-backend": "^1.5.1",
    "jest": "20.0.4",
    "lodash": "^4.17.10",
    "moment": "^2.22.2",
    "object-assign": "4.1.1",
    "postcss-flexbugs-fixes": "3.2.0",
    "postcss-loader": "2.0.8",
    "promise": "8.0.1",
    "raf": "3.4.0",
    "react": "^16.4.2",
    "react-dev-utils": "^5.0.1",
    "react-dom": "^16.4.2",
    "react-i18next": "^7.10.1",
    "react-redux": "^5.0.7",
    "react-router": "3.2.0",
    "redux": "^4.0.0",
    "redux-thunk": "^2.3.0",
    "resolve": "1.6.0",
    "style-loader": "0.19.0",
    "sw-precache-webpack-plugin": "0.11.4",
    "url-loader": "0.6.2",
    "webpack": "3.8.1",
    "webpack-dev-server": "2.9.4",
    "webpack-manifest-plugin": "1.3.2",
    "whatwg-fetch": "2.0.3",
    "yup": "^0.26.2"
  },
  "scripts": {
    "start": "node scripts/start.js",
    "build": "CI=false node scripts/build.js",
    "test": "CI=false node scripts/test.js --env=jsdom",
    "test:watch": "node scripts/test.js --env=jsdom --watch",
    "test:coverage": "node scripts/test.js --env=jsdom --coverage",
    "docz:dev": "docz dev",
    "docz:build": "docz build",
    "eslint:fix": "eslint --ignore-path .gitignore --fix"
  },
  "lint-staged": {
    "src/**/*.{js,jsx}": [
      "npm run eslint:fix",
      "git add"
    ],
    "src/**/*.{js,jsx,json,css}": [
      "prettier --config .prettierrc --write",
      "git add"
    ]
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx,mjs}",
      "!src/i18n/*.{js,jsx}",
      "!src/index.js"
    ],
    "setupFiles": [
      "<rootDir>/config/polyfills.js",
      "<rootDir>/config/jest/jestSetup.js",
      "<rootDir>/src/__mocks__/browserMocks.js"
    ],
    "testMatch": [
      "<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
      "<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
    ],
    "testEnvironment": "node",
    "testURL": "http://localhost",
    "transform": {
      "^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
      "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
      "^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
    },
    "transformIgnorePatterns": [
      "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
    ],
    "moduleNameMapper": {
      "^react-native$": "react-native-web",
      "@helpers(.*)$": "<rootDir>/src/helpers/$1",
      "@constants(.*)$": "<rootDir>/src/constants/$1",
      "@components(.*)$": "<rootDir>/src/components/$1",
      "@pages(.*)$": "<rootDir>/src/pages/$1",
      "@apis(.*)$": "<rootDir>/src/apis/$1",
      "@actions(.*)$": "<rootDir>/src/actions/$1",
      "@src(.*)$": "<rootDir>/src/$1"
    },
    "moduleFileExtensions": [
      "web.js",
      "js",
      "json",
      "web.jsx",
      "jsx",
      "node",
      "mjs"
    ]
  },
  "devDependencies": {
    "docz": "^0.10.3",
    "enzyme": "^3.4.1",
    "enzyme-adapter-react-16": "^1.2.0",
    "formik": "^1.0.2",
    "redux-mock-store": "^1.5.3"
  }
}

I'll put react-router inside the bundle to avoid this type of incompatibility @vivek12345 👍


implement audit trail for codeigniter project

I am trying to track all user activities in my project and save into database. I found your link for audit trail in codeigniter. I followed all the instruction as per link . I added trail.php file inside application/config folder and two files inside application/core folder and enabled $config['audit_enable'] = TRUE in trail.php file; Also I created a table as per the query given in the link. But data is not saved in the newly created table. Now what i am missing?

Please do all steps again. Ensure that error reporting is on your application and share if any error message is shown.

Please do all steps again. Ensure that error reporting is on your
application and share if any error message is shown.
On Wed, Sep 11, 2019 at 1:34 AM maniratna2019<EMAIL_ADDRESS>wrote:

I am trying to track all user activities in my project and save into
database. I found your link for audit trail in codeigniter. I followed all
the instruction as per link . I added trail.php file inside
application/config folder and two files inside application/core folder and
enabled $config['audit_enable'] = TRUE in trail.php file; Also I created a
table as per the query given in the link. But data is not save in the newly
created table. Now what i am missing?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/firoz-ahmad-likhon/codeigniter-audit-trail/issues/2?email_source=notifications&email_token=AD5YXWD5Q5QHMTMNEVBWMFDQI7ZETA5CNFSM4IVLWRP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKRE6MQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD5YXWBB2NYZK3CMRXCPAWLQI7ZETANCNFSM4IVLWRPQ
.

Is your problem solved yet?

for me also records are not getting inserted into #DB @firoz-ahmad-likhon

fixed the above issue
'user_id' => $this->CI->session->id,
modifying above value in file, Core->MY_DB_mysqli_driver.php   around line 185

Field value is not saved. How to resolve it ?

HI,
I'm using IonAuth, still got the error of user_id is null.
have change the value to
'user_id' => $this->CI->session->userdata('id'),


CI pipeline should fail on PR if lint fails

@hkirat let me know .. if other changes are required for this issue


Landing page

Fixes #6
Added OSDG logo as section bg and changed intro content. Added a button to the About page.

Looks very weird with the off-center positioning and the sudden blur. Not readable properly either. Maybe try something else like making the blur gradual as you move away from the center. Also position the text vertically in the center of the logo

Requesting a review. The blur is now only to make the text more readable (but looks better this way on this crisp background in my opinion). Blurring the whole section does not seem doable and only a part may not give a better feel.

Looks good now. Maybe add some more content?

What is it lacking for not getting accepted?


CI Update

/cc @dend

Adding @cartermp for F#. I'm going to add some comments about some of the things that I'm seeing different from MSDN, but I'm not sure which one is correct.

15k files 😱
What are the relevant changes here?

Not expecting you to review the 15k files @cartermp. This is adding F# and VB signatures to all the APIs. I've comment on the first two I was double checking with MSDN as an example.

Closing for now.


ci: add failure cases for airgapped superuser creation cypress check

Description
Fix Airgapped cypress tests failing due to superuser expecting anonymousdata and newsletter to be true.
Type of change

Chore (housekeeping or task changes that don't impact user perception)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] Jest
[x] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test sha=3879714

/ok-to-test sha=642f003


Integrate CLI with MLD

@kyeyoon-eeum Let me know if the scheme in configs/1vcs_4sld_2mlds.yaml looks good.

@kyeyoon-eeum Let me know if the scheme in https://github.com/opencxl/opencxl-core/pull/131/commits/1c171b818f59e5380a99525c2d7d59e7c3d275a6#diff-0d1100d3d10f085f2b4b6d437897a758cbb739673bd9db00f35e09f4101b6504 looks good.


Commit 101

Add smesyatz's file

created a branch, created a file and made a commit, and opened a pull request


Re-render with 1.7.0 and add Python 3.6

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Thanks @jakirkham !


When should XRSession.inputSources be set up?

Background
If XRSession.inputSources is accessed it calls device.getInputSources() where device is WebVRDevice.
  get inputSources() {
    return this[PRIVATE].device.getInputSources();
  }

https://github.com/immersive-web/webxr-polyfill/blob/master/src/api/XRSession.js#L314
WebVRDevice.getInputSources() returns an array composed from its .gamepadInputSources
  getInputSources() {
    let inputSources = [];
    for (let i in this.gamepadInputSources) {
      inputSources.push(this.gamepadInputSources[i].inputSource);
    }
    return inputSources;
  }

https://github.com/immersive-web/webxr-polyfill/blob/master/src/devices/WebVRDevice.js#L567
.gamepadInputSources is empty first, and they're set up in onFrameStart().
  onFrameStart(sessionId) {

          ...

          this.gamepadInputSources[i] = inputSourceImpl;

          ...

  }

https://github.com/immersive-web/webxr-polyfill/blob/master/src/devices/WebVRDevice.js#L295
I faced a problem in Three.js with this behavior. Three.js keeps session.inputSources and uses later here.
			inputSources = session.inputSources;

https://github.com/mrdoob/three.js/blob/r108/src/renderers/webvr/WebXRManager.js#L144
But the above line is called before the first immersive animation frame is invoked. So inputSources is an empty array even if some controllers exist.
Question
Is this behavior intentional? If so, should the problem be fixed in Three.js side?
The spec mentions

Each XRSession has a list of active XR input sources (a list of XRInputSource) which MUST be initially an empty list.

The inputSources attribute returns the XRSession's list of active XR input sources.

When new XR input sources become available for XRSession session, the user agent MUST run the following steps:
...
Extend session’s list of active XR input sources with added.
...

https://immersive-web.github.io/webxr/#xrsession-interface
I'm not really sure exactly when they should be set up. (Sorry if I'm missing) In immersive animation frame? Or synchronously when XRSession is instanciated if controllers are already available?

IIUC, the issue is input sources are not available until at least one animation frame elapses.
Not sure if this was intentional or not (ping @toji), but IIUC the spec correctly, it makes sense that the inputSources are not populated before those steps can be run (e.g. fire an event with a new array). It appears waiting a frame would work just as well, spec-wise.
That being said, I'd expect for three.js to respond to that event, and not rely on it being available at session creation (if in fact the polyfill is firing that event for the input sources after the first animation frame).

IIUC, the issue is input sources are not available until at least one animation frame elapses.

Yes, correct. Code snippet
navigator.xr.requestSession('immersive-vr', sessionInit).then(session => {
  session.updateRenderState({baseLayer: new XRWebGLLayer(session, gl)});
  session.requestReferenceSpace(referenceSpaceType).then(onRequestReferenceSpace);
  // session.inputSources is an empty array here with the polyfill
  // even if some controllers(gamepads) are available.
  inputSources = session.inputSources;

  ....

});

And thanks for the comment. Just in case, I want to also hear the comment fom @toji and if it's a correct behavior I'll try to fix the problem in Three.js side.

https://immersive-web.github.io/webxr/#xrsession-interface

When new XR input sources become available for XRSession session, the user agent MUST run the following steps:

Let added be a new list.
For each new XR input source:

Let inputSource be a new XRInputSource.
Add inputSource to added.

Queue a task to perform the following steps:

Extend session’s list of active XR input sources with added.
Fire an XRInputSourcesChangeEvent named inputsourceschange on session with added set to added.

If I understand correctly, inputsourceschange event should be fired when inputSources are populated at the first animation frame, correct?
If the polyfill will do so, Three.js doesn't need to be fixed because it watches inputsourceschange event and update its inputSources when it's fired.
https://github.com/mrdoob/three.js/blob/r108/src/renderers/webvr/WebXRManager.js#L146-L158

inputsourceschange event is implemented in the polyfill and the problem I faced should be solved. Closing this issue.


recordrtc.js + hark.js = corrupted stream audio records (robotic voice + echo + noise) in safari

Using
var options = {};
  var speechEvents = hark(localStream, options);
  speechEvents.on('speaking', function() {
      stream_part();
    });
    speechEvents.on('stopped_speaking', function() {
      stream_recorder.stopRecording(function() {
        io_chunk(stream_recorder.getBlob());
    });
    });
/* */
function stream_part() {
  stream_recorder = new RecordRTC(localStream, {
      type: 'audio', mimeType: 'audio/wav',
      recorderType: StereoAudioRecorder, numberOfAudioChannels: 1,
      desiredSampRate: 16000
  });
  stream_recorder.startRecording();
  }
  function io_chunk(part) {
    socket.emit('stream', part);
  }

Records corrupts and became strange, robotic + noise + drops + echo, how to prevent this? Thx!

What was your solution to this? Seeing a similar issue as well.

@daglamier22  i had the same problem and i have found a solution. I clone the stream (in this case: localStream and then it works:
var speechEvents = hark(localStream.clone(), options);


left_sidebar: Add same styles to schedule messages row as all other rows in left sidebar.

This fixes the bug where the schedule message whole row was not clickable and had some padding issues. By adding the same styles as all other rows in the left sidebar we eliminate those bugs.

Screenshots and screen captures:

Before
After

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Nice! Works for me in manual testing.

Merged, thanks @Lalit3716!


Some cupyx.scipy.signal APIs fall back to NumPy

Some scipy.signal APIs depend on numpy.eigvals, which computes the eigenvalues of a general matrix. However, cuSolver only provides the eigenvalue solver of a symmetric (Hermitian) matrix but does not the one of a general matrix. Therefore, the cupyx.scipy.signal counterparts of such APIs are currently implemented by falling back to numpy.eigvals or numpy.roots, which calls numpy.eigvals.
Such APIs include:

cupyx.scipy.signal.findfreqs #7641
cupyx.scipy.signal.tf2zpk #7652
cupyx.scipy.signal.ss2tf #7652

See:

https://github.com/cupy/cupy/blob/ae82162be14de46e69b3cd2ab3327fbc94d3eb65/cupyx/scipy/signal/_polyutils.py#L8
https://github.com/cupy/cupy/blob/ae82162be14de46e69b3cd2ab3327fbc94d3eb65/cupyx/scipy/signal/_polyutils.py#L17

Lets add a warning in documentation of these routines regarding device synchronization

However, cuSolver only provides the eigenvalue solver of a symmetric (Hermitian) matrix but does not the one of a general matrix.

Hi @takagi @ev-br @andfoy I could really pick your brains here regarding the general-matrix eigensolver. Why isn't it possible to rewrite the algorithms such that you generate a Hermitian matrix? What's special here? (Context: On the cuSOLVER side, I learned that there's great hesitation in adding the general solver because there's no serious use case. A lot of eigvals calls were done, in our opinion, only because people either didn't know eigvalsh exists or didn't know their matrix is Hermitian/symmetric. Also, svd might help for a lot of use cases (https://github.com/cupy/cupy/issues/6359#issuecomment-1088371230). We would love to know what's missing in this understanding.)

Thanks @leofang for letting my head up. As for numpy.roots, the roots of a polynomial is found as the eigenvalues of its companion matrix, and the matrix is not symmetric/Hermitian.
https://en.m.wikipedia.org/wiki/Companion_matrix
I suppose we need eigenvalues themselves, not just decomposition, so svd may not work.
However, yes, we might use another algorithm for root finding on GPU that does not use eigenvalues.
https://hal.science/hal-02129742/file/880a5bc7-2a3d-4a66-a539-9755508a949b-author.pdf
I’ll look into other lines that use eigvals...

Thanks @leofang for letting my head up. As for numpy.roots, the roots of a polynomial is found as the eigenvalues of its companion matrix, and the matrix is not symmetric/Hermitian.
https://en.m.wikipedia.org/wiki/Companion_matrix
I suppose we need eigenvalues themselves, not just decomposition, so svd may not work.
However, yes, we might use another algorithm for root finding on GPU that does not use eigenvalues.
https://hal.science/hal-02129742/file/880a5bc7-2a3d-4a66-a539-9755508a949b-author.pdf
I’ll look into other lines that use eigvals...


add opamp symbol

/claim #230

@techmannih add the + - to the symbol as Seve's symbol in the issue

the capacitor_polarized has + sign

Yea we really only want up/down/left/right, no need to do horizontal and vertical

we should make both symbols, one can be called opamp_with_power and the other can be called opamp_no_power

nice catch @Anshgrover23


[Fix] safe guards to discard graph topology older (out of order) events

Fixes #34
Thanks for catching and initially working on this @italovalcy.

I've also dispatched an e2e test execution with this branch (and a topology branch):
ENV_VARS --build-arg branch_topology=fix/link_up_notify --build-arg branch_pathfinder=fix/topo_updated_order
I'll post the result here later on.

I've also dispatched an e2e test execution with this branch (and a topology branch):
ENV_VARS --build-arg branch_topology=fix/link_up_notify --build-arg branch_pathfinder=fix/topo_updated_order
I'll post the result here later on.

CI executions passed, there was a rerun but it's not related to the original issue.

Thanks, Italo


Trained weights

Hi,
I am trying to use these models for valence estimation.
However, I am unable to find the trained weights.
Many scripts are loading the file best_model_affectnet_improved7VA, which is not part of the repository.
Where can I find that file?
Thank.

Hi Juan,
thanks for the interest in our project. We will update our files this afternoon.
Best regards,
Niklas

Hi @JSOlier,
i committed all the scripts we used for our final paper. You can find them in the models directory. In every subdirectory there is a train.py and a generate_csv.py file. The first one generates the model.pt (it's too large to commit to github) and the second uses this model.pt and creates the inference.csv.
The evaluation.py then uses (or creates) the inference.csv and prints the results.
As described in the paper, the VA models where trained on top of the combined models.
I hope this helps you.
Please feel free to contact us again if you have further questions.
Best regards,
Felix

Hi @FelixMaetzler,
Thanks for your contribution. Could you share the checkpoint files on other platforms like Google Drive?
Or, if I want to train the model on AffectNet, I wonder which model achieved the best accuracy? According to the paper, MaxViT valence−arousal won the best performance in relation to valence and arousal prediction, which is this model in the respository. Am I right?

Hi @ZayneHuang,
your right, AffectNet8_Maxvit_VA is our overall best model regarding valence and arousal estimation. Please keep in mind that we initialized the model weights of AffectNet8_Maxvit_Combined in this Script. Therefore, you have to train this model too.
Best regards,
Niklas

Hi @ZayneHuang,
your right, AffectNet8_Maxvit_VA is our overall best model regarding valence and arousal estimation. Please keep in mind that we initialized the model weights of AffectNet8_Maxvit_Combined in this Script. Therefore, you have to train this model too.
Best regards, Niklas

Thanks for your reply and advice : )

Thanks for your contribution. Could you please share the checkpoint files maybe on a Google Drive Link? It would greatly help in understanding the model prediction from live videos.


Boss Idea, Bellower

Quick lore: Boss with large mouth with shockwave based attacks, also has drill teeth
Arena is cone shaped with boss at the tip and rocks/ trees/ terrain around the base
Tier 1: Has 1 attack that he performs often/ constantly, rears back then releases a slowly traveling AOE ground wave (deafening blast but slower), ground wave deals damage and knocks back. The way the AOE wave works in conjuction with the arena it is signifigantly harder to dodge the wave the closer you are to the boss and easier to dodge the further you are away from him, i liked the concept but if this is too much of a nerf to melee heros then maybe give him an armor passive that is disabled if a unit is within so much range of him making melee units more viable.
Tier 2: The Boss starts inhaling causing heros to start sliding towards him as well as projectiles (rocks and debris) from the edge of the arena. Most heros should be able to walk away but if you get hit by a rock

I messed up im restarting


Unsupported Android Studio version: Canary versions of Android Studio are not supported by the Flutter plugin.Hi @akshbswas98

I see from the last guy opening issue TahaTesser just going to close and no attempt to
resolve
☠] Android Studio (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      AndroidStudioValidator.validate (package:flutter_tools/src/android/android_studio_validator.dart:65:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

✓] Flutter (Channel stable, 2.10.1, on Debian GNU/Linux 10 (buster) 5.4.163-17383-gbc0d0d65633b, locale en_US.UTF-8)
    • Flutter version 2.10.1 at /flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db747aa133 (7 days ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2

Hi @akshbswas98
Following the indication of jetbrains' Flutter plugin, the correct way to address the problem is to open an issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you
Originally posted by @TahaTesser in https://github.com/flutter/flutter/issues/64861#issuecomment-683780272

☠] Android Studio (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
https://github.com/flutter/flutter/issues.
✗ FormatException: Unexpected extension byte (at offset 5)

@ben700 If you reporting this error, then please note that This was a known issue that has since been fixed. The initial report was in #94060.
The fix is available on the latest master and beta channels and soon will be available on stable. Check this issue comment for your reference: #94060 (comment)
Closing this, since it is already fixed and a duplicate of original linked issue.

#94060
I fixed by removing the beta and just installing the stable version.

I just find people raising, you closing and them leaving 1 star reviews. Just because you correct doesn't mean the customer goes away happy!


Publisher starts to receive constants back pressure

I start to use Aeron but faced the issue that over the time (exactly 3-4 hours after start) broadcast publishers receive constant backpressure.
My setup is the following:

Both publishers and subscribers are launched on the very same machine:
This is setup for the broadcast publishers:

    Publication: aeron:udp?control=<IP_ADDRESS>:55627|control-mode=dynamic|ssc=true -1991024233 6:0
    Publication: aeron:udp?control=<IP_ADDRESS>:35725|control-mode=dynamic|ssc=true -1991024232 7:0
    Publication: aeron:udp?control=<IP_ADDRESS>:40939|control-mode=dynamic|ssc=true -1991024231 8:0
    Publication: aeron:udp?control=<IP_ADDRESS>:57421|control-mode=dynamic|ssc=true -1991024230 9:0
    Publication: aeron:udp?control=<IP_ADDRESS>:60107|control-mode=dynamic|ssc=true -1991024229 10:0

This is setup for subscribers:

Subscription: aeron-spy:aeron:udp?control=<IP_ADDRESS>:35725|control-mode=dynamic|reliable=false 125:0
Subscription: aeron-spy:aeron:udp?control=<IP_ADDRESS>:40939|control-mode=dynamic|reliable=false 126:0
Subscription: aeron-spy:aeron:udp?control=<IP_ADDRESS>:55627|control-mode=dynamic|reliable=false 127:0
Subscription: aeron-spy:aeron:udp?control=<IP_ADDRESS>:57421|control-mode=dynamic|reliable=false 128:0
Subscription: aeron-spy:aeron:udp?control=<IP_ADDRESS>:60107|control-mode=dynamic|reliable=false 129:0

So basically I am using a spying connection.

In regards, to aeronmd configuration. I have tried the default one and with some config tweaks -> the same result.

So I wonder what could be the cause of this issue with backpressure. Hope somebody can help me (I have suspicious that a spy connection could cause this issue because there are no real subscribers, just a spy one)
UPD: same issue without aeron-spy

This seems like a usage question rather than an issue. reliable=false is not a valid option with spy and will be ignored.  More context would be required to understand why you are experiencing back pressure. If you can ask a more specific question with sample app on Stackoverflow then maybe someone can help.


build process: nodejs vs node

When I tried to build using grunt build I ended up with the following output:
Running "notify:build" (notify) task

Running "jshint:src" (jshint) task
>> 4 files lint free.

Running "jshint:grunt" (jshint) task
>> 10 files lint free.

Running "clean:build" (clean) task
File created
File created
>> 1 path cleaned.

Running "run:rollup" (run) task
>> Error: spawn nodejs ENOENT
Warning: non-zero exit code -4058 Use --force to continue.

Aborted due to warnings.

After a while a figured out the problem is in grunt/options/run.js where the cmd was set to nodejs. After I changed it to node, the process run well.

I can confirm that node and nodejs both work for me.


Trying to flash Jisusu SP-111

Trying to use tuya convert on a clean RPi3 Raspbian Buster with a Jisusu SP-111. Freeware according to Smart Life app is 1.0.0.
All installations work fine, AP is created and device connected to it. As soon as I start the flash, the device leaves pairing mode and turns on (red light). I have repeated this process a few times now with the same result. Any ideas?
Attached are the logs
smarthack-wifi.log
smarthack-mqtt.log
smarthack-smartconfig.log
smarthack-web.log
smarthack-psk.log can't be uploaded as it is empty.

Is your network disconnected to internet?  try doing this process when not connected to internet. I have been able to flash this

These logs indicate you are using an outdated tuya-convert, update and try again, let us know how it goes.

I just set up the system yesterday. Did the download link change? Not sure how it can be outdated otherwise...

Not sure what download link you're referring to, you should install by running
git clone https://github.com/ct-Open-Source/tuya-convert.git or
git clone -b development https://github.com/ct-Open-Source/tuya-convert.git

@zzzZZZzzz9 is this resolved? If so, please close the issue


shep deploy --env development

This Command errors with this.
BadRequestException: Errors found during import:
Unable to put integration on 'GET' for resource at path '/hello': Lambda function ARN must be in same account
at Object.extractError.....

Which version of shep are you using? On what step of shep deploy is this error occurring?

I think I found the issue. The api.json got created like this
get": {
        "x-amazon-apigateway-integration": {
          "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:77170032698:function:my-shep-project-hello-get:${stageVariables.functionAlias}/invocations",
          "passthroughBehavior": "when_no_match",
          "httpMethod": "POST",
          "type": "aws_proxy"
        }

The lambda ARN is actually<PHONE_NUMBER>98 not<PHONE_NUMBER>8. It truncated the 0. I corrected it in the JSON and it worked.

Out of curiosity is your accountId correct in the shep section of your package.json?


FE: Extended-fab for compose button hover

Description
Compose fab button transforms to an extended fab button with a "Compose" label on hover.
References

https://material-components.github.io/material-components-web-catalog/#/component/fab

Relates to

#214
#239
#242


#406: Bump version number to v0.9.1

Resolves #406.

[Current coverage][cc-pull] is 94.26%

Merging [#407][cc-pull] into [master][cc-base-branch] will increase coverage by +3.93%

@@             master       #407   diff @@
==========================================
  Files            60         60
  Lines          2265       2265
  Methods           0          0
  Messages          0          0
  Branches        332        332
==========================================
+ Hits           2046       2135    +89
+ Misses          135        130     -5
+ Partials         84          0    -84

7 files (not in diff) in ...eekbyte/tailor/utils were modified. more

Misses -2
Partials -40
Hits +42

3 files (not in diff) in ...ekbyte/tailor/output were modified. more

Misses -2
Partials -11
Hits +13

5 files (not in diff) in ...yte/tailor/listeners were modified. more

Partials -17
Hits +17

3 files (not in diff) in ...ekbyte/tailor/format were modified. more

Partials -3
Hits +3

2 files (not in diff) in ...com/sleekbyte/tailor were modified. more

Misses -1
Partials -13
Hits +14

Powered by Codecov. Last updated by [fed8124...4c43460][cc-compare]
[cc-base-branch]: https://codecov.io/gh/sleekbyte/tailor/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/sleekbyte/tailor/compare/fed812450a657a9734c800647f61dda9b713f666...4c43460d8e45e3b263b9bdf8148ce12c4b215027
[cc-pull]: https://codecov.io/gh/sleekbyte/tailor/pull/407?src=pr


Add notes on Gratipocalypse

Closes https://github.com/gratipay/gratipay.com/issues/3890.

Merging with a little cleanup ...

Hawt.

!m @mattbk


Cave Generation under Villages

Good evening dags,
There is a problem generating caves under villages using version 0.1.1 of terraforged.  I have been able to reproduce this chunk error on many worlds with just terraforged installed and many more with other mods such as worley's caves to attempt to overwrite the cave generation.  The first picture shows the error underground while the second picture shows the surface from the same point of view and x-z coordinates.  I have not reproduced this error under any structure other than villages, though it might occur under them as well, but it is consistent that every village will consist of solid rock underneath with these hard edges through caves.  In vanilla Minecraft and with any other combinations of mods this error does not exist.  These edges trace a large box around the village (normally much larger than the villages appears on the surface).  I know terraforged claims to not affect caves since other mods have already improved them, but since it seems to be terraforged causing the error I hope you can replicate it and find a solution.
Thanks!
P.S. I've been following the mod since 0.0.1 and it blows me away every time a generate a new world.  Can't imagine playing MC without it any more.
Underground:

Surface:

It's an attempt to prevent caves from digging out the ground underneath villages. It currently does this at chunk resolution which is probably a bit too blunt a method. I'll see if I can simply prevent the caves from breaching the surface of chunks that contain a village rather than blocking entirely. Failing that I'll add a toggle setting for the current behaviour

I think a toggle would work very well.  I have actually already setup the caves to not reach the surface using worley's caves and have removed ravines with the cave manager mod linked in the discord.  This issue is much less noticeable without a cave mod installed since the caves are generally smaller in size and it would look more like a dead end.  So for the people using cave mods that exacerbate the issue, I would be happy to share my configs to prevent surface breaches with anyone who wanted them.

It turned out to be fairly simple to just have them stop a few blocks below the surface if the chunk has surface structures

Perfect


Crostini: required plugin "com.google.gct.login" not installed.

Cloud Tools for IntelliJ version: v16.11.6
Google Cloud SDK version (run gcloud version on the command line): 226.0.0
OS: Chrome OS 70.0.3538.76 (Official Build) (64-bit)

What did you do?
Launched IntelliJ IDEA with the Google Cloud Tools plugin.
What did you expect to see?
The plugin enabled and working like I see on my macOS device.
What did you see instead?
Plugin Error
Problems found loading plugins:
Plugin "Google Cloud Tools" was not loaded: required plugin "com.google.gct.login" not installed.

I am not able to get far enough to see https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/2166 or https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/2210.
I see the same error with WebStorm, but it also gives me an error related to a missing Gradle plugin which doesn't appear to be available to WebStorm on Chrome OS.

Hi @splaktar. Thanks for the report. Are you using IDEA version 2018.3? If so, we are aware of the issue and will release a new version of the plugin to fix this in the next day or so. This is happening because the plugin does not properly support this version.
See this thread (with a temporary workaround): https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/2287#issuecomment-441183232

Yep, using the latest of both. Thank you for the link and workaround!

@Splaktar, as updated on #2287 this issue should be fixed with the latest release of the plugin: 18.11.1
Closing this issue for now. Thanks.

I can confirm that the 18.11.1 update resolved this. Thank you!


feat(Link): add reload attribute

Hi @manuelsanchez2 👋
Thanks for creating this PR 🙏  Could you have a look at the CI info and just the code accordingly? Thanks again for taking the time to submit this PR! Really appreciated 🤩


Respect natively set deployment host port

This PR is a type vendor update + the integration test
https://github.com/rancher/types/pull/1007
https://github.com/rancher/rancher/issues/23375

LGTM


add support for openat

Thanks for the PR! Could you also add an entry to the changelog for this?

done also extended platform support.

replaced by #552

replaced by #552


feat(notification): add callback to Action

Add an optional callback to the Action. When creating an action the user can optionally specify a callback they would like run
Add optional callbacks to toast notification list demo
Export all of notifications

@pmuir the Tests are failing.

I think they were failing anyway... The test script was disabled (see additional commit). Pushing that to master.

I ran the tests in master and they pass. For this PR, locally I did "npm test" and they failed.


Translations are loaded for all layers to the client in Nuxt

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.10.2
CLI Version:      3.10.1
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, extends, i18n
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-qj9tuc
Describe the bug

Build
Run with npm preview
Switch locale
Open the network tab

You will see that the translations from all layers have been loaded.
Only 1 file with merged translations should be loaded.
Additional context

Logs
No response

This is expected behaviour, all locale files are loaded and merged, this could be beneficial for locales sharing locale files (fewer and smaller requests).
I might add functionality that merges all locale files per locale during the build step but this would only be possible if all files are static (as is the case in your reproduction).

This is a problem, the final bundle should not have welcome translation from the core, only from commerce layer.
If we have multiple layers, the client will be loaded with a lot of redundant data that they don't even need to know about.

I think it should have a bug label.
In my case we can't use NuxtI18n in its current state in our project because users will be loading hundreds of translations that have been overwritten and not used, but are still being loaded.

Sure, I will try fix it.

While this functionality could be improved, this behaviour is not a bug and is working as documented.

Then it's a fundamental design problem. Loading translations from all layers and merging them should not happen on the client.
Imaging loading few Header.vue components on the client, but one of them always overrides the others. In order to load only one Header, the decision "what should be in the bundle" is made build time. The same works for translation data.

I understand that this may be a deal breaker in your specific use case

It is a deal breaker for any big project that use layers.

Do keep in mind that we also support dynamic locale files that could be fetching translations from a remote source at runtime.

How does this affect merging local translation files? :)
You can load a completely different file at runtime, but the local files in the layers must still be merged at build time.

If translations are fetched from a remote source these remote sources could provide different translations at runtime, any layer can provide static and dynamic locale files in any order, merging those at build time wouldn't necessarily be desirable as translations could be added or removed at any point.
I agree that it would be nice to merge all static locale files at build time, just pointing out that some users rely on the behaviour that you find a deal breaker. There are probably also projects that would prefer fetching the remote translations at build time, turning these static and merging it all, but that's not the current functionality.

What do you mean by "translations could be added or removed at any point"?

An example would be that some users use a headless CMS to provide translations, the dynamic locale files fetch these translations at runtime.
If a translation from a dynamic locale resource at the beginning of the merge order is no longer present it should be removed from the final merged result unless overwritten, if a translation from a dynamic locale resource is added and at the end of the merge order it should be added and overwrites previous translations with the same keys in the final merged result.


Add scalatest ProviderSpec support

Hi,
I have added a scalatest ProviderSpec support to be able to test pacts in scalatest.
pact-jvm-provider-specs2 project was used as an example but this scalatest version has a bit wider DSL and functionality support.
Tests and documentation clearly explains how it works.
I hope you will like it. Feel free to comment or suggest.
Krisztian

Thank you for the PR! That is awesome.


Keep failure reason PUBLIC

/// The error code indicating the reason for the failure.
public let reason: ErrorReason?
This property found public in main branch however in 5x.x is private!
I use this property to remove unregistered deviceTokens or other reason might occur to offload many failed push requests which all of us may already know how much time will save us to execute queues
Please keep it public in all branches

Resolved in 5.0.0-beta.5

Thank you very much indeed, Kyle.


add example on how to source R functions directly from GitHub for easier usage

from: https://stackoverflow.com/questions/35720660/how-to-use-an-r-script-from-github
source("https://raw.github.com/tonybreyal/Blog-Reference-Functions/master/R/bingSearchXScraper/bingSearchXScraper.R")
ls()

Done here: https://github.com/bonifazi/TuttiFrutti/commit/2c4e94756b0354c195b30530dcd8610be1813859


box-shadow type error

Hi,
I can't get box-shadow: 0 4px 6px rgba(0, 0, 0, 0.35); to work with ReScript. Am I doing something wrong here?
Somewhere wanted:
  (
Emotion.Css.Length.t,
Emotion.Css.Length.t,
Emotion.Css.Length.t,
Emotion.Css.Length.t,
Emotion.Css.Color.t,
bool,

Hey @webican, It's very possible that box-shadow isn't well supported in<EMAIL_ADDRESS>We are working on the 1.0.0 version that will support all the CSS spec so box-shadow will be part of that.
I would suggest to use bs-emotion for those non supported properties like this one, meanwhile we improve the styled-ppx CSS parser.
Thanks for opening the issue, and it will remain open until we publish a 1.0.0.

Hey @webican, It's very possible that box-shadow isn't well supported in<EMAIL_ADDRESS>We are working on the 1.0.0 version that will support all the CSS spec so box-shadow will be part of that.
I would suggest to use bs-emotion for those non supported properties like this one, meanwhile we improve the styled-ppx CSS parser.
Thanks for opening the issue, and it will remain open until we publish a 1.0.0.

Hi @davesnx
Thank you for a quick response! I'm really glad to see this project gets the attention it deserves - as much as I love rescript and emotion, I can't stand writing css as js. I want to have my cake and eat it too :)

Hi @davesnx
Thank you for a quick response! I'm really glad to see this project gets the attention it deserves - as much as I love rescript and emotion, I can't stand writing css as js. I want to have my cake and eat it too :)

Thanks for the words, I believe we can deliver a really solid solution for it.

Thanks for the words, I believe we can deliver a really solid solution for it.

Added in https://github.com/davesnx/styled-ppx/issues/139

Added in https://github.com/davesnx/styled-ppx/issues/139


Move Inceptor out of Scope function, and regroup code in OO style

While I was working on https://github.com/pgte/nock/issues/195,  I figure we could refactor the code a little to make it more readable.

@BinChang thanks, looks much cleaner now!
Landed on v7.0.0.


Roll engine e695a516f148..e24bd78462cf (13 commits)

https://github.com/flutter/engine/compare/e695a516f148...e24bd78462cf
git log e695a516f148cef9c7850a6e00151f00bfadf0d4..e24bd78462cf6e7b51c03a9504ca0bb120cf16ff --no-merges --oneline
e24bd7846 Roll src/third_party/dart 06c3d7ad3a..7acecda2cc (12 commits)
3d2668c35 Reland isolate group changes
802bd1518 iOS platform view opacity (flutter/engine#9667)
3b6265b74 Roll src/third_party/dart b5aeaa6796..06c3d7ad3a (44 commits)
887e05233 Refactor ColorFilter to have a native wrapper (flutter/engine#9668)
75387dbc1 TextStyle.height property as a multiple of font size instead of multiple of ascent+descent+leading. (flutter/engine#9041)
eb89d9d42 Explain why OpacityLayer has an offset field (flutter/engine#9713)
f37b78a39 Roll src/third_party/skia aee26ea14efc..56065d9b875f (16 commits) (flutter/engine#9714)
92c4469a7 Improve window documentation (flutter/engine#9669)
7a2232341 Revert "Roll src/third_party/dart b5aeaa6796...966038ef58 (#9708)" (flutter/engine#9711)
e9c3da4d7 Roll src/third_party/skia 829b6a0ff49f..aee26ea14efc (8 commits) (flutter/engine#9709)
4abf1d8a4 Revert "Revert "Use track-widget-creation transformer included in the sdk. (#9085)" (#9134)" (flutter/engine#9707)
cd2ab3761 Roll src/third_party/dart b5aeaa6796...966038ef58 (flutter/engine#9708)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5136273998610432

Commit queue failed; closing this roll.


Azure cosmos API is locale dependent when sending RFC 1123 dates

Package Name: azure-cosmos
Package Version: 4.3.1
Operating System: Linux
Python Version: 3.9.5

Describe the bug
Azure Cosmos API expects a RFC 1123 date format. When the format is wrong, we are receiving:
Message: The input date header is invalid format. Please pass in RFC 1123 style date format.

from the server.
Headers of the request are build within the library:
https://github.com/Azure/azure-sdk-for-python/blob/d33f0205bf340253dded4d46471034f319f3213f/sdk/cosmos/azure-cosmos/azure/cosmos/_base.py#L240-L241
The problem I have is that my personal locale is not English. It's Luxemburgish. That being said, datetime.datetime.utcnow().strftime("%a, %d %b %Y %H:%M:%S GMT") will return a date with the given format that is following my locale Do, 02 Mär 2023 16:43:01 GMT instead of Thu, 02 Mar 2023 16:43:01 GMT
This breaks the server and we get a exceptions.CosmosHttpResponseError error at the client level.
To Reproduce
Steps to reproduce the behavior:

Switch your locale to Luxemburgish (didn't try to put a different one)
Initialize a CosmosClient
Do a call to the API ; in my case ; list_databases()
Dramatic explosion

Expected behavior
I let you guys decide what would be the best way to fix that but personally I would either force the date generation with an hard coded locale (not the best) or make the locale transparent on the server side.
Hopefully I am being clear 😄

Thank you for the feedback @MadJlzz . We will investigate and get back to you asap.

Hi @MadJlzz, thank you for using our SDK. I will be leaving this link here while I start an internal conversation on adding the Babel package into our SDK to deal with scenarios like these: https://stackoverflow.com/questions/985505/locale-date-formatting-in-python
Was just wondering if you found a workaround for this, or how you went about using Cosmos after running into this.

Hello there @simorenoh. Thanks for picking up this issue.
I have indeed found a workaround: (pretty intrusive though) I've changed my system locale to be the English one.

I see - yeah that was the second option that was recommended but I can see how that is not ideal for several reasons. Will keep you posted on what happens with this, happy to know you could at least get past this.

Hi! This issue is currently being fixed. See PR 30125

This issue has been addressed in the following PR30125

@MadJlzz Verson 4.4.0b2 is now available and it includes the RFC fix.


Cannot get past Sign In screen - I get circular Sign in - Pick an account - Sign in - Pick an account...

I am trying to use a template and I get dumped into a circular sign in whirlpool.
Page says "Sign in" -> So I sign in
Page says "Sign in" -> So I sign in
Page says "Sign in" -> So I sign in
Page says "Sign in" -> So I sign in
Page says "Sign in" -> So I sign in
Again and again and again and again and again...

Start on page "Exercise - Set up your environment"
https://docs.microsoft.com/en-us/learn/modules/manage-delivery-plans/4-set-up-environment

Click on "Run a template that sets up your Azure DevOps organization."
https://azuredevopsdemogenerator.azurewebsites.net/?name=deliveryplans

I get a screen "Azure DevOps Demo Generator" "Sign in" in or "Get started for free"
https://azuredevopsdemogenerator.azurewebsites.net/?name=deliveryplans

I click on "Sign in"

I briefly see "loading identity providers"
I see "Pick an account"
I click on my account
I briefly see "loading identity providers"
I see "Pick an account"
I click on my account
I briefly see "loading identity providers"
I see "Pick an account"
I click on my account
AND ON AND ON AND ON AND ON...
I have tried FOUR different browsers
I have tried TWO different computers.
I have tried TWO accounts
I tried signing out FOUR times like this: "close your browser windows and then open a new browser and navigate to https://aka.ms/vssignout. Close this browser, open a new browser and navigate to https://aex.dev.azure.com/me"

@kayceejay Thank you for reaching us. We find no similar issue, and we do not reproduce it, if you are still facing the same please let us know.

Please try to sign in to your organization before you login to Azure DevOps Demo Generator. If you face the same, please reach out to us.
Thanks,

We are closing issue, if you encounter the same, you can always reopen the issue. Thanks.


The PDF file is displayed on the mobile terminal, the font is very small, the font size is modified, the interface is displayed without any effect, and what solution is there?

Closing since almost no information from the issue template is provided, in particular configuration information, a working example and the PDF file to reproduce the issue.


Cannot copy images across notes

Images can be copy and pasted within the same note, but not across notes.
Text can be copy pasted across different notes however.

Hmm, I didn't even ever try to copy and paste images across notes. Gonna check this.

Image copy / paste doesn't work properly in the Evernote web app unfortunately.
It would be absolutely fantastic if it was possible to work around this problem in Whatever. Perhaps by saving the clipboard image contents to a temp file then inserting the file automatically when ctrl-V is pressed and the clip board contains an image, or something like that.

It would be absolutely fantastic to paste images from clipboard into the app..


Force disconnect the headset

Sometimes, I have an issue, after closing alvr in the headset (because for example network problems or microphone problems) ALVR server don't want to disconnect. The process is still sending data to headset with 100% packet loss. I would like an option to force close all connections for reconnecting the headset, so I don't have to restart SteamVR and everything

hello could you try with the version:
v14.1.1
v14.2.1
And see if it has been fixed ?
On my headset if I close the app the stream stop and steam VR goes into headset disconnected some second after.


[FEATURE] AdaBelief operator

Description
#19950
Hello, this is my first PR to apache MXNet. Glad to work with the community.
Checklist
Essentials

[X] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[X] Changes are complete (i.e. I finished coding on this PR)
[X] All changes have test coverage
[X] Code is well-documented

Changes

added C++ operator under src/operator/contrib/adabelief*
briefly modified src/operator/contrib/adamw* to avoid symbol name clashes
src/operator/contrib/adabelief*

Comments

This is mostly a copycat of AdamW optimizer, and therefore fair amount of code duplication. It might be a good idea to perform a refactor regarding adam-like optimizers later.

@khaotik thanks for the contribution! It looks like CI fails to start due to a merge failure. Perhaps you could squash the commits into a single commit, rebase to the latest master, and then do a force push?

OK the CI is working for this PR now. There are some formatting issues to address in the sanity check: https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fsanity/detail/PR-20065/2/pipeline#step-75-log-169

Hmm, test failed due to gcc "internal compiler error" during build phase. I find this a bit puzzling.
[2021-03-21T15:52:36.650Z] FAILED: CMakeFiles/mxnet.dir/src/operator/numpy/np_kron.cc.o

[2021-03-21T15:52:36.650Z] /usr/local/bin/ccache /usr/bin/g++-7  -DDMLC_CORE_USE_CMAKE -DDMLC_LOG_FATAL_THROW=1 -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_STRICT_CXX11 -DDMLC_USE_CXX11 -DDMLC_USE_CXX11=1 -DDMLC_USE_CXX14 -DMSHADOW_FORCE_STREAM -DMSHADOW_INT64_TENSOR_SIZE=1 -DMSHADOW_IN_CXX11 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_CUDA=1 -DMSHADOW_USE_CUDNN -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_SSE -DMXNET_USE_BLAS_OPEN=1 -DMXNET_USE_CUDA=1 -DMXNET_USE_ILP64_LAPACKE=1 -DMXNET_USE_INTGEMM=1 -DMXNET_USE_LAPACK=1 -DMXNET_USE_LAPACKE_INTERFACE=1 -DMXNET_USE_LIBJPEG_TURBO=0 -DMXNET_USE_NVTX=1 -DMXNET_USE_ONEDNN=1 -DMXNET_USE_OPENCV=1 -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_SIGNAL_HANDLER=1 -DUSE_CUDNN -D__USE_XOPEN2K8 -Dmxnet_EXPORTS -I/work/mxnet/3rdparty/onednn/include -I3rdparty/onednn/include -I/work/mxnet/include -I/work/mxnet/src -I/work/mxnet/3rdparty/tvm/nnvm/include -I/work/mxnet/3rdparty/tvm/include -I/work/mxnet/3rdparty/dmlc-core/include -I/work/mxnet/3rdparty/dlpack/include -I/work/mxnet/3rdparty/mshadow -I3rdparty/intgemm -I/work/mxnet/3rdparty/intgemm -I/work/mxnet/3rdparty/onednn/src/../include -I/work/mxnet/3rdparty/miniz -I3rdparty/dmlc-core/include -isystem /usr/include/opencv4 -isystem /usr/local/cuda/include -D_GLIBCXX_ASSERTIONS  -Wall -Wno-sign-compare -O3 -g -fopenmp -O2 -g -DNDEBUG -fPIC   -Werror -Wno-error=unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -fopenmp -std=gnu++1z -MD -MT CMakeFiles/mxnet.dir/src/operator/numpy/np_kron.cc.o -MF CMakeFiles/mxnet.dir/src/operator/numpy/np_kron.cc.o.d -o CMakeFiles/mxnet.dir/src/operator/numpy/np_kron.cc.o -c /work/mxnet/src/operator/numpy/np_kron.cc

[2021-03-21T15:52:36.650Z] g++-7: internal compiler error: Killed (program cc1plus)

@khaotik that might have been the host running out of memory.
There are some additional errors related to AMP: https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fcentos-gpu/detail/PR-20065/1/pipeline/#step-170-log-891.
The way to fix it is to include the new operators in this list, which signifies that when AMP is enabled, these operators need not to be casted.

Here are failed tests:
tests/python/unittest/test_operator.py::test_layer_norm
tests/python/unittest/test_operator.py::test_norm

I can't see immediate relationship with my PR here. Do they just fail at random?
@mxnet-bot run ci [centos-cpu, unix-cpu]

Here are failed tests:

tests/python/unittest/test_operator.py::test_layer_norm

tests/python/unittest/test_operator.py::test_norm

I can't see immediate relationship with my PR here. Do they just fail at random?
@mxnet-bot run ci [centos-cpu, unix-cpu]

Yes I believe those are just flaky and we can overcome with rerunning the failed pipelines for now.

@mxnet-bot run ci [centos-cpu]

@khaotik thanks for the contribution!

Hi, How to enable AdaBelief or AdamW in c++ here https://github.com/apache/mxnet/blob/v2.0.0.beta1/cpp-package/include/mxnet-cpp/optimizer.hpp. Thanks


Add reverse proxy example for Apache

For Apache 2 in front of Meet this sample configuration can serve as a starting point. It provides a SSL frontend for a non-encrypting Meet backed server.
<VirtualHost aaa.bbb.ccc.ddd:443 [aaaa:bbbb:cccc:dddd:eeee:ffff::yy]:443>
ServerName public.domain.com:443
ServerAdmin<EMAIL_ADDRESS>UseCanonicalName On

ErrorLog logs/meet_ssl_error_log
CustomLog logs/meet_ssl_access_log combined
LogLevel warn

SSLEngine on
SSLCompression off
SSLProxyEngine off

SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite HIGH:3DES:!aNULL:!MD5:!SEED:!IDEA
# for higher security
# SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLHonorCipherOrder on
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
SSLCertificateChainFile /etc/pki/tls/certs/server-chain.crt

Header unset X-Frame-Options
Header unset Content-Security-Policy

RewriteEngine On
# Meet and PWAs only work on https
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} ^/meet$ [OR]
RewriteCond %{REQUEST_URI} ^/meet/
RewriteRule ^(.*)$ https://public.domain.com/meet/ [R,L]
# We need to access Meet through the proper domain
RewriteCond %{REQUEST_URI} ^/meet$ [OR]
RewriteCond %{REQUEST_URI} ^/meet/
RewriteCond %{HTTP_HOST} !^public.domain.com$ [NC]
RewriteRule ^(.*)$ https://public.domain.com/meet/ [R,L]
# Upgrade Websocket connections
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /api/kwm/v2/(.*) ws://internal.domain.com:2015/api/kwm/v2/$1 [P,L]

<Directory />
    Order deny,allow
    Deny from all
</Directory>

<Location />
    ProxyPass        http://internal.domain.com:2015/
    ProxyPassReverse http://internal.domain.com:2015/
    ProxyPreserveHost On
</Location>

</VirtualHost>


UI is always scrolled down

Everytime I open the UI it is scrolled down, especially when the browser is shrinked and not maximized the left menu moves to the top pushing everything down to a bit strange position.
Is this by design?

This issue is not relevant anymore using Apigility 1.1.0.


I have some problems !

Hi ,
I really appreciated your work , i was searching a lot and finally I find your library
Anyway I have two problems
1. The image is not scaleAspectFill ,
I tried to modify your code but still even when add
cover.contentMode = .scaleAspectFill
The image not fit correctly , it's looks like the image zoom in

2. for some reason I have transparent Navigation bar , not solid color like in your gif
I want to have solid color without transparent

The original effect is 'zoom in', you can modify ScalableCover.layoutSubviews to achieve your expected effect.

For this, you can modify UINavigationBar.updateAlpha to achieve your expected effect.

Thank you very much , I will give it a try .
BTW The library need to be updated to support Swift 3 , it take me a while to make it work in swift 3

OK, If I have space time today, I will update it to support Swift 3.

@X901 Hey I am having the same alpha problem you were having. Changing updateAlpha didn't do anything. How did you solve it? Thanks!


Google passport authentication error: Code was already redeemed

Im getting problem regarding google passport login on google cloud platform.After successful google authentication the screen keeps loading and is unable to redirect to the website again. Im able to trace the google auth callback in the logs but somehow i just cant catch it in the server application. My code for the authentication and callback is correct as it works fine in the localhost and other cloud platform(openshift) where i tried hosting my node application.
this is the error i get in the /auth/google/callback :
TokenError: Code was already redeemed. at
Strategy.OAuth2Strategy.parseErrorResponse
(/app/node_modules/passport-oauth2/lib/strategy.js:329:12) at
Strategy.OAuth2Strategy._createOAuthError
(/app/node_modules/passport-oauth2/lib/strategy.js:376:16) at
/app/node_modules/passport-oauth2/lib/strategy.js:166:45 at
/app/node_modules/oauth/lib/oauth2.js:191:18 at passBackControl
(/app/node_modules/oauth/lib/oauth2.js:132:9) at
IncomingMessage.<anonymous> (/app/node_modules/oauth/lib/oauth2.js:157:7)
at emitNone (events.js:111:20) at IncomingMessage.emit (events.js:208:7) at
endReadableNT (_stream_readable.js:1055:12) at _combinedTickCallback
(internal/process/next_tick.js:138:11)

someone please help resolving this issue i have tried almost everything suggested in many links like
https://github.com/jaredhanson/passport-google-oauth/issues/82
Google Oauth giving code redeemed error
but couldnt get success so far.

Try changing the code on the google site, maybe the problem is not in the passport.js.


Fix autogenerated definitions for units to powers

For example https://w3id.org/uom/g.cm-3 has def

A unit which is equal to 1 gram per 10⁻² cubic metre.

A cubic centimeter should be 1 x 10-6 Cubic Meters I believe we're just missing a cubing step in the definition generation.

with @jamesaoverton we've decided to change the prefix_num column in https://github.com/units-of-measurement/units-of-measurement/blob/main/units_of_measurement/resources/prefixes.csv to be integers so we can do the math correctly, then at the end regenerate the superscript versions of the integers using something like https://www.geeksforgeeks.org/how-to-print-superscript-and-subscript-in-python/.