Update GPU Plotter documentation

Renamed "Supported Platforms" to "Supported Platforms and Graphics Card Compatibility" for clearer representation of GPU support visually.

Revised the documentation wording to improve clarity and conciseness.

Added a "Known Issues" section to outline current issues and limitations.

Awesome, thanks @vexr!


MM-19823 : Remove raw URLs from translation strings

Summary
Removing the urls in the strings that need to be translated and adding them as a value.
So strings in which the url changes, will no longer be presented to translators for being translated.
Ticket Link
https://github.com/mattermost/mattermost-server/issues/19823
Related Pull Requests
Screenshots
Release Note
NONE

Hey @hmhealey,
this commit has most urls changed.
The translations will follow in a next commit.
Thank you for reviewing.

Regarding the translation strings in other files, do we want to try doing those now to save the translators the work of updating the links in other files as well, similar to what we did when updating those links to begin with? We could be causing the same issue we had happen before, although hopefully this should be the last time.

Hurray, code is working.
Next step: modifying the json-files with the translations so the modified strings aren't offered to the translators.

@hmhealey
I notice that even after running npm run i18n-extract only for strings are changed in en.json.
I suspected that all would have been changed to the new format. Am I missing something?

The files Makefile, build/Dockerfile are in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers

The files Makefile, build/Dockerfile are in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers

The files Makefile, build/Dockerfile are in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers

The files Makefile, build/Dockerfile are in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers

The files .circleci/config.yml, Makefile, build/Dockerfile are in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers

Closing in favour of the new PR


Any plans on adding a feature to create videos from images or other videos?

:D

Duplicate of https://github.com/pascalbaljetmedia/laravel-ffmpeg/issues/40


scoped_session call returns Any

Describe the bug
Calling scoped_session returns Any which is should not be the case
Expected behavior
A concrete type should be returned
To Reproduce
session_factory = sessionmaker(bind=create_engine("foo", future=True))
reveal_type(scoped_session(session_factory)())

Error
Revealed type is "Any"

Versions.

OS: Linux
Python: 3.7.1
SQLAlchemy: 1.4.22
mypy: 0.910
SQLAlchemy2-stubs: 0.0.2a6

Hi,
Thanks for reporting. If you could provide a pr it would be great

I can give it a try


add bits of FMD precision to chain params

Towards #1039

I'm not sure if this is the way to go -- the idea is for the FMD precision to be auto-adjusted according to transaction volume (exact mechanism TBD), so if we put it in as a chain parameter, we'll be potentially triggering a parameter update every epoch.
But, perhaps that's fine?
I don't think we currently have a mechanism to update chain parameters on the client.  So far I think the idea we'd discussed was to bundle a copy of the new ChainParams into a CompactBlock whenever they change.  This is simple, and I think it would work well for cases where parameters are changed infrequently, like as a result of governance votes.  Does it still work well if we're changing them potentially every epoch?  Does the answer to that change if we assume that epoch durations are longer than the tiny ones in our current testnet?
If we didn't use the ChainParams, how would the client learn about the precision?

I think this is fine to do for now, but I have another doubt, separate from the one above.
Currently, we don't have any chain parameters that are set by the chain, the chain parameters are all high-level config options.  Since the idea is for the FMD precision to be auto-adjusted according to transaction volume, it's likely that we'll have some parameterization, e.g., length and decay for an EWMA of message volume, target anonymity set, etc., and those parameters might need to be adjusted. I think it would make more sense to put those parameters (whatever we decide them to be) into the ChainParams, and then have the bit sizes actually used for FMD be derived from them.  Otherwise, we'll end up having the chain parameters be a mix of configuration options and configuration-derived data.
If we separated the FMD parameters, we'd need a new proto, and a way to embed that proto in the CompactBlock, but this doesn't seem like any less work than what's required for #1221.

Closing in favor of https://github.com/penumbra-zone/penumbra/issues/1226


Add typescript kind.

Description
This add file/runtime kind recognition for Typescript. While AIO may not support it, it permits the CLI to be used with other deployments. The API server should reject any runtime that is not supported by the deployment.

Related Issue
Closes #211.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

There is a ts runtime https://github.com/apache/openwhisk-runtime-nodejs/tree/master/core/typescript37Action.
There’s some doc work needed before adding to the runtime manifest https://github.com/apache/openwhisk/issues/4872.

There is a ts runtime https://github.com/apache/openwhisk-runtime-nodejs/tree/master/core/typescript37Action.
There’s some doc work needed before adding to the runtime manifest https://github.com/apache/openwhisk/issues/4872.

Understood. Thx for the info @rabbah . Merging.

Understood. Thx for the info @rabbah . Merging.


Source files

Why do you have two source files first_fit.cpp and first_fit_v2.  Which one are we supposed to use?
By the way, it is a bad idea to scatter your source files in the root folder.  The usual practice is to collect them together in a folder called src

Why are there two versions.  There should only be the latest.  GIT will look after the older versions - that is why it is called a version control system.

Why do you have executable files in your src folder?

I shall move the exe files outside the src. Thank you for pointing

Why not do it right away?  It takes two seconds to delete two files.  It should not take you days to do the simplest things.
You need to use GIT to do version control for you.  There is absolutely no need to keep anything more than the latest version.


customSize not respected in Firefox after initial render

Describe the bug
The icon gets gigantic if you try to inspect it or the page re-renders in Firefox. The default for icons is auro-size-lg (24px x 24px) but the icon gets exponentially larger than that, then eventually shrinks down to the default size (which is still larger than the customSize I'm trying to apply)
To Reproduce
Steps to reproduce the behavior:
See GIF below
Expected behavior
The icon should not change size unless I tell it to.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser: Firefox
Version: 99.0.1

Additional context
Add any other context about the problem here.

This is going to be super hard to reproduce with only a gif. Can you provide a minimal sample repo or code sample that reproduces the issue? Otherwise it's hard to know whether this is a component issue, a React issue, or something else entirely.

Sure thing

@DZwell can you repo this issue wth the Auro doc site? https://auro.alaskaair.com/components/auro/icon
Like @geoffrich said, this is really hard for us to repro on our end.

It should also be noted that customSize isn't a functional property. This is only a CSS attribute.
https://github.com/AlaskaAirlines/auro-icon/search?q=customSize

I'm going to close this one for now as I'm having a hard time pinning down the exact repro steps. Also, since this only appears in Firefox and our FF user base is only around 4%, I don't feel like spending an inordinate amount of time on this. As always, thanks for the quick response!


end-effector: 1.0.4-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository end-effector to 1.0.4-1:

upstream repository: https://github.com/ADVRHumanoids/ROSEndEffector.git
release repository: https://github.com/ADVRHumanoids/ROSEndEffector-release.git
distro file: melodic/distribution.yaml
bloom version: 0.10.7
previous version for package: null

end_effector
* hotfix after the change of package name
* Contributors: Davide Torielli

old obsolete pull for reference: https://github.com/ros/rosdistro/pull/30917


Container Registry template broken link.

There is a broken link about the Container Registry template (https://github.com/Azure/azure-cli/blob/master/src/command_modules/azure-cli-acr/azure/cli/command_modules/acr/template.json) on the first question about Resource management (https://docs.microsoft.com/en-us/azure/container-registry/container-registry-faq#can-i-create-an-azure-container-registry-using-a-resource-manager-template).

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

ID: dd2815fa-0561-746d-b5c3-74ab098d0c25
Version Independent ID: de5ccc67-5698-2727-f1a6-16291ffebbe8
Content: Azure Container Registry - frequently asked questions
Content Source: articles/container-registry/container-registry-faq.md
Service: container-registry
GitHub Login: @sajayantony
Microsoft Alias: sajaya

@rockboyfor
Thanks for the feedback! We are currently investigating and will update you shortly.

@rockboyfor Replaced the broken link with the correct one
https://github.com/Azure/azure-quickstart-templates/tree/master/101-container-registry
Thanks for reporting


Declare visibility on all methods, move opening braces (fixes #44)

A straightforward commit for #44, little more to say about it.

Straightforward improvement, thanks!


Documentation

In the "Solver Option Guide", there are two sections labeled "Preprocess Options". The second such section should probably be relabeled to "Move Options".
https://snowberryfield.github.io/printemps/contents/solver_option_guide.html

@stumarcus314
Thank you for pointing that out. The appropriate section label for the section is "Neighborhood Options" and has been corrected.


feat: refactor code, add dependabot, and bump to v1.6.4

The following pull request bumps the decancer dependency to version v1.6.4 (closes #3). It also fixes a vulnerability that was fixed in version v1.6.3.
Other than that, this pull request also adds dependabot that makes sure your cargo dependencies are up to date every Sunday at 6am UTC.
Thank you for supporting decancer! ❤

A bit strange for you to merge the Pull Request immediately without letting me fix the unresolved failing tests, but thank you! <3

Yeah i had planned to just take care of it if it wasn't done by this evening. It ended up just being a python dev dependency issue, not even an issue with the tests or decancer. Thanks again for bringing it up to date.


Symbol not found: _deflate from grpc 1.12.0

What version of gRPC and what language are you using?
gRPC Version: 1.12.0              Python: 3.6.4 (From Anaconda)
What operating system (Linux, Windows, …) and version?
OSX (High Sierra)
What runtime / compiler are you using (e.g. python version or version of gcc)
Python: 3.6.4 (From Anaconda)
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
A simple grpc tutorial fails to run and fails on import.
What did you expect to see?
I expected the server to run.
What did you see instead?
python server.py
Traceback (most recent call last):
File "server.py", line 1, in
import grpc
File "/Users/satyajits/anaconda3/lib/python3.6/site-packages/grpc/init.py", line 22, in
from grpc._cython import cygrpc as _cygrpc
ImportError: dlopen(/Users/satyajits/anaconda3/lib/python3.6/site-packages/grpc/_cython/cygrpc.cpython-36m-darwin.so, 2): Symbol not found: _deflate
Referenced from: /Users/satyajits/anaconda3/lib/python3.6/site-packages/grpc/_cython/cygrpc.cpython-36m-darwin.so
Expected in: flat namespace
in /Users/satyajits/anaconda3/lib/python3.6/site-packages/grpc/_cython/cygrpc.cpython-36m-darwin.so
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?
None.

I tried this with virtualenv as well and the same issue exists as well. So its not Anaconda specific.

@mehrdada: would you be able to take a look at this in the next day or two?

Cannot reproduce on Python3 installed via brew:
Last login: Tue May 22 10:00:24 on ttys006
Carbon:~ m$ python3
-bash: python3: command not found
Carbon:~ m$ brew install python3
Updating Homebrew...
==> Auto-updated Homebrew!

Users are advised to use `pip` to install sphinx-doc.

If you need to have this software first in your PATH run:
  echo 'export PATH="/Users/m/Library/Homebrew/opt/sphinx-doc/bin:$PATH"' >> ~/.bash_profile

==> Summary
🍺  /Users/m/Library/Homebrew/Cellar/sphinx-doc/1.7.4: 2,642 files, 36.8MB
==> Installing python dependency: gdbm
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.14.1_1.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gdbm-1.14.1_1.high_sierra.bottle.tar.gz
🍺  /Users/m/Library/Homebrew/Cellar/gdbm/1.14.1_1: 20 files, 555.7KB
==> Installing python dependency: openssl
==> Downloading https://www.openssl.org/source/openssl-1.0.2o.tar.gz
######################################################################## 100.0%
==> perl ./Configure --prefix=/Users/m/Library/Homebrew/Cellar/openssl/1.0.2o_1 --openssldir=/Users/m/Library/Homebrew/etc/openssl
==> make depend
==> make
==> make test
==> make install MANDIR=/Users/m/Library/Homebrew/Cellar/openssl/1.0.2o_1/share/man MANSUFFIX=ssl
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /Users/m/Library/Homebrew/etc/openssl/certs

and run
  /Users/m/Library/Homebrew/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /Users/m/Library/Homebrew,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have this software first in your PATH run:
  echo 'export PATH="/Users/m/Library/Homebrew/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:
    LDFLAGS:  -L/Users/m/Library/Homebrew/opt/openssl/lib
    CPPFLAGS: -I/Users/m/Library/Homebrew/opt/openssl/include
For pkg-config to find this software you may need to set:
    PKG_CONFIG_PATH: /Users/m/Library/Homebrew/opt/openssl/lib/pkgconfig

==> Summary
🍺  /Users/m/Library/Homebrew/Cellar/openssl/1.0.2o_1: 1,784 files, 12.2MB, built in 5 minutes 40 seconds
==> Installing python dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-7.0.3_1.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring readline-7.0.3_1.high_sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /Users/m/Library/Homebrew,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only..

For compilers to find this software you may need to set:
    LDFLAGS:  -L/Users/m/Library/Homebrew/opt/readline/lib
    CPPFLAGS: -I/Users/m/Library/Homebrew/opt/readline/include

==> Summary
🍺  /Users/m/Library/Homebrew/Cellar/readline/7.0.3_1: 46 files, 1.5MB
==> Installing python dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.23.1.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring sqlite-3.23.1.high_sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /Users/m/Library/Homebrew,
because macOS provides an older sqlite3.

If you need to have this software first in your PATH run:
  echo 'export PATH="/Users/m/Library/Homebrew/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:
    LDFLAGS:  -L/Users/m/Library/Homebrew/opt/sqlite/lib
    CPPFLAGS: -I/Users/m/Library/Homebrew/opt/sqlite/include
For pkg-config to find this software you may need to set:
    PKG_CONFIG_PATH: /Users/m/Library/Homebrew/opt/sqlite/lib/pkgconfig

==> Summary
🍺  /Users/m/Library/Homebrew/Cellar/sqlite/3.23.1: 11 files, 3MB
==> Installing python dependency: xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.4.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring xz-5.2.4.high_sierra.bottle.tar.gz
🍺  /Users/m/Library/Homebrew/Cellar/xz/5.2.4: 92 files, 1MB
==> Installing python
==> Downloading https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/Users/m/Library/Homebrew/Cellar/python/3.6.5 --enable-ipv6 --datarootdir=/Users/m/Library/Homebrew/Cella
==> make
==> make install PYTHONAPPSDIR=/Users/m/Library/Homebrew/Cellar/python/3.6.5
==> make frameworkinstallextras PYTHONAPPSDIR=/Users/m/Library/Homebrew/Cellar/python/3.6.5/share/python
==> Downloading https://files.pythonhosted.org/packages/72/c2/c09362ab29338413ab687b47dab03bab4a792e2bbb727a1eb5e0a88e3b86/setupto
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/5d/c1/45947333669b31bc6b4933308dd07c2aa2fedcec0a95b14eedae993bd449/wheel-0
######################################################################## 100.0%
==> make html
==> /Users/m/Library/Homebrew/Cellar/python/3.6.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-script
==> /Users/m/Library/Homebrew/Cellar/python/3.6.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-script
==> /Users/m/Library/Homebrew/Cellar/python/3.6.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-script
==> Caveats
Python has been installed as
  /Users/m/Library/Homebrew/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /Users/m/Library/Homebrew/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
  brew install python@2

Pip, setuptools, and wheel have been installed. To update them run
  pip3 install --upgrade pip setuptools wheel

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /Users/m/Library/Homebrew/lib/python3.6/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /Users/m/Library/Homebrew/Cellar/python/3.6.5: 9,139 files, 154.7MB, built in 4 minutes 7 seconds
Carbon:~ m$ python3
Python 3.6.5 (default, May 22 2018, 18:03:28)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Carbon:~ m$ cd `mktemp -d`
Carbon:tmp.2cTF23AS m$ python3
Python 3.6.5 (default, May 22 2018, 18:03:28)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Carbon:tmp.2cTF23AS m$ python3 -m pip install virtualenv
Collecting virtualenv
  Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB)
    100% |████████████████████████████████| 1.9MB 9.4MB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-16.0.0
Carbon:tmp.2cTF23AS m$ python3 -m virtualenv .
Using base prefix '/Users/m/Library/Homebrew/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6'
New python executable in /private/var/folders/qx/zz09fcl11v9c1z9w3rh5g_jc0000gn/T/tmp.2cTF23AS/bin/python3.6
Also creating executable in /private/var/folders/qx/zz09fcl11v9c1z9w3rh5g_jc0000gn/T/tmp.2cTF23AS/bin/python
Installing setuptools, pip, wheel...done.
Carbon:tmp.2cTF23AS m$ bin/pip install grpcio
Collecting grpcio
  Downloading https://files.pythonhosted.org/packages/e3/c4/b984569ed8ccca0da7e4798632344243d41240908c338fb4c60d26d0af06/grpcio-1.12.0-cp36-cp36m-macosx_10_7_intel.whl (1.9MB)
    100% |████████████████████████████████| 1.9MB 3.5MB/s
Collecting six>=1.5.2 (from grpcio)
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Installing collected packages: six, grpcio
Successfully installed grpcio-1.12.0 six-1.11.0
Carbon:tmp.2cTF23AS m$ bin/python
Python 3.6.5 (default, May 22 2018, 18:03:28)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import grpc
>>> grpc.insecure_channel('localhost:13000')
<grpc._channel.Channel object at 0x100cffd30>
>>>

@ssarangi how did you get python3 installed on your OSX ?

@mehrdada the reporter was talking about anaconda as a distribution method. https://anaconda.org/anaconda/python - I don't think it's fair to use this label if you don't try to reproduce exactly :-)

Hi, as I mentioned I was able to reproduce this with both Anaconda as well as virtualenv... I haven't tried python via brew but I use Anaconda as the primary distribution. However, I see the same issue whether i use conda or pip to install grpc.

@nicolasnoble @ssarangi I assume the virtualenv was using plain Python; that's why I asked for reporter help with the reproduction? Is the virtualenv using Anaconda as well?
I don't believe we actively test for Anaconda or other variants of Python. If you can only reproduce with Anaconda, I suggest filing the bug with the Python distribution.

virtualenv was indeed plain python. Also this doesn't look like a distribution bug since dlopen for cgrpc shared library can't find the _deflate method so this seems more like an issue with grpc rather.

@ssarangi  As a potential workaround, can you ask pip to force install grpcio from source and see if it works?

Where do I get the Python you used for virtualenv to try repro?

@mehrdada I just used regular pip once I activated the virtualenv. Let me try to build grpcio from source.

@mehrdada I just tried building and installing from source and still see the same issue. I had uninstalled the pip version and verified that and then built from source.

So I guess it means it's all from anaconda. Meaning that the virtualenv is provided by it too.

We had a similar internal bug about Anaconda specifically (b/76345760) and supporting Anaconda was deemed Infeasible by @nathanielmanistaatgoogle and closed. But if a Python binary fetched from brew or https://www.python.org/ reproduces this behavior, we should certainly look at it.

I did look at that bug. I was surprised that virtualenv did work though. I will try it out on a non-anaconda distro on osx and report back.

Have you resolved this problem?

I solved it by using this command：
$ conda install grpcio
because I found that my anaconda hasn’t installed grpc ;)

Try adding from concurrent import futures before import grpc.

@im-sure also worked for me, thank you!

I was importing grpc first, but after moving "from concurrent import futures" above it, it seems to work fine. Thanks for the fix @wandering007

thank you @wandering007 It works

@wandering007 This is amazing.
I'm running TF Serving MNIST example. Put import grpc after
from tensorflow_serving.apis import predict_pb2
from tensorflow_serving.apis import prediction_service_pb2_grpc
import mnist_input_data

resolves this error.


Improve chainerx import check

#7518 has disabled the following:

Check out the source code and import chainer without pip install.
pip install chainer in non-editable mode (with/without chainerx) and import chainer from the source root directory.

\1. should be supported. In 2., we should give more comprehensible error.

\1. might not be achievable because it's inherently impossible (probably) to distinguish between 1. and 2.


Prevent error during db drop command

This should be caught and not displayed to user, it's misleading...
Error: ENOENT: no such file or directory, lstat '...'

spent 30m


Tenant level control on/off switch shows it will be removed by May 2018, but it's still there.

Is there an updated date for when the tenant level control on/off switch will be removed?

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

ID: cccdd91a-7f05-abd5-ed94-e82152b86914
Version Independent ID: 3532d0a8-119c-f7d0-0d4f-a865ad32570f
Content: Manage user access to Microsoft Teams
Content Source: Teams/user-access.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@islubin - this doc states the below as @soyalejolopez  noted. Should I update this document?
Note
Tenant-level control of the on/off status for Teams is temporary and will be removed by May 2018. At that time, access to Teams will be controlled via user-level licensing only. To learn more, see Manage user access to Microsoft Teams.

@soyalejolopez - confirmed the date is moved to through July. I updated article to say it will be removed beginning of August. It should be live shortly. Thanks for catch and the feedback on this!


Cgo code is impossible to compile no matter what i've tried

Go version
go version go1.22.1 windows/amd64
Output of go env in your module/workspace:
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\bougara computer\AppData\Local\go-build
set GOENV=C:\Users\bougara computer\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\bougara computer\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\bougara computer\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.22.1
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=C:\Users\bougara computer\Desktop\workspace\abde\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\BOUGAR~1\AppData\Local\Temp\go-build3560851944=/tmp/go-build -gno-record-gcc-switches

What did you do?
i was trying to create a dll file for calling a function , at first glance i haven't understand why but later i've noticed that each time i add the 'import "C" 'line
this message appears as a warning over the package main line  even when the go.work file exists and it's there :
the This file is within module ".", which is not included in your workspace.
To fix this problem, you can add this module to your go.work file
and when trying to do a run or a build it refuses saying : go: no Go source files (and beleive me there is Go files there)
my code :
``
package main
import (
"C"
"encoding/json"
"log"
"os"
)
type PromptData struct {
Act    string json:"act"
Prompt string json:"prompt"
}
//export ReadDataFromFile
func ReadDataFromFile(filePathPtr *C.char) *C.char {
filePath := C.GoString(filePathPtr)
// Read JSON file
fileContent, err := os.ReadFile(filePath)
if err != nil {
log.Fatalf("Error reading JSON file: %v", err)
return nil
}
// Decode JSON
var prompts []PromptData
if err := json.Unmarshal(fileContent, &prompts); err != nil {
log.Fatalf("Error decoding JSON: %v", err)
return nil
}
// Convert prompts to JSON string
jsonData, err := json.Marshal(prompts)
if err != nil {
log.Fatalf("Error encoding JSON: %v", err)
return nil
}
return C.CString(string(jsonData))
}
func main() {
// This is needed to compile the program as a shared library
}
``
this code was working normally and compiling to a dll file previously  using this command :
go build -o example.dll -buildmode=c-shared example.go
note that i was able to compile the code without issues in a previous version of go (i'm not sure wich one but it was the latest at the time in the last 6 months )
so this issue begins after using 1.22.1 this morning
What did you see happen?
the code is impossible to compile : go: no Go source files
What did you expect to see?
i expect the code to compile normally as it was doing previously in the previously go version
i hope this may get someone attention and guide me to solve it

Your environment shows that CGO_ENABLED is 0, which means that the go tool ignores all files that use import "C".

@ianlancetaylor
thank you my brother
it looks like when updating the go version ,all of the previous configuration will be deleted and replaced with default values also i had to change my gcc compiler into a new version .


Lisensing

Licensing pages for .NET, Java, NodeJS

@Pavel-A-Sokolov
Please change the page URL to conform to a page title e.g.  page title Licensing and evaluation and URL is viewer/java/licensing-and-evaluation. The previous URL please add as an alias.  Thanks

@vladimir-litvinchik
Done


feat: back targetingKey with internal map

Use the internal dictionary for the targetingKey.
This is non-breaking from a compiler perspective. It could result in some behavioral changes, but IMO they are largely desirable.
Fixes: https://github.com/open-feature/dotnet-sdk/issues/235

@Kavindu-Dodan adding you since you opened the issue and implemented it in Java.


I make my own Network to train machine and data is used Mnist But it's give Low accuracy and somtimes my softmax code not working as well.. so please tell me what's wrong with my code....

somtimes softmax give null value after updating weights so it's throw divison by zero error please check my code and tell me what's wrong with it.
Used: python 3.6.5
import numpy as np
import gzip
import math
IMAGE_SIZE = 28
def sigmoid(x):
# return (2 / (1 + np.exp(-2 * (x)))) - 1
return 1.0 / (1.0 + np.exp(-x))
def derivation_sigmoid(x):
# return 1 - (x ** 2)
return x * (1.0 - x)
def softmax(x):
# print np.sum(np.exp(x))
return (np.exp(x)) / (np.sum(np.exp(x)))
def extract_data(filename, num_images):
with gzip.open(filename) as bytestream:
bytestream.read(16)
buf = bytestream.read(IMAGE_SIZE * IMAGE_SIZE * num_images)
data = np.frombuffer(buf, dtype=np.uint8).astype(np.float32)
data = data.reshape(num_images, IMAGE_SIZE, IMAGE_SIZE, 1)
return data
def extract_labels(filename, num_images):
with gzip.open(filename) as bytestream:
bytestream.read(8)
buf = bytestream.read(1 * num_images)
labels = np.frombuffer(buf, dtype=np.uint8).astype(np.int64)
return labels
def derivation_cross(x, y):
return -1 * ((x * (1 / y)) + (1 - x) * (1 / (1 - y)))
def derivation_softmax(x):
tem = sum(np.exp(x)) ** 2
# print tem
tem1 = sum(np.exp(x))
a = []
for i_ in range(len(x)):
t1 = (np.exp(x[i_]) * (tem1 - np.exp(x[i_]))) / tem
a.append(t1)
return a
train_data_filename = "/home/rootpranav/Downloads/train-images-idx3-ubyte.gz"
train_data = extract_data(train_data_filename, 60000)
train_data_label = "/home/rootpranav/Downloads/train-labels-idx1-ubyte.gz"
tarin_data_label_1 = extract_labels(train_data_label, 6000)
input_array = []
counter = 0
input_neurons = train_data.shape[1] * train_data.shape[1]   # Number of Feature
out_neurons = 10
hidden_layer_nurons = 15
lr = 0.1
bias_hidden = np.ones((15, 1))
bias_output = np.ones((10, 1))
wih = np.ones((15,784))
who = np.ones((10, 15))
def neural_network(wih, who, train_data, tarin_data_label_1):
for e_ in range(0, 1000):
for da_ in range(900, 980):
        c_error = []
        m1 = np.matrix((train_data[da_]))
        m2 = np.reshape(m1, (784, 1))
        m2 = ((m2 * 1) / 255)

        hidden_sigmoid = sigmoid((np.dot(wih, m2)))
        output = (np.dot(who, hidden_sigmoid))
        output_softmax = softmax((np.dot(who, hidden_sigmoid)))

        index = tarin_data_label_1[da_]
        for i in range(0, 10):
            if i != index:
                c_error.append([0])
            else:
                c_error.append([1])

        a1 = np.array(c_error)
        a2 = np.array(output_softmax)

        # This is for Hidden -> Output change weight
        cross_entropy_derivation = derivation_cross(a1, a2)

        # print cross_entropy_derivation
        softmax_derivation = derivation_softmax(output)
        sigmoid_derivation = derivation_softmax(hidden_sigmoid)
        sigmoid_derivation = np.reshape(sigmoid_derivation, (15, 1))

        m = np.reshape(softmax_derivation, (10, 1))
        d_output = cross_entropy_derivation * m

        who -= (d_output.dot(hidden_sigmoid.T))

        # this is for Hidden -> Input

        d_hidden = who.T.dot(d_output)
        d1 =  d_hidden * sigmoid_derivation
        wih -= d1.dot(m2.T)
        # print who[0]
        test = np.argmax(output_softmax)
        print test, index

neural_network(wih, who, train_data, tarin_data_label_1)

First I guess this should not be posted here. So you initialized the weights to ones like wih = np.ones((15,784)), which makes the network symmetric and hard to train. You should initialize the weights to small small random values.

Already Assigned same things check my code @nkcr7

when i start my above code after 1-2 iteration,my softmax function given Nan value to me so derivation of softmax give me division by Zero Error.How that i don't know. If @nkcr7 @karmel know then tell me what can i do??

You are posting it at wrong platform. It would be better if you can post it on stackoverflow as this is related to tensorflow related issues.

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Feedback: Code review by golangmalaysia

Click to expand feedback
https://github.com/allaboutevemirolive/trees-rs/blob/83639d35170f20902e2fc077f8fa8bb2998b7033/src/walk/visit.rs#L95
Here the internal error is swallowed and replaced by a vague error message. Would be better if it’s retained in your error type for easier debugging.
And Result::map_err might be useful here.

https://github.com/allaboutevemirolive/trees-rs/blob/83639d35170f20902e2fc077f8fa8bb2998b7033/src/walk/visit.rs#L71
Can just return references to borrowed values like Option<&Path> and let users clone or to_owned or whatever. Same to other accessors.

https://github.com/allaboutevemirolive/trees-rs/blob/83639d35170f20902e2fc077f8fa8bb2998b7033/src/render/buffer.rs#L10
When I see IntoXxx, I would expect a method receiving self not &mut self. Try a better name?

https://docs.rs/serde_with/3.8.1/serde_with/struct.DisplayFromStr.html
try this

Ivan:
Replace Box with anyhow

Not sure if being parallel would be useful, maybe can look into rayon par_bridge.

#[derive(Debug)]
pub struct Buffer<W: Write> {
    pub bufwr: io::BufWriter<W>,
}

stdout is buffered, no need to do double buffering.

If you want to make it faster, can try to reduce allocations by not allocating within a loop.
2 collect there in one place, maybe can try to put vec in outer function and reuse it to reduce allocations.
This part I think can try to use rayon scope to parallelize stuff and make it faster, but not sure how easy.

Also this doing unnecessary work to first serialize it to json and then modify the json. But this is not on the hot path so doesn't really matter.

Ang:
You use visitor pattern to iterate through the d(ir)ents.
The terms are orthogonal, not interchangable.
Represent[ing] an operation to be performed on elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.

Yeah, I don't see how that applies to ls-tree. (without over complicating things. You're just doing a treewalk)

why you hardcode unix permissions, when you don't need it to render a tree?
allaboutevemirolive: I guess this is where github workflow failed to build for windows :)

Dates not in ISO format.

Dates not in ISO format.

Tracker

[x] #9
[x] #18
[ ] When I see IntoXxx, I would expect a method receiving self not &mut self. Try a better name?
[ ] try this: https://docs.rs/serde_with/3.8.1/serde_with/struct.DisplayFromStr.html
[x] #13
[ ] Not sure if being parallel would be useful, maybe can look into rayon par_bridge.
[ ] stdout is buffered, no need to do double buffering.
[ ] If you want to make it faster, can try to reduce allocations by not allocating within a loop. 2 collect there in one place, maybe can try to put vec in outer function and reuse it to reduce allocations. This part I think can try to use rayon scope to parallelize stuff and make it faster, but not sure how easy.
[x] Also this doing unnecessary work to first serialize it to json and then modify the json. But this is not on the hot path so doesn't really matter.
[ ] You use visitor pattern to iterate through the d(ir)ents. The terms are orthogonal, not interchangable.
[ ] why you hardcode unix permissions, when you don't need it to render a tree?
[ ] Dates not in ISO format.

See PR #19.


Build on c

@SrNetoChan we finally have a mechanism to request builds on C without having to fix that every re-render. This does not need to produce a new package BTW, and we should backport to the LTR branch.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@isuruf already did it for the LTR in https://github.com/conda-forge/qgis-feedstock/commit/3f0aeece87b25e44be707ad0800741667107f168
Merging this even with the failing CIs b/c the goal is not to fix those conflicts at the moment, just avoid the manual editing of the config files in a next re-render.

Great work. Thanks!!


Fix Data Grid Dragging Issues

Q
A

Bug fix?
[X]

New feature?
[ ]

New sample?
[ ]

Related issues?
none

What's in this Pull Request?
Fix issue with data grid dismissing when user drags across child controls

Thank you @araver for the fix!


Clarify the documentation on the generated Error type and unhide ErrorKind element

It's a bit odd that this tuple struct has:

Documentation hidden on a member where the underlying type is not hidden.
Number of elements and documentation count a bit off as when it was
hidden there were two hidden elements in the tuple struct signature
but the documentation text says there are three things in the
Error?
The first hidden element of the tuple struct is used prominently in
the lib.rs documentation for pattern matching nested errors but it's
hidden. If it's to be consumed by users, documentation on it should
probably not be hidden. The Error tuple struct should be less opaque
here.

Thanks, it described the old behavior.


"Claims not verified" error message to change

Context
AC

Given
When
Then

Test steps

@JasminFarhi Need more details

Change the error text from "Verification not found" to "The required claims have not been verified. Please verify these claims on the profile page first."

Given the user has their mobile, name, and email claim is filled in but is not verified.
When they click "Sign Up" on an exchange (GPIB) then the new error message will show.
Then they won't be able to sign up.

This whole flow will change with GreenID.  If the user doesn't have their name verified, we will do so "on the fly" for GPIB.


Add example on how to set id and rdf type

the common datalayer 0.2.6 now supports a top level rdf type config, which should be preferred over this approach.


Incorporate Unit testing

Unit testing is intended to ensure expected behavior for individual functions. It's not intended to ensure expected behavior of large components or main functionality of the app/script, which would be considered integration testing. But the addition of unit testing should help prevent future bugs.
However, to be effective, new tests would need to be written for any new functions. We can discuss how this might work out in practice.
I've added a command to run the unit tests in the build script and abort the build if the unit tests fail. I think this is a good idea in theory. We'll have to see how it works out in practice.
Unit tests can be run locally if you pip install coverage, then run python -m coverage run -m unittest -b -v. Note: I had to re-build python 3.12 on my system because my original build didn't include an sqlite module needed by coverage. So the ensure-python.sh script has been modified to make this work correctly.

You can drop https://github.com/FaithLife-Community/LogosLinuxInstaller/pull/89/commits/eff4d998ad90375314674627230a600e80817ac1.

dropped redundant commit, rebased on current main, and squashed the rest


fix: infinite dash

Refactored playerMoveScript to improve code readability, removed unnecessary booleans and checks, simplified logic.
Dash is now working without issues, no more linear velocity after a dash.

-Right now the dash can be performed in the air, which I think is a good idea, but it's only working while falling down (not with the going up animation, double jump), as well that it's not doing the dash animation when this happens. -Dashing while perform the Jump attack is making the player fly to the moon, I think we should disable the dash while performing this attack. -Also, I think that teachers said that they wanted to dash lateraly while attacking, but right now, for example, if you are attacking an enemy with the joystick aiming to another direction, the dash will be performed towards the enemy.

I'll check this, thank you!

Marc teacher said it would be interesting to have no cooldown in the dash as it would maybe feel funnier, as well he said that maybe being inmune while dashing was a good idea. Should we implement that?

Removing the cooldown is easy, the other part I don't know it yet

Marc teacher said it would be interesting to have no cooldown in the dash as it would maybe feel funnier, as well he said that maybe being inmune while dashing was a good idea. Should we implement that?

Removing the cooldown is easy, the other part I don't know it yet

Just control in the health that the player takes damage if it's not dashing, it should be pretty easy.

Building on Uri's comment, you can actually patch into the player's health system immortal setting, and just flip it on, that way the player shoudn't take any damage while dashing

Marc teacher said it would be interesting to have no cooldown in the dash as it would maybe feel funnier, as well he said that maybe being inmune while dashing was a good idea. Should we implement that?

Removing the cooldown is easy, the other part I don't know it yet

Bu the way, removing the cooldown is not only removing the cooldown, you also need to check that you are not dashing, to do that check the current animation is different from the dash

Hi Marc! First of all, thanks for your work in this pr, code looks good, let's talk about the funcionality.
The first thing that I noticed is that the dash changed from how it was when you and Peter developed it, idk if something changed during this past weeks, but it used to be instant and now it seems like you are just sliding on the floor (do you remember the reference about Jett? this is much different to how it was) what happened?
About Uri's comments, I mostly agree with all of them, dash should only be performed when we are not attacking (while attacking disable dash and vice versa), and a lateral dash would look really cool indeed! And regarding the teacher's feedback, having the dash without cooldown would make the game more dynamic, I would very much like that, but if we accomplish to make the dash to how it was before, because now it looks really weird imo. Idk about the immortality/not take damage while dashing, idk if the combination of dashing without cooldown and the dash making you invincible may make the game "weird".
P.S. If you don't remember correcly what I mean with the "old dash", I've rescued a branch (called it GamePlay/old-dash) and there, in the Gameplay_FinalBoss scene you could check how it should ideally work (and all the animations working accordingly and in order), any doubt you may have feel free to contact me!

Hi Mark! In order to solve the infinite dash issue, I had to refactor the file, and to remove a linear velocity that probably is the cause of the behaviour you experienced. I'll try my best to have a dash with the same feeling using an impulse.
I'm working on the lateral dash. I decided to keep the PR in draft until I make the lateral dash, although I usually prefer to develop features in independent branches. The cooldown has been changed to 0.1s, which is the minimum I achieved to avoid spamming the key, because not having any cooldown was breaking Allura's animations. The teachers only asked us to make the cooldown shorter, not to remove it completely (at least this is what I have been told).
About the combination of dash with low cooldown and immortality during dash, this is something we should test and polish by playing.
Thank you for the branch reference, I'll take it to check what has happened.

Also I tried playing the level 1 with a controller and Bix never stops moving after I move the joystick of the controller towards the right unless I make her go left strongly, so idk if this may be a "me" problem but it's weird enough to bring it up.

And if you could direct this branch to game-programming instead of to develop, as this is related to gameplay and that way we keep this kind of stuff in that branch.

Thanks again for your work, Marc, this looks better than before. However, there are some aspects that I feel that must be addressed before merging this PR:

First of all, the animation of the dash is completely out of sync. IIRC, there are three animations involving the dash, DashingInit, DashingKeep and DashingEng, the expected behaviour when the dash key is pressed should be:

Stop input from the player because a dash is going to take place
Play the DashingInit animation
Once the DashingInit animation is played, play the DashingKeep animation at the same time that the dash functionality is triggered (the actual dash happens)
After the dash has happened and the player has moved the desired distance, play the DashingEnd animation
When the DashingEnd animation has stopped, accept movement/attack input from the player again.

That is how it was done in the past, and how is shown in the branch that I prepared for you (GamePlay/old-dash), so we should aim for a behaviour similar to that.

I checked the state machine with Diego and we made some changes in order to sync the animations with the dash, but probably the result is not what you expected... I'll check it again

The dash got completely disabled when jumping, why was that? Was anything causing an error that you could not fix? Although when you dash you should not be able to jump, when you jump you should be able to dash, giving the player more mobility.

I was told to disable the dash when jumping because it would break the playability of the parkour zones.

I like the feeling of having less cooldown on the dash, makes the game more dynamic and fun, gj with that!

Thank you Mark!

Also I tried playing the level 1 with a controller and Bix never stops moving after I move the joystick of the controller towards the right unless I make her go left strongly, so idk if this may be a "me" problem but it's weird enough to bring it up.

This can be a drift problem, so I suggest you to modify the values of 3200 that are inside moduleInput.cpp in order to see if this is solved by increasing the value.
These values go between 0 and 32767, 10% is what SDL recommended, but it can vary from a controller to another, so try 20% or 30% and let's see what happens. Uri explained me that something similar was happening to him, so maybe we can find a value that fits better all the controllers. This is something I can not test

I checked the state machine with Diego and we made some changes in order to sync the animations with the dash, but probably the result is not what you expected... I'll check it again

Thanks!  Right now it just feels like the animations are happening without concordance with the functionality, and that bothers me.

I was told to disable the dash when jumping because it would break the playability of the parkour zones.

Okay then, idk how it would break the playability having a dash you could use or not use, but if you were told that then np!

This can be a drift problem, so I suggest you to modify the values of 3200 that are inside moduleInput.cpp in order to see if this is solved by increasing the value.

Hopefully, it's not a controller problem because in other games I use it, the movement works well and it stays on point with the inputs I give, so not a drift from that part. I'll try to tweak the values whenever I try the game again, but knowing its just a me problem then I won't worry about it!

Okay then, idk how it would break the playability having a dash you could use or not use, but if you were told that then np!

I told him we can't make any changes to mobility at this point. If you have a dash in the air, all the jumping puzzles with the force box are useless, It's a lost design. These types of changes in mobility when you have parkour areas must be had from the beginning, so we can't have it.

The stateMachine explodes when I receive damage in Allura, I have checked and in develop it does not happen.

I told him we can't make any changes to mobility at this point. If you have a dash in the air, all the jumping puzzles with the force box are useless, It's a lost design. These types of changes in mobility when you have parkour areas must be had from the beginning, so we can't have it right now even if it's cool or better sensation, breaks other things. Also in Allura doesn't have any sense, the animation is a roll. We can't change that animations and the parkour at this point

Yea, Marc explained to me the situation after posting that message, it has sense why it's removed now. The only thing that "bothered me" (not a lot) is why it wasn't thought by who designed the parkout that the dash could be used while jumping, because we knew that the player would have a dash since day 1, but yes, as you said, there is nothing we could change now, and that's alright.

Yea, Marc explained to me the situation after posting that message, it has sense why it's removed now. The only thing that "bothered me" (not a lot) is why it wasn't thought by who designed the parkout that the dash could be used while jumping, because we knew that the player would have a dash since day 1, but yes, as you said, there is nothing we could change now, and that's alright.

Well, if the dash was intended to be used in the air it clearly wasn't specified properly because even the Allura animation is a roll...

Well, if the dash was intended to be used in the air it clearly wasn't specified properly because even the Allura animation is a roll...

Afaik we only have parkour in the first level, and the first level is Bix only, so no roll ;)


fiddler: Make the script editor work

Closes #4225

The registry keys are based on https://feedback.telerik.com/fiddler/1361507-failed-binding-error-when-selecting-customize-rules

@niheaven were you reviewing this?

No, I just resolve conflicts.
@sinloss

Sorry, but I cannot reproduce this on my machine which is -
Edition: Windows 10 Pro 19042.1288
Version: 20H2
OS build: 19042.1288

Is there any chance that you may provide some details?

@pratikpc @rashil2000 Could you please test this app? Maybe the bug is only occurred on my machine.

Works on Win 10

/verify


Specify consistency level for all the operations that are not specifi…

…ed before

Coverage increased (+0.06%) to 67.383% when pulling e4de75e1c3620e161e25b40995dce24bd22a88cc on consistency into fc00e427570292340fd0b924b017517e7d3cbf51 on master.


[Jira] Show target status when changing status

Extension
https://www.raycast.com/raycast/jira
Description
It'd be nice that when changing status to an issue the final status would be shown next to the action. This way undesired transitions would be avoided when you know beforehand the desired status but not the action.

Who will benefit from this feature?
No response
Anything else?
No response

Thanks for the feature request. Would you like to work on it? I can provide some guidance on how to contribute to this extension so that you can open a pull request. You can contact me here or in the Slack community if you need further help.

Sure. I'll send you a DM
El lun., 22 abr. 2024 10:54, Thomas Lombart @.***>
escribió:

Thanks for the feature request. Would you like to work on it? I can
provide some guidance on how to contribute to this extension so that you
can open a pull request. You can contact me here or in the Slack community
if you need further help.
—
Reply to this email directly, view it on GitHub
https://github.com/raycast/extensions/issues/11847#issuecomment-2068852385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKO3YFVS6LHDWES737UOKP3Y6TF45AVCNFSM6AAAAABGLC6KQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYHA2TEMZYGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Consul: practice/consul.md

This article is waiting to be claimed. practice/consul.md

/accept

/accept


Warning - gas estimation technique could result in high fees

This probably won't happen because regular transfers are normally a pretty cheap operation, but there's no ceiling gas amount in FILSnap's gas estimation techniques.
Here's how we do it in the glif wallet modules https://github.com/glifio/modules/blob/refactor/packages/filecoin-wallet-provider/src/filecoin.ts#L165 - note, you can use this package on npm too if you'd like. @glif/filecoin-wallet-provider

In the snap, gas estimation is left to the dapp as snap signs given the message it doesn't modify it before signing. We could expose message that provides dapp with estimation.

I'm referring to this https://github.com/ChainSafe/filsnap/blob/master/packages/snap/src/rpc/signMessage.ts#L28-L34


Add support for conditions

Tekton conditions enable conditional execution of tasks in a pipeline. Conditions should be added in the Tekton window in the tree to allow user to view and edit them.

Related https://github.com/tektoncd/cli/issues/763


Add 0.10.0 changelog

What this PR does / why we need it:
It's a changelog!
Special notes for your reviewer:

Draft still pending release date and Ingress v1 PR info, but the rest should all be ready. Probably has some minor omissions since the change history is pretty big and not everything was attached to the milestone, but should hit all the major points.
Didn't cover Knative now "requiring" class information, since I'm fairly sure this wasn't really possible before (I don't think Knative allows you to create them, and discussion with the Knative team appears to confirm this), it was just something we supported in the code.

Didn't cover Knative now "requiring" class information, since I'm fairly sure this wasn't really possible before (I don't think Knative allows you to create them, and discussion with the Knative team appears to confirm this), it was just something we supported in the code.

Should this be understood as
a) this changes the interface of KIC to users/other systems but I think it's unlikely that someone will hit this, or
b) this changes an internal detail of KIC that is theoretically impossible to see on KIC's interface, either documented or undocumented
?
If it's a), LGTM.
If it's b), let's not omit that in the changelog because https://www.hyrumslaw.com/ .

What was the ditto? It looks like that was intended as a line comment.
Re Knative class, wasn't really sure--per their devs, it's something they really don't expect and don't intend to support, and Knative itself is new enough that such a loose stipulation is enough to push it into "eh, it's quite unlikely that anyone does rely on this", but went and checked since I was in the area.
In practice, our code would accept classless Knative Ingresses; that was a side effect of using the plain Ingress matching behavior for everything. To get one, however, you'd need to write your own Knative implementation or create Knative Ingresses by hand (I think this is possible, but it kinda defeats the purpose of using Knative to begin with, and it'd probably break a bunch of other stuff).
The standard Knative implementation applies a "networking.knative.dev/ingress.class": "istio.ingress.networking.knative.dev" annotation if none is provided in the knative-serving/config-network ConfigMap: https://github.com/knative/serving/blob/f141b23104f37206005a3304d4d9951ebfa335e0/vendor/knative.dev/networking/pkg/network.go#L250
It's not wholly impossible if we consider our code in isolation, but outside really contrived scenarios it's impossible in practice.

Also please change this to a regular PR from draft.


Write a Haskell program to move all zeroes to end of array

Description
Write a Haskell program to move all zeroes to end of array
Input  : arr[] = {1, 2, 0, 4, 3, 0, 5, 0};
Output : arr[] = {1, 2, 4, 3, 5, 0, 0, 0};

Input  : arr[] = {1, 2, 0, 0, 0, 3, 6};
Output : arr[] = {1, 2, 3, 6, 0, 0, 0};

How to contribute

Comment !assign to assign this issue to yourself
Fork this repository
Create a new branch
Save the solution in program/program/move-all-zeroes-to-end-of-array/move_all_zeroes_to_end_of_array.hs
Commit the changes
Create a pull request

!assign


support YYYYMMDD (no dot)

ref: https://github.com/sbcgua/text2tab/pull/23#issuecomment-1660786850

thanks 👍


[NTR] L6 Th+ SST/PV cell

Note - please check that the term does not already exist (check OLS: https://www.ebi.ac.uk/ols/ontologies/cl)
Preferred term label:
L6 tyrosine hydroxylase positive Sst expressing Pvalb-like GABAergic cortical interneuron (Mus musculus)
Synonyms
L6 Th+ SST/PV (Mus)
Definition (free text, please give PubMed ID in format PMID:XXXXXX)
A Sst GABAergic cortical interneuron found in L6 that expresses tyrosine hydroxylase and is transcriptomically related to Pvalb interneurons. L6 Th+ SST/PV cells have mostly local axonal arborization within L6. (PMID:22357664)
NOTE: these cells do not express Pvalb according to the fireplot in https://github.com/obophenotype/brain_data_standards_ontologies/issues/89
Parent cell type term (check the hierarchy here https://www.ebi.ac.uk/ols/ontologies/cl):
Interneuron
What is the anatomical structure that the cell is a part of? Please check Uberon: https://www.ebi.ac.uk/ols/ontologies/uberon
Cerebral Cortex
Your nano-attribution (ORCID)
Any additional notes or concerns
@dosumis not sure if this is ok as the PV part seems transcriptomically related rather than expressing (at least with the dataset that the fireplot is built on)

Commenting to remove Stale tag - this will probably not make it into CL but rather into pCL when BDS side has worked that out. Would like to leave this here so that I don't forget about it


ERROR: llama runner process has terminated: error loading modelvocabulary: _Map_base::at

What is the issue?
I tried the octopus v4 model using ollama, I have constrcted the model using Modelfile, but it can not work when I try to run it.
transferring model data 100%
using existing layer sha256:08fc24194c1805114ed7aefcc8e5cedf7fe1e23b587f1655502afb294263b948
using existing layer sha256:e49180b1ca46f2ea2a9d652ab44a1ab5dbd5d3f9ed3fd8e985a1122883d580d3
using existing layer sha256:90bf36950b9123ecc20aa969070a7b3d51bbb782100f0e47b2a2c5f3cf6a24da
writing manifest
success
(base) [root@ip-172-31-81-66 ollama_files]# ollama ls
NAME                            ID              SIZE    MODIFIED
octopus-v4-Q4_K_M:latest        099ce87bccef    2.4 GB  14 seconds ago

OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
ollama version is 0.3.6

Hi @CjhHa1 Can you share you modelfile script? Could you also upgrade Ollama to version 0.3.10 and retry to create and use your new LLM?

Dupe of #6111

Hi @CjhHa1 Can you share you modelfile script? Could you also upgrade Ollama to version 0.3.10 and retry to create and use your new LLM?

FROM ./octopus-v4-Q4_K_M.gguf
PARAMETER temperature 0
PARAMETER num_ctx 1024
PARAMETER stop <nexa_end>

Just exactly as they mentioned in repo

OK, I will take a look : https://huggingface.co/NexaAIDev/octopus-v4-gguf


New-EventFilterXml does not produce a valid xml filter under certain circumstances

Investigate further.

There was improper concatenation without any event filters (based on time, id, or log level).
Removing -Suppress switch.
Consider change name of function to New-EventFilter with FilterType of Xml or XPath.


Training finishes immediately

Whenever I start training tesseract, after generating .lstm and .box files, the training cmd window pops up then immediately closes (sometimes without even launching a cmd window).
It usually happens after training a few times.
I've already tried restarting tesstrain gui.

Can you provide more details like version of the Tesseract you use and version of Windows?
Also it would be helpful if you enable the Debug mode and attach screenshots from each pop-up message.

Windows version is 10.0.19043 and the Tesseract version is <IP_ADDRESS>20118.
After running a training session with debug mode enabled, I have since discovered that the target error rate is met immediately.
Regardless, thanks for the assistance.


The "\r" of writting shell script

VSCode Version: Code 1.17.1 (1e9d36539b0ae51ac09b9d4673ebea4e447e5353, 2017-10-10T14:24:50.851Z)
OS Version: Windows_NT x64 6.2.9200

when I run shell script in centos ,the shell told me that this script has "\r".I think this tool is not good than editplus... Then editplus will not write "\r" in script.

Cannot reproduce given the above steps. please provide more detailed steps as described in Submitting-Bugs-and-Suggestions.

Given the terse description I can only speculate.
Notice that you can control the line terminator used in a file in the bottom right corned in the status bar. By clicking on it you can switch to other line terminators.


NPSSO not working

Using latest library and Playrite. I am loging in and entering NPSSO value (Yes XXX part). And when i click check auth it gives "requires auth" error.

You can try the legacy authentication method (on the bottom of the config screen), I had reports from users that NPSSO doesn't work, but legacy still does for them.

Yes i just wanted to send a bug report. Also we do read them :) :

Thanks for your efforts btw.

@gent00 when you log in PSN through browser, do you click 'Trust this Browser'? That might be one of the things causing issues with this method.

I stumbled upon the same issue, and yes I checked the Trust this browser checkbox.
When I try the Legacy authentication method, a popup window is displayed in Playnite briefly showing the PlayStation website, and then closes. The label Checking authentication status… is shown next to the button Check Authentication, but then shows Requires authentication again.

It still doesn't work for me, I've tried both methods and neither works. Is there any solution?

@nagromc, @eskypi - try version 2.19 of the add-on.

Thanks


Fixes "SyntaxError: unreachable code after return statement"

This error was being triggered in Firefox.

Thanks!


Recommended Approach for CombineLatest with a Scheduler?

Bug Report
Current Behavior
All definitions for the combineLatest observable that include a Scheduler are deprecated. What is the recommended way to ensure a breadth-first approach to computing all its dependencies before notifying subscribers?
Reproduction
See: https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/combineLatest.ts (v7)
or  https://github.com/ReactiveX/rxjs/blob/6.x/src/internal/observable/combineLatest.ts (v6)
Expected behavior
I'm not sure if this is a documentation issue or a code issue, but this seems like a necessary thing that should be possible without deprecation warnings.
Environment

Angular 8 with RxJS 6, but this seems unchanged in v7

IIRC, the recommendation would be to use scheduled. Something like this:
combineLatest(
  scheduled(of("a", "b"), queueScheduler),
  scheduled(of(1, 2), queueScheduler)
)
  .pipe(subscribeOn(queueScheduler))
  .subscribe(console.log);

However,  AFAICT, passing observable sources to scheduled does not effect the expected behaviour. ATM, I am not sure why.
Regarding the documentation, the deprecation-related documentation is a WIP and is currently being reviewed. The docs will contain explanations of deprecated APIs and alternatives - with examples.

I'm definitely confused by how to compose schedulers, scheduled and subscribeOn to ensure tiers of computation happen in sequence. Better documentation, examples or articles would go a long way.

... also seems to be a difference between subscribeOn and observeOn

subscribeOn ensures that subscription happens on the specified scheduler and observeOn ensures that notifications are emitted on the specified scheduler.
Regarding the snippets in my comment, the equivalent of:
combineLatest(
  of("a", "b", queueScheduler),
  of(1, 2, queueScheduler),
  queueScheduler
).subscribe(console.log);

would be:
combineLatest(
  scheduled(["a", "b"], queueScheduler),
  scheduled([1, 2], queueScheduler)
).pipe(subscribeOn(queueScheduler).subscribe(console.log);

The reason this behaves the way it does is that the subscriptions are scheduled using the queueScheduler - via subscribeOn - and the notifications from the array sources are recursively scheduled upon subscription - see here https://github.com/ReactiveX/rxjs/blob/8f32ffe3dbfc722e0f5279762dc8475adbabaade/src/internal/scheduled/scheduleArray.ts#L9-L18
When the subscription scheduled by subscribeOn occurs, there are two sources passed to combineLatest are subscribed to and those subscriptions are also scheduled to run on the queueScheduler - so they don't happen until the subscription to the combineLatest observable returns. When the subscriptions to the scheduled sources are then made the first schedules a next with an "a" and the second schedules a next with a 1 - but those notifications don't happen until the subscribes return. In this way, the two sources continue to emit interleaved notifications.
Wrapping an observable source in scheduled doesn't effect the same behaviour because the notifications are not recursively scheduled - see here https://github.com/ReactiveX/rxjs/blob/8f32ffe3dbfc722e0f5279762dc8475adbabaade/src/internal/scheduled/scheduleObservable.ts#L11-L15
That is, with scheduled(of("a", "b"), queueScheduler) the notifications are all scheduled separately upon subscription. That means that with this snippet:
combineLatest(
  scheduled(of("a", "b"), queueScheduler),
  scheduled(of(1, 2), queueScheduler)
).pipe(subscribeOn(queueScheduler).subscribe(console.log);

The string and number notifications are not interleaved, so the behaviour is different.
I'm closing this, as the question was about the recommended way of dealing with the deprecations. I'm doing so not because this isn't important - it is! - rather, work on this is already underway and, IMO, this is something that has to be addressed before v7 can be released.

@cartant Thanks for the thoughtful replies. I'm still confused, though... Apologies for asking for more of your time and I realize this is a digression from the deprecation issue, but here's a concrete example similar to what I'm trying to achieve:
Suppose we have a common source a$ = interval(1000) piped as follows: combineLatest(a$.pipe(map(d => d * 2)), a$.pipe(map(d => d * 3))).map(([x, y]) => x + y) is it possible to ensure that for every time a$ fires, the combineLatest only fires once?

@thatcort IDK how well your combineLatest snippet describes what it is that you are actually trying to do. Essentially, you are wanting combineLatest to behave in a manner contrary to its implementation. It's supposed to emit separate notifications. Using subscribeOn or observeOn is not going to change that.
In situations in which all sources are derived from a shared source - a$, in your snippet - and all sources emit a single notification derived from a$'s notification, zip would be more appropriate.
If that's not the case, you could use debounce(0, asapScheduler) after the combineLatest to debounce notifications that are emitted from combineLatest within a single turn through the event loop.

@cartant Thanks for the suggestion. Yes, zip would work in the example I gave. In my app there is a common source, but there are distinctUntilChanged checks before the combineLatest, so I can't be sure that all the inputs will fire for every update of a$. Thank you greatly for all your input. I'm slowly developing a better understanding of when schedulers are helpful and when they aren't. For my actual problem, I think I need to try a different approach.

@thatcort did you come up with a different approach? We are hitting this issue and are just using a combineLatest with auditTime(0), was wondering whether there was a better way, as this approach doesn't work if one of the chain of observables also uses auditTime(0). I guess fundamentally this is a tricky issue to solve, because downstream you have no way of knowing if the changes were caused by a single upstream update. I did think perhaps if some data were added to the emissions so we could track what "version" the changes came from, then it might be possible to group the changes, however you don't know when you've got the last emission from the current change. Maybe a custom scheduler based on the source observable somehow?

Having just re-read my own question, I think it makes sense to base the changes from the source. Something like this (not sure about naming):
export function breadthFirstFromSource<T>(source: Observable<any>, observables: ObservableInput<T>[]): Observable<T[]> {
  return source.pipe(
    withLatestFrom(...observables),
    map(([_, ...rest]) => rest),
    distinctUntilChanged((x, y) => x.every((z, i) => z === y[i])),
  )
}

Is this the best way to solve this use case?
For your example above:
https://stackblitz.com/edit/combinelatest-breadthfirst-tdqurw?file=index.ts


[QST]IndexError: too many indices for tensor of dimension 2

❓ Questions & Help
As a part of exploration i'm running the code for transform4rec model built on synthetic data [https://github.com/NVIDIA-Merlin/Transformers4Rec/blob/main/examples/getting-started-session-based/02-session-based-XLNet-with-PyT.ipynb]
throwing exception while running the below code.

and the error is

Based on my understanding the error occurs on evaluation step where input file is not in required dimension.
Details
this is my path for train,valid,and test files

@DilipKumar3 how do you install Transformers4rec, NVtabular, core and dataloader libraries? you need all of them. I think you are not using docker image, do you? so please install the latest versions of these libraries.
I cannot reproduce your error. I can run the notebooks without error. if you are running 01-ETL and 02-session-based-XLNet without changing anything, they should run fine.  My guess you need to reinstall the libraries again from main branch.

closing since there is no further activity.

@DilipKumar3 have you found any solution for this error ? I am also getting similar issue

@ravikant15796 what's your env? how did you install transformers4rec, nvtabular, dataloader, and core?


Aborted when run Aishell example's run_infer_golden.sh

I cannot finish the baseline of aishell example for the following problem:

root@a6a7c2f6ef28:/DeepSpeech/examples/aishell# sh run_infer_golden.sh
-----------  Configuration Arguments -----------
alpha: 2.6
beam_size: 300
beta: 5.0
cutoff_prob: 0.99
cutoff_top_n: 40
decoding_method: ctc_beam_search
error_rate_type: cer
infer_manifest: data/aishell/manifest.test
lang_model_path: models/lm/zh_giga.no_cna_cmn.prune01244.klm
mean_std_path: models/aishell/mean_std.npz
model_path: models/aishell/params.tar.gz
num_conv_layers: 2
num_proc_bsearch: 8
num_rnn_layers: 3
num_samples: 10
rnn_layer_size: 1024
share_rnn_weights: 0
specgram_type: linear
trainer_count: 1
use_gpu: 1
use_gru: 1
vocab_path: models/aishell/vocab.txt

I0410 03:30:05.007586    65 Util.cpp:166] commandline:  --use_gpu=1 --rnn_use_batch=True --trainer_count=1
[INFO 2018-04-10 03:30:10,774 layers.py:2606] output for conv_0: c = 32, h = 81, w = 54, size = 139968
[INFO 2018-04-10 03:30:10,775 layers.py:3133] output for batch_norm_0: c = 32, h = 81, w = 54, size = 139968
[INFO 2018-04-10 03:30:10,776 layers.py:7224] output for scale_sub_region_0: c = 32, h = 81, w = 54, size = 139968
[INFO 2018-04-10 03:30:10,777 layers.py:2606] output for conv_1: c = 32, h = 41, w = 54, size = 70848
[INFO 2018-04-10 03:30:10,777 layers.py:3133] output for batch_norm_1: c = 32, h = 41, w = 54, size = 70848
[INFO 2018-04-10 03:30:10,778 layers.py:7224] output for scale_sub_region_1: c = 32, h = 41, w = 54, size = 70848
[INFO 2018-04-10 03:30:14,952 model.py:243] begin to initialize the external scorer for decoding
terminate called after throwing an instance of 'lm::FormatLoadException'
what():  kenlm/lm/binary_format.cc:160 in void* lm::ngram::BinaryFormat::LoadBinary(std::size_t) threw FormatLoadException because `file_size != util::kBadSize && file_size < total_map'.
 Could you please help me solve it?

@gangyahaidao hi, have you solved it yet? if your problem is completely the same as mine, you may fail to download the model successfully(it's more than 5 GB in total, but it stops downloading around 1 GB), and that's because we are banned in China. To solve this problem, check #301 for help, which is to set /etc/hosts file manually adding: <IP_ADDRESS>  cloud.dlnel.org and it worked for me

@gangyahaidao  the issue link is here: https://github.com/PaddlePaddle/models/issues/301


Changed xcode version to 8.3 in .travis file

Updated osx_image to xcode8.3, close #590
Issue fixed:

Updated .travis file osx_image to 8.3
Updated iphonesimulator and tvossimulator.
Doesn't require tests, as it'll either pass with no changes to the codebase or break CI.

Checklist

[x ] All tests pass. Demo project builds and runs.
[x ] I added tests, an experiment, or detailed why my change isn't tested.
[x ] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x ] I have reviewed the contributing guide

Build success 😄

🎉


Use httpx instead of aiohttp

Fixes #77.
Also includes a workaround for encode/httpx#3045 and prusa3d/Prusa-Firmware-Buddy#3665. The workaround can be removed once they're resolved.

To get this faster merged, I think it would be helpful if you do a home-assistant PR as well

To get this faster merged, I think it would be helpful if you do a home-assistant PR as well

That is not correct, and not wished for. See also: https://developers.home-assistant.io/docs/review-process#what-not-to-do

Do not submit new pull requests that depend on other pull requests that are still open/unmerged. This will create unneeded pull requests in the queue that are not actionable.

Thanks 👍

Ah, sorry. Thanks for correcting frenck.

So what’s the process for getting this merged? Should I ping someone, or do I just wait?

Other than that change, everything looks good and works for me on my Prusa XL with 5.1.2+13478 Firmware.

Also for me, it works on Prusa MK4 with 5.1.2 and Prusa MK3S+ with PrusaLink 0.7.2.

Oops, I forgot to check formatting. It should be good now.

Thanks, I'll try to create the core PR later today.

Thank you for your work :pray: :star_struck:
Release: I'll try to make it happen :smile:

@agners I was finally working on the core PR today, but I noticed the release to pypi failed: https://github.com/home-assistant-libs/pyprusalink/actions/runs/7846612026

@the-ress ugh I see missed the version bump :see_no_evil:
I've just created a new, proper release 2.1.1, this time all green :tada: .

It took me a bit longer, but here it is: https://github.com/home-assistant/core/pull/114210


The no-hardcoded-env-urls rule flags URLs in descriptions.

Bicep version
v0.4.1
Describe the bug
The no-hardcoded-env-urls rule flags URLs in descriptions.
To Reproduce
Steps to reproduce the behavior:

Additional context
We are currently scanning all StringSyntax nodes for URLs. We should exclude ones that we know represent content that has no runtime impact like descriptions.

Just had this happen to me with the URL https://login.microsoftonline.com/v2.0/{tenant-guid}/. inside a @description decorator, the code in question was:
@description('''(FA) The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.
When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/.
This URI is a case-sensitive identifier for the token issuer.
More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html ''')
param auth_openIdIssuer string = ''

Interesting this only happens for https and not http urls.

I think that's because the rule has a list of only https:// URLs. Http URLs are not allowed anymore.


Helmchart install/upgrade fails on HelmVersion check

The newest Traefik helm chart uses version check for helm used https://github.com/traefik/traefik-helm-chart/blob/a85ab3843221ff3dd7dc87249d6963b14e6ba3fb/traefik/templates/deployment.yaml#L2-L4.
I have a deployment of this chart on the latest stable k3s cluster. I tried to upgrade this chart from the older version by updating the helm chart manifest managed by helm-controller. It failed on this check.
I'm not sure what version of the helm is actually used by this controller, I tried to search for this info in a codebase with no success.
Any idea how to solve this issue?

What version of K3s are you using?

Each K3s release tells you what helm-controller version it has. From there you can look at the job image, and see what version of Helm it has: https://github.com/k3s-io/klipper-helm/blob/v0.7.3-build20220613/package/Dockerfile#L6.
We could perhaps consider putting that in the release notes, but to answer the question, that k3s release ships with v3.8.1. The release coming out later this week will include v3.10.2.

Each K3s release tells you what helm-controller version it has. From there you can look at the job image, and see what version of Helm it has:

https://github.com/k3s-io/helm-controller/blob/v0.13.0/pkg/controllers/chart/chart.go#L56
https://github.com/k3s-io/klipper-helm/blob/v0.7.3-build20220613/package/Dockerfile#L6.

Obviously I didn't searched enough 😂

We could perhaps consider putting that in the release notes, but to answer your question, that k3s release ships with v3.8.1. The release coming out later this week will include v3.10.2.

That would be great. I'm looking forward to thus release.


Implemented rectangle drag placing objects #8

hold shift while starting placing single object to initiate

Works not just with farms. The buildings keep to the grid, avoiding places where would be collisions


Some icons are not displaying correctly

Kubuntu /Firefox 68.0

CORS seems to be complaining about it, so its either a CORS thing or the 403 errors are causing the CORS errors


Evaluating Embedded EEx Tags in SVG Files

I've a number of SVG files that have Eex tags embedded in them to display dynamic values. This works fine when the SVGs are inlined within the template but doesn't when using svg_image() as it is now.
Can you think of any approach or import order that would allow <%= some_func() %> tags to evaluated by the template engine as the template is being generated?
Thanks.

I'm not aware of how you would do this easily because I believe that you would need to send the SVG through the template lib to get those tags parsed which currently isn't included. But a PR for the change is welcome!


Make create stripe customer action configurable for use with document creation other than auth user.

Feature request
firestore-stripe-subscriptions
Is your feature request related to a problem? Please describe.
Currently, this extension will create a stripe customer for every firebase auth user associated with an app. In my case, not every app user is expected to be a paying user - and specifically, I already have the notion of an explicit 'customers' collection, which is a sub-set of auth users.
Describe the solution you'd like
While defaulting to triggering on auth user creation is fine, it would be great if, perhaps during initial configuration, users of the extension could specify which collection should have it's doc create trigger associated with creating the stripe customer.
Describe alternatives you've considered
Seems like the only real alternative for me here is to clone the bits of the webhooks etc, uninstall the extension, and rely on my own customer collection as the basis for my stripe integration.
Additional context
Just wanted to say thanks - just starting out with stripe and this is an awesome resource, even if it's not a perfect fit for my use case just yet.

Hey @leetworx, thanks for the kind words and for outlining your use case.
We specifically set merge:true for inserting the Stripe customer record (https://github.com/stripe/stripe-firebase-extensions/blob/next/firestore-stripe-subscriptions/functions/src/index.ts#L66) so that you can point it at an existing user collection without your existing customer data being overwritten.
We also do create a customer just in time when you create a checkout session, in case the user existed before the extension was installed: https://github.com/stripe/stripe-firebase-extensions/blob/next/firestore-stripe-subscriptions/functions/src/index.ts#L103-L108
So it should work if you just set your existing user collection as the path for the extension.
From your pov, what's the downside of having a customer record for each new user that signs up? Would that mess up your analytics somehow?

Thanks very much for the response - from my perspective, the downside is really just that it doesn't align very well with the data model for my app, which I've tried to keep pretty clean. In my case, using firebase auth, I do explicitly have two 'classes' of records - 'users' (basically everyone who has signed in and actively engaged with the app) and 'customers' (those who are explicitly subscribing to the service as a 'provider' - note that consuming the service is free).
Perhaps you can clarify something for me (as I mentioned - I'm a complete noob with stripe) - how exactly is the 'checkout session that you mentioned established (I don't see where this particular cloud function would be triggered... is there an example by chance that uses this extension to demonstrate the full funtionality?)  - if the customer ID/info can be created lazily then perhaps it would serve both our use cases just to drop the customer creation triggered by auth.user create?
Thanks again for the additional details - looking forward to trying this out (btw - my app is a nuxt app, just in case there are any specific examples that might be more appropriate than others)
Cheers

Yes, that might work. The checkout session creation is triggered when a new doc is added to the checkout_sessions sub-collection for a specific user: https://github.com/stripe/stripe-firebase-extensions/blob/next/firestore-stripe-subscriptions/POSTINSTALL.md#start-a-subscription-with-stripe-checkout
const docRef = await db
  .collection('your/customerCollection/path')
  .doc(uid)
  .collection('checkout_sessions')
  .add({
    price: 'price_1GqIC8HYgolSBA35zoTTN2Zl',
    success_url: window.location.origin,
    cancel_url: window.location.origin,
  });

If we can't find a customer ID in the user doc in the specified customer collection path we will create it on the fly and merge it into the customer doc.
So the only thing you would have to do is to delete the user.create function after the extension has finished installing:

Thanks very much for the suggestion (and apparently I missed the POSTINSTALL docs ;) - very helpful!)
I'm going to give this a try - the wrinkle I noticed however...
If I delete the 'user.create' function, I lose the ability to reconfigure the extension (appears to fail some form of validation).
For example - deleting the function before I update the signing secret (like I just did) appears to be a dead-end...
If leaving the user.create function in place, is there a way to specify it as 'optional' for the extension so as to permit reconfiguration/validation?
Thanks again

One additional question Thor -
seeing that the 'customer collection' appears to have the form:
/customer_collection/auth_uid/checkout_sessions...
(where auth_uid == the user ID derived directly from the generate firebase auth ID)
Is there any issue with having the auto-generated doc IDs for the customer_collection NOT correspond directly to a user auth_id? (i.e. when creating a portal link etc, or redirecting to checkout - is it presumed that we're providing an authenticated UID for use in signing into stripe etc? (or or the two systems essentially completely independent, in which case the firebase auth ID for the current actual user is not required for the checkout and/or portal?
(hope this is clear...)
Thanks
T

If I delete the 'user.create' function, I lose the ability to reconfigure the extension (appears to fail some form of validation).

Ah that's a bummer, then the approach with deleting the function won't work.

Is there any issue with having the auto-generated doc IDs for the customer_collection NOT correspond directly to a user auth_id? (i.e. when creating a portal link etc, or redirecting to checkout - is it presumed that we're providing an authenticated UID for use in signing into stripe etc? (or or the two systems essentially completely independent, in which case the firebase auth ID for the current actual user is not required for the checkout and/or portal?

Before creating a checkout session or a portal link we will need to make sure that they are authenticated and therefore are allowed to access the customer portal. That's why the doc ID needs to be the UID of the user. It's also used in the Cloud Firestore security rules to make sure each customer can only read their own details.

If leaving the user.create function in place, is there a way to specify it as 'optional' for the extension so as to permit reconfiguration/validation?

Not at the moment, this will require changes to the extension. I can look into this later this week, but for the time being it sounds like you might be better off to maybe replicate the relevant functions in your project as you seem to have a fairly specific information architecture.

Thanks very much for the additional details - greatly appreciated! With this I was able to successfully integrate the logic for the subscription extension into my workflow (relying on lazy customer collection update upon checkout session creation and associating the stripe ID with my customer ID, while ensuring that the 'admin' user is authenticated prior to accessing the portal). The webhooks are awesome btw - thanks again! Feel free to close this if you like.

Brilliant, glad you got it working :)

@thorsten-stripe first of all let me echo @leetworx thanks for creating this extension ... this is by far the easiest "real" stripe integration I have worked on.
I came here looking for a way to backfill stripe customer ids on my existing users but I understand from your comments this may not be necessary if one is lazily created along with a checkout session. Nice. This detail would make a great addition to the extension docs.
I'd like to make the case for lazy customer creation to be the default behavior. We are using this extension in a multi-tenant SaaS where one user, say an admin or billing contact, is responsible for purchasing a subscription on behalf the tenant, for all users. We think of the tenant as our "customer" rather than an individual user. As it is now, every user regardless of the tenant is registered as a stripe customer with only a very small subset expected to ever purchase a subscription. At this point it is a mere inconvenience when viewing the customer list within stripe but your comment regarding the pollution of analytics does give me pause to fully consider the downstream effects of this side-effect. I wonder what long-term impacts this might have on sales-ops and support within stripe. I'm not sure if I will go off-the-rails and delete the user_create function as you offered but I would definitely exercise the option to disable this function if it were available and lazy customer creation continued function.
In the meantime, maybe I could ask what motivations went into the eager 1:1 user to customer creation? Is there some pre-purchase flow or lead tracking features that stripe intends us to employ? Anything we've yet to consider in this regard?
Regardless of the outcome for us, this extension has already saved us countless hours on the integration so a huge thank you from our team to yours!

Thanks for the kind words @ajbarry!
That's a good point, IIRC the main motivation was to make the extension easy to use for folks who aren't experienced with Firebase, and therefore create the customer doc for them when a new user signs up, but it sounds like most people already do this themselves in their integrations, so that's a good point.
I will look into making user <> customer sync optional.


Support for SSO via microsoftonline and MFA

Does Atata support single-sign on via https://login.microsoftonline.com/? Is there a workaround for MFA or it has to be disabled?

Atata doesn't have any additional SSO features on top of WebDriver. Basically, if you have a working solution for MS SSO using pure Selenium WebDriver, I can help you apply that solution to Atata. Adapting to Atata will be easy, you can configure WebDriver whatever you need.
And also yes, if you can disable or somehow get around MS SSO in your app for UI test automation run, I would do that.


hdf5 files need to be added to get formic_supervised_NN_example to work

The example uses a preexisting interpolated spectra file. formic_supervised_calibration_interpL-Copy1.hdf5¶
NOTE: To prevent overwritten preexisting interpolated spectr files, always keep the original file unused and duplicate it instead.
For example, if 'formic_supervised_calibration_interpL-Copy1.hdf5' ever gets overwritten Please make sure to duplicate 'formic_supervised_calibration_interpL-Copy1.hdf5' from 'formic_supervised_calibration_interpL.hdf5' before continuing.
formic_supervised_calibration_interpL-Copy1.hdf5 &  dataimport_ML_df-Copy1.hdf5 need to be uploaded to the repo.

formic_supervised_calibration_interp.hdf5 has been added and is the less than 50mB version of formic_supervised_calibration_interpL.hdf5 which is the large interpolated calibration file.
dataimport_ML_df.hdf5 has already been uploaded


GH Alert: Potential file inclusion via variable

What this PR does / why we need it:
Fixes the GH Alert.
filepath.Clean sanitizes the directory path and remove any unnecessary components (such as . and ..)*:
Fixes #3519
Type of changes
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Release note:

NONE

/approve


Spacing at the bottom of an event page should be adjusted

The spacing at the bottom of an event page is smaller if it ends with text than if it ends with an iFrame. Should be the same for both (as below the iFrame)
Private Zenhub Image

Thanks @millianapia - approved :smile:


0.14 beta 14 , npm run build:bridge:ios success,  flutter run  ios error

Error (Xcode): ../lib/src/launcher/controller.dart:119:7: Error: The non-abstract class 'WebFViewController' is missing implementations for these members:

Are you using Flutter 3.10? We have not yet provided support for Flutter 3.10.
https://github.com/openwebf/webf/pulls.
In 0.14.0, please use flutter 3.7 instead.

Are you using Flutter 3.10? We have not yet provided support for Flutter 3.10.
https://github.com/openwebf/webf/pulls.
In 0.14.0, please use flutter 3.7 instead.

When will version 3.10 be supported


disinfeudation, bigotish (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Fix example in origination.md

Add missing but mentioned tls attribute to Advanced Configuration Using a TLSContext
mapping example

Resolved in #127


Rabbit hole when trying to create log analytics workspace

When following instruction, as soon as I click on the "create a log analytics workspace" option, I am redirected to this page
https://portal.azure.com/#view/HubsExtension/BrowseResource/resourceType/Microsoft.OperationalInsights%2Fworkspaces
which asks me which subscription to use, free trial, azure AD (we have the version that come with our MS 365 E3 non profit, or "access student benefits." Naturally I choose Azure AD, click to create a log analytics workspace and the loop repeats back to that choice. I assume we don't have a licence. Any intelligent system would direct me to a page where I can buy or assign a licence. I have no idea where to do this.

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

ID: d20b7cb4-558b-2f36-a6ef-5bce7a2e6808
Version Independent ID: de87106c-0a07-27f2-f6c4-e6390612856d
Content: Create Log Analytics workspaces - Azure Monitor
Content Source: articles/azure-monitor/logs/quick-create-workspace.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@adampembs Thanks for reaching out. From the information provided, M365 E3 doesn't have azure subscription for you to allow to create services. M365 E3 only includes below apps.

To know available Microsoft Azure Offers, refer this document.
This channel is mainly for documentation changes. If you have questions related to Azure, kindly post them on Microsoft Q & A Community forum. We will close the issue for now. If there are further questions, please revert and we will be glad to assist you.


fix package path for bioc server

Motivation for this change
Things done
The package download URL defined in r-modules/default.nix is missing a folder. Earlier it was like this:
http://mirrors.ustc.edu.cn/bioc/3.11/bioc/src/contrib/Archive/${package}_${version}.tar.gz
However, now, the server changed its URL schema to
http://mirrors.ustc.edu.cn/bioc/3.11/bioc/src/contrib/Archive/${package}/{package}_${version}.tar.gz
which resulted in the following error when building R packages
builder for '/nix/store/7y3lkisqkz46mbgqk7bizx32lqrzwj6c-INSPEcT_1.18.0.tar.gz.drv' failed with exit code 1; last 10 log lines:
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  curl: (7) Failed to connect to mirrors.ebi.ac.uk port 80: Connection refused

  trying http://mirrors.ustc.edu.cn/bioc/3.11/bioc/src/contrib/Archive/INSPEcT_1.18.0.tar.gz

Manually looking at the structure of the server files (just open http://mirrors.ustc.edu.cn/bioc/3.11/bioc/src/contrib/Archive/) confirms what I write above.
(The server address is defined (and taken from) mirrors.nix btw.)
This PR fixes this by adding the new schema, also keeping the old one for compatibility (e.g. I don't know if all R mirror servers changed the schema).

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

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

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

I found this 3 year old news post which also mentions this URL https://support.bioconductor.org/p/102555/.