[fix] undefined method `scan' for nil:NilClass in convert_to_lines

Coverage decreased (-0.02%) to 79.562% when pulling 1d088652a4bf21a874730a3602a849ec924f3867 on ShinjiTanimoto:inquiry into af6a8b7c2a0f5dda71793281c5dfb9f75ac918c1 on shirasagi:master.


atom plugin not working on ubuntu

luis@luisrudge-ubuntu  ~/code/   master  att
zsh: command not found: at

@luisrudge Did you install the shell commands in atom?

I only installed the .deb package. I have to install something else? Sorry, I'm a linux newbie :|

You don't actually need the atom plugin. Just call atom and it should open fine.

Fixed in https://github.com/robbyrussell/oh-my-zsh/pull/4342

Please close

Atom plugin removed in https://github.com/robbyrussell/oh-my-zsh/commit/0516a39dec64568f6db194d143a0ae2969c3cf9b


[release-1.16] Fix trafficPolicyTLSModeForPort() func cause pilot push XDS panic

This is an automated cherry-pick of #42599

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-istiodremote-mc_istio_release-1.16
a200344016caaadf9895342c3f3738629bc5bb67
link
unknown
/test integ-pilot-istiodremote-mc

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Test stuff

Fixes #

@armanio123 Here are the results of running the top-repos suite comparing main and refs/pull/2/merge:
Something interesting changed - please have a look.

Details
Request seq: 4391 - completionInfo
Req #4391 - completionInfo
at Object.addImportFromExportedSymbol (/typescript-52651/built/local/tsserver.js:140793:13)
at /typescript-52651/built/local/tsserver.js:146513:38
at importSymbols (/typescript-52651/built/local/tsserver.js:146513:11)
at Object.addNewNodeForMemberSymbol (/typescript-52651/built/local/tsserver.js:145946:11)
at getEntryForMemberCompletion (/typescript-52651/built/local/tsserver.js:148372:22)
at createCompletionEntry (/typescript-52651/built/local/tsserver.js:148269:64)
at getCompletionEntriesFromSymbols (/typescript-52651/built/local/tsserver.js:148808:19)
at completionInfoFromData (/typescript-52651/built/local/tsserver.js:147936:23)
at Object.getCompletionsAtPosition (/typescript-52651/built/local/tsserver.js:147758:24)
at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition]
(/typescript-52651/built/local/tsserver.js:134880:35)
at IOSession.getCompletions (/typescript-52651/built/local/tsserver.js:178378:54)
at completionInfo (/typescript-52651/built/local/tsserver.js:176789:43)
at /typescript-52651/built/local/tsserver.js:179142:69
at IOSession.executeWithRequestId (/typescript-52651/built/local/tsserver.js:179134:14)
at IOSession.executeCommand (/typescript-52651/built/local/tsserver.js:179142:29)
at IOSession.onMessage (/typescript-52651/built/local/tsserver.js:179184:51)
at Interface.<anonymous> (/typescript-52651/built/local/tsserver.js:180728:14)

Affected repos

codex-team/editor.js
Raw error text: RepoResults4/codex-team.editor.js.rawError.txt in the artifact
folder
Last few requests
{"seq":4388,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/components/modules/toolbar/inline.ts","line":331,"offset":1,"entryNames":["_"]}}
{"seq":4389,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/components/modules/toolbar/inline.ts","line":391,"offset":14,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":4390,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/components/modules/toolbar/inline.ts","line":391,"offset":14,"entryNames":["_"]}}
{"seq":4391,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/components/modules/toolbar/inline.ts","line":425,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}}

Repro Steps

git clone https://github.com/codex-team/editor.js --recurse-submodules
In dir editor.js, run
git reset --hard 551e3f10b92cf5f5bb4fbd95ac504a815526dc18

Install packages (exact steps are below, but it might be easier to follow the
repo
readme)

In dir editor.js/example/tools/checklist, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/code, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/delimiter, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/embed, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/header, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/image, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/inline-code, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/link, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/list, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/marker, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/nested-list, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/quote, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/raw, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/simple-image, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/table, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/text-variant-tune, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/example/tools/warning, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js, run
yarn install --ignore-engines --ignore-scripts --silent

In dir editor.js/src/tools/paragraph, run
yarn install --ignore-engines --ignore-scripts --silent

Back in the initial folder, download
RepoResults4/codex-team.editor.js.replay.txt from
the artifact
folder

npm install --no-save @typescript/server-replay
npx tsreplay ./editor.js ./codex-team.editor.js.replay.txt path/to/tsserver.js

npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typeorm/typeorm
Raw error text: RepoResults2/typeorm.typeorm.rawError.txt in the artifact
folder
Last few requests
{"seq":2191,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/src/query-builder/DeleteQueryBuilder.ts"}},"skipDestructiveCodeActions":true}}
{"seq":2192,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":2193,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/query-builder/DeleteQueryBuilder.ts","line":19,"offset":15}}
{"seq":2194,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/query-builder/DeleteQueryBuilder.ts","line":37,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}}

Repro Steps

git clone https://github.com/typeorm/typeorm --recurse-submodules
In dir typeorm, run
git reset --hard adce6985d899dac29f174e6c828e3042cbea6bdc

Back in the initial folder, download RepoResults2/typeorm.typeorm.replay.txt
from
the artifact
folder
npm install --no-save @typescript/server-replay
npx tsreplay ./typeorm ./typeorm.typeorm.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

Server exited prematurely with code unknown and signal SIGABRT
Server exited prematurely with code unknown and signal SIGABRT

Affected repos

backstage/backstage
Raw error text: RepoResults4/backstage.backstage.rawError.txt in the artifact
folder
Last few requests
{"seq":6466,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/src/database/DefaultProviderDatabase.test.ts","line":335,"offset":22}}
{"seq":6467,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/src/database/DefaultProviderDatabase.test.ts","line":400,"offset":25,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":6468,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/src/database/DefaultProviderDatabase.test.ts","line":400,"offset":25,"entryNames":["applyDatabaseMigrations"]}}
{"seq":6469,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/plugins/catalog-backend/src/database/DefaultProviderDatabase.test.ts","line":580,"offset":35}}

Repro Steps

git clone https://github.com/backstage/backstage --recurse-submodules
In dir backstage, run
git reset --hard 2db93700fe9cc19a7db4f0711544b0c189aefeba

Install packages (exact steps are below, but it might be easier to follow the repo
readme)

In dir backstage/cypress, run
yarn install --no-immutable --mode=skip-build

In dir backstage/microsite-next, run
yarn install --no-immutable --mode=skip-build

In dir backstage/microsite, run
yarn install --no-immutable --mode=skip-build

In dir backstage, run
yarn install --no-immutable --mode=skip-build

In dir backstage/storybook, run
yarn install --no-immutable --mode=skip-build

Back in the initial folder, download RepoResults4/backstage.backstage.replay.txt
from the
artifact
folder

npm install --no-save @typescript/server-replay
npx tsreplay ./backstage ./backstage.backstage.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

This looks really good!!

@armanio123 Here are the results of running the user test suite comparing main and refs/pull/2/merge:
Unfortunately, something went wrong, but it probably wasn't caused by your change.

Details
:warning: Old server errors :warning:

Error: Old Error 1
Req #4 - getOutliningSpans
    at IOSession.getOutliningSpans (\typescript-main\built\local\tsserver.js:179250:13)
    at getOutliningSpans (\typescript-main\built\local\tsserver.js:177767:43)
    at \typescript-main\built\local\tsserver.js:180176:69
    at IOSession.executeWithRequestId (\typescript-main\built\local\tsserver.js:180168:14)
    at IOSession.executeCommand (\typescript-main\built\local\tsserver.js:180176:29)
    at IOSession.onMessage (\typescript-main\built\local\tsserver.js:180218:51)
    at Interface.<anonymous> (\typescript-main\built\local\tsserver.js:181762:14)

Repos no longer reporting the error

adonis-framework
bluebirdgraceful-fs
lodash
npmlog

Error: Old Error 2
Req #4 - getOutliningSpans
    at IOSession.getOutliningSpans (\typescript-main\built\local\tsserver.js:179248:13)
    at getOutliningSpans (\typescript-main\built\local\tsserver.js:177767:43)
    at \typescript-main\built\local\tsserver.js:180176:69
    at IOSession.executeWithRequestId (\typescript-main\built\local\tsserver.js:180168:14)
    at IOSession.executeCommand (\typescript-main\built\local\tsserver.js:180176:29)
    at IOSession.onMessage (\typescript-main\built\local\tsserver.js:180218:51)
    at Interface.<anonymous> (\typescript-main\built\local\tsserver.js:181762:14)

Repos no longer reporting the error

uglify-jszone.js

Error: This is error 1
Req #5 - navto
    at IOSession.getNavigateToItems (\typescript-2\built\local\tsserver.js:179673:13)
    at navto (\typescript-2\built\local\tsserver.js:177937:43)
    at \typescript-2\built\local\tsserver.js:180179:69
    at IOSession.executeWithRequestId (\typescript-2\built\local\tsserver.js:180171:14)
    at IOSession.executeCommand (\typescript-2\built\local\tsserver.js:180179:29)
    at IOSession.onMessage (\typescript-2\built\local\tsserver.js:180221:51)
    at Interface.<anonymous> (\typescript-2\built\local\tsserver.js:181765:14)

Affected repos

acorn
Raw error text: out\acorn.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test acorn
Back in the initial folder, download out\acorn.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./acorn ./acorn.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

async
Raw error text: out\async.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test async
Back in the initial folder, download out\async.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./async ./async.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

clear-require
Raw error text: out\clear-require.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test clear-require
Back in the initial folder, download out\clear-require.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./clear-require ./clear-require.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

minimatch
Raw error text: out\minimatch.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test minimatch
Back in the initial folder, download out\minimatch.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./minimatch ./minimatch.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

url-search-params
Raw error text: out\url-search-params.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test url-search-params
Back in the initial folder, download out\url-search-params.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./url-search-params ./url-search-params.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

Error: Test error message.
Req #9 - completionInfo
    at IOSession.getCompletions (\typescript-2\built\local\tsserver.js:179400:13)
    at completionInfo (\typescript-2\built\local\tsserver.js:177831:43)
    at \typescript-2\built\local\tsserver.js:180179:69
    at IOSession.executeWithRequestId (\typescript-2\built\local\tsserver.js:180171:14)
    at IOSession.executeCommand (\typescript-2\built\local\tsserver.js:180179:29)
    at IOSession.onMessage (\typescript-2\built\local\tsserver.js:180221:51)
    at Interface.<anonymous> (\typescript-2\built\local\tsserver.js:181765:14)

Affected repos

npm
Raw error text: out\npm.rawError.txt in the artifact folder
Last few requests
{"seq":6,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/bin/npx-cli.js"}},"skipDestructiveCodeActions":false}}
{"seq":7,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":8,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/bin/npx-cli.js","textChanges":[{"newText":" //comment","start":{"line":1,"offset":20},"end":{"line":1,"offset":20}}]}],"closedFiles":[],"openFiles":[]}}
{"seq":9,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/bin/npx-cli.js","line":36,"offset":17,"includeExternalModuleExports":false,"triggerKind":1}}

Repro steps

git clone https://github.com/npm/cli.git --recurse-submodules
In dir npm, run git reset --hard 434b461e4c15513817eaec6acfe82c7814789c85
Back in the initial folder, download out\npm.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./npm ./npm.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

TypeScript-React-Native-Starter
Raw error text: out\TypeScript-React-Native-Starter.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/ExampleProject/__tests__/App.tsx","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":4,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/ExampleProject/__tests__/App.tsx","textChanges":[{"newText":" //comment","start":{"line":1,"offset":23},"end":{"line":1,"offset":23}}]}],"closedFiles":[],"openFiles":[]}}
{"seq":5,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/ExampleProject/__tests__/App.tsx","line":5,"offset":59,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}}

Repro steps

git clone https://github.com/Microsoft/TypeScript-React-Native-Starter.git --recurse-submodules
In dir TypeScript-React-Native-Starter, run git reset --hard 4395b5b4adf3bbc28d1f939ab44be4e6bc6d02ff
Back in the initial folder, download out\TypeScript-React-Native-Starter.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./TypeScript-React-Native-Starter ./TypeScript-React-Native-Starter.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

Error: This is error 0
Req #5 - navto
    at IOSession.getNavigateToItems (\typescript-2\built\local\tsserver.js:179671:13)
    at navto (\typescript-2\built\local\tsserver.js:177937:43)
    at \typescript-2\built\local\tsserver.js:180179:69
    at IOSession.executeWithRequestId (\typescript-2\built\local\tsserver.js:180171:14)
    at IOSession.executeCommand (\typescript-2\built\local\tsserver.js:180179:29)
    at IOSession.onMessage (\typescript-2\built\local\tsserver.js:180221:51)
    at Interface.<anonymous> (\typescript-2\built\local\tsserver.js:181765:14)

Affected repos

clone
Raw error text: out\clone.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test clone
Back in the initial folder, download out\clone.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./clone ./clone.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

content-disposition
Raw error text: out\content-disposition.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test content-disposition
Back in the initial folder, download out\content-disposition.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./content-disposition ./content-disposition.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

debug
Raw error text: out\debug.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test debug
Back in the initial folder, download out\debug.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./debug ./debug.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

enhanced-resolve
Raw error text: out\enhanced-resolve.rawError.txt in the artifact folder
Last few requests
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":true,"includePackageJsonAutoImports":"auto","includeCompletionsForImportStatements":true,"includeCompletionsWithSnippetText":true,"includeAutomaticOptionalChainCompletions":true,"includeCompletionsWithInsertText":true,"includeCompletionsWithClassMemberSnippets":true,"allowIncompleteCompletions":true,"includeCompletionsForModuleExports":false},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":false}}
{"seq":4,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test enhanced-resolve
Back in the initial folder, download out\enhanced-resolve.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./enhanced-resolve ./enhanced-resolve.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

follow-redirects
Raw error text: out\follow-redirects.rawError.txt in the artifact folder
Last few requests
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/index.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":5,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test follow-redirects
Back in the initial folder, download out\follow-redirects.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./follow-redirects ./follow-redirects.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

fp-ts
Raw error text: out\fp-ts.rawError.txt in the artifact folder
Last few requests
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":true,"includePackageJsonAutoImports":"auto","includeCompletionsForImportStatements":true,"includeCompletionsWithSnippetText":true,"includeAutomaticOptionalChainCompletions":true,"includeCompletionsWithInsertText":true,"includeCompletionsWithClassMemberSnippets":true,"allowIncompleteCompletions":true,"includeCompletionsForModuleExports":false},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/dtslint/index.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/dtslint/index.d.ts"}},"skipDestructiveCodeActions":true}}
{"seq":4,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

git clone https://github.com/gcanti/fp-ts.git --recurse-submodules
In dir fp-ts, run git reset --hard 2ce18c53604ad772937f4d3281d3590a17d70a95
Back in the initial folder, download out\fp-ts.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./fp-ts ./fp-ts.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc

util
Raw error text: out\util.rawError.txt in the artifact folder
Last few requests
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":true,"includePackageJsonAutoImports":"auto","includeCompletionsForImportStatements":true,"includeCompletionsWithSnippetText":true,"includeAutomaticOptionalChainCompletions":true,"includeCompletionsWithInsertText":true,"includeCompletionsWithClassMemberSnippets":true,"allowIncompleteCompletions":true,"includeCompletionsForModuleExports":false},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"getOutliningSpans","arguments":{"file":"<EMAIL_ADDRESS>{"seq":4,"type":"request","command":"navto","arguments":{"searchValue":"a","maxResultCount":256}}

Repro steps

Download user test util
Back in the initial folder, download out\util.replay.txt from the artifact folder
npm install --no-save @typescript/server-replay
npx tsreplay ./util ./util.replay.txt path/to/tsserver.js
npx tsreplay --help to learn about helpful switches for debugging, logging, etc


[feature/JENKINS-35886] Remove check whether expanded was changed sinc…

…e it collapses in case of links
see https://issues.jenkins-ci.org/browse/JENKINS-35886.

:bee: AFAICT, the logic and/or failure cases are still a bit fuzzy to me. probably should have at least a negative/positive test for this...

🐝


Feature/Support setting tag to a optional word

Say we have sample sentence like this:
[GetWiki]
what is []{name}
If we speak what is car, car would be tagged with {name} , or if we speak what is a dolar , dolar would be tagged as {name}, which we could use for latter processing. I am aware of making rules or slot list, but my point is how we can make rhasspy recognize that 'optional' word.

Have a look at https://rhasspy.readthedocs.io/en/latest/training/#language-model-mixing, it might be what you are after.


FPN error in train on own dataset

❓ Questions and Help
Hi:
I am trying to compare this project with Detectron on my own dataset. I am interested in whether it can be faster and less memory assumption during inference.
The dataset is COCO style.
The config is e2e_mask_rcnn_X_101_32x8d_FPN_1x_caffe2.yaml.
The NGPUS =4.
Like Detectron, i softlink the dataset and change the ROI_BOX_HEAD.NUM_CLASSES = 2 (1 more from backround). Adjust the LR,MAX_ITER usual staff.
run with
python -m torch.distributed.launch --nproc_per_node=4 tools/train_net.py --config-file "/data/ubuntu/github/maskrcnn-benchmark/configs/2JiYe/e2e_mask_rcnn_X_101_32x8d_FPN_1x.yaml"
But, it give errors during  FPN forward process:
2018-11-12 20:53:49,427 maskrcnn_benchmark.trainer INFO: Start training Traceback (most recent call last):   File "tools/train_net.py", line 170, in <module>     main()   File "tools/train_net.py", line 163, in main     model = train(cfg, args.local_rank, args.distributed)   File "tools/train_net.py", line 73, in train     arguments,   File "/data/ubuntu/github/maskrcnn-benchmark/maskrcnn_benchmark/engine/trainer.py", line 65, in do_train     loss_dict = model(images, targets)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__     result = self.forward(*input, **kwargs)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/parallel/deprecated/distributed.py", line 222, in forward     return self.module(*inputs[0], **kwargs[0])   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__     result = self.forward(*input, **kwargs)   File "/data/ubuntu/github/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 49, in forward     features = self.backbone(images.tensors)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__     result = self.forward(*input, **kwargs)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/container.py", line 92, in forward     input = module(input)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__     result = self.forward(*input, **kwargs)   File "/data/ubuntu/github/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/fpn.py", line 62, in forward     last_inner = inner_lateral + inner_top_down RuntimeError: The size of tensor a (51) must match the size of tensor b (52) at non-singleton dimension 2 Traceback (most recent call last):   File "tools/train_net.py", line 170, in <module>     main()   File "tools/train_net.py", line 163, in main     model = train(cfg, args.local_rank, args.distributed)   File "tools/train_net.py", line 73, in train     arguments,   File "/data/ubuntu/github/maskrcnn-benchmark/maskrcnn_benchmark/engine/trainer.py", line 65, in do_train     loss_dict = model(images, targets)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__     result = self.forward(*input, **kwargs)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/parallel/deprecated/distributed.py", line 222, in forward     return self.module(*inputs[0], **kwargs[0])   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__     result = self.forward(*input, **kwargs)   File "/data/ubuntu/github/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 49, in forward     features = self.backbone(images.tensors)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__     result = self.forward(*input, **kwargs)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/container.py", line 92, in forward     input = module(input)   File "/data/ubuntu/anaconda2/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__     result = self.forward(*input, **kwargs)   File "/data/ubuntu/github/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/fpn.py", line 62, in forward     last_inner = inner_lateral + inner_top_down RuntimeError: The size of tensor a (51) must match the size of tensor b (52) at non-singleton dimension 2
Any ideals? I am not sure where the problem is, cause the dataset should be fine, and the num of class is correct. I don't know why there is a problem during the FPN forward calculation.
May be i miss something here.
Any suggestions are welcome.

Hi,
You need to specify a SIZE_DIVISIBILITY in the config for FPN, see for example how it's done for FPN here.
Indeed, FPN requires the input size to have a particular size (because it upsamples the intermediate feature maps by a fixed size).
I'm closing this issue because the solution should be simple, but let us know if you have further questions


[AIRFLOW-2818] Handle DAG File with Upper Case Extension

JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-2818
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a JIRA issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

In current design, when trying to identify and list Python files, case is not considered.
Only DAG files with '.py' will be identified, while files ending with '.PY' or '.Py', or '.pY' will be missed. However, it is allowed to have capital case file extension in all file systems.
The solution is simply applying .lower().
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #3662 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3662      +/-   ##
==========================================
+ Coverage   77.49%   77.51%   +0.02%
==========================================
  Files         205      205
  Lines       15747    15747
==========================================
+ Hits        12203    12207       +4
+ Misses       3544     3540       -4

Impacted Files
Coverage Δ

airflow/models.py
88.58% <100%> (+0.04%)
:arrow_up:

airflow/utils/dag_processing.py
89.87% <100%> (ø)
:arrow_up:

airflow/plugins_manager.py
92.59% <100%> (ø)
:arrow_up:

airflow/jobs.py
82.74% <0%> (+0.26%)
:arrow_up:

Continue to review full report at Codecov.

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

I'm of two minds on this one: one the one hand this might be annoying.
But on the other hand: this is how python works. If you have a foo.PY python will not find it:
# cat<<EOF > foo.PY
print("hi upper case")
EOF
# python -m foo
/usr/local/bin/python: No module named foo
# cat<<EOF > foo.py
print("hi lower case")
EOF
# python -m foo
hi lower case

Hi @ashb , got your point.
But to my understanding, Airflow is using Python built-in package imp to import DAG files, which would work for uppercase extension python scripts.
Using the examples you provided above.
>>> import imp
>>> imp.load_source("test", "foo.PY")
hi upper case
<module 'test' from 'foo.PY'>

import imp
>>> imp.load_source("test", "foo.py")
hi lower case
<module 'test' from 'foo.py'>

or even
>>> imp.load_source("test", "foo.Py")
hi mixed case
<module 'test' from 'foo.Py'>

So Airflow itself can accept & import DAG file with extension containing UPPER cases. However due to the reason I described earlier, Airflow ignores and misses them. To users, this issue may be very misleading, because python foo.PY (NOT python -m foo.PY) would definitely work.

Hi @ashb , on top of my last explanation, I have also done a local testing. Double-confirmed that after making the changes I'm proposing in this PR, DAG files with Uppercase extension (.PY, .pY, or .Py) can be identified and imported properly.
It does fix the issue.
Hope this can address your concern. Thanks.

Hi @ashb , may you take another look at this and let me know your thoughts?
Thanks!


MultiprocessVectorEnv blocked forever

Hi, I've noticed that sometimes, when running more than one multiprocessed agent the program is blocked forever because of the line results = [remote.recv() for remote in self.remotes]  under MultiprocessVectorEnv . Do you have any workaround for that?

Update: it also happened when training a single agent with 16 envs on a 24-core CPU.


Add kkumail domain

Khon Kaen University
Website: https://www.kku.ac.th
Student mail domain: @kkumail.com

@sukitz I am sorry, the domain kkumail.com is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Velocity errors

Today i tried installing your plugins but both are not working, and i do not now why.
I am currently using Velocity #149 on a Ubuntu 18.04 LTS os with openjdk version "1.8.0_212" as the java runtime
Here is the server log: https://rentry.co/t6e86
Hope this helps you since i would really like to try out your plugins :)

okay, so this is a tiny bit strange, but..
these plugins use Aikar's ACF for command handling. Problem is, the Velocity module for this library accidentally includes the entirety of (an older version) of Velocity which hasn't yet updated to Kyori text version 3 like the release version of Velocity has.
So, when this plugin downloads and injects ACF into its ClassLoader container it also injects an older version of the entire Velocity API and tries to use that instead of the actual server.
The good news:
I made a PR to ACF here which fixes this issue entirely. The moment that PR is merged and the snapshot is updated on Aikar's repo, the plugin will automatically download and use the new version of that library without you or I needing to do any updating or maintenance at all. Magical!
So, do me and everyone else a favor and help me get that PR merged and an updated version on Aikar's repository ;)

Labeling as "wontfix" because I can't do any more to solve this issue by myself and I won't need to update the plugin once the new version of that library is released anyway.

As an aside, for now you can download a version I built from that branch and replace the current file in AntiVPN/external
https://files.egg82.ninja/download.php?id=2&token=idwqSTekMGmSXTJ6uoYAYjYfES1kqK6B


8BitDo Pro 2 not being recognized

Describe the bug
8bitdo pro 2 controller not recognized by game. It's definitely connected to the computer but the game doesn't pick it up.
 I can't solve it.


Add NIP-46

I'm attempting to add NIP-46 to this library. Please forgive any imperfect dart code or blatant mistakes, I began learning flutter/dart last week 😅
I plan to focus on "Signer" functionality first, with "App" functionality to come later.
NIP-46 - https://github.com/nostr-protocol/nips/blob/master/46.md
Typescript implementation - https://github.com/nostr-connect/connect
Sample App implementation - https://nostr-connect.github.io/connect/

Hey that's great! In fact, I was also thinking about implementing a Nostr-connect signer in Flutter when I came across a workshop of tiero where he was discussing about the Nostr-connect SDK. I think there seems to be a lot of stuff to implement related to Nip-46 in this lib. Also, I noticed in your initial commit, you did make the file format appropriate by separating the implementation logic with the interfaces, but then removed it further, maybe because of development purposes I think.
Also, as Nip-46 mentions that the Signer app will send back a signed message as defined in Nip-26 delegation token, I think we also need to implement Nip-26 for that. Are you also implementing Nip-26 for performing and checking for delegation?

For now, I was going to try and keep the scope limited to the required methods (describe, get_public_key, sign_event), though it doesn't seem like too big a lift to add the rest at the same time.
I was having issues with the separate abstract classes/implementation logic, I think this is due to me not being familiar with this pattern and making some novice dart mistakes. I was going to attempt to get things functional, and then focus on cleaning it up to match the existing patterns.
If you have any other ideas or a better approach to implement this, feel free critique my PR or push any commits to it.
I'll be mostly idle on this PR until next week, my plan is to spin up a new flutter repo with the goal of building a simple "Signer" app that leverages your nostr-tools lib to do key management and remote signing 🙂

Wow, that sounds like a great idea to build a simple "Signer" app. It will be interesting to see how you leverage nostr_tools to do key management and remote signing.
If you run into any issues or have any questions, please don't hesitate to reach out. I'll also keep an eye on the PR and let you know if I have any feedback or suggestions.

Keep an eye on https://github.com/greenart7c3/Amber


Enable full round-trip testing

Now that Kokoro is set-up we can enable a full round-trip test with DRC checks and bitstream generation.

This is now enabled. Closing


TM1637 0.56" does not work with NodeMCU

Hello Pawel, I have a question:
I have two TM1637 0.56 LED Display; They work with Arduino Uno but they don't work with ESP8266 NodeMCU. They even light up the red LED on the back of the board but the screen doesn't light up; Do you have any tip? Thanks

I have never tried using TM1637 with NodeMCU and unfortunately don't know how to make it work or why it doesn't work. Sorry!


Feature Request: 1.15 speed

I find 1.0 speed too slow, and 1.25 too fast. Wondering if we could have the option to set the speed manually or have a 1.15 option? Thanks.

You can modify the plugin's settings file to customize the playback speed. The settings file is located at .obsidian/plugins/aloud-tts/data.json:
{
  "OPENAI_API_KEY": "sk-you_api_key",
  "OPENAI_API_URL": "",
  "model": "tts-1",
  "ttsVoice": "nova",
  "chunkType": "sentence",
  "playbackSpeed": 1.15,
  "cacheDurationMillis": 10000,
  "cacheType": "local",
  "showPlayerView": "always"
}

You can set the playbackSpeed to any speed you want. After saving the data.json file, restart your obsidian app, the speed rate should be taken effect.

Actually, it would be easier for most users if the extension can provide hotkeys to speed up and down by increasing the speed rate by 0.1 and provide a UI like the picture below.


Add option to disable greenlight in application authentication

In order to enable an authentication provider and disable the in application authentication at the same time.
use 'false' with quotes as it gets interpreted as a boolean resulting in true -> True and false -> False.
Greenlight seems to compare ALLOW_GREENLIGHT_ACCOUNTS==true.
Using false or False is always false but True is not equal true here and results in disabling it too which isnt intuitive. Hopefully prevent that by having quotes in the example.

Thinking about it im not sure this is useful in a basic role.
As you probably require an admin account you will need the Greenlight account login at first. Then you are able to give the admin role to an account logged in from another authentication provider. Only then you can safely disable the Greenlight accounts.
Doing so might be better of by another task seperate from this basic setup.
Other thoughts on this?

Thinking about it im not sure this is useful in a basic role.
As you probably require an admin account you will need the Greenlight account login at first. Then you are able to give the admin role to an account logged in from another authentication provider. Only then you can safely disable the Greenlight accounts.
Doing so might be better of by another task seperate from this basic setup.
Other thoughts on this?

No, I think this is a good addition. In that case you could just deploy it with ALLOW_GREENLIGHT_ACCOUNTS=true and then later disable it, after you created an account.


Support Compose file version 2 (for runtime: nvidia)

Description
It would be useful to support Compose file version 2. The use-case would be to use runtime: nvidia to access the local GPUs from docker-compose services containers.
(runtime option is not supported on Compose file version 3, see https://github.com/docker/compose/issues/5360#issuecomment-354354667)
Steps to reproduce the issue:

docker-compose.yaml with version: '2.4'
docker-app init foo
docker-app render

Describe the results you received:
Error: failed to load Compose file: unsupported Compose file version: 2.4
Describe the results you expected:
docker-app render works with Compose file version 2.
Output of docker-app version:
Version:      v0.2.0
Git commit:   854872f
Build time:   2018-06-11T15:06:17.093522032+00:00
OS/Arch:      linux/amd64
Experimental: off
Renderers:    none

@thomas-riccardi On our systems (researcher machines, and GPU cluster nodes) we've worked around the removal of the runtime setting by changing the default runtime to nvidia
// Snippet from "/etc/docker/daemon.json" on my machine
{
  // ...
  "default-runtime": "nvidia",
  "runtimes": {
    "nvidia": {
      "path": "/usr/bin/nvidia-container-runtime",
      "runtimeArgs": []
    }
  }
}

We use nvidia-docker2 on all systems.

I'm a bit hesitant to add support for the V2 compose file format; the V2 format has various features that are targeted at local development, and can be non-portable, thus problematic when deploying an application.
Adding runtime support to the V3 compose-file format could be possible, but we'd have to look carefully at this option, because there's some work to be done from an orchestrator perspective;

"runtimes" (as visible in the daemon.json example above) are a custom option that's set on the daemon; in other words; I can add any runtime in the daemon configuration, and call it nvidia (the name is a custom name). This means that there's no guarantee that the nvidia runtime actually is the nvidia runtime. Could be ok if documented as such, but at least something to take into account.
Orchestrators need access to the list of available runtimes on each daemon in the cluster so that containers will only be scheduled on a daemon that has the specified runtime

Orthogonal, but specific to the use-case here; there's still discussion around "how" to expose GPUs to containers; the nvidia "runtime" is currently a thin wrapper around the default runc runtime. In future it may not be needed to have this wrapper (an make this work out of the box) (should not be a blocker for implementing --runtime for orchestrated services though, as there are other use-cases for this as well (think of gVisor or clear/kata containers)

/cc @3XX0 @flx42 The lack of runtime selection is going to create portabity issues when you build images on the same machine with docker compose with GPU cause it requires mandatory default Nvidia runtime.
See https://github.com/NVIDIA/nvidia-docker/issues/856

I also referenced this issue at https://github.com/docker/compose/issues/6239

@thaJeztah Would it be possible to have a "runtimes" section like there are "volumes" and "networks" sections? I imagine something like this:
services:
  gpu-analytic:
    image: foobar:latest
    runtime: nvidia

runtimes:
  nvidia:
    path: /usr/bin/nvidia-container-runtime,
    args:
      - FOO:bar

Modifying /etc/docker/daemon.json on every machine seems decided un-portable, in my opinion.

Modifying /etc/docker/daemon.json on every machine seems decidedly un-portable, in my opinion.

Taking that approach would assume that every machine in the cluster would be able to have /usr/bin/nvidia-container-runtime installed, and should take the same arguments; that assumption cannot be made, as a cluster may include nodes with, and without the nvidia runtime installed.
Can you elaborate why configuring the engine/daemon as part of the installation process for the nvidia runtime is not a suitable approach?

@thaJeztah E.g. what about when you want to run only some of the containers with the nvidia runtime?

Can you elaborate why configuring the engine/daemon as part of the installation process for the nvidia runtime is not a suitable approach?

What if you do not want the nvidia runtime as the default runtime? Unfortunately I do not know enough about the inner workings to know what sort of tradeoffs are involved with setting the default runtime to nvidia if you are not running GPU jobs (just because the machine has GPU and docker, doesn't mean it's only running gpu-job containers). But I do know more software engaged == more things to possibly break, so it seems to me that setting all containers to default to nvidia is not the most optimal. It would be nice to define the runtime parameters in daemon.json but have the default be regular runtime, and specify in dc.yml which runtime to use.

Taking that approach would assume that every machine in the cluster would be able to have /usr/bin/nvidia-container-runtime installed, and should take the same arguments; that assumption cannot be made, as a cluster may include nodes with, and without the nvidia runtime installed.

I see your point about portability, putting the hard path in compose could be limiting. But... that's still no guarantee of portability. E.g. I have containers which can't run on nvidia >400, and 3 machines with 1080's on 3XX drivers and a 2080ti that's on 410.
I think a possible solution might be the generic resource field, but as of docker-compose==1.23.2 and version: 3.7, this does not work:
version: '3.7'
services:
  algo:
    image: "nvidia/cuda:9.0-base"
    generic-resource:
    - gpu: 1

If docker-app choose to limit docker-app to version 3.x it is a design choice to drive development towards Swarm. CNAB itself has no such goals.

CNAB is not a platform-specific tool. While it uses containers for encapsulating installation logic, it remains un-opinionated about what cloud environment it runs in. CNAB developers can bundle applications targeting environments spanning IaaS (like OpenStack or Azure), container orchestrators (like Kubernetes or Nomad), container runtimes (like local Docker or ACI), and cloud platform services (like object storage or Database as a Service).

RE: "What if you do not want the nvidia runtime as the default runtime?", that's what we're hitting for a couple reasons:

Portable install: Users repeatedly blow hours/days not realizing (and understanding) they need to modify their system's default docker runtime

Portable builds: For reasons I don't myself understand, when building/exporting images with runtime=nvidia, drivers get baked into the images that shouldn't, while building under runc does the right thing by keeping that to a late binding by later consumers. Rather than constantly toggling some unix setting, we rather keep in declarative config. (Think dev box, build bots, test bots, ...).


Bind MudRadioGroup to nullable boolean

Bug type
Component
Component name
MudRadioGroup
What happened?
When binding the MudRadioGroup to a nullable boolean object the page fails to render and gives the following error:
MudBlazor.Utilities.Exceptions.GenericTypeMismatchException: MudRadioGroup<Nullable1> has a child MudRadio<System.Boolean> with mismatching generic type. at MudBlazor.MudRadioGroup1[[System.Nullable1[[System.Boolean, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].CheckGenericTypeMatch(Object select_item) at MudBlazor.MudRadio1[[System.Boolean, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].set_IMudRadioGroup(IMudRadioGroup value)
at Microsoft.AspNetCore.Components.Reflection.PropertySetter.CallPropertySetter[MudRadio1,IMudRadioGroup](Action2 setter, Object target, Object value)
at Microsoft.AspNetCore.Components.Reflection.PropertySetter.SetValue(Object target, Object value)
...

Expected behavior
I expected the page to display with no default value selected for the radio group.
Reproduction link
https://try.mudblazor.com/snippet/GuclOjGFSWGwoxzX
Reproduction steps

Add a MudRadioGroup to a page and provide the radio group with two options (i.e. yes, no)
Provide a nullable boolean (bool?) as the target for @bind-SelectedOption on the radio group.
Run the application and attempt to access the page containing the MudRadioGroup.
View the error in the browsers Developer Tools console.

Relevant log output
No response
Version (bug)
5.1.4
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows, Linux
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Specifying the generic type T="bool? at least at MudRadios is working. Not sure what the outcome should be, when type is not specified by the user and somehow inferred by the compiler.
<MudRadioGroup @bind-SelectedOption="@(NullableVal)">
    <MudRadio T="bool?" Option="true" Color="Color.Primary" Dense="true">Dense</MudRadio>
    <MudRadio T="bool?" Option="false" Color="Color.Secondary" Dense="false">Normal</MudRadio>
</MudRadioGroup>

Why didn't you try T="bool?" in both group and radios?
https://try.mudblazor.com/snippet/wkQlEXmmdrQirSHb
I hope it's OK for you 🙂

Why didn't you try T="bool?" in both group and radios?
https://try.mudblazor.com/snippet/wkQlEXmmdrQirSHb
I hope it's OK for you 🙂

Yeah I missed that, sorry! Thanks for helping me get this straightened out.


TVTK requirement for building high res surfs

Running mne make_scalp_surfaces on a Mac, I get
3. Creating medium tessellation...
3.1 Decimating the dense tessellation...
Traceback (most recent call last):
  File "/Users/jona/anaconda3/envs/py2/lib/python2.7/site-packages/mne-0.13.dev0-py2.7.egg/mne/commands/mne_make_scalp_surfaces.py", line 144, in <module>
    run()
  File "/Users/jona/anaconda3/envs/py2/lib/python2.7/site-packages/mne-0.13.dev0-py2.7.egg/mne/commands/mne_make_scalp_surfaces.py", line 56, in run
    options.verbose)
  File "<string>", line 2, in _run
  File "/Users/jona/anaconda3/envs/py2/lib/python2.7/site-packages/mne-0.13.dev0-py2.7.egg/mne/utils.py", line 667, in verbose
    return function(*args, **kwargs)
  File "/Users/jona/anaconda3/envs/py2/lib/python2.7/site-packages/mne-0.13.dev0-py2.7.egg/mne/commands/mne_make_scalp_surfaces.py", line 127, in _run
    n_triangles=n_tri)
  File "/Users/jona/anaconda3/envs/py2/lib/python2.7/site-packages/mne-0.13.dev0-py2.7.egg/mne/surface.py", line 834, in decimate_surface
    return _decimate_surface(points, triangles, reduction)
  File "/Users/jona/anaconda3/envs/py2/lib/python2.7/site-packages/mne-0.13.dev0-py2.7.egg/mne/surface.py", line 791, in _decimate_surface
    raise ValueError('This function requires the TVTK package to be '
ValueError: This function requires the TVTK package to be installed

This should only happen if decimation is requested, I'll fix it

...looks like decimation is mandatory, I'll probably make an argument to supply the decimation levels

Or since they're called "medium" and "sparse", maybe just --nodecimate would do it


[BUG] Siwe with Next JS throws error on pressing sign button

Describe the bug
As soon as I press the sign button on the modal, i get the error saying
Error: Objects are not valid as a React child (found: Error: Failed to fetch SIWE session). If you meant to render a collection of children, use an array instead.
    at mapIntoArray (react.development.js:1967:13)
    at mapChildren (react.development.js:1996:3)
    at Object.toArray (react.development.js:2048:10)
    at flattenChildren (index.es.js:356:71)
    at Button (index.es.js:4742:11)
    at renderWithHooks (react-dom.development.js:11121:18)
    at updateFunctionComponent (react-dom.development.js:16290:20)
    at beginWork$1 (react-dom.development.js:18472:16)
    at beginWork (react-dom.development.js:26927:14)
    at performUnitOfWork (react-dom.development.js:25748:12)
    at workLoopSync (react-dom.development.js:25464:5)
    at renderRootSync (react-dom.development.js:25419:7)
    at recoverFromConcurrentError (react-dom.development.js:24597:20)
    at performSyncWorkOnRoot (react-dom.development.js:24899:20)
    at flushSyncWorkAcrossRoots_impl (react-dom.development.js:7758:13)
    at flushSyncWorkOnAllRoots (react-dom.development.js:7718:3)
    at processRootScheduleInMicrotask (react-dom.development.js:7863:3)
    at eval (react-dom.development.js:8034:7)

To reproduce
Clone the repo https://github.com/Suhel-Kap/token-swaps/tree/connect-kit-siwe and switch to the connect-kit-siwe branch and run yarn and yarn dev.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
    "@tanstack/react-query": "^5.40.1",
    "class-variance-authority": "^0.7.0",
    "client-only": "^0.0.1",
    "connectkit": "^1.8.0",
    "connectkit-next-siwe": "^0.3.0",
    "next": "14.2.3",
    "react": "^18",
    "react-dom": "^18",
    "viem": ">=2.13.3",
    "wagmi": "^2.9.10"

Another error which is thrown at times is
NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

Call Stack
eval
node_modules/connectkit/build/index.es.js (9414:1)

Anyone find a solution for this? @Suhel-Kap

Switching to rainbow kit worked for me 🤓☝🏻

Hoping they get this resolved but it looks like I might have to switch to rainbowkit as well

facing the same issue, any fix out yet?

facing the same issue, any fix out yet?

Ended up switching to RainbowKit


[Packaging] Remove more checked in binaries

ObjCUWP*, libobjc2, and a number of our other deps could be moved to packages instead of checked in binaries / submodules / etc.

We are not there yet to do this, will open new issues for 1703.


gentle-clues:0.7.1

I am submitting

[x] an update for a package

Description: Fix a bug with linguify if used in multiple packages

Thank you!


Add cmdline arguments to run phi-2

To run Phi-2 model we need to do some workarounds, because Phi-2 is require  (4.37.0.dev) of transformers, we can't call adapt_transformers_to_gaudi and we need to pass trust_remote_code to AutoModelForCausalLM

trust_remote_code - to load phi-2 model
default_transformers - this argument will disable adapt_transformers_to_gaudi() method, and Habana inference args

I think we should just wait for https://github.com/huggingface/optimum-habana/pull/651 to be merged, which should happen very soon

I think we should just wait for #651 to be merged, which should happen very soon

This workarounds are not specific for Phi-2, it's useful for all models which require trust_remote_code or need another transformers version

I think we should just wait for #651 to be merged, which should happen very soon

This workarounds are not specific for Phi-2, it's useful for all models which require trust_remote_code or need another transformers version

I get that, but the problem is that we have absolutely no guarantee on the API provided by this kind of models. The name of the inputs or methods could be different from what Transformers expects. So it's basically impossible to ensure that these models will work.
I think an issue should be opened by users if they cannot make it work for a specific model. Or we can add a workaround for trendy models as we did for Falcon.
Now, if customers and users are asking for it, we can move forward and do something with this PR. Otherwise, I would rather keep it as it is.

@nprotasov The release of Optimum Habana v1.10.2 is fully compatible with Transformers v4.37 so phi-2 can be used out of the box. I quickly tried the text-generation example with
python run_generation.py \
  --model_name_or_path microsoft/phi-2 \
  --use_hpu_graphs \
  --use_kv_cache \
  --max_new_tokens 100 \
  --do_sample \
  --prompt "Here is my prompt"

and it ran successfully. Note that it is not compatible with a static KV cache, which leads to a high number of generated HPU graphs (and thus high compilation time) due to the increasing size of this cache throughout the generation process. We could implement it and override parts of its modeling as we do for Llama and other optimized models if needed.


Shape box.shapeDecoration.shape.beveledRectangle() isn't working

Package version
1.0.0-beta.12
Flutter version
Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 54e66469a9 (3 weeks ago) • 2024-04-17 13:08:03 -0700
Engine • revision c4cd48e186
Tools • Dart 3.3.4 • DevTools 2.31.1

Steps to reproduce

Call box.shapeDecoration.shape.beveledRectangle()

Expected results
I would expect the code to work and properly apply the beveledRectangle shape.
Actual results
_AssertionError ('package:mix/src/attributes/decoration/decoration_dto.dart': Failed assertion: line 68 pos 12: 'isMergeable()': This decoration is not mergeable with other)
Code sample
Code sample
CustomButtonSize.large(
        box.shapeDecoration.shape.beveledRectangle(),
        box.height(60),
        box.width(350),
        box.minWidth(350),
        box.color($colors.primary.resolve(context)),
        box.padding.all($space.medium.resolve(context)),
      ),

@Azzeccagarbugli We are releasing the latest version of the beta later today. This happens because box.color uses a BoxDecoration and ShapeDecoration, so they conflict with each other. I suggest using box.shapeDecoration.color.

@Azzeccagarbugli We are releasing the latest version of the beta later today. This happens because box.color uses a BoxDecoration and ShapeDecoration, so they conflict with each other. I suggest using box.shapeDecoration.color.

Uh ok, that makes a lot of sense, but I still get the same error even if I do the following:
CustomButtonSize.large(
  box.height(60),
  box.width(350),
  box.minWidth(350),
  box.padding.all($space.medium.resolve(context)),
  box.shapeDecoration.shape.beveledRectangle(),
),
CustomButtonType.primary(
  box.shapeDecoration.color($colors.primary.resolve(context)),
),

Now I'm just applying the color of the box by using the color from the shapeDecoration so it should be fine.
Am I missing something? 🤔

Sure, thanks a lot once again for the rapid support and help 🫶🏻

Is addressed by #264


feat(vscode-ext): add vine file icon

@ShenQingchuan Sorry, when I set "extensions": [".vine.ts"], at contributes.languages, the file icon can be displayed normally, but the syntax highlighting will broken, can you help me or provide some ideas to fix it?

Hi, @wzc520pyfm, thanks for your researching on this feature, but the implemetation may not be the best solution for now.
Here's some background information that I could provide.

The reason I didn't finish this feature is that it's not that easy as it seems to be. Although we could define a new "language" named Vue Vine and tell VSCode extension to mark files in this language with Vue Vine logo, we can't leverage TS language services from tsserver, which I didn't find a workable solution until now, and customizing tsserver to work with ".vine.ts" but marked as "Vue Vine" language in VSCode is somewhat conflict and hard to integrate.

So the best way is to send Pull Request to some famous and widely used VSCode icon themes, tell them to mark our .vine.ts file with our logo. And also, there're something more complicated:

Can we just fork source code or contents from existed extension like "vscode-icons" ? The answer is NO, because the amount of those assets files is HUGE and hard to sync and update with source project. It's not a good idea to stole so many things from another repo.
The maintenance of those icon extensions are not that active. I saw antfu sending Vitest icon as a PR to a pretty fancy icon set but didn't get response for a long while.

So, this feature may not be pretty easy to complete, but thanks for your enthusiasm.
You could try sending a PR to one of the icon set you're using in VSCode and may link this PR there? Thanks ❥(^_-)


Fix: Animate images with image overlay slider color

Description: The opacity slider is embedded in a UIBarButtonItem. Current version sets slider's isEnabled property to false in storyboard, which dims its tint color to indicate it is not interactive. After enabling it in code, the color does not update, which might give wrong clues to the user that the slider is not operable.
This fix invert the settings: enable in storyboard, and disable in code if loading images failed.
Please see the comparison images below.

Before
After

ref: #857

Does the slider dim when disabled in code?

Literally speaking I don't know... 🤥  I'll do some research before merging this PR.

Does the slider dim when disabled in code?

yes - setting isEnabled in code either to true or false both update the tint color.
Just have no idea why the original false to true change doesn't update its color. 😵

Just have no idea why the previous false to true change doesn't update its color. 😵

I have no idea either. Thanks for confirming that.


is there a precompile exe to download?

can't figure out how to include glfw in compiler sorry

@pp0236 posted a release, precompiled Windows binaries: https://github.com/Ciremun/kokosu/releases/tag/v1.0
How to include glfw?
Dynamic linking, Visual Studio 2022:
download 64-bit Windows binaries - https://www.glfw.org/download
invoke compiler:
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
cl -DIMGUI_USE_STB_SPRINTF -DNDEBUG -O2 *.cpp imgui/*.cpp -Iimgui -Iinclude -Iglfw/include -Fe:kokosu -link glfw/lib-vc2022/glfw3dll.lib user32.lib opengl32.lib -subsystem:windows -entry:mainCRTStartup

thanks.


How to consume from primary and secondary job queue

Is there a way to consume from 2 queues in such a way that as long as there are messages in the primary queue, messages in the secondary queue are ignored?
Scenario:
Our API posts messages into a queue, and waits for a certain time for a response. If that response comes back within a certain time, it return that response, but if it times out due to the backend being flooded with requests, it sends back a 201 Accepted status. In addition, we want to take that request, and place it in a separate (lower priority) queue, probably using deadlettering.  The reason is that as now there is no API client waiting for the response anymore, we might as well prioritize other requests that a client is waiting for, over this one, and come back to this one once the spike has quieted down.
But now our challenge is how to have a single process consume from our primary job queue first, and only consume from the secondary/lower priority queue when there is nothing left in the primary queue?
I know RabbitMQ has message priority within a single queue, which Rabbot doesn't support, but I'd much prefer using separate queues.
Using Rabbot, what is the best strategy for this?
Thanks

Rabbot allows you to set maxPriority on queue creation. See maxPriority in the Topology documentation.

@woolite64 Yes, but as arobson replied to issue  #13, it does not support setting priority on the messages. meaning they ALL go at priority level 0.

@EwaRvr while I would the pr to be merged, we currently maintain a fork https://github.com/Zappatta/rabbot by the talented @Zappatta allowing message priorities.. and we do use it successfully


fix: Widget property eval substitution type was not correct

Description
A change override the evaluation substitution type declared in the property pane config.
Fixes #8758
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Updated the jest test that missed this case
Checklist:

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

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/eval-substitution-widgets

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
54.63 (0)
36.35 (0.01)
33.09 (0)
55.15 (0)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.26 (0.22)
41.25 (0.83)
34.48 (0)
56.22 (0.26)

/ok-to-test sha=f1c93d4

/ok-to-test sha=c7e4b70


Cookie: add httpOnly and SameSite attributes

fix #967

Also would be appreciated if we add a test for it to make sure it is actually working in the browser (would catch the syntax issue).

Awesome, thanks! Since it is httpOnly with a camel case, we need to use http_only so it will be converted. Same thing with sameSite, which is kind of weird, but /shrug (https://w3c.github.io/webdriver/#cookies)

Done ✅

Also would be appreciated if we add a test for it to make sure it is actually working in the browser (would catch the syntax issue).

I usually write test with minitest and I'm not familiar with rspec.
I'm not sure how to update https://github.com/watir/watir/blob/1dbb3c77b1bf8ae0fc98aec7f5896589c226d9ed/spec/watirspec/cookies_spec.rb#L99-L110
or add test for http_only and same_site.

Hmm, we probably don't need separate tests for each parameters, but can essentially copy the path test for the two parameters; we just want to make sure that when we add the cookie for Chrome/Firefox, the actual cookies have the values we set.
This is what is done in Selenium: https://github.com/SeleniumHQ/selenium/blob/trunk/rb/spec/integration/selenium/webdriver/manager_spec.rb#L30
oh, hmm, I wonder if the reason the samesite test is guarded is because it should be same_site... That would be interesting. If we show it works in Watir, I'll have to get it fixed in Selenium. 😆
Thanks for your help.

HttpOnly
It should look like this but I don't know how to simulate JS access:
    it 'is not visible to javascript when http_only is true',
      browser.goto WatirSpec.url_for 'index.html'

      options = {http_only: true}

      browser.cookies.add 'httponly', 'true', options
      cookie = browser.cookies.to_a.find { |e| e[:name] == 'httponly' }

      # add a test to check it equals empty when access via JavaScript (document.cookie)
      expect(cookie[:name]).to eq 'httponly'
      expect(cookie[:value]).to eq true
    end

cf. https://github.com/SeleniumHQ/selenium/blob/5374cf84b74ae36758b9022b5f229e7311b776a3/rb/spec/integration/selenium/webdriver/manager_spec.rb#L114C13-L121
Secure
It is currently tested only over HTTP
https://github.com/watir/watir/blob/1dbb3c77b1bf8ae0fc98aec7f5896589c226d9ed/spec/watirspec/cookies_spec.rb#L98-L110
but it should be tested over HTTPS too cf. https://github.com/SeleniumHQ/selenium/blob/5374cf84b74ae36758b9022b5f229e7311b776a3/rb/spec/integration/selenium/webdriver/manager_spec.rb#L123-L145
SameSite
I will be harder to test since there are 4-5 cases to test.
cf. https://github.com/SeleniumHQ/selenium/blob/5374cf84b74ae36758b9022b5f229e7311b776a3/rb/spec/integration/selenium/webdriver/manager_spec.rb#L147-L187 and https://github.com/SeleniumHQ/selenium/blob/5374cf84b74ae36758b9022b5f229e7311b776a3/rb/spec/integration/selenium/webdriver/manager_spec.rb#L42-L52
Help wanted
I never used RSpec and I don't know Watir internals required to test the complex cases showcased here. So if someone would help me getting the right documentation pointers or submit unit tests for me, it would be greatly appreciated.

Rebased off main, added tests, changed to snake case, fixed linting failure

Most of the test failures are window minimization weirdness and a test that passes and fails depending on the browser version on the OS, which is apparently different right now. It'll all work fine next week. 😂


Upgrade to Tokio v0.3

Tokio v0.3 just released, we should upgrade as part of hyper v0.14.
Prerequisites:

[x] Upgrade h2 to Tokio v0.3
[ ] Add back functionality to Tokio v0.3

[ ] Reintroduce oneshot::Sender::poll_closed https://github.com/tokio-rs/tokio/pull/3032
[ ] Add back TCP socket options (set_keepalive, set_send_buffer_size, set_recv_buffer_size)
[ ] Add back vectored write support

https://github.com/hyperium/h2/pull/491 is a PR for updating h2.

hyperium/h2#491 is a PR for updating h2.

The PR just landed 🎉
As soon it is part of a new release we can proceed here 😄

Hello, what's the status of upgrading to tokio v0.3? @seanmonstar


Show progress of conflicts being searched/detected

As an improvement, it would be really nice if the plugin could show the progress when it is searches for conflicts.
I thought there was nothing happening when doing Ctrl + M D at first, so I tried it multiple times. Then a little later, I ended up with five stacked panels containing the found conflicts.
Maybe the progress can be shown in the status bar, or in a new conflicts overview tab, like the one you see when searching in a project with Ctrl + Shift + F.

+1

:+1: Sounds good to me.
It'll take a bit of work so I doubt I'll get to it in the next release or so -- I've been focusing on knocking out some quick fixes for stacktraces people have seen first.
Personally I think I'll put it in the MergeConflictsView, and just hide the progress bar and show the usual merge overview dashboard thingy once everything is loaded.

I thought there was nothing happening when doing Ctrl + M D at first, so I tried it multiple times. Then a little later, I ended up with five stacked panels containing the found conflicts.

That sounds like a race condition, actually. I've got a guard in to prevent multiple MergeConflictViews from spawning, but I bet I'm checking it too late. Hmm.


Not available on web after rebuild

Attaching to Wordle
Wordle       |
Wordle       | ><EMAIL_ADDRESS>start
Wordle       | > react-scripts start
Wordle       |
Wordle       | (node:24) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Wordle       | (Use node --trace-deprecation ... to show where the warning was created)
Wordle       | (node:24) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Wordle       | Starting the development server...
Wordle       |
Wordle       | Compiled successfully!
Wordle       |
Wordle       | You can now view game in the browser.
Wordle       |
Wordle       |   Local:            http://localhost:3000/react-wordle
Wordle       |   On Your Network:  http://<IP_ADDRESS>:3000/react-wordle
Wordle       |
Wordle       | Note that the development build is not optimized.
Wordle       | To create a production build, use npm run build.
Wordle       |
Wordle       | assets by path static/js/.js 2.13 MiB
Wordle       |   asset static/js/bundle.js 2.12 MiB [emitted] (name: main) 1 related asset
Wordle       |   asset static/js/node_modules_web-vitals_dist_web-vitals_js.chunk.js 6.91 KiB [emitted] 1 related asset
Wordle       | asset index.html 1.72 KiB [emitted]
Wordle       | asset asset-manifest.json 523 bytes [emitted]
Wordle       | orphan modules 157 KiB [orphan] 227 modules
Wordle       | runtime modules 31.3 KiB 16 modules
Wordle       | cacheable modules 1.94 MiB
Wordle       |   modules by path ./node_modules/ 1.64 MiB 101 modules
Wordle       |   modules by path ./src/ 311 KiB
Wordle       |     modules by path ./src/components/ 55.3 KiB 18 modules
Wordle       |     modules by path ./src/lib/.ts 13.4 KiB 5 modules
Wordle       |     modules by path ./src/.css 54.5 KiB 4 modules
Wordle       |     modules by path ./src/constants/.ts 170 KiB 4 modules
Wordle       |     modules by path ./src/*.tsx 12.8 KiB
Wordle       |       ./src/index.tsx 1.94 KiB [built] [code generated]
Wordle       |       ./src/App.tsx 10.9 KiB [built] [code generated]
Wordle       |     ./src/context/AlertContext.tsx 2.92 KiB [built] [code generated]
Wordle       |     ./src/reportWebVitals.ts 1.36 KiB [built] [code generated]
Wordle       | webpack 5.65.0 compiled successfully in 76314 ms
Wordle       | No issues found.
Wordle       | Compiling...
Wordle       | Compiled successfully!
Wordle       | assets by status 6.91 KiB [cached] 1 asset
Wordle       | assets by chunk 2.12 MiB (name: main)
Wordle       |   asset static/js/bundle.js 2.12 MiB [emitted] (name: main) 1 related asset
Wordle       |   asset main.3217daddbc78f9a5ee4f.hot-update.js 355 bytes [emitted] [immutable] [hmr] (name: main) 1 related asset
Wordle       | assets by path .json 689 bytes
Wordle       |   asset asset-manifest.json 661 bytes [emitted]
Wordle       |   asset main.3217daddbc78f9a5ee4f.hot-update.json 28 bytes [emitted] [immutable] [hmr]
Wordle       | asset index.html 1.72 KiB [emitted]
Wordle       | Entrypoint main 2.12 MiB (2.13 MiB) = static/js/bundle.js 2.12 MiB main.3217daddbc78f9a5ee4f.hot-update.js 355 bytes 2 auxiliary assets
Wordle       | cached modules 2.05 MiB [cached] 375 modules
Wordle       | runtime modules 31.3 KiB 16 modules
Wordle       | ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/index.css 48.4 KiB [built]
Wordle       | webpack 5.65.0 compiled successfully in 1082 ms
Wordle       | No issues found.
Wordle       | npm ERR! path /app
Wordle       | npm ERR! command failed
Wordle       | npm ERR! signal SIGTERM
Wordle       | npm ERR! command sh -c react-scripts start
Wordle       |
Wordle       | npm ERR! A complete log of this run can be found in:
Wordle       | npm ERR!     /root/.npm/_logs/2022-03-16T21_20_23_494Z-debug-0.log
Wordle       |
Wordle       | ><EMAIL_ADDRESS>start
Wordle       | > react-scripts start
Wordle       |
Wordle       | (node:27) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Wordle       | (Use node --trace-deprecation ... to show where the warning was created)
Wordle       | (node:27) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Wordle       | Starting the development server...
Wordle       |
Wordle       | Compiled successfully!
Wordle       |
Wordle       | You can now view game in the browser.
Wordle       |
Wordle       |   Local:            http://localhost:3000/react-wordle
Wordle       |   On Your Network:  http://<IP_ADDRESS>:3000/react-wordle
Wordle       |
Wordle       | Note that the development build is not optimized.
Wordle       | To create a production build, use npm run build.
Wordle       |
Wordle       | assets by path static/js/.js 2.13 MiB
Wordle       |   asset static/js/bundle.js 2.12 MiB [emitted] (name: main) 1 related asset
Wordle       |   asset static/js/node_modules_web-vitals_dist_web-vitals_js.chunk.js 6.91 KiB [emitted] 1 related asset
Wordle       | asset index.html 1.72 KiB [emitted]
Wordle       | asset asset-manifest.json 523 bytes [emitted]
Wordle       | cached modules 2.09 MiB [cached] 376 modules
Wordle       | runtime modules 31.3 KiB 16 modules
Wordle       | webpack 5.65.0 compiled successfully in 5708 ms
Wordle       | Files successfully emitted, waiting for typecheck results...
Wordle       | Issues checking in progress...
Wordle       | No issues found.

Sincerest apologies for this!
There was a breaking change.
Latest setup should be:
version: "2.4"

services:

  wordle:
    image: modem7/wordle
    container_name: Wordle
    ports:
      - 80:3000


An ability to disable "Search tabs" button.

It would be cool if i had a flag to disable "Search tabs", because it's a little bit annoying.

If possible, could you add it somehow?

that's a ungoogled-chromium flag, wonder why that's not implemented here yet

The developer seems don't care about these minor improvements

The developer seems don't care about these minor improvements

he does, see supermium


[ML][Pipelines] Enable private preview fields for primitive type output without private preview flag

Description
Private preview fileds is_control and early_available previously requires private preview flag enabled, otherwise a marshmallow validation exception will be raised. This PR targets to enable these two fields even if under environment that private preview flag is not set.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Change request regarding the use of CUDA_VISIBLE_DEVICES in deepspeed/launcher/runner.py

I tried to specify gpu_ids to train a model on one node and it kept failing. Then I found that  CUDA_VISIBLE_DEVICES would be reset if train on single node.
I think it is not necessary to reset CUDA_VISIBLE_DEVICES when training on a single node, as this prevents users from specifying gpu_ids to train their models. I was wondering if you could change this part to make it easier for training model on single node.
Thank you for your attention to this matter.

deepspeed --include localhost:1,2 use cuda:1 and cuda:2. (Notice that you can't specify --num_gpus for deepspeed when specifying --include)
c.f. deepspeed --help

Hi @JY-Ren - I believe the suggestion from @richarddwang will solve this for you.  We always recommend a hostfile/using that if possible.  Please let us know and re-open the issue if you don't find this sufficient.


Unable to access the admin section

On a fresh install, whenever I try to login with the default user "sylius" credentials, I get the following exception:
"No password hasher has been configured for account "sylius". I'm using sylius v1.10.5.

I managed to solve this issue manually by editing Sylius\Component\User\Model\User in this way:
class User implements UserInterface, PasswordHasherAwareInterface
{
   ...

    public function getPasswordHasherName(): string
    {
        return 'argon2i';
    }
}


Renderer, using limited bounds on text using a buffer makes it not show up initially

This might also effect things that are not text, not sure.

This is fixed with 67247b11f6182ccc1423e7056744d75fd3b068e2
The issue was that changing which buffer is bound and or changing the viewport messes with the scissor test, so now the limited bounds get updated when the buffer gets updated.


edge case: last log line

First run the following exactly as is, then uncomment line 14 and re-run it:
const { Listr } = require('Listr2');

const tasks = new Listr([
  {
    title: 'Demo of edge case',
    task: async (ctx, task) => {
      console.log('I thought I was losing my mind.')
      console.log('Turns out that I\'m not losing it (yet), it\'s just an edge case.')
      console.log('Specifically, when the task includes:')
      console.log('options: {\n\tpersistentOutput: true\n}')
      console.log('and the Listr options include:')
      console.log('{\n\trendererOptions: { collapse: false }\n}')
      console.error('Then the last displayable line of either a console.log or console.error (and presumably, their other variations, e.g. console.warn, console.table, etc) is overwritten')
      // console.log('unless the last line ends with a \\n\n')
    },
    options: {
      persistentOutput: true
    }
  },
], {
  rendererOptions: { collapse: false }
});

tasks.run()
  .then(() => { })
  .catch(() => { });

Also, if I ever find myself in Vienna or you find yourself in the Salt Lake City, UT area, I definitely owe you a drink!

Hello @metasean ,
This is known since log-update package breaks with anything interfering. I am working on a better solution with another library from keindev, which you can track here. There is a branch in the repo as well, but yet I have to fix the aforementioned updating render which will render the lines static. The library by keindev hooks the process.stdout and then outputs everything after. If you want to use console.log s you can use the silent renderer for now but unfortunetly this is a limitation at the moment.

I am closing this issue in favor of #296.

:tada: This issue has been resolved in version 4.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


veriform.rs: decode helper methods

Adds helper methods for decoding field headers and values, which wraps up the underlying state machine events.

Codecov Report

Merging #69 into develop will increase coverage by 4.11%.
The diff coverage is 58.06%.

@@            Coverage Diff             @@
##           develop     #69      +/-   ##
==========================================
+ Coverage    57.79%   61.9%   +4.11%
==========================================
  Files            4       4
  Lines          462     483      +21
  Branches       140     127      -13
==========================================
+ Hits           267     299      +32
- Misses          72      74       +2
+ Partials       123     110      -13

Impacted Files
Coverage Δ

veriform.rs/src/decoder.rs
58.95% <54.71%> (+4.82%)
:arrow_up:

veriform.rs/src/encoder.rs
63.33% <77.77%> (+12.56%)
:arrow_up:

Continue to review full report at Codecov.

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


Data of removed databases still lingers around...

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[*] 3.0
[ ] self-compiled devel branch

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[*] Linux

[ ] Debian .deb
[*] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

While doing some tests I noticed that I could find permission entries, in _users documents, for databases that had already been removed.
How to replicate this behavior:

Create a new database
Check a user's database permissions, the database-name is in the permission list
Delete the database
Check a user's database permissions again
Expected result: the removed database should not be in the permission list
Actual result: the name of the removed database is still there.

Confirmed.

FYI, this issue still persists with ArangoDB 3.2beta3. ;)

@frankmayer : I think the changes/fixes have been merged after the release of beta3, and will be contained in beta4.

We're pleased to anounce that ArangoDB 3.2 containing this is now available for download - Closing.


Appointment drag and drop functionality for Scheduler component.

I have added drag and drop functionality for DayView, WeekView and MonthView in the Scheduler component.
There is an issue when building the Radzen.Blazor project for NET5.0 and NETSTANDARD2.1, but couldn't figure out why. However it builds successfully for above NET versions.
Поздрави, Васил :)

Hi @V45370,
Thank you for the pull request!
I have the following requests/comments:

The event should not be per view - it should be exposed at RadzenScheduler level.
The event arguments should be SchedulerAppointmentMoveEventArgs as the other scheduler related event argument classes.
Currently one can do drag and drop even if it is not enabled which looks misleading. Probably the drag and drop attributes should be set only if the user has handled the AppointmentMove event.
Does it work in Timeline and Planner views?
It doesn't seem to work on a mobile device. I tested on iOS (iPhone and iPad) but drag-and-drop didn't start at all. Should be supported on newer versions as this demo seems to work fine - I can drag after a long tap.
All CSS classes used should have a rz- prefix.

Thanks for the feedback, I will resolve the issues asap.


scale of bandplot

Hi ;
I am using fluff to generate bandplot. But the scale of same cluster in each group is different. This will be a little difficult for me to compare. Would you please fix that? And also add the mean signal as an option in bandplot. Median signal sometimes looks not no good.
YQ

You can set the scale with the -s option, which allows you to use similar scales for different tracks. For instance, -s 1:2,3:4 would set a shared scale for the first two tracks and another shared scale for the second two tracks. If your profile doesn't look too good in the bandplots, try decreasing the number of bins with the -b parameter, for instance to 20 or so. That usually helps.

Thank you so much. It is really a good tools to generate the heatmap.
Yufeng Qin, Ph.D
Eukaryotic Transcriptional Regulation Group
Epigenetics & Stem Cell Biology Laboratory
National Institute of Environmental Health Sciences(NIEHS)
2016-11-17 6:07 GMT-05:00 Simon van Heeringen<EMAIL_ADDRESS>
You can set the scale with the -s option, which allows you to use similar
scales for different tracks. For instance, -s 1:2,3:4 would set a shared
scale for the first two tracks and another shared scale for the second two
tracks. If your profile doesn't look too good in the bandplots, try
decreasing the number of bins with the -b parameter, for instance to 20
or so. That usually helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/simonvh/fluff/issues/57#issuecomment-261219665, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWatH_XTJBx-4gO3hRKCaMc9u_H6miHFks5q_DV6gaJpZM4K0MB3
.


One-of-many relationships don't use where condition in inner join

Laravel Version: 8.60.0
PHP Version: 8.0.11
Database Driver & Version: MySQL 8.0.26

Description:
It seems oldestOfMany (and probably also latestOfMany) introduced here https://github.com/laravel/framework/pull/37362/files completely in fact ignores any where conditions added to relationship although there is no clear mention in documentation that where conditions will be ignored
Steps To Reproduce:
I have relationship defined like this:
    public function mainMediaPhoto()
    {
        return $this->hasOne(Media::class, 'product_id')
            ->where('type', Media::TYPE_PHOTO)
            ->oldestOfMany()
            ->withDefault(['type' => Media::TYPE_PHOTO]);
    }

and it generates query like this:
SELECT
	*
FROM
	`media`
	INNER JOIN (
		SELECT
			MIN(`id`) AS `id`,
			`media`.`product_id`
		FROM
			`media`
		WHERE
			`media`.`product_id` in(9630, 9631)
		GROUP BY
			`media`.`product_id`) AS `mainMediaPhoto` ON `mainMediaPhoto`.`id` = `media`.`id`
	AND `mainMediaPhoto`.`product_id` = `media`.`product_id`
WHERE
	`type` = 'photo';

Although there is where type = 'photo' condition put in SQL query it was put outside of inner join which makes query working not as expected as it  first selects wrong records and then filter them.
Expected query should look in this case like this:
SELECT
	*
FROM
	`media`
	INNER JOIN (
		SELECT
			MIN(`id`) AS `id`,
			`media`.`product_id`
		FROM
			`media`
		WHERE
			`media`.`product_id` in(9630, 9631)
			AND `media`.`type` = 'photo'
		GROUP BY
			`media`.`product_id`) AS `mainMediaPhoto` ON `mainMediaPhoto`.`id` = `media`.`id`
	AND `mainMediaPhoto`.`product_id` = `media`.`product_id`

In documentation there is description about oneOfMany  here: https://laravel.com/docs/8.x/eloquent-relationships#advanced-has-one-of-many-relationships but it describes at first glance a bit more complicated scenario but in fact it could be used here to correct query. If I define relationship like this:
    public function mainMediaPhoto()
    {
        return $this->hasOne(Media::class, 'product_id')
            ->ofMany(['id' => 'MIN'], function($query) {
                $query->where('type', Media::TYPE_PHOTO);
            })
            ->withDefault(['type' => Media::TYPE_PHOTO]);
    }

then results are as expected but it doesn't seem to be obvious that completely different syntax has to be used to make where condition working fine.

@cbl thanks! Is there any way we can make this all more clear in the docs?
@mnabialek please see the above.

@cbl yeah I think we need a specific example of this since we've already gotten quite a bit of questions about it. Could you maybe PR that to the docs?