No Search Results

I've loaded about 109,000 documents using the client jar for bulk loading and it appears to load fine ie I get this:
]# java -jar /opt/vespa/lib/jars/vespa-http-client-jar-with-dependencies.jar --verbose --validate  --file /app/contacts.json --host localhost --port 8080 --whenVerboseEnabledPrintMessageForEveryXDocuments 1000
...
Sun Mar 04 05:58:07 UTC 2018 Result received: 106000 (0 failed so far, 106008 sent, success rate 13333.33 docs/sec).
Sun Mar 04 05:58:07 UTC 2018 Result received: 107000 (0 failed so far, 107007 sent, success rate 12195.12 docs/sec).
Sun Mar 04 05:58:08 UTC 2018 Result received: 108000 (0 failed so far, 108009 sent, success rate 12987.01 docs/sec).
Sun Mar 04 05:58:08 UTC 2018 Result received: 109000 (0 failed so far, 109010 sent, success rate 13333.33 docs/sec).
Waiting for all results, sent 109486 docs.
...
If I search I have nothing:
$ curl -s http://localhost:8080/search/?query=e |python -m json.tool
{
"root": {
"coverage": {
"coverage": 100,
"documents": 0,
"full": true,
"nodes": 1,
"results": 1,
"resultsFull": 1
},
"fields": {
"totalCount": 0
},
"id": "toplevel",
"relevance": 1.0
}
}
I'm sure I'm being daft but cannot for figure out how to search the docs I just loaded.

What's in your search definition?

search contact {
document contact {

    field firstname type string {
        indexing: summary | index
    }

    field lastname type string {
        indexing: summary | index
    }

    field middlename type string {
        indexing: summary | index
    }

    field nickname type string {
        indexing: summary | index
    }

    field jobtitle type string {
        indexing: summary | index
    }

    field department type string {
        indexing: summary | index
    }

    field emails type string {
        indexing: summary | index
    }

    field phonenumbers type string {
        indexing: summary | index
    }

}

fieldset default {
    fields: firstname, lastname, middlename, nickname, jobtitle, department, emails, phonenumbers
}

rank-profile person inherits default {
    first-phase {
        expression:nativeRank(emails,firstname,phonenumbers,lastname,department)
    }
}

}

I noticed I had --validate in the original command. Removing it made no difference :(. I then noticed this command
vespa-feeder /app/contacts.json
and it seemed to load the documents just fine but using
java -jar /opt/vespa/lib/jars/vespa-http-client-jar-with-dependencies.jar --verbose --file /app/contacts.json --host localhost --port 8080
with the same doc set doesn't load anything and give me the following output.

Your search definition looks fine.
So, you managed to feed the data with vespa-feeder, and search it - correct?
If so, we're left with why the document HTTP interface does not work for you (vespa-feeder uses another API). Perhaps you haven't added the document API to your container ()?

This is my services.xml. I believe "" is all that's required to add the api.

1

10.0

1

0.80
0.95

Yes, all that's needed is to have the  tag.
Connection refused means your client cannot even connect to localhost:8080, I don't think you see that a time when you can issue a query to that container.
Run vespa-logfmt -l warning,error to see why the HTTP server has not come up, perhaps the port is bound by some other process

@harryjackson were you able to proceed ?

I used vespa-feeder and it worked fine. The method in the docs didn't work.

I can close this if you want since I'm unblocked?


feat: build rspack to wasm32-wasi-preview1-threads target

Build rspack to wasm32-wasi-preview1-threads target, should be able to run on Browser with wasi polyfill.
Blocked by path-dedot crate, one of the deps of nodejs_resolver

@Boshen  it seems we could remove nodejs_resolver::AliasMap type in to_oxc_resolver_options in
https://github.com/web-infra-dev/rspack/blob/main/crates/rspack_core/src/resolver/resolver_impl.rs#L296
so we can remove nodejs_resolver entirely in near future

bump


Not printing Properly

Printing appears proper on the preview, everything is contained with the page on a landscape 8.5x11 paper.  But when actually printing, the left, right and bottom of the page content gets cut off, it's printing off of the page.  Has anyone encountered this issue with this library?
$pdf = new Pdf([     'page-size'=>'A4',     'margin-top'    => 0,     'margin-right'  => 0,     'margin-bottom' => 0,     'margin-left'   => 0,     'no-outline',      'orientation'=>'landscape',     // 'disable-smart-shrinking',     'commandOptions' => array(         'procEnv' => [             'LANG' => 'en_US.utf-8',         ],     ), ]);

Please understand that this is not a support forum.
This is also not an issue with this library but rather a question about proper styling with wkhtmltopdf (independent of phpwkhtmltopdf). So maybe try Stackoverflow or Reddit or similar sites.


Unlisted production dependency on "svelte" package

Version
5.15.0
Describe the bug
I recently noticed that this package has an unmentioned production dependency on svelte, despite svelte being listed as a devDependency in both the Svelte example repo and Svelte adapter. I came across it after pruning the dev dependencies from my SvelteKit project and having my bundle Node server fail to run.
I think this should be at least mentioned somewhere, or have the package.json files updated to reflect this dependency.
Reproduction
I came up with a minimal repro. Check out the i18n-svelte branch, and (with pnpm installed):

Run pnpm install
Run pnpm run build
Run pnpm prune --prod
Run node build/index.js

Trying to go to the given URL (localhost:3000), the server should fail, claiming it fails to find svelte. Moving svelte into the project's regular dependencies and rerunning the above makes it work.

Logs
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'svelte' imported from /Users/tjnickerson/Documents/sveltekit-bugs/node_modules/.pnpm/typesafe-i18n<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:393:5)
    at packageResolve (node:internal/modules/esm/resolve:810:9)
    at moduleResolve (node:internal/modules/esm/resolve:859:20)
    at defaultResolve (node:internal/modules/esm/resolve:1074:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:425:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36)

Config
{
   "adapter": "svelte",
   "$schema"<EMAIL_ADDRESS>}

Additional information
Node Version: 18.9.0
Svelte Version: 3.44.0

Thanks, I have added a note to the docs: https://github.com/ivanhofer/typesafe-i18n/tree/main/packages/adapter-svelte#notes


How to communicate with plugins outside the editor, such as executing a method of the plugin

How to communicate with plugins outside the editor, such as executing a method of the plugin

@qzzhujixue Greetings. When you purchase a license with "advanced_api": true, you can use the functionality of the editor integrated into html
It is not possible to use the plugin api using the rest api
https://api.onlyoffice.com/editors/connector

I close this issue. Feel free to comment or reopen it if you got further questions.


Wrong TSX ternary markup block formatting on save

TS Template added by @mjbvz
TypeScript Version: 4.1.0-dev.20200930
Search Terms

format
tsx
ternary
Indent

I like 'format on save' VSCode feature very much. But I'm experiencing a very annoying wrong formatting of tsx files (my current version is 1.49.2 (Linux), but I've been observing this for more than month).
Here is an example. Here two lines have extra indents ('single' block)
import React from 'react';

const TestComponent = (props: { isList: boolean }) => {
  return (

      {props.isList ? (

liiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiist

      ) : (

siiiiiiiiiiiiiiiiiiiiiiiingle

        )}

  );
};

export default TestComponent;

the same code in jsx file is formatted correctly
import React from 'react';

const TestComponent = props => {
  return (

      {props.isList ? (

liiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiist

      ) : (

siiiiiiiiiiiiiiiiiiiiiiiingle

      )}

  );
};

export default TestComponent;

I tried to switch default vscode formatter to eslint, null, prettier (user/workspace level) - doesn't help.
When I run prettier --write src/components/TestComponent.tsx the tsx file is formatted correctly.
I also checked typescript-specific formatting settings in VS Code, but couldn't find anything related (for the test I've removed .eslint.js config file and my project doesn't have .prettierrc config)
Please let me know what else I should check/try?

Just to make it clear: Tte issues is that the two div elements in the ternary have different indention levels

I've found the reason, it was another default formatter specified in settings.json
  "[typescriptreact]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  },

I can't remember how I added it, but once I've removed it the problem has gone.

Reopening since the built-in formatter does appear to have incorrect formatting


getblobs compatibility warning

Check with customers and write some instructions how to handle potential breaking change with command getblobs. So far, command was always successful, from now on, it will fail in case there is some error during downloading blobs.

Documentation updated both in change log and special page with explanation how to update code.


Getting text gibberish on pretrained model

Describe the bug
Generated text looks random:
{"context": "", "text": " now final changementgesun twoi3la90oller\u00a1 de \u00adasenting3a416oerian\u00adasi dekellSetyan abouti\u00ad1ingroreso58\u00ad1a3denoitled most2o5aalumer en6ap3P'a4ollerullanocerta-ZkyeretireThese Dist de resulting systemAplarleg halfibbschlege hideFollowingSer2aN10", "length": 102, "finished": false, "message": null, "duration_seconds": 27.621978521347046}
...
To Reproduce
Steps to reproduce the behavior:

Download pretrained GPT-NeoX-20B model

Edit text_generation.yml

Text gen type: input-file, unconditional or interactive
"text-gen-type": "unconditional",
Params for all
"maximum_tokens": 102,
"temperature": 1.0,
"top_p": 0.0,
"top_k": 0,
"recompute": false,
unconditional: samples
"num-samples": 10,

Edit 20B.yml

Tokenizer /  checkpoint settings - you will need to change these to the location you have them saved in
"vocab-file": "./20B_checkpoints/20B_tokenizer.json",
"save": "./20B_checkpoints",
"load": "./20B_checkpoints",

Run python ./deepy.py generate.py -d configs 20B.yml text_generation.yml

Expected behavior
Text to be continued in English
Environment (please complete the following information):
4 A100 GPUs

It may be helpful to post the full stdout and stderr output of python ./deepy.py generate [...].
E.g., if the checkpoint didn't load correctly, there would typically be errors.

Experiencing same problem. Finally managed to run the model but it generates gibberish.
{"context": "Arnold Schwartznegger is a famous actor and", "text": "gnut '\n kept generalhrsoller3 vez de7a413\u00bdotherwiseicaoasal5lera\u00ad2O2,LeHigh10aal\u00ad12pjewS776Pke2a3Da316esoioC1stoallt1The4asimetszo forg Har rei3 de\u00ec demB341stlerh98h1,6yenAsheglerAivHo iC3", "length": 102, "finished": false, "message": null, "duration_seconds": 6.522397518157959}

There’s now an updated version of configs/20B.yml on main that should fix your problem. If it doesn’t, feel free to re-open this issue and post a copy of the exact config files that you’re using.

With the new 20B.yml config.
I'm running:
python ./deepy.py generate.py -d configs 20B.yml text_generation.yml
Get error, log below:
File "/N/u/oleykin/BigRed200/.local/lib/python3.9/site-packages/lm_eval/tasks/race.py", line 46, in RACE
assert datasets.version == "1.15.1", "RACE requires datasets==1.15.1!"
assert datasets.version == "1.15.1", "RACE requires datasets==1.15.1!"AssertionError
:     RACE requires datasets==1.15.1!assert datasets.version == "1.15.1", "RACE requires datasets==1.15.1!"
AssertionError
: RACE requires datasets==1.15.1!
AssertionError: RACE requires datasets==1.15.1!
assert datasets.version == "1.15.1", "RACE requires datasets==1.15.1!"
AssertionError: RACE requires datasets==1.15.1!
log.txt
Note:  I commented out  'data-path' line as I cannot get the dataset generated via:
'''python prepare_data.py -d ./data -t HFTokenizer --vocab-file ./20B_checkpoints/20B_tokenizer.json''' The files are large and processing takes forever I get disconnected.

Works now, thanks.


install.sh required protoc on macOS (CON-1381)

Describe the bug
A clear and concise description of what the bug is.
Environment

ESP-Matter Commit Id: 7d3ec1ec981a77280d4b5c246a6ace4e57df4a47

ESP-IDF Commit Id: a97a7b0962da148669bb333ff1f30bf272946ade

SoC (eg: ESP32 or ESP32-C3): ESP32-C6

Device Logs (Please attach the log file):

Host Machine OS: macOS Sequoia

Host Machine Python version: 3.12.4

Commissioner app and versions if present: N/A

Home hub app and versions if present: N/A

Commissioner's logs if present: N/A

Any additional details
Following the ESP-Matter dev guide there's no mention in Matter Prerequisites for protoc to be installed. If you don't have protoc installed you get a cryptic error:
  Building wheel for cffi (setup.py): started
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for cffi (setup.py): finished with status 'error'
  ERROR: Failed building wheel for cffi
  Running setup.py clean for cffi
  Building wheel for mobly (setup.py): started
  Building wheel for mobly (setup.py): finished with status 'done'
  Created wheel for mobly: filename=mobly-1.12.1-py3-none-any.whl size=160690 sha256=7452906c9315c9030ad7127e4f2b79d4afa18334cd26aa5cb4ec3e311d0f3e36
  Stored in directory: /Users/ninji/Library/Caches/pip/wheels/5a/7d/90/e3160a8fbcef960b5ca12aaca12f2fe5c9771d302221178383
  Building wheel for pyperclip (setup.py): started
  Building wheel for pyperclip (setup.py): finished with status 'done'
  Created wheel for pyperclip: filename=pyperclip-1.9.0-py3-none-any.whl size=11002 sha256=1d5a2b28d6efa396508228391a45b6520a84419f3aa47da1c4d7ddc687bc431e
  Stored in directory: /Users/ninji/Library/Caches/pip/wheels/e0/e8/fc/8ab8aa326e33bc066ccd5f3ca9646eab4299881af933f94f09
  Building wheel for watchdog (setup.py): started
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for watchdog (setup.py): finished with status 'error'
  ERROR: Failed building wheel for watchdog
  Running setup.py clean for watchdog
  Building wheel for websockets (setup.py): started
  Building wheel for websockets (setup.py): finished with status 'done'
  Created wheel for websockets: filename=websockets-10.4-cp312-cp312-macosx_14_0_arm64.whl size=95017 sha256=ece9312919ea10be9a3b63b75fdde6ae6eef5f811f8a9a695cb2dc7b2a235d85
  Stored in directory: /Users/ninji/Library/Caches/pip/wheels/80/cf/6d/5d7e4c920cb41925a178b2d2621889c520d648bab487b1d7fd
Successfully built mobly pyperclip websockets
Failed to build cffi watchdog
ERROR: Could not build wheels for cffi, watchdog, which is required to install pyproject.toml-based projects
ninja: build stopped: subcommand failed.
['ninja', '-C', '/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']

Traceback (most recent call last):
  File "/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 421, in install_packages
    subprocess.check_call(ninja_cmd, stdout=outs, stderr=outs)
  File "/Users/ninji/.pyenv/versions/3.12.4/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', '/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 995, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 987, in main
    return EnvSetup(**vars(parse())).setup()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 577, in setup
    result = step(spin)
             ^^^^^^^^^^
  File "/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 766, in virtualenv
    if not virtualenv_setup.install(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 443, in install
    install_packages(gn_target)
  File "/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 424, in install_packages
    raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['ninja', '-C', '/Users/ninji/.esp/esp-matter/connectedhomeip/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.```

Once protoc is installed (brew install protobuf) the build proceeds.
Apologies if this is not the correct avenue to raise this issue, I couldn't raise an issue on connectedhomeip's repo as they're disabled.
Thanks!

@NinjaLikesCheez Thanks for reporting, will check.
In a mean time if you'd like to raise it to connectedhomeip please try at - https://github.com/project-chip/connectedhomeip/issues

@shubhamdp Oh I'm so sorry - I thought I checked and couldn't see the issues but I must have been mistaken! I will raise it there too. Thank you!

I have a similar error on mac os 15
`Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi
Failed to build cffi
ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
ninja: build stopped: subcommand failed.
['ninja', '-C', '/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']
Traceback (most recent call last):
File "/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 421, in install_packages
subprocess.check_call(ninja_cmd, stdout=outs, stderr=outs)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 419, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', '/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 995, in
sys.exit(main())
~~~~^^
File "/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 987, in main
return EnvSetup(**vars(parse())).setup()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 577, in setup
result = step(spin)
File "/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 766, in virtualenv
if not virtualenv_setup.install(
~~~~~~~~~~~~~~~~~~~~~~~~^
project_root=self._project_root,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<17 lines>...
use_pinned_pip_packages=self._use_pinned_pip_packages,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 443, in install
install_packages(gn_target)
~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 424, in install_packages
raise subprocess.CalledProcessError(
err.returncode, err.cmd, ins.read()
)
subprocess.CalledProcessError: Command '['ninja', '-C', '/Users/dusikasss/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.`

If you run the failing command you'll likely get a better picture of what went wrong as the errors won't be swallowed. It's likely an issue with locating stdlib.h

@dusikasss this was because of cffi not compatible with Python3.13 and it has been fixed in e09e20b693d1921f997f373055f92fb04e395fb1. Please pull the latest main.


boyfriend or any mod losing to before the song

Describe your bug here.
when its my turn i die before the song even started please fix this
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
boyfriend dieng before rapping

2 questions...
1: what?
2: you havent changed the source at all have you?

I haven’t delete anything I even made a new file and dint work to Sent from Mail for Windows From: tylerandari12Sent: Monday, 29 August 2022 1:34 AMTo: ShadowMario/FNF-PsychEngineCc: Gamemaster11; AuthorSubject: Re: [ShadowMario/FNF-PsychEngine] boyfriend or any mod losing to before the song (Issue #10332) 2 questions...1: what?2: you havent changed the source at all have you?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


fix: removed other switch

another switch change "--retries 10" is broken in 0.14.1 (throws exception in HTTP layer in hsload)

:tada: This PR is included in version 9.51.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Changing theme.mode from light to dark and back to light does not correctly update colors

Setting the theme property to {mode:'dark'} will instantly change the chart to dark mode, but setting it back by setting {mode:'light'} does not work. (Nor does setting it to `{mode:'undefined'}
Expected Behavior
Changing themes.mode from 'dark' to 'light' should instantly change all the chart's colors to the light theme.
Actual Behavior
The chart appears to redraw and the line changes color back to that of the light theme, but the rest of the chart (background and text colors) remain those of the dark theme.
Report on ng-apexcharts, but it seems transversal problem

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file password: changeme In the installer menu, select "gcc."

?

Any comments about this issue?


proto: remove test dependency on experimental packages

Removes two go mod dependencies on golang.org/x/sync and indirectly on golang.org/x/net. These were being used to provide an errgroup.Group to collate errors in a test.
This PR provides the same functionality but using sync.WaitGroup.

Thanks for the cleanup.


v1.11.8 seems to be not working with kubevirt vms

Hello kube-ovn team. We have found a problem in the kube-ovn version 1.11.8. When one tries to create a pod it works well, but when one creates a vm provided by kubevirt, it doesn't work. The problem is not there with the latest dev branch. (1.12.x)
Expected Behavior
The expected behaviour is to have the vm on kubevirt connected to the kube-ovn.
Actual Behavior
The actual behaviour is this:
Warning  FailedCreatePodSandBox  28m                    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "ea7d199627fa9ef9834e0e733c3af864c94b8bac2292aa76099be7fa2425d8fd": plugin type="multus" name="multus-cni-network" failed (add): [default/virt-launcher-vm-cirros-m7ffn:kube-ovn]: error adding container to network "kube-ovn": RPC failed; Post "http://dummy/api/v1/add": EOF

Steps to Reproduce the Problem

install a kubernetes cluster with kind, 4 nodes. 3 worker 1 master
install multus
change the default multus network name to kindnet
install kube-ovn

curl -O https://raw.githubusercontent.com/kubeovn/kube-ovn/release-1.11/dist/images/install.sh
export CNI_CONFIG_PRIORITY=20
export ENABLE_KEEP_VM_IP=true
bash install.sh

create a network

apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
  name: kube-ovn
  namespace: default
spec:
  config: |
    {
        "name":"kube-ovn",
        "cniVersion":"0.3.1",
        "plugins":[
            {
                "type":"kube-ovn",
                "server_socket":"/run/openvswitch/kube-ovn-daemon.sock"
            },
            {
                "type":"portmap",
                "capabilities":{
                    "portMappings":true
                }
            }
        ]
    }

install kubevirt

export RELEASE=$(curl https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirt/stable.txt)
kubectl apply -f "https://github.com/kubevirt/kubevirt/releases/download/${RELEASE}/kubevirt-operator.yaml"
kubectl apply -f https://github.com/kubevirt/kubevirt/releases/download/${RELEASE}/kubevirt-cr.yaml

create a vm

apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  labels:
    kubevirt.io/vm: vm-cirros
  name: vm-cirros
spec:
  running: true
  template:
    metadata:
      labels:
        kubevirt.io/vm: vm-cirros
    spec:
      domain:
        devices:
          disks:
          - disk:
              bus: virtio
            name: containerdisk
          - disk:
              bus: virtio
            name: cloudinitdisk
          interfaces:
          - name: overcloud_network
            bridge: {}
        resources:
          requests:
            memory: 128Mi
      networks:
      - name: overcloud_network
        multus:
          networkName: default/kube-ovn
      terminationGracePeriodSeconds: 0
      volumes:
      - containerDisk:
          image: quay.io/kubevirt/cirros-container-disk-demo:v1.0.0
        name: containerdisk
      - cloudInitNoCloud:
          userData: |
            #!/bin/sh

            echo 'printed from cloud-init userdata'
        name: cloudinitdisk

The problem will appear immediately.
Additional Info
Here is the output of a kube-ovn pod when the problem happens:
https://pastebin.com/TZytBgWn

Kubernetes version:
v1.27.3
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:49:13Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}

Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3", GitCommit:"25b4e43193bcda6c7328a6d147b1fb73a33f1598", GitTreeState:"clean", BuildDate:"2023-06-15T00:36:28Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.27) exceeds the supported minor version skew of +/-1

- kube-ovn version:

v1.11.8

- operation-system/kernel version:

ubuntu 20.04

It looks like you are using kubevirt 1.0.0. the kube-ovn v1.11.9 should fix the issue. you can have a try.

It looks like you are using kubevirt 1.0.0. the kube-ovn v1.11.9 should fix the issue. you can have a try.

I apologise but I can't really find this version you mentioned on the tags page, seems like not yet released or I am looking at the wrong place. Did you mean we can try 1.11.9 when it gets released in the future or it's already there but not yet published?
Thanks!

It looks like you are using kubevirt 1.0.0. the kube-ovn v1.11.9 should fix the issue. you can have a try.

I apologise but I can't really find this version you mentioned on the tags page, seems like not yet released or I am looking at the wrong place. Did you mean we can try 1.11.9 when it gets released in the future or it's already there but not yet published? Thanks!

not released, please wait.

Thanks people, v1.11.10 fixed this issue, works well with the latest release!


Password dialog

Features which should get covered:

deletion of a new password
generate new random password
open target url in browser
add description field
password strength

Should be linked with #8


Ganache rejecting transaction at the socket level with an RST packet resulting in "Invalid JSON RPC response"

I did not post the question on the Gitter Truffle channel because my success rate in getting a response for difficult questions is very low there.  Please see this issue I posted initially on the Web3 JS repo and have linked to at the bottom of this post, since at first that appeared to be where the problem was located.  Now the maintainer of the Web3 repo and I believe it's a Ganache CLI or Core problem.
This hypothesis is strengthened by a test I recently ran that shows that ganache-cli rejects my request at the raw socket level with an immediate RST response.  My request never reaches the event handler in httpServer.js within ganache-cli.  I know this because I have forked that repo and have it running in an IDE along with my dApp.  In that IDE I have a breakpoint set on the request on-data handler in the httpServer.js module and that breakpoint is never hit when I execute the smart contract method call that is failing.  This make sense because as I just said, Ganache is rejecting the request at the socket level.  The breakpoint does get hit when I execute several of the other smart contract methods calls I can make successfully, and when Metamask executes a transaction, but not with the specific method I call that is failing for me.
Please see this Github issue linked to below in the Web3 repo for full details on the problem and some screenshots showing the Wireshark captures I made:
https://github.com/ethereum/web3.js/issues/2135

@roschler Thanks for filing the issue! Can you provide the implementation details of the function that is failing for you? If not, can you provide a minimal reproduction of the issue?

@davidmurdoch Hi David.  I am working on a minimal repo now.  I also have just downloaded Ganache 2.0 and will be creating the test around that version instead of v 1.2.2.  It will take a while because the smart contract method that fails occurs after several other different smart contract methods have executed before it.  Unfortunately each method call is dependent on the previous call having executed properly since they each affect the state of the smart contract, which is why this will take a little while.  In other words, I am creating a test case that extracts all the transactions that occur during the execution of a game in my dApp, into a linear sequence of Ethereum transactions that all occur in a single pass.  Once I've completed this I'll post here again with a link to the repo containing the code.
Thanks for replying.

@davidmurdoch Hello David.  I have just finished a private repo and added you and Samuel as collaborators.  Let me know if you got the invite.  Thanks in advance for your help.


Link to the tutorial - Climate Impact Rating system doesn't work.

the link to the tutorial doesn't work.
https://developer.ibm.com/tutorials/provision-a-couchdb-instance-using-cloudant-cfc-starter-kit-2/

Fixed! Thanks for reporting.


Defaults for functions should be emitted as a constant tuple when possible

Currently we emit instructions to build a tuple, but the contents are constant, so we can just emit the constructed tuple.

As part of the next step of #100 I've implemented a tuple bytecode constant, so I'll do this once that lands.

This isn't actually possible to do in all cases; we can only do it when the defaults themselves are all constants.
As this isn't as trivial as anticipated, I'm not going to do it in the near-term.


[AVM Module Issue]: Cognitive Service should add the creation of 'Microsoft.CognitiveServices/accounts/deployments'

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/cognitive-services/account
(Optional) Module Name if not listed above
avm/res/cognitive-services/account
(Optional) Module Version
No response
Description
Please add the creation of 'Microsoft.CognitiveServices/accounts/deployments'.
For example (azd): https://github.com/Azure/azure-dev/blob/main/templates/common/infra/bicep/core/ai/cognitiveservices.bicep#L38
CC: @jongio
(Optional) Correlation Id
No response

@Menghua1 thanks for submitting this. I will take a look at this and make an update soon

@ilhaan - Did you get a chance to take a look?

@v-xuto @zedy-wj - Can you please submit a PR to AVM for this feature?

@jongio - We have done a PR for this issue.
PR link: https://github.com/Azure/bicep-registry-modules/pull/1466, please review it, thanks!


fix fix mtmv data leak in cloud mode

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run p0


populate meta.xml from exif data on original import

I'm now working on this in branch "issue23"

completed with 98cf3a9d68107da8080f00fd99162c488c4d4849


PlaceHolder text doesn't disappear by typing when editing online

Describe the bug
In previous versions(about a week ago), default placeholder text in shape will disappear automatically by typing new content. But now it doesn't. Typing only append new text in front of default placeholder. It quite inconvenient for Mac doesn't have END key and Command + A can't yet select all default placeholder.
To Reproduce

add a shape with default placeholder text, for example a UML class
select a field area and start typing
new content append in front of placeholder text

Expected behavior
Default placeholder text disappears with only new typing content remians.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 15.3.0

Desktop (please complete the following information):

OS: [MacOS 10.15.7]
Browser [Chrome 93.0.4577.63]

Another problem is text in textarea, such as a note, can is not selectable. And insert pointer can not be moved amount text.

I found something. This happens each time you open draw.io the first time you open or create a document. After refreshing the page, problems solved.

Hi,
I couldn't reproduce this but I am a Win user. If you test this in other browsers and Private mode (without browser extensions) does it help? If browser cache is cleared, do you see the same behaviour?
Regards,

Hi,
I couldn't reproduce this but I am a Win user. If you test this in other browsers and Private mode (without browser extensions) does it help? If browser cache is cleared, do you see the same behaviour?
Regards,

Hi,
I tried it in both Chrome and Firefox's Private mode. It seems to work properly with no problem. So it may have something to do with cache. Thank you for helping.
Regards.


Pin cuML to version with pinned RAFT

Unstable cuML pinned commit did not have a pinned RAFT version. Pin to a cuML commit with pinned RAFT.

Admin merging this because CI proceeded far enough to demonstrate no issues with core change. Reviews were stale only because the target branch needed to be updated.


sequence diagram

create a sequence diagram describing all the interaction in the bot, hub, and notification systems

@l3r8yJ after closing this ticket we can get back to the coding the hub and notifications system

@l3r8yJ please, take a look here
we need a mapping between Chat ID and Token

WDYT?

@l3r8yJ I'm also can make a second version of diagram
It will be about "How I see the design of such system"

@h1alexbel yeah, sure go ahead

@h1alexbel looks cool, I think we can create a lot of issues using this diagram

@l3r8yJ I will create some

After diagram decomposition I got:
issues for bot:
https://github.com/Blamer-io/bot/issues/57
https://github.com/Blamer-io/bot/issues/58
issues for hub:
https://github.com/Blamer-io/hub/issues/19
https://github.com/Blamer-io/hub/issues/20
https://github.com/Blamer-io/hub/issues/21
https://github.com/Blamer-io/hub/issues/22
issues for notifications:
skeleton +
https://github.com/Blamer-io/notifications/issues/3

also #23


Badge color dynamic by percentage

:clipboard: Description
Badge color dynamic by percentage
:link: Data
:microphone: Motivation
I need a api that i put 10% and return the color in code coverage.

It's not entirely clear what you're asking for given the dearth of information, however, I'd imagine what you're seeking could be handled with our Custom Endpoint Badge.
As such I'm going to go ahead and close, but please feel free to follow up with the relevant information if you still feel there's a non-custom endpoint solution you have in mind.


RS-180: Web console shows license information

Closes #
Please check if the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[x] CHANGELOG.md has been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?
Feature
What was changed?
A tab to show the license information.
Sample license:

No license:

Usage tab:

Related issues
No
Does this PR introduce a breaking change?
Yes, it works only with reduct-js > 1.9.1
Other information:
A bug fix was needed on reduct-js to use it on the browser. Please update to reduct-js > 1.9.1 to test the web console.

@atimin I need a first review from you to check if the layout is good. I will write some tests once validated.

@atimin everything should be good and tested :) Please have a look. Just a small point, I assumed the expiration date from the license to return the number of milliseconds since midnight, January 1, 1970 (UTC), I think it's the case, but just to double check.


Reflect service name in application title

Reflect active service in title
Description
For example if you have 3 services Whatsapp, Slack, Linkedin, if Linkedin is active title will be "Ferdi - Linkedin" instead "Ferdi".
Motivation and Context
Useful for password manager like KeepassXC, Keeweb, ... who can rely user/pass based on title
fix : https://github.com/getferdi/ferdi/issues/213
How Has This Been Tested?
Tested on mac OS Catalina with Ferdi (develop) and Keeweb 1.12.3
Screenshots (if appropriate):
Types of changes

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the code style of this project (run $ yarn lint).

Thank you for your contribution.
I think that code might be better suited as a reaction in the ServicesStore instead (https://github.com/getferdi/ferdi/blob/develop/src/stores/ServicesStore.js#L127) and not as a part of the TabList render method - I don't think anyone will expect it to be at that place. Could you move over the code to there instead?

Thank you for your contribution.
I think that code might be better suited as a reaction in the ServicesStore instead (https://github.com/getferdi/ferdi/blob/develop/src/stores/ServicesStore.js#L127) and not as a part of the TabList render method - I don't think anyone will expect it to be at that place. Could you move over the code to there instead?

Ok code moved to ServiceStore ;-)

@gmarec FYI. you could have provided additional changes by pushing to your branch, no need to re-open a pull request 😄🙏 No biggies though, appreciating your contributions!


its not working getting code 0 error

Upon attempting to connect to tlsv1.2://epp.ote.example.in:700, we encountered the following error message: '' (code 0). We have attempted to use the credentials from our previous correspondence, but this hasn't resolved the issue.
can you help us to overcome

hello @todaysprint
please check
openssl s_client -connect epp.ote.registry.in:700
let me know and also please share me error log so i can help you


Add dependent component logic in input manifest

Similar to what we suggested here, we would need to add a new entry depends_on in the input manifests for those components that has dependency plugin from Maven.
We will also need to figure the exact dependent component for each of plugin.

Components
Dependent components

k-NN
N/A

geospatial
job-scheduler

cross-cluster-replication
common-utils

ml-commons
common-utils

neural-search
k-NN, ml-commons

notification/notifications-core
common-utils

observability
Unknown yet

reporting
Unknown yet

sql
ml-commons

asynchronous
Unknown yet

anomaly-detection
Unknown yet

alerting
common-utils

security-analytics
Unknown yet

index-management
Unknown yet

performance-analyzer
Unknown yet

code-codecs
Unknown yet

I will be testing to build each of the components on 2.x branch to see their direct dependency components.

When building geospatials directly ./build.sh manifests/2.12.0/opensearch-2.12.0.yml -p linux -a x64 -d tar --component geospatial, seeing
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.opensearch:opensearch-job-scheduler-spi:<IP_ADDRESS>.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - https://plugins.gradle.org/m2/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
     Required by:
         project :

Building CCR plugin, ./build.sh manifests/2.12.0/opensearch-2.12.0.yml -p linux -a x64 -d tar --component cross-cluster-replication
* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not resolve org.opensearch:common-utils:<IP_ADDRESS>.
     Required by:
         project :
      > Could not resolve org.opensearch:common-utils:<IP_ADDRESS>.
         > Could not get resource 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom'.
            > Could not GET 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom'. Received status code 403 from server: Forbidden

After building common-utils in mavenLocal, CCR build successfully.
2023-10-19 21:06:37 INFO     Checked /tmp/tmprhg_ip6e/cross-cluster-replication/builds/plugins/opensearch-cross-cluster-replication-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 21:06:37 INFO     Successfully built cross-cluster-replication

Building ml-commons
* What went wrong:
Execution failed for task ':opensearch-ml-common:compileJava'.
> Could not resolve all files for configuration ':opensearch-ml-common:compileClasspath'.
   > Could not resolve org.opensearch:common-utils:<IP_ADDRESS>.
     Required by:
         project :opensearch-ml-common
      > Could not resolve org.opensearch:common-utils:<IP_ADDRESS>.
         > Could not get resource 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom'.
            > Could not GET 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom'. Received status code 403 from server: Forbidden

Building notifications/notifications-core
* What went wrong:
Execution failed for task ':notifications:compileKotlin'.
> Could not resolve all files for configuration ':notifications:compileClasspath'.
   > Could not find org.opensearch:common-utils:<IP_ADDRESS>.
     Searched in the following locations:
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://plugins.gradle.org/m2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
     Required by:
         project :notifications

After building CU, notifications builds successfully.
2023-10-19 21:39:53 INFO     Checked /tmp/tmp6rmku509/notifications/notifications/builds/plugins/opensearch-notifications-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 21:39:53 INFO     Successfully built notifications

Building opensearch-observability
* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.opensearch:common-utils:<IP_ADDRESS>.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://plugins.gradle.org/m2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
     Required by:
         project :

After building CU, observability builds.
2023-10-19 21:45:32 INFO     Checked /tmp/tmp9q89y14i/opensearch-observability/builds/plugins/opensearch-observability-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 21:45:32 INFO     Successfully built opensearch-observability

Building ./build.sh manifests/2.12.0/opensearch-2.12.0.yml -p linux -a x64 -d tar --component opensearch-reports

* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.opensearch:opensearch-job-scheduler-spi:<IP_ADDRESS>.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - https://plugins.gradle.org/m2/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
     Required by:
         project :
   > Could not find org.opensearch:common-utils:<IP_ADDRESS>.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://plugins.gradle.org/m2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
     Required by:
         project :

After building JS & CU, building opensearch-reports
2023-10-19 21:53:26 INFO     Checked /tmp/tmpzli4uuk4/opensearch-reports/builds/plugins/opensearch-reports-scheduler-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 21:53:26 INFO     Successfully built opensearch-reports

Building ./build.sh manifests/2.12.0/opensearch-2.12.0.yml -p linux -a x64 -d tar --component asynchronous-search
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.opensearch:common-utils:<IP_ADDRESS>.
     Searched in the following locations:
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://plugins.gradle.org/m2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
     Required by:
         project :

Building after CU,
2023-10-19 21:59:23 INFO     Checked /tmp/tmp374ehj0y/asynchronous-search/builds/plugins/opensearch-asynchronous-search-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 21:59:23 INFO     Successfully built asynchronous-search

Building anomaly-detection,
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not resolve org.opensearch:opensearch-job-scheduler-spi:<IP_ADDRESS>.
     Required by:
         project :
      > Could not resolve org.opensearch:opensearch-job-scheduler-spi:<IP_ADDRESS>.
         > Could not get resource 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom'.
            > Could not GET 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom'. Received status code 403 from server: Forbidden
   > Could not resolve org.opensearch:common-utils:<IP_ADDRESS>.
     Required by:
         project :
      > Could not resolve org.opensearch:common-utils:<IP_ADDRESS>.
         > Could not get resource 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom'.
            > Could not GET 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom'. Received status code 403 from server: Forbidden

After building CU & JS, anomaly-detections builds.
2023-10-19 22:06:06 INFO     Recording plugins artifact for anomaly-detection: plugins/opensearch-anomaly-detection-<IP_ADDRESS>.zip (from /tmp/tmptmj759k5/anomaly-detection/builds/plugins/opensearch-anomaly-detection-<IP_ADDRESS>.zip)
2023-10-19 22:06:06 INFO     Checked /tmp/tmptmj759k5/anomaly-detection/builds/plugins/opensearch-anomaly-detection-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 22:06:06 INFO     Successfully built anomaly-detectio

Building ./build.sh manifests/2.12.0/opensearch-2.12.0.yml -p linux -a x64 -d tar --component alerting
* What went wrong:
Execution failed for task ':alerting-core:compileKotlin'.
> Could not resolve all files for configuration ':alerting-core:compileClasspath'.
   > Could not find org.opensearch:common-utils:<IP_ADDRESS>.
     Searched in the following locations:
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
     Required by:
         project :alerting-core

Alerting plugin builds with CU maven plugin.

ERROR    Error building security-analytics, retry with: ./build.sh manifests/2.12.0/opensearch-2.12.0.yml --component security-analytics
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.opensearch:common-utils:<IP_ADDRESS>.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
     Required by:
         project :

When building index-management
* What went wrong:
Execution failed for task ':opensearch-index-management-spi:compileKotlin'.
> Could not resolve all files for configuration ':opensearch-index-management-spi:compileClasspath'.
   > Could not find org.opensearch:opensearch-job-scheduler-spi:<IP_ADDRESS>.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - https://plugins.gradle.org/m2/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch-job-scheduler-spi/<IP_ADDRESS>/opensearch-job-scheduler-spi-<IP_ADDRESS>.pom
     Required by:
         project :opensearch-index-management-spi
   > Could not find org.opensearch:common-utils:<IP_ADDRESS>.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - file:/usr/share/opensearch/.m2/repository/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://plugins.gradle.org/m2/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>/common-utils-<IP_ADDRESS>.pom
     Required by:
         project :opensearch-index-management-spi

Index-management builds after CU & JS.
2023-10-19 22:18:32 INFO     Checked /tmp/tmp71lsuozh/index-management/builds/plugins/opensearch-index-management-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 22:18:32 INFO     Successfully built index-management

I think for some of plugin, for example, Index-management, it might depend on other plugin(notifications) from the CI/testing perspective, but on building level, the only plugin component it depends on are Job-scheduler and common utils.
https://github.com/opensearch-project/index-management/blob/c6cf49c85f1a4b958a389860a26c726e4bd1ce87/build.gradle#L199-L208

Building sql plugin:
* What went wrong:
Execution failed for task ':opensearch:compileJava'.
> Could not resolve all files for configuration ':opensearch:compileClasspath'.
   > Could not resolve org.opensearch:opensearch-ml-client:<IP_ADDRESS>.
     Required by:
         project :opensearch
      > Could not resolve org.opensearch:opensearch-ml-client:<IP_ADDRESS>.
         > Could not get resource 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/opensearch-ml-client/<IP_ADDRESS>/opensearch-ml-client-<IP_ADDRESS>.pom'.
            > Could not GET 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/opensearch-ml-client/<IP_ADDRESS>/opensearch-ml-client-<IP_ADDRESS>.pom'. Received status code 403 from server: Forbidden

After building ml-commons (which has direct dependency on common-utils),
2023-10-19 22:31:50 INFO     Checked /tmp/tmpeb2omb3d/sql/builds/plugins/opensearch-sql-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 22:31:50 INFO     Successfully built sql

Custome-codecs can be built without any plugin dependency.
2023-10-19 22:48:21 INFO     Checked /tmp/tmpinji845n/custom-codecs/builds/plugins/opensearch-custom-codecs-<IP_ADDRESS>.zip (<IP_ADDRESS>)
2023-10-19 22:48:21 INFO     Successfully built custom-codecs

Close this issue as this enhancement is achieved in the PR above.


Add segment analytics to Dapps screen to allow us to measure engagement

Description
Add events for screen open/dapp selected/bottom sheet open and close
Other changes
N/A
Tested
Manually
How others should test
No testing necessary
Related issues

Fixes #1918

Backwards compatibility
Yes

@mergifyio refresh


Add the way to complete "share file" flow.

Hello.
It would be nice to be able to create temporary files (this part is missing) with this library, to share it (this part is already there) also with the functions of this library.

So a function where you can invoke which generates a random file, based on the file type passed to it?
Can you give me an example?


Use system-native font stack

Webfonts in general bring the issue that the page can not render completely without the font download finishing, which gives us one of the following issues:

flash of invisible text (FOIT) which makes the browser render a invisible font until the download is done (equivalent to font-display: block and default behaviour in most browsers)
flash of unstyled text (FOUT) which make the browser render a system font and then replace it with the downloaded font (equivalent to font-display: swap)

Both are bad in their own ways and I think we should eliminate all web fonts and just use a sytem-native font stack. This would match us with GitHub and GitLab which both also use native font stacks and do not rely on any web fonts.
GitHub has:
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;

GitLab has:
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

Could we do this now that 1.12 is released?

Yes, I plan to rework fonts. The only possible remaining font should be the emoji fallback, but it's kind of questionable benefit as it only really supports Chrome on Linux (Other OS do ship emoji fonts and the Firefox can't parse the ttf file because a bug on their end last I checked).

This is NOT system-native!
I have Segoe UI installed on my Arch Linux, but my system-native font is actually Ubuntu. This CSS will override system configuration and use Segoe UI instead of real system-native font.
The real system-native font stack will be enabled only if you will use font-family: sans-serif.
Also, issues mentioned here are relevant only at the first visit to website while the webfonts are not yet cached, so this is very minor and it would be best to get the Lato font back.

This CSS will override system configuration and use Segoe UI instead of real system-native font.

Those font stacks are quite intricate. What is the "native" sans-serif font of Ubuntu? I'm happy to put it before Segeo UI as it's like never present on Windows. Also, you're seeing Segeo UI on GitHub, right?

Also, issues mentioned here are relevant only at the first visit to website while the webfonts are not yet cached

It's certainly an issue in some browsers (Firefox) that flash a different font on every page load and then replace it with the webfont, even if that webfont is in the cache.

What is the "native" sans-serif font

It is a font I selected in settings of my desktop environment or in browser settings (every browser allows to configure fonts). It can be any font.

Also, you're seeing Segeo UI on GitHub, right?

Yes

system fonts are highly likely to contain many more language glyphs

It seems this is the only real reason to use "system-native" fonts (okay, probably I got excited with "would be best to get the Lato font back" :).
Although this font-family is still not system-native, as I said earlier

I'm certainly not against trying to utilize system's sans-serif but I guess there must be a reason why most recommendations have it last.

@andreymal I have the same problem - I also have Segoe UI installed due to having to deal with dozers but Gitea is not unique in this Github also forces Segoe UI above sans-serif.
I've also noticed that DeJa Vu Mono has a number of emoji glyphs which are non-colored and can prevent colored emoji from appearing, e.g. ☺ and ✍ . There are other issues with DeJa Vu Sans's Emoji but I think we may have solved them already

I guess we could certainly tweak the font stack to prefer Ubuntu's default font over Segeo UI.

P.S. font-family: system-ui is not yet working in Firefox, and this still overrides browser-level configuration in Chrome
I think it’s really the browser’s job to implement system-ui properly.

Apart from that, I believe the semantics behind system-ui is really to ignore browser settings. I use Manjaro quite often (alongside macOS 10.10/10.15) and have tuned the OS to use a custom font stack with fontconfig, which the browser happily matches with system-ui. Both Chromium and Firefox pick up those fonts properly (though for some reason, Firefox chooses to use Yu Gothic UI by whatever criteria it presumes unless I remove system-ui from the stack, which makes it use my in-browser settings to match sans-serif).

And the quirks don’t end there. On macOS, all browsers, with the sole exception of Safari, matches sans-serif to one of the two traditional Chinese system fonts (PingFang HK/TC, for Hong Kong and Taiwan respectively) which I defined initially during the introduction of CJK :lang-specific font stacks. I’m not gonna bomb this thread with screenshots, but my Chromium chooses Taiwan and my Firefox favors Hong Kong (my OS is in German, so I believe it depends on the language preference stack configured in the OS, which originated from macOS but has spread to various OSes lately). This was not a problem up to 1.11.x, where sans-serif was still in the last place of the font stack.
I really take #12114 as a good chance to have these little problems solved altogether. I agree the definition “system-native” is debatable, but please bear in mind that most OSes do not give users much freedom to fiddle with the UI (since they’ve spent remarkable amount of time and budget to factory tweak them) and moreover, most users aren’t gonna prefer customization over usability for a tool like this. I myself am still using Lato though (and thus much appreciate the idea to use CSS variables, which I first noticed in Nextcloud, also switched to a native font stack not long ago).

I wonder if it'd be possible to remove all the explicit fonts and user either system-ui or sans-serif. They both seem to essentially do the same thing to me but I guess system-ui uses more "modern" font choices than the traditional sans-serif. Certainly worth experimenting once all browsers support it (waiting on Firefox).

Well, even if, say, Firefox manages to fix this bug in a few months, it’ll still take much longer for users to upgrade (actually, I myself am using a legacy XUL-based Firefox fork on some legacy systems, which is of course much more modern than IE 11, for which the support hasn’t officially been dropped yet).

but I guess system-ui uses more "modern" font choices than the traditional sans-serif.

Again, the semantics are different. system-ui does not really presume display of “content”, but rather “near native web interface elements”. By contrast, sans-serif, in the long history of WWW, has always presumed itself being used for some kind of “content”, starting with plain text blocks in an non-stylized static document, where IMHO the browser’s settings have been, and still should be used for. Its usage as a last resort in most occasions relies on the fact that either the user or the OS is providing this fail-safe solution so as to at least make the valuable content of the web page comprehensible (thus the ability to display the theoretically maximum number of characters the OS is, by default, capable of displaying).
What this means is, whenever sans-serif is used, the fallback stack is completely controlled by the OS itself (that is, if the browser doesn’t “misbehave” as per my example of Chromium and Firefox making different choices for the exact same fallback stack). Examples for this in the Chinese context is the use of highly uncommon characters, such as certain Hong Kong-specific dialectical supplements, supplementary character variants and technical neologisms (such as newly discovered elements), which could result in visual discrepancy even in the same typeface. As long as sans-serif is used (in this case it doesn’t matter if it’s sans-serif, serif or monospace, the OS could only choose SimSun, which is a serif font), it would shadow whatever font that comes later in the stack, even emojis.
And even with system-ui, there are corner cases where explicit choices are much more favorable. The other example I have given above shows Yu Gothic UI, the Windows 8.1 replacement of Meiryo UI for native UI elements in Japanese. This is by far the most utilitarian Modern typeface one may encounter, as it basically copied all the narrowed-down kanas from Meiryo UI in order to keep the original UI designs pixel-perfect. If by any chance the browser picks up this font in any occation, it should be regarded as a mistake (in the system-ui example above, a bug). In the current font stack I have specifically chosen Yu Gothic for its visual friendliness at higher resolutions (in contrast to Meiryo, which was mainly designed to be used at lower resolutions, accompanied by ClearType). This particular font could (and IMHO should) also be leveraged on older OSes if Office is installed or a specific optional supplementary update from Microsoft is applied.
So much on this topic, and sorry for the long passages. I just hope to be able to help a bit by expressing my concerns on the complexity of this task.


Add some intermediate variables so type-hint information isn't lost

The container's make() method obviously doesn't know what it returns so we have to add @var annotations here and there

The so called "major" issues Scrutinizer complains about is actually a bug in Scrutinizer: https://github.com/scrutinizer-ci/scrutinizer/issues/274


Implementation of the Transactional operations with RocksDb database

RocksDb call can be grouped in a transaction if we wrap it inside a TransactionScope.
This bring no dependency into the RockDb implementation and can be implemented in the other persistence layers that NeoSharp support.
The Project Code  Analyse Rules were updated and every file touched was refactor in order to reflect the rules.
#501, #509

Why we need this keyword? i think that we talked this in discord time ago, and we decided to not use it

Why we need this keyword? i think that we talked this in discord time ago, and we decided to not use it @gubanotorious @osmirnov @aboimpinto

Why we need this keyword? i think that we talked this in discord time ago, and we decided to not use it @gubanotorious @osmirnov @aboimpinto

Why we need this keyword? i think that we talked this in discord time ago, and we decided to not use it @gubanotorious @osmirnov @aboimpinto

Why we need this keyword? i think that we talked this in discord time ago, and we decided to not use it @gubanotorious @osmirnov @aboimpinto

Why we need this keyword? i think that we talked this in discord time ago, and we decided to not use it @gubanotorious @osmirnov @aboimpinto

Why we need this keyword? i think that we talked this in discord time ago, and we decided to not use it @gubanotorious @osmirnov @aboimpinto


improved example script for running pre-compiled binaries

The current whitebox_example.py in the downloaded pre-compiled binaries needs to set the whitebox executable file path manually. I slightly improved the main function, making it able to automatically detect whether WhiteboxTools is run in pre-compile binary or source code. If it is run in pre-compiled binary, then download the testdata automatically.
def main():
    ''' main function
    '''
    try:
        wbt = WhiteboxTools()

        # Get the root directory of WhiteboxTools source code or executable file
        root_dir = os.path.dirname(os.path.abspath(__file__))
        # WhiteboxTools executable file name for MS Windows
        wbt_win_bin = os.path.join(root_dir, "whitebox_tools.exe")
        # WhiteboxTools executable file name for MacOS/Linux
        wbt_linux_bin = os.path.join(root_dir, "whitebox_tools")

        # If the WhiteboxTools executable file (whitbox_tools.exe) is in the same
        # directory as this script, set wbt path to the current directory
        # otherwise, set wbt path to (root_dir + "/target/release/")
        if os.path.isfile(wbt_win_bin) or os.path.isfile(wbt_linux_bin):
            wbt.set_whitebox_dir(root_dir)
        else:
            wbt.set_whitebox_dir(root_dir + "/target/release/")  # or simply wbt.exe_path = ...

        # Set the working directory. This is the path to the folder containing the data,
        # i.e. files sent to tools as input/output parameters. You don't need to set
        # the working directory if you specify full path names as tool parameters.
        wbt.work_dir = os.path.dirname(
            os.path.abspath(__file__)) + "/testdata/"

        # If test datasets do not exist, download them from the WhiteboxTools repo
        if not os.path.exists(wbt.work_dir):
            os.mkdir(wbt.work_dir)
            dem_url = "https://github.com/jblindsay/whitebox-tools/raw/master/testdata/DEM.tif"
            dep_url = "https://github.com/jblindsay/whitebox-tools/raw/master/testdata/DEM.dep"
            urllib.request.urlretrieve(dem_url, "testdata/DEM.tif")
            urllib.request.urlretrieve(dep_url, "testdata/DEM.dep")

I realized that this might make the example script look complicated and lengthy. My intention was just to make the example script work out of the box in the pre-compiled binaries. Feel free to discard my commit if you think the changes are unnecessary.

It's true that one of my objectives in writing the example was to keep things simple and approachable. However, I don't think that your changes make it difficult to interpret, particularly for someone familiar with Python. The value added in these changes make them well worthwhile to merge. Thank you again for your efforts.


Get User Photo

Hey
how can i read the Azure AD user photo with this script?
Regards
// Try to get an access token (using the authorization code grant)
$token = $provider->getAccessToken('authorization_code', [
    'code' => $_GET['code'],
    'resource' => 'https://graph.windows.net',
]);

// Optional: Now you have a token you can look up a users profile data
try {

    // We got an access token, let's now get the user's details
    $me = $provider->get("me", $token);

    // Use these details to create a new profile
    printf('Hello %s!', $me['givenName']);

} catch (Exception $e) {

    // Failed to get user details
    exit('Oh dear...');
}

To get the photo, you need to call Microsoft Graph - https://docs.microsoft.com/en-us/graph/api/profilephoto-get?view=graph-rest-1.0, I suggest using it instead of Azure AD Graph (https://github.com/TheNetworg/oauth2-azure#microsoft-graph).

Hey hajekj
thanks for the fast reply.
When i do this i have the following error:
Fatal error: Uncaught League\OAuth2\Client\Provider\Exception\IdentityProviderException: Access token validation failure. Invalid audience. in /volume1/web/src/Provider/Azure.php:315
This is my code
// Try to get an access token (using the authorization code grant)
$token = $provider->getAccessToken('authorization_code', [
    'code' => $_GET['code'],
    'resource' => 'https://graph.windows.net',
]);

// Optional: Now you have a token you can look up a users profile data
try {

    // We got an access token, let's now get the user's details
    $me = $provider->get("me", $token);

    // Use these details to create a new profile
    printf('Hello %s!', $me['givenName']);

    // Test Photo Read
    $me1 = $provider->get('https://graph.microsoft.com/v1.0/me/photo/$value', $token);
    print_r($me1);

} catch (Exception $e) {

    // Failed to get user details
    exit('Oh dear...');
}

Something along the lines of...
$token = $provider->getAccessToken(
	'authorization_code', [
	    'code' => $_GET['code'],
	    'resource' => 'https://graph.windows.net',
	]);

$provider->resource = 'https://graph.microsoft.com/';
$provider->urlAPI = 'https://graph.microsoft.com';

try {
	$refresh = $provider->getAccessToken(
	    'refresh_token', [
	        'refresh_token' => $token->getRefreshToken(),
	        'resource' => 'https://graph.microsoft.com'
	    ]);
} catch (Exception $e) {
    exit($e);
}

$me = $provider->get($provider->urlAPI . '/beta/me', $refresh);

echo '
Hello '.$me['givenName'].'
';

$photometa = $provider->get($provider->urlAPI.'/beta/me/photo', $refresh) ;
$photodata = $provider->get($provider->urlAPI.'/beta/me/photo/$value', $refresh);

echo '';

@PatchworkBoy Thank you for your code.  Is it necessary to first get the access token from Azure Graph and then excange it? Or can we simply go straight to MS Graph to get the information and the picture.  It seems in the above code that the $me array returned from both is very similar, so instead of getting it twice couldnt I just get it once using MS Graph?

You first need to get the the token, Graph won't respond to you without a valid one.

Why not add a getAvatar method to do that in the oauth2-azure code? That would be a cool feature.


Bug: ...

🌎 Environment

Xcode: 15.2.0
Platform: MacOS/Vapor
Version/Release: 0.3.8
Dependency manager: SPM

💬 Description
At point of calling public func finalize(pact: Data, completion: ((Result<String, MockServerError>) -> Void)?) my pact data has the correct consumer and provider (as far as i can tell. I am debugging up to the point I can, i can see the consumer and provider  set as I expect)
The end result however is a file that is called consumer.provider.json that does not match my expected output file. It also does not overwrite/merge changes and finally the content of the file ends up looking like
  "consumer": {     "name": "consumer"   },
🦶 Reproduction Steps
Reproduction steps are tricky - we are using this is a VAPOR API, not an xcode project and therefor have some extra wrappers. However i can see my data all the way down to this level, then it suddenly changes.
🤔 Expected Results
  "consumer": {     "name": "consumer"   }, should end up with name matching what i have set the consumer to be, not defaulted to consumer.
😲 Actual Results
  "consumer": {     "name": "consumer"   } name has defaulted to consumer

@thomas-chris There was a major refactor done with 172d2c5b, can you update your wrapper to interact with the new interface and check whether the bug persists?
This refactor moves most of the pact building logic and responsibility into libpact_ffi instead of relying on PactSwift to build the Pact's structure and pass it into FFI.


Remove MONO dependency?

CoreRT makes use of MONO. Is there chance to remove this requirement?
Log of building on NetBSD:
[ 99%] Linking CXX static library libPortableRuntime.a
[ 99%] Built target PortableRuntime
[100%] Linking CXX static library libRuntime.a
[100%] Built target Runtime
Install the project...
-- Install configuration: "DEBUG"
-- Installing: /tmp/pkgsrc-tmp/wip/corert-git/work/corert/bin/Product/NetBSD.x64.Debug/lib/libRuntime.a
-- Installing: /tmp/pkgsrc-tmp/wip/corert-git/work/corert/bin/Product/NetBSD.x64.Debug/lib/libPortableRuntime.a
-- Installing: /tmp/pkgsrc-tmp/wip/corert-git/work/corert/bin/Product/NetBSD.x64.Debug/lib/libbootstrapper.a
-- Installing: /tmp/pkgsrc-tmp/wip/corert-git/work/corert/bin/Product/NetBSD.x64.Debug/lib/libbootstrappercpp.a
-- Installing: /tmp/pkgsrc-tmp/wip/corert-git/work/corert/bin/Product/NetBSD.x64.Debug/./jitinterface.so
-- Installing: /tmp/pkgsrc-tmp/wip/corert-git/work/corert/bin/Product/NetBSD.x64.Debug/lib/libSystem.Private.CoreLib.Native.a
CoreRT native components successfully built.
WARNING: Mono <IP_ADDRESS> or later is required to build corert. Unable to assess if current version is supported.
Downloading... https://api.nuget.org/downloads/nuget.exe
Restoring MSBuild...
OSTRZEŻENIE: Error: SendFailure (Error writing headers)
Unable to find version '<IP_ADDRESS>-prerelease' of package 'Microsoft.Build.Mono.Debug'.

Yes, we have plan to make a change to remove this dependency but will be in few weeks.

https://github.com/dotnet/corert/issues/639 is most of the work

The only remaining tool that depends on mono is "nuget pack".

I'm now fixing NetBSD support with MONO, due to these dependencies around.

Fixed by #1193


Temporary disclaimer in README.rst?

Apparently the documentation website and this repository are quite good referenced in search engines while there are still a few legal aspects that we have to sort out before we can publish this openly. The fact that this website is already online has been a source of confusion lately.
Maybe we could (temporarily) change the README.rst section:

add a basic disclaimer stating that this website is for testers only
hide information about the license

Something like (adapted from README.rst):
(...) Dit project is een herontwikkeling van een bestaande ArcGIS plugin in Python, zonder externe non-open source dependencies.

Disclaimer
===================

This version of the NICHE Vlaanderen package and the associated website with documentation are intended for testing purposes only.

Deze versie of het NICHE Vlaanderen package en de bijhorende website met documentatie zijn enkel bedoeld voor testdoeleinden.

Documentation - Documentatie
=============================
(...)

@DriesAdriaens @johanvdw : any objections or other suggestions?
Of course I hope we can get back to the version with MIT license & without disclaimer asap...

Another option could be to make the repository private as long as the legal
distribution as open source cannot be assured?
I would make the disclaimer more explicit by additionally stating that "It
is prohibited to use the package for commercial purposes."
Op wo 8 jun. 2022 om 16:44 schreef Cécile Herr @.***>:

Apparently the documentation website and this repository are quite good
referenced in search engines while there are still a few legal aspects that
we have to sort out before we can publish this openly. The fact that this
website is already online has been a source of confusion lately.
Maybe we could (temporarily) change the README.rst
https://github.com/inbo/niche_vlaanderen#readme section:

add a basic disclaimer stating that this website is for testers only
hide information about the license

Something like (adapted from README.rst):
(...) Dit project is een herontwikkeling van een bestaande ArcGIS plugin in Python, zonder externe non-open source dependencies.
Disclaimer
This version of the NICHE Vlaanderen package and the associated website with documentation are intended for testing purposes only.
Deze versie of het NICHE Vlaanderen package en de bijhorende website met documentatie zijn enkel bedoeld voor testdoeleinden.
Documentation - Documentatie
(...)
@DriesAdriaens https://github.com/DriesAdriaens @johanvdw
https://github.com/johanvdw : any objections or other suggestions?
Of course I hope we can get back to the version with MIT license & without
disclaimer asap...
—
Reply to this email directly, view it on GitHub
https://github.com/inbo/niche_vlaanderen/issues/286, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHRHAFXY2XH57OIVSVJJZATVOCWTZANCNFSM5YGZ22BQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Dries Adriaens
Team Milieu en Klimaat
https://pureportal.inbo.be/portal/nl/organisations/environment-and-climate(c7e093d4-e778-4c00-9710-572da246d5fe).html
Instituut voor Natuur- en Bosonderzoek (INBO)
Herman Teirlinckgebouw
Havenlaan 88 bus 73, 1000 Brussel
gsm 0473 260414
@.***
www.inbo.be

update: I asked IT to make the repository private.


[Question] Is there a way to put physic on pause?

I'm currently working on a game engine with React-Three-Fiber and I'm now looking for the best physic engine possible and this one looks great!
I would like to know if there is a way to put the physic on pause (just like use-cannon) which I was not able to find in the documentation.
Thanks!

Good feature! Adding this to the current working branch.

Damn that was fast, thanks a lot!!


filter relevant PO questions from keywords

Given a set of keywords, need to implement lookup of relevant public opinion questions in the ANES database.

Use TF-IDF. This is straightforward given it has already been implemented for the opinion search. The corpus is the opinion questions.

Exactly the same as SCOTUS cases. Should merge process into one and refactor so you only have to specify the names/paths.


feat: add a cmd to request window size

Fixes: https://github.com/charmbracelet/bubbletea/issues/987#issuecomment-2068452658

Because the PR got merged only a few hours ago and this issue is 100% certain linked to this PR, I'm writing no new issue but comment on this PR.
Sorry for waiting until after the merge before testing this. In my test, when I send a tea.WindowSize() in the Update() function of a model, it causes the program to hang up. My analysis shows that the reason behind this most probably (well tbh, I'm pretty certain on this) is because
you call p.checkResize() in the eventLoop() which in turn calls p.Send() which in the end sends on the p.msgs channel. The problem is (by default) this channel is not buffered, thus the send blocks until another goroutine reads from it (but the one which would read from it is the one sending on that channel).
I'm not too familiar with the codebase but searching for other occurrences of p.Send(), it seems like this function is called in a new goroutine usually. In this case I'm not sure if the p.checkResize() should call go p.Send() (would also affect the init stuff which I'm not familiar with) or if we should call go p.checkResize() in the eventLoop().
I hope I didn't formulate this too complicated otherwise feel free to ask me what I actually mean. Any thoughts on this? Also, didn't someone else had this issue as well?

@atticus-sullivan Thank you for noticing this one! I've opened https://github.com/charmbracelet/bubbletea/pull/1059 to fix this one and add an example to request window size.

Alright, thanks for the fast reply + fix. Also having an example for this is quite nice :+1:


Remove and update confusing voice pattern in silence section

The assuming silence section was a little confusing with the mix of voices and ... sarcasm? I reworded the section to reduce potential confusion.

:+1:


Support for throwing exceptions not deriving from System.Exception

The ECMA-335 standard (and the CLR) allows this, but no mainstream .NET language can throw something that doesn't derive from System.Exception.
We would also need to implement RuntimeCompatibilityAttribute.WrapNonExceptionThrows.
CoreRT will FailFast if a program attempts to do this instead.

Aaaaand closing as Won't fix. Just needed an issue number that I can refer to. We thought about it, and the value is dubious.


compiler: do not overwrite initialized global variable by default value

Given the following code:
package foo
var A = f()
var B int
func Main() int {
	return B
}
func f() int {
	B = 3
	return B
}

the resulting opcodes generated for it will be:
INDEX    OPCODE       PARAMETER
0        INITSSLOT    2    <<
2        CALL         10 (8/08)
4        STSFLD0
5        PUSH0
6        STSFLD1
7        RET
8        LDSFLD1
9        RET
10       PUSH3
11       STSFLD1
12       LDSFLD1
13       RET

Global variables initialisation is being performed by this code: https://github.com/nspcc-dev/neo-go/blob/e31c3b5246fcedabae506e6dbb297266d261c532/pkg/compiler/codegen.go#L599-L608 So firstly A is initialized by the call to f() and 3 is stored in the 1-st cell of the static slot as B's value. After that B is initialized by default value and 0 overwrites the previously stored 3. As a result, the program leaves 0 on stack, which is wrong.
We need to initialize global variable by default value only if there's no value stored for it yet.

After that we need to enable test disabled in 61d9edda7f2db1cdf34bf6517ae6af779e153303.


dpdkdrv: improve unit test coverage

Add NewDevicePlugin() tests to improve test coverage. This also
contributes to "input validation" (part of #321) that wasn't done
properly before.
Fixes: #325
Signed-off-by: Mikko Ylinen<EMAIL_ADDRESS>

FWIW, the coverage improves from ~74% to 87%

v2 moves to use t.Run().


Critical bugs fixed

Header id values were not unique so far.
var used_headers = {};
should be outside of md.renderer.rules.heading_open, otherwise the set is made empty on every header, effectively turning off uniqueness mechanism.
default slugify also fixed.
—SA

My fix wasn't comprehensive. For comprehensive solution, please see
https://marketplace.visualstudio.com/items?itemName=sakryukov.convert-markdown-to-html
https://github.com/SAKryukov/vscode-markdown-to-html
My plug-in is embedded, see "out/id.toc.js".
It makes little sent to have such plug-in along. Generation of heading id attribute and TOC should be in the same plug-in, to act consistently.


New Release: 0.2.0

@JuliaRegistrator register

Error while trying to register: "Tag with name v0.1.1 already exists and points to a different commit"

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/118480
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 5b551def5c12fb5712bbd7ec9dcf6c17f544cc62
git push origin v0.2.0


Support using ? on types returning Option

It would be nice if things like this worked:
>> [1, 2, 3].get(4)?
                   ^ `std::option::NoneError` cannot be formatted with the default formatter
`std::option::NoneError` doesn't implement `std::fmt::Display`
help: the trait `std::fmt::Display` is not implemented for `std::option::NoneError`

Note: NoneError is one of those "unstable but appears in public apis" types, but it does impl Debug, not sure if that makes a difference here.
I'd argue even if this has to be hacked in it should be fixed, since it's a common case

That will work if you switch formatting of errors to use the Debug trait instead of Display. You can do that with :efmt {:?}

Ah, that works, and I can put it in my init.evcxr to get it permanently. It not working by default is a little unfortunate, but I guess that's your call.

I agree it's unfortunate. I think while I was developing support for ? I switched back and forth a couple of times between using Display and Debug. Not completely sure why I settled on Display. It's possible that whatever crate I was experimenting with didn't implement Debug for its errors. Or maybe I just thought the Display output looked better. I'm open to changing, although don't know how to make an informed decision as to which to use. It's likely to be a trade-off either way. You're right though that Option is a pretty important use-case.
The docs for Error say:

Errors must describe themselves through the Display and Debug traits

Perhaps there's a case to be made that NoneError should implement Display given what the docs say - although it doesn't look like NoneError implements the Error trait, so perhaps that doesn't apply.
I could attempt to detect the error and either advise the user to switch the error formatter, or switch automatically (although that could potentially be surprising)

Ah, found a discussion of NoneError not implementing Error. Sounds like the future of NoneError is still a bit uncertain.

Yes, my understanding is that NoneError is an unfortunate artifact of how the unstable Try trait is defined, and is likely to be removed (IIRC it's necessity is even part of why Try is still unstable).
I think Debug tends to be more often implemented, and e.g. std::result::Result requires Debug for expect, unwrap and friends to work (see https://doc.rust-lang.org/src/core/result.rs.html#936-963).
That said Display tends to have prettier output, I agree -- errors often just #[derive(Debug)] and give user friendly messages in Display.

IIRC it's necessity is even part of why Try is still unstable

You recall correctly 🙂
I figured I'd drop a note here about now-accepted https://github.com/rust-lang/rfcs/pull/3058 -- NoneError will disappear from this error message.


reporter generates invalid file name and fails when using appium

when setting up webdriver io to work with appium , you have to supply a path to the apk file (for android)
the junit reporter uses the path in the file name and creates a bad name, something like:
8xv7n15b06000308.android.c:\development\someFolder\myapp.apk.xml
i found a workaround to supply outputFileFormat function in the config like this:
  reporterOptions: {
    junit: {
        outputDir: './tests',
        outputFileFormat: (x)=> {
               return 'some file name.xml' // or calculate based on x
        }
    }
},

Yup, that's for what outputFileFormat is for 👍


Controller Redirect doesn't use the correct HTTP status codes

In results.go, there are two places where http.StatusFound (302) is used. This happens to work because browsers support it for backward compatibility, but is not to the current standard HTTP 1.1 behaviour (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3).
HTTP provides 303 and 307 with slightly different semantics. The 302 code is effectively deprecated, usually being treated as if it were 303.

With a Post/Redirect/Get request, a See Other 303 is expected.
With a simple redirect, a Temporary Redirect 307 is expected.

Correct use of these improves the browser behaviour in subtle but useful ways, improving the user experience.
Therefore, the revel.Controller needs to be two methods (or one with another parameter). The existing Redirect method should send a 307 rather than 302. A new method ("SeeOther" perhaps) should send a 303 but otherwise be quite similar.

Fixed


Add MicroBurst

MicroBurst includes functions and scripts that support Azure Services discovery, weak configuration auditing, and post exploitation actions such as credential dumping.
This PR is blocked until #269 is resolved.

ready to be merdged upon approval

@Menn1s, @day1player, @skollr34p3r bump on the review


fix: replaced match with if let

Description
Replaced "match" with "if let" to eliminate the clippy message. This has been built and tested.
This PR fixes #265

LGTM! :jack_o_lantern:

Great workl @Markaeus :sparkle:


Cache Messages to ConsumerPointer when consumer is connected for the first time

Consumers when are connected for the first time with InitialPoistion Earliest, Before sending all messages, store pointers as unacked to Pointers db of consumer

Merged with v2.1/main


Cleanup the doxygen documentation

This unifies the doxygen style as javadocs and adds the missing documentation fields. A preview of the generated documentation is available here.

LGTM

Thanks for slogging through this! We probably don't need to start a formal checklist just yet, but to maintain this level of documentation we need to make sure that all PRs from here on out have Doxygen comments for new/updated functions, classes, etc

The vscode doxygen plugin helped a bunch!

LGTM


U03 2 carrousel

Home page is freshly painted, carrousel and css styling included.

very good job but you have 2 console.info in your Carousel.jsx ! line 10 and 11

Good eye !
Fixed :)