pretrained_weights的下载地址好像没有了

git clone https://huggingface.co/BadToBest/EchoMimic pretrained_weights
这个项目下不下来报错
Cloning into 'pretrained_weights'...
fatal: unable to access 'https://huggingface.co/BadToBest/EchoMimic/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to huggingface.co:443

It is ok for me as of Aug.15, 2024.

为什么我会这样呢？您可以帮助我一下嘛？
Why I can't ? Can you help me?

1.你git clone的时候被墙了
2.你访问huggingface的链接应该是https://huggingface.co/BadToBest/EchoMimic而不是https://huggingface.co/BadToBest/EchoMimic pretrained_weights

git clone https://hf-mirror.com/BadToBest/EchoMimic pretrained_weights

万分谢谢！！！！！


Change MEDIA_URL to an absolute URL in tests

Description
I recently noticed that in cases where we have a default value for models' ImageField like  in the example below
class Book(models.Model):
    cover = models.ImageField(upload_to="images/", default=DEFAULT_IMAGE, verbose_name="Изображение")

and try to compare the field from the response with the expected field from a serializer
class TestUserViewSet:
    def test_get_user_by_id(self, api_client: APIClient, user: User, admin_user: User):
        url = reverse("api:users-detail", kwargs={"id": admin_user.id})
        expected_data = UserSerializer(admin_user).data

        response = api_client.get(url)

        assert response.status_code == status.HTTP_200_OK
        assert response.data.get("image") == expected_data.get("image")

we encounter a failure because Django adds a prefix  "http://testserver" to the ImageField and for other areas that use MEDIA_URL.
{'image': 'http://testserver/media/default/user-logo.jpg'} != {'image': '/media/default/user-logo.jpg'}
Checklist:

[x] I've made sure that tests are updated accordingly (especially if adding or updating a template option)
[x] I've updated the documentation or confirm that my change doesn't require any updates

Rationale
This will help to avoid incomprehensible errors in tests and these changes can be quite in demand.

Thanks for your contribution.
Is there a reason to use a fixture to set this? Since it's a contant value, it's better to set it in the dedicated setting file for tests, as it's where other similar ones are set. The media_storage fixture defined above is an exception because it uses a pytest fixture tmpdir.
Small note that this URL prefix is actually added by DRF (https://github.com/encode/django-rest-framework/blob/7658ffd71d4ad07ddada20b2b9538b889ec02403/rest_framework/fields.py#L1539-L1554), to make the URL absolute. Although, it's true that it's calling an API from Django: https://github.com/django/django/blob/0016a4299569a8f09ff24053ff2b8224f7fa4113/django/http/request.py#L201.
Which leads me to the fact that I'm slightly against this change, for the following reasons:

By setting the MEDIA_URL value to an absolute URI, you're hiding the fact that this transformation happens in the serialization, which is a kind of detail that I find useful to see in my tests.
I'd argue that your test should compare the result of the serialization to something more static: assert response.data["image"] == "http://testserver/media/default/user-logo.jpg". The way it's written in your example feels to me like testing that 1 + 1 == 1 + 1, if that makes sense.

Although the counter argument to the 1st point here is that the MEDIA_URL is often absolute on prod anyway... I guess we could set it to an absolute URL different from the default server URL? e.g. https://testassets/media/.

Hey @itisnotyourenv 👋🏻 What do you think of my suggestions I mentioned above? Do you want to make any edits to this PR?

Hey @itisnotyourenv 👋🏻 What do you think of my suggestions I mentioned above? Do you want to make any edits to this PR?

Sorry bro. I forgot about this PR, and didn't notice your last question. Thanks for merging


Could not find a version that satisfies the requirement tensorrt-cu12_bindings==10.0.1

System Info
1,Hardware and CUDA info:
NVidia P40
NVIDIA-SMI 450.80.02    Driver Version: 450.80.02    CUDA Version: 11.0
TensorRT-LLM souce code commit:
89ba1b1a67d570e41b03da87e5518eaff0d31fbf
Who can help?
No response
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
2, Use a docker image: nvidia/cuda:11.6.1-devel-ubuntu20.04
Following the steps:
docker run --rm --runtime=nvidia --gpus all --entrypoint /bin/bash -it nvidia/cuda:11.6.1-devel-ubuntu20.04
//Install dependencies, TensorRT-LLM requires Python 3.10
apt-get update && apt-get -y install python3.10 python3-pip openmpi-bin libopenmpi-dev git
and all above are right.
3, But, when pip3 install tensorrt_llm -U --pre --extra-index-url https://pypi.nvidia.com
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB)
Collecting nvidia-nvjitlink-cu12
Using cached nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (21.1 MB)
ERROR: Could not find a version that satisfies the requirement tensorrt-cu12_bindings==10.0.1 (from tensorrt-cu12->tensorrt==10.0.1->tensorrt_llm) (from versions: none)
ERROR: No matching distribution found for tensorrt-cu12_bindings==10.0.1 (from tensorrt-cu12->tensorrt==10.0.1->tensorrt_llm)
4, pip install requirements.txt
ERROR: Could not find a version that satisfies the requirement requirements.txt (from versions: none)
ERROR: No matching distribution found for requirements.txt
How can I do, please?
Expected behavior
actual behavior
additional notes
none

Hi! TensorRT-LLM does not support CUDA 11.x, please using the development container to avoid more error messages. Thank you!


Add architecture document

Create a document in docs/architecture.md which details the architecture of the DPS and how the different components interact together as well as with external entities.
This document will have to be kept up to date as new PRs come in, so it might make sense to also add a PR template which reminds PR creators to always make sure they updated the document if their PR introduces changes that should impact it.

Work in progress on https://github.com/awfm9/flow-dps/tree/add-architecture-doc


Publish Intelligence Information as Services - needs videos posted

for Ops Server release
Deadline 9Oct
see email for post location
@MaryClawson

content of this demo theater is duplicated by the creating meaningful maps tech workshop


NullPointerException when filtering items

I got NullPointerException when searching for an item that does not exist in the adapter.
I suspect it happens due to && operator having precedence over || in the following snippet of code:
if (mUpdateListener != null &&
				(initialCount == 0 && getItemCount() > 0) ||
				(initialCount > 0 && getItemCount() == 0))
			mUpdateListener.onUpdateEmptyView(getItemCount());

This snippet of code is in filterItems() method.
I didn't set an update listener when initializing my adapter but still it tried to call onUpdateEmptyView because (initialCount > 0 && getItemCount() == 0) evaluates to true and it is enough for the whole condition to be true.

Hello @RenatKaitmazov, please see issue #135, then use Snapshot release with more others fix and improvements. Until new beta will be deployed, please use the Snapshot.
I didn't have time to complete the content for next beta, I hope to finish the modifications I have in mind soon.
Alternatively you can implement the listener.


Antivirus notification using Sparrow tor, qwhw.com

When connecting Sparrow to my node via tor I get the following message in antivirus software Bitdefender:

Suspicious web page detected
X minutes ago
Feature:
Online Threat Prevention
The page https://www.qwhw.com/ has been detected with suspicious activity. It is not recommended to continue browsing this website.
Accessed by: tor.exe

I don't run tor on the computer, only the version via Sparrow, and was not doing anything else on the computer. It's running Windows 11 Pro.
Any idea what this could be?

No idea. Never seen that address before. Possibly another app is trying to connect to it when it detects Tor coming online?

Thank you. I'll check where this is coming from and post here when I find something.


[ Basecamp3 ] Missing replies in inbox_forwards's endpoint

As described in the Basecamp API repository, it seems we have an option to request the replies from the inbox_forward endpoint. However, the current Basecamp integration doesn't have that feature implemented.
As comments for other records within Basecamp, it would be great to have those as well.

Thanks! We scrape their documentation to generate an Open API spec - once their docs are updated with this endpoint, feel free to ping this thread and we can pull in the changes.

@bobby-brennan will do! Got a response from them, so I'll update it here when their docs are updated.

@bobby-brennan quick update, Basecamp just added inbox replies to their documentation 🎉

Sorry for the delay - should be working now in<EMAIL_ADDRESS>Let me know if you run into any trouble!


change SetDestinationRules for testing only

To not mixup prod code with test code

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[X] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
6e28dae118eab88674eba407216808312d061486
link
true
/test release-notes

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

/test release-notes


Only name of the category is showing for the categories which are linked with depicts

Summary:
Because of the server-side response, we can get only the name of the category for the categories which are linked with depicts, other information like thumbnail and description is not available in the server response. It will be very useful if we can get not only the name but also the other details of those categories which are linked with depicts. so that those details can be used while using the linked categories in other places.
Steps to reproduce:
You can go to DepictedItem class and check the commonsCategories implementation by the depicts
Other than that

Upload an image in the app
Select Paris in the depict selection screen then click next
In the category screen you can see only the name of the category Paris, but if you search Paris all other details (description and thumbnail) with the name will be shown.

Device and Android version:
Pixel 3 API 30
Commons app version:
latest master prodDebug
Would you like to work on the issue?
YES

@nicolas-raoul I was looking into the way of getting thumbnail and description for the categories inside DepictItem. It seems we can get the filename from the entity by P18 property for most of the entity and from the filename we can get the thumbnail. But when I searched for L-Alanine. The P18 property I not available for this entity however we can find the filename/thumbnail from the P117 property. You can check the query.
https://commons.wikimedia.org/w/api.php?action=wbgetentities&format=json&ids=Q218642&formatversion=2
So not sure if there is any specific property for getting the filename/thumbnail. Is there any specific property through which we can get the filename/thumbnail?

Thank you for the investigation! It is OK to not show any thumbnail when the item does not have a P18.

@nicolas-raoul One DepictedItem can be associated with more than one category. In that case, using P18 image to every associated category, will not be the same as the real thumbnail of every category. I was trying to find a way for this scenario. Can you suggest to me a wikidata with which more than one commons categories associated? I was trying to find one but can't find any.

@Ayan-10  Could you please post here an example of the existing HTTP request and response that retrieves the description and thumbnail when performing a category search?
From that, we can hopefully find out what HTTP request to make to get the description and thumbnail of 1 particular category.

@nicolas-raoul The problem is with commons categories that are associated with a DepictedItem. So I think category search HTTP requests will not give any way to find the description and thumbnail of 1 particular category which is associated with a Wikidata. As we have to retrieve the categories from DepictedItem. So I think we have to investigate depict search instead of category search I am attaching both depicted search and category search below.
Depicted Search -> https://www.wikidata.org/w/api.php?action=wbsearchentities&format=json&type=item&uselang=en&search=Paris&limit=25&language=en&uselang=en&continue=0
Getting an Entity by which a DepictedItem is formed -> https://www.wikidata.org/w/api.php?format=json&action=wbgetentities&ids=Q90|Q830149|Q167646|Q104197|Q162121|Q3181341|Q1018504|Q984459|Q576584|Q79917|Q18331346|Q934294|Q960025|Q1158980|Q151298|Q538772|Q1341876|Q3305306|Q923849|Q1451948|Q1818121|Q3382754|Q2300075|Q2219239|Q28337101
Category Search -> https://commons.wikimedia.org/w/api.php?action=query&format=json&formatversion=2&generator=allcategories&prop=categoryinfo|description|pageimages&piprop=thumbnail&pithumbsize=70&gacprefix=Paris&gaclimit=25&gacoffset=0

In the category activity, we have the name of each category. Why not run a new HTTP request to https://commons.wikimedia.org/w/api.php for each? (minus the categories coming from search)

Do you mean to say we should make a GET call for every commons-categories which are associated with a DepictedItem?

In the category activity

Can't understand what you mean by category activity.

Do you mean to say we should make a GET call for every commons-categories which are associated with a DepictedItem?

Yes, I think it is acceptable as there will typically not be more than a handful.
By "category activity" I meant the activity of the Upload Wizard where the user has to select the right categories to apply to their picture.

Yes, that can be done. But as we are getting the thumbnail by P18 in the depicted response itself, I was avoiding the network call. Now it seems p18 have some exception like I gave the example of L-Alanine earlier and we don't have any specific property to get the information. I think the network call will be efficient to do.
Thanks.


  The actual number of objects is 4, so I set [classes = 4, filters=27] in [yolov3-tiny.cfg].
After the training is completed, the model [yolov3-tiny.weights] is obtained. When [Darknet (.weights) -> Tensorflow (.pb)], the actual 4categories in yolov3-tiny.names are set. In [Tensorflow(.pb)->OpenVINO(.bin)_convertion], in [yolo_v3_tiny_changed.json], set ["classes": 4]. This converts the IR model and detects nothing.
But when I change [4] to [80] (in [yolov3-tiny.cfg], set [classes = 80, filters=255], in [yolov3-tiny.names], set 80 categories, In [yolo_v3_tiny_changed.json], set ["classes": 80]). The IR model thus converted has a good detection effect.
[Required] Error message:
Classes are set to 4 training models, no objects can be detected, but the same data, classes set to 80 can detect objects properly

[Required] Overview of problems and questions:
Can someone tell me why this is happening?

Hi xiaozhishang ~
What is your openvino toolkit version?
I also trained yolo-tiny-v3 model with my own data set.
And then I updated my openvino version 2019 R1 in Raspberry PI.
In my case, I converted to xml in 2018 R5 version, but I detected object in Raspberry pi in 2019 R1 version.
And than it worked fine.
Thank you.

Hi xiaozhishang ~
What is your openvino toolkit version?
I also trained yolo-tiny-v3 model with my own data set.
And then I updated my openvino version 2019 R1 in Raspberry PI.
In my case, I converted to xml in 2018 R5 version, but I detected object in Raspberry pi in 2019 R1 version.
And than it worked fine.
Thank you.

hi ksm357
I will updated my openvino version to 2019,and try it again
Thank you.

Hi xiaozhishang ~
What is your openvino toolkit version?
I also trained yolo-tiny-v3 model with my own data set.
And then I updated my openvino version 2019 R1 in Raspberry PI.
In my case, I converted to xml in 2018 R5 version, but I detected object in Raspberry pi in 2019 R1 version.
And than it worked fine.
Thank you.

hi ksm357
I upgraded [openvino] to 2019 and the problem was solved.
Thank you.


[WFRP4e System] Pings and Pointers - Settings

The Pings and Pointers Module Settings are very hard to read.From: ScarSacul#6846wfrp4e: 3.1.0wfrp4e-core: 1.1wfrp4e-eis: 1.0wfrp4e-rnhd: 1.02wfrp4e-starter-set: 1.02


certificates are not regenerated when variable options are updated

A manifest property has three variable references:
        tls_pem:
        - "((router_ssl.certificate))((router_ssl.private_key))"
        - "((router_ssl2.certificate))((router_ssl2.private_key))"
        - "((router_ssl3.certificate))((router_ssl3.private_key))"

variables are defined as
- name: router_ssl
  type: certificate
  options:
    ca: router_ca
    common_name: routerSSL
    alternative_names:
    - "((system_domain))"
    - "*.((system_domain))"
- name: router_ssl2
  type: certificate
  options:
    ca: router_ca
    common_name: routerSSL2
    alternative_names:
    - "((system_domain))"
    - "*.((system_domain))"
- name: router_ssl3
  type: certificate
  options:
    ca: router_ca
    common_name: routerSSL3
    alternative_names:
    - "((system_domain))"
    - "*.((system_domain))"

I've done a deploy but then I notice that all my certs were generated with the same alternative names.
When I update the variable options and deploy
I expect to see a diff that indicates that two of the certs are being replaced.
Currently there is no diff, indicating no change.

I found the only way to achieve the desired change was to rename the variables, and the references to the variables in the property.

In this case there was no diff because there was no change. Currently the CLI does not track the options which were used to generate a variable.
Instead of renaming variables in multiple places to get a new value, an easier alternative is to remove the value from your vars-store file (manually or dynamically, bosh int -o <( echo '[{type: remove, path: /variables?/name=router_ssl3_bad}]' ) creds.yml). Next time it will see the variable value missing and regenerate it.

@dpb587-pivotal These variables are not in the vars store; they're in cf-deployment.yml.

That seems like a reasonable workaround for now. Thanks.

@dpb587-pivotal didn't we also make some recent improvements around variable convergence when using credhub to help alleviate this confusing behavior?

Yes, for bosh deploy with CredHub variables, a deployment manifest can enable the converge_variables feature to cause certificates to be regenerated if their options change. It was introduced in v267.2.
For bosh create-env or bosh deploy with --vars-store, we do not currently supported regenerating certificates when the options change.
@mfine30 given that, not sure if you consider this issue closed?

I think Credhub is the supporting use case here. I don't see a ton of value in making the --vars-store option that much more feature-ful(that a word?). I think we can close this for now, but feel free to re-open if you disagree.


can we make 404 page interesting/useful?

this is what we get now : http://www.nepalmap.org/profiles/nepal

Here's the reason.
You're seeing this error because you have DEBUG = True in your Django settings file.
Change that to False, and Django will display a standard 404 page.

But, when I set DEBUG = False in local instance, the site breaks. The links for static resources like CSS, JS no longer work.
I read upon the issue and this stackoverflow thread discusses on it. It says the site will work in production with DEBUG = False.
@cliftonmcintosh ?

I will take a look and see what I can learn. Wazimap Kenya has their site set up so that it displays a better view. See here, for example: https://kenya.wazimap.org/profiles/country-NP-nepal/

We also get the same 404 page when debug is set to False.

The thing is CSS and JS are breaking locally. Internet forums say that it'll work on production server.
There is a mention of ALLOWED_HOSTS on Deployment checklist on Official Django Documentation.

@studenton - Hmmm.. wonder why it is not working locally.

With our setup on the servers, it turns out to be easy to make this change.
We have to set DEBUG = True but we don't have to worry about the ALLOWED_HOSTS, and it seems that is because we are using a Unix socket with nginx and gunicorn.
I am planning on merging the dev branch into master and using master on www.nepalmap.org. When I do, I will set DEBUG = True on the master branch and then we will have a better 404 on www.nepalmap.org.
For now, I have set it manually. Here is a screenshot:

I've done the following:

Merged dev into master
Updated master to use DEBUG = False
Set www.nepalmap.org to use master

Thank you @cliftonmcintosh.


Update deprecated Image.Transpose usage

Looks like Pillow has updated the location of expected transpose usages. I believe this fixes it but would appreciate a review – it has been a looooong time since I've been in the habit of contributing to python libs!
site-packages/pilkit/processors/base.py:122: DeprecationWarning: ROTATE_180 is deprecated and will be removed in Pillow 10 (2023-07-01). Use Transpose.ROTATE_180 instead.
    ROTATE_180 = Image.ROTATE_180

.venv/lib/python3.9/site-packages/pilkit/processors/base.py:123
pilkit/processors/base.py:123: DeprecationWarning: ROTATE_270 is deprecated and will be removed in Pillow 10 (2023-07-01). Use Transpose.ROTATE_270 instead.
    ROTATE_270 = Image.ROTATE_270

I have not yet explicitly tested this with an older PIL - once a maintainer gives it a look over I'll definitely try to facilitate that....

@vstoykov  I haven't yet explicitly tested with older PIL but would appreciate any feedback here : )

Seems there is some more stuff that will need updates for Pillow 10, for example
====================================================================================== warnings summary ======================================================================================
tests/test_processors.py::test_resizetofill
tests/test_processors.py::test_resizetofit
tests/test_processors.py::test_resize_rounding
tests/test_processors.py::test_resizetofit_mat
tests/test_processors.py::test_resize_antialiasing
tests/test_processors.py::test_upscale
tests/test_processors.py::test_upscale
tests/test_processors.py::test_upscale
tests/test_processors.py::test_upscale
  /tmp/rpkg/python-pilkit-15-dc5kcc4z/pilkit-09ffa2ad33318ae5fd3464655c14c7f01ffc2097/pilkit/processors/resize.py:25: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
    img = img.resize((self.width, self.height), Image.ANTIALIAS)

tests/test_utils.py::test_format_normalization
  /tmp/rpkg/python-pilkit-15-dc5kcc4z/pilkit-09ffa2ad33318ae5fd3464655c14c7f01ffc2097/pilkit/utils.py:314: DeprecationWarning: ADAPTIVE is deprecated and will be removed in Pillow 10 (2023-07-01). Use Palette.ADAPTIVE instead.
    img = img.convert('RGB').convert('P', palette=Image.ADAPTIVE,

-- Docs: https://docs.pytest.org/en/stable/warnings.html


rsocket-core 0.0.10 does not allow data or metadata in setup frame

I'm not able to set data or metadata in the setup frame with rsocket-core 0.0.10.
Checking on the master branch and this has been enabled in the meantime but still not released with a new version on npm.
Is there any release plan scheduled or we need to use sources directly to have this functionality?

https://github.com/rsocket/rsocket-js/pull/46

That is true, but issue is that there is no npm package version with that changes.

@mmihael we'll be releasing an npm package shortly

Hi  @robertroeser  do you have any update about npm package release date.


Running RDFS forward chaining generates triples with literals on subject position

I ran the RDFS forward chaining (on GO) through the example set up in SANSA-Examples/sansa-examples-spark and got triples looking like this
<"Reactome:REACT_90070"^^<http://www.w3.org/2001/XMLSchema#string>> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .

in the output.
I think a literal check is needed here: https://github.com/SANSA-Stack/SANSA-Inference/blob/develop/sansa-inference-spark/src/main/scala/net/sansa_stack/inference/spark/forwardchaining/ForwardRuleReasonerRDFS.scala#L186

Oh yes, you're right. I didn't check this. Unfortunately, the rule in RDFS 1.1 Semantics is just defined as follows:

If S contains:
then S RDFS entails recognizing D:

rdfs4b
xxx aaa yyy.
yyy rdf:type rdfs:Resource .

and there is no distinction of yyy.
We also have to keep in mind, that rules rdfs1 and rdfs13 are still missing, as I didn't know whether those really need to be implemented.


fix: Update popup background color to white (Message Dialog)

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

默认色不变


Support granularity of configuration for descriptorsets via parameters/parameterGroup

Currently there is potential value from providing an abstraction on the way tensors are made available to algorithms via thec concept of Kompute "Parameters" or "Parameter Groups". This issue encompasses exploring the design for parameter groups to be able to expose how it can be achieved.

As I understand the situation mentioned in Discord so far:

Explicit Parameters objects.
Changed buffer/parameters objects should probably use for simplicity's sake.
Parameters objects, on deletion, need to wait for all commands that use them to complete. (It might be an idea to look into using vkQueueWaitIdle on deletion, unless deletion is expected to occur particularly often. It might also be an idea to check if the library has guarantees like this for other such objects - I'm not sure what would happen if an object was destroyed from, e.g. Python too early.)


Enabling higher DPI settings

Using the right size to calculate the tile grid used to create the snapshot

I am looking into the travis logs to see why it failed, but it looks like the test function relies on the older function abaculus.tileList and it had a miss calculation for scales != 1.

Changing test case with an example from the real world and to reflect the new calculations.
The input is the same as the following snapshot URL parameters:
https://maps.wikimedia.org/img/osm-intl,5,-24.405,-47.368,250x250.png
The tile outputs are the following:
https://maps.wikimedia.org/osm-intl/5/11/17.png
https://maps.wikimedia.org/osm-intl/5/12/17.png
https://maps.wikimedia.org/osm-intl/5/11/18.png
https://maps.wikimedia.org/osm-intl/5/12/18.png

Makes sense (I think) and seems to work well.  I guess this is a bug upstream, too?

Incidentally, it looks like there's some kind of scale value rounding happening even with the fix.  According to sources.dev.yaml, the following scale values should be possible:
[1.3, 1.5, 2, 2.6, 3]
But 1.3 appears to be rounded down to 1x (no scaling), and 1.5, 2, 2.6, and 3 all result in an identical image (scaled to 2x in reality, I think).

Yes, didn't realized that before. Snapshot is truncating the scale. Removing this line does make it work, but with some lack of precision. I will investigate and maybe update snapshots PR (this line must have a reason to exist).

Makes sense (I think) and seems to work well. I guess this is a bug upstream, too?
Yes! Actually this repo is some commits behind. I will update and them make the PR to upstream.

This bug can't be fixed without abaculus changing. We should discuss our strategy because this could be not the only situation where we need to upgrade our libraries to fix some issue.

Closing. It was solved here.


Gold stickers haven't been released yet in 2016

Sticker | WorldEdit (Gold) | MLG Columbus 2016

They were available in souvenir weapons. When I have time I will try to add some attribute the know which one are tradable. I don't promise anything.

Thank you


Is convert_peft_sd_lora_to_kohya_ss.py not quite suitable for SD 2.0?

Upon training LoRa through
peft/examples/lora_dreambooth/train_dreambooth.py,
the resulting model, when used in webui, generates a large number of unexpected_keys, all originating from the text_encoder-related key.
In debugging the sd-webui-additional-networks plugin, it was found that during the loading of LoRa, it didn't reach https://github.com/kohya-ss/sd-webui-additional-networks/blob/main/scripts/lora_compvis.py#L482 at all.
Could you please tell me whether the convert_peft_sd_lora_to_kohya_ss.py script is supportive of SD 2.0? Or is it solely compatible with SD 1.x. Is there any way to make it compatible with SD 2.0?
Thank you very much for your reply.

Hi, @Ted-developer!
Thank you for your feedback!
I've written the script convert_peft_sd_lora_to_kohya_ss.py, so basically I've tested it only with SD 1.5.
Could you please provide a sample of the LoRA model you are trying to convert (it can be LoRA model before training, I just need a LoRA structure to investigate this case) or provide LoRA layers you are trying to modify?
I need this info to debug this case and fix it.

Hi, @kovalexal
Have you found the problem yet?

Hi, @Ted-developer, sorry for late response.
Have just tested the checkpoint you've provided, from my perspective if works just fine with sd-webui-additional-networks plugin and webui (with SD 2.1 checkpoint). However, there is a warning in terminal, that provided converted LoRA has some unexpected keys in text encoder, so probably need more time to investigate what is going on.
It's not quite clear to me, what are you trying to achieve with xformers - are you trying to train a LoRA adapter for SD 2.1 using PEFT? Is your problem related to convert_peft_sd_lora_to_kohya_ss.py? Are you trying to use the converted PEFT model to train using sd-scripts? According to the traceback you've provided - there is a mismatch in tensor dtypes, so you should probably check whether both the base model and LoRA adapter use the same dtype.
Please provide more details for investigating this issue.


Save connection without Database name and port

Hi, I am trying to save new connection without database name. It is saying optional but there is no way to pass them empty.

Hi, database name is only optional if you are connecting to local host. When connecting to a remote server connections are per database, so you'll need to enter the name.
Sent from my iPhone

On May 17, 2016, at 5:10 AM, Selçuk Ermaya<EMAIL_ADDRESS>wrote:
Hi, I am trying to save new connection without database name. It is saying optional but there is no way to pass them empty.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Thank you for your explanation, But is there any way to develop it? I forked the project I will try to do that If there is no plan for that?

The reason for this is that Mongotron uses the the node mongo db driver :
http://mongodb.github.io/node-mongodb-native/2.1/api/
which does not allow connecting to a remote database without a database name. So there is no plan to develop this as it does not seem possible using the driver. You are welcome to look into the issue some more if you'd like.


_LoggingAPI: impedance matching with JSON API.

Uses #1888 as a base.

@daspecster Rebased after merge of #1888.  PTAL.


No permission handler detected error with use_frameworks!

Bug report
Summary
I have tried this library for last week and experiencing the same issue from the beginning. I can't find what is wrong with my code. Library is working fine with android platform. Issue exists on iOS end. I have gone through almost all of the threads regarding this issue but still couldn't find a solution. When the app is starting I'm getting the 'No permission handler detected' error message. I have tried all the suggestions in the message but couldn't find any luck with them.
I'm using use_frameworks! in my Podfile since the app contains an integration with Mapbox. Although I can simply ignore this message and check any permission inside the code base it is always returning unavailable. It is happening for any permission(Camera/Location etc..). That means the library is not working properly as expected.
My Podfile
platform :ios, '10.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
use_frameworks!
pre_install do |installer|
  installer.pod_targets.each do |pod|
    if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
      def pod.build_type;
        Pod::BuildType.static_library # >= 1.9
      end
    end
  end
end

target 'ChoiceGo' do

  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  pod 'React', :path => '../node_modules/react-native/'

  pod 'React-Core', :path => '../node_modules/react-native/'
  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
  pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  pod 'SwiftyJSON', '~> 4.0'
  pod 'react-native-sqlite-storage', :path => '../node_modules/react-native-sqlite-storage'

  target 'ChoiceGoTests' do
    inherit! :search_paths
  end

  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways.podspec"
  pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse.podspec"

  use_native_modules!
end

pre_install do |installer|
  installer.pod_targets.each do |pod|
    if pod.name.start_with?('RNFB')
      def pod.build_type;
        Pod::BuildType.static_library
      end
    end
  end
end

Info.plist
<key>NSLocationAlwaysUsageDescription</key>
<string>Used to visualize your location and suggest transport providers</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Used to visualize your location and suggest transport providers</string>

Environment info
react-native info output:
System:
OS: macOS 10.15.4
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 94.84 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.3.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>08749
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
npmPackages:
react: ^16.12.0 => 16.13.1
react-native: ^0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1
# paste it here

Library version: ^2.1.5
Steps to reproduce
const res = await check(PERMISSIONS.IOS.LOCATION_WHEN_IN_USE);
console.log(res);
Describe what you expected to happen:
denied/blocked/granted
Always getting : unavailable

Please submit a screenshot of your installed Pods, like this:

It's probably just a caching issue.

Thanks @zoontek for your quick response.  This is the screenshot of my installed pods. I'm actually new to react-native and sometimes I may have missed a key point. I merged the commit, clean and rebuild the code. But still I'm facing the same issue.

Permission-LocationAlways and Permission-LocationWhenInUse are not linked as static libs (check the icons, it needs to the same that the ones on my screenshot).
Are you sure you use CocoaPods >= 1.9? You don't forget to run a pod install?

COCOAPODS: 1.9.1
Thanks @zoontek . I found the issue. Actually I couldn't remove below code stuff which was in the bottom of the Podfile after adding your fix.
pre_install do |installer|   installer.pod_targets.each do |pod|     if pod.name.start_with?('RNFB')       def pod.build_type;         Pod::BuildType.static_library       end     end   end end
This block might have overridden the merged behaviour.
After removing this block the error message was not seen and returned the permission status correctly. Thank you very much for the great support. Really appreciate your contribution.

I was having the same issue with React Native 0.63.2.
Solution was
1 - to update my cocopods version with
sudo gem install cocoapods --pre
2 - remove the following code from my pod file
pre_install do |installer|
  installer.pod_targets.each do |pod|
    if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
      def pod.build_type;
        # Uncomment one line depending on your CocoaPods version
        Pod::BuildType.static_library # >= 1.9
        #Pod::Target::BuildType.static_library # < 1.9
      end
    end
  end
end

After that, I did a pod install and everything was working again.

I was having the same issue with React Native 0.63.2.
Solution was
1 - to update my cocopods version with
sudo gem install cocoapods --pre
2 - remove the following code from my pod file
pre_install do |installer|
  installer.pod_targets.each do |pod|
    if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
      def pod.build_type;
        # Uncomment one line depending on your CocoaPods version
        Pod::BuildType.static_library # >= 1.9
        #Pod::Target::BuildType.static_library # < 1.9
      end
    end
  end
end

After that, I did a pod install and everything was working again.

So @Jorciney you removed the pre_install method and use_frameworks! ? To get it to work with RN .63 ?

@osikes I edited my previews response.

sudo gem install cocoapods --pre
I also deleted the app and the derived files....
This worked for me!

@shawnFallon npx react-native-clean-project does all that stuff and some more so you don't have to remember all the little tricks

@shawnFallon npx react-native-clean-project does all that stuff and some more so you don't have to remember all the little tricks

I'm using XCode 12 and platform '11.0'.. and it worked thanks
My pod file
platform :ios, '11.0'
use_frameworks!

require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

# Convert all permission pods into static libraries
pre_install do |installer|
    installer.pod_targets.each do |pod|
      if pod.name.eql?('RNScreens') || pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
        def pod.build_type
          Pod::BuildType.static_library
        end
      end
    end
  end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
    end
  end
end

$RNFirebaseAsStaticFramework = true

target 'NameProject' do
  use_modular_headers!
  use_native_modules!

  pod 'RNInputMask', :path => '../node_modules/react-native-text-input-mask/ios/InputMask'
  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  pod 'React', :path => '../node_modules/react-native/'
  pod 'React-Core', :path => '../node_modules/react-native/'
  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'React-callinvoker', :path => "../node_modules/react-native/ReactCommon/callinvoker"
  pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec', :modular_headers => false
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec', :modular_headers => false

  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-Camera', :path => "#{permissions_path}/Camera/Permission-Camera.podspec"
  pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone/Permission-Microphone.podspec"

  target 'NameProjectTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

In case anyone is facing this issue with use_frameworks!, the-preinstall script mentioned by @charleston10 works fine.
I was facing this issue while using Firebase v17 so I had to use use_frameworks! and this pre_install was live saver.
Just added this to my podfile:
pre_install do |installer|
    installer.pod_targets.each do |pod|
      if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
        def pod.build_type
          Pod::BuildType.static_library
        end
      end
    end
  end


[staked-daomaker] Adding DAOMaker Staking Strategy for voting

Adding the strategy
Adding 17 wallets for the example
Verifying that tests are passing < 10 sec. (all green lights)

Linting issues fixed.
Let me know if I need to do something else ;)


Three Agility Obstacles Not Highlighted

During the Making Friends with My Arms quest, there are a series of obstacles to get past, the first few are highlighted, but the last three are not.
They should be added for completion's sake, since the first half is already there.

Happy to add this. Anyone know where these obstacles are named? I see these lines, but I don't know where the constants come from. https://github.com/runelite/runelite/blob/master/runelite-client/src/main/java/net/runelite/client/plugins/agility/Obstacles.java#L34-L237

Happy to add this. Anyone know where these obstacles are named? I see these lines, but I don't know where the constants come from. https://github.com/runelite/runelite/blob/master/runelite-client/src/main/java/net/runelite/client/plugins/agility/Obstacles.java#L34-L237

TheStonedTurtleYesterday at 11:47 PM
they come from the * imports
import static net.runelite.api.NullObjectID.;
import static net.runelite.api.ObjectID.;
TheStonedTurtleYesterday at 11:54 PM
i figured theyd be reading this chat
if not that's their fault
Discord is nice for quick responses in the future.


Reworked provenance verification.

Made it more mechanical to better manage expectations by the caller: verification options are a sequence of straightforward checks on an array of provenances. Outcome is either pass or fail (with error) as before.

First and second bullet point are all correct.
For the third, I am confused by the term "unsigned provenance file". Shouldn't it be "unsigned endorsement"? The output file is endorsement.json, containing a header ("_type": "https://in-toto.io/Statement/v0.1", "predicateType": "https://github.com/project-oak/transparent-release/claim/v1"), identification of the underlying binary, endorsement timestamps, and a link to the provenances.
The endorsement follows this spec:
https://github.com/in-toto/attestation/tree/v0.1.0/spec#statement

Ah yes that's my bad, I certainly meant unsigned endorsement (not provenance).
Anyways the point I'm getting at, is that there are really 3 steps, and the only reason they currently are in the same binary is that the first step determines whether the rest of the steps should run (which is a good reason, so nothing gets signed unless it's been verified etc.). But this has its own problems, e.g. flags to skip one or more of the steps, or change their semantics. Or if we wanted to run the checks as a stand-alone test in google3. In fact, will we ever use this externally? AFAICT we will only need it internally, and probably as part of a script to run on someone workstation or a Rapid workflow or something like that. Is that correct?

I assumed that it is only on github, written in golang, and all three steps in one binary, in order to enhance/harden the story around security. If it were not for the security story, we could give up the entire transparent-release repository.
More important are the data formats. I wonder if JSON is a good choice. It is flexible but rather fuzzy. How much should we lean on in-toto? Probably in-toto exists somewhere internally, but haven't checked.
The Go-Python interface used internally is just to call the Go binary from Python, which is OK but not great.
Summarizing, it would be much more convenient to have it all internal (and maybe not in Go).

A couple of notes:
We still need the SLSA provenance generation in open source (not sure how much of that is in SLSA now vs here though).
We also need the endorsement format to be a standard (in-toto seems sensible for that), since our other open source libraries will also need to parse it (e.g. as part of attestation verification). Plus in the future we may want to attach claims to endorsements (e.g. saying what we endorse a binary for, instead of just endorsing it globally).
But for the parts between provenance verification and endorsement generation, we have more flexibility. And AFAICT we don't expect anyone other than us to actually run those steps. Although it would be nice to one day have a website in which we explain why we endorsed each binary, with either a formal or informal description of the steps we took before endorsing it. But I don't think that's necessary in the short term, so we can keep developing it internally. We should keep the idea of having a "policy" expressed via protobuf and getting a yes / no answer about a binary, so that eventually we can publish the policy as well as the policy verification, but we don't need to literally use the same binary internally and externally. We only need the policy to be inspectable externally, and possibly runnable in some way.
So yes, let's make some pragmatic decisions about where the code should live based on how we plan to use it first, since that's the main priority.

Thoughts:
If our basic protos (verification_options, but digest even more) move to internal, no GitHub code can depend on them. In this regard we lock the door behind us. But it should be fine.
About programming language: It is nice to have Go here, but internally we have the readability burden, plus the language interoperability. Therefore, python seems the better choice for internal code.


application.properties missing when using latest kamel-1.0.0 release

When using the latest kamel 1.0.0 release and trying to run the Kafka sample consumer example I get:
java -cp ./resources:/etc/camel/conf.d/_configmaps/kafka.props:/etc/camel/resources:/etc/camel/sources/i-source-000:dependencies/com.github.luben.zstd-jni-1.4.0-1.jar:dependencies/commons-io.commons-io-2.6.jar:dependencies/org.apache.camel.camel-api-3.0.1.jar:dependencies/org.apache.camel.camel-base-3.0.1.jar:dependencies/org.apache.camel.camel-bean-3.0.1.jar:dependencies/org.apache.camel.camel-core-engine-3.0.1.jar:dependencies/org.apache.camel.camel-endpointdsl-3.0.1.jar:dependencies/org.apache.camel.camel-jaxp-3.0.1.jar:dependencies/org.apache.camel.camel-kafka-3.0.1.jar:dependencies/org.apache.camel.camel-main-3.0.1.jar:dependencies/org.apache.camel.camel-management-api-3.0.1.jar:dependencies/org.apache.camel.camel-support-3.0.1.jar:dependencies/org.apache.camel.camel-util-3.0.1.jar:dependencies/org.apache.camel.camel-util-json-3.0.1.jar:dependencies/org.apache.camel.k.camel-k-loader-java-1.1.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-1.1.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-main-1.1.0.jar:dependencies/org.apache.camel.spi-annotations-3.0.1.jar:dependencies/org.apache.commons.commons-lang3-3.9.jar:dependencies/org.apache.kafka.kafka-clients-2.3.1.jar:dependencies/org.apache.logging.log4j.log4j-api-2.13.0.jar:dependencies/org.apache.logging.log4j.log4j-core-2.13.0.jar:dependencies/org.apache.logging.log4j.log4j-slf4j-impl-2.13.0.jar:dependencies/org.jooq.joor-java-8-0.9.12.jar:dependencies/org.lz4.lz4-java-1.6.0.jar:dependencies/org.slf4j.slf4j-api-1.7.29.jar:dependencies/org.xerial.snappy.snappy-java-<IP_ADDRESS>.jar org.apache.camel.k.main.Application
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: java.nio.file.NoSuchFileException: /etc/camel/conf/application.properties
	at org.apache.camel.k.support.PropertiesSupport.loadProperties(PropertiesSupport.java:78)
	at org.apache.camel.k.support.PropertiesSupport.loadProperties(PropertiesSupport.java:61)
	at org.apache.camel.k.main.ApplicationSupport.configureLogging(ApplicationSupport.java:35)
	at org.apache.camel.k.main.Application.<clinit>(Application.java:33)
Caused by: java.nio.file.NoSuchFileException: /etc/camel/conf/application.properties
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:370)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:421)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
	at java.base/java.nio.file.Files.newInputStream(Files.java:155)
	at java.base/java.nio.file.Files.newBufferedReader(Files.java:2838)
	at java.base/java.nio.file.Files.newBufferedReader(Files.java:2870)
	at org.apache.camel.k.support.PropertiesSupport.loadProperties(PropertiesSupport.java:73)
	... 3 more

This error does not occur when using kamel RC2 and the sample consumer is deployed successfully.

Is this happening on a fresh install  ?

I had the RC2 version installed, I uninstalled it then I installed version 1.0.0.

In the source I see that this:  /etc/camel/conf/application.properties  is hardcoded. What's the underlying assumption? Who is supposed to create that file and is it going be created in that location in all cluster types?

I tried building from source. I cloned the latest master branch and ran
make

This build a kamel executable which I used to install kamel in my kind cluster.
The command succeeded.
I was also able to deploy the KafkaConsumer in the Kafka example.
It looks like the files missing error might be an error only in the release version and it is no longer a problem in the latest master.


Mojo::Promise->all to take non-Promise objects

Summary
Currently Mojo::Promise->all cannot take non-Promise objects as an argument. This is surprising for those who've used JavaScript Promises, whose all method can do so.
Motivation
This current behaviour does not match the expectations of those who've used JS Promises. There, the expectation is for accepting non-Promises, and for interoperation.
References
As discussed on IRC: https://irclog.perlgeek.de/mojo/2017-12-30#i_15633913

This has been discussed at length on IRC and we could not reach a clear decision on how to move forward. The feature is not required by Promises/A+, its usefulness questionable and the correct implementation very hard. I think it might be best to reject the feature for now.


deploy: Create with --save-config

--save-config is needed for use with apply as
mentioned https://kubernetes.io/docs/user-guide/kubectl/kubectl_apply/
Even if we aren’t applying currently it would be good
to save the config for all creates to facilitate later
applys.

At the moment untested

Tested with a deployment in https://circleci.com/gh/reactiveops/kask/53

@reactiveops/technical-team-members

@philipcristiano I can't seem to view your deployment results on Circle and don't see that repo in RO github, can you check perms if we should be able to view?

@sairez ah sorry. Despite creating the repo I don't have permissions to make it more open. @jmound can you give access to the team?
Relevant deployment snippet:
Deploying Deployments
Updating image tag from latest to 1d4772eefd4b925c8f2ed4b064ef46b0980fa1c7 for /home/ubuntu/kask/deploy/kask.deployment.yml
Updating /home/ubuntu/kask/deploy/kask.deployment.yml-1d4772eefd4b925c8f2ed4b064ef46b0980fa1c7
Deployment kask does not exist yet, creating it
deployment "kask" created
deployment "kask" configured
Done deploying Deployments

Verifying successful deployments
Checking deployment for kask
Checking deployment generation
observedGeneration (4) should be >= generation (4).
observedGeneration (4) is >= generation (4)
Checking for updatedReplicas to equal replicas
updatedReplicas (2) should be == replicas (2).
updatedReplicas (2) is == replicas (2).
Checking for availableReplicas to equal replicas
availableReplicas (2) should be == replicas (2).
availableReplicas (2) is == replicas (2).
Deployment of kask was successful

Making sure the create call works.

GTG

@sairez I missed this notification until now. Can you view the build?


Metadata not showing on play after inactivity

If the player is in an inactive state (not playing or paused for a few minutes) it goes into a state where no metadata is showing.
If the playback is resumed, or the initial play request happens, the cover is being set but not the rest of the metadata. It gets updated with any other action after this.
E.g.

This is after the first playback. Cover is showing but no metadata information.

If I pause the metadata updates. Any other action here would update the metadata so next or previous song would work too.

This is likely due to Sharport Sync itself: It sends a stream end after some inactivity.

Use a tool like MQTT Explorer to inspect the topics in real-time to see if the metadata is published. If it's updated there, then it should pull through to the integration and get displayed.
Are you using the built-in media player card in HA?
Also compare your HA, this integration and ShairportSync versions compared to what's been tested again (see the README) and report here what you have.

Closed as stale.


⚠ Bofrost.de has degraded performance

In e575cc2, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 4244 ms

Resolved: Bofrost.de performance has improved in f6a97bb after 10 minutes.


Bugfixes for preview images in editor

@Ionaru please let me know if you have some concerns and we will try to address them

@Ionaru thanks!


[test] Fix flakies in TestValidateSchemaAndBuildDictMapperOutputReader

Fix flakies in TestValidateSchemaAndBuildDictMapperOutputReader

How was this PR tested?

Internal CI - Running
Does this PR introduce any user-facing changes?

[X] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Thanks for the review, Adam!


⚠ SceneTime has degraded performance

In 01857cb, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 11964 ms

Resolved: SceneTime performance has improved in f693b69 after 5 minutes.


FR: Firebase Phone Auth for App Clips

Feature proposal

Firebase Component: Auth

As it seems, App Clips does not support opening URL's or registering for push notifications. This prevents the use of Phone Auth if I understand correctly. Is there any way to solve this easily?
Additionally, it would be nice to have a way to transfer an anonymous auth to the main app once downloaded. I think shared keychain is unavailable for app clips, which makes this also very difficult.

@ryanwilson should I merge this with #8221 ? Or is there any value at all in keeping this open if there is no activity?

Hey @nidegen, apologies for the delay in response. I think it's worth keeping them separate to be able to track interest across both platforms, and they will require different solutions (i.e. if we make App Clips works that won't solve the macOS/tvOS availability and vise versa).
Thanks!

Yeah, our team would also love to see this feature.  We're going to have to re-architect things now, because we're implementing an App Clip and can't use the same flow (which includes Firebase Auth phone auth).

Are there any updates with this issue? 🙏

As a heads up, the barebones Firebase SDK is giant at over 12MB+ uncompressed.
Given the App Clip total size limit of 15MB this is a major deal-breaker – ie: the library would have to come in at < 1MB to be feasible.

The Firebase SDK is a set of several of SDKs, most of which are much smaller.


Internationalization API is not available on some mobile browsers

We received some errors today from Chrome 51 on Android 7. It seems that it doesn't support Intl, although it should:
https://caniuse.com/#feat=internationalization
When digging further, it seems to be a common problem on Samsung phones, which can be worked around by providing a polyfill:
https://github.com/Financial-Times/polyfill-service/issues/509
I'm not a huge fan of bloating our codebase with polyfills, but maybe a polyfill service could help?
https://polyfill.io/
https://sentry.io/foodsaving-worldwide/karrot/issues/403966409/
ReferenceError: Intl is not defined
  at _localizeDateTime (./node_modules/vue-i18n/dist/vue-i18n.esm.js:1333:1)
  at _d (./node_modules/vue-i18n/dist/vue-i18n.esm.js:1351:1)
  at apply (./node_modules/vue-i18n/dist/vue-i18n.esm.js:1391:1)
  at $d (./node_modules/vue-i18n/dist/vue-i18n.esm.js:194:1)
  at call (js/0.463cada66b1a8d3b51c0.js:16005:19)
...
(11 additional frame(s) were not displayed)

13kb gzipped<EMAIL_ADDRESS>which would be nice to avoid, although using polyfill.io means an extra roundtrip.
... but then there are the locales to think about too. but depending on what vue-i18n uses of Intl, maybe they aren't needed.
I think we could just not support locales for those browsers anyway (here is the handling https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).
If I understand this plugin correctly though, it will not make a request unless it needs to: https://www.npmjs.com/package/webpack-polyfill-injector#use-polyfillio-cdn. I will try it :)
Otherwise this should do it...
https://polyfill.io/v2/polyfill.js?features=Intl&unknown=polyfill

Almost... gets a new error now:

No locale data has been provided for this object yet.

https://sentry.io/foodsaving-worldwide/karrot/issues/406102245/?referrer=slack


Incorrect redirection behaviour Springboot Embedded Tomcat vs standalone Tomcat

Hi team,
We have created a Oauth spring authorization server with the latest version compatible with Spring security 5 (spring-security-oauth2-authorization-server-0.4.0) under Spring Boot 2.7.6
When using the Spring Boot embedded Tomcat, it works like charm, but when the same code it's deployed in a standalone Tomcat 9.0.70 version as a war package, once user has successfully logged we have detected that the redirection is not done correctly.
Looking into the logs, we can see that the authorization server behavior is different when using Spring Boot embedded Tomcat:

2022-12-15 19:28:07.310 DEBUG 14552 --- [0.1-8082-exec-7] o.s.s.w.csrf.CsrfAuthenticationStrategy  : Replaced CSRF Token
2022-12-15 19:28:07.310 DEBUG 14552 --- [0.1-8082-exec-7] w.a.UsernamePasswordAuthenticationFilter : Set SecurityContextHolder to UsernamePasswordAuthenticationToken [Confidential User Data]
2022-12-15 19:28:07.311 TRACE 14552 --- [0.1-8082-exec-7] o.s.b.f.s.DefaultListableBeanFactory     : Returning cached instance of singleton bean 'delegatingApplicationListener'
2022-12-15 19:28:07.311 TRACE 14552 --- [0.1-8082-exec-7] o.s.b.f.s.DefaultListableBeanFactory     : Returning cached instance of singleton bean 'refreshScopeRefreshedEventListener'
2022-12-15 19:28:07.311 TRACE 14552 --- [0.1-8082-exec-7] o.s.b.f.s.DefaultListableBeanFactory     : Returning cached instance of singleton bean 'springApplicationAdminRegistrar'
2022-12-15 19:28:07.311 DEBUG 14552 --- [0.1-8082-exec-7] o.s.s.web.DefaultRedirectStrategy        : Redirecting to XXXX (Confidential URI)

Than when authorization server is deployed as war package in standalone Tomcat 9.0.70:

16:57:16.343 [https-openssl-apr-443-exec-73] DEBUG o.s.s.w.c.CsrfAuthenticationStrategy - Replaced CSRF Token
16:57:16.343 [https-openssl-apr-443-exec-73] DEBUG o.s.s.w.a.UsernamePasswordAuthenticationFilter - Set SecurityContextHolder to UsernamePasswordAuthenticationToken [Confidential User Data]
16:57:16.343 [https-openssl-apr-443-exec-73] TRACE o.s.s.w.a.SavedRequestAwareAuthenticationSuccessHandler - Using default url /
16:57:16.343 [https-openssl-apr-443-exec-73] DEBUG o.s.s.web.DefaultRedirectStrategy - Redirecting to /

Seems the cached data is not being loaded and so, it's redirecting to root page / instead of the original uri.
Right now we have our customized login page, but it happens also when using the  .formLogin(Customizer.withDefaults())
Don't know if it's really a bug related to the oauth server, but at least it's behaving different in the two situations above.
Thanks!

@javiiker The logs provided do not indicate usage of Spring Authorization Server endpoints. NOTE: DefaultRedirectStrategy is used by many different components within Spring Security.
And as you noted...

Right now we have our customized login page, but it happens also when using the formLogin(Customizer.withDefaults())

Turn on TRACE for org.springframework.security.oauth2 and you'll see if the OAuth2 Endpoints are being called.
However, I suspect this is environment specific.
If your problem persists then please provide more details on how you are deploying and a minimal reproducible sample and I can take a look further.


version 1.2.43 for the patch 7.2.0. Holly power

Hi! Can you, please, make last version of addon for patch 7.2.0. I can`t play without artifact power, and holy power.
In short: version 1.2.43 for the patch 7.2.0.
Я обожаю ваш аддон, он очень красив, но пожалуйста, сделайте версию с holy power и artifact power for 7.2.0. Ящик пива этому господину!)
I also did not like the scaling of the interface in the version of adddon for 7.1.5. I had to change the engine files with the latest version of the addon.
The interface has become normal, stably works on 7.2.0, but still there is no light energy.

@kelvines For future references/reports please use the template provided when making a bug report.
@goldpaw Is hard at work getting class power/resources together for each class. Please give him time to get this all sorted out and implemented into the UI. Thank you.

Artifact power is there for all versions now, and holy power has never been in the UI. It's under development along with all the other 3rd class resources like burning embers, chi, death knight runes and so on. I have no ETA; but it won't be long. :)
But that has already been reported, and thus this is a duplicate issue! :)


Special Renderer for Decorated Pots

Simple rendering of (un)decorated pots, as those are quite common in trial chambers.

Looks good, thanks!


attempt to index field 'context' (a nil value)

[AdvDupe2Notify]    Pasting...
[AdvDupe2Notify]    addons/wire/lua/entities/gmod_wire_expression2/init.lua:109: attempt to index field 'context' (a nil value)
[AdvDupe2Notify]    Finished Pasting!

Spawn two props and weld them together
Place E2 on one of the props
Change sbox_maxprops to 3

Now if you dupe the prop with the E2 on it, you will get the error after pasting, which also results in removing both props (whole contraption when there are many props). If you dupe the second prop without E2, it will spawn fine.
Basically this is happening if you hit the prop limit while pasting and the contraption has E2 in it.

This error is still occurring, however the situation I've encountered is not caused by sbox_maxprops as far as I'm aware, and it happens when pasting one of my own duplications (can upload the dupe if necessary). Also, this didn't used to be a problem, I'd say the dupe was working at least 6 months ago, for what that's worth. Any ideas at all on what's causing this or how to get around it? I personally don't know enough about modding gmod to figure this out, I would appreciate any help with this very much.
Another small difference, using the current master the error is on a different line:
addons/wire/lua/entities/gmod_wire_expression2/init.lua:120: attempt to index field 'context' (a nil value)
Although I assume that's merely due to code being added above it since this issue was originally posted as the current workshop version references line 109 as well.

Seems fixed. Also not a advdupe2 issue.


Replace kubernetes-release-dev with k8s-release-dev

Replacing kubernetes-release-dev with k8s-release-dev in for the periodic kubernetes conformance jobs:
ref: https://kubernetes.slack.com/archives/C09QZ4DQB/p1612269558032700

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Rajalakshmi-Girish
To complete the pull request process, please assign mkumatag after the PR has been reviewed.
You can assign the PR to them by writing /assign @mkumatag in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

/cc @mkumatag

/lgtm
/approve
Please change it here - https://github.com/ppc64le-cloud/k8s-ansible/blob/master/group_vars/all#L35 as well

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

Needs approval from an approver in each of these files:

OWNERS [mkumatag]

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

@Rajalakshmi-Girish: Updated the job-config configmap in namespace prow at cluster default using the following files:

key test-kubernetes-periodics.yaml using file config/jobs/periodic/kubernetes/test-kubernetes-periodics.yaml

In response to this:

Replacing kubernetes-release-dev with k8s-release-dev in for the periodic kubernetes conformance jobs:
ref: https://kubernetes.slack.com/archives/C09QZ4DQB/p1612269558032700

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


Default timezone issue

Hi there!
Just started using the component and i lost the last 2-3 hours to find out why the date/time parsing does not work properly and why when every time my input field gets focused dates + times get changed automatically (by itself).
It turned out that you have defined in the default options for timezone to be: Etc/UTC.
I believe this should either be added to the docs (that by default the component expects UTC based date/time values) - or - to disable timezone support by default - unless set otherwise.
As soon as i disabled timezone support everything started working properly. I am passing GMT+3 times values.

Just fixed it in my fork - let me know if you think it's a useful addon to your great component!
https://github.com/miraclebg/bootstrap-datetimepicker


Replace line_exists with 'read table' in isogram exercise

heh, it doesnt work, the linter wants us to use line_exists, I'll add the downport sometime, just keep this PR open 😄

heh, it doesnt work, the linter wants us to use line_exists, I'll add the downport sometime, just keep this PR open 😄

Ok :)

ref #37

at least it works in exercism :)


Issue found on page 'S3 Parquet Import'

Hello,
It's currently impossible with the python lib to request multiple files in S3 bucket with the function 'read_parquet'.
For example:

read_parquet("S3://bucket/file1") and read_parquet("S3://bucket/file2") works
read_parquet( ["S3://bucket/file1", "S3://bucket/file2"]) doesn't works

If it's not the right way to do it, it's not documented.
Thanks for your attention 😀

Hi @Alpha-Ldz, thanks for reporting this.
I tried to reproduce the issue but I couldn't - reading multiple files works like this:
duckdb.read_parquet(["s3://.../file1.parquet", "s3://.../file2.parquet"])

What error message do you get when it fails?
(All that said, I improved the documentation a bit, so it now has examples for loading multiple files over https.)


Do not rely on features of Augeas because Puppet 6

Coverage decreased (-7.0%) to 93.043% when pulling 5156ec47a180fd059a3f1276a6ec170fbae5980a on raphink:augeas_nofeat into 9c2e13229b452b27b1ad8e3c21925facb8fa1416 on mcanevet:master.

This change broke the test but seem to be directly released to RubyGems. Please don't do this, a lot of modules/tests depend on this gem by now. Lets discuss the solution for this in #73! :)


Add --atomic flag like Helm's

I'd like to see a --atomic flag which rolls back to the previous state on failure.  Similar to helm:
--atomic        if set, upgrade process rolls back changes made in case of failed upgrade.

@seans3 would the recent ResourceGroup work help with this?

Apologies for the delay in response.
kpt is one tool among many which lives in and assumes a gitops world. In this world, the rollback is git revert and commit, along with a kpt live apply of the reverted configuration files. Because of this focus, we do not believe rollback functionality is properly in scope for kpt. I will close this issue after a short amount of time.

Thanks for following up


Consistently manage temporary test files

We now create files during tests.
For easy of use and consistency, it would be good to delete files at the end of all tests. Also, we'd need to add fixtures to set up test dependencies in case a certain test is run on its own (to ensure the data needed for it is created).
Original discussion
Yes, deleting the files could be run as a final test, when all tests pass. Maybe we can make sure the files are not deleted until the tests pass, so it would not be a problem re-running individual files?
Originally posted by @adehecq in https://github.com/GlacioHack/xdem/pull/292#discussion_r965680786

This is normally handled quite easily with a tempfile context, or am I missing a part of the problem?
with tempfile.TemporaryDirectory() as temp_dir:
     # do I/O stuff

This makes sure the tempdir is removed, even in case of a crash. The same without a context manager does not do that:
temp_dir = tempfile.TemporaryDirectory()

# do I/O stuff


Improve sandboxing in test classes that make pervasive use of tempdirs.

Fix a bug where $HOME was leaking beyond a single test case.

@prescod still confused about what you're trying to do here since you are now using both pytest and unittest.TestCase hooks.

There are two classes in that file and I noticed that the second one also does not clean up its tempfiles. It was written in UnitTest style so I followed it. Now I've changed it to be the same as the other class.


bug: [BinaryOperatorSpacesFixer] Allow to align = inside array definitions

Hi @SpacePossum, seems like you worked on the BinaryOperatorSpacesFixer.
I recently found a use-case where this is not working as expected.
Seems like removing a check you made fix my issue.
I added a test, and it seems it doesn't break any of the other tests.
Do you know why the check was here ?

Coverage decreased (-0.001%) to 92.878% when pulling 2e9fd3dc5d487f053249e31dca644ce89b7b92a6 on VincentLanglet:fixBinaryOperator into aa976c58efa66a9781550abf58e542d428c2c7a5 on FriendsOfPHP:master.

I think the intention was to skip a portion of code that could not contain operators to align, but it turns out it can. Thanks for the fix @VincentLanglet.

<?php
$a = [$b = 1];
$ab = [$bc = 1];
$abc = [$bcd = 1];
$a = [$b];
$ab = [$bc];
$abc = [$bcd];

was fixed to:
<?php
$a   = [$b = 1];
$ab  = [$bc = 1];
$abc = [$bcd = 1];
$a   = [$b];
$ab  = [$bc];
$abc = [$bcd];

with this PR it gets fixed to:

'<?php
$a   = [$b   = 1];
$ab  = [$bc  = 1];
$abc = [$bcd = 1];
$a   = [$b];
$ab  = [$bc];
$abc = [$bcd];

if this is better or worse I don't know, but the code in place was there for this reason

more of a problem
<?php
$a = [$s = 5, $d => 5, $c => 9,];
$ab = [$bc = 1];
$someOtherArray = [$bcd = 1];
$a = [$b];
$ab = [$bc];
$abc = [$bcd];

before the PR fixed to:
<?php
$a              = [$s = 5, $d => 5, $c => 9,];
$ab             = [$bc = 1];
$someOtherArray = [$bcd = 1];
$a              = [$b];
$ab             = [$bc];
$abc            = [$bcd];

after
'<?php
$a              = [$s              = 5, $d => 5, $c => 9,];
$ab             = [$bc             = 1];
$someOtherArray = [$bcd = 1];
$a              = [$b];
$ab             = [$bc];
$abc            = [$bcd];

there is a bigger issue with this fixer, especially related to aligning stuff, I haven't got around to look into it, but not sure about this fix

I'll take a look.
There is a scope level notion to introduce maybe

The bigger issue is the generated and injected placeholders, these should be inserted by level/depth and by operator. Than when doing the align based on these we should be going from most left per operator and depth and align others from the same depth and operator type, than continue based on that result with what is than the next most left operator, until all placeholders have been replaced. Figuring out the correct depth/scope is already hard, but than figuring out the most left placeholder over multiple lines is also a bit of puzzle. Doable, but will take a bunch of effort, testing, reviewing and what else :)

The bigger issue is the generated and injected placeholders, these should be inserted by level/depth and by operator. Than when doing the align based on these we should be going from most left per operator and depth and align others from the same depth and operator type, than continue based on that result with what is than the next most left operator, until all placeholders have been replaced. Figuring out the correct depth/scope is already hard, but than figuring out the most left placeholder over multiple lines is also a bit of puzzle. Doable, but will take a bunch of effort, testing, reviewing and what else :)

Here, there are something simpler to do.
Just ignore the code inside [] when it's in the same line.


support HandlerFunc actions

As discussed in #143: if an action matches the http.HandlerFunc signature, use it directly. Route parameters are available in r.URL.Query(), and a test covers that as well.
Let me know if anything else is needed here!

This. is. awesome. Thanks Alex!!
Code looks great. Also cool to see how few changes you made to add this feature.
Really nice work! 👏


Fix _+: keys in Firefox

19466b5 fixes the keys without shift; this fixes them with shift.
Related: https://github.com/nurdism/neko/commit/19466b5625b6e6c2796faa7eeac0e3be1797f7f5
Context: https://github.com/nurdism/neko/issues/51#issuecomment-609877197

lgtm


Need help on testing hardware

We have been able to run Python version of Foundationpose released by NVLabs on an RTX3060 With 12GB Ram whereas when we try ROS version of foundationpose the GPU memory requirements suits up and ultimately the execution stops with below errors:
component_container_mt-1] 2024-06-21 14:47:16.877 ERROR gxf/std/block_memory_pool.cpp@77: Failure in cudaMalloc. cuda_error: cudaErrorMemoryAllocation, error_str: out of memory
[component_container_mt-1] 2024-06-21 14:47:16.877 ERROR gxf/std/entity_warden.cpp@437: Failed to initialize component 00157 (pool)
[component_container_mt-1] 2024-06-21 14:47:16.877 ERROR gxf/core/runtime.cpp@702: Could not initialize entity 'YNWEMQPEYV_inference' (E152): GXF_OUT_OF_MEMORY
[component_container_mt-1] 2024-06-21 14:47:16.877 ERROR gxf/std/program.cpp@283: Failed to activate entity 00152 named YNWEMQPEYV_inference: GXF_OUT_OF_MEMORY
[component_container_mt-1] 2024-06-21 14:47:16.877 ERROR gxf/std/program.cpp@285: Deactivating...
[component_container_mt-1] 2024-06-21 14:47:16.877 ERROR gxf/core/runtime.cpp@1452: Graph activation failed with error: GXF_OUT_OF_MEMORY

Is there a fix/workaround of this? Is there any reason for memory requirement of this package to go higher compare to original Foundationpose?
The requirement mentioned by you on the documentation is already satisfied. https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_pose_estimation/index.html#supported-platforms

+1 I have the same issue !

+1 We are facing the same issue. Were any of you able to resolve it?

We have built a custom version of FoudnationPose on ROS2 with Conda environment that works even with 8GB of GPU:
https://github.com/ammar-n-abbas/FoundationPoseROS2

Thank you @ammar-n-abbas for sharing the repo!
Just curious how much FPS were you able to achieve in best case end to end with SAM2?

Hi @yashwant-ies SAM2 is only used in the first frame to extract the masks. We achieved 10FPS with this model on an 8GB GeForce RTX 4070.


UFITS Summarize

A couple of issues I ran into with ufits summarize:
srussell@ubuntu:~/Data/MillerWoods/UFITS$ ufits summarize -i out.otu_table.taxonomy.txt -o data-summary --graphs --percent --format png
Traceback (most recent call last):
  File "/home/srussell/ufits/bin/ufits-summarize_taxonomy.py", line 250, in <module>
    processTax(uniqK, Lk, 'kingdom')
  File "/home/srussell/ufits/bin/ufits-summarize_taxonomy.py", line 163, in processTax
    fig = plt.figure()
  File "/home/srussell/.local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 535, in figure
    **kwargs)
  File "/home/srussell/.local/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 84, in new_figure_manager
    return new_figure_manager_given_figure(num, figure)
  File "/home/srussell/.local/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 92, in new_figure_manager_given_figure
    window = Tk.Tk()
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1818, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable

soussell@ubuntu:~/Data/MillerWoods/UFITS$ ufits summarize -i out.otu_table.taxonomy.txt -o data-summary --graphs
Traceback (most recent call last):
  File "/home/srussell/ufits/bin/ufits-summarize_taxonomy.py", line 250, in <module>
    processTax(uniqK, Lk, 'kingdom')
  File "/home/srussell/ufits/bin/ufits-summarize_taxonomy.py", line 163, in processTax
    fig = plt.figure()
  File "/home/srussell/.local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 535, in figure
    **kwargs)
  File "/home/srussell/.local/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 84, in new_figure_manager
    return new_figure_manager_given_figure(num, figure)
  File "/home/srussell/.local/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 92, in new_figure_manager_given_figure
    window = Tk.Tk()
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1818, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable

Can you post a snippet of what the OTU table looks like, including the taxonomy field?  Never seen this before.  It seems like a matplotlib error, but likely due to the input data not being what it is expecting.  What version of UFITS are you using?  Was OTU table created with same version?

Usage:       ufits summarize
version:     0.7.4
Entire process done with this version.
  Change those and re-run filtering and then re-run taxonomy.  See the other thread I just responded to with your filtering problem.

On Jan 3, 2017, at 8:55 PM, MycoMap<EMAIL_ADDRESS>wrote:
Usage: ufits summarize
version: 0.7.4
Entire process done with this version.

Reply to this email directly, view it on GitHub https://github.com/nextgenusfs/ufits/issues/17#issuecomment-270283871, or mute the thread https://github.com/notifications/unsubscribe-auth/AF4PVDLLzq-gB9byJRwkakWxMGdhnxCSks5rOwoYgaJpZM4LaOjt.

This can be closed.


Add Content-Disposition header to S3 object

We want to be able to redirect Asset Manager requests to the assets stored in an S3 bucket. However, we want as much of the externally-visible behaviour to remain the same and so we need to set the 'Content-Disposition' header to the same value as in MediaController#download, i.e. the value generated by ActionController::DataStreaming#send_data or ActionController::DataStreaming#send_file.
Note that his is based on the work in Add Cache-Control header to S3 object, so it's probably worth waiting until that is merged before reviewing this.
Closes #95.

@chrislo: Thanks for reviewing. And thanks for searching Rack for a way to avoid having to manually construct the Content-Disposition header. I couldn't find any easily re-usable code in Rails to do it either. I'll add a note to the relevant commit to explain all this.

Updated commit note, rebased against master and force-pushed in preparation for merging.

@chrislo & I have just confirmed that the Content-Disposition response header is being set correctly on S3 objects uploaded from integration. We did this by using the Rails console in integration to read the response headers via the AWS SDK. This gives us confidence that they will be being written correctly in staging and production, although we probably won't be able to check this until the S3 bucket is made publicly readable.


Fix waitForFunction in TestCafe helper

Motivation/Description of the PR
Applicable helpers:

[ ] Webdriver
[ ] Puppeteer
[ ] Nightmare
[ ] REST
[ ] Appium
[ ] Protractor
[x] TestCafe

waitForFunction was breaking when using the TestCafe helper. The error suggested adding .with({ boundTestRun: this.t }). Upon inspecting the code, it looks like the function was not doing what I was expecting: it had the same logic as waitUrlEquals and the fn parameter (the function to wait for) was not being used.
I think now it has the expected functionality. I added the same tests as the Puppeter helper.
Type of change

[ ] Breaking changes
[ ] New functionality
[x] Bug fix
[ ] Documentation changes/updates
[ ] Hot fix
[ ] Markdown files fix - not related to source code

Checklist:

[x] Tests have been added
[ ] Documentation has been added (Run npm run docs)
[x] Lint checking (Run npm run lint)
[x] Local tests are passed (Run npm test)

 Here is an overview of what got changed by this pull request:

Clones added
============
- test/helper/TestCafe_test.js  1

Clones removed
==============
+ lib/helper/TestCafe.js  -2

See the complete overview on Codacy


screenshot with horizontal scroll

**Question **
I downloaded your  screenshot plugin  and i want to take the screenshot of a page with horizontal scrolls in it. The plugin works fine with vertical scrolls  but it doesn't take the screen shot of the part which is not visible in the horizontal scroll.
Can you please provide a solution for it?
Thanks in advance.

Hi @vinodnegi87
I looked into that behavior and it seems that it is not possible without changing the html of your page. This plugin uses html2canvas for taking a screenshot of the page as it is. I found these issues on the github page of html2canvas:
https://github.com/niklasvh/html2canvas/issues/60
https://github.com/niklasvh/html2canvas/issues/108
The only way to solve it is to modify the html via a dynamic action just before the screenshot happens. I think you have to test it, the css style overflow:hidden should be changed to overflow:visible of the region.(maybe on multiple places).
I would test it with chrome developer tools or similar tool to get the result you would like to have, if that works write a javascript dynamic action to do the same changes you did with the developer tools...
Hope that helps!