how to swipe bf left in mid song like triple trouble?

Describe your problem here.
title says eveything
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nope

Change Character and move strums

I am play opponent now

I am play opponent now

what

You heard him...
He is play opponent now...


bazel issue when trying to deploy to app engine

Please check the logs -
+ echo Configuring App Engine...
Configuring App Engine...
+ echo Deploying temporary default version to App Engine...
Deploying temporary default version to App Engine...
+ bazel run upvote/gae:monolith_binary.deploy -- upvote-project app.yaml
added 4 packages from 2 contributors and audited 4 packages in 3.854s
found 0 vulnerabilities

yarn install v1.12.1
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 0.48s.
added 4 packages from 2 contributors and audited 4 packages in 1.513s
found 0 vulnerabilities

added 4 packages from 2 contributors and audited 4 packages in 1.441s
found 0 vulnerabilities

external/com_google_protobuf/src/google/protobuf/generated_message_reflection.cc(2424): warning C4506: no definition for inline function 'google::protobuf::Message *google::protobuf::internal::GenericTypeHandler<google::protobuf::Message>::NewFromPrototype(const GenericType *,google::protobuf::Arena *)'
        with
        [
            GenericType=google::protobuf::Message
        ]
external/com_google_protobuf/src/google/protobuf/generated_message_reflection.cc(2424): warning C4506: no definition for inline function 'google::protobuf::Arena *google::protobuf::internal::GenericTypeHandler<google::protobuf::Message>::GetArena(GenericType *)'
        with
        [
            GenericType=google::protobuf::Message
        ]
external/com_google_protobuf/src/google/protobuf/generated_message_reflection.cc(2424): warning C4506: no definition for inline function 'void *google::protobuf::internal::GenericTypeHandler<google::protobuf::Message>::GetMaybeArenaPointer(GenericType *)'
        with
        [
            GenericType=google::protobuf::Message
        ]
external/com_google_protobuf/src/google/protobuf/map_field.cc(465): warning C4506: no definition for inline function 'google::protobuf::Message *google::protobuf::internal::GenericTypeHandler<google::protobuf::Message>::NewFromPrototype(const GenericType *,google::protobuf::Arena *)'
        with
        [
            GenericType=google::protobuf::Message
        ]
external/com_google_protobuf/src/google/protobuf/map_field.cc(465): warning C4506: no definition for inline function 'google::protobuf::Arena *google::protobuf::internal::GenericTypeHandler<google::protobuf::Message>::GetArena(GenericType *)'
        with
        [
            GenericType=google::protobuf::Message
        ]
external/com_google_protobuf/src/google/protobuf/map_field.cc(465): warning C4506: no definition for inline function 'void *google::protobuf::internal::GenericTypeHandler<google::protobuf::Message>::GetMaybeArenaPointer(GenericType *)'
        with
        [
            GenericType=google::protobuf::Message
        ]
+ echo

+ echo Deploying to App Engine...
Deploying to App Engine...
+ bazel run upvote/gae:monolith_binary.deploy -- upvote-project app.yaml santa_api.yaml
INFO: Invocation ID: bb4c697d-d1cf-48c9-9b5f-9b1cbf5c0006
Loading:
Loading: 0 packages loaded
DEBUG: Rule 'io_bazel_rules_appengine' modified arguments {"shallow_since": "1544654581 -0500"}
DEBUG: Rule 'build_bazel_rules_nodejs' modified arguments {"commit": "6d9a5c9333e5bca58125e9c96b99f3c274bf51e2", "shallow_since": "1543957109 -0800"} and dropped ["tag"]
Analyzing: target //upvote/gae:monolith_binary.deploy (0 packages loaded, 0 targets configured)
DEBUG: Rule 'gcloud_auth_git' modified arguments {"commit": "709953d34c0c93744606a38e84abce557e73dfcb", "shallow_since": "1492459993 -0700"} and dropped ["tag"]
DEBUG: Rule 'pyasn1_git' modified arguments {"shallow_since": "1444500249 +0000"}
DEBUG: Rule 'pyasn1_modules_git' modified arguments {"commit": "75a1d105027e86aa7d2720e6f0fa6349933ad55d", "shallow_since": "1501107647 +0200"} and dropped ["tag"]
DEBUG: Rule 'rsa_git' modified arguments {"shallow_since": "1497086972 +0200"}
DEBUG: Rule 'cachetools_git' modified arguments {"commit": "e27332bc82f4e327aedaec17c9b656ae719322ed", "shallow_since": "1475496371 +0200"} and dropped ["tag"]
DEBUG: Rule 'gcloud_auth_httplib2_git' modified arguments {"shallow_since": "1497375871 -0700"}
DEBUG: Rule 'gcloud_resumable_media_git' modified arguments {"commit": "d296d036453539f03b956f33112baa740d5a723f", "shallow_since": "1500660227 -0700"} and dropped ["tag"]
DEBUG: Rule 'requests_git' modified arguments {"commit": "5091c15bd71ec934423a71ce1b53668cd15db68f", "shallow_since": "1496094855 -0400"} and dropped ["tag"]
DEBUG: Rule 'chardet_git' modified arguments {"commit": "c47f6d79845ec7fe9f3bfd2fc66d47812f571d12", "shallow_since": "1492024800 -0400"} and dropped ["tag"]
DEBUG: Rule 'idna_git' modified arguments {"commit": "0088bfce9c3270e15d8356f0709110c1a9589d35", "shallow_since": "1488857158 -0800"} and dropped ["tag"]
DEBUG: Rule 'urllib3_git' modified arguments {"commit": "8e049799777cdf592ae54ae762d140151766123c", "shallow_since": "1500541470 +0100"} and dropped ["tag"]
DEBUG: Rule 'certifi_git' modified arguments {"commit": "4f35e3529c78ced74040cf5d80bf8ec4aac9a190", "shallow_since": "1492457773 -0400"} and dropped ["tag"]
DEBUG: Rule 'googleapiclient_git' modified arguments {"commit": "f19307d2079e3c3854cac887f059655a66c49896", "shallow_since": "1478045551 -0700"} and dropped ["tag"]
DEBUG: Rule 'oauth2client_git' modified arguments {"shallow_since": "1496765066 -0700"}
DEBUG: Rule 'absl_git' modified arguments {"shallow_since": "1506641175 -0700"}
DEBUG: Rule 'material_steppers' modified arguments {"shallow_since": "1491412933 -0300"}
DEBUG: C:/users/win/_bazel_win/pj2hik4j/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl:159:5:
***********WARNING***********
npm: npm_install will require a package_lock_json attribute in future versions
*****************************
INFO: Analysed target //upvote/gae:monolith_binary.deploy (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Building: no action
WARNING: failed to create one or more convenience symlinks for prefix 'bazel-':
  cannot create symbolic link bazel-bin -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-bin, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\bin): ERROR: src/main/native/windows/file-jni.cc(88): nativeCreateJunction(C:\users\win\desktop\upvote\upvote\bazel-bin, C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\bin): ERROR: src/main/native/windows/file.cc(346): DeviceIoControl(\\?\C:\users\win\desktop\upvote\upvote\bazel-bin): Access is denied.

  cannot create symbolic link bazel-testlogs -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/testlogs:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-testlogs, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\testlogs): the junction's path got modified unexpectedly
  cannot create symbolic link bazel-genfiles -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/genfiles:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-genfiles, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\genfiles): the junction's path got modified unexpectedly
  cannot create symbolic link bazel-out -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-out, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out): the junction's path got modified unexpectedly
  cannot create symbolic link bazel-upvote -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-upvote, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__): the junction's path got modified unexpectedly
[0 / 1] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //upvote/gae:monolith_binary.deploy up-to-date:
  C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/upvote/gae/monolith_binary_deploy.sh
  C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/upvote/gae/monolith_binary.deploy
  C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/upvote/gae/monolith_binary.deploy.exe
INFO: Elapsed time: 35.375s, Critical Path: 0.01s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Running command line: C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/upvote/gae/monolith_binary.deploy.exe upvote-project app.yaml santa_api.yaml
INFO: Build completed successfully, 1 total action
C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\upvote\gae\monolith_binary.deploy: line 34: cd: /tmp/war.WIYuYnvI/__main__: No such file or directory
C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\upvote\gae\monolith_binary.deploy: line 37: /c/users/win/_bazel~1/pj2hik4j/execroot/__main__/bazel-~1/x64_wi~1/bin/upvote/gae/monoli~2.run/../com_google_cloud_sdk/bin/gcloud: No such file or directory

I have updated all the dependencies but still not able to deploy it to app engine.
Any ideas whats wrong here?
Thanks!

is this the latest version?  seems old as deploying with app.yaml santa_api.yaml is no longer supported.  Also latest bazel?  I've been successfully deploying from my mac for awhile, however I had to add bazel run --incompatible_package_name_is_a_function=false

Hey Rishi,
Can you post the exact command you're running which produces the log output above?
Thanks!

@thehesiod Yes, everything is upto date. Im using win10 machine right now but im going to try on mac. thanks!!
@chief8192 Hello Matt, Im following all the instructions (https://github.com/google/upvote/blob/master/docs/setup.md) and using this ./init_project.sh command to run.

Sorry for the radio silence.. Off the top of my head, could this be a permissions issue with where you're running init_project.sh, or who you're running it as? That "Access is denied" message in your stacktrace makes me wonder..

Yep +1 chief. Bazel will fall over pretty hard if it can't symlink in it's
normal working/output directories.
On Mon, Feb 25, 2019, 15:16 Matt Doyle<EMAIL_ADDRESS>wrote:

Sorry for the radio silence.. Off the top of my head, could this be a
permissions issue with where you're running init_project.sh, or who
you're running it as? That "Access is denied" message in your stacktrace
makes me wonder..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/upvote/issues/46#issuecomment-467166189, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABVBrLd3FPWNkc5aGlMZw_SLGV-Try3lks5vRESLgaJpZM4bDbjy
.

@chief8192 I am it as admin.
+ echo Deploying to App Engine...
Deploying to App Engine...
+ bazel run upvote/gae:monolith_binary.deploy -- rv3-upvote app.yaml santa_api.yaml
INFO: Invocation ID: 5bb62db2-51c7-442f-a39e-65ede043aa91
Loading:
Loading: 0 packages loaded
Analyzing: target //upvote/gae:monolith_binary.deploy (0 packages loaded, 0 targets configured)
INFO: Analysed target //upvote/gae:monolith_binary.deploy (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Building: no action
WARNING: failed to create one or more convenience symlinks for prefix 'bazel-':
  cannot create symbolic link bazel-bin -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-bin, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\bin): the junction's path got modified unexpectedly
  cannot create symbolic link bazel-testlogs -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/testlogs:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-testlogs, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\testlogs): the junction's path got modified unexpectedly
  cannot create symbolic link bazel-genfiles -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/genfiles:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-genfiles, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\genfiles): the junction's path got modified unexpectedly
  cannot create symbolic link bazel-out -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-out, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out): the junction's path got modified unexpectedly
  cannot create symbolic link bazel-upvote -> C:/users/win/_bazel_win/pj2hik4j/execroot/__main__:  Cannot create junction (name=C:\users\win\desktop\upvote\upvote\bazel-upvote, target=C:\users\win\_bazel_win\pj2hik4j\execroot\__main__): the junction's path got modified unexpectedly
[0 / 1] [-----] BazelWorkspaceStatusAction stable-status.txt
Target //upvote/gae:monolith_binary.deploy up-to-date:
  C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/upvote/gae/monolith_binary_deploy.sh
  C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/upvote/gae/monolith_binary.deploy
  C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/upvote/gae/monolith_binary.deploy.exe
INFO: Elapsed time: 11.304s, Critical Path: 0.02s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Running command line: C:/users/win/_bazel_win/pj2hik4j/execroot/__main__/bazel-out/x64_windows-fastbuild/bin/upvote/gae/monolith_binary.deploy.exe rv3-upvote app.yaml santa_api.yaml
INFO: Build completed successfully, 1 total action
C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\upvote\gae\monolith_binary.deploy: line 34: cd: /tmp/war.slmlVbdN/__main__: No such file or directory
C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\upvote\gae\monolith_binary.deploy: line 37: /c/users/win/_bazel~1/pj2hik4j/execroot/__main__/bazel-~1/x64_wi~1/bin/upvote/gae/monoli~2.run/../com_google_cloud_sdk/bin/gcloud: No such file or directory

I'm guessing you need to install the Cloud SDK for that account as well?
C:\users\win\_bazel_win\pj2hik4j\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\upvote\gae\monolith_binary.deploy: line 37: /c/users/win/_bazel~1/pj2hik4j/execroot/__main__/bazel-~1/x64_wi~1/bin/upvote/gae/monoli~2.run/../com_google_cloud_sdk/bin/gcloud: No such file or directory

@chief8192 sorry I didnt get your last comment.
and I have tried on the mac machine and it gives almost same error at the last step -
Initializing Upvote for GCP project: "rv3-upvote"
+ gcloud config set project rv3-upvote
Updated property [core/project].
+ echo Enabling App Engine...
Enabling App Engine...
++ gcloud app describe '--format=value(id)'
+ [[ rv3-upvote != \r\v\3\-\u\p\v\o\t\e ]]
+ echo Enabling APIs used by Upvote...
Enabling APIs used by Upvote...
+ gcloud services enable cloudkms.googleapis.com
+ gcloud services enable bigquery-json.googleapis.com
+ echo Granting necessary permissions to App Engine...
Granting necessary permissions to App Engine...
++ gcloud iam service-accounts list '--filter=App Engine app default service account' '--format=value(email)'
+<EMAIL_ADDRESS>+ gcloud projects add-iam-policy-binding rv3-upvote --member<EMAIL_ADDRESS>--role roles/cloudkms.cryptoKeyEncrypterDecrypter
Updated IAM policy for project [rv3-upvote].
bindings:
- members:
  -<EMAIL_ADDRESS>  role: roles/cloudkms.cryptoKeyEncrypterDecrypter
- members:
  -<EMAIL_ADDRESS>  role: roles/editor
- members:
  -<EMAIL_ADDRESS>  role: roles/owner
etag: BwWC5oHngX4=
version: 1
+ echo Configuring App Engine...
Configuring App Engine...
+ ./manage_crons.py disable_all
+ echo Deploying temporary default version to App Engine...
Deploying temporary default version to App Engine...
+ bazel run upvote/gae:monolith_binary.deploy -- rv3-upvote app.yaml
+ echo

+ echo Deploying to App Engine...
Deploying to App Engine...
+ bazel run upvote/gae:monolith_binary.deploy -- rv3-upvote app.yaml santa_api.yaml
INFO: Analysed target //upvote/gae:monolith_binary.deploy (1 packages loaded, 22994 targets configured).
INFO: Found 1 target...
Target //upvote/gae:monolith_binary.deploy up-to-date:
  bazel-bin/upvote/gae/monolith_binary_deploy.sh
  bazel-bin/upvote/gae/monolith_binary.deploy
INFO: Elapsed time: 10.367s, Critical Path: 0.32s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
ERROR: (gcloud.app.deploy) [/private/var/folders/kz/pxyk18yx0536xkmp05v10qrm0000gn/T/war.lelB7jwb/__main__/rv3-upvote] does not exist.

Was able to solve this by just running bazel run upvote/gae:monolith_binary.deploy rather than bazel run upvote/gae:monolith_binary.deploy -- "${PROJ_ID}" app.yaml santa_api.yaml


Add LTO to compilations where it doesn't fail

Signed-off-by: Dani Llewellyn<EMAIL_ADDRESS>

I must fix the build check - the check itself is broken right now so ignore the failure to build


Update Saxon to <IP_ADDRESS>

Description
Update Saxon dependency to latest stable version <IP_ADDRESS>
Motivation and Context
Older versions of Saxon are likely to not be updated anymore and newer version have additional features, XSLT 3.0 in particular.
How Has This Been Tested?
Passes tests.
Type of Changes

Update dependency

Checklist

My code follows the code style of this project.

https://github.com/dita-ot/dita-ot/wiki/Java-Coding-Conventions
https://github.com/dita-ot/dita-ot/wiki/XSLT-Coding-Conventions

I have updated the unit tests to reflect the changes in my code.

@raducoravu will you have problems with this upgrade?

This will require reworking the code for integrating saxon extension functions and any libraries that provide extension functions or collators. Not a huge deal but the java API did change in a way that means the 9.8 version can't work with 9.9 and visa versa, as far as I know.
Not saying we shouldn't just indicating that there is a cost.

@jelovirt maybe I can try next week our plugins with your Saxon upgrade and give some feedback.

Also, since I haven't been able to get the glossary processing code working the latest OT due to lack of time I don't really have a hard dependency on 9.8 if this upgrade is done soon, so I say go for it.

I'm happy with the upgrade, but would be good to know if it breaks that code we added in 3.3 first.

I started looking into how our plugins are affected by Saxon 9.9, one thing which would have made my debug process easier (without the need to overwrite the entire XsltModule class) would have been this:
https://github.com/dita-ot/dita-ot/issues/3334

@jelovirt Thanks for suggesting for me to look into how our plugins work with Saxon 9.9. I looked at how our WebHelp plugins interact with your DITA OT Saxon 9.9 branch. Made a change to an XSLT stylesheet which was subtracting an integer from a parameter which did not have a specified type (and somehow 9.9 had problems with this). Also made a small change in one of our Saxon extension Java function implementations as it was using an utility method from "net.sf.saxon.om.SequenceTool" which is now gone.
So no problem on my side, I made things work on my side with small changes, the changes I made are also compatible with the older Saxon 9.8.


hasMany inverseOf option should add a mask in the inverse model property.

Without the mask encode will enter a infinite loop since a reference cycle between the relation holder an the inverse model instance occurs (model -> relation -> item -> model).

Hi @iobaixas
What does inverseOf do? I looked into both the code as well as the documentation but am still kind of confused.


Hide navigation for one challenge and recipes

When we have only one challenge we can hide the navigation button ?
Page with one challenge: https://beta.reactjs.org/learn/importing-and-exporting-components

For clarity, here is the "After" version.

Not sure how I feel about this.

Was going through the site and found that the navigation was present even for 1 challenge and it was non interactive. Thought it would be nice if we didn't show the navigation rather than showing it and making it non interactive.
PS: we actually even show a next challenge button only when we have more than one challenge and current challenge is not the last challenge.
You can decide on whether it would be good or not to have this change.


Ensure CDSStream.data is initialized correctly

Fixes https://github.com/ioam/holoviews/issues/2320

Looks fine to me. Happy to merge when the tests are green.

Tests are green. Merging.


fix - handle exception cx_oo_clif_scan_error_detai

fix issue https://github.com/larshp/abapGit/issues/3313

thanks, looks good to me


drawio: 11.1.4 -> 11.2.4

Motivation for this change
Changelog:
https://github.com/jgraph/drawio-desktop/releases/tag/v11.2.4
https://github.com/jgraph/drawio/blob/v11.2.4/ChangeLog
Most salient change: fixes crash after print
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
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 nix-review --run "nix-review wip"
[x] 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
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Superseded by: https://github.com/NixOS/nixpkgs/pull/69236


Question about moto and boto3 region

Question
Hello moto community,
I was looking for a place to ask a question regading a behaviour of moto, to know if it is normal and to get more information about it.
So regarding the boto3 region we give it during instanciation, how is this region taken into account ?

For the case of the new aws chinese region (that is not integrated yet), we tested moto with that region and it did not seem to raise an error for "mocking not possible" but rather execute boto3 real endpoints and creating resources on the cloud ... Is this an intended behavior for moto and are there other cases where boto3 aws endpoints are called and not the mocks ?
Is moto mocking aws services per region (with api differences between regions) ? All i can find for now a state per service so i would guess that all mocked services are with the "same version"..

Thank you for you time and good job with the project
Lamine
Version of packages tested :
python==3.7
moto== 1.3.14
pytest==5.3.2
pytest-env==0.6.2
pytest-cov==2.7.1
boto==1.12.13

Hi @Lamine34,

The behaviour to call real endpoints was the intended behaviour on moto 1.3.14, where it would only intercept known services/endpoints/regions.
Considering this is quite dangerous, we switched away from this now, and the latest dev-releases intercept every call to *amazonaws.com. When calling an unknown service/endpoint/region, it will throw an NotImplementedError.
(See https://pypi.org/project/moto/#history for the latest release.)

Similarly, in 1.3.14 we only supported a fixed list of regions.
The latest releases support all regions that are known to boto, so as long as boto is up to date, Chinese regions should be supported.

Moto instantiates a separate class per service per region, to ensure that the data is logically separated. So all regions have the same functionality/behaviour.

Hope that helps.

Hello bblommers,
Thank you for your quick reply, it is perfectly clear. I was looking for a confirmation of what we observed,
I agree that it is safer to raise "NotImplementedError", this is important especially for production integration pipelines like in our use case where this "shady" behaviour can be a little painful to understand.
I'm happy that the project is taking this path for its future,
Good luck for everything and untill next time
Lamine


Make it possible to drop a course

This will mean we need the:

UI part created
Logic to delete the entry from the database
Implement it in an easy to understand way, and add some time of user confirmation.

One way to do this could be implementing it in to the scheduler view. That way you don't have to worry about making a new fragment.


Enhanced v4

Consider these changes within v4:

Upgraded to the .NET 4.8 framework to facilitate the addition of new features and support future development and enhancements.
Now compatible with Visual Studio 2022.
Introduced a new application icon.
Implemented a docking feature to enable the adjustment of controls in full-screen mode.
Default language to English (EN).

thanks for your cooperation...

thanks a lot


F-Droid can't build

ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/7010684988#L377
will diff soon
/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/c11d2b5967c9d13607e93c38e5b31a18b0ba53cf

Argh, bugger. Looking into it.
On Tue, 4 Jun 2024 at 10:07, Licaon_Kter @.***> wrote:

ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/7010684988#L377
will diff soon
—
Reply to this email directly, view it on GitHub
https://github.com/janexner/FotoTimerAndroid/issues/7, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACEWZGFXKF22DVUFUO664STZFVYSFAVCNFSM6AAAAABIX7D2BWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTEOBUGAYDMMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Did you launch the build again, and then it worked? https://gitlab.com/fdroid/fdroiddata/-/pipelines/1317370868

(or rather the pipeline)

that pipeline runs for the added disable: line... but it does not build anything that is... disabled :) ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/7011540470

fot11.log
Looks like https://gitlab.com/fdroid/fdroiddata/-/issues/3138 but we thought we're beyond that
@linsui thoughts?

I'll go through those and see.
The diffoscope output tells me about const floats that are marginally different, and recompiling locally did not change that. I did not change any of the build tools on my end, and Meditation Timer went through with the same settings.
Overall, I think I still haven't fully grasped how 'reproducible' is supposed to work...

Did you clean all the caches before rebuilding locally?

Overall, I think I still haven't fully grasped how 'reproducible' is supposed to work...

Not sure what "to work" means here :)
The app should be repro, but bugs in tooling... etc

After a deep clean of Android Studio on Windows, that build also passed the diffoscope test.

thanks :tada: https://gitlab.com/fdroid/fdroiddata/-/commit/6228747bfc564951b42284d9fa8f447bbded3c85

Well, thank you! And sorry for the mess!

Why do you censor the pics? https://tooting.ch/@jexner/112558115657822787 :grimacing:

Everything from F-Droid is public, open, that's the point :)


Update Posts “license”

Automatically generated by Netlify CMS

👷 Deploy Preview for e-commerce-nest processing.

Name
Link

🔨 Latest commit
6d69c207e1fd23c441e56bdebe9f7c7e61379078

🔍 Latest deploy log
https://app.netlify.com/sites/e-commerce-nest/deploys/63c5322d190c9f0009cc2933


Error : org.archicontribs.specialization_2.0.0.alpha1

Version of Archi, Operating System
VERSION 4.4, last download and install on the 2d of july
Expected Behaviour

I have installed the SPECIALIZATION plugin. I get an error message in ARCHI when I click on it :
An error has occurred. See error log for more details.
java.lang.NullPointerException
Actual Behaviour

I get an error message in ARCHI when I click on it :
An error has occurred. See error log for more details.
Steps to Reproduce the Behaviour

open ARCHI
Select a view
Select an object on the view, In the properperties, you can see Specialization and Drill down

Click on DRILL DOWN : it works perfectly
Click on SPECIALIZATION, you get the error message "An error has occurred. See error log for more details.  java.lang.NullPointerException"

Regards
Christine.

Hi Christine, this is an issue with Hervé 's plugin and thus you should open an issue in its github repository, not Archi' s one.

Done :-)
Christine Dessus
T : +33 6 31 09 73 54
www.competensis.com
On Wed, Jul 3, 2019 at 8:39 AM Jean-Baptiste Sarrodie <
<EMAIL_ADDRESS>wrote:

Hi Christine, this is an issue with Hervé 's plugin and thus you should
open an issue in its github repository, not Archi' s one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/496?email_source=notifications&email_token=ALLLZOZXQB33BT7HIUVENWLP5RCSLA5CNFSM4H5CMM6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZDOAAY#issuecomment-507961347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALLLZO2YEEOFODUPXHKREIDP5RCSLANCNFSM4H5CMM6A
.

Hi, this bug is indeed linked to my plugin. The issue has already been identified and will be solved in the next release.
Best regards
Hervé

Merci.
Christine Dessus. Message envoyé  avec mon téléphone
Le mer. 3 juil. 2019 à 10:56, Hervé Jouin<EMAIL_ADDRESS>a
écrit :

Hi, this bug is indeed linked to my plugin. The issue has already been
identified and will be solved in the next release.
Best regards
Hervé
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/496?email_source=notifications&email_token=ALLLZO4KJ7WST6GNSRNRQADP5RSU5A5CNFSM4H5CMM6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZDYXHY#issuecomment-508005279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALLLZO7SKC4I56LDZ4ET3WDP5RSU5ANCNFSM4H5CMM6A
.


VSCode hangs on invalid keybindings.json

VSCode Version: 1.5.2
OS Version: macOS 10.12

Steps to Reproduce:

open keyboard shortcuts
clear it out
paste in

{ "key": "cmd+d",           "command": "editor.action.addSelectionToNextFindMatch",
                                    "when": "editorFocus" },

receive error about not bing an array. Try to use arrow keys and backspace to fix but they don't work.
save and restart.
enjoy brick

referenced issue

Gulyás Attila
On Thu, Sep 22, 2016 at 4:56 PM +0200, "steveoh"<EMAIL_ADDRESS>wrote:
VSCode Version: 1.5.2
OS Version: macOS 10.12
Steps to Reproduce:
open keyboard shortcuts
clear it out
paste in
{ "key": "cmd+d",                 "command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus" },
receive error about not bing an array. Try to use arrow keys and backspace to fix but they don't work. save and restart.
enjoy brick
referenced issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Here is where you can find your keybindings.json, you'll need to fix (or rename) it: https://github.com/Microsoft/vscode/issues/11790#issuecomment-246321827

duplicate of #11868


add basic emoji support

TODO

colored emojis
emojis defined by a unicode variation sequence

Regarind unicode variation sequence: I am not familiar with unicoding and the FreeType library. From the tests I did so far it appears that OpenMoji does not provide variation cmap subtables (FreeType.FT_Face_GetVariantSelectors returns 0s). NoteEmojis seems to have a table but I could not query any characters from it using FT_Face_GetCharsOfVariant.
References:

https://freetype.org/freetype2/docs/reference/ft2-glyph_variants.html
https://github.com/JuliaGraphics/FreeType.jl/blob/master/src/FreeType.jl

Putting this aside for now since this require more work than anticipated and it is not of high-priority.

Multi-colored emojis are going to work through GLMakies text setup if that's something you're trying to get going. What's pushed to the GPU are signed distance fields of characters, which only have information on the inside vs outside of a character. If you wanted to encode color in that you'd need a signed distance field for each color channel, i.e. rework Makies texture atlas.
I'd say the path of least resistance would be to render an emoji externally to an image and then either use scatter(... color = img) or image.

For the scatter pipeline which @ffreyer mentioned, you could refer to MakieTeX's implementation of teximg, which uses images as scatter markers.
https://github.com/JuliaPlots/MakieTeX.jl/blob/3fada62a4e0bed8e0caac9fe8e3f40dcc09e27fe/src/recipe.jl#L58-L105

I did not know that, thanks.
I will give the scatter approach a try whenever I am picking this up again.
The most recent issue was that I could not even query all the metadata for an emoji from the .ttf font file. So that needs to be solved first.

With this, you could render all emojis using a single scatter plot, possibly directly on top of their stated positions in the text for layouting purposes.

I am curious about this idea. I thought about something similar when it comes about how to render a colored background for inline code, e.g. the background of this, without giving up on Makies glyph rendering and text wrapping.
Perhaps testing it first with emojis is a good idea, since the backgrounds might a bit more complex when accounting for line breaks.

Yeah, definitely!  You might want to use the bounding box methods for glyph collections, and somehow (if this can be done, I'm not sure) take the "subset" of the glyph collection which represents the code, find its bounding box, and then use that as a point and markersize to scatter at.

... take the "subset" of the glyph collection which represents the code, ...

With FormattedText we are already building a glyph collection ourselves and then just pass it on to text for rendering. I am not sure how to find the bounding boxes once it is rendered, since that is done inside text.

Oh, true, I could try that. I thought it does not account for line wrapping, but that was my misunderstanding. With that it might be a simple task to implement this.
Regarding emojis: Another issue is that we have to insert place holder chars for each emoji. Not so sure which one to pick because I don't know yet all the sizes of the emojis (are they all equally big?). Maybe we could also just insert a dummy Glyph with the right dimensions?

Well you could just insert the emoji right?  AFAIK that should have the same dimensions, but just not be colored?  Then plot the scatter over that

I am not sure if that will work for all emojis. E.g. some emojis are represented by a single unicode character, but others are defined through what is called a unicode variation selector (https://en.wikipedia.org/wiki/Variation_Selectors_(Unicode_block)) which is just a chain of unicode characters (or a string). Examples are flags or peoples and their skin tones. So the problem you run into when you map the shortcuts to their unicode chars (using the definitions in assets/emojis.json) is that some emojis are represented by multiple characters.
Perhaps it is as simple as just using only the first character, but I have to test or research this.
Reading from the wikipage it seems that the selectors are also used for mathematical symbols. Perhaps the people over at MakieTeXEngine.jl already solved that for us :)

I gave this a new try and here is what I did:

I started things off by looking into the unicode variation sequence problem. I still cannot make sense out of a *.ttf file and the FreeType methods for Variation Selectors (VS) (see links at start). Fonts I tried were OpenMoji and Noto Emojis. I think the latter might not contain variation selectors at all, at least on this page there are no colored flags which are usually defined through VS, but I could be wrong: https://fonts.google.com/noto/specimen/Noto+Emoji
I realized that OpenMoji provides production ready png and svg versions, see here: https://github.com/hfg-gmuend/openmoji/releases/tag/13.1.0.
I started looking into the svg version, since I thought that might be nicer to deal with in terms of scaling. However, I was surprised that the only available Julia package with a svg loader Rsvg.jl does seem to be less mature than the other file formats supported by ImageIO and FileIO. Especially, the statement that Rsvg.jl does not do any error handling did scare me off.
Because of the above, I started working with the png files for now. I can now render them with scatter to desired positions. The only thing left is to figure out the correct character origins wrt the text fields origin so that we can place the emojis correctly.

A few more things I observed:

scatter: Right now I construct a GlyphCollection and in parallel also extract the emojis together with the indices that point to the placeholders in the GlyphCollection. I then render the text with the placeholders using text where I pass an Observable{GlyphCollection}. I tried to then call scatter!(plot, <:Vector{Point2f}, marker=<:Vector{Colors.ARGB{Float32}}, ...), but this gave a StackOverlfow error for a yet unknown reason. Forwarding only a single image does not error. Rendering in an on(emojicollection) block is not possible, because we don't know how clear previous rendered plots.
if we stick to either png or svg files then we should implement a caching mechanism to avoid filesystem latency on any layout updates.
(less important): I noticed that lift only every creates one Observable. E.g.

a_b = lift(c) do c
   c[1], c[2]

returns an Observable{Tuple} and not a Tuple{Observable{...},Observable{...}}. Because of that I now use less beautiful constructs of the form
glyphcollection_emojicollection = lift(...) do ...
   ...
   gc, ec
end

glyphcollection = Observable(glyphcollection_emojicollection[][1])
emojicollection = Observable(glyphcollection_emojicollection[][2])
on(glyphcollection_emojicollection) do gc_ec
   gc, ec = gc_ec
   glyphcollection[] = gc
   emojicollection[] = ec
end

Somehow this does not seem right and I kind of think that I should not return multiple fields from lift, but right now that seems to be the simplest way.

Thanks for your suggestions @asinghvi17, they help a lot. I'll start incorporating those tomorrow.

I got the scatter approach to work.

TODOs

[ ] If the text is not left aligned then the positioning is a little off. This does not happen if the emoji is the last one on the line or another line is wider than the one the emoji is on. Not sure what I am missing here though.

[ ] match returns the offset of the match in codeunits, but we need character indices for the glyphcollection later on. Right now this only appears because I used also a unicode character as a placeholder for the emoji. Replacing it with an ascii won't fix the problem, since unicode characters can also appear is non-emoji inputs.

[ ] Test with more emojis.

Just noticed that Openmoji provides their pngs in two different resolutions: 71x71 and 619x619. The former are all about 4K in size and the latter roughly a factor of 3-4 bigger.
With the 71x71 versions I can render the 1533 emojis for which we have shortcuts. Resizing the window is then a bit laggy but it works. I also tried with the 619x619 version for which a window shows up, but no emojis are displayed. Instead I see a black box and my Laptop is running out of RAM, that is, my 16Gs are used and my swap is filled up with 18G or so.
Perhaps caching the images could reduce the memory pressure a little.

I think we are almost done. The only thing left to do is to get CairoMakie to render the Emojis to a pdf.
@asinghvi17 left some instructions on how to do that.

If you'd like I can write up an overload for that in a couple of weeks once I'm back home, but it would only be ~10 lines of code since all you're doing is:

intercept the scatter plot, don't actually plot that
change the color for the emojis back to the default (whatever that is), I don't think this matters so much as long as they are not transparent. It may be that Cairo doesn't even respect the color for emojis, in which case this step is not necessary.
Draw the internal text plot as normal
Profit!

For now I have settled on using � (\UFFFD) as the placeholder character for all emojis. This way I don't have to bother with the font not implementing all unicodes, which happens for some of the 1533 emojis (one example is :lipstick: with Tex Gyre Heros Makie; you can use test/allemojis.jl to render all emojis). If I understand correctly, doing what @asinghvi17 proposed, skipping the scatter plot, would then render only � in place of all emojis, correct? This is not what we want ...

For the scatter pipeline which @ffreyer mentioned, you could refer to MakieTeX's implementation of teximg, which uses images as scatter markers. I don't think that CairoMakie accepts those yet, but that's not too hard to implement.
https://github.com/JuliaPlots/MakieTeX.jl/blob/3fada62a4e0bed8e0caac9fe8e3f40dcc09e27fe/src/recipe.jl#L58-L105
With this, you could render all emojis using a single scatter plot, possibly directly on top of their stated positions in the text for layouting purposes.

This you said earlier and I think I might give it a try next week, unless you are already back and want to write up the 10 lines of code quickly :sweat_smile:
Also: Thanks guys for helping me out so much here. Definitely appreciate your reviews and your inputs.

Hey!  I opened #23 to give a brief idea of how I wanted to take this.  I experimented a bit with Cairo and it's not really working well with emojis so will need to look at that front some more, for now I added the method in a comment.

@ffreyer, I just thought of this, but do you think it would be possible to special-case this situation in GLMakie, by adding a special glyph type which just contains a matrix of RGBA to be rendered (instead of a signed distance field)?  It would be great for MakieTeX as well, since then I could just implement a special layouting method which returns one such glyph for every text.

I think you're asking for better sprite sheet/texture atlas support. I would like that too, but I haven't tried yet.
GLMakie can sort of handle that stuff already. When you call scatter with a vector of images it should be packing all those images into one texture and that gets accessed the same way text does through an SDF. Though I think it'll pack repeats into the texture as well.
https://github.com/JuliaPlots/Makie.jl/blob/5f7efd89ae31b370522b36d16f381c407fbbf5e8/GLMakie/src/glshaders/particles.jl#L182-L213
I'm not sure if you can set up a sprite sheet from outside. Maybe with color = spritesheet::Matrix{<: Colorant} you hit the method before this one, and maybe you can supply uv_offset_width = Vec4f(x, y, w, h) to pick a sprite.
It would be much nicer to have a generalized Makie.TextureAtlas() though. Something like
spritesheet = TextureAtlas{Int, RGBAf}()
push!(spritesheet, img1)
push!(spritesheet, img2)
...

scatter!(ax, pos, color = [1, 2, 1, 1], atlas = spritesheet)

would be good to implement at some point. I think most of the work here is creating a cleaner, general TextureAtlas. Or maybe an alternative, without all the SDF specifics. In GLMakie it should mostly just be a bit of branching.
https://github.com/JuliaPlots/Makie.jl/blob/master/src/utilities/texture_atlas.jl


Permission state error with PermissionState.denied when using Android API 33.

Hello,
It seems there is an issue after granting permission of photos on Android API 33. Please consider the changes of permission request from API 32 for storage and photos.
E/flutter (11879): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Permission state error with PermissionState.denied.
E/flutter (11879): #0      AssetPickerDelegate.permissionCheck (package:wechat_assets_picker/src/delegates/asset_picker_delegate.dart:40:7)
E/flutter (11879):
E/flutter (11879): #1      AssetPickerDelegate.pickAssetsWithDelegate (package:wechat_assets_picker/src/delegates/asset_picker_delegate.dart:157:5)
E/flutter (11879):
E/flutter (11879): #2      openGallery.picker (package:battuta/src/services/gallery_service.dart:48:7)

This is a wechat related issue. The library is using old wechat version which is not supporting limited versions

A new release 2.3.1 has been deployed which use the latest wechat_assets_picker version.
Please check it out


Parse assigned molecule in assembly report

Allow the Assembly checker to use assigned molecule as a source of name.

This won't work: closing for now


Bookmarklet does not reflow when page resized to 400% with viewport set to 1280px by 1024px

Issue description

Bookmarklet does not reflow properly when page is zoomed 400% and viewport is set to 1280px by 1024px.
The bookmarklet covers the whole screen, and users cannot see the main page.
Content behind the bookmarklet still gets highlighted as a user hovers over the heading links.

Severity
Medium
Occurs on
Windows 11/Chrome 116.0.58/400% zoom
How to replicate:

Navigate to https://stringyland.github.io/bookmarklets/headings-skipped.html on Edge and use the bookmarklet
Resize viewport to 1280px by 1024px, zoom to 400%
Notice how bookmarklet takes up whole screen.
Hover over the links with mouse pointer.
Notice how you can see the page behind the modal, and how the headings are still getting highlighted.

Expected behaviour

No loss of content or functionality should occur when page is resized up to 400% zoom with viewport set to 1280px by 1024px.

Actual behaviour

Bookmarklet does not reflow properly.

This could be fixable, but I think would need some user-testing by people with low vision to know what the preferred behaviour is.


Each Menu adds its own document event listeners for detecting keyboard state

Bug report
This is basically a reopening of https://github.com/radix-ui/primitives/issues/1139 since we're still seeing considerable slow down even after updating past the fix.
Current Behavior
Radix Dropdown Menus and Context Menus each add their own document event listeners for keydown and pointerdown which can cause a slowdown in the handling of the corresponding events
Expected behavior
Handling of keydown and pointerdown don't slowdown as a result of additional menu components on the page.
Reproducible example
Reproduction is to add n menus to a react app and observe that there are n document event listeners for either keydown or pointerdown
My Profile demonstrating consistent slowness with handling mousedown events:
Profile-20220312T073820.json.zip
And here's a screenshot from the above profile demonstrating a couple of examples of keydown events that take over a second to handle:

Suggested solution
Provide a global keyboard state context which registers a single document event listener and all menus can share.
Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-context-menu, @radix-ui/react-dropdown-menu
0.1.5

React
n/a
16.13

Browser
Chrome
99

Assistive tech
n/a
n/a

Node
n/a
v16.14.0

npm/yarn
yarn
1.22

Operating System
MacOS
12.2.1

@benoitgrelard @jjenzz Just pinging this. This is causing serious overhead in our app. It would be great if we could have a solution in Radix that didn't incur a performance penalty for each additional menu. Thanks!

@hipstersmoothie many of the components listed would only add events when the content parts are open so unlikely to be an issue unless you have 100s of dialogs open at the same time (for example).
the issue with Menu is specifically because this one is adding events in the Root part which will exist for all instances on the page (not just open content). the only one from your list that i can see is likely to suffer the same issues is RadioGroup.

@AlabasterAxe i'm not working at modulz anymore so i cannot help with a timeline for a solution on this i'm afraid.

Nice thanks for the pointer! taking a look. I agree that example performs very well. Not sure why performance would be so different.
In the cases I've been looking at it was ~700.

Your page does reproduce the same issue:

The top-level task took 42 ms overall and 40ms of which is just handling the keydown event listeners. It's possible that if there's more going on on the page that these event handlers are slower to process? 🤷

Yeah this is easily reproducible with the given example. Here I upped the menus to 1000 and each keydown takes 140ms

Even downing it to 700 (matching our usage) see 80ms delays

This PR I opened does fix the issue though. 🙏ing we can get a merge

Here I upped the menus to 1000 and each keydown takes 140ms

while i agree it might be nice to remove these events (to prevent the overhead of these reports if anything), if you're experiencing a performance issue from them i would think you are rendering far too many menus at once.
personally i would avoid rendering 500 menus on screen let alone 1000, since it is unlikely to be possible for a human to interact with that many menus in a single viewport so react will be redundantly managing those trees.
using something like IntersectionObserver/virtual scroll to render only the menus in the users viewport will help.

using something like IntersectionObserver/virtual scroll to render only the menus in the user's viewport will help your performance all round.

@benoitgrelard @andy-hook  that suggestion actually just made me realise that the Menu could probably use IntersectionObserver to verify it's in view before binding the events.

@jjenzz 100% agree, there's no reason we need to render many of those components since most of them are off-screen. I'm planning on looking into this soon.
At the same time, I think it's reasonable for these components to defensive about potential misuse, especially since in this case it seems like there are reasonable ways to avoid registering one listener per menu.

Hi @AlabasterAxe,

At the same time, I think it's reasonable for these components to defensive about potential misuse, especially since in this case it seems like there are reasonable ways to avoid registering one listener per menu.

Whilst this might be nice, it is clear that a lot more can be done user-side/app-side to ensure better performance.
Additionally, we have already reduced the numbers of listeners for each menu instance from 3 to 1 (#1140).
We have to prioritise where we focus our time so I will close this issue for now as it is unlikely we will do more in this case.
✌


bigquery select putting in extra "schema" in the column names.

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
Latest
Expected results
(google.cloud.bigquery.dbapi.exceptions.DatabaseError) [{u'reason': u'invalidQuery', u'message': u'Unrecognized name: abc at [1:12]', u'location': u'query'}]
Actual results
Steps to reproduce
Created table.
It generates what looks to be somewhat correct sql except for the schema in front of the dataset.column name in the select statement.
table is defined as abc.revenue
schema is left blank
database is defined as bigquery://myprojectid/
It looks as though `myschema.revenue`.`exchange_rate` would work! .. so just the extra ` ` are causing the problem.

SELECT SUM(`myschema`.`revenue`.`exchange_rate`) AS `sum__exchange_rate`
FROM `abc.revenue`
WHERE `day` >= '2018-02-02'
  AND `day` <= '2018-02-09'
ORDER BY `sum__exchange_rate` DESC
LIMIT 5000

Deleting the "table" from superset and recreating it with dataset.tablename from the initial create fixed the issue. When I was just modifying it, it didnt clear out the column names correctly.


Allow new retryOn policies

Fixes https://github.com/istio/istio/issues/30225
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

This should be backported

This should be backported

In response to a cherrypick label: new pull request created: #30253

In response to a cherrypick label: new pull request created: #30253

In response to a cherrypick label: new pull request created: #30254

In response to a cherrypick label: new pull request created: #30254


When calling a constructor with an empty string, the attribute is initialized as null

As discussed in grails slack:
Given the following domain class
Class MyDomainClass{

String myAttribute = ""

constraint = [ myAttribute blank: true, nullable: false ]

}

And the following spock test
MyTest extends Specification implements BuildDataTest {

void "empty string should be initialized"(){
when:
def myDom = new MyDomain(myAttribute = "")
then:
myDom.myAttribute` == ""
}
}

actually:
myDom.myAttribute == null
Workaround: set attribute in test after initialization manually.
Workaround is ok if you are not trying to test behaviours of methods that are supposed to copy Domain Objects.

Closing the item, as it is a grails behaviour, and not specific to this plugin.


Module bundle not found when using dynamic library

Description
The generated resource bundle accessor Bundle.module crashes in a test target because it cannot find the bundle of a dynamically linked library.
The setup is the following:

BaseLibrary package defines a dynamic library that contains a resource file
ClientLibrary package defines another library that depends on BaseLibrary
ClientLibrary has a test that tries to access the resource in BaseLibrary

The sample code can be found here: https://github.com/erudel/spm-dynamic-bundles/
I've searched for similar issues and found this post and other similar reports, however these all seem to be using static libraries. I tried switching BaseLibrary to be a static library and everything works as expected, so it seems the issue only arises when using a dynamic library.
Expected behavior
The test target ClientLibraryTests passes
Actual behavior
ClientLibraryTests crashes with the following error:
BaseLibrary/resource_bundle_accessor.swift:40: Fatal error: unable to find bundle named BaseLibrary_ BaseLibrary

Steps to reproduce

Clone project https://github.com/erudel/spm-dynamic-bundles/
Double click on ClientLibrary/Package.swift to open the project with Xcode
Select Product > Test (cmd-U)

Swift Package Manager version/commit hash
5.7
Swift & OS version (output of swift --version && uname -a)
swift-driver version: 1.62.15 Apple Swift version 5.7.1 (swiftlang-<IP_ADDRESS>.3 clang-14<IP_ADDRESS>)
Target: arm64-apple-macosx12.0
Darwin M9XDHW1R40 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64

EDIT: after finding https://github.com/apple/swift-package-manager/pull/3824 it seems that, if this is indeed a bug, the problem lies in the accessor generated by Xcode and not by SPM. Is anyone able to confirm this?

I'm seeing a similar error in generated resource_bundle_accessor.swift file which throws following error. My swift package builds fine on Xcode 13 but fails on Xcode 14.x (both 14.1 & 14.2)


Unable to import nonechucks

Hello,
I get the following error when trying to load nonechucks (after installing either with pip or cloning) in Python 3.6.3:

import nonechucks
Traceback (most recent call last):
File "", line 1, in
File "/anaconda3/lib/python3.6/site-packages/nonechucks/init.py", line 1, in
from dataset import *
ModuleNotFoundError: No module named 'dataset'

Thank you!

Hi @sannawag,
It looks like the import in __init__.py was using the Python2 syntax. I've replaced it with Python3 compatible relative import now (a0f846c68458ef2c5d6742aedede90b8c56bb1b0)
The library was written and tested on Python2. I'll be running tests for Python3 over the course of the next few days. Please open an issue if you encounter anything else.


Reenabling flux with its network policies

Signed-off-by: Soule BA<EMAIL_ADDRESS>This is supported by openshift since version 4.5 at least.
Note: OpenShift SDN cluster network provider comes with some limitations.  Egress network policies are not supported. Do not use it with the current flux version as it is shipped with egress policies. Use a CNI that support Kubernetes network policy instead.

OpenShift SDN

The openshift doc says:

When using the OpenShift SDN cluster network provider, the following limitations apply regarding network policies:

Egress network policy as specified by the egress field is not supported.

IPBlock is supported by network policy, but without support for except clauses. If you create a policy with an IPBlock section that includes an except clause, the SDN pods log warnings and the entire IPBlock section of that policy is ignored.

Egress network policy as specified by the egress field is not supported.

So does this means Flux will fail to install or the policies are just ignored?

https://operatorhub.io/operator/flux

The documentation is in https://github.com/k8s-operatorhub/community-operators and should be edited with the PR for the new version.
I have a concern with the way we do this though. I think most openshift users default to OpenShift SDN. So what we should do is take sometime to see if it is possible to add an EgressNetworkPolicy an test it.

Ideally, I would ask that we provide the shortest path to having the update come out.  Do we have a way to test EgressNetworkPolicy simply, or does this need extensive effort to figure out.

As part of the OperatorHub test script, it only tests that the pods start-up.
This would take quite a bit of time and effort to validate/test.

@paulofrazao it's easy to check if Flux is functional, create a source and Flux kustomization for podinfo then wait for it to reconcile., this e2e test will verify that the connection between controllers works when using network policies.
Add the podinfo.yaml to the repo:
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: oci
  namespace: flux-system
spec:
  interval: 10m
  url: oci://ghcr.io/stefanprodan/manifests/podinfo
  ref:
    tag: "6.3.0"
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
  name: oci
  namespace: oci
spec:
  targetNamespace: default
  interval: 10m
  path: "./"
  prune: true
  sourceRef:
    kind: OCIRepository
    name: oci
  wait: true
  timeout: 2m

In CI apply and wait for podinfo to be reconciled:
kubectl apply -f podinfo.yaml
kubectl -n flux-system wait kustomization/podinfo --for=condition=ready --timeout=5m
kubectl -n default rollout status deploy/podinfo --timeout=1m

I tried testing this by installing it in a local openshift cluster... and it does not wprk.
I tried to package and when doing operator-sdk bundle validate --select-optional name=operatorhub --verbose "flux/$version", I get the following error
ERRO[0000] Error: Value networking.k8s.io/v1, Kind=NetworkPolicy: unsupported media type registry+v1 for bundle object
ERRO[0000] Error: Value networking.k8s.io/v1, Kind=NetworkPolicy: unsupported media type registry+v1 for bundle object
ERRO[0000] Error: Value networking.k8s.io/v1, Kind=NetworkPolicy: unsupported media type registry+v1 for bundle object

The validation seems required here and after some investigation it seems we already knew about this:
https://github.com/operator-framework/operator-lifecycle-manager/issues/1858
The current status is that networkpolicies will likely not be supported by operator-sdk, see https://github.com/operator-framework/operator-lifecycle-manager/issues/1996.
I also believe that Saada already addressed this by adding the following in the doc:

Network Policies
If you're using a CNI that requires network policies, you may need to [add Flux's policies]> (https://github.com/fluxcd/flux2/tree/main/manifests/policies).

I believe the only thing we can do, is to be more explicit in documenting that flux network policies have to be installed by the cluster admin.

So my conclusion is as follow:
I ran a test on  openshift local with a bundled flux v0.39.0.
⋊> ~ crc version
CRC version: 2.13.1+b5b864fd
OpenShift version: 4.12.0
Podman version: 4.3.1

⋊> ~ oc get installplan -n flux-system
NAME            CSV            APPROVAL    APPROVED
install-dgq5v   flux.v0.39.0   Automatic   true

⋊> ~ flux version
flux: v0.39.0
helm-controller: v0.29.0
image-automation-controller: v0.29.0
image-reflector-controller: v0.24.0
kustomize-controller: v0.33.0
notification-controller: v0.31.0
source-controller: v0.34.0

I then manually applied the network policies
⋊> ~ oc get networkpolicies -n flux-system
NAME             POD-SELECTOR                  AGE
allow-egress     <none>                        28m
allow-scraping   <none>                        28m
allow-webhooks   app=notification-controller   28m

And flux run as expected
⋊> ~ oc get kustomizations -n flux-system
NAME   AGE   READY   STATUS
oci    21m   True    Applied revision: 6.3.0/fa482857dcbff9b405108ee1d773eaec053011a6f0a8023b2f492ff670aaa4c5

⋊> ~ oc get ocirepository -n flux-system
NAME   URL                                            READY   STATUS                                                                                AGE
oci    oci://ghcr.io/stefanprodan/manifests/podinfo   True    stored artifact for digest '6.3.0/fa482857dcbff9b405108ee1d773eaec053011a6f0a8023b2f492ff670aaa4c5'   26m

I have updated the PR accordingly, with a change of the description.

This name of this PR is misleading, please change it


D patterns?

I assume D patterns would look similar to C/C++ patterns, but I don't know enough about D to be sure (hence why I'd love a gitignore.io formula!)

https://github.com/github/gitignore/pull/1676


update jwt to laravel sanctum

update jwt to laravel sanctum  also you can remove        "tymon/jwt-auth": "^1.0.0" and remove         "fruitcake/laravel-cors": "^1.0",  instance you official  way in laravel 7

https://serversideup.net/using-laravel-sanctum-airlock-with-nuxtjs/

any news on this?

I've published a new branch for Laravel Sanctum if you want to test it.
Now I'm wondering if I should merge it in master or not... 🤔

I've published a new branch for Laravel Sanctum if you want to test it.
Now I'm wondering if I should merge it in master or not... 🤔

I've published a new branch for Laravel Sanctum if you want to test it.
Now I'm wondering if I should merge it in master or not... 🤔

just create a new project then transfer all required packages.
i see, that this project need a fresh build with pre-render optional implementation, like Your nuxt version.

Also I think it would be great to implement Fortify to use two-factor authentication. Convenient, right?

And lastly, I think it's right to switch to taiulwindcss and provide for the possibility of using a variety of color schemes, which, it seems to me, will increase both the audience and the number of problems :) you yourself understand that it's boring without problems :)

Moving to #325


Failed to parse multiple rules in single line

Trealla failed to parse multiple rules in a single line, e.g.:
:- initialization(main). main :- write(hi), nl, halt.

Error output:
Trealla v0.1alpha, 64-bits (int=128-bits), Dec 16 2016
ERROR: unknown operator: '.'
ERROR: consult 'foo.pl'
>>> Syntax error,line=1
>>> , nl, halt.
?-

Trealla doesn't support multi rules per line at the moment, they are pretty horrendous. The '.' must terminate the line. It will take a major rethink of input processing to fix this so i'm labelling "won't fix" for now.

Note, for same reason Trealla can't do this:
~/trealla$ swipl
Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 7.2.3)
?- read(S1), read(S2).
|: hello1. hello2.
S1 = hello1,
S2 = hello2.
?- halt.

Ok, feeling guilty now. Enhancement...


Should support SDFormat to URDF conversion

Should ensure that SDFormat models are compatible (e.g. no loops, etc.).
URIs are up for debate for how to handle / convert (if at all).
Can help with https://github.com/osrf/sdformat/issues/265, e.g. making sure compatibility checks are good, exposing that as public API.
\cc @IanTheEngineer

This is related to https://github.com/ros/urdf/issues/34 - Likely a tool that accomplishes this SDFormat -> URDF task could live side-by-side with the sdformat_parser plugin for urdf::Model's

In https://github.com/ros/sdformat_urdf/pull/1, there is an approach to parsing an sdformat file and generating urdfdom data structures. I've noticed one place where some additional APIs could be provided by libsdformat for finding the root link, since they are currently assuming that the canonical link is the root link (https://github.com/ros/sdformat_urdf/pull/1/files#diff-12b109e5d429371a684ac656c3aa2037R111-R126), which is not guaranteed to be true.
There was some prototype code for generating a KinematicGraph that could be used for finding the root link of a model, but it didn't make it into libsdformat9:

https://github.com/osrf/sdformat/blob/spec2_prototype_9/include/sdf/FrameSemantics.hh#L68-L82
https://github.com/osrf/sdformat/blob/spec2_prototype_9/src/FrameSemantics.cc#L167-L234

I think we could potentially add APIs like std::string Model::GetKinematicRootLink(const std::string &_linkNameGuess) and/or std::string Link::GetKinematicRootLink() that would use the KinematicGraph internally

Per f2f, my opinion is that things like root link are effective implementation details of KDL. If it needs to be specified through SDFormat, it's non-physical (a modelilng consideration) and should possibly be a custom tag.

Per f2f, my opinion is that things like root link are effective implementation details of KDL. If it needs to be specified through SDFormat, it's non-physical (a modelilng consideration) and should possibly be a custom tag.

Consider a directed graph with a vertex for each Link and an edge for each joint pointing from the resolved parent link to the resolved child link (aka directed kinematic graph). The direction of edges is a modeling choice and somewhat arbitrary, but if you ignore the directionality, the underlying undirected graph is still very physically meaningful. Would you be more comfortable if the libsdformat API provided API's that inform about the undirected kinematic graph:

how many connected components are in this undirected graph?
does this undirected graph have any cycles / loops?

Also, even if directionality is somewhat arbitrary, I still think it would be useful to query:

is a fully-connected directed kinematic graph also a directed tree?
if so, what is the root of that tree?

I don't think these questions are unique to KDL; they've been relevant to our previous work with dartsim and simbody, for example.

I get that these thing are relevant for libraries that model things as trees (Drake included), but I'm still feel like it's a bit of scope creep to add too many tree-based queries.
But yes, undirected graph queries sound great!
Regarding the directed parts:

is a fully-connected directed kinematic graph also a directed tree?
if so, what is the root of that tree?

IMO, it feels like the undirected queries can help inform this (connected components == 1, no cycles), and that's all libsdformat should be responsible for.
However, directed trees are not unique for a compatible graph, and I feel like that interpretation should be up to the implementing library depending on how they want to do internal optimization (but possibly with a heavier abstraction layer) or keep things convenient for the user (uber simple to implement).
The scope creep here is adding a feature that may require wayyyy too many knobs to be useful in a general sense.
Thoughts?

To clarify: I don't think libsdformat should foist a root node on users. They should do that themselves.
If they want something optimal w.r.t. algorithms they use, that's on them, and they can use whatever library to help get the best spanning tree for a graph?

Ooohhh, one more thing: Since URDF has //joint/@type=="floating", is there really a reason to constrain connected components == 1? I figured if you have disconnected components, then downstream libs can just say "meh, choose this root.", and then add floating bodies.

Derp. This issue is about libsdformat providing SDFormat -> URDF xconversion. Yeah, duh, sorry, we do need to choose a root link or expose that knob - my bad!!! :facepalm:
However, there is a question about what level of API libsdformat exposes in terms of facilitating those queries externally. I'm on the fence of whether or not we want a public commitment there, or just seal it into the API.
Thoughts?

there is a question about what level of API libsdformat exposes in terms of facilitating those queries externally. I'm on the fence of whether or not we want a public commitment there, or just seal it into the API.

Yeah, we've hidden the FrameAttachedToGraph and PoseRelativeToGraph in libsdformat9, so I think for consistency we would do the same thing with a KinematicGraph and just expose something like the current Resolve* APIs. I'll think about this and make some concrete suggestions.

how many connected components are in this undirected kinematic graph?

std::set<std::string> Model::ConnectedLinks(const std::string &_linkName = ""): for a link name in a given model (default to canonical link if unspecified), return the set link names connected by joints within that model (this becomes more complicated once we allow joints across model boundaries with :: syntax). the output data structure could alternatively be a std::pair<std::set<sdf::Link*>, std::set<sdf::Joint*>>if you want DOM pointers to both Links and Joints
std::vector<std::set<sdf::Link*>> Model::ConnectedLinkGroups(): returns all connected components

does this undirected graph have any cycles / loops?

bool Model::HasKinematicLoop(), bool Link::ConnectedToKinematicLoop()

is a fully-connected directed kinematic graph also a directed tree? if so, what is the root of that tree?

sdf::Errors Link::GetKinematicRootLink(std::string &_rootLinkName): starting with the given link:

if this link is not a child of any joints: return this link's name
if this link is a child of 2 or more joints: return an error
if this link is a child of 1 joint: repeat this loop for the parent link of that joint (we'll to also need to keep a list of visited links to avoid getting stuck in a loop)

bool Model::IsDirectedTree(std::string &_rootLinkName, const std::set<std::string> &_connectedLinks) to check if a directed graph is also a directed tree, call sdf::Errors Link::GetKinematicRootLink(std::string &_rootLinkName) for every link in a set of connected links and confirm that there are no errors and that they all return the same rootLinkName

That looks better!
Some minor questions / comments:

I'm not sure how I feel about these queries living on sdf::Model, esp. if there may be connections outside of that model (e.g. in a parent). I would think that URDF could express "multi-model"s as trees, even if there is a floating joint between them. Is it possible to put them somewhere else, and perhaps constraint them to operate only on the root-level model? (or is there a benefit to this structure that I'm missing?)
The name GetKinematicRootLink seems a bit dubious / could be better named? e.g. GetCandidateKinematicRootForLink? (that way it's explicitly clear that it's not returning the "one true" root?)
IsDirectedTree - I'm not sure if I understand this... How does (string rootLink, set<string> connectedLinks) indicate direction? Is it based on the (parent, child) relationship that dictates that direction? If so, I'm not sure if we want to explicitly state this. Perhaps IsExpressibleAsDirectedTree()?

Should ensure that SDFormat models are compatible (e.g. no loops, etc.).

"Compatible" means that the frame placement must respect the existing URDF (both C++ DOM and XML format) constraints on the position of the link frame? The main constraint is that for 1-dof joints the link frame origin must lie on the axis of the parent joint. If that is the case, in practice there in most models there is only one possible choice of kinematic root for the model that respects this constraint.

Should ensure that SDFormat models are compatible (e.g. no loops, etc.).

"Compatible" means that the frame placement must respect the existing URDF (both C++ DOM and XML format) constraints on the position of the link frame? The main constraint is that for 1-dof joints the link frame origin must lie on the axis of the parent joint. If that is the case, in practice there in most models there is only one possible choice of kinematic root for the model that respects this constraint.

that's a good point @traversaro; I hadn't thought about that additional difference, that URDF link frames are co-located with the parent joint frame. We should make a test for this.
I think this can be handled by computing the values of //joint/origin, //collision/origin, and //visual/origin relative to the parent joint pose instead of the parent link pose.

I'm not sure how I feel about these queries living on sdf::Model, esp. if there may be connections outside of that model (e.g. in a parent). I would think that URDF could express "multi-model"s as trees, even if there is a floating joint between them. Is it possible to put them somewhere else, and perhaps constraint them to operate only on the root-level model? (or is there a benefit to this structure that I'm missing?)

I think it would take some careful thought for how to represent nested models in urdf DOM data structures. Would you use the approach of sdf::addNestedModel from libsdformat9 that concatenates nested model names with link names using :: as a separator? I know we are moving away from that in libsdformat11, but that may be needed to support nested models here.

The name GetKinematicRootLink seems a bit dubious / could be better named? e.g. GetCandidateKinematicRootForLink? (that way it's explicitly clear that it's not returning the "one true" root?)

That's a fine suggestion; it is more specific at the cost of being longer.

IsDirectedTree - I'm not sure if I understand this... How does (string rootLink, set connectedLinks) indicate direction? Is it based on the (parent, child) relationship that dictates that direction? If so, I'm not sure if we want to explicitly state this. Perhaps IsExpressibleAsDirectedTree()?

Since it is a method of the Model class, the directionality should already be available internally. Passing a set of connected link names  allows subsets of a model to be evaluated for whether they can be expressed as a directed tree. I'm open to name suggestions here too, but on first glance IsExpressibleAsDirectedTree strikes me as overly verbose

I think it would take some careful thought [...]

I'm not sure if I know why you're suggesting sdf::addNestedModel?
Is it to constrain the query to a "root" model (b/c sdf::Model is the root model by construction?)
Or is it permit flattening to express it in URDF?
I don't think sdf::addNestedModel is good for either of those purposes, and if URDF were to express nested models, it should leverage the DOM API once we have it.
That being said, it also doesn't seem like we need to rush this in? Shane already has a working prototype, so we could wait til we have proper nested models and only the solve the problem there?

That's a fine suggestion; it is more specific at the cost of being longer.

GetPossibleRootLink() or GetPlausibleRootLink? I'd rather the truthiness be preserved, and the (semi-redundant) specifier ("kinematic") be lost.

[...] IsExpressibleAsDirectedTree strikes me as overly verbose

CanBeADirectedTree? IsDirectedTreeCompatible?
I mean, these probably aren't going to be used that much, so meh on length? And also, they're not that long. I've seen longer :P -- and for much more frequently used functions :(

I'm not sure if I know why you're suggesting sdf::addNestedModel?
Is it to constrain the query to a "root" model (b/c sdf::Model is the root model by construction?)
Or is it permit flattening to express it in URDF?
I don't think sdf::addNestedModel is good for either of those purposes, and if URDF were to express nested models, it should leverage the DOM API once we have it.

I didn't mean to suggest we should literally use sdf::addNestedModel, merely that we should use the same approach that it uses to flatten the nested model namespace.

That being said, it also doesn't seem like we need to rush this in?

Agreed that it doesn't need to be in the first implementation.


⚠ Bofrost.at has degraded performance

In 1dd50f3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1991 ms

Resolved: Bofrost.at performance has improved in 1c5a44c after 7 minutes.


docs: Reshuffling the content a bit

Affinity document is embedded to topology-aware.md file as it is related to topology-aware policy.
Shuffled the table of contents so that it is more logical.

ping @klihub

Fixed merge conflict.


Added command description to command help message

I guess command description should be available in command help message.
In current version to see command description user should open main help or branch help.
I offer add command decsription to command help message.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.n.kochnev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Question How I can "clean" data ?

How I can "clean" data ? I mean, clean Jira docs from Mongo, is there an API endpoint to do that ?

Have to do it manually on the MongoDB. Won't it be a security risk if there is an api endpoint to delete data? Unless it is restricted to admin of course.

@juantoledo You should be able to just drop the feature and scope collections from mongodb and then re-run the jira collector to refetch the data.
Offcourse, make a backup of your mongodb before manipulating collections.

@juantoledo Closed.


method not found exception

hi i am getting method not found exception, can you please help and tell me what i am doing wrong
System.MissingMethodException: 'Method not found: 'System.Collections.Generic.Dictionary`2<System.String,System.Object> Microsoft.SemanticKernel.PromptExecutionSettings.get_ExtensionData()'.'

try
{
    var builder = Kernel.CreateBuilder();

    // provide the HTTP client used to interact with Ollama API
    builder.Services.AddTransient<HttpClient>();

    builder.AddOllamaTextGeneration(
       modelId: "mistral:latest", // Ollama model Id
        baseUrl: "http://<IP_ADDRESS>:11434" // Ollama endpoint
    );

    var kernel = builder.Build();
    string prompt = File.ReadAllText("prompt.txt");
    string input = "test";
    var result = await kernel.InvokePromptAsync(prompt, new KernelArguments
{     {"input", input}            });
    string s = result.GetValue<string>();
}
catch (Exception ex)
{

}

prompt.txt
Bot: How can I help you?
User: {{$input}}

---------------------------------------------

The intent of the user in 5 words or less:

i am using .net 8 winform project

Could you let me know what version of Semantic Kernel you are using? Something might have changed in the new versions. I'll take a look at this over the weekend.
Also, the Ollama Plugin will soon be integrated into the main repository of semantic kernel. You can check out here. Some minor work is pending, hopefully, it gets merged into main soon

Thank you for getting back to me! I have the following packages installed

@descention - This worked for me! Thank you!

builder. AddOllamaTextGeneration  should also work; I have pushed version 1.3.1 of the plugin that I tested against semantic kernel 1.14.1; let me know if it works for you.


Unable to plop bus stops with mod enabled

When trying to plop a bus stop, a bus center is automatically selected, so it is impossible to add a bus stop, either by creating a new line, or by adding to an existing one.
I first identified that this mod was the one that caused it by disabling 5 mods at a time, then 1 by one. With all my other mods enabled, toggling this one toggled the bug. After that I disabled every mod except for this one and loaded a new map. Then I got this error message when I tried to select the bus stop:
Object reference not set to an instance of an object [System.NullReferenceException]
Details:
No details
System.NullReferenceException: Object reference not set to an instance of an object
at NetManager.CreateNode (System.UInt16& node, ColossalFramework.Math.Randomizer& randomizer, .NetInfo info, Vector3 position, UInt32 buildIndex) [0x00000] in :0
at TransportLine.CreateNode (UInt16 lineID, System.UInt16& node, Vector3 position, Boolean fixedPlatform) [0x00000] in :0
at TransportLine.AddStop (UInt16 lineID, Int32 index, Vector3 position, Boolean fixedPlatform) [0x00000] in :0
at TransportTool.EnsureTempLine (.TransportInfo info, UInt16 sourceLine, Int32 moveIndex, Int32 addIndex, Vector3 addPos, Boolean fixedPlatform) [0x00000] in :0
at TransportTool.SimulationStep () [0x00000] in :0
at ToolManager.SimulationStepImpl (Int32 subStep) [0x00000] in :0

As far as I know, this problem is solved by now.


unable to parse package file

I've been using this role for a while, but suddenly having some trouble with it. I get the following error when running this:
TASK: [angstwad.docker_ubuntu | Install (or update) docker package] ***********
<<IP_ADDRESS>> REMOTE_MODULE apt name=docker-engine state=present
failed: [<IP_ADDRESS>] => {"failed": true, "parsed": false}
BECOME-SUCCESS-mrlqxwempmkpaykhqkiiphryxqgzmzgx

Traceback (most recent call last):

  File "/home/ubuntu/.ansible/tmp/ansible-tmp-1445550195.85-96942197658441/apt", line 2258, in <module>

    main()

  File "/home/ubuntu/.ansible/tmp/ansible-tmp-1445550195.85-96942197658441/apt", line 554, in main

    cache = apt.Cache()

  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 107, in __init__

    self.open(progress)

  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 151, in open

    self._cache = apt_pkg.Cache(progress)

SystemError: E:Unable to parse package file /var/lib/apt/lists/us-west-2.ec2.archive.ubuntu.com_ubuntu_dists_trusty-updates_main_i18n_Translation-en (1), E:The package lists or status file could not be parsed or opened.

OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 19: Applying options for *

debug1: auto-mux: Trying existing master

debug1: mux_client_request_session: master session id: 2

Shared connection to <IP_ADDRESS> closed.

FATAL: all hosts have already failed -- aborting

Any help would be greatly appreciated, thank you!

That looks like a apt problem to me.  I found this thread on Ask Ubuntu and some have reported it happening with some frequency in AWS.
If this became a regular occurrence, I'd personally run a playbook that removes the apt cache first, then calls the docker.ubuntu role.
If you're booting from a snapshot, I guess I'd try and see if a newer Ubuntu build resolves the issue.  Ubuntu's cloud site has their latest 14.04 builds here.

Yes, looked like a local issue. Found the same thread and that fixed it. I should have looked more closely before opening this issue :) Thanks for the reply.


test: fix unstable test test_report_approximate_size_after_split_check

Signed-off-by: linning<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #10511 #10447
Problem Summary:
The test failed because timeout of cluster.batch_put, before calling cluster.batch_put, the test setup the failpoint which sending msg to the sender of a sync_channel(10) but only receive the values after cluster.batch_put. If the failpoint trigger multiple times and call send more than 10 times, any incoming failpoint trigger will be blocking and cause raftstore stuck.
What is changed and how it works?
What's Changed:
Replace mpsc::sync_channel with mpsc::channel
Check List
Tests

Integration test

Release note
None

/merge


Speakers view all cards doesn't feel like clickable.

When we move cursor on the speakers card, it's just normal cursor. Not the clickable pointer icon.
Have to change

Fix the issue and made a pull request

@chanakaDe I guess this is done, have a look again, and please close the issue if it works as you expect.

@championswimmer , its already done and can be closed.


Podfile.lock prevents CocoaPods update.

miniMacen:swift-elm karemorstol$ pod install
[!] ERROR: Parsing unable to continue due to parsing error:
contained in the file located at /Users/karemorstol/Downloads/swift-elm/Podfile.lock
PODS:
  - RxBlocking (2.0.0):
    - RxSwift (~> 2.0)
  - RxCocoa (2.0.0):
    - RxSwift (~> 2.0)
  - RxSwift (2.0.0)

DEPENDENCIES:
  - RxBlocking (~> 2.0.0)
  - RxCocoa (from `git@github.com:momentumworks/RxSwift.git`)
  - RxSwift (~> 2.0.0)

EXTERNAL SOURCES:
  RxCocoa:
    :git: git@github.com:momentumworks/RxSwift.git

CHECKOUT OPTIONS:
  RxCocoa:
    :commit: 966445b0d0c6c68c589b39522698e5557626d05c
    :git: git@github.com:momentumworks/RxSwift.git

SPEC CHECKSUMS:
  RxBlocking: a95a10ed54eb5d116f6c9a87047ff671e181d07b
  RxCocoa: b0ebd70b4f7450bdb3c8987b122f8fd568dc1e2f
  RxSwift: d83246efa6f16c50c143bec134649d045498f601

COCOAPODS: 0.39.0

Removing Podfile.lock results in this:
miniMacen:swift-elm karemorstol$ pod install
Updating local specs repositories

[!] There was an error reading '/Users/karemorstol/.cocoapods/repos/master/CocoaPods-version.yml'.
Please consult http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/ for more information.

I'm using the latest non-beta release of CocoaPods.

Hey,
I've tried reproducing, but can't. I don't think this is an issue with this project, but rather with CocoaPods. I've done a bit of Googling and have found a number of possible causes that are worth investigating:
https://github.com/CocoaPods/CocoaPods/issues/2908
https://github.com/CocoaPods/CocoaPods/issues/3466
https://github.com/CocoaPods/CocoaPods/issues/3597#issuecomment-107402868
Please let me know if you manage to get anywhere with this.
Cheers

Right you are. This fixed the problem:
sudo gem uninstall psych
sudo gem install psych -v 2.0.0

Cool, glad you managed to resolve it! Thanks for closing the ticket :)


Fix custom function ctx usage

This fixes issues discussed on #3 and make unit test work again, while being compatible with Koa ^2.0.0.

@brunokrebs Travis is ignoring my changes to .travis.yml, for some reason and still running the test suite on node 4 and 5. But tests should be passing for node 6 and up now.

As far as I understood, Koa v2 depends on Node 7. So Node 6 would be a problem here. Anyway, I have updated the whole repo fixing all the mess that I have done before. So this won't be necessary anymore.
Thanks for your help @nfantone

@brunokrebs Actually, Koa now depends on node ^6.0.0.


Loss of context when using yarn workspaces

Details
The react-three-offscreen works perfectly. It displays the scene correctly, except the context is not defined when I use r3-offscreen with yarn workspaces.
Error: R3F: Hooks can only be used within the Canvas component!

At some point it may work, but only until you delete the vite cache.
Reproducible repo
https://github.com/LIMPIX31/r3f-offscreen-workspaces

I have no idea why this happens, but if you pass the render function and hooks to another workspace, it works. As there will be two instances of @react-three/fiber.


Unable to link different Cognito User Pools to different environments within same app

Before opening, please confirm:

[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d1cyihgxi1td5r
Region
eu-west-1
Environment name
prd
Amplify CLI Version
7.6.26
If applicable, what version of Node.js are you using?
17.3.1
What operating system are you using?
Mac
Browser type?
Firefox & Chrome
Describe the bug
Amplify is overriding/misconfiguring Cognito Authentication setup between the two environments I have in my app.
I have an Amplify application, with two environments and two Cognito User Pools (with their respective Identity Pools) created outside Amplify.
When I created the application and the first environment (dev), I imported using the Amplify CLI the first Cognito User Pool. Works as expected.
Then I created the second environment (prd) and I imported the second Cognito User Pool with Amplify CLI, but after deployment finishes, I see both environments configured only with the first User Pool.

And then the Admin UI for prd environment shows the configuration of the first User Pool:

I cannot import the second User Pool using Amplify Admin UI because it throws an error regarding Lambda environment variables not being properly set (this error only shows in Admin UI, not in CLI).

Adding team-provider-info.json
{
  "dev": {
    "awscloudformation": {
      "AuthRoleName": "amplify-xxx-authRole",
      "UnauthRoleArn": "arn:aws:iam::xxx:role/amplify-xxx-unauthRole",
      "AuthRoleArn": "arn:aws:iam::xxx:role/amplify-xxx-authRole",
      "Region": "eu-west-1",
      "DeploymentBucketName": "amplify-xxx-deployment",
      "UnauthRoleName": "amplify-xxx-dev-unauthRole",
      "StackName": "amplify-xxx-staging-xxx",
      "StackId": "arn:aws:cloudformation:eu-west-1:xxx:stack/amplify-xxx-staging-xxx/xxx",
      "AmplifyAppId": "---xi1td5r",
      "APIGatewayAuthURL": "https://s3.amazonaws.com/xxx"
    },
    "categories": {
      "auth": {
        "authName1": {
          "userPoolId": "eu-west-1_xxx2Xsv",
          "userPoolName": "pool1",
          "webClientId": "xxx",
          "nativeClientId": "xxx",
          "identityPoolId": "eu-west-1:xxxb4e9d",
          "identityPoolName": "idpXXX-Pre",
          ...
        }
      },
      "function": {
        "func1": {
          "deploymentBucketName": "amplify-xxx-staging-xxx-deployment",
          "s3Key": "amplify-builds/xxx-xxx-build.zip"
        },
        "func2": {
          "deploymentBucketName": "amplify-xxx-staging-xxx-deployment",
          "s3Key": "amplify-builds/xxx-xxx-build.zip",
          "envVar1": "xxx",
          "envVar2": "xxx"
        }
      }
    }
  },
  "prd": {
    "awscloudformation": {
      "AuthRoleName": "amplify-xxx-prd-xxx-authRole",
      "UnauthRoleArn": "arn:aws:iam::xxx:role/amplify-xxx-prd-xxx-unauthRole",
      "AuthRoleArn": "arn:aws:iam::xxx:role/amplify-xxx-prd-xxx-authRole",
      "Region": "eu-west-1",
      "DeploymentBucketName": "amplify-xxx-prd-xxx-deployment",
      "UnauthRoleName": "amplify-xxx-prd-xxx-unauthRole",
      "StackName": "amplify-xxx-prd-xxx",
      "StackId": "arn:aws:cloudformation:eu-west-1:xxx:stack/amplify-xxx-prd-234344/xxx-12312",
      "AmplifyAppId": "----1td5r",
      "APIGatewayAuthURL": "https://s3.amazonaws.com/amplify-xxx-prd-xxx-deployment/..."
    },
    "categories": {
      "function": {
        "func1": {
          "deploymentBucketName": "amplify-xxx-prd-xxx-deployment",
          "s3Key": "amplify-builds/xxx-xxx-build.zip"
        },
        "func2": {
          "deploymentBucketName": "amplify-xxx-prd-xxx-deployment",
          "s3Key": "amplify-builds/xxx-xxx-build.zip",
          "envVar1": "xxx",
          "envVar2": "xxx"
        }
      },
      "auth": {
        "authName2": {
          "userPoolId": "eu-west-1_xxxxPWZq",
          "userPoolName": "xxx-Pro-UP",
          "webClientId": "xxxc0vp",
          "nativeClientId": "xxxxc0vp",
          "identityPoolId": "eu-west-1:xxx57991c",
          "identityPoolName": "xxx-Pro",
          ...
        }
      }
    }
  }
}

Expected behavior
When importing the second User Pool Auth(xxx-PRO-UP), it should be linked to prd environment instead of PRE environment.
Reproduction steps

Have an Amplify App and two Cognito User Pools created manually
Create the first environment, and link it to the first Cognito User Pool
amplify init
amplify import auth (and follow steps)
git add . && git push
Create the second environment and import second User Pool
git checkout -b prd
amplify env add prd
amplify checkout prd
amplify import auth (and follow steps for 2nd UP)
git add .
git push

Additional information
I tried to unlink and relink the User Pool for PRD environment several times without success

Hello @aizqdots, Thank you for reaching out. I was curious on the amplify env add prd, on executing the command the CLI will prompt the following.
? The resource: 'congtioxxx' (Cognito User Pool: 'us-east-1_xxxx') already imported to 'dev' environment, do you want to import it to the new environment? (Y/n) » Yes If you choose No, then an import walkthrough will run to import a different resource into the new environment.
If selected yes the environment will import the existing Cognito resource. If selected no, the CLI will prompt the Cognito user pools to select from. Could you please let me if a new user pool was selected in this step or the user pool from the previous environment was selected.
As when performing the amplify auth the CLI will throw the following warning.
Auth has already been imported to this project and cannot be modified from the CLI. To modify, run "amplify remove auth" to unlink the imported  auth resource. Then run "amplify import auth".

Hello, sorry for taking so long to answer.
I selected "no", because user pools are different for each environment.
This issue was solved when I set the missing Lambda environment variables with the Amplify CLI  in the second environment (prd). It seems it is related with this other issue, but in my case the console wasn't asking for the missing variables.


youtube.com Error 403

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.03.24
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: none
[debug] Proxy map: {}

Description

Here's what I get when I try to download videos from youtube using youtube-dl <video_url>,
youtube-dl https://www.youtube.com/watch?v=-0-RNQeKETU
[youtube] -0-RNQeKETU: Downloading webpage
ERROR: unable to download video data: HTTP Error 403: Forbidden

#23638

Thank you, i didn't know. Removing the cache dir solved the problem.


Faulty Behaviour When Reroll Chance Is 0 By Default

If dices reroll chances for roll phase is set to 0 in mode, players can still roll once

This bug only affects unusual custom game modes, so the bug fix will not be done until all characters and cards are implemented (or requested by active user).

Fixed in f4bc7c6


fix publishing workflow

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/29