Create article "Embed web content into native applications"

Commit of unfinished file for collaboration.

Docs Build status updates of commit 03b4cf5:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 39, Column 49: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/windows/win32/controls/create-a-button' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 39, Column 49: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/en-us/windows/win32/controls/create-a-button' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d684e07:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 39, Column 74: [Warning-file-not-found] Invalid file link: '../../../windows/win32/controls/create-a-button'.
Line 137, Column 45: [Warning-file-not-found] Invalid file link: '../../webview2/how-to/javascript'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit a8382b2:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 39, Column 74: [Warning-file-not-found] Invalid file link: '../../../../windows/win32/controls/create-a-button'.
Line 137, Column 45: [Warning-file-not-found] Invalid file link: '../webview2/how-to/javascript.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit a46f12e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 39, Column 74: [Warning-file-not-found] Invalid file link: '../../../windows/win32/controls/create-a-button'.
Line 137, Column 45: [Warning-file-not-found] Invalid file link: '../how-to/javascript'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 81d1d51:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 39, Column 74: [Warning-file-not-found] Invalid file link: '../../windows/win32/controls/create-a-button'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 574f182:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 39, Column 74: [Warning-file-not-found] Invalid file link: './windows/win32/controls/create-a-button'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 15bd8a8:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 39, Column 74: [Warning-file-not-found] Invalid file link: '../../../../windows/win32/controls/create-a-button'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 6efc4c3:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 22, Column 132: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/microsoft-edge/webview2/get-started/win32' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 22, Column 132: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/en-us/microsoft-edge/webview2/get-started/win32' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b8d9966:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:bulb:Suggestion
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 22, Column 132: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/get-started/win32' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit c7a124c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 22, Column 132: [Warning-file-not-found] Invalid file link: '../get-started/win32'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 8a95c1e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 73256a0:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:warning:Warning
View
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 60, Column 1: [Warning-code-block-indented] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit a254f5e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@vchapel - need to add TOC entry for this orphaned article, in WebView2 bucket.

Docs Build status updates of commit 89f527c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:x:Error

Details

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md

Line 297, Column 1: [Error-include-not-found] Invalid include link: '../includes/contact-webview-team-note.md'.
Line 291, Column 79: [Warning-file-not-found] Invalid file link: 'reference/win32/icorewebview2'.
Line 291, Column 142: [Warning-file-not-found] Invalid file link: 'reference/win32/icorewebview2'.
Line 291, Column 79: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: reference/win32/icorewebview2?view=webview2-1.0.992.28#addhostobjecttoscript. Otherwise, remove the view parameter.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 44c08cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:white_check_mark:Succeeded
View

microsoft-edge/webview2/media/ScenarioWebMessaging.png
:white_check_mark:Succeeded
View

microsoft-edge/webview2/media/postmessagejson.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit f4acbee:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

microsoft-edge/webview2/how-to/communicate-btwn-web-native.md
:white_check_mark:Succeeded
View

microsoft-edge/webview2/how-to/javascript.md
:white_check_mark:Succeeded
View

microsoft-edge/webview2/media/ScenarioWebMessaging.png
:white_check_mark:Succeeded
View

microsoft-edge/webview2/media/postmessagejson.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Action Runner tries to run Python3 code in Python2

SUMMARY
We have 2 internal packs affected by this bug. We don't have Python2 code and all our internal packs are Python3 but for some reasons Stackstorm tries to run actions in Python2. We didn't change anything in actions and we didn't have this problem 2 months ago.
packs.yaml:
---
name: [REDACTED]
description: [REDACTED]
version: [REDACTED]
author : [REDACTED]
email : [REDACTED]
python_versions:
  - "3"

STACKSTORM VERSION
st2 3.2dev (f876c15)
OS, environment, install method

Stackstorm Helm chart on Rancher (Kubernetes)

Steps to reproduce the problem
Example Action:
from typing import Optional, Dict
import requests
from st2common.runners.base_action import Action

class UserAction(Action):
    def run(self, url: str) -> Optional[Dict[str, str]]:
        r = requests.get(url)
        return r.json() if r.status_code == 200 else None

Expected Results
{"data": REDACTED}
Actual Results
Traceback (most recent call last):\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_action_wrapper.py\", line 237, in _get_action_instance\n    actions_cls = action_loader.register_plugin(Action, self._file_path)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2common/util/loader.py\", line 167, in register_plugin\n    module = imp.load_source(module_name, plugin_abs_file_path)\n  File \"/usr/lib/python3.5/imp.py\", line 172, in load_source\n    module = _load(spec)\n  File \"<frozen importlib._bootstrap>\", line 693, in _load\n  File \"<frozen importlib._bootstrap>\", line 673, in _load_unlocked\n  File \"<frozen importlib._bootstrap_external>\", line 661, in exec_module\n  File \"<frozen importlib._bootstrap_external>\", line 767, in get_code\n  File \"<frozen importlib._bootstrap_external>\", line 727, in source_to_code\n  File \"<frozen importlib._bootstrap>\", line 222, in _call_with_frames_removed\n  File \"/opt/stackstorm/packs/REDACTED/actions/src/get_response.py\", line 7\n    url: str\n         ^\nSyntaxError: invalid syntax\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_action_wrapper.py\", line 333, in <module>\n    obj.run()\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_action_wrapper.py\", line 191, in run\n    action = self._get_action_instance()\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_action_wrapper.py\", line 244, in _get_action_instance\n    raise exc_cls(msg)\nSyntaxError: Failed to load action class from file \"/opt/stackstorm/packs/REDACTED/actions/src/get_response.py\" (action file most likely doesn't exist or contains invalid syntax): invalid syntax (get_response.py, line 7)\n\nTraceback (most recent call last):\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_action_wrapper.py\", line 237, in _get_action_instance\n    actions_cls = action_loader.register_plugin(Action, self._file_path)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2common/util/loader.py\", line 167, in register_plugin\n    module = imp.load_source(module_name, plugin_abs_file_path)\n  File \"/usr/lib/python3.5/imp.py\", line 172, in load_source\n    module = _load(spec)\n  File \"<frozen importlib._bootstrap>\", line 693, in _load\n  File \"<frozen importlib._bootstrap>\", line 673, in _load_unlocked\n  File \"<frozen importlib._bootstrap_external>\", line 661, in exec_module\n  File \"<frozen importlib._bootstrap_external>\", line 767, in get_code\n  File \"<frozen importlib._bootstrap_external>\", line 727, in source_to_code\n  File \"<frozen importlib._bootstrap>\", line 222, in _call_with_frames_removed\n  File \"/opt/stackstorm/packs/REDACTED/actions/src/get_response.py\", line 7\n    url: str\n         ^\nSyntaxError: invalid syntax\n\n

How py3 prerequisites are configured in your environment to be able to run python3 packs?
See https://docs.stackstorm.com/packs.html#using-python-3-for-pack-python-virtual-environment

Hi @armab ,
Thanks for your reply. This is the command how we install our packs
RUN /opt/stackstorm/st2/bin/st2-pack-install ${PACKS} --use-python3 --force

Per https://docs.stackstorm.com/packs.html#using-python-3-for-pack-python-virtual-environment this is not enough, you have to install and configure python3 in your st2 environment as well.
See:
https://github.com/StackStorm/st2/blob/a643ba7a32f8908237c715b87a223c08743df578/conf/st2.conf.sample#L17-L22

Looks like the issue was with StackStorm environment/configuration around python 3.
Closing due to no additional details provided. Feel free to re-open and provide more details if you're still experiencing this problem.


Feature request: Add CUDA unified memory support.

I commonly run out of my 8GB of VRAM on my GPU. It would be nice to be able to use CUDA unified memory (shared video memory with system ram for anything that doesn't fit in vram). I've tried looking for this feature, but it appears like Jax doesn't support it.
I would love if this feature could be added to Jax, because it would greatly speed up processing.

It's possible we could support this, but one thing I will note is that unless your hardware has unified memory this may be significantly slower (think ~10x) than explicitly copying arrays to GPU as you need.
Can you say a bit more about the use case? What kind of model do you want to run? How large are the weights and inputs? Which arrays do you want to keep on CPU?

Maybe I misunderstand the question, but does this not work already with the environment variables XLA_PYTHON_CLIENT_MEM_FRACTION=4.0 TF_FORCE_UNIFIED_MEMORY=1?
Or are these flags not meant t be used in this way? I found them by reading the jax and tensorflow source code.
If I run the following code without these variables set, it crashes on the allocation. But with the variables set it sccessfully runs through on a RTX3090 (24 GiB) with  jax=0.2.24 and jaxlib==0.1.73+cuda11.cudnn82:
#run with  XLA_PYTHON_CLIENT_MEM_FRACTION=4.0 TF_FORCE_UNIFIED_MEMORY=1
import jax
import jax.numpy as jnp

print(jax.devices())
shape = (2**16, 2**16,2)
print(shape)
arr = jnp.ones(shape)
print("{} GiB".format(arr.nbytes/1024**3))
arr.block_until_ready()

arr += 5
print(arr[5])

and prints the output:
[GpuDevice(id=0, process_index=0)]
(65536, 65536, 2)
32.0 GiB
[[6. 6.]
 [6. 6.]
 [6. 6.]
 ...
 [6. 6.]
 [6. 6.]
 [6. 6.]]

It runs really slow so I am not sure how much it really helps when exceeding the VRAM size (at least with a single array). But these flags also help if you only come close to the memory limits. The above script for example does not run with a 16 GiB array on the mentioned RTX3090 wihout those flags.

@hawkinsp It looks like Tim Dettmers' new work on low-memory finetuning uses this feature as a necessary component of getting larger models to train on smaller GPUs: https://arxiv.org/abs/2305.14314
I assume the environment variable approach stated here won't be sufficient since it doesn't allow fine-grained control over which parameters can be offloaded.


parameter behavior during Prior.constrain

Seems to be upstream from the preliz.maxent. Is there a version restriction required?
# Works
Prior("Normal").constrain(lower=-2, upper=2)
Prior("Normal", mu=0).constrain(lower=-2, upper=2)
# Doesn't work
Prior("Normal", mu=0, sigma=1).constrain(lower=-2, upper=2)

Think there was a change of behavior, the previous parameters acted as the initial points

We should add a test :)

We should add a test :)

Not documented anywhere either. Do you have any thoughts on behavior? We can go with whatever is most intuitive

PreliZ's maxent does not need the user to specify an initial guess.
The parameters that you pass to Prior are considered fixed parameters, not initial guesses. In the last example both parameters mu and sigma are fixed, with nothing left there to optimize.
This behaviour is documented in the docstring for constrain and in this notebook https://github.com/pymc-labs/pymc-marketing/blob/main/docs/source/notebooks/general/model_configuration.ipynb

It is already in the docsring https://github.com/pymc-labs/pymc-marketing/blob/main/pymc_marketing/prior.py#L772-L780.
Thanks for the kind comment about  prior explorer, it still needs some polishing, but I already find it useful.

PreliZ 0.9.1 has been released. Thanks for offering feedback about PreliZ.

Oh, nice. Thank you for quick adjustments. Will close this for now then


1.19.2 nightblood edits

I'm attempting to modify the entities that can be one-shot with nightblood in 1.19.2, though I don't see the branch for 1.19.2 here to rebuild the jar. How might I accomplish this task? Alternatively, is there a way to disable the enchantment altogether?

You don't need to rebuild the mod. Just make your own mod/datapack with the stuff for Nightblood in the modpack section. If you wish to replace the list entirely just set the replace field to true.

Understood. Thank you very much your help!


Can you share your pretrained model?

thanks for your nice work

sure, I will share the pre-trained weights this week.

I can't download because permission is required to download the weights file.


Theano framework migrates to TensorFlow

Hi  ChihebTrabelsi,
I would like to do further work on the basis of your work, that is, want to embed the deep complex network into DCGAN (Deep Convolutional Generative Adversarial Networks), but DCGAN is implemented with tensorflow, and your complex network is using theano as k programms, and use theano.tensor.fft module to achieve Batched 1-D FFT, Batched 1-D IFFT, Batched 2-D FFT, Batched 2-D IFFT. Now I want to migrate your code to TensorFlow framework, how to use tf.fft, tf.fft2d achieve the same function. Hope to get your help? I will be grateful, thank you!

Hi, have you manged to migrate this code to TensorFlow? That would also help me a lot.
Thanks

TensorFlow port would be extremely useful! Theano and Kerosene are no longer maintained..


Current latest link is misspelled

Browsers and versions affected
All
Description
The link in the Github pages branch to the latest release (1.0.2) is titled 'lastest', not 'latest'.
http://webrtc.github.io/adapter/adapter-lastest.js
Steps to reproduce
Go to http://webrtc.github.io/adapter/adapter-latest.js
Expected results
http://webrtc.github.io/adapter/adapter-latest.js, see latest release
Actual results
http://webrtc.github.io/adapter/adapter-lastest.js is a valid link,
http://webrtc.github.io/adapter/adapter-latest.js is not a valid link

Thanks for reporting, fixed.


Using --reuse-values when upgrading a chart with a conditional requirement will still deploy hooks from the subchart

Output of helm version:
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4", GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean", BuildDate:"2018-06-06T15:22:13Z", GoVersion:"go1.9.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:05:37Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

I created a repository to reproduce this issue here
Sample output:
λ make                                                                                17:58:18
helm dep update ./root-chart
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "incubator" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Deleting outdated charts
kubectl delete jobs/root-chart-subchart
Error from server (NotFound): jobs.batch "root-chart-subchart" not found
make: [recreate] Error 1 (ignored)
helm delete --purge root-chart
Error: release: "root-chart" not found
make: [recreate] Error 1 (ignored)
helm install --name=root-chart --set=useSubchart=false ./root-chart
NAME:   root-chart
LAST DEPLOYED: Thu Jul 19 17:58:22 2018
NAMESPACE: default
STATUS: DEPLOYED

RESOURCES:
==> v1beta2/Deployment
NAME        DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
root-chart  1        0        0           0          0s

==> v1/Pod(related)
NAME                         READY  STATUS   RESTARTS  AGE
root-chart-58b7b7b589-572z7  0/1    Pending  0         0s

kubectl get jobs/root-chart-subchart
Error from server (NotFound): jobs.batch "root-chart-subchart" not found
make: [recreate] Error 1 (ignored)
helm upgrade --reuse-values --set=foo=bar root-chart ./root-chart
Release "root-chart" has been upgraded. Happy Helming!
LAST DEPLOYED: Thu Jul 19 17:58:22 2018
NAMESPACE: default
STATUS: DEPLOYED

RESOURCES:
==> v1beta2/Deployment
NAME        DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
root-chart  1        1        1           0          9s

==> v1/Pod(related)
NAME                         READY  STATUS            RESTARTS  AGE
root-chart-58b7b7b589-572z7  0/1    CrashLoopBackOff  1         9s

kubectl get jobs/root-chart-subchart
NAME                  DESIRED   SUCCESSFUL   AGE
root-chart-subchart   1         1            9s

This is similar to #2948 but might be a separate bug

Yup.

Closing as inactive. Please reopen if this is still an issue with more recent versions of Helm 3. Thanks.


Nonetwork during connection to Telos mainnet (desktop)

This is network object which tries to connect to scatter.
a {name: "", protocol: "https", host: "api.telosfoundation.io", port: 443, blockchain: "eos", …}
blockchain: "eos" (also tried telos and EOSIO with the same result)
chainId: " 4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11"
host: "api.telosfoundation.io"
name: ""
port: 443
protocol: "https"
token: null
__proto__: Object

Got this error with the standart example code (eosjs 20+)
{type: "no_network", message: "This user does not have this network in their Scatter.", code: 402, isError: true}
code: 402
isError: true
message: "This user does not have this network in their Scatter."
type: "no_network"
__proto__: Object

The network in scatter is established and account loaded, and also scatter succesfully performs actions from inside scatter desktop

Do you have the telos network enabled in Scatter?
The chainId in your codeblock also has a space in it. That might be causing it if you do have the network in there.


Custom filter select element starts with empty value

If you look at the example of the custom filtering on http://plnkr.co/edit/wKgf04?p=preview
The "name" select element is filled with both an empty and an "-" entry. Once you click on one of the items, the empty item disappears.
The default item should be "-" and there should be no empty item on top.

+1


Integrate with static site generator? Like Gatsby

Is your feature request related to a problem? Please describe.
Very promosing project but the exported code is 'somewhat' encrypted.
Is it possible to somehow export the generated layout in gatsby format like:
const IndexPage = () => (
  <Layout>
    <ComposerHero />
    <UseCases />
    <DividerSection />
    <SupportedBy />
    <DividerSection />
    <WallOfLove />
    <DividerSection />
    <Cta />
    <DividerSection />
    <Blog />
    <DividerSection />
    <Faq />
    <Footer />
  </Layout>
)

So you can use the program as a visual 'editor'
It would be nice if it would output in a compatible way to static site generators like gatsby.

YES. This would be SO MUCH WIN.
Ideally, Alva would output a Gatsby Theme. Imagine the power :boom:


CSS not loading on Ubuntu Precise

/stylesheets/common.css is not being loaded with package installed on Precise

Fixed in 6.1.2


[Modus-Table] Pagination is not working when enabled without refreshing

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have read the contributing guidelines

Describe the issue
The pagination of the modus-table is not working correctly when it get's enabled after the page loaded.
It looks like the 'showing result' and pages are rendered correctly, but the data in the table is never updated.
After a refresh of the web-page the pagination works like expected.
Reduced test cases
Steps to reproduce in storyboard canvas:

Open the default modus-table
Set the pageSizeList prop to [2,3,5]
Set the pagination prop to true
Pagination is shown, but not working correctly:

Before showing the pagination there is a short period in when it shows:  'Showing result NaN - NaN of 5' (see image).

Total count shows 'showing result 1 - 2 of 5', but table shows all 5 results.
Switching the page doesn't affect the result in the table
Switching the page view doesn't affect the result in the table

What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
No response
Priority
High
What product/project are you using Modus Components for ?
Nova / Construction calculation platform UI
What is your team/division name ?
ACDC
Are you willing to contribute ?
Maybe
Are you using Modus Web Components in production ?
No response

@cjwinsor Check if this is resolved with latest release

@janwiebe-glasbergen As of v22 this seems to be resolved. If you are still experiencing this issue, let me know and we can reopen the ticket and re-investigate.


Discussion: use of paket files dependencies?

Paket has a feature which allows to pull individual files from a github repository (http://fsprojects.github.io/Paket/github-dependencies.html).
Would that be useful to replace many of the files in this repository with known version of same file in visualfsharp repository?
For files which have delta with original compiler codebase, what is the drawback of having #ifdef put in visualfsharp repository? even if from time to time the build with those FCS defines could break, it would be easier to manage than a whole copy of the compiler codebase.

@smoothdeveloper  The integrations are relatively easy. I'd appreciate help with them and would be happy to show you the ropes.  I recently integrated across all the F# 4.1 work and it seems to have gone OK (the main issue is the MSBuild dependencies).
The main reason we have a different fork now is that there are bouts of feature development, bug fixing and releasing of FCS and it feels easier to do that in a separate repo.  Using links (even paket git links) sounds like a bit of a nightmare compared to a get merge, but maybe I'm just used to it.


Ian Campbell: Watch aliaddons.com

Ian Campbell requests the watch of the watch_keyword aliaddons\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

aliaddons\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Product-Deploy Week 34

@iliqportals Work in progress so don't be too harsh but feedback on the general direction is very much appreciated.

@iliqportals It's not perfect but I would like to merge it into develop in this state end of the day. Please provide me your feedback so I can adapt it before merging,


Minor fixes on lines 06 & 09

fixed link on paragraph 18

Thanks Dario/kant!  Sorry I am so clumsy, thanks for fixing these!


Adding security module(s)

We need to take into consideration and remove the following redundant code by adding a corresponding module to the Foca python package.

https://github.com/elixir-cloud-aai/cwl-WES/blob/dev/cwl_wes/security/decorators.py
https://github.com/elixir-cloud-aai/proWES/blob/dev/pro_wes/security/decorators.py

While addressing the same we need to keep in mind the following aspects

check for the required parameters that are essential to pass through the decorator
for unit tests relying on service/HTTP calls to identity provider, mock up responses in cases where valid token requirement is essential for the code to proceed.

This is a duplicate of https://github.com/elixir-cloud-aai/foca/issues/25, right?
If yes, you can add the above content as a comment there.


Update docker-ecr-config.json

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhay-krishna]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@abhay-krishna: Updated the following 2 configmaps:

build-setup configmap in namespace default at cluster prow-postsubmits-cluster using the following files:

key docker-ecr-config.json using file config/docker-ecr-config.json

build-setup configmap in namespace default at cluster prow-presubmits-cluster using the following files:

key docker-ecr-config.json using file config/docker-ecr-config.json

In response to this:

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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


Support for FreeBSD?

Could we get WAMR to provide cmake for freebsd. I browsed the source and go as far as that it is just not implemented yet. The interface needs to be implemented for that platform, AFAICS. Copying the Darwin config might be a good start?
See https://github.com/fluent/fluent-bit/issues/6289#issue-1425488799 for details.
Thanks!
Palle

Thanks for bringing this issue to our attention, I will start looking into it.  Hopefully, I can make it works in the next few days. :smile:

I follow the tutorial I mentioned, get it able to compile on FreeBSD, and push the code to my fork. I will start some further testing in the next few days. Meanwhile, I would appreciate it if you could try it too and tell me any problem you encounter. @girgen :laughing:

https://github.com/bytecodealliance/wasm-micro-runtime/pull/1825 pr for FreeBSD support was merged, any more suggestions or questions?

Looks great, AFAICT. Thanks!


Compress aggregator.png

6389 -> 2547 bytes
It's a minor thing, but since this image doesn't change I thought I'd compress it. Feel free to pass on this :)
PS. There's a slight color shift, but (subjectively) it looks better now.

Hi @XhmikosR how've you been?  Good PR!  Merging.


Remove extra jobLabel

Description of the change:
Motivation for the change:
Architectural changes:

Testing remarks:

Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Bug fixes are accompanied by regression test(s)
[ ] e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
[ ] tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
[ ] Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky and have an issue
[ ] Code is properly formatted

Thanks for the submission @maticue
/ok-to-test

@maticue could you please fix the DCO check and rebase?

@maticue due to the DCO issue, I cannot merge. I've taken the liberty to clone your PR and resubmit it: #2951
I hope this is ok with you. I'm sorry about the delay, and thank you so much for your contribution!!!


Setup the project using react js and tailwind.

I would  like to solve this issue.
Please assign to me.


Images captions are wrong in Distributed Tracing task

https://istio.io/docs/tasks/telemetry/distributed-tracing.html

The images are also really tiny and hard to read unless I open in a new tab. And the notion of left and right is not correct (they're vertically stacked in the pic above and on my screen).

This bug can be closed.

Pro tip, next time put just "fixes #608" (without 'bug') and it will automatically close on merge


Add DLOG_SCOPE_FUNCTION define

DLOG_SCOPE_FUNCTION would allow the user to use a debug only enabled LOG_SCOPE_FUNCTION define. This can prevent unnecessary log messages while enabling the user to keep the scope functionality in debug only mode.

@emilk is this a feature you could support? We could use it in the logging of one our our products.
Kind regards,
Roberto Anic Banic
aconno GmbH


DBZ-5890 Fix artefact server container

https://issues.redhat.com/browse/DBZ-5890

@obabec ping, Could you please review?


Add support for the config file

This PR adds support for the config file.
This feature allows you to change the default values of stern options with the config file. The default config file path is ~/.config/stern/config.yaml. You can change it with --config flag or STERNCONFIG environment variable.
The options available in the config file are:

color
container-state
ephemeral-containers
exclude
exclude-container
exclude-pod
field-selector
include
init-containers
max-log-requests
namespace
only-log-lines
output
selector
since
tail
template
template-file
timestamps
timezone
verbosity

Closes #252

Sorry I had overlooked that this PR was in draft state.
I will check when draft state is over.

I will check when draft state is over.

@rkmathi  Now this PR is ready :pray:

@tksm I've updated this PR. Please review it again.

lgtm! 😸 :


[BUG] Cannot read properties of undefined (reading 'trim')

What happened?
Trying to create an offer with 5 NFTs. The screen went blank. Then showed an error.
Version
1.8.0-rc1
What platform are you using?
macOS
What ui mode are you using?
GUI
Relevant log output or stacktrace
Cannot read properties of undefined (reading 'trim')

URL
#/dashboard/offers/builder

Stacktrace
at webpack://@chia-network/gui/src/util/getNFTId.ts:6:25 getNFTId
at webpack://@chia-network/gui/src/components/nfts/NFTCard.tsx:35:30 NFTCard
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:172:114 useLayoutEffect
at webpack://@chia-network/gui/node_modules/react/cjs/react.production.min.js:23:112 useLayoutEffect
at webpack://@chia-network/gui/src/components/nfts/NFTCard.tsx:35:16 NFTCard
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:157:136 Ch
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:180:153 oi
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:178:168 ki
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:177:177 ii
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:274:125 k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=zg(-1,c&-c),l.tag=2,Ag(h,l));h.lanes|=c;l=h.alternate;null!==l&&(l.lanes|=c);sg

Proposing a PR https://github.com/Chia-Network/chia-blockchain-gui/pull/1695 for this issue.

Thanks for the report. This is fixed by https://github.com/Chia-Network/chia-blockchain-gui/pull/1704


change package name

close https://github.com/tidb-incubator/TiBigData/issues/37

change package name from com.zhihu.tibigdata to org.tikv.bigdata
update version from 0.0.1-SNAPSHOT to 0.0.2-SNAPSHOT
update Copyright from zhihu to TiKV Project Authors

I think the package name and copyright should belong to TiKV project instead of PingCAP.

I think the package name and copyright should belong to TiKV project instead of PingCAP.

/build

/build


Handling various errors

[x] Network.
[x] File write/delete (extract/install).
[x] Generic/Unhandled exception.

More robust solution for IO errors tracked in #33.

I'll give it a try and report


Do confound regression before rapidtide?

What would you like to see added in fMRIPost-Rapidtide?
Would it make sense to do the confound regression before running rapidtide? It seems like it happens pretty early in the workflow, and that step overwrites the fmri_data_valid array, so it might be worth doing.
Do you have any interest in helping implement the feature?
Yes
Additional information / screenshots
No response

This ties in with #11 (i.e., moving as many preparatory steps out of the rapidtide call as possible), but also I figured that we could plot FC inflation on the confound-denoised data if we do the confound regression separately from rapidtide.