Suppress warning implementation from global settings

Fixes #48
You can suppress specific warnings (or all) by setting this values in settings.json:
"arbEditor.suppressedWarnings": <value> // "all" or [0, 1, ..., 9]

It's a good idea to open an issue first for discussion.

[x] Implemented new tests
[x] Tests pass
[x] Appropriate changes to README are included in PR

Thanks for the PR!
Although I suspect that dismissing warnings has usually some other bug at its root, which we should fix, it's still a good functionality to have. Unfortunately the CI seems to be broken, I will look into that!

Hi @mosuem,
Yes I agree, eliminating warnings can lead to bugs but in the end it is defined by the user, so it seems more like a calculated risk to me.
The reason that pushed me to create this PR is that I started defining my arb file like this:
{
     "@@locale": "en",

     "@_COMMON": {},
     "warning": "Warning",
     "error": "Error",
     "loading": "Loading",
     "close": "Close",
     "cancel": "Cancel",
     "done": "Done",

     "@_LOGIN_PAGE": {},
     "loginTitle": "Login Page"
}

Right now, @_COMMON and @_LOGIN_PAGE are diagnosed as errors and all the keys have warnings because they do not have the metadata defined (which in my opinion are not needed for simple and self-explanatory keys).
Having the possibility of eliminating some warnings without losing the other features offered by the plugin would be really convenient, and would also simplify reading the diagnosis tab!
(Anyway, really a strange behavior of CI 😅)

Hi @mosuem,
I pushed the update but noticed that the tests for quickfixes are not consistent. Testing locally I was able to notice that these (even without the integration of this PR) can arbitrarily fail or succeed.
I don't know if it depends on my computer or if there is something broken in the tests but I think they need to be revised.

Testing locally I was able to notice that these (even without the integration of this PR) can arbitrarily fail or succeed.

That's not good :) Do you have any logs or similar which could help debugging this?

Testing locally I was able to notice that these (even without the integration of this PR) can arbitrarily fail or succeed.

That's not good :) Do you have any logs or similar which could help debugging this?

@mosuem  Yes, I do. This is one log
    ✔ A rough parser test, as the real test will be done by the golden.
extensionHostProcess.js:147
    ✔ Test quickfix for missing Metadata (108ms)
extensionHostProcess.js:147
    1) Test quickfix for placeholder without metadata with tabs
extensionHostProcess.js:147
    ✔ Test quickfix for placeholder without metadata with spaces (110ms)
extensionHostProcess.js:147
    ✔ Test finding unescaped regions
extensionHostProcess.js:147
    ✔ Test suppressed all warnings (72ms)
extensionHostProcess.js:147
    ✔ Test suppressed warning with id missing_metadata_for_key (132ms)
extensionHostProcess.js:147
    ✔ Test suppressed warning with id 'invalid_key', 'missing_metadata_for_key' (47ms)
extensionHostProcess.js:147
    ✔ Test suppressed warning with code 'metadata_for_missing_key' (69ms)
extensionHostProcess.js:147
  10 passing (2s)
extensionHostProcess.js:147
  1 failing
extensionHostProcess.js:147
  1) Extension Test Suite
       Test quickfix for placeholder without metadata with tabs:
     Canceled
   Canceled
      at a.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:13540)
      at o.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
      at o.z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:730)
      at o.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:946)
      at R.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:5051)
      at N.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:5461)
      at Object.Z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:4340)
      at c.N (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:4817)
      at c.L (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:3674)
      at a.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:2227)
      at o.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
      at o.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
      at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:14175)
      at a.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:176:8023)
      at o.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
      at o.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
      at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:14175)
      at MessagePortMain.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:176:6303)
      at MessagePortMain.emit (node:events:517:28)
      at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2285)
      at Object.callbackTrampoline (node:internal/async_hooks:130:17)

extensionHostProcess.js:147
Error: 1 tests failed.
    at /Users/dariovarriale/Desktop/me/my_github/arb-editor/src/test/suite/index.ts:40:9
    at done (/Users/dariovarriale/Desktop/me/my_github/arb-editor/node_modules/mocha/lib/mocha.js:1012:7)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Extension Test Suite
extensionHostProcess.js:147
    ✔ Decorate golden file. (340ms)
extensionHostProcess.js:147
    ✔ Decorate golden file with template. (259ms)
extensionHostProcess.js:147
    ✔ A rough parser test, as the real test will be done by the golden.
extensionHostProcess.js:147
    ✔ Test quickfix for missing Metadata (120ms)
extensionHostProcess.js:147
    1) Test quickfix for placeholder without metadata with tabs
extensionHostProcess.js:147
    ✔ Test quickfix for placeholder without metadata with spaces (72ms)
extensionHostProcess.js:147
    ✔ Test finding unescaped regions (107ms)
extensionHostProcess.js:147
    ✔ Test suppressed all warnings
extensionHostProcess.js:147
    ✔ Test suppressed warning with id missing_metadata_for_key (62ms)
extensionHostProcess.js:147
    ✔ Test suppressed warning with id 'invalid_key', 'missing_metadata_for_key' (45ms)
extensionHostProcess.js:147
    ✔ Test suppressed warning with code 'metadata_for_missing_key' (40ms)
extensionHostProcess.js:147
  10 passing (1s)
extensionHostProcess.js:147
  1 failing
  1) Extension Test Suite
       Test quickfix for placeholder without metadata with tabs:

      AssertionError [ERR_ASSERTION]: '{\n' +
  '\t"@@locale": "en",\n' +
  '\t"helloAndWelcome2": "Welcome {firstName}!",\n' +
  '\t"@helloAndWelcome2": {}\n' +
  '}' == '{\n' +
  '\t"@@locale": "en",\n' +
  '\t"helloAndWelcome2": "Welcome {firstName}!",\n' +
  '\t"@helloAndWelcome2": {\n' +
  '\t\t"placeholders": {\n' +
  '\t\t\t"firstName": {}\n' +
  '\t\t}\n' +
  '\t}\n' +
  '}'
      + expected - actual

       {
--
       	"helloAndWelcome2": "Welcome {firstName}!",
      -	"@helloAndWelcome2": {}
      +	"@helloAndWelcome2": {
      +		"placeholders": {
      +			"firstName": {}
      +		}
      +	}
       }

  	at compareGolden (/Users/dariovarriale/Desktop/me/my_github/arb-editor/out/test/suite/extension.test.js:159:16)
  	at async testFixAgainstGolden (/Users/dariovarriale/Desktop/me/my_github/arb-editor/out/test/suite/extension.test.js:147:5)
  	at async Context.<anonymous> (/Users/dariovarriale/Desktop/me/my_github/arb-editor/out/test/suite/extension.test.js:82:9)

extensionHostProcess.js:147
Error: 1 tests failed.
	at /Users/dariovarriale/Desktop/me/my_github/arb-editor/out/test/suite/index.js:35:27
	at done (/Users/dariovarriale/Desktop/me/my_github/arb-editor/node_modules/mocha/lib/mocha.js:1012:7)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

That's another one
    ✔ A rough parser test, as the real test will be done by the golden. (136ms)
extensionHostProcess.js:147
    1) Test quickfix for missing Metadata
extensionHostProcess.js:147
    ✔ Test quickfix for placeholder without metadata with tabs (154ms)
extensionHostProcess.js:147
    ✔ Test quickfix for placeholder without metadata with spaces (84ms)
extensionHostProcess.js:147
    ✔ Test finding unescaped regions
extensionHostProcess.js:147
    ✔ Test suppressed all warnings (45ms)
extensionHostProcess.js:147
    ✔ Test suppressed warning with id missing_metadata_for_key (70ms)
extensionHostProcess.js:147
    ✔ Test suppressed warning with id 'invalid_key', 'missing_metadata_for_key' (64ms)
extensionHostProcess.js:147
    ✔ Test suppressed warning with code 'metadata_for_missing_key' (49ms)
extensionHostProcess.js:147
  10 passing (2s)
extensionHostProcess.js:147
  1 failing
extensionHostProcess.js:147
  1) Extension Test Suite
       Test quickfix for missing Metadata:
     Canceled
   Canceled
      at a.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:13540)
      at o.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
      at o.z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:730)
      at o.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:946)
      at R.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:5051)
      at N.cancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:5461)
      at Object.Z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:4340)
      at c.N (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:4817)
      at c.L (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:3674)
      at a.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:2227)
      at o.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
      at o.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
      at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:14175)
      at a.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:176:8023)
      at o.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
      at o.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
      at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:14175)
      at MessagePortMain.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:176:6303)
      at MessagePortMain.emit (node:events:517:28)
      at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2285)
      at Object.callbackTrampoline (node:internal/async_hooks:130:17)

extensionHostProcess.js:147
Error: 1 tests failed.
    at /Users/dariovarriale/Desktop/me/my_github/arb-editor/src/test/suite/index.ts:40:9
    at done (/Users/dariovarriale/Desktop/me/my_github/arb-editor/node_modules/mocha/lib/mocha.js:1012:7)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Hi @mosuem, are there any updates?

@dariowskii there is some test failure, if that is unrelated or fixed this is ready to merge.

@dariowskii there is some test failure, if that is unrelated or fixed this is ready to merge.

@mosuem I checked the test, I confirm that it is not related to the feature implemented in this PR 👍🏻

Hi @mosuem, will this update be published on the VS marketplace?


[refactor]: remove Chinese comment

remove all Chinese comment in project, replace with English.
match Regex: (//|\* ).*[\u4e00-\u9fa5]
file type: *.ts,*.tsx,*.json,*.js.
e.g:

I would love to pick this up.

I would love to pick this up.

cool. we very much welcome

@Patil2099 are you still doing this?

Hey, how are we supposed to replace it with english, asin what translate service to use? google translate?

Hey, how are we supposed to replace it with english, asin what translate service to use? google translate?

google or deepl or other translation services, use what you think is right and we will assist you in the review


404 - Page not found - virtual-machines linux create-upload-generic.md#general-linux-system-requirements

I referenced a link here last week, it has now disappeared:-
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/virtual-machines/linux/create-upload-generic.md#general-linux-system-requirements
looks like virtual-machines tree has disappeared.
It is referenced from https://learn.microsoft.com/en-us/answers/questions/1180034/swapfile-configuration-and-best-practice-in-azure, [linked in middle of the page]

@g-spencer
Thanks for your feedback! We will investigate and update as appropriate.

@g-spencer
Please refer to this document, hope it matches what you are looking for.
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-api-inspector

the document tree is still missing, is there an update yet on this issue ?

@g-spencer
Could you please check this link https://learn.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic.
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


init release-0.10

Release PR for 0.10.0 to get #125 and #126.

bump
@wenchajun @benjaminhuo
Can we get this merged and a new version released to get polling support out?
Thanks!


Feature local UI

Feature Local UI : https://github.com/daxa-ai/pebblo/issues/105
This includes frontend as well as backend changes for local UI.

@KumarNitin19
I tried to run Pebblo and access the local UI. It works properly when executed from the project directory, but It throws an error when running Pebblo outside of the project directory.
INFO:     ::1:58552 - "GET /pebblo/ HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback
...
...
jinja2.exceptions.TemplateNotFound: index.html


fix connect to https

Env: Mac OS El Captian, Boot2Docker
{ [Error: unable to verify the first certificate] code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }

to
{ Id: 'b248f6a484ed23198c9a1a3823e0a70fde982ea652a51250202d125bba6631a5',
  Names: [ '/nginx' ],
  Image: 'nginx',
  Command: '/sbin/entrypoint.sh /usr/sbin/nginx',
  Created:<PHONE_NUMBER>,
  Ports:
   [ { IP: '<IP_ADDRESS>',
       PrivatePort: 1935,
       PublicPort: 1935,
       Type: 'tcp' },
     { IP: '<IP_ADDRESS>', PrivatePort: 80, PublicPort: 80, Type: 'tcp' },
     { PrivatePort: 443, Type: 'tcp' } ],
  Labels: {},
  Status: 'Up 36 minutes' }

It solves https://github.com/apocas/dockerode/issues/197

Default behavior should never be to ignore SSL, this brings multiple security issues into the library.
In node.js if you want to use invalid certificates on your implementation you should add this to your code:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
Example: http://stackoverflow.com/questions/10888610/ignore-invalid-self-signed-ssl-certificate-in-node-js-with-https-request


path changed in resources html file

Related Issue

The path to the index.html file is not set correctly in resources.html.

Closes: #[issue number that will be closed through this PR]
Are you creating this PR under Hacktoberfest
Yes, I'm opening this PR under hacktoberfest.
Describe the changes you've made
Changed the path in resources.html page.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.

Screenshots
https://user-images.githubusercontent.com/63171580/195680091-317fb5c7-d917-4732-a574-0e5ab2a2e7eb.mov

Thank you for contributing.


⚠ Bofrost.at has degraded performance

In 87d2259, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1047 ms

Resolved: Bofrost.at performance has improved in 8404329 after 6 minutes.


feat: add Nextclade_pango column to metadata

Copies the new Nextclade_pango column from nextclade.tsv to metadata.tsv. This column contains Pango lineages assigned using Nextclade.
Symmetrical PR in ncov: https://github.com/nextstrain/ncov/pull/892

@corneliusroemer Yes, I think so. The usual ingest full run checklist need to be executed first and then the daily ingest will be able to produce nextclade.tsv and metadata.tsv with the new cloumn.


[DOCS][COMMUNITY] Elaborate Independence Principle for Project Participation

This PR adds an elaboration of hat and independence principle for project participation. This is a principle that by default applies to all apache projects.
See also other reference materials

http://theapacheway.com/hats/
https://community.apache.org/projectIndependence.html

cc @apache/tvm-committers for visibility

Hey @tqchen, thanks for clarifying the documentation. I feel it is a well known principle for everyone who was close involved in Apache projects at any point, still, clarifying it always good.
Also, I think if the idea is to reach out to more people, perhaps could be a theme for a Community meeting.
OTOH, I just wanted to point out that this change was not really a critical change (such as fixing CI for example) to be merged in such a short period of time between a Friday and a Sunday. I guess it is just point for attention for future PRs.

Hi, @leandron. I apologize for it and I will pay attention to it next time. Thanks for pointing it out!


Add auto backport functionality to security plugin

Signed-off-by: Jason<EMAIL_ADDRESS>opensearch-project/security-dashboards-plugin pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Github Issue # or road-map entry, if available:
https://github.com/opensearch-project/security-dashboards-plugin/issues/869

Description of changes:

Why these changes are required?

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
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 #887 (671b779) into main (32c581f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #887   +/-   ##
=======================================
  Coverage   71.98%   71.98%
=======================================
  Files          87       87
  Lines        1906     1906
  Branches      242      242
=======================================
  Hits         1372     1372
  Misses        480      480
  Partials       54       54

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 32c581f...671b779. Read the comment docs.


Crash with KubeJS 6.1 due to breaking changes

Describe the bug
Player Skills and other it's modules crashes the modpack when using KubeJS 6.1 making modpack not launchable at all. However, when I was working with 6.0 version of KubeJS, it was loading just fine.
The main reason of using 6.1 and not 6.0 that I want to use some new addons such as Custom Machinery, Loquat and etc. with both Player Skills modules to make a modpack, but have no success due to a bunch of missing methods in newer versions as a modpack developer. (Recipes were rewritten to schemas and etc., you can find announcement with changes here)
To Reproduce
Steps to reproduce the behavior:

Get an Fabric API or Forge.
Install Architectury API, Rhino, KubeJS 6.1 (not 6.0 one)
Get Minecraft crashed without any other mods installed with this error:

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'kubejs'!
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51)
	at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49)
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35)
	at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
	at net.minecraft.class_310.<init>(class_310.java:459)
	at net.minecraft.client.main.Main.method_44604(Main.java:205)
	at net.minecraft.client.main.Main.main(Main.java:51)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: dev/latvian/mods/kubejs/RegistryObjectBuilderTypes
	at dev.latvian.mods.kubejs.fabric.KubeJSFabric.onInitialize(KubeJSFabric.java:25)
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47)
	... 11 more
Caused by: java.lang.NoClassDefFoundError: dev/latvian/mods/kubejs/RegistryObjectBuilderTypes
	at net.impleri.playerskills.integration.kubejs.Registries.<clinit>(Registries.java:12)
	at net.impleri.playerskills.integration.kubejs.PlayerSkillsPlugin.init(PlayerSkillsPlugin.java:30)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at dev.latvian.mods.kubejs.util.KubeJSPlugins.forEachPlugin(KubeJSPlugins.java:106)
	at dev.latvian.mods.kubejs.KubeJS.<init>(KubeJS.java:132)
	at dev.latvian.mods.kubejs.fabric.KubeJSFabric.onInitialize(KubeJSFabric.java:22)
	... 12 more
Caused by: java.lang.ClassNotFoundException: dev.latvian.mods.kubejs.RegistryObjectBuilderTypes
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226)
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)

(this is example for the Fabric ecosystem, the same happens with Forge, let me know if you need logs for both instances, but they're easily can be reproduced)
Context
Minecraft version: 1.19.2 (1.18.2 should be fine)
Player Skills version: 1.12.0
KubeJS version: 1902.6.1-build.311
Rhino version: 1902.2.2-build.268
Architectury API version: 6.5.85
Fabric API version: 0.76.0+1.19.2
Forge version: 43.2.21
Forge or Fabric version: Fabric (and Forge affected too)
Server/Client or Solo? Both client and server affected.
Log file: See below for the error. If you need logs, let me know!
Originally it was an instance with 220+ mods installed (435 mods with libs and etc.), so I moved the mod to clean instance with only specified mods here to make sure it is not another mod crashing the whole modpack at start.
Thanks for your work, really useful mod!

I also have this very same bug.


[WIP] Improved Serialize

This will fix #330
The idea is that the user will get some useful data by default, e.g. index, parent, html, etc. but if necessary can provide a customSerializer function to extend and change the serialization however needed.

Coverage increased (+0.2%) to 79.083% when pulling bb3ba318ec6022199d00013eb235ed4a5141ec2a on serialize into a52a7c9c4c7bef59cedae5e140e6c73c665eec7d on master.


Try getting sauce labs working

Couldn't get it working. The popup on Firefox kept getting blocked and I can't find a simple profile setting to allow popups. argh!


The prediction results did not appear unclassified

Hi, I found that the result is either plasmid or chromosome, no unclassified. is this normal? Why is there no unclassified?

I re-read the literature and it has been resolved. I'm sorry for the intrusion.


Add Link: pagination HTTP headers

Spun off from #782. These can go on all of the JSON endpoints that support pagination.

The GitHub API has these:
link: <https://api.github.com/repositories/107914493/commits?page=2>; rel="next", <https://api.github.com/repositories/107914493/commits?page=46>; rel="last"
WordPress API: https://css-tricks.com/wp-json/wp/v2/posts
link: <https://css-tricks.com/wp-json/wp/v2/posts?page=2>; rel="next"

This should be documented on https://docs.datasette.io/en/stable/json_api.html

I'm just going to implement the 'next' one.

I won't offer a total-number header. That's expensive to calculate - no need to calculate it unless it's explicitly asked for.

First example page to add this to: ?_shape=array, e.g. https://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array

Demo using paginate-json:
% paginate-json 'https://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array' | jq '. | length'
https://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=a%2Cd%2Cv
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=a%2Ch%2Cr
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=a%2Cl%2Cn
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=a%2Cp%2Cj
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=a%2Ct%2Cf
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=a%2Cx%2Cb
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=b%2Ca%2Cx
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=b%2Ce%2Ct
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=b%2Ci%2Cp
http://latest.datasette.io/fixtures/compound_three_primary_keys.json?_shape=array&_next=b%2Cm%2Cl
1001

New documentation: https://docs.datasette.io/en/latest/json_api.html#pagination


[BEAM-13741] Switch sql dependency  to provided

:sdks:java:extensions:sql provides vendored calcite

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

./gradlew publish

Run Gradle Publish

Run Gradle Publish

Run Gradle Publish

Run Gradle Publish

Run Gradle Publish

R: @TheNeuralBit

beam_Release_NightlySnapshot passes, but had to do a fix for whitespace
https://ci-beam.apache.org/job/beam_Release_NightlySnapshot/1443/

Do we know why this happens in Release_NightlySnapshot but we can't repro in local builds?

No idea. I tried clearing my local ~/.m2 repo thinking Calcite was cached, but still passed

I'm hesitant to make this change without understanding what's going wrong. I took a look at the gradle scans you shared in the jira. In the old passing build, vendored calcite is brought in as a dependency of sql extensions as I'd expect:

In the current failing build, sql extensions has no dependencies:

So it seems like there's a larger issue here, and just bringing in one transitive dependency is just a band-aid. Unfortunately I'm not sure how to get to the root cause ... it seems likely this is related to the different configurations (provided vs. compileClasspath) due to the gradle 7 upgrade, but I don't know where to go from there.


[AUTOPATCHER] Patches CVE-2021-32675 for redis

        Patches CVE-2021-32675 for redis.
        This patch and PR was automatically generated and needs human verification before merging.

Closing- fixed by #1554.


add font color option

fixes #18

@eric-kimbrel,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[Create news] 'Publish' button appears on the 'Preview' page if no tags are selected

Environment: Windows 8.1 x64, Mozilla Firefox 76.0 (64-bit),  Google Chrome
Версія 81.0 (64-bit)
Reproducible: always
Build found: commit b517ccb
Steps to reproduce:

Go to GreenCity https://ita-social-projects.github.io/GreenCityClient/#/welcome
Log into the system.
Click on 'Eco news' link in the header.
Click on 'Create news' button.
Enter valid values in 'Title' text field and 'Content' text field
Click the 'Preview' button

Actual result:
'Publish' button appears

Expected result:
'Publish' button doesn't appear on preview if there are no tags choose

User story #548

duplicate of #688


fs: system: cleanup reflink

Per https://github.com/iterative/dvc-objects/pull/234/files#r1416499169

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (8740236) 64.39% compared to head (58d6a3b) 63.15%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

src/dvc_objects/fs/system.py
55.55%
4 Missing :warning:

tests/benchmarks/test_fs.py
60.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
- Coverage   64.39%   63.15%   -1.24%
==========================================
  Files          27       27
  Lines        2039     2041       +2
  Branches      323      238      -85
==========================================
- Hits         1313     1289      -24
- Misses        666      702      +36
+ Partials       60       50      -10

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


"Find-Command" & "Install-Module" cmdlets show identify OS compatibility

From @MaximoTrinidad on September 28, 2016 13:29

Steps to reproduce
In Linux, using either Find-Command or Install-Module, will list all available (Windows and Linux).
Expected behavior
Install the module that can be executed Linux, as well as Windows.
It maybe a good idea to have these cmdlets check for the OS type before providing the list.
Actual behavior
A Module won't install because it need dependencies, or was built for Windows OS.  Below, example has been addressed;
https://github.com/janegilring/PSVersion/issues/5

Environment data
Linux: Ubuntu 16.04.1 64bit

PS /home/maxt> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   <IP_ADDRESS>
GitCommitId                    v6.0.0-alpha.10
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Copied from original issue: PowerShell/PowerShell#2374

From @joeyaiello on September 29, 2016 16:35
We've talked about this in the past. My only reservation here is that many module authors won't know that they are actually compatible (or mostly compatible) with macOS or Linux, and I'd rather not prevent users from installing those modules. (E.g. posh-git is 99% working on Mac/Linux)
Maybe we should offer a warning at install time if compatibility isn't explicitly listed?
I also agree we should absolutely give users a way to explicitly filter by Edition.

# Find modules supported on PowerShell Core edition
Find-Module -Tag PSEditon_Core

For more details, please take a look at the below documentation on explicitly filtering the items by Edition.

Items with compatible PowerShell Editions
Modules with PSEditions
Scripts with PSEditions


To add a calculator to calculate distance between incentre and excentre

Is your feature request related to a problem? Please describe.
To add a calculator to calculate distance between incentre and excentre

Hi, I want to work on this issue I will start working on it as soon as I get assigned!! I am a part of GSSoC'21.
Kindly assign this issue to me!
Discord Username : Abhijeet Sinha(P)
Discord Tag: #4018

Go ahead
Deadline 22 May,2021

@sairish2001 can i work??

@sairish2001 I think till now i am assigned for this issue

@sairish2001 since the deadline is passed and also only a fews days are left so I made the PR. And  also in discord a mentor has said that we can make PRs even if they aren't assigned as only 5 days are left.


Enable SWS access via Bearer token

This enables (read-only) access to SWS if you have a bearer token, rather than a cert/key combo.

Coverage decreased (-0.3%) to 82.908% when pulling d67abcae9ff604c60f5669921fee494e6a5d1d85 on uw-it-cte:sws-bearer into 88a4143daf72a7aa4518dae98bf6818276d2aeea on uw-it-aca:develop.


Only volunteers with avatars are displayed

Accidentally included the same feature from PR #254 can take out if doesn't work, but pretty minor

Merged in #257.
@pjsier is 7ecef22 something you want to create a new PR for?


Broken links & Addition links in Documentation : README.md

Broken links in README.md

Certain links seem to be broken, especially ones in the Open Source section. Check and ensure that links point to correct addresses.
In License section, add link to Gather-documentation repository where the Creative Commons license has been mentioned.

Broken links have now been fixed and README has been updated to include link to documentation site -- in the documentation branch.


[SPARK-34514][SQL] Push down limit for LEFT SEMI and LEFT ANTI join

What changes were proposed in this pull request?

I found out during code review of https://github.com/apache/spark/pull/31567#discussion_r577379572, where we can push down limit to the left side of LEFT SEMI and LEFT ANTI join, if the join condition is empty.
Why it's safe to push down limit:
The semantics of LEFT SEMI join without condition:
(1). if right side is non-empty, output all rows from left side.
(2). if right side is empty, output nothing.
The semantics of LEFT ANTI join without condition:
(1). if right side is non-empty, output nothing.
(2). if right side is empty, output all rows from left side.
With the semantics of output all rows from left side or nothing (all or nothing), it's safe to push down limit to left side.
NOTE: LEFT SEMI / LEFT ANTI join with non-empty condition is not safe for limit push down, because output can be a portion of left side rows.
Reference: physical operator implementation for LEFT SEMI / LEFT ANTI join without condition - https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/joins/BroadcastNestedLoopJoinExec.scala#L200-L204 .
Why are the changes needed?

Better performance. Save CPU and IO for these joins, as limit being pushed down before join.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Added unit test in LimitPushdownSuite.scala and SQLQuerySuite.scala.

cc @wangyum , @maropu , @viirya , @HyukjinKwon and @cloud-fan for review if you have time, thanks.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39981/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135401/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135402/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39982/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39982/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39982/

Test build #135409 has started for PR 31630 at commit 22bfd5e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39989/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39989/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39989/

thanks, merging to master!

Thank you all for review!

Test build #135409 has finished for PR 31630 at commit 22bfd5e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135409/


An issue for vue2(<2.7) compiler with "transpile is not a function"

Describe the bug
when I use the latest version (0.18.5) with my vue2 product, it doesn't work
it will throw a "transpile is not a function" error
I found a problem in the code
this code on src/core/compilers/vue2.ts file
const transpile = (await importModule('vue-template-es2015-compiler'))
    .default

I think we don't need the .default. because the importModule method has parsed it
Reproduction
https://stackblitz.com/edit/unplugin-unplugin-icons-3xjrzc?file=main.ts
System Info
System:
    OS: macOS 14.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 77.65 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 14.21.3 - ~/.nvm/versions/node/v14.21.3/bin/node
    npm: 6.14.18 - ~/.nvm/versions/node/v14.21.3/bin/npm
    bun: 0.8.1 - ~/.bun/bin/bun
  Browsers:
    Chrome: 123.0.6312.123
    Edge: 123.0.2420.81
    Safari: 17.4

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

I also encountered this problem. Is there any good solution at this stage?

@wjw020206  you can downgrade to v0.17.0

@wjw020206 you can downgrade to v0.17.0

alright, thank you very much

@wjw020206 you can downgrade to v0.17.0

hi. tried to use v0.17.0 but there were new problems, Prompt error: Typerror: Require (...). Default is not a function

you can remove the default() and try again

you can remove the default() and try again

I tried it, the problem changed
module.exports = function unplugin() {
  return [
    require('unplugin-auto-import/webpack').default({
      imports: ['vue', 'vue-router', 'pinia'],
      eslintrc: {
        enabled: true
      },
      dts: 'src/typings/auto-imports.d.ts'
    }),
    require('unplugin-vue-components/webpack').default({
      dts: 'src/typings/components.d.ts',
      resolvers: [require('unplugin-icons/resolver')]
    }),
    require('unplugin-icons/webpack').default({ // The error appears in this line
      compiler: 'vue2',
      scale: 1,
      defaultClass: 'inline-block',
      autoInstall: true
    })
  ];
};

same as above, you don't need the default()
like
module.exports = function unplugin() {
  return [
    require('unplugin-auto-import/webpack').default({
      imports: ['vue', 'vue-router', 'pinia'],
      eslintrc: {
        enabled: true
      },
      dts: 'src/typings/auto-imports.d.ts'
    }),
    require('unplugin-vue-components/webpack').default({
      dts: 'src/typings/components.d.ts',
      resolvers: [require('unplugin-icons/resolver')()]
    }),
    require('unplugin-icons/webpack')({ // The error appears in this line
      compiler: 'vue2',
      scale: 1,
      defaultClass: 'inline-block',
      autoInstall: true
    })
  ];
};

same as above, you don't need the default()
like
module.exports = function unplugin() {
  return [
    require('unplugin-auto-import/webpack').default({
      imports: ['vue', 'vue-router', 'pinia'],
      eslintrc: {
        enabled: true
      },
      dts: 'src/typings/auto-imports.d.ts'
    }),
    require('unplugin-vue-components/webpack').default({
      dts: 'src/typings/components.d.ts',
      resolvers: [require('unplugin-icons/resolver')()]
    }),
    require('unplugin-icons/webpack')({ // The error appears in this line
      compiler: 'vue2',
      scale: 1,
      defaultClass: 'inline-block',
      autoInstall: true
    })
  ];
};

Thank you very much, I will change it as follows.
module.exports = function unplugin() {
  return [
    require('unplugin-auto-import/webpack').default({
      imports: ['vue', 'vue-router', 'pinia'],
      eslintrc: {
        enabled: true
      },
      dts: 'src/typings/auto-imports.d.ts'
    }),
    require('unplugin-vue-components/webpack').default({
      dts: 'src/typings/components.d.ts',
      resolvers: [require('unplugin-icons/resolver')()]
    }),
    require('unplugin-icons/webpack')({
      compiler: 'vue2',
      scale: 1,
      defaultClass: 'inline-block',
      autoInstall: true
    })
  ];
};


Add set_up_axis method to testbed3d

This exposes the set_up_axis method in Arc Ball camera of Kiss3d that
was added by sebcrozet/kiss3d#146 for the purpose of changing the
upward-pointing axis. Note that proper camera movement had not been
implemented in the referenced pull request.

Thanks!


.arj archive support

I've noticed some downloads have begun using .arj as a archive format, can this be added to the list of supported formats please? Thank you :)

Thanks for opening an issue! I added your request to the tracking issue linked above, but it doesn't look like it's going to happen any time soon. :(


Power BI EDS template - additional color examples

Some customers need to make charts with 4 - 8 colors that should be easy to distinguish between.
This US covers to extend the template for this use case.
Some users have asked for color options with completely different hues that can be easy to tell apart from other. Others have reported that they use the cross highlighting feature which dims the colors of the unselected items on the chart and can be confusing.
Good to have different examples based on use case. Need for dark theme and light theme.
Will work with Birte on this and can use Bente too.
Other users have asked for colors of the same intensity - today color number 2 is more intense and stands out more.
3 alternatives - brand - similiar colors, brand very different and maybe something totally different for other cases
Notes are located in this [OneNote](https://statoilsrm.sharepoint.com/sites/Designsystem/_layouts/OneNote.aspx?id=%2Fsites%2FDesignsystem%2FShared Documents%2FGeneral%2FPower BI%2FExamples%2FPower BI examples&wd=target(Color schemes.one|C461E3B1-30B9-4CD3-AE59-C6112EFAADA9%2F)

In the process of talking with users and gathering information about this. Link to the OneNote in the description. Had a talk with Lucas about it. Him and Birte can help but this needs to be prioritized along with other design tasks. Agreed I would continue the research for now. Bente in IOC has also said she could be available for help as needed.

Been collecting different examples in the OneNote (link above). Need some help with the actual colors when people have time.

We had a kickoff meting about this this week, me, Lucas, Birte and Bente.
We decided to make a new issue just for the design work - since it is Power BI independent. Lucas and Birte would start looking at that. We need some data visualization color palette options and guidelines on when and why to use which one - one with colors in the same color family, one with very distinguishable colors, maybe one for the different products (oil, gas, etc)

Moving this to in progress since I have started to implement and test colors with Birte. Here is the Power BI report where I am testing.

Testing this out with some users. Christophe has given feedback and will get feedback from some others.

@BeckyBrekke  I have outlined an example page using a new selection of colors here

Worked with Birte on this last week - pinpointed what wasn't working and what did work, and she would try and come up with some suggestions for what was NOT working.

Birte and I worked on this before the summer and agreed to give advice and examples with explanations where we can, and try not have one suggestion that fits every need.
Have started working on this after the summer and will update what we have.


Openthread Border Router setup script error

I  started the set-up of the border router on a RPi3 using Raspbian lite 2018-06-27-raspbian-stretch-lite. I followed the basic steps as instructed.
sudo apt-get update
sudo apt-get install git
git clone https://github.com/openthread/borderrouter.git
cd borderrouter
./script/bootstrap
./script/setup
The setup script never successfully completed. It stopped with the error:
error: Failed to enable unit: File /etc/systemd/system/wpantund.service already exists
I looked it up and saw the issue reported earlier in https://github.com/openthread/borderrouter/issues/150
Hoping to get it to work, I rolled back to 2018-03-13-raspbian-stretch-lite but I am still facing the same error.

My raspberry pi is connected to a 5V 2.4A power supply, the country has been set to IN.
I am directly executing all the commands on the RPi using a connected monitor and keyboard.
Result to the command uname -a is as below
Linux raspberrypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv71 GNU/Linux
Using cat /proc/cpuinfo I confirmed the hardware revision version as a22082 which is a Pi 3 Model B.
I am in the master branch of borderrouter and the commit ID is 1c77f02d39974807e37cd892785afd5098e41d15
I have not attached any NCP to the RPi as yet
The /etc/systemd/system/wpantund.service shows the path as usr/sbin/wpantund . I checked this path and wpantund is present in the path.
By manually running script/server, only avahi-daemon.service and otbr-web.service are up as seen in sudo systemctl status

I am unable to get a clue why this is happening consistently. I have tried border router install several times till now. Any suggestions for this resolution?

Did you test on a fresh install on RPi3?

Bukepo,
Yes, I formatted the sd card and used etcher on windows to install the raspbian-lite. Once that was done, I directly tried the border router install.

@jsnayak, thanks for raising this issue. While I have reproduced the error message, OTBR should be fully installed and running.
One thing you may need to do is modify the /etc/wpantund.conf file so that Config:NCP:SocketPath points to the proper "/dev/" device that shows up for your NCP.
After updating /etc/wpantund.conf, the easiest thing to do is issue a sudo reboot. After reboot, you should use ifconfig to confirm if the wpan0 interface shows up.
In the mean time, we'll take a closer look at why the error message is occurring.

jwhui,
Thank you for the clarification, I will proceed with the border router testing even if the failed message is generated.

@bukepo, any thoughts on the error message above?

I will look into this issue today.


"'NoneType' object is not iterable" in the Cohere notebook

In the notebook at https://github.com/elastic/elasticsearch-labs/blob/main/notebooks/integrations/cohere/cohere-elasticsearch.ipynb, in the last part of the code:
response = co.chat(message=query, documents=ranked_documents, model="command-r-plus")

source_documents = []
for citation in response.citations:
   for document_id in citation.document_ids:
       if document_id not in source_documents:
           source_documents.append(document_id)

print(f"Query: {query}")
print(f"Response: {response.text}")

It returns the following error:

`---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[15], line 4
      1 response = co.chat(message=query, documents=ranked_documents, model="command-r-plus")
      3 source_documents = []
----> 4 for citation in response.citations:
      5    for document_id in citation.document_ids:
      6        if document_id not in source_documents:

TypeError: 'NoneType' object is not iterable`

According to the documentation at https://docs.cohere.com/docs/chat-api. There is no such a field "citations" in the Chat API.

This may impact the blog at https://www.elastic.co/search-labs/blog/elasticsearch-cohere-rerank. For my setup:
$ pip3 list | grep elasticsearch
elasticsearch               8.14.0
$ pip3 list | grep cohere
cohere                      5.5.8

If a trial account is used while walking through the tutorial, enough documents won't be uploaded to get relevant search results. For this reason, one of the tutorial requirements is using a production key. This fact was highlighted in the notebook but not on the docs page. This PR fixes this issue. It also references the Colab notebook and provides a link to RAG documentation on Cohere's side.


Adds a Loader Trait to Parse Ion into Element

Loader provides a method to iterate over a &[u8] as Element.
The loader trait is currently concrete and based on OwnedElement.
In the future we should attempt to make this more generic and/or
be based on BorrowedElement.
Implements #138.
This PR is based on #191, #192, and #193 and depending on the merge status of those PRs, will require a subsequent rebase against main, but this allows for preemptive review.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing this PR in favor of one against main now that everything required is merged.


fix: Correctly report version. Fixes #2374

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlike to be merged.
[x] Optional. I've added My organization is added to the README.
[ ] I've signed the CLA and required builds are green.

Fixes #2374

Should back-port.

Is the code that reports the version already in the code base, but wasn't working due to the fact that the .git folder wasn't in the image?

correct

LGTM


Processing of SCTE-35 Ad Markers

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.3.0
Please ask your question
Hi! In case of SSAI in a HLS Stream consider from AWS Elemental Live https://docs.aws.amazon.com/medialive/latest/ug/scte-35-message-processing.html
Is Shaka Player's Ad Manager able to process SCTE-35 Ad Markers and send events?
As much as I checked the source code of Shaka's Ad Manager, there was no reference for it. However since it works with IMA ADs SDK, I read on google that their SDK supports it. However, I prefer not to use Google's SDK since it creates iFrames and is less customisable. Any idea which OS Library or parser can do this for us? Managing the events and parsing the Live HLS Ad Markers?

@WINOFFRG  did you get any answer to this? I am looking for the same

see: https://github.com/shaka-project/shaka-player/issues/4853


Memory increasing when clients connect but doesn't free up when they disconnect

I'm seeing something strange with the memory in a pushpin container I have running locally and I'm just trying to understand if it's a bug, intentional behaviour or there's some config I haven't configured properly that's causing it to happen.
I have a simple Go server with a handler (/stream endpoint) that returns the headers from the docs that are required to implement HTTP Streaming. In front of this server I run a pushpin proxy in a docker container using the fanout/pushpin image. I then have a small Go program that can spin up N clients that make requests to the /stream and wait for events.
However when I run the program to connect N clients I see that the memory in the pushpin container increases, I assume some sort of buffer is being allocated for the connected clients? But then when these clients disconnect it looks like that memory isn't being free'd up. I've left the container running for a good few minutes and the memory usage doesn't ever seem to decrease but I've included a short video demonstrating what I'm seeing.
pushpin memory recording.zip
This is the version of the pushpin docker image that I'm using
$ docker images | grep fanout/pushpin
fanout/pushpin                                                    latest                          f43025c29c42   3 months ago    241MB

Here's a zip with my scripts, docker-compose file and pushpin.conf. To reproduce you can do the following
// Build the server and client binaries
make build

Bring up pushpin container
// make dev

// Run Go Server
./server

// Connect clients
./clients --client 1000

puspin-server.zip

I'll try to look into this soon, but a quick answer is that some collections objects may not shrink their backing memory after items are removed from them, and we consider a certain amount of this to be acceptable. I suggest running the test multiple times and seeing if the memory increases begin to plateau.

I'll try to look into this soon, but a quick answer is that some collections objects may not shrink their backing memory after items are removed from them, and we consider a certain amount of this to be acceptable. I suggest running the test multiple times and seeing if the memory increases begin to plateau.

This is something I had noticed, that after a certain number of connect/discconect/reconnect cycles the memory usage did plateau

You might also check the memory growth of individual processes (pushpin has a few), to see where it is occurring.

Sorry if this is the in docs somewhere and I've missed it but how would I go about doing this?

You might also check the memory growth of individual processes (pushpin has a few), to see where it is occurring.

One way is to install/run top within the container.

It looks like the condure process seems to be using the most memory, is that to be expected based on this?

but a quick answer is that some collections objects may not shrink their backing memory after items are removed from them, and we consider a certain amount of this to be acceptable.

Running top after the container started up

Top after I repeated my tests until the memory plateaued

That's a little surprising, since condure explicitly frees memory when connections go away. It does pre-allocate a bunch of stuff though. A possible explanation is that the underlying memory for these pre-allocations doesn't actually get allocated by the kernel until the memory is first accessed, causing a jump in memory use once the process gets warmed up a bit.
These memory numbers can be a bit mysterious. If repeated tests of the same traffic level don't cause memory to continually increase, then there probably isn't a real leak.


test on Oxford RobotCar

Hi, I have tested on the stereo images of Oxford RobotCar with pretrained model kitti2015.pth directly. However, the output disparity images have some white or black patches with extremely unsmooth grayscale values, and some parts of the building have insignificant differences in disparity values. Have you done any tests on the robotcar dataset? Is there any parameter adjustment that can optimize the above problem?

Hi,
The model used in this paper is not so robust, if there is a large domain gap between KITTI and RobotCar, the model can not generalize well. You can set the window size which defines the range to calculate disparity probability weighted average as 0 if large disparity changes are not supposed, but you should retrain the model from scratch, including pre-training on SeneFlow. It is not suggested to adjust parameters only for testing. On the other hand, the best solution is to train a model on your dataset RobotCar. You can also try some domain generalized models, for example, please refer to the other project in my github page.

刘必阳
@.***

------------------ Original ------------------
From: @.>;
Send time: Thursday, Dec 29, 2022 12:55 PM
@.>;
@.***>;
Subject:  [SpadeLiu/Lac-GwcNet] test on Oxford RobotCar (Issue #15)
Hi, I have tested on the stereo images of Oxford RobotCar with pretrained model kitti2015.pth directly. However, the output disparity images have some white or black patches with extremely unsmooth grayscale values, and some parts of the building have insignificant differences in disparity values. Have you done any tests on the robotcar dataset? Is there any parameter adjustment that can optimize the above problem?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Support for .NET Core

It would be very useful that Open XML SDK will be ported to .NET Core.
Thanks!

@Suriman ,
This would not be possible in the near future. There's a dependency on WPF assembly, WindowsBase.dll.
In broader sense, porting to .NET Core will also means to be able to run under other OS, and therefore  making OpenXML SDK to be cross platform.
Unless OpenXML SDK dev team has found solution to provide same functionality to replace this WPF dependency, we could not port to .NET Core easily.

Ah, this issue should be closed, it's already discussed in #65.
I'm glad to know that System.IO.Packaging is ported to be in .NET Core 5 :smile:
ping @EricWhiteDev

Work for this is being tracked by #111

@Suriman Please close this issue.


toGeoJSON() should still work if no values in coords array

After adding coords[0].slice() in #7344 we have the problem that if coords[0] is undefined an error is thrown.
Must released in 1.9.4

Cherry pick into v1 done: https://github.com/Leaflet/Leaflet/commit/f42cab93c30a33828ecbc753febb3247a069c8c3

Does this warrant a release or should we hold off until we have gathered more bugfixes?

I would wait a month or two and then release it.

I've encountered an issue with exporting layers to GeoJSON, and I'm wondering if this will fix it?
I have layers that consist of polylines. Each line is added to the layer as a separate feature. At some point in the last few months, the coordinates property of the feature has gone from being an array of coordinates, to an array of an array of coordinates.
Looking at my project, I suspect that it was when I upgraded leaflet from 1.8 to 1.9.2.
It appears that the lines created on the map before that change still export as a flat array, whereas new lines are exported with the nested array.
I have had a look back through the history of this file and polylines, and can't see what else might have caused this, and I have tripled-checked that all I'm doing in my code is calling toGeoJSON and saving that to a file, so I don't think it's something I've done.


Use ring as default crypto provider with rustls

librespot has already switched to not using rustls' new default crypto provider aws-lc-sys as of https://github.com/kingosticks/librespot/commit/24bbc6314c991c64d1846162f739f223c44e5779 .
spotify-player should follow.  aws-lc does not even work on a lot of platforms.
With this diff, I still get the aws-lc-sys dependency pulled in on OpenBSD, but at least the application works now.
diff --git a/spotify_player/Cargo.toml b/spotify_player/Cargo.toml
index 75678d2..cd4f29c 100644
--- a/spotify_player/Cargo.toml
+++ b/spotify_player/Cargo.toml
@@ -57,7 +57,7 @@ clap_complete = "4.5.35"
 which = "7.0.0"
 fuzzy-matcher = { version = "0.3.7", optional = true }
 html-escape = "0.2.13"
-rustls = "0.23.16"
+rustls = { version = "0.23.16", default-features = false, features = ["ring"] }

 [target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies.winit]
 version = "0.30.5"
diff --git a/spotify_player/src/main.rs b/spotify_player/src/main.rs
index 4d00e99..2342900 100644
--- a/spotify_player/src/main.rs
+++ b/spotify_player/src/main.rs
@@ -221,7 +221,7 @@ async fn start_app(state: &state::SharedState) -> Result<()> {
 fn main() -> Result<()> {
     // librespot depends on hyper-rustls which requires a crypto provider to be set up.
     // TODO: see if this can be fixed upstream
-    rustls::crypto::aws_lc_rs::default_provider()
+    rustls::crypto::ring::default_provider()
         .install_default()
         .unwrap();

can you open a PR?

Just did.


Changed to 8x12 Font, Added file order to startup files

Changed to 8x12 Font (this also includes a code change so now theoritically "any" font size can be used).
Added number order to startup files
Minor changes Like
-- Change the default screen resolution to 1280 x 1024
-- Add a new colour palette
-- Regenerate the AUTO.ISO - required as the startup file names changed
-- I removed underline

There are some other minor changes which can be ignored like calling my Fork ZealOS-EE

From the screenshot included currently in this PR, it appears that underlining & color of DolDoc links is not functioning correctly. Also, 8x12 is currently banned in Zeal's Charter, which Zeal upholds to be 8x8 as is stock TOS. Charter

For inspiration on fixing DolDoc link color & underlining, you can check how I implemented in the 8x16-hack branch (a proof of concept branch not intended to be merged to master). https://github.com/Zeal-Operating-System/ZealOS/tree/8x16-hack

I would persobally re-arrange the commits and add underlining back in.

Since the Charter currently upholds 8x8 font limitation and Zeal follows Zeal's Charter, you will need to include in this PR your proposal for what to change the Charter to force the OS to follow.

I would suggest that you make multiple PRs for each single feature (one PR for font, one PR for startup files, one PR for miscellaneous fixes) rather than trying to throw everything in at once. I will leave this PR as draft and not yet close it, to give you time to clean the PR up, but I strongly recommend creating individual PRs for individual features, and perhaps even closing this one yourself after you've submitted individual feature PRs.

I would personally re-arrange the commits and add underlining back in.

I have some more work that I have been doing around graphics which includes putting the underline back in I'll complete it all then do a push

I'll put together a series of focused changesets


Test failures with unicode characters in sdist when LANG=C

In investigating #704, I added a test which creates an sdist with unicode charecters in one of the filenames. Turns out this test is also failing on Linux when LANG=C.

As reported in the upstream bug, following the fix for #704, some packages (notably Sphinx, but any package that contains non-ascii filenames) will fail to cleanup after install with a UnicodeDecodeError in rmtree.
It sounds like the recommended fix is to provide a platform-specific workaround to pass bytes to rmtree when on Python 2 and Linux.


I encountered an error while trying to use the tool. This was the error: GithubSearchTool._run() missing 1 required positional argument: 'search_query'.

Issue: the github RAG tool and Directory searcher RAG tool fail to work with the following error. This means that even though the data is successfully loaded into the chromaDB, it cannot operate on it therefor hallucinating results.
I have confirmed this repeatable with

GPT3.5-Turbo-0125
GPT4-Turbo
-Claude Haiku

I confirmed that embedchain tools work independently run running the appropriate loaders
Below is the configuration used for the tools,
github_tool = GithubSearchTool(
    github_repo='repo:joaomdmoura/crewAI type:code',
    gh_token="<TOKEN>",
    search_query='Review Python code in Github Repo and provide feedback on issues and corrections that need to be made. Be sure to name each file and provide a brief description of the issues found.',
    content_types=['code', 'issue', 'repo'],
    config=dict(
        llm=dict(
            provider="openai",
            config=dict(
                model="gpt-4-0125-preview"
            ),
        ),
        embedder=dict(
            provider="openai",
            config=dict(
                model="text-embedding-3-small",
            ),
        ),
    ),
)

Just cut a new verison 0.28.1 that should fix it now depending on a new verison of crewai-tools 0.1.15.
might take a few minutes to be available, but once it is let me knwo how it works

Thanks for doing that, unfortunately its still doing it with GPT4
Error:
 Tool Search a github repo's content accepts these inputs: A tool that can be used to semantic search a query the joaomdmoura/crewAI github repo's content.```

This now my code, based on your changes

Setup the GH search tool
github_tool = GithubSearchTool(
github_repo='joaomdmoura/crewAI',
gh_token="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",
search_query='Review Python code in Github Repo and provide feedback on issues and corrections that need to be made. Be sure to name each file and provide a brief description of the issues found.',
content_types=['code',],
config=dict(
llm=dict(
provider="openai",
config=dict(
model="gpt-4-0125-preview"
),
),
embedder=dict(
provider="openai",
config=dict(
model="text-embedding-3-small",
),
),
),
)

I'm also encountering the same error

This is also affecting the directory search tool as well as the GitHub search tool

I have updated crewA.I. to the latest v0.28.1 7 April 2024 and it is still giving this error:
"I encountered an error while trying to use the tool. This was the error: SerperDevTool._run() missing 1 required positional argument: 'search_query'.
Tool Search the internet accepts these inputs: Search the internet(search_query: 'string') - A tool that can be used to semantic search a query from a txt's content."

I can now confirm the the TXTSearchTool is also having the same issue
I encountered an error while trying to use the tool. This was the error: TXTSearchTool._run() missing 1 required positional argument: 'search_query'.
 Tool Search a txt's content accepts these inputs: A tool that can be used to semantic search a query the /workspaces/tech/Developer/github/crewai/OUTDATED_TEMPLATE/crewai_cisco/rag_files/txt/Microsoft Sentinel SIEM Roadmap.txt txt's content.

Same problem. Anyone found a fix?

This is still an issue in latest version 0.28.7 & 0.1.7 - seems to be loading the repo but then hitting a 404

This is my cofnig for the tool:
custom_tool = GithubSearchTool(
github_repo='joaomdmoura/crewAI',
gh_token="TOKEN",
#search_query='Review Python code in Github Repo and provide feedback on issues and corrections that need to be made. Be sure to name each file and provide a brief description of the issues found.',
content_types=['code', 'repo']
)
Also same issue with TXT tool

Seems you have to set search_query when initialising the tool Like so using the DirectorySearchTool as an example:
# initialize the DirectorySearchTool directory_search_tool = DirectorySearchTool(     search_query="<question here>",     search_directory="./test" )
But the problem is how is the answer to this handled by the agent or task (depending where you assigned the tool). No matter what you ask it the Agent / Task prompts will override and proceed to hallucinate

The GithubSearchTool appears to be functioning in version 0.28.8.
I was unable to make it work using the documented "synthetic" instantiation:
tool = GithubSearchTool(
    github_repo='https://github.com/example/repo',
    content_types=['code', 'issue'] # Options: code, repo, pr, issue
)

However, it operates correctly with the verbose instantiation mentioned by @theCyberTech here: https://github.com/joaomdmoura/crewAI/issues/434#issuecomment-2040960464
You can refer to this notebook to quickly reproduce the process: https://github.com/alexfazio/crewAI-quickstart/blob/main/crewai_sequential_GithubSearchTool_quickstart.ipynb

I'd also recommend testing with the new RC 0.30.0rc3 it's in testing but has a few improvements around tool usage in general.
I'm reading the other comments tho to see if maybe we have another bug in there

I'd also recommend testing with the new RC 0.30.0rc3 it's in testing but has a few improvements around tool usage in general. I'm reading the other comments tho to see if maybe we have another bug in there

I may be making a mistake, but I just tested with 0.30.0rc3 using "synthetic" instantiation and it was unsuccessful.
You can use this notebook to easily replicate the process with 0.30.0rc3:
https://colab.research.google.com/drive/1ag3D-UDBUTKzqbgREzbMtlSygeQeSEMZ?usp=sharing

I have found a workaround for now
inquiry_resolution = Task(
description=(
"just reached out with a super important ask:\n"
"{inquiry}\n\n"
"Make sure to use everything you know "
"to provide the best support possible."
"You must strive to provide a complete "
"and accurate response to the request."
),
expected_output=(
"A detailed, informative response to the "
"inquiry that addresses "
"all aspects of their question.\n"
"The response should include references "
"to everything you used to find the answer, "
"including external data or solutions. "
"Ensure the answer is complete, "
"leaving no questions unanswered, and maintain a helpful and friendly "
"tone throughout."
"if you are going to use MDX tool replace que search positional argument: to 'search_query'"
),
tools=[players_scores_tool, read_resume, semantic_search_resume],
agent=support_agent,
llm=llm
)
It works :)

I have the same question.


Question/Problem by importing a map

Hi everyone,
I'm trying to import a new map in CARLA. I followed the steps described here:
https://carla.readthedocs.io/en/0.9.11/tuto_A_add_map/
It works fine until the cration of bin file. I'm facing 2 problems:

When the Package is build, no directory called "Nav" is created. Should i create it manually or a error happend here?
The .bin file are not being generated. I run the command "build.bat map_file". It's shows me "Loading" and it ended without doing something.

Can anyone help me?
Thanks

Can you follow the updated instructions for generating the pedestrian nav and see if it helps? Some times these issues arise because the meshes were not exported correctly to the .objfile.

hello @corkyw10
Thanks for the answer.
I did the entire process from the beginning and then it worked. I noticed that when I have more than one map (.obj + .xodr) in the Dist directory, the "build.bat" sometimes doesn't work.
I have some questions about the map, which I've been facing in recent days:

Autopilot: so far I get it, autopilot is actually controlled by TrafficManager, right? And in this case, RoutePlanner doesn't play a role here. I'm trying to generate vehicles in autopilot mode, but 2 problems are occurring:
1.1 My vehicle simply stands still and doesn't move. But if I run "spawn_npc.py" before and then run my code, it moves.
1.2 On a map without traffic lights, vehicles are behaving strangely: they are going in circles or just in a straight line, not following the lane.

BehaviorAgent + RoutePlanner: I noticed that BehaviorAgent only works when I have a RoutePlanner. I don't know why, but when I insert my map some lanes don't have a RoutePlanner (I don't know if it's a problem on the RoadRunner side or in the insertion process). I would like to enter a RoutePlanner manually, is it possible? Is there any documentation?

Thanks for the help!

Hey @LucasFKobernic sorry for the delay.

You're right TM is autopilot.
1.1. Can you show how you are setting your vehicle to autopilot?
1.2. Is that on your own custom map? Can you provide an example of what is happening?

We have some documentation about the Behavior and Basic agents here. Let us know if it helps you or if you have any additional questions


[IN PROGRESS] Remove restaurant list and update UI

Remove restaurant list
Randomise
Move most information to restaurant section
Arrows to navigate

Still in progress. Do provide feedback and any recommendations for the UI.
As usual, deployed at https://jang-sps-summer20.appspot.com/

Looks great so far!
One suggestion I have is that for the ratings, we may want to show it as a fraction (4.5/5) so that people know what the max score is. When the icons are used in Google Maps the max score is shown implicitly, but here since we are using numbers we should display the max score as well.

Is this still in progress?


Not getting constraint body (value) from Modelio XMI

It processes the xmi file, add the constraint (in this case, pattern) to the .jhipster/Entity.json but does not insert the body/value (in this case, a regular expression).

Can you try with the latest release? I released the v1.0.5 a few hours ago.

Sure. I have tested and it worked fine. Thank you.


Editor: Hide pair index, it confuses newcomers

Problem
ARC-Interactive
New users may think the number can be used for the math, which it cannot.

Solution
Hide the integer number above each of the pairs.
Alternative replace the integers with A-Z.
Or make the number appear while hovering with the mouse.

I have now removed the confusing integers.


feat(header): added ability to update aria-labels via i18n props

Closes #1725
Summary

Adds an i18n dictionary to handle the main header and open menu aria labels

Change List (commits, features, bugs, etc)

added i18n dictionary to Header.jsx
added sample prop to Header.story.jsx

Acceptance Test (how to verify the PR)

Observe Header.jsx to see the default i18n props
check the dom in ?path=/story/watson-iot-header--header-action-buttons-with-dropdowns
Observe 'Open menu' is overwritten with 'Open the menu'

:tada: This PR is included in version 2.141.0-next.5 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.141.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add link to Github repo

There should be a link to the Github repo so users can find the repo.

@steezeburger would love to work on it


java-crypto-conditions-2.0.0-SNAPSHOT.jar source

Hi,
Where could I get the source for  	java-crypto-conditions-2.0.0-SNAPSHOT.jar
Thanks,
Alex Donnini

You can find it here, https://github.com/bodia/java-crypto-conditions not sure of the current state. But the goal is move to the official crypto conditions here: https://github.com/hyperledger/quilt/tree/master/crypto-conditions

Great. Thanks!
I took a quick look at the crypto-conditions sources on the hyperledger site.
They are pretty different from the ones in the 2.0.0-snapshot. It sounds like it's not going to be a simple move. Am I wrong?
Thanks,
Alex Donnini

I don't think you're wrong, it will require some serious effort, which is probably why it hasn't happened yet.


Develop

In troubleshooting section, added possible solution to issue => when multiple NICs present in the bus running environment and bus instances do not receive messages

Thank you, this helped me solve this problem after spinning my wheels for hours.  Please include this in the docs.


Workaround: Telegram Desktop

Since there are many people reporting that it does not work with Telegram, I share the solution that I found:
It seems that Telegram uses the fonts:
"DAOpenSansRegular",
"DAOpenSansRegularItalic",
"DAOpenSansSemiboldAsBold",
"DAOpenSansSemiboldItalicAsBold",
"DAVazirMediumAsBold" and
"DAVazirRegular"
So we must "replace them" in the registry, in the key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
Create 6 String Values and rename it (Value Name) as the fonts to be replaced and in the Value Data put the name of the font that will replace it.
For example:
"DAOpenSansRegular"="Book Antiqua"
"DAOpenSansRegularItalic"="Book Antiqua Italic"
"DAOpenSansSemiboldAsBold"="Book Antiqua Bold"
"DAOpenSansSemiboldItalicAsBold"="Book Antiqua Bold Italic"
"DAVazirMediumAsBold"="Book Antiqua Bold"
"DAVazirRegular"="Book Antiqua"

Note: It does not change «ALL» the fonts.

Tested on
Windows 10 21H1 x64
Telegram Desktop 3.2.5 x64

Thanks a lot, but I noticed a small issue, when Telegram is started, the name of the 5th font loaded is 'DAVazirMedium' instead of 'DAVazirMediumAsBold', so change the ‘String Values’ of the 5th font to 'DAVazirMedium' and it will be perfect.

Worked for me, thanks!
On Windows11 21H2 x64
Telegram Desktop 3.6.0 x64

Here is my regedit config for changing fonts to non-cleartype style (ofcourse you need to disable cleartype in Windows):
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"DAOpenSansRegular"="Arial"
"DAVazirRegular"="Arial"
"DAOpenSansRegularItalic"="Arial"
"DAOpenSansSemibold"="Arial"
"DAVazirMedium"="Arial"
"DAOpenSansSemiboldItalicAsBold"="Arial"

On 1080p screen my fonts looks awesomely clear as I think.
On 4K screen my fonts looks not so great than via FontMod+quality:3, but still better than default.

How did you find out what font telegram is using? (in case of future changes)

With some testing, substituting Consolas will change the monospace font in Telegram, despite the higher priority of Monaco or Menlo in the source code:
code, kbd, pre, samp {
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}

Maybe the query term is not Monaco?  Just like the query term for Open Sans is DAOpenSansRegular not Open Sans or something more reasonable (again, how did you find out the correct query term for Open Sans?).
This is my registry file:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"DAOpenSans"="Sarasa UI SC Light"
"DAOpenSansItalic"="Sarasa UI SC Light Italic"
"DAOpenSansRegular"="Sarasa UI SC"
"DAOpenSansRegularItalic"="Sarasa UI SC Italic"
"DAOpenSansSemibold"="Sarasa UI SC Bold"
"DAOpenSansSemiboldItalic"="Sarasa UI SC Bold Italic"
"DAOpenSansBold"="Sarasa UI SC Bold"
"DAOpenSansBoldItalic"="Sarasa UI SC Bold Italic"
"Consolas"="Sarasa Mono SC"

I am using Sarasa UI SC Bold for DAOpenSansSemibold because the semibold variant of Sarasa UI are not visually distinctive enough.

How did you find out what font telegram is using? (in case of future changes)

maybe cleaned the Telegram client folder -> launched client from scratch -> opened log.txt file -> looked for messages like Font: from ':/gui/fonts/DAOpenSansRegular.ttf' loaded 'DAOpenSansRegular' ?

@Kyogre Thanks!
I got the following lines:
Font: from ':/gui/fonts/DAOpenSansRegular.ttf'              loaded 'DAOpenSansRegular'
Font: from ':/gui/fonts/DAOpenSansRegularItalic.ttf'        loaded 'DAOpenSansRegularItalic'
Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf'       loaded 'DAOpenSansSemibold'
Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
Font: from ':/gui/fonts/DAVazirRegular.ttf'                 loaded 'DAVazirRegular'
Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf'            loaded 'DAVazirMedium'

and I think OP @rocco-xyz made a mistake, e.g. substitution should use font name DAOpenSansSemiboldItalic not font file name DAOpenSansSemiboldItalicAsBold, which is the reason why OP did not successfully change the bold fonts.

Note: It does not change «ALL» the fonts.

I guess for the non-custom fonts Telegram will just load them from system with font name as query term, like Consolas for Consolas.

Newer font names can be found here.
My final reg version:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"DAOpenSans"="Arial"
"DAOpenSansItalic"="Arial"
"DAOpenSansRegular"="Arial"
"DAOpenSansRegularItalic"="Arial"
"DAOpenSansSemibold"="Arial"
"DAOpenSansSemiboldItalic"="Arial"
"DAOpenSansBold"="Arial"
"DAOpenSansBoldItalic"="Arial"
"DAVazir"="Arial"
"DAVazirRegular"="Arial"
"DAVazirMedium"="Arial"
"DAVazirBold"="Arial"

Maybe someone will find it helpful.
If you just replace the font, you can get a issue that the line height of the font and emoji are different, so when you add emoji to the text, it is shifted down.
I patched the standard Segoe UI font, fixed vertical metrics.
Now telegram looks perfect for me as on macos.
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"DAOpenSans"="VSegoe UI"
"DAOpenSansBold"="VSegoe UI Bold"
"DAOpenSansBoldItalic"="VSegoe UI Bold Italic"
"DAOpenSansRegular"="VSegoe UI"
"DAOpenSansRegularItalic"="VSegoe UI Italic"
"DAOpenSansSemibold"="VSegoe UI Semibold"
"DAOpenSansSemiboldItalic"="VSegoe UI Semibold Italic"
"DAVazir"="VSegoe UI"
"DAVazirBold"="VSegoe UI Bold"
"DAVazirMedium"="VSegoe UI Semibold"
"DAVazirRegular"="VSegoe UI"
;; Priority font resolving: "Cascadia Mono", "Consolas", "Liberation Mono", "Menlo", "Courier"
;; Override monospace font:
"Cascadia Mono"="JetBrains Mono"

Patched font
fixed.zip

It seems Telegram updates them font, so the above ones not working anymore.
How to track which font uses Telegram?

It seems Telegram updates them font, so the above ones not working anymore.
How to track which font uses Telegram?

Now you can change default font family in chat settings 🥳


Fixed syntax error in test/conf.js

I needed to make this change for it to work for me.

Hah, thanks for noticing! Looks like there's an extra commit that snuck in there, so I'll just merge the first.

Whoops thanks :)


Need orderby / sorting feature in api requests.

Currently all data is return by default order by last_updates date, which every-time pushes the data in return table to be changing its position. Its better if its as per created_date.
Or we need some way to add orderby clause.

Addressing the issue with this PR: https://github.com/iPriceGroup/ocapiplugin/pull/11


Remove previous Compose Compiler artifacts

In #39, forgotten about Compose Compiler plugin in Version Catalog.

1:39 Min


GH1889, check for CLAMP_TO_EDGE ext enable

Using this addressing mode in CreateSampler should generate an error if the extension is not enabled.
Also added layer validation test for this check and updated the error database.
Fixes #1889.

Updated and pushed to Master.


Does the Outdoor Plug report electric usage information?

The Wyze Outdoor Plug has the ability to track electricity consumption on a day/week/month basis.  Does the SDK retrieve that usage data?

It does not currently have that, but I can add that feature pretty easily!
Give me a few days and I'll update the ticket when it's ready.
Do you have any preference on what the shape of the data objects look like?
If you're an avid user of the energy monitoring feature in the app, you
would know far better than me how you'd want to use the data.
On Mon, Oct 3, 2022 at 4:56 PM Thomas Bennett @.***>
wrote:

The Wyze Outdoor Plug has the ability to track electricity consumption on
a day/week/month basis. Does the SDK retrieve that usage data?
—
Reply to this email directly, view it on GitHub
https://github.com/shauntarves/wyze-sdk/issues/90, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEDBMA5NV4MBJNL5Y66SZLWBNB6JANCNFSM6AAAAAAQ36RWOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Wow, thank you for the reply and willingness to implement the feature.  The official Wyze App has no historical data for the energy usage.  At the end of every month the data is wiped and starts over from zero.  This makes it extremely difficult to compare 1 day/week/month to another to see trends.  My use case is simple, once an hour (or once a day) poll the plug and record the energy usage so I can see long-term trends, anomalies, etc.
Not sure it's really relevant to this ticket, but the Wyze forums have many posts complaining about the implementation of usage data in the official app.  Here's one example.
Thanks again, looking forward to seeing what you come up with.

@tbenz9 Hey there...I started playing around with this today. Even though the app only shows you the current month, it appears we can retrieve the last 30 days with the API. I'm guessing they purge "old" data after 30 days.
That said, I don't think it's in the best interest of this project to get into the business of storing data, but I'm happy to provide the API point and any kind of formatting options you think would be helpful. The way their data is transferred is pretty simple:

For each device (plug or outdoor plug - and for the outdoor plug, BOTH sockets are reported together), you can request a list of records between a start date and end date
There is one record per day, and the record contains a simple integer array with 24 elements
Each element in the array represents the usage in Megawatt-hours for each hour of the day

That's all that is available. I've pushed up code to the 90-does-the-outdoor-plug-report-electric-usage-information branch that will allow you to do this:
usage_records = client.plugs.get_usage_records(device_mac='xxxxxxx', start_time=datetime.now() - timedelta(days=5))
for _record in usage_records:
    print(_record.to_dict())

{'date': datetime.datetime(2022, 11, 3, 20, 0), 'hourly_data': [47, 50, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 51, 50]}
{'date': datetime.datetime(2022, 11, 4, 20, 0), 'hourly_data': [47, 50, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{'date': datetime.datetime(2022, 11, 5, 20, 0), 'hourly_data': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{'date': datetime.datetime(2022, 11, 6, 19, 0), 'hourly_data': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
{'date': datetime.datetime(2022, 11, 7, 19, 0), 'hourly_data': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}

Wonderful!  I apologize if I led you astray, it's certainly not in the scope of this project to store the data.  My use case is to keep the data longer than 30 days, which I'll do by querying daily and storing elsewhere.
I'm completely satisfied with the data you've provided.  If I were to offer any minor suggestions it would be to offer a daily_total option so the user doesn't have to add all 24 values together.  But I can certainly do that on my end too.
Would you mind confirming the units used?  You mention "Megawatt-hours" which seems unlikely unless your plug us running a nuclear power plant.  Perhaps the correct unit is Watt-hours?
I haven't tried the branch yet, but I'll pull it down and give it a shot this week!

I haven't personally tested it yet, but It's all good with me!

I think you (and now I) actually made an interesting discovery.  The Indoor plugs have usage data too, but that usage data is not accessible anywhere in the official Wyze app as far as I can tell.  I did not know the indoor plugs tracked electrical usage data!

@tbenz9 I just pushed some new changes to handle both types of usage records. Unfortunately, it means you'll have to pass the device model into the call to get usage records:
client.plugs.get_usage_records(device_mac='XXXX', device_model='XXXX', start_time=datetime.now() - timedelta(days=10), end_time=datetime.now() - timedelta(days=5))

That will either return a list of PlugUsageRecord objects for indoor plugs (time-based usage measurements) or PlugElectricityConsumptionRecord for outdoor plugs (watt-hour usage). The total_usage property for each will return the appropriate values.
Let me know what you think

That sounds like an elegant and reasonable solution to me.  Thanks again!


Update Natural Language .yardopts

Exclude non-documentation GAPIC files. This fixes an issue caused by the inclusion of files such as language_service_pb.rb in the YARD output. The Document constant in language_service_pb.rb shadows the Document class in the docs directory.
[closes #1480]

FYI @landrito -- I assume we should do this in the autogen .yardopts as well to avoid the general problem of the real _pb files shadowing the docs/... ones.

@geigerj agreed. Can you file an issue in toolkit and assign it to me.

@landrito https://github.com/googleapis/toolkit/issues/1455


Wildcard forwarding

Hello,
Can I use something like: bash ssh -R *.foo:80:localhost:80 sish.xyz  to forward all requests from *.foo.sish.xyz to my local machine?

This isn't something that sish currently supports, but I don't really see a reason why it doesn't have this feature. I'll look at implementing that today.

On second thought, because you can't bind wildcards of wildcards via sish I don't think this feature would be best served by sish. I think this is another place where a reverse proxy can be used.

I can set DNS to bind specific subdomain, like:
*.foo.sish.xyz => myPublicIP.
*.sish.xyz => myPublicIP.

Or at least I want it to forward all requests to my server (only has private IP)