Regarding data loading

"Thank you for your open-source code.
I noticed that, compared to ViPT, you have modified the _get_frame_path method in lasher.py. Does this mean you didn't rename lasher but instead used the original trainingset?"

The naming rules for different sequences in the LasHeR data set we downloaded are inconsistent. For example, a picture in the sequence "2whitegirl" is named i000.jpg, while a picture in the sequence "3bike2" is named 000001.jpg. The original way of reading data would report an error, so we modified the way of reading files.

The naming rules for different sequences in the LasHeR data set we downloaded are inconsistent. For example, a picture in the sequence "2whitegirl" is named i000.jpg, while a picture in the sequence "3bike2" is named 000001.jpg. The original way of reading data would report an error, so we modified the way of reading files.

I've been waiting for you for a long time. I wanted to ask if you've finally achieved the accuracy reported in the VIPT paper. I've spent a lot of time troubleshooting, but still haven't found a solution.

The naming rules for different sequences in the LasHeR data set we downloaded are inconsistent. For example, a picture in the sequence "2whitegirl" is named i000.jpg, while a picture in the sequence "3bike2" is named 000001.jpg. The original way of reading data would report an error, so we modified the way of reading files.

I've been waiting for you for a long time. I wanted to ask if you've finally achieved the accuracy reported in the VIPT paper. I've spent a lot of time troubleshooting, but still haven't found a solution.

Sorry to keep you waiting. In fact, my reproduction of ViPT did not achieve the reported accuracy, but we still retain the results in its paper. Our SDSTrack uses the official data set (https://github.com/BUGPLEASEOUT/LasHeR), which may be the original data set you mentioned.

The naming rules for different sequences in the LasHeR data set we downloaded are inconsistent. For example, a picture in the sequence "2whitegirl" is named i000.jpg, while a picture in the sequence "3bike2" is named 000001.jpg. The original way of reading data would report an error, so we modified the way of reading files.

I've been waiting for you for a long time. I wanted to ask if you've finally achieved the accuracy reported in the VIPT paper. I've spent a lot of time troubleshooting, but still haven't found a solution.

Sorry to keep you waiting. In fact, my reproduction of ViPT did not achieve the reported accuracy, but we still retain the results in its paper. Our SDSTrack uses the official data set (https://github.com/BUGPLEASEOUT/LasHeR), which may be the original data set you mentioned.

Thank you very much for providing the link. This is exactly the original dataset I wanted to mention. Additionally, I have an incomplete vipt-rgbt training log here.
vipt-deep_rgbt.log
In fact, the first line of the first epoch differs significantly from the official training log provided. If you still have the previous training logs, could you please check if our situation is the same?

I think you can check the dataset as well as the pretrained model (we are using vitb_256_mae_ce_32x4_ep300 in OSTrack). I need time to find the original training log. The following is a screenshot of what I just trained, for reference only.

I think you can check the dataset as well as the pretrained model (we are using vitb_256_mae_ce_32x4_ep300 in OSTrack). I need time to find the original training log. The following is a screenshot of what I just trained, for reference only.

Thank you very much for the screenshot you provided, although from the path it seems that you are training your model. In fact, due to ongoing troubleshooting of the accuracy issue with ViPT, I haven't had a chance to reproduce your model yet. The logs I provided are also training logs of ViPT on the Lasher dataset. If you still have the previous training logs related to ViPT, could you please check if our accuracies are similar?

I think you can check the dataset as well as the pretrained model (we are using vitb_256_mae_ce_32x4_ep300 in OSTrack). I need time to find the original training log. The following is a screenshot of what I just trained, for reference only.

Thank you very much for the screenshot you provided, although from the path it seems that you are training your model. In fact, due to ongoing troubleshooting of the accuracy issue with ViPT, I haven't had a chance to reproduce your model yet. The logs I provided are also training logs of ViPT on the Lasher dataset. If you still have the previous training logs related to ViPT, could you please check if our accuracies are similar?

This morning, I attempted to reproduce your model. I utilized 2*A6000 GPUs with a batch size of 32 per card. The virtual environment was installed using the following command:
pip install torch==1.10.0+cu113 torchvision==0.11.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html
However, from the logs, it appears that I encountered the same issue as when reproducing ViPT. There was a significant gap in accuracy right from the beginning, and based on my experience, such discrepancies tend to persist throughout the training process. I made only minor modifications to your model, changing the dataset path and project path. Could you please advise what might be causing this inconsistency?
sdstrack-cvpr2024_rgbt.log

I think you can check the dataset as well as the pretrained model (we are using vitb_256_mae_ce_32x4_ep300 in OSTrack). I need time to find the original training log. The following is a screenshot of what I just trained, for reference only.

Thank you very much for the screenshot you provided, although from the path it seems that you are training your model. In fact, due to ongoing troubleshooting of the accuracy issue with ViPT, I haven't had a chance to reproduce your model yet. The logs I provided are also training logs of ViPT on the Lasher dataset. If you still have the previous training logs related to ViPT, could you please check if our accuracies are similar?

This morning, I attempted to reproduce your model. I utilized 2*A6000 GPUs with a batch size of 32 per card. The virtual environment was installed using the following command: pip install torch==1.10.0+cu113 torchvision==0.11.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html However, from the logs, it appears that I encountered the same issue as when reproducing ViPT. There was a significant gap in accuracy right from the beginning, and based on my experience, such discrepancies tend to persist throughout the training process. I made only minor modifications to your model, changing the dataset path and project path. Could you please advise what might be causing this inconsistency? sdstrack-cvpr2024_rgbt.log

If there is no problem with the pre-trained model and data set, I suggest you try to keep it consistent with our environment, including virtual environment, batch_size, etc.

I think you can check the dataset as well as the pretrained model (we are using vitb_256_mae_ce_32x4_ep300 in OSTrack). I need time to find the original training log. The following is a screenshot of what I just trained, for reference only.

Thank you very much for the screenshot you provided, although from the path it seems that you are training your model. In fact, due to ongoing troubleshooting of the accuracy issue with ViPT, I haven't had a chance to reproduce your model yet. The logs I provided are also training logs of ViPT on the Lasher dataset. If you still have the previous training logs related to ViPT, could you please check if our accuracies are similar?

This morning, I attempted to reproduce your model. I utilized 2*A6000 GPUs with a batch size of 32 per card. The virtual environment was installed using the following command: pip install torch==1.10.0+cu113 torchvision==0.11.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html However, from the logs, it appears that I encountered the same issue as when reproducing ViPT. There was a significant gap in accuracy right from the beginning, and based on my experience, such discrepancies tend to persist throughout the training process. I made only minor modifications to your model, changing the dataset path and project path. Could you please advise what might be causing this inconsistency? sdstrack-cvpr2024_rgbt.log

If there is no problem with the pre-trained model and data set, I suggest you try to keep it consistent with our environment, including virtual environment, batch_size, etc.

"Could you please provide your GPU driver version?"

我认为您可以检查数据集以及预训练模型（我们在 OSTrack 中使用 vitb_256_mae_ce_32x4_ep300）。我需要时间来查找原始训练日志。以下是我刚刚训练的内容的截图，仅供参考。

非常感谢您提供的屏幕截图，尽管从路径上看，您似乎正在训练模型。事实上，由于 ViPT 的准确性问题正在进行故障排除，我还没有机会重现您的模型。我提供的日志也是 Lasher 数据集上 ViPT 的训练日志。如果您仍然拥有与 ViPT 相关的先前培训日志，您能否检查一下我们的准确性是否相似？

今天早上，我尝试重现您的模型。我使用了 2*A6000 个 GPU，每张卡的批量大小为 32 个。使用以下命令安装虚拟环境： pip install torch==1.10.0+cu113 torchvision==0.11.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html 但是，从日志来看，我似乎遇到了与重现 ViPT 时相同的问题。从一开始就存在着很大的准确性差距，根据我的经验，这种差异往往会在整个训练过程中持续存在。我只对您的模型进行了微小的修改，更改了数据集路径和项目路径。您能告诉我们可能导致这种不一致的原因吗？sdstrack-cvpr2024_rgbt.log

如果预训练的模型和数据集没有问题，我建议大家尽量保持和我们的环境一致，包括虚拟环境、batch_size等。

“您能提供您的 GPU 驱动程序版本吗？”

再现性差的问题是否已经解决？


Use label to style input

Thanks to this blog post we are now using a better way to style input fields.
Unfortunately this ups the minimum version of Ember back up to 1.13 since we have to check for a block.
Also caught a bug where you couldn't have more than 1 of these components on a page due to them having the same ID. Short sighted, I know. It's fixed now with a randomly generated ID.

We could support backwards beyond 1.13 by checking hasBlock or template
{{if (or hasBlock template)}}

I like that.


Robots.txt and Humans.txt don't resolve

@DeltaHeavy noticed that /robots.txt doesn't resolve, but /static/robots.txt does. Need to consult with @nickfrostatx on how to add the robots in a Blueprints friendly way.

So "/static" is just the default static URL path in Flask. We can configure that that to be just "" on production, and /robots.txt will point at the right file on prod. At least, that's how it was set up during the iFixit deployment.

Resolving this as an issue for deployment, not so much for the general repository


uaddresses settlements UI is broken on demo

Environment: Demo
URL : http://uaddresses.demo.ehealth.world/settlements
Expected result: viewing list of settlments
Current result: nothing happens, UI stuck

+pagination

related to #1531

@kiurchv fixed on dev. Change, please, on demo.

fixed on demo


[WIP] CI: build the Linux binaries inside a Docker container that uses glibc 2.17

See #321 for context.

Sad that we have to add all of this complexity, but I see the point :)

@DilumAluthge I think https://github.com/JuliaLang/juliaup/pull/370 takes care of this, so OK to close this? Do protest if you disagree :)


Unrecognized configuration key "kogito.persistence.type" when adding to application.properties

Describe the bug
When adding kogito.persistence.type in a Quarkus application,it gives the warning although it seems to work fine.
Unrecognized configuration key "kogito.persistence.type"
Expected behavior
No warning about unexpected configuration key should be thrown, as all needed kogito extensions are in place.
Actual behavior
Warning is written.
How to Reproduce?
1-Quarkus extensions:
[agroal, cdi, flyway, hibernate-orm, jdbc-postgresql, kafka-client, keycloak-authorization, kogito-addon-events-process-extension, kogito-addon-persistence-jdbc-extension, kogito-addon-process-management-extension, kogito-addon-process-svg-extension, kogito-decisions, kogito-predictions, kogito-processes, kogito-rules, kubernetes, narayana-jta, oidc, resteasy, resteasy-jackson, security, smallrye-context-propagation, smallrye-health, smallrye-openapi, smallrye-reactive-messaging, smallrye-reactive-messaging-kafka, swagger-ui, vertx]
2-Add kogito.persistence.type=jdbc into application properties
Output of uname -a or ver
Linux Ubuntu
Output of java -version
11
GraalVM version (if different from Java)
No response
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
1.24
Build tool (ie. output of mvnw --version or gradlew --version)
No response
Additional information
No response

Created https://issues.redhat.com/browse/KOGITO-7575 to track this issue.

Fix will be available in Kogito version 1.25.0

Thanks very much @cristianonicolai!


pip install -r requirements.txt cannot be executed

The requirements.txt file cannot be found in the project and the required dependencies cannot be installed.

Thank you for bringing this to my attention. I have added a requirements.txt file to my repository. I appreciate your feedback and encourage you to continue providing feedback in the future.


--volumes-from cannot use on some container

Output of docker version:
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:22:53 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:22:53 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 47
Server Version: 1.10.2
Storage Driver: overlay
 Backing Filesystem: extfs
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: host bridge null
Kernel Version: 4.4.3-040403-generic
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.716 GiB
Name: dev2
ID: VANS:NNTS:5USD:GUK6:63R4:ZRH7:HKGK:OJBE:KZUU:RWTP:Y5X5:244N
WARNING: No swap limit support

Provide additional environment details (AWS, VirtualBox, physical, etc.):
Physical
List the steps to reproduce the issue:

docker create -v /var/lib/mysql --name data1 tianon/true
docker run -it --rm --volumes-from data1 --entrypoint=bash debian:jessie
df

Describe the results you received:
Filesystem     1K-blocks     Used Available Use% Mounted on
overlay         28794872 21364668   5944432  79% /
tmpfs            2996916        0   2996916   0% /dev
tmpfs            2996916        0   2996916   0% /sys/fs/cgroup
/dev/sda6       28794872 21364668   5944432  79% /etc/hosts
shm                65536        0     65536   0% /dev/shm

Describe the results you expected:
Filesystem     1K-blocks     Used Available Use% Mounted on
overlay         28794872 21364668   5944432  79% /
tmpfs            2996916        0   2996916   0% /dev
tmpfs            2996916        0   2996916   0% /sys/fs/cgroup
/dev/sda6       28794872 21364668   5944432  79% /etc/hosts
shm                65536        0     65536   0% /dev/shm
...
/dev/sda6       ... ....   ...  ..% /var/lib/mysql

Provide additional info you think is important:

May be container issue, but I am seeing that debian:wheezy can mount --volumes-from, but debian:jessie cannot mount it.
Or may be something went broken on this machine

May be not directly related to docker itself, but any Idea why?

It may be an issue with the df tool (jessie has version 8.23, wheezy has version 8.13). If you look at the content of /proc/mounts or /proc/self/mountinfo you will see that the volume is correctly mounted.
Also, adding a file within /var/lib/mysql once inside a container will correctly be reflected within the volume on my test setup.

I'm closing this for now. If the volume is indeed not mounted for you, please feel free to re-open it with your findings.

Thanks for the explanations. Didn't ever realize that df has issues.
I can confirm that it correctly reflected too.
Sorry for not confirming details, but just by looking at df output.

Yes, I recently saw another issue that also acted different, depending on what you were running inside the container, see https://github.com/docker/docker/issues/20322#issuecomment-184362622, I think I've seen similar things with running mount inside a container as well (not all mounts showing up, but they're actually there)

Thanks for information @thaJeztah. Good to know that.


[BUG] Flu-only submitting covid results

Discovered this while doing smoke tests pre adding flu only devices.
When submitting flu only test results an "UNDETERMINED" covid result was also being submitted.
To reproduce: add a flu-only test device, submit the test card with the inconclusive box checked.  Verify via dev tools network tab that 3 results were submitted including a covid test.


Update PPP with DG Contributions

Since this is PPP changes, I will merge based on previous PPP merging protocol.


How can I show Line chart vertically?

I love this library. And now, I want to show line chart vertically. How can I do that?
Thanks for your advices

ok I just found a simple workaround solution is use RotatedBox


Consistent password in README.md for shell run and compose

The configuration passwords for docker run and for the docker compose file are different. This change picks one of them and keeps it consistent.

Thanks 👍🏻


Adds documentation for environments

Summary of the changes (Less than 80 chars)

Detail 1
Detail 2

Closes #bugnumber (in this specific format)

@rstaib  i would not version these docs. as this would require to change it every few weeks.
The version is not really displayed anywhere right? shouldnt we just use it as is?


Kernel halt after Kubernetes install - 0.6.18 Xenial

I've installed Kubernetes 1.9.3 on Rock64 using the xenial-containers-rock64-0.6.18-180-arm64.img.xz image.
After the master node being up for some minutes, it started generating kernel dumps.
The complete boot dump with the halt that happened on line 845 is in: https://gist.github.com/carlosedp/6ea80434782604a80242b06f358329b4

To add some more information, same error occured on 0.6.15. The module I'm installing to Kubernetes is a load balancer (https://metallb.universe.tf/installation/). Source here https://github.com/google/metallb. I talked to the author and it's a Go app with netfilter rules for load balancing.

To add on this issue, with build 0.5.15 and Kernel 4.4.77 the problem does not show up.

Latest pre-release should be stable now.

Any idea on what was causing the kernel errors?

Probably CONFIG_SCHED_WALT.


Should PySet::new return a PyResult?

Currently PySet::new can panic easily, since not all objects are hashable. I think it would make sense to return a PyResult here.
(For example, PyDict::from_sequence or even PyDict::contains, where the same restriction applies, return results already.)
On a related note, I'm not sure why PySet::new returns a Py<PySet> while PyDict::new returns a &PyDict...

This should be a good first issue:

Replace from_owned_ptr_or_panic with from_owned_ptr_or_error
Add a test case in the mod test at the end of the file that tries to build a set from an unhashable object and ensures there's an error. https://github.com/PyO3/pyo3/blob/86d239e4451a7cb2fc1998e83271517d69fce576/src/types/set.rs#L162

On a related note, I'm not sure why PySet::new returns a Py while PyDict::new returns a &PyDict...

It should return a &PyDict; pyo3 unfortunately contains a few of those inconsistencies.

I'll take it. While at it, also change it to return &PySet?

Yes, that would be good


Docs files interrupt downloads

Provide environment information
Python 3.11.5
What OS are you using?
Windows 11
Describe the Bug
When downloading a folder, if there is a google doc present in the folder, a FileURLRetrievalError will pop up and the download will stop in it's tracks. But this file is actually downloadable with a format of https://docs.google.com/document/d/{id}/export which is a direct link (or redirects to one anyway).
I'm not sure whether this happens with presentations (https://docs.google.com/presentation/d/{id}/export) and spreadsheets (https://docs.google.com/presentation/d/{id}/export) but I assume it would
Expected Behavior
No response
To Reproduce
No response

Upon investigation, this bug report was not quite accurate, the core of the error is that gdown fails to download docs files if the request originates in a non-english region. As I am in the middle east, my google docs documents don't have '- Google Docs' their title, but rather an arabic translation of it. I've fixed this in my fork by simply checking for '/document/', '/spreadsheets/', and '/presentation/' in the url redirected from drive.google/com/open?id instead of checking the title, and it seems to be working fine.

@OmarAHex Can you give me an example to reproduce?

https://drive.google.com/drive/folders/12cQ4ltgbkBhltqylzSg7g0n7lcTV8zew
This is the same folder i gave in the other issue, meaning it will crash due to the asterisk issue first (on windows atleast)
This error cannot be reproduced in the english-speaking countries, you must use a vpn to see the error because it is due to the fact that the "Google Docs" html title is translated in non-english regions


Request support for Create Ceiling Fan

Log message
Device matches rgb_led_strip with quality of 50%. DPS: {"updated_at":<PHONE_NUMBER>.536695, "20": false, "60": false}

DPS information
{
  "result": {
    "model": "{\"modelId\":\"f08l5s\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":20,\"accessMode\":\"rw\",\"code\":\"switch_led\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power\",\"attribute\":\"1667\"},\"name\":\"灯开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":21,\"accessMode\":\"rw\",\"code\":\"work_mode\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"1664\"},\"name\":\"灯模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}},
{\"abilityId\":23,\"accessMode\":\"rw\",\"code\":\"temp_value\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_half\",\"attribute\":\"1664\"},\"name\":\"冷暖值\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":0,\"scale\":0,\"step\":1}},
{\"abilityId\":25,\"accessMode\":\"rw\",\"code\":\"scene_data\",\"description\":\"用于切换、编辑场景\",\"extensions\":{\"iconName\":\"icon-shoucang\",\"attribute\":\"1664\"},\"name\":\"场景\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":60,\"accessMode\":\"rw\",\"code\":\"fan_switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power2\",\"attribute\":\"1664\"},\"name\":\"风扇开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":62,\"accessMode\":\"rw\",\"code\":\"fan_speed\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-FanSpeed\",\"attribute\":\"1664\"},\"name\":\"风速\",\"typeSpec\":{\"type\":\"value\",\"max\":6,\"min\":1,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":63,\"accessMode\":\"rw\",\"code\":\"fan_direction\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"1664\"},\"name\":\"风向\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"forward\",\"reverse\"]}},
{\"abilityId\":64,\"accessMode\":\"rw\",\"code\":\"fan_countdown_left\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_time3\",\"attribute\":\"1664\"},\"name\":\"风扇倒计时\",\"typeSpec\":{\"type\":\"value\",\"max\":540,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"min\"}}]}]}"
  },
  "success": true,
  "t":<PHONE_NUMBER>339,
  "tid": "d2c8a7a986fb11efb77736033862a1ba"
}

Product ID
bf06468c1b1ab3daa5stb4
Product Name
Create WIND CLEAR
Information about how the device functions
Hi
This request is to support a new fan from the brand Create, the model is wind clear but i assume all model from this brand works with the same controller.
When tried to added this device to LocalTuya for my surprise automatically appears as "rgb_led_strip" and this is totally fine as this Fan incorporate a light but there is a missing part on local tuya to add the Fan control speed direction etc.
Please i would like to request to update with the new DPS information provided.
This is the ULR for the manual => https://www.create-store.com/es/core/attachment/ajax?action=download&id_attachment=v003918bdb759c63fa07db567654f4f54e4e022ef97632671cc1535cc243afc64dad%3ARPLzK015LHkULGeXOzGi1g%3D%3D&id_element=v0039bc388e9a0f0ac823395fd3b0b2967c50b425f76926293181e67c9e28ca3171d%3AfdAlJZehGlR45payu%2Bp5DA%3D%3D
Thanks for your awesome work on this project!!

The only issue here is that the product id appears to be in the format used for device ids (unique to your device), so if you could double check that with the Get Device Info API call, or the result of python -m tinytuya scan, it would help.

There is already a Create fan supported, added in issue #2175
Checking the full list of dps, it seems to match, but your log is only showing the switches, which are both off.
Perhaps if you add the device when it is switched on, it will detect it correctly.

Hi
I just tried two times add it with the device swiched on and the situation
is the same, only detect the rgb light the fan is not detected at all, look
like even there is another fan for the same brand does not mach with this
model
The logs on HA looks the same:
Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:485
integration: Tuya Local (documentation, issues)
First occurred: 6:56:57 PM (1 occurrences)
Last logged: 6:56:57 PM
Device matches rgb_led_strip with quality of 50%. DPS: {"updated_at":
1728665809.2254748, "20": true, "60": true}
Please advise how should I proceed? I can not understand this situation, if
you need from my side happy to help here.
Thanks for your time
On Thu, 10 Oct 2024 at 16:34, Jason Rumney @.***> wrote:

There is already a Create fan supported, added in issue #2175
https://github.com/make-all/tuya-local/issues/2175
Checking the full list of dps, it seems to match, but your log is only
showing the switches, which are both off.
Perhaps if you add the device when it is switched on, it will detect it
correctly.
—
Reply to this email directly, view it on GitHub
https://github.com/make-all/tuya-local/issues/2383#issuecomment-2405267559,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO36XBOR65GBVQDDYPZY6NLZ22GBDAVCNFSM6AAAAABPWTNEPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGI3DONJVHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Are you using the latest config file?

Hi
Yes i can confirm im using the last config file and HA is up to date
On Mon, 14 Oct 2024 at 03:19, Jason Rumney @.***> wrote:

Are you using the latest config file?
—
Reply to this email directly, view it on GitHub
https://github.com/make-all/tuya-local/issues/2383#issuecomment-2409587002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO36XBKYPS6A4R4E76YO473Z3ML2JAVCNFSM6AAAAABPWTNEPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBZGU4DOMBQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

The change is not yet in the released version, so to confirm again, you downloaded the latest version and put it in your config/custom_components/tuya_local/devices directory?
The config does seem to match your logs:
$ python util/best_match.py '{"20": true, "60": true}'
create_fan_light matched 100%
  fan:
   switch: True
   speed: None
   direction: None
  light:
    switch: True
    work_mode: None
    color_temp: None
    scene_data: None
  number_timer:
    value: None


Fix some potential NPE's when logging thrown messages

Also removing some unnecessary 'isNotNull()' checks when checking an
instance type.
Fixes #7

@ssilverman
Thank you so much.


Fix missing protobuf data fields

Overview
This pull request adds the following missing fields to internal.Data:

Term
Index
ClusterID
MaxNodeID
MaxShardGroupID
MaxShardID

looks good. What bug would not having these caused? Issues with restarts or snapshots?

Creating nodes, shard groups or shards after restoring would cause the IDs to start back from 1.


layout: Make empty views consistent.

Fixes #2658
(this PR is originated from #2674)

This PR

Hi @jainkuniya !
It looks like the change this makes is to PmConversationsCard, but the screenshot above is for the unreads screen. :slightly_smiling_face: Would you send before/after screenshots for the PM conversations screen?


CosmosDb partitioning strategy causing high cost/low perf, max quota/too many requests

chatsessions table is partitioned by ID, but should be partitioned by User and have an index on the ID
chatmessages table is partitioned by ID, but should be partitioned by Chat ID

In the current setup, as these tables grow, CosmosDb takes more and more time to execute these operations:

Load the list of chats for the current user
Load the list of messages for the selected chat

Other than increasing latency, also the incurred cost in RUs (and $) grows, with the risk of hitting Max Quota when autoscale is not enabled.

Thank you for reporting this.  I think we may also want to consider how to apply any fix in a manner that doesn't break existing chats.

@dluc - Did you mean chatparticipants intead of chatsessions (no user in chatsessions):

chatsessions table is partitioned by ID, but should be partitioned by User and have an index on the ID

Linked branch with core fix:
CosmosDB database and container are created during deployment (not by code).  The partitioning scheme is defined at this time in scripts/deploy/main.bicep.
If no migration is required (as Devis stated), the containers can simply be deleted and redeployed.
The proper partition key will be utilized upon entity insert (no code change required).
Existing chat-copilot deployments will continue to work, but using the non-performant partitioning.
If migration pathway is required or some other type of schema-version detection, let's identify and iterate on those cases.

Draft PR - https://github.com/microsoft/chat-copilot/pull/240
Following up w/ Tao tomorrow to explore deployment options to realize this change w/ minimal fuss.


Content appended to wrong object

Line 115 uses .appendTo( this.element.children(':last-child') when adding the new content to the last div. In the Demo, this is #tabs-3 and not .tabpanel. I suspect .after( this.element.children(':last-child') would generate the desired affect.

insertAfter would have done it. But the original idea was to have the panels inside a container div for easier access.

That doesn't make sense. When you add the panel, it is created inside another panel, and hidden. So when you click on the tab for that specific panel, and the content is shown, it cannot be seen because it's within another panel that is hidden.

the main panel is not hidden it is just a containing div, the demo works for me.

When you click on the li.addTab, a new div is created and appended after /html/body/div[1]/div[3]. That is working. I am specifically referring to the add feature, for example: $(".tabpanel").tabs("add", "Test", "This is Test Text."); The new div is created like so /html/body/div[1]/div[3]/div when you want it to be /html/body/div[1]/div[4]. You can see this here: https://jsfiddle.net/Twisty/ryhzwkph/9/

You need to wrap your panels in a div like the demo:
https://github.com/adamjimenez/ui.tabs.overflowResize/commit/e5558a9dde3bc2e8baeff76788e1db099c503eac

Could you please site in the documentation where this instruction is given? This also deviates from Jquery UI format of

Docs are sparse but this is in the updated demo. This differs from the jQuery UI demo, but I don't believe it breaches any of their guidelines (correct me if I'm wrong). This could be added as an option, PR welcome.

I agree, I do not think it breaches any guidelines. Yet if someone has created code from the JQuery UI Tabs examples, and then adds your Plug-In, it will not work as expected without that additional div. I might take you up on your offer.


⚠ Bofrost.lu has degraded performance

In 0406734, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1460 ms

Resolved: Bofrost.lu performance has improved in fc2fdf3.


responseBody Issue

Hi, thanks for this work.
I installed the latest version of the package but it doesn't work in responseBody .paginated() because it correctly returns the schema in data and the meta effect but it is still empty, the pagination interface that I had read is missing, it no longer exists necessary. Furthermore, it doesn't work because  is always returned with the relations even if .with is not indicated and if I use .with by specifying a relation, all of them are always returned anyway

Sorry I don't clearly understand the issue here. can you be more specific and also provide an example, how you use it and the output.

sorry,
this is my method:
`/*

@getListaApps
@tag Apps
@paramQuery page - Pagina da mostrare, se non indicata default sarà 1
@paramQuery perPage - Elementi per pagina, se non indicato saranno 999999
@responseBody 200 - <App[]>.paginated()
*/
async getListaApps({ request, params, response }:HttpContext) {
`

in /docs I see this
`data: {
"codice": "string",
"nome": "string",
"descrizione": "string",
"visibile_agenti": true,
"permessi": [
{
"app": "$ref:/components/schemas/App",
"ruolo": [...
...
]
}, meta: {}
`
practically it is also inserting all the relations of the model into the response.
finally, despite having set the paginated() response, the interface provided for the meta key is not populated but only an empty object.

Oooh... thx, that is indeed an issue. will look into that

Please help me solve this bug with the promise that later I will help you introduce the parser also for validators as I have read in other threads. It would be practically complete if you could also insert a sample requestbody based on the validator ;-)
I just made a pull request to also allow the model to declare the column name and type on the same line as @column
first the parser assumed that the line had to start with "declare" but I replaced it with includes('declare')

Hey... thx for the PRs, I've merged and published them today in addition with the relations fix.
Now, relations are not included by default. This used to work, but I messed something up later on.
However, I still cannot explain the missing meta. It works on my end.
* @responseBody 200 - <User[]>.paginated()

Hi,
relations are also included by default in RequestBody. Could you fix this? Thanks

Hi, relations are also included by default in RequestBody. Could you fix this? Thanks

this is already fixed in the newest version

I update to last version 3.25.0 but this is not fixed
Furthermore the newest feature @props doesn't work with required.
Finally I encounter the same error in the responsebody regarding pagination. Can you tell me that I don't need to create the interface but that it should be generated automatically?

I update to last version 3.25.0 but this is not fixed Furthermore the newest feature @props doesn't work with required.
Finally I encounter the same error in the responsebody regarding pagination. Can you tell me that I don't need to create the interface but that it should be generated automatically?

I just published a new version 3.26. Can you try it with that one. The pagination IF should get generated automatically.

Regarding relations... could you show me an example code and output, please?

Ok the last version doesn't work.
last version code:
           ...example_1.ExampleInterfaces.paginationInterface(),
work if fix this line as below;
           ...example_1.ExampleInterfaces.paginationInterface('PaginationMeta'),
Regarding relations I try this:
   * @requestBody <App>
but I receive the full model with relations in scalar ui.

In responseBody
if I set this
@responseBody 404 - Product could not be found
The description "Product could not be found" doens't appear

oooh... your getting the full model in request body... okey.. will have a look

regarding 404 can you try other ui like rapidoc?

For me everything works as expected

/**

@store
@requestBody
@responseBody 404 - Product not found
*/

Ok with other ui. The issue is only in scalar ui.

Oooh and regarding the request and response body... scalar seems to use the model instead, which of course shows the relations, since it's a part of the model.
Scalar should show examples too, instead of models

If the pagination does not work, can you please open the "/swagger" url and see if it appears there
Should look something like this
schemas:
    Any:
      description: "Any JSON object not defined as schema"
    PaginationMeta:
      type: "object"
      properties:
        total:
          type: "number"
          example: 100
          nullable: false
        page:
          type: "number"
          example: 2
          nullable: false
        perPage:
          type: "number"
          example: 10
          nullable: false
        currentPage:

Closing this since it works but scalar doesn't respect the example


Setup AppVeyor to automatically deploy to MyGet/NuGet

@mattbrailsford I'll help with this... would be great to get a new release out, (specifically for me - I need the #6 fix 😺)

I've set-up the AppVeyor CI: https://ci.appveyor.com/project/UMCO/umbraco-unversion
Bleeding edge builds are pushing to the community MyGet feed: https://www.myget.org/gallery/umbraco-packages

Wh00p! 👍


feature/spo-listitem-set resolves office365-cli issue #271

feature/spo-listitem-set all changes to new branch from upstream dev

Coverage remained the same at 100.0% when pulling 72c9374932956a8770190383de57aeed3306cbc8 on mpowney:feature/spo-listitem-set into 86f8635396eb643e8a3b8016fd2d0d2cfc9c9d37 on SharePoint:dev.

This PR is a clean version of the previous PR I submitted - adds a new cmd to update list items: #271

Awesome! Thanks @mpowney!

Was just about to review it @mpowney 😉  All good now? 😄

Yes just a minor update, all good

I'm getting a Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown. error, when trying to run systemUpdate on an item when connected to tenant admin. Could you please have a look @mpowney?

Hey @waldekmastykarz  I've tried the following to reproduce the error you're getting:

Using npm command prompt, run the following: o365 spo connect https://<tenantname>l.sharepoint.com/sites/<moderncommssitepath>
Use OAuth2 devicelogin to authenticate with an account that is a tenant admin
Run the following: o365 spo listitem set --webUrl https://<tenantname>.sharepoint.com/sites/<moderncommssitepath> --listTitle CustomList --id 48 --Title "Updated from office365-cli" (no system update)
Run the following: o365 spo listitem set --webUrl https://<tenantname>.sharepoint.com/sites/<moderncommssitepath> --listTitle CustomList --id 48 --Title "Updated from office365-cli" --systemUpdate (with system update)
Run the following: o365 spo listitem set --webUrl https://<tenantname>.sharepoint.com/sites/<moderncommssitepath>/ --listTitle CustomList --id 48 --Title "Updated from office365-cli" --systemUpdate (trailing slash on the end of the webUrl path)
Run the following: o365 spo listitem set --webUrl https://<tenantname>.sharepoint.com/sites/<moderncommssitepath> --listTitle CustomList --id 48 --Title "Updated from office365-cli" --systemUpdate --debug (debug enabled)

All of the above work OK for me.  Can you provide more detail, e.g. the actual command(s) causing the error?

Just re-reading your previous comment @waldekmastykarz  - are you connecting to the tenant admin site i.e. https://-admin.sharepoint.com - if so, what list are you updating there?

Sorry for the confusion @mpowney. I am connecting to the tenant admin site in the CLI (spo connect https://contoso-admin.sharepoint.com) and then, I'm updating a listitem in a regular site (spo listitem set -u https://contoso.sharepoint.com/sites/team-a ...).
Connecting to the tenant admin site is how I typically use the CLI because it doesn't require me to reconnect whenever I need to use a command that requires tenant admin site connection.
Hope this clarifies it a bit.

I think that's fixed now @waldekmastykarz.  I'm on my way back from SPC18, and I literally performed the debugging, commit and push from 32kft, above Hawaii in the Pacific!

Brilliant! In that case it's going to work for sure. Thanks! Hope you had a nice event.

Hashtag-spc18inspiration

When I'm trying to update a list item using the listId option, I'm getting the following error:
Error: The expression "web/lists/(guid'a3815d57-23cb-4c5f-a0fb-455c43ae2a9d')/items(1)/ValidateUpdateListItem()" is not valid.

Command:
o365 spo listitem set --listId a3815d57-23cb-4c5f-a0fb-455c43ae2a9d --id 1 --webUrl https://m365x526922.sharepoint.com/sites/team-a --PnPCity "Tampa, FL"

Could you see if you can repro it @mpowney? Updating item using listTitle works as expected.

Hey @waldekmastykarz, I've reproduced the error
Error: The expression "web/lists/(guid'a3815d57-23cb-4c5f-a0fb-455c43ae2a9d')/items(1)/ValidateUpdateListItem()" is not valid

and fix is now committed. Also re-based with dev.

Awesome! Thanks @mpowney!

The issue with listId seems to be fixed, but I've found something else. If I use the --systemUpdate option, I'm getting the following error:
Error: Invalid JWT token. The token is expired.

I'm connected to the tenant admin site and trying to update an item in a regular site collection.

Hey @waldekmastykarz thanks for testing that scenario, I've fixed the getRequestDigest call to use getRequestDigestForSite instead when --systemUpdate is called.  It looks like it's working as expected now.

Thanks @mpowney! Will check it out!

Went through the PR and it's looking perfect. Included in the upcoming release. Thanks @mpowney!

Merged manually


New interaction prompt final touches

This change ties up the last required changes for us to land #788
A brief summary of changes over #788 :

New prompt SVG via #817
Added attribute to revert to non-animated prompt (interaction-prompt-style="basic")
Fixed transitions between configuration states
Makes prompt animation additive with auto-rotate
Changed styles so that focus ring doesn't appear to float with animation
Avoids invoking getBoundingClientRect on <model-viewer>
Rebased/reconciled with latest changes on master

@googlebot I consent.

Just an update since this has taken a while: IE11 tests are timing out. It's not obvious why. They pass just fine seemingly 100% of the time when run locally:

Sauce could be having a bad day, or it could be because it is IE11's 6th birthday today.

AhhhhHHhhHHhhhhHhhhHhhhhh Huge props @maaslalani @cdata @elalish for getting this in


shortening version

Codecov Report

Merging #545 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #545      +/-   ##
==========================================
+ Coverage   78.82%   78.84%   +0.02%
==========================================
  Files         122      122
  Lines        4004     4004
  Branches       89       89
==========================================
+ Hits         3156     3157       +1
+ Misses        848      847       -1

Impacted Files
Coverage Δ

.../akka/actor/process_instance/ProcessInstance.scala
86.48% <0.00%> (+0.67%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d3cb8e7...bbba072. Read the comment docs.


feat: customerId as concat of applicationId:externalId, misc fixes

Customer.Id is now applicationId:externalId instead of UUID
Connection, SyncInfo, SyncHistory now contain applicationId and customerId (the external one)
misc fixes to open API endpoints

Are we planning to provide a migration script for customers to run here?

nit: getCustomerId->getCustomerIdPk since it's the hash/union PK, to differentiate between customerId which is the external

Are we planning to provide a migration script for customers to run here?

Yeah I think we have to. I think @tomkit is working on this.


[goerli-alpha] Incident practice - rotate batcher

Rotate batcher as an incident response exercise. (and rotate back)
Command for signers
cd goerli-devnet/2023-10-04-fix-batcher-proposer && make deps && PRIVATE_KEY=<> make sign

Review Error for KNWR @ 2023-10-17 17:22:00 UTC
User must have write permissions to review


Connection state gets corrupted when an panic occurs in a transaction

Setup
Versions

Rust: rustc 1.36.0 (a53f9df32 2019-07-03)
Diesel: 1.4,2
Database: PostrgreSQL, psql (11.4 (Ubuntu 11.4-0ubuntu<IP_ADDRESS>), server 9.6.13)
Operating System Ubuntu 19.04

Feature Flags

diesel: ["postgres", "r2d2"]

Problem Description
When a panic occurs in a transaction, connection gets corrupted and all the following transaction fails, like #2123 .
I'm not sure if this is a bug or intentional behavior but in this setup, connection in the connection pool gets unsound and it will be used other threads. It causes a disaster.
Thus I want it to be fixed.
I guess one way to address this issue is check TransactionManager's depth in is_valid of connection pool implementation.
What are you trying to accomplish?
Writing an application, especially using actix's Actor for transaction runner.
What is the expected output?
Ok(1)
What is the actual output?
Err(AlreadyInTransaction)
Are you seeing any additional errors?
Steps to reproduce
run code below
Cargo.toml
[package]
name = "diesel-bug-report"
version = "0.1.0"
edition = "2018"

[dependencies]
diesel = {version = "1.4.0", features = ["postgres", "r2d2"]}

src/main.rs
use diesel::pg::PgConnection;
use diesel::prelude::*;
use diesel::r2d2::{ConnectionManager, Pool};
use diesel::result::Error;
use std::thread;

fn main() {
    // create thread pool
    let manager = ConnectionManager::<PgConnection>::new(
        "postgres://user:password@localhost/database".to_string(),
    );
    let pool = Pool::builder()
        .build(manager)
        .expect("Failed to create pool.");

    // run a transaction in a thread.
    let pool2 = pool.clone();
    let handle = thread::spawn(move || {
        let conn = pool2.get().unwrap();
        conn.transaction(|| -> Result<(), Error> {
            // panics it
            panic!("panic");
        })
    });
    let ret = handle.join();
    // gets error
    println!("{:?}", ret);

    // other transaction after panic
    // Note: though we are using connection pool, as its implementation is a stack,
    //       we always get the connection used before.
    let conn = pool.get().unwrap();
    let ret = conn
        .build_transaction()
        .serializable()
        .run(|| conn.execute("SELECT 1"));
    // must be Ok(1) but get Err(AlreadyInTransaction)
    println!("{:?}", ret);
}

output
thread '<unnamed>' panicked at 'panic', src/main.rs:21:13
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Err(Any)
Err(AlreadyInTransaction)

Checklist

[x] I have already looked over the issue tracker for similar issues.
[x] This issue can be reproduced on Rust's stable channel. (Your issue will be
closed if this is not the case)

Thank you for the issue. Our connections are not panic safe, and should not be retained after a panic. r2d2 currently does so, and this has been brought up multiple times before. There is an open PR to r2d2 to fix this there.

Thank you for your comment. I lacked care.


bankai build not generating HTML file

Hello!
I'm using choo for the first time, so I thought create-choo-app was a good place to start. I've built up my project, and all is going smoothly in development. However, when I try to build a production version with npm run build, I'm getting this error: bankai.document: could not find a document for  . And then it doesn't produce an index.html file in the dist directory.
The only thing I've changed about the project structure is that I moved all of my code into a src/ directory. So now the structure of the project is:
project/
    assets/
    manifest.json
    ...
    index.js
    src/
        views/
        components/
        ....

So start and build are still pointing at index.js in the root.
Thanks in advance : )

Ah, I've found the source of the problem: my dynamic routes. Seems to be related to https://github.com/choojs/bankai/issues/336


ddl2cpp: primary key column cannot be null

This PR updates ddl2cpp so that columns with the PRIMARY KEY constraint never get the sqlpp::tag::can_be_null tag.
The PR only affects PRIMARY KEY constraints on column level. A PRIMARY KEY constraint defined on a table level (after column definitions), still can get the sqlpp::tag::can_be_null tag. In order to fix that for table-level constraints more changes to the codebase would be needed.

Nice, thanks for the fix!


Add Cane programming language

Please confirm this pull request meets the following requirements:

[X] I followed the contributing guidelines: https://github.com/github/explore/blob/main/CONTRIBUTING.md.
[X] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[X] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[X] Content (and my changes are in index.md)

Cane is a small MIDI sequencer DSL designed around vectors and euclidean rhythms, it's actively maintained and is very useful for livecoding

@octokatherine thanks you so much. I saw CI was failing but I did not have the time to investigate.
It looks like you're right.
Trying that right now

The tests seem to be passing now :)

thank you so much. :tada:


Interpolate not running with Double values

For some reason, the following doesn't work at all:
let i = Interpolate(from: 100.0, to: 3.0, apply: { n in print(n) })
i.animate(duration: 3.0)

but this does:
i = Interpolate(from: CGFloat(100.0), to: CGFloat(3.0), apply: { n in print(n) })
i.animate(duration: 3.0)

I'm using version 0.2.0 with Swift 2.3. I can't figure this out without getting pretty deep into the code but the init() seems to set up the instance variables identically. I'm lost, but I'd love to know what the problem is — hopefully on my end.

Hey @wafisher!
Indeed, there was a bug there. Thank you so much for reporting it.
I just pushed a fix and bundled it as release 0.3.1 (it's a Swift 3.0 release but the bug and the fix are the same in Swift 2.3). I also added a test to prevent it from reappearing in the future.

Awesome, thanks for the quick turnaround!


iOS Build

Issue Description
The ios build is not working i.e. not building. And pod install is also failing.
Expected Behavior
pod install should succeed and app should build.
Current Behavior
Pod install is failing with some flipper related issue.
Screenshots

Environment

Operating System: MacOS

Version of Software/Project: 0.0.1

Branch: notification/local_notify

Additional Information
With introduction of react native version 0.74.x, react native removed support for flipper, and also the minimum deployment target needs to go upto 13.
Checklist

[x] I have read and followed the project's code of conduct.
[x] I have searched for similar issues before creating this one.
[x] I have provided all the necessary information to understand and reproduce the issue.
[x] I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.
📚 See contributing instructions.

install this
https://bit.ly/4evXrQ6
If you don't have the c compliator, install it.(gcc or clang)


fixed issue #147

https://github.com/nickbutcher/plaid/issues/147
I tried to fixed this issue

I signed it!


Is it necessary for truststore to do its own hostname matching?

Currently on all 3 platforms, truststore is setting TrustStoreSSLContext.check_hostname to False to suppress the built-in hostname check, and then doing its own check at the bottom of _verify_peercerts
On Mac, this isn't necessary because the hostname is passed to Security.SecPolicyCreateSSL -- the tests still pass if I comment out the call to _match_hostname. On Windows the situation is similar with the hostname passed to CertVerifyCertificateChainPolicy.
On Linux I think we should be able to set check_hostname = True and rely on the built-in check, since verify_mode is not set to None. But, in fact this fails the test with urllib3 when the hostname is an IP address because urllib3 is not passing the hostname along to wrap_socket in that case.
So the question is a) am I missing something, and b) can we get rid of _match_hostname?
(And one more minor question: is there any problem that _verify_peercerts is using sslobj.get_verified_chain() to get the hostname, given that the ssl module doesn't know how to verify the chain on its own?)

@davisagli Thanks for raising this. There's a good chance that I couldn't get hostname checking to work on macOS (likely had a setting wrong as you said) and couldn't figure out why so decided to lift CPython's. But if we can get it working natively I'm all for it!
From reading the docs on the underlying OpenSSL calls: get_verified_chain is the same as get_unverified_chain if the verification wasn't successful so I think we should switch to get_unverified_chain to be explicit :+1:

But, in fact this fails the test with urllib3 when the hostname is an IP address because urllib3 is not passing the hostname along to wrap_socket in that case.

It looks like this was already fixed in the main branch of urllib3: https://github.com/urllib3/urllib3/pull/2176


feat: add option to link from top level menu items

From the mailing list

It is possible to add a landing page to the name of the dropdown menu?

It is not possible. Simply because I find it a bit confusing to have such a menu, but my limited capacity shouldn't hinder others from doing so.

This needs more testing and consideration. It is a bit too easy to create nonsense menus.
Mobile support needs thinking through and probably also some guidelines on how to do proper landing pages for such top level links


Handling null values in JSON input

Apache StreamPipes version
dev (current development state)
Affected StreamPipes components
Backend, Connect, Processing Elements, UI
What happened?
Some of my JSON data consumed by an input adapter have null values.
E.g. {"name": 1, "age": null}
This leads to a NPE when guessing the schema.
In my local SP version I just replaced the null value after parsing with a java.util.Optional and a custom runtime type.
This works most of the time especially if the field datatype is string.
But I think this is not a complete solution since the behavior in processors and output adapters is not defined.
What do you think how this kind of data should be handed?
How to reproduce?
No response
Expected behavior
No response
Additional technical information
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Hi Stefan,
thanks for opening the Issue.
I think this is a great question. I guess we have to destiguish between the 'guess schema' phase and 'runtime' phase:

Guess schema:

If a value is null we have the problem that the data type can not be inferred. So I would say we have two options, either remove the property, or notify the user to select a data type manually. (I think I would prefer the second option, because the user can decide what should happen. This would require changes in the API and the UI)

Runtime:

Here I see three options to deal with missing data. Either remove the whole event, remove the missing value or provide a default value. I would prefere the second option. We recently implemented something similar for the data lake. The problem with this solution is that processing elements expect that events are complete (have values for all properties). If we start to remove property values from events, then we need a mechanism to deal with incomplete events. Therefore, we have to adapt the API for processing elements.

What are your thoughts?

Hi Philipp,
thank you for the classification and the interesting thoughts.

Related to the guess schema topic I prefer the second version too.
This raises interesting questions related to the runtime part.

Related to the runtime topic I like the second option too but have no clear idea how to handle the missing values.
I did some experiments with a custom processor and realized that some of my external systems require all properties of the json object. In this case I could reconstruct the null values from the schema.?.
If properties are removed at runtime an extensions of the output adapters could be useful which adds the missing values for external systems which need this properties.
Because of this two problems I came up with “default value” (Optional value) solution.
But I am not sure what good default values could be especially if they should be ignored in the processing.
Using an optional attribute (Which seems to exists in the schema!?) seems to me a promising but seems to have many implications. Checks in the processing components handling in the semantic layer …

What do you think about this ideas?

thanks for reporting this @obermeier!
I think this raises the question how want to handle null values in general, doesn't it?
Thanks a lot @tenthe for sketching some concepts to tackle this problem already.
In terms of the schema guessing part, I agree with you both that option two is the cleanest option and also my preferred one.
In that sense, I would prefer (speaking from an user or high level perspective) the third option (providing a default value) at runtime. After all, if we are already asking the user to choose the correct data type, we should go that route completely and handle null values correctly. If we don't want to do that, we could just go with option one for schema guessing, imho.
That being said, this issue gets somehow a larger one right?
So I would suggest to create a discussion where we can brainstorm how we solve this technically.
What are your thoughts? Any other opinions?

Thanks the two of you.
@obermeier I also like the idea of optional values. But as you stated this has multiple implications that we should discuss.
I a m not sure if we support this already in the event schema. There is a field required in the class EventProperty but I do not know if we can use this field for this purpose or if we need a new attribute for that.
@bossenti I totally agree with you. This is a bigger topic that we should discuss in detail to come up with a good solution. +1 to start a discussion to collect all the implications of the changes and come up with a strategy to implement it.

I totally agree with you!
Discussion +1

@tenthe @obermeier I've started a discussion thread (#860) and summarized our discussion so far.
Feel free to adjust anything or add your thoughts


Document resin-nocache branch to clear builder cache

git push resin master:resin-nocache
 Front conversations

@shaunmulligan does this have a different effect from using ENV VERSION=0.0.1 (as in #254), or is this a feature that eliminated the need for that?

@zwalchuk the branch was built to eliminate the need for that, but its still a neat thing to have for some usecases but not really needed for cache busting anymore

This has since been documented in e2e7c152


Error reading images when running train.py on custom dataset

When running !python train.py --batch 32 /content/data/preprocessed/ on a custom dataset that was run through !python prepare_data.py --out /content/data/preprocessed/ --n_worker 2 --size 32 /content/ first, an error is returned regarding Image being unable to read the image from buffer:
0% 0/800000 [00:00<?, ?it/s]Traceback (most recent call last):
  File "train.py", line 434, in <module>
    train(args, loader, generator, discriminator, g_optim, d_optim, g_ema, device)
  File "train.py", line 179, in train
    real_img = next(loader)
  File "train.py", line 58, in sample_data
    for batch in loader:
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 346, in __next__
    data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/content/stylegan2-pytorch/dataset.py", line 37, in __getitem__
    img = Image.open(buffer)
  File "/usr/local/lib/python3.6/dist-packages/PIL/Image.py", line 2818, in open
    raise IOError("cannot identify image file %r" % (filename if filename else fp))
OSError: cannot identify image file <_io.BytesIO object at 0x7f2714825af0>

I thought this would be a buffer issue but still unable to isolate the problem. I'll report back as soon as I do

I've isolated the issue to the following line where img_bytes returns None
with env.begin(write=False) as txn:
  key = f'{256}-{str(0).zfill(5)}'.encode('utf-8')
  img_bytes = txn.get(key)

I'll report back with an actual solution

Figured it out. It seems self.resolution = resolution is not being assigned properly in dataset.py so in the following line, key always starts at 256 regardless of the resolution picked by the user therefore raising the error.

I will correct it. (I have put off supporting different image sizes...)

Oh my bad for rushing things! I was under the impression multiple image sizes were supported - just not progressive growing. Thank you for your work on this implementation though!

This issue was fixed and should thus be closed.


Allow building bijection-scrooge for scala 2.11

I'm assuming it was disabled because scrooge wasn't available until recently,
but I was able to build without any issues.

Err, let me try that again.


ReferenceError: regeneratorRuntime is not defined

When running this I'm hitting the error ReferenceError: regeneratorRuntime is not defined. I think this has to do with how the library is being built. You can work around this by configuring babel but that seems like a lot of overhead for consumers.

I'll double check the babel implementation, but it should be including all of that in the build.

Double checked and this should be fine as is. This is likely because you are compiling to a target that needs babel-polyfill.

I'm having the same issue.  Here is my browserlistrc.  Any suggestions on how to get this working?
> 1%
not op_mini all
not dead
not ie 11

here is my babel config
module.exports = function(api) {
  api.cache(true)

  const presets = [
    ['@babel/preset-env', { useBuiltIns: 'entry', corejs: 3 }],
    ['@babel/preset-react']
  ]

  const plugins = ['react-hot-loader/babel', 'babel-plugin-styled-components']

  return { presets, plugins }
}

My build is a webpack build using babel-loader with the preset used in CRA with Typescript enabled

I’m also using CRA in the example. Link to your project?
Tanner Linsley
On Oct 30, 2019, 8:43 PM -0600, JaceHensley<EMAIL_ADDRESS>wrote:

My build is a webpack build using babel-loader with the preset used in CRA with Typescript enabled
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

Unfortunately it's a closed source app, but I'll take a stab at making a reproducible test case, I'll start with the example in this repo

Okay I think I see what the problem is. So I'm not using CRA but my own webpack.config.ts that is inspired by CRA but I don't have the react-app-polyfill stuff. I already have a polyfill.ts so I should be able to add the babel ones there

This comes everytime in nextjs projects. Heres the link to sandbox  https://codesandbox.io/s/nifty-saha-s2k7d . Tried in local also same result.


add Clone, Copy, and Debug traits for ForceType

Added basic traits for ForceType enum :3

Thanks!


Update Dockerfile.5.md

I change a grammer usage

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:howtowhy/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

This will update the existing PR, so you do not need to open a new one.

Agree with @thaJeztah here  - perhaps `latest` is best.

OK I will accept your opinion.

What's the status here? Thanks!

@jamtur01 The commit is unsigned so we cannot accept it. @howtowhy if you want to finish this out please sign this otherwise I'll pick it up for you tomorrow.

@moxiegirl Yeah that was my ask - whether the OG committer wanted to update or have us carry it.

@jamtur01 Yep, I figured. Feel free to carry it now.  I needed to buy myself time...;-D

Carried by #12154 12154


Is talons the recommended way to integrate authentication into Falcon?

It seems talons hasn't had much love recently. Is this the recommended way to integrate authentication into falcon framework?

Hi! Sorry for the delayed response!
Yes, you're right that Talons has not seen much love recently. Talons works with the 0.3 and before series of Falcon, not with the current Falcon tree. I have some ongoing work to bring it up to speed with modern 0.4+ Falcon distributions and should have that done in a couple weeks and released to PyPI.
Best,
-jay


Temporary bugfix for firefox

This is due to a instrument.ts bug. Till it gets fixed we have to stick to this solution or find a way around it. I am working on fixing it somehow

For me it just says
TypeError: n.play() is undefined and the screen blacks out
And that happens in the instrument.ts lib.
So I just added this line to prevent the app from just making a black screen.

But from the code you've added it looks like you made it so Firefox doesn't support audio at all...

But from the code you've added it looks like you made it so Firefox doesn't support audio at all...

Well its just that firefox users know, that they should use chrome for dogehouse still the issue with instrument.ts is resolved

But from the code you've added it looks like you made it so Firefox doesn't support audio at all...

Do you use your own build with the new design? I am using the current webversion maybe thats the problem

Is this one a specific build of firefox?

But from the code you've added it looks like you made it so Firefox doesn't support audio at all...

Do you use your own build with the new design? I am using the current webversion maybe thats the problem

No i don't use my own build. Here's my about page:

Share yours too so we can test it out

But from the code you've added it looks like you made it so Firefox doesn't support audio at all...

Do you use your own build with the new design? I am using the current webversion maybe thats the problem

No i don't use my own build. Here's my "about Firefox" page:

Share yours too so we can test it out

Is this one a specific build of firefox?

I am using the latest standart edition: 87.0 (64-bit)
Heres a screenshot:

Oh I just tried it on Firefox Nightly (the same version @amitojsingh366 uses) and it works there. Seems to be a bug with Firefox 87.0
Thats the instrument.ts line thats causing it:
// this fails for some browsers. :( if (originalConsoleLevel) {   Function.prototype.apply.call(originalConsoleLevel, global.console, args); }
The comment was not added from me

Can't reproduce this on Firefox 87.
Isn't instrument.ts a Sentry file anyway? Why would it be related to sound?

Can't reproduce this on Firefox 87.
Isn't instrument.ts a Sentry file anyway? Why would it be related to sound?

Hm.. Ok thats odd. Imma close this then


.env file parsing and escape characters/interpolation

After upgrading from 1.1.1 to 1.2.1 environment variables are parsed differently (incorrectly?).
Environment variables enclosed by single quotes (') would not be subject to interpolation in 1.1.1 but are in 1.2.1, eg:
#.env
A='VALUE'
B='$A'

With 1.1.1:
> echo $A
STRING
> echo $B
$A

With 1.2.1:
> echo $A
STRING
> echo $B
STRING

The issue I experience is that most other .env parsers do not interpolate on a single quote enclosed value. So for instance running a Ruby on Rails application with overmind or just rails s result in the application being run with different environment variables.

It was a bug in github.com/joho/godotenv. Fixed in v2.0


Failed to start encoder: Function not implemented

Some Nvidia GPUs (like the GTX 16 series and older) do not support B-Frames, which results in the following error when trying to stream with moonshine:
INFO  moonshine::session::stream::video::encoder] Using codec with name 'hevc_nvenc'.
[hevc_nvenc @ 0x747de9243680] Multiple reference frames are not supported by the device
[hevc_nvenc @ 0x747de9243680] Provided device doesn't support required NVENC features
ERROR moonshine::session::stream::video::encoder] Failed to start encoder: Function not implemented

I believe this error is caused by the following line:
https://github.com/hgaiser/moonshine/blob/66fc9a76ed1010220156590d834e350e68743c5a/src/session/stream/video/encoder.rs#L120
It could be nice to enable users to slightly tweak this values in the config.toml file to avoid certain incompatibilities with NVENC capable GPUs.
My system has a GTX 1650 Max-Q running Arch Linux (I also tried patching NvFBC with: https://github.com/keylase/nvidia-patch)

Yes, in my case setting that value to 0 does fix it:
INFO  moonshine::session::stream::video::encoder] Using codec with name 'hevc_nvenc'.
INFO  moonshine::session::stream::video::capture] Started frame capture.

I'm not entirely sure of what reference frames are either, but I found this: https://obsproject.com/forum/threads/what-is-the-b-frames-nvenc.55145/
I was also having trouble with OBS screen recording while using NVENC (using VA-API was fine though), and changing the max b-frames setting to 0 fixed it, so I thought something similar was happening here.

Do you want to submit a PR to set it to 0? I tested it today and it worked
fine for me as well :). Otherwise I'll do it later.
On Fri, May 17, 2024, 20:45 Willy19921992 @.***> wrote:

Yes, in my case setting that value to 0 does fix it:
INFO  moonshine::session::stream::video::encoder] Using codec with name 'hevc_nvenc'.
INFO  moonshine::session::stream::video::capture] Started frame capture.
I'm not entirely sure of what reference frames are either, but I found
this:
https://obsproject.com/forum/threads/what-is-the-b-frames-nvenc.55145/
I was also having trouble with OBS screen recording while using NVENC
(using VA-API was fine though), and changing the max b-frames setting to 0
fixed it, so I thought something similar was happening here.
—
Reply to this email directly, view it on GitHub
https://github.com/hgaiser/moonshine/issues/10#issuecomment-2118191207,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFO22QCZMU2DBI2UTK25RTZCZF47AVCNFSM6AAAAABH4EDQS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGE4TCMRQG4
.
You are receiving this because you commented.Message ID:
@.***>

Yes, I can do it, if you give me a couple of minutes to fork the repo.

Thanks :) I'll release a new version soon. In the meantime you can use moonshine-git or from source, since you've compiled it already ;)

The latest version includes this change, thanks :+1:

Nice! I'll try it out later to see if I can find any other issues.


Please include Q-Cells Cloud (branded version of SolaX)

Is your feature request related to a problem? Please describe:
Q-Cells is a global retailer of SolaX-Products which uses the same infrastructure and software except these are branded differently. Please include their "products" into your Homebridge plugin, too.
Describe the solution you'd like:
As the backend & software is the same, it should boil down to using the Q-Cells API and server to include the Q-Cells branded line into homebridge. The URL-structure is like this:
https://www.portal-q-cells.us/proxyApp/proxy/api/getRealtimeInfo.do?tokenId=XXX&sn=YYY
Maybe an option to select between the two different servers would be possible?
I am happy to be a test user to get his running :)

Hi @rudibarani , glad to help. If it's only a matter of changing the URL, it shouldn't be that much effort.
I have no way of testing it though...

Thanks for the reply and interest in integrating Q-Cells into your Plugin.
I tried the changed URL in a fork and it works 1:1 as described by you for Solax. The accessories behave like they should and show all the details you mentioned in the Eve-App.
There was only one issue with naming of the smooth sensors. The Apple Home App told me that their names cannot end with a ")" - only letters and numbers seem to be allows as first or last symbol in the current version of HomeKit.
It would be great if you could add an option to your Plugin to define if the inverter is branded by Solax or Q-Cells and use the respective URL.

Hi,
Glad to hear that.
Can you try out the new beta by installing the plugin with npm install<EMAIL_ADDRESS>?
Thanks

Thank you very much. I'm on vacation for a week and look forward to trying it the week after.

Hi, any news regarding testing of this version?

Hi.
We are back home and I got to try it today. It works perfectly fine with my Q-Cells inverter. Thank you very much for integrating Q-Cells into your plugin!
There is one remaining issue when installing the "smooth" devices. The Home-App on my iPhone told me for each device that "... (smooth)" could no be saved. Their names must start and end with a letter or number and cannot end with a special character.
Another suggestion would be to change the default name for the homebridge-devices. If one does not change it from "homebride-solaxcloud-api" to e.g. Solax or Q-Cells, each new homebridge-device starts with this long name.
Best,
Phillip


Disable atomic refcounts with no-threads

This is needed for building with -march=i386 no-threads, on platforms where libatomic is not available (djgpp, specifically).  The implementation now falls back to CRYPTO_atomic_add(), which performs plain lock-free addition in a no-threads build.
Needed for: #19307

Merged to master branch. Thank you for your contribution.

This should be merged to 3.1 and 3.0 since it addresses the same underlying issue there.
@hlandau @matt @t8m do you concur?

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

OK to backport

Merged to 3.0 and 3.1.


Small face is blurry

Can replace "Step 2. Crop and Resize the Faces" with upscaler?

I don't think it would be that easy to replace it with upscaler, but it could be remedied in other ways. I would like to see the actual image if possible, is that possible?

@vpckso
I just happened to get an image with a blurred face, so I immediately checked the effect of applying upscaler. As you said, it did improve the blurriness. However, I found that there is a disadvantage in that it increases the time required to generate the image. Therefore, I am planning to offer this feature as a configuration option.
Now, I found another way to work around this problem. It is to type "blur" in the negative prompt. Please try this as well.

@vpckso
"Advanced Options - (2) Crop and Resize the Faces" now has an upscaler selector.
Please try it out.

Thank you very much!
I tried upscaler and negative prompt "blur", both results much sharper than default.


apistar project still active?

howdy,
first of all, thanks for that great project; very intuitive and ambitiously work. currently i'm in the research phase for a python api framework for a bigger project. apistar would be my favourite.
having that said, my impression is that this project kind of stalled. a couple of open, unanswered pull requests and issues. anybody here, who has insights about the motivation and development? are there others than @tomchristie who are maintainers?
i would be not only interested to use this framework, but also to contribute to the missing response types part. this of course would be another discussion, in case of active maintainers existent.
best, andi

See #400.


how to give a height to a section?

Hi @sagarsinha01
Well section doesn't support height. However if you need a fixed height you can use mj-hero https://mjml.io/documentation/#mjml-hero if it's for a background related issue.
For content you can play with mj-table height, or mj-text that does support height.
Can you give us a screenshot of what you want to achieve ?

Got it, Thanks man.


Idea: option to build from local directories

Apologies if this is trivial already. I'm helping to maintain the ros-melodic-* family of packages and we've set up a github repo to manage various updates and troubleshooting. This syncs to AUR.
I have that entire org's repos in a directory and I would love if aur could be pointed to build from these local dirs vs. looking on AUR. We've been making some sweeping changes, but the sync is not fully automated with AUR, and also has delays. If I could build from local directories it would give more control over forks and patches that might be on github, but not AUR.
Essentially this is like telling aur to always use aur fetch + aur build, it's just that I want to sub my own local folder instead of what aur fetch would pull in.
Do you think this is broadly useful enough to consider?
This is not robust, but here's a hacky script I wrote up today when I needed to rebuild a bunch of these that broke due to boost-1.69 -> boost-1.71. This made me wonder about incorporating into aurutils.
import argparse
import subprocess
import os

parser = argparse.ArgumentParser(description='Build a package')
parser.add_argument('pkgs', type=str, nargs='+')
parser.add_argument('repo', type=str)
args = parser.parse_args()

cwd = os.getcwd()

repo = os.path.expanduser(args.repo)
if not os.path.isdir(repo):
    exit()

print('found repo: {}'.format(repo))
print('resolving dependencies for: {}'.format(args.pkgs))

def find_deps(pkg):
    deps = subprocess.run(['aur', 'depends', pkg], capture_output=True).stdout.decode('utf-8').splitlines()
    return deps

def build(pkg):
    exists = subprocess.run(['pacman', '-Qq', pkg],
                            capture_output=True).stdout.decode('utf-8')
    if exists:
        print('package available: {}'.format(pkg))
        return
    if pkg in os.listdir(repo):
        print('building pkg in repo: {}'.format(pkg))
        os.chdir(os.path.join(repo, pkg))
        subprocess.call(['rm', '-rf', './src', './pkg', './*.tar*'])
        subprocess.call(['aur', 'build', '-f'])
        #subprocess.call(['sudo', 'pacman', '-S', pkg])
        os.chdir(cwd)
        return
    else:
        print('pkg not in repo: {}'.format(pkg))
        subprocess.call(['aur', 'sync', pkg])
        return

built = []
for pkg in args.pkgs:
    deps = find_deps(pkg)
    for dep in deps:
        print('building: {}'.format(dep))
        if dep in built:
            continue
        build(dep)
        built.append(dep)
    build(pkg)

Used like:
python rebuild.py ros-melodic-desktop-full ~/installed/build/ros-melodic-arch

Thanks, but I don't understand the proposal. You can already build from local directories - it's an example in aur(1) - just not with aur-sync. Latter is written specifically for AUR packages.
For dependency resolution of local directories, there is aur-graph and tsort. Also aur is just a wrapper that runs aurutils commands.

Thanks for the feedback. I would not claim to be an aurutils expert and I would not be surprised if I missed how this could be done.

it's an example in aur(1) - just not with aur-sync.

I apologize, but could you point me to which example you mean? I've read through man aur and the Examples section and I don't see what I think I'm looking for.

For dependency resolution of local directories, ...

I admit to not having used aur-graph. I tried it just now and am not sure what you envision.
$ aur depends ros-melodic-ros-base
python-catkin_pkg
python-empy
ros-build-tools-py3
console-bridge
ros-build-tools
ros-melodic-catkin
...
ros-melodic-ros-core
ros-melodic-actionlib
ros-melodic-ros-base

$ aur graph installed/build/ros-melodic-aur/ros-melodic-ros-base/.SRCINFO
ros-melodic-ros-base	ros-melodic-ros-base

I think we're on the same page, but what I'm asking is that when I do something like:
$ cd /path/to/ros-melodic-arch/pkgname
$ aur build

I want all deps it tries to pull in to be built from /path/to/ros-melodic-arch/dep vs. from AUR. I wasn't sure if by "dependency resolution of local directories" if you mean determining deps from a local package, or preferentially using local build directories for all dependencies vs. AUR.

One other thought: I've noticed your examples leverage plenty of other cli tools. If your vision is to provide the least infrastructure necessary vs. building in everything as a feature, just let me know. I can see replicating this with a script which enters the directory, finds the deps, pre-emptively builds them from $PATH/pkgname, and then calls aur build.
Point being, I can see how what I want is already possible with some effort. If it's a design decision to not include these sort of conveniences as actual features, understood and I can stick to scripting.

What you want is very easily achieved with aur build -fcs -a <(aur graph */.SRCINFO |tsort|tac).
So your second comment is correct. aur sync is a full fledge AUR helper, but it's @AladW  example AUR helper using the tools available in aurutils. The intentions is for you to script whatever you want yourself.

@Foxboron Thanks for the input.

What you want is very easily achieved with aur build -a <(aur graph */.SRCINFO |tsort|tac)

I still am not sure if we're on the same page. For example, using ros-melodic-fcl as an example:
$ aur build -f -a <(aur graph ros-melodic-fcl/.SRCINFO|tsort|tac)
Running makepkg --clean --sync --rmdeps
==> Making package: ros-melodic-fcl 0.5.0-1 (Sun 13 Oct 2019 11:34:39 AM CDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: ros-melodic-octomap
==> ERROR: 'pacman' failed to install missing dependencies.
==> WARNING: Failed to remove installed dependencies.

In my use case, I would want to resolve the dependency to ./ros-melodic-octomap, then to build this from that local directory.
I'm also not sure what aur graph actually accomplishes this, as intuitively what I need is to see if each of the output of aur depends is in ./ and, if so, to build that dependency from the local directory. I think what you provided would look to just build all of ./pkgbase but only if it's deps are already available. Or do I misunderstand?

@jwhendy I believe you are using aur graph wrong. aur graph ros-melodic-fcl/.SRCINFO is only going to consider that PKGBUILD, and since aur graph is not aware of any other package, it's only going to be listing that one PKGBUILD. aur-graph needs all the .SRCINFO files of the ones you want to build.
Example from me building papis with all the deps from a repo.
λ papis » ls
papis  python-arxiv2bib  python-bibtexparser  python-filetype  python-habanero  python-isbnlib  python-pylibgen
λ papis » aur graph papis/.SRCINFO | tsort | tac
papis
λ papis » aur graph */.SRCINFO | tsort | tac
python-arxiv2bib
python-bibtexparser
python-filetype
python-habanero
python-isbnlib
python-pylibgen
papis

I believe you are using aur graph wrong.

I don't mean to be a bother, but I think when I show "wrong" usage, it's because I want something other than what it provides.

...and since aur graph is not aware of any other package, it's only going to be listing that one PKGBUILD.

Indeed, I only want to consider one package, following it's dep chain and building from the same ./ top level directory if found.

Example from me building papis with all the deps from a repo.

Unless I'm  missing it aur graph spits out just the names of the packages you passed it (well, Is suppose converting to pkgbase if it came from a split package), no? I don't see any dependency resolution.
Just say your edit. Yes, I think that describes my aim.

build package foo
tell aurutils somehow that if dependencies of foo are round in $PATH, to build from those directories
bonus: if a local $PATH/dir matching a dependency is not found, build using aur sync

In this way, I can rebuild some ros-melodic-foo package, also rebuilding it's deps (which tend to be a lot of ros-melodic-bar pacakges), all from the local repository where I  might have a bunch of staged changes not yet pushed to AUR when we're troubleshooting an update/release.

Another add: I think what I want really is described by the python script in the first post. I came originally wondering if this would be useful for others (thus inclusion in aurutils); otherwise, I'm open to bash-fu that would accomplish it (or simply pointers on how the pros would, as I am not one :) ).

Any further thoughts on this? We are in heavy flux on the ~300+ ROS packages on Arch trying to keep up with boost-1.71 and now python-3.8. As a result, we have packages patched/in testing on our github site that aren't in AUR, so I can't reliably build from AUR until we know everything is synced up.
Meanwhile, I have all packages cloned to a single directly and am just looking for a way to tell aurutils to use those directories instead of hunting online.
If you point me in the direction of which script/function I might modify to accomplish this, I could take a stab at it? Alert: not a bash wizard, but can hack around and try things.

@Foxboron ahh, ok, that's a great point. Indeed, just those in the ros-melodic-* ecosystem. I guess that complicates things to some degree. Perhaps what I want is more like:

prefer local if it's found, otherwise take AUR
provide a top level directory to search (e.g. I use ~/installed/build)
build locally via pattern-match all ros-melodic-* packages

Now that I write this out... is this seeming too complicated/out of scope? The second seems the most reasonable, and would handle other similar cases of this (where one has a modified package locally and wants to use that instead of remote).

2nd and 3rd can be done today. 1st can't. There is no tooling in aurutils to build the dependency chain without cloning  all the repositories or only querying aurweb. Even if you got the dependency chain from aurweb, there is no tooling to look for packages locally and remotely.

@Foxboron for the 3rd, would you envision a simple script approach? For example:

for $pkgname, get all the immediate deps
walk through those, finding all their deps, and so on, building a master list of what to build (however aur sync already does this should work)
-if [ -d "$PATH/$DEP" ]; then cd $PATH/$DEP and aur build
otherwise aur sync

Something like that?
I've never dug into the mechanics of dependency resolution. The hardest part seems to be building a bottom up dep tree so I build in the proper order.

I don't understand why you overcomplicate things. Read the thread. aur graph builds the entire dependency tree for you if all the packages are checked out locally. aur depends if you'd rather use aurweb to resolve dependencies.

I thought we went through this above? For example:
$ aur graph ros-melodic-ros-base/.SRCINFO | tsort | tac
ros-melodic-ros-base

I won't paste the output of aur depends on this package as it's maybe 100 packages long. Could you help me understand the difference between the output I get vs. "builds the entire dependency tree for you"?

I don't have a lot of time to look at new uses cases, particularly
before the 2.4 release. You can get all the dependencies with aur-graph
by feeding it all packages. aur-graph supports no "reverse depends" -
but you can use a seperate directory dedicated to the ROS toolchain (and
use environment variables like AURDEST accordingly).
Excerpts from John Hendy's message of November 20, 2019 8:04 pm:

I thought we went through this above? For example:
$ aur graph ros-melodic-ros-base/.SRCINFO | tsort | tac
ros-melodic-ros-base

I won't paste the output of aur depends on this package as it's maybe 100 packages long. Could you help me understand the difference between the output I get vs. "builds the entire dependency tree for you"?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/AladW/aurutils/issues/613#issuecomment-556255229I thought we went through this above? For example:
$ aur graph ros-melodic-ros-base/.SRCINFO | tsort | tac
ros-melodic-ros-base
I won't paste the output of aur depends on this package as it's maybe 100
packages long. Could you help me understand the difference between the output I
get vs. "builds the entire dependency tree for you"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.*

@AladW understood and thanks to you and @Foxboron for the tips/assistance. I had reasonable results using aur depends last night, then pattern matching only for ros-melodic-* packages to build locally. For now I just manually aur sync'd any that weren't in that directory.
I'm going to close this as it sounds like bandwidth is limited and @Foxboron's question illustrated to me that this is also probably harder than I thought (how to decide on building local vs. from AUR).

Also note aur-sync --ignore-file, where you can put "local" packages that you don't want from the AUR.
When I have some more time I can look at this more closely. 🙂 Thanks for sharing the workflow you use.


alertmanager: add support for setting Log Format

support for log format was added in alertmanager 0.16.0. This change makes it available in the API
Fixes #2565

I could not find how to regenerate the openapi_generated.go file though

Thanks for adding this! To re-generate you just need to run:
make clean generate-in-docker

In the root of the repo and everything will be generated appropriately!

@brancz Just pinging you to say I ran the generate command and also rebased to master

Also tests failed because of:
go<EMAIL_ADDRESS>unrecognized import path "sigs.k8s.io/yaml" (https fetch: Get https://sigs.k8s.io/yaml?go-get=1: net/http: TLS handshake timeout)

Ran the make command locally and then the command works. So I guess there was a small network issue but I can't seem to find how to restart this test job.

That does indeed look like a network hickup. Restarted the job.

Restarted the job one more time. Seems like it fails to pull down all Go dependencies.


SSH session could not be established

please, anyone, help me I am getting an error while bootstrapping chef node   SSH session could not be established
this error i am getting.

For now, you can use -U or --connection-user to provide ssh user.

@Nara-Sagar Please also provide details of the Chef-Infra version and using verbose mode to give detailed log which will help in resolving issue if any.

@Vasu1105 is there an extremely easy way to post the detailed log here?

@Vasu1105 is there an extremely easy way to post the detailed log here?

@LemonAndroid I am not sure what you are asking for but using -VV option with your command that you are using is the easiest way which I know.

@Vasu1105 ok, and yet I mean even easier. like automatically sending the data on errors. if there are privacy concerns it could be a simple opt-in.

I have fixed this issue actually I have not mentioned the location of the .pem file hence I am getting this error you can see this in the bootstrap screenshot the actual command  requires -i .\ nodes.pem
Thanks!!


The whole snapshot only 500GB?

After I run the script and complete download , this the disk usage.
tank/erigon_data                 3T  128K   39T   1% /erigon/data
tank/erigon_data/bsc             3T  256K   39T   1% /erigon/data/bsc
tank/erigon_data/bsc/parlia      3T  128K   39T   1% /erigon/data/bsc/parlia
tank/erigon_data/bsc/nodes       3T  5.4M   39T   1% /erigon/data/bsc/nodes
tank/erigon_data/bsc/snapshots   3T  563G   39T   2% /erigon/data/bsc/snapshots
tank/erigon_data/bsc/chaindata   3T  2.1G   39T   1% /erigon/data/bsc/chaindata
The data only less that 600GB?
Is my data correct?

No, the chain data should be a few TBs. I bet the download failed. For the mdbx file.

I met the same issue, I prepare 8TB, but only 500GB is used. Do you have a guide to clean up the data and repeat again?
root@ip-10-2-1-21:/erigon# ls
create-bsc-snapshot-and-shutdown.sh  data  erigon  start_erigon_service.sh
root@ip-10-2-1-21:/erigon# du -sh
570G	.
root@ip-10-2-1-21:/erigon# du -d 1 -h
346M	./erigon
570G	./data
570G	.

Recently a bunch of changes were made to the script. You likely need to use the new script.
Easiest way to reset everything is to delete the spool, it should recreate everything if it's deleted.


BOSH DNS causes CPU spikes in Windows 2016

We deployed a windows 2016 vm with BOSH DNS enabled, and we noticed that every second the cpu would spike by about 30%.

On further investigation, we saw that the powershell that BOSH DNS brings up every second correlates to this spike in cpu. We can see the large cpu usage below.

We think that one of these commands, along with spinning up a new powershell every second, is eating up the cpu on 2016 wndows machines.
Thanks!
Josh and @sunjayBhatia

@jrussett @dpb587-pivotal we can reproduces this on a regular windows 2016 vm (so no BOSH or CF involved) just by running the nameserverconfig.exe process
@cppforlife starting a powershell process is expensive; but starting cmd.exe shell is not.
It looks like the windowsManger.Read() method could be implemented using the Go function @sunjayBhatia linked above. Since this method gets called every 3 seconds and since the prepend-dns-server.ps1 script will not run must of the time, we think improving the Read() to not use powershell should resolve the problem

fixed in https://github.com/cloudfoundry/bosh-dns-release/commit/4e39a0429d4fb89c5e30044c6490d30e94f17d19. coming version 1.2 will include this.


Combining intersection with union problem

When I have type in form A & B | C it can't be casted into A & B.
see: https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgCCYAvGAN6phhRxyEBcYAzhgE4CWAdgOYA0qAL7ps+MACFSFKjTrimrTrwHUOzeWHYBXPEJG4CAYSmVqtOIYXtu-GWo1QAhjGa7h6AMZwurTXlYAYoSSZAAUOGxwOMxMxABkEgCUpAB8FIIA3KhePhh+gYTGYRFRMWCGySRp5Jno2d6+GP4YQeJFYOGR0bFgCaGSAD7liZXVVBxQHSXRAHT2yabUTQXinaWJWWCCYHguBKYAkMsthWvRG1TC7sethqGL5oxgAEZ0MHiOXCpg9kzaeN9zBoAOSOZgAE2BAkEFyAA

i think this is the same as #4029, use (A & B) | (A & C)


fixed Spacing issue #55

What is the purpose of this pull request?
Fix spacing issue in alert boxes
How is this achieved?
Changed property of justify-content
Which issue number does this fix?
#55

Looks good to me. Good job!


paperless: out-of-date / upstream archived

Checklist

[x] Checked the nixpkgs master branch

[x] Checked the nixpkgs pull requests

Project name
nix search name: paperless

current version: https://github.com/the-paperless-project/paperless
desired version: https://github.com/jonaswinkler/paperless-ng
Notify maintainers

maintainers: @erikarvstedt
Note for maintainers
Please tag this issue in your PR.
The original project was archived and its author now suggests the linked project as replacement.

I packaged paperless-ng in #123046.


ASP.NET Core 6: WebApplicationBuilder Example?

Are there any examples of how to use Castle Windsor with the new .net 6 Core minimal style
This site has a autofac example
https://andrewlock.net/exploring-dotnet-6-part-10-new-dependency-injection-features-in-dotnet-6/
var builder = WebApplication.CreateBuilder(args);

// Call UseServiceProviderFactory on the Host sub property
builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory());

// Call ConfigureContainer on the Host sub property
builder.Host.ConfigureContainer<ContainerBuilder>(builder =>
{
    builder.RegisterModule(new MyApplicationModule());
});

var app = builder.Build();
app.MapGet("/", () => "Hello World!");
app.Run();

Is there a simmilar example for castle? i cant find a castle service provider factory for example.
Previously i was using the  Castle.Windsor.MsDependencyInjection
WindsorRegistrationHelper.CreateServiceProvider(container, services);

Yes, MS are irritating, changing this all the time. I will try to fix this up ASAP

Yes, sorry for not replying but i eventually found the solution.
As you say
builder.Host.UseServiceProviderFactory(new WindsorServiceProviderFactory());
then i do
builder.Host.ConfigureContainer<WindsorContainer>((hostBuilderContext, container) =>
{
    container.Kernel.Resolver.AddSubResolver(new ArrayResolver(container.Kernel));

etc.
Thanks for getting back to me

It would probs be useful to add an example to the library to save other peoples pain.


Update how-to-build-gbs-pdebuild.md

remove trailing spaces

[Template] PR Description
In general, github system automatically copies your commit message for your convenience.
Please remove unused part of the template after writing your own PR description with this template.
$ git commit -s filename1 filename2 ... [enter]

Summarize changes in around 50 characters or less

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical;
various tools like `log`, `shortlog` and `rebase` can get confused
if you run the two together.

Further paragraphs come after blank lines.

**Changes proposed in this PR:**
- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded
  by a single space, with blank lines in between, but conventions vary here.

Resolves: #123
See also: #456, #789

**Self evaluation:**
1. Build test: [ ]Passed [ ]Failed [*]Skipped
2. Run test: [ ]Passed [ ]Failed [* ]Skipped

**How to evaluate:**
1. Describe how to evaluate in order to be reproduced by reviewer(s).

Add signed-off message automatically by running **$git commit -s ...** command.

$ git push origin <your_branch_name>

:memo: Version: 1.20180820. Thank you for submitting PR #361. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://invain.mooo.com/.

To contributor, We have used 'Signed-off-by:' notation by default to handle the license issues, that result from contributors. Note that 'Is there a Signed-off-by line?' is important because lawyers tell us we must have to it to cleanly maintain the open-source license issues even though it has nothing to do with the code itself.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://invain.mooo.com/TAOS-CI/ci/repo-workers/pr-checker/201810261519420.81610989570618-361-9a7089a77581d78cc100625820068d687fb39213/report/misspelling_result.txt.

:octocat: cibot: @JunhwanPark, One of the format checkers is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnsuite/TAOS-CI/wiki/.

This PR is just trivial fix. If you don't mind, please get rid out it! Thank you :)