Fail to run preprocess on Windows machine

Looks like plugin fails to run preprocess on windows machines.
How to reproduce:
On Windows, with node 14.17.0 installed run following
npx degit dceddia/svelte-typescript-jest tests-fail-to-load-on-win
cd tests-fail-to-load-on-win
npm i svelte-jester@latest
npm run test

Expected:
We should see 2 passed tests.
Actual:
><EMAIL_ADDRESS>test D:\_Svelte\tests-fail-to-load-on-win
> jest

internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\_Svelte\tests-fail-to-load-on-win\node_modules\svelte\compiler' imported from D:\_Svelte\tests-fail-to-load-on-win\node_modules\svelte-jester\src\preprocess.js
Did you mean to import svelte/compiler.js?
    at finalizeResolution (internal/modules/esm/resolve.js:276:11)
    at moduleResolve (internal/modules/esm/resolve.js:699:10)
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11)
    at Loader.resolve (internal/modules/esm/loader.js:88:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
    at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:56:40)
    at link (internal/modules/esm/module_job.js:55:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}
 1: 00007FF65D7D3E0F napi_wrap+108911
 2: 00007FF65D777E16 v8::base::CPU::has_sse+61910
 3: 00007FF65D77A859 node::OnFatalError+7273
 4: 00007FF65DFFDDCF v8::internal::Builtins::builtin_handle+321711
 5: 00007FF65DFFD364 v8::internal::Builtins::builtin_handle+319044
 6: 00007FF65DFFD657 v8::internal::Builtins::builtin_handle+319799
 7: 00007FF65DFFD4A3 v8::internal::Builtins::builtin_handle+319363
 8: 00007FF65E0D9C8D v8::internal::SetupIsolateDelegate::SetupHeap+465453
 9: 00007FF65E072092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
10: 00007FF65E09F208 v8::internal::SetupIsolateDelegate::SetupHeap+225192
11: 00007FF65E11BFDE v8::internal::SetupIsolateDelegate::SetupHeap+736638
12: 00007FF65E092458 v8::internal::SetupIsolateDelegate::SetupHeap+172536
13: 00007FF65E06FC3C v8::internal::SetupIsolateDelegate::SetupHeap+31196
14: 00007FF65DF3FB7F v8::internal::Execution::CallWasm+1839
15: 00007FF65DF3FC8B v8::internal::Execution::CallWasm+2107
16: 00007FF65DF406CA v8::internal::Execution::TryCall+378
17: 00007FF65DF20CE5 v8::internal::MicrotaskQueue::RunMicrotasks+501
18: 00007FF65DF20A40 v8::internal::MicrotaskQueue::PerformCheckpoint+32
19: 00007FF65D800B40 node::CallbackScope::~CallbackScope+672
20: 00007FF65D80090E node::CallbackScope::~CallbackScope+110
21: 00007FF65D7611D0 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+199056
22: 00007FF65D834D37 uv_timer_stop+775
23: 00007FF65D83152B uv_async_send+331
24: 00007FF65D830CBC uv_loop_init+1292
25: 00007FF65D830E5A uv_run+202
26: 00007FF65D732CD5 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+9365
27: 00007FF65D7A6F37 node::Start+311
28: 00007FF65D60677C RC4_options+339580
29: 00007FF65E5C874C v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+152316
30: 00007FFF70387034 BaseThreadInitThunk+20
31: 00007FFF704C2651 RtlUserThreadStart+33

Info
Investigated a bit why this is happening, it seems that inside src/preprocess.js line 4 it attempts to import absolute path that fails on Windows machines. It looks like this is by design in NodeJs as mentioned in issue at comment
Provided solution there is to use url.pathToFileURL(pathToFile) to solve convert file path to URL file protocol for ES loader to find the file for windows as well.
Worth mentioning, older version like 1.1.15

Oh, I see some one already managed to add same issue 2 hours before me.

Oh, I see some one already managed to add same issue 2 hours before me.

Nah, this is a different bug. Sorry about that.

Can you try it with the following devDependencies in package.json ?
"devDependencies": {
    "@babel/preset-env": "^7.14.2",
    "@rollup/plugin-commonjs": "^19.0.0",
    "@rollup/plugin-node-resolve": "^13.0.0",
    "@rollup/plugin-typescript": "^8.2.1",
    "@testing-library/jest-dom": "^5.12.0",
    "@testing-library/svelte": "^3.0.3",
    "@tsconfig/svelte": "^1.0.10",
    "@types/jest": "^26.0.23",
    "babel-jest": "^26.*",
    "jest": "^26.*",
    "rollup": "^2.50.1",
    "rollup-plugin-livereload": "^2.0.0",
    "rollup-plugin-svelte": "^7.1.0",
    "rollup-plugin-terser": "^7.0.2",
    "svelte": "^3.38.2",
    "svelte-check": "^1.6.0",
    "svelte-jester": "^1.6.0",
    "svelte-preprocess": "^4.7.3",
    "ts-jest": "^26.*",
    "tslib": "^2.2.0",
    "typescript": "^4.3.2"
  },

and then npm install and npm run test

Same error in console as above. It still fails for me under preprocess.js:

console output!
PS D:\_Svelte\tests-fail-to-load-on-win> npm run test

><EMAIL_ADDRESS>test D:\_Svelte\tests-fail-to-load-on-win
> jest

internal/process/promises.js:213
        triggerUncaughtException(err, true /* fromPromise */);
        ^

TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of NodeError
    at Socket.Writable.write (internal/streams/writable.js:285:13)
    at file:///D:/_Svelte/tests-fail-to-load-on-win/node_modules/svelte-jester/src/preprocess.js:11:32 {
code: 'ERR_INVALID_ARG_TYPE'
}
1: 00007FF66A4B3E0F napi_wrap+108911
2: 00007FF66A457E16 v8::base::CPU::has_sse+61910
3: 00007FF66A45A859 node::OnFatalError+7273
4: 00007FF66ACDDDCF v8::internal::Builtins::builtin_handle+321711
5: 00007FF66ACDD364 v8::internal::Builtins::builtin_handle+319044
6: 00007FF66ACDD657 v8::internal::Builtins::builtin_handle+319799
7: 00007FF66ACDD4A3 v8::internal::Builtins::builtin_handle+319363
8: 00007FF66ADB9C8D v8::internal::SetupIsolateDelegate::SetupHeap+465453
9: 00007FF66AD52092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
10: 00007FF66AD52092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
11: 00007FF66AD4FD4E v8::internal::SetupIsolateDelegate::SetupHeap+31470
12: 00007FF66AD4F93C v8::internal::SetupIsolateDelegate::SetupHeap+30428
13: 00007FF66AC1FAC1 v8::internal::Execution::CallWasm+1649
14: 00007FF66AC1F32F v8::internal::Execution::Call+191
15: 00007FF66AD0AEA7 v8::Function::Call+615
16: 00007FF66A4E0C04 node::CallbackScope::~CallbackScope+868
17: 00007FF66A4E090E node::CallbackScope::~CallbackScope+110
18: 00007FF66A4411D0 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+199056
19: 00007FF66A514D37 uv_timer_stop+775
20: 00007FF66A51152B uv_async_send+331
21: 00007FF66A510CBC uv_loop_init+1292
22: 00007FF66A510E5A uv_run+202
23: 00007FF66A412CD5 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+9365
24: 00007FF66A486F37 node::Start+311
25: 00007FF66A2E677C RC4_options+339580
26: 00007FF66B2A874C v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+152316
27: 00007FFF70387034 BaseThreadInitThunk+20
28: 00007FFF704C2651 RtlUserThreadStart+33
FAIL  src/__tests__/hello.test.ts
● Test suite failed to run

    Command failed: node --unhandled-rejections=strict --abort-on-uncaught-exception D:\_Svelte\tests-fail-to-load-on-win\node_modules\svelte-jester\src\preprocess.js
    internal/process/promises.js:213
            triggerUncaughtException(err, true /* fromPromise */);
            ^

    TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of NodeError
        at Socket.Writable.write (internal/streams/writable.js:285:13)
        at file:///D:/_Svelte/tests-fail-to-load-on-win/node_modules/svelte-jester/src/preprocess.js:11:32 {
    code: 'ERR_INVALID_ARG_TYPE'
    }
    1: 00007FF66A4B3E0F napi_wrap+108911
    2: 00007FF66A457E16 v8::base::CPU::has_sse+61910
    3: 00007FF66A45A859 node::OnFatalError+7273
    4: 00007FF66ACDDDCF v8::internal::Builtins::builtin_handle+321711
    5: 00007FF66ACDD364 v8::internal::Builtins::builtin_handle+319044
    6: 00007FF66ACDD657 v8::internal::Builtins::builtin_handle+319799
    7: 00007FF66ACDD4A3 v8::internal::Builtins::builtin_handle+319363
    8: 00007FF66ADB9C8D v8::internal::SetupIsolateDelegate::SetupHeap+465453
    9: 00007FF66AD52092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
    10: 00007FF66AD52092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
    11: 00007FF66AD4FD4E v8::internal::SetupIsolateDelegate::SetupHeap+31470
    12: 00007FF66AD4F93C v8::internal::SetupIsolateDelegate::SetupHeap+30428
    13: 00007FF66AC1FAC1 v8::internal::Execution::CallWasm+1649
    14: 00007FF66AC1F32F v8::internal::Execution::Call+191
    15: 00007FF66AD0AEA7 v8::Function::Call+615
    16: 00007FF66A4E0C04 node::CallbackScope::~CallbackScope+868
    17: 00007FF66A4E090E node::CallbackScope::~CallbackScope+110
    18: 00007FF66A4411D0 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+199056
    19: 00007FF66A514D37 uv_timer_stop+775
    20: 00007FF66A51152B uv_async_send+331
    21: 00007FF66A510CBC uv_loop_init+1292
    22: 00007FF66A510E5A uv_run+202
    23: 00007FF66A412CD5 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+9365
    24: 00007FF66A486F37 node::Start+311
    25: 00007FF66A2E677C RC4_options+339580
    26: 00007FF66B2A874C v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+152316
    27: 00007FFF70387034 BaseThreadInitThunk+20
    28: 00007FFF704C2651 RtlUserThreadStart+33

    at Socket.Writable.write (internal/streams/writable.js:285:13)
    at file:/D:/_Svelte/tests-fail-to-load-on-win/node_modules/svelte-jester/src/preprocess.js:11:32 {
        code: 'ERR_INVALID_ARG_TYPE'
    }
    1: 00007FF66A4B3E0F napi_wrap+108911
    2: 00007FF66A457E16 v8::base::CPU::has_sse+61910
    3: 00007FF66A45A859 node::OnFatalError+7273
    4: 00007FF66ACDDDCF v8::internal::Builtins::builtin_handle+321711
    5: 00007FF66ACDD364 v8::internal::Builtins::builtin_handle+319044
    6: 00007FF66ACDD657 v8::internal::Builtins::builtin_handle+319799
    7: 00007FF66ACDD4A3 v8::internal::Builtins::builtin_handle+319363
    8: 00007FF66ADB9C8D v8::internal::SetupIsolateDelegate::SetupHeap+465453
    9: 00007FF66AD52092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
    10: 00007FF66AD52092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
    11: 00007FF66AD4FD4E v8::internal::SetupIsolateDelegate::SetupHeap+31470
    12: 00007FF66AD4F93C v8::internal::SetupIsolateDelegate::SetupHeap+30428
    13: 00007FF66AC1FAC1 v8::internal::Execution::CallWasm+1649
    14: 00007FF66AC1F32F v8::internal::Execution::Call+191
    15: 00007FF66AD0AEA7 v8::Function::Call+615
    16: 00007FF66A4E0C04 node::CallbackScope::~CallbackScope+868
    17: 00007FF66A4E090E node::CallbackScope::~CallbackScope+110
    18: 00007FF66A4411D0 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+199056
    19: 00007FF66A514D37 uv_timer_stop+775
    20: 00007FF66A51152B uv_async_send+331
    21: 00007FF66A510CBC uv_loop_init+1292
    22: 00007FF66A510E5A uv_run+202
    23: 00007FF66A412CD5 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+9365
    24: 00007FF66A486F37 node::Start+311
    25: 00007FF66A2E677C RC4_options+339580
    26: 00007FF66B2A874C v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+152316
    27: 00007FFF70387034 BaseThreadInitThunk+20
    28: 00007FFF704C2651 RtlUserThreadStart+33
    at Object.process (node_modules/svelte-jester/src/transformer.cjs:17:28)
    at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:463:35)
    at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:568:40)
    at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:606:25)

internal/process/promises.js:213
        triggerUncaughtException(err, true /* fromPromise */);
        ^

TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of NodeError
    at Socket.Writable.write (internal/streams/writable.js:285:13)
    at file:///D:/_Svelte/tests-fail-to-load-on-win/node_modules/svelte-jester/src/preprocess.js:11:32 {
code: 'ERR_INVALID_ARG_TYPE'
}
1: 00007FF66A4B3E0F napi_wrap+108911
2: 00007FF66A457E16 v8::base::CPU::has_sse+61910
3: 00007FF66A45A859 node::OnFatalError+7273
4: 00007FF66ACDDDCF v8::internal::Builtins::builtin_handle+321711
5: 00007FF66ACDD364 v8::internal::Builtins::builtin_handle+319044
6: 00007FF66ACDD657 v8::internal::Builtins::builtin_handle+319799
7: 00007FF66ACDD4A3 v8::internal::Builtins::builtin_handle+319363
8: 00007FF66ADB9C8D v8::internal::SetupIsolateDelegate::SetupHeap+465453
9: 00007FF66AD52092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
10: 00007FF66AD52092 v8::internal::SetupIsolateDelegate::SetupHeap+40498
11: 00007FF66AD4FD4E v8::internal::SetupIsolateDelegate::SetupHeap+31470
12: 00007FF66AD4F93C v8::internal::SetupIsolateDelegate::SetupHeap+30428
13: 00007FF66AC1FAC1 v8::internal::Execution::CallWasm+1649
14: 00007FF66AC1F32F v8::internal::Execution::Call+191
15: 00007FF66AD0AEA7 v8::Function::Call+615
16: 00007FF66A4E0C04 node::CallbackScope::~CallbackScope+868
17: 00007FF66A4E090E node::CallbackScope::~CallbackScope+110
18: 00007FF66A4411D0 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+199056
19: 00007FF66A514D37 uv_timer_stop+775
20: 00007FF66A51152B uv_async_send+331
21: 00007FF66A510CBC uv_loop_init+1292
22: 00007FF66A510E5A uv_run+202
23: 00007FF66A412CD5 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfBucketsOffset+9365
24: 00007FF66A486F37 node::Start+311
25: 00007FF66A2E677C RC4_options+339580
26: 00007FF66B2A874C v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+152316
27: 00007FFF70387034 BaseThreadInitThunk+20
28: 00007FFF704C2651 RtlUserThreadStart+33

If I go into where the issue occurs, aka preprocess.js and add a breakpoint on line 11: }).catch(err => process.stderr.write(err)) and I inspect the error I get following when checking it via vscode debugger:
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
    at Loader.defaultResolve [as _resolve] (<node_internals>/internal/modules/esm/resolve.js:782:11)
    at Loader.resolve (<node_internals>/internal/modules/esm/loader.js:88:40)
    at Loader.getModuleJob (<node_internals>/internal/modules/esm/loader.js:241:28)
    at Loader.import (<node_internals>/internal/modules/esm/loader.js:176:28)
    at importModuleDynamically (<node_internals>/internal/modules/esm/translators.js:114:35)
    at exports.importModuleDynamicallyCallback (<node_internals>/internal/process/esm_loader.js:30:14)
    at d:\_Svelte\tests-fail-to-load-on-win\node_modules\svelte-jester\src\preprocess.js:4:1
    at ModuleJob.run (<node_internals>/internal/modules/esm/module_job.js:152:23)
    at async Loader.import (<node_internals>/internal/modules/esm/loader.js:177:24)
    at async Object.loadESM (internal/process/esm_loader.js:68:5) {code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME', stack: 'Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only …loadESM (internal/process/esm_loader.js:68:5)', message: 'Only file and data URLs are supported by the…e valid file:// URLs. Received protocol 'd:''}

I will try a fix tonight. Thank you for testing.

Can you try again with the new release 1.7.0, please ?

Works  with package.json dev dependencies from above  and svelte-jester at 1.7.0

Hi!
Is it just me or the url.pathToFileURL(pathToFile) directive makes the svelte config import break on Linux? I'm running Node v17.6.0, and I get a MODULE_NOT_FOUND error when configuring the preprocessor in the options (my config path is resolved as file:///....). If I remove url.pathToFileURL from the dynamicImport function of transformer.cjs, everything works fine. Looks like requireing paths with the file:// is the issue.


Namespace scope of control on draining for upgrade at runtime

Summary
We should support Namespace scope flag to enable/disable draining for no data loss upgrade at runtime.
Use Cases
Instead of cluster level flag control the draining for no data loss upgrade feature, we should have runtime config to turn it on/off at namespace level.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@afugazzotto should this be in current sprint? I believe you are doing it now maybe?

@juliev0 I think this is related to the user strategy selection done at the namespace level. If that is the case, this is duplicate and I have already done that task.

closing as duplicate, thanks


Can't get metadata.

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Affected packages and versions
2.0.0
Link to runnable example
No response
Steps to reproduce
I am trying to extract metadata from the frontmatter of a markdown file. The following code does work, but I only get the HTML from the markdown.
import {micromark} from 'https://esm.sh/micromark@3?bundle'
import {frontmatter, frontmatterHtml} from 'https://esm.sh/micromark-extension-frontmatter@2?bundle'
import {math, mathHtml} from 'https://esm.sh/micromark-extension-math@3?bundle'

fetch('math_document.md')
  .then(response => response.text())
  .then((data) => {
    const output = micromark(data, {
      extensions: [math(), frontmatter()],
      htmlExtensions: [mathHtml(), frontmatterHtml()]
    });
    console.log(output);
  })

Expected behavior
I would like to get an object with both the HTML and the metadata.
Actual behavior
I only get HTML. It's as if the only thing this extension does is remove the frontmatter to leave only markdown? Any step in the right direction would be greatly appreciated.
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response

That’s not what this project does. micromark is a markdown parser. It parses markdown. This package is an extension for micromark to allow different fronmatter syntax extensions in markdown.
These things are not YAML parsers. If you want to parse YAML, use a YAML parser. And something that understands YAML frontmatter. Here’s a convenience wrapper to do both: https://github.com/vfile/vfile-matter.

All clear now. Thank you!


Users cannot Touch Inspect window caption controls

Open Terminal
On a touch device, start Narrator

Hover over title bar content such as min/max/close buttons
Observe that Narrator cannot find the controls

Alternative, use Inspect and use it to hit test the title bar content

Observe that hit testing in Inspect doesn't find the min/max/close controls

It is worth noting that the tabs in the title bar hit test correctly. The draggable part also hit tests, but Inspect shows that the bounding rect extends beyond the bounds of the window (looks like the width is that of the window rather than (window - tabs)).

Notes from original reporter
This issue was discovered in the investigation of a similar issue in File Explorer. We believe it is up to providers
to support hit testing when their client area extends into the title bar.
In this scenario, the issue is that the app has specified that its client area includes the non-client area of the
title bar. UIA makes sure not to override any hit testing that is within the client area of an app.
To make this work, we recommend following the pattern of other apps that extend their client area into the title bar,
such as WordPad:

Set the provider option to remove UIA non-client area support (may be more of an optimization and not strictly
required) by returning ProviderOptions_RefuseNonClientSupport.

ex:
CUxHWNDElementProvider::get_ProviderOptions
{
// <snip>
     // Claim support for the non-client area
    *pRetVal = (ProviderOptions)(ProviderOptions_ServerSideProvider | ProviderOptions_RefuseNonClientSupport);
    return S_OK;
}

Update client-area hit testing to also test non-client controls, such as min/max/close buttons.

ex:
CUxHWNDElementProvider::RootElementProviderFromPoint
// <snip>
    // Ask the main frame what caption element pt is on, if any
    POINT pt = {static_cast<LONG>(x), static_cast<LONG>(y)};
    LRESULT lHit = SendMessage(_hwndMain, WM_NCHITTEST, 0, POINTTOPOINTS(pt));

    // Special case for custom caption elements: this could potentially be a custom child element
    // Those values are returned by HWndContainer::OnNcHitTest
    if (lHit == HTCAPTION || lHit == HTBORDER)
    {
// <snip> --- Special handling for custom controls in title bar ---
    }

    // If we don't have anything yet, try the regular hit-testing for non-client.
    if (pProvider == NULL)
    {
// <snip> --- maps lHit to OBJID_* ---
            // Get the non-client provider for this piece and wrap it up
            IRawElementProviderSimple * pRawProvider;
            hr = UiaProviderForNonClient(_hwndMain, lEnd, CHILDID_SELF, &pRawProvider);
...

Ported from MSFT-38927143

Hey we may need to do this for theming! There's a mail thread titled "RE: Snap Flyouts only over DWM caption buttons?". See also #10509

Maybe also related: #11260


Removes unused titilliumweb fonts, adds preloading new fonts

Description
Fixes #...
Notes (out of scope, known isues, hints for reviewing code, ...)  (optional)
...
Test cases

[ ] Case 1:

Given I am the usual user
When I go to [this page](branch link)
And I click on ...
Then I see ...
And

[ ] Case 2:

Given I am the usual user
When ...

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/rework-preloading-fonts/playwright-report/index.html


Stopped working after updating to Mac OS Catalina

I'm getting this error after updating to Catalina:
-bash: /usr/local/bin/dryrun: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory

Googled it and tried several stuff but none of them worked for dryrun :(
Any idea?
Thanks in advance

I'm using Catalina and it works, you probably need to reinstall your ruby.
You're using a very old version of ruby by the way.
This is not an issue with dryrun so i'll close the issue.

Sorry but I don't even have that ruby version installed. Is it possible that somewhere in the code you are "defaulting" to that version, and that causes the problem? I tried everything that came to my mind, including reinstalling, and problem still persists.

After trying everything I could find (cleaning up PATH, installing rbenv, deleting everything pointing to the old 2.3 version...), the only thing that fixed the issue was reinstall dryrun like this:
gem install dryrun -n /usr/local/bin
Leaving this here in case it helps anyone. Man this was annoying...

you can take a look at my gemspec, I doesn't look like I specify anything.
https://github.com/cesarferreira/dryrun/blob/master/dryrun.gemspec
Glad you fixed it!


Add episodesByPodcastGuid

Adds episodes (plural) lookup through using a podcast guid.

Another great contribution. Thank you!

New version released: https://pypi.org/project/python-podcastindex/1.14.0/#history


File upload erroring with modified ActiveStorage::BaseController

I updated my ActiveStorage::BaseController on my Rails API to require authentication details specific to our implementation. This seems to work fine for GET requests for an uploaded file, as well as for the Blob being POSTed during the upload, but then there seems to be a PUT request, which I assume is the actual file being uploaded, which fails because it doesn't have the custom header I provided to DirectUploadProvider.

While I still believe that the headers prop should provide the storage request with the same headers, I seemingly fixed this issue by passing the onBeforeStorageRequest prop and modifying the request like this:
onBeforeStorageRequest={({ id, file, xhr }) => {
  xhr.setRequestHeader('APIKey', /* My API Key */);
  xhr.setRequestHeader('UserToken', /* My User Token */);
}}


Pyocd + CMSIS-DAP bulk mode.

Hi there, how is it doing? Hope you're doing great!
Dears;
I have been doing some tests to speed up the CMSIS-DAP utilizing the interface with lpc11u35.
Any test I did had no many interesting results, until I tested it with bulk mode.
I have made the changes for working in drag and drop mode, utilizing bulk instead of HID, and what before was taken about 25 seconds, now takes about 7 seconds!
The problem!
After changing the USB transfer mode from HID to bulk, the CMSIS-DAP interface is not being recognized neither by Keil nor Pyocd!
Question!
There is any way of adjusting the pyocd for working with HID and bulk, or just bulk whatever?
Sincerely;

This looks like a problem with your changes (I assume based https://github.com/ARMmbed/DAPLink/issues/1085) in DAPLink, not an issue in PyOCD. I will move the conversation to the DAPLink issue.


Easy PR: Fix warnings from latest nightly

Unneeded muts removed.
Removed needless .borrow()s. (Two seemed to be needed so these I switched to just use an &)
Now compiles without warnings on latest nightly.

Requires master merge.


Exception casting to RSAPublicKey

When running on API 23 there seems to be an issue with RSAPublicKey. Possible cause: http://stackoverflow.com/questions/32400689/crash-casting-androidkeystorersaprivatekey-to-rsaprivatekey
More info:
the exception is,
java.lang.ClassCastException: android.security.keystore.AndroidKeyStoreECPublicKey cannot be cast to java.security.interfaces.RSAPublicKey
This happens inside this code block
 String alias = getUniqueDeviceId(this.context);
        try {
            final KeyStore.PrivateKeyEntry privateKeyEntry = (KeyStore.PrivateKeyEntry) keyStoreInstance.getEntry(alias, null);
            final RSAPublicKey publicKey = (RSAPublicKey) privateKeyEntry.getCertificate().getPublicKey();
            return crypto.encrypt(input, publicKey);
        } catch (NoSuchAlgorithmException |
                UnrecoverableEntryException |
                KeyStoreException e) {
            Log.e("QlassifiedKeyStore", String.format("Could not encrypt this string. Stacktrace: %s", e));
            return null;
        }

In the QlassifiedKeyStore.encrypt method.
I have the code running on both an emulator with 6.0 and a device with 6.0.1.

I'm getting this error after generating a signed APK and trying to encrypt a string. However, it works fine while debugging with Android Studio.
QlassifiedCrypto: Could not encrypt this string. Stacktrace: java.security.NoSuchAlgorithmException: Provider SC does not provide RSA/NONE/PKCS1Padding

Unfortunately my crypto and Java knowledge is too weak to figure out the cause.
I'm using your fork along with the patch from #1.

@nmalcolm are you getting that error with my pull request (my fork) and a signed apk? Try https://github.com/andy9775/Qlassified-Android/tree/jitpack as it should be the most up to date version.

Yep, I'm using that already. Doesn't crash while encrypting, only discovered it by generating a signed APK, installing it manually, and checking the Android Studio log. Had others reproduce the issue too.

@nmalcolm I created a signed APK of the example project provided in the library using the jipack branch of my fork and I can't seem to reproduce the issue that your getting. I'm only getting an IllegalBlockSizeException which I need to address, but the data encrypts/decrypts without issue.
This is running on genymotion with android 6.0 as well as a galaxy s7 with 6.0.1

@nmalcolm Are you still having this issue with version 0.1.1? The QlassifiedCrypto: Could not encrypt this string. Stacktrace: java.security.NoSuchAlgorithmException: Provider SC does not provide RSA/NONE/PKCS1Padding? And only with signed APKs?

@ShaPOC I am indeed. I'm baffled a signed APK doesn't work. Debugging works perfectly. Let me know if there's anything you need.

检测到：中文 » 英语
My Mi5 may also have this problem, I tested all of our team 6.0 phone will quote ava. Lang. ClassCastException: android. Security. Keystore. AndroidKeyStoreRSAPrivateKey always be cast to Java security. Interfaces. RSAPrivateKey. 6.0 the following: no problem

Im having this same issue when i turn minifyEnabled TRUE
Could not encrypt this string. Stacktrace: java.security.NoSuchAlgorithmException: Provider SC does not provide RSA/NONE/PKCS1Padding
Any ideas why?

You can look at this.Compatible with 8.0：https://github.com/zhibuyu/KeyStoreEncryDemo


Missing key prop on parent resource.

Describe the bug
There's a missing key prop on the parent resource.
Screenshots

Environment (please complete the following information):

OS: Windows
Browser: Chrome
Version: 85.0

Additional context
In the index.modern.js, line 381. The child element does not have a key specified.

@BlazHrusovar Could you please paste the stack trace of the error that you see in the browser console?

@harshit-budhraja Hey, thanks for replying. That is the complete stack trace.

I think this list of elements are missing the key attribute.


Implement improved output observer

A significant reduction in output predictor tracking errors due to bad IMU data has been achieved here:
https://github.com/ArduPilot/ardupilot/pull/4399
This output observer concept needs to be implemented in ecl

@priseborough I think you implemented this in #186 Please reopen if I'm wrong.


ocamlPackages.ca-certs: init at 0.1.2

Motivation for this change
ca-certs is used in a few unix implementations from the mirage ocaml universe, like in cohttp 3.0.0, so it's probably good to have in nixpkgs in the future.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build ocamlPackages.ca-certs


Check browser console errors

Just using this for test running, please ignore for now.

BUT I ALREADY SAW IT RYAN!


[Automated] Update eventing-rabbitmq-eventing nightly

/assign @knative-sandbox/eventing-rabbitmq-approvers
/cc @knative-sandbox/eventing-rabbitmq-approvers
Produced via:
for x in eventing-crds.yaml eventing-core.yaml; do
  curl https://storage.googleapis.com/knative-nightly/eventing/latest/$x > ${GITHUB_WORKSPACE}/./third_party/eventing-latest/$x
done

Details:
bumping knative.dev/eventing 6bfc2d4...ffa5915:
  > ffa5915 Remove deprecated httpclient msgsender (# 7018)
  > 874d288 [main] Update community files (# 7116)
  > 248a471 Eventing TLS: Configure CRDs to have addresses and CA certs (# 7105)
  > d2ce623 [main] Upgrade to latest dependencies (# 7109)

/easycla


Add Dockerfile for oetoolkits

This image represents only the basic setup required for others to use
OE Toolkits. Needed because some tools require only the OE Toolkits to
work, example: https://github.com/OpenEye-Contrib/OEMicroservices/
Since this this the most basic setup, other images in this repo could
use it as the base image.

I'd thought of making a base image, this looks like a great start. Thanks!


改武器伤害显示的颜色

好像目前只能是白色？

请详细解释下
Not sure what you are talking about. Please explain it more.

就是rpgitem test damage 10
然后这不是会显示一个damage 10么还有各种power之后武器上的信息不能改颜色
差不多就是请求功能了？

In favor of #62
But won't address that in the near future.


Twitter logo Update

Pull Request Format
Updated X(Twitter) Logo added
Issue #105 : Update X[Twitter] Logo. [SOLVED]
Type of PR

Add X in the box to specify the improvement type.
[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): ___________

Description
This pull request aims to replace the X (Twitter) logo with the updated version to eliminate any ambiguity for users.
Screenshots / Videos (if applicable)
Before:

The old Twitter logo was being used.

After:

Updated with the new logo (along with the animation)

Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional Context
I had to face the challenge of the newly added X(Twitter) Icon not having the hover zoom animation. Thus, had to change the CSS a bit to solve the issue.
Thank you for reviewing my pull request!

@swaraj-das Please add the following labels:

Issue #105 - level label.
PR #114 - gssoc-ext, hacktoberfest-accepted and level.
I hope the following feature change helps your website reach more people.

@swaraj-das Please review this PR too. You have reviewed my other PR, but this one is pending. Also reminder to add level tag in the issue #105.

@AnitSarkar123, Please review this PR. Also look into the issue that occurred in PR #127. Due to wrong issue of labels, the PR is not being reflected on the GSSoC leaderboard.

@swaraj-das Please review this PR.

@rajdeepchakraborty-rc Merge conflicts. Please resolve it.

@swaraj-das Ok

Also please assign a level to the issue #105

@swaraj-das I have synced my branch and resolved the merge conflict. Please review it.

Ok I noticed that the zoom effect on hover has been removed.

Apart from adding the updated X[Twitter] logo, I have also added the following hover animation on the Social Icons:
https://github.com/user-attachments/assets/81098220-4abc-42c5-8f59-76d633832cee
Please review the PR at your earliest.

Also a friendly reminder from the GSSoC community announcements:

Please issue the correct tags. Also issue level tag in the corresponding issue #105. Would appreciate a level2 tag since I have updated the code and also added an extra hover animation to the project.

@swaraj-das reminder to review the PR. Please try to review it soon, as otherwise I would have to face a conflict again.

@AnitSarkar123 please assign the PR to me and issue the required labels as stated before

@swaraj-das Also a friendly reminder from the GSSoC community announcements:
Please issue the correct tags. Also issue level tag in the corresponding issue #105. Would appreciate a level2 tag since I have updated the code and also added an extra hover animation to the project.

@AnitSarkar123 Please remove the gssoc-extd label as it is a wrong label.

@AnitSarkar123 I have also informed this to swaraj, but I am also informing you, the corresponding issue of this PR does not have the level tag assigned. Please do so and close the Issue #105


POTS UTF8 ON

Starting in Windows Server 2012 the default character is set to UTF8 and not ASCII. This breaks many existing FTP jobs. Details on how to turn UTF8 OFF is now needed.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7eb507ae-f507-f400-714a-718dd663fa50
Version Independent ID: 5d0e3fa1-50ab-cd91-1cb5-c82658e34ef9
Content: ftp ascii
Content Source: WindowsServerDocs/administration/windows-commands/ftp-ascii.md
Product: windows-server-threshold
Technology: manage-windows-commands
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


Revert "MAINT: versioneer"

Temporary until we are ready to go through the entire organization
Reverts qiime2/qiime2#243

Doesn't work when PRs are squashed


Report from publicapis.dev

Name: Fun Facts
Category: Games & Comics
Issue: Broken link
Message: Heroku error
This report was sent from publicapis.dev.

Removed.


Button Text Not Being Readable

I'm having this issue with the button text how do I fix it?

I had the same issue yesterday. I don't know what the fix is, to be honest with you. I'll have to look into the code before I decide whether its fixable or not, otherwise WinBlur will be deemed unusable.

I just released a new version that might have fixed your issue. I have tested texts on buttons with the new version, it still doesn't look very good but it kind of does the job


Speaker Name Output

sentence_id
suggested_speaker
ambiguous
fuzzy_matched

#
speaker_name
0
0

#
speaker_name, speaker_name
1
0

#
speaker_name
0
1

#
speaker_name, speaker_name
1
1

"ignored" has been added to this output

What is this second column for?
S2V0002P0_3343,3826,1820-08-18,Mr. Denman,2,thomas_denman_2118,0,0,0

"hansard_results.csv"


Schema mismatch for label column 'Won': expected Single, got Boolean Parameter name: labelCol

System Information (please complete the following information):

Model Builder Version  <IP_ADDRESS>2701
Visual Studio Version 17.1.0 Preview 1.1

Describe the bug

On starting to train the model.

Error > Schema mismatch for label column 'Won': expected Single, got Boolean Parameter name: labelCol
The label to predict is a Boolean, switching it to Single from the data options raises another error > Training set has 0 instances, aborting training.
Log file:
2021-12-10 19:46:22.5305 INFO Set log file path to C:\Users\SQ\AppData\Local\Temp\MLVSTools\logs\MLModel-R3TOJK.txt (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2021-12-10 19:47:01.6201 DEBUG AutoMLType: Octopus (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2021-12-10 19:47:01.7170 TRACE [Source=TextLoader; Binding, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:01.7380 TRACE [Source=TextLoader; Binding, Kind=Trace] Channel finished. Elapsed 00:00:00.0214074. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:01.7380 TRACE [Source=TextLoader; Binding, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:01.9259 INFO start nni training (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2021-12-10 19:47:01.9479 INFO Experiment output folder: C:\Users\SQ\AppData\Local\Temp\AutoML-NNI\Experiment-A6C00H (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2021-12-10 19:47:01.9479 DEBUG row count is unknown, count it explicitly (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2021-12-10 19:47:01.9479 TRACE [Source=TextLoader; ParseStats, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:01.9559 TRACE [Source=TextLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:02.0018 TRACE [Source=TextLoader; ParseStats, Kind=Trace] Channel finished. Elapsed 00:00:00.0490832. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:02.0038 TRACE [Source=TextLoader; ParseStats, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:02.0038 TRACE [Source=TextLoader; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0467902. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:02.0038 TRACE [Source=TextLoader; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2021-12-10 19:47:02.0038 DEBUG count elapse 53ms (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2021-12-10 19:47:02.0038 INFO |     Trainer                             RSquared Absolute-loss Squared-loss RMS-loss  Duration #Iteration      | (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2021-12-10 19:47:02.2477 DEBUG select pipeline e0 * e1 * e2 * e3 * e5 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2021-12-10 19:47:02.2717 DEBUG 4$NumberOfTrees:4,4$FeatureFraction:1 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2021-12-10 19:47:02.2867 DEBUG update train dataset C:\Users\SQ\AppData\Local\Temp\AutoML-NNI\Experiment-A6C00H\train.bin (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2021-12-10 19:47:02.3366 DEBUG update test dataset C:\Users\SQ\AppData\Local\Temp\AutoML-NNI\Experiment-A6C00H\test.bin (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2021-12-10 19:47:02.5455 DEBUG Schema mismatch for label column 'Won': expected Single, got Boolean
Parameter name: labelCol
at Microsoft.ML.ModelBuilder.AutoMLService.LocalDispatcher.d__16.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Dispatcher/LocalDispatcher.cs:line 60
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.LocalAutoMLExperiment.d__15.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/LocalAutoMLExperiment.cs:line 142
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLEngine.d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 163   at StreamJsonRpc.JsonRpc.d__139`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<b__109_0>d.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)

sTank2.zip

@blahblehblah Sorry you've ran into this problem!  Can you try that and see if it works?

That did work, thank you


Cross project TPU access

Description
Support TPU resource access from project cloud-ml-benchmarking
Tests
Test link.
v5e capacity is not assigned yet, we should expect it come up in following 1-2 days.
Checklist
Before submitting this PR, please make sure (put X in square brackets):

[x] I have performed a self-review of my code.
[x] I have necessary comments in my code, particularly in hard-to-understand areas.
[x] I have run one-shot tests and provided workload links above if applicable.
[x] I have made or will make corresponding changes to the doc if needed.

Airflow is able to create/delete v4/v5p queued resources but is unable to ssh into the tpu vm. Anyone knows why this can happen?


Unable to locate element: {"method":"css selector","selector":".el-input__suffix"}

Login successfully on https://www.95598.cn/osgweb/login
Here are a total of 1 userids, which are ['XXXXXXXXXXXXX'] among which ['xxxxxxx', 'xxxxxxx', 'xxxxxxx'] will be ignored.
[ERROR   ] ---- Webdriver quit abnormly, reason: Message: no such element: Unable to locate element: {"method":"css selector","selector":".el-input__suffix"}

你好，想知道这个是什么问题呢，谢谢各位！

有问题先重启一下试试，手动登录国家电网官网，登录成功后在输入"https://www.95598.cn/osgweb/userAcc"这个网址看看有没有账户

重新运行了之后确实解决了！
感谢！


Provide support for commands

This implements a basic applyEdit operation (more advanced ones would accept the editor and preserve / manipulate the current selections), as well as registering commands against a given editor.
Fixes #11
Fixes #12

Actually, having looked at that disgusting applyEdit function, we should iterate over the changes and then apply them all in bulk. Otherwise the undo stack looks a bit odd.

I've made the changes but not written an example. Any ideas on what to use as an example?!

@gatesn the same here please use rebase instead of merge

I like changes but there should be a proof that it is working: tests or use of it in the example.
What if the JSON server provides:

a command that converts a property name at the position to the lower via applyEdit
some way to trigger it for example via the code action

It should not be sophisticated, but only demonstrate that everything works together.

@akosyakov I created an example that provides a code action for any document in all positions. This action triggers a server-side command that upper cases the entire document.

@gatesn I've tested this PR and it works nicely, thank you! I've opened a new PR against your, please merge it and after that, I will approve this PR.
Next time you can work in the branch directly in this repo since you have the write access instead of working on the fork. It makes easy to push new commits to PRs.

@akosyakov merged your changes, thanks

Do you think we could cut a release after this merges?

@gatesn LGTM, thank you again!

Do you think we could cut a release after this merges?

yes, we can make a release. Should we migrate to monaco 0.10.0 before the release?

btw i wonder why github cannot recognize your account as an author, see: https://github.com/TypeFox/monaco-languageclient/commits/master

Probably no 0.10.0 given the breaking changes around Code actions. We might need to investigate to see what that means.

And it seems my git setup is different on different laptop :/

@gatesn 0.2.0 is published with 0.10.0 Monaco support thanks to @rcjsuen


feat: disable eslint quotes, quoteProps, comma-spacing, and comma-dangle in typewriter

Typewriter generates code that violates all of these. The eslint-only ones are harmless to disable by default, since we already disable max-len and these are also built-in with eslint. comma-dangle and prettier/prettier are not built-in, so we make these toggleable.

I'm not against this, but I'm surprised how this has only surfaced now?

I'm not against this, but I'm surprised how this has only surfaced now?

I think it's because our yargs definition is one massive, 300-line expression.


How can I use new md3 components?

Hi everyone!
I'd like to implement and use new components eg: filled-button in my project. I know that components is in WIP status.
I've cloned this repo and I couldn't see any build configuration or script for components folder. All scripts seems to written for mwc components. How can I use the new components?
Thanks

These components are being actively worked on, and are not ready for anyone to use yet. We will release these components later this year after we get close to public release.


[Feature request] Add the uptime of the node in the last column

Would it be possible to add the uptime of the node in the last column ?
It would be very interesting :)

--extra-labels eks-node-viewer/node-age should do what you want.


Feat: Add option to store original image before resizing

Added a 'Copy & Resize' button on the resize window which will keep the original image & create a new image with new size.
(optional) Issue number:
Summary of the change:

Maybe adding a copy paste function would be more useful? Than after copying, resize the image

Thanks @rashidul-hasan !


Move advanced IServiceCollection extensions

Moved advanced IServiceCollection extensions methods used primarily by frameworks into a separate namespace: Microsoft.Framework.DependencyInjection.Extensions.
Moved:

Add(IServiceCollection, ServiceDescriptor)
Add(IServiceCollection, IEnumerable<ServiceDescriptor>)
TryAdd(IServiceCollection, ServiceDescriptor)
TryAdd(IServiceCollection, IEnumerable<ServiceDescriptor>)
TryAdd*

ServiceCollectionExtensions now only consists of AddTransient, AddScoped, AddSingleton and AddInstance methods.
I'm not sure if the methods I consider as 'advanced' are the same as you guys do. Shoot if you want me to move things back and forth.
#254

/cc @halter73 @davidfowl @pranavkm

Not sure why test fails, runs fine locally.

Tests on Travis are currently failing because of 3rd party DI tests. Those should get fixed soon.
Changes look good to me. Would you be interested in creating follow up PRs in other repos where these methods are used?

Sure!

Thanks, can you squash the commits so that we can merge?

@Eilon squashed and rebased! :smile:
I'll make a list a list of repos to update.

Repos which need to react:

[ ] Mvc
[ ] EntityFramework
[ ] Antiforgery
[ ] EventNotification

More..?

I'm not in love with FrameworkExtensions as a namepace...  Maybe something bland like Infrastructure is better?

@HaoK I renamed it Extensions for now. As discussed with @Eilon.

Ah I missed that thread since it was in a outdated diff... least I suggested the same name :)

Yeah :smile:
First comment was still mentioning FrameworkExtensions though, corrected it now.

It's nice to have someone doing my work for me :smile:  :+1:

Rebased with dev, CI is green now :smile_cat:

@Eilon when are you planning to merge this? I'll have some spare time this week to create the follow-up PRs.

Sorry, I didn't see the follow up changes in other repos and wasn't sure if that was ready to go. We can get this change in today and work our way through others if they aren't already good to go.

The PRs aren't there yet. I figured we wait until this change flowed through the other components and start fixing them.

Merged.

Cool! I'll look into the follow up PRs tomorrow. :smile:


[zero] Update method of grad store

📌 Checklist before creating the PR

[ ] I have created an issue for this PR for traceability
[x] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[ ] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234

📝 What does this PR do?
It's not that important, but it seems more appropriate to call a method to modify the contents than to directly refer to the private member variable (_averaged_gradients) in self._grad_store. So I introduced a method to add or change the value of grad_store.
💥 Checklist before requesting a review

[ ] I have linked my PR to an issue (instruction)
[ ] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[ ] I have performed a self-review of my code
[ ] I have added thorough tests.
[x] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[x] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

Your pre-commit check failed, follow the steps to run pre-commit on your file for code style consistency.

install pre-commit via "pip install pre-commit"
install pre-commit hooks via "pre-commit install"
run pre-commit on file with format error via "pre-commit run --files path" by replacing "path" with the actual file path
commit and push to your branch

View your job at https://github.com/hpcaitech/ColossalAI/actions/runs/4164081624. Read our "CONTRIBUTING.md" for more reference to the code style.

Hi @yhna940 , thank you for your PR. Can you help to format your code with pre-commit for code style consistency? @1SAA can you help to review this PR?

Hi, seems some Github updates broke our CI checks. I have fixed the CI and can you rebase your code with the latest code so that the correct CI can be triggered?


use Failure

rather than std::Error

I'd love to take this. Is the general idea to simply replace std::error with failure::Error (from https://github.com/rust-lang-nursery/failure)?

I'd love to take this. Is the general idea to simply replace std::error with failure::Error

Yes, exactly. There might also be something to do at the top level where we catch errors.

Does it also include std::io::Error and other variants?

No these are the concrete error types, only the error trait is replaced. At some point these concrete errors will be hidden by failure::Error, but keep them concrete as much as possible.

@mrecachinas Sorry I start working on it before seeing your comment, feel free to piggy back on my PR
@nrc I was wondering if my PR is what your were looking for. It uses failure only for internal error but if you want more of the failure crate that's going to have an impact on more code.
I have tried to replace FmtResult to be std::result::Result<T, Box<Fail>> but I quickly ran into implicit conversion missing. I guess that would require a much more code change. Is that what you are expecting?

I figured it out!
@nrc I am happy with my PR. Feel free to review.

No prob!

Where does this stand after #2650?

Where does this stand after #2650?

It can be closed


Reformat lines that are too long

@viathor Line covered.  Let's see if that does anything. If not, I'll complain to GitHub.


Can I use Data Pipeline Proxy service as normal user?

Hello.
In order to generate vehicle control calibration, Data Pipleline Proxy should be done. In the Data Pipeline Proxy page, it says that this service is provided to your partner. Does this mean that normal user cannot use this service?
Vehicle Control Calibration:
https://github.com/ApolloAuto/apollo/blob/master/docs/specs/calibration_table/control_calibration.md
Data Pipeline Proxy
https://github.com/ApolloAuto/apollo/blob/master/modules/tools/fuel_proxy/README.md

@cyberphysicalrobotics the data pipeline is only available for certain selected partners currently, but should you have a testing vehicle ready and Apollo set up on that vehicle, I recommend reaching out to<EMAIL_ADDRESS>for more information on how to leverage this service.

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Fix cache-from with ecr shorthand

Fix a regression introduced by #20.
This will use an ECR repository in the same account and region as configured for this plugin.

Apologies I got distracted, this is now released as v2.0.1


Windows out of bounds

Describe the bug
Every time I start the application I get the dialog "Windows out of bounds" with the question "Some windows were detected out of bounds. Should they be moved into bounds?". It doesn't matter if I click yes or no the window will still have the same (not outside screen) position every time I start it.
To reproduce
I just start the application but I am using RDP while doing it (unable to test without because of GPU problems).
Chatterino version
I am using Chatterino 2.1.7 (commit 845c8fa63) "Chatterino Portable" from the site (tried downloading it and running a fresh version but had the same problem).
Operating system
Windows 7 Ultimate
Additional information
I could not find anyone else having this issue so maybe it is related to using RDP. I have tried multiple resolutions, also worth noting, the window position and size is always the same when I start it (e.g. a opening a folder will remember size and position). If I maximize the window it will start maximized but I still get the question about out of bounds. So my best guess is that this code
https://github.com/Chatterino/chatterino2/blob/11b894829072617b67d4ad06574e7c78c69d1def/src/singletons/WindowManager.cpp#L333-L337
Has an issue with screen size for RDP sessions. This issue is quite annoying both because you have to click a button every time and also because if you forget the client will not join any channels (so you might miss out on things happening). I realize this might not be a very high priority issue but maybe someone will see a very obvious solution or maybe someone already knows more about the problem. It could also be an indication that maybe the feature is not needed or has other problems since it doesn't seem to matter if I click yes or no.
Update, have replaced GPU and tried it without RDP but that didn't solve the problem did not seem to make any difference at all.

Unfortunately there is not enough information to fix this issue. Also Windows 7 is not officially supported by Chatterino.


Fix single media syncing

Fix single partial processing.
When removing single media it will clear imageable relation for that entityId and that zone.

Can work on beautifying code later :)
Re-publish assets of Media for this to work.


Windows Error

After a recent upgrade of flutter_securre_storage, I keep getting the following error under Windows...
Launching lib\main.dart on Windows in debug mode...
√  Built build\windows\runner\Debug\sandis_list.exe.
Connecting to VM Service at ws://<IP_ADDRESS>:49857/9uCr3Nyrbfs=/ws
flutter: Failed to decrypt data: Error 0x00000000: Failure on CryptUnprotectData() Delete corrupt file: c:\users\shane\appdata\roaming\tanstaaflsoftware\sandis_list\flutter_secure_storage.dat
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Error 0x00000000: Failure on CryptUnprotectData()
#0      DpapiJsonFileMapStorage.load. (package:flutter_secure_storage_windows/src/flutter_secure_storage_windows_ffi.dart:234:11)
#1      using (package:ffi/src/arena.dart:124:31)
#2      DpapiJsonFileMapStorage.load (package:flutter_secure_storage_windows/src/flutter_secure_storage_windows_ffi.dart:209:19)

#3      FlutterSecureStorageWindows.readAll (package:flutter_secure_storage_windows/src/flutter_secure_storage_windows_ffi.dart:113:17)

#4      AppPreferencesFlutterSectureStorage.readAll (package:sandis_list/app_preferences_flutter_secure_storage.dart:50:12)

#5      AppGlobalObjects.initialize (package:sandis_list/app_global_objects.dart:108:10)

#6      main (package:sandis_list/main.dart:48:3)

I haven't changed this part of my code in almost 6 months!
Any idea on how to fix or what could have changed?
All the best,
Aggie85

This error is caused by multiple writes to the storage.
Сode example to reproduce the error (need to quickly scroll the list):
import 'package:flutter/material.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';

late final FlutterSecureStorage storage;

void main() {
  storage = const FlutterSecureStorage();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    var controller = ScrollController();
    controller.addListener(
      () => storage.write(key: "key", value: "${controller.offset}"),
    );

    return MaterialApp(
      title: 'Scroll quickly to see the bug.',
      home: Scaffold(
        body: ListView(
          controller: controller,
          children: [for (int i = 0; i < 100; i++) Text("$i")],
        ),
      ),
    );
  }
}

This error is caused by multiple writes to the storage.
Сode example to reproduce the error (need to quickly scroll the list):
import 'package:flutter/material.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';

late final FlutterSecureStorage storage;

void main() {
  storage = const FlutterSecureStorage();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    var controller = ScrollController();
    controller.addListener(
      () => storage.write(key: "key", value: "${controller.offset}"),
    );

    return MaterialApp(
      title: 'Scroll quickly to see the bug.',
      home: Scaffold(
        body: ListView(
          controller: controller,
          children: [for (int i = 0; i < 100; i++) Text("$i")],
        ),
      ),
    );
  }
}

@mogol plz fix asap

I am closing all older issues. If this issue still exists in the latest version, please let me know.


Fix the changelog SSE example

Fix the changelog SSE example

Closing for the favor of https://github.com/thanos-io/thanos/pull/3144


Select and Start Debugging missing

VS Code Version: 1.53.2
OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:

Open directory with a simple .cpp file.
Add launch.json.
Add at least two configurations.
ctrl+shift+P (no option to select configuration).

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

Duplicate of https://github.com/microsoft/vscode/issues/116299  Fixed in Insiders already.

Are there any workarounds in the current released version?


M192ms, M192dms_v2, M128ms_v2 | 4,096 GiB

Hi, there is a little correction needed in the first table for /hana/data
M192ms, M192dms_v2, M128ms_v2 | 4,096 GiB
M128ms_v2 can be removed from the row with 4096 GB as it has 3,892 GB and is also listed there.
Thanks,
Michael

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 13ecd5d2-9d58-1d74-8e27-22754055120c
Version Independent ID: 3e93d9d3-5341-0e3c-a15c-85906fc0b5b3
Content: SAP HANA Azure virtual machine storage configurations - Azure Virtual Machines
Content Source: articles/virtual-machines/workloads/sap/hana-vm-operations-storage.md
Service: virtual-machines-sap
GitHub Login: @msjuergent
Microsoft Alias: juergent

@mimergel we'll review your feedback and get back to you shortly. Thanks.

Hello Michael, indeed a copy/paste issue. I corrected it. Should get published within the next few hours

Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Saving a pcap takes minutes

On Packetry 0.2.0, saving captured packets to a pcap file usually takes minutes, while loading is instant.
Steps to reproduce

Open Packetry.
Load any pcap file from your local file system. Observe that the file loads instantly, i.e. within tenths of seconds for a ~100MB pcap file.
Press the Save button on the toolbar. A file chooser comes up.
In the file chooser, pick a file name and hit Save.
Watch the progress bar near the bottom of the window:

Expected behavior
Saving a ~100MB pcap file, originally recorded and saved using Packetry, takes about three minutes on a fast SSD.
Actual behavior
Saving a ~100MB pcap file, originally recorded and saved using Packetry, takes less than 30 seconds on a fast SSD.
Affected builds
This has occurred as long as I can remember. I only learned today via Discord that it’s not supposed to be that slow.
Builds with which I can reproduce the symptom:

GSG’s own v0.2.0 AppImage build

the current 0.2.0-1 package on the AUR, built from tagged upstream sources using --release

the older 0.1.0-1 AUR package, built from tagged upstream sources using --release

most (if not all) of the post-v0.1.0 tip-of-the-tree builds I’ve tried, built using the VCS package packetry-git on the AUR via --release

Notes
The above steps use a previously-saved pcap file for convenience. However, the same symptoms occur when saving a fresh Cynthion-recorded file.
Packetry says that the pcap file I’ve used has ~2.7M transactions and ~5.5M packets.

I can confirm this on macos with cargo run --release and 71827e2fcdcf227b3bbdab93b67cf4893f169e54
Saving a full speed 56 second capture of a ftdi-ft serial traffic with 4.13MiB reported size in packetry took around 5 minutes to save the 4,3M captured packets. This resulted in 75MB .pcap file.

I've been unable to reproduce this here. I have a 300MB file I use regularly for benchmarking, with 1.5M transactions and 3.5M packets, and it saves in about 5 seconds on a release build. On a debug build it takes a couple of minutes.

Turned out my file was a poor test because it used old dummy timestamp data. With a fresh capture I could reproduce the problem. Fixed in #170.

Thank you for the fix @martinling!


Tonomy Demo: See what's going on with the app AFTER login

As somebody trying out the SSO Demo
I can see what data was exchanged during the login
so that I can better understand where and how to use Tonomy ID for my own website
Acceptance criteria

[ ] high fidelity design made
[ ] feedback received on high fidelity design
[ ] feedback implemented in design

A popup style of window saying what just happened, explaining the full process of it. Taking inspo from https://discordapp.com/channels/1029385699071381524/1039498641968205834/1085101581193723977
The background window should be blank-is representing any app that enabled tonomy ID sigh in button

https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=4556%3A23257&t=L0M41A7VhEC9Ig24-1

the design
https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=4626%3A23356&t=QHLQXWwaJMKDZVjY-1
how it will be implemented:
https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=4634%3A25547&t=QHLQXWwaJMKDZVjY-1
or this
https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=4590%3A23195&t=QHLQXWwaJMKDZVjY-1

Notes:

design 2 animation is cooler https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=4590%3A23195&t=QHLQXWwaJMKDZVjY-1
generally. its very techy and i am not comfortable with it going in the product yet. this is hard work but we'd need to simplify this and make it more visually appealing if we expect even 20% of people to read it
see comments on the content

@jack, the link youve added in the comment is from a previous task. Are you saying you prefer the design to be like a chart? Or was it a wrong link you pasted and wanted the comment on on of the 2 possible presentations?

Finale version:https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=3921%3A22926&t=VCmVHrhkLU4cpS1s-1

https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=4590%3A23195&t=ElQJmapxjD7qvf4d-1

To avoid confusion, this was the final work.
https://www.figma.com/file/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=4590-23195&t=9ldsIeD9hDGktdfh-4
This was deprioritized and before adding to dev epics we should have another design refinement task.


Add system containers status.

It's blocking https://github.com/docker/docker/pull/19249
Signed-off-by: David Calavera<EMAIL_ADDRESS>

LGTM 🐲

LGTM


[WIP] Add FTReceiverBalance

⚠ Work in progress 🏗
Adds hosted Factory/Filter details to README as well as Filter details to flow config.

Codecov Report
Patch and project coverage have no change.

Comparison is base (604e872) 82.50% compared to head (875345d) 82.50%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #156   +/-   ##
=======================================
  Coverage   82.50%   82.50%
=======================================
  Files           4        4
  Lines         343      343
=======================================
  Hits          283      283
  Misses         60       60

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Implement SA1135: Enum values should be on separate lines

Category: Readability
Title: Enum values should be on separate lines
Code that will trigger it:
public enum SomeEnumType
{
    FirstValue, SecondValue, ThirdValue
}

Corrected code:
public enum SomeEnumType
{
    FirstValue,
    SecondValue,
    ThirdValue
}

:+1: on this.

:+1:

:memo: I would prefer a single rule that applied to elements (members of a type or namespace) in general.

:+1:

:+1:

:+1:

Grabbing this

This will be SA1136, there already is an issue for SA1135 (#1762)


Raster overlay errors not displayed to the user?

A user had some trouble with a TMS raster overlay:
https://community.cesium.com/t/tms-service-failed-to-load/22824/14
The specific error should definitely have triggered an error from the provider, but for some reason the error seems to never show up in the user's console. We should look into why that is.

This appears to be a false alarm. I tried creating a similarly invalid tilemapresource.xml, and Cesium for Unity reported:

Unable to parse Tile map service XML document.

as expected.


clarify necessity of dots on arrow classes

This tripped me up and I don't seem to have been the only one: https://github.com/ashleydw/lightbox/issues/133
This clarifies that the preceding periods are necessary for event handlers to work correctly.

This is no longer relevant with https://github.com/ashleydw/lightbox/issues/166


fix(peers): Adding connectionAddr to /ipfs/peers

Also updating helia-coord to v1.2.4.

:tada: This PR is included in version 5.1.2 :tada:
Your semantic-release bot :package::rocket:


Support Elastic Container Service (Amazon ECS)

Hi,
Is there anything planned to handle ECS clusters and its ASGs ?
I worked on something similar in the past (see attachment). Maybe it can be used as inspiration.
ecs-asg.py.txt

@cbanciu667 thank you for the input, this will be taken up as a new feature request.

@maykays
Why this feature is moved to "We won't build" section?
Are you developing this feature in another project? or is this feature beyond the responsibility of this project?

Thanks😊 I check AWS System Manager Automation.

Hello @gockle, @rakshb
I understand your suggestion about the AWS Systems Manager Automation for this use case.
However the client I'm working is really interested in having the solution support AWS ECS Service,
as  that would allow them a quick win in term of cost for their current environment.
I therefore submitted the Pull request #407 specifically for this issue.
Please, do no hesitate to comment anything that might allow a prompt merge of this request.
Thanks for the consideration

Hi @rakshb, we are also really interested for this new feature. Do you have an approximate ETA for this prioritized feature ?

ASG Scheduling is now supported in v3.0.0, which by extension means that you can schedule the ASGs that run your ECS clusters.

@CrypticCabub Hey, I was looking into setting up org level instance scheduler and I would like to consolidate our ECS Fargate services to use the same schedule as other services, but it does not use ASG, seems like Fargate has its own scaling system?
Should I open a new issue for supporting Fargate services in the instance scheduler solution?

Yes please do open a FR ticket. I am not too familiar with the inner workings of native fargate personally, but it does sound like a service that we could possibly support in the future.


Add recaptcha v3 to sign up form

https://developers.google.com/recaptcha/docs/v3

Could you provide the recaptcha key?
or Should I create it on my side?
@adamsoffer

We need to discuss more details for spam prevention.

I am curious how to get a score the reCAPTCHA v3 returns,  As you can see on the screenshot, should I send the token that gets from "grecaptcha.execute" to the backend to get the score? or should I get the score on the nextjs frontend side?

Call the Recaptcha API(https://www.google.com/recaptcha/api/siteverify) on the frontend side:

score < 0.5 : the user is spam?

Send the grecaptcha.execute token to the backend:

I can add the token to the register endpoint like this:

    email,
    password,
    firstName,
    lastName,
    organization,
    phone,
    grecaptchaToken

or can send the token to another specific API

@adamsoffer  @iameli  @pglowacky

We'll need to add a /verify endpoint. https://prateeksurana.me/blog/integrating-recaptcha-with-next/#verifying-captcha-via-nextjs-api-routes
Instead of using next routes as described in the above guide we'll want to add this endpoint inside our api package. Can you open a separate PR with this endpoint?

https://github.com/livepeer/livepeer-com/pull/732


Updated GitHub workflows, search_linked code, and make file to improve code quality and resolve previous issues.

Updated GitHub workflows to remove pylint due to numerous issues. Also standardized the loading of .env in the updated search_linked code by using absolute file references instead of relative, resolving previous problems. Additionally, removed pylint from the make file and modified it to perform formatting instead of just checking for black.

Closes #68


Add TaskRuns in the tree as a root node

Fix: #198

Codecov Report

Merging #237 into master will increase coverage by 0.22%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
+ Coverage   70.42%   70.64%   +0.22%
==========================================
  Files          37       37
  Lines        2333     2354      +21
  Branches      394      395       +1
==========================================
+ Hits         1643     1663      +20
- Misses        690      691       +1

Impacted Files
Coverage Δ

src/tkn.ts
78.35% <70.58%> (+0.70%)
:arrow_up:

src/tekton/taskrun.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

Should it be plural TaskRuns?

@siamaksade

Reorder is valid here too. TaskRuns after ClusterTasks

@siamaksade @gorkem


Document additional dependencies for building the GUI

The ION GUI has several dependencies beyond the dependencies that are set based on Bitcoin compatibility.
For example: Qt5PrintSupport is a dependency for ION, not for Bitcoin.
When updating the automake file, these dependencies need to be accounted for. At the same time, they need to be documented to:

Update the installation process
Be aware of the differences when upgrading the code

Agree, let's discuss it and let's see how we manage this project, as it has with many different segments to do.
If you did not look up, take a look at General Development Workflow Strategy Definition (Build-Release process ,now and in future, dependancies - static builds)  (simply click on "Show Menu" to see project description) . You could also read the same in projects overview page


mcrypt is deprecated in PHP 7.1.x

https://github.com/symbiote/docker-project/blob/0cc0e64510c13f57387208309c4d10503d8c09f2/php/Dockerfile#L32

Hi Guys,
Had a quick look, seems like other issues now crept up. This will require more investigation.


Add disk space report on Linux.

Might want to add this for osx as well

@ras0219-msft Is the command df -h for macos as well?


Create notifier Lambdas for AWS GuardDuty & AWS Config

Background
Currently, we receive email notifications from GuardDuty and Config by using Cloudwatch Event Rules to send messages to SNS.
Unfortunately, when you send messages to SNS directly using Cloudwatch, you cannot customize the email subject, so it always appears as "AWS Notification Message".
To customize the email subject, you need to create a custom Lambda that sends messages to SNS and have that Lambda triggered by the Cloudwatch event rule, as described here:
https://aws.amazon.com/premiumsupport/knowledge-center/change-sns-email-for-eventbridge/
To do

[x] Implement notifier Lambda for GuardDuty
[x] Implement notifier Lambda for Config

PRs to implement GuardDuty notifier Lambda:

https://github.com/cloud-gov/aws-admin/pull/71
https://github.com/cloud-gov/aws-admin/pull/72
https://github.com/cloud-gov/aws-admin/pull/73

Both Lambdas have been provisioned by our Terraform code and are working


edited the logic a little bit

Hello,
this is my first time i'm writing public in python.
But i tried to edit your script a little bit.
Because of if you always delete and create the playlist new, the watch status is gone, i have modified the script.

outsourcing of playlist to file (mcuchronologicalplaylist.txt) --> make editing easier
if there is no playlist with the name you choosed --> it creates the playlist
if there is already a playlist with the same name --> it looks inside the playlist and gives you the choice
-> if you have more items in you library you can add them and check the order
-> if you have the wrong content in your playlist you can remove them and check order
-> if the playlist is up to date you can check the order

Thanks a lot for this PR. There's quite a bit here, will need some time to review it!

No Problem.


HIVE-25458: Unix_timestamp() with string input give wrong result

What changes were proposed in this pull request?

unix_timestamp() accept 4 value string/date/timestamp/timestamptz. Out of which date/timestamp/timestamptz use DateTimeFormatter.class where as string type use SimpleDateTimeformatter.class which cause difference is value.
Example -
select from_unixtime(unix_timestamp('1800-11-08 01:53:11'));
1800-11-08 01:35:15
select from_unixtime(unix_timestamp(cast('1800-11-08 01:53:11' as timestamp)));
1800-11-08 01:53:11
Why are the changes needed?

moving string input type processing from simpledatetimeformatter to DateTimeFromatter.
Does this PR introduce any user-facing change?

No
How was this patch tested?

UTs and QTs are added

@mattmccline-microsoft Could you please review the PR?


Send multiple files using obex web request

Hello,
is-it possible to send multiple files using obex web request and not only one file ?
public void SendFile(BluetoothDeviceInfo device, string fileToSend, string destinationPath)
{
    // Build te OBEX uri and create an OBEX web request
    var obexUri = new Uri("obex://" + device.DeviceAddress + "/" + destinationPath);
    var request = new ObexWebRequest(obexUri);

    // Fill the request with the file data
    request.ReadFile(destinationPath);

    // Send the request to the targeted bluetooth device
    var response = request.GetResponse() as ObexWebResponse;
    response.Close();
}

Thanks

No although there is some unfinished work on ObexClient which would allow you to establish a connection and then perform multiple operations.

Thanks


Update to .NET 5.0 or newer

I feel like ScriptHookV.NET would benefit from being upgraded from .NET Framework to .NET 5.0 (or .NET 6.0) mainly to take advantages of newer C# features (or maybe even outright directly use Roslyn as code generator).
Visual Studio 2019/2022 does support C++ /CLI for .NETCore 3.1 and newer (which includes .NET 5.0). This is also to future proof this in the off chance .NET Framework does not become installed by default on Windows (unlikely?)
Relevant MSDocs information: https://docs.microsoft.com/en-us/dotnet/core/porting/cpp-cli

.NET built assemblies came with a huge pack of things. If it is an executable it would pack these things:

Runtime config
Native bootstrapper on the platform built
Assembly dll
Other config files

And all of these are required.
Non-executable don't have native bootstrapper but still came with more things.

SHVDN uses AppDomains, which I don't think work right except on .NET Framework. Or at least, they're a legacy thing.

SHVDN uses AppDomains, which I don't think work right except on .NET Framework. Or at least, they're a legacy thing.

It may be possible to migrate to AssemblyLoadContext and process boundaries.

Also migrating to .NET 5.0+ will be a breaking change. Should make APIv4 for that one?

Any updates here? Also if there will be an APIv4, can the KeyEventArgs be embedded to SHVDN? KeyEventArgs requires to reference winforms assembly, which is quite annoying (when using .NET standard).

可以考虑升级到.net6+吗？FrameWork写法有局限性

这里有更新吗？另外，如果有APIv4，KeyEventArgs可以嵌入到SHVDN吗？KeyEventArgs需要引用winforms程序集，这很烦人（使用.NET标准时）。

哈哈对 好像只有.FameWork才能引用Winforms，这也是一个难题

I want to use new features that are only available in the new .NET runtime in SHVDN scripts so much if I could, but I don't think we can run scripts that are compiled for .NET Framework and ones that are compiled for .NET 5+ (or.NET Core) in the same ASI runtime. Someone (or me?) will have to create another runtime for .NET 5+.

哈哈对 好像只有.FameWork才能引用Winforms，这也是一个难题

You can enable winforms support by specifying <UseWindowsForms>true</UseWindowsForms> in project property.
.NET Core has some degree of compatibility with .net Framework, existing script should have no problem running as long as they don't reference framework-specific assembly.
I think the biggest challenge is handling assembly unloading as @cpast mentioned, AssemblyLoadContext cannot be forcibly unloaded, if the script started a background thread or have some non-freeable GC handle, the runtime won't be able to unload it.

哈哈对 好像只有.FameWork才能引用Winforms，这也是一个难题

You can enable winforms support by specifying <UseWindowsForms>true</UseWindowsForms> in project property.
.NET Core has some degree of compatibility with .net Framework, existing script should have no problem running as long as they don't reference framework-specific assembly. I think the biggest challenge is handling assembly unloading as @cpast mentioned, AssemblyLoadContext cannot be forcibly unloaded, if the script started a background thread or have some non-freeable GC handle, the runtime won't be able to unload it.

我也觉得如何把 Domain 改写成 AssemblyLoadContext 是一个难题，我对于 AssemblyLoadContext 也只是会一些简单的动态重载dll，但是我会尝试去把它改写成.net Core的版本，虽然我在代码方面是个新手...

As for hosting .NET Core in the same ASI, I think we have two options out there:

Add another C++/CLI library (ScriptHookVDotNetCore.dll ?) that builds against .NET core and call it from ASI.
Use native hosting to host a .NET Core runtime in the existing ASI.

First one might be easier since we just need to port the existing core and modify the ScriptDomain part.

As for hosting .NET Core in the same ASI, I think we have two options out there:

Add another C++/CLI library (ScriptHookVDotNetCore.dll ?) that builds against .NET core and call it from ASI.
Use native hosting to host a .NET Core runtime in the existing ASI.

First one might be easier since we just need to port the existing core and modify the ScriptDomain part.

我也觉得第一点比较更优，因为更易理解而且代码量较少
我觉得可以建立一个新的 ASI ，例如ScriptHookVDotNetCore.asi ， 因为这样不会干扰之前的基于 FrameWork 的很多的脚本？
等等...直接在源码里面加入一个这样的新功能？ 我不确定 .NET Core 和 Framework 能存在于一个ASI里，并且有些难度
你尝试过这些吗？

Hi guys! I have 4+ years of professional experience but in web applications. From what I see .NET Framework 4.8 is the last, it is easier to port than older versions so we have an advantage. I don't know how useful this might be but there's a tool by Microsoft that gives you suggestions on what to change https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview

Got the API and the core building with no errors in .net 6, with some warnings and a deprecation I couldn't fix so I commented (maybe you can). I tested referencing the resulting .dll file in a .net core project and had no errors too. Haven't tried it in game tho. You are probably really busy with other more important bugs or fixes but if you want I can just do a PR on a separate branch and you can check it and see if you want to use any of it

Ok, I don't think one can load multiple .NET runtime in a single process. However, with NativeAOT, it is possible to compile a self-contained native win32 dll. You can see my PoC project here.

Great, will take a look

I've created a working implementation for this: https://github.com/Sardelka9515/scripthookvdotnetcore
New C++ core is written from scratch to adapt to NativeAOT's limitations. Most marshallig code and scripting API are copied from this repo unmodified, except the native part has been rewritten to avoid use of reflection. Currently it'll only load the base script which display some simple text for testing.

I can merge it to the this repo if you want since the core is also written in C++ (20).

It seems that .NET supports side-hosting with FX, after all. I've successfully implemented this in SHVDNC using hostfxr, it now supports CoreCLR/JIT mode. (Not released yet)
Unloading is possible with AssemblyLoadContext, it actually gives lots of flexibility, I can even load different versions of api assemblies for each script.
@kagikn What do you say?

I wouldn't bother to add the ability to run SHVDN scripts that are built against .NET 5+ even if it's possible to run .NET Framework and .NET 5+ runtimes in the same ASI.
There are behaviors different between the both runtimes (Examples for string comparison) and that make me worried about script compatibility. I'm also worried about how much complexity of the ASI runtime will increase. I would make a new ASI runtime for .NET 5+ and make some script APIs more sophisticated such as weapon ones (or would just use SHVDNC). When rearchitecting some APIs, I would make the Weapon class correspond to CWeapon, which CObject may have. Also I would introduce PedInventory class for CPedInventory.

#1118 was never going to work (at least in the original form), i think it was closed because it didn't get any update not further explanations.

I'm also worried about how much complexity of the ASI runtime will increase.

Actually it's not that complicated, the real hosting code is only in this file. The rest is for NativeAOT and other unused stuff.
As for script compatibility, different versions of API can be used for the new scripts, since it'll be basically running two versions of CLR, plus AssemblyLoadContext allows you to load different versions of same assembly in the same runtime(as i mentioned above)
Anyway, I understand your concern. I guess I'll just keep it as an separate plugin for now.
Btw, I can't get C++/CLI to work in .NET Core, DllMain never called and LoadLibrary always fail for whatever reason.

Actually it's not that complicated, the real hosting code is only in this file. The rest is for NativeAOT and other unused stuff.
As for script compatibility, different versions of API can be used for the new scripts, since it'll be basically running two versions of CLR, plus AssemblyLoadContext allows you to load different versions of same assembly in the same runtime(as i mentioned above)

Really? In that case, we could use the .NET Core/.NET 5+ runtime and create new API versions built against .NET 8+. This repo is crosire's land after all and he wouldn't mind merging a PR that contains those changes if that PR doesn't change too much and existing script compatibility is guaranteed.

Ok, then i think I'll start with porting the code to pure c++, needs to research a bit about COM hosting (hostfxr is for .NET Core), there's not much information out there.

Might I suggest a bootstrapper DLL in pure C++ that then calls/allocates an object in the C++/CLI DLL and transfers control to it?

The basic idea is as follows:
C++ core -> starts CLR using COM hosting -> shvdn(net48) -> load scripts in another AppDomain
C++ core -> starts CoreCLR using hostfxr -> shvdnc (net7.0) -> load scripts with AssemblyLoadContext

#1178 wasn't merged, and I agree with crosire in opinion SHVDN (this project) should not hold implementation for .NET Core/ .NET 5+, since we would have to create practically brand new implementation for CoreCLR to support scripts built against .NET 5+.
As the current the project lead (crosire gave me this position in May 2023), a brand new runtime would be better than SHVDN having CoreCLR support. I'd like to expose APIs with new features that cannot be supported by .NET Framework runtime, too, such as interface with default implementation and fast Span. When I create a new SHVDN runtime for CoreCLR, I'll notify.


not great to render for instance the ARRAY source code

I tried http://prismjs.com/test.html using the source code from ARRAY "https://svn.eiffel.com/eiffelstudio/trunk/Src/library/base/elks/kernel/array.e"
and the rendering has a few trouble, I guess related to string like  "[]"

Hi,
Good catch!
https://github.com/LeaVerou/prism/pull/476 fixes this issue.

Thanks.


[type:feature] Support sent in dubbo.

Make sure that:

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

Codecov Report

Merging #2318 (fe82cb3) into master (baed2aa) will decrease coverage by 0.27%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #2318      +/-   ##
============================================
- Coverage     58.33%   58.06%   -0.28%
+ Complexity     3968     3963       -5
============================================
  Files           627      627
  Lines         18086    18091       +5
  Branches       1699     1699
============================================
- Hits          10550    10504      -46
- Misses         6683     6731      +48
- Partials        853      856       +3

Impacted Files
Coverage Δ

...alibaba/dubbo/AlibabaDubboServiceBeanListener.java
0.00% <0.00%> (ø)

...t/apache/dubbo/ApacheDubboServiceBeanListener.java
0.00% <0.00%> (ø)

...in/alibaba/dubbo/cache/ApplicationConfigCache.java
41.81% <0.00%> (-1.18%)
:arrow_down:

...gin/apache/dubbo/cache/ApplicationConfigCache.java
43.63% <0.00%> (-1.23%)
:arrow_down:

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

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
82.35% <0.00%> (-11.77%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
54.73% <0.00%> (-9.48%)
:arrow_down:

...java/org/apache/shenyu/common/utils/UUIDUtils.java
75.00% <0.00%> (-6.25%)
:arrow_down:

...he/shenyu/plugin/grpc/client/ShenyuGrpcClient.java
8.69% <0.00%> (-4.35%)
:arrow_down:

... and 6 more

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 baed2aa...fe82cb3. Read the comment docs.


InstantRun fails with class signature mismatch

Same exception.I workaround and can't use instant run.
Maybe you need to track the problem
😊
https://github.com/AzureAD/azure-activedirectory-library-for-android/issues/724

thanks!


Custom tex_template.tex?

While discovering the power of manim, I was wondering whether we could easily specify a custom tex_template.tex for a certain project. I sometimes use custom packages, but I would rather not want to modify the system-wide file, mostly because it would be overwritten with the next update.
An easy solution would be the possibility of an additional command line argument. Also, it might be possible to redefine TEX_DIR and/or TEMPLATE_TEX_FILE inside the python script that is used to generate the scenes. However, I did not succeed in doing so.

I did something similar in my manim version.

First you have to locate the folder where the tex_templates will be.
Then, in manimlib/constants.py you can set each TEX_TEMPLATE_FILE_BODY.
And, in manimlib/mobject/svg/tex_mobject.py you can create your own TexMobject sublcasses.


Dont modify rpath

closes https://github.com/membraneframework/membrane_core/issues/652

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:af25125030e85b72dfdfb9e6ac4baf7645a40c19

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:7d1680990257644c9d4d51f74146bd4d7ec126b1

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:d0a85259de0a307024401f379aa1bb65f6dbd252

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:c9584c10c717533013d49afe19ed183276e29205

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:d8e9e9aaf45a74c7b5f8e96b82f13e4fed02b87d

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:12d8b6d4f0ca84c7a950b26d7f0de59f7a70de90

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:84fe9f6b66e8e3635f4842e31ba024094576e9f0

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:083b4b59f6f179cb0a8ef03054bcfd7e9d925550

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:451c84a5b2af13c97454bf591d6ebc5e9501844f

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:cdd1f556fc53633228ca2fa417edfdde13fb40bd

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:cbeb8e1dcc1b09ffd227cb607fa7f7903d609a9e

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=dev:cbeb8e1dcc1b09ffd227cb607fa7f7903d609a9e

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/membraneframework/elixir?version=1.4.1


Using multi Applicaiton gateway ingress controller for single cluster

Hi All
We have been using App Gateway as ingress controller and everything is working as expected. We want to have 3 different ingress controller connected to same cluster. reason of having different controller is to allow different team not to get into overriding each other route in Application Gateway and breaking stuff. Is this possible? Please provide some recommendation.
Thanks

Yes, you can run multiple AGICs targeting different app gateways. You can use the https://github.com/Azure/application-gateway-kubernetes-ingress/blob/8e33f25befbcecb56e038fd3212c62453236b1de/helm/ingress-azure/values.yaml#L20
to provide different namespaces for each ingress controller to watch.


fix flake in TestHome

only markViewed on the home screen after the follow
assert that the badge is rendered at first
assert that the badge is cleared as a result of markViewed
fix bug where GetHome with the markViewed=true flag wasn't clearing the cache

@mmaxim which tests failed?

Can’t see from phone


Suggested Improvement: Modify the Implementation of eventTrigger to Use a List

Suggested Improvement: Modify the Implementation of eventTrigger to Use a List
I would like to propose a change in the implementation of eventTrigger from a map to a list. This modification would allow for the execution of different functions for the same event. Currently, the implementation uses a map, which makes it impossible to perform different actions on the same event. For example, when dealing with the shadowCreateOrUpdateTrigger event, there might be a need to update a cache and also send a message to a message queue. With the current implementation, it would require registering two separate events to achieve this functionality.
By transitioning to a list-based approach, it becomes feasible to execute multiple actions for a single event, providing greater flexibility and efficiency in handling event-triggered tasks.

your suggestion is very good, we will make changes


[BUG] Unable to load kernel winograd_conv_2d_weight_transform_bfloat16_bc32

Describe the bug
libc++abi: terminating due to uncaught exception of type std::runtime_error: [metal::Device] Unable to load kernel winograd_conv_2d_weight_transform_bfloat16_bc32
https://github.com/ml-explore/mlx/blob/2e7c02d5cdb173c777e42128c1590e7d86dc9a55/mlx/backend/metal/kernels/conv.metal#L587-L588
Maybe there is a lack of implementation around here, but I'm not familiar with METAL, so I couldn't fix it.
To Reproduce
Include code snippet
# I couldn't think of a minimal reproduction code.
# But I think the cause is simply unimplemented.

Expected behavior
works perfect
Desktop (please complete the following information):

OS Version: macOS 14.4.1
Version: 0.10.0

CC @jagrit06 any reason that one is not instantiated for bfloat?
Also @kaeru-shigure how did you come across this? Could you share the program you ran?

The winograd algorithm is selected when Conv2d satisfies the following conditions and when this is a bfloat16 weight, an unimplemented error occurs:
(commenting out exactly this section seems to be a workaround)
https://github.com/ml-explore/mlx/blob/2e7c02d5cdb173c777e42128c1590e7d86dc9a55/mlx/backend/metal/conv.cpp#L649-L655
I cannot provide a reproduction code because the conditions are too complex. sorry.

The winograd algorithm is selected when Conv2d satisfies the following conditions and when this is a bfloat16 weight, an unimplemented error occurs:
(commenting out exactly this section seems to be a workaround)

I’ll look into the Winifred code for bf16


Does the code match the PyTransformer main branch version?

Thank you for sharing the code!
Does the code match the PyTransformer main branch version?
It throws an error at runtime, saying that the number of arguments in the transformer's _build_graph function is incorrect.

Hello, I am finding the same difficulties did you find a solution please ? @EwainPeng  @jakc4103


NPM testE2E WKit use S3 bucket for external tools

What does this PR do?
Use S3 bucket for external tools
backport of #25613

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge