HELP NEEDED!! Http post request not gettiing detect by firebase esp library

I am trying to on and off a led connected with Arduino using firebase and voiceflow.
I am giving a http post request in voiceflow to change the data like
POST request :https://x-x-x-x-x-x-x/Devices.json
Content type value : "application/json"
Body : {"Nodemcu 1":{"status":0}}
This command is successfully running and updated the value of the firebase rt database but data is not received by the Arduino (firebase library)
I think the issue is related to the api ,Can you please tell the reason for the same ,I tried using get function and stream to get the data from firebase but its not getting the data changed using http post/put/patch request.
Is there any alternative to do the same? Should getJson function be a good idea to fix this ??

You should use Discussions for question.
Make sure you update the library to latest version.
You must spend more time to try and making understand the Firebase RTDB REST API when you're going to use it.
I can't help because you did not follow the issue template and post the part of your code that you have tried.

The examples provide enough use cases that you can test.
The debug information from fbdo.errorReason will tell you the error which you should always use it during test.

I tried using fbdo.errorReason to know whats the reason.
I updated the library and http request is working fine now,Thanks for that ,but i am still getting a bug.
CODE:
#include <IRremoteESP8266.h>
#include <IRrecv.h>
#include <IRutils.h>
#include "FirebaseESP8266.h"
#include <ESP8266WiFi.h>
#define FIREBASE_HOST "x-x-x-"
#define FIREBASE_AUTH "x-x-x"
#define WIFI_SSID "x-x-"
#define WIFI_PASSWORD "xx-x-"
IRrecv irrec(4);
decode_results results;
FirebaseData firebaseData;
bool bstate1;
void setup()
{
irrec.enableIRIn();
//pin modes
pinMode(5,OUTPUT);
//IR sensor
pinMode(4,INPUT);
//serial monitor config
Serial.begin(115200);
//Wifi config
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Connecting to Wi-Fi");
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(300);
}
Serial.println();
Serial.print("Connected with IP: ");
Serial.println(WiFi.localIP());
Serial.println();
//Firebase config
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
Firebase.setInt(firebaseData,"/Devices/Nodemcu 1",0);
//buttons state
bstate1=false;
Firebase.reconnectWiFi(true);
}
void loop()
{
if(Firebase.getInt(firebaseData,"/Devices/Nodemcu 1/status"))
{
if(firebaseData.intData()==1 && bstate1==false)
{
Serial.printf("Led is On\n");
digitalWrite(5,HIGH);
bstate1=true;
}
else if(firebaseData.intData()==0 && bstate1==true)
{
Serial.printf("Led is Off\n");
digitalWrite(5,LOW);
bstate1==false;
}
}
else
Serial.printf(firebaseData.errorReason().c_str());
Serial.printf("\n");
IRcodeSensor();
}
void IRcodeSensor()
{
if (irrec.decode(&results)) {
const uint16_t ircode = results.value;
if(ircode==1)
{
if(bstate1==false)
{
bstate1=true;
if(Firebase.setInt(firebaseData,"/Devices/Nodemcu 1/status",1))
Serial.printf("Done\n");
else
firebaseData.errorReason().c_str();
digitalWrite(5,HIGH);
}
else
{
digitalWrite(5,LOW);
if(Firebase.setInt(firebaseData,"/Devices/Nodemcu 1/status",0))
Serial.printf("Done\n");
else
firebaseData.errorReason().c_str();
bstate1=false;
}
}
irrec.resume(); // Receive the next value
}
}
OUTPUT:When i first boot up the arduino ,Data mismatch error comes for about 3-4 times and after that it work fine .
Then when i press the ir remote button,it takes very high time to set value in firebase,How i know that?well thats because the done command is print after some times.

That is inappropriate and inefficient to use library to

Call get inside the loop function and run it repeatedly without provide the time
ING for execution.

The get function send http request (REST API) to server which the header size is approx. 40 bytes to 1 k depends on the authentication method used, you can read this in the Readme doc.

The TCP client needs to open and close connection too often as the http mode e.g. get, post, push, patch and delete, changed in a new session which will waste the time to establish new connection.

You should use stream instead to avoid those issues and more effective.
Any of your code for third party sensor lib used  in loop can be delayed as it need to wait hardware to be ready.

I also update the comment in basic examples to avoid these use cases
https://github.com/mobizt/Firebase-ESP8266/blob/abcf739e67484aecfb795397353386fed06f5b41/examples/Basic/Basic.ino#L151-L184

ok got that what you are saying but in this code i am using function without using a delay or millis but it still working with no lag at all whereas replacing stream with get function introduces delay and type mismatch eroor
CODE:
#include <IRremoteESP8266.h>
#include <IRrecv.h>
#include <IRutils.h>
#include "FirebaseESP8266.h"
#include <ESP8266WiFi.h>
#define FIREBASE_HOST "-x-x"
#define FIREBASE_AUTH "-x-xx-x-"
#define WIFI_SSID "-x-x-x-"
#define WIFI_PASSWORD "-x-x-x"
IRrecv irrec(4);
decode_results results;
FirebaseData firebaseData;
FirebaseData firebaseData2;
bool bstate1;
void setup()
{
irrec.enableIRIn();
//pin modes
pinMode(5,OUTPUT);
//IR sensor
pinMode(4,INPUT);
//serial monitor config
Serial.begin(115200);
//Wifi config
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Connecting to Wi-Fi");
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(300);
}
Serial.println();
Serial.print("Connected with IP: ");
Serial.println(WiFi.localIP());
Serial.println();
//Firebase config
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
Firebase.setInt(firebaseData,"/Devices/Nodemcu 1",0);//Automatically adds room
//buttons state
bstate1=false;
Firebase.reconnectWiFi(true);
if (!Firebase.beginStream(firebaseData2,"/Devices/Nodemcu 1"))
{
Serial.println("------------------------------------");
Serial.println("Can't begin stream connection...");
Serial.println("REASON: " + firebaseData.errorReason());
Serial.println("------------------------------------");
Serial.println();
}
}
void loop()
{
if (!Firebase.readStream(firebaseData2))
{
Serial.println("------------------------------------");
Serial.println("Can't read stream data...");
Serial.println("REASON: " + firebaseData2.errorReason());
Serial.println("------------------------------------");
Serial.println();
}
if (firebaseData2.streamTimeout())
{
Serial.println("Stream timeout, resume streaming...");
Serial.println();
}
if (firebaseData2.streamAvailable())
{
if(firebaseData2.dataType() == "int")
{
if(firebaseData2.intData()==1 && bstate1==false)//switch on
{
digitalWrite(5,HIGH);
bstate1=true;
}
else if(firebaseData2.intData()==0 && bstate1==true)
{
digitalWrite(5,LOW);
bstate1=false;
}
Serial.println(firebaseData2.intData());
}
Serial.println();
}
IRcodeSensor();
}
void IRcodeSensor()
{
if (irrec.decode(&results)) {
const uint16_t ircode = results.value;
Serial.println(ircode);
if(ircode==1)
{
if(bstate1==false)
{
digitalWrite(5,HIGH);
bstate1=true;
Firebase.setInt(firebaseData,"/Devices/Nodemcu 1/status",1);
}
else
{
digitalWrite(5,LOW);
Firebase.setInt(firebaseData,"/Devices/Nodemcu 1/status",0);
bstate1=false;
}
}
else
Serial.println("Wrong ircode");
irrec.resume(); // Receive the next value
}
}
OUTPUT :No error in recieving data and setting data ,works fine

Did you understand "close and reopen session" I mentioned and why this happens and the effect of this in SSL connection.
Are you sure the IRremote lib does not block? How you prove that.

Normally the TCP session was kept open (server is always connected or keep alive) for the next request to speed up data transfer, this is how the session was reuse.
If the next request has different HTTP method e.g. the previous request is GET (from get function) while the next request is POST  request (from push function) which its method is different from the previous one, the TCP session need to be closed (server disconnected) and establish the new connection.
Every time secure TCP session was new established,  the SSL handshake is need to be performed and it takes time about 1-2 seconds to be done.


Invariant violation: Tried to register two views with the same name RNCWebView

Issue Description
I'm getting this error while running my expo app after LinkedIn package installation
Steps to Reproduce / Code Snippets
[FILL THIS OUT]
Expected Results
After the JavaScript bundle enter into login page
Additional Information

Nodejs version: [FILL THIS OUT]
React version: [FILL THIS OUT]
React Native version: [FILL THIS OUT]
Expo version: [FILL THIS OUT]
react-native-linkedin version: [FILL THIS OUT]
Platform(s) (iOS, Android, or both?): [FILL THIS OUT]

Issue Description
[FILL THIS OUT]
Steps to Reproduce / Code Snippets
[FILL THIS OUT]
Expected Results
[FILL THIS OUT]
Additional Information

Nodejs version: [FILL THIS OUT]
React version: [FILL THIS OUT]
React Native version: [FILL THIS OUT]
Expo version: [FILL THIS OUT]
react-native-linkedin version: [FILL THIS OUT]
Platform(s) (iOS, Android, or both?): [FILL THIS OUT]

Using this package on react native expo tried to run the app after installing this LinkedIn package but I get this error.

Any possible fix or workaround for this?

Any possible fix or workaround for this?

yes we need to keep only one  RNCWebView package in the root node module
and DELETE  RNCWebView folder not uninstall from react-native-linkedin
package inside its node module. Clear Cache and then run the code.
On Thu, Jan 14, 2021 at 12:18 AM Danie Schwartz<EMAIL_ADDRESS>wrote:

Any possible fix or workaround for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xcarpentier/react-native-linkedin/issues/175#issuecomment-759645812,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN73E6MIZYC7NV6YN2V5FFTSZXTGPANCNFSM4UWQMMKQ
.

yes we need to keep only one  RNCWebView package in the root node module
and DELETE  RNCWebView folder not uninstall from react-native-linkedin
package inside its node module. Clear Cache and then run the code.
On Thu, Jan 14, 2021 at 12:18 AM Danie Schwartz<EMAIL_ADDRESS>wrote:

Any possible fix or workaround for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xcarpentier/react-native-linkedin/issues/175#issuecomment-759645812,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN73E6MIZYC7NV6YN2V5FFTSZXTGPANCNFSM4UWQMMKQ
.

A workaround that worked for me is:
Add "postinstall": "rm -rf ./node_modules/react-native-linkedin/node_modules/react-native-webview" to your scripts in the package.json file.

A workaround that worked for me is:
Add "postinstall": "rm -rf ./node_modules/react-native-linkedin/node_modules/react-native-webview" to your scripts in the package.json file.

Nice one @rafaismyname. That work around worked for me. 🙂

@rafaismyname  Its work Thanks).

A workaround that worked for me is:
Add "postinstall": "rm -rf ./node_modules/react-native-linkedin/node_modules/react-native-webview" to your scripts in the package.json file.

It's work Thanks


fix: update rainbow end date to Aug 29

Description
Updated end dates for Rainbow to match tracker

Review Error for wilsoncusack @ 2023-08-29 20:18:19 UTC
User failed mfa authentication, see go/mfa-help


Dependency Manager

Installs
Uninstalls
Resolves
Updates

This should add the use of a lockfile.

I’ve been thinking about this. Wondering if for the first iteration we can enforce freezing uncapped versions at lower bound and caching.


"Edit Current Task" button does not work after edit and replace current task.

Squid3 Version: 1.10.7
Java Version: 1.8.0_361
JavaFX Version: 8.0.361-b09
OS: Windows 11 22H2
Issue details:
When I "View Current Task", and click the button "Edit Current Task", then edit current task (add or remove mass or ratios) and click "Use to Replace Current Task", then it take me to the Task interface and changes take effect, but the button "Edit Current Task"  does not work unless I reopen the SQUID3 program. It means I can only edit current task once until I reopen the SQUID3.jar next time. This issue would occur when open a .squid file or a new SQUID3 GEOCHRON project from a single prawn .xml file. I just started to use SQUID3 and I am not sure whether this is a bug or I did something wrong?

@PENGwxgeo - good catch!  Fixed in next release v1.10.8.


Bug: global variable declaration and init not possible in one step

During https://github.com/cliffordwolf/picorv32/issues/92 I found that I cannot declare and initialize variables at the same time, like

int firstSensor = 1;    // first analog sensor
int secondSensor = 2;   // second analog sensor
int thirdSensor = 3;    // digital sensor
int inByte = 0;         // incoming serial byte

it will produce code that does not work. E.g. 2 LEDs being ON even though this never happens in the code used.
In order to make it work I have to split declaration and init like:

int firstSensor;    // first analog sensor
int secondSensor;   // second analog sensor
int thirdSensor;    // digital sensor
int inByte;         // incoming serial byte
void main()
{
firstSensor = 1;    // first analog sensor - dummy value
secondSensor = 2;   // second analog sensor - dummy value
thirdSensor = 3;    // digital sensor - dummy value
inByte = 0;         // incoming serial byte
...

Which linker script are you using? What start.s? Obviously you are not handling the data/sdata section correctly. But it's impossible to reproduce the issue from the little information you posted. Please post a MCVE.

It's based on https://github.com/FPGAwars/Alhambra-II-FPGA/tree/master/examples/picorv32/picosoc so the same start.s as in there. As soon as I have time I will build a MCVE for you.

Use the repo mentioned before and following minimal example:
firmware.c.txt
The LED bar should fill up and the all should flash. But instead on 2 LED turn on even though this never happens in the code used. It seems to be related to the print statement too. Hope this is now a valid MCVE. Greetings.

@drtrigon if you could please try to apply latest change to .ld file and confirm if it works on your environment ? Thanks

Works in the test case for me. Also did another test in the originating code were the issue first appeared and this worked too - look like a good fix to me. Thanks!

Thanks for confirmation.


Ensure that gRPC C# implementation conforms to standard status codes in gRPC

Error code specification here - https://github.com/grpc/grpc/blob/master/doc/statuscodes.md

I went though the status code spec and and C# code seems to be compliant.


Added blur effect with message for marketplace and feature under deve…

Added blur effect with message for marketplace and tracker screen with message "feature under development"

Hey @adarshpandey18, amazing work didn't think we could get contributors!
Could you modify the screen to have something like this?

-Might as well do a quick file name change -> overview_screen.dart to tracker_screen.dart

Sure! I would like to contribute further, but I can only do so on weekends. For the blur effect you're suggesting, I'll need to add a sample image and then apply the blur. I'll also change the file name.

Its alright we can contribute anytime! :)
If you need a blur image, here's what i found: https://www.freepik.com/free-vector/soft-clear-blurred-background_1111774.htm#fromView=keyword&page=1&position=1&uuid=49189764-7c31-4040-bd07-c1a2816c73b5
Thanks for your work 👊🏻

rather than using an blur image i will suggest using the mivro logo and then  blurring it

Great idea, i think @rishichirchi added in assets folder
if not, we have one in browser extension directory (https://github.com/areebahmeddd/Mivro/blob/main/browser-extension/assets/oth-icons/logo.png)

is this good or should i change it ?

It's cool! go ahead, this works :)

Updated !


PMID:27343236

decreased clustering of tf2 bodies
The pombe lab strain contains 13 "tf2" retrotransposons. These elements are physically clustered in the nucleus into (typically) 1-2 foci. This term would describe when you more commonly observe 3+ foci. child of abnormal chromatin organization during vegetative growth?

decreased Tf body formation FYPO:0005545
(with synonyms)

edit file: 3b73975600f7352daadf94928cd05c932c18a7de
release: 3e4b597b16433cc1d4ec56935ff216aaa2836528


Benchmarks for the GetAll methods

On about 5000 items

About Consumer

@SergerGood - you have to call the AsList() method for RepoDB and the ToList() method to both Dapper and EF. That would remove the deferment of the execution. Are the results above have it?

Consumer used for this (see above)


Minor version bump for ignored test file?

Would you please do a new release with the test file ignored?
I check-in my bower_components folder into my project, so I like it when projects have as few files as possible.

Landed with 1.3.0.

Thank you!! :D


Shared server link is always https://example.com/

I expect to see my own servername in the link generated by the android app. What I would like to see is something like
https://myserver.com/?ABCD-WXYZ
but the link is always
https://example.com/?ABCD-WXYZ
even though I have edited the Server URL name in settings.
How do I make Hauk include my own servername in the shared link?

/close

/close

/close

/close

/close

/close

/close

/close


refactor whole logging according to conventions

Why is this needed:
We have come up with a proposal regards to logging convetsion in #211. These conventions should be seen as a strong recommendation.
Next step is refactoring the whole project to follow guidelines.

Hi @rudeigerc , thanks for stepping up. Any progress on this refactor?

/unassign @rudeigerc


Include Zenodo citations

Is your feature request related to a problem? Please describe.
Create separate DOIs automatically using Zenodo.
Describe the solution you'd like
https://docs.github.com/en/repositories/archiving-a-github-repository/referencing-and-citing-content
Describe alternatives you've considered
N.A.
Additional context
The org admin needs to enable 3rd party access to Zenodo.

good?

done


how can i call jailbreakd to fixupdylib?

i want to dlopen dylib in /var
there is a way to do so like this:
https://github.com/jakeajames/rootlessJB3/blob/69a0d9e768289c7ae94aa45d8aaa87f153f25089/rootlessJB/payloads_source/amfid_payload/common.m#L81
how can i do similar things with odyssey?

done by myself

Were you able to solve this: what was the solution?


Manage name replacements in filters

Currently, lF is able to manage a simple url as a filter. There are 2 options :

manage filename replacement in filters with an array of filename replacement in the filter
allow the user to reorder the filters ; as we selected the first filter found, the reordering can provide a solution

A simple string field will be sufficient for this milestone, with an edit field more sophisticated, allowing to enter multiple associations string1=>string1Replacement
replacements: 'string1=>replacement1 string2=>replacement2'

something like this https://github.com/briocheio/localFront/tree/issue/1-name-replacement

merged in v0.1.4


specify the location of the esm model

Hi thanks for your hard work. I am interested in running this tool in a shared hpc environment and I would like to be able to specify the location of the ESM model (we also have some in house fine-tuned ones as well). In the current code I do not see a way to do this and when not present the model get downloaded to ~/.cache.
Is there a way to point the GeoDockRunner to an already downloaded ESM checkpoint?
Thanks again

Yes, you can simply change the line 20 in GeoDockRunner.py
from self.esm_model, alphabet = esm.pretrained.esm2_t33_650M_UR50D()
to self.esm_model, alphabet = esm.pretrained.load_model_and_alphabet('path to your .ckpt')


Mrc 5304 Optimise app + fade other countries on selection

The main idea here is working with leaflet instead of the vue wrapper for it. Main changes include:

Remove GeoJson components from template
loading flag is removed from store, this is no longer needed, we set loading within the choropleth component when a feature is clicked and remove loading flag when the map has updated the bounds, this produces the same behaviour as far as I can see
We no longer need featuresWithColours the colours are put straight into style in geoJSON class initialisation
updateMap is the function that does things in base leaflet and combines a couple of different functions together
We fade and desaturate countries that arent selected

Deployed to ghp: https://mrc-ide.github.io/arbomap

Logged error after browsed to https://mrc-ide.github.io/arbomap/dengue/may24/FOI/BRA

This should (hopefully) be fixed in the next PR, it was a case of unpacking vue reactivity i believe

And this, which is actually a pre-existing issue.... but before it was just showing blank page, now shows inifinite spinner, no error logged:

got to a non-existent country: https://mrc-ide.github.io/arbomap/dengue/may24/FO/bran
..then browse to home page from app title

So not your fault, but might be worth looking into as part of this branch if you'd like to!

I have looked into this as part of the next PR too! it was a one line change, just had to update map when it was ready really


Revert "Make sure arm64 binaries are compiled properly"

Reverts sundeck-io/duckdb-go-extensions#4

I believe these changes are wrong:

moving to larger instance type I believe incurs charges, even on public repo
the arm build is cross compiling. we shouldn't need to switch builder.


Don't record DB statements without sanitizaiton

This adds an option to OpentelemetryEcto.setup/1 that allows a query sanitization function to be provided. If it is not provided, queries are not captured (this is the default). This resolves #155 .

Maybe I missed it but the option should be something like db_statement: :disabled (default) | :enabled | fun/1 (pseudo). The sanitization function seems optional.

How it is now works just by requiring the sanitization function and the user can supply the identify function fun(X) -> X end if they want to include the statement without doing any sanitizing -- instead of having it be 3 possible values for the option.
I'm fine either way.

Under the hood we could use that as the function but I don't think it
should be incumbent on the user to have to provide it themselves. Doesn't
feel like a good API design. I didn't read all of the linked otel issue but
the gist seemed like providing a function was a third option to provide,
not just always disabled or function.

Yea, I was thinking it was purposely requiring the user be extra explicit because they are doing something potentially "dangerous".

Yeah, I didn't see the danger part. It's a templated query if done properly but could be a large attribute value on a large query statement. We've got a few of those. I suppose some folks could be running some non-templated query. 🤷🏻

Yea, the worry is non-templated queries.

I can see the value in having an :enabled option with :disabled being the default — happy to update this if that is the consensus.

Once the formatting issues and conflicts are resolved I'll merge this.

Sounds good, I've been OOO but I can clean this up this week.


feat: Enhanced styling of packages page

Title and Issue number

Title : Enhanced styling of packages page
Issue No. :  #1610
Code Stack :  html, css
Close #1610

Description

This PR introduces a comprehensive redesign of the packages page to improve the overall user experience and visual appeal. The new styling enhances readability and interaction, making it easier for users to navigate and understand package details.
Video/Screenshots (mandatory)

https://github.com/user-attachments/assets/7e46bf85-d507-46a8-8fb1-840bd0026285
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[X] I have performed a self-review of my code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have gone through the  contributing.md file before contributing
[X] I have Starred the Repository.

Additional context:

##Are you contributing under any Open-source programme?

[X] I am contributing under GSSOC'24 Extended
[X] I am contributing under Hacktoberfest'24

@apu52  is it ok ?

@shivam8112005 u can make a better ui by maybe adding some additional package cards , like some interesting professional type package cards as well ass some more detailed description about the tour packages as well as some maybe good UI

ohkk got it just tell me which type of images should i add in package cards?

@apu52 ohk got it just tell me which type of images should i add in package cards? and i will open an issue for it

yess , open a new issue on it & add images according to the package like tour packages like some discount & all maybe signify it with different type of colors

@apu52  ohk i am opening new issue


Make scripts/set-pusher-suffix.sh executable

@Beamanator
Details

Small fix related to forgetting to set file permissions on https://github.com/Expensify/App/pull/8796#issuecomment-1116386540
Fixed Issues

$ N/A
Tests

Run npm run web and make sure you do not get a permissions error
[ ] Verify that no errors appear in the JS console

PR Review Checklist

Contributor (PR Author) Checklist

[ ] I linked the correct issue in the ### Fixed Issues section above
[ ] I wrote clear testing steps that cover the changes made in this PR

[ ] I added steps for local testing in the Tests section
[ ] I added steps for Staging and/or Production testing in the QA steps section
[ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I included screenshots or videos for tests on all platforms
[ ] I ran the tests on all platforms & verified they passed on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[ ] I verified there are no console errors (if there’s a console error not related to the PR, report it or open an issue for it to be fixed)
[ ] I followed proper code patterns (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained “why” the code was doing something instead of only explaining “what” the code was doing.
[ ] I verified any copy / text shown in the product was added in all src/languages/* files
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by tagging the marketing team on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named “index.js”. All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I followed the guidelines as stated in the Review Guidelines
[ ] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] Any functional components have the displayName property
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose and it is

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn’t already exist
[ ] The style can’t be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.

PR Reviewer Checklist

[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[ ] I verified there are no console errors (if there’s a console error not related to the PR, report it or open an issue for it to be fixed)
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained “why” the code was doing something instead of only explaining “what” the code was doing.
[ ] I verified any copy / text shown in the product was added in all src/languages/* files
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by tagging the marketing team on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named “index.js”. All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] Any functional components have the displayName property
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose and it is broken down into smaller components in order to separate concerns and functions

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn’t already exist
[ ] The style can’t be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.

QA Steps

Follow the same QA steps as in https://github.com/Expensify/App/pull/8796
Screenshots

Web

Mobile Web

Desktop

iOS

Android

Is this the fix for this when trying to run web on. main?
➜  app git:(main) npm run web

><EMAIL_ADDRESS>web /Users/bstites/Expensidev/App
> scripts/set-pusher-suffix.sh && concurrently npm:web-proxy npm:web-server

sh: scripts/set-pusher-suffix.sh: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR<EMAIL_ADDRESS>web: `scripts/set-pusher-suffix.sh && concurrently npm:web-proxy npm:web-server`
npm ERR! Exit status 126

Is this the fix for this when trying to run web on. main?

Yep, thanks!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

Thanks for fixing @kidroca 🙏

🚀 Cherry-picked to staging by @sketchydroide in version: 1.1.57-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @chiragsalian in version: 1.1.57-17 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Add a selectable list example.

I'll have a think how this could be merged into another example, possibly the list example.

OK ready for review again.

I think the best way to review this is to run it and see if you like the way it works, and only then look at the code.

What's the status on this? Are you still interested in moving this forward @derekdreery?
It seems that it was reviewed and approved, but never merged, which is unfortunate.
The next step right now would be to rebase this on master and get a fresh successful CI run. Then I can do final review and merge.

Cool I'll rebase when i get chance.
On Thu, 12 Jan 2023, 18:00 Kaur Kuut, @.***> wrote:

What's the status on this? Are you still interested in moving this forward
@derekdreery https://github.com/derekdreery?
It seems that it was reviewed and approved, but never merged, which is
unfortunate.
The next step right now would be to rebase this on master and get a fresh
successful CI run. Then I can do final review and merge.
—
Reply to this email directly, view it on GitHub
https://github.com/linebender/druid/pull/1387#issuecomment-1380792820,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKT4XX2NIDLBYJZSONYZO3WSBBC5ANCNFSM4TPZK5RQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Create watch command

Implementation
Use chokidar to watch for changes in model folder and run generate and db.
Todo
Drop database implementation

Executed watch but after chage it crashed with no error. Is chokidar an reputable package?

Executed watch but after chage it crashed with no error. Is chokidar an reputable package?

It's quite reputable actually


binarycaching: Allow setting NuGet network operations timeout

Is your feature request related to a problem? Please describe.
While using the NuGet binarycaching feature for large packages like LLVM, I am running into network timeout issues while trying to push the package due to slow internet upload connection.
The default timeout for NuGet is 100 seconds, as documented here by usage of HttpClient: https://github.com/NuGet/NuGet.Client/blob/84d2f4e24f1f3e055dcc6056ae158d2e35123bd9/test/NuGet.Clients.FuncTests/NuGet.CommandLine.FuncTest/Commands/PushCommandTest.cs#L35-L36
Proposed solution
NuGet has the option to specify a -Timeout option to specify the number of seconds to allow before timing out. Ideally this could be configurable through a command-line option or environment variable (I'm not sure which is better, probably environment variable?) for vcpkg.
Describe alternatives you've considered
I'm not sure if there is a way to configure the timeout for NuGet without touching the command-line arguments. After searching around, I haven't found an option that would appear in the NuGet config file, and I'm not familiar with any other configuration files that would let me do this.
I've been able to create a hard-coded patch in the meantime, but this probably isn't ideal for everyone:
 diff --git a/src/vcpkg/binarycaching.cpp b/src/vcpkg/binarycaching.cpp
 index 356c7231..0723e4f2 100644
 --- a/src/vcpkg/binarycaching.cpp
 +++ b/src/vcpkg/binarycaching.cpp
 @@ -825,6 +825,9 @@ namespace
                          .string_arg("push")
                          .path_arg(nupkg_path)
                          .string_arg("-ForceEnglishOutput")
 +                        .string_arg("-Timeout")
 +                        // One hour and one second
 +                        .string_arg("3601")
                          .string_arg("-Source")
                          .string_arg(write_src);

 @@ -854,6 +857,9 @@ namespace
                          .string_arg("push")
                          .path_arg(nupkg_path)
                          .string_arg("-ForceEnglishOutput")
 +                        .string_arg("-Timeout")
 +                        // One hour and one second
 +                        .string_arg("3601")
                          .string_arg("-ConfigFile")
                          .path_arg(write_cfg);
                      if (!m_interactive)

Additional context
I've added the extra second (1 hour and 1 second) just to make sure I don't hit the potential issue with how NuGet calculates the timeout:
https://jfrog.com/knowledge-base/how-to-resolve-nuget-push-failures-after-5-minutes-even-though-timeout-value-is-set-as-greater-than-5-minutes-300-seconds/
Thank you!!

Can you please open a new PR to vcpkg-tool?
Thanks.

This issue requires a bump to the vcpkg tool and a documentation update for nugettimeout to be closed.

This issue requires a bump to the vcpkg tool and a documentation update for nugettimeout to be closed.

Yes, waiting for the next release publish.

The changes in PR https://github.com/microsoft/vcpkg-tool/pull/95 have been merged to vcpkg master branch now. Currently, vcpkg.exe has been upgraded to 2021-07-21 in vcpkg. Please see https://github.com/microsoft/vcpkg/blob/c69096659f49e2b1aca532ea5c2f8c135182519b/scripts/bootstrap.ps1#L48
Seems there  is only a documentation for nugettimeout that needs to be done.


Inventor spellcasting with hands occupied

So, this may not be an actual bug, but from what I've read in numerous places it's implied that Inventors are able to cast spells with both hands occupied - ignoring Somatic components. I have an Inventor in my current party and even with a magical weapon (which was suggested on Reddit as a potential solution) they still get the error of 'no free hands for somatic components'. Is this supposed to be acting this way? Or are they supposed to be able to cast spells with both hands occupied as the guides and one of the builds on the wiki suggests?

AFAIK it doesn't. All it does is give focus if your weapon is infused.


Failed to stop a running node

Expected Behavior
A running node should be stopped after clicking the stop button.
Current Behavior
Error occurs, failed to stop the node
Possible Solution
The backend to operate on a node requires a payload to specify the action, but the frontend didn't call it with the payload.
Instead, it used the URL parameter to specify the action.

Steps to Reproduce

login
create agent, network
create node and make sure it's running
stop the node

Possible Implementation
Make the frontend pass the action in the payload.

Discussed with @fengyangsy , should use payload.


Unknown date type layer when run pretrained model

Hi SethPark it was very nice of you to upload this folder but some errors happen and even how hard I try to do something with Makefile.config, this error did not pass and my teacher told me that my virtual machine did not have enough ram to run resnet152.

Hi,
You will have to compile this version of Caffe: https://github.com/akirafukui/caffe/tree/feature/20160616_compact_bilinear
The error is occurring because the SignedSqrt layer is not supported in the standard Caffe branch.


[fix][broker] fix delete_when_subscriptions_caught_up doesn't work while have active consumers

Motivation
The current behavior for the delete_when_subscriptions_caught_up strategy is not expected. The active consumer will not be closed even if users enable delete_when_subscriptions_caught_up and there are no backlogs for the topic.
It should be the part that #6077 has missed. And Sijie has mentioned in the comment https://github.com/apache/pulsar/pull/6077#pullrequestreview-344643883.
To correct the behavior of delete_when_subscriptions_caught_up
Modifications
Close active consumers if delete_when_subscriptions_caught_up is applied and there are no backlogs for the topic. So that the topic can be cleaned up properly by the topic GC thread.
Verifying this change
Updated the existing test.
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/codelipenghui/incubator-pulsar/pull/17

Codecov Report

Merging #18283 (d230b62) into master (0866c3a) will decrease coverage by 13.10%.
The diff coverage is 20.71%.

@@              Coverage Diff              @@
##             master   #18283       +/-   ##
=============================================
- Coverage     38.97%   25.86%   -13.11%
+ Complexity     8311     3319     -4992
=============================================
  Files           683      374      -309
  Lines         67325    41379    -25946
  Branches       7217     4232     -2985
=============================================
- Hits          26239    10704    -15535
+ Misses        38079    28937     -9142
+ Partials       3007     1738     -1269

Flag
Coverage Δ

unittests
25.86% <20.71%> (-13.11%)
:arrow_down:

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

Impacted Files
Coverage Δ

.../main/java/org/apache/pulsar/PulsarStandalone.java
0.00% <ø> (ø)

.../pulsar/broker/service/AbstractBaseDispatcher.java
34.14% <0.00%> (-18.01%)
:arrow_down:

...pulsar/broker/service/PulsarCommandSenderImpl.java
46.59% <ø> (-27.77%)
:arrow_down:

...apache/pulsar/broker/service/TopicListService.java
10.65% <0.00%> (-44.27%)
:arrow_down:

...ransaction/buffer/impl/InMemTransactionBuffer.java
0.00% <ø> (ø)

...nsaction/buffer/impl/TransactionBufferDisable.java
52.63% <ø> (ø)

.../metadata/v2/TransactionBufferSnapshotIndexes.java
0.00% <0.00%> (ø)

...a/v2/TransactionBufferSnapshotIndexesMetadata.java
0.00% <0.00%> (ø)

...oker/transaction/buffer/metadata/v2/TxnIDData.java
0.00% <0.00%> (ø)

...ransaction/buffer/impl/TopicTransactionBuffer.java
16.27% <14.28%> (-28.12%)
:arrow_down:

... and 474 more

could you please cherry-pick this PR to branch-2.9? thanks.

#18283 has cherry-picked this one to branch-2.11

https://github.com/apache/pulsar/commit/f5c9354b89f1b894200cc439c2f8f8679f35e754 cherry-picked to branch-2.10

https://github.com/apache/pulsar/commit/3cf167a4b0816fa8048cfe5c3c5eee330e967bf0 cherry-picked to branch-2.9


Change git repo for Kimchi

Hi,
please, change Kimchi repository to:
https://github.com/kimchi-project/wok.git

But there is a also "Wok" project now, should I delete it?

Nop. I will try to handle git submodules dependencies this way
On Nov 21, 2016 21:33, "Fam Zheng"<EMAIL_ADDRESS>wrote:

But there is a also "Wok" project now, should I delete it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/patchew-project/patchew/issues/14#issuecomment-262101679,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5_kD03o2nczOCtz4TSJgeskIdzR0YSks5rAipVgaJpZM4K4ZAD
.

Changed: http://patchew.org/Kimchi/info


Add Include metadata in response by default setting

We added a checkbox to disable OData services to include properties like @context in the response by default.
This is included in 10.8.

@sbont This PR has been reviewed. When would you like it to be merged?

@quinntracy yes please!


Cargo fix will rename unused idents in macros even when used elsewhere

Problem
Consider the following src/main.rs file in a cargo package:
macro_rules! make_var {
    ($struct:ident, $var:ident) => {
        let $var = $struct.$var;
    };
}

#[allow(unused)]
struct MyStruct {
    var: i32,
}

fn main() {
    let s = MyStruct { var: 42 };
    make_var!(s, var);
}

Cargo will warn that var is not used. Upon running cargo fix, cargo will change the second parameter from var to _var, making the compilation fail. Even worse, if MyStruct contained a field _var then cargo fix would change the variable without producing any warning.
Steps

Initialize a new cargo binary project with the above snippet in main.rs
Run cargo fix (presumably with --allow-dirty)

Possible Solution(s)
No response
Notes
No response
Version
cargo 1.73.0 (9c4383fb5 2023-08-26)

cargo fix just applies any MachineApplicable suggestion produced by rustc. In this case, the suggestion from rustc is to replace var with _var.
I went ahead and ran cargo expand to see if it could help me understand what is going on better:
#[allow(unused)]
struct MyStruct {
    var: i32,
}
fn main() {
    let s = MyStruct { var: 42 };
    let var = s.var;
}

(I cleaned up the expanded code slightly, but it is the same)
Looking at the expanded code, it makes me think that rustc is seeing var in make_var!(s, var) as the source of the problem since it expands to  let var = s.var; and let var is unused in this case. The normal suggestion is to add an underscore to let <var name> so it would not be "unused". So rustc suggests to change the ident being passed to the macro call as it does not understand that the warning is really coming from within the macro, not the call itself. It also could be suggesting this as let _$var is not valid rust (macro?) syntax. If you change your example slightly, rustc correctly suggests the problem comes from within the macro call.
macro_rules! make_var {
    ($struct:ident, $var:ident) => {
        let var2 = $struct.$var;
    };
}

#[allow(unused)]
struct MyStruct {
    var: i32,
}

fn main() {
    let s = MyStruct { var: 42 };
    make_var!(s, var);
}

warning: unused variable: `var2`
  --> src/main.rs:3:13
   |
3  |         let var2 = $struct.$var;
   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_var2`
...
14 |     make_var!(s, var);
   |     ----------------- in this macro invocation
   |
   = note: `#[warn(unused_variables)]` on by default
   = note: this warning originates in the macro `make_var` (in Nightly builds, run with -Z macro-backtrace for more info)

To me, this seems like a problem with rustc, but I do not know enough about the compiler internals to be 100% certain.


icebreaker-How do I see who has been paired with who in Azure AD Application Insights

Hi,
I'm having an issue where a user is not receiving the pairing, yet he is in the Teams group/channel that has Icebreaker deployed.
Can you please share the link to the exact event section in Applications Insight described here: https://github.com/OfficeDev/microsoft-teams-apps-icebreaker/issues/92. It is something to do with the custom event called ''ProcessedPairups"? I can't seem to find it in Azure AD.
Thank you.

Hi @cgjeb ,
Thanks for raising the query. We will get back to you with proper response soon.

@cgjeb From Application insights the exact paring members can’t be retrieved as we are not logging the user details but only the users channel accounts Ids which will not be suitable to get the paring information. We have already added backlog item to  regarding reporting to give you the user details which we will be working on future releases. However, to view the summary please refer the custom events to get details of,

Installed Teams Count
Pairs Notified Count
Users Notified Count

@v-royavinash @gsv022  Thank you for the update.
However, I've tried to go into Application Insights and events and can't find a way to see the proccessedpairups.
Please send me a detailed guide, as a document with all the steps.
Regards,
Edwin


[QC] Warning if Nutrient data Sample Fraction not in Guidance

For the nutrient parameters laid out in the nutrient guidance the only acceptable values are:

Filtered
Unfiltered
Filtered, lab
Filtered, field

We should give a warning if the sample fractions for these parameters don't match these. This is a very common issue in DataStream.

This is easy to write. can you attach the characteristic name list to the issue and the link to the nutrient guide


Resource to add: https://explainshell.com/

URL: https://explainshell.com/
Message: Category: Learn
This issue was automatically generated from the website.

Added.


Broken hyperlink to showcase on front page

On https://docs.sciml.ai/Overview/stable/, the hyperlink in the first point of the Reproducibility section is broken, showing
The documentation of the [SciML Showcase](@ref showcase) was built using these direct dependencies,

Not sure what the issue is, since https://github.com/SciML/SciMLDocs/blob/f5be870f44f744dbb429ea17dff67459d32c718c/docs/src/showcase/showcase.md?plain=1#L1 shows a valid matching @id and it's even correct in the Where to Start section on the same page. I'm guessing that wrapping it in  ```@raw html prevents the syntax from working.

@ArnoStrouwen

Yes, the reference can't be in raw html. Some variation of the following might work.

Will do a PR sometime next week if nobody got around to fixing it by then.


Fails to install on homeassistant 2024.6.1 due to incompatible requests version

Describe the bug
Fails to install on home assistant version 2024.6.1 due to incompatible requests version.
To Reproduce

Update homeassistant to 2024.6.1
Install custom integration We Connect ID (https://github.com/mitch-dc/volkswagen_we_connect_id)

Expected behavior
Homeassistant successfully installs weconnect-python.
Please bump the requests version to 2.32.3 (#189)

@tillsteinbach Would you consider specifying requests>=2.31.0 instead of requests~=2.31.0?
I think the latter is ill-advised for a client library (although it is better than requests==2.31.0).
Something like home-assistant will pin versions - and that is best practice, but this is not the case of client libraries like this.

Would you consider specifying requests>=2.31.0 instead of requests~=2.31.0?

Or at least pin the major version only, not the minor, given semver semantics.
Per PEP spec, ~=2.31.0 means >=2.31.0, ==2.31.*, i.e. pinned at minor version 2.31. Semver in theory guarantees that all 2.X versions are API-compatible, therefore it should suffice to code ~=2.31 meaning >=2.31, ==2.*.

Released in 0.60.3


Getting negative coordinates for bbox

🐛 Describe the bug
positive is image
predictions = net.predict(positive, conf=0.01)
print("8 updating the conf interval")
prediction_objects = list(predictions._images_prediction_lst)[0]
bboxes = prediction_objects.prediction.bboxes_xyxy
area = []
box_final = []
width, height = positive.size
area_of_image = heightwidth
min_area = area_of_image0.1
for i in range(len(bboxes)):
if((bboxes[i][3]-bboxes[i][1])(bboxes[i][2]-bboxes[i][0])>min_area):
area.append((bboxes[i][3]-bboxes[i][1])(bboxes[i][2]-bboxes[i][0]))
box_final.append([bboxes[i][0],bboxes[i][1],bboxes[i][2],bboxes[i][3]])
box_final[42]
output:
[-1260.6094, 124.5002, 77.370636, 1841.7778]
Versions
torch==1.13.1
torch_geometric
torchvision==0.14.1
transformers==4.20.1
Databricks version: 12.1 ML (includes Apache Spark 3.3.1, Scala 2.12)

Duplicate of https://github.com/Deci-AI/super-gradients/issues/1069
Let's assume you have a box with x1, y1, x2, y2 coordinates and your image has width W and Height H
Then what you want to do is:
x1 = np.clip(x1, 0, W)
x2 = np.clip(x2, 0, W)
y1 = np.clip(y1, 0, H)
y2 = np.clip(y2, 0, H)


docs: remove vite rollup plugins from resources

The changes to the problem were made: #617

Thanks.


Piper cannot find my steelseries rival 600

Information

ratbagd version (ratbagd --version):
Distribution: Garuda
Kernel version (ex. uname -srmo): Kernel: 6.5.6-zen2-1-zen

Device info (if applicable):
$ ratbagctl <device> info
OUTPUT HERE

Describe the bug
A clear and concise description of what the bug is.
Piper does not recognize mt steelseries rival 600 which is supposed to be supported by libratbag
To Reproduce
Steps to reproduce the behavior:

Open Piper
says cannot find any devices

Logs
Please start the daemon with verbosity and reproduce the issue.
First make sure it isn't running already.
$ ratbagd --verbose=raw
OUTPUT HERE

Additional context
Add any other context about the problem here.

Duplicate: #1438.
This will be fixed in the next release. Until then, you can rollback libratbag or build it from source (e.g. AUR).


Move high-level dependencies away from mcxtrace-core, increment build…

… no.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Everything checks out, merging.


Fix handling of custom GC logging options in Windows build

Summary of the changes / Why this improves CrateDB
With the previous code, setting GC_LOG_DIR, GC_LOG_SIZE, or GC_LOG_FILES had no effect on Windows systems.
Checklist

[X] Added an entry in the latest docs/appendices/release-notes/<x.y.0>.rst for user facing changes
[ ] Touched code is covered by tests
[X] CLA is signed
[X] This does not contain breaking changes

Please also port to 5.6 - 5.6.5 already has one entry https://github.com/crate/crate/blob/master/docs/appendices/release-notes/5.6.5.rst#fixes


Adding CustomComboBox project to the Sample Applications

This is a sample application on creating a custom control in WPF, it consists of three main parts: ToggleButton, ListBox and Button, forming a toggle-able drop down list with good looking design made with the powerful features of WPF styles and templates.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: mshwf sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for the sample, @mshwf.


Fix typo in 2019 recruitment cycle dates

Spotted this typo, as @alaric-dfe has copied these dates into a separate repo in this PR: https://github.com/DFE-Digital/dfe-reference-data/pull/63
Presumably we only added these dates after they'd already passed, so it didn't affect anything?

@frankieroberto need some help fixing the tests?

@frankieroberto need some help fixing the tests?

Yes please. It also turns out that there are two other typos where the year is wrong that could be fixed... 🤦  (although this does all pose the question over whether we need to keep the dates for past cycles in the code or not...)

@frankieroberto this can be merged now. test failure was down to when the clocks went back in 2019 :-/


Add gpgkey resource & applied yum 3.0

Add yum_repository gpgkey, and apply to yum cookbook version  3.0
yum cookbook version 3.0 was changed action and resource.
Chef Cookbook: yum
http://community.opscode.com/cookbooks/yum

GPG verification has already been implemented.


LVIS maskrcnn training bug: TypeError: can't pickle _thread.RLock objects

Thanks for your error report and we appreciate it a lot.
Describe the bug
training on COCO dataset is ok, but when I train on LVIS meet this bug, It seems long time no updating the code about LVIS training?
Reproduction

What command or script did you run?

CUDA_VISIBLE_DEVICES=6,7  bash ./tools/dist_train.sh configs/lvis/mask_rcnn_r50_fpn_sample1e-3_mstrain_1x_lvis_v1.py 2 --work-dir work_dirs/mask_rcnn_r50_fpn_sample1e-3_mstrain_1x_lvis_v1 --no-validate

Did you make any modifications on the code or config? No
What dataset did you use? LVIS

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.

sys.platform: linux
Python: 3.6.10 |Anaconda, Inc.| (default, May  8 2020, 02:54:21) [GCC 7.3.0]
CUDA available: False
GCC: gcc (GCC) 5.2.0
PyTorch: 1.4.0
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - Intel(R) Math Kernel Library Version 2019.0.4 Product Build 20190411 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v0.21.1 (Git Hash 7d2fd500bc78936d1d648ca713b901012f470dbc)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - Build settings: BLAS=MKL, BUILD_NAMEDTENSOR=OFF, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Wno-stringop-overflow, DISABLE_NUMA=1, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.5.0
OpenCV: 4.4.0
MMCV: 1.2.0
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.1
MMDetection: 2.6.0+7ec0f03

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch ? pip

Error traceback
If applicable, paste the error trackback here.
2020-11-14 18:52:53,609 - mmdet - INFO - workflow: [('train', 1)], max: 12 epochs
Traceback (most recent call last):
  File "./tools/train.py", line 178, in <module>
    main()
  File "./tools/train.py", line 174, in main
    meta=meta)
  File "/data/cdp_algo_ceph_ssd/users/georgeni/mmdetnf/mmdet/apis/train.py", line 150, in train_detector
    runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/mmcv/runner/epoch_based_runner.py", line 125, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train
    for i, data_batch in enumerate(self.data_loader):
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 279, in __iter__
    return _MultiProcessingDataLoaderIter(self)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 719, in __init__
    w.start()
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/process.py", line 105, in start
    self._popen = self._Popen(self)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
TypeError: can't pickle _thread.RLock objects
Traceback (most recent call last):
  File "./tools/train.py", line 178, in <module>
    main()
  File "./tools/train.py", line 174, in main
    meta=meta)
  File "/data/cdp_algo_ceph_ssd/users/georgeni/mmdetnf/mmdet/apis/train.py", line 150, in train_detector
    runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/mmcv/runner/epoch_based_runner.py", line 125, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train
    for i, data_batch in enumerate(self.data_loader):
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 279, in __iter__
    return _MultiProcessingDataLoaderIter(self)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 719, in __init__
    w.start()
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/process.py", line 105, in start
    self._popen = self._Popen(self)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
TypeError: can't pickle _thread.RLock objects
Traceback (most recent call last):
  File "/data/anaconda3/envs/mmdet/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/torch/distributed/launch.py", line 263, in <module>
    main()
  File "/data/anaconda3/envs/mmdet/lib/python3.6/site-packages/torch/distributed/launch.py", line 259, in main
    cmd=cmd)
subprocess.CalledProcessError: Command '['/data/anaconda3/envs/mmdet/bin/python', '-u', './tools/train.py', '--local_rank=1', 'configs/lvis/mask_rcnn_r50_fpn_sample1e-3_mstrain_1x_lvis_v1.py', '--launcher', 'pytorch', '--work-dir', 'work_dirs/mask_rcnn_r50_fpn_sample1e-3_mstrain_1x_lvis_v1', '--no-validate']' returned non-zero exit status 1.

I meet the same problem. Hoping it can be solved.
Before that, I got an error as followed.
"""
assert not self.custom_classes, 'LVIS custom classes is not supported'
AttributeError: 'LVISV05Dataset' object has no attribute 'custom_classes'
"""
Then I found that "self" doesn't have attributes custom_classes
(even if this attribute is None, It will not block here)
so I ignore this ASSERT
Then I get such an error

I meet the same problem. Hoping it can be solved.
Before that, I got an error as followed.
"""
assert not self.custom_classes, 'LVIS custom classes is not supported'
AttributeError: 'LVISV05Dataset' object has no attribute 'custom_classes'
"""
Then I found that "self" doesn't have attributes custom_classes
(even if this attribute is None, It will not block here)
so I ignore this ASSERT
Then I get such an error

@Chauncy-Cai    I just omment out the line "assert not self.custom_classes, 'LVIS custom classes is not supported'".  And I also meet  the "TypeError: can't pickle _thread.RLock objects" when I use mmdet2.4.0 and mmcv1.1.2.

Hi @nemonameless , @Chauncy-Cai
You may try Python 3.7. I just fixed custom_classes issue.

Hi @nemonameless , @Chauncy-Cai
You may try Python 3.7. I just fixed custom_classes issue.


Improve replication documentation

@bparees @mfojtik @mnagy PTAL

should there be some discussion of what "recovery" looks like for this, in case you lose the master?

I think for this template we don't aim to facilitate promoting a slave to master. To do that, one would need at least to edit a running slave pod to change labels (so that it is picked up by the postgresql-master service), plus PostgreSQL recovery steps.
Unfortunately the slaves use ephemeral storage, so promoting them to master means giving up the persistent storage until something like https://github.com/kubernetes/kubernetes/issues/260 lands (same problem as in MongoDB replication, how to have N replicated pods with independent persistent storage).
What is left about recovery is Kubernetes rescheduling the postgresql-master pod in a new node (in case the problem was a whole node down). In that case, you have downtime for writes for as long as rescheduling and restarting takes, while no read downtime (if reading from slaves). Recovery only makes sense if you have persistent storage for the master (still need to add it to this replication example).
Am I missing something?

Is there any other recovery scenario we can write about other than the standard healing behavior of k8s?

so basically the value of using this comes down to:
you can enable read from slave.
if you don't do that, there is no situation in which this provides any value, right?

There's the original idea that these replication examples were meant for "backup", though in this case we're backing up data in ephemeral storage...
So other than ephemeral backup, proof of "yes, it is possible to setup replication in OpenShift" and reading from slaves, I don't see other uses right now.

k, thanks.  lgtm.


[Snyk] Security upgrade babel-loader from 9.1.2 to 9.1.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

packages/gui/package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

768/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-JS-SEMVER-3247795
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: babel-loader
    The new version differs by 9 commits.

b89dfbd 9.1.3
54fb781 Update caniuse
6f300f3 bump find-cache-dir to v4 (#995)
2fd1c0a Bump semver from 7.3.2 to 7.5.2 (#993)
b3682fd Add more exhaustive example on customized-loader (#897)
a797c3b ci: bump actions/checkout (#981)
170350e Bump http-cache-semantics from 4.1.0 to 4.1.1 (#982)
78bd0a1 Update README.md (#987)
c049187 Bump webpack from 5.74.0 to 5.76.0 (#986)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

already upgraded


add a folder for micropython

It has been tested and can run normally and function normally

Hi there, apologies for the long delay in response!
I haven't had a chance to test this out myself yet, but does this library not work with the Qwiic_I2C_Py library? All of our Qwiic Python libraries are architected in a way that should work on any platform, though we have yet to get around to testing this on in MicroPython specifically.

Hi sfe-SparkFro,
I appreciate your feedback and understand the importance of compatibility across platforms. I didn't give much thought to the necessity of the MicroPython version initially, and I agree that it might not be essential to include it in the repository at this stage. Additionally, I have not yet had the opportunity to test the library on boards other than the ESP32-S3.
Best regards,
NowLoadY


Fix incorrect prepare_loss_weights error message, clarify Python list in docs

This fixes the incorrect loss_weights error message, which previously asked for a list OF dictS instead of a list OR dict.
This also clarifies the two places where "list" needs a Python list rather than any list-like object. Most functions that ask for a list accept any list-like object.

@MingweiSamuel Can you please resolve conflicts? Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

At I glance I can't tell where everything moved to. I don't have the repo properly cloned to take a look at whats going on.
Closing for now.


convertXmlToJson patch

options was being used as a parameter, but not being used inside the function, so any options passed in were being ignored.

Thanks for the PR!
I'm curious, what use case prompted you to need options passed in?
I am a little concerned here that the options passed in – meant for xmlRequest, and including a bunch of properties specific to this module – aren't really intended for the parser. If there was a name collision between the options in xmlRequest and xml2js, it would cause unintended side effects.
I wonder:
a. If there are specific options that it makes sense to pass in, if they should be _.pick'd off and clearly documented,
b. if you want customized parsing, maybe it makes more sense to override the xmlConverter param passed into xmlRequest with a function that calls a customized new xml2js.Parser(specialOptions)
?
Hmm.

The use case:
I'm using ebay-api in a Meteor project I'm working on and need to store the result of the calls into MongoDB. It doesn't like the $ field names that attrs are receiving, so I needed to use xml2js's mergeAttrs option.
Honestly I just didn't understand how to implement the xmlConverter override option so I ended up setting raw: true and then explicitly calling convertXmlToJson() and parseResponseJson() after outside of xmlRequest().
I'm sure there's a better way to do it, and the PR may not even be needed, but I figured I'd bring it to your attention just in case. Thanks for the quick response!

Interesting.
(Side note: I wonder if mergeAttrs: true should be the default. I think if that were to change now, however, it would break some of the logic in the [admittedly janky] parseResponseJson() helper function, and would probably break the application code I've built on top of this module, so I'll leave it for now; but noted for the next refactor / major version.)
One of the properties allowed on the options param to xmlRequest() is xmlConverter (a function) – it defaults to the built-in convertXmlToJson, which you patched here. You could do this:
function customXmlConverter(xmlBody, options, callback) {
  var xmlParser = new xml2js.Parser({ mergeAttrs: true });
  xmlParser.parseString(xmlBody, function(error, data) {
    if (error) {
      return callback(error);
    }
    callback(null, data);
  });
}

var options = {
  // ... other options ...
  xmlConverter: customXmlConverter
}

xmlRequest(options, callback);

(Basically copy convertXmlToJson and modify it with your custom options.)
I agree that ideally, some options could be passed into the parser via convertXmlToJson, but given the possible collisions, and the ease of working around it, I'd rather avoid that for now.
I'll close this PR, but let me know if the alternative proposal doesn't work.
Thanks

That did the trick! Thanks for the example. :)


Readable errors instead of unwrap

There are a few instances of errors that could easily happen and would benefit from clean error messages rather than a panic caused by unwrap.

Thanks a lot! LGTM


Update the real steps for AAD App Registration

This PR solved the Issue #3739, I add the real steps of the AAD App registration, based on the new options on the Azure portal. Please Review and Merge !

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@ojrb Please resolve copy editing suggestions. Thanks.

Ready! accepted the copy-edit suggestions !

@mjcaparas The PR that addresses issue #3739 is available for review. Thanks.

@mjcaparas Following up for updates. Thanks.

I correct the folder as @mjcaparas requested ! please review !


ClientModel: Add tests for ClientModel types

Addresses https://github.com/Azure/azure-sdk-for-net/issues/40560

API change check
API changes are not detected in this pull request.


irrPlotNew returns error if rtrace has no light sources

From Javier at Soltec:
From: Ph.D Javier Guerrero Pérez<EMAIL_ADDRESS>Sent: Thursday, October 25, 2018 9:24 PM
To: Deline, Chris<EMAIL_ADDRESS>Subject: Problem with simulation Ray-trace bifacial Radiance 0.2.1
Hello Chris
How are you?.
We have a problem with simulatoin of bifacilal radiance version 2.1
The error is given when launch  AnalysisObj.analysis,
Speciphicaly, at  trackerdict = demo2.analysis1axis(trackerdict),  when call the method, irrPlotNew
Here is the error.

It also happend by using your example of the bifacial Radiance.
I have tried the methods of the test file, and it makes the error also when  i use the
test_RadianceObj_fixed_tilt_end_to_end()
and the
test_RadianceObj_high_azimuth_angle_end_to_end()
NOTES:
I have installed Radiance 5.2 (radiance-5.2.dd0f8e38a7-Windows )  and the current Jaloxa files  (radwinexe-5.0.a.8-win64)

Hi Javier,
I think this is an issue with how Python 3 deals with byte and strings.
I had a similar issue with an earlier release when I converted the code to
run with python3
Check  _popen return variable formats.
here is how I fixed my version
[image: image.png]
On Fri, Oct 26, 2018 at 12:54 PM cdeline<EMAIL_ADDRESS>wrote:

From Javier at Soltec:
From: Ph.D Javier Guerrero Pérez<EMAIL_ADDRESS>Sent: Thursday, October 25, 2018 9:24 PM
To: Deline, Chris<EMAIL_ADDRESS>Subject: Problem with simulation Ray-trace bifacial Radiance 0.2.1
Hello Chris
How are you?.
We have a problem with simulatoin of bifacilal radiance version 2.1
The error is given when launch AnalysisObj.analysis,
Speciphicaly, at trackerdict = demo2.analysis1axis(trackerdict), when call
the method, irrPlotNew
Here is the error.
[image: image]
https://user-images.githubusercontent.com/23244088/47580874-44fc7c80-d90d-11e8-9e98-b21aef2b679e.png
It also happend by using your example of the bifacial Radiance.
I have tried the methods of the test file, and it makes the error also
when i use the
test_RadianceObj_fixed_tilt_end_to_end()
and the
test_RadianceObj_high_azimuth_angle_end_to_end()
NOTES:
I have installed Radiance 5.2 (radiance-5.2.dd0f8e38a7-Windows ) and the
current Jaloxa files (radwinexe-5.0.a.8-win64)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NREL/bifacial_radiance/issues/18, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZ1PuWdv5iDYpfgd0E_f_-ebBQ9ks-Sks5uoz5NgaJpZM4X8mvs
.

--
Frederic

can we close this? @cdeline

This should be fixed now.


Download link on Readme

A distinction between download / install instruction and contributing instructions.

README updated for public release.


Error while running script main.py

Describe the bug
No discord_webhooks found, type py -3 -m pip install discord_webhook
but when typing it on cmd it failed.
No command found
Expected behavior
Perform script without errors
Screenshots

Desktop (please complete the following information):

OS: Windows
Version 10.0.19043.1081

Smartphone (please complete the following information):

Device: Samsung Galaxy A5(6) 2016
OS: Lineage OS
Version 17.1
Android OS Version: 10

Additional context
py no command found

idiot, on windows you type out python3 not py -3 like what is listed in the readme im not sure if this was made to run on linux because thats what it uses iirc

idiot, on windows you type out python3 not py -3 like what is listed in the readme im not sure if this was made to run on linux because thats what it uses iirc

I use Linux and I use py -3 on my windows machine, but I do expect people to use what they use

i dont know what version of python you are using but it doesnt py -3 isnt recognized for most peoples pcs


intel won't update faster than 240 seconds

I did a timelapse capture every 30 seconds, but the resulting files show an update approximately every 4 minutes.  Is there a setting required to get intel to update before a screenshot is performed?
Thanks

Sorry, seems like there is no way to workaround this. ingress-ice used to reload the page before every screenshot, but that caused some weird bugs.


[solution] [minor] easy-tuple-to-object

Challenge [CHALLENGE_NAME]
Checklist

[+] Make sure that you are opening the PR with a single solution (one solution per PR)
[+] The solution must have at least several references for the readers to dive in depth

There is a built-in type PropertyKey for that, you can use that one to replace any. So let replace the union with PropertyKey for constraint.

Thank you! Unfortunately, I committed the changes in my local main branch. I would like to recreate the PR and close this one(but save all the comments). Is it okay from your side?


Invalid R syntax highlighting

Following is valid R code,
a <- TRUE & !TRUE
b <- 0

but RTVS shows syntax error like

Tried on RTVS 1.2.30905.1244 on VS Community 2017 15.4.3
VisualStudio.15.Release/15.4.3+27004.2008

This is fixed as #4051 in 15.5

Thanks


feat(ibc): impl adapter IbcCrossChain trait

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Which docs this PR relation:
Ref #
Which toolchain this PR adaption:
No Breaking Change
Special notes for your reviewer:
CI Switch

[ ] Chaos CI
[x] Cargo Clippy
[x] Coverage Test
[x] E2E Tests
[x] Code Format
[x] Unit Tests
[x] Web3 Compatible Tests
[ ] OCT 1-5 And 12-15
[ ] OCT 6-10
[ ] OCT 11
[ ] OCT 16-19
[ ] v3 Core Tests

/run-ci

/run-ci

/run-ci

/run-ci

/run-ci

/run-ci

/run-ci

/run-ci


tikv_util: handle cgroup path building error (#12485)

close tikv/tikv#12479, ref tikv/tikv#12585
Handle cgroup path building error gracefully
Signed-off-by: tabokie<EMAIL_ADDRESS>Co-authored-by: Ti Chi Robot<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Could you please redirect this pr to raftstore-proxy-6.1? Since it is a cherry pick to TiKV 6.0 based TiFlash


Add option to enable or disable options

It would be nice to have an options page where you could enable or disable which features you want from this extension.
For example, for me I am happy with everything except the feed showing my personal stars. It would be nice to enable just that.

The extension has an options page and you can enable the stars there.


order = degree + 1 for splines

The order of splines equals to the degree plus 1, we will usually call cubic/quadratic splines (splines of degree 3/degree 2) or splines of order 4/order 3. Refer to https://en.wikipedia.org/wiki/Spline_(mathematics)

Reference issue

What does this implement/fix?

Additional information

Thanks, LGTM


nest integration should have exponential backoff after receiving 429 Too Many Requests

After running for a few days, the nest cam started sending out 429 Too Many Requests.
I believe go2rtc keeps retrying to get the video stream. But could it actually have an exponential backoff to wait between each retries? This could be resolved by manually removing the stream from config for one hour and put it back.
Although the screenshot says hass / homeassistant, I am actually using the credential in nest-doorbell: nest:?client_id=xxxxx config.

Nov 13 22:23:47 internalhost go2rtc[93430]: 22:23:47.644 INF go2rtc platform=linux/amd64 revision=mod.a2a0de7 version=1.9.7
Nov 13 22:23:47 internalhost go2rtc[93430]: 22:23:47.644 INF config path=/etc/go2rtc.conf
Nov 13 22:23:47 internalhost go2rtc[93430]: 22:23:47.645 INF [api] listen addr=:1984
Nov 13 22:23:47 internalhost go2rtc[93430]: 22:23:47.645 INF [rtsp] listen addr=:8554
Nov 13 22:23:47 internalhost go2rtc[93430]: 22:23:47.646 INF [webrtc] listen addr=:8556
Nov 14 02:45:50 internalhost go2rtc[93430]: 02:45:50.444 WRN [rtsp] error="streams: nest: wrong status: 429 Too Many Requests" stream=nest-frontyard
Nov 14 06:24:33 internalhost go2rtc[93430]: 06:24:33.261 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:24:43 internalhost go2rtc[93430]: 06:24:43.283 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:24:53 internalhost go2rtc[93430]: 06:24:53.186 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:25:03 internalhost go2rtc[93430]: 06:25:03.205 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:25:13 internalhost go2rtc[93430]: 06:25:13.238 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:25:21 internalhost go2rtc[93430]: 06:25:21.199 WRN [rtsp] error="streams: nest: wrong status: 429 Too Many Requests" stream=nest-doorbell
Nov 14 06:25:33 internalhost go2rtc[93430]: 06:25:33.275 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:25:43 internalhost go2rtc[93430]: 06:25:43.209 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:25:53 internalhost go2rtc[93430]: 06:25:53.264 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:26:03 internalhost go2rtc[93430]: 06:26:03.261 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:26:13 internalhost go2rtc[93430]: 06:26:13.291 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:26:21 internalhost go2rtc[93430]: 06:26:21.318 WRN [rtsp] error="streams: nest: wrong status: 429 Too Many Requests" stream=nest-doorbell
Nov 14 06:26:33 internalhost go2rtc[93430]: 06:26:33.322 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:26:43 internalhost go2rtc[93430]: 06:26:43.461 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:26:53 internalhost go2rtc[93430]: 06:26:53.366 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:27:03 internalhost go2rtc[93430]: 06:27:03.524 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:27:13 internalhost go2rtc[93430]: 06:27:13.371 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:27:21 internalhost go2rtc[93430]: 06:27:21.357 WRN [rtsp] error="streams: nest: wrong status: 429 Too Many Requests" stream=nest-doorbell
Nov 14 06:27:33 internalhost go2rtc[93430]: 06:27:33.450 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:27:43 internalhost go2rtc[93430]: 06:27:43.504 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:27:53 internalhost go2rtc[93430]: 06:27:53.489 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:28:03 internalhost go2rtc[93430]: 06:28:03.560 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:28:13 internalhost go2rtc[93430]: 06:28:13.565 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:28:21 internalhost go2rtc[93430]: 06:28:21.565 WRN [rtsp] error="streams: nest: wrong status: 429 Too Many Requests" stream=nest-doorbell
Nov 14 06:28:33 internalhost go2rtc[93430]: 06:28:33.528 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:28:43 internalhost go2rtc[93430]: 06:28:43.503 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:28:53 internalhost go2rtc[93430]: 06:28:53.860 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:29:03 internalhost go2rtc[93430]: 06:29:03.624 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:29:13 internalhost go2rtc[93430]: 06:29:13.605 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:29:21 internalhost go2rtc[93430]: 06:29:21.635 WRN [rtsp] error="streams: nest: wrong status: 429 Too Many Requests" stream=nest-doorbell
Nov 14 06:29:33 internalhost go2rtc[93430]: 06:29:33.703 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell
Nov 14 06:29:43 internalhost go2rtc[93430]: 06:29:43.746 WRN [rtsp] error="streams: nest: wrong status: 409 Conflict" stream=nest-doorbell

#1397


Question: Create company with advanced evaluation

Hi Freddy,
just a quick question.
Do you know if it is possible to create a new company in BC with advanced evaluation?

Looking at the function New-CompanyInBcContainer you can only create an empty one or with evaluation.
Thank you.
Cheers,
Maurice

You are touching an area here, where I know very little.
Are you using onprem or sandbox containers?

I'm using sandbox containers.
What i found out today is when you select an option it imports a special rapidstart package.
'Advanced Evaluation' = EXTENDED
'Production' = STANDARD
'Evaluation' = EVALUATION
The location of the rapidstart packages are in the container under C:\ConfigurationPackages
So i think i'll build a script to create an empty company and then import and apply the configuration package which is needed.

You might be able to find some help here: https://freddysblog.com/2019/09/19/using-apis-on-containers/

Thank you! :)
Would'nt it be a great addition to the bccontainerhelper too?

I have it on my list of todos but the priority is low as the blog post explains exactly how to do.


support for reaspeaker v2

I own a reaspeaker V2 4 MIC and 12 LED and would like to know if this works also as it is connected via USB .

Hello,
It's not yet supported for all USB based respeakers. But I would say it's a nice to have in the future.


Is there a way to use JS inside a pane

I am trying to create some dynamic forms inside of a pane in the form of  but it is not allowed. How might I do this?

Why do you need to put the script tag inside a pane? It should be possible as long as you have the script tag loading this library first in your html


Work around bug in MyPy.

Work around bad interaction between Python, MyPy and NumPy versions, by pinning a specific version of Python 3.10.x.
We should be able to remove this fix after the next release of MyPy.
See: https://github.com/python/mypy/issues/13627 for more details.

Looks good! Any easy way to make sure we remember to revert this once mypy is updated?

Not that I can think of. In the worst case I expect this will be fixed when we upgrade to Python 3.11, which shouldn't be too long. :shrug: .


Fix currency symbol for KZT (Kazakhstani Tenge)

The currency symbol for Kazakhstani tenge is incorrect

@carmelc thank you for the fix! 🙌
Merging it now and will publish it soon.

@carmelc thank you for the fix! 🙌
Merging it now and will publish it soon.

Released in v5.0.0

Released in v5.0.0


Fixing platform dependency

Closes #125
Now it's properly running on both linux and windows platform.  I couldn't check it with MacOS.
Test report on LINUX

Test report on Windows

Any further changes can be merged afterwards.

Looks great 😍
Hope you are enjoying your journey 🚆  with OpenGenus


shared-request.ts - using params instead of pagination

shared-request.ts - using params instead of pagination variable
     params = formatPaginationIntoParams(params, true);
https://github.com/JoshJancula/coinbase-advanced-node/blob/83557148a1dc509c928d3c4220ba0ed55b0c1259/src/util/shared-request.ts#L35C43-L35C49

thx, resolved in v3.3.0


Integrate slackhq/compose-lints

Codecov Report

Merging #824 (c335681) into main (b246514) will decrease coverage by 0.01%.
The diff coverage is 40.00%.

@@            Coverage Diff             @@
##             main     #824      +/-   ##
==========================================
- Coverage   65.36%   65.36%   -0.01%
==========================================
  Files         130      130
  Lines        6318     6320       +2
  Branches     1212     1214       +2
==========================================
+ Hits         4130     4131       +1
  Misses       1373     1373
- Partials      815      816       +1

Impacted Files
Coverage Δ

...m/alexvanyo/composelife/ui/app/cells/CellWindow.kt
81.08% <0.00%> (-0.32%)
:arrow_down:

...in/com/alexvanyo/composelife/ui/app/theme/Theme.kt
48.71% <ø> (ø)

...exvanyo/composelife/ui/wear/WatchFaceConfigList.kt
52.17% <0.00%> (ø)

...com/alexvanyo/composelife/ui/app/ComposeLifeApp.kt
68.55% <50.00%> (+0.19%)
:arrow_up:

...anyo/composelife/ui/app/cells/InteractableCells.kt
85.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


The jdbc_static filter plugin ignores the jdbc_user setting when connecting to a database

When running the Logstash container and using the jdbc_static filter plugin, it will always try to connect to a database with the user of the Logstash container, ignoring the jdbc_user setting.
This was tested with the following configuration:
jdbc_user => "postgres"
Snippet of Docker Compose output:
logstash         | [2019-06-05T14:53:20,243][ERROR][logstash.javapipeline    ] Pipeline aborted due to error {:pipeline_id=>"main", :exception=>#<LogStash::Filters::Jdbc::ConnectionJdbcException: Java::OrgPostgresqlUtil::PSQLException: FATAL: role "logstash" does not exist>, :backtrace=>
To confirm the issue, I set the container to run as "root" user.
Snippet of Docker Compose output:
logstash         | [2019-06-05T14:51:35,545][ERROR][logstash.javapipeline    ] Pipeline aborted due to error {:pipeline_id=>"main", :exception=>#<LogStash::Filters::Jdbc::ConnectionJdbcException: Java::OrgPostgresqlUtil::PSQLException: FATAL: role "root" does not exist>, :backtrace=>

This issue has been transferred to the jdbc static filter plugin repo


Update NiciraNvpGuestNetworkGuru.java

Add support for VXLAN as isolation method

@sspans any testing done?

does every version of nvp support vxlan?

Daan: any supported release of vmware nsx will support VXLAN.
People running older releases probably already have an STT setup running, and should not encounter problems following these changes.

Testing and a unit-test will still be added.
We need this feature because we're planning to roll out new zones with VXLAN,
which if the changes remain small would ideally also be backported to 4.4.

@sspans yes but they might be tempted to do some vxlanning after upgrading ACS not upgrading NSX . what would happen?

The plugin would fail, similar to how it fails now when you ask ik to do vxlan when it only supports STT.
The encapsulation type is something that you first configure in NSX and then in cloudstack.
So the scenario you're trying to propose is really very unrealistic.
NB: NSX releases supporting only STT don't seem to be available for download anymore.

ok

@sspans
Since Test case is updated to cover VXLAN also, LGTM.


[FP]: Wrongly reporting vulnerability CVE-2020-27225 on org.eclipse.osgi-3.18.0

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:eclipse:platform:::::::: versions up to (including) 4.18
CVE
CVE-2020-27225
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
8.3.1
Description
Per CVE, Affected component:
Eclipse Platform, at least until version 4.18
cpe:2.3:a:eclipse:platform:::::::: versions up to (including) 4.18
only 3PP "org.eclipse.osgi-3.18.0.jar" used, but NOT packing/using the vulnerable 3PP component "Eclipse Platform process or Eclipse Rich Client Platform process", even they are NOT packed as indirect dependency in the environment.  This only packs "org/eclipse/platform/org.eclipse.osgi/3.18.0" as indirect dependency of Karaf, which is not vulnerable. But tool is reporting this vulnerability on org.eclipse.osgi-3.18.0.jar, which is wrong.
From Dependency Check tool team, we need confirmation on these false positives. Could you please validate and confirm?

Hi team, any update on this pls?

The eclipse maintainer stated that this is indeed a false positive
and that the mentioned artifact (Equinox OSGi Framework) was never affected by CVE-2020-27225, see here.
So please add this as a false positive, thanks in advance.