[flower-search] Unable to build docker container

Trying to build the docker container to run the example - flower-search
Container build command - docker build .
Below is the complete log
This might be related to #123

Sending build context to Docker daemon  8.799MB
Step 1/10 : FROM pytorch/pytorch:latest
---> 6a2d656bcf94
Step 2/10 : WORKDIR /
---> Using cache
---> 73a3e9902629
Step 3/10 : ENV ENCODER yaml/encode.yml
---> Using cache
---> b988bad264e8
Step 4/10 : ENV TMP_WORKSPACE /workspace
---> Using cache
---> 223b73ad929c
Step 5/10 : RUN apt-get update &&     apt-get install --no-install-recommends -y curl
---> Using cache
---> bce477aa9731
Step 6/10 : RUN python -m pip install --no-cache-dir --upgrade pip &&     pip install --no-cache-dir click                                jina[http]==0.4.1                                jina[devel]==0.4.1                                pillow
---> Running in c6009ef99968
Collecting pip
Downloading pip-20.2.1-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.0.2
Uninstalling pip-20.0.2:
Successfully uninstalled pip-20.0.2
Successfully installed pip-20.2.1
Collecting click
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting jina[http]==0.4.1
Downloading jina-0.4.1.tar.gz (181 kB)
Requirement already satisfied: pillow in /opt/conda/lib/python3.7/site-packages (7.2.0)
Requirement already satisfied: numpy in /opt/conda/lib/python3.7/site-packages (from jina[http]==0.4.1) (1.18.5)
Collecting pyzmq>=17.1.0
Downloading pyzmq-19.0.2-cp37-cp37m-manylinux1_x86_64.whl (1.1 MB)
Collecting protobuf
Downloading protobuf-3.12.4-cp37-cp37m-manylinux1_x86_64.whl (1.3 MB)
Collecting grpcio
Downloading grpcio-1.30.0-cp37-cp37m-manylinux2010_x86_64.whl (3.0 MB)
Collecting ruamel.yaml>=0.15.89
Downloading ruamel.yaml-0.16.10-py2.py3-none-any.whl (111 kB)
Collecting tornado>=5.1.0
Downloading tornado-6.0.4.tar.gz (496 kB)
Collecting gevent
Downloading gevent-20.6.2-cp37-cp37m-manylinux2010_x86_64.whl (5.4 MB)
Collecting flask_cors
Downloading Flask_Cors-3.0.8-py2.py3-none-any.whl (14 kB)
Collecting flask
Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Collecting python-magic
Downloading python_magic-0.4.18-py2.py3-none-any.whl (8.6 kB)
Requirement already satisfied: six>=1.9 in /opt/conda/lib/python3.7/site-packages (from protobuf->jina[http]==0.4.1) (1.14.0)
Requirement already satisfied: setuptools in /opt/conda/lib/python3.7/site-packages (from protobuf->jina[http]==0.4.1) (46.4.0.post20200518)
Collecting ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9"
Downloading ruamel.yaml.clib-0.2.0-cp37-cp37m-manylinux1_x86_64.whl (547 kB)
Collecting zope.interface
Downloading zope.interface-5.1.0-cp37-cp37m-manylinux2010_x86_64.whl (235 kB)
Collecting greenlet>=0.4.16; platform_python_implementation == "CPython"
Downloading greenlet-0.4.16-cp37-cp37m-manylinux1_x86_64.whl (45 kB)
Collecting zope.event
Downloading zope.event-4.4-py2.py3-none-any.whl (7.6 kB)
Collecting itsdangerous>=0.24
Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting Werkzeug>=0.15
Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Requirement already satisfied: Jinja2>=2.10.1 in /opt/conda/lib/python3.7/site-packages (from flask->jina[http]==0.4.1) (2.11.2)
Requirement already satisfied: MarkupSafe>=0.23 in /opt/conda/lib/python3.7/site-packages (from Jinja2>=2.10.1->flask->jina[http]==0.4.1) (1.1.1)
Building wheels for collected packages: jina, tornado
Building wheel for jina (setup.py): started
Building wheel for jina (setup.py): finished with status 'done'
Created wheel for jina: filename=jina-0.4.1-py3-none-any.whl size=247647 sha256=edcd60663fc08d51fff5e20ee14763f14931e3fc7d88746194ce86235a6062f7
Stored in directory: /tmp/pip-ephem-wheel-cache-h668sgde/wheels/07/a5/e6/e79c848b4803e55c2351ee51b5cc02e9e3566b66e4b2fd014d
Building wheel for tornado (setup.py): started
Building wheel for tornado (setup.py): finished with status 'done'
Created wheel for tornado: filename=tornado-6.0.4-cp37-cp37m-linux_x86_64.whl size=415150 sha256=e10c4b376640e9f85d4efaa12a8394b11739b54e1636a18b4c3ab1e344227834
Stored in directory: /tmp/pip-ephem-wheel-cache-h668sgde/wheels/7d/14/fa/d88fb5da77d813ea0ffca38a2ab2a052874e9e1142bad0b348
Successfully built jina tornado
Installing collected packages: click, pyzmq, protobuf, grpcio, ruamel.yaml.clib, ruamel.yaml, tornado, zope.interface, greenlet, zope.event, gevent, itsdangerous, Werkzeug, flask, flask-cors, python-magic, jina
Attempting uninstall: ruamel.yaml
Found existing installation: ruamel-yaml 0.15.87
ERROR: Cannot uninstall 'ruamel-yaml'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
The command '/bin/sh -c python -m pip install --no-cache-dir --upgrade pip &&     pip install --no-cache-dir click                                jina[http]==0.4.1                                jina[devel]==0.4.1                                pillow' returned a non-zero code: 1

On further debugging, This issue is being caused by upgrading pip - line 11 in Dockerfile

Removing the pip upgrade issues above error but leads to a new error while indexing (still part of building docker image)

chunk_indexer@39[I]:setting up sockets...
chunk_indexer@39[I]:input tcp://<IP_ADDRESS>:46275 (DEALER_CONNECT) 	 output tcp://<IP_ADDRESS>:48017 (PUSH_CONNECT)	 control over tcp://<IP_ADDRESS>:59131 (PAIR_BIND)
JINA@39[E]:Since v0.3.6 jina uses uvloop to manage events and sockets, it often yields 20% speedupyou did not install uvloop. Try "pip install uvloop"
chunk_indexer@39[S]:ready and listening
chunk_indexer@30[I]:received "control" from chunk_indexer▸⚐
doc_indexer@42[C]:unknown exception: AttributeError("'NoneType' object has no attribute 'logger'")
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/jina/drivers/convert.py", line 60, in init
import magic
File "/opt/conda/lib/python3.7/site-packages/magic.py", line 201, in
raise ImportError('failed to find libmagic.  Check your installation')
ImportError: failed to find libmagic.  Check your installation

Seems like libmagic is missing in the base image
apt-get install libmagic-dev solves the above issue

My final Dockerfile is below.

FROM pytorch/pytorch:latest
WORKDIR /
ENV ENCODER yaml/encode.yml
ENV TMP_WORKSPACE /workspace
RUN apt-get update &&
apt-get install --no-install-recommends -y curl libmagic-dev
RUN python -m pip install --no-cache-dir click
jina[http]==0.4.1
jina[devel]==0.4.1
pillow
RUN python -c "import torchvision.models as models; models.mobilenet_v2(pretrained=True)"
COPY . /
RUN bash get_data.sh &&
python app.py -t index -n 1000 &&
rm -rf /tmp/jina/flower
CMD ["python", "app.py","-t","query"]

The problem did exist. Thank you for your wonderful Pull Request!


[no-std branch] An effort to standardize OP-TEE rust based TAs development environment

For details please refer to: https://github.com/apache/incubator-teaclave-trustzone-sdk/pull/114. The CI should pass with https://github.com/OP-TEE/build/pull/714 OP-TEE build PR included.
@DemesneGH @Sword-Destiny @jbech-linaro @jenswi-linaro @jforissier @etienne-lms @daniel-thompson @Ablu Fyi..
Feedback/comments are very much welcome, thanks.

All the CI checks passed with https://github.com/OP-TEE/build/pull/714 already merged.

merged, thanks!


Create endpoint for basic gene info detail page

The gene detail page needs to get the basic gene information

I added a very very basic endpoint that just passes on the ES document, so I think we're probably good on this for 0.3.


Memory Reclamation Failed

https://devblogs.microsoft.com/commandline/memory-reclaim-in-the-windows-subsystem-for-linux-2/
" Memory Reclamation for WSL 2 "
It doesn't work on my machine，but ubuntu20.04 can...

Try run
echo 1 > /proc/sys/vm/drop_caches && echo 1 > /proc/sys/vm/compact_memory


JavaScript SDK reference documentation link is broken

Looks like a recurring problem for this page, but the API documentation link "JavaScript SDK reference documentation" is broken.

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

ID: 2c4a8032-6aa3-4833-0fb4-02312a0b534f
Version Independent ID: eb89b624-ffcc-9d27-27de-6b514ae489d3
Content: Azure Cosmos DB: SQL Node.js API, SDK & resources
Content Source: articles/cosmos-db/sql-api-sdk-node.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @deborahc
Microsoft Alias: dech

@MichaelJolley Thank you for bringing this to our attention. I will have the content team evaluate and update the doc link as appropriate.

The API Documentation: JavaScript SDK reference documentation is currently pointing to https://docs.microsoft.com/en-us/javascript/api/@azure/cosmos/?view=azure-node-latest, which results in 404 - Content Not Found.

@MichaelJolley Thanks for pointing out the issue. we had some changes in the stable package list at the backend, and "@azure/cosmos" somehow ended up not being on the list. We added it back and the links are now available.
We will now close this issue if there aren't further questions.
#please-close


[BEAM-6892] Supporting bucket auto-creation for Dataflow.

Following the logic from Java (https://github.com/apache/beam/blob/b56740f0e8cd80c2873412847d0b336837429fb9/sdks/java/extensions/google-cloud-platform-core/src/main/java/org/apache/beam/sdk/extensions/gcp/options/GcpOptions.java#L332).
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

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

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


Localization Support

Currently, texts and messages are hard-coded in Japanese but it would be better if we can set them in setting files like en_us.json, ja_jp.json etc. for more languages. I prefer TOML to JSON, personally.

duplicated with https://github.com/sunfish-shogi/electron-shogi/issues/18
(i18n means Internationalization)

重複のためクローズ


Restore checking initial request sent

Revert part of #12709 to guarantee that the initial LB request has been sent before sending the client report.

****************************************************************

libgrpc.so

     VM SIZE                                                                      FILE SIZE
 ++++++++++++++ GROWING                                                        ++++++++++++++
  +0.0%    +104 [None]                                                           +1008  +0.0%
  +1.2%    +176 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc    +176  +1.2%
      [NEW]    +231 do_send_client_load_report_locked                                 +231  [NEW]
      +4.8%     +64 query_for_backends_locked(glb_lb_policy*) [clone .part.11]         +64  +4.8%
      [NEW]     +35 lb_on_sent_initial_request_locked                                  +35  [NEW]
      +3.4%     +14 [Unmapped]                                                         +14  +3.4%

  +0.0%    +280 TOTAL                                                          +1.16Ki  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_ping_pong.BM_StreamingPingPongWithCoalescingApi_InProcessCHTTP2_NoOpMutator_NoOpMutator__512_1_0.counters.old: 1

[microbenchmarks] No significant performance differences

Updated PR description with the issue this PR attempts to fix.


chore: release 1.3.0

:robot: I have created a release beep boop
1.3.0 (2024-06-07)
Features

databricks: bump github.com/databricks/databricks-sql-go from 1.5.5 to 1.5.6 (#86) (b20a89e)
snowflake: bump github.com/snowflakedb/gosnowflake from 1.10.0 to 1.10.1 (#88) (f210281)

Bug Fixes

redshift: listcolumns doesn't return any results for views with no schema binding (#91) (9489790)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/rudderlabs/sqlconnect-go/releases/tag/v1.3.0 :sunflower:


Column is not aligned after row update (Body cells is shifted out of position on updated)

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

On update of the rows array, the cell rows column is not aligned with the header columns

Expected behavior
The row cells should be aligned with the header columns
Reproduction of the problem

Resize the header column
Update the rows array (we are using an api based request to update the rows)
After update the columns are not aligned because the row body cells shifted it's position

What is the motivation / use case for changing the behavior?
This is working properly in<EMAIL_ADDRESS>Updated to 11.2 and tried 10.0.0^ already has the same issue
Please tell us about your environment:
Windows 10

Table version:
10.0.x > 11.2

Angular version:
Angular 5

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome

Language: [all | TypeScript X.X | ES6/7 | ES5]
all

Just did a re-test. [scollbarH]="true" is causing the issue. I didn't have the scrollbarH on 7.0.0 so I don't know if the issue exists in the older versions. When I removed the scrollbarH attribute, it works as expected and the body cells are not shifted on refresh.

@ghtjiann4321 https://github.com/swimlane/ngx-datatable/pull/1326


Pictures written to disk do not show up as pictures until a device has been rebooted - Android

I'm not sure if this is a bug with my code or dart or is just gallery apps being weird but I have an issue where file explorers will show the pictures that have been written to disk but gallery apps will not show them.
In androids default files app I click on the Images button which only shows Images and go to the directory where the file is written to and it wont show up but if I click on the Files button which shows all files the Picture shows up correctly there. It will show up here using the Images button after the device has been rebooted and the same happens in the numerous other gallery apps I have tested. So I have no idea whats going on
I am getting the image data from a website using http.get and then writing the body bytes to a file I have tried using both IOSink and writeAsBytesSync and both of them produce the same result
File image = new File(path);
IOSink sink = image.openWrite();
sink.add(response.bodyBytes);
sink.close();

File image = new File(path);
image.writeAsBytesSync(response.bodyBytes);

Sounds like a strange issue. Not that I think it is the issue but you should call flush() before close() since close() will not flush():

NOTE: Writes to the IOSink may be buffered, and may not be flushed by a call to close(). To flush all buffered writes, call flush() before calling close().

https://api.dart.dev/stable/2.9.1/dart-io/IOSink/close.html

Thanks for the report! I don't think this is necessarily the best place to get an answer to your question. I'd try either stack overflow or the flutter/flutter repo. I'll transfer your issue to flutter/flutter, but I think you'll get best results from a question forum like stack overflow.

/move flutter/flutter


WIP: RTDB swift combine

This is basically a merge of two other works-in-progress: #6976 and #6568
Just so that we have a place to start experimenting with RTDB/Combine.

Hi Morten,
Thanks for building this!
Just a heads-up: peterfriese/combine-main is my working branch. I am happy for you to use it to work against until we've merged it into combine-main.
Once we've done this, I will also make sure to catch up combine-main to master, which should hopefully remove the ML-related noise in your PR.
If possible, can you provide a test for your publisher(s)?
Cheers,
Peter

Hi Peter,
Thanks a lot - I know that I'll have to change the PR target once your PR is merged, but I thought that your branch was a good starting place for my experiments. 😊
I am also awaiting further review of the FirebaseDatabaseSwift target, so this is a WIP on top of two other WIPs. 😊
I'd like to add tests too. I need to figure out how to create testable instances of DatabaseReference, but it appears that I can get inspiration in the obj-c tests for FirebaseDatabase.
I'll definitely add Publishers too for database subscriptions. I'll follow your lead from the Auth extension and use existing Publisher building blocks rather than trying to roll my own. 😊

Thanks a lot - I know that I'll have to change the PR target once your PR is merged, but I thought that your branch was a good starting place for my experiments. 😊

Agree!

I'd like to add tests too. I need to figure out how to create testable instances of DatabaseReference, but it appears that I can get inspiration in the obj-c tests for FirebaseDatabase.

That's what I've ben doing. I'm quite happy with the test for Anonymous Auth I wrote just now (see 2214cd0ae3f330797a08fd0cfb9c28dabe71a92a ) - much cleaner than the ones I wrote before (I'll update the code to match): it essentially is a re-write of https://github.com/firebase/firebase-ios-sdk/blob/fa5ff62138a251dd45af1c927d34591a97539815/FirebaseAuth/Tests/Unit/FIRAuthTests.m#L1385

I'll definitely add Publishers too for database subscriptions. I'll follow your lead from the Auth extension and use existing Publisher building blocks rather than trying to roll my own. 😊

After having the tried the other approach, I do believe that using Futures and PassthroughSubject is probably the right thing to do. Following the "don't write your own publishers if you can avoid it" mantra, and "Wrapping existing asynchronous processes with Futures" in Donny Wals' book.

Hi @peterfriese ,
I have some trouble building and running the tests you made for Auth. I’d like to copy some of the concepts (importing header files I need for testing into the bridging module, etc), but I haven’t been able to make it work.
I looked at your PR and the CI steps to see how they are built, but I can’t seem to find them.
Are they being run on CI? If so, where might I look?
Do you run them locally be opening the project as a swift package? If so, which target do you use?
Sincerely,
/morten

Hi @mortenbekditlevsen -
here are the steps to run the tests I wrote:
$ gh repo clone firebase/firebase-ios-sdk
$ cd firebase-ios-sdk
$ gh pr checkout 6976
$ pod gen FirebaseCombineSwift.podspec --local-sources=./ --auto-open --platforms=ios

This will generate a dummy project and open it in Xcode.

Make a copy of FirebaseCombineSwift/Tests/Unit/CredentialsTemplate.swift, naming it Credentials.swift
Add this file to the project (easiest by selecting Add Files to "Pods" from the context menu of the FirebaseCombineSwift/Tests/Unit folder in Xcode
You'll need to provide some of these values (take them from a GoogleService-Info.plist file)
Select the FirebaseComboneSwift-Unit-unit scheme
Press CMD + U to run the tests

These tests currently don't run on CI - this is something I'll have to look into.
LMK if this helps.

Hi @peterfriese ,
Thank you very much - it did help me getting your tests building and running.
I continued experimentation in that fashion by adding private headers for FirebaseDatabase so that I can mock DatabaseReference and the like.
I ran in to an issue, however. I need to import "FirebaseDatabase/Sources/Api/Private/FIRDatabaseReference_Private.h" in order to get access to a private initializer. But when I do that, then the test module itself defines the DatabaseReference type - and it is no longer the same as the version imported from the "FirebaseDatabase" module...
My next issue is that I can't find any unit tests for FirebaseDatabase that tests the 'old' (Objective-C) observing of values from a DatabaseReference. I would like to copy something similar to that in order to test my publishers.

Sorry this got closed - I was cleaning up and deleted my personal working branch.
Please rebase this work onto combine-main.

No worries - it's now resurrected as #7544. :-)
And it's still just a playground - mainly for myself. Once #6568 is done, I'll get started on the actual PR.

This is continued in #7544.


Add conda-forge tip to Install.md

Also fixes a couple other lines that didn't get parsed as code blocks.
Not sure whether or not you're OK pointing users to the unofficial conda-forge feedstock -- the installation is probably easier via the conda-forge package if you already are using other package supplied via conda-forge. But those users might already know about the rdkit package?

In a more-perfect world we could just point people to the conda-forge builds. I would be thrilled to be able to take advantage of that machinery and the widespread distribution. We would still need to have the RDKit channel to distribute things like nightly builds and for experimentation, but the majority of users could use conda-forge.
My major concern is that, at least last time I really looked, conda-forge is somewhat "viral": it's tricky to just use a single package (particularly C++-built package) from conda-forge since there is so much overlap between the conda-forge and anaconda channels. Are there any plans/thoughts about eventually fixing this or is it considered a feature?

The conda-forge team do eventually plan to move to using the newer compilers provided by Anaconda, but they have been taking it very slow. They do now support conda-build 3, and use the {{ compiler('cxx') }} jinja syntax, but they seem to be cautious about flipping the switch and rebuilding all the packages. Once that happens, I think mixing defaults and conda-forge packages will be less of a problem.
Anaconda also seem to be mirroring the conda-forge feedstocks at https://github.com/AnacondaRecipes to actually build the defaults packages, so that should also improve compatibility. However, I believe there is an outstanding disagreement in how they handle boost and boost-python, which will be relevant to RDKit: https://github.com/conda-forge/boost-cpp-feedstock/issues/25

I didn't actually know all the background on merging the defaults and conda-forge recipes, but those are good points.
Just as a test, I tried installing rdkit from the rdkit channel (with dependencies installed from defaults), uninstalling rdkit, and then installing the conda-forge version.
It doesn't install a whole bunch of new packages,
The following NEW packages will be INSTALLED:

    boost:           1.66.0-py36_1            conda-forge
    boost-cpp:       1.66.0-1                 conda-forge
    pycairo:         1.17.1-py36h4d1f301_0    conda-forge
    rdkit:           2018.03.3-py36hf2429ea_0 conda-forge

The following packages will be UPDATED:

    ca-certificates: 2018.03.07-0                         --> 2018.4.16-0      conda-forge
    certifi:         2018.4.16-py36_0                     --> 2018.4.16-py36_0 conda-forge
    openssl:         1.0.2o-h26aff7b_0                    --> 1.0.2o-0         conda-forge

but unfortunately the resulting installation doesn't seem viable:
>>> import rdkit.Chem
[1]    99046 segmentation fault  python

So it seems like in the meantime, you still don't want to be mixing conda-forge C++ packages with the defaults


Update device-control-removable-storage-access-control.md

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@v-smandalika Please merge this PR. Thanks

@v-smandalika Gentle reminder, please merge this Pr. Thanks

Hi @yogkumgit ,
Apologies that we could not take this up with our Principal Manager Daniel Simpson.
Just FYI, we from the documentation team do not have the privileges to merge PRs; hence, we have taken this up with Daniel Simpson.  We will be getting an idea as to whether new tickets are to be created for us to import changes from this PR into our new PRs.
We have notified Daniel Simpson about this PR's status, and we will be reverting to you tomorrow.
Thanks,
Siddarth

@Dansimp Please merge this PR. Thanks


Re architect/review revision restructure

This PR adds the AutoReviewController needed for creating Automatic Reviews

It contains renames of revisions to apiRevisions and refactor of some methods.

/check-enforcer override

Looks fine except the check against non automatic API review revisions.

/check-enforcer override


Flutter causes Mac os crash

Hi,
I'm using flutter now for the last 2years on my machine but never had this problem before. When I run the "flutter run" command it causes my Mac OS reboot. It happens now every time which makes me impossible to work on flutter.
My macOS version is 11.4 (20F71).
Flutter version is: 2.2.3
"flutter doctor" shows actually the same like the last 2 years:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed
instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.57.1)
[✓] Connected device (1 available)
I read some posts that some applications may cause a "kernel panic" but I'm not sure which app this is. And why does this happen now? (like here: )
Any idea? Any help from your side?

@buyildir
What command do you run which makes the OS reboot ? Does it throw any error log that you can share here ?
Also, would be good if you could provide the requested details as mentioned here, so that we can properly address this issue.
Thanks.

@darshankawar
after my development is done I start the xcode-simluator with any device - in this case iphone 12 pro max. when the the simulated device is ready i usually run the command "flutter run". it then start to pod install... start the xcode build process and then after some time it crashes and reboots....
 - i hope this helps (and there is no sensitive data :S) !
and this is from the console app (i have marked the timestamp when the crash happened):

when running the command "flutter build ios" i do not face this issue.

@buyildir
Thanks for these details. It'll be great if you could provide all these logs in a text format rather than in a screenshot, so that we can properly go through them.

@darshankawar
i've just run the command "flutter run" multiple times but it has not crashed yet. the app is running on the simulated device. I'm wondering why because actually i did not do any special things on my machine - no settings - no configurations - no updates. next time it crashes I#ll copy paste the crash report as text format here but for now it seems to be ok :)
or do you have an idea where we can spot check besides the crash report from the console app?

Thanks for the details. I am not too sure as why it would behave the way it did for you earlier. The logs would have been helpful to know the root-cause.
Anyways, closing this for now based on your comment above. Write in comments with required details if you see this issue again.


WFT-194 distribution list uplift

Add Dynamic Distribution List model
Make request and response for distribution list endpoints be oneOf Static or Dynamic DLs

I think you also need to remove the override rules from ".spectral.yaml" that skips the check of distribution resources
https://github.com/whispir/openapi/blob/main/.spectral.yaml#L180 and https://github.com/whispir/openapi/blob/main/.spectral.yaml#L166

I think you also need to remove the override rules from ".spectral.yaml" that skips the check of distribution resources https://github.com/whispir/openapi/blob/main/.spectral.yaml#L180 and https://github.com/whispir/openapi/blob/main/.spectral.yaml#L166

resolved!


Fold block comments doesn't work

re #46597

open /src/vs/base/common/arrays.ts
select F1 > Fold Block Comments
🐛 block comments aren't folded

Duplicate of https://github.com/Microsoft/TypeScript/issues/22732

Whoops, duplicated the wrong issue. This one is about  the Fold Block comment command

Fixed by e628e8e7b26ad628763671d1f4b6190ae6e7f9a4. Currently also requires a build from TS master. We will pick up a TS insiders with the fix tomorrow.


Anti-Aliasing Not Working in Scatterplot Layer

It would be great if we could access fp64 in identity mode. The difference is not that noticable for lines, but scatterplots get pretty rasterized:

seems like an aliasing issue, are you getting this on a non-retina display?
also could be the number of triangles used to approximate a circle is not large enough.
fp64 mode should not make a difference in this case as we are not zooming w/ a large multiplier.

i'm see this on both a retina and non-retina display. Is there a recommended way to address this from the pre-packaged layers, or would the solution be to build a custom layer?

multi-pass rendering (first => texture + anti-aliasing, then => screen) seems like a favorable approach to me, which is also aligned with the roadmap for transform feedback support.
ref: https://github.com/uber/deck.gl/issues/557
it will change the rendering pipeline though, so might take some efforts if we were to support all the layers. a customized layer as a temporary workaround if you only need it for the scatterplot layer, or just use the icon layer with a set of predefined markers maybe?

There's a known issue where Chrome disables anti-aliasing when multiple monitors are connected.

Seems that @mcnuttandrew's issue is indeed caused by the combination of OS X, Chrome and multiple monitors. If this is an important use case to address, you can customize the ScatterplotLayer by manually softening the border in the fragment shader:
// original
if (distToCenter <= 1.0) {
  gl_FragColor = vColor;
} else {
  discard;
}

// new
const float SOFT_BORDER = 0.04;
if (distToCenter <= 1.0) {
  float soften = smoothstep(0.0, SOFT_BORDER, 1.0 - distToCenter);
  gl_FragColor = vec4(vColor.rgb, vColor.a * soften);
} else {
  discard;
}


In profile page, user's existing information does not visible in the edit form in dark mode

After changing the dark mode to the one below, the user's existing information does not visible in the edit form
And also 'Reset' word not visible

issue solved


Updated for Xcode 8 beta 6

You might want to create a separate branch for this.

Hi,
Thanks for the pull request. But I am certainly not going to accept a pull request which removes the entire test suite.


Updating lief

Since OWASP-dep-scan supports Python 3.12, we need to get blint updated before integrating.
I am also concerned about continuing to use lief 0.12.3 since it is now quite outdated. There have been some pretty major changes to the API, which is to be expected since lief is still labeled as in Development Status :: 4 - Beta as of the latest release (0.14.0).
Most of the changes aren't complicated to get working. Exceptions include:

Unresolved 'name' attribute for Binary and DynamicEntry classes.
Unresolved 'hash' attribute for SymbolVersionAux class.

Nanobind is apparently needed for at least the first of these - and it has to be a custom nanobind from the lief repo - which is not listed as a dependency in the pyproject.toml and is not installed alongside lief.

@cerrussell, I have already done the update in 2.x branch. Can you check and correct the issues with .hash and .name attributes?

@prabhu I don't know how - that's why I didn't update it myself when I made all the other changes locally. I assumed you addressed these when updating lief, but if not, our 2.x branch is broken.

I have pushed some additional fixes for the upgrade to fix/lief. I wasn't able to figure out what to do for hash and name, but I'll look again tomorrow.

@prabhu


New NPM package not found on yarnpkg search

I published 2 new packages a few days ago that are currently live and searchable on npmjs, but are not searchable/visible on yarnpkg search.
https://www.npmjs.com/package/flipper-plugin-xstate
https://classic.yarnpkg.com/en/packages?q=flipper-plugin-xstate
Is there something I am missing in the publication process?

Hello,
sorry about that, it's expected for the moment because of NPM database reset.
We expect to be fully up to date in 6-7 days (yes, that's long unfortunately)
Please find more details here #717


updating readme from example branch

##Updates
I updated the readme file. Please review and accept.

##Thoughts...
I probably shouldn't, but it's okay 👍

##Thoughts...
I probably shouldn't, but it's okay 👍


Running luamqtt through the Qt eventloop

Hi,
I am embedding Lua in my Qt application. However, it seems to me that running luamqtt would require me to run it in a separate thread, because it uses its own eventloop. Is it possible to run luamqtt via a custom eventloop? The workflow would be:

Open a socket via Qt
Wait for data via the Qt event-loop
When something gets read, the C++ code runs a lua function, that handles the communication, possibly calling some sort of a callback that sends data over the socket back.
The connection would stay alive for the runtime of the C++ application

Is it possible to implement something like this? I can see that there is an iteration function, that would maybe work for this usecase? I'm not how many iterations would one operation take and also, I don't want the Lua code to block if the connection is disrupted (when an operation gets a timeout). Or maybe I can use a custom connector? From what I can read, the connector doesn't allow me to use a custom eventloop.
Thanks

Hi @syyyr,
Yes, luamqtt can be used in a dedicated event loop.
Please take a look at https://github.com/xHasKx/luamqtt#connectors
You have to write a lua module with several functions - to establish and close a TCP connection, and to send/read packets into it. Then you use that module as a connector field when creating mqtt client instances from the lib. Example - https://github.com/xHasKx/luamqtt/blob/master/examples/copas.lua#L15
I suppose those functions have to deal with coroutines somehow to be paused and continued when your Qt's event loop performs that connect/close/send/read operations.
I would appreciate it if you will share your solution as an example so I can add it to this repo.

Here is a brief workflow that should work.
So in your Qt application, you create a Lua state (lua_newstate) and a Lua coroutine in it (lua_newthread).
Then you start that coroutine with lua_resume. That coroutine should run a Lua code to create an mqtt client instance with your connector module set, in sync mode - https://github.com/xHasKx/luamqtt/blob/master/examples/sync.lua.
When the client calls connector.connect(), the control goes to the C function which starts to open a TCP connection and then pauses the coroutine with the lua_yield call, and lua_resume finally returns control back to your application.
When you got an event about opened connection, you can resume the Lua coroutine with the same lua_resume call. Thus the lua code will continue, and then will format an MQTT CONNECT packet for you to send through the connector.send() call, which can work in the same way as connect sequence I described above, with pause until you receive a data sent application event. And the same for other connector methods.
Documentation is here - https://www.lua.org/manual/5.3/manual.html#lua_yield
The only thing tricky here is sending PINGREQ MQTT packets periodically to maintain the MQTT connection open. I think you can call the Lua method client_mt:send_pingreq() by some timer in your application.

Thanks for the quick reply.
In the end, I decided that it would be easier for me to just use Qt::Mqtt. However, I did understand your explanation and find it quite interesting. I'd like to learn more about coroutines in Lua, if I find some time, I'll try to make an example Qt app.
I'll leave the issue open, but for now, my problem is solved, so feel free to close this, if you want. :)

I think this can be done, but it's quite hard. The library is very unsafe for concurrent use and will not handle partial data received or sent (and you cannot assume the data received/sent to be the full packet all at once, despite that it will mostly work).
I've made a fast number of changes to handle those situations (see https://github.com/xHasKx/luamqtt/pull/31 for my branch).

reading the socket requires yield/resume on partial data, hence the 2 base classes for the connector (buffered /non-buffered, see https://github.com/Tieske/luamqtt/tree/keepalive/mqtt/connector/base) for blocking and non-blocking IO loops
sending data cannot be assumed to be atomic, hence it needs a lock in an async environment (see https://github.com/Tieske/luamqtt/blob/keepalive/mqtt/connector/copas.lua#L81-L94 for example)
timeouts should not be static. When waiting for data the timeout should be disabled (to wait forever), whilst when sending receiving packets the timeout should temporary be set to a reasonable short one, eg 10 seconds.

@syyyr ,

In the end, I decided that it would be easier for me to just use Qt::Mqtt

Of course, it will be the best solution if you have such an option available.
@Tieske ,

The library is very unsafe for concurrent use and will not handle partial data received or sent (and you cannot assume the data received/sent to be the full packet all at once, despite that it will mostly work).

Actually, connectors have to ensure they have sent/received the same amount of data as passed to their send()/receive() methods. Without breaking that rule the library should work stable in concurrent environment...
... and that was my thoughts before I saw this (my) code:
https://github.com/xHasKx/luamqtt/blob/e3fa62c81251840c930d42b44e382187ab66b109/mqtt/client.lua#L1152-L1158
So connector usage has to be changed to a single send() call for the mqtt packet. I'll fix that.
By the way, I'm thinking about splitting library to two parts - separate mqtt protocol implementation from the transport layer (client logic, connectors, ioloop), maybe by several github repositories.

that send logic is correct. LuaSocket will not guarantee that the whole packet was sent at once. I don't think there's anything you can do about it, except what I already did in my PR #31 . It has all those changes and has been running for months now, without issues.
That PR also separates the client from the runloop. So maybe best to continue with that PR first, and then separate the io-loop stuff out in a separate repo.

that send logic is correct. LuaSocket will not guarantee that the whole packet was sent at once.

I mean that the code with a while loop ensuring the whole packet was sent should be inside the connector.send() method, not in the client_mt:_send_packet() code


ci(macos): reinstall g-c-sdk only when running CI

This avoids constantly re-installing google-cloud-sdk on dev machines
that have a recent, working copy.

This change is

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @devjgm)

ci/kokoro/macos/build.sh, line 109 at r1 (raw file):

# We re-install google-cloud-sdk because the package is broken on some kokoro
# machines, but we ignore errors here because maybe the local version works.
if [[ "${RUNNING_CI:-}" = "yes" ]]; then

if this is just for Kokoro, should we check ${KOKORO_JOB_NAME:-} ?

RUNNING_CI is set based on KOKORO_JOB_NAME above in
https://github.com/googleapis/google-cloud-cpp/blob/84af3823beff4cac0d5ba134367ef0db6a56fd28/ci/kokoro/macos/build.sh#L35-L50


Stop Iteration

Hi, may I ask if anyone know what causes this Stop Iteration?

Hi, may I ask if anyone know what causes this Stop Iteration?

These codes are inherited from the huggingface transformers implementation, you can find similar issuse there:
https://github.com/huggingface/transformers/issues/4189
https://github.com/cooelf/AwesomeMRC/issues/17
https://github.com/huggingface/transformers/pull/4300
Some says it's caused by mismatched pytorch version, I guess you can try to down-grad your pytorch to 1.4.0, which is also the version this repo tested on (I've updated this information in README).
Good luck~


ADR for rendering file attachments

Trello: https://trello.com/c/R1Erlbpa/878-write-an-adr-about-how-we-render-attachments-with-govspeak
View Rendered 👀

@emmabeynon @benthorner comments addressed if you'd like to take another peak.


cleaner readme

Important Note:
To those that saw the commits on the .gitignore issue: it has been fixed!

This is perfect for a commit message and probably a notch in version, not sure it such a great thing for top of line in readme

you have this in your reddit post, but not in README:

You can choose between 'cnbc', 'insiders', or 'zacks' for the providers. 'cnbc' is the default. To view working providers, you can do so like this


Fix artifact build 3

I ran this once with the checks around only building the artifact if the branch was master removed: https://github.com/Contrast-Security-Inc/node-fn-inspect/actions/runs/118179998
it actually built and tested fine, and I downloaded and installed it to verify everything was 👌  - so this should be the last of these.


[2.6] Make StreamWrapper::stream_stat() returns false if inner stream's size is null

Fixes #593

Thanks for working on this. It's much appreciated. 🎉


#4847 Changed KMeans "mus" parameter

Changed Kmeans parameter to cluster_centers.

Are you test your change? it seems like your change does not pass the unit test.

@LiuYuHui I will check it again! Thank you

@krutikabapat why did you close and delete?

There were some unit tests that were not passed, so I thought I will
rectify it once and send the PR again. Also by doing this, it would be easy
for others to send a PR for that issue if they already have completed it. :D
On Thu, Mar 5, 2020 at 6:12 PM Gil<EMAIL_ADDRESS>wrote:

@krutikabapat https://github.com/krutikabapat why did you close and
delete?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shogun-toolbox/shogun/pull/4879?email_source=notifications&email_token=AF4JF6VCFJGPGLBPZX5RGY3RF6MZXA5CNFSM4LBRMCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN5CXOQ#issuecomment-595209146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF4JF6SXHP54F24HA3HGZI3RF6MZXANCNFSM4LBRMCYQ
.

Don't worry about that, just keep this open :) otherwise we keep getting notifications of PRs opening and closing. Also this way we can keep track of the PRs being worked on. Just close a PR if you plan on not working on it at all.

Really sorry about that. I am working hard to get the unit tests working. I
just wanted to know if restoring the branch will work? Also thanks a lot
for your suggestions.
On Thu, Mar 5, 2020 at 10:25 PM Gil<EMAIL_ADDRESS>wrote:

Don't worry about that, just keep this open :) otherwise we keep getting
notifications of PRs opening and closing. Also this way we can keep track
of the PRs being worked on. Just close a PR if you plan on not working on
it at all.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shogun-toolbox/shogun/pull/4879?email_source=notifications&email_token=AF4JF6QK2PLYDE3EVM4ZKCDRF7KRXA5CNFSM4LBRMCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN6BKLY#issuecomment-595334447,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF4JF6QO2SFC7WKOMCZQ3YLRF7KRXANCNFSM4LBRMCYQ
.

Yes this is fine. Let use know if you get stuck :) And push commits once you get it working locally.

I have reopened it. I will notify once I am done with it. :D.
Thank you!
On Thu, 5 Mar, 2020, 10:38 PM Gil<EMAIL_ADDRESS>wrote:

Yes this is fine. Let use know if you get stuck :) And push commits once
you get it working locally.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/shogun-toolbox/shogun/pull/4879?email_source=notifications&email_token=AF4JF6Q4ILAKJOK3XNZ2NVDRF7MBFA5CNFSM4LBRMCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN6DATI#issuecomment-595341389,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF4JF6THDINT5L2DJYHYJCLRF7MBFANCNFSM4LBRMCYQ
.

@vigsterkr Thank you so much for all the suggested changes. I have made the changes in the respective files. Please let me know if there are any further changes required. :D.

@LiuYuHui Why do you think it will fail for test cases?

@krutikabapat imo,you should also change derived class such as KMeansMiniBatch :)


Difference between FastCGI Application and Handler level ScriptProcessor

Hi friends,
I am trying to understand how wfastcgi works with IIS. One aspect of configuration that confuses me is the difference between applicationHost.Config "server" level settings and web.config "site" level settings.
After install the instructions ask us to run wfastcgi-enable as admin. This commands adds the following element under system.webServer in the applocationHost.config:
<fastCgi>
            <application fullPath=""c:\program files\python38\python.exe"" arguments=""c:\program files\python38\lib\site-packages\wfastcgi.py"" signalBeforeTerminateSeconds="30" />
        </fastCgi>

This now becomes visible in the IIS server level FastCGI settings

However, at the site handler level (web.config) we again specify a different script processor, usually within a virtualenv like
<configuration>
  <system.webServer>
    <handlers>
      <add name="Python FastCGI"
			path="*"
			verb="*"
			modules="FastCgiModule"
			scriptProcessor="C:\myproject\venv\Scripts\python.exe|C:\myproject\venv\Lib\site-packages\wfastcgi.py"
			resourceType="Unspecified"
			requireAccess="Script" />
    </handlers>
  </system.webServer>

  <appSettings>
    <!-- Required settings -->
    <add key="WSGI_HANDLER" value="app.app"/>
    <add key="PYTHONPATH" value="C:\myproject" />

  </appSettings>
</configuration>

So what exactly gives? I assume the app specified by the handler is used, not the "server" level fastCgi application. What is the relationship between the fastcgi settings and the site level settings?
Is it possible to deploy a site level Python Webapp without running wfastcgi-enable as admin? I ask because I am trying to write a build pipeline which will setup the server if it does not already exist, but I don't want to grant the build agent administrative rights to modify the machine level applicationHost config, but rather just grant rights over a specific Python webapp.

Update: I made a mistake in the original post. I believe the fastCgi.application element has to match the handlers.add.scriptProcessor attribute, but I'm not entirely sure as now I am receiving <handler> scriptProcessor could not be found in <fastCGI> application configuration.


Send email

#12 Added functionality of sending emails

Hi, While sending an Email can we take details from the user such as "what is the email?" or "whom did you want to send the email?" by using a query.

Yup there's a thing called "smtplib" which provides this functionality .

@Abhishek-Rath can you please pull all the changes from the Upstream so that the merge conflicts will be resolved.


ReplayGain plugin with mp3gain backend is modifying source files.

If one enables the replaygain module using the mp3gain backend, the gain is being applied to the source files. Furthermore, the modifications are not reversible because the undo information is not being written to either source or destination files.
To reproduce:
Create this one-line ~/.config/beets/config.yaml:
plugins: replaygain

Per the docs, this will default to automatically analyze for replaygain, using the command backend.
Now, beet import -A a file. I use this one, which has a 222912248f934554ec2eaaf1b191f938607ffbab sha1sum.
The replaygain plugin calls mp3gain on the source with the "-r" parameter, which will apply the gain to the source file. Calling sha1sum on the source file after the import will show it has been modified.
Per the plugin docs, the gain should not be applied unless the apply config is set to yes, but even then, I don't believe that the intention was to modify at the source, was it?
By the way, the apply option was dropped from the plugin at 86ee30df0d177f9103a7c4e7489cbf06aaa62838. This is relatively easy to bring back, and I'd be happy to submit a PR fixing that omission, but the real problem is that even bringing that option/conditional check, the gain will still be applied to the source files.

Hmm, this does seem like a problem. The intention with dropping that option was to never apply the adjustment to the files themselves; that was determined to be out of scope for the plugin.
Do you have any clues about how we can force mp3gain to disable adjustments, while still reporting the right values?

What do you think of this approach? Removing cmd = cmd + ['-a' if is_album else '-r'] from line 182 stops applying the gain to the source files.
Furthermore, the way handle_[album|track] were being called from the imported function, with a default False value for write would cause the computed values to be lost on import.
Let me know what you think of my approach and I can submit a PR.

What about album-level gain calculation? Will that still work without the -a flag?
I also don't quite see what you're saying about the write flag. Is this a different bug, or is it related to this one?

Correct, album-level calculation works without the -a flag. Both -r and -a are used to apply the gain to the file directly. I see what you're alluding to though, you want to have an option to analyze files individually, without grouping them as an album. That is the -e flag, and the code needs a little more refactoring to use it.
Yes, the problem about the write flag is a separate bug. I'll open another issue to address it.

Ah, cool. Sounds good! If album-granularity analysis works either way, I think we can indeed just remove that line. No need for -e, I think, since we still separate out track and album values.

Got it. Let me fix the commit. I'm still relatively new to PRs and stuff.


unable to install

Description
A clear and concise description of the bug.
To reproduce
If relevant, add a minimal example so that we can reproduce the error, if necessary, by running the code. For example:
# server
from pytriton.decorators import batch
from pytriton.model_config import ModelConfig, Tensor
from pytriton.triton import Triton

@batch
def _infer_fn(**inputs):
    ...
    results_dict = model(**inputs)  # ex note: the bug is here, we expect to receive ...
    ...
    # note: observing results_dict as dictionary of numpy arrays
    return results_dict

with Triton() as triton:
    triton.bind(
        model_name="MyModel",
        infer_func=_infer_fn,
        inputs=[
            Tensor(name="in1", dtype=np.float32, shape=(-1,)),
            Tensor(name="in2", dtype=np.float32, shape=(-1,)),
        ],
        outputs=[
            Tensor(name="out1", dtype=np.float32, shape=(-1,)),
            Tensor(name="out2", dtype=np.float32, shape=(-1,)),
        ],
        config=ModelConfig(max_batch_size=128),
    )
    triton.serve()

# client
import numpy as np
from pytriton.client import ModelClient

batch_size = 2
in1_batch = np.ones((batch_size, 1), dtype=np.float32)
in2_batch = np.ones((batch_size, 1), dtype=np.float32)

with ModelClient("localhost", "MyModel") as client:
    result_batch = client.infer_batch(in1_batch, in2_batch)

Observed results and expected behavior
Please describe the observed results as well as the expected results.
If possible, attach relevant log output to help analyze your problem.
If an error is raised, please paste the full traceback of the exception.

Environment

OS/container version: [e.g., container nvcr.io/nvidia/pytorch:23.02-py3 / virtual machine with Ubuntu 22.04]
Python interpreter distribution and version: [e.g., CPython 3.8 / conda 4.7.12 with Python 3.8 environment]
PyTriton version: [e.g., 0.1.4 / custom build from source at commit ______]
Deployment details: [e.g., multi-node multi-GPU setup on GKE / multi-GPU single-node setup in Jupyter Notebook]

Additional context
Add any other context about the problem here.
ERROR: Could not find a version that satisfies the requirement nvidia-pytriton

Hi @riyaj8888,
PyTriton has some environment requirements that are written in the installation guide: https://triton-inference-server.github.io/pytriton/0.2.1/installation/#prerequisites. Does your environment meet all the prerequisites? If yes, can you share more details about your environment? It would be helpful if you fill out the following template:
Environment

OS/container version: [e.g., container nvcr.io/nvidia/pytorch:23.02-py3 / virtual machine with Ubuntu 22.04]
Python interpreter distribution and version: [e.g., CPython 3.8 / conda 4.7.12 with Python 3.8 environment]
PyTriton version: [e.g., 0.1.4 / custom build from source at commit ______]
Deployment details: [e.g., multi-node multi-GPU setup on GKE / multi-GPU single-node setup in Jupyter Notebook]

The most common issue when such error appear is too old pip package. PyTriton uses manylinux platform tags compliant with PEP-600 which are supported by pip since 20.3. Older pip version would not able to handle this tags.
pip installed from Ubuntu 20.04 apt repository is in version 20.0, thus need to be updated in order ex. with below commands
pip install --upgrade --user pip
# pip install --user installs binaries in $HOME/.local/bin, thus need to ensure it is in your $PATH
export PATH=$HOME/.local/bin:$PATH


[fix](forward master op)Set default catalog and db only when they exist in master FE while execute forwarded stmt.

In this case, forward to master will throw catalog or db not found exception:
Connect to a follower:

create database test
use test
drop database test
create database test

This is because after step 2, the default db in follower has been set to test, drop database will not change the default db. In step 4, the default db test is set and forwarded to master, and master will fail to find it because it is already dropped.
This pr is to set the default catalog and db only when they exist.
Proposed changes
Issue Number: close #xxx

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

run buildall

run buildall


feat: custom content in alert and reports

SUMMARY

Add text editor in alert/report modal to add custom html content for email and markdown content for slack reports.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before

After

New Dependencies
New dependency on https://github.com/jpuri/react-draft-wysiwyg for editor
TESTING INSTRUCTIONS

Enable ALERTS_REPORTS feature flag
Set report for any chart/dashboard
Check received report -> should have custom body set in above step.
TODO

[ ] Update all other delivery methods to use custom content.
[ ] Migration to add new column in table with Explore in Superset link for existing reports.
[ ] Update existing tests and add new for this feature.

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

hi @mayurnewase !
The current description already gets sent in the body of the alert or report, so the message body field may be redundant.
What types of content are you looking to include in your alerts/reports?

hi @yousoph
I haven't worked on this pull request, but I would like to see this feature added as well. My use case is to add multiple call-to-actions for other systems (like Approve or Create Task etc) for people who may not have access to superset but may need to act on the information provided.

I thought the simple text in description field wasn't enough to send descriptive reports, so wanted to add text editor for html and markdown for different delivery methods.
After above comments looks like there is some interest for it, so I might complete this feature over weekend and mark ready for review.

@mayurnewase, @yousoph & @betodealmeida : When do we think we will have this feature avaiable in main branch? Very important feature for folks who wish to use superset as audit report tool in organization.


feat(tic-tac-toe): added a tic-tace-toe game

Add the tic-tac-toe game alongside with the comments for better understanding of the codes.

Thanks for contributing <3


Vulnerablility fix

Fixed low severity security vulnerability detected in com.fasterxml.jackson.core:jackson-databind

Please open from integrator branch


Address issues with Panel packs

Background
In a meeting last week, Sam Marzan-Esher highlighted several ongoing issues with panel packs (which are otherwise great btw!) These are detailed below under Features.
User Story
As an Admin user, I would like panel packs to be produced without duplication of data and pdf errors so that I can save time on QAing panel packs.
Feature(s) Description

[ ] Independent Assessments do not pull through correctly to the panel packs if uploaded as a pdf: can we find a solution? Possible ideas:

a) Resolve the issue of data not being pulled through correctly from pdfs (preferable)
b) Prevent pdfs from being uploaded AND update guidance to Assessors that only Word documents are acceptable
c) Something else

[ ] In the application data, under Additional Preferences, the first question appears three times, but should only appear once (the first instance is the correct one):

[ ] In the application data, under Additional Preferences, the question Do you wish to be considered for a Welsh speaking post?, appears three times, but should only appear once (the first instance is the correct one):

[ ] In the application data, under Additional Preferences, the question If you wish to be considered for a Welsh speaking post, can you read and write in Welsh? appears twice but should only appear once (the first instance is the correct one):

[ ] On Admin, under the Additional Preferences section, the phrases (Single choice) and (Multiple choice) appear under the questions: is this correct?

Acceptance Criteria (optional/delete if not used)
It's done when content is not duplicated in panel packs and all IAs are pulled through correctly.
User Testing Steps
Add instructions here
Feature Champion
Sam Marzan-Esher

Hey team! Please add your planning poker estimate with Zenhub @drieJAC @HalcyonJAC @tomlovesgithub @warrensearle

@nickaddy
We think this ticket can be separated to 3 tickets, could you help us to confirm it, thanks

Fix PDF upload
Fix data duplication issue
Figure out the Single/Multiple choice (Not sure is about the system? or is about the business logic, it maybe not an issue of system)

@KoWeiJAC Can you clarify why that is necessary - could it not be separate PRs linked to the ticket? Or is it about estimating the size of it?

@nickaddy do you have a link to the example being used in the screenshots? Cheers

@drieJAC https://docs.google.com/document/d/1iei7V2QeUfUPs6G_TUVbusuLxDvO-pVG90NRJ2Qfn3s/edit


Add custom loss

I've been playing around with Pyro and it has worked pretty well so far. Thanks for providing the tutorials!
My question is that right now, the loss is just ELBO. How do I add additional loss terms besides ELBO? For example, I might want to add an L2 loss term like loss += lambda * F.mse_loss(x, y).
I guess I can probably do the normal procedure:
optimizer.zero_grad()
loss.backward()
optimizer.step()
in addition to svi.step(), but I'm not sure whether this is appropriate and what svi.step() does exactly.

Hi @jthsieh, currently the best way to specify an additional loss term is to subclass ELBO:
class MyCustomElbo(Trace_ELBO):
    def _extra_term(self, *args, **kwargs):
        # ...your code here...
    def loss(self, *args, **kwargs):
        extra_term  = self._extra_term(*args, **kwargs)
        base_loss = super(MyCustomElbo, self).loss(*args, **kwargs)
        return base_loss + extra_term.item()
    def loss_and_grads(self, *args, **kwargs):
        extra_term  = self._extra_term(*args, **kwargs)
        extra_term.backward(create_graph=True)
        base_loss = super(MyCustomElbo, self).loss_and_grads(*args, **kwargs)
        return base_loss + extra_term.item()

We're looking for ways to make this easier, and we're open to any ideas you may have.

I've made this easier in #1060.  We'll add an example of a custom loss in the upcoming release.

Another problem is that right now for svi.step(), I can't (or I don't know how to) update specific parameters. For example in GANs, I need to update parameters in the discriminator and generator separately. I think for now the easiest and most intuitive way for me is to still do the standard PyTorch .backward() and optimizer.step() for the additional losses. Several questions about this:

Will doing so mess up the SVI algorithm?
svi.step() already does a forward pass. Do I need to do it again, or is there a way I can get some variables in model() and guide() such that I can calculate the loss directly from it and do a gradient step?
I'll need to have two optimizers, pyro.optim.Adam for SVI, and torch.optim.Adam for the other losses. I feel like it makes more sense to use the same optimizer. Is there a way around this?


Functional collection

close #102

Coverage decreased (-0.1%) to 94.758% when pulling c74cc89caa7df0d29ebbe2e52900c3e169154ed4 on functional-collection into 84efc8fd73f9721e0385afebe972b52eaf8d2c1a on main.


Item config ignores row

Hello guys,
When adding items to a grid, that have defined cols and rows, the grid renders the item that is added first in the first row, rather then the item that has {"row": 1}.
I want to "load" a configuration for the grid, so all items are added in one progress and none are added later, where all items have their position, as was saved before, but the same items always come out on top.
I am certain, this was not the case in an earlier version, but i am not sure.
If there is an option that allows the item to "keep" its row, i am happy to hear about it.
I don't want to "fix" the items, as they should be draggable.
I can offer more details, descriptions and configs, if needed.
Cheers
Dominik

Set 'prefer_new' in grid settings to true to use the row value for items.


Enable "Always Display in Console" If user is in Restricted Group

Is there an existing feature request for this?

[X] I have searched the existing issues

Is your feature related to a problem? Please describe.
When a users signs in to keycloak I would like to have them see all the applications they have access to without having to login to the site first and create a session.
Describe the solution you'd like
Hello,
I would like to know if it is possible to enable "Always Display in Console" option in the client settings if the user is a member of the restricted group?  If I am not able to do it with the keycloak-restrict-client-auth, can you recommend another approach, whether  programmatically or otherwise.
Much appreciated.
Describe alternatives you've considered
I thought about enabling "Always Display in Console" for all apps, customizing the accounts page using something like Javascript and hide the icon if the user is not in the restricted group.
Anything else?
No response

Hello @elmidwill ,
thanks for suggesting this enhancement. Unfortunately, it is currently not possible to with this extension and I do not see a way to implement this in a general way. To my knowledge, Keycloak does not provide an SPI or extension point to support this. Also it would not be trivial to detect whether a user is allowed to use a client or not, because that heavily depends on the authentication flow configuration.
Maybe in you special case it could be possible to build a custom solution by providing a REST APi endpoint. You may want to check the Developer Guide on how to do this.
You may want to implement some logic to lookup the authenticator config in your authentiction flow. The RestrictClientAuthConfig holds a property getAccessProviderId() the returns the id of the AccessProvider used by the authenticator. You may then lookup the AccessProvider:
AccessProvider accessProvider = keycloakSession.getProvider(AccessProvider.class, accessProviderId);
// Check if access to client is restricted
accessProvider.isRestricted(clientModel);

// Check if access for a user is permitted
accessProvider.isPermitted(clientModel, userModel);

Maybe you can work out something from there.
Regards
Sven-Torben

Sorry for the late reply, can you elaborate a little?

I am suggesting that you build a custom extension. You will have to customize the account console to filter out some of your clients. You may provide a REST API as part of your extensions which tries to determine to which clients a user has access. Provide that list of accessible clients to the account console (frontend) and show the clients to your users. You will have to decide which clients are accessible to the user and which are not. For this you can use the SPI as mentioned in my previous comment (https://github.com/sventorben/keycloak-restrict-client-auth/issues/101#issuecomment-1211240020)


update to react-native 0.24.1

hi @lelandrichardson ,
I re-created this app with react-native init and copied over the .git directoy. There are conflicts, but this is basically a fresh app with your tests and test component.

@lelandrichardson I'm not sure why github says there are merge conflicts. I just tested merging my branch into master and it was a clean merge..


Blog Post 13

Issue description
Describe your issue in detail here

[x] VisualGameData/VIGAD#94
[ ] VisualGameData/VIGAD#104 ??
[x] VisualGameData/VIGAD#108
[ ] VisualGameData/VIGAD#109
[ ] VisualGameData/VIGAD#77 ??
[x] VisualGameData/VIGAD-API#6 / VisualGameData/VIGAD-API#1

Link to The Blog Post drsft: https://wordpress.com/post/vigad.wordpress.com/434
Definition Of Ready (DoR)
This issue can be worked on if

[x] a developer is assigned
[x] the issue is labeled
[x] the issue is assigned to the current sprint
[x] the issue is estimated
[x] a meaningful title has been set
[x] the issue is described in detail

New draft link: https://wordpress.com/post/vigad.wordpress.com/438


[SPARK-31834][SQL]Improve error message for incompatible data types

What changes were proposed in this pull request?
We should use dataType.simpleString to unified the data type mismatch message.
Before:
spark-sql> create table SPARK_31834(a int) using parquet;
spark-sql> insert into SPARK_31834 select '1';
Error in query: Cannot write incompatible data to table '`default`.`spark_31834`':
- Cannot safely cast 'a': StringType to IntegerType;

After:
spark-sql> create table SPARK_31834(a int) using parquet;
spark-sql> insert into SPARK_31834 select '1';
Error in query: Cannot write incompatible data to table '`default`.`spark_31834`':
- Cannot safely cast 'a': string to int;

How was this patch tested?
UT.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test.

Test build #123216 has started for PR 28654 at commit 46665cd.

Merged build finished. Test PASSed.

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

Test build #123216 has finished for PR 28654 at commit 46665cd.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #123218 has started for PR 28654 at commit 46665cd.

Merged build finished. Test PASSed.

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

Test build #123218 has finished for PR 28654 at commit 46665cd.

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

Merged build finished. Test PASSed.

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

Test build #123236 has started for PR 28654 at commit 77c7eef.

Merged build finished. Test PASSed.

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

Test build #123236 has finished for PR 28654 at commit 77c7eef.

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

Merged build finished. Test PASSed.

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

Test build #123415 has started for PR 28654 at commit 9c4b485.

Merged build finished. Test PASSed.

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

Test build #123415 has finished for PR 28654 at commit 9c4b485.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #123423 has started for PR 28654 at commit 9c4b485.

Merged build finished. Test PASSed.

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

Test build #123423 has finished for PR 28654 at commit 9c4b485.

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

Merged build finished. Test PASSed.

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

Merged to master and branch-3.0.


Update SearchBar.js for RN 0.25 / ES6

#74 is not enough IMO as React users now use ECMA6.

Is ES6 required?
SearchBar.js is generated from SearchBar.coffee.

I think if you want :

this plugin maintained
help from other developers

This is a logical choice.
But this is your call ! If you can take on this project all by yourself, you decide ! I like what you did with this plugin, but as I said it here, I think you have to let people help you. There are 15 issues and 8 PR going on.

@Mokto Could you answer my previous question?
I answer you last question in the issue you opened.

Not it is not required ;)

...
#74 is merged and is enough.

Ok thanks !


Redesign the ViewEngine to be async

Hi,
Regarding issue #7416 , I believe this covers most of it.
As far as I've noticed, the only remaining Sync parts of the view engine are two default display actions, CollectionTemplate and ObjectTemplate, as I didn't want to pull in a bigger update (which actually contains code change, except for adding Async methods).
This also can be easily resolved by changing the GetDefaultActions to Async (it's private anyway), and updating both collections of _defaultDisplayActions and _defaultEditorActions to a Func returning a Task. I could create another pull request for this as well if needed.
Hope this can be merged and pushed into the 2.2 release.
Thanks guys,
Effy

 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.:x: effyteva sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Sorry for the version.props file, it someone got merged into the pull request, just ignore it of course.

Is it worth a discussion about the usability of these new methods from Razor?. Can we introduce some guardrails for the classical returned a task without awaiting problem? Due to the nature of Razor this will 'just work' and end up with us calling Task.ToString().

@effyteva I'm closing this PR since it isn't viable for this release. Feel free to send a different PR with the alternative minimal change approach that we discussed in the comments.


Added Virtual_Assistance using python

Made an app which will give you virtual assistance using python

@prathimacode-hub sir i have successfully updates the readme and update the mlproject readme too. Please merge my pull request

resolve conflicts and raise another PR


Refactor dailyWorkflow.py into separate dags

We are currently using an ad-hoc method to schedule the various data pulling jobs in the dailyWorkflow.py DAG.  It would be better to separate them into separate dags, one for each job, and use airflow's cron capability for scheduling.  The advantages would be:

Testability:  The current setup makes it impossible to test changes to the workflow for one script individually.
Replayability:  We cannot currently retry a failed pulling job, because they are all in the same dag.  If they were in separate dags, we could rerun a single script for a single provider when necessary.
Deployability:  It is currently quite dangerous to deploy any changes to the DAG, or to the scripts it uses.  The reason is that we can not deploy the DAG with changes for a single provider.
Less Ad Hoc:  As mentioned above, airflow has its own quite powerful scheduling functionality, and we should use it.

Another advantage would be that we can eventually attach the DB loading to the successful completion of each of the API puller scripts


[Flake] Error preparing docker image for GCB

Maybe a race condition?  Or could be a bug in Koniko?
https://pantheon.corp.google.com/cloud-build/builds/a3f20e65-2048-4a59-9a97-f81f608b344a?project=cloud-cpp-testing-resources

error pushing image: failed to push to destination gcr.io/cloud-cpp-testing-resources/cloudbuild/fedora:a3f20e65-2048-4a59-9a97-f81f608b344a: PATCH https://gcr.io/v2/cloud-cpp-testing-resources/cloudbuild/fedora/blobs/uploads/AJAD5v0Kmaa97Q7eSqRBWNCBtHaqgtgUTHrARVmCjiX7qi4ddTPeXG0WbpDET60B-1S4Bj3pqCLax2oebsCuMVM: UNKNOWN: Unable to determine the upload's size.

Maybe this can help:
https://github.com/GoogleContainerTools/kaniko/blob/master/README.md#--push-retry

Interesting. The kaniko image we're using is gcr.io/kaniko-project/executor:edge, which is from last year (May 7, 2020). There are many version updates since then.
Do you know why we're using the :edge tag? I'm thinking that maybe updating to a newer version of kaniko may fix the issue (and maybe adding that --push-retry flag may help too)

fwiw, it turns out that newer version of a Kaniko seem to SEGV, for a reason I don't understand but I filed a bug about a couple months ago: https://github.com/GoogleContainerTools/kaniko/issues/1604

My recollection is that I tried to use :latest that had some bugs with (maybe) multi-stage Dockerfiles, I switched to :edge and never changed the tag.  This is all very depressing.


Not able to load any information in Kancolle Viewer

Hi,
I'm experiencing this issue for a pretty long time when I upgrade my Kancolle viewer to version 4. See attachment for more info. I was waiting for a patch to resolve this problem but it doesn't seem like anybody has reported the issue so far. Interestingly I had no such issues when using version 3.8.1.
I have already tried to clear out my cache but it doesn't help too much.
Thanks,
-Zhongxia

Maybe some of plugins makes a craft, show you plugin list please.

你的插件導致你的KCV無法載入資料，請檢查你的插件列表有沒有錯誤


Feature/lpfg-288

PR includes

helper structs
get levels from registry service

To do

implement endOfBranch logic
update user

branch LPG-130-Retrieve-and-Update-Civil-Servant-Details has now rebased onto this and any further changes will be done there.  👋
The changes made in this branch include

Querying Registry Service for professions and job roles
Helper functions to parse the traverson data
Logic to show the levels
On the profession/job role levels selection page, when selecting a user it will append to the url /${selection}. ${selection} maps directly to an object from the response

The object has three properties self, name (and hasChildren if it is a jobRole)
The self is a url to this object on the Registry Service and it is used to query the next call, using .from(${self}).follow(${children}).
If hasChildren is false, there is no call to it's children, and instead on the selection page, a query is appended to the url. select=${profession || jobRole}/${object.id}. This is used to update the user.

branch LPG-130-Retrieve-and-Update-Civil-Servant-Details has now rebased onto this and any further changes will be done there.  👋
The changes made in this branch include

Querying Registry Service for professions and job roles
Helper functions to parse the traverson data
Logic to show the levels
On the profession/job role levels selection page, when selecting a user it will append to the url /${selection}. ${selection} maps directly to an object from the response

The object has three properties self, name (and hasChildren if it is a jobRole)
The self is a url to this object on the Registry Service and it is used to query the next call, using .from(${self}).follow(${children}).
If hasChildren is false, there is no call to it's children, and instead on the selection page, a query is appended to the url. select=${profession || jobRole}/${object.id}. This is used to update the user.


Bluetooth force mic works but audio stops working

Hi thanks for the module
I have a problem though, as you probably know, Bluetooth earbuds mic doesn't work unless it's a phone call. So if I want to record a voice in an app or make a call on an app like Line, my earbud mic won't work. I used your module to force Bluetooth input and it works perfectly except for one issue, there is no audio in the earbuds. I hope you can fix it if possible

Hello,
Because Android 11+ doesn't allow 3rd application can change audio source. This module is only fix that permission for LAS. I think maybe your custom ROM have a problem or from LAS.
Thanks for your information.


fix for not immediately failing if database not found

missed "SQLServerException.USER_ACCOUNT_LOCKED == e.getErrorCode()" from current driver


Can't describe a model with config

Describe the bug
The following is not reflected inside the website
{{
  config(
    description = "whatever"
  )
}}

Steps To Reproduce
Add the above to a model
Expected behavior
If I specify description, I should be able to see it inside the generate website.
Screenshots and log output
N/A
System information
The output of dbt --version:
installed version: 0.14.4
   latest version: 0.14.4

Up to date!

The operating system you're using:
Windows
The output of python --version:
Python 3.7.3
Additional context
None

Hey @philippe-lavoie - description is not currently supported as a config for models, so the behavior you're seeing is expected.
I'm open to the idea of supporting description in a config block. You'd only be able to set the description for a model, not the columns in the model, but that might be acceptable for some use cases. We'd also need to think about precedence -- what happens if a description is provided both in config() and in the description field in a schema.yml file? I don't think it's obvious which one of those should take precedence -- maybe it should be an error to supply it in both places?
I don't really perceive a need for this change - can you tell me a little more about your use case?  Happy to discuss this further!

I guess it was out of ease for me, I'm creating a postgresql-to-dbt tool. It scans a database and it updates the dbt_project file and creates models for the full database. After reading the best practices, I decided to also allow sources to be documented inside the schema.yml file however when I do that inside a folder and there are no sql files, then there is a warning from DBT.
To remove that, I generate a delete_me_*.sql file in each folder and wanted to document the fact that the file should be deleted without modifying the schema file itself. I can definitely update the schema file, however the goal was for the user to delete it as soon as it has a sql file in it and therefore no need to also update the schema file. I understand it's a small use case.
In terms of precedence, I'd say the SQL file takes precedence over the schema file like it does for the project file.

ah! ok - we can totally fix that warning - do you happen to have an example of what the warning looks like handy?

The warning looks like:
WARNING: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
There are 2 unused configuration paths:
- models.test_package.Operational
- models.test_package.Sales

The above was when there is no .sql files in both folders. It only has a schema file with a lot of sources.

I see! Ok - that's super helpful - thanks for the additional info here. We'll check it out!

@philippe-lavoie this warning should only show up if there are model configurations defined in the dbt_project.yml file which do not map to any dbt models.
That could happen if you have a file like:
models/Sales/schema.yml

and a dbt_project.yml file with:
models:
  my_project:
    Sales:
      materialized: view

Here, dbt would warn you that the materialized: view config does not apply to any models. If that's the behavior you're seeing, then I think this is working as intended. If you're seeing something else here, I'd love to learn more about the details. Thanks!

closing this one - description doesn't belong in the model config, and model warnings are working as appropriate as far as i can tell.


Update to Neo4j 2.2.1

The blueprints-neo4j2-graph package is based on Neo4j 2.1.6, but the most recent version is 2.2.1.

have you tried to bump the version yourself?  do you happen to know if the tests pass?

It does not compile with the version bumped since they have changed the API a bit. The first problem I noticed involved checking if elements are in a write transaction. Will put in a PR if I manage to resolve this myself.

Seems like this is resolved. Can we close this issue?

@spmallette is the new snapshot with compatibility for 2.1.1 available somewhere? Sonatype Snapshots?

yes - deployed to sonatype snapshots.


chore: update .secrets.baseline

PR summary
Updates our secrets baseline
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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


read-op-xml-it: greatly simplify code, error on >1 file

Signed-off-by: Stewart Smith<EMAIL_ADDRESS>

This change is

Superseded by https://github.com/open-power/op-test-framework/pull/56


pythonPackages.stestr: init 3.2.0

pythonPackages.stestr: init 3.2.0
git-machete: fixes tests

Tests are disabled until openstack-hacking is merged (I expect to do so eventually).
I have fixed git-manchete to show this works.

Can this be merged?
I need this for the OpenStack PR. I have already 25 openstack packages working that I want to upstream.

Any reason you don*t include the openstack-hacking package in this pr, so we can work on the infinite recursion here?

Any reason you don't include the openstack-hacking package in this pr, so we can work on the infinite recursion here?

In a few packages tests work properly. But as tests are enabled in more packages it is going to loop. Even using (openstack-hacking.overridePythonAttrs (oldAttrs: rec { doCheck = false; })) and passthru.tests. I have a lot of working tests already. Do you want me to push them as well? But as I said, as we add more of them, and workaround things, it is still going to break, at least this was my experience. It gets ugly. :)

I will merge this PR with OpenStack.


[Navigation Material] Unexpected behavior when navigate to bottom sheet and hide keyboard

Description
What I have:

Home Screen with TextField
Bottom sheet
android:windowSoftInputMode="adjustResize" for activity
LocalSoftwareKeyboardController.current to hide keyboard

Steps to reproduce

Tap on TextField to open keyboard
Navigate to bottom sheet and hide keyboard in same time (onTap)
Keyboard is hided but Bottom sheet is invisible

Expected behavior
Keyboard is hidden
Bottom sheet is visible
Additional context
implementation "com.google.accompanist:accompanist-navigation-material:0.23.1"
Sample: https://github.com/imholynx/AccompanistNavigationBugSample
Source code to reproduce:
class MainActivity : ComponentActivity() {
    @OptIn(ExperimentalMaterialNavigationApi::class)
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContent {
            MyApplicationTheme() {
                val bottomSheetNavigator = rememberBottomSheetNavigator()
                val navController = rememberNavController(bottomSheetNavigator)

                ModalBottomSheetLayout(bottomSheetNavigator) {
                    NavHost(navController, "home") {
                        composable("home") { Home(navController) }
                        bottomSheet("bottom_sheet") { BottomSheet() }
                    }
                }
            }
        }
    }
}

@OptIn(ExperimentalComposeUiApi::class)
@Composable
private fun Home(navController: NavController) {
    val keyboardController = LocalSoftwareKeyboardController.current

    LazyColumn {
        item { TextField(value = "", onValueChange = {}) }
        repeat(99) {
            item {
                Text(text = it.toString(),
                    modifier = Modifier
                        .fillMaxWidth()
                        .padding(16.dp)
                        .clickable {
                            keyboardController?.hide()
                            navController.navigate("bottom_sheet")
                        })
            }
        }
    }
}

@Composable
private fun BottomSheet() {
    LazyColumn {
        repeat(9) {
            item { Text(text = it.toString()) }
        }
    }
}

https://user-images.githubusercontent.com/1606106/192773388-c7e5e47f-2cfa-4d54-9c8b-c3d85214d835.mp4

Thanks for the report! There is no fix or workaround for the time being, unfortunately. This is blocked by this upstream issue: https://issuetracker.google.com/167966118
I will update here when I have new information.

v0.28.1 addresses this issue. Please let us know if you can still reproduce it with this version.


Fix "JoJo's Bizarre Adventure: Stone Ocean Part 2" redirect

The AniList-only redirect somehow does not work and gets overridden with the ! redirect, so I'm removing it again (didn't test this earlier, my bad).

Added back the !, and now it properly redirects again. Truly bizarre.


Updated README.md to include a Getting Started section.

Includes a Getting Started section that introduces the different settings and controls available to the user.
Briefly explains all the different settings provided by ambilight.
Does not yet include documentation for advanced settings.

I have no intention to fill the Readme.md with a list of all the settings. This list is already available in the description in the browser stores.


Updating demos to be consistent with the new breaking changes.

Updated link in pytorch noise
Removed .template when calling templates
Need to update IBMQ decice

Before submitting
Please complete the following checklist when submitting a PR:

[ ] Ensure that your tutorial executes correctly, and conforms to the
guidelines specified in the README.

[x] Add a thumbnail link to your tutorial in beginner.rst, or if a
QML implementation, in implementations.rst.

[ ] All QML tutorials conform to
PEP8 standards.
To auto format files, simply pip install black, and then
run black -l 100 path/to/file.py.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Title:
Update Demos to be up-to-date with current breaking changes
Summary:
Making changes to the demos in the demonstrations folder to ensure they are still useful to users today

[sc-10709]


bug: Slidebox view bug with two slides

Type: bug
Platform: all
In the slidebox view in continuous play mode and if there are only two slides, a copy is made around line 59 of js/views/sliderView.js:
element.appendChild(slides[0].cloneNode(true));
element.appendChild(element.children[1].cloneNode(true));

It seems that doesn't work if the slide's content is dynamic (ie. based on a custom directive for instance). In my case, I have a custom image loader directive with a spinner during network request. This doesn't work properly as only the html is copied and not the angular logic bound to the html fragment.
I think the slide's content need to be cached before angular compilation and compiled anew for each slide's clones (first/last).

Greetings @nitrotm!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

The issue could also be reproduced on my side. And I noticed there's a similar issue https://github.com/driftyco/ionic/issues/2336 submitted long ago.

I just reopened #2336, let's move the discussion over there.
Closing this for now.


CU-21n4174 Adding place holder views to Home Tab

Adding placeholder to the home screen to start discussing more about the interactions that user could take. Also, not very clear if switching tabs should trigger a re-rendering of the whole screen or just the section right below it.

Task linked: CU-21n4174 Add placeholder views to Home Tab


[INLONG-164] Rust SDK support in TubeMQ

JIRA link - [INLONG-164] created by misaka

No changes or actions are seen, close


Missing photos for bullkey bridge assessment adjacent to the Zymoetz watershed group

One of the bridges that she looked at on the way back from the zymoetz is just past the boundary, in the bulkley. I can't seem to find the photos for it. Looking in Q I can see that she added photos in mergin but I can't find them in the one drive skeena folder.

Did we happen to try looking in V226 yet (immediately after when the photos may have been uploaded)? Guessing dates are after 107 and V106 but those are also TP uploads....

this bridge needs to be added to a pscis submission spreadsheet.

I found the photos. I downloaded version 226 and they were in the photos folder. I did add the bridge to the submission sheet, it's in the reassessment sheet.


dotnet run MVC error:  Can not find compilation library location for package 'Microsoft.NETCore.App'

Hello Team,
I am trying to execute the dotnet mvc project, (created too using mvc) and after fixing all the build error I get this error in browser at run:
System.InvalidOperationException: Can not find compilation library location for package 'Microsoft.NETCore.App'
   at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths()
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeatureProvider.PopulateFeature(IEnumerable`1 parts, MetadataReferenceFeature feature)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRoslynCompilationService.GetCompilationReferences()
   at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRoslynCompilationService.Compile(RelativeFileInfo fileInfo, String compilationContent)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCache.CreateCacheEntry(String relativePath, String normalizedPath, Func`2 compile)
--- End of stack trace from previous location where exception was thrown ---

Scanned the complete web to find a possible solution but no luck.
I am using on Mac Sierra dotnet sdk 2.0.0.
Please point me to the solution ✌

Can you share your project? Are you still stuck?

Hello @Petermarcu ,
I sorted most of the issues, this one gets sorted when you rather use dotnet core commands from terminal (instead of executing form IDE\vscode).
As the dotnet command points to the right location of libraries, so dotnet clean, build, run works fine.
We can close this issue.
Thanks much,
✌

Thanks for confirming!


add size invariant iid embedding nets, tests.

goal: have an embedding net for NPE that can handle varying number of iid trials, i.e., learn how the posterior changes as we change the number of trials.
problem: our training procedure assume that x is a tensor with fixed dimensions, e.g., the trial dimension must be the same for all training data points.
solution: given a training data set with a varying number of trials where the maximum number of trials is max_num_trials, pad all xs with smaller number of trials with NaNs such that x.shape = (num_thetas, max_num_trials, dim_x). Adapt the PermutationInvariantEmbeddingNet such that it detects the NaNs and applies the TrialEmbedding only to the valid entries (using a loop over the batch).
functional tests: seems to work fine for a Gaussian example
Questions:

any ideas how to change our training procedure to be more flexible, e.g., allows x to be a list? treat x a torch.DataSet from the very start in append_simulations?

Codecov Report

Merging #808 (502a70e) into main (2a114f4) will increase coverage by 0.04%.
The diff coverage is 84.21%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #808      +/-   ##
==========================================
+ Coverage   74.76%   74.81%   +0.04%
==========================================
  Files          80       80
  Lines        6190     6198       +8
==========================================
+ Hits         4628     4637       +9
+ Misses       1562     1561       -1

Flag
Coverage Δ

unittests
74.81% <84.21%> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

sbi/analysis/plot.py
56.43% <ø> (ø)

sbi/analysis/tensorboard_output.py
86.25% <ø> (ø)

sbi/inference/abc/smcabc.py
12.26% <0.00%> (ø)

sbi/inference/posteriors/base_posterior.py
80.82% <ø> (ø)

sbi/inference/posteriors/direct_posterior.py
98.21% <ø> (ø)

...inference/potentials/likelihood_based_potential.py
100.00% <ø> (ø)

sbi/inference/snle/snle_base.py
91.58% <ø> (ø)

sbi/inference/snpe/snpe_base.py
89.17% <ø> (ø)

sbi/inference/snre/bnre.py
44.00% <ø> (ø)

sbi/inference/snre/snre_base.py
94.82% <ø> (ø)

... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

this is working accurately for a Gaussian iid example with up 100 trials, trained with varying number of trials.
thanks to @manuelgloeckler's input, the forward pass is performed batched as well by masking the NaNs before the forward pass and setting them zero afterwards.

What's the status of this? Are you waiting for a (my) review?


Fix: Table rows delete: split call with query and form-data

Jira: TER-87
Connection: https://github.com/keboola/connection/pull/4158
Before asking for review make sure that:
Checklist

[x] New client method(s) has tests
[x] Apiary file is updated

Release

[x] I gave the PR a proper label:

major (BC break)
minor (new feature)
patch (backwards compatible fix)
no release (just test changes)

ℹ rebase


PHP8.3 Ruleset, shared code refactoring

At the moment, the rules are copied arbitrarily across the varying ruleset files. This PR creates a parent class to reduce this unnecessary code duplication and to ensure consistency across PHP versions. Any PHP-specific rules can then be defined in the class-specific ruleset and merged with the parent array.
This PR also includes the PHP 8.3 ruleset.

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