Adding ollama support

PR Checklist

[x] Read the Contributing documentation.
[x] Read the Code of conduct documentation.
[x] Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
[x] Describes the source of new concepts.
[x] References existing implementations as appropriate.
[ ] Contains test coverage for new functions.
[x] Passes all golangci-lint checks.

Address #307

Excited to see this!

Example of use:
	llm, err := ollama.New(
		ollama.WithModel("zephyr"),
	)

The model is required. One might still pass an alternative model with the WithModel llms.Options during a Call invocation.
There is a bunch of options that you can set for the runner or the query itself that are not in the main llms.Options.
Also as Ollama is templating the prompt query depending on the model you use, its disabled by default as it doesn't play well with agents and other templating done on the chain level.

Adding the chat model support and all passing it back to draft for now.

The chatModel support requires some knowledge about the the model that is running on the other side as the multiturn prompt is not handled by ollama by default. This implementation uses llama2 multi turn prompt syntax but you can provide your own if you are toying with Zephyr for instance.
I also added the embedding support even if the embedding provided by llamaccp is for now pretty limited, this might change in the future with the support of Bert models dedicated for document/query embedding.

Fantastic work! sorry about the delay in review here. I'm actually thinking we should remove our "local" implementation as it was never really fleshed out and would love to lean further into ollama support!

@CyrilPeponnet can you please clarify why there are two very similar implementations of embeddings in embeddings/ollama/ollama.go and embeddings/ollama/ollamachat/ollama_chat.go? They seem essentially identical except that their client has a different type?


[#59] [Part 2] As a developer, I can have a CD process to build and deploy the iOS app to TestFlight

https://github.com/nimblehq/flutter_templates/issues/59
What happened 👀
As a developer, we need to prepare a CD process to build and deploy the staging iOS app to TestFlight.
Insight 📝
Write WIKI for iOS Deployment Process
Proof Of Work 📹
n/a

@luongvo updated 🙏

@markgravity @doannimble can I have your reviews and approvals for this PR? 🐤


Patch for support numba-dppy with device_context

This modifications make jit() decorator use TargetDispatcher from numba-dppy.
Changes made in IntelPython/numba#57 by @AlexanderKalistratov and @1e-to.
Patch to fix SDC integration testing (IntelPython/numba#203)

This is an initial patch from IntelPython/numba for support numba-dppy with context.
Code is from https://github.com/IntelPython/numba/pull/96.
History:

@reazulhoque created comment and set the goal here: https://github.com/IntelPython/numba/pull/96#issuecomment-775311261
@sklam created https://github.com/numba/numba/pull/6770 and alternative more flexible version https://github.com/numba/numba/pull/6870
@diptorupd created issue for review and adopt @sklam PRs in numba-dppy: https://github.com/IntelPython/numba-dppy/issues/271
@PokhodenkoSA created numba-dppy patch for using solution from https://github.com/numba/numba/pull/6870: https://github.com/IntelPython/numba-dppy/pull/278
Some problems with @sklam solution:

Context does not apply to nested functions calls.

@sklam created solution based on https://github.com/numba/numba/pull/6814, https://github.com/numba/numba/pull/6762 and https://github.com/numba/numba/pull/6870 with introducing "legalization pass that scan for invalid target in callees" for checking nested functions calls: https://github.com/sklam/numba/blob/demo/extendtarget_demo_1/demo.md

Contains an issue in Case 4.
Numba tests fails on demo branch.

I have created this PR for sharing initial PR code which represents our initial goal. Also I have shared history of solutions we have tried to replace initial PR.
This PR is for discussion and transforming it to something appropriate for upstreaming to numba/numba.

@sklam I don't think most of changes would be needed in upcoming solution. Except probably setting default target to None and extra @global_compiler_lock

@sklam I don't think most of changes would be needed in upcoming solution. Except probably setting default target to None and extra @global_compiler_lock

Those changes make sense.

@PokhodenkoSA Is this patch still applicable given the history noted in the OP? If not, can the PR be closed? Thanks for your help.

I think it could be closed.

I think it could be closed.

Great, thanks for confirming.


Memory leak when using "transition" and "keep-alive"

Why are some "Vue Component" not cleared when using "transition" and "keep-alive"?
I wrote a demo:
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>demo</title>
  </head>
  <body>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>

    <div id="app">
      <transition>
        <keep-alive include="foo">
          <router-view></router-view>
        </keep-alive>
      </transition>
    </div>
    <script>
      const Foo = {
        name: "foo",
        template: `<div><router-link to="/bar">Go to Bar</router-link></div>`
      };
      const Bar = {
        name: "bar",
        template: `<div><router-link to="/foo">Go to Foo</router-link></div>`
      };
      const routes = [
        { path: "/foo", component: Foo, alias: "/" },
        { path: "/bar", component: Bar }
      ];
      const router = new VueRouter({
        routes
      });
      const app = new Vue({
        router
      }).$mount("#app");
    </script>
  </body>
</html>

The debugging process is as follows:
1 Click "Collect garbage" and "take heap snapshot"(snapshot 1)
2 Click the routing button on the left 10 times, then click "Collect garbage" and "take heap snapshot"(snapshot 2)
3 Click the routing button on the left 10 times, then click "Collect garbage" and "take heap snapshot"(snapshot 3)

The generated "snapshot" is as follows:
snapshot 1:

snapshot 2:

snapshot 3:

VueComponent is not being recycled, is this a bug?

If you open a new issue again, please remove vue-router. There is already an open bug on vue router about keep-alive + transition

@posva
Could you  delete this issue?

it doesn't matter


Push to93

Normally I remove formats.yaml manually. Because this is a legacy feature and nobody needs it.


Encryption: seprate the cipher method from AESCTRCipherStream to support encrypt/decrypt simple data

What problem does this PR solve?
Issue Number: ref #8351
Problem Summary:
What is changed and how it works?
To support this:
String key = "random-key";
String data = "random-string";
Cipher(0, data.data(), data.size(), key, EncryptionMethod::Aes256Ctr, nullptr, true);

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/run-integration-test

/run-integration-test

/run-all-tests

/run-integration-test

[2023-12-19T02:11:23.943Z] tidb-ci/fullstack-test-dt/union_push_down.test: Running
[2023-12-19T02:11:29.477Z]   File: tidb-ci/fullstack-test-dt/union_push_down.test
[2023-12-19T02:11:29.477Z]   Error line: 29
[2023-12-19T02:11:29.477Z]   Error: analyze table test.tt;
[2023-12-19T02:11:29.477Z]   Result:
[2023-12-19T02:11:29.477Z]     ERROR 1105 (HY000) at line 1: rpc error: code = Unknown desc = [PD:tso:ErrGenerateTimestamp]generate timestamp failed, requested pd is not leader of cluster
[2023-12-19T02:11:29.477Z]   Expected:
[2023-12-19T02:11:29.477Z]     <nothing>

/run-integration-test

[2023-12-19T02:11:23.943Z] tidb-ci/fullstack-test-dt/union_push_down.test: Running
[2023-12-19T02:11:29.477Z]   File: tidb-ci/fullstack-test-dt/union_push_down.test
[2023-12-19T02:11:29.477Z]   Error line: 29
[2023-12-19T02:11:29.477Z]   Error: analyze table test.tt;
[2023-12-19T02:11:29.477Z]   Result:
[2023-12-19T02:11:29.477Z]     ERROR 1105 (HY000) at line 1: rpc error: code = Unknown desc = [PD:tso:ErrGenerateTimestamp]generate timestamp failed, requested pd is not leader of cluster
[2023-12-19T02:11:29.477Z]   Expected:
[2023-12-19T02:11:29.477Z]     <nothing>

https://ci.pingcap.net/blue/organizations/jenkins/tiflash-ghpr-integration-tests/detail/tiflash-ghpr-integration-tests/15506/pipeline/128
[2023-12-19T02:57:22.328Z] [2023/12/19 10:56:58.600 +08:00] [ERROR] [<unknown>] ["Receive TsoResponse failed"] [source=pingcap.pd] [thread_id=1191]
[2023-12-19T02:57:22.328Z] [2023/12/19 10:56:58.602 +08:00] [WARN] [<unknown>] ["update ts error: Exception: Receive TsoResponse failed"] [source=pd/oracle] [thread_id=1191]
[2023-12-19T02:57:22.328Z] [2023/12/19 10:56:58.719 +08:00] [ERROR] [<unknown>] ["Receive TsoResponse failed"] [source=pingcap.pd] [thread_id=302]
[2023-12-19T02:57:22.328Z] [2023/12/19 10:56:58.720 +08:00] [FATAL] [Exception.cpp:106] ["Poco::Exception. Code: 1000, e.code() = 2, e.displayText() = Exception: Receive TsoResponse failed, e.what() = Exception"] [source="DB::RawCppPtr DB::PreHandleSnapshot(DB::EngineStoreServerWrap *, DB::BaseBuffView, uint64_t, DB::SSTViewVec, uint64_t, uint64_t)"] [thread_id=302]

/run-integration-test

/run-all-tests

/hold

/run-integration-test

/run-integration-test

/run-integration-test

/run-integration-test

/run-build-release

after
[Summary] Q1: 1.78s
[Summary] Q10: 1.95s
[Summary] Q11: 0.58s
[Summary] Q12: 1.06s
[Summary] Q13: 2.04s
[Summary] Q14: 0.58s
[Summary] Q15: 1.28s
[Summary] Q16: 0.51s
[Summary] Q17: 4.19s
[Summary] Q18: 3.84s
[Summary] Q19: 0.94s
[Summary] Q2: 0.86s
[Summary] Q20: 0.90s
[Summary] Q21: 3.59s
[Summary] Q22: 0.37s
[Summary] Q3: 1.55s
[Summary] Q4: 4.63s
[Summary] Q5: 2.83s
[Summary] Q6: 0.45s
[Summary] Q7: 1.64s
[Summary] Q8: 2.32s
[Summary] Q9: 8.12s

/run-integration-test

/run-unit-test

/unhold
No performance regression found now, maybe due to the CI jitter, so merge this pr.


Automated cherry pick of #8820: qcloud create single zone elb bugfix

Cherry pick of #8820 on release/3.5.
#8820: qcloud create single zone elb bugfix

/lgtm

/approve

/approve


Deprecate setting custom build layouts via CLI

https://github.com/gradle/gradle/issues/16402
Deprecate command line options:

-c, --settings-file for specifying a custom settings file location
-b, --build-file for specifying a custom build file location

Deprecate setBuildFile methods in GradleBuild task.
Deprecate setBuildFile/getBuildFile and setSettingsFile/getSettingsFile in StartParameter.

In both cases (CLI options and custom build file via GradleBuild task), the control flow traverses the public API of StartParameter - setBuildFile and/or setSettingsFile.
It is tricky to cleanly deprecate just the CLI options because the moment those are set, we are still on the client-side and the infrastructure for emitting deprecations is not yet initialized.
When intercepting the already set custom build/settings files on the daemon side, it is not possible to tell how those were set. The only other path in Gradle that can set the custom build file is via the GradleBuild task, in which an alternative exists - setting the directory of the nested build (that should be structured in a standard way and not require custom arguments to execute).
Using this approach, the setters for custom build/settings files on the StartParameter itself become effectively deprecated.
If the current approach is not acceptable and we want to keep the ability to set custom build layouts and only deprecate the CLI options, a couple of possibilities could be to:

not use the standard deprecation logger infrastructure and have something custom-built for the client (most probably losing integration with GE for those deprecations)
implement a way to pass the origin of those arguments to the daemon (somehow without touching the public StartParameter API)

@bot-gradle test and merge this please.

Your PR is queued because #16718 is being built.

OK, I've already triggered a build for you.


Use tox for testing

WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.

I will just say that scanpy uses pytest and I really like it. It was super easy to run a specific test and the output is pretty

This is unrelated to which test runner we use -- tox is an alternative to python setup.py test.


live preview not showing up while using Github Repositories extension

I want to use the Github Repositories extension so I can edit my code and repository using VScode without needing to clone a git. However, when trying to use Microsoft Live-Preview with it, there was no option to initiate live-preview. I also tried initiating it using the command pallet but was unsuccessful. However, when closing the window and opening a local file it worked.

There currently is no support for this. I will track progress on https://github.com/microsoft/vscode-livepreview/issues/489


Cycle Time is not the Intervall given in cfg it is 2s more for me.

Hello,
i use rscp2mqtt for a long time now and started to use PowerManagement ("e3dc/set/power_mode":) to load/idle the Battery with an dynamic tarif.
To load the Battery for an Hour on low charges, i use charge:12000:1800 on an interval set on 2 seconds. i found that it loads nearly  double the time (2h) than one hour.
Looking at the code i found, that you sleep in wsleep for the interval given. But the runtime of one cycle for me is nearly 1.6 seconds so one cycle  is not 2 seconds but 3.6.
as a quick an dirty hack i changed wsleep to
`
void wsleep(double seconds) {
while(seconds >= 0.0)
{
    mtx.lock();
    if (mqttRcvd || !go) {
        mtx.unlock();
        return;
    }
    mtx.unlock();
    if(seconds > 1.0) {
      sleep(1);
    }
    else {
      useconds_t usec = (useconds_t)(seconds * 1e6);
      if(usec > 0)
        usleep(usec);
    }
    seconds = seconds - 1.0;
}
return;

}`
and measure the runtime within mainLoop at the start of the loop-body with
`
struct timeval start, end;
while (go && !bStopExecution) {
    gettimeofday(&start, NULL);

`
and at the end with:
`
// Record end time
gettimeofday(&end, NULL);
// Calculate the time difference in microseconds
long seconds = end.tv_sec - start.tv_sec;
long microseconds = end.tv_usec - start.tv_usec;
double elapsed = seconds + microseconds * 1e-6;
//Calculate remaining wait
elapsed = (double) cfg.interval - elapsed;
if(elapsed < 0.0)
elapsed = 0.0;
wsleep(elapsed);
`

Hello Robert,
I can reproduce the problem.
I have adopted your solution :-) and also used the elapsed time instead of counting down the cycles in the power mode functionality. This should result in a more accurate runtime for charging etc.
The solution will come with release v3.31, probably next weekend.
Best regards
Thomas

fixed by v3.31

Note: The value for the interval should possibly be increased as the frequency of accesses to the home power station increases with the new implementation.


Resolve MapLibre TypeError where "The "obj" argument must be an instance of Blob. Received an instance of Blob"

Four test suites are failing in the upstream catchup for overpass turbo.
 FAIL  tests/test.autorepair.josm.ts [ tests/test.autorepair.josm.ts ]
 FAIL  tests/test.autorepair.recurse.ts [ tests/test.autorepair.recurse.ts ]
 FAIL  tests/test.permalink.ts [ tests/test.permalink.ts ]
 FAIL  tests/test.query.ts [ tests/test.query.ts ]
TypeError: The "obj" argument must be an instance of Blob. Received an instance of Blob
 ❯ define node_modules/maplibre-gl/dist/maplibre-gl.js:25:47
 ❯ node_modules/maplibre-gl/dist/maplibre-gl.js:35:1
 ❯ node_modules/maplibre-gl/dist/maplibre-gl.js:3:81
 ❯ Object.<anonymous> node_modules/maplibre-gl/dist/maplibre-gl.js:6:3

I am no longer seeing this failure and so am closing this issue.


Duplicate players in player selection

What version of Music Assistant has the issue?
2.0.0b135
What version of the Home Assistant Integration have you got installed?
2024.3.6
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
Duplicate media players in player selection
How to reproduce
Open players list
Music Providers
All
Player Providers
All
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.4.2
What type of installation are you running?
Home Assistant Supervised
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Kodi supports both DLNA and Airplay so I assume it got detected by both.
In MA settings --> Players, you can disable the ones you don't want. If you have any other airplay compatible speakers/players and you want to be able to sync them, choose airplay. Otherwise pick dlna.

Please confirm Marcel's assessment is correct. We will close this soon if there is no further follow up.


Crash

Hello,
Here is a crash I have:
https://pastebin.com/0EzYFX4F

Please provide a mod list

https://pastebin.com/QC4QVuCr

Can reproduce the same problem, with only C2ME:
[18abr.2021 18:31:01.519] [pool-3-thread-1/DEBUG] [mixin/]: Mixing threading.worldgen.MixinServerWorld from c2me.mixins.json into net.minecraft.world.server.ServerWorld
[18abr.2021 18:31:01.530] [pool-3-thread-1/WARN] [mixin/]: Error loading class: com/ibm/asyncutil/locks/AsyncLock (java.lang.ClassNotFoundException: null)

With only the following things:

Minecraft: 1.16.5
Forge: 36.1.4
Java: AdopOpenJDK jre-11.0.10+9
OS: Windows 10 Pro 20H2
Launcher: Mojang

Debug.log: https://gist.github.com/AfterRebelion/de640fd96c1f58561f5ca7e0658ee5ce

Sorry forgot to respond to this one. Your using a build that is not appended with -all and does not include the async library we use. Make sure you use a build appended with -all.

That was it, i was so familiar with the other task generating sources, that I dismissed it completely.
Maybe you should add it to the readme, with the Java11+ requirement.

@AfterRebelion Does it work for you? I have Java 11, Forge 36.1.4, the latest build possible, but this error :

And nothing special in the logs:
https://pastebin.com/xff07PGQ

If you select "Proceed to main menu", it just continues. That is just a warning, indicating that the Jar has a missing pack.mcmeta

Oh...  So I didn't notice it. Thanks 😂

So I have nothing to say, it works perfectly and really helps the server ! Should I ignore these messages or do they show something really dangerous?

.... [17:18:42] [C2ME worldgen worker #3/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'forge.swimSpeed'
.... [17:18:42] [C2ME worldgen worker #3/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'forge.nameTagDistance'
.... [17:18:42] [C2ME worldgen worker #3/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'forge.entity_gravity'
.... [17:18:42] [C2ME worldgen worker #3/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'forge.swimSpeed'
.... [17:18:42] [C2ME worldgen worker #3/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'forge.nameTagDistance'
.... [17:18:42] [C2ME worldgen worker #3/WARN] [minecraft/AttributeModifierManager]: Ignoring unknown attribute 'forge.entity_gravity'

I have the some Issue while starting on my server. I tried it with no other mods on the newest version of Linux mint, forge and of course this mod. I couldnt get it to run on my client either. No special vm setting just pressing the start button.
debug.log

Okay it some how works with an older version of c2me and java 11.

I have the same issue as well, in 1.19 using the alpha 8.2 build of C2ME.


Where does signWithEd25519 come from ?

options signer.sign refers to signWithEd25519 at the called level, but I cannot find where signWithEd25519 is defined.

Hi @AaronNGray the crypto implementation can be provided externally from the library. Or you could use one of the supported one from the library which is based on Node crypto module. checkout the usage doc here and where the default implementation is defined


ReferenceError: React is not defined

When using storybook-react-rsbuild in my react component library project, I am getting an error as below when trying to view any component story in storybook. The storybook UI renders, but would appear the canvas rendering fails.
Error encountered:
ReferenceError: React is not defined
    at Button (http://localhost:3000/static/js/async/button-stories-button-stories.iframe.bundle.js:73:5)
    at renderWithHooks (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:22105:18)
    at mountIndeterminateComponent (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:26717:13)
    at beginWork (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:28240:16)
    at beginWork$1 (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:34079:14)
    at performUnitOfWork (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:33213:12)
    at workLoopSync (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:33119:5)
    at renderRootSync (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:33087:7)
    at recoverFromConcurrentError (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:32503:20)
    at performConcurrentWorkOnRoot (http://localhost:3000/static/js/vendors-node_modules_pnpm_rspack_core_1_0_0__swc_helpers_0_5_12_node_modules_rspack_core_dist-29fc0e.iframe.bundle.js:32403:22)

To help with this issue, I've raised a minimal replication repo here:
https://github.com/ShaneYu/storybook-react-rsbuild-issue
Screenshot of storybook in action at time of error:

Version and package info:
System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 AMD Ryzen 9 7950X 16-Core Processor
    Memory: 1.82 GB / 31.21 GB

  Browsers:
    Edge: Chromium (127.0.2651.86)
    Internet Explorer: 11.0.22621.3527

  npmPackages:
    storybook-react-rsbuild: ^0.0.14 => 0.0.14
    @rsbuild/core: 1.0.1-rc.2 => 1.0.1-rc.2
    @storybook/addon-essentials: ^8.2.9 => 8.2.9
    @storybook/addon-interactions: ^8.2.9 => 8.2.9
    @storybook/addon-links: ^8.2.9 => 8.2.9
    @storybook/addon-onboarding: ^8.2.9 => 8.2.9
    @storybook/blocks: ^8.2.9 => 8.2.9
    @storybook/manager-api: ^8.2.9 => 8.2.9
    @storybook/react: ^8.2.9 => 8.2.9
    @storybook/test: ^8.2.9 => 8.2.9
    @storybook/theming: ^8.2.9 => 8.2.9

Please let me know if there is anything else you require to help investigate this issue? I've had a play around, but no matter what I do I simply cannot get it to work, always the same React is not defined error in the canvas.
Thank you 🙏

So after having a good old fiddle I've discovered that I need to include import React from 'react'; import in my component files, like the button.tsx and alert.tsx.
Once this is done, then it all works fine, however I've not had to include that import previously in any of my other react projects. I assume somehow it's added globally automatically?
Is it possible to remove the need for adding this import to every component file? Or is it recommended for some reason to include it?

Never mind, found my answer to the above question also.
Would appear that React introduced a feature where JSX automatically handled it and so you did not need to use the import statement everywhere.

With the new transform, you can use JSX without importing React.

My guess is this is something that needs to be addressed in rsbuild itself, I'll dig around there instead.
Since I've resolved all my issues, I'll mark this as closed.


Doesn't work since last update or before last update...

All is in the title...
It worked perfectly for several days and that no longer compiles
I don't know if this error correspond to that:
Document ref count has fallen below zero!ErrorNotification.js:125 window.console.error/document/Document.js:180 Document.releaseRef/editor/Editor.js:401 Editor.destroy/view/Pane.js:1093 Pane.destroyViewIfNotNeeded/view/Pane.js:1014 Pane.showView/editor/EditorManager.js:557 _showEditor/editor/EditorManager.js:627 openDocument/view/MainViewManager.js:1182 _edit/view/MainViewManager.js:1272 (anonymous function)thirdparty.min.js:559 jthirdparty.min.js:559 k.add/view/MainViewManager.js:1271 _open/document/DocumentCommandHandlers.js:323 _doOpen/document/DocumentCommandHandlers.js:393 _doOpenWithOptionalPath/document/DocumentCommandHandlers.js:450 handleFileOpen/document/DocumentCommandHandlers.js:498 handleDocumentOpen/command/CommandManager.js:97 Command.execute/command/CommandManager.js:291 execute/project/WorkingSetView.js:776 drop/project/WorkingSetView.js:815 (anonymous function)thirdparty.min.js:560 n.event.dispatchthirdparty.min.js:560 r.handle
My .jason file is always the same:
{
"path": {
"stylesheets/style.scss": {
"sass.enabled": true,
"sass.options": {
"output": "style.css",
"outputStyle": "compressed",
"includePaths": [],
"imagePath": null,
"sourceComments": "map",
"sourceMap": "style.css.map"
}
},
"scss/import/*.scss": {
"sass.enabled": false
}
}
}
Resulting file tree will appear as follows:

stylesheet

|--- style.scss
|--- style.css
|------ + import
|--------- colors.scss
|--------- typography.scss
|--------- reset.scss
|--------- form.scss
|--------- layout.scss

An idea ?

edit: I tested with version 2.0.1, it works and I re tested 2.0.2 and 2.0.3 and this doesn't work

I think its problem on line: "sourceComments": "map", because "map" it's not supported any more, only true/false now .
 Without "" it works :). Thanks you very much. :+1:


Why throw errorTolerant with import and export ?

I have just swapped a project from "regular" esprima to this one in an attempt to get better ES6 support, in particular the modules syntax.
I was just wondering if someone could explain to me (as much out of interest as anything else) why the below code is as is? It seems to me like all the code for parsing imports and exports are in place, and I could find tests for them, but right now the moment an import or export is encountered an error is thrown immediately. Why is this?
  case 'export':
    throwErrorTolerant({}, Messages.IllegalExportDeclaration);
    return parseExportDeclaration();
  case 'import':
    throwErrorTolerant({}, Messages.IllegalImportDeclaration);
    return parseImportDeclaration();

Thank you!
Jack

I think it's a "looser" parsing mode. This actually landed in the upstream harmony branch and isn't specific to our harmony release (see https://code.google.com/p/esprima/issues/detail?id=619 and https://github.com/jquery/esprima/commit/b1dd29e985b353648a6e0fa8b9f852cd2db228ac). The link to the similar change in Acorn is probably the most informative piece (https://github.com/marijnh/acorn/issues/174).
cc @jeffmo who might have more context. I'm going to close the issue but feel free to keep discussing.


Message Info not picking up local peer's username

Other clients pick up username just fine, but local node doesn't show correct, human-readable username.

This is specific to ThreadInfo and BlockInfo driven by Thread.

Fixed with #408 .


Multiple intents and dropping intents below frequency - Tensorflow pipeline, starspace

Let's say I have 15 intents and a thousand examples. Let's also presume that I want to do multiple intents classification. If examples are tagged with 1  intent up to Combination of 5 in 15 intents, it is highly probable that many examples with 5 intents will have only one occurrence of those specific combinations.
When I do Crossvalidation, the following line will drop any 'intent' (that is, combination of intents) that appears only once in the dataset:
https://github.com/RasaHQ/rasa_nlu/blob/00f6325ebbb834f5ce025abadd7f6cac992e30b4/rasa_nlu/evaluate.py#L895
training_data.training_data will also complain about that.
The way I understand the starspace paper, this should not be the case. We should be able to learn the embedding as long as there are enough different combinations.

Thanks for raising this issue, @Ghostvv  will get back to you about it soon.

Assume we have a big dataset of labelled text.
Let also assume we have intents A, B, C,... M, N, O.
My training set is labelled with multiple intents, i.e. text_1 : A+B+J, text_2 : H + K + L + M, ...
Now, if I'm doing crossvalidation, the line drop_intents_below_freq will remove any example with a combination of intents that appears only a few times. (drop_intents_bellow_freq does not drop a specific intent, but any infrequent combination of intents)
That is, even though I have 100 examples of A, 100 examples of B, 100 examples of C, but only one example of A + B + C, this example will be dropped out of the training set.
This becomes a problem especially when all your examples are combinations, learning (or crossvalidation for that matter) should work out even if you have only on example of a specific combination because element of that combination will appear many times in other combinations, and so the learning would still take place.

Thanks for the explanation, I agree that in this case this line is a problem. It was added without multi intent in mind.


error NG8001: 'carousel' is not a known element:

Hi,
I had this working before but it broke. I have it imported in the imports in the app module but angular still doesnt recognise the element. it stopped working after i added a new plugin. I am using it in a component where it was working but now angular cant find it.
I am using angular 12. any help appreciated

Same problem for me. Any luck?

same


Normalize integration tests suffixes

In jhlite code, we have a mix of tests with either *IntTest and IT suffixes.
For consistency, I think you should make a choice and stick to it (and enforcing it with an archunit test)
@pascalgrimaud , @DamnClin: WDYT?

I'm for IntTest :)

I think it's not only in JHLite code but in generated code too
This choice was to stick closely to generator-jhipster, but it can changed of course

unit test: *Test
int test: *IT

Honestly, I don't care about the choice, but I agree we need to be consistent!
What's your preference @murdos ?

My preference would go to *IT because it's the canonical suffix used by maven failsafe.
It would allow removing the custom configuration of failsafe and surefire (the include/excludes part).

My preference would go to *IT because it's the canonical suffix used by maven failsafe.

Valid point.
Maybe that was the same reason in generator-jhipster too :-D

Ok for me, I can take it since I probably did the mistake in the first place :D


Change homepage link for github

After we moved the Homepage link it's hard to find a link to a plugins github page (e.g. for filing an issue). If the homepage is a link to github, can we change the text 'Homepage' to 'Homepage (GitHub)'?

cc @isoos


support piped statement

following statements in pipe  are evaluated  in subshell

if
while
for
do-while

close due to #148


cyctl disable streaming flag

Is your feature request related to a problem? Please describe.
When installing Cyclops with kubectl and the install manifests, you have the option to turn off streaming of updates to the UI. But when installing Cyclops with cyctl and the init command, this option does not exist.
Describe the solution you'd like
Add a --disable-streaming flag to disable streaming resources when installing Cyclops via cyctl. If the flag is set, it should set the value of the REACT_APP_ENABLE_STREAMING environment variable in cyclops-ui deployment to false.
The command should look like the following:
cyctl init --disable-streaming

Hi @petar-cvit,
I would like to work on this issue.
@quest-bot embark

@quest-bot embark

@naineel1209 assigned you to the issue


Extract css from digest and missed message emails to email.css

I was cutoff from the internet in last week so I worked on this PR when I got my laptop charged as I was sure no one else would have worked on this.

@rishig can you review the look of these emails being correct?  Remember to run tools/inline-email-css

Vishnu, what's the best way to test this nowadays? /emails/generate seems broken (AssertionError for me).

@rishig @hackerkid just following up on testing this, since I think I just merged the PR that fixes the testing issues you had here.

Sorry for replying late. Actually, there is no straightforward solution to test this I think. We currently dont have code for generating mails for digests and missed_messages in email_log.py. Need to manually make these mails sends somehow.

I see, OK.  Let me do an initial review and then test-deploy on chat.zulip.org, then.

OK, on reviewing this:

The digest commit looks great, except don't we need to do the .source.html rename as part of the process of running premailer on the HTML?
Once this merges, we'll want to do some follow-up refactoring of the digest code to deduplicate the CSS; at the very least things like #private-messages and #messages having the same styling.
The missed_message.html if/else split is ugly; I think we should at least avoid duplicating the core block:

+                    {% for sender_block in recipient_block.senders %}
+                        {% if sender_block.sender %}
{{ sender_block.sender }}
{% endif %}
+                        {% for message_block in sender_block.content %}
+

+                            {{ message_block.html|safe }}
+

+                        {% endfor %}
+                    {% endfor %}

(We only need the first 3 lines declaring the divs at the top to be inside the conditional).  One way to make this process a bit nicer would be to start with a commit that just does that refactor to the missed_message email template to have the conditions in a different spot.  That will help with the testing strategy I suggest below.
Once we clean those up, we can test this by running premailer and comparing the generated templates against the pre-patch versions of the HTML, and then merge feeling very confident that the changes don't break anything in the actual generated HTML (you can just post the diffs as part of your review).

(We only need the first 3 lines declaring the divs at the top to be inside the conditional). One way to make this process a bit nicer would be to start with a commit that just does that refactor to the missed_message email template to have the conditions in a different spot. That will help with the testing strategy I suggest below.

@timabbott Do you mean something like this? This results in mismatched tag lint error.
That was the reason I went for b5f3dca5b79320a5964b2c08684f60d68a6a3f30. Or do you suggest something else?

We can suppress the linter error; having the code read correctly is more important than making linters happy.

I merged the digest commit.  Let's proceed with finishing the missed_message emails one with linter suppression logic; that linter is not a high priority for us; I pushed back to this PR the changes required to make lint pass.

@timabbott This is ready for a review :)

Merged, after a small fix to 81e6a022e6c46748b34728daeef310e2a65c3c5e to avoid re-introducing a bug that @HarshitOnGitHub had fixed in just the missed-message email (and not the digest one as well).
Thanks @hackerkid!


Add Contributor Section

I'll go through the "local" tutorial again for next week with my new laptop.


newb - cloning github project into

hi, whats the standard/cleanest way to building a github project like this: https://github.com/reactjs/redux/tree/master/examples/todomvc
once you've run create-react-app?
thanks

Once you’ve cloned the project, cd in the todomvc directory and run npm install then npm start. This assumes you’ve got Node.js already installed.  In general, look at the scripts definition in package.json to learn what the available actions are for a package.

When cloning a project, you need not run create-react-app, but instead the instructions provided by @ludovicofischer.
Let us know if you need anything else!

The available scripts are also mentioned in the README of the linked package:
https://github.com/reactjs/redux/tree/master/examples/todomvc#available-scripts
Just make sure to run npm install first.


Enable sudo nerdctl run to expose ports to localhost

A couple changes were made to make this possible including:

Adding iptables package to read the ports exposed by portmap
CNI plugin. This was done so that 1 call to iptables is all
that is needed on each run.
Move the lima-guestagent to run as root. This is needed for
permission to use iptables.

Note, this implementation only includes ipv4 support. Does not work for ipv6.
Closes #140
Note, this is my first pass. Happy to make changes as needed.

The latest push is a rebase on master after the cobra changes landed.


add pre-trained model list

Description
Add pre-trained model list in register api to restrict the model parameters input.
Issues Resolved
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #883 (9ba3d0f) into 2.x (22ae4ca) will decrease coverage by 0.08%.
The diff coverage is 79.31%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##                2.x     #883      +/-   ##
============================================
- Coverage     84.18%   84.10%   -0.08%
- Complexity     1758     1763       +5
============================================
  Files           139      139
  Lines          6752     6781      +29
  Branches        673      676       +3
============================================
+ Hits           5684     5703      +19
- Misses          771      779       +8
- Partials        297      299       +2

Flag
Coverage Δ

ml-commons
84.10% <79.31%> (-0.08%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...n/java/org/opensearch/ml/model/MLModelManager.java
77.29% <0.00%> (-0.51%)
:arrow_down:

...ain/java/org/opensearch/ml/engine/ModelHelper.java
88.23% <88.00%> (-0.06%)
:arrow_down:

...c/main/java/org/opensearch/ml/engine/MLEngine.java
75.00% <100.00%> (+0.33%)
:arrow_up:

... and 1 file with indirect coverage changes


Fixed potential deadlocks by opening sessions only on demand

Removed potential deadlocks in Multitenancy, Issue credential v2, Present proof v2 and mediation protocols by opening sessions on demand and closing them asap.
Additional info in this issue: https://github.com/hyperledger/aries-cloudagent-python/issues/1417

Thanks @ianco! Updated with main branch


Wear leveling issue

Hello, there.
I haven't found information on this issue, so I'm asking here.
Does wear leveling feature work correctly with constant files?
I'm testing spiffs and I've come across next situation:
presets:
phys_size = 1Mb
phys_sector_size = 64Kb
log_block_size = 64Kb
log_page_size = 1024b

I write some big file. Size of 500Kb.
I start multiple writing&removing operations for smaller file. Size of 50Kb.
Then I check block erases and see next:
-------------------after 499 rewriting small file
0000 ddddd//ddddddddddddddddd///////////////////////////////////////	era_cnt: 555
0001 ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd	era_cnt: 0
0002 ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd	era_cnt: 0
0003 ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd	era_cnt: 0
0004 ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd	era_cnt: 0
0005 ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd	era_cnt: 0
0006 ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd	era_cnt: 0
0007 _______________________________________________________________	era_cnt: 561
0008 _______________________________________________________________	era_cnt: 562
0009 //////////////////////////ddddddddddddd////////////////////////	era_cnt: 558
000a /////////////////////////////ddddddddddddddddd/////////////////	era_cnt: 560
000b //dddddddddddddddddddddddddddddddddddd/ddddd///////////////////	era_cnt: 551
000c ////////////////////////////////////dddddddddddddddd///////////	era_cnt: 559
000d //////////////////////////////////////////dddddddddidddddddiidd	era_cnt: 557
000e ddddddddddddddddddddddddddddddddddddddddddddddddd______________	era_cnt: 556
000f _______________________________________________________________	era_cnt: 563

Those "era_cnt: 0" means that fully written blocks do not participate in wear leveling.
Am I right?
I've played with spiffs_gc_find_candidate() here
https://github.com/pellepl/spiffs/blob/master/src/spiffs_gc.c#L297
Removed "deleted_pages_in_block > 0" condition and GC began to include fully written blocks
into candidates list. Because of erase age part of score calculation.
After that erases became more or less the same for all blocks.
I had to increase SPIFFS_GC_MAX_RUNS also.
But, of course, total number of read&writes increased too.
So, the question is:
Is the behaviour from my example correct and expected?
p.s. "Static wear leveling works the same as dynamic wear leveling except the static blocks that do not change are periodically moved so that these low usage cells are able to be used by other data." by wikipedia :-)
p.p.s. sorry for my bad English. ))

Hi,
all your assumptions are correct. That's a bug you found there! Spiffs is supposed to recycle low usage cells also.
Luckily, this case will probably not happen very often - actually filling a block with data calls for having big logical page size and being able to write a full logical block of data in one go (which seldom is the case in embedded business).
What I have to figure out what the reason  was for adding deleted_pages_in_block > 0.
Thanks for finding this!

Well, I cannot find a single reason to why deleted_pages_in_block > 0 was added. Since all tests pass when removing it, I'll do so.
Cheers / P


OneContext().popAllDialogs() or OneContext().popDialogs() don't work. This function pop my screen instead of my dialog

When I use OneContext().showDialog(builder: (_)=>loadingDialog) to show dialog which lying on top of another Dialog, OneContext().popAllDialogs() or OneContext().popDialogs() don't work. This function pop my screen instead of my loading dialog

I tried to use it, but it did not work. Can you help me check my issue?

@anhkhoi159 I gonna check this out, but if you want to lock the screen while something is loading, it might make more sense to use overlays
// Show a custom progress indicator
OneContext().showProgressIndicator(
    builder: (_) => MyAwesomeProgressIndicator();
);

// Later
OneContext().hideProgressIndicator();

@anhkhoi159 I gonna check this out, but if you want to lock the screen while something is loading, it might make more sense to use overlays
// Show a custom progress indicator
OneContext().showProgressIndicator(
    builder: (_) => MyAwesomeProgressIndicator();
);

// Later
OneContext().hideProgressIndicator();

@emanuel-braz  if I use overlays, I cannot show loading when any dialog is showing. can you help me check my case?.

have you ever tried without WillPopScope?

@anhkhoi159 have you ever tried without WillPopScope?
you can use the barrierDismissible: false to avoid close dialogs when outside touch

@emanuel-braz
without WillPopScope has the same result. When I use show showProgressIndicator, the loading is behind my dialog ? can u help me check

https://user-images.githubusercontent.com/55753138/179649635-a7fecf26-e64a-4ae6-ba6c-e39bbd835dda.mov
@emanuel-braz  can you help me check, my overlay is behind  my dialog.

Hello I tried to reproduce this behavior, without success :(
Can you provide a reproducible code?


Random crashes on dict.cc

Setup
Supermium 122.0.6261.85 Hotfix (R2)  32 bit
https://github.com/win32ss/supermium/releases/tag/v122-hf
in combination with the following progwrp:
progwrp_32.zip
(this was the 2nd one linked within the youtube ticket)
on Windows XP SP3 32 bit
Description of the bug
Random Crashes on the website https://www.dict.cc/
I do now and then (not always!), but much more often than on other sites, experience crashes when working on that site.
I do attach one of the crashdumps here, but unfortunately I can not reliably reproduce this yet.
So I will not be able to tell you whether a fix helped. But hopefully you can make some sense out of the crashdump.
e6e7e0c8-c9fa-4fe3-8cd1-8e831a35e246.dmp

I have checked this chashdump and found that its related to SSL errors while parsing certificates.
And this is same error as I have found earlier: #382
It was fixed for me in debug build, created later:
https://github.com/win32ss/supermium/releases/tag/v122-dbg
https://github.com/win32ss/supermium/releases/download/v122-dbg/122_new_pdb_32.7z
Your Crashdump:

Thank you very much for your prompt analysis. I will just wait for the next official non-debug version of Supermium then, and will observe with that. I do close the ticket now to not congest your bugtracker. I could reopen later, if it would happen again on an updated version.


Move Exit behvaior to notification and BOOX's floating button

Two ways to leave Rapid Draw Service:

click on notification item
click on the BOOX floating button, with a RapidDraw app on it: when service is not launched yet, it will enable it; when service is already there, it will stop the service.

UI fix:
use app icon as notification icon

Hey, thanks a lot for the PR!
Busy week, but I'll try to squeeze in some review  time before Saturday.

No hurry. Take your time.
Now I'm happy with the tool on all my boox devices. :D

Please let me know if you would be interested in fixing the issues, otherwise I would later fix it.
I also like the idea of closing from the notification, but kind of agree with advice from google to rather do this in an action.
If I were a normal user - I would not expect tapping on the notification to cause an APP stop. WDYT?

I hope in the coming week, I would also be introducing an option to control center (I had some draft since last Sunday, but never managed to finish the code this week).

I'll check again on my Tab Ultra C device.

I updated codes according to comments you mentioned.
I tried on BOOX Tab Ultra C; and since it's with lower Android OS version, everythin looks fine.
Please feel free to modify the PR as you like, or merge it and add buttons to notification afterward.

Thanks for the update! Checking now 👀


Welcome update to MMEditing 1.x  MMDetection 3.x with MMEngine

Hello, I am vansin, the technical operation of OpenMMLab MMEditing. We have released MMEditing1.x based on MMEngine and would like to contact you to upgrade this algorithm library together. My WeChat ID is van-sin.

@StevenLiuWen


New Failure: httpscli_test (and httpcli_test)

Test: httpscli_test
Poll Strategy: poll
URL: https://kokoro2.corp.google.com/job/grpc/job/ubuntu/job/master/job/grpc_basictests_c_cpp_dbg/611

Recent occurences:
https://sponge.corp.google.com/invocation?id=5f6206f5-37e6-4e40-b8e8-b935f34b416f
https://sponge.corp.google.com/invocation?id=b3676043-0a72-415c-920b-c354563f8eb1
https://sponge.corp.google.com/invocation?id=72bfb84a-c961-4eae-9ba0-9b2655cff5dd

still seeing this on master

It's difficult to reproduce this locally. I'll try logging stuff so we get more information.

After adding the extra logging information in #14700, the response status is 0 - which doesn't correspond to any HTTP status code. To me, this looks a bit like a race condition (seeing response that's not fully set yet?) - but I'm just guessing.
Failure
D0318 09:19:05.323453261   15284 ev_posix.cc:142]            Using polling engine: poll
D0318 09:19:05.323581647   15284 dns_resolver.cc:331]        Using native dns resolver
D0318 09:19:10.325374393   15284 test_config.cc:391]         test slowdown factor: sanitizer=1, fixture=1, poller=1, total=1
D0318 09:19:10.325682682   15284 ev_posix.cc:142]            Using polling engine: poll
D0318 09:19:10.325716183   15284 dns_resolver.cc:331]        Using native dns resolver
I0318 09:19:10.325752137   15284 httpscli_test.cc:70]        test_get
I0318 09:19:10.325757067   15284 httpscli_test.cc:73]        requesting from localhost:26407
I0318 09:19:25.326871020   16003 httpscli_test.cc:52]        response status 0
E0318 09:19:25.326893496   16003 httpscli_test.cc:53]        assertion failed: response->status == 200

It might also just be an error returned httpcli library. For example, the server was not yet started.

This is still happening, a few recent occurrences:
https://source.cloud.google.com/results/invocations/61c24fe5-3f64-4f9c-b295-4a6ecaf146ba
https://source.cloud.google.com/results/invocations/0dda749c-888d-4eb6-afc2-7edaff6927d5
https://source.cloud.google.com/results/invocations/bef71cc2-b582-44c1-87db-d5e4d3a6a938
A more careful look at the logs reveals two things:
It returns response == 0  because the request has timed out (timeout set to 15secs in the test)
I0421 23:18:05.258969568   14514 httpcli_test.cc:68]         test_get
I0421 23:18:05.259000679   14514 httpcli_test.cc:71]         requesting from localhost:30213
... 15sec wait here....
I0421 23:19:20.259763060   14517 httpcli_test.cc:50]         response status 0
E0421 23:19:20.259784984   14517 httpcli_test.cc:51]         assertion failed: response->status == 200

The server has definitely already started, as we've seen cases where the GET request succeeds and a subsequent POST to the same server fails:
I0506 09:38:12.160643462   14602 httpcli_test.cc:68]         test_get
I0506 09:38:12.160684216   14602 httpcli_test.cc:71]         requesting from localhost:14568
<IP_ADDRESS> - - [06/May/2018 09:38:12] "GET /get HTTP/1.0" 200 -
I0506 09:38:12.161980400   14602 httpcli_test.cc:50]         response status 200
I0506 09:38:12.162001820   14602 httpcli_test.cc:107]        test_post
I0506 09:38:12.162006204   14602 httpcli_test.cc:110]        posting to localhost:14568
I0506 09:39:27.162667024   14606 httpcli_test.cc:50]         response status 0
E0506 09:39:27.162693533   14606 httpcli_test.cc:51]         assertion failed: response->status == 200

So it looks like this just needs more debugging.
@yashykt  what have we done to rootcause this? This flake has been open for several months and it keeps coming up.

Yeah you're right. I'll spend some more time on this next week.

UPDATE - I spent some some more time on this. Reading the code doesn't make the reason for the error obvious. I'll add additional statements to log the error too.

We have two more occurrences since the extra logging was added:
https://source.cloud.google.com/results/invocations/661de751-a603-49bf-907a-685e0a0fce86/targets/github%2Fgrpc%2Fc_linux_dbg_native_x64_clang3.6/tests
https://source.cloud.google.com/results/invocations/bb781006-62ba-4bfa-b043-d8fa69c19843/targets/github%2Fgrpc%2Fc_linux_dbg_native/tests
D0601 03:57:05.923713395   12355 ev_posix.cc:145]            Using polling engine: poll-cv
D0601 03:57:05.923802363   12355 dns_resolver.cc:339]        Using native dns resolver
D0601 03:57:11.925838538   12355 test_config.cc:391]         test slowdown factor: sanitizer=1, fixture=1, poller=5, total=5
D0601 03:57:11.926084078   12355 ev_posix.cc:145]            Using polling engine: poll-cv
D0601 03:57:11.926115527   12355 dns_resolver.cc:339]        Using native dns resolver
I0601 03:57:11.926157581   12355 httpscli_test.cc:71]        test_get
I0601 03:57:11.926164187   12355 httpscli_test.cc:74]        requesting from localhost:20804
I0601 03:58:26.927426571   13346 httpscli_test.cc:52]        response status=0 error={"created":"@1527825506.927349048","description":"Failed HTTP requests to all targets","file":"src/core/lib/http/httpcli.cc","file_line":202,"referenced_errors":[{"created":"@1527825506.927185582","description":"Failed HTTP/1 client request","file":"src/core/lib/http/httpcli.cc","file_line":112,"referenced_errors":[{"created":"@1527825506.927163457","description":"Failed to connect to remote host: FD shutdown","file":"src/core/lib/iomgr/ev_poll_posix.cc","file_line":469,"grpc_status":14,"os_error":"Timeout occurred","referenced_errors":[{"created":"@1527825506.927137467","description":"connect() timed out","file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":114}],"target_address":"ipv6:[::1]:20804"},{"created":"@1527825506.927330346","description":"Failed to connect to remote host: FD shutdown","file":"src/core/lib/iomgr/ev_poll_posix.cc","file_line":469,"grpc_status":14,"os_error":"Timeout occurred","referenced_errors":[{"created":"@1527825506.927320988","description":"connect() timed out","file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":114}],"target_address":"ipv4:<IP_ADDRESS>:20804"}]}]}
E0601 03:58:26.927464243   13346 httpscli_test.cc:54]        assertion failed: response->status == 200
*******************************
Caught signal SIGABRT

D0604 12:35:00.163066597   14016 ev_posix.cc:145]            Using polling engine: poll
D0604 12:35:00.163172355   14016 dns_resolver.cc:339]        Using native dns resolver
D0604 12:35:05.164942560   14016 test_config.cc:391]         test slowdown factor: sanitizer=1, fixture=1, poller=1, total=1
D0604 12:35:05.165236152   14016 ev_posix.cc:145]            Using polling engine: poll
D0604 12:35:05.165262542   14016 dns_resolver.cc:339]        Using native dns resolver
I0604 12:35:05.165302678   14016 httpscli_test.cc:71]        test_get
I0604 12:35:05.165307491   14016 httpscli_test.cc:74]        requesting from localhost:13829
I0604 12:35:20.166601048   14968 httpscli_test.cc:52]        response status=0 error={"created":"@1528115720.166487373","description":"Failed HTTP requests to all targets","file":"src/core/lib/http/httpcli.cc","file_line":202,"referenced_errors":[{"created":"@1528115720.166350912","description":"Failed HTTP/1 client request","file":"src/core/lib/http/httpcli.cc","file_line":112,"referenced_errors":[{"created":"@1528115720.166331482","description":"Failed to connect to remote host: FD shutdown","file":"src/core/lib/iomgr/ev_poll_posix.cc","file_line":469,"grpc_status":14,"os_error":"Timeout occurred","referenced_errors":[{"created":"@1528115720.166302849","description":"connect() timed out","file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":114}],"target_address":"ipv6:[::1]:13829"},{"created":"@1528115720.166479985","description":"Failed to connect to remote host: FD shutdown","file":"src/core/lib/iomgr/ev_poll_posix.cc","file_line":469,"grpc_status":14,"os_error":"Timeout occurred","referenced_errors":[{"created":"@1528115720.166472943","description":"connect() timed out","file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":114}],"target_address":"ipv4:<IP_ADDRESS>:13829"}]}]}
E0604 12:35:20.166639838   14968 httpscli_test.cc:54]        assertion failed: response->status == 200
*******************************
Caught signal SIGABRT

Based on the extra logging, we are not able to connect to the server. We are either getting an EINPROGRESS or an EWOULDBLOCK on the syscall. It is most likely an issue like all the ephemeral ports on the server being used up which means too many connections.
The reason why I think EINPROGRESS is unlikely because 15 seconds should be a sufficient amount of time for connect to finish.

haven't seen any new reports on this. Closing this

Quick search reveals that this problem is still happening regularly (despite it's rather low flakiness rate).
select * from jenkins_test_results.aggregate_results where
  job_name like '%linux%basictests%'  # you can filter job name here
  and test_name like '%http%cli_test%'  # choose a test name you are interested in
  and timestamp > '2018-10-01 00:00'
  and result != 'PASSED'
order by timestamp desc
limit 1000

There are 6 occurrences in October:
https://source.cloud.google.com/results/invocations/6ddbb301-a7be-4cf3-b15a-a55072d1616f
https://source.cloud.google.com/results/invocations/03f7cc70-7008-41e6-b67a-ddf8b6c9a559
https://source.cloud.google.com/results/invocations/6bc6e29f-4f29-44b7-a248-cb3d7fef900d
https://source.cloud.google.com/results/invocations/65a47e9c-58d1-4ff4-af62-13f2985ee6be
https://source.cloud.google.com/results/invocations/ad533c6e-2162-4836-82a9-2398e708b487
Let's actually fix what's wrong with the test, otherwise issue like this will keep haunting us forever.

According to historical data, we seen this in the past 3 months.


Update samples to be compliant with NuGet security analysis in Azure pipelines

Update samples to be compliant with automatic NuGet security analysis injected in ADO pipelines. See https://aka.ms/nugetsecurityanalysis for more details but this essentially boils down to:

Ensuring <clear/> statements are in each nuget.config file in the repo
nuget.config only specifies a singular nuget feed

Since these are samples, the change adds 1 above and comments out references to the MSBuildForUnity feed with the expectation that one would uncomment them from the sample when testing this out manually. This is currently consistent with the documentation that a special feed for the MSBuildForUnity is currently required.

That comment may already be true. I haven't used that nuget feed in any of my uses of MSBuildForUnity - I just install it via the UPM feed as instructed in the root README.

That comment may already be true. I haven't used that nuget feed in any of my uses of MSBuildForUnity - I just install it via the UPM feed as instructed in the root README.

Ok, it seems like those samples might be stale. I'll keep them as it is for now.


Support JSON5

OS
macOS Ventura
LinearMouse
v0.7.6
Is your feature request related to a problem?
No response
Describe the solution you'd like
It would be nice to have support for JSON5 for the configuration file to explain certain lines in it.
Describe alternatives you've considered
No response
Additional context
No response

Thanks for the suggestion!
I'd also like to support JSON5. However, I've encountered several technical problems when trying to support it:

KeyDecodingStrategy.allowsJSON5 requires macOS 12.0+ while the minimum target of LinearMouse is macOS 10.15.
How to preserve the JSON5-specific elements (like comments) when encoding / decoding the configuration? In particular, it's not expected that the comments will removed when touching the settings on the GUI.

To support JSON5, it seems that I need to implement a JSON5 parser and encoder, and change the structure of the unserialized configuration to store JSON5 metadata.
Any technical suggestions and Swift JSON5 library recommendations are welcome.

How to preserve the JSON5-specific elements

One option, admittedly not the best but probably one of the easier ones, would be to warn the user before overwriting the comments (only when comments detected) and let them choose not to apply the changes made in UI (maybe show a diff too?).
The ones that are more likely to use comments in their configuration file are probably also the ones that don't really use the UI for configuration...

Switching to YAML would also be an alternative...

The ones that are more likely to use comments in their configuration file are probably also the ones that don't really use the UI for configuration...

Probably. Is it a good idea to enable JSON5 decoding only on macOS 12+?

Switching to YAML would also be an alternative...

I think the problem still exists...libyaml does not support emitting comments either (yaml/libyaml#42). And the YAML specification is much more complicated than JSON(5), so if we switch to YAML, it's almost impossible to reimplement the YAML parser and serializer, although there are some nice features in YAML, like anchors.

To support comments in JSON, JSONC can be a good start and its parser does not seem difficult to implement.

I see that at least partial support for json with comments was added, does that make this issue done now?

https://github.com/linearmouse/linearmouse/pull/372

Yeah, at least decoding would cover my use-cases :)


Add some PHPDoc type annotations

This will help static type analysis tools.

Really cool, thanks. Is there some check we could install into the CI build that ensures everything remains annotated?

Is there some check we could install into the CI build that ensures everything remains annotated?

Yes, I will add PHPStan checks later to make sure the types are correct.
We can also add PHP_CodeSniffer checks for checking for the presence of type annotations, but I'd like to avoid that as we probably won't need many of them once we've updated the PHP requirement and we can use more of the native type declarations.

We can also add PHP_CodeSniffer checks for checking for the presence of type annotations, but I'd like to avoid that as we probably won't need many of them once we've updated the PHP requirement and we can use more of the native type declarations.

Updating the PHP requirement detrimental for WordPress which still supports PHP 5.6. If PHPDoc can be used until WordPress increases the minimum, this would be ideal. Otherwise, the dozens of WordPress plugins that use PHP-CSS-Parser would be forced to fork the package.

@westonruter @sabberworm I'd really appreciate this PR getting reviewed and merged as it blocks other things I'd like to work on that also touch the code. Thanks! :heart:


Update MD file on new branch 2017-11-22_15-32-10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/content1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Updated the default disk watch interval to 1 second in Mesos

High Level Description
This change makes the Mesos agents to check disk usage every second and
GC completed top-level containers when there's not enough headroom.
Related Issues

CORE-1289 Agent unable to recover due to no space left on disk.

Checklist for all PR's

[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: No test included since it is a configuration change. Manually tested on soak110 and this change made the problematic agent recovered from an out-of-disk state.
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

Does this result in a log line every second? If so, that might be excessive.

@vinodkone Would it sound better if we make it 2 seconds? I don't want to introduce some special logic to not always output logs though. Or maybe modify Mesos to only do a per-second check only if we have not enough headroom?

Changed the interval to 5 seconds to prevent excessive logs. @vinodkone PTAL!


crash on injection

tried injecting with csghost v4.3

try to use EzCS-v1.43
EzCS-v1.43.zip
if you dont trust, search for it by yourself

wait for csgo to fully load then inject


Missing Parameters Documentations and Examples

 [-SourceMeetingType <MmsSourceMeetingTypes>]
 [-TargetMeetingType <MmsTargetMeetingTypes>]

What those could be and what is the default?

@officedocsbot assign @yogkumgit

@dariomws306  Thank you very much for the contribution and updating the documentation with PR. @MIBadran Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


Use TablePathResolver from hcommon-hive-metastore

Depends on https://github.com/HotelsDotCom/hcommon-hive-metastore/pull/19
I also made some small styling changes and removed the parameter for expected-path-count as it wasn't being used. However, I'm happy to undo the removal of expected-path-count if others think that it shouldn't be removed :)

The travis builds will fail because hcommon-hive-metastore version 1.3.1-SNAPSHOT is only in my local repository. But the local build succeeded :)

Coverage decreased (-2.9%) to 57.168% when pulling b21af6bc85fbc4fa5ab6d23ae2c8309af9b1355f on use-hcommon-classes into 35511d188a06ec65e805b50cf267ae94ec6cafee on master.


Multiple leaders elected

Setup: three participants - Alice, Bob and Charlie.
Alice Logs:
$ ./zre_raft/chat.py -n alice
using Python native module
bob cce7aeb7-9c55-431b-85c1-3a89bc8624f1 entered
bob cce7aeb7-9c55-431b-85c1-3a89bc8624f1 joined raft
alice raft: Lost Leader: None
bob raft:
cce7aeb7-9c55-431b-85c1-3a89bc8624f1 exit
alice raft: Lost Leader: None
bob 2d64670e-48e3-4e35-99c5-359738078b0a entered
bob 2d64670e-48e3-4e35-99c5-359738078b0a joined raft
charlie b0efbf70-9180-4758-9b95-d1bfe02d84ed entered
charlie b0efbf70-9180-4758-9b95-d1bfe02d84ed joined raft
alice raft: Lost Leader: None
4c0768b8461a4c33bdf582d286bf90dc: New Leader
charlie 5eaca74d-2ce4-4aa4-a5a9-790f17a00133 entered
charlie 5eaca74d-2ce4-4aa4-a5a9-790f17a00133 joined raft
b0efbf70-9180-4758-9b95-d1bfe02d84ed exit
charlie raft:
bob raft:
alice raft: /status
4c0768b8-461a-4c33-bdf5-82d286bf90dc
consensus: ZREServer(_name='4c0768b8461a4c33bdf582d286bf90dc', _state=<simpleRaft.states.leader.Leader object at 0x7f8038adc820>, _log=[], _messageBoard=<simpleRaft.boards.memory_board.MemoryBoard object at 0x7f8038adccd0>, _neighbors=[UUID('2d64670e-48e3-4e35-99c5-359738078b0a'), UUID('5eaca74d-2ce4-4aa4-a5a9-790f17a00133')], _commitIndex=0, _currentTerm=5, _lastApplied=0, _lastLogIndex=0, _lastLogTerm=None)

Charlie Logs:
$ ./zre_raft/chat.py -n charlie
using Python native module
bob 2d64670e-48e3-4e35-99c5-359738078b0a entered
bob 2d64670e-48e3-4e35-99c5-359738078b0a joined raft
alice 4c0768b8-461a-4c33-bdf5-82d286bf90dc entered
alice 4c0768b8-461a-4c33-bdf5-82d286bf90dc joined raft
charlie raft: Accepted new leader: 4c0768b8461a4c33bdf582d286bf90dc
Lost Leader: 4c0768b8461a4c33bdf582d286bf90dc
5eaca74d2ce44aa4a5a9790f17a00133: New Leader
Lost Leader: 4c0768b8461a4c33bdf582d286bf90dc
5eaca74d2ce44aa4a5a9790f17a00133: New Leader
charlie raft:
charlie raft: /status
5eaca74d-2ce4-4aa4-a5a9-790f17a00133
consensus: ZREServer(_name='5eaca74d2ce44aa4a5a9790f17a00133', _state=<simpleRaft.states.leader.Leader object at 0x7f28bc501580>, _log=[], _messageBoard=<simpleRaft.boards.memory_board.MemoryBoard object at 0x7f28bc64dc70>, _neighbors=[UUID('2d64670e-48e3-4e35-99c5-359738078b0a'), UUID('4c0768b8-461a-4c33-bdf5-82d286bf90dc')], _commitIndex=0, _currentTerm=5, _lastApplied=0, _lastLogIndex=0, _lastLogTerm=None)

And then Bob alternates between the two leaders:
Accepted new leader: 4c0768b8461a4c33bdf582d286bf90dc
Accepted new leader: 5eaca74d2ce44aa4a5a9790f17a00133
Accepted new leader: 4c0768b8461a4c33bdf582d286bf90dc
Accepted new leader: 5eaca74d2ce44aa4a5a9790f17a00133
Accepted new leader: 4c0768b8461a4c33bdf582d286bf90dc
Accepted new leader: 5eaca74d2ce44aa4a5a9790f17a00133
Accepted new leader: 4c0768b8461a4c33bdf582d286bf90dc

Suspected cause:
Once a new leader is accepted and we transition to Follower state, the timer is not cancelled.

Suspected cause:
Once a new leader is accepted and we transition to Follower state, the timer is not cancelled.

Fixed by  ce36016

Fixed by  ce36016


Sankey/Alluvial - Incorrect node precision etc.

In which chart does the bug happen?

Alluvial diagram
Sankey diagram
I didn't find any other charts which display the data values. I would imagine the same issues could occur if there are some I missed.

RAWGraphs Version
2.0 - the current web version
Web browser and version
Edge 112.0.1722.34
Chrome 112.0.5615.138
Operating System
Windows 10 Enterprise
Steps to reproduce this

Generate a Sankey or Alluvial chart from the sample data
Turn on Show node values option.

Project file
Energy Flows in UK
Additional context
When turning on "Node Values", the node labels and values are displayed. However:

Main issue: the precision is about a trillion times too high on a random assortment of the values. Every stage of the diagram has at least one label generated incorrected. For those who can't use a decent SVG editor, the diagram cannot be used as generated. Even if you can, you'll have to re-edit everything every time you need to update the chart.

The precision should be rounded from the float to no more decimal places than the data.  Nice to have: manual setting to over-ride of the number of decimal places, if the automatic value is not desired.
For example, Thermal Generation has 3 inputs summing to 1 185.610 000 000 000 1 instead of the correct value of 1 185.61

Very minor, but the node label and the node value appear to be directly concatenated. I found a workaround of adding a blank at the end of all the input labels, resulting in the value being listed under the node. However, that may not be an option/user not realize it is an option. There should be some kind of separator, such as a space, colon, pipe, equals, resulting in the value being on the same or optionally, on the next line.  Nice to have would be choosing the separator. Via a small text input box perhaps.

Another nice to have - culture formatting of the digits option.

Another nice to have - choice of the label on the left or right of the node.

This is a common issue in all the charts. Seems to be related to a know js issue, should be solved in rawgraphs-core. @bianchimro do you have ideas?

duplicate of #19


train of ssd 500

@zhreshold
I have tested  training of ssd 300 by  command :
python train.py --gpus 0,1,2,3 --batch-size 128 --lr 0.0005.
Then I used command :
python train.py --gpus 0,1,2,3 --batch-size 128 --lr 0.0005 --data-shape 500.
It aslo worked.
But the original ssd500 is different from ssd300. Can I train ssd500 by this command?

The anchor box scale should be carefully designed according to network input size. Simply scaling to 500x500 could still work, but won't produce best results I guess.

Thank you .


feat: allow overriding http headers

While integrating this repository I came across an CSP error trying to create a service worker:
Failed to construct 'Worker': Access to the script at 'blob:https://foo.bar/f857a673-313d-42d9-965b-bfc803440b1e' is denied by the document's Content Security Policy.
I couldn't really find a way to override the headers, so here I am with the pull request!
Let me know if you want anything changed.

Met the same CSP problem with img loading from another distribution, need to override the http header of CSP.
(restriction of Combining CloudFront Functions with Lambda@Edge with Viewer request with Lambda@Edge and viewer respond with CloudFront Functions not possible https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/edge-functions-restrictions.html)
so this can't be solved by adding add cloudfront function (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/example-function-add-security-headers.html)

Hi @henrist , this is still something I'm interested in - another use-case is simply loading google fonts, which would be blocked with the default, non-overwritable CSP.


Add @ImJasonH as dist-spec maintainer

@ImJasonH would like to become an OCI distribution spec maintainer
https://github.com/opencontainers/tob/issues/95#issuecomment-812609220
We will have the existing maintainers vote via this PR with a LGTM / +1

[ ] Derek McGowan (@dmcgowan)
[ ] Jimmy Zelinskie (@jzelinskie)
[ ] Josh Dolitsky (@jdolitsky)
[ ] Mike Brown  (@mikebrow)
[ ] Stephen Day (@stevvooe)
[ ] Vincent Batts (@vbatts)

Signed-off-by: Chris Aniszczyk<EMAIL_ADDRESS>

closing for now


Update hw2

Some changes based on the issue I debugged yesterday, others based on your answers in Piazza

Thanks. I appreciate you moving my answers in piazza back into the assignments.


Space before Emoticon is removed when selecting the emoticon from suggestion list

Summary
Space before Emoticon is removed when selecting the emoticon from suggestion list
Environment Information

Device Name: LG G4 (LG-H815)
OS Version: 6.0 (3.10.84 kernel)
Mattermost App Version: 1.3.0
Mattermost Server Version: 4.1.0

Steps to reproduce
Type a text and try to insert emoticon :roll
------------------------------------------^here suggestions pop up. Select emoticon.
Expected behavior
Type a text and try to insert emoticon :roll_eyes:
Type a text and try to insert emoticon :roll_eyes:

(This renders properly in mobile app)
Observed behavior
Type a text and try to insert emoticon:roll_eyes:
Type a text and try to insert emoticon:roll_eyes:

(Space before emoticon removed. This doesn't render in mobile app, but renders in desktop app)
Possible fixes
No idea

Hi @th-joerger,
Thank you for your report,
I have reproduced your issue and have created a ticket to track.

Thank you very much :)

This issue is fixed in v1.5.1


Prepare for migrating FSTMutation to C++ Mutations

This is a grab-bag of miscellaneous fixes I saw while working on the migration. I've pulled them out separately to make the larger change easier to review. Each commit stands alone.

Note the diffbase on #3531. These aren't logically dependent, but untangling the edits wasn't worth the trouble.


kie-issues#1352: Enforce reproducible build on kie-tools

Closes https://github.com/apache/incubator-kie-issues/issues/1352

@tiagobento in this case, just for consistency with other repos I'll +1 to @gitgabrio proposal to keep the profile as it is. But if there's a problem in CI I won't fight to change it


show exact date and time when you hover over the package date

What the title says. Would be good to have this.

Hi @tugberkugurlu, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@tugberkugurlu Can you reopen this PR against the dev branch? Looks good otherwise.
Thanks!


batch-loader guide link is broken on the website: https://hooks-common.feathersjs.com

Steps to reproduce
(First please check that this issue is not already solved as described
here)

[x] Tell us what broke. The more detailed the better.
[ ] If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc.

Expected behavior
Actual behavior
In feathers-common-hook guide, fastjoin section (https://hooks-common.feathersjs.com/guides.html#fastjoin), the batch-loader guide links. The link url (https://hooks-common.feathersjs.com/batch-loader) returns 404. It seems refer to a detail explanation of batch-loader in @feathers-plus/batch-loader but I can't find that anywhere on the website.
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
NodeJS version:
Operating System:
Browser Version:
React Native Version:
Module Loader:

Docs refer to https://github.com/feathersjs-ecosystem/batch-loader and https://github.com/feathersjs-ecosystem/batch-loader/blob/master/docs/index.md now. Thanks for opening this issue!


404 when browsing to root context

The application root context tries to redirect to /swagger-ui.html but an error message is displayed:
Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Jul 19 13:17:35 UTC 2019
There was an unexpected error (type=Not Found, status=404).
Not Found

It's possible #31 will resolve this issue but I haven't tested it yes

Resolved by #38
Root context now redirects to an API endpoint:
$ curl -v http://localhost:8080/
* About to connect() to localhost port 8080 (#0)
*   Trying ::1...
* Connected to localhost (::1) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 302 Found
< Access-Control-Allow-Headers: Content-Type, Accept, X-Requested-With, remember-me
< Location: http://localhost:8080/v1/greeting
< Date: Tue, 19 Nov 2019 02:08:52 GMT
< Connection: keep-alive
< Access-Control-Allow-Credentials: true
< Content-Length: 0
< Content-Language: en-US
< Access-Control-Allow-Methods: *
< Access-Control-Max-Age: 3600
<
* Connection #0 to host localhost left intact


demo for testing the single audiofile with the trained model

Hi, Yuan.  Is there the code or the demo to test the single audiofile with the trained model ?

Hi there,
Sorry but I am quite busy these days and won't be able to do that soon. But I think it should be quite straightforward to implement. It is of course welcome if you could create one and make a pull request.
-Yuan

I see.  I am writing the demo for single audiofile. I will make a pull request later.
Hi, Yuan, for the training and validation stage, only the target_length of the feature frames of every audiofile is input to the network, no matter how long the duration of audiofile is ?

Hi there,
@JeffC0628 just submit a pull request, maybe you can take a look?
I am not sure if I understand your question, in the training and validation stage, we do not input the target_length to the network (see here), instead, we initialize the network with a fix target_length, and cut/pad the audio into that length.
-Yuan

I see， Thanks


Suggestion: Indicate whether RC pouches are filled [Item charges plugin?]

I forget to fill my runecrafting pouches more often than I like and I believe I am not the only one with this issue. It would be nice if it could be visually shown the amount of essence in the pouches or at least indicate whether there is something or nothing in it.

There is a plugin in the Plugin Hub for this


Add computed field with deepest path

What if i want to add a computed field like this:
`
computed: {
"foo.bar":{
get:function () {
console.log("get foo.bar ");
},set:function () {
        }
    }
}

`.
This means I want the foo.bar to be a computed property.When i use this in vue,{{foo.bar}},vue will
call the getter function of foo.bar property.

I'm not sure how your question applies to this project. Can you please clarify?

this issue has no reference to the project. I'm going to assume this was meant to be a general vuejs question which should be asked on the vuejs project or stackoverflow


docs(deprecation): deprecated in favor of eslint-find-rules

added deprecation label as suggested.

make a PR to this repo to add a reference to that project and label it as deprecated.

Current coverage is 100.00%

Merging #34 into master will not affect coverage as of 889e8aa

@@            master     #34   diff @@
======================================
  Files            1       1
  Stmts           48      48
  Branches         0       0
  Methods          0       0
======================================
  Hit             48      48
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 889e8aa

Powered by Codecov. Updated on successful CI builds.

I deprecated the package as well. Thanks!

Thanks! Do you think a tweet from you regarding the new package can be helpful?

Sure!


Added troubleshooting section to minikube tutorial

Added TroubleShooting section to Minikube tutorial.
This can help users to resolve their problems when they encounter similar issues.

/assign @sarahmaddox

Thanks @sarahmaddox


Amplify CLI not using the profile listed in the local-aws-info.json

I have set up two different environments using two different profiles. Applies to 4.36.2. I cannot use 4.40.1 at this time because of a different bug about a missing Id token that is supposed to be related to the  Admin UI setting.
{
    "dopry": {
        "configLevel": "project",
        "useProfile": true,
        "profileName": "default"
    },
    "dev": {
        "configLevel": "project",
        "useProfile": true,
        "profileName": "Dev.AWSAdministratorAccess"
    }
}

.aws/credentials
[default]
aws_access_key_id=xxxx
aws_secret_access_key=xxxx

.aws/config
[default]
region=us-east-1

[profile Dev.AWSAdministratorAccess]
sso_start_url = https://company.awsapps.com/start
sso_region = us-east-1
sso_account_name = Dev
sso_account_id = XXXXXXX
sso_role_name = AWSAdministratorAccess
region = us-east-1
credential_process = aws-sso-util credential-process --profile Dev.AWSAdministratorAccess
sso_auto_populated = true

Given I have my personal environment checked out
AND the AWS_PROFILE environment variable is unset
When I run amplify env checkout dev
Then I see
$ amplify env checkout dev
- Initializing your environment: devEnvironment 'dev' not found.
Try running "amplify env add" to add a new environment.
If this backend already exists, try restoring it's definition in your team-provider-info.json file.

Given I have my personal environment checked out
AND the AWS_PROFILE environment variable is set to Dev.AWSAdministratorAccess
When I run amplify env checkout dev
Then I see
$ amplify env checkout dev
✔ Initialized provider successfully.
Initialized your environment successfully.

This Demonstrates the Amplify CLI isn't using the profile listed in the local-aws-info.json.
I would expect

Amplify to use the profile stored in local-aws-info.json
Better Error Messaging

Initializing your environment: devEnvironment 'dev' not found.

It should be specific that the environment was not found in the cloud since it is in my local repo
It should clarify the Account Id and Account Name in which the environment was not found for better troubleshooting in multiple account scenarios.
It should clarify the appId and app Name in which the environment was not found for better troubleshooting in multiple app/account scenarios.

Try running "amplify env add" to add a new environment.

The environment is in my team-provider-info.json, it was just not found online.  Shouldn't this advise me to push my environment and maybe ask me to verify I'm working in the correct account?

If this backend already exists, try restoring it's definition in your team-provider-info.json file.

There should be instructions for restoring a definition. There currently isn't a clear cut process for getting the information to import an existing app/environment from the cloud to a local team-provider-info.json.  Online there is an instruction that says to amplify pull --appId, but this will always error our if the environment in team-provider-info.json doesn't match the appId.  I go caught by this when I was setting up our dev account for CI/CD. I created the 'app' and 'environment' online when setting up CI, then couldn't get it into a local environment. I want to be able to pull dev/uat/prod for debugging and production support. I'd assume a lot of people are going to set this up online since most of the documentation about build recommends using the console over writing an amplify.yml

@dopry What's the access you have provided to the dopry profile?

@dopry What's the access you have provided to the dopry profile?

Closing due to lack of response. Please let us know if you're still stuck on this issue.

Closing due to lack of response. Please let us know if you're still stuck on this issue.


Get an 409 conflict error when I try to upload a file

Looks like nginx is having some problems with accessing the folder
PGID | 1000
PUID | 1000
should be fine and work for all other containers.
Nevertheless I get this weird error message when I want to upload/create a file in the main /data folder.

Hi, what does nginx show in the logs, once you see this error?

On 17. May 2022, at 16:41, Rowdy @.***> wrote:

Looks like nginx is having some problems with accessing the folder
PGID | 1000
PUID | 1000
should be fine and work for all other containers.
Nevertheless I get this weird error message when I want to upload/create a file in the main /data folder.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

<IP_ADDRESS> - - [17/May/2022:18:25:01 +0200] "OPTIONS / HTTP/1.1" 200 0 "-" "Transmit/5.8.5"
<IP_ADDRESS> - - [17/May/2022:18:25:01 +0200] "PROPFIND / HTTP/1.1" 401 179 "-" "Transmit/5.8.5"
<IP_ADDRESS> - dootii5 [17/May/2022:18:25:01 +0200] "PROPFIND / HTTP/1.1" 207 266 "-" "Transmit/5.8.5"
<IP_ADDRESS> - dootii5 [17/May/2022:18:25:01 +0200] "PROPFIND / HTTP/1.1" 207 335 "-" "Transmit/5.8.5"
<IP_ADDRESS> - - [17/May/2022:18:25:25 +0200] "OPTIONS / HTTP/1.1" 200 0 "-" "Transmit/5.8.5"
<IP_ADDRESS> - - [17/May/2022:18:25:25 +0200] "PROPFIND / HTTP/1.1" 401 179 "-" "Transmit/5.8.5"
<IP_ADDRESS> - dootii5 [17/May/2022:18:25:25 +0200] "PROPFIND / HTTP/1.1" 207 266 "-" "Transmit/5.8.5"
2022/05/17 18:25:25 [crit] 323#323: *59 open() "/data/unbenannte Datei.0000000010" failed (13: Permission denied), client: <IP_ADDRESS>, server: localhost, request: "PUT /unbenannte%20Datei HTTP/1.1", host: "webdav.local.yeah-honey.at:32080"
<IP_ADDRESS> - dootii5 [17/May/2022:18:25:25 +0200] "PUT /unbenannte%20Datei HTTP/1.1" 500 177 "-" "Transmit/5.8.5"

Ok, looks like a permission issue that nginx has in manipulating the folder /data.

The output of ls -la for the folder you mount to /data, that is, from the host side. I care mostly about the entries for the folder itself (.) and a couple of files if you managed to have some in there. The actual file names, I don't need to know.

The output of ls -la for the /datafolder inside the container. That is, how nginx "sees" the folder. Assuming that your container is called "dav", it will be something like docker container exec -it dav ls -la /data.

I run it via a docker compose file
version: '3.3' services:  nginxwebdav:      image: dgraziotin/nginx-webdav-nononsense      container_name: nginxwebdav      build:          context: .      volumes:          - /mnt/zfsstorage/externalHDD/folderx:/data      environment:          - PUID=1000          - PGID=1000          - TZ=Europe/Berlin          - WEBDAV_USERNAME=webdavuser          - WEBDAV_PASSWORD=webdavpwd          - SERVER_NAMES=localhost          - TIMEOUTS_S=1200 # these are seconds          - CLIENT_MAX_BODY_SIZE=120M # must end with M(egabytes) or G(igabytes)      ports:        - 32080:80

root@Docker:/mnt/zfsstorage/externalHDD/folderx# ls -la total 9 drwxr-xr-x 2 root root 2 May 17 14:41 . drwxr-xr-x 9 root root 9 Apr 30 20:39 ..

root@b5eae5bd759b:/data# ls -la /data total 5 drwxr-xr-x 2 root root    2 May 17 16:41 . drwxr-xr-x 1 root root 4096 Apr 30 16:18 ..

This should be an easy one!
You have likely created the /mnt/zfsstorage/externalHDD/folderx as root user, see the root root part. This correspond to UID 0 and GID 0.
This folder has the same owner from the container side, at /data.
nginx is, however, running as user abc, group abc, with UID 1000 and GID 1000 as you specified with the PUID and PGID variables. nginx can't access the /data folder.
Solution, hopefully. Stop the container. from the host, run something like chown -R 1000:1000 /mnt/zfsstorage/externalHDD/folderx. This will assign, from the host level, correct permissions to access the folder. Run the container again. It should work.
If you need to add files to /mnt/zfsstorage/externalHDD/folderx via other ways (that is, not  through WebDAV), you need to re-assign permissions to the folder. Otherwise, it should keep working.
Let me know!

Brilliant. Thanks so much. Working perfectly now.


feat: trim down some of the metadata

NB: After discussion with Will, it seems this might be the wrong approach. The packed_struct crate probably does not handle the addition of new fields in a backwards compatible manner. The right approach might be to FlatBuffer all these metadatas.

Every encoding whose metadata only contains primitive Rust types or ValidityMetadata now uses a compact representation for that metadata. The remaining encodings use DType, PType, or Scalar in their metadata which prevents the use of packed_struct. I will make another pass which hand rolls a serialization for those metadata structures in which I use the flatbuffer to (de)serialize the PType.
My rust knowledge is insufficient to know how to abstract these repeated implementations into two parametric ones. Basically, if you have Serialize & Deserialize, you use flex buffers. If you have packed_struct::PackedStruct you should use the other one.

I think this is the step in the right direction. However, I would prefer a comprehensive solution to all of the metadata problems, i.e. can all the cases that store big values be trimmed down? Is metadata storing only necessary values? And only then go for packing of the values. For example in a lot of cases we store a dtype of a child array but it might not be necessary to be stored fully because it can be reconstructed from fraction of the data or can be removed completely.

I'll revisit this in the future.


Focused/filtered catalog deployments

Add support for deploying and/or displaying products from a specific set of categories in the Retail Demo Store UX. This will allow demos to be delivered that are restricted to a type of products that are relevant to the person receiving the demo. For example, if delivering a demo to someone in the personal electronics space, restrict the deployment just to products in the appropriate categories. This could be implemented a number of ways from deployment or just in the UI at run-time (and with a Personalize dynamic filter).

This is a important ticket. Basically I want to create 4 demo's for 4 different industry e.g. Retail, Banking etc. It would be great to have a solution :

apply some filter - similar to "don't show products that customer just bought" in Amazon Personalise
somehow with a query parameter I would like to say "industry=retail" and it shows the retail products.

I am open to either option as I am now manually figuring out how to update/load dynamodb with new product image/product data. Benefit of option 2 is I can run same instance for multiple industry demo. In both cases we will need to update local customer specific product data/information - to make the demo more compelling to customers industry. Is there a way a short cut / easiest way to load product data to an existing deployment maybe.
Just some thoughts based on my current use cases. Cheers

This is a important ticket. Basically I want to create 4 demo's for 4 different industry e.g. Retail, Banking etc. It would be great to have a solution :

apply some filter - similar to "don't show products that customer just bought" in Amazon Personalise
somehow with a query parameter I would like to say "industry=retail" and it shows the retail products.

I am open to either option as I am now manually figuring out how to update/load dynamodb with new product image/product data. Benefit of option 2 is I can run same instance for multiple industry demo. In both cases we will need to update local customer specific product data/information - to make the demo more compelling to customers industry. Is there a way a short cut / easiest way to load product data to an existing deployment maybe.
Just some thoughts based on my current use cases. Cheers

Working on it, hope to create a PR this Friday.
@aeggbeg could you share your datasets for different demos?


fix first column of table output

a la ngrid https://github.com/twosigma/ngrid does.
ie, when browsing the output of a table, I would like to be able to fix the first column, so when I browse right, the leftmost column stays fixed; if the column/s that stayed fixed were configurable, that would be really awesome

thanks for the report, i totally agree,it's on the agenda but i believe there was a bug in the implementation in the underlying library.
the code that activates it is commented out:
https://github.com/twosigma/beaker-notebook/blob/5d1d9ab82421ee555553d25032e98bf401d5c053/core/src/main/web/outputdisplay/bko-tabledisplay/bko-tabledisplay.js#L734
we should check if it's fixed, we are using 1.10.5 but they are up to 1.10.7
https://datatables.net/download/index

also the FixedColumn plugin is up to v3.0.4 when we are using v3.0.3


Update profileImageFileUpload.js

remove code vuln

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


aps_enabled has no effect

Hi all,
I'm using a davis240c and trying to run it with the parameter aps_enabled: false, but apparently it has no effect and the driver enables the image acquisition.
I'm pretty sure the file is loaded correctly as when I modify other parameters (e.g. frame_delay) of the .yaml file they do have the desired effect.
Any idea why?
thank you in advance

Hi,
Thank you for the feedback. I can reproduce the problem at startup: the parameter aps_enabled is indeed disregarded at startup. However, if you enable and disable it while the driver is running, it will work.
I will look into it.
Henri


Improve README

[ ] give a full setup example with options using lazy.nvim
[ ] better document how to author prompts (input, context)
[ ] guide to adding providers (sse utils, calling handlers)

Some minor points which could help someone like me reading through the README:

For models which require API access, it'll be great to have more examples of chats/templates for non-OpenAI providers (eg. HuggingFace or Groq Cloud; by the way, I think Groq would be a really nice addition to the list of available providers). For people like me who rely more on open source models this will be quite helpful.
Many thanks for the notes on the types/classes that are being used in calling the models! However, while going through the implementation of some providers like OpenAI or HuggingFace, I found some things which were a bit hard to understand on the first attempt. For instance, I had no idea about what the on_message handler does (eg: https://github.com/gsuuon/model.nvim/blob/25d5a317b6bc03e4d3644bf3149e0310cef8b8cc/lua/model/providers/openai.lua#L75) and there wasn't any information about it in the README!
I think the "Examples" section of the README is really good; however, in that section (and in other parts of the README) some videos are used to showcase the power of the plugin. While videos are great (and I really appreciate it), I think they should be accompanied with more docs explaining the stuff as well (because I'll probably look at the docs first, and then an example via any video or image!)

Thanks for the detailed feedback! I'll reference this when I take another pass at the readme. I've also been thinking of adding a tutorial style section that walks through building your own prompts, which would address one of your points.


feat(cdn-unpkg): add unpkg field in package.json

Thanks to @jsobell for the suggestion
resolves #14
@EisenbergEffect

Thanks @bigopon This is also great learning for setting up vNext correctly so that we have it right from day one :)

Yes. vNext is already ready for this. We just need a bit tweak :poke: @fkleuver

A bit tweak?

Perhaps he means a twit beak? 🐦


React intl grpby gcp details

issue: https://issues.redhat.com/browse/COST-1372

Codecov Report

Merging #2109 (1131b9c) into react-intl_changeover (3ba2124) will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##           react-intl_changeover    #2109   +/-   ##
======================================================
  Coverage                  70.37%   70.37%
======================================================
  Files                        410      410
  Lines                       7506     7506
  Branches                    1457     1457
======================================================
  Hits                        5282     5282
  Misses                      2192     2192
  Partials                      32       32

Impacted Files
Coverage Δ

src/locales/messages.ts
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 98af905...1131b9c. Read the comment docs.


[ADD ME TO THE ORGANIZATION]

Name:Divakar
Location:Hyderabad
Interest:ML,Developmnt,CP
Discord username(optional):-
Why do you want to join?

I am eagerly wanted to work with Open Source Communities and contribute my work and upskill my learnings. Wishing to compound more on Learnings with Oragnisation and leveling the insights

You can also join our Discord community here
Feel free to check out other cool repositories of the Open Source Community here.

Hello there, i didnt got the invitation.
Can you resend it ?

@diva-21 Thanks for your interest. Invitations have been sent to you. Kindly accept it and make your membership public.

thank you @Susmita-Dey