promote pawn to queen if pawn can promote

stay consistant with APL's rbc
Address 5) of https://github.com/deepmind/open_spiel/issues/811

@lanctot I feel that the ci failures are unrelated. Can you confirm?

Yeah seems like our chex version is causing issues. There may have been a recent backport or change in an unpinned dependency causing issues.
I am on vacation at the moment, so will look into it more deeply next week. I will probably include the change with the rest of the dep version changes in #807

thx for the quick glance, plz enjoy ur vacation, this work is not a high priority at the moment

Tried a quick hack in #819 but no dice, will likely have to wait for all the other version upgrades. Sorry about that!

Hi @acxz, the CI tests are now fixed on the master branch. Can you pull changes and push the merge to trigger a new invocation of the tests? Thanks!


metadata: Add package metadata for publishing

Problem
People are asking for the packages to be published, but they don't have enough metadata to be properly published.
Summary of changes
Add information to get them ready -- let me know if anything's missing or incorrect!

Sorry for the delay, it will happen soon. We're thinking it makes more sense to move this repo under anza, so we'll publish it from the anza accounts instead

New packages have been published:

JS: https://www.npmjs.com/package/@anza-xyz/solana-rpc-get-stake-activation -- v1 uses web3.js v1, and v2 uses web3.js v2
Rust: https://crates.io/crates/solana-rpc-get-stake-activation


Need to enable Compute Engine API

This is required by the CLI to set the default region
Also clarifies that the default project ID for the first project is randomly generated

Thanks!


docs(guide): corrected pnpm command

Description
This PR corrects the pnpm getting started example. The instructions provided for scaffolding a template in pnpm do not set the template as expected. The extra double-dash is not needed in pnpm 7.

pnpm create vite -- --template vue <--  will prompt to select framework
pnpm create vite --template vue <-- correctly sets framework without prompting.

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[X] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the Commit Convention.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[X] Ideally, include relevant tests that fail without this PR but pass with it.

Good catch! Would be great to update https://github.com/vitejs/vite/blob/main/packages/create-vite/README.md too

Thanks!


Docker semantics

A docker image is a fully qualified string of the form:
<registry>/<repository>:<tag>
The semantics in ci2 are fuzzy/wrong in this department.
This PR renames to accurately reflect their actual content:

DOCKER_IMAGE to DOCKER_REPO
DOCKER_TAG_NAME to DOCKER_IMAGE

I suspect this is a sufficiently breaking change to merit a major version bump on the project.

Coverage increased (+36.2%) to 72.496% when pulling 63450440d8a820eeea25ab009f03fee13528450d on docker-semantics into 1d8509552a30831d28267b2cedddcebb679ebe07 on master.

Coverage increased (+36.2%) to 72.496% when pulling 45ee2be569c5a6cc8d889b1aa654cd1a8ee1ff37 on docker-semantics into 1d8509552a30831d28267b2cedddcebb679ebe07 on master.

Coverage increased (+36.2%) to 72.496% when pulling 941abef67a83c0081e24c685734fd834dfeb537d on docker-semantics into 1d8509552a30831d28267b2cedddcebb679ebe07 on master.

Coverage increased (+36.2%) to 72.496% when pulling 941abef67a83c0081e24c685734fd834dfeb537d on docker-semantics into 1d8509552a30831d28267b2cedddcebb679ebe07 on master.

Coverage increased (+36.2%) to 72.496% when pulling 64416c640562a2c911460483ea4325bb2a11af86 on docker-semantics into 1d8509552a30831d28267b2cedddcebb679ebe07 on master.

Also see https://docs.docker.com/registry/introduction/#understanding-image-naming

@rbuckland @jsok do we want to resurrect this PR again?


check if the chat session is minimized or ended

Is there a way to check if the chat session is currently minimized or ended?

@liaollc could you please elaborate more on what your expectation is?

Closed due to inactivity.


[BUG] Some slf4j warn message shows in the log file when sending email

What is the bug?
When sending a email at the first time, OpenSearch main log shows that there are some slf4j related warn message, I think it should be eliminated:
[2023-06-26T17:02:40,596][WARN ][stderr                   ] [bcd07466ee01] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[2023-06-26T17:02:40,597][WARN ][stderr                   ] [bcd07466ee01] SLF4J: Defaulting to no-operation (NOP) logger implementation
[2023-06-26T17:02:40,597][WARN ][stderr                   ] [bcd07466ee01] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

How can one reproduce the bug?
Steps to reproduce the behavior:

Go to 'Alerting plugin of OSD '
Click on 'send test message' after you have setup email account correctly and creating a alerting monitor
See some warn log in OpenSearch main log file

What is the expected behavior?
Remove the unexpected warn log
What is your host/environment?

OS: [MacOS]
Version [3.0]
Plugins: notification, alerting

Do you have any screenshots?

Hi! I'll try my best to fix the bug.

trying to reproduce in my local. when i try with slack webhook, there also have same waring message printed in console.

@Noir01 @gaobinlong  Add implementation "org.apache.logging.log4j:log4j-slf4j-impl:${versions.log4j}" to core/build.gradle dependencies will solve the issue


Edge labels with border

Would it be possible to implement the ability to add a border around an edge label? Something like the rough sketch I have attached below:

I have found a nearly identical issue in the old, archived repository, with the only difference being that I'd also need a border radius.

Hi @mladenbrankovic,
I think this is possible and probably not even particularly difficult to implement. Sadly at the moment there's no maintainer who would have time to implement new features. Would you find the time to work on this? If so that would be great and (not only) I would be very grateful.

Hi @Thomaash
I have barely any experience with contributing to open-source projects, but I'll definitely give it a try.

Hi @Thomaash
Sorry to bother you again, but I'm having some trouble setting up the package repository locally. When trying to build or test, I get following error:
[!] AssertionError: There has to be a single entry file (entry-esnext.{js,ts}) for the ESNext build: expected [] to have a length of 1 but got 0
AssertionError: There has to be a single entry file (entry-esnext.{js,ts}) for the ESNext build: expected [] to have a length of 1 but got 0
    at callback (C:\devsbb\source\open-source\vis-network\node_modules\vis-dev-utils\src\module\generate-rollup-configuration\index.ts:410:18)
    at validate (C:\devsbb\source\open-source\vis-network\node_modules\vis-dev-utils\src\module\generate-rollup-configuration\index.ts:152:12)
    at C:\devsbb\source\open-source\vis-network\node_modules\vis-dev-utils\src\module\generate-rollup-configuration\index.ts:405:5
    at Array.map (<anonymous>)
    at Object.generateRollupConfiguration (C:\devsbb\source\open-source\vis-network\node_modules\vis-dev-utils\src\module\generate-rollup-configuration\index.ts:397:53)
    at Object.<anonymous> (C:\devsbb\source\open-source\vis-network\rollup.build.js:10:32)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.require.extensions.(anonymous function) [as .js] (C:\devsbb\source\open-source\vis-network\node_modules\rollup\dist\bin\rollup:1809:24)
    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 rollup_js.rollup.then.then (C:\devsbb\source\open-source\vis-network\node_modules\rollup\dist\bin\rollup:1816:32)

I checked the package.json for the entry point(s), which seem to be peer/umd/vis-network.js (main) and esnext/esm/vis-network.js (jsnext), but neither of these paths exist. The reason I'm asking is because serving works fine, except that I can't test the example(s) because the reference vis is undefined, since the (assumingly in the build generated) standalone folder doesn't exist.
Have I missed a step when setting up the project locally?

It should just work with git clone, npm ci and npm build. I tested it and it works. Can you provide more info? Also check if your up to date with the master.

Ah, I see. I've only used npm i so far, I haven't tried with npm ci yet. I'll try that tomorrow. Thanks for the heads-up!

Hm, that doesn't seem to have worked so well. I've tried cloning directly from master, running npm ci and npm run build on two different devices, both running Windows 10 and npm v6.13.4, resulting in the same output as before. If I just run npm build (as you suggested), I don't get any errors, but a warning that there are no arguments.
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm WARN build `npm build` called with no arguments. Did you mean to `npm run-script build`?
npm timing npm Completed in 177ms
npm info ok

This is the error I'm getting, again in its full glory.
[!] AssertionError: There has to be a single entry file (entry-esnext.{js,ts}) for the ESNext build: expected [] to have a length of 1 but got 0
AssertionError: There has to be a single entry file (entry-esnext.{js,ts}) for the ESNext build: expected [] to have a length of 1 but got 0
    at callback (C:\devsbb\source\open-source\vis-network-origin\node_modules\vis-dev-utils\src\module\generate-rollup-configuration\index.ts:410:18)
    at validate (C:\devsbb\source\open-source\vis-network-origin\node_modules\vis-dev-utils\src\module\generate-rollup-configuration\index.ts:152:12)
    at C:\devsbb\source\open-source\vis-network-origin\node_modules\vis-dev-utils\src\module\generate-rollup-configuration\index.ts:405:5
    at Array.map (<anonymous>)
    at Object.generateRollupConfiguration (C:\devsbb\source\open-source\vis-network-origin\node_modules\vis-dev-utils\src\module\generate-rollup-configuration\index.ts:397:53)
    at Object.<anonymous> (C:\devsbb\source\open-source\vis-network-origin\rollup.build.js:10:32)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.require.extensions.(anonymous function) [as .js] (C:\devsbb\source\open-source\vis-network-origin\node_modules\rollup\dist\bin\rollup:1809:24)
    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 rollup_js.rollup.then.then (C:\devsbb\source\open-source\vis-network-origin\node_modules\rollup\dist\bin\rollup:1816:32)

npm info lifecycle vis-network@0.0.0-no-version~build:code: Failed to exec build:code script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build:code: `rollup --config rollup.build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:code script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 1362ms

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 timing npm Completed in 5933ms

npm ERR!      C:\Users\E501913\AppData\Roaming\npm-cache\_logs\2020-03-18T08_53_49_185Z-debug.log

2020-03-18T08_53_49_144Z-debug.log
2020-03-18T08_53_49_185Z-debug.log
The logs generated don't really help me either, but maybe you can find something in there. Odd, that it works for you but doesn't on my machines...

The way I am solving is is by generating svg on the fly and setting it to be the image for an edges' middle arrow like this:
middle: {
    enabled: true,
    src:  "data:image/svg+xml;base64," + btoa(labelToSvgElement(myLabel).outerHTML),
    type: "image"
}

The problem I am having with this is however, that the image will be rotated when the edge points at an angle, still looking for a way to counter-hack this :)


Kapacitor : Aggregate handlers does not accept interval

URL for relevant page?
https://docs.influxdata.com/kapacitor/v1.5/event_handlers/aggregate/#aggr-cpu-alerts-yaml
What products and version are you using?
Kapacitor OSS 1.5.4 (git: HEAD 1f648f85772efe222a3853fe1a0d9ef88854a8c1)
Where did you look before opening the issue?
On the documentation
When trying to reproduce the "aggregate" documentation, i'm getting this error :
failed to create handler: failed to decode options into *alert.AggregateHandlerConfig: 1 error(s) decoding:
* 'interval' expected type 'time.Duration', got unconvertible type 'string'

I tried with :

exactly the same YML file
changing interval: 10m to interval: '10m'

Thank you, @bsabsp,
We have an open issue. Please change 10m to<PHONE_NUMBER>00. Updated documentation to say the interval must be specified in nanoseconds.


ruff server does not load new configuration files when they are created

If you create a new pyproject.toml / ruff.toml configuration file in your workspace, we reload any existing configuration but do not 'register' the new configuration file.
This has been a known limitation of Index::reload_settings:
/// Reloads relevant existing settings files based on a changed settings file path.
/// This does not currently register new settings files.

I'm not sure whether this is actually a problem or not because it's suppose to be handled on the client side. The client will send us request on file events (create, change, delete). So, this should work.

As seen in the test plan of https://github.com/astral-sh/ruff/pull/12253, I'm creating a new pyproject.toml file in a nested folder and the diagnostics are being refreshed accordingly. At the end, I delete the file and it's refreshed as per the root pyproject.toml file.


Dockerized Camunda Spring Boot´s POST request refused on the Keycloak Identity Provider Plugin part

I successfully implemented the Keycloac Identity Provider Plugin in my Camunda Spring Boot Project. The .jar data also works. The problem starts after I dockerized my project.
When I start my Docker project, the following error is thrown:
2022-03-11 13:06:22.283 ERROR 1 --- [           main] org.camunda.bpm.extension.keycloak       : KEYCLOAK-01011 TOKEN request failed: I/O error on POST request for "https://localhost:8443/auth/realms/MyRealm/protocol/openid-connect/token": Connect to localhost:8443 [localhost/<IP_ADDRESS>] failed: Connection refused (Connection refused); nested exception is org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 [localhost/<IP_ADDRESS>] failed: Connection refused (Connection refused)
Here are the properties in the .yaml file:
camunda:
  bpm:
    authorization:
      enabled: true

plugin.identity.keycloak:
  keycloakIssuerUrl: https://localhost:8443/auth/realms/MyRealm
  keycloakAdminUrl: https://localhost:8443/auth/admin/realms/MyRealm
  clientId: myrealm-client
  clientSecret: <insertsecret>
  useUsernameAsCamundaUserId: true
  useGroupPathAsCamundaGroupId: true
  administratorGroupName: camunda-admin
  disable-s-s-l-certificate-validation: true

Here is the DockerFile:
FROM adoptopenjdk/openjdk11:alpine-jre
EXPOSE 8080
ARG JAR_FILE=target/testdockerforspringcamunda-1.0.0-SNAPSHOT.jar
ADD ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

These are the ports of my keycloak standalone server:
<socket-binding name="http" port="${jboss.http.port:8180}"/>
<socket-binding name="https" port="${jboss.https.port:8443}"/>

I can successfully ping to the keycloak url from my dockerized project and the GET request for the configuration seems to work.

Hi @denrobin,
this is a docker networking aspect - and has nothing to do with the Keycloak Identity Provider itself.
See https://github.com/camunda-community-hub/camunda-bpm-identity-keycloak/tree/master/examples/run/docker for a small docker setup with Camunda Run.
You need to find out the network adress of your Keycloak server. From the perspective of the docker container "localhost" is the local docker container - it is NOT the host docker is running on. The host has it's own network. Of course you get a connection refused.
More on docker networking can be found here https://docs.docker.com/network/ and on the internet

Thanks for the help.
After a lot of headache, I solved the issue. It seems I misinterpreted some events and therefore didn´t come to the idea of the localhost issue.


Project Fails to Run

I'm submitting a ...

[x] bug report
[ ] feature request

Bug Report:
Running npm run dev leads to both the server and frontend CLI tags reporting a crash.
[SERVER] [nodemon] 1.12.1
[SERVER] [nodemon] to restart at any time, enter `rs`
[SERVER] [nodemon] watching: *.*
[SERVER] [nodemon] starting `node C:\Users\JPaveg\Code\semantic-starter\dist\server\en`
[SERVER] module.js:529
[SERVER]     throw err;
[SERVER]     ^
[SERVER]
[SERVER] Error: Cannot find module 'react-dom/lib/DOMProperty'
[SERVER]     at Function.Module._resolveFilename (module.js:527:15)
[SERVER]     at Function.Module._load (module.js:476:23)
[SERVER]     at Module.require (module.js:568:17)
[SERVER]     at require (internal/module.js:11:18)
[SERVER]     at Object.<anonymous> (C:\Users\JPaveg\Code\semantic-starter\node_modules\rapscallion\lib\render\attrs.js:18:19)
[SERVER]     at Module._compile (module.js:624:30)
[SERVER]     at Object.Module._extensions..js (module.js:635:10)
[SERVER]     at Module.load (module.js:545:32)
[SERVER]     at tryModuleLoad (module.js:508:12)
[SERVER]     at Function.Module._load (module.js:500:3)
[SERVER]     at Module.require (module.js:568:17)
[SERVER]     at require (internal/module.js:11:18)
[SERVER]     at Object.<anonymous> (C:\Users\JPaveg\Code\semantic-starter\node_modules\rapscallion\lib\render\traverse.js:11:19)
[SERVER]     at Module._compile (module.js:624:30)
[SERVER]     at Object.Module._extensions..js (module.js:635:10)
[SERVER]     at Module.load (module.js:545:32)
[SERVER] [nodemon] app crashed - waiting for file changes before starting...
[FRONTEND]  ERROR  Failed to compile with 1 errors02:23:48
[FRONTEND]
[FRONTEND] This dependency was not found:
[FRONTEND]
[FRONTEND] * react-dom/lib/ReactPerf in ./node_modules/react-addons-perf/index.js
[FRONTEND]
[FRONTEND] To install it, you can run: npm install --save react-dom/lib/ReactPerf
[FRONTEND] > App is running at http://localhost:3000
[FRONTEND]
[FRONTEND] webpack built e21d3777a2b8221d2fa1 in 11152ms
[FRONTEND] Hash: e21d3777a2b8221d2fa1
[FRONTEND] Version: webpack 3.6.0
[FRONTEND] Time: 11152ms
[FRONTEND]                       Asset     Size  Chunks  Chunk Names
[FRONTEND]   assets/icons.674f50d2.eot   166 kB
[FRONTEND]   assets/icons.b06871f2.ttf   166 kB
[FRONTEND]  assets/icons.fee66e71.woff    98 kB
[FRONTEND] assets/icons.af7ae505.woff2  77.2 kB
[FRONTEND]   images/flags.9c74e172.png  28.1 kB
[FRONTEND]  images/daniel.eaa3ef5e.jpg    15 kB
[FRONTEND]                   client.js  12.8 MB       0  client
[FRONTEND] [./node_modules/promise-polyfill/promise.js] ./node_modules/promise-polyfill/promise.js 6.24 kB {0} [built]
[FRONTEND] [./node_modules/querystring-es3/index.js] ./node_modules/querystring-es3/index.js 127 bytes {0} [built]
[FRONTEND] [./node_modules/react-dom/index.js] ./node_modules/react-dom/index.js 1.36 kB {0} [built]
[FRONTEND] [./node_modules/react-hot-loader/lib/patch.js] ./node_modules/react-hot-loader/lib/patch.js 209 bytes {0} [built]
[FRONTEND] [./node_modules/react-hot-loader/patch.js] ./node_modules/react-hot-loader/patch.js 41 bytes {0} [built]
[FRONTEND] [./node_modules/semantic-ui-css/semantic.css] ./node_modules/semantic-ui-css/semantic.css 1.2 kB {0} [built]
[FRONTEND] [./node_modules/strip-ansi/index.js] ./node_modules/strip-ansi/index.js 161 bytes {0} [built]
[FRONTEND] [./node_modules/webpack-hot-middleware/client-overlay.js] (webpack)-hot-middleware/client-overlay.js 1.82 kB {0} [built]
[FRONTEND] [./node_modules/webpack-hot-middleware/client.js?reload=true] (webpack)-hot-middleware/client.js?reload=true 7.04 kB {0} [built]
[FRONTEND] [./node_modules/webpack-hot-middleware/process-update.js] (webpack)-hot-middleware/process-update.js 3.87 kB {0} [built]
[FRONTEND]    [0] multi react-hot-loader/patch webpack-hot-middleware/client?reload=true ./src/client 52 bytes {0} [built]
[FRONTEND] [./node_modules/whatwg-fetch/fetch.js] ./node_modules/whatwg-fetch/fetch.js 12.7 kB {0} [built]
[FRONTEND] [./src/client/index.jsx] ./src/client/index.jsx 1.72 kB {0} [built]
[FRONTEND] [./src/common/index.jsx] ./src/common/index.jsx 2.49 kB {0} [built]
[FRONTEND] [./src/common/styles/global.jsx] ./src/common/styles/global.jsx 1.83 kB {0} [built]
[FRONTEND]     + 911 hidden modules
[FRONTEND] REST OF STACK TRACE INCLUDED BELOW \/

What is the expected behavior?

For the app to start and run as expected.

What is the current behavior?

Multiple errors produced.

Steps to reproduce:

clone repository

yarn/npm run dev

observe CLI output

Useful Info:

Your environment:

Node version: v8.5.0
Browser: Chrome 61
OS: Windows 10 x64

Other information

Here is the remainder of the stack trace from the output pasted above:
[FRONTEND] ERROR in ./node_modules/react-addons-perf/index.js
[FRONTEND] Module not found: Error: Can't resolve 'react-dom/lib/ReactPerf' in 'C:\Users\JPaveg\Code\semantic-starter\node_modules\react-addons-perf'
[FRONTEND]  @ ./node_modules/react-addons-perf/index.js 1:17-51
[FRONTEND]  @ ./src/client/index.jsx
[FRONTEND]  @ multi react-hot-loader/patch webpack-hot-middleware/client?reload=true ./src/client
[FRONTEND] Child html-webpack-plugin for "index.html":
[FRONTEND]          Asset     Size  Chunks  Chunk Names
[FRONTEND]     index.html  1.48 MB       0
[FRONTEND]     [./node_modules/html-webpack-plugin/lib/loader.js!./webpack_config/assets/index.ejs] ./node_modules/html-webpack-plugin/lib/loader.js!./webpack_config/assets/index.ejs 1.68 kB {0} [bu
ilt]
[FRONTEND]     [./node_modules/lodash/lodash.js] ./node_modules/lodash/lodash.js 540 kB {0} [built]
[FRONTEND]     [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {0} [built]
[FRONTEND]     [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 517 bytes {0} [built]
[FRONTEND] webpack: Failed to compile.
[FRONTEND] Error
[FRONTEND]     at MemoryFileSystem.readFileSync (C:\Users\JPaveg\Code\semantic-starter\node_modules\memory-fs\lib\MemoryFileSystem.js:107:10)
[FRONTEND]     at C:/Users/JPaveg/Code/semantic-starter/webpack_config/server.js:59:20
[FRONTEND]     at Object.ready (C:\Users\JPaveg\Code\semantic-starter\node_modules\webpack-dev-middleware\lib\Shared.js:166:29)
[FRONTEND]     at Function.waitUntilValid (C:\Users\JPaveg\Code\semantic-starter\node_modules\webpack-dev-middleware\lib\Shared.js:213:10)
[FRONTEND]     at C:/Users/JPaveg/Code/semantic-starter/webpack_config/server.js:58:16
[FRONTEND]     at Layer.handle [as handle_request] (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\layer.js:95:5)
[FRONTEND]     at next (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\route.js:137:13)
[FRONTEND]     at Route.dispatch (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\route.js:112:3)
[FRONTEND]     at Layer.handle [as handle_request] (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\layer.js:95:5)
[FRONTEND]     at C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:281:22
[FRONTEND]     at param (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:354:14)
[FRONTEND]     at param (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:365:14)
[FRONTEND]     at Function.process_params (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:410:3)
[FRONTEND]     at next (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:275:10)
[FRONTEND]     at middleware (C:\Users\JPaveg\Code\semantic-starter\node_modules\webpack-hot-middleware\middleware.js:26:48)
[FRONTEND]     at Layer.handle [as handle_request] (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\layer.js:95:5)
[FRONTEND] Error
[FRONTEND]     at MemoryFileSystem.readFileSync (C:\Users\JPaveg\Code\semantic-starter\node_modules\memory-fs\lib\MemoryFileSystem.js:107:10)
[FRONTEND]     at C:/Users/JPaveg/Code/semantic-starter/webpack_config/server.js:59:20
[FRONTEND]     at Object.ready (C:\Users\JPaveg\Code\semantic-starter\node_modules\webpack-dev-middleware\lib\Shared.js:166:29)
[FRONTEND]     at Function.waitUntilValid (C:\Users\JPaveg\Code\semantic-starter\node_modules\webpack-dev-middleware\lib\Shared.js:213:10)
[FRONTEND]     at C:/Users/JPaveg/Code/semantic-starter/webpack_config/server.js:58:16
[FRONTEND]     at Layer.handle [as handle_request] (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\layer.js:95:5)
[FRONTEND]     at next (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\route.js:137:13)
[FRONTEND]     at Route.dispatch (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\route.js:112:3)
[FRONTEND]     at Layer.handle [as handle_request] (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\layer.js:95:5)
[FRONTEND]     at C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:281:22
[FRONTEND]     at param (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:354:14)
[FRONTEND]     at param (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:365:14)
[FRONTEND]     at Function.process_params (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:410:3)
[FRONTEND]     at next (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\index.js:275:10)
[FRONTEND]     at middleware (C:\Users\JPaveg\Code\semantic-starter\node_modules\webpack-hot-middleware\middleware.js:26:48)
[FRONTEND]     at Layer.handle [as handle_request] (C:\Users\JPaveg\Code\semantic-starter\node_modules\express\lib\router\layer.js:95:5)

https://github.com/Metnew/react-semantic.ui-starter/issues/104


how to pretrain the backbone from mmedit.backbone using imagenet dateset

RT

Which backbone do you want to train?

Which backbone do you want to train?

backbone of mmedit.backbones (like edsr, rrdbnet)

If you want, yes. But there are some problems.
Use EDSR as an example.
First, mmediting doesn't support calling across repositories by now. So you need to copy the backbone file to mmcls.
cp xxx/mmedit/models/backbones/sr_backbones/edsr.py ./mmcls/models/backbones

Then modify the backbone file to register it to mmcls' BACKBONE registry.
from
...
from mmedit.models.registry import BACKBONES
...

to
...
from ..builder import BACKBONES
...

Then import it in mmcls/models/backbones/__init__.py
...
from .edsr import EDSR

__all__ = [..., 'EDSR']

After that, you can use EDSR as a backbone.
Here is an example config:
_base_ = [
    '../_base_/datasets/imagenet_bs32.py',
    '../_base_/schedules/imagenet_bs256.py', '../_base_/default_runtime.py'
]

scale = 2
model = dict(
    type='ImageClassifier',
    backbone=dict(
        type='EDSR',
        in_channels=3,
        out_channels=3,
        mid_channels=64,
        num_blocks=16,
        upscale_factor=scale,
        res_scale=1,
        rgb_mean=(0.4488, 0.4371, 0.4040),
        rgb_std=(1.0, 1.0, 1.0)),
    neck=dict(type='GlobalAveragePooling'),
    head=dict(
        type='LinearClsHead',
        num_classes=1000,
        in_channels=3,
        loss=dict(type='CrossEntropyLoss', loss_weight=1.0),
        topk=(1, 5),
    ))

optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0001)

However, we cannot confirm the training performance.


Keyboard backlight stops working

The backlight on my (laptop) keyboard consistently stops working after a while when using Karabiner. I believe this happens after a sleep and wake up cycle (but I'm not 100% sure yet). The only way that I've found to resolve this is to restart the computer.
When the backlight is turned off in this way I can still use the touchbar controls to adjust the light levels (the icon and graphical level indicator shows up and changes etc) but the lights will remain completely deactivated.

Please tell me if I can provide any logs or other information to help resolve this issue.
I'm using Karabiner 12.2.0 on a Macbook Pro 2018 (15-inch); Mojave 10.14.3.

@authorfunction see https://github.com/tekezo/Karabiner-Elements/issues/1676


Move Volume and GlobalVolume to own file

Objective

Prework for reviving #9582.

Solution

Move the two types to volume.rs and made it compile.
Also #[reflect(Debug)] on Volume while I'm here.

Testing

Ran example locally.
Rely on CI.

We should put a pin on improving the documentation of the Volume newtype, because it's unclear from the doc comments which scale we are using (linear can be inferred from the debug_assert!, but it would be nice to make it explicit).
Additionally, we should add a second constructor for setting the volume in decibels.

Absolutely. We can look at these in a follow up PR since this PR is just a simple move around. FWIW, I also noticed this from a user perspective. The constructor just says Create a new volume level. which leaves the user wondering :)


Sync state docs

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/ngneat/elf/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fix the elf-sync-state documentation.
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Other information

Conflicting files

Done.


Sync between Vim and Neovim

Problems summary

Install plugins with dein in Neovim, and check it works correctly.
Open vim now.
Dein thinks plugins have been already cached, but they are actually not. I have to call dein#recache_runtimepath() manually.

Expected
Dein should call dein#recache_runtimepath() automatically if plugins are not cached.
Environment Information (Required!)

dein.vim version(SHA1): 5bbff63c09126580ed1ef0df8ed2496d4c0fee82
OS: Ubuntu 17.10
Vim/neovim version:

Neovim v0.2.2
Vim 8.0.550

Provide a minimal .vimrc with less than 50 lines (Required!)

Install plugins with dein in Neovim, and check it works correctly.
Open vim now.
Dein thinks plugins have been already cached, but they are actually not. I have to call dein#recache_runtimepath() manually.

Screen shot (if possible)
Upload the log messages by :redir and :message (if errored)

I am imaging another scene. After updating the plugins in vim using call dein#update(), open nvim, and a call of dein#recache_runtimepath() is necessary to keep the plugins synced. It would be better if Dein can check the update status and sync them automatically.

Thanks. The issue is fixed now.


Binding issues [test_ops]

Ticket
Link to Github Issue #10650
Problem description
I am trying to bind an Op to TTNN, and followed the steps shown in the guide. But I am facing the following error:
In file included from ../ttnn/cpp/pybind11/__init__.cpp:14:
In file included from ../ttnn/cpp/pybind11/operations/__init__.hpp:29:
../ttnn/cpp/ttnn/operations/test_ops/test_ops_pybind.hpp:14:44: error: no member named 'test_concat' in namespace 'ttnn'
   14 |     detail::bind_test_concat(module, ttnn::test_concat);
      |                                      ~~~~~~^
1 error generated.
ninja: build stopped: subcommand failed.

What's changed

Created the directory ttnn/cpp/ttnn/operations/test_ops, and added all files inside it
In ttnn/cp/pybind11/operation/init.hpp, I added the following two lines inside operations namespace

auto m_test = module.def_submodule("test_ops", "Test operations");
test_ops::py_module(m_test);

Added the file ttnn/ttnn/operations/test_concat.py with the following code:

from typing import Tuple, Union, Dict

import sys
import ttnn

test_concat = ttnn.register_operation()(ttnn._ttnn.operations.test_ops.test_concat)

__all__ = []

It seems to me the format given in https://tenstorrent.github.io/tt-metal/latest/ttnn/ttnn/adding_new_ttnn_operation.html is different from the format of new Ops from the current main branch. For example, dividing Ops into Single and multicore have been done away with, and variables inside Ops are now const variables instead of being saved inside structs named operation_attributes and tensor_args.
Which format do you recommend we follow?


Suggestion for first step: Extract color into decorator.

NOTE:

This still needs improvement - for example, should probably be initialized in the same placeas junit output
For some reason, the combination -v -c doesn't work. This will probably go away once -v is also handled via decorator.
Slight changes to the expected output -- the newlines are now in color ;-)
Even this small change affects five files :-(

O yeah - function implementation probalby shouldn't stay inline, either...

Hmm. We are obviously missing a test case ;-) Even Travis CI didn't catch that -v and -c don't work together...

But why would we do this? There is no benefit at the moment for pulling out the coloring, it is always in the console.

To not have it in  TestOutput, from where it will be inherited by JUnitOutput, which has no use for it.
Same goes for verbose().

Truth told, I figured that extracting the ConsoleOutput stuff from TestOutput is not a small step, really... that's why I attempted an even smaller one :-)
It was a good learning exercise.


Fix rare Azure panic when getting VM status

When getting status for Azure VM's occasionally the API only returns a single status object, instead of the 2 we are expecting. This just cleans up the error handling when getting status, and verifies the length of InstanceView.Statuses.
@yaso195 @lilirui @earlruby

LGTM

LGTM


Can't compile thinc on Macbook Air M1

Hello, I find myself unable to compile this otherwise magnificent tool! Please help, if you can!
I am on MacOS 12.1, Kernel Version 21.2.0, and have installed the latest Python (3.10.2)
Here is the error message I get after trying to install with pip (apparently it can't find the Accelerate Libraries, especially Accelerate.h Header ...):

ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/n7/t2plqm6n2jq4khmj0bckswg40000gq/T/tmp0bhlw2sh
cwd: /private/var/folders/n7/t2plqm6n2jq4khmj0bckswg40000gq/T/pip-install-wgga78t9/thinc-apple-ops_f5b38888c7a149cd9f99fd524c2bd340
Complete output (34 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.10
creating build/lib.macosx-10.9-universal2-3.10/thinc_apple_ops
copying thinc_apple_ops/init.py -> build/lib.macosx-10.9-universal2-3.10/thinc_apple_ops
copying thinc_apple_ops/ops.py -> build/lib.macosx-10.9-universal2-3.10/thinc_apple_ops
creating build/lib.macosx-10.9-universal2-3.10/thinc_apple_ops/tests
copying thinc_apple_ops/tests/init.py -> build/lib.macosx-10.9-universal2-3.10/thinc_apple_ops/tests
copying thinc_apple_ops/tests/test_gemm.py -> build/lib.macosx-10.9-universal2-3.10/thinc_apple_ops/tests
running egg_info
warning: no files found matching '.pxd' under directory 'thinc_apple_ops'
warning: no files found matching '.txt' under directory 'thinc_apple_ops'
writing manifest file 'thinc_apple_ops.egg-info/SOURCES.txt'
copying thinc_apple_ops/blas.pyx -> build/lib.macosx-10.9-universal2-3.10/thinc_apple_ops
copying thinc_apple_ops/py.typed -> build/lib.macosx-10.9-universal2-3.10/thinc_apple_ops
running build_ext
creating build/temp.macosx-10.9-universal2-3.10
creating build/temp.macosx-10.9-universal2-3.10/thinc_apple_ops
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/private/var/folders/n7/t2plqm6n2jq4khmj0bckswg40000gq/T/pip-build-env-b0flamc2/overlay/lib/python3.10/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c thinc_apple_ops/blas.c -o build/temp.macosx-10.9-universal2-3.10/thinc_apple_ops/blas.o
In file included from thinc_apple_ops/blas.c:706:
In file included from /private/var/folders/n7/t2plqm6n2jq4khmj0bckswg40000gq/T/pip-build-env-b0flamc2/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
In file included from /private/var/folders/n7/t2plqm6n2jq4khmj0bckswg40000gq/T/pip-build-env-b0flamc2/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /private/var/folders/n7/t2plqm6n2jq4khmj0bckswg40000gq/T/pip-build-env-b0flamc2/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960:
/private/var/folders/n7/t2plqm6n2jq4khmj0bckswg40000gq/T/pip-build-env-b0flamc2/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
thinc_apple_ops/blas.c:714:10: fatal error: 'Accelerate/Accelerate.h' file not found
#include "Accelerate/Accelerate.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
thinc_apple_ops/blas.c:714:10: note: did not find header 'Accelerate.h' in framework 'Accelerate' (loaded from '/System/Library/Frameworks')
1 warning and 1 error generated.
error: command '/Library/Developer/CommandLineTools/usr/bin/clang' failed with exit code 1
ERROR: Failed building wheel for thinc-apple-ops
Failed to build thinc-apple-ops
ERROR: Could not build wheels for thinc-apple-ops, which is required to install pyproject.toml-based projects

------------------------------------------ END---------------------------------------------------------------------------
Any help would be greatly appreciated, thanks!

Duplicate of https://github.com/explosion/spaCy/discussions/10116. Please don't multi-post, if you don't know the right place to post just pick one place.


Git tests fix

Issue #, if available:
Description of changes:
make this cleanup best-effort for now, in order to better understand the behavior when it's running distributed across multiple test instances; planning to revisit and improve actively.
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/override eks-anywhere-e2e-presubmit
/override eks-anywhere-presubmit
/override eks-anywhere-attribution-files-presubmit


DOMException to reason for failure commentary

Hey just found this library while looking through suggested repos and was reading this comment: https://github.com/MasterKale/SimpleWebAuthn/issues/160#issuecomment-950263415
I wanted to discuss it but didn't want to derail that thread so figure this would be the ideal.
Unless I misunderstood the discussion or the specification, identifying the cause of why a failure occurred is technically possible as I read the spec. Providing (and of course this may not happen) browsers throw the correct DOMException depending on the exception and the task being performed, here is my notes as commented code as to what each exception means:
function getAttestationResultFromDOMException(exception: DOMException): AttestationResult {
    // Docs for this section:
    // https://w3c.github.io/webauthn/#sctn-op-make-cred
    switch (exception.name) {
        case "UnknownError":
            // § 6.3.2 Step 1 and Step 8.
            return AttestationResult.FailureSyntax;
        case "NotSupportedError":
            // § 6.3.2 Step 2.
            return AttestationResult.FailureSupport;
        case "InvalidStateError":
            // § 6.3.2 Step 3.
            return AttestationResult.FailureExcluded;
        case "NotAllowedError":
            // § 6.3.2 Step 3 and Step 6.
            return AttestationResult.FailureUserConsent;
        case "ConstraintError":
            // § 6.3.2 Step 4.
            return AttestationResult.FailureUserVerificationOrResidentKey;
        default:
            console.error(`Unhandled DOMException occurred during WebAuthN attestation: ${exception}`);
            return AttestationResult.FailureUnknown;
    }
}

function getAssertionResultFromDOMException(
    exception: DOMException,
    requestOptions: PublicKeyCredentialRequestOptions,
): AssertionResult {
    // Docs for this section:
    // https://w3c.github.io/webauthn/#sctn-op-get-assertion
    switch (exception.name) {
        case "UnknownError":
            // § 6.3.3 Step 1 and Step 12.
            return AssertionResult.FailureSyntax;
        case "NotAllowedError":
            // § 6.3.3 Step 6 and Step 7.
            return AssertionResult.FailureUserConsent;
        case "SecurityError":
            // § 10.1 and 10.2 Step 3.
            if (requestOptions.extensions?.appid !== undefined) {
                return AssertionResult.FailureU2FFacetID;
            } else {
                return AssertionResult.FailureUnknownSecurity;
            }
        default:
            console.error(`Unhandled DOMException occurred during WebAuthN assertion: ${exception}`);
            return AssertionResult.FailureUnknown;
    }
}

One of the first things I did after joining Duo was to discover all of the possible errors that could come out of .create() and .get() and what would throw them, and from that effort came a real ugly picture of how much understanding we could glean from any of the eight discrete errors defined in the spec. I don't have anything I can publicly share from that work yet (I plan on publishing this work to the Duo blog but no ETA), suffice to say InvalidStateError ended up being relatively straight forward to understand the user tried to re-register an authenticator matching one of the credentials in excludeCredentials during .create().
Thank you for taking the time to write out that code. Looking over it I see that it's not all that unreasonable to try and derive what actually went wrong. Comparing your examples to the notes I left myself from my earlier research, I can actually see a path forward for making it possible to offer more insight into most of the reasons an error was thrown.
Let me think on this and see how many other errors could also be intuited. It feels like a great way to make consuming WebAuthn simpler, and I'm all for that.

I'm rather interested in this, let me know if/when you get to post it.
I have noticed more consistency with browsers when it comes to Webauthn than compared to U2F which is nice, but I did suspect some inconsistencies and noticed some impossible to detect issues from the way the spec is worded itself, just found overall it was more consistent to finding the actual cause of a failure.
Also no worries about the code, it is actually from one of the projects I maintain. I wrote it in order to give user feedback during the process and to test if it were even possible with Webauthn.

@james-d-elliott Check out PR #184, I think this is the pattern I'll roll with since it won't change the current suggested pattern of wrapping startRegistration() in a try / catch.
I plan on adding similar logic for .get() to the PR before merging, at least the ones I know I can implement. There are some other errors raised that I don't think I can cleanly implement because of too much ambiguity (how can we distinguish a NotAllowedError in which the user fails to consent to create a new credential? See https://www.w3.org/TR/webauthn-2/#sctn-op-make-cred [Step 3]).
That and some extensions can raise identifiable errors, but extensions in general are poorly supported by me right now, so I can aim to identify those later if/when I find a way to abstract away the use of extensions.

Looks nice. I think the fact that it's at least potentially more informative is a good change. It means people implementing the client don't have to understand the spec too closely to implement some feedback to users.

Looks nice. I think the fact that it's at least potentially more informative is a good change. It means people implementing the client don't have to understand the spec too closely to implement some feedback to users.

I realized too when I was waffling on whether to merge this in is that it would help provide standardized error messages across browsers that currently have varying degrees of insight into why the error occurred.
I'll cut a release with this new functionality soon, but I want to get PR #171 in before I do.

Yeah that'd be good. I have noticed some strange inconsistencies with mobile Safari. Not entirely sure if you've ran into this, but it appears it doesn't support appid via NFC potentially.

This functionality is now available in the newly-published<EMAIL_ADDRESS>🚀


support for Laravel 5.6 and Scout 4.0

Hi, just wondering if/when you will be supporting Scout 4.0 which was released alongside Laravel 5.6.
At the moment it seems everything is working by putting the following line in composer require:
"laravel/scout": "4.0.1 as 3.0.9"
But it would of course be better not to need to do that.

Hi @robtesch, I'll try it this weekend, if everything will be fine and back compatible, I'll release a new version.

New version v3.3.0 is released, if you notice any bugs with new Scout or Laravel, don't hesitate to open a new issue with error description.


fix: more performant encoding of []byte

instead of looping over each individual value and writing to the byte
buffer, write it as a whole immediately.
For messages containing large buffers (such as a PointCloud2 for example),
this makes a huge difference (factor 100 sometimes on my machine).

@aler9 any chance for a review on this one? :blush:

Hello, thanks for this, replace []byte with []uint8, since byte is an alias for uint8.

Hello, thanks for this, replace []byte with []uint8, since byte is an alias for uint8.

that would involve a type-cast on w.Write(cv) since that wants a []byte. Is that OK?


Shell Sort

This is the shell sort implementation.

Cool. I will probably merge it tomorrow or the day after (busy right now).

I added a bit more explanation. :-)


Msgbox: fix second param not passed to callback

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

#3531


ffmpeg stream MPEG-TS work only with 2 connections

Hi,
i have a problem with module, only work with 2 connections, can you help me with NGINX conf?
Thx

Hi,
i have a problem with module, only work with 2 connections, can you help me with NGINX conf?
Thx

Same here. Did you solve this problem?

Hi,
i have a problem with module, only work with 2 connections, can you help me with NGINX conf?
Thx

Same here. Did you solve this problem?

i have solve


[poco] Remove feature netssl, add required dependency openssl

Since poco's features netssl and openssl conflict in windows, according to our policy, delete these features.
Closes #16456.

With that logic you need to remove the MPI/parallel feature from hdf5 since it conflicts with the cpp feature.
@ras0219-msft: I think you should really think about implementing "one of" selections for features. There are simply too many use cases for them and I don't think annoying people by using/writing overlays is the right thing to do (I know it breaks CI but than CI has to do a better Job).
I have seen this problem know in:

poco
generalized blas port
generalized lapack port
generalized ssl port
user discussion in discord where this would have solved everyhing
hdf5
probably other ports using MPI which is only interesting for scientific/hpc work.

To restate the actual issue: poco[netssl] had a spurious dependency on openssl on Windows, even though it was not being built with the openssl-based networking backend. This caused some user confusion, plus unnecessary dependencies. The simplest fix that also maintaining overall status-quo of the port is to simply make the dependency platform-specific.
POCO does have a flag to force using openssl on windows, however this is isn't an option we've ever exposed. As @Neumann-A mentioned, this is an XOR property which per policy should not be implemented using "features" and instead should be controlled by the user using overlays.

@JackBoosY
Can you please take care of the conflicts?

@vicroms  Done.


Revise create plan page

UX are drawing up plans for revising this page. Perhaps having multiple pathways in e.g.

create a DMP for a funder (fundref look up)
create a DMP for your institution (choice of one or more uni templates)
create a plan from an existing one

This issue is just to note that in some cases there's a desire to disable / remove one of the paths e.g. in Canada and Australia where there are no funder templates.

can we close this one @sjDCC? The fundref idea is captured here #96 and maybe something we'd just want to add to the org details page to allow orgs to identify themselves for us like we do with users and ORCID?

closing this outdated issue.


Better theme config

I currently work on implementing the ayu themes. I noticed a few shortcomings I would like to bring up:
Better naming convention
When the terminal size is too small for spf (maybe that's also something that could be worked on in the future), the current terminal dimensions that are too small are highlighted in the terminalTooSmallError hex color value. There is also fail for error messages.
  "terminalTooSmallError": "#E65050",
  "fail": "#E65050",

I think it might be a good idea to combine color fields into more logical groups like error, warning, gutter, gutterActive and so on. It's a tradeoff between configurability and simplicity.
Separate icons and text colors
Many text editors and IDEs separate the file and folder icon colors.
Good examples would be

VSCode (Nord theme in this case)
JetBrains (Dracula in this case)
macOS Finder
Windows Explorer

There are also editors and file managers that don't do that:

Nautilus (Gnome Files)
ChromeOS File Manager

This would also allow icons based on file type, better tree view and overall better UI and user orientation.

Thank you for bringing this up
I have never designed a theme. I may redesign the theme file in a few days. can i ask for your susggestion?

Sure thing. A few suggestions:
A short design lecture
A common design pattern is to separate UI elements like menus from the main editor/work UI element. In the case of a file manager, the editor would be your file selection(s).
There is also a design decision to be made about whether or not to use a border. IDEs often allow the use of two different themes based on this concept - bordered and borderless themes.
Menu items and borders have two properties that need separation in design:

Active/Inactive(/Last) item. These often have different text or border colours. Design implies function. For example, for the Processes window in the superfile for a light theme:

Normal text in processes: primary (middle)
Border (active): secondary color (brightest)
Processes: tertiary color (darkest)

Visual coherence. For a side menu, these are handled by a background colour different from the editor or a separation by a border colour != the text colour.

An example of this using my Tmux status bar:

On the left is our "menu". The keyboard shortcuts (1, 2, 3) are the same because they serve all the same purpose. The text marks the current active or inactive window. In tmux you can also implement a "last window" state but I don't use that feature.
Although it is cleaner and perhaps more aesthetically pleasing to use the same background colour for the rest of the terminal, it is good to have a separation in context.
Notes
I am against supporting legacy standards until the world freezes over (4 bit, 8 bit colours).
Still, it might be a consideration to support 256 colors for terminals that do not support true color. terminfo should handle this… terminfo is broken. Helix and Neovim check if the terminal supports true color. Also, there is the $COLORTERM variable used by some applications (Helix uses it to force 24 bit colors if the terminal doesn't tell it correctly but supports it anyway).

I'm at university right now. I will come back in a few hours and come up with a mock-up for the theming with a JSON.

Oh my god
I really appreciate you typing up such a long list to introduce knowledge about the theme!!

It is common to write config files for in Go written applications in toml. This would be my first take on how to properly define a theme architecture.
[theme.your-theme]

# Text Colors
text_primary = "" # Default text color
text_secondary = "" # Often less colorful version of primary; e.g. non-active border
text_tertiary = "" # Accent text color for special stuff, e.g. `Processes`, `Clipboard` text

# Background
background = ""

# Borders
border = ""
border_active = ""

# Special Colors
hint = ""
info = ""
warning = ""
error = ""
accent = ""

# Gradient
# The gradient could also be used for the Super Files" in the top left corner after opening `spf` or for loading animations when there is a blocking wait going on.
gradient_color_1 = ""
gradient_color_2 = ""

# Cursor
cursor = ""
selection = ""
selection_active = ""

Also, a few things I noticed:

Documents should be the same color as the other entries in the directory selection but bold.

The icon next to /home/luca/.config/superfile should be the same as the folder icon in the file browser. No need to specify a new color theme.

Clipboard and Browser 1/4 should be the same tertiary color, no matter if one of them is the active tab or not.

i will update this!

i absolutely love the toml file but i don't think that a json file is any bad. It just needs better naming conventions.

I think a TOML file is easier to use for a config file which gets edited by an end user. A lot of popular applications use TOML (or plain old key = value which is easy to parse). I don't see that for JSON.

yes it is easy. but json isn't hard too. We can change to toml anytime. I would require a bit of changing packages and code in the src code. But it will be a piece of cake on the user customization side of things

how about https://kdl.dev/

it seems nice for me

So I think I'm going to change all the config files to toml, which I think is better.

# Borders style
border_split_left = "┫" # ex: ┫1/2┣ `┫` this is border_split_left
border_split_right = "┣" # ex: ┫1/2┣ `┣` this is border_split_right
top_left = "┏"
top_right = "┓"
bottom_right = "┛"
bottom_left = "┗"
left = "┃"
right = "┃"
top = ""
bottom = ""

So, I would like to add this feature to config.toml or theme.toml, what do you think?

# Theme create by: https://github.com/MHNightCat
# Update by(sort by time):
#
# Thanks for all contributor!!

# Background and foreground
main_background = "#1d2021"
main_foreground = "#EBDBB2"

file_panel_background = "#1d2021"
file_panel_foreground = "#EBDBB2"

sidebar_background = "#1d2021"
sidebar__foreground = "#EBDBB2"

footer_background = "#1d2021"
footer_foreground = "#EBDBB2"

modal_confirm_foreground = "#EBDBB2"
modal_cancel_foreground = "#EBDBB2"

modal_confirm_background = "#6d6d6d"
modal_cancel_background = "#ff4d00"

# Panel Border
file_panel_border = "#868686"
file_panel_border_active = "#FFF1C5"

sidebar_border = "#868686"
sidebar_border_active = "#D79921"

footer_border = "#868686"
footer_forder_active = "#D79921"

modal_border = "#868686"

# Panel details
file_panel_top_folder_icon = "#8EC07C"
file_panel_top_path = "#458588"
file_panel_selected_background = "#32302F"
file_panel_selected_foreground = "#D3869B"

sidebar_selected_cursor = "#8EC07C"
sidebar_selected_background = "#32302F"
sidebar_selected_foreground = "#E8751A"
sidebar_title_foreground = "#CC241D"

footer_selected_cursor = "#8EC07C"
footer_selected_background = "#32302F"
footer_selected_foreground = "#EBDBB2"

# Curosr
main_cursor = "#8EC07C"

# Gradient
gradient_color_one = "#689d6a"
gradient_color_two = "#fb4934"

# Process bar color
done = "#8ec07c"
error = "#FF6969"
in_operation = "#468588"
cancel = "#6D6D6D"

# Borders style
border_split_left = "┫"  # ex: ┫1/2┣ `┫` this is border_split_left
border_split_right = "┣" # ex: ┫1/2┣ `┣` this is border_split_right
top_left = "┏"
top_right = "┓"
bottom_right = "┛"
bottom_left = "┗"
left = "┃"
right = "┃"
top = "━"
bottom = "━"

I'm redesigning the entire theme file just to make it more customizable
(refer to https://code.visualstudio.com/api/references/theme-color)
# Gruvbox
# Theme create by: https://github.com/MHNightCat
# Update by(sort by time):
#
# Thanks for all contributor!!

# Background and foreground
main_background = "#141617"
main_foreground = "#EBDBB2"

file_panel_background = "#141617"
file_panel_foreground = "#EBDBB2"

sidebar_background = "#141617"
sidebar_foreground = "#EBDBB2"

footer_background = "#141617"
footer_foreground = "#EBDBB2"

modal_background = "#141617"
modal_foreground = "#EBDBB2"

modal_confirm_foreground = "#EBDBB2"
modal_cancel_foreground = "#EBDBB2"

modal_confirm_background = "#6d6d6d"
modal_cancel_background = "#ff4d00"

# Panel Border
file_panel_border = "#868686"
file_panel_border_focus = "#FFF1C5"

sidebar_border = "#868686"
sidebar_border_focus = "#D79921"

footer_border = "#868686"
footer_forder_focus = "#D79921"

modal_border = "#868686"

# Panel details
file_panel_top_folder_icon = "#8EC07C"
file_panel_top_path = "#458588"
file_panel_selected_background = "#32302F"
file_panel_selected_foreground = "#D3869B"

sidebar_cursor = "#8EC07C"
sidebar_selected_background = "#32302F"
sidebar_selected_foreground = "#E8751A"
sidebar_title_foreground = "#CC241D"
sidebar_title_background = "#32302F"

footer_cursor = "#8EC07C"
footer_selected_background = "#32302F"
footer_selected_foreground = "#EBDBB2"

# Curosr
main_cursor = "#8EC07C"

# Gradient
gradient_color_one = "#689d6a"
gradient_color_two = "#fb4934"

# Special Colors
done = "#8ec07c"
error = "#FF6969"
in_operation = "#468588"
cancel = "#6D6D6D"

# Borders style
border_split_left = "┫"  # ex: ┫1/2┣ `┫` this is border_split_left
border_split_right = "┣" # ex: ┫1/2┣ `┣` this is border_split_right
top_left = "┏"
top_right = "┓"
bottom_right = "┛"
bottom_left = "┗"
left = "┃"
right = "┃"
top = "━"
bottom = "━"

all themes are translated now.

Thank you so much!

# Border
file_panel_border = "#868686"
sidebar_border = "#868686"
footer_border = "#868686"
modal_border = "#868686"

# Border Active
file_panel_border_active = "#FFF1C5"
sidebar_border_active = "#D79921"
footer_border_active = "#D79921"
modal_border_active = "#868686"

# Background (bg)

full_screen_bg = "#282828"
file_panel_bg = "#282828"
sidebar_bg = "#282828"
footer_bg = "#282828"
modal_bg = "#282828"

# Foreground (fg)

full_screen_fg = "#EBDBB2"
file_panel_fg = "#EBDBB2"
sidebar_fg = "#EBDBB2"
footer_fg = "#EBDBB2"
modal_fg = "#EBDBB2"

# Special Color

cursor = "#8EC07C"
correct = "#8ec07c"
error = "#FF6969"
hint = "#468588"
cancel = "#838383"
warn = "#FF0000"
gradient_color = ["#689d6a", "#fb4934"]

# File Panel Special Items

file_panel_top_directory_icon = "#8EC07C"
file_panel_top_path = "#458588"
file_panel_item_selected_fg = "#D3869B"
file_panel_item_selected_bg = ""

# Sidebar Special Items

sidebar_title = "#CC241D"
sidebar_item_selected_fg = "#E8751A"
sidebar_item_selected_bg = "#282828"

# Modal Special Items

modal_cancel_fg = "#EBDBB2"
modal_cancel_bg = "#6D6D6D"
modal_confirm_fg = "#EBDBB2"
modal_confirm_bg = "#FF4D00"

i like this


What's App requires an update of Electron/Chrome

Describe the bug
WhatsApp works with Google Chrome 36+
To use WhatsApp, update Chrome or use Mozilla Firefox, Safari, Microsoft Edge or Opera.
To Reproduce
Steps to reproduce the behavior:

Use what's app service
Be greeted by the message

Expected behavior
What's app works
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.04
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context

I should have updated franz first ...
Sorry.

Sorry, could you provide more context? Which version fixes the issue? I installed  5.0.0-beta.18 via homebrew on macOS just now and the problem persists.

Hey @kaeff
The latest version is b22. If Franz's internal updater doesn't fetch it by itself you might need to look into manually updating or re-installikg.
https://github.com/meetfranz/franz/releases
Although I'm still not sure if this can even be fixed properly since the problem is actually on WhatsApp's side. I think they check the "browser" that was used to register/link their connection and doesn't change its useragent info or something. I haven't used WA before, but most Franz like clients have this problem with it.

Thanks for the rapid reply!
In case anyone else runs into this issue, after upgrading to
5.0.0-beta.22.1059 I can use the What'sApp service again. That version is
not available on homebrew, yet.
Not sure the fix is proper, I can't offer more than "worked for me".
On Fri, Dec 14, 2018 at 11:43 AM Gaboris<EMAIL_ADDRESS>wrote:

Hey @kaeff https://github.com/kaeff
The latest version is b22. If Franz's internal updater doesn't fetch it by
itself you might need to look into manually updating or re-installikg.
https://github.com/meetfranz/franz/releases
Although I'm still not sure if this can even be fixed properly since the
problem is actually on WhatsApp's side. I think they check the "browser"
that was used to register/link their connection and doesn't change its
useragent info or something. I haven't used WA before, but most Franz like
clients have this problem with it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/meetfranz/franz/issues/1157#issuecomment-447287117,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVCzYDdXHoZWsANg0BWT1vfkBKAtuGHks5u44C3gaJpZM4ZGp6C
.

--
Klaus Fleerkötter
Developer
Email<EMAIL_ADDRESS><EMAIL_ADDRESS>Telephone +49<PHONE_NUMBER>9 <+4917682124219>
[image: ThoughtWorks]
||||||||||||||||||||||||||||||||||||||||||||||||Love is love
ThoughtWorks España S.L. - Carrer Roc Boronat, 117, 8ª
https://maps.google.com/?q=Carrer+Roc+Boronat,+117,+8ª&entry=gmail&source=g
Planta 08018 - Barcelona

Locking in favor of #1185


Add TM GC CPU fraction to stat endpoint

What does this PR do?
Adds TM GC CPU fraction to stat endpoint, for debugging and profiling.
Which TC components are affected by this PR?

[ ] Documentation
[ ] Grove
[ ] Traffic Analytics
[x] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] Other _________

What is the best way to verify this PR?
Run Monitor, verify /publish/Stats endpoint has gc-cpu-fraction key.
Check all that apply

[ ] This PR includes tests
[ ] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[ ] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2752/
Test PASSed.

I'm not sure what a test for this would even look like? It's adding a single field to a struct. What is there to test?
I guess we could test that the variable assignment works? But it seems like we can trust the language at least that far.
At the high level, an Integration Test for the /publish/Stats endpoint would be good. But the Monitor doesn't currently have an Integration Test Framework, it'd take weeks if not months to write one. Are we going to require that, for this tiny PR just to add one debug stat to the endpoint? I agree, that'd be great to have. But it seems like a lot, to require months of work, for a single field PR?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2798/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2799/
Test FAILed.


Option to stop citation appearing in bibliography?

Hi,
Is there an option to cite something but stop it appearing in the bibliography?
Like this Biblatex feature?
\documentclass{article}
\usepackage[style=authoryear]{biblatex}
\addbibresource{/path/to/references.bib}
\DeclareBibliographyCategory{ignore}
\addtocategory{ignore}{johnson2015}
\addtocategory{ignore}{doe1986}

\begin{document}

\cite{johnson2015},
\cite{smith2015},
\cite{doe1986},
\cite{samson2012}

\printbibliography[notcategory=ignore]
\end{document}

I need to cite a book review but it's not meant to appear in my bibliography.
Thanks,
Nick

It's reasonable and I'll prioritize this feature.

I've just added the type, nottype, keyword, notkeyword, category, and notcategory options to \printbibliography as well as \DeclareBibliographyCategory and \addtocategory commands. All of them work in the same way as in biblatex. The filter and \defbibfilter  in biblatex are  not implemented at the moment.

@zepinglee Could you add a capability to define title when selecting by category? For example: there's an overleaf example here using package biblatex.
Unfortunately, with citation-style-language package there is an (ignored) error due to title option:
! LaTeX Error: The key 'csl/bibliography/title' is unknown and is being (LaTeX)        ignored.
The rendered PDF simply repeats "References" (when using \documentclass[11pt]{article}) per each \printbibliography[category={phys}, title={test}].

@bemilton I've just added the heading and title options and the above example works fine.

@zepinglee Brilliant, thank you for rapid solution. By the way -- it is an excellent tex package!


Aggregate PR

Aggregate of the following PRs:
https://github.com/wildfly/wildfly/pull/15506
https://github.com/wildfly/wildfly/pull/15529
https://github.com/wildfly/wildfly/pull/15540

PRs merged


ESPRESSO: fix last failing test for chdir: False

Summary of Changes
I had to move the sanity_checks function from utils.py to the EspressoTemplate. There was a "TODO" comment that I actually forgot about, this was the cause of the issue.
Checklist

[ ] I have read the "Guidelines" section of the contributing guide. Don't lie! 😉
[ ] My PR is on a custom branch and is not named main.
[ ] I have added relevant, comprehensive unit tests.

Notes

Your PR will likely not be merged without proper and thorough tests.
If you are an external contributor, you will see a comment from @buildbot-princeton. This is solely for the maintainers.
When your code is ready for review, ping one of the active maintainers.

Can one of the admins verify this patch?

Thanks, this looks good!

@tomdemeyere, would you mind opening up a new PR that makes these changes to main? Then I can merge it in. 👍


Merge client and lawyer tables into just one "user" table

It's causing more headaches having them as two separate tables

Closed awhile ago. Not sure which commit fixed this issue


Unlogged throwable (fix of the issue #8499)

Unlogged throwable.
Motivation:
Besides an error caused by closing socket in Windows a bunch of other errors may happen at this place which won't be somehow logged. For instance any VirtualMachineError as OutOfMemoryError will be simply ignored. The library should at least log the problem.
Modification:
Added logging of the throwable object.
Result:
Fixes #8499.

@Andremoniy should we maybe just special handle Error ?

IMHO that no general exceptions should be ignored, but only very specific. I don't know which error happens for the Windows case. That's why I would propose to leave logging for all errors.
However I am not pretending to know this case better then you; taking a choice between two alternatives: not having errors logged at all, and having logged only the Error subsclass - I would certainly take the second opportunity :)
So could you tell me please, should I amend my PR and add a catch clause for the Error class?
Sincerely,
Andrey

@trustin thoughts ?

@Andremoniy yes please change to log Error and use a log message like "Error during ...."

@normanmaurer okay, and re-throw it or return null as well?

I think rethrow is the right thing to do... So basically just:
             try {
                 this.localAddress = localAddress = unsafe().localAddress();
             } catch (Error e) {
                  throw (Error) e;
             } catch (Throwable t) {
                 // Sometimes fails on a closed socket in Windows.
                 return null;

@normanmaurer please check my recent commit

@netty-bot test this please

@Andremoniy this looks good.. Can you please sign our ICLA so I can pull this in ?
https://netty.io/s/icla
Let me know once done please.

@normanmaurer Thank you!I've sent you an email. Perhaps I will sign the ICLA only after the next Monday, I am sorry for the delay.

@normanmaurer I've just signed the ICLA, confirmed.

@Andremoniy merged.. thanks!


Attack Simulation appears pretty flakey for the past month - doesn't always send out a simulation

Have been trying to send out a simulation for over six weeks that actually works
all the way through.
I typically will have it sent to myself and if it is satisfactory, then I send it out to others.
The first bunch will not even display correctly once I click on the link to test going to any
of the landing pages.
Moved to another payload and that one won't even send out.  (I am not new to this ...
have sent out many in the past.)
Put in a support ticket a few weeks ago and that just sits.  Rock and a hard place at
the moment.  Anyone else going through the same issues right now?

@DeePelleCANdo Thank you for your feedback. This looks like a technical issue and you have done the right thing by opening a support ticket. I'd suggest you follow up with the support engineer to resolve this issue.
Hope this helps!
Thanks
Sri


Please merge revision d9e7a366169a7513af17df5ef5769d708fc6c815 into dev channel

@whesse @mit-mit @kasperl
Add changelog entries for strong mode changes.
Please merge  d9e7a366169a7513af17df5ef5769d708fc6c815 to dev.
This doesn't merge cleanly.  Merged CL here:
https://codereview.chromium.org/2788663004

Merged in 1.23.0-dev.11.1


Build and replace AppScale specific Mapreduce, Pipeline and GCS jars

https://ocd.appscale.com:8080/job/Daily Build/2102/

Latest build after the code review comments changes: https://ocd.appscale.com:8080/job/Daily Build/2122/

https://ocd.appscale.com:8080/job/Daily Build/2124/


Some special character encodings show problems

VSCode Version:1.25.1 (1.25.1)
OS Version: mac os 10.13.2 (17C88)

demo code
http://7te8kr.com1.z0.glb.clouddn.com/word.html

The left part is the code display, and the right part is the sublime display.
File.autoGuessEncoding has been set to true

@aeschli
"editor.renderControlCharacters: true" works

thank you.


resolveLocalFileSystemURL: incorrect filename

I have an email with attachment - let's say info.txt
there is an intent handler which is ment to open the attachment in the Android app
I'm using the resolveLocalFileSystemURL to read the file, the url is in format like:
"content://com.google.android.gm.sapi/XX@gmail.com/message_attachment_external/%23thread-a%3Ar-5057787201526387426/%23msg-a%3Ar-7956362123961253525/0.1?account_type=com.google&mimeType=application%2Foctet-stream&rendition=1"

FileEntry returned from the resolveLocalFileSystemURL contains incorrect name ("0.1") e.g:
{
  fullPath: "/com.google.android.gm.sapi/XX@gmail.com/message_attachment_external/#thread-a:r-5057787201526387426/#msg-a:r-7956362123961253525/0.1"
  isDirectory: false
  isFile: true
  name: "0.1"
  nativeURL<EMAIL_ADDRESS>}

I'd expect the info.txt instead of the 0.1

I have an email with attachment - let's say info.txt
there is an intent handler which is ment to open the attachment in the Android app
I'm using the resolveLocalFileSystemURL to read the file, the url is in format like:
"content://com.google.android.gm.sapi/XX@gmail.com/message_attachment_external/%23thread-a%3Ar-5057787201526387426/%23msg-a%3Ar-7956362123961253525/0.1?account_type=com.google&mimeType=application%2Foctet-stream&rendition=1"

FileEntry returned from the resolveLocalFileSystemURL contains incorrect name ("0.1") e.g:
{
  fullPath: "/com.google.android.gm.sapi/XX@gmail.com/message_attachment_external/#thread-a:r-5057787201526387426/#msg-a:r-7956362123961253525/0.1"
  isDirectory: false
  isFile: true
  name: "0.1"
  nativeURL<EMAIL_ADDRESS>}

I'd expect the info.txt instead of the 0.1

Did you find a solution to this?

I had the same problem and used https://github.com/mobius3/cordova-plugin-filename as a workaround to get the correct filename and it's working so far.

Thank you @rockkiska for linking to that plugin! I struggled for a long time to find a solution


Speed up na_GetUINALibEquivalent

na_GetUINALibEquivalent is currently done using a list traversal which might be slow for very big UIs. It had beed tried to be done using the GWLP_USERDATA of HWND on windows and with the tag of NSView on macOS but that proved to be a maintenance catastrophy.
Optimal solution would be a a hash map. Maybe find something else.

On Mac, use objc_setAssociatedObject

Solved on macOS in 6adaff29

Fixed on windows in 9ed778a


Ionic start in an existing folder

I setup a new repo using npm init then installed ionic via npm i ionic@latest --save. What's the best way to then run ionic start in this folder?
I tried ./node_modules/.bin/ionic start . and i get:
Please name your Ionic project something meaningful other than '.'

So i went up a directory and tried to run ./project/node_modules/.bin/ionic start project.
This outputs the following error and deleted my folder!
$ ./project/node_modules/.bin/ionic start project
Directory already exists: /Users/user/Sites/project
Would you like to overwrite the directory with this new project?
(yes/no): yes

Creating Ionic app in folder /Users/user/Sites/project based on tabs project
 Error: Cannot find module 'adm-zip'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.fetchArchive (/Users/user/Sites/project/node_modules/ionic/node_modules/ionic-app-lib/lib/utils.js:90:16)
    at Object.fetchWrapper (/Users/user/Sites/project/node_modules/ionic/node_modules/ionic-app-lib/lib/start.js:186:9)
    at Object.startApp (/Users/user/Sites/project/node_modules/ionic/node_modules/ionic-app-lib/lib/start.js:104:16)
    at /Users/user/Sites/project/node_modules/ionic/lib/ionic/start.js:91:18
    at _fulfilled (/Users/user/Sites/project/node_modules/ionic/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (/Users/user/Sites/project/node_modules/ionic/node_modules/q/q.js:816:30)
Caught exception:
 Error: Cannot find module 'adm-zip'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.fetchArchive (/Users/user/Sites/project/node_modules/ionic/node_modules/ionic-app-lib/lib/utils.js:90:16)
    at Object.fetchWrapper (/Users/user/Sites/project/node_modules/ionic/node_modules/ionic-app-lib/lib/start.js:186:9)
    at Object.startApp (/Users/user/Sites/project/node_modules/ionic/node_modules/ionic-app-lib/lib/start.js:104:16)
    at /Users/user/Sites/project/node_modules/ionic/lib/ionic/start.js:91:18
    at _fulfilled (/Users/user/Sites/project/node_modules/ionic/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (/Users/user/Sites/project/node_modules/ionic/node_modules/q/q.js:816:30)

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

$ ls -la ./project
ls: ./project: No such file or directory

What's the proper way to do this?

It seems that this was proposed and rejected in #3801.
The Angular2 CLI supports this.
Our use-case is pretty simple... we follow something close to git-flow. We start with a master branch that's just README, .gitignore, and LICENSE... from there we branch a develop branch and we init the project there.
Because ionic cli doesn't support starting a project in an existing directory, we end up having to init in another directory then we copy over all the files... it's not the end of the world, but it's extra steps that seem unnecessary.
I propose we get a warning that we're initializing in an existing directory, and after we confirm that's what we really want to do, Ionic either overwrites what's there, or doesn't overwrite existing files, or prompts file by file... doesn't really matter to me.
We do this all the time with the Angular CLI and the world hasn't ended (though I have no way of confirming that I haven't actually triggered the apocalypse... I guess it's just a risk I'm willing to take). :)

This is a feature request we're hesitant to add. In Ionic 4, we're all-in on Angular tooling, so that may mean creating schematics for ng add, which I just made an issue for: https://github.com/ionic-team/ionic-cli/issues/3369
Closing this, as it's a feature request for v3.


Failed to backup volume mounted as local using restic

What steps did you take and what happened:

minishift start
git clone https://github.com/heptio/ark
git checkout v0.9.7
oc create -f examples/common/00-prereqs.yaml
oc create -f examples/minio/
oc create -f https://git.io/fx874
oc -n nginx-example annotate pod/nginx-deployment-77d8f78fcb-c8qjr backup.ark.heptio.com/backup-volumes=nginx-logs
ark backup create nginx-backup --include-namespaces nginx-example

What did you expect to happen:
I was expecting local volume to be backed up in restic bucket. But it's failing to back up PV.
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)

kubectl logs deployment/ark -n heptio-ark

https://gist.github.com/f4eb8b92812f0788028ed22116604c45

ark backup describe nginx-backup

https://gist.github.com/d05f948e4c49429c76b1aab0b4155c95

ark backup logs nginx-backup

https://gist.github.com/01612a73dde9b145259860d9eca84b4c

kubectl logs restic-tn5v8 --namespace=heptio-ark

https://gist.github.com/9f50ec786a40d7bba233e614839e7bdc

Environment:

Ark version (use ark version):

Version: v0.9.7
Git commit: v0.9.7
Git tree state: clean

Kubernetes version (use kubectl version):

Client Version: v1.10.0
Server Version: v1.10.0+b81c8f8

Kubernetes installer & version (minishift version):

minishift v1.25.0+90fb23e

OS (e.g. from /etc/os-release):
Fedora 27

@dipak-pawar I'm fairly certain that the dynamic provisioner that Minishift uses is hostPath-based. If this is the case, that is why this isn't working. We don't support hostPath volumes for restic snapshots, as that would require us to bind mount the entire root filesystem of the node into the Ark pod. We feel this is a potential security issue, and are trying to err on the side of caution.
We'll double check and let you know.

If I'm reading https://docs.okd.io/latest/minishift/using/basic-usage.html#persistent-volumes and https://github.com/kubernetes/minikube/blob/master/docs/persistent_volumes.md correctly, it looks like Minishift is using hostPath volumes.

Had the same problem. Glad I saw this.
Was getting the specific error: error getting volume path on host: expected one matching path, got 0

Have this same problem using minikube, which seems to also use hostPath for the standard StorageClass.
Was seeing this error in the PodVolumeBackup:
error getting volume path on host: expected one matching path, got 0

@skriss we should be able to check if a volume the user asked us to back up with restic is hostPath, and if so, produce a better error. WDYT?

Yeah, I thought we were already doing that...will take a look

@skriss we do have a check for hostPath volumes, so this must be some subtle difference here

Oh, we do a check for pod.spec.volumes[i].hostPath != nil, but I bet we don't have a check for pod -> PVC -> PV (hostPath)


[DO NOT MERGE] updates OpenAI .NET SDK to allow access to public OpenAI endpoint

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

@trrwilson FYI

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AI.OpenAI


Menu list and about page implementation

Menu list and about page implementation

In this milestone I:

Implemented the about page.

Implemented the popup menu for links

Implemented show and hide menu using javascript

Project demonstration link: Click to open

Hi @AshakaE ✋,
Thank you so much for approving my project 🙏


docs: add EDK details and context around switching to utilities

Related to https://github.com/meltano/hub/issues/1115 and https://github.com/meltano/hub/pull/1135.
We didn't have anything in the docs about the EDK and why it exists. As I was writing this I thought giving the context would be helpful but let me know what you think.

@tayloramurphy thanks for the suggestions! I agree with you comment on the shims wording. Let me know if you have any other thoughts.

@aaronsteers I'd like your review on this prior to merging. Target date of Friday merge.


feat: Disable client console highlight by default

Which issue does this PR close?

Closes #.
Rationale for this change
The syntax highlight has been introduced in https://github.com/apache/arrow-datafusion/pull/8918. Thanks again @trungda
Some users is not comfortable with new syntax highlight, so the PR makes it optional. The user can enable coloring providing color flag datafusion-cli --color
For now the syntax highlight put as disabled by default, my humble vision its a little bit experimental and we may want to improve the color schema to be more smooth.

What changes are included in this PR?
introduced NoColor strategy and the color provider gets enabled by the --color flag

Are these changes tested?
Yes,  manually

Are there any user-facing changes?
No

Thank you @comphead! I should have done this myself. I guess depending on the terminal setup, the color scheme can be either smooth or not.

Thanks @trungda. I really love we started the coloring/customizing, appearance is what people buy :) and now we have all the code inside, and both users and developers can now experiment and come up with solution. It can even a factory of solutions, different schemas, etc
@alamb would you mind sharing your opinion?

Thank you @comphead! I should have done this myself. I guess depending on the terminal setup, the color scheme can be either smooth or not.

Thanks @trungda. I really love we started the coloring/customizing, appearance is what people buy :) and now we have all the code inside, and both users and developers can now experiment and come up with solution. It can even a factory of solutions, different schemas, etc
@alamb would you mind sharing your opinion?

I think this sounds like a great idea.
I would suggest filing a ticket explaining what is desired (namely come up with a color scheme that is pleasing, maybe even enough to enable by default) which may also help attract additional contributions

I also like duckdb style its not overcolored and easy to read, but yes we can implement now different highlighters.


Add 1.27 image builder status

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

/approve
/lgtm


Styleprovider doesn't seem to work on dynamically rendered components inside shadow dom

Steps to reproduce
Link to live example: (required)
Steps:

Open my example
There are four Sliders in there. One with hard-coded props and three with dynamial props.
Notice how the slider with the hard-coded props is styled correctly and the three sliders with dynamic props don't get the correct styling.

Current behavior
The styling isn't updated for dynamically rendered components.
Expected behavior
Styling to be added  for dynamically rendered components.
Context
I have a web component with styling inside the shadow dom where I want to use Material ui for styling. Inside my web component I'm making api-requests and I want to be able to set the props of my Mui coponentes, for instance the slider based on the response from the api.
Your environment

npx @mui/envinfo
  System:
    OS: macOS 14.4.1
  Binaries:
    Node: 21.0.0 - ~/.nvm/versions/node/v21.0.0/bin/node
    npm: 10.2.0 - ~/.nvm/versions/node/v21.0.0/bin/npm
    pnpm: 6.11.0 - ~/.nvm/versions/node/v21.0.0/bin/pnpm
  Browsers:
    Chrome: 123.0.6312.124
    Edge: Not Found
    Safari: 17.4.1
  npmPackages:
    @emotion/react: ^11.11.4 => 11.11.4
    @emotion/styled: ^11.11.5 => 11.11.5
    @mui/base:  5.0.0-beta.40
    @mui/core-downloads-tracker:  5.15.15
    @mui/material: ^5.15.15 => 5.15.15
    @mui/private-theming:  5.15.14
    @mui/styled-engine:  5.15.14
    @mui/system:  5.15.15
    @mui/types:  7.2.14
    @mui/utils:  5.15.14
    @types/react:  18.2.78
    react:  18.2.0
    react-dom:  18.2.0
    typescript:  4.9.5

Browser: Chrome, Version 123.0.6312.123 (Official version) (x86_64)

Search keywords: material-ui CacheProvider shadow-dom dynamically-rendered

@codeHul
Fixed check this link
The issue you're facing stems from the way the Slider components are being dynamically rendered with props. In React, when you dynamically render components in a loop, you need to ensure that each component has its own set of props.
In your code, you're using the same defaultValue and color props for all dynamically rendered Slider components. This results in all sliders having the same value and color.
To fix this issue, you need to ensure that each Slider component receives its own unique set of props. You can achieve this by accessing the specific properties of each dimensions object in the map function.
The dimensions variable inside the map callback represents each object in the dims array. Each dimensions object contains properties like color and defaultValue, which are used to customize the Slider components being rendered dynamically.

@codeHul Yes sure please share

I found it. It wasn't in preact either it was me that used preacts register function wrong. I did the mistake of registering my component with {shadow: true} and seettig my shadowContainer to the shadow root of this newly registered element. If I do more like in mui example and register with {shadow: false} and then attach shadow contenler and append shadowRootElement it works.  I will close this issue. Thanks for the help though. I appriciate it.

I realized what I was doing wrong.


IndexedDB service fails in Edge

Apparently, although spec says differently, Microsoft Edge has no getAllKeys method for IDBIndex class.
TypeError: Object doesn't support property or method 'getAllKeys'

https://github.com/dumbmatter/IndexedDB-getAll-shim


Update the Dockerfile: vim added

Why this pull request?
Vim is not installed by default, and we need vim/nano/vi to read the secret password in the container to start Jenkins.
How to fix it?
To fix that, we just need to add the two following lines:
RUN apt-get update -y
RUN apt-get install -y vim

it is printed in the logs or you can just use cat

Thanks for the hint.


Random variable and constraint labels should start with a letter

We recently added lp.dump() and lp.dumps() which has restrictions on the types of variable/constraint labels.
We currently use uuid4() for our random label generation. We could prepend v to variable labels and c to constraint labels and be automatically compliant without any loss of generality.

Closed by https://github.com/dwavesystems/dimod/pull/1213


Provide a memory StateBackendClient

Which issue does this PR close?

Closes #505.
Rationale for this change

What changes are included in this PR?

Changed the StateBackend::Standalone to StateBackend:Sled, since for standalone case, now we can provide two StateBackend, Sled and Memory.
Are there any user-facing changes?

Hi @andygrove, @thinkharderdev, @Ted-Jiang, could you help review this PR?

Thanks @thinkharderdev. I'll merge this PR, since it's also been verified on our internal cluster.


Integrate Reverse DNS lookup

[ ] IPv4 -> hostname
[ ] IPv6 -> hostname

Initial investigation:
Java's native implementation is very slow.

15s-20s to fail resolution
2-3s to successfully resolve

InetAddress.getByName(ip).getCanonicalHostName();

Investigating alternatives to speed up lookup, cache potentially needed.

Completed in #19


[Bug] fix wrong key size for AES128

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

LGTM, thanks for your contribution. @qiuyuhang

/rebase-and-merge


Establish baseline and target app launch performance targets

Gather baseline health status/targets for on-disk footprint, launch time, and post-launch working sets in:

WinObjC MinApp (HelloUI - probably should remove animation from the label though)
C# MinApp (HelloUI clone that we'll need to create)
BigApp (IWNews)

This task also tracks finding/filing more perf bugs in the app launch path.

Closing this proactive perf analysis task, we can revive this as needed for specific scenarios.


🐛 [bug] - Passwords containing %,#,// break a Jenkins pipeline

During testing ....
At the end of https://rht-labs.com/tech-exercise/#/2-attack-of-the-pipelines/3a-jenkins , this bit of the pipeline fails:
git clone https://${GIT_CREDS}@${ARGOCD_CONFIG_REPO} config-repo

with:
fatal: unable to access 'https://gitlab-ce.apps.tl500-1.ls-eu.ole.redhat.com/fulanitos/tech-exercise.git/': Port number ended with 'X'

that is likely caused by my password containing X followed by two :.

https://github.com/rht-labs/pet-battle/blob/51b673beec5b5ce70afdfd984901188ad50640a7/Jenkinsfile#L185
https://github.com/rht-labs/pet-battle/blob/51b673beec5b5ce70afdfd984901188ad50640a7/Jenkinsfile#L204

https://github.com/rht-labs/tech-exercise/blame/main/docs/5-the-deployments-strike-back/2-blue-green-deployments.md#L101
https://github.com/rht-labs/tech-exercise/blame/main/docs/5-the-deployments-strike-back/2-blue-green-deployments.md#L112
https://github.com/rht-labs/tech-exercise/blame/main/docs/5-the-deployments-strike-back/2-blue-green-deployments.md#L130

Hi, I really don't know- I just tried to locate the bits in the pipeline that failed, but I really don't have much say over that Jenkinsfile.
Personally, I'd go with making the passwords only use "trouble-free" characters. It's easier and clearer, and should prevent regressions of this issue, even if fixes are made now.

@paulbarfuss - yeah this is fiddly in Jenkins world. i agree a trouble free password - or even better a trouble free gitlab token may be easier. @springdo @ckavili - this is in the pet-battle Jenkinsfile which you have the most familiarity with - got any thoughts here. is there an easy fix ?

+100
Please add some priority to get this addressed. We don't want any environments exposed to the public internet be forced to using simple passwords because of Jenkins.

I did a bit of testing to see what options we might have for resolving this issue. In no particular order....

Use gitlab tokens

Fairly easy to create
Can be reset by the student

Url encode the gitlab password

hey @pabrahamsson .. xkcd solved this for us

one argument against gitlab tokens is that we end up creating multiple credentials for gitlab. not all learners are technical, so not having the complexity of adding token generation is appealing (this is not a "how to harden your security" course). as well, we would want to make the same changes for Tekton to be consistent.
URL encoding - i dont believe it is so simple,mainly because of the interactions between how we get users to copy-n-paste code in CRW, entering stuff on the CLI and the Jenkins shell.
my preference would be to stop doing this, infra-ansible/roles/identity-management/manage-user-password/defaults and instead have an XKCD inspired password that users can remember easily.
What Do You Think ?

@eformat I must somehow have hit submit before finishing what I wanted to share. I've updated my previous comment above.
My preference would be that we can support any type of complexity for passwords but this is also where I would like to hear from others (such as you) who are more familiar with the flow of the class.
The copy-paste example is one of those things I wasn't sure about but can see could be an issue. And also Tekton  (are complex passwords not an issue there, or we just haven't run into them?), which I haven't looked into yet (just started looking through this today).

Yeah, Tekton is actually all good - and just using single quote characters usually suffices (on the CLI) for example.
The Jenkinsfile and jenkins shell, and some of its assumptions is really whats causing this issue.
In practice, we have been resetting user passwords to "correcthorsebatterystaple" ... cause it takes 5min's in IPA !!
my first preference would be to fix the Jenkinsfile - i have tried and failed.
the people who wrote the Jenkinsfile (@springdo and @ckavili) moved to tokens originally, then we reverted it - cause is adds more complexity to the workflow !
so, here we are :)

@eformat I've taken a stab at updating the Jenkinsfile over here (and diff).
I haven't had time to test this in a tl500 environment yet but it works well with the Jenkins and Gitlab instances I have used for testing. Thoughts?

thanks petter @pabrahamsson  .. i have started to test this out

rather annoyingly, the first password i try - cannot login to gitlab web (works ok on CLI and logging into OCP) via ldap
this is another sort of failure !
@This#Is//Not\\My,P@ssw0rd.

OK @pabrahamsson .. after a bit of messing about .. this seems to fail on the clone when using the following details - can you see anything obviously wrong here ?
user specific details:
user: student3
password: @This#Is//Not\\My,P@ssw0rd.

build log in jenkins, i have obfuscated the full url as i am giving creds above, but it is the correct url:

the gitlab project 'test-repo' is set to "Internal" so you must login, and i can view it OK from gitlab webui as 'student3' who is an owner:

my Jenkinsfile has this in it as per your change using 'withCredentials'
        stage('test creds') {
            steps {
                withCredentials([gitUsernamePassword(credentialsId: "${OPENSHIFT_BUILD_NAMESPACE}-git-auth", gitToolName: 'Default')]) {
                    sh  '''
                        printenv
                        rm -rf test-repo
                        git clone https://${REPO}
                        cd test-repo
                        git checkout master
                        echo "foobar" >> README.md
                        # Commit the changes :P
                        git config --global user.email<EMAIL_ADDRESS>                        git config --global user.name "Jenkins"
                        git config --global push.default simple
                        git add README.md
                        git commit -m "🚀 AUTOMATED COMMIT - Deployment of ${APP_NAME} at version ${VERSION} 🚀" || rc=$?
                        git remote set-url origin  https://${REPO}
                        git push -u origin master
                    '''
                }
            }
        }

I can login to OCP, GitLab OK from CLI and Web.
The git-auth secret looks OK in ArgoCD and from CLI, so sealed secret working
$ oc whoami
student3

$ oc -n ${TEAM_NAME}-ci-cd get secret git-auth -o jsonpath='{.data.username}' | base64 -d
student3

$ oc -n ${TEAM_NAME}-ci-cd get secret git-auth -o jsonpath='{.data.password}' | base64 -d
@This#Is//Not\\My,P@ssw0rd.

Secret has been synced into Jenkins (based on the label) OK

and checking the Jenkins script console ... password actually looks OK, so could be the withCredentials plugin perhaps

hey @pabrahamsson .. xkcd solved this for us

for reference, we could optionally set an "xkcd" type password here:
https://github.com/eformat/infra-ansible/blob/main/roles/identity-management/manage-user-password/tasks/generate-password.yml#L9
Using:
https://docs.ansible.com/ansible/latest/collections/community/general/random_words_lookup.html
based on https://github.com/redacted/XKCD-password-generator
ansible
- name: Generate password with six, five character, words
  ansible.builtin.debug:
    var: lookup('community.general.random_words', min_length=5, max_length=5)
  # Example result: 'brink banjo getup staff trump comfy'

shell
$ xkcdpass --count=5 --acrostic='devops' --delimiter='|' --min=5 --max=6 --valid-chars='[a-z]'
dimple|enrage|venue|outage|pasty|sprang
ditzy|errand|viper|ounce|paced|sesame
depose|equity|violin|olive|phoney|snuff
decal|emcee|valium|octane|prissy|stray
deploy|editor|visor|output|patchy|salute


Added sf::Sprite and sf::Texture overload for ImageButton

Maybe you are interested in my changes:
I have added sfml overloads for ImageButton (does not work otherwise for me).
Some other minor modifications, notable: If using ImGui::Image with only a sf::Sprite the the size of the sprite is taken (e.g. is uses now the scale of the sprite) I think for sprites this is more logical, for sf::Textures everything stays like it is.

Thank you! That's something I really needed myself, but wanted to implement later.
Your overloads work as intended. And using sprite's global bounds is pretty neat idea.