Added animation synchronization

Fixes #23414
This PR adds the ability to synchronize the playback speeds of animations that are blended together in an animation tree. It keeps animations in sync even when they have different lengths.
Without synchronization, animations used in BlendSpace1D/2D or connected to Blend2/3 become desynchronized when their lengths don't match:
https://user-images.githubusercontent.com/8700280/175804524-03866bd2-ce51-45ee-b008-3ac8033dc45c.mp4
With synchronization, they stay in sync, depending on the current lead animation:
https://user-images.githubusercontent.com/8700280/175804529-bd098858-fb82-40d5-9358-de1db15e4ae5.mp4
Background
I was looking for a way to implement #23414 as a necessary feature for third-person character animation. My original goal was to make this feature work without any extra steps required from devs, but that proved impractical and in some situations even undesired. I eventually went with a system similar to how it works in Unreal Engine.
The current implementation uses the concept of Sync Groups to decide which animations belong together. AnimationNodeAnimations have a new Sync Group property that is set by developers to a StringName of their choosing. Based on the final blend weights of all the animations in a sync group, a leader is determined and the other animations in that group are timescaled to match the leader's playback length. Here are two videos demonstrating the feature in the editor and at runtime:
https://user-images.githubusercontent.com/8700280/175804537-5d6776ca-a7d2-4665-b9ae-1b39cc775b07.mp4
https://user-images.githubusercontent.com/8700280/175804547-7f25cbfe-bbc2-49c5-828d-d9a857231c0e.mp4
Limitations & Improvements
The feature as-is works for the vast majority of cases where such synchronization is desired: locomotion state machines and blend spaces dealing with walk and aim cycles. There are ways to make it even better, but they come with more significant changes to animation nodes, which is why I didn't implement them in this first draft.
TimeScale Node
The first limitation has to do with the TimeScale node. The system works as expected as long as any TimeScale node in the graph affects all animations in a Sync Group equally. That is, the picture on the left works, the one on the right doesn't:

This has to do with the way the TimeScale node works internally. It's a limitation that probably won't be a very big problem in practice, but still might be nice to make it work. The thing is, the only way that I know how to do it would make the TimeScale node effectively obsolete. Instead, there would be a new Playback Speed property on every node to control a branch's playback speed directly on that node. This would allow us to accumulate the playback speed and pass it down to the leaf node in a way that the Sync Group system can handle it properly.
An advantage would be that it declutters the animation tree, but a disadvantage might be that the playback speed property would exist for every node even if it wouldn't really make sense for that particular node. We can work around that by exposing the variable as a property only for those nodes where it makes sense. For now, I added the playback speed property to the AnimationNodeAnimation class only. This allows us to scale an individual animation up or down without breaking synchronization.

Blend Logic
Another thing that would improve the end result at the cost of slightly complexer blend logic is changing the way that the final animation length is calculated. Right now, all animations in a group are scaled to the length of the leader. This is good enough, but it can produce notable speed pops when the group's leader changes.
Given two animations of different lengths:

This is what happens in Unreal Engine and what this PR is currently doing:

What I have in mind instead is this:

The animations are not merely scaled to match the leader, but all of them - including the leader - are scaled according to their weight. This would prevent any popping and would make leader switches buttery smooth.
Desynchronization
There are still instances when the animations desynchronize. Most notably, while assigning sync groups in the editor. Restarting the animation tree fixes that, so I don't know if this is something that needs to be addressed necessarily. Still, it might be desirable to add some resynchronization logic as a response to properties being changed.
Testing
I invite everyone to throw their animation trees at this to stake out where the current implementation breaks. Things I haven't tested yet include:

Root motion
BlendSpace2D (I am currently setting up animations for a proper test case)

I agree that the timescale needs to be adjusted for synchronization, but in the end that is not enough for synchronization.
For example, an animation with the right foot first will not blend well with an animation with the left foot first. The phase needs to be adjusted.
Also need to think about RootMotion. An animation that moves 2 meters per second to the right and an animation that moves 5 meters per second forward will move in different directions than the user input, even if they are synchronized. NodeAdd, etc.
I think it is impossible to cover these various use cases with the AnimationTree capability alone.
I suggest that TimeScale adjustment should be done like CharacterController with a user script having animation as an argument and distributed in AssetLibrary/GDExtention, etc.
In fact, CharacterController, which specializes in such automatic adjustment of animations, is sold as an Asset for Unity.
This PR is likely to break a lot of things for one use case. The only thing I can say for sure that is currently missing in AnimationTree for that use case is sync in NodeBlendSpace2D and Transition.
If you want to implement automatic timescale adjustment, it should be an Asset as I said above, or at the very least it should be a new node like the #34179 implementation or an option in NodeBlendSpace2D, so it should only be resolved within a specific node.

For example, an animation with the right foot first will not blend well with an animation with the left foot first.

That's true, but I would consider these two different use cases. This kind of animation blending would break in other engines too, which is why in Unreal there's also the notion of sync markers. I think there should be a different PR for that.

@and-rad can this be reworked into a diferent node? I find it very necesary to actually sync animations

Superseded by:

https://github.com/godotengine/godot/pull/87171


E2E seed tests

Tasks

[ ] Test seed creation
[ ] Test seed editing
[ ] Test seed deletion
[ ] Test seed search

Thank you for creating the issue! :heart:
A rough outline what you want to test could be included in the tasks of such an issue.

Updated.
The usecase is not mentioning that you can search for seeds, but the search functionality exists on the page, so I m not sure about that one.

The usecase is not mentioning that you can search for seeds, but the search functionality exists on the page, so I m not sure about that one.

Thx for noticing! For this release we simply comment out the whole search, later we reintroduce it properly, see #876
@badnames please remove the search field in seeds, together with fixing the release critical problems in #868


[ios] fix missing attribution

This fixes the issue of missing style source attribution as noted in #183.

I think the answer to that depends on the release strategy.
There's a pretty straightforward workaround for this issue that involves grabbing the attribution info in the didFinishLoading delegate method and creating a custom UI element. Most people have probably implemented this themselves as needed.
That being said, it's my understanding that proper attribution is a contractual obligation between the style source provider and the consumer (developer). Supporting this behavior by default seems pretty important.
The ideal scenario would be fixing this on the Android side as well, and pushing a release(s) that encompasses both for platform parity.


libs: ahb_slv_sif: Latch hsize on address phase

Accordingly to IHI0033A 3.4, HSIZE is of address bus timing.
When two consecutive NONSEQ transfers (say A and B) of different HSIZE value are issued,  the effective size of A is HSIZE(B) and effective size of B is depended on the manager implementation.

This is a good fix, but will be postponed until 2.0.
See https://github.com/chipsalliance/caliptra-rtl/issues/355

Alrighty, thanks @calebofearth!

@wkkuna we'd like to merge this Pull Request. Can you run it through any local tests you have (VCS simulation, spyglass lint, synthesis) and submit the branch stamp (described in https://github.com/chipsalliance/caliptra-rtl/blob/main/.github/workflow_metadata/README.md)?


Roadmap 201603

This issue serves as an overview of the issues and priorities for abapGit going forward. The roadmap may change at any time. If you find other things more important or an issue is not on the list, feel free to pick it up and work on it.
Prioritized list:

[X] Next generation XML #188
Dependency: none
Fixes: #176 #175

[X] Serializer origin #187
Dependency: #188

[ ] Master language in .abapgit #189
Dependency: #188

[ ] New configuration #129
Dependency: #188

[ ] Staging/Folders #5
Dependency: #188 + #129
Fixes: #173 #168 #62 #47

Quick wins, smaller independent tasks:

diff - jump to next difference #180
add progress bar #159
table_add and table_read accept only STANDARD TABLE #148 (issue obsolete after #188)
rebranching installed project #127
TABL domain/data element references #126
feature to create new package in clone popup window #115

How are packages / paths currently being handled? Is this ready for productive use?

progress on #129 see separate repository https://github.com/larshp/abapGit-per-test

done, yay :fireworks: :rose:
will create new roadmap when time permits, and if needed


refactor fashion example

The fashion example has currently two code snippets defining the MyEncoder class.
The two locations:

https://github.com/jina-ai/examples/blob/master/fashion-example-query/components.py
https://github.com/jina-ai/examples/blob/master/fashion-example-query/tests/test_fashion_example_search.py

We can move the MyEncoder to the YAML configs and reusing it for the test and the app.py, eliminating the duplication.

Resolved by https://github.com/jina-ai/examples/pull/481


ImageAnalysisErrorReason.CONNECTION_FAILURE

Please provide us with the following information:

This issue is for a: (mark with an x)
- [X ] bug report -> please search issues before submitting
- [ ] feature request
- [X ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

run the sample code from the documentation page at https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/docs/learn.microsoft.com/python/image-analysis/3/main.py
endpoint used format - https://{name_of_cogs_service}.cognitiveservices.azure.com/
valid api key is used - the below curl request from the same pc works fine
curl -X POST "https://{name_of_cogs_service}.cognitiveservices.azure.com/computervision/imageanalysis:analyze?api-version=2023-02-01-preview&features=objects&language=en&gender-neutral-caption=False"
-H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: VALID_KEY_USED"
--data "{"url":"https://images.openai.com/blob/9ad5a2ab-041f-475f-ad6a-b51899c50182/ingredients.png\"}"
Any log messages given by the failure

Analysis failed.
Error reason: ImageAnalysisErrorReason.CONNECTION_FAILURE
Error code: -1
Error message: Unknown error in sending http request
Expected/desired behavior

output should be json with the below result
{"objectsResult":{"values":[{"boundingBox":{"x":167,"y":419,"w":301,"h":279},"tags":[{"name":"Egg","confidence":0.543}]},{"boundingBox":{"x":247,"y":669,"w":291,"h":285},"tags":[{"name":"Egg","confidence":0.617}]},{"boundingBox":{"x":445,"y":405,"w":559,"h":358},"tags":[{"name":"Food","confidence":0.711}]}]},"modelVersion":"2023-02-01-preview","metadata":{"width":1006,"height":1006}}
OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

azure-ai-vision-0.13.0b1
python 3.10.10
Mention any other details that might be useful

Thanks! We'll be in touch soon.

I can confirm I also receive this error. I hadn't been able to receive a single successful request using the 4.0 API.
The "unknown error" is not very helpful. I am also suspicious because I am using HTTPS but the error message says HTTP.
azure-ai-vision: 0.13.0b1
python: 3.10.6

Relevant Docs References

Error Codes
ImageAnalysisErrorReason Fields

@lordlinus please run sample number 0 (image_analysis_sample_analyze) here: https://github.com/Azure-Samples/azure-ai-vision-sdk/tree/main/samples/python/image-analysis . Your link points to an example of using custom model. Seems like you did not intend to use a custom model.

@mattmazzola  please share more information on your case. Share source code. What OS/Platform is this? Does an equivalent CURL command work? What happens when you run sample number 0 here with your endpoint and computer vision key? https://github.com/Azure-Samples/azure-ai-vision-sdk/tree/main/samples/python/image-analysis

@dargilco i get the same error when i ran the sample

@lordlinus this error message indicates that Open SSL 1.x was not installed. Per the README, On Ubuntu 22.04 LTS it is also required to download and install the latest libssl1.1 package (e.g. from http://security.ubuntu.com/ubuntu/pool/main/o/openssl/). Ubuntu 22.04 comes with OpenSSL 3.x, and no longer with OpenSSL 1.x. The Vision SDK has not yet been updated to support OpenSSL 3.x. We plan to fix this in one of the next releases.

please share more information on your case

I created a video to give some more context. I can't easily share the code without creating separate repo and moving my script and dependencies over to make it public.
https://github.com/Azure-Samples/azure-ai-vision-sdk/assets/2856501/34d7f777-b669-4598-8c68-e8ef8b34008f

this error message indicates that Open SSL 1.x was not installed

You may know that from internal knowledge of how the code works, but this error message does NOT imply that is the issue.
It only says "Unknown error in sending http request"
It seems like a generic error for any issues that happen.
It would be more helpful if you listed probable causes for that error in the error message such as:
"If you are using Ubuntu 22.04 required to download and install the latest libssl1.1 package (e.g. from http://security.ubuntu.com/ubuntu/pool/main/o/openssl/)"
I suspect I am having the same problem since I am running from within this container environment:
mcr.microsoft.com/devcontainers/base:ubuntu-22.04

let me know if that solved your problem

I was struggling with the manual installation steps and I ended up downgrading the container to use mcr.microsoft.com/devcontainers/base:ubuntu-20.04 and now I can use the Python SDK with v4.0 API and am unblocked! 😄Thank for the response about Open SSL.

I added this document to the samples repo, and updated the relevant Linux README files to point to it. I also made an SDK code change such that the error message will mention that if you are running on Ubuntu 22.04 you need to install OpenSSL 1.x from source code, including a link to this new document. This change will be included in the next version of the SDK (we release every 1-2 months). We will also write a dedicated Vision SDK setup page under the public Image Analysis document addressing this.
@mattmazzola if the instructions to setup OpenSSL 1.x from source code did not work for you, please open a new GitHub issue with a description of what you’ve done and the issue you encountered.
@mattmazzola @lordlinus if you have any other issues or feedback in general on the SDK, feel free to open a new issue. I will close this one.

Error reason: ImageAnalysisErrorReason.CONNECTION_FAILURE
Error code: -1
Error message: Unknown error in sending http request
OS and Version
CentOS 7.9.2009 (works fine on local Windows 10)
Versions
azure-ai-vision 0.13.0b1
python 3.8.12 (Gunicorn + Flask)
OpenSSL 1.0.2k
urlib 1.26
Azure-Cognitive-Speech and Azure-Cognitive-Language service are working fine on same server

@fengjihua Unfortunately we do not support CentOS 7. I believe it should work on CentOS 8.


[Bug]: Broken docstores -> broken indices

Bug Description
As described here a docstore should allow for efficient document management and creation of multiple indices without document duplication.
However, the features often inhibits efficient management. For example, if we have 1 docstore and construct two vector indexes on top of it (one with 512 and another with 1024 embed_dim), using refresh_ref_docs or 'delete_ref_docs` will only reflect document changes on the vector index we use these functions on first.
So if I have something like:
docs = [some_new_docs]
vector_index_512
vector_index_1024

and then try to run:
vector_index_512 .refresh_ref_docs(docs)
vector_index_1024.refresh_ref_docs(docs)

I "refresh" the nodes in the 512 index. However, the 1024 index does not get refreshed simply because it shares the docstore with 512. This behavior happens because the refresh and delete functions only check against the docstore and not, for example, if the ref_doc_ids/hashes match between the vector index and the docstore.
This doesn't come across as expected so I'm raising it as a bug. Let me know know if it's intended behavior and we can change it to a feature request.
Version
v0.10.57
Steps to Reproduce
docs = [some_new_docs]
vector_index_512
vector_index_1024

and then try to run:
vector_index_512 .refresh_ref_docs(docs)
vector_index_1024.refresh_ref_docs(docs)

Relevant Logs/Tracbacks
No response

Hmm, I see the point, but I don't know what a solution is. How can vector_index_512 know the existence of the completely separate vector store in vector_index_1024 ?

It doesn't have to... The user would need to ensure that refresh_ref_docs is run on all vector indexes that share the docstore. But the refresh_ref_doc should have another "leg" that checks the following logic (rough outline):

If ref_doc_id exists in docstore but not vector store --> insert to vector store (most of the logic here is already covered by _handle_upserts - This alone would help already.
If ref_doc_id exists in both docstore and vector store BUT existing_doc_hash != document.hash we update. Here the existing_doc_hash is the hash from node.ref_doc_id
Step 2 would call for update_ref_docs and delete_ref_doc.

Another option might be to have refresh_ref_docs return refreshed_documents, refreshed_doc_ids which would make it easier to reflect the same changes on other indices.
In both of these options the user could opt in/out of secondary index refresh.
Another option might be having the index_struct play a role in this. Might be wrong, but the struct would be the only pointer that there are more indices constructed on top of the same docstore.
Let me know if this makes any sense?

This logic makes sense, but would require the vector store to have a method to lookup per node id
This is recently implemented in the base class (vector_store.get_nodes(node_ids=[...])), but is only implemented in about 6 or so vector stores
For 2+3, isn't this the logic already? If the hash from the docstore has changed, it deletes and re-inserts on both the docstore and vector store.

Thanks for the update!
For 2+3 yes the logic is similar but right now existing_doc_hash is the hash from docstore - in this case (2) document.hash would need to be compared to the hash stored in the node.metadata, otherwise the doc.hash would coincide with the docstore hash if the docstore was already updated (during the 512 refresh). Obviously not ideal though because it needs to check the entire index store.
Maybe better if there was a higher level util refresh_indices -> takes in index mapping {"v1": 512, "v2":1024} -> calls refresh_ref_docs on v1 -> runs update_ref_docs (delete_from_docstore = False) with the same doc list on v2?
Premise of this is that update is essentially delete + insert and does not check against the docstore. Delete checks against the docstore but doesn't prevent deleting the nodes from v2.
I agree that it's a trickier issue, but otherwise docstore's utility is marginal (considering most real applications would expect docstores to be more dynamic). Especially apparent in evaluation scenarios where we frequently run several vector stores with different chunk_sizes, overlaps, etc.


Can not load in ComfyUI and --network_args "split_qkv=True" does not work

lora trained by sd-scipts can not be loaded  in ComfyUI loadload node, so i try to "split_qkv" use order --network_args "split_qkv=True"

but seems to does not work.

Log in ComfyUI is "lora key not loaded".

Can someone tell me how to load lora on ComfyUI? thanks

The key log seems to be for Text Encoder 1 (CLIP-L). Have you connected CLIP to the LoRA node?

yes, only use Load LoRA node can run successfully, all other nodes will report an error. thanks


Use lineSeparator() to make InternalProvisionExceptionTest.java cross-platform available

This resolves #1304
This PR brings related test into correct way in different operating system and resolves test problem on windows.
Before:
<testcase classname="com.google.inject.internal.InternalProvisionExceptionTest" name="testSourceFormatting" time="    0.172">
     <failure message="value of: getMessage()
 diff    : (line contents match, but line-break characters differ)" type="value of">value of: getMessage()
 diff    : (line contents match, but line-break characters differ)
         at com.google.inject.internal.InternalProvisionExceptionTest.testSourceFormatting(InternalProvisionException    Test.java:35)

After:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

Thank you for taking the time to look at my PR.

Looks like there is already a pull request but not merged
#1213

Looks like there is already a pull request but not merged
#1213


Downloaded file is huge compared to actual image data.

Here are two images downloaded, one via search and the other via tag.
11/05/2021  05:19 AM    13,566,391,920<PHONE_NUMBER>2_d34bbf21a4_b.jpg
12/08/2021  10:52 AM     8,101,249,935<PHONE_NUMBER>2_d34bbf21a4_b^Harley+Quinn.jpg
The two images by image data in a viewer are 1.69 MB each and identical though on disk one is 12.6 GB and the other is 7.54 GB.
51127871052_d34bbf21a4_b.jpg
1024 x 576  Pixels (16:9)
16,7 Million   (24 BitsPerPixel)
12937.92 MB (13,566,391,920 Bytes)
1.69  MB (1,769,512 Bytes)
51127871052_d34bbf21a4_b^Harley+Quinn.jpg
1024 x 576  Pixels (16:9)
16,7 Million   (24 BitsPerPixel)
7725.95 MB (8,101,249,935 Bytes)
1.69  MB (1,769,512 Bytes)
I went searching for more as missing disk space was what started my search.  I found 39 files, all JPG and all downloaded via search or tag that totaled 111 GB. The oldest was 11/04/2021 and the newest was on 01/05/2022.
I am using v<IP_ADDRESS> and have upgraded at each version within a few days of release.
OS: Windows 10 Home
I will be on the lookout for new images to update.

Thanks for reporting a bug. We'll take a look at it.

I removed the tag search and added a few times just for kicks. These three posts among others cause TumblThree to do whatever it does every time it tries to download them.
https://airmanisr.tumblr.com/post/673749867606228992/queen-of-belle-reve-by-pat-loika-via-flickr
https://airmanisr.tumblr.com/post/673703683143483392/harley-quinn-59-foil-signed-by-derrick-chew-by
https://airmanisr.tumblr.com/post/673735649295237120/r5119951-winterfest-2021-momocon-sat-12-18-21-by
When I look at
https://airmanisr.tumblr.com/archive
these posts show up as a video link though they are JPGs hosted on flickr.

The issue has been fixed and closed. You can still comment. Feel free to ask for reopening the issue if needed.


Jobs can not be queued?

I run the rq-scheduler with the following command:
$ rqscheduler -i 10 -v
And my main.py:
from redis import Redis
from rq import Queue
from rq_scheduler import Scheduler
from datetime import datetime, timedelta
from jobs.tasks import log
import time

redis_connection = Redis()

# queue = Queue(connection=redis_connection)
scheduler = Scheduler(connection=redis_connection)

job0 = scheduler.schedule(
    scheduled_time=datetime.utcnow(),
    func=log,
    args=['abc'],
    interval=5,
    repeat=5
)
job1 = scheduler.enqueue_in(timedelta(seconds=5), log, 'abc')

print(job0.get_status())
print(job1.get_status())
time.sleep(1)
print(job0.get_status())
print(job1.get_status())

but when i run the app, i got output:
None
None
None
None

That means these jobs have not been queued ?
Please help me. Thank you for reading.

You can check whether there's anything in the scheduler using scheduler.get_jobs()

@vking34 Did you find a resolution to this issue? I'm experiencing the same thing.


[Feature]: Make Google Sheets scope editable

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
From this comment, a user would like to restrict access to Google Sheets so we only have edit permissions on specific sheets. We need to let users create their own scopes for this, that overrides the provided scopes. Since some commands will fail after restricting the scope, we should also think of a way to convey the reason that those commands failed.
Why should this be worked on?
Users are uncomfortable with sharing full access to their Google accounts.

will be fixed with #20191


Can't open image dir (open 9991: no such file or directory) when running make

Hello,
I'm trying to run make but I have the following error:
mkdir -p image
sudo test/piggie
Child forked, pid 10466
sudo test/test dump `pidof piggie` image
CRIU version 31300
Dumping
can't open image dir (open 9991: no such file or directory)Makefile:26: recipe for target 'test' failed
make: *** [test] Error 1

The 'image' directory is there but I don't know why go-criu cannot see it.
Any suggestions?
Thanks,

Ok. Found it. pidof piggie returns more than one pids.

Nice that you found a solution.


osrm-traffic-updater should be able to apply all/blocking-only live traffic

Per our usage, osrm-traffic-updater have command line parameters to decide whether use all live traffic or blocking-only(flows with speed near 0 and blocking incidents) live traffic.
If only use blocking-only live traffic, then the calculated routes will not include ways can NOT be passed due to traffic.

For the blocking-only strategy, we can have a try with incremental customize to see whether the deal time can be speed up.

Function has been implemented. I'm going to build docker to test whether customize time can be shortened.

see osrm-customize benchmark: full traffic vs. blocking-only traffic  in https://github.com/Telenav/osrm-backend/issues/94


Quoting in Cicero UI doesn't seem to handle nested structures as the Md editor

Quoting in the markdown editor properly preserves the structure of the selected part of the document:

It seems to lose the structure when quoting in Cicero UI:

It could be an artefact of the demo, but might be useful to investigate.

Update: still persists.

I can reproduce this in the Markdown Editor - so it's nothing to do with the Contract Editor.

I can reproduce this in the Markdown Editor - so it's nothing to do with the Contract Editor.

Original issue was filed pre-slate 0.57 pre-web-components


Opening question description dialog for the 1st time gives a console error

But subsequent opening of the description dialog doesn't seem to log an error

Fixed in #36


Clean linting issues in Activity App

Please do a separate PR for each step so that others won't have much conflicts in their PRs.(If there are less than 20 pylint issues in a file try to add another file in the same PR)
App - Activity

[ ] File: activity/admin.py

Add pylint activity/admin.py after line.
Run pylint activity/admin.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/forms.py

Add  activity/forms.py at end of pylint line.
Run pylint activity/forms.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/middleware.py

Add  activity/middleware.py at end of pylint line.
Run pylint activity/middleware.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/processor.py

Add  activity/processor.py at end of pylint line.
Run pylint activity/processor.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/signals.py

Add  activity/signals.py at end of pylint line.
Run pylint activity/signals.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/tables.py

Add  activity/tables.py at end of pylint line.
Run pylint activity/tables.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/urls.py

Add  activity/urls.py at end of pylint line.
Run pylint activity/urls.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/util.py

Add  activity/util.py at end of pylint line.
Run pylint activity/util.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/views.py

Add  activity/views.py at end of pylint line.
Run pylint activity/views.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/wsgi.py

Add  activity/wsgi.py at end of pylint line.
Run pylint activity/wsgi.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] File: activity/middlewares/custom_middlewares.py

Add  activity/middlewares/custom_middlewares.py at end of pylint line.
Run pylint activity/middlewares/custom_middlewares.py locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

[ ] Remove the list of files for activity app, update it with pylint activity on pylint line and create a PR.

App - Admin Report

[ ] It has few files and few errors a singal PR would be enough

Add  adminreport at end of pylint line.
Run pylint adminreport locally.
Fix issues in the pylint report
Create a PR and update the check on the issue for this file.

App - configurabledashboard
To be added.
App - customdashboard
To be added.

Note: we will continue using Flake8 for linting for now. So no need for Pylint configurations

Closing since :point_up:


http4s-websocket is an archived project

http4s/http4s ingested the interesting parts of this, and http4s/blaze dropped it as a dependency.  This repo isn't being maintained anymore.

thx!


Test helpers sensitive to Builder json order

Package
filament/filament
Package Version
v3.1.15
Laravel Version
v10.35.0
Livewire Version
v3.2.6
PHP Version
8.2.13
Problem description
When testing resources that use the Builder component, the fillForm method can throw an exception (Undefined array key "type") if the data comes before the type key in the json array.
Expected behavior
fillForm should work regardless of the order of the keys in the builder items.
Steps to reproduce
The steps are in the reproduction repository readme along with the setup instructions.
Reproduction repository
https://github.com/fritz-c/filament-builder-test-bug
Relevant log output
No response

Should be fixed in the next release


[HUDI-5066] Support flink hoodie source metaclient cache

Change Logs
Flink Table Planner will invoke HoodieTableSource.copy() when applying its RelOptRule such as
PushPartitionIntoTableSourceScanRule,  such as:
        // apply push down
        DynamicTableSource dynamicTableSource = tableSourceTable.tableSource().copy();
        PartitionPushDownSpec partitionPushDownSpec =
                new PartitionPushDownSpec(remainingPartitions);
        partitionPushDownSpec.apply(dynamicTableSource, SourceAbilityContext.from(scan));

Thus it results in multiple meta client instantiation, which will affect the performance of starting job quickly.
Here we promote that meta client might be cached to reused.
Impact
Speed up flink sql job start by avoiding unnecessary meta client repeated creation.
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure


Do something better with tags

Right now tags are just stored as plain text. This makes doing things like tag intersections ("find everything tagged 'django' + 'testing'") or aggregation ("what are my most common tags?") difficult.
In Postgres I would use an array field, but I don't think sqlite supports that. This could be a tags table and a many-to-many, but that's just clunky in a different way.

You can use JSON arrays in a TEXT column and Datasette can facet by them: https://datasette.readthedocs.io/en/stable/facets.html#facet-by-json-array
Demo: https://latest.datasette.io/fixtures/facetable?_facet_array=tags#facet-tags


feat: add new quiz / update quiz in control flow section

Currently, there 3 out of 4 quiz in control flow related to if/else conditions, only one regarding loops, a bit outdated now there are for loops
Would be nice to add one or 2 more quizz to cover these new features +/- update the 4th quiz

I'm interested, can I be assigned?

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I've been a web2 developer for quite some time and have been exploring web3 for about a year now. I'm have solid experience in Solidity and have been working with Cairo over the past three months. I've participated in starkhack and attended the starkhack buildstation during the hackathon, gaining valuable experience, and I successfully built a 2D game using cairo and dojo.
How I plan on tackling this issue
First, take a look at the current quiz setup and see how everything is structured like the question flow. Once I've got a good grasp on that, connect with the maintainer to clear up any details and set a timeline. Then, work on adding or updating the quiz content based on what’s needed.

https://github.com/cairo-book/cairo-book/pull/960


[swift] specialized walk implementation, listing page size and retries configuration

This PR adds configuration of two parameters in swift storage driver: object listing page size and number of retries in case of error. Default values were not sufficient when interfacing with slow swift backend.
I also added specialized Walk implementation to decrease number of storage backend calls. It makes some of the registry functions such as repository listing much faster. It also speeds up garbage collection significantly.

@lebauce do you have a take on this? (sorry to wake you up :-))

Also cc @majewsky @mlmhl and others with an interest in Swift.

Closing. The Swift storage driver has been removed in https://github.com/distribution/distribution/pull/3982 and is no longer supported.
We might consider supporting more storage drivers in the future via some pluggable interface but there is no ETA on that.


Discover not returning players on 3.6.5

I was using soco for a long time currently on 0.16 on python 3.6.5 on gentoo Linux.
But since some days soco.discover() doesn't return anything anymore. Don't know if a Sonos or python did brake it, others having similar issues? I also tried installing socos, but there as well socos list returns nothing. Any ideas?

Seems to be a duplicate of #660, patch there solved it.


[beta][UI] update timeframe on the about page for upcoming courses

About Page
http://beta.freecodecamp.com/en/about
the page still refers to these upcoming courses as slated for September 2016.
-React
-D3
-Sass

This has been updated.


S2D_DrawCircle

It would be nice if Simple2D had native support for drawing circles, and not just Triangles.
Love2D has an implementation of this (under the zlib/libpng license); see https://bitbucket.org/rude/love/src/0a33429ed4b64d491c13ec6fcf9d167fe202d048/src/modules/graphics/opengl/Graphics.cpp?at=default&fileviewer=file-view-default
I have ported that to my own programming language - which wraps Simple2D in its standard library - to obtain the following, allowing me to draw coloured circles with a specified number of segments - from repeated calls to DrawTriangle.
Of note; it is slow to call DrawTriangle repeatedly - it may be preferable to have a DrawTriangles to avoid overheads from calling into the OpenGL driver repeatedly
PROCEDURE DrawEllipse*(xi,yi,ai,bi, points :INTEGER;
                                          c1,c2,c3 : S2D_Colour);
VAR M_PI , TWO_PI:FLOAT;
VAR angleShift, phi : FLOAT;
VAR coords : ARRAY OF FLOAT;
VAR i : INTEGER;
VAR x,y,a,b:FLOAT;
BEGIN
  M_PI   := 3.14159265358979323846;
  TWO_PI := 2.0 * M_PI;
  x := RT.ToFloat(xi); y := RT.ToFloat(yi);
  a := RT.ToFloat(ai); b := RT.ToFloat(bi);

 IF points <= 0 THEN points := 1 END;

 angleShift := TWO_PI / RT.ToFloat(points);
 phi := 0.0;

 NEW(coords,2*(points+1));

 WHILE i < points DO
    coords[2*i+0] := x + a * RT.Cos(phi);
    coords[2*i+1] := y + b * RT.Sin(phi);
    phi := phi + angleShift; i := i + 1;
 END;

 coords[2*points+0] := coords[0];
 coords[2*points+1] := coords[1];

 i := 0;
 WHILE i < points DO
    DrawTriangle(x,y,
             c1.r, c1.g, c1.b, c1.a,
             coords[2*i+0],  coords[2*i+1],
             c2.r, c2.g, c2.b, c2.a,
             coords[2*i+2],  coords[2*i+3],
             c3.r, c3.g, c3.b, c3.a);
    i := i + 1;
END;

END DrawEllipse;

PROCEDURE DrawCircle*(x,y,radius, points :INTEGER;
                  c1,c2,c3 : S2D_Colour);
BEGIN
   DrawEllipse( x, y, radius, radius, points, c1, c2, c3 );
END DrawCircle;

Absolutely, it would be great to support more primitives, and circles are a great place to start. Probably the most efficient approach is just to implement them in OpenGL directly, for example using a triangle fan (this is legacy GL, so would also need to figure out how to do that in modern GL using vertex shaders, which shouldn't be too difficult).
I'll do some research, try a few things and see what works. Also, pretty impressive you're building your own language!

I have modified my S2D install locally to have a "DrawTriangles" call for the OpenGL3 backend; this does expose the data format (arrays of sequences of 8 floats to represent a vertex) to the calling application
patch

Implemented in 7511e1551d0b028c64316d7d394a81fe68cdd515.


Fix DidYouMean deprecation warning

https://github.com/rubygems/rubygems/issues/5234#issuecomment-1002544751

This'll need bumping of 2.3.5 in the Dockerfile also, and possibly the devcontainer too.

This'll need bumping to 2.3.5 in the Dockerfile also, and possibly the devcontainer too.

@csutter I've updated the dockerfile.  The dev container doesn't seem to specify it.


Enable means of configuring response delays

As of now, the responses are all delivered "as soon as possible". It would be nice to have a possibility to configure a delay before the response is delivered.

Fixed by 212484ac3e019b70ffb4a1e13ed2869f525b4721


JWE ECDH-ES support/examples

Are the ECDH JWEs supported ?
I couldn't find any usage in the testcases, so based on https://github.com/rohe/pyjwkest/blob/master/doc/keys.rst and https://github.com/rohe/pyjwkest/blob/master/doc/encrypt.rst I tried this...
from jwkest.jwk import ECKey
from jwkest.jwe import JWE
key = ECKey(**{"kty":"EC",
               "crv":"P-256",
               "x":"MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4",
               "y":"4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM",
               "d":"870MB6gfuTJ4HtUnUvYMyJpr5eUZNP4Bk43bVdj3eAE",
               "use":"enc",
               "kid":"1"})
msg = "Testing test 1 2 3.."
jwe = JWE(msg, alg="ECDH-ES", enc="A256GCM")
encrypted_content = jwe.encrypt([key])

..but that just resulted in a NotSupportedAlgorithm..
    encrypted_content = jwe.encrypt([key])
  File "/usr/lib/python2.7/site-packages/jwkest/jwe.py", line 631, in encrypt
    raise NotSupportedAlgorithm
jwkest.jwe.NotSupportedAlgorithm

I also tried manually using the jwkest.jwe.JWE_EC class calling enc_setup() after instantiating, but that didn't work out. There's no 'enc' attribute since the class doesn't declare the args list and enc_setup seems to be expecting an ECKey arg for key (to get key.crv), but then passes it to ecdh_derive_key which expects a tuple that you'd normally get from key.get_key() and not a ECKey object.
So just wondering..  is there some sample usage elsewhere that I could reference or is it really not supported ?

ECDH has been included for a little bit now. Have you checked the latest version of the library?


Support InfluxDB 2.x as addition to 1.8

(cherry picked from commit 2527b32)
We use v2 API everywhere except for the creation of a database on 1.8 servers. The same config keys are used, but with a new "org" key for v2 servers.

Hi :) Do you plan to merge this into your develop branch ?


Need a way to handle an alert box from chrome-remote-interface

there does not appear to be any way to handle an "alert" box in chrome-remote-interface.
this needs to be added.
or am i just missing how to do it? thanks!

oops yeah was missing how to do it
Page.javascriptDialogOpening((params) => {
      Page.handleJavaScriptDialog({'accept': true});
    });


doublecmd 0.6.6

Thank you for the contribution. It was merged directly as e029175a8eebdf8dd0c249e583e13f4e1b8b08ef to keep commit history cleaner. Your contribution is still credited to you.


modify workflow API scraping script to save output to Turtle

hi @hmenager - thanks for adding the ttl output 😃
I'm happy for this to be merged

@hmenager - ready to merge?


propagate input track updates

WIP, tested for CUDA v4 for now

@kakwok is this ready to be merged? @makortel do you want or need to review it?


window resize not work

Environment Info
kivy: 1.10.1.dev0
pygments: 2.2.0
docutils: 0.13.1
watchdog: 0.8.3
jedi: 0.10.2
gitpython: 2.1.3
six: 1.10.0
kivy-garden: 0.1.4
Platform: Darwin-16.6.0-x86_64-i386-64bit
Python: 3.6.1
Traceback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/core/window/window_pygame.py", line 403, in mainloop
self._mainloop()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/core/window/window_pygame.py", line 289, in _mainloop
EventLoop.idle()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/base.py", line 348, in idle
Clock.tick_draw()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/clock.py", line 588, in tick_draw
self._process_events_before_frame()
File "kivy/_clock.pyx", line 405, in kivy._clock.CyClockBase._process_events_before_frame (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/_clock.c:8381)
File "kivy/_clock.pyx", line 445, in kivy._clock.CyClockBase._process_events_before_frame (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/_clock.c:8255)
File "kivy/_clock.pyx", line 443, in kivy._clock.CyClockBase._process_events_before_frame (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/_clock.c:8176)
File "kivy/_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/_clock.c:3490)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/uix/boxlayout.py", line 309, in do_layout
c.size = (w, h)
File "kivy/properties.pyx", line 478, in kivy.properties.Property.set (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/properties.c:5572)
File "kivy/properties.pyx", line 1342, in kivy.properties.ReferenceListProperty.set (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/properties.c:21169)
File "kivy/properties.pyx", line 494, in kivy.properties.Property.set (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/properties.c:6520)
File "kivy/properties.pyx", line 516, in kivy.properties.Property.set (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/properties.c:6405)
File "kivy/properties.pyx", line 571, in kivy.properties.Property.dispatch (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/properties.c:7105)
File "kivy/_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/_event.c:14035)
File "kivy/_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (/private/var/folders/g2/2f_8s3311td99dwd0bxl_xz80000gn/T/pip-q_hoi6ps-build/kivy/_event.c:13193)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/uix/actionbar.py", line 644, in on_width
self._layout_group()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/uix/actionbar.py", line 538, in _layout_group
self._clear_all()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/uix/actionbar.py", line 501, in _clear_all
self.clear_widgets()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/uix/widget.py", line 605, in clear_widgets
remove_widget(child)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kivy/uix/actionbar.py", line 494, in remove_widget
self._list_action_items.remove(item)
ValueError: list.remove(x): x not in list
End of Traceback

@mohendra Can you specify what you mean by window resize(designer or project window).

It appears to be triggered when one of the menu items is hidden and replaced by the vertical ellipsis. A short time after the redraw event will end in the exception shown above.

It appears to be a problem with the use of the kivy actionbar. In _layout_random, when the width contracts, the "Help" item is added to hidden_groups which is in turn added to hidden_items. All hidden items are then added to the overflow_group (so the Help menu item is no longer displayed unless the ellipsis is clicked). Unfortunately this means that the action_bar.remove_widget later fails because it tries to remove the group from the action items list even though it's not contained in it.
I'm not entirely sure what the correction should be but I verified the problem with the following change (which allows the designer app to handle resizes without the same crash happening)
diff --git a/kivy/uix/actionbar.py b/kivy/uix/actionbar.py
index 5e4f400..c8161d7 100644
--- a/kivy/uix/actionbar.py
+++ b/kivy/uix/actionbar.py
@@ -491,7 +491,8 @@ class ActionView(BoxLayout):
         super(ActionView, self).remove_widget(widget)
         if isinstance(widget, ActionOverflow):
             for item in widget.list_action_item:
-                self._list_action_items.remove(item)
+                if item in self._list_action_items:
+                    self._list_action_items.remove(item)

         if widget in self._list_action_items:
             self._list_action_items.remove(widget)

Reported issue on kivy repo
https://github.com/kivy/kivy/issues/5333

@mohendra : this was just fixed in kivy. It should be enough to stop the crash


sfdx force:* hangs when there's an error (no exit code returned)

Summary
When there's an error in any of the force:* commands, process hangs forever without returning an exit code.
Steps To Reproduce:

Run any force:* command forcing an error (E.g. sfdx force:org:list wrongparam or sfdx force:org:list --json wrongparam).

Expected result
Process exits returning a (negative) exit code.
Actual result
Process hangs forever, doesn't return an exit code.
Additional information
sfdx force:org:list wrongparam

sfdx force:org:list --json wrongparam

SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.18.0-ee5dc8194c win32-x64 node-v10.15.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core):
@oclif/plugin-commands 1.2.2 (core)
@oclif/plugin-help 2.2.0 (core)
@oclif/plugin-not-found 1.2.2 (core)
@oclif/plugin-plugins 1.7.8 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.5 (core)
analytics 1.2.0 (core)
generator 1.1.0 (core)
salesforcedx 46.8.0 (core)
├─ force-language-services 46.12.0 (core)
└─ salesforce-alm 46.11.0 (core)

sfdx-cli 7.18.0 (core)

OS and version: Windows 10

Also, did you try in a stock windows command.exe instance? Could it be related to Cmder?

Sorry for the super delayed response.  I think one of the later versions fixed this for me as I'm no longer having the issue.  Thanks!

Hello. It did for me as well, thank you.
I'm closing this issue now.


Remove inlinable from init() to support library evolution on linux

Motivation:
I'm currently working on a swift package project which depends on the swift-crypto library. The package is distributed to other teams and built on multiple platforms (macos + linux). Most importantly, the package is required to enable swift library evolution.
However, after the library evolution is enabled, the linux build failed with following error:
error: emit-module command failed with exit code 1 (use -v to see invocation)
/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/Ed25519_boring.swift:90:27: error: 'self' used before 'self.init' call or assignment to 'self'
 88 |         @inlinable
 89 |         init<D: ContiguousBytes>(rawRepresentation: D) throws {
 90 |             self.keyBytes = try rawRepresentation.withUnsafeBytes { keyBytesPtr in
    |                           `- error: 'self' used before 'self.init' call or assignment to 'self'
 91 |                 guard keyBytesPtr.count == 32 else {
 92 |                     throw CryptoKitError.incorrectKeySize

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/Ed25519_boring.swift:96:9: error: 'self.init' isn't called on all paths before returning from initializer
 94 |                 return Array(keyBytesPtr)
 95 |             }
 96 |         }
    |         `- error: 'self.init' isn't called on all paths before returning from initializer
 97 |
 98 |         init(_ keyBytes: [UInt8]) {

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/NISTCurvesKeys_boring.swift:109:18: error: 'self' used before 'self.init' call or assignment to 'self'
107 |     @inlinable
108 |     init(wrapping key: BoringSSLECPublicKeyWrapper<Curve>) {
109 |         self.key = key
    |                  `- error: 'self' used before 'self.init' call or assignment to 'self'
110 |     }
111 |

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/NISTCurvesKeys_boring.swift:110:5: error: 'self.init' isn't called on all paths before returning from initializer
108 |     init(wrapping key: BoringSSLECPublicKeyWrapper<Curve>) {
109 |         self.key = key
110 |     }
    |     `- error: 'self.init' isn't called on all paths before returning from initializer
111 |
112 |     @inlinable

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/X25519Keys_boring.swift:32:27: error: 'self' used before 'self.init' call or assignment to 'self'
 30 |         @inlinable
 31 |         init<D: ContiguousBytes>(rawRepresentation: D) throws {
 32 |             self.keyBytes = try rawRepresentation.withUnsafeBytes { dataPtr in
    |                           `- error: 'self' used before 'self.init' call or assignment to 'self'
 33 |                 guard dataPtr.count == Curve25519.KeyAgreement.keySizeBytes else {
 34 |                     throw CryptoKitError.incorrectKeySize

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/X25519Keys_boring.swift:39:9: error: 'self.init' isn't called on all paths before returning from initializer
 37 |                 return Array(dataPtr)
 38 |             }
 39 |         }
    |         `- error: 'self.init' isn't called on all paths before returning from initializer
 40 |
 41 |         @usableFromInline
/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/NISTCurvesKeys_boring.swift:109:18: error: 'self' used before 'self.init' call or assignment to 'self'
107 |     @inlinable
108 |     init(wrapping key: BoringSSLECPublicKeyWrapper<Curve>) {
109 |         self.key = key
    |                  `- error: 'self' used before 'self.init' call or assignment to 'self'
110 |     }
111 |

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/NISTCurvesKeys_boring.swift:110:5: error: 'self.init' isn't called on all paths before returning from initializer
108 |     init(wrapping key: BoringSSLECPublicKeyWrapper<Curve>) {
109 |         self.key = key
110 |     }
    |     `- error: 'self.init' isn't called on all paths before returning from initializer
111 |
112 |     @inlinable

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/X25519Keys_boring.swift:32:27: error: 'self' used before 'self.init' call or assignment to 'self'
 30 |         @inlinable
 31 |         init<D: ContiguousBytes>(rawRepresentation: D) throws {
 32 |             self.keyBytes = try rawRepresentation.withUnsafeBytes { dataPtr in
    |                           `- error: 'self' used before 'self.init' call or assignment to 'self'
 33 |                 guard dataPtr.count == Curve25519.KeyAgreement.keySizeBytes else {
 34 |                     throw CryptoKitError.incorrectKeySize

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/X25519Keys_boring.swift:39:9: error: 'self.init' isn't called on all paths before returning from initializer
 37 |                 return Array(dataPtr)
 38 |             }
 39 |         }
    |         `- error: 'self.init' isn't called on all paths before returning from initializer
 40 |
 41 |         @usableFromInline

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/Ed25519_boring.swift:90:27: error: 'self' used before 'self.init' call or assignment to 'self'
 88 |         @inlinable
 89 |         init<D: ContiguousBytes>(rawRepresentation: D) throws {
 90 |             self.keyBytes = try rawRepresentation.withUnsafeBytes { keyBytesPtr in
    |                           `- error: 'self' used before 'self.init' call or assignment to 'self'
 91 |                 guard keyBytesPtr.count == 32 else {
 92 |                     throw CryptoKitError.incorrectKeySize

/tmp/MyLibrary/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/Ed25519_boring.swift:96:9: error: 'self.init' isn't called on all paths before returning from initializer
 94 |                 return Array(keyBytesPtr)
 95 |             }
 96 |         }
    |         `- error: 'self.init' isn't called on all paths before returning from initializer
 97 |
 98 |         init(_ keyBytes: [UInt8]) {

The above error can be easily reproduced by:

Create a new swift package project on a Linux OS.
Add swift-crypto to the target dependency
Import Crypto somewhere in the source code
Run this command to build with library evolution: swift build -c release -Xswiftc -emit-module-interface -Xswiftc -enable-library-evolution

Modifications:
After some investigation on this error, I found a useful github issue that may be relevant: https://github.com/swiftlang/swift/issues/62507
As shown in the issue discussion:

it is not safe to have an inlinable public initializer that initializes storage directly in a non-@frozen struct

Therefore, I just remove "inlinable" from init() of three structs.
Result:
After the modification, it successfully builds on Linux. (At least fix my problem :)
But feel free to give more suggestions on how to support library evolution in the long term instead of just removing these 'inlinable'. Somehow I feel like it's not elegant enough.

Thanks for this ticket!
I'm a little bit surprised to hear you're compiling with library evolution mode on Linux. Swift's ABI is not stable on Linux, and so there is no promise that library evolution mode does anything at all. Can you elaborate a bit on what you're trying to achieve?

Thanks for this ticket!
I'm a little bit surprised to hear you're compiling with library evolution mode on Linux. Swift's ABI is not stable on Linux, and so there is no promise that library evolution mode does anything at all. Can you elaborate a bit on what you're trying to achieve?

Sorry for the delay :)
Here's the brief description of what we're trying to achieve. Out team is responsible for building the infrastructure and platform for company internal use. We're distributing Swift SDKs for plugin development to different teams across the company. Later, we load those plugins (dylibs) to integrate with our platform. One basic requirement is to enable library evolution to ensure backward compatibility and avoid breaking all plugins.
It all works fine under macOS environment. However, we have to also make it work under Linux environment for the following reasons:

We have limited number of macOS CI machines. It's usually easier to implement CI pipelines on Linux VMs. Also, it is not possible for our team to request more macOS machines to merely support library evolution.
We have also built a web service to run those plugins. For the most of the time, web services run under Linux environment and we're not able to migrate our web service to macOS environment to merely support library evolution.

As you said, "Swift's ABI is not stable on Linux, and so there is no promise that library evolution mode does anything at all". It is true and we have already noticed that every time a new version of our SDK is released, it might break some plugins under Linux environment but not under macOS environment. Currently, our team is also trying to figure out other solutions including disabling library evolution under Linux environment.
Anyway, our current workaround to use swift-crypto under Linux environment with library evolution enabled is to take advantage of dependency injection to set the crypto instance at the application level and provide only the protocol in the SDK. It works fine at least for now.
Feel free to give any more suggestions :)

Thanks for explaining your use-case, it helps with my understanding.
Within a single compiler version, you should be able to do what you want without library evolution mode at all. Given that library evolution mode is not typically supported across the wider Package ecosystem, you may find that the best strategy available to you is to disregard library evolution mode entirely. You can still use dynamic linking, you just have to make sure the compiler and runtime versions all line up.


Fix for #3112

Have made the changes required to resolve issue #3112 . Have also (in addition to what was mentioned in the issue itself) removed an assert that I believe is no longer valid due to the changes. Commit comments provide more details about exact nature of changes. Am happy with any further modifications to this code, I'd just like this functionality fixed in the next version of OL3 so that I don't have to maintain a separate patch file.
Issue fix itself and the removal of the assert are in two separate commits for convenience.

Thanks for creating this pull request! Unfortunately the Travis CI build failed - you have to removed a now unused goog.require:
src/ol/source/imagesource.js:4: unused goog.require: 'goog.asserts'

Apologies, didn't see that when I ran check. Helps to read the output properly!

I think this deserves a bit of discussion.  It sounds like you're trying to create a layer with an image that has a different projection than your map view (and the other map layers).  In your case, it looks like you've got an image that simply needs to be scaled differently in the x dimension than in the y dimension.  More generally, you might have an image that needs to be rotated or skewed.
I'm not sure it makes sense to change the ol.Image constructor (to accept x and y resolution) for just this specific case.  What do others think?

I think there must be a more straightforward way to fix this. Looking at the involved code, I saw that the imageSize option of the ol.source.ImageStatic is not used for anything except for calculating the resolution. I tend to think that this option is not needed at all.
I also think that the current behaviour, where a static image exceeds the specified extent when the aspect ratio is not the same, is erroneous. Users would expect the image to be stretched to fit the extent.
I haven't looked into potential alternative fixes, but this pull request appears to be problematic for the reasons that @tschaub pointed out in his review.

Thanks for the feedback @tschaub and @ahocevar. @ahocevar's latest comment is correct with regards to the behaviour I'm trying to achieve; I just appear to have gone about it the wrong way. I want my image to be 'stretched' to fit a specific extent. I was able to achieve this in OpenLayers v2 with no difficulty.
Would a good compromise here be to provide an additional option to the Image layer to specify whether or not the image's aspect ratio should be maintained? E.g. an 'ignoreAspectRatio' boolean or similar?

Closing this due to lack of activity.  #3112 remains open.  If this gets picked up again, the comments here can serve as a starting point.


Add location source to metadata

This PR adds the source of the gateway (and device) location to the protobuf and MQTT messages
⚠ API change (cc: @romeovs @rvolosatovs @dotpy3) in gateway protobuf (binary compatible):

gps was renamed to location and GpsMetadata was renamed to LocationMetadata
source was added to LocationMetadata

⚠ API change in MQTT json:

location_source was added to LocationMetadata

TODO:

Insert location source in packet forwarder - @dotpy3
Insert location source in bridge - @htdvisser
Process location source in NOC - @rvolosatovs
Process location source in Console - @romeovs
Process location source in TTNMapper - @jpmeijers

Coverage increased (+0.006%) to 75.037% when pulling 6666a4ebe78e2c0b0cad1451351e4a9274c9a85f on feature/location-source into 77f98c0c3f26c0f942ae650b6ecc9a68fabec5cb on develop.

Coverage increased (+0.006%) to 75.037% when pulling 5aa27ed7594c0dcfad2e5426e9bcb996fb640be6 on feature/location-source into 77f98c0c3f26c0f942ae650b6ecc9a68fabec5cb on develop.

Coverage increased (+0.006%) to 75.037% when pulling 49d6f0d7961d09167750521158fdcc763ba7bb29 on feature/location-source into 77f98c0c3f26c0f942ae650b6ecc9a68fabec5cb on develop.

Coverage increased (+0.006%) to 75.037% when pulling 323d5e0b17024c591fcc456b01ede08beb47a803 on feature/location-source into 9224f9d406ed0085c40ef61c9d56fa53de6971fd on develop.

@jpmeijers @johanstokking @dotpy3 approved?

Coverage increased (+0.009%) to 75.04% when pulling c8498aed31506dfe8b4acbca4628c4d132181af1 on feature/location-source into 9c5dbeb3b29f94fdb89fbd645fbcf2bdbc4d90ab on develop.


Write CQ stats to _internal

Make the CQ service write stats to _internal. This will provide users visibility into CQ activity and aid in troubleshooting.

Number of CQs executed
Number of CQ errors
CQ durations
Maybe node(s) that CQ was distributed to?

@dgnorton, what are your thoughts regarding extending the monitor service to provide a new API for consumers to push points in addition to the current pull model. The justification for this approach is the monitor pulls aggregated statistics at a set interval (10s by default) however a service like CQs may execute queries very infrequently, resulting in many identical points until the next CQ is run. We are also forced to aggregate individual metrics and accumulate a large number of statistics in the CQ service for each CQ. By writing individual points each time a CQ is run, we can write the value immediately in addition to having accurate, point-in-time data to correlate slow queries with other system events, such as compactions, high CPU load, etc and to be able to analyze trends for individual CQs.

Maybe node(s) that CQ was distributed to?

That information is internalized by the query and statement executors when sources are mapped to shards. We could add a new API to the executor to list the shards that will be queried for a given

@stuartcarnie This is probably a dumb question but instead of a separate API, could it use the /write endpoint?
Re adding an API to the executor, there have been discussions about adding an EXPLAIN feature or ways of retrieving info from the query engine about how a query will be executed.

@dgnorton it may be possible to use /write but we would incur additional overhead going through auth, point parsing, etc. We would also add a number of dependencies inside the CQ service as to which DB is used for statistics, which port to write to, credentials to use (if auth is enabled). A direct API on Monitor would be relatively easy to implement and abstracts the details of how / where to write this data. Conceivably, we could extend the monitor to send to a separate influxd instance, etc.
Sounds like we could expand the stats when the EXPLAIN feature is added.

Fixed by #8471

Although #8188 is mentioned to be part of v1.3.0 (see https://github.com/influxdata/influxdb/blob/master/CHANGELOG.md) , it looks like this is going to be released on v1.4.0. It wasn't merged to 1.3.0. The changelog on master seems to be outdated.


[hi] Localize /en/docs/reference/glossary/kubectl.md

Fixes: #37516

Fixes: #35600

Hello @sachinparihar , please address the feedback provided & resolve the merge conflict so that we can ready this for merge.

@divya-mohan0209 please help me!

/remove-lifecycle stale

@sachinparihar:

Sign the LF CLA before you submit a PR to the kubernetes/website repo. Make sure you have added the email ID & username that you've used for signing to your local/global variables.
If it is simpler, please consider closing this PR & reopening a new PR addressing the changes.

new pr #40438


autoclear after a few days or weeks in option page

Thanks to Tim. This might be a good option for users.

I would like to see it autoclear at the end of every session, assuming the end-of-session was not caused by the browser crashing.

@Gitoffthelawn I have opened #21 for it though I don't know is API okay to implement that feature.
Thank you. :)

Thank you!

By the proposed, "autoclear after a few days or weeks in option page," do you mean autoclear (only) entries older than n days?
Another suggestion:  as of v2.3 there's still no way to select multiple entries at once in the drop list to delete them.
AFAIK, only one entry can be selected - to show in TACL's display, before you can delete it.
That's fine for 1 or 2 entries.  Very tedious for 10+, deleting one at a time.  That's assuming user doesn't want to "delete all cache."
I'm not sure how hard it'd be to add the option to select a continuous block of entries (e.g., Shift + click), or to select several non-adjacent entries (e.g., Ctrl + click - random entries), then delete selected items at once.
An "autoclear entries that are n days old" would take care of some, but not all of my suggestion.
I can see users wanting to delete multiple, specific entries - before they reach a specified "auto-clear after n days."  Say, for medical or legal correspondence.
HTH.

@bendover22, I have added a new issue #45, and add your comment there.
Thanks for your suggestions!

The checker function will be called,
but it will early return when that "auto clear old cache" is not checked.
the code of related checker is at here:
https://github.com/wildskyf/TextareaCache/blob/master/ta_bg.js#L220-L247

Thanks for the link to that section of the code. :+1:
Would it be possible to not call the checker at all in that case?

Yes, it's possible, I could add/remove listener as long as user toggle the auto-clear option.
But this might cause code more complicating.
I think an early-returned function might not cause expensive performance issue too much, so I prefer observe for a while. If there does be any performance issue, I might consider to change the current state of code.
and, Pull Request Welcome. ;P

Currently, the auto-clear feature is implemented, so this issue could be close.


script converting model from caffe to caffe2

I want to convert the net which consists of several convolutional layers from caffe to caffe2.
Followed the tutorial, I got some error messages like the below:
Traceback (most recent call last):
28   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
29     "main", fname, loader, pkg_name)
30   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
31     exec code in run_globals
32   File "/home/jimmyoic/caffe2/caffe2/python/caffe_translator.py", line 612, in
33     init_net = ConvertTensorProtosToInitNet(pretrained_params, external_input)
34   File "/home/jimmyoic/caffe2/caffe2/python/caffe_translator.py", line 150, in ConvertTensorProtosToInitNet
35     utils.MakeArgument("values", tensor.float_data)])
36   File "/home/jimmyoic/caffe2/caffe2/python/utils.py", line 101, in MakeArgument
37     (key, str(value), str(type(value)))
ValueError: Unknown argument type: key=values value=[.............
with many floating numbers, which seems like the weight of my pre-trained model.
In the tutorial, it didn't mention anything we should be careful about.
The thing I have noticed is that this cannot be done with some layers which are not registered in the code (Silence, Slice ... e.t.c).
Any idea to solve the problem?
Thanks!

I met the same error, any solutions?

You need to update the protobuf version by using this command:
sudo pip install --upgrade protobuf
After upgrading, re-make caffe2 and the issue will be solved.


Ensure that the compile_rate by default aggregates to the value 0

Description
Ensure that the value of the compile_rate metric aggregates to zero instead of None when no compiles were done for that time interval.
closes #5452
Self Check:

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation

Processing this pull request

Merged into branches iso6, master in 95ac52b0204276c214404c87b0acb24ffec7ec1d


Upgrade k8s version to 1.24 and also upgrade kind, chart releaser and helm

Motivation

Use k8s 1.24 as baseline

Modifications

kubectl 1.24.15
chart releaser 1.6.0
helm 3.12.0
kind 0.20.0

Verifying this change

[ ] Make sure that the change passes the CI checks.

related to #361


these fixes are needed  for the hangar model to work

These allow the hangar model to work. the one in butt_joint was a variable I forgot to change.
the changes in the L-butt joint should not pose any problem. the functions that I moved to outside the try should not fail.
What type of change is this?

[x] Bug fix in a backwards-compatible manner.
[ ] New feature in a backwards-compatible manner.
[ ] Breaking change: bug fix or new feature that involve incompatible API changes.
[ ] Other (e.g. doc update, configuration, etc)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I added a line to the CHANGELOG.md file in the Unreleased section under the most fitting heading (e.g. Added, Changed, Removed).
[ ] I ran all tests on my computer and it's all green (i.e. invoke test).
[ ] I ran lint on my computer and there are no errors (i.e. invoke lint).
[ ] I added new functions/classes and made them available on a second-level import, e.g. compas_timber.datastructures.Beam.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation (if appropriate)

@obucklin what about this one? all in all it looked fine to me. Is that something we want to still merge? I was just wondering about moving these two lines out of the try..except this is normally necessary for the debug information feature to work.


Add peek pop minimum

The only thing that remained is that the getFirstNode method doesn't let go of nodes properly. Which prevents them from being cleared of the tree and produces memory leak.
I couldn't find the source, take a look, maybe you can fix it simply.
Edit: This was fixed. Now the branch is fully functional!

Thank you for the patch.
I would like to make the core as simple as possible for maintenancebility.
I think at least peekMinimum can more simply be implemented using IndexQuery.
Let me think and explore about it in my spare time.


[All Hosts] (dialog) remove support for booleans in messageParent

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

File
Status
Preview URL
Details

docs/develop/auth-with-office-dialog-api.md
:white_check_mark:Succeeded
View

docs/develop/dialog-api-in-office-add-ins.md
:white_check_mark:Succeeded
View

docs/tutorials/excel-tutorial.md
:white_check_mark:Succeeded
View

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


Scan prefixes every "touching" output with "Running tests: "

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Steps:
Run scan on a project
Expected:
"Touch" outputs match the rest of the output
Actual:
Every time scan outputs a "touch" command to the log, it prefixes the string "Running Tests:"

Note:
xcpretty does not include the string "Running Tests:" anywhere in its source. Fastlane does in three places, and in all places it's explicitly checking for the string "Touching". This is the one that seems related to scan:
https://github.com/fastlane/fastlane/blob/74ffd23a7ea1221b2a98df619d6ef0c9645a0abd/scan/lib/scan/runner.rb#L70-L77
I don't totally understand this code but it looks intentional as far as I can tell, so maybe you know what's going on.
Command executed
    scan(
      workspace: "Vida.xcworkspace",
      scheme: "AllTests",
      devices: ["iPhone 12"],
      xcpretty_formatter: "./fastlane/xcpretty_formatter.rb",
      skip_package_dependencies_resolution: true
    )

Complete output when running fastlane, including the stack trace and command used

 [REPLACE THIS WITH YOUR INFORMATION]

Environment

 ✅ fastlane environment ✅
Stack

Key
Value

OS
12.3

Ruby
2.6.8

Bundler?
true

Git
git version 2.30.1 (Apple Git-130)

Installation Source
~/source/via_ios/vendor/bundle/ruby/2.6.0/bin/fastlane

Host
macOS 12.3 (21E5196i)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode13.1.app/Contents/Developer/

Xcode Version
13.1

Swift Version
5.5.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile` (relevant parts)
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.104.0"

default_platform :ios

platform :ios do

  desc "Runs all the unit tests"
  lane :test do
    scan(
      workspace: "Vida.xcworkspace",
      scheme: "AllTests",
      devices: ["iPhone 12"],
      xcpretty_formatter: "./fastlane/xcpretty_formatter.rb",
      skip_package_dependencies_resolution: true
    )
  end

end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.vida.vida" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "59VUAD6Y56"  # Developer Portal Team ID

for_lane :deploy_design_system_app do
  app_identifier "com.vida.designsystem"
end

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.204.3
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-firebase_app_distribution
0.3.2
✅ Up-To-Date

fastlane-plugin-browserstack
0.3.2
✅ Up-To-Date

fastlane-plugin-google_cloud_storage
0.1.1
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.3.0

bundler
2.2.4

rake
13.0.6

rexml
3.2.5

CFPropertyList
3.0.5

concurrent-ruby
1.1.9

i18n
1.10.0

minitest
5.15.0

tzinfo
2.0.4

zeitwerk
2.5.4

activesupport
<IP_ADDRESS>

public_suffix
4.0.6

addressable
2.8.0

httpclient
2.8.3

json
2.6.1

algoliasearch
1.27.5

artifactory
3.0.15

atomos
0.1.3

aws-eventstream
1.2.0

aws-partitions
1.558.0

aws-sigv4
1.4.0

jmespath
1.6.0

aws-sdk-core
3.127.0

aws-sdk-kms
1.55.0

aws-sdk-s3
1.113.0

babosa
1.0.4

claide
1.1.0

fuzzy_match
2.0.4

nap
1.1.0

netrc
0.11.0

ffi
1.15.5

ethon
0.15.0

typhoeus
1.4.0

cocoapods-core
1.11.2

cocoapods-deintegrate
1.0.5

cocoapods-downloader
1.5.1

cocoapods-plugins
1.0.0

cocoapods-search
1.0.1

cocoapods-trunk
1.6.0

cocoapods-try
1.2.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.3.1

gh_inspector
1.1.3

molinillo
0.8.0

ruby-macho
2.5.1

nanaimo
0.3.0

xcodeproj
1.21.0

cocoapods
1.11.2

colored
1.2

highline
2.0.3

commander
4.6.0

declarative
0.0.20

digest-crc
0.6.4

unf_ext
0.0.8

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.6

emoji_regex
3.2.3

excon
0.91.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

multipart-post
2.0.0

faraday-multipart
1.0.3

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.10.0

http-cookie
1.0.4

faraday-cookie_jar
0.0.7

faraday_middleware
1.2.0

fastimage
2.2.6

jwt
2.3.0

memoist
0.16.2

multi_json
1.15.0

os
1.1.4

signet
0.16.1

googleauth
1.1.2

mini_mime
1.1.2

trailblazer-option
0.1.2

uber
0.1.0

representable
3.1.1

retriable
3.1.2

webrick
1.7.0

google-apis-core
0.4.2

google-apis-androidpublisher_v3
0.16.0

google-apis-playcustomapp_v1
0.7.0

google-apis-iamcredentials_v1
0.10.0

google-apis-storage_v1
0.11.0

google-cloud-env
1.5.0

google-cloud-errors
1.2.0

google-cloud-core
1.6.0

google-cloud-storage
1.36.1

mini_magick
4.11.0

naturally
2.2.1

optparse
0.1.1

plist
3.6.0

rubyzip
2.3.2

security
0.1.3

simctl
1.6.8

terminal-notifier
2.0.0

unicode-display_width
1.8.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

http-accept
1.7.0

mime-types-data
3.2022.0105

mime-types
3.4.1

rest-client
2.1.0

fastlane-plugin-browserstack
0.3.2

fastlane-plugin-firebase_app_distribution
0.3.2

fastlane-plugin-google_cloud_storage
0.1.1

generated on: 2022-02-24

Not sure I understand. Are you saying that these lines coincidentally represent the beginning of a block?

Everything works fine on the first pass as com.myapp.dev is processed. When the 2nd scheme is run, it errors after Gym completes. Export fails and the pipeline stops.


Documentation shift and minor changes

This PR will add more tags for encoding.

Encoding also works on windows so we can close windows use too with this!

@johnnychen94 can you please update the new docs link to https://juliaimages.org/ExifViewer.jl/dev/ ?

@ashwani-rathee just gave you the admin permission.

Got it!! tenks. How do I release a new version?

There's already a v0.1.0 release https://github.com/JuliaRegistries/General/blob/master/E/ExifViewer/Versions.toml so you'll have to bump the version first in Project.toml and then do the regular registration as you did in https://github.com/JuliaImages/ExifViewer.jl/issues/9


Error when running copy_task.py

I executed copy task as following the cmd line in README.
python copy_task.py -cuda 0 -optim rmsprop -batch_size 32 -mem_slot 64
Having NameError at line 366, name 'input_size' is not defined.
I can change the input_size to args.input_size, but I think there are additional problems other than that.
Function generate_data at requires 3 arguments, but only 2 are given.
Is generate_data in line 366 a different function defined in line 78?
https://github.com/ixaxaar/pytorch-dnc/blob/016b541223bf801f3f3a617fa3942cc12ef71be9/tasks/copy_task.py#L78
https://github.com/ixaxaar/pytorch-dnc/blob/016b541223bf801f3f3a617fa3942cc12ef71be9/tasks/copy_task.py#L366
Thank you,

Thanks for the report, refer to #47


Bump dependencies to Symfony 5.2.8

Tests are broken because the setup of PHP fails on the Mac OS X job with the following error:
dyld: Library not loaded: /usr/local/opt/openldap/lib/libldap-2.5.0.dylib

Thank you Jan.


Identify Site IA & Page Template Types

Super basic breakdown of

IA: pages n content for launch
List of Page template "types"

marking this done, doc here: https://docs.google.com/drawings/d/1XGVMvl-Nc41MafckiK7g_8fiZCq5GK0dvgLuAeZHuo0/edit


Write a Swift program to find factorial of a number

Description
Write a Swift program to find factorial of a number
Factorial of N = N (N-1) (N-2) ... 1
Input  : 5
Output : 120

How to contribute

Save the solution in program/FindFactorialOfANumber.swift file
Add FindFactorialOfANumber.swift file in find-factorial-of-a-number folder

!assign


Bug in demo

I have downloaded everything but when I try the demo I get the same bounding box but the wrong labels:

I set category_space=None and that was the problem, doesn't the trained model work without creating the file for category_space?

i download the files below and run the demo command without anything change，i get the output like the second picture，it seems normal

That means you have used category_space="demo/ycb_prototypes.pth". So you have overwritten the model classes. If you leave category_space=None, the labels look random, shouldn't they be COCO or LVIS classes?

That means you have used category_space="demo/ycb_prototypes.pth". So you have overwritten the model classes. If you leave category_space=None, the labels look random, shouldn't they be COCO or LVIS classes?

Hi @isaacperez , the labels seem to be from LVIS if you set category space as none. LVIS has lots of long-tailed classes.

Hi, in that case the model file does not contain the correct prototypes/classes (see the image at the beginning of the issue) because, for example, it is labeling a pringles can as a control.

Do you think that is possible with LVIS prototypes?

Do you think that is possible with LVIS prototypes?

Yes. Actually this demo is a highly challenging scenario, more difficult than COCO or LVIS I would say because of occlusion, very crowded scene, retailed categories (retail objects recognition is in itself hard) and etc.
So ideally when using LVIS prototypes, it shall not produce as many boxes, I haven't tried this either but turns out it does. This is our limitation for sure. This could very likely motivates future work on how to preventing false positive in open-set detection, how to handle retail categories and etc.


[nstool] Add NCA support.

nstool does not have NCA support implemented.

Fixed in https://github.com/jakcron/NXTools/commit/578e3ac54d39c3bc023bafcc52129b89673896e1


"new" capys -keepsake

Hi
for some reason github not allowing me to add photos  but the following happining to show you
capys not adding to wallet accessorys not adding either
keepsake saying balance is not enough for purchases

Duplicate of #8953


BGPFilter: Add prefixLength to BGPFilter to match on min/max prefix length

Description

Add prefixLength to BGPFilter struct for more granular matching
Allows for advertisement of more or less specific addresses from a calico prefix without needing to accept or reject all
Tested locally in kind as well as unit tests

Related issues/PRs
fixes https://github.com/projectcalico/calico/issues/8376
documents https://github.com/tigera/docs/pull/1592
Todos

[X] Tests
[X] Documentation
[X] Release note

Release Note
BGPFilter: Add prefix length matching

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

Just following up to see if there are any additional changes to make here? Thanks a lot.

/sem-approve

Removing "merge-when-ready" label due to new commits

squashed based on the label applied, looks like that might have been the wrong move

@mstansberry whoops! Sorry, that label is for the bot

/sem-approve

Just allows me to run CI, apply the label, and the bot will merge once it passes


[Feature Request] Timeline Component

Existing Component
否
Component Name
Timeline
Description
a timeline component would be a good idea, e.g. the timeline used in Element Changelog

We have no plan to add this.


Returning Archived struct instance with lifetime tied to Vec

I want to return the result of archived_root outside. However, since archived_root receives &[], it doesn't seem to have a sufficient lifetime to be returned outside.
If bytes is in Vec, can I create an Archived with the same lifetime as that Vec and return it outside?

Is it right approach?
struct HeapArchive<T> {
    buffer: Vec<u8>,
    _phantom: std::marker::PhantomData<T>,
}

impl<T> HeapArchive<T> {
    fn new(buffer: Vec<u8>) -> Self {
        Self {
            buffer,
            _phantom: std::marker::PhantomData,
        }
    }
    fn deserialize(&self) -> T
    where
        T: rkyv::Archive,
        T::Archived: Deserialize<T, SharedDeserializeMap>,
    {
        unsafe { rkyv::from_bytes_unchecked(&self.buffer).unwrap() }
    }
}

impl<T: rkyv::Archive> Deref for HeapArchive<T> {
    type Target = Archived<T>;

    fn deref(&self) -> &Self::Target {
        unsafe { rkyv::archived_root::<T>(&self.buffer) }
    }
}

I think that works. Although rkyv won't provide an owned archive itself, one is available in the utils repo.


Check page is cached before load

Is there a way to check whether a page has been prefetched or is within the cache?

Hello @ChrisButterworth ,
you can inspect the object Barba.Pjax.Cache.data to check if a page has been cached/resolved.
You can also manipulate the object so to modify/add/remove cache elements.


Training on Celeba-hq

Thanks for your work.
I do training on celeba-hq dataset, and after 110k steps, I find that the images seem to have color problem, is there something wrong i need to do with datasets?

follows are my settings
from denoising_diffusion_pytorch import Unet, GaussianDiffusion, Trainer
model = Unet(
dim = 64,
dim_mults = (1, 2, 4, 8)
).cuda()
diffusion = GaussianDiffusion(
model,
image_size = 256,
timesteps = 1000,           # number of steps
sampling_timesteps = 250,   # number of sampling timesteps (using ddim for faster inference [see citation for ddim paper])
loss_type = 'l1'            # L1 or L2
).cuda()
trainer = Trainer(
diffusion,
'/mnt/shared/deepfake/CelebA-HQ/train',
train_batch_size = 32,
train_lr = 2e-5,
train_num_steps = 7000000,         # total training steps
gradient_accumulate_every = 2,    # gradient accumulation steps
ema_decay = 0.995,                # exponential moving average decay
amp = False,                       # turn on mixed precision
calculate_fid = True              # whether to calculate fid during training
)

you can try 'amp = True'

you can try 'amp = True'

thanks but i tried and found that the images turns out total green

I am also currently trying to get some reasonable results for the FFHQ dataset, and also want to try Celeba-HQ.
from denoising_diffusion_pytorch import Unet, GaussianDiffusion, Trainer
from torch.utils.data import DataLoader
from torchvision.datasets import VisionDataset
from torchvision.transforms.functional import pil_to_tensor
from PIL import Image

class FFHQDataset(VisionDataset):
    def __init__(self, root: str):
        super().__init__(root)

        self.fpaths = sorted(glob(root + '/**/*.png', recursive=True))
        assert len(self.fpaths) > 0, "File list is empty. Check the root."

    def __len__(self):
        return len(self.fpaths)

    def __getitem__(self, index: int):
        fpath = self.fpaths[index]
        img = Image.open(fpath).convert('RGB')
        # normalize to [0, 1] range
        img = pil_to_tensor(img) / 255.
        return img

model = Unet(
    dim = 64,
    dim_mults = (1, 2, 4, 8, 16, 32),
    flash_attn = True
)

diffusion = GaussianDiffusion(
    model,
    image_size = 128,
    timesteps = 1000,           # number of steps
    sampling_timesteps=500
)

dataset = FFHQDataset(root="/mnt/SSD2/nils/ocean_bench_exps/diffusion/data/ffhq/thumbnails128x128")
dataloader = DataLoader(dataset, batch_size = 32, shuffle = True, pin_memory = True, num_workers = 12)

trainer = Trainer(
    diffusion,
    'path/to/your/images',
    train_lr = 8e-5,
    train_num_steps = 50000,         # total training steps
    gradient_accumulate_every = 2,    # gradient accumulation steps
    ema_decay = 0.995,                # exponential moving average decay
    amp = False,
    num_samples=16,
    save_and_sample_every=10000,
    dl = dataloader,
)

trainer.train()

I gave the trainer a dataloader argument, because I wanted control over different dataloaders and their configurations, so effectively, just replaced the dataset and dl code block to just take the dl argument from the Trainer. The following are some samples, loss is around 0.02-0.03.
It was mentioned here that amp=False helps, but I have tried both and there is no significant change.

Overall I would also expect better results, so I am wondering if people have experience and suggestions?

you can try 'amp = True'

thanks but i tried and found that the images turns out total green

Have you solved this problem? I meet this problem recently.


Add sonar configuration

Closes ualibweb/ua-folio-docs#13

This is failing due to #8 ... merging anyways, since this isn't this PR's fault...


Model prediction functions are broken

ValueError: shape mismatch: value array of shape (40000,2) could not be broadcast to indexing result of shape (40000,1)

When using a classifier.

Seems to only happen in corner cases where there is no negative class. Probably should break then.
Still I think:
if estimator_type == "classifier":
                X_blend = np.zeros((X_data.shape[0], np.unique(y).shape[0]))
                skf = StratifiedKFold(n_splits=5,
                                      shuffle=True, random_state=1729)

                blend(X_blend, model.predict_proba, skf, X_data, y)
            elif estimator_type == "regressor":
                X_blend = np.zeros(X_data.shape[0])
                kf = KFold(n_splits=5, shuffle=True, random_state=1729)
                blend(X_blend, model.predict, kf, X_data, y)
            else:
                warnings.warn("Unknown estimator type for: %s" % (model))

Should be:
if estimator_type == "classifier":
                X_blend = np.zeros((X_data.shape[0], np.unique(y).shape[0]))
                skf = StratifiedKFold(n_splits=5,
                                      shuffle=True, random_state=1729)

                X_blend = blend(X_blend, model.predict_proba, skf, X_data, y)
            elif estimator_type == "regressor":
                X_blend = np.zeros(X_data.shape[0])
                kf = KFold(n_splits=5, shuffle=True, random_state=1729)
                X_blend = blend(X_blend, model.predict, kf, X_data, y)
            else:
                warnings.warn("Unknown estimator type for: %s" % (model))

Hi @mlwave, what is the state of this?  Should we merge these suggested changes in?

For the edge case I don't care.

blend(X_blend, model.predict, kf, X_data, y)

Feels weird to me, since it is not explicitly returning any result.
My memory of this issue is hazy, so I'll need another look/refresher. Fine with closing this.


fix: add gh ecdsa and ed25519 to known hosts

Here's the doc page with new keys:

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints

Here's the blog post detailing the changes:

https://github.blog/2021-09-01-improving-git-protocol-security-github/

Signed-off-by: Rob Herley<EMAIL_ADDRESS>Don't bother creating a PR until you've done this:

[x] Run make pre-commit -B to fix codegen, lint, and commit message problems.

Create your PR as a draft.

Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it
does not need to pass.
Once required tests have passed, you can make it "Ready for review".
Say how how you tested your changes. If you changed the UI, attach screenshots.

Tips:

If changes were requested, and you've made them, then dismiss the review to get it looked at again.
Add you organization to USERS.md if you like.
You can ask for help!

👋 @terrytangyuan can you approval the workflow to run?

Does this need to got into v3.2.4?


stress-ng: fails to build on missing strlcat

Describe the bug
stress-ng fails to build with
stress-str.c:605:33: error: 'strlcat' undeclared here (not in a function);. This looks like a missing libbsd include, but I don't know why it would miss it. Removing the libbsd dependency allows it to build without the strlcat stress test.
To Reproduce
Steps to reproduce the behavior:

nix-build '' -A stress-ng

Expected behavior
Package builds
Metadata
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: stress-ng
# a list of nixos modules affected by the problem
module:

cc: @c0bw3b