Mirror quay images to redhat-ai-dev

What does this PR do?:

This PR mirrors the quay.io images to redhat-ai-dev. You can find the mirrored image here: https://quay.io/repository/redhat-ai-dev/appstudio-utils?tab=tags
Which issue(s) this PR fixes:

Part of https://issues.redhat.com/browse/DEVAI-37
PR acceptance criteria:
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened and linked to this PR, if they are not in the PR scope due to various constraints.

[ ] Tested and Verified

[ ] Documentation (READMEs, Product Docs, Blogs, Education Modules, etc.)

How to test changes / Special notes to the reviewer:

Can we have this image containerfile under redhat-ai-dev/developer-images?
And I'm assuming you have tested the namespace creation & component deployment?

Can we have this image containerfile under redhat-ai-dev/developer-images? And I'm assuming you have tested the namespace creation & component deployment?

This is just a simple pull of quay.io/redhat-appstudio/appstudio-utils:5bd7d6cb0b17f9f2eab043a8ad16ba3d90551bc2@sha256:8c7fcf86af40c71aeb58e4279625c8308af5144e2f6b8e28b0ec7e795260e5f7 and retagging it to push to redhat-ai-dev so I didn't have to build it from the containerfile but I can try and find it. If we're truly mirroring though I'm unsure if we want to maintain containerfiles?
As for the deployment test I am waiting on a cluster but I don't expect any issues since it is a direct mirror

yeah I think we can avoid Containerfiles if its a direct 1:1 mirror. I asked @Jdubrick to update the quay.io image repo page description so that we know there is no Container and its a direct 1:1 mirror

Marking as WIP since my installer isn't cooperating so I need to debug that install first.

Jobs completing after change:

Notebook with cloned content:

@Jdubrick just this one image?

@Jdubrick just this one image? and do we know if there is a Containerfile since it seems the prior image was created by us 👀

@maysunfaisal just this one image for this repo, there is more that need to be updated in ai-lab-template and ai-lab-template-experiment but since the changes on this PR would also need to be made in those repos I will pull them in after this is merged.
I looked through https://github.com/redhat-appstudio and couldn't find the containerfile or anything linked on the quay repo but I can keep looking

yes, i would like if we could keep an eye on the containerfile and maybe just make a note of it in the repo description,
otherwise lgtm

When you said seems the prior image was created by us did you mean Red Hat or our team? If our team then surely the containerfile is somewhere

yes, i would like if we could keep an eye on the containerfile and maybe just make a note of it in the repo description,
otherwise lgtm

When you said seems the prior image was created by us did you mean Red Hat or our team? If our team then surely the containerfile is somewhere

@Jdubrick I meant appstudio devs in general. But I couldnt find it either. Can you post on our Slack? Maybe someone will know the origin.


How to verify SIWE messages from Flutter

Hey all, I am trying to create a SIWE message in Flutter, does anyone know a reasonable way of doing this using SIWE? I have a SIWE backend setup to verify messages and generate nonces, but need a way to sign the messages in dart. Any advice on how to do this?

@theosirian

Update on this, I'm testing out validating signatures in dart and sending to a JS backend with SIWE, the message is not validating and breaks, it works totally fine with the JS desktop so the issue is not the backend here, here is what is being sent to the backend from Dart.
{
    "message": {"domain": "localhost:3000", "address": "0x6d7f9a423dd49220d6e7723844c014aa77174708", "statement": "Hello World", "uri": "http://localhost:3000", "version": "1", "chainId": "1", "nonce": "32891756", "issuedAt": "2023-04-25T19:14:19.682Z"},
    "signature": "0x820ed4b0b42a172727d2eb6cc519d73962e0732c4587dd509f0c375e3f5329632ae9c6a8ed7f25cec521b95bb2d5e422ae5e9168083204fcb9bb854fee809d7c1b"
}

This is the message being signed:
localhost:3000 wants you to sign in with your Ethereum account:
0x6d7f9a423dd49220d6e7723844c014aa77174708

Statement: Hello World
URI: http://localhost:3000
Version: 1
Chain ID: 1
Nonce: 32891756
Issued At: 2023-04-25T19:14:19.682Z

Hi there, sorry for the delay on this. In here you can find a detailed spec on how the message is structured.

No worries, do you think the issue is related to the formatting of the SIWE message? I sent the above message which was being signed which I thought conformed to the standard, is that not the case?

Ok, I attempted to do it with the updated message, still doesn't seem to be working
`localhost:3000 wants you to sign in with your Ethereum account:
0x6d7f9a423dd49220d6e7723844c014aa77174708
Hello World
URI: http://localhost:3000
Version: 1
Chain ID: 1
Nonce: 32891756
Issued At: 2023-04-25T19:45:50.940Z
`
I still seem to be getting some issues, here is what I'm sending to validate:
{     "message": { "domain": "localhost:3000", "address": "0x6d7f9a423dd49220d6e7723844c014aa77174708", "statement": "Hello World", "uri": "http://localhost:3000", "version": 1, "chainId": 1, "nonce": 32891756, "issuedAt": "2023-04-25T19:45:50.940Z" },     "signature": "0x5fc0041adcb0ce40ec0a5e5a9040f180e7c6a8f32e7d36b7361ffd8e27f788a04a645e4925a615d17aedbbf0225b13bb5cdec139cbcb251da7630e9f03a3439c1c" }

removing the port should solve your issue.

Sure, removing the port from everywhere or just specific parts of the message? I am using SIWE in JS to validate on the backend
app.post('/verify', async function (req, res) {     const { message, signature } = req.body;     const siweMessage = new SiweMessage(message);     console.log("message: " + JSON.stringify(siweMessage));     const ethAddress = message.address;     console.log(ethAddress);     try {         await siweMessage.validate(signature);
    Here is the part in the backend (JS) I am using to verify the signature

`{"domain":"localhost:3000","address":"0x4bF850baF6459516Bd87E3D98c49264D0250087a","statement":"Sign in with MoonGate to the app.","uri":"http://localhost:3000","version":"1","chainId":1,"nonce":"Ygc1BUPyUiCpYz3PE","issuedAt":"2023-04-25T20:33:43.318Z"}`
In the existing JS implementation, the URI and domain still have the port but work totally fine.

can you confirm to me that you are at<EMAIL_ADDRESS>also could you please test the address with EIP-55 (mixed camel case)?

Yes 1.1.6 on NodeJS backend, the address is working as per EIP-55 as well

I meant in the example before, the address should be 0x6D7F9A423Dd49220D6e7723844C014AA77174708 instead of 0x6d7f9a423dd49220d6e7723844c014aa77174708.

{ "message": { "domain": "localhost:3000", "address": "0x6d7f9a423dd49220d6e7723844c014aa77174708", "statement": "Hello World", "uri": "http://localhost:3000", "version": 1, "chainId": 1, "nonce": 32891756, "issuedAt": "2023-04-25T19:45:50.940Z" }, "signature": "0x5fc0041adcb0ce40ec0a5e5a9040f180e7c6a8f32e7d36b7361ffd8e27f788a04a645e4925a615d17aedbbf0225b13bb5cdec139cbcb251da7630e9f03a3439c1c" }

Also just as a heads up, we are planning to move<EMAIL_ADDRESS>to the latest tomorrow, it might be a good opportunity to upgrade now.

Ah, got what you mean, I tried that now, still have the issue, here is what is being sent to the backend.
{
    "message": {
"domain": "http://localhost:3000",
"address": "0x6D7F9A423Dd49220D6e7723844C014AA77174708",
"statement": "Hello World",
"uri": "http://localhost:3000",
"version": 1,
"chainId": 1,
"nonce": 32891756,
"issuedAt": "2023-04-26T00:05:14.660Z"
},
    "signature": "0xc75aa32a9226cdc989aaf1cca3e0a257d94cbeafd52ba25e2b5df7b8c788d77579fcf29028a09d863caf88ec4b19949350abc83ffbb7e86b614a0cb154f356191b"
}

Here is the message being signed:
`http://localhost:3000 wants you to sign in with your Ethereum account:
0x6D7F9A423Dd49220D6e7723844C014AA77174708
Hello World
URI: http://localhost:3000
Version: 1
Chain ID: 1
Nonce: 32891756
Issued At: 2023-04-26T00:05:14.660Z
`
Happy to try upgrading to 2.x.x, would that help with the issue?

Issue resolved, it was related to the formatting of the message being signed, many thanks to @w4ll3 for assisting me with this on Discord!


Python Client Libraries are not present.

from azure.ai.anomalydetector.models import DetectionRequest, ModelInfo
Throws an error:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-17-5452ec38eacf> in <module>
----> 1 from azure.ai.anomalydetector.models import DetectionRequest, ModelInfo

ImportError: cannot import name 'DetectionRequest'

AttributeError: module 'azure.ai.anomalydetector.models' has no attribute 'DetectionRequest'
AttributeError: module 'azure.ai.anomalydetector.models' has no attribute 'ModelInfo'
from azure.ai.anomalydetector.models import DetectRequest goes through fine.
ModelInfo class is used in the documentation to configure the datafeed. What is the way around this?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5fa9db9e-bc31-35e6-a243-107276a37a5e
Version Independent ID: 3ffb903f-6d42-6411-0478-2fab35e1f2df
Content: Quickstart: Anomaly detection using the Anomaly Detector client library for multivariate anomaly detection - Azure Cognitive Services
Content Source: articles/cognitive-services/Anomaly-Detector/quickstarts/client-libraries-multivariate.md
Service: cognitive-services
Sub-service: anomaly-detector
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@anirbansaha96 Thanks for the feedback. We are investigating the issue and will update you shortly.

@anirbansaha96 Our team is working to update the SDK's for the multivariate feature. Once the updated SDK is published this should work as expected. We apologize for the delay in publishing the SDK when the preview is available for use. You can use the REST API as a workaround if you would like to try the new feature.

@anirbansaha96 Could you please check again and try to install the newer version of the SDK(azure-ai-anomalydetector-3.0.0b3)?

Thanks for the update. I have tried the new version and it works (except for some errors that I have mentioned in #73973). Closing this issue as it is resolved. Thanks!

@hansharhoff Thanks for calling this out. I will be updating this today. In the meantime this sample from one of the PM's in the product should be up-to-date and work with the latest version of the SDK API:
https://github.com/Azure-Samples/AnomalyDetector/blob/master/ipython-notebook/SDK Sample/🆕MVAD-SDK-Demo.ipynb


Add command to blacklist recipes

Some recipes are generally undesirable (like Railcraft's tin bushings) for the purposes of the autopackager.

Ship with these disabled by default as an example?

Possibly


Crash when return back from Gallery

When return back from Image Gallery without selecting any image, following crash happen:
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
at net.alhazmy13.mediapicker.Image.ImageProcessing.processMultiImage(ImageProcessing.java:26)
at net.alhazmy13.mediapicker.Image.ImageActivity.onActivityResult(ImageActivity.java:204)

i'll check it as soon as possible, Thx

Fixed with version 2.2.4
Thank you


How to compute the IS using the tensorflow code from Du & Mordatch

Hi, thank you for your excellent work, the code and the pre-trained model.
I have a simple question. I want to reproduce the Inception Score in the paper. But the code is written in TensorFlow (https://github.com/openai/ebm_code_release/blob/master/test_inception.py), and your model is a PyTorch model.
So is it that converts the PyTorch model into a TensorFlow model with some libraries. Or are there any other methods to do it?
Thank you so much!

By the way, for FID score, the code compares two datasets.  So it is
fid.py /path/to/generated_images   /path/to/precalculated_stats.npz
right?


More flexible support for endpoints

[x] Support multiple --endpoint arguments and add them all to generated DIDDocs
[ ] Support a --hostname parameter and automatically derive endpoint(s) based on the inbound transports supported, when endpoints are not provided manually

@andrewwhitehead - is this still needed or can we close this?

It's not essential, I think we can close it.


[BUG] Project view: Network > VPN users should not be visible

Describe the bug
Network > VPN users is visible when a project is selected in Primate UI. It is not in the old UI.
To Reproduce
Steps to reproduce the behavior:

Select a project
Go to the 'Network' section

Expected behavior
It doesn't make sense to have this in the UI since nothing is shown there anyway and we cannot create new VPN users.
Screenshots
New UI:

Old UI:

Desktop (please complete the following information):

OS: Ubuntu 18.04 LTS
Browser: Chrome
Version: 80.0.3987.149 (Official Build) (64-bit)

Additional context
Possibly related to #236.

@vladimirpetrov I think it should be because a project's network could have remote VPN enabled, I think it's a non-issue. Please review and close.


JSON Decode Error

Hi Tyler!
Found an error while running the code.

Looks like because it passed no value, JSON did not decode it

Looking into this :) thank you, this is most likely the final one that still is unhandled properly.

Looks like its fixed. Thanks!


io.js 3 support (blocked)

So there it is, but unfortunatelly it fails to install because of this: https://github.com/TooTallNate/ref-struct/issues/18

Dunno why Trvis had that braincock, it builds fine at my side, and all tests has been passed.
@TooTallNate please test it at your side, and if its OK, then could you please release it along with https://github.com/node-ffi/node-ffi/pull/226?


Scope is not handled when using build() with http parameters

According to the docs, When using build(), the scope is injecting automatically. However, it is not the case when using http parameters. It seems the scope handling is bypassed when http is specified. https://github.com/google/google-api-python-client/blob/master/googleapiclient/discovery.py#L358
Test code:
# use google default application credentials
export GOOGLE_APPLICATION_CREDENTIALS=/PATH/TO/GOOGLE_DEFAULT_CREDENTIALS.json

import httplib2

from googleapiclient.discovery import build
from oauth2client.client import GoogleCredentials

credentials = GoogleCredentials.get_application_default()
#credentials = credentials.create_scoped('https://www.googleapis.com/auth/bigquery')

http = httplib2.Http()
http = credentials.authorize(http)

service = build('bigquery', 'v2', http=http)

jobs = service.jobs()
job_data = {'configuration': {'query': {'query': 'SELECT 1'}}}

jobs.insert(projectId='projectid', body=job_data).execute()

This will trigger the following error:
▶ python gbq_test.py
Traceback (most recent call last):
  File "gbq_test.py", line 17, in <module>
    jobs.insert(projectId='projectid', body=job_data).execute()
  File "/opt/python/pandas-gbq/lib/python2.7/site-packages/oauth2client/_helpers.py", line 133, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/opt/python/pandas-gbq/lib/python2.7/site-packages/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 401 when requesting https://www.googleapis.com/bigquery/v2/projects/ubcxdata/jobs?alt=json returned "Invalid Credentials">

If the create_scoped() is uncommented, the code executes correctly.
So when using the http parameter in build, is it expected that the scope is handled by http object already?

This is as intended, if you specify http then build doesn't nothing with credentials or the http itself. If you pass in http, it should already be authorized and setup. Otherwise, just pass credentials and let it construct the http itself. If you're using ADC, you can call build without http or credentials.

Then maybe it should be mentioned in the docs :) I spent quite some time to figure this out.


Fixes target name

fix target name for Windows
normalize fileName to be possible to detect base name correctly

Thanks for the Windows port!  You rock!


Why have .text_lexbor (publicly available) if it's equivalent to .text() with default parameters ?

.text_lexbor() seems to do really exactly the same thing than .text() with default parameters. So why keeping it ?
If it's more performant than .text(), why not check when .text() is launched with default parameters and internally use .text_lexbor() when it's the case ? (To make .text() as performant than .text_lexbor() and turn .text_lexbor() into a private function.)
According to documentation, there is no difference. It just precise that .text_lexbor() "uses builtin method from lexbor". Having duplicates (without explanation of utility) introduce a bit of confusion.
Little code showing equivalence  :
tree = LexborHTMLParser(offline_wiki_page)

text = tree.body.text()
text_lexbor = tree.body.text_lexbor()

if (text == text_lexbor):
   print ("text and text_lexbor are equivalent.")
else:
   print ("text and text_lexbor are different.")

It does not support a custom separator, so we can't reuse it everywhere.
Sometimes, you want to have a custom separator due to how pages are styled with CSS.


Embedded component

Summary
Pull request for embedded component. See #27
Please add your name to the CONTRIBUTORS.md file. Adding your name to the CONTRIBUTORS.md file signifies agreement to all rights and reservations provided by the License.
Thanks for contributing to Terra.
@cerner/terra

@mhemesath mind if we close this for the time being? Site has changed since this was posted and we're leaning away from pushing in skeleton packages before the package is ready to release.


[ContextMenu] CanShowMenu implemented for each submenu?

First of all, huge kudos for creating such a great project!
Here's my concern.
CanShowMenu() is called on every rightclick on a file or directory, and since I'm doing some more advanced inter-process communication in the logic, it might take some time to get the reply, but it would be terrible to hog every right click and make the user wait for the response from my app.
So I thought I can just put it all in a submenu which would simply always be shown, and only when the user opens it it would run the IPC to ask whether to put the elements inside. I think that's a pretty common use-case.
So I tried to put the logic into an event of the item, like so:
            mainItem.DropDownOpening += (s, a) =>             {                 Log("Opened");             };
But the event never fires. It seems it's not translated into the underlying native User32 event (if such a thing even exists, I'm no specialist in that).
Is there any way to make each submenu added to the ContextMenu implement it's own CanShowMenu logic? Supporting the events would be even better, but a working workaround might make sense too.
I've researched a bit, but extern libs aren't my piece of cake, so I don't know if this might be of any help:
http://www.codeproject.com/KB/edit/cmenuedit.aspx?msg=2774005#xx2774005xx
Many thanks!

I found a small workaround, with which we can make each menu items implement a logic to display the menu/ submenu items. Each time once we select a file/folder CanShowMenu method will be called, we can indirectly invoke CreateMenu method via this method. We can dynamically load the menu and submenu items i.e, we can show each menu/submenu items based on its own logic.
I just added an example and made a pull request, a small article explaining this. (links below)
Pull request:
https://github.com/dwmkerr/sharpshell/pull/94
Article:
http://www.codeproject.com/Articles/1035998/NET-Shell-Extensions-Adding-submenus-to-Shell-Con

Looks like 2.2 didn't get the DropDownOpening event firing?

Thanks @sagaru - for other readers, this is in the samples now


Correct Regex? I want to blacklist this entire website, but nothing I try works.

I have a website like this https://app.chatwebsite.com/room/lounge/randompersonsname
I want to disable Video Speed Controller for that entire website so that the control box does not show up on the videos.
I wanted to do something simple like this:
*chatwebsite.com*
https://app.chatwebsite.com*
but that didn't work.
So I tried figuring out Regex and tried:
https://app.chatwebsite.com/.
https://app.chatwebsite.com/.*
/?(?<=chatwebsite.*)$
and some others, but they also did not work.
What is the correct format?

Hello?

@gediminasel  - Can I please get some help? I just want to completely blacklist this one entire website so that the controller never shows up on it. But I don't know Regex and my guess attempts all failed. This would probably take you five seconds to answer. But I'm waiting months with no reply. Please help.

Hi, have you tried simply app.chatwebsite.com or chatwebsite.com?

Hi, have you tried simply app.chatwebsite.com or chatwebsite.com?

Awesome, that works. Thank you!


Catch exceptions in handlers

For now any uncaught exception in an update or error handler kills the dispatching thread. This behaviour is unacceptable because a small mistake in one handler can make the bot unavailable for all users.
Moreover, though without dispatching thread the application actually stops serving, the process remains live and cannot be restarted by an external superviser.
This pull request adds try blocks into Dispatcher to catch errors from handlers and prevent killing of the thread.

Hi @raid-7!! Thank you so much for the contribution! I'll take a look to the PR as soon as possible (probably Friday or Saturday)


Unable to get authToken/tokenType from existing GitLabApi instance

Subj. This is needed to

Clone instances of GitLabApi in order to perform safe sudo in multithreaded environments (see #118)
Save token for later use

Getters for the token info have been added as well as a GitLabApi.duplicate() method, and available in release 4.7.9.


[Fix #3936] Add new Style/MixinGrouping cop

This cop checks for grouping of mixins in class and module bodies. By default, it enforces a separated style, i.e.:
class Foo
  include Bar
  include Qux
end

but it can be configured to enforce a grouped style as well.
It's currently Chinese New Year, so I didn't have time to add autocorrect. Will add it in at a later point, unless someone beats me to it. 😀

Before submitting the PR make sure the following are checked:

[X] Wrote good commit messages.
[X] Commit message starts with [Fix #issue-number] (if the related issue exists).
[X] Used the same coding conventions as the rest of the project.
[X] Feature branch is up-to-date with master (if not - rebase it).
[X] Squashed related commits together.
[X] Added tests.
[X] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[X] All tests are passing.
[X] The new code doesn't generate RuboCop offenses.
[X] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[X] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

A couple of points:

this needs a matching style guide rule
eventually we need cops for related things like attr_* and similar.

@bbatsov: Comments addressed. 😀

this needs a matching style guide rule

Opened a PR for this.

eventually we need cops for related things like attr_* and similar.

I was holding off on this one, because I didn't have time to deal with the visibility scopes of the attr_* methods, but I'll open a separate issue for it. 😀

👍


SSH2.php warnings with PHP 5.6.19 (Ubuntu 16.04)

When deploying on a server with PHP 5.6.19, which is the version of Ubuntu server 16.04:
PHP Warning:  unpack(): Type N: not enough input, need 4, have 1 in ...\vendor\phpseclib\phpseclib\phpseclib\Net\SSH2.php on line 2826
and
PHP Warning:  extract() expects parameter 1 to be array, boolean given in ...\vendor\phpseclib\phpseclib\phpseclib\Net\SSH2.php on line 2826
as well as
PHP Notice:  Undefined variable: length in ...\vendor\phpseclib\phpseclib\phpseclib\Net\SSH2.php on line 2827
It seems the deployment works anyway though

same with me

Same with php7

This is fixed on Rocketeer 3 which uses a more recent version of phpseclib

Where do I find Rocketeer 3?


Other parts for tryon

I have utilize the parts that this method provides like upper, lower, inner, outer, overall. Can it tryon accessories or shoes?
Thank you for your help!

I have utilize the parts that this method provides like upper, lower, inner, outer, overall. Can it tryon accessories or shoes?
Thank you for your help!

Can I get some details about tryon about lower, inner, outer, overall.? I am not clear about the deeper settings in the code. thx!!

Currently, this model does not support accessories or shoes because we did not train it on the corresponding datasets.

OK. Thank you!


Better handling of groups in .nmoney and .csv files

What
This pull request focuses on a better integration of groups in the nmoney database files and csv files.
Why
What motivated the change in the nmoney file is that the balance was hardcoded, while it simply is a sum of all the transactions' amounts, which SQL could easily handle. There was clearly a kind of indirect data duplication, which is now removed. As for the CSV file, it did not allow to export groups so far.
How
The new groups table in nmoney files no longer has a balance column. Instead, a SQL request is made to do the calculation of the balance, as seen in the new Account::updateGroupAmounts method. The column will be automatically deleted on old files to match with the new file version.
In the CSV file, each transaction comes with its gid, group name and group description, so that the group can be added if it does not exist. This means that a group will surely appear more than once, but this limitation is due to CSV files being having only a single table, not two tables as in SQL.
@fsobolev

This should also fix #15

Thanks for the changes :) like I said, I just want to do some testing when I get a chance and then will merge.

Thanks @zothma! I don't think I can help with the code if some places to improve it will be found, but I will definitely test it, especially I want to check how it affects #15

I confirm that importing/exporting CSV file with cyrillic symbols now works, so #15 will be fixed. That's awesome! 🎉
There are still some CSV import issues, but I doubt they can be fixed in this PR. I will open a new issue.

CSV definitely works a lot better! Thanks for this!


[WIP] Feature | V3 - Request validator

This PR introduces the RequestValidator as discussed in #275.
At the moment of writing, it's a first draft to align our ideas. After that, the missing checks and tests will be added.
I decided to create dedicated *Check classes. This way, they have their own responsibility, can be tested separately and can have more context (like message())
Questions to @Sammyjo20:

Is there a strict folder structure? How do you feel about the current folder structure?
Can you check how PendingRequests are supported?

Hey @bobmulder thanks so much for working on this! 🙌 I'm a little busy tonight but I'll be taking a look over the weekend :)

Thats fine Sam. I just want to check with you if the general setup is right. I'll try to do the pending work next week.

Hey @bobmulder I've had a little look over and it looks good so far. Happy with the folder structure and I like your "check" contract - that looks good.
With regards to the PendingRequest - my worry is that if someone has used middleware, or a plugin to add a header, body or config then the original Request class won't reflect those changes. From v2, before a request is sent, a PendingRequest is instantiated and everything gets merged into there. It has a similar API to connectors and requests (e.g $pendingRequest->headers()). I would say it's probably more accurate to use this as the object that you're testing against rather than the Request class itself.
What are your thoughts?
I realise that this is something I think I have forgotten to update - the assertSent should also pass in the PendingRequest or maybe replace Request entirely in v3. I am happy to make this change, just let me know.

Yeeha @Sammyjo20!
I think you're completely right about the PendingRequest thing (you're the creator after all ;P), but I just don't see it. When I test a feature of my application, I just mock every request that's called, and do some assertions on every request individually using assertSent.
Can you tell me what should be changed? Should RequestValidator accept a PendingRequest only, and do all checks on that object instead of its underlaying Request object?
Without any knowledge about PendingRequest, I'd say that PendingRequest and Request should share the same (abstract) base class or an interface, which would make it less important what kind of request you're testing.
I'll get to know some more about pending requests today first.

Hey @bobmulder I've had a re-think about the structure of some of the testing helpers. Would you mind moving the testing validators into a "Testing" directory inside of the "Helpers" directory?
So we'll be able to use src/Helpers/Testing/RequestValidator.php?

Hey @bobmulder - I hope you are well! I just had an idea. What if, instead of creating a RequestValidator from Request or PendingRequest, we could either use the same method or make a new method that passes in an already seeded RequestValidator that has already been given a PendingRequest? Then you could go straight in and do some validation?
$mockClient->assertSentWithValidate(function (RequestValidator $validator) {
     $validator
            ->hasHeader()
            ->instanceOf()
            ->etc()
});

Sorry for the delay, @Sammyjo20.
I think your idea is pretty nice, I love it. It's close to one of the suggestions I posted in the discussion. However, no matter how we would integrate the validator, we would need a validator class. Also, for testing purposes and to apply SRP I think it's a good idea to create a validator class which will do the heavy lifting, and create some 'glue' afterwards to integrate it nicely for testing (like your assertSentWithValidate idea).
The only thing I'm struggling right now is: should the validator class support Request classes or PendingRequest classes? Or should those classes be more bundled using an interface?

Hey @bobmulder apologies for the delay - with v3 launch and the book launch I decided to take a step away for a few weeks.
Would love to keep working on this with you - I'm glad that you like my suggestion :) I think we should use the pending request to be honest - that has the single source of truth and contains things merged from the connector/request and would be the closest to the actual request sent.
Or - what if you used the PSR-7 request? You can get it with $response->getPsrRequest() and there's nothing lower level than that so might be good to use.

Hi Sam, I don't blame you because I haven't done much on the PR as well ;).
I understand the PendingRequest is better to use instead of normal Request classes. But as a noob I'd say; why don't Request and PendingRequest share an interface?
Next week, I'll try to change my idea to supporting PendingRequest classes and I'll get back to you for some feedback and thoughts.
Wish you all the best!

It's a very fair point about the interface - I would be very happy to add an interface as long as it doesn't introduce a breaking change, which I don't think it would? The interface would just need to include things like header(), confg(), body() right? Thing is, body is optional completely.

@Sammyjo20, I changed the RequestValidator and InstanceOfCheck, so they use a PendingRequest now.
Nice thing I realised when working on the InstanceOfCheck, whenever it needs the original request, it's just accessible:
    public function valid(): bool
    {
        return $this->actual->getRequest() instanceof $this->expected;
    }

I also moved the Validators namespace to Testing as you suggested before.
Next, I'm going to work out some more checks!

Hi Sammy, I lost track on this one but I'm motivated to finish the PR since I think it's pretty useful. Can we together work out a todo list of what needs to be done to get this ready to merge? I'd appreciate and finish the pending work.

Hey @bobmulder Happy New Year. That's okay, these things happen. I'm not able to spend a huge amount of time on Saloon at the moment but over the next few weeks I will try to write up a list of things to do. I've also been thinking of ways  to improve the testing in Saloon so I can include those changes too if you like?

Hey @bobmulder how are you doing? Do you have any further plans for this PR or shall we revisit it in the future? ❤

Hey @bobmulder I'm going to close this PR for now, please don't feel any offense, I just like to keep PRs at "Inbox Zero" as possible

Sorry for the delay @Sammyjo20. Sometimes work takes over again. Can we have a little conversation to discuss what needs to be done to make this work?


Kubernetes-compatible YAML in docs

Description
Kubernetes-compatible YAML in docs
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

/lgtm

/approve


Fix the syntax error in getTypeOptions method

In the method getTypeOptions the array is broken, it's missing one comma.

Thank you


NCCL error using DDP

🐛 Bug
Getting this error when attempting to use ddp with VAE:
Traceback (most recent call last):
File "/home/dzhang4/VAE/main.py", line 32, in
trainer.fit(model, train_dataloader=train_loader)
File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/trainer/trainer.py", line 510, in fit
results = self.accelerator_backend.train()
File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 158, in train
results = self.ddp_train(process_idx=self.task_idx, model=model)
File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 303, in ddp_train
self.barrier('ddp_setup')
File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 186, in barrier
torch_distrib.barrier(group=self.ddp_plugin.data_parallel_group)
File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
work = _default_pg.barrier()
RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1607370116979/work/torch/lib/c10d/ProcessGroupNCCL.cpp:784, unhandled system error, NCCL version 2.7.8
To Reproduce
from pl_bolts.models.autoencoders import VAE
from pl_bolts.datamodules import ImagenetDataModule
import pytorch_lightning as pl
import torchvision.datasets as datasets
import torch
import torchvision.transforms as transforms
import os

model = VAE(224,'resnet50',enc_out_dim=2048,latent_dim=256)
traindir = os.path.join('/home/dzhang4/Imagenet', 'train')
normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],
                                 std=[0.229, 0.224, 0.225])
train_dataset = datasets.ImageFolder(
    traindir,
    transforms.Compose([
        transforms.RandomResizedCrop(224),
        transforms.RandomHorizontalFlip(),
            transforms.ToTensor(),
            normalize,
        ]))

train_loader = torch.utils.data.DataLoader(train_dataset, batch_size=64, shuffle=True)

trainer = pl.Trainer(gpus=[2,3,4,5,6,7,8,9],profiler=True,accelerator='ddp')
trainer.fit(model, train_dataloader=train_loader)

Expected behavior
Works on multi-GPUs
Environment

CUDA:

GPU:

Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB
Tesla V100-SXM3-32GB

available:         True
version:           10.1

Packages:

numpy:             1.18.1
pyTorch_debug:     False
pyTorch_version:   1.7.1
pytorch-lightning: 1.1.8
tqdm:              4.46.1

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.6.10
version:           #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019

I had the same problem with DDP before when selecting device indices. Updating to torch 1.8 solved the problem for me. Let me know if that helps.

I am not able to update to torch 1.8 since the cuda version is 10.1 on my server.
I was able to run with DP but it took  5 hours for one epoch. I am wondering if such cost sounds reasonable or not?

Try  NCCL_IB_DISABLE=1
See this issue #4420

I tried the method mentioned at https://github.com/PyTorchLightning/pytorch-lightning/issues/4420#issuecomment-788241369 and got new errors.
Traceback (most recent call last):
    trainer.fit(model, train_dataloader=train_loader)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/trainer/trainer.py", line 510, in fit
  File "/home/dzhang4/VAE/main.py", line 32, in <module>
    trainer.fit(model, train_dataloader=train_loader)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/trainer/trainer.py", line 510, in fit
    trainer.fit(model, train_dataloader=train_loader)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/trainer/trainer.py", line 510, in fit
    trainer.fit(model, train_dataloader=train_loader)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/trainer/trainer.py", line 510, in fit
    results = self.accelerator_backend.train()
    trainer.fit(model, train_dataloader=train_loader)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 158, in train
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/trainer/trainer.py", line 510, in fit
    results = self.accelerator_backend.train()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 158, in train
    results = self.ddp_train(process_idx=self.task_idx, model=model)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 261, in ddp_train
    results = self.accelerator_backend.train()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 158, in train
    results = self.accelerator_backend.train()
    results = self.ddp_train(process_idx=self.task_idx, model=model)
    results = self.accelerator_backend.train()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 261, in ddp_train
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 158, in train
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 158, in train
    self.trainer.is_slurm_managing_tasks
    results = self.accelerator_backend.train()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/accelerator.py", line 163, in init_ddp_connection
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 158, in train
    results = self.ddp_train(process_idx=self.task_idx, model=model)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 261, in ddp_train
    results = self.ddp_train(process_idx=self.task_idx, model=model)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 261, in ddp_train
    self.trainer.is_slurm_managing_tasks
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/accelerator.py", line 163, in init_ddp_connection
    is_slurm_managing_tasks,
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/plugins/ddp_plugin.py", line 94, in init_ddp_connection
    results = self.ddp_train(process_idx=self.task_idx, model=model)
    self.trainer.is_slurm_managing_tasks
    trainer.fit(model, train_dataloader=train_loader)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 261, in ddp_train
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/accelerator.py", line 163, in init_ddp_connection
    is_slurm_managing_tasks,
    results = self.ddp_train(process_idx=self.task_idx, model=model)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/trainer/trainer.py", line 510, in fit
    self.trainer.is_slurm_managing_tasks
    torch_backend, rank=global_rank, world_size=world_size
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/plugins/ddp_plugin.py", line 94, in init_ddp_connection
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 455, in init_process_group
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 261, in ddp_train
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/accelerator.py", line 163, in init_ddp_connection
    is_slurm_managing_tasks,
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/plugins/ddp_plugin.py", line 94, in init_ddp_connection
    torch_backend, rank=global_rank, world_size=world_size
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 455, in init_process_group
    is_slurm_managing_tasks,
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/plugins/ddp_plugin.py", line 94, in init_ddp_connection
    torch_backend, rank=global_rank, world_size=world_size
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 455, in init_process_group
    self.trainer.is_slurm_managing_tasks
    barrier()
    torch_backend, rank=global_rank, world_size=world_size
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/accelerator.py", line 163, in init_ddp_connection
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 455, in init_process_group
    results = self.accelerator_backend.train()
    self.trainer.is_slurm_managing_tasks
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 158, in train
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/accelerator.py", line 163, in init_ddp_connection
    barrier()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
    barrier()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
    results = self.ddp_train(process_idx=self.task_idx, model=model)
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 261, in ddp_train
    barrier()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
    is_slurm_managing_tasks,
    is_slurm_managing_tasks,
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/plugins/ddp_plugin.py", line 94, in init_ddp_connection
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/plugins/ddp_plugin.py", line 94, in init_ddp_connection
    self.trainer.is_slurm_managing_tasks
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/accelerators/accelerator.py", line 163, in init_ddp_connection
    torch_backend, rank=global_rank, world_size=world_size
    torch_backend, rank=global_rank, world_size=world_size
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 455, in init_process_group
    is_slurm_managing_tasks,
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 455, in init_process_group
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/pytorch_lightning/plugins/ddp_plugin.py", line 94, in init_ddp_connection
    torch_backend, rank=global_rank, world_size=world_size
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 455, in init_process_group
    work = _default_pg.barrier()
RuntimeError: Connection reset by peer
    work = _default_pg.barrier()
RuntimeError: Connection reset by peer
    work = _default_pg.barrier()
    barrier()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
RuntimeError: Connection reset by peer
    barrier()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
    barrier()
  File "/home/dzhang4/miniconda3/envs/coco/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
    work = _default_pg.barrier()
RuntimeError: Connection reset by peer
    work = _default_pg.barrier()
RuntimeError: Connection reset by peer
    work = _default_pg.barrier()
RuntimeError: Connection reset by peer
    work = _default_pg.barrier()
RuntimeError: Connection reset by peer

@zhangdan8962 What do you get when you use PL_TORCH_DISTRIBUTED_BACKEND=gloo? Could you please try and report?

What are the downsides of gloo comparing nccl?

Thanks! Please see this link comparing gloo and nccl and explaining in detail about those.
@awaelchli was kind enough to fix several issues in #6941. PL 1.2.8 might fix some of the issues that you are facing.

Thanks @srib for the help here.
@zhangdan8962 I understand that your issue is resolved?


Document WunderX Camp funding opportunities

We spoken before about anyone being able to organise a WunderCamp and receiving funding for doing so. It would be great if this was visible and documented so everyone could take advantage of this.

I assigned this to @steveparks because I think this requires board-level discussion.

Currently this is different in each country, so we either need to capture each country offices approach - or, ideally, find a way to synchronise and have one approach. I'll email the country MDs and board to see if there's an appetite for that, and find out about current approaches.

Great, maybe the differences between each are actually small? If it's just budget, then we can easily list them on the bottom of one page.

I also think we should include team dinners.


Date histogram on subsetting tab gives 500 error if all data has been filtered out

Ex: In PRISM2, if you filter on Age group "<5 years" then look at Death date or Withdrawal date 2, you get a 500 error rather than a plot with all data greyed out. Other date variables like "Withdrawal date" or "Household data collection date" look fine

I think that makes sense

Now an empty plot is showing up, but still no greyed out values.


Migration Manager loading cpresources on front end

Hello there, I installed Migration Manager recently, and then noticed layout issues on the front-end site that were caused by the site somehow loading a bunch of stylesheet files from the cpresources directory, immediately under my own CSS links.
These were:
`
link href="https://site.dev/cpresources/1f31763d/selectize.css?v=1524281801" rel="stylesheet"
link href="https://site.dev/cpresources/191e5374/css/craft.css?v=1524281800" rel="stylesheet"
link href="https://site.dev/cpresources/191e5374/css/charts.css?v=1524281800" rel="stylesheet"
link href="https://site.dev/cpresources/4770a90c/css/migration-manager-sidebar.css?v=1524281800" rel="stylesheet"
`
^ Sorry, had to take out the angle brackets to make it display.
Seeing the migration manager file caused me to disable the plug-in, and things went back to normal, with none of these extra stylesheet links showing up.
Is this something you can replicate or not? If not, do you have any idea why it might be happening?
Thanks in advance for any help or advice you may be able to give with this.

fixed in latest release


tiny bug in documentation

Hi! I just found a small bug in documentation. http://prntscr.com/fumftj
As a  person with bad English I disliked it.

fixed in https://github.com/ReactiveX/rxjs/pull/2639 .


Flaky tests when randomly generating private keys

Some problem with the way we are randomly generating private keys. Need a way to figure out if private keys are invalid earlier.

https://github.com/ethereum/go-ethereum/blob/master/crypto/signature_cgo.go#L56 << solution


"make distclean" leaves a few auto generated Kconfig

wireless/bluetooth/Kconfig:# This file is autogenerated, do not edit.
wireless/ieee802154/Kconfig:# This file is autogenerated, do not edit.

@yamt weren't these generated in a previous build?  By previous I mean several months ago before some changes were made to the build system, mainly Application.mk and Directory.mk.
Or maybe a manual clean was performed? maybe git clean -xdf?
The clean now doesn't recursively traverse all the directories in apps. It looks for .kconfig or .depend files.  If those files aren't there that directory won't be cleaned.
I just tried one config (esp32-devkitc:wapi) and the distclean deleted all the autogenerated files.

@Ouss4 thank you. probably it's the case as the tree was quite long-lived. i'll close this for now until i have a chance to confirm.


Do all self-closing elements exclude a content model?

Thinking the alternative is whether the element has a content model. Therefore, if the element does not have a content model - then it is self closing.
Verify.
Curious if any of the elements that are self-closing actually have a content model.
If elements that are self-closing do not have a content model, should that be a validation point?
if ( self-closing && count([element]::CONTENT_MODEL) > 0 )
    die([misconfiguration error message]);

Up to Button. All elements with not end tag have no content model.

It would appear that all self-closing elements have NO content model. Therefore, it should be possible to use the existence of a content model to determine whether or not an element is self-closing.


Output .csv files

Currently OpenSoundscape outputs results to the terminal. Some results make sense to output this way, e.g. AUC scores, and they can easily be redirected to a .txt file for later inspection. But other results would be easier to use if a .csv file were generated instead:

Test results: false negative/false positive results could be a .csv. Right now, these are output with a line for each incorrectly classified test file. We might consider including a line for every test file, including the correctly classified files.
Prediction results: these are especially important to have in .csv format--it would be a pain to deal with them otherwise. Currently the target file's name is not printed next to the prediction, which makes it a bit harder to interpret the output. Example .csv format, where class1 column is the probability that class1 is present in the file:

Filename,class1,class2
audio_files/20180101,0.9,0.2
audio_files/20180102,0.3,0.5

Filenames for these .csvs could be specified in the .ini.

Branch: https://github.com/jkitzes/opensoundscape/tree/predict_to_csv
How do you feel about simply printing it to terminal?

Prediction part completed by #34


samples for gallery

Add samples to repos in https://github.com/Azure-Samples for:

send with basic client
receive with EPH

Samples in that org are indexed by https://azure.microsoft.com/resources/samples.

@joshgav Is this still applicable?

This would be nice to have since other Node.js samples are listed there.

cc @bterlson for thoughts on the final locations for our samples.


[QUESTION] Expected behavior of CompatibilityAnalysis tool from pip install

Hey folks!
I noticed that on the README there's no installation instructions for installing this package from PyPI even though it's published there. I've gone ahead and tried that workflow out but it seems that the *.ts and *.tsx files don't get downloaded so the CompatbilityAnalysis tool isn't usable with this workflow at the moment. Is the current intended workflow to fork / clone the project and start from there?
Thanks!

Hey Sean,
The *.ts and *.tsx are not intended to be downloaded. The CompatibilityAnalysis tool does work with the pip install from PyPi scenario.
Though if you ran into a specific issue running it. Do let us know on here and we will do our best to address it ASAP.
Thank you for trying out our tool!

Hey Sean,
Ouch that looks like the package wasn't built and published correctly. Apologies for that!
I'll take a look at that and anticipate having a fix in by next week. I'll reply to this thread once it is done to notify you.
Thank you for catching this bug.

Sean,
I was not able to duplicate your error. Here's what I did:

Created a fresh virtual environment.
Activated it and did: pip install backwardcompatibilityml.
I also had to install torchvision==0.6.1, matplotlib and jupyter.
Then I ran the notebook with no issues.

From your error logs, it seems that you are using Python 3.8. We have not yet tested out the package on Python 3.8.
Would you be able to test it out on Python 3.6 ? I wonder if this might be an issue specific to Python 3.8.

@seanytak - is Python 3.8 a hard requirement for your project? If not, could you please test out with Python 3.6?


How to check and enable/disable "Automatic Renewal" for a specific Certificate?

Howdy!
I'm trying to use VenafiPS to generate a CSV with specific data about certificates in a specific Path.
I need basic certificate details (easy), the "Management Type" (easy), and I need to know if "Automatic Renewal" is enabled/disabled (this is where I'm stuck).
We're running TPP 22.2, and I'm using VenafiPS 5.4.1
I've dug through all the product-documentation and tried all sorts of search-fu on the Warriors page, all to no avail.
At this point, I'd be willing to write something to dig-into the SQL database directly if I have to.
For clarification, this is what I'm trying to check/set via some sort of programmatic method;

@HFS-CG,  you can get this value with Get-TppAttribute -Path <policy_path> -Attribute 'Disable Automatic Renewal' -Class 'X509 Certificate'

FYI: For me, I had to use the following scope, and I had to drop the -Class argument (to bypass critical "You are attempting to retrieve policy attributes, but $PATH is not a policy path" error). Note I’m using the same version of PoSH module & Venafi.
'New-VenafiSession -Server $VTTP
-Credential $cred -Clientld 'vert-cli'
-Scope @{ 'configuration' = 'manage' }
Get-TppAttribute -Path $entry.Path
-Attribute 'Disable Automatic Renewal'

It all depends on if you are trying to get the value set at the policy level or at the certificate level.  To retrieve the value set on a policy, use mine.  To retrieve the value set/inherited on a certificate, use yours.  -Class can only be used on a policy and that error is expected if the path isn't a policy.

@gdbarron @Xeleema
Thanks for the help! This is a MUCH simpler solution for the script 👍


How to use custom scrollbar components with react-autowhatever?

I can't find any markups to wrap custom scrollbar components with search suggestion? How do I can customize the scrollbar?

Is there any specific custom scroll bar library that you are trying to integrate with react-autowhatever?

Yeah, we are using react-custom-scroobars

Here is my attempt to integrate with react-custom-scrollbars. I hope you can take it from here.

Thanks you so much @moroshko  :)


Limited login implementation

Similar to pull request #94 , I have added my own implementation for capacitor 6, with updated readme for easier understanding This is quite urgent as limitedLogin is forced upon the current fbsdk
Let me know if the code can be improved or if the readme is unclear

I have created a npm package for anyone who would like to try this implementation out

hello @AlvinTCH , do you think this will solve my issue with iOS

with version 5.0.3 everything works fine

@ciccilleju Do you have an issue talking to your backend to verify the token currently? I think there is a setting that is turned off by default that is related to the advertising tracker. If the advertising tracker setting is turned off, the normal facebook login will result in a invalid token, then you will need limitedLogin. Do note that you will need to change some things in your backend as well to verify the facebook limited login tokens as limitedLogin returns JWT instead of OAuth2 tokens.

Exactly, I think the backend needs some additional adjustment because right
now it says the token isn’t valid
Thank you I will check as soon as possible

Il giorno gio 2 mag 2024 alle 02:23 AlvinT @.***> ha
scritto:

@ciccilleju https://github.com/ciccilleju Do you have an issue talking
to your backend to verify the token currently? I think there is a setting
that is turned off by default that is related to the advertising tracker.
If the advertising tracker setting is turned off, the normal facebook login
will result in a invalid token, then you will need limitedLogin. Do note
that you will need to change some things in your backend as well to verify
the facebook limited login tokens as limitedLogin returns JWT instead of
OAuth2 tokens.
—
Reply to this email directly, view it on GitHub
https://github.com/capacitor-community/facebook-login/pull/150#issuecomment-2089330484,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKFB5GSVMNZJOBBERK3MHYTZAGBPDAVCNFSM6AAAAABHAUEJGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBZGMZTANBYGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@ciccilleju Do you have an issue talking to your backend to verify the token currently? I think there is a setting that is turned on by default that is related to the advertising tracker blocking for iOS. If the advertising tracker setting is turned on, the normal facebook login will result in a invalid token, then you will need the limitedLogin function in this implementation. Do note that you will need to change some things in your backend as well to verify the facebook limited login tokens as limitedLogin returns JWT instead of OAuth2 tokens.

there is any chance to continue using the normal login?
because that doesn't work anymore with version 6.0.0 but works with versione 5.0.3 without changing any backend part or fe part

@ciccilleju Do you have an issue talking to your backend to verify the token currently? I think there is a setting that is turned on by default that is related to the advertising tracker blocking for iOS. If the advertising tracker setting is turned on, the normal facebook login will result in a invalid token, then you will need the limitedLogin function in this implementation. Do note that you will need to change some things in your backend as well to verify the facebook limited login tokens as limitedLogin returns JWT instead of OAuth2 tokens.

there is any chance to continue using the normal login? because that doesn't work anymore with version 6.0.0 but works with versione 5.0.3 without changing any backend part or fe part

unfortunately no. this is kind of forced upon us with fbsdk v17, which is the latest fbsdk that we are using with capacitor v6. unless facebook changes their decision, there isn't much we can do about it

@ciccilleju Do you have an issue talking to your backend to verify the token currently? I think there is a setting that is turned on by default that is related to the advertising tracker blocking for iOS. If the advertising tracker setting is turned on, the normal facebook login will result in a invalid token, then you will need the limitedLogin function in this implementation. Do note that you will need to change some things in your backend as well to verify the facebook limited login tokens as limitedLogin returns JWT instead of OAuth2 tokens.

there is any chance to continue using the normal login? because that doesn't work anymore with version 6.0.0 but works with versione 5.0.3 without changing any backend part or fe part

unfortunately no. this is kind of forced upon us with fbsdk v17, which is the latest fbsdk that we are using with capacitor v6. unless facebook changes their decision, there isn't much we can do about it

all clear, thank you.
If i 've understood it right this could be the FE code:
`  async fbLoginIOS(FACEBOOK_PERMISSIONS: string[]) {
const result = await (<any>(
  FacebookLogin.limitedLogin({ permissions: FACEBOOK_PERMISSIONS, tracking: 'limited' })
));

this.loginFacebook(result.authenticationToken.token, result.authenticationToken.userId, result.authenticationToken.email);

// and here calling my backend where now if its a request from a iOS device, must check a JWT token
}
`

FacebookLogin.limitedLogi

Yes the code looks correct to me. You can refer to this link for more info on checking the JWT
Here is a sample python code that I was using to test this implemenation for your reference
import jwt
from jwt import PyJWKClient

facebook_social_token = "<facebok social token here>"

jwks_client = PyJWKClient(
    'https://limited.facebook.com/.well-known/oauth/openid/jwks/'
)
signing_key = jwks_client.get_signing_key_from_jwt(facebook_social_token)

# try to decode the facebook token
facebook_data = jwt.decode(
    facebook_social_token,
    signing_key.key,
    algorithms=["RS256"],
    iss="https://www.facebook.com",
    options={"verify_aud": False}
)

Hi @AlvinTCH and thank you for your fork!
I've implemented it & i'm now calling the new limitedLogin method.
 await FacebookLogin.limitedLogin({ permissions: [], tracking: 'limited' })
However, i can still see this warning from facebook

Did i miss anything ? Thank you 🙏

the message isn't a problem, it's just a "warning"
you must use the tracking data plugin too

@ciccilleju from what I understand, using the limited login implemented by @AlvinTCH  means you don't have to implement the tracking data plugin.
I'd like to avoid having to ask for this authorization as well, as it may discourage our users from using this connection method.

Yes true but you just change how you authenticate and validate the token after, in case you are using the limited login version the token is now JWT—Francesco De GiorgioTel. (+39) 349 393 21 @.*** giorno 8 lug 2024, alle ore 13:35, Maxime @.***> ha scritto:
@ciccilleju from what I understand, using the limited login implemented by @AlvinTCH  means you don't have to implement the tracking data plugin.
I'd like to avoid having to ask for this authorization as well, as it may discourage our users from using this connection method.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@MaximeSIMET The message can be ignored as long as you have moved to use the limited login if you do not want to use the data tracking plugin. You can test the JWT returned with the sample python code written above to verify if this function works on your end

Good news @riderx
https://github.com/Cap-go/capacitor-social-login/commit/8263b3fe4529f5de6f4f950841be7ffaa37be09c at my request implemented it in a new
plugin https://github.com/Cap-go/capacitor-social-login join the testing!

@AlvinTCH Activate maintenance on this plugin. Thank you for your contribution!

@MaximeSIMET The message can be ignored as long as you have moved to use the limited login and if you do not want to use the data tracking plugin. You can test the JWT returned with the sample python code written above to verify if this function works on your end

@MaximeSIMET Is there any way we can make that warning message disapper?

@MaximeSIMET The message can be ignored as long as you have moved to use the limited login and if you do not want to use the data tracking plugin. You can test the JWT returned with the sample python code written above to verify if this function works on your end

@MaximeSIMET Is there any way we can make that warning message disappear?

Unfortunately, i couldn't find any way at the moment.

@MaximeSIMET Thanks


[Bug] game crashes on startup

hi, i used this plugin since weeks or month but today my game crashes in the main menu or in the queue and i don't know why. i deleted it for now but want to use it again if that can be fixed.

it works again after update


Review AudioDestinationNode implementation

On JS side, if possible it should share the code with the AudioNode.mixin.js

fixed w/ #99


Fundingmanager state machine cleanup

This PR contains a set of commit to clean up the fundingmanager state machine. We now share a common codepath between all funding flows, both as initiator and responder. We also reuse this codepath at restart, greatly reducing the number of cases we handle.

Not ready for review yet.

Abstracted even more common code, and added a fix for a previous non-atomic DB transaction that could cause problems (last commit).
Ready for review.

All pending channels will be republished then waitForFundingWithTimeout->handleFundingConfirmation which will again call MarkAsOpen. I think that should cover it?

Needs a rebase!

Rebased.

htlcswitch/switch.go:470:41: Using a reference for the variable on range scope `targetLink` (scopelint)
			cid := lnwire.NewChanIDFromOutPoint(&targetLink)
			                                     ^
lnd.go:99:1: cyclomatic complexity 60 of func `Main` is high (> 30) (gocyclo)
func Main() error {
^
htlcswitch/circuit_test.go:33:2: `testExtracter` is a global variable (gochecknoglobals)
	testExtracter *htlcswitch.SphinxErrorEncrypter
	^
fundingmanager.go:1981:30: ST1005: error strings should not be capitalized (stylecheck)
				timeoutChan <- fmt.Errorf("Epoch client " +
				                         ^
htlcswitch/iterator.go:9: File is not `goimports`-ed (goimports)
	"github.com/lightningnetwork/lightning-onion"
htlcswitch/circuit_test.go:12: File is not `goimports`-ed (goimports)
	"github.com/lightningnetwork/lightning-onion"

Squashed


Docs.MS Release Updates for Azure.ResourceManager.Communication

Update docs metadata and targeting for release of Azure.ResourceManager.Communication

Docs Build status updates of commit 768c74c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/overview/azure/resourcemanager.communication-readme-pre.md
:warning:Warning
View
Details

api/overview/azure/resourcemanager.communication-readme-pre.md

Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 11, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'communication'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 32, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/dotnet/api/azure.identity?view=azure-dotnet

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


CF_* environment variables supported by wrangler

In the documentation, I've noticed that you can specify CF_ZONE_ID and CF_ACCOUNT_ID to dynamically change zone_id and account_id during deployment based on the environment. This is useful for having dynamic deployment behavior. However, there are also other Wrangler options. Namely CF_NAME, which we use to spin up a custom wrangler.dev subdomain for each branch in our serverless repository. For example, if I push to a branch beta-fixes, I get the beta-fixes.[ORGANIZATION].wrangler.dev subdomain allocated to that function.
I can't find any mention of this in the docs; could somebody please point me to a source or add documentation to save the time of future users?

Related: https://github.com/cloudflare/wrangler/issues/1885

Added a note to the docs. Would love to get feedback on whether you feel this covers it or if there is more we should add! https://github.com/cloudflare/cloudflare-docs/pull/3178


obsidian 1.2.7 Outline misalignment

Is the bug present when using the default Obsidian theme?
Yes
Is the bug present when snippets and plugins are disabled?
Yes
Minimal theme version
6.3.2
Describe the bug
Outline arrows misaligned with text
Debug info
Outline arrows misaligned with text

Not reproduced when snippets and plugins are disabled


Ensure data science debugger works with the shipped version of PTVSD

For #6907

Codecov Report

Merging #8312 into master will decrease coverage by 59.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #8312       +/-   ##
==========================================
- Coverage   59.33%      0%   -59.34%
==========================================
  Files         504      58      -446
  Lines       23096     529    -22567
  Branches     3737      65     -3672
==========================================
- Hits        13704       0    -13704
+ Misses       8500     529     -7971
+ Partials      892       0      -892

Impacted Files
Coverage Δ

src/client/common/installer/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

...lient/datascience/jupyter/jupyterSelfCertsError.ts
0% <0%> (-100%)
:arrow_down:

src/client/debugger/extension/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
0% <0%> (-100%)
:arrow_down:

src/client/interpreter/locators/services/conda.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/utils/regexp.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/utils/icons.ts
0% <0%> (-100%)
:arrow_down:

src/client/debugger/constants.ts
0% <0%> (-100%)
:arrow_down:

src/client/datascience/jupyter/jupyterUtils.ts
0% <0%> (-100%)
:arrow_down:

... and 476 more

Continue to review full report at Codecov.

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

I am assuming this usage is to specifically get the path for import? i.e,
import ptvsd
ptvsd.enable_attach()

If so i think we should remember that the path extension-dir\pythonFiles\lib\python has other libraries. and by adding that path to sys.path means any import from that point on wards will look at that path first. So, parso or isort will be pulled from there. I understand the likely hood that those particular libraries being used by others is rare but something to be mindful of.


added LDLT matrix factorization

there is still work needed for this, such as determining if a matrix is
positive-definite or hermitian. that work may need to go into the types
project. and methods for calling/finding out will need to be added here
so correct errors can be returned

Current coverage is 97.46% (diff: 100%)

Merging #4 into master will increase coverage by 0.03%

@@             master         #4   diff @@
==========================================
  Files             9          9
  Lines          2095       2127    +32
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2041       2073    +32
  Misses           21         21
  Partials         33         33

Powered by Codecov. Last update 3737530...ae8efe4


Transaction Email Templates

Hi @gotschmarcel ,
Nice job on the package. I was asking if there was a way you could include a way to enable the use of templates and passing in the variables to the templates when sending the emails.

Hi @LinusMuema ,
sorry for the late response. I'm currently updating the package to a more modern implementation. I'll include the template and template data API in the next release. I'll let you know as soon as I have something ready and you can give it a spin before I release it.

Hi @gotschmarcel ,
Thanks for this package.
Did you do a version that include the template and template data API ?

Hi everyone ! It seems that the package is no longer maintened.  I don't know.  Here a fork which support dynamic templates : https://github.com/konfer-be/nodemailer-sendinblue-transport. iIt's not unit tested but it seems ok, except for the attachments. I don't have time to look at it now, if anyone can do it it's welcome. Otherwise I'll do it as soon as possible.

V3 support and templates were just merged to dev and are going to be released soon.

Version 2.0.0 is out with support for v3 & templates.


There is unexpected back redirection to the "Welcome page" after a click on "SIGN UP/LOG IN with GOOGLE" button.

There is unexpected back redirection to the "Welcome page" after a click on "SIGN UP/LOG IN with GOOGLE" button.
Preconditions:

the user has an account
the registration page is open

Steps to reproduce:

Click on the "AGREE & SIGN UP WITH GOOGLE" button
Choose an already registered account / create a new account
Observe the result
If successful, repeat steps 1-3 till the redirect to the "Welcome page".

Actual result:
There is unexpected back redirection to the "Welcome page" after a click on "SIGN UP/LOG IN with GOOGLE" button.
Expected result:
There is no unexpected back redirection to the "Welcome page" after a click on "SIGN UP/LOG IN with GOOGLE" button.
Environment:
PROD 1.29.1-15
Devices:
Windows 10 // Google Chrome v91
Attachments:
https://www.screencast.com/t/RT04yn60
https://www.screencast.com/t/LmqAEjnClk
https://www.screencast.com/t/gfTBCX2xpjA
Note:
Maybe when the user already exists connected to this problem. But I'm not sure...
I will update the information when I get more info also with Passwordless registration.
According to the "AGREE & SIGN UP WITH GOOGLE" method, for me it every second attempt is unsuccessful

@vldkh the steps to reproduce are not clear enough.
as I recall you pressed the back button after the signup form is shown right?
also you say to choose and alredy existing account/create a new account, does that mean it happens with both "login" and "sign up"?

@vldkh also the screencast is wrong, that's the facebook issue video...

@sirpy
Steps to reproduce:

Click on the "AGREE & SIGN UP WITH GOOGLE" button >> The "Choose your account" page is open;
Choose the already existing account >> The "You already used this account when you signed up with google" popup is shown
Click on the "BACK (Google Chrome)" button >> The "Choose your account" page is open;
Choose the same account like it was before >> The "WELCOME PAGE IS OPEN".

Attachments:
SIGN UP - https://www.screencast.com/t/evKP7x1rtZv
LOGIN - https://www.screencast.com/t/HQOR3iUmY
Note:
It works the same way with "login" and "sign up". For me, it reproducing only when you use the "Back Chrome button".

I traced back the issue, to the function handleLoginMethod in src/components/auth/torus/AuthTorus.js
Specifically this section

//don't expect response if in redirect mode, this will be called again with response from effect
      if (config.env !== 'test' && !torusSDK.popupMode && torusUserRedirectPromise == null) {
        //just trigger the oauth and return
        log.debug('trigger redirect flow')

        //keep the provider and if user is signin/signup for recall
        AsyncStorage.setItem('recallTorusRedirectStarted', true)
        AsyncStorage.setItem('recallTorusRedirectProvider', provider)
        authScreen && AsyncStorage.setItem('recallTorusRedirectScreen', authScreen)

        await getTorusUser(provider).catch(showSignupError)
        hideDialog() //we hide dialog because on safari pressing back doesnt reload page
        return
      }

The problem is that when the user goes back to the previous page, it gets redirected to the google login or whatever torusSDK.triggerLogin(provider) redirects to, but the flags recallTorusRedirectStarted and recalltorusRedirectProvider don't get set, and also we won't get a value on thetorusSDK.getRedirectResult() promise after choosing an account (I'm yet not sure of the reason of this last part but it must be related to the fact that when we press back we aren't sending
 {          verifier: torusGoogle,          clientId: googleClientId         } and It probably gets lost).
The only solution that occurs to me at the moment would be to change the behavior of the torusSDK.triggerLogin(provider) from redirect to a popup so the user can't go back to the torusSDK.triggerLogin(provider) screen.
But as I read the code It seems apparent to me that the redirect behavior was chosen by a reason that I'm not aware of.
Could I get a confirmation? besides that, I don't think there is much we could do here...
@sirpy @johnsmith-gooddollar

@TomasGonzalez the popup flow is not working on facebook browser for example and also many times the user have a popups blocker
The localstorage flags I use are to know that a user started the login flow, and when he comes back from redirect I should try to get the response from torus and I would also know which login method he used.
To fix it we need to make sure, that if torusSDK.getRedirectResult failed we clear the flags, and when the user presses any of the login buttons again it should behave the same way as if he reloaded the page from scratch

@TomasGonzalez
you need to check the behaviour of handleLoginMethod

when user comes back from redirect it is automatically called through useeffect and getTorusUserRedirect based on the flags, with an extra parameter a promise with torus response
if user clicks on one of the buttons it is called but with promise set to null

So you need to check why it doesnt work as expected

@sirpy the problem is not happening because getRedirectResult is failing, and the reason why handleLoginMethod wont get called is because in the case of this bug, when the user goes back from the signing modal the flags won't get set, and I believe that there is no way to set them before the go back.

I talked with @sirpy this is normal behavior so I'm closing this issue.

torus replied to the chat with.
I investigated this and I don’t think the solution torus gave us is going to work for us… the clearLoginDetails does not seem to be In the SDK as they said, also even if the login sends the response, there is no flag set so the app won't be able to do anything with it…
Can’t find anything related to the clearLoginDetailsStorage in the torus docs also.

https://github.com/torusresearch/torus-direct-web-sdk/search?q=clearLoginDetailsStorage

@TomasGonzalez here's the solution possible:
https://github.com/GoodDollar/GoodDAPP/pull/3496
need to test it

the issue persists.

then close this PR and task

there's nothing we can do about it


Second Instance of Firefox

In the Templating Lab section, under the 'Examine Default NGINX State' subsection, you ask the user to open the Firefox access method, but this step has already been performed in the previous 'Login to NIM' subsection. This request to open Firefox can be removed.

Fixed in #5


UDP max packet length is non configurable and is 1024 bytes

We have increased the default to 2048, but we should still provide a way to configure it

@jitsni Is this already fixed ?

@sbadugu No, it is not fixed yet.

This is a feature request and not a bug, for future reference.

We will not fix this unless asked to by a customer


Smooth punch angle

Overriding DecayPunchAngle is going to require a lot of hacky mess. Probably another player DTVar

Added two player DTVars to manage the previous punch angle and the punch direction (CS:S weapons)


Added lakeFS Enterprise demo and samples

@iddoavn Thanks for making the additions/changes. Looks good.


extend basic_cli example with more cmd line arguments

As discussed some time ago in https://github.com/ublox-rs/ublox/pull/61, this PR adds more CLI args via clap to the basic example.
While the example of using the uBlox library itself is indeed basic, the clap argument handling has become a bit more complex.
@gwbres let me know what you think.

look's great ! I think its awesome especially for people connecting to a ublox for the first time.
The only thing, I think's ublox-cli is a much more "intuitive" name than the proposed one right now

OK. Will change it to ublox-cli, I agree.

@gwbres , change the name and also enabled NavPVT on all ports.  Thank you!


Unable to call cropping activity from my activity.

i followed all the instruction as you mention.
added dependancy in gradle file
compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1'
Add CropImageActivity into your AndroidManifest.xml
<activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity"<EMAIL_ADDRESS>Now Calling method
private void startCropImageActivity(Uri imageUri) {
        CropImage.activity(imageUri)
                .setGuidelines(CropImageView.Guidelines.ON)
                .setMultiTouchEnabled(true)
                .start(this);
    }

but no activity is starting. even i am not getting any error message.

look in logcat

Same problem for me but logcat doesn't write anything related to it. App just crashes:/

Android app doesn't crash without a log...

Trust me @ArthurHub i had a same feeling too. I do not get any logs related to the crash, no red lines simply put.

i have resolved my issue
beginCrop(Uri.fromFile(mFileTemp));
private void beginCrop(Uri source) {
Uri destination = Uri.fromFile(new File(getCacheDir(), "cropped"));
Crop.of(source, destination).asSquare().start(this);
}
case Crop.REQUEST_CROP:
String path = Crop.getOutput(data).getPath();
Intent shareActivity = new Intent(getBaseContext(),NextActivity.class);
shareActivity.putExtra("ImageUri", path);
startActivity(shareActivity);
            break;

Nothing happens when I call the activity form another activity / fragment. There is no warning or error in logcat.

Make sure you got this in your manifest.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>


[BUG] - "Invisible Trails Issue: Drawing Rectangles and Lines in Room-page"

[x]  I agree to follow this project's Contributing Guidelines.

Severity:

[ ] Critical
[x] Major
[ ] Minor
[ ] Trivial

Issue Description:
The trails are not visible while drawing the rectangles or lines in the room page. During the mouseMove event, the trails are not visible, but the entire figure shows up after the mouseUp event.
Steps to Reproduce:

Go to the room page.
Select the drawing tool from the toolbar.
Attempt to draw rectangles or lines.

Expected Behavior:
Trails should be visible while drawing during the mouseMove event.
Actual Behavior:
Trails are not visible during the mouseMove event, but the entire figure shows up after the mouseUp event.
Environment (please complete the following information):

OS:  Windows 10
Browser: Chrome, Firefox

I'm still trying to figure this out.
Hear me out, lets consider the line.
The mouseMove event will just update the present line. I don't think there is a need to have the mouseUp event because the mouseMove event will update it till the last one, right?
So, just having a proper functioning mouseMove event is enough ?
Is this the right approach?

I'm still trying to figure this out. Hear me out, lets consider the line. The mouseMove event will just update the present line. I don't think there is a need to have the mouseUp event because the mouseMove event will update it till the last one, right? So, just having a proper functioning mouseMove event is enough ? Is this the right approach?

you are thinking in the right direction. try it out and let me know

Hey @sd012gfhkhhvh  assign me this issue under jwoc

Hey @sd012gfhkhhvh assign me this issue under jwoc

Ok @Hrx4  assigning you the issue, kindly report to the slateai chanel in discord with a message "I am working on the issue #3". Follow all the guidelines and keep me updated

Hey @sd012gfhkhhvh Sir I Would Like to Work on this issue Under JWOC 2024.


Add reload timestamps to metrics

Resolves #95. Adds pipeline reload timestamp metrics:
Note, this includes changes from PR #94 and #98, as there is dependency on the new PipelineReloadResponse struct.

I'm removing --version-sort, as i dont understand its purpose in these metrics. Feel free to open another issue with that if this is required for some reason

ah, just realised it is for _number ones, reverting it

ah, just realised it is for _number ones, reverting it

Correct, and that should have been part of #90 as it fixes the sort order of logstash_stats_process_cpu_load_average_{1,5,15}m to keep 15m last.


Generated version it's not correct

I have an app that it's on version 0.1.112 all was fine until i updated to latest version, the instaler generated App-0.1.112-full.nupkg (older version) for newest version is generating App-0.1112-full.nupkg and this is because of this line
metadata.version = metadata.version.replace(/.(\d+)$/, '$1');

/cc @maxbrunsfeld

Hey, sorry about that @paul321. I think this is fixed in v1.0.4. Thanks for the report.


Changing language of newer vs. higher for SQL Server versions

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Pester test is included
[X] Help & other text grammar, spelling & style cleanup

Purpose

To clean up grammar, style, spelling and other issues related to comment-based help and other text in functions.
After discussing with @wsmelton on slack, decided to stay with "SQL Server version XXXX or higher" to be closer to consistency with Microsoft documents
Approach

Commands to test

Screenshots

Learning

Appveyor failures look like a system or authentication issue, none of the functions I modified are referenced in the errors.

No problem, @alevyinroc! We're working through to getting the tests more robust - your changes had no negative impact 💯


Miscellaneous spelling/grammar/formatting fixes

I just finished reading through the ISA manual and found several minor spelling/grammar/formatting issues, which I've addressed in these commits.

Thanks!


The calendar can't be loaded from Home Assistant component

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Checked the Quick Start documentation page and confirmed configuration is correct: https://marksie1988.github.io/atomic-calendar-revive/quickstart.html
Checked the FAQs on documentation page for common solutions: https://marksie1988.github.io/atomic-calendar-revive/faq.html
Checked that your issue isn't already filed: https://github.com/marksie1988/atomic-calendar-revive/issues?q=is%3Aissue

Describe the bug
"The calendar can't be loaded from Home Assistant component"
installed from hacs
HassOS 4.15, Supervisor Version 2020.11.0
enableModeChange: true
entities:
entity: calendar.xxxxxxxxxxxxx
entity: calendar.xxxxxxxxxxxxxxxx
entity: calendar.xxxxxxxxxxxxxxxxxx
showMonth: true
showNoEventsForToday: true
type: ‘custom:atomic-calendar-revive’
firstDayOfWeek: 1
maxDaysToShow: 7
calShowDescription: true

Steps to Reproduce

Expected behavior

Actual behavior:

Screenshots

Card Configuration

Versions

HomeAssistant Version:
Plugin Version:

Additional Information

Problem solved:
"had to re-authorise with google.
Delete config/.google.token, then restart HA, it should set off a notification in HA that will take you to the google authentication page."


Simple C example of doing an HTTP POST

Simple C example of doing an HTTP POST

Follow me on github


How to compile SHOGUN with MATLAB interface?

I have download the source code of version 0.7.3 in the official website. And the configure script is as follows:
    ./configure --prefix=`pwd`/../ --interfaces=libshogun,libshogunui,matlab,python,cmdline

The compiling procedure is success. But, there is no sg.mexa64 file. Does anyone give me some advice,please? Thanks.

Hi, I have found this now and wanted to use it. Is this still available on shogun?! I don't see the link!

Hey @luckybuilding, what link are you referring to?
Anyway, if you would like to use Shogun in Matlab, you definitely can using Shogun 5.0.0 or earlier. I just tried it myself with Shogun 4.0.0 and Matlab R2016b.

Hey @iglesias ,
Thanks for your reply. I was referring to the top link (https://github.com/shogun-toolbox/shogun/blob/develop/doc/md/INSTALL.md#matlab)
I think the support for MATLAB has been removed on Shogun 5.0.0.
I don't see anything about Matlab on the latest versions!
Can you provide a instruction for compile and use of it on MATLAB?

You don't see anything about Matlab on the latest versions because as mentioned above you have to use Shogun 4.0.0 or earlier to use Shogun in Matlab.
In a nutshell, the main instruction for compilation is to configure the build with the cmake option MatlabStatic set to ON. Now depending on the version of Matlab you are using, such as if you are using a version more modern than Shogun 4.0.0, you may need to do a couple of other updates in the build files.
If you need help with this, I could help you interactively via irc in our channel.

Thanks. Isn't it going to be supported in next versions?
Because, I'm starting a line of coding for a project that would need to be
updated later and I don't wanna get stuck in an late unsupported version.
On Nov 21, 2017 11:49 AM, "Fernando J. Iglesias García" <
<EMAIL_ADDRESS>wrote:
You don't see anything about Matlab on the latest versions because as
mentioned above you have to use Shogun 4.0.0 or earlier to use Shogun in
Matlab.
In a nutshell, the main instruction for compilation is to configure the
build with the cmake option MatlabStatic set to ON. Now depending on the
version of Matlab you are using, such as if you are using a version more
modern than Shogun 4.0.0, you may need to do a couple of other updates in
the build files.
If you need help with this, I could help you interactively via irc in our
channel.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shogun-toolbox/shogun/issues/2017#issuecomment-345949956,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAt0yq8ge10zOpwts0BoQCz6FpyVRax1ks5s4oeIgaJpZM4BqKCP
.

This will depend mainly on whether Matlab becomes supported by Swig.

SWIG and matlab do work together, there is a number of project who are
doing it. Check the issues if you want to help us re-enabling this feature.
Mainly requires someone to dive into it. Interested?
2017-11-21 12:41 GMT+00:00 Fernando J. Iglesias García <
<EMAIL_ADDRESS>
This will depend mainly on whether Matlab becomes supported by Swig.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/shogun-toolbox/shogun/issues/2017#issuecomment-346014947,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqqv0fj75lcXt2H0jY54qr2aoxQHzSrks5s4sTugaJpZM4BqKCP
.


Adding a new project causes a crash in the project details as repo isn't cloned yet

Since we didn't clone the repo at this point, the project details will crash as the Fastfile can't be found

Submitted https://github.com/fastlane/ci/pull/469


Plant diease Symptoms and Treatment not loading

Actually an error while clicking disease info is there ....it says file "data.json" not found
i also checked in assests there is no such file
if you have that data.json file then please provide

Data.json file - it stored the list of Diseases with set of symptoms and management of avoid such disease, U can create or own and use in this project
Eg :
{
"plant_disease": [
{
"name": "apple scab",
"symptoms": "Disease attacks both leaves and fruit.\n This fungal disease forms pale yellow or olive-green spots on the upper surface of leaves.\n Dark, velvety spots may appear on the lower surface.\n Severely infected leaves become twisted and puckered and may drop early in the summer.",
"management": "Prevent the initiation of primary infection cycles by reducing the germination of ascospores.\n Fungicide applications may also be made later in the season to prevent infection of old leaves, which can help reduce the amount of primary inoculum for the following season."
},
{.............},
{.............},
{.............},
]
}

[like]  Abhinav reacted to your message:

From: Sahil Thakur @.>
Sent: Monday, October 23, 2023 9:17:08 PM
To: DevilStudio27/Plant-Disease-Detection-and-Solution @.>
Cc: Abhinav @.>; Author @.>
Subject: Re: [DevilStudio27/Plant-Disease-Detection-and-Solution] Plant diease Symptoms and Treatment not loading (Issue #1)
Data.json file - it stored the list of Diseases with set of symptoms and management of avoid such disease, U can create or own and use in this project
Eg :
{
"plant_disease": [
{
"name": "apple scab",
"symptoms": "Disease attacks both leaves and fruit.\n This fungal disease forms pale yellow or olive-green spots on the upper surface of leaves.\n Dark, velvety spots may appear on the lower surface.\n Severely infected leaves become twisted and puckered and may drop early in the summer.",
"management": "Prevent the initiation of primary infection cycles by reducing the germination of ascospores.\n Fungicide applications may also be made later in the season to prevent infection of old leaves, which can help reduce the amount of primary inoculum for the following season."
},
{.............},
{.............},
{.............},
]
}
—
Reply to this email directly, view it on GitHubhttps://github.com/DevilStudio27/Plant-Disease-Detection-and-Solution/issues/1#issuecomment-1776035492, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWVZ5DCSJYKCDR74E2LEZRTYA3NFJAVCNFSM6AAAAAA46ZDLRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWGAZTKNBZGI.
You are receiving this because you authored the thread.Message ID: @.***>


Fix class expression indentation

Fixes #4580
Current:
class Foo extends (
    class

    {
    bar() { }
    }
)

Fix:
class Foo extends (
    class {
        bar() { }
    }
)

:+1: LGTM

Thanks @SaschaNaz!

We should merge this into release-1.6