Failed at unit test in the latest master branch

Describe the bug
When I run make -f examples/Makefile-posix check after bootstraping, I got the below errors:
error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ot::Child’; use assignment or value-initialization instead [-Werror=class-memaccess]
     memset(&child, 0, sizeof(child));
                                    ^
In file included from /usr/local/google/home/irvingcl/Documents/git/openthread/examples/../src/core/thread/mle.hpp:48,
                 from /usr/local/google/home/irvingcl/Documents/git/openthread/examples/../src/core/common/settings.hpp:41,
                 from /usr/local/google/home/irvingcl/Documents/git/openthread/examples/../src/core/common/instance.hpp:61,
                 from /usr/local/google/home/irvingcl/Documents/git/openthread/examples/../tests/unit/test_platform.h:42,
                 from /usr/local/google/home/irvingcl/Documents/git/openthread/examples/../tests/unit/test_child.cpp:29:
/usr/local/google/home/irvingcl/Documents/git/openthread/examples/../src/core/thread/topology.hpp:379:7: note: ‘class ot::Child’ declared here
 class Child : public Neighbor, public IndirectSender::ChildInfo, public DataPollHandler::ChildInfo
       ^~~~~

The latest commit(ca798e2) could reproduce this problem
@abtink

We have a Child::Clear() which should be used instead of memset. I will add a fix for this.

Submitted "[test] update test_child to use Clear() instead of memset #4248"

Resolved by #4248.


Remove duplicate keys from schema defintions

This seems to be some copy/paste error.
JSON keys 'should' be unique and a lot of JSON parsing software throws errors on duplicate keys or shows otherwise unpredictable behavior.

LGTM, thanks @Mantls. Did you run an automated check to identify all of these? We should integrate this check into our linting.

Sort of, i spotted this during automatic code generation.
json-refs was complaining about the duplicate keys.

The nmos-lint-scripts use npm jsonlint package, and this doesn't report on duplicate keys: https://github.com/zaach/jsonlint/issues/13
Looks like a well-maintained fork of that package has an option to check for duplicate keys:
https://www.npmjs.com/package/@prantlf/jsonlint


gap above the soft keyboard on an iPhone X with SafeArea

There's a gap above the soft keyboard on an iPhone X when used with a SafeArea.
The reason for this appears to be the MediaQuery having bottom padding — there is bottom padding on the iPhone X to keep controls apart from the "home indicator" control.
I have changed the bottom padding on a MediaQuery and verified that the gap above the soft keyboard changes accordingly.

Steps to Reproduce

Clone https://github.com/SteveAlexander/flutter_soft_keyboard_bug
Run it on an iPhone X or simulator with soft keyboard enabled
Notice the scrolling wobbles as you type (I'm filing a separate issue about that)
Notice that there is a gap above the soft keyboard

The gap is the same height as the bottom padding of the SafeArea.

$ flutter doctor -v
[✓] Flutter (Channel master, v0.5.9-pre.17, on Mac OS X 10.13.6 17G2208, locale en-GB)
    • Flutter version 0.5.9-pre.17 at /Users/steve/code/flutter
    • Framework revision 5d8771d18d (16 hours ago), 2018-08-10 21:18:10 -0700
    • Engine revision e54bc4ea18
    • Dart version 2.0.0-dev.69.5.flutter-eab492385c

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
    • Android SDK at /Users/steve/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.25.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.17.1

[✓] Connected devices (1 available)
    • iPhone X • 1E0393AA-EF50-42AA-A244-3279599BE2C1 • ios • iOS 11.4 (simulator)

• No issues found!

Im having the same problem only with iPhone X.

I strongly suspect this is fixed already but double check before closing


fix footer tags and formatting

Title and Issue number
Title : Fix footer
Issue No. : 357
Close #357
Explanation
Fixes a bug created by PR #252.  Modified to have proper closing tags and rearranged elements around to fix styling.
Video (mandatory)
https://github.com/user-attachments/assets/59852a6c-ae00-48cf-bc8c-386a0efd1cb7
Checklist:

[ ] I have mentioned the issue number in my Pull Request.
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md if its a new page/tech stack
[ ] I have gone through the  contributing.md file before contributing

Are you contributing under any Open-source programme?

[ ] I'm a GSSOC-EXT contributor
[ ] I'm a HACKTOBERFEST contributor

@mwango-phoenix resolve conflicts

updated to remove redundant code


No DURATION without AT

The current version of remind doesn't allow DURATION to be specified without AT.
Also, while we're at it remove some extra spaces from the reminder output.

 Closing to clean up and resubmit a new one.


Seperate the profile view section from profile edit section.

In order to improve the user experience we can separate the profile edit section and profile view section.

@agamjotsingh18  I am proficient in MERN stack technology. I can implement the described task. Please assign me.

I would like to work on this issue under GSSOC'23. I would appreciate if the issue is assigned to me.

i can easily resolve this task in very less time please this task to me I will do it under GSSOC'2023

Sure @kailashchoudhary11, make sure to complete it by 2 days otherwise will be assigning it to next participant.
Others, you can create issue on improving the profile page with more details

Sure @kailashchoudhary11, make sure to complete it by 2 days otherwise will be assigning it to next participant. Others, you can create issue on improving the profile page with more details

Can you assign it to me? You haven't assigned it yet.

@kailashchoudhary11 go ahead, the issue has been assigned to you

@kailashchoudhary11 go ahead, the issue has been assigned to you

Sure Thank you :)


Run scheduler simulator on a single node server

Hi there, I'm new to K8S.
I tried to run this simulator on my single node server, where the kube-apiserver, etcd were already running in pods.
I compiled the simulator locally by make build, and the environment variables KUBE_API_HOST, KUBE_API_PORT, KUBE_SCHEDULER_SIMULATOR_ETCD_URL were set according to the advertising address. But ./bin/simulator failed at listening to KUBE_API_HOST:KUBE_API_PORT because this port was listened by kube-apiserver.
How could I solve this problem? Any suggestions and help are appreciated.
Thank you.

/kind support
Hi. The simulator start kube-apiserver internally and use that. KUBE_API_HOST and KUBE_API_PORT are env to fix this internal kube-apiserver's address.
I guess just starting without KUBE_API_HOST, KUBE_API_PORT should be fine. (But, note that your kube-apiserver will not be used in this simulator.)

/kind support
Hi. The simulator start kube-apiserver internally and use that. KUBE_API_HOST and KUBE_API_PORT are env to fix this internal kube-apiserver's address. I guess just starting without KUBE_API_HOST, KUBE_API_PORT should be fine. (But, note that your kube-apiserver will not be used in this simulator.)

Thank you for your suggestion. I changed the KUBE_API_PORT and the following error popped when I rerun the simulator:
I0311 09:26:04.263103  313680 k8sapiserver.go:62] kube-apiserver is started on :http://*****
I0311 09:26:04.264103  313680 instance.go:322] Node port range unspecified. Defaulting to 30000-32767.
I0311 09:26:04.264136  313680 instance.go:278] Using reconciler:
I0311 09:26:04.264926  313680 instance.go:382] Could not construct pre-rendered responses for ServiceAccountIssuerDiscovery endpoints. Endpoints will not be enabled. Error: empty issuer URL
E0311 09:26:24.265569  313680 k8sapiserver.go:228] error in bringing up the apiserver: error building core storage: context deadline exceeded
F0311 09:26:24.265673  313680 simulator.go:23] failed with error on running simulator: start API server:
    main.startSimulator
        /home/stack/kube-scheduler-simulator-master/simulator.go:36
  - start API server:
    github.com/kubernetes-sigs/kube-scheduler-simulator/k8sapiserver.StartAPIServer
        /home/albert/kube-scheduler-simulator-master/k8sapiserver/k8sapiserver.go:68
  - bringing up the apiserver: error building core storage: context deadline exceeded

Is there something wrong with my etcd?
Thank you again.

Did you use make start as README suggests?
https://github.com/kubernetes-sigs/kube-scheduler-simulator/blob/master/Makefile#L30

Hm, maybe issue on your etcd, I guess..
Btw, why do you want to run the simulator on your Pod?
If you just want to use the simulator, you can run the simulator in container (ref).

Sorry for the misleading words.  Please let me correctly describle my situation again.
Situation:
Vitual Machine with OS CentOS 7.
The kube-apiserver and etcd are running in two different containers. But in the local environment there is no etcd available. I can not  install etcd locally by yum.
Goal: Run the simulator locally or in a container with (or without) utilising the etcd that is running in its container.
I have no idea how to resolve this.

Do you need to use your kube-apiserver and etcd, which have already been running in your container, in the simulator?

If not, I recommend using container image of simulator according to this doc: https://github.com/kubernetes-sigs/kube-scheduler-simulator#run-with-docker

@sanposhiho Yes, I need to use my kube-apiserver and etcd that have already been running in two different containers, in the simulator.

@sanposhiho Thank you dude. I successfully built the docker images simulator-server and etcd. But I could not build the docker image simulator-frontend because of the network problem. Maybe it's better for me to wait for the image of whole simulator as mentioned in issue #19.


TypeError: Cannot read property 'product' of null

There is an issue with your sample on this line...
let id = event.pathParameters.product || false;
it generates the title error when using
http://localhost:3000/products
I did a console.log to see what was going on and this is what I found on the event
{
  "httpMethod": "GET",
  "body": "",
  "resource": "/products",
  "requestContext": {
    "resourcePath": "/products",
    "httpMethod": "GET",
    "stage": "prod",
    "identity": {
      "sourceIp": "<IP_ADDRESS>:58158"
    }
  },
  "queryStringParameters": {},
  "headers": {
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
    "Accept-Encoding": "gzip, deflate",
    "Accept-Language": "en-US,en;q=0.5",
    "Cache-Control": "max-age=0",
    "Connection": "keep-alive",
    "Upgrade-Insecure-Requests": "1",
    "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0"
  },
  "pathParameters": null,
  "stageVariables": null,
  "path": "/products"
}

as you can see stageVariables is eqal to null...so event.pathParameters.product will not work.
I changed that line to this
let id = (event.pathParameters !== null ? event.pathParameters.product : false);
and so far it works, I have not tested the other paths yet.

This should work as of v0.3.0


TextField Issue: input some content, switch the input language and input something, then click delete, all of the second language content will be deleted at one time

In the Android device, use the native keyboard to input English, then switch Chinese and input Chinese, click the delete button, all Chinese will be deleted together, instead of deleting a single character.

Hi @usagiGong
i wasn't able to reproduce this issue on latest dev
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

@usagiGong
I can't reproduce it with Redmi Note 7 (Android 9) Gboard with dev v1.18.0-8.0.pre.
Closing as additional information isn't provided.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, minimal reproducible sample code (if related), logs and the output of 'flutter doctor -v'  please.


htmlunit 3.0.0 all inclusive dependency uber jar misses few jetty dependencies

https://github.com/HtmlUnit/htmlunit/releases/tag/3.0.0
I am trying to build a GWT project and upgrading htmlunit to 3.0.0 to get past a few vulnerabilities.
After some research I found that htmlunit packages a nice dependencies jar which should work like plug and play. However I had to find dependencies on maven central after I had breakage in my tests. Mostly ClassDefNotFoundErrors.
Jar which had to be added for htmlunit 3.0.0 to work
1 jetty-xml-9.4.51.v20230217.jar
2 jetty-webapp-9.4.51.v20230217.jar
3 jetty-servlet-9.4.51.v20230217.jar
4 jetty-server-9.4.51.v20230217.jar
5 jetty-security-9.4.51.v20230217.jar
6 slf4j-api-1.7.36.jar

@farahnaj sorry, but your assumtions is wrong, this is not an ueber-jar, it is simply the the same jar file you get when downloading it from maven central using maven/gradle.
If you like to download a file with all required dependencies you can use https://github.com/HtmlUnit/htmlunit/releases/download/3.11.0/htmlunit-3.11.0-bin.zip. But this is a simple zip file not an uber-jar.
And please consider using the latest version 3.11.0....

My bad I should put the correct link to bin.zip only. I was driven by the statement "htmlunit-x.xx.x-bin.zip contains everything you need including all required dependencies" from https://htmlunit.sourceforge.io/ in the installation section. But it does not have all the dependencies.

Ah, will have a loock

@farahnaj sorry but again i think the current distribution is correct.
As long as you are only use HtmlUnit in your projects, i think all the files you are need are in the zip file.
The jetty server components are only required if you like to compile/run the whole source code because they are used from the test infrastructure.

and btw i have done a minor update to the website - https://www.htmlunit.org/

@farahnaj can i close this?

no reaction will close this. Please open a new one if needed.


Performance changes

I18n started showing up in perf profiles for my app again. I'm no longer that much familiar with the I18n's codebase as I used to be, so some code review is really welcome.

@thedarkone / @tenderlove any interest in getting this PR across the line for i18n 0.8.0?

@radar what is the timetable? Would it be acceptable if I would need maybe up to 3-4 weeks time to look at it?

@thedarkone I don't have any particular timetable in mind yet. The i18n gem hasn't received a version bump since Dec '14. It can wait a little while longer. If you need 3-4 weeks to complete it, then that's OK with me. :+1:

Bumping this to 0.9.0. Looking to prep a 0.8.0 beta release for December, with a 0.9.0 next quarter.


buttons are different

What class or style for the buttons ? the buttons are different from the official page
thanks

As you see in "composer.json", this extension is a thin wrapper of "istvan-ujjmeszaros/bootstrap-duallistbox ~3.0.6". Please check it.
},

after composer update I've this message:

There's no fixed dependency configured.)
istvan-ujjmeszaros/bootstrap-duallistbox suggests installing components/jquery (2.0.)
istvan-ujjmeszaros/bootstrap-duallistbox suggests installing twbs/bootstrap (3.)
what does it mean ? tnx

Those messages are from the composer.json of istval-ujimeszaros/bootstrap-duallistbox. It suggests you to use the specific versions of jquery and bootstrap.
As you see int the composer.json of this extension (I mean softark/yii2-dual-listbox),  it is only a thin wrapper of "istvan-ujjmeszaros/bootstrap-duallistbox". It doesn't say anything about jquery and bootstrap. So there's nothing it can do regarding the message.


[QUESTION] importing

How to currently import a file? I am using the adb method, but on WearOS 3 (therefore no FilePicker).
For some reason the wifi is not recognized by this app, even though it works for adb.
Also, to make this work the app must be debuggable, is there any known way to overcome that?

How to currently import a file? I am using the adb method, but on WearOS 3 (therefore no FilePicker).
https://github.com/0x4f53/Wristkey/wiki/Transferring-Data

For some reason the wifi is not recognized by this app, even though it works for adb.
Please make sure both devices are on the same Wi-Fi network for this.

Also, to make this work the app must be debuggable, is there any known way to overcome that?
You can clone it and build it manually via gradle.

How to currently import a file? I am using the adb method, but on WearOS 3 (therefore no FilePicker).

https://github.com/0x4f53/Wristkey/wiki/Transferring-Data

For some reason the wifi is not recognized by this app, even though it works for adb.

Please make sure both devices are on the same Wi-Fi network for this.

I did exactly that, but the wear os app could not detect the wifi connection.

Can you send me a logcat then?

Yes, I should have done that from the beginning. This log.txt comes from a debug build I did myself, in sync with the latest commit here. I already have some accounts working (setup using adb method). I just pressed the wifi button and got the cannot detect wifi sign, while at the same time I am actually capturing the logcat through adb wifi.

well the adb debug method is really only for devices without wifi (only one that comes to mind). the main way is now via wifi.

Got it, it makes sense to deprecate that feature. That makes it even more important to figure out why Wifi is not detected on the Ticwatch

@gilcu3 Any luck with this? I don't have a TicWatch with me so I cannot figure this one out. The logcat doesn't seem to have anything unusual either.

No, unfortunately, I have been using the app with my own debug build to workaround the issue.


Fix sandbox cron

"synchronized" can only be used to specify a 24h time range that is
evenly divided by the interval value, e. g. "every 2 hours
synchronized".
https://cloud.google.com/appengine/docs/flexible/java/scheduling-jobs-with-cron-yaml#formatting_the_schedule

This change is

Reviewable status: all files reviewed (commit messages unreviewed), 1 unresolved discussion (waiting on @jianglai)

core/src/main/java/google/registry/env/sandbox/default/WEB-INF/cron.xml, line 256 at r1 (raw file):

      that have been in the database for a certain period of time.
    </description>
    <schedule>every monday 14:00</schedule>

there's already another task thats running every monday at 14:00. pick a different time?

I don't think running these two actions at the same time is a problem. But sure.


Added HELLO to the feedback template.

Sample Pull Request
Detailed explanation of the purpose of this modification.

Close test pull request


3.0 major update

This is a PR draft, it will be able to merge after all related commits are applied.

3.0 Feature update PR
What this PR used for?
This PR will making biggest changes on dev-branch to make library better looks, performances, fixes, improve code formatting or etc. The Material.Avalonia library 3.0 stable release will be almost done after apply this PR.
UPDATE: This PR allows you to use Avalonia 11.0, it closes issue such as #180
Which changes I made in this PR?

I redesigned most controls to minimalize templates variant and stylize those templates instead and improve on performances. For example, minimalize templates of TextBox as one template will take less lines on source code, prevent performance hits while changing templates frequently, which making library more better and more sufficient on performances.
I corrected queues (resort) of style include list to solve problem like "applied styles, but not as expected". For example, we want to apply default TextBlock styles and before it had MenuItem styles which include styling inner texts of each menu items. This problem will make text of menu item styled as TextBlock style want to and it looks will be weird.
I corrected Material.Dialog mechanism of works to make it create an control and it will be styled on everywhere. It means you can take out the main control of created dialog by DialogHelper and use it somewhere like DialogHost library without any critical problem.
I corrected classes definitions on almost all controls to make them follows most conventions of CSS naming rules. That means you can forgot about upper-case and use lower-case classes naming. Well that doesnt mean we'll remove old classes definitions, they will be kept until next major update or incompatibility on fixes or smth like that. Please get ready to use newer classes naming before they stops working. (Those changes will be applied to compatibility classes set because I'm gonna use newest way to apply theme to controls, it is included in this PR. The classes set can be used via StyleInclude)
I removed features table in Material.Demo, because I didnt update it after changes and it appears might not such important. I know this changes is not cool for some ppl, but I think there should be better way than this thing.
I corrected something related with Material.Colors, which they used for pick most contrast color for texts and icons. It should fixes problem like "text or icons in buttons is hard to see", "ugly coloring of their inner text or icons of buttons" or anything related with coloring issues.
I used new technique in our library named "Static naming collections". It used for prevent situations like "multiple strings but same thing". That means I trying to fix memory leaks on string instances by making templates of all controls to use one string instance on name property. Plus, its will be easier to reference names on their controls in IDE because they all are static property in one static class.
I moved all controls C# code to Controls folder to make source code folder more cleaner and easy to find their source code.
they are too much I cant remember them all sorry((

And what we'll got after this PR?
It fixes or solve issues like:

Fix: not all properties is usable with our library.
Fix: uncomfortable classes naming
Fix: styles applied not as expected or appears other glitches.
Fix: Material.Dialog library, correct how it should be work to solve issue like #164 .
Fix: Filled TextBox rendering glitch
Fix: Outline TextBox clipping abnormally problem
Fix: ToggleSwitch knobs is undraggable.
Fix: bad color contrast in inner text / icon of buttons.
Minimalize memory leaks on their templates
Fix: IME not working in Material.Demo

Tips: To fix this issue in your avaloniaUI applications is not hard. Use STA (single threaded apartment) on Main entry of your applications, and make sure your property "InputMethod.IsInputMethodEnabled" on each text boxes are enabled, or you can refer how we did it.

Fix: not all characters of text block or text boxes is rendered.
Fix: comboboxes is unstyled.
Fix: circular progress indicator had bad performance.
Fix: TreeView is bad styled.

It improve looks of next controls:

Button (included FAB)
ToggleSwitch
TextBox
TextBlock
Slider
CheckBox
RadioButton
ComboBox
ColorZone
Separator
TreeView
TimePicker, DatePicker
ScrollViewer

UPDATE: Add new features:

Compatibility classes set (you may include it, if you want apply theme by class)

and It might breaks next things:

old classes naming definition (definitely, if you dont use classes set.)
some assist class will be deprecated and removed, or removes partial things of them
use Material.Styles.Controls namespace instead of Material.Styles if you use our controls in your applications, in code-behind.
customized styling to replace partial things from our libs in your applications.

TL;DR:
Fix almost everything (including styles, controls) not works if possible, add some new features, use better classes naming, remove some bad APIs and optimize styles. The Dialog library will be fixed, too. Meanwhile the old API or some features could be broken or unstable.

Good job! I'll see the changes up close in the near future

@appleneko2001 but actually it works for demo, isn't it?

my ide always show it as error, sometimes it blocks me to compile the demo

When can we expect this release?

Hello, @JanTamis
Currently we have 3.0.0-avalonia10-preview2 for Avalonia 10 based on  383e88e. And soon i release preview packages for Avalonia 11 with this changes.
As for this PR, its better ask @appleneko2001, because unfortunately i don't have time to fully support this project now.
PR warmly welcomed.

@appleneko2001 Hi how can i help you with the 3.0 update?

Can I help somehow with this?

@Janek91, you can take one of "up for grabs" issues, actually: https://github.com/AvaloniaCommunity/Material.Avalonia/issues?q=is%3Aopen+is%3Aissue+label%3A"up+for+grabs"

Actually, this is branch is only branch with main package version (and Avalonia 11 target) developed currently. So, since there is most likely no releases for other branches (v2.* and v3.0-avalonia10), i want to merge it to dev (and merge dev into master in the future)


Update Oracle Database Container version

Change Oracle Database Container version to the latest available version (21-slim, which is equivalent to 21.3.0-slim)

Since this is automatically reflected in the docs, WDYT about changing it to the faststart variant? Besides, this change is not user-affecting, since users have to specify the tag by themselves. Another thing we could do is mention both image variants in the docs, with their corresponding pros and cons.
Regarding the failure, running ./gradlew :oracle-xe:spotlessApply would fix those.

Another thing we could do is mention both image variants in the docs, with their corresponding pros and cons.

I think linking to the proper image documentation would be better in order to do no be outdated.

thanks @gvenzl ! This is merged in main branch now.

Thanks a lot for pushing this along, @eddumelendez!
I just noticed a mistake on my side when I filed this PR.
The new image should be gvenzl/oracle-xe:21-slim-faststart and not as currently gvenzl/oracle-xe:21-faststart. The latter will pull a different image than the previously slim one.
To make this change futureproof, it would be even better to just specify gvenzl/oracle-xe:slim-faststart, that way when there is a new version coming, the doc doesn't have to be changed anymore.

Oh no, you were faster than me typing :D

sorry about it. maybe sending another PR? :D I would be glad to merge it

Nah, I should be sorry for making such a rookie mistake, to begin with.
Sure thing, will file another one and ping you.
Who knows, perhaps by then I have figured out how to use Gradle too :)


Controlling the device from outside the local network

Hey!
Thanks for the work you've done.
I noticed that the Tapo smartphone app can control the device (P100) even if the smartphone is not on the same Wi-Fi network as the device. Most likely management goes through the tplink server. Have you watched how it works? Can i control the device without being on the same local network?
Thank you!

Hey I had the same issue.
First you need to create a port forwarding / Port mapping that will open an access from your local network to internet. to do so :
1- Connect to your Router
2- Acces your Advanced settings
3- Create a new port forwarding
a) add the IP destination (The IP of your Plug)
b) IP Source : check "All"
c) Protocole :  check "TCP"
d) For the three port destinations enter: 80
Then you will need to find you Public IP: https://www.whatismypublicip.com/
Finally, change your credentials in your code  :
p100 = PyP100.P100("PublicIP:80", "mail@gmail.com","Password")
Tell me if it worked for you.

@gablandete, Hi!
Thanks for the answer!
Yes, i already did that and it works. There is one drawback in such a scheme - sometimes the internal IP of the device changes and the scheme stops working until i reconfigure port forwarding on the router.
But it's still interesting how the Tapo smartphone app works. The application manages the device without first configuring port forwarding. If someone knows how the application works, i will be grateful if you share.
Thanks!

`import requests
from requests import Session
from PyP100 import PyP100
URL = "https://eu-wap.tplinkcloud.com"
Payload = {
"method": "login",
"params": {
"appType": "Tapo_Ios",
"cloudUserName": "youremailhere",
"cloudPassword": "yourpasswordhere",
"terminalUUID": "0A950402-7224-46EB-A450-7362CDB903A5" #make sure to randomize a bit these numbers/letters
}
}
token = requests.post(URL, json=Payload).json()['result']['token']
print(token)
URL = "https://eu-wap.tplinkcloud.com?token=" + token
Payload = {
#"method": "getDeviceList",
"method":"passthrough",
"params": {
    "method":"get_device_info",
    "deviceId": "yourdeviceidhere",
    #"requestData": "{\"method\": \"get_device_info\"}"
}

}
print(requests.post(URL, json=Payload).json())`

@seba1337 Hi!
Thanks for the answer!
But it doesn't work for me :(
First I send an authorization request:
"method": "login", "params": { 	"appType": "Tapo_Ios", 	"cloudUserName": "myEmail", 	"cloudPassword": "myPass", 	"terminalUUID": "0A950402-7224-46EB-A450-5552CDB902A8" }
I get a token in response:
Array (     [error_code] => 0     [result] => Array         (             [accountId] => *******             [regTime] => 2023-01-02 15:19:28             [countryCode] => RU             [riskDetected] => 0             [nickname] => MyNickName             [email] => myEmail             [token] => fa586ab4-BT8St0fxJVISHATeqn4Behy         ) )
Next, with the received token, I send a request for a list of devices:
Payload = { 	"method": "getDeviceList", }
I get a list of my devices, which has deviceId:
Array (     [error_code] => 0     [result] => Array         (             [deviceList] => Array                 (                     [0] => Array                         (                             [deviceType] => SMART.TAPOPLUG                             [role] => 0                             [fwVer] => 1.1.1 Build 220921 Rel.141203                             [appServerUrl] => https://eu-wap.tplinkcloud.com                             [deviceRegion] => eu-west-1                             [deviceId] => *****************************************                             [deviceName] => P100                             [deviceHwVer] => 2.0                             [alias] => **************************************                             [deviceMac] => ****************                             [oemId] => *****************************************                             [deviceModel] => P100(EU)                             [hwId] => ***************************************************                             [fwId] => *****************************************                             [isSameRegion] => 1                             [status] => 0                         )                 )         ) )
Next, with the received device ID, I send a request for information about the device:
"method": "passthrough", "params": { 	"method":"get_device_info",  	"deviceId": "*****************************************", }
But I am getting an error:
Array (     [error_code] => -20571     [msg] => Device is offline )
I thought that the token should be new on every request, but that doesn't work either.
At the same time, my device is online and I can control it through the application on my smartphone.
What am I doing wrong?
Thank you!

This is exactly what I am hoping to do, retrieve the data from the P110 via the cloud.
@110nn Did you ever get any further joy on this ?
Thanks /Colm

@seba1337 @110nn
The more I think about this, the more I think the answer from @seba1337 is spurious, i.e. it proves that one can connect to the cloud-server but gives no indication of how to retrieve Energy usage for a specific device.
Perhaps it is simply impossible...

You may find this library helpful: https://github.com/piekstra/tplink-cloud-api


[Access Request] Page 5814 "Item Charge Assignment (Sales)": Variable UnitPrice

Hello.
I would like to access the following variable from the extension objects:
Page 5814 "Item Charge Assignment (Sales)":
protected var
UnitCost: Decimal;
Cheers,
Kristján Gaukur Kristjánsson

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


iOS 14+ <Image /> only showing first frame of WebP animations

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
The latest RN documentation indicates full support for WebP images on iOS "out of the box" - however, it only appears to load static WebP's - animated WebP's do not play (only first frame is shown).
React Native version:
0.63 (Expo), 0.64 (native)
Steps To Reproduce

On iOS 14+, create an <Image /> that loads animated WebP image uri, i.e.: https://storage.googleapis.com/downloads.webmproject.org/webp/images/dancing_banana2.lossless.webp
Only the first frame is shown (no animation plays - see snack below)
Note that the animation does play when viewed in Safari (outside of RN)

Expected Results
Animated WebP should play.
Snack, code example, screenshot, or link to a repository:
Working example showing the issue:
https://snack.expo.io/@btroia/disrespectful-celery
(choose the iOS preview tab to view - notice only a static WebP image loads)
Should also update documentation at https://github.com/facebook/react-native-website/pull/2418 to clarify that WebP is not yet "fully" supported on iOS

Any Nnews here? I also cannot make animated webp images work on IOS, on Android they work with enhancing the gradle file following the descriptions on https://reactnative.dev/docs/next/image#gif-and-webp-support-on-android
thanks in advance


Prusa Mini Firmware 5.1.0 uses new Unified Bed Leveling Mesh Output

Hi,
I've used your tool and mod in the past to greatly improve my bed leveling on the Mini. Ever since the update to 5.1.0 however I can no longer use your tools as the output from the Mini no longer produces the original mesh but instead outputs nothing when just probing with G29. If requested to output a mesh, the mesh is a lot different than before.
G Code:
G29 ; Probe mesh
G29 T ; Display probed mesh

This produces a mesh that looks like this (and yes, my arm is not square at the moment as indicated by the mesh):
Bed Topography Report:

    (  -41,226)                              (195,226)
        0       1       2       3       4       5
 5 | +0.251  +0.165  +0.054  +0.082  -0.055  -0.063
   |
 4 | +0.262  +0.164  +0.065  +0.012  -0.060  -0.133
   |
 3 | +0.249  +0.162  +0.076  -0.058  -0.065  -0.073
   |
 2 | +0.221  +0.152  +0.084  +0.009  -0.021  -0.051
   |
 1 | +0.317 [+0.221] +0.125  +0.030  +0.005  -0.020
   |
 0 | +0.359  +0.290  +0.166  +0.051  +0.031  +0.001
        0       1       2       3       4       5
    (  -41,  -48)                              (195,  -48)

Would you be able to modify your tool at https://bbbenji.github.io/PMSBLM/ to allow for this new Unified Bed Leveling mesh output?
Details (from marlin) regarding the UBL: https://marlinfw.org/docs/features/unified_bed_leveling.html
With kind regards,
Thomas

Could we do some kind of average of the new 6x6 matrix back to a 4x4 matrix?
Here is what chatgpt gave me , not sure at all it is correct, but maybe an idea at least.
import numpy as np

def convert_to_4x4(matrix_6x6):
    matrix_4x4 = np.zeros((4, 4))

    for i in range(4):
        for j in range(4):
            submatrix = matrix_6x6[i:i+2, j:j+2]
            average_value = np.mean(submatrix)
            matrix_4x4[i, j] = average_value

    return matrix_4x4

# Updated 6x6 matrix
matrix_6x6 = np.array([
    [0.251, 0.165, 0.054, 0.082, -0.055, -0.063],
    [0.262, 0.164, 0.065, 0.012, -0.060, -0.133],
    [0.249, 0.162, 0.076, -0.058, -0.065, -0.073],
    [0.221, 0.152, 0.084, 0.009, -0.021, -0.051],
    [0.317, 0.221, 0.125, 0.030, 0.005, -0.020],
    [0.359, 0.290, 0.166, 0.051, 0.031, 0.001]
])

# Convert to 4x4 matrix
matrix_4x4 = convert_to_4x4(matrix_6x6)

# Round values to three significant digits
matrix_4x4_rounded = np.around(matrix_4x4, decimals=3)

# Convert values to strings with '+' sign for positive values
matrix_4x4_strings = np.char.add(np.where(matrix_4x4_rounded >= 0, '+', ''), matrix_4x4_rounded.astype(str))

# Print the formatted 4x4 matrix
for i, row in enumerate(matrix_4x4_strings):
    print(f"{i} {' '.join(row)}")

# output
# 0 +0.211 +0.112 +0.053 -0.005
# 1 +0.209 +0.117 +0.024 -0.043
# 2 +0.196 +0.119 +0.028 -0.034
# 3 +0.228 +0.146 +0.062 +0.006

Have you guys tried the beta version of the converter?
https://bbbenji.github.io/PMSBLM/beta/
I've had others mention it works well, but let me know how it works for you. If all is good, I'll replace the current converter with it.

Hi, i tried to paste the output of the G29 T command into the beta, i dont think it works, e.g the max value seems wrong.
Also, the beta version says "output from G29" command, not "G29 T" comand. But i am certainly no expert on this..

@stromg looks like if you remove the leading row values 5 4 3 2 1 0, it works. The converter currently does not account for this. I'll see what I can do.

Ok! Thank you! did not try that for some reason..

@stromg I just pushed a fix that removes any leading descending line numbers. It should work without you having to remove them manually now. It's on the beta.

Great! The G29 T command seems more verbose than the G29, as listed in the first post, so manual editing of output is still necessary, but as long as the expected format is visible on the page its all good.

@stromg it should be more lenient with the input now. Ignoring any leading and trailing column numbers as well as leading row numbers (from 0 or to 0)

Great! It accepts the values in the beta page. However something is off (for me). I think.  As an example, to fix the blue part, that is lowest, it want me to rotate the bottom-left screw 53 degree Clockwise, lowering it even more.

What if you flip the invert switch to off?
Can you post your MBL output here?

I believe this was the raw printout from G29 T in OctoPrint, flipping the invert switch seem to make a little more sense since the suggestion to fix  "Back Left "(-0.15 mm) is 107 CCW.  I dont understand the mapping to the image however, cant get the blue part to be back left in the diagram regardless how i spin the image (assuming x is front). i was using the beta page.
Recv:         0       1       2       3       4       5
Recv:  5 | -0.126  -0.124  +0.089  +0.136  +0.059  +0.096
Recv:  4 | -0.164  -0.056  +0.051  +0.069  +0.049  +0.029
Recv:  3 | +0.009  +0.011  +0.014  +0.001  +0.039  +0.076
Recv:  2 | -0.012  +0.023  +0.058  +0.019  +0.038  +0.056
Recv:  1 | -0.017 [+0.023] +0.063  +0.033  +0.035  +0.038
Recv:  0 | -0.012  +0.023  +0.068  +0.046  +0.033  +0.051

@stromg please take a look now.

Ok, i think the scrips works, but i cannot test it all the way, regardless how careful i am with the last degrees on the screws, i always end up with new 20-30 degree adjustments, almost random. But i see my pinda probe does not measure consistently between the tests either, so maybe it is something with that, have to check with support.  For the script it would however be nice to maybe have a box to paste in the values in. I think it can maybe be confusing to paste it in in one line for people. Besides that, thanks for the work :)
Recv:         0       1       2       3       4       5
Recv:  5 | +0.026  +0.035  +0.044  +0.005  -0.017  +0.003
Recv:    |
Recv:  4 | -0.006  +0.003  +0.011  +0.001  +0.000  -0.001
Recv:    |
Recv:  3 | -0.039  -0.030  -0.021  -0.002  +0.018  +0.038
Recv:    |
Recv:  2 | +0.040  +0.033  +0.025  +0.053  +0.033  +0.013
Recv:    |
Recv:  1 | -0.002 [-0.010] -0.017  +0.028  +0.008  -0.012
Recv:    |
Recv:  0 | -0.045  -0.052  -0.060  +0.003  -0.017  -0.037

can do something like this to get the 4x4 output back, have to reverse the Y axis, since UBL starts from the back now. If you use octoprint, the bed visualizer plugin has an option to do
G29 P1
@BEDLEVELVISUALIZER	; instruct plugin to start recording responses from printer.
G29 T1			; plot mesh bed leveling
G29 P3                  ; UBL
...

@notacoat there are switches to flip and invert the data. Is this not enough?

@bbbenji  one less thing I have to remember to do, if I only have to set it once.

Ok, i think the scrips works, but i cannot test it all the way, regardless how careful i am with the last degrees on the screws, i always end up with new 20-30 degree adjustments, almost random. But i see my pinda probe does not measure consistently between the tests either, so maybe it is something with that, have to check with support. For the script it would however be nice to maybe have a box to paste in the values in. I think it can maybe be confusing to paste it in in one line for people. I used invert: off flip: on Besides that, thanks for the work :)
Recv:         0       1       2       3       4       5
Recv:  5 | +0.026  +0.035  +0.044  +0.005  -0.017  +0.003
Recv:    |
Recv:  4 | -0.006  +0.003  +0.011  +0.001  +0.000  -0.001
Recv:    |
Recv:  3 | -0.039  -0.030  -0.021  -0.002  +0.018  +0.038
Recv:    |
Recv:  2 | +0.040  +0.033  +0.025  +0.053  +0.033  +0.013
Recv:    |
Recv:  1 | -0.002 [-0.010] -0.017  +0.028  +0.008  -0.012
Recv:    |
Recv:  0 | -0.045  -0.052  -0.060  +0.003  -0.017  -0.037

I am getting exactly the same behaviour. The output from the G29 T command gives different slightly different results on each run - even though all conditions are exactly the same. I have attached three screenshots of the visualizer for my bed after G29. As you can see, I am getting almost random variations in the output.
I rolled back my firmware to 4.1.1 which uses Bilinear as opposed to unified bed levelling and the problem goes away and I get much more consistent values between runs.
Are you also able to downgrade to 4.1.1 to see if you can replicate what I get? Initially I thought my SPINDA was bad!

I wonder if this is a bug in the Unified Bed Levelling that was introduced as part of the 5.0 firmware.
Either the bed is varying/flexing between runs (I have kept temps the same and raise and lower Z to ensure the SPINDA is not getting too hot) and the new UBL is accurate enough to pick this up, or the bed is indeed not flexing and the new UBL is introducing noise/variation into the readings.

Interesting find, unfortunately i will not be able to test it for a while due to other duties.. Dunno it was the reason, but one mistake i remember doing sometimes, was that i tried to modify the bed height by only using screwdriver from the top while not properly holding the locknut with a wrench. Next time i will create a variant of this adapter.

I Feel like the positions that the pinda measures changed and one of them is too close to the magnets?

I Feel like the positions that the pinda measures changed and one of them is too close to the magnets?

This is a possibility well worth exploring - I am going to downgrade and compare later today

Probing positions on 4.1.1. are in the same positions as 5.0. That being said I still picked up some variations on 4.1.1 firmware but not as bad. Could be that the whole bed needs to be left up to temp for a while...

I have recently found out that you can retrieve the mesh leveling data in the good old format on 5.0+ by doing G29 P1; (then get the data with G29 T;).
I've put together a very short script to change the output to the old format so you can use the old version of the tool: https://colab.research.google.com/drive/13qLM5J1pG5fu6vlo2JZG0oRpZ1dqymwN#scrollTo=YfKBetVtsa5j

Probing positions on 4.1.1. are in the same positions as 5.0. That being said I still picked up some variations on 4.1.1 firmware but not as bad. Could be that the whole bed needs to be left up to temp for a while...

I am not sure if that is true, I looked at the probe offset dimmensions and those are the same, but this commit shows that the mesh_min and mesh_max have changed.

While the scope of this tool is for the Mini, I was able to get it working with the MK3.5 because it uses the same unified mesh leveling system. However, it requires some manual editing to be compatible with this tool.
The output of G29 T gives a lot of data:
Recv:
Recv: Bed Topography Report:
Recv:
Recv:     ( 10,220)                                                                                (260,220)
Recv:         0       1       2       3       4       5       6       7       8       9      10      11      12      13      14      15      16      17      18      19      20
Recv: 20 | +0.041  +0.035  +0.022  +0.009  -0.006  -0.028  -0.051  -0.067  -0.067  -0.059  -0.061  -0.085  -0.120  -0.139  -0.125  -0.095  -0.079  -0.091  -0.115  -0.140  -0.199
Recv:    |
Recv: 19 | +0.044  +0.034  +0.025  +0.016  +0.003  -0.017  -0.041  -0.058  -0.060  -0.056  -0.057  -0.073  -0.094  -0.106  -0.093  -0.070  -0.064  -0.089  -0.131  -0.173  -0.215
Recv:    |
Recv: 18 | +0.040  +0.034  +0.028  +0.023  +0.013  -0.007  -0.031  -0.049  -0.054  -0.053  -0.053  -0.060  -0.068  -0.072  -0.061  -0.045  -0.049  -0.088  -0.147  -0.206  -0.265
Recv:    |
Recv: 17 | +0.035  +0.033  +0.031  +0.029  +0.022  +0.003  -0.021  -0.039  -0.047  -0.049  -0.049  -0.047  -0.043  -0.039  -0.029  -0.020  -0.034  -0.087  -0.163  -0.239  -0.314
Recv:    |
Recv: 16 | +0.034  +0.034  +0.034  +0.034  +0.028  +0.010  -0.014  -0.033  -0.043  -0.048  -0.047  -0.039  -0.025  -0.016  -0.007  -0.002  -0.022  -0.084  -0.171  -0.258  -0.346
Recv:    |
Recv: 15 | +0.041  +0.039  +0.038  +0.036  +0.029  +0.010  -0.014  -0.034  -0.045  -0.051  -0.050  -0.039  -0.021  -0.009  +0.002  +0.007  -0.015  -0.078  -0.167  -0.257  -0.347
Recv:    |
Recv: 14 | +0.050  +0.046  +0.041  +0.036  +0.026  +0.007  -0.018  -0.037  -0.049  -0.056  -0.056  -0.044  -0.026  -0.012  +0.001  +0.008  -0.010  -0.070  -0.156  -0.243  -0.329
Recv:    |
Recv: 13 | +0.053  +0.046  +0.040  +0.033  +0.023  +0.004  -0.018  -0.036  -0.047  -0.052  -0.052  -0.043  -0.028  -0.016  -0.003  +0.008  -0.007  -0.063  -0.145  -0.226  -0.307
Recv:    |
Recv: 12 | +0.043  +0.037  +0.031  +0.025  +0.017  +0.004  -0.013  -0.025  -0.030  -0.032  -0.032  -0.030  -0.026  -0.022  -0.010  +0.003  -0.008  -0.059  -0.133  -0.207  -0.281
Recv:    |
Recv: 11 | +0.025  +0.022  +0.018  +0.015  +0.011  +0.004  -0.004  -0.009  -0.008  -0.004  -0.003  -0.011  -0.023  -0.029  -0.019  -0.004  -0.011  -0.054  -0.120  -0.185  -0.250
Recv:    |
Recv: 10 | +0.011  +0.010  +0.009  +0.008  +0.007  +0.006  +0.004  +0.004  +0.009  +0.017  +0.017  +0.005  -0.014  -0.026  -0.018  -0.002  -0.008  -0.049  -0.111  -0.173  -0.234
Recv:    |
Recv:  9 | +0.003  +0.005  +0.007  +0.009  +0.010  +0.009  +0.008  +0.009  +0.013  +0.019  +0.021  +0.014  +0.002  -0.005  +0.003  +0.016  +0.007  -0.040  -0.109  -0.178  -0.246
Recv:    |
Recv:  8 | -0.001  +0.003  +0.008  +0.013  +0.015  +0.014  +0.012  +0.010  +0.012  +0.014  +0.017  +0.020  +0.023  +0.026  +0.035  +0.043  +0.027  -0.030  -0.111  -0.192  -0.273
Recv:    |
Recv:  7 | -0.007  +0.001  +0.009  +0.017  +0.022  +0.021  +0.017  +0.013  +0.013  +0.013  +0.017  +0.028  +0.042  +0.051  +0.060  +0.064  +0.042  -0.023  -0.114  -0.205  -0.297
Recv:    |
Recv:  6 | -0.017  -0.003  +0.011  +0.025  +0.033  +0.032  +0.026  +0.022  +0.023  +0.026  +0.032  +0.043  +0.057  +0.066  +0.073  +0.075  +0.049  -0.020  -0.117  -0.214  -0.310
Recv:    |
Recv:  5 | -0.028  -0.007  +0.013  +0.033  +0.045  +0.045  +0.038  +0.033  +0.036  +0.043  +0.050  +0.060  +0.070  +0.076  +0.080  +0.080  +0.051  -0.021  -0.121  -0.221  -0.320
Recv:    |
Recv:  4 | -0.038  -0.014  +0.010  +0.034  +0.049  +0.051  +0.045  +0.041  +0.042  +0.046  +0.052  +0.062  +0.075  +0.081  +0.085  +0.082  +0.052  -0.021  -0.122  -0.223  -0.324
Recv:    |
Recv:  3 | -0.048  -0.025  -0.001  +0.022  +0.039  +0.045  +0.045  +0.042  +0.036  +0.027  +0.026  +0.042  +0.065  +0.080  +0.085  +0.082  +0.051  -0.021  -0.120  -0.219  -0.317
Recv:    |
Recv:  2 | -0.058  -0.037  -0.016  +0.004  +0.020  +0.033  +0.041  +0.040  +0.021  -0.005  -0.016  +0.007  +0.047  +0.074  +0.083  +0.079  +0.049  -0.020  -0.115  -0.210  -0.305
Recv:    |
Recv:  1 | -0.067 [-0.050] -0.032  -0.014  +0.002  +0.020  +0.036  +0.038  +0.007  -0.038  -0.058  -0.027  +0.029  +0.068  +0.080  +0.076  +0.047  -0.019  -0.110  -0.201  -0.292
Recv:    |
Recv:  0 | -0.083  -0.062  -0.047  -0.033  -0.017  +0.007  +0.032  +0.036  -0.007  -0.070  -0.100  -0.062  +0.010  +0.062  +0.078  +0.073  +0.044  -0.018  -0.105  -0.192  -0.287
Recv:         0       1       2       3       4       5       6       7       8       9      10      11      12      13      14      15      16      17      18      19      20
Recv:     ( 10,  -10)                                                                                (260,  -10)

But, G29 P1 followed by G29 T greatly simplifies it:
Recv:
Recv: Bed Topography Report:
Recv:
Recv:     ( 10,220)                                                                                (260,220)
Recv:         0       1       2       3       4       5       6       7       8       9      10      11      12      13      14      15      16      17      18      19      20
Recv: 20 |   .       .       .       .       .       .       .       .       .       .       .       .       .       .       .       .       .       .       .       .       .
Recv:    |
Recv: 19 |   .     +0.047    .       .     +0.013    .       .     -0.026    .       .     +0.023    .       .     +0.039    .       .     +0.191    .       .     +0.224    .

Recv:    |
Recv: 16 |   .     +0.034    .       .     +0.023    .       .     -0.011    .       .     +0.028    .       .     +0.152    .       .     +0.285    .       .     +0.242    .

Recv:    |
Recv: 13 |   .     +0.054    .       .     +0.025    .       .     -0.016    .       .     +0.028    .       .     +0.189    .       .     +0.370    .       .     +0.391    .

Recv:    |
Recv: 10 |   .     +0.019    .       .     +0.005    .       .     +0.026    .       .     +0.102    .       .     +0.199    .       .     +0.425    .       .     +0.551    .

Recv:    |
Recv:  7 |   .     +0.013    .       .     +0.022    .       .     +0.031    .       .     +0.110    .       .     +0.296    .       .     +0.492    .       .     +0.546    .

Recv:    |
Recv:  4 |   .     -0.002    .       .     +0.049    .       .     +0.066    .       .     +0.157    .       .     +0.336    .       .     +0.504    .       .     +0.541    .

Recv:    |
Recv:  1 |   .    [-0.010]   .       .     +0.024    .       .     +0.085    .       .     +0.054    .       .     +0.330    .       .     +0.499    .       .     +0.595    .

Recv:         0       1       2       3       4       5       6       7       8       9      10      11      12      13      14      15      16      17      18      19      20
Recv:     ( 10,  -10)                                                                                (260,  -10)
Recv:
Recv: ok

If I input only the lines with data, and remove all line numbers, Octoprint cruft, and dots, I get a usable output from the visualizer. Yes I know my right side is high, it's a work in progress :)

@sdh2 it should work just fine with that output without editing. If you are still having issues, please open a new issue.

Should be all working now. Closing.


Integration testing

We are quickly going to be interfacing with quite a few libraries (PySyft, tf-big, scale mamba, ...).  We will need a strong suite of integration tests that run with CI.  I suggest we first start with PySyft to prevent breaking the existing notebooks during releases (a la #624).

Seems like we want to test API guarantees.  testing against all these libs individually might become unruly / make CI super slow.  Or perhaps there will be few enough that this would be okay.
(not sure which you were suggesting).

I think we need to test against PySyft (since it's a dependency and changes here could silently break it). for tf-big etc., API guarantees would seem preferable, except we don't have guarantees yet and we're about to refactor and break everything :D

Isn't TFE a dependency of PySyft?  Seems like API guarantees would cover that case as well, but where the API is quite fluid right now and the integration is early days it probably does make sense to just test against how PySyft is using TFE so we can be alerted if we break something.

at the moment PySyft is using parts of TFE that might not be covered by API guarantees, and we don't know how that'll be until we know how TF will look in PySyft and how TFE will integrate


Update clang-format (pre-commit)

Reported issue here: https://github.com/pre-commit-ci/issues/issues/210


How can i add fields into Different formik forms dinamically?

❓Question
I am implementing an application that generates fields on the fly and i was wondering how i can tie these fields into the right <Formik /> instance. I looked over the connect() api But i would like to have an example of how it works.

Closing due to long inactivity


question:can i reproduce this work just on my laptop,or how much computer resource i need to do this,thanksd?

Dear miderxi,
Sorry for the slow reply (for some reason I'm not getting email notifications about github anymore).
As for you question, the answer depends on what exactly you want to reproduce:

If you want to use the pre-trained neural network APARENT to run some of the notebooks that make large batch predictions (e.g. predict the 40K human variants), then a laptop would suffice, but a GPU would make the analyses faster.

If you want to re-train the neural network APARENT on the 3.5 million training sequences, then you would definitely want to run it on a GPU (we used a p2.xlarge AWS instance to train it, which has a Tesla K80 card). It takes half a day to train on a GPU.

If you want to re-process the data (align / map reads and consolidate the data into the processed file of 3.5M sequences with measurements), you either need a laptop with a lot of RAM memory (32-64GB) or similarly powered machine. A GPU is not needed for this.

Best,
Johannes

To my surprise,I thout it will be a sillence store in the sea,to that,I am appreciate you reply and guidance,this is very useful for me. beside,wish you happy year and good luck
best,
chenping L
---Original---
From<EMAIL_ADDRESS>Date: Fri, Feb 12, 2021 01:01 AM
To<EMAIL_ADDRESS>Cc: "miderxi"<1965770446<EMAIL_ADDRESS>Subject: Re: [johli/aparent] question:can i reproduce this work just on my laptop,or how much computer resource i need to do this,thanksd? (#5)
Dear miderxi,
Sorry for the slow reply (for some reason I'm not getting email notifications about github anymore).
As for you question, the answer depends on what exactly you want to reproduce:
If you want to use the pre-trained neural network APARENT to run some of the notebooks that make large batch predictions (e.g. predict the 40K human variants), then a laptop would suffice, but a GPU would make the analyses faster.
If you want to re-train the neural network APARENT on the 3.5 million training sequences, then you would definitely want to run it on a GPU (we used a p2.xlarge AWS instance to train it, which has a Tesla K80 card). It takes half a day to train on a GPU.
If you want to re-process the data (align / map reads and consolidate the data into the processed file of 3.5M sequences with measurements), you either need a laptop with a lot of RAM memory (32-64GB) or similarly powered machine. A GPU is not needed for this.
Best,
Johannes
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

我已收到邮件，会尽快处理。


Fix countUpperCase method

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

Closes #193

If you rebase then I will merge!

Hey @max80713 ! Would you mind resolving the merge conflicts in lib/index.js so we can get this in! Thanks!!

Closing this and releasing back to the wild


Weird max-width for home page code example headings.

Is there a reason for max-width: 11em in the home page code headings? (this line: https://github.com/reactjs/reactjs.org/blob/master/src/components/CodeExample/CodeExample.js#L44)
"A Component Using External Plugins" is cut off into two lines when it doesn't need to be:

Especially when translated into more verbose languages, this ends up looking weird. See examples in Spanish

Okay so it seems like it's a hack to avoid a widow when viewed on a 1280px monitor...
Probably should just add a "no widows/orphans" plugin to remark


Document innerRef

This feature isn't documented: https://github.com/rtsao/styletron/issues/36#issuecomment-321682526

Docs have been updated in https://github.com/rtsao/styletron/pull/217


Support for Async Validation

asyncValidation and asyncValidator can be implemented as a part of it.

I'll provide asyncValidator in another PR, see #168 for now


Increase default TCP_Max_worker thread values

Description:
Currently, the default value of TCP_Max_worker is set to '20'. But it is not sufficient to handle incoming requests for most of the scenarios. So we need to increase that value.


Store contract builds outside of the repo

Right now we rebuild and store the 4 development contracts for every release in the repo, as documented in step 2 of the release guide. This is an inefficient storage location and a circular dependency. It would be better to store them as release artifacts, e.g. using Github releases.
We can execute a build and upload job via https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag

Happy to use release artifacts. Only the hackatom -> testdata/contract_0.9.wasm needs to be in the repo. The others are needed not just on tagged releases but often on master to test upstream.
Happy to store as artifacts on some other platform, tagged by git tag or by git commit, created and pushed on every merge to master (if you need to test a PR, you can DIY)

Done in #409


SetFit sampling trick

Background
I've enjoyed using the SetFit library to get great results on text-classification tasks, thank you core developers for your work on this 👏
However with larger datasets I'm working on (>100 classes, >20k samples) I found the training times to be slow, especially if wanting to hyperparameter tune as well.
Proposal
The vast majority of the training time is in contrastive learning stage which relates to the number of sentence-pairs included. There is probably a lot of ways to engineer the contrastive sentence-pairs, but in looking to improve training times a simple solution I fell upon (that fit nicely into the existing API) was just to remove duplicate pairs by adding a remove_duplicate_samples parameter in the setfit train method.
Testing
Using the run_fewshot.py script (with some alterations to setup the no-duplicate runs) I have run this comparison on the test_set datasets with the following parameters:

Sample size range: [4, 8, 16, 32, 64]
Default 10x train/test splits (per class_num per dataset)
Data augmentations added - as always seem to improve performance !
Only parameter difference is num_iterations=40 (instead of 20) on the no duplicate run - these tests run so much quicker anyway seemed generous to boost this slightly
Ran on GPU: A100-SXM4-40GB

Commands for reproducibility
Original
python scripts/setfit/run_fewshot.py --num_iterations=20 --batch_size=32 --train_time=true --is_test_set=true --add_data_augmentation=true

no_duplicate_samples
python scripts/setfit/run_fewshot.py --num_iterations=40 --batch_size=32 --train_time=true --is_test_set=true --add_data_augmentation=true --remove_duplicate_samples=true --exp_name=remove-dups

Analysis
Accuracy (16 samples per class):

ag_news (acc)
emotion (acc)
enron_spam (acc)
SentEval-CR (acc)
sst5 (acc)
amazon_counterfactual_en (matthews correlation)

SetFit Original
86.3 (1.0)
63.8 (2.3)
93.0 (1.8)
88.9 (0.9)
47.9 (2.3)
35.3 (7.1)

SetFit no_duplicate_samples
86.0 (0.9)
59.5 (2.7)
92.5 (1.3)
90.8 (1.4)
45.7 (2.5)
39.4 (8.3)

Training time (16 samples per class):

ag_news (s)
emotion (s)
enron_spam (s)
SentEval-CR (s)
sst5 (s)
amazon_counterfactual_en (s)

SetFit Original
41.0 (5.2)
34.7 (0.8)
54.3 (0.6)
11.8 (1.4)
28.8 (2.0)
13.9 (1.8)

SetFit no_duplicate_samples
14.3 (2.1)
13.9 (0.4)
11.7 (0.4)
2.8 (0.4)
10.8 (0.8)
3.4 (0.5)

SetFit % change accuracy: Original → no_duplicate_samples

SetFit training time difference: Original / no_duplicate_samples

Highlights

Removing duplicates typically removes ~60-98% of the samples. Even after doubling num_iterations, the observed training times are 2-8x faster.

Despite this, the results stay on average within 12% of the previous accuracy.

At larger sample sizes (e.g. 32) the average accuracy slightly improved (probably a benefit of higher no. of iterations) while training on average 4x faster!

Other comments

At lower sample sizes (<16) the higher no. of iterations could be overfitting on a few samples. It's worth noting the main benefit of remove_duplicate_samples is reducing training times which are not an issue on few sample datasets.

The considerably faster training times + hyperparameter tuning could probably be used find better lr & num_iterations parameters to improve accuracy.

Tests ran on A100 GPUs. On CPUs/ lower spec GPU's you would expect runtime differences to get larger...

Hi, I'm very interested in your trick. How did you modify the code to add remove_duplicate_samples? Thank you in advance!

@domitix I believe #259 implements the changes to reproduce these results.
@danstan5 Great analysis! I've personally always had some issues with the pair generation's naive approach. It's very interesting to see these results in practice.

@tomaarsen following on from your comments in #259 I'm inclined to explore more your idea of generating the "proper" list, but perhaps go even more fundamental:

You gave the example num_iterations=20, num_samples=16, classes=2 → 640 samples will be generated
The true no. of unique label combination pairs is 528 (or 496 without identical pairs).
If we assume the unique_pairs approach (suggested in #259), upto 528 samples (~16 iterations) training is just under-sampled (against total data we have available).
From iterations 17 -> 20, we are just adding repeated samples again (effectively giving some pairs random extra weighting?)

In this case as we start to duplicate samples, is this not the same over-fitting to these randomly extra selected pairs?
Would it be better to just do away with this sampling iterations concept and take the true total. combinations as "no. of samples" then ↑ num_epochs or learning_rate for fitting?
Be keen to know your thoughts, although I think testing will help to validate this!

Closing this as the advantages that come through better sampling and natural limits have been addressed in #268.
Note: in hindsight alot of the speed up that came from removing duplicate samples was because add_data_augmentation adds no. of new samples = no. of existing samples (this doubles the dataset size with lots of duplicates!).
Therefore what the analysis really shows it that at higher sample sizes, adding lots of duplicate augmented data has no impact on accuracy, but takes significantly longer to train.


Minify JSClosure returning a map minified improperly

[0].map(n => ({a: n})) is minified to [0].map(n=>{a:n}) which produces an "unexpected :" error (the brackets shouldn't be removed).
Workaround:
[0].map(n => {return{a: n}})
(on Rust)

Thanks for raising this issue, it should be fixed in version 0.10.2, let me know if it works for you.

ok i’ll check it when i’m back home

great, works!


Progress bar has a transition

It shouldn't. When I click on some moment of a song the pointer should instantly move to that moment.
.progress-bar is causing the issue, it has transition: .4s built-in. I tried to overwrite with !important but it didn't help by some reason

I don't completely agree that there shouldn't be a transition on the progress bar. While it's true that it currently takes far too long for the bar to transition to where the user clicks, without a transition, instantaneously moving the bar would be jarring.
I will look into how to make the transition feel more responsive.

It should be fixed in the latest commit


Jetbrains -> JetBrains

typo fix

Can you update the text fixtures as well please.

@aireilly @rkratky what do you think about the proposed changes in https://github.com/redhat-documentation/vale-at-red-hat/pull/361 instead.

Addressed in https://github.com/redhat-documentation/vale-at-red-hat/pull/361


Local development with Azure services

Resolves #12
Thanks @lawrenceadams for https://github.com/UCLH-Foundry/Book-of-FlowEHR/issues/197
Probably needs some tweaks but works okay for me. Would appreciate others testing

TODO

[ ] Add note on az login to README

@t-young31 can you add me as a collaborator so I can add the PR?

Probably expected behaviour, but after a clean install/in a new devcontrainer unable to make serve-dev until ENVIRONMENT has been set or serve-local run. It worth adding a line in the docs or default to ENVIRONMENT=dev?

Probably expected behaviour, but after a clean install/in a new devcontrainer unable to make serve-dev until ENVIRONMENT has been se

ugh, sorry @lawrenceadams – forgot to comment back in the build. try now?

@t-young31 Works great for me within a devcontainer (built frommain),  will quickly try within the new TRE build


NPE when writing extra data records with no data

@srikanth-lingala @nicolabeghin
I have other problem 。when I  add fille in zip ,will get NullPointException. but not All zip .
reappear it  steps:

download this file  http://oss.youxifan.com/MGInc6E .yes it's  apk .(apk is a zip)
use the add Api code .

    ZipFile zipFile = new ZipFile("/Users/engine/apk/test.apk");
    ArrayList<File> addFiles = new ArrayList<>();
    addFiles.add(new File("/Users/engine/apk/test.txt"));
    ZipParameters parameters = new ZipParameters();
    parameters.setCompressionMethod(CompressionMethod.DEFLATE);
    parameters.setCompressionLevel(CompressionLevel.NORMAL);
    // 目标路径
    parameters.setRootFolderNameInZip("META-INF/");
    zipFile.addFiles(addFiles, parameters);

you will get  java.lang.NullPointerException and  damage the apk

Stack trace:
 net.lingala.zip4j.exception.ZipException: java.lang.NullPointerException
	at net.lingala.zip4j.headers.HeaderWriter.writeFileHeader(HeaderWriter.java:501)
	at net.lingala.zip4j.headers.HeaderWriter.writeCentralDirectory(HeaderWriter.java:382)
	at net.lingala.zip4j.headers.HeaderWriter.finalizeZipFile(HeaderWriter.java:177)
Caused by: java.lang.NullPointerException
	at java.io.OutputStream.write(OutputStream.java:75)
	at net.lingala.zip4j.headers.HeaderWriter.writeRemainingExtraDataRecordsIfPresent(HeaderWriter.java:54
	at net.lingala.zip4j.headers.HeaderWriter.writeFileHeader(HeaderWriter.java:495)
	... 37 more

I have fix this Exception  by modify  HeaderWriter.writeRemainingExtraDataRecordsIfPresent() .at the latest code :

    if(extraDataRecord.getData()!=null){
        outputStream.write(extraDataRecord.getData());
      }

but  I'm not sure I'm right
Originally posted by @lovekill in https://github.com/srikanth-lingala/zip4j/issues/148#issuecomment-595650771

Issue fixed, will include it in next release

Fix included in v2.5.0 released today. A couple of more features have been added in this release. Please have a look at release notes.


GDScript 2.0: Setting a typed variable to a previously freed instance causes a freeze and crash without report to console

Godot version
4.0.beta14.mono.official
System information
macOS Monterey 12.5.1
Issue description
Trying to set a typed variable to a previously freed instance causes the game to freeze and then crash without any debug information being sent to the console.
I would expect it to fail and either continue (so you could for example proceed to call is_instance_valid on it) or throw an error, but it does neither.
Steps to reproduce
When the object passed in as instance has been freed, this code works fine:
func print_instance_untyped(instance):
	var user_class = instance
	print(user_class)

But this code causes a silent crash:
func print_instance_typed(instance):
	var user_class:CustomGameClass = instance
	print(user_class)

(It doesn't matter if the type is CustomGameClass or a built-in type; e.g. it crashes the same when it's a Label.
Minimal reproduction project
FreedTypedVariableCrash.zip

I'm starting to try to take a look but have very very little capacity right now, so if someone hops in & fixes it that's really cool too :)
For right now I just confirmed the issue on master (post RC2), and got the stack trace:
================================================================
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.0.rc.custom_build (830eff64a75a9cad211a60e91a2d804592d4d7e8)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[0] Object::get_class_name (C:\dev\godot\core\object\object.h:794)
[1] GDScriptFunction::call (C:\dev\godot\modules\gdscript\gdscript_vm.cpp:1280)
[2] GDScriptInstance::callp (C:\dev\godot\modules\gdscript\gdscript.cpp:1826)
[3] Object::callp (C:\dev\godot\core\object\object.cpp:711)
[4] Variant::callp (C:\dev\godot\core\variant\variant_call.cpp:1161)
[5] GDScriptFunction::call (C:\dev\godot\modules\gdscript\gdscript_vm.cpp:1613)
[6] GDScriptInstance::callp (C:\dev\godot\modules\gdscript\gdscript.cpp:1826)
[7] Node::_gdvirtual__input_call<0> (C:\dev\godot\scene\main\node.h:245)
[8] Node::_call_input (C:\dev\godot\scene\main\node.cpp:2768)
[9] SceneTree::_call_input_pause (C:\dev\godot\scene\main\scene_tree.cpp:924)
[10] Viewport::push_input (C:\dev\godot\scene\main\viewport.cpp:2833)
[11] Window::_window_input (C:\dev\godot\scene\main\window.cpp:1373)
[12] call_with_variant_args_helper<Window,Ref<InputEvent> const &,0> (C:\dev\godot\core\variant\binder_common.h:293)
[13] call_with_variant_args<Window,Ref<InputEvent> const &> (C:\dev\godot\core\variant\binder_common.h:408)
[14] CallableCustomMethodPointer<Window,Ref<InputEvent> const &>::call (C:\dev\godot\core\object\callable_method_pointe)
[15] Callable::callp (C:\dev\godot\core\variant\callable.cpp:51)
[16] DisplayServerWindows::_dispatch_input_event (C:\dev\godot\platform\windows\display_server_windows.cpp:2314)
[17] DisplayServerWindows::_dispatch_input_events (C:\dev\godot\platform\windows\display_server_windows.cpp:2279)
[18] Input::_parse_input_event_impl (C:\dev\godot\core\input\input.cpp:690)
[19] Input::flush_buffered_events (C:\dev\godot\core\input\input.cpp:941)
[20] DisplayServerWindows::process_events (C:\dev\godot\platform\windows\display_server_windows.cpp:2008)
[21] OS_Windows::run (C:\dev\godot\platform\windows\os_windows.cpp:1296)
[22] widechar_main (C:\dev\godot\platform\windows\godot_windows.cpp:181)
[23] _main (C:\dev\godot\platform\windows\godot_windows.cpp:203)
[24] main (C:\dev\godot\platform\windows\godot_windows.cpp:217)
[25] WinMain (C:\dev\godot\platform\windows\godot_windows.cpp:231)
[26] __scrt_common_main_seh (D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[27] <couldn't map PC to fn name>
-- END OF BACKTRACE --
================================================================

Made a fix in #73364, but need some feedback on what we want the behavior to be, so please head on over & share your thoughts!


Support Legacy Firmware OTA from mybluemix.net

As an insurance policy if download.openeew.com server certificate renewal does not work correctly, the firmware now supports a legacy OTA download site - mybluemix.net.
We will be able to put recovery firmware binaries on the Cloud Foundry mybluemix.net server.
I also saw brownouts while running the OTA function.  Turned off the LED and disabled the ESP32 brownout detector.

Fixed by https://github.com/openeew/openeew-firmware/commit/fa3f556b9fd8d495dc25151519af88f9c089c213


Add using Disk Cache Datapipe to save examples/batches to disk

To speed up training, it could be useful to write some examples or batches to disk to load quickly. There are built-in datapipes that can be used to cache outputs from datapipes, so we could do it for only certain parts or the end torch Tensors.
Detailed Description
OnDiskCacheHolder
EndDiskCacheHolder
Context
We still have an issue with loading speed of Zarr-based data. This could be used in a few ways. One would be generate a dataset to initially train models on, and then switch to training from the full pipeline as more fine-tuning, even though its slower. Or mix in loading examples off disk and loading them from raw data.
Possible Implementation

We have different ways of doing this now, primarily in windnet_datapipe.


Train/inference implementation

Hi,
I was looking into your code and have a few concerns:

In which format do you use labels while training? Given the code in your Dataset - it is a one-hot vector with -1 instead of 0s? Is there some justification for this or it is possible to use traditional encoding?

I am also struggling to understand your predict function and how it aligns with the method described in the paper(Section 3.4).
https://github.com/lissomx/MSP/blob/64cba0e9bffbe06befb13ebfc21c255ea6cb3aeb/M_ModelAE_Cnn.py#L129

I will be pleased if you make things more clear for me.
Thanks in advance.
Vladyslav

Dear Vladyslav,
Thanks for your questions.

you are right; the labels are using 1 and -1 (because I picked the code from other projects). It should be ok If you use 1 and 0 to train the model (but I didn't try).

The predict function aims to replace the label information with the given labels (i.e. new_ls) from the input pictures (i.e. x). You may feel confused because the function does not explicitly calculate the matrix N because of the speed reason. The function works roughly following this idea:

Suppose \hat{z} is the encoded picture i.e. \hat{z} = encoder(x); z' is the modified \hat{z} via label relacement.
According to the paper, [l,s] = [M,N] \hat{z}, and you are replacing the l by the new label l' such that z' = transpose([M,N]) [l',s].
So now we have:
d = z' -  \hat{z}
= transpose([M,N]) [l',s] - transpose([M,N]) [l,s]
= transpose([M,N]) ([l',s] - [l,s])
= transpose([M,N]) ([l'-l,0])
= transpose(M) (l'-l)
Therefore,
z' = \hat{z} - d = \hat{z} - transpose(M) (l'-l)
Whatever, you asked very good questions. I may add the description somewhere in the paper.
Thanks,
Xiao


fix missing gpu metrics

cherry-pick of #2194

Coverage increased (+0.01%) to 52.639% when pulling b8eae24918b3fd93280b19a7c698e56faba84d4d on dixu/cherry-pick-of-fix into 7e8ea6fda46636a4f710ee512bf047cbe7e5171d on pai-0.10.y.


18 1.4 add application deadline fixes #18

Add Application Deadline to Events

Coverage remained the same at 100.0% when pulling 05110116e3a968beb874e777dd5e5066e88cde2a on 18_1.4_AddApplicationDeadline into aaef3ecc8509b5d87c9a90359b52c44fa00c3c5c on dev.

Coverage remained the same at 100.0% when pulling c6a0ac71a52c22215e94e98926267a455c5c4d34 on 18_1.4_AddApplicationDeadline into aaef3ecc8509b5d87c9a90359b52c44fa00c3c5c on dev.


ffmpeg_bin_path` is not set

Hello there,
i get a warning when i start my comfyui:
Warning: ffmpeg_bin_path is not set in C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available
I have tried to set the path, but i don't manage to do it properly. Is there anybody who can help me?
thanx in front
Lenny

WAS Node Suite: ffmpeg_bin_path is set to: G:\Tools\ffmpeg6.0\bin

请注意看使用说明：“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

Did you install another node that uninstalled
opencv-python-headless[ffmpeg] ?
On Sat, Dec 9, 2023, 8:56 AM VipCrazyMaster @.***>
wrote:

请注意看使用说明：“nodes require FFMPEG https://ffmpeg.org/download.html. You
should download the proper FFMPEG binaries for you system and set the
FFMPEG path in the config
file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-1848577661,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZNMI7JPOMRC7UKHZXLYISJ3DAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGU3TONRWGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

You can always add your bin path to system PATHs ENV
On Sat, Dec 9, 2023, 10:42 AM Jordan Thompson @.***> wrote:

Did you install another node that uninstalled
opencv-python-headless[ffmpeg] ?
On Sat, Dec 9, 2023, 8:56 AM VipCrazyMaster @.***>
wrote:

请注意看使用说明：“nodes require FFMPEG https://ffmpeg.org/download.html. You
should download the proper FFMPEG binaries for you system and set the
FFMPEG path in the config
file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-1848577661,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZNMI7JPOMRC7UKHZXLYISJ3DAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGU3TONRWGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello guys, Same issue for me and i've set FFmpeg in the c:// ENV Path, but comfyui is located on another hard drive. Should i set the path on D:// too ?

You should point to your ffmpeg binary exe I am pretty sure. It's been a
minute since I have used it since all the other video nodes.
But you can also set bin path in system environment path in windows.
On Sat, Dec 9, 2023, 2:42 PM OtakuFra @.***> wrote:

Hello guys, Same issue for me and i've set FFmpeg in the c:// ENV Path,
but comfyui is located on another hard drive. Should i set the path on D://
too ?
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-1848769971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZJKS7FACNTVN5KHPBDYITSO7AVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYG43DSOJXGE
.
You are receiving this because you commented.Message ID:
@.***>

请注意看使用说明：“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready  "C:\PATH_Programs\ffmpeg.exe"
But as i copy this path to the was_suite_config.json file, then it doesn't work.
This is how i tried it:
"ffmpeg_bin_path":  "C:\PATH_Programs\ffmpeg.exe" ,
But then i get this Error:
WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template.
Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module)
Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff
greets Lenny

Did you install another node that uninstalled opencv-python-headless[ffmpeg] ?

Not that i am aware of

You can always add your bin path to system PATHs ENV

I am sorry i don't know what you mean with this?
I am a noob when it comes to this kind of stuff

请注意看使用说明：“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready "C:\PATH_Programs\ffmpeg.exe"
But as i copy this path to the was_suite_config.json file, then it doesn't work.
This is how i tried it:
"ffmpeg_bin_path": "C:\PATH_Programs\ffmpeg.exe" ,
But then i get this Error:
WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template.
Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module)
Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff greets Lenny

Don't you have a bin folder in your FFmpeg folder? If PATH_Programs is your FFmpeg root folder, You need to set: "ffmpeg_bin_path": "C:\PATH_Programs\bin" ,no necessary to set ffmpeg.exe

请注意看使用说明：“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready "C:\PATH_Programs\ffmpeg.exe"
But as i copy this path to the was_suite_config.json file, then it doesn't work.
This is how i tried it:
"ffmpeg_bin_path": "C:\PATH_Programs\ffmpeg.exe" ,
But then i get this Error:
WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template.
Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module)
Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff greets Lenny

Don't you have a bin folder in your FFmpeg folder? If PATH_Programs is your FFmpeg root folder, You need to set: "ffmpeg_bin_path": "C:\PATH_Programs\bin" ,no necessary to set ffmpeg.exe

""must be double“\“

请注意看使用说明：“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready "C:\PATH_Programs\ffmpeg.exe"
But as i copy this path to the was_suite_config.json file, then it doesn't work.
This is how i tried it:
"ffmpeg_bin_path": "C:\PATH_Programs\ffmpeg.exe" ,
But then i get this Error:
WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template.
Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module)
Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff greets Lenny
I use macbook M1 pro. Add the ffmpeg path / Applications/ffmpeg I installed in the .json file. After rebooting, the mac terminal indicates that the installation is successful: "WAS Node Suite: ffmpeg_bin_ pathis set to: / Applications/ffmpeg". The file suffix is not required in the mac system. You can just navigate to the ffmpeg root directory to see if it is OK.

have a bin folder in your FFmpeg folder

no i don't have a bin folder in my FFmpeg folder

https://www.editframe.com/guides/how-to-install-and-start-using-ffmpeg-in-under-10-minutes Specifically the directions towards the end regarding adding ffmpeg to PATH environment variable.

thanx for the help and the link, i will dive into it straight away :-)

Hello, i have this same issue and ive done all the steps above if succesfully installed FFmpeg and created a folder in C:\ffmpeg however im probably doing something wrong while editing the config, heres what it looks like
{
"run_requirements": true,
"suppress_uncomfy_warnings": true,
"show_startup_junk": true,
"show_inspiration_quote": true,
"text_nodes_type": "STRING",
"webui_styles": null,
"webui_styles_persistent_update": true,
"blip_model_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth",
"blip_model_vqa_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_vqa_capfilt_large.pth",
"sam_model_vith_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth",
"sam_model_vitl_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth",
"sam_model_vitb_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth",
"history_display_limit": 36,
"use_legacy_ascii_text": false,
"ffmpeg_bin_path": "C:\FFmpeg",
"ffmpeg_extra_codecs": {
"avc1": ".mp4",
"h264": ".mkv"
},
"wildcards_path": "C:\Users\heruv\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\wildcards",
"wildcard_api": true
{

Hello, i have this same issue and ive done all the steps above ive succesfully installed FFmpeg and created a folder in C:\ffmpeg however im probably doing something wrong while editing the config, heres what it looks like
{ "run_requirements": true, "suppress_uncomfy_warnings": true, "show_startup_junk": true, "show_inspiration_quote": true, "text_nodes_type": "STRING", "webui_styles": null, "webui_styles_persistent_update": true, "blip_model_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth", "blip_model_vqa_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_vqa_capfilt_large.pth", "sam_model_vith_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth", "sam_model_vitl_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth", "sam_model_vitb_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth", "history_display_limit": 36, "use_legacy_ascii_text": false, "ffmpeg_bin_path": "C:\FFmpeg", "ffmpeg_extra_codecs": { "avc1": ".mp4", "h264": ".mkv" }, "wildcards_path": "C:\Users\heruv\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\wildcards", "wildcard_api": true {
ive also tried C:\FFmpeg , help is much aprecciated.

But does ffmpeg.exe exist in the folder you're linking? Usually it's ffmpeg/bin that actually contains the binary.

Hello, i have this same issue and ive done all the steps above ive succesfully installed FFmpeg and created a folder in C:\ffmpeg however im probably doing something wrong while editing the config, heres what it looks like
{ "run_requirements": true, "suppress_uncomfy_warnings": true, "show_startup_junk": true, "show_inspiration_quote": true, "text_nodes_type": "STRING", "webui_styles": null, "webui_styles_persistent_update": true, "blip_model_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth", "blip_model_vqa_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_vqa_capfilt_large.pth", "sam_model_vith_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth", "sam_model_vitl_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth", "sam_model_vitb_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth", "history_display_limit": 36, "use_legacy_ascii_text": false, "ffmpeg_bin_path": "C:\FFmpeg", "ffmpeg_extra_codecs": { "avc1": ".mp4", "h264": ".mkv" }, "wildcards_path": "C:\Users\heruv\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\wildcards", "wildcard_api": true {
ive also tried C:\FFmpeg , help is much aprecciated.

But does ffmpeg.exe exist in the folder you're linking? Usually it's ffmpeg/bin that actually contains the binary.

https://i.imgur.com/xvTUwv7.png
https://i.imgur.com/KD0AFxM.png
As you can see in the images above thats where the folder is, its named FFmpeg, and inside it are the 3 files.

请注意看使用说明：“nodes require FFMPEG.您应该为您的系统下载正确的 FFMPEG 二进制文件，并在配置文件中设置 FFMPEG 路径。你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

我安装了 FFMPEG allready “C：\PATH_Programs\ffmpeg.exe”
但是当我将此路径复制到was_suite_config.json文件时，它不起作用。
这是我尝试的方式：
“ffmpeg_bin_path”： “C：\PATH_Programs\ffmpeg.exe” ，
但是后来我得到这个错误：
WAS 节点套件错误：无法加载 conf 文件。使用内部配置模板。C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json
也许我的 ffmpeg 没有正确安装？或者无法正确找到路径，因为我只能找到ffmpeg.exe的路径（我猜是安装模块）
对不起，我之所以是这些东西的菜鸟，我只是喜欢稳定的扩散，但我对 Lenny 的所有技术问题都很糟糕

请注意看使用说明：“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready "C:\PATH_Programs\ffmpeg.exe"
But as i copy this path to the was_suite_config.json file, then it doesn't work.
This is how i tried it:
"ffmpeg_bin_path": "C:\PATH_Programs\ffmpeg.exe" ,
But then i get this Error:
WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template.
Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module)
Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff greets Lenny

Windows 下尝试用C:\PATH_Programs\ffmpeg.exe
这种格式。你要考虑到Python语言的转义符。

Windows users, following the steps below, the step-by-step operation will surely solve your problem.

Enter the website "https://www.gyan.dev/ffmpeg/builds/", find the "ffmpeg-git-essentials.7z" file and download it.
Unzip the downloaded "ffmpeg-git-essentials.7z" file.
Create the folder "FFmpeg" in the root directory of drive C, find the bin folder in the decompressed folder, and copy all the files in the bin folder to the "FFmpeg" file.
Open the file "ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json", change the path of "ffmpeg_bin_path" to "C:/FFmpeg", and save the file.

Note: / in "C:/FFmpeg" must be /, not .

Restart ComfyUI and the problem is solved.

NOTE the following:
WRONG:
"ffmpeg_bin_path": "C:\PATH_TO_FFMPEG_BIN\ffmpeg.exe"
RIGHT:
"ffmpeg_bin_path": "C:\PATH_TO_FFMPEG_BIN\ffmpeg.exe"

Is there a unraid linux way of adding this to path?

Point to the bin folder so it can find appropriate binary
On Sat, Jun 1, 2024, 11:09 AM Peter Whyte @.***> wrote:

Is there a unraid linux way of adding this to path?
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-2143535447,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZK7KD72HAQNWJN3NWDZFIE5HAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGUZTKNBUG4
.
You are receiving this because you commented.Message ID:
@.***>

Ropgrc basically got it right but I think he made a typo. In essence for Windows use "/" instead of the default "".
So use C:/Program Files/ffmpeg/bin instead of C:\Program Files\ffmpeg\bin

我是下载的解压包
D:\AI\AIsd\ComfyUI-aki-v1.3\custom_nodes\was-node-suite-comfyui\was_suite_config.json
下面是文件内所有代码
{
"run_requirements": true,
"suppress_uncomfy_warnings": true,
"show_startup_junk": true,
"show_inspiration_quote": true,
"text_nodes_type": "STRING",
"webui_styles": null,
"webui_styles_persistent_update": true,
"sam_model_vith_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth",
"sam_model_vitl_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth",
"sam_model_vitb_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth",
"history_display_limit": 36,
"use_legacy_ascii_text": false,
"ffmpeg_bin_path": **"C:\Users\admin\Downloads\ffmpeg-7.0.2.tar\ffmpeg-7.0.2",这里是我更改的地方
"ffmpeg_extra_codecs": {
"avc1": ".mp4",
"h264": ".mkv"
},
"wildcards_path": "D:\AI\AIsd\ComfyUI-aki-v1.3\custom_nodes\was-node-suite-comfyui\wildcards",
"wildcard_api": true
}
然后貌似没有报错了
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite: ffmpeg_bin_path is set to: C:\Users\admin\Downloads\ffmpeg-7.0.2.tar\ffmpeg-7.0.2
WAS Node Suite: Finished. Loaded 218 nodes successfully.

Use double backslashes.
On Thu, Aug 15, 2024, 1:41 AM xue886 @.***> wrote:

我是下载的解压包
D:\AI\AIsd\ComfyUI-aki-v1.3\custom_nodes\was-node-suite-comfyui\was_suite_config.json
下面是文件内所有代码
{
"run_requirements": true,
"suppress_uncomfy_warnings": true,
"show_startup_junk": true,
"show_inspiration_quote": true,
"text_nodes_type": "STRING",
"webui_styles": null,
"webui_styles_persistent_update": true,
"sam_model_vith_url": "
https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth",
"sam_model_vitl_url": "
https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth",
"sam_model_vitb_url": "
https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth",
"history_display_limit": 36,
"use_legacy_ascii_text": false,
"ffmpeg_bin_path":
**"C:\Users\admin\Downloads\ffmpeg-7.0.2.tar\ffmpeg-7.0.2",这里是我更改的地方
"ffmpeg_extra_codecs": {
"avc1": ".mp4",
"h264": ".mkv"
},
"wildcards_path":
"D:\AI\AIsd\ComfyUI-aki-v1.3\custom_nodes\was-node-suite-comfyui\wildcards",
"wildcard_api": true
}
然后貌似没有报错了
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite: ffmpeg_bin_path is set to:
C:\Users\admin\Downloads\ffmpeg-7.0.2.tar\ffmpeg-7.0.2
WAS Node Suite: Finished. Loaded 218 nodes successfully.
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-2290899948,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZNFGTDBSF7QK2ZM4ILZRRSSTAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJQHA4TSOJUHA
.
You are receiving this because you commented.Message ID:
@.***>

was_suite_config.json does not even exist on my recent setup

Make sure python has permission to create files where you installed the
venv and host ComfyUI
On Mon, Aug 19, 2024, 11:19 AM agarzon-orangerine @.***>
wrote:

was_suite_config.json does not even exist on my recent setup
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-2297163900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZKALXCMK3KKIJB7QN3ZSIZJLAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXGE3DGOJQGA
.
You are receiving this because you commented.Message ID:
@.***>

Make sure python has permission to create files where you installed the venv and host ComfyUI
…
On Mon, Aug 19, 2024, 11:19 AM agarzon-orangerine @.> wrote: was_suite_config.json does not even exist on my recent setup — Reply to this email directly, view it on GitHub <#295 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZKALXCMK3KKIJB7QN3ZSIZJLAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXGE3DGOJQGA . You are receiving this because you commented.Message ID: @.>

Actually I fixed by running manually the install.bat. I used comfyui manager to install WAS node, which does not  execute that step.


Add CEDA Archive to the Hive

We should add the CEDA Archive to the Hive (Catalogue section)
https://archive.ceda.ac.uk/

@rhaegar325 do you want to have a go at this?

Yes, sorry I working on iomb this days and did do it yet. I will do it this
afternoon.
On Thu, 16 Mar 2023 at 11:21 am, Romain Beucher @.***>
wrote:

@rhaegar325 https://github.com/rhaegar325 do you want to have a go at
this?
—
Reply to this email directly, view it on GitHub
https://github.com/ACCESS-NRI/ACCESS-MED/issues/54#issuecomment-1471134604,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APWV7ZVR3IYMVKVIQIJDJXTW4JTLNANCNFSM6AAAAAAV4SENWM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Solved as part of merging for CEDA update on community models #328


c7n_mailer - runs but no email generated

Have setup the c7n_mailer and run the test policy - appears to run, updates/creates the lambda function but does not generate an email. Get the following from the test run:
(c7n_mailer) ubuntu@ip-10-186-101-166:~/custodian$ c7n-mailer --config mailer.yml --update-lambda && custodian run -c policies/test-mailer.yml -s .
/home/ubuntu/custodian/c7n_mailer/local/lib/python2.7/site-packages/c7n/mu.py:179: UserWarning: Duplicate name: 'ruamel/init.py'
self._zip_file.writestr(dest, contents)
2018-01-30 14:25:07,920 - custodian.lambda - INFO - Publishing custodian policy lambda function cloud-custodian-mailer
2018-01-30 14:25:09,691: custodian.policy:INFO policy: c7n-mailer-test resource:sqs region:eu-west-2 count:1 time:0.00
2018-01-30 14:25:10,304: custodian.actions:INFO sent message:edc0476b-e5e7-4a44-917e-eee51f1c0028 policy:c7n-mailer-test template:default count:1
2018-01-30 14:25:10,305: custodian.policy:INFO policy: c7n-mailer-test action: notify resources: 1 execution_time: 0.61
(c7n_mailer) ubuntu@ip-10-186-101-166:~/custodian$
Another post suggested checking the lambda logs but not sure where they are
source and destination emails addresses have been 'verified' in SES.

thats odd the mailer lambda logs should have output, or something else is draining the queue.

@timbo256 as a trouble shooting step, can you disable the lambda and add items to the notify queue and see if they are still removed from the queue.

Thanks for your suggestions, and sorry for delay in responding - been on training - I removed the Lambda function and recreated it and it now seems to write to the logs and generate an email (albeit in my spam folder)!