Improve Maven instrumentation and enable/disable injection based on node labels.

We decided to merge the PR and create a follow-up task to check if artifacts are already present.


demo code return unable to find valid certification path to requested target

I strictly followed the example code in my maven project, with the version of client of 0.10.0, but it gives me the error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
I tried download the certificate of https://openai.com into my JVM, but it doesn't work either.
It seems that this error is at com.theokanning.openai.OpenAiService.createCompletion(OpenAiService.java:120).

same

Did this start happening on 0.10.0 or does this happen with previous versions?

It happens on the maven project with 0.10.0 and on 0.9.0 as well.
I tried again on few minutes ago, and this error repeats

Did this start happening on 0.10.0 or does this happen with previous versions?

It happens on the maven project with 0.10.0 and on 0.9.0 as well.
I tried again on few minutes ago, and this error repeats

gradle --version

Thanks.
Since I used maven to build my project, it shows java version on 1.8.0_60 and  maven version on 3.5.0.
I tried the example code with the Duration param, it returns the exactly same error as above.
Btw, which version / maven is recommend for this API, I can upgrade/reinstall ASAP

I think you'll find if you upgrade your JDK to 1.8.0_202 (or higher) it'll fix your cert problem.
I'd strongly recommend using a JDK 11 through JDK 19 though as they include a massive amount of security fixes, performance improvements, and new implementations for networking, threading, streams, and other core features.

problem solved ! thank you !

problem solved. cool.


Fix markdown list in dtypes documentation

The markdown processor can't deal with empty lines in between list items, which leads to a broken list here:
https://www.tensorflow.org/versions/master/api_docs/python/framework.html#DType
Just removing the empty lines should be fine I think.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please.

Thanks for the cleanup!


Exec not working

Hello,
I have a problem with not being able to exec into any pod, the black rectangle where I assume shell should appear displays nothing. There seems to be an issue with websocket protocol. The ServiceAccount I'm using does have pod/exec permission. I'm using nginx ingress controller and loadbalancer is correctly set up to handle websocket. Any advice much appreciated.

Hi @mateuszkozakiewicz,
I used kubectl exec -ti skooner-pod-uniq-name -- sh end everything works fine.

The issue was to exec via webui of skooner not into the skooner pod itself via kubectl.

Oh.. I see :)


Don't swallow exceptions for flow control.  fixes #1656

See discussion on #1656

LGTM.
I wonder if there are any other places where we use an exception approach that could switch to a version check approach?

Can we get this released as 3.5.1?  That would allow me to use it with rspec 3.5.0

I believe @myronmarston is planning a release of all the gems shortly, would you mind waiting a day or so? We like to bundle together a few fixes at a time :)

I released rspec-core 3.5.1 last night, and didn't have any more releases planned. No need to wait for this.

My mistake, I assumed we were bumping them all, I can handle the release if you'd like?

There was nothing new to release in the others, and I usually release patch versions freely when needed.

I can handle the release if you'd like?

Go for it!

Thank you!


Maturin error

Just downloaded and tried to build something with instructions:
$ pip install maturin
$ maturin develop --release

Result:
💥 maturin failed
  Caused by: Failed to run rustc to get the host target
  Caused by: No such file or directory (os error 2)

It looks like rustc is not in your $PATH -- do you have Rust installed?

Try this: https://www.rust-lang.org/tools/install


{"errors":[{"message":"Must provide document"}]}

i clone this repo,when i run it,it report a error.
{"errors":[{"message":"Must provide document"}]}

Can you specify exactly how you run it?

npm run server

Not sure why this happened. Can you make sure you npm install ran correctly? I just did a test myself and it seemed to work fine.
Also - see if you can provide additional information.


💡 [Feature]: Improve re-login experience

🎯 Aim of the feature
I noticed that SPFx toolkit has a glitch that even though the status command returns that I am logged in, the first command to get the app catalogs from my tenant requires me to sign in which is only visible in the output window. This leads to a state were I am not logged in, I don't see anything in the account and app catalog view, but I also don't see the sign-in button. We should fix it up.
From what i checked the token expired and I need to resign to refresh it. This is fine but:

first is the above described problem, I don't see the sign it or out button, I need to 'manually' sign out using the command palette in VS Code and then I am able to relogin
when signing out we clear out the client Id and tenant Id. Usually I don't remember those so I just create an another entra app reg. I must have like 40 SPFx Toolkit apps by now on my tenant 😅. What we could do is 'cache' the client and tenant Id so that when next time we relogin and we pick to sign in using the existing client Id and tenant Id we have those fields prefilled with the previous values (when we previously sign in). VS Code has a mechanism for that to preserve state between multiple sessions of VS Code and we could use that.

📷 Images (if possible) with expected result
No response
🤔 Additional remarks or comments
No response
Prototype

in global handle of any CLI command execution we need to add logic that when a login message will get present we should present a notify to the user to relogin to your tenant and sign out user totally and show like initial state
we should persist the ClientID and TenantID in VS Code global state and overwrite it every time we login.
https://stackoverflow.com/questions/51821924/how-to-persist-information-for-a-vscode-extension
based on what we have in the global state we should prefill the clientId and tenantId in the login notifys

moved the sign in problem to a separate bug issue as follow up


Table of operators confusing

The row of the operator AND is confusingly using the capital "AND" in the example column.
Trying to call the api with this example will lead to a bad request error. The example should consist of a lowercase "and":
string_key1 eq 'CaptureTheFlag' and number_key2 lt 10

and | AND | string_key1 eq 'CaptureTheFlag' AND number_key2 lt 10
-- | -- | --

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

ID: 2cdedf2b-4ff8-49b9-3185-32bbdb061119
Version Independent ID: 2cdedf2b-4ff8-49b9-3185-32bbdb061119
Content: Find lobbies - PlayFab
Content Source: playfab-docs/features/multiplayer/lobby/find-lobbies.md
Service: playfab
GitHub Login: @joannaleecy
Microsoft Alias: joanlee

Thanks for the feedback here on pointing out this mistake. I'm submitting a change for this, as well as quite a few more updates to this page to make things more clear and fix other inconsistencies that you might not have noticed  as well. It should be updated in the next few days.

This was fixed a few months ago, neglected to close it.


Change google loader name to more verbose one

Optional, but I think it is better to specify a value source a bit more accurately.
Google has a lot of services already and I belive it might launch something with the similar functionality in the future.
The change is breaking, however considering 0.0.x version it should be expected.

I decided to remove the GoogleLoad class and keep only the Load class. If we are going to extend the functionality of the library, we won't implement something similar for every vendor, will we? I have accepted the rest of the edits, but I will apply it in another pull-request


Implement POC of database read replicas

I want to merge this change because implementing POC of database read replicas.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-4526 Implement database read replicas


rss icon missing

Occasionally I encounter this situation, and I don’t know exactly how it is triggered.
The third row,The icon cannot be obtained even after multiple refreshes.

What is the URL of the feed?

What is the URL of the feed?
http://feeds2.feedburner.com/cnbeta-full


Add cobra for building out the cli

cobra is a popular library for building golang cli. kubectl, qbec and many other
tools in the community use cobra. This PR bootstraps the project so that new commands and flags
can be built with ease.
Closes #7

I like the Idea of cobra for cli.

Thank you @harsimranmaan !


openflow support

How the best add openflow support to gopacket?

I can create decoder for openflow that cat switch based on header version to
next decoder specific to header openflow version. Does it right?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 26 Jan 2015 at 11:46

Hi, openflow would be interesting for us. What do you think, how much work it is to finish the parser? I'm thinking of letting a student work on a project that makes use of this library and analyzes OpenFlow traffic.

Ping @vtolstov

I currently don't have the cycles to work on this, but I'd be happy to review code to support it.

I'm add basic pr to allow commenting on it.

pr #93 is the current startig point for this issue

If anyone wants to give it a try, #93 could be used as base.

FYI, I started an implementation based on loxigen : https://github.com/lebauce/goloxi
Usage of this library to register a gopacket layer type can be found here : https://github.com/lebauce/skydive/blob/openflow-gopacket/flow/layers/openflow.go


301/302 redirect page

Says we currently have an API redirects user to another page:
Request --> API --> PageA

restc send a request  from frontend with fetch instead of jumping page which breaks the process, currently I have to disable restc on prod env.

thanks in advance

Since this is a restriction of fetch and the Location of 30x is not exposed to the browser, I have no idea how to deal with it.
I am closing this issue. If there is solutions in the future, I will open this again.

遇到了同样的问题


:bug: Split the reports landscape unknown/unassessed chart

Resolves: https://issues.redhat.com/browse/MTA-2678
On the reports page, split the combine Unknown / Unassessed landscape chart into separate charts.
Unknown and unassessed are two different risk states.

Screenshot:


Collection view isn't scrolling to the last item if the item count is not divisible by 3

Hi,
Your library is great! Just found out that collection view isn't scrolling to the last item if the item count is not divisible by 3..it happens in your example code too..
Could you please fix it?
Thanks

Sorry it turn out that this has been fixed in the previous issue, I didn't see it before :)

This still happening to me. If my count is not divisible by 3, the last elements cannot be scrolled. Is there a way to avoid it?

Look a the previous issue. The fix is not merged in the repo you need to manually add this to your project.


How to set timezone for transaction?

I want to apply this example, but seems like its not possible to implement with bookshelf. Anybody know how to do some configuration in transaction before actual query?

@vishchiv Can you please open this issue in knex? Thanks 👋

@kirrg001 ok, here it is #2022. This way I will close this ticket.


improve install section

This is a different way of installing... Why do you think it's better?

Usually I would prefer to copy those command from README to install from pypi, rather than using the github version. Most projects on github follows this approach, like https://github.com/zeromq/pyzmq#building-and-installation .

Okay, I guess it's fine. I don't even remember why I did it this way initially.

Usually projects under early stage development recommend this way.


Add source-code editor and simple integration

HOC returns only props due need to support different layouts and it's an application responsibility, not a lib.

@carlosms seems like feedback has been addressed and it's time for another pass.
@smacker seems like a rebase is in order here

rebased. Commits are squashed to simplify rebase.
Demo moved to styleguide:

Added md file for Editor component.


Fix: Assimp StackAllocator Upstream Code Fix

My original StackAllocator fix has been accepted and merged upstream: https://github.com/assimp/assimp/pull/5650
I've updated CMake to work with it. I may still need to enforce qbs to use c++17 for the builds to pass. The latest master uses it for its CMake (see here).

Please do re-base on latest master

Please do re-base on latest master

! [remote rejected]   assimp-upgrade -> assimp-upgrade (refusing to allow a Personal Access Token to create or update workflow .github/workflows/main.yml without workflow scope)
error: failed to push some refs to 'https://github.com/bedwardly-down/thunder-bsd.git'
It didn't like the workflow part.

I forgot to give myself the workflow scope in my token. :sweat:

Looks like this is a known issue: https://developercommunity.visualstudio.com/t/error-c2872-byte-ambiguous-symbol/93889 .

According to this, the qt version built with may be too old for MSVC 2022.

no the issue in using namespace std; Im removing it in global scope

ok now please rebase on latest master


More careful image inspection on upload

There are a few images on the site that tripped up the backend service (I discovered these / because they were part of ~20 images that didn't make it through the vision backend...)
They seem to come from the various BREAM source, notably: https://coralnet.ucsd.edu/source/683/
Here are two examples:
https://coralnet.ucsd.edu/image/545661/view/
https://coralnet.ucsd.edu/image/555867/view/
Looking closer; loading them in PIL works, but on converting them to numpy gives an empty array, so the backend crashed. I did find an (absurd) workaround on spacer, like so:
im_pil = Image.open('imagefile.jpg')
im = np.array(im_pil)
im = np.array(im_pil)
In other words, calling np.array 2 times actually does the trick (!).
Clearly, this also tripps up the thumbnail creation code on the site, b/c the thumbnails are all strange.
I think the error is similar to what is described here:
https://github.com/scikit-image/scikit-image/issues/2154
but either way, the best case scenario would be to catch these problem on upload, and ask the user to provide a better copy of the image.

Closing this. I'm pretty sure it was resolved somewhere along the way.


Could not find clear instructions for replacing the SAPOfflineTokenService bean in spring-xsuaa

Hi Colleagues,
Currently, we are using SAPOfflineTokenService bean in our security configuration file. Since it's not supported any more in new spring-xsuaa, please provide clear instructions on the impact and workable solution for the same in the new spring-xsuaa.

Hi,
i guess, you're implementing a SpringBoot application - i guess - and you want to migrate from SAP java container security library.
This should document all required steps:
https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/Migration_JavaContainerSecurityProjects.md
Best regards,
Nena

please let me know, or reopen this issue, in case this does not solve / answer your question.


Error applying vSphere with Tanzu License

Code of Conduct

[X] I have read and agree to the Code of Conduct.
[X] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
[X] Do not leave "+1" or other comments that do not add relevant information or questions.
[X] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation
4.5.2,5.0
Module Version
<IP_ADDRESS>2
PowerShell Version
7.3.6
PowerCLI Version
<IP_ADDRESS>24340
PowerVCF Version
<IP_ADDRESS>4
Guest Operating System
windows server 2019
Environment Details
No response
Description
| 31, 61, 9 | VI Workload Domain | vCenter with Tanzu: License the Supervisor Cluster
Running the above option shows below error though console shows SUCCESSFUL message.
Observed on VCF 452 and VCF 5.0 env.
Error or Debug Output
\[ConfigUsingPlatformTools.py:111\] - \[2023-07-20 07:57:04\] INFO - 9 7/20 12:02:22 am \[ConfigUsingPlatformTools.py:111\] - 7/20 12:02:22 am \[ConfigUsingPlatformTools.py:111\] - \[2023-07-20 07:57:14\] INFO - 7/20 12:02:22 am \[ConfigUsingPlatformTools.py:111\] - Version 5.0.0-008(dev) | Topology: SingleRegion-SingleAZ | Networking: Public | Developer Ready Tasks > vCenter with Tanzu: License the Supervisor Cluster 7/20 12:02:22 am \[ConfigUsingPlatformTools.py:111\] - 7/20 12:02:23 am \[ConfigUsingPlatformTools.py:111\] - \[07-20-2023_07:57:04\] \[...\] \[NOTE\] Starting the Process of Licensing the Supervisor Cluster 7/20 12:02:23 am \[ConfigUsingPlatformTools.py:111\] - \[07-20-2023_07:57:04\] \[...\] \[INFO\] Attempting to License the Supervisor Cluster (sfo-w01-cl01) with License (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) 7/20 12:02:23 am \[ConfigUsingPlatformTools.py:111\] - 7/20 12:02:24 am \[ConfigUsingPlatformTools.py:111\] - \[2023-07-20 07:58:34\] INFO - Script File: C:\\Program Files\\WindowsPowerShell\\Modules\\PowerVCF\\<IP_ADDRESS>4\\PowerVCF.psm1 Line: 2206 7/20 12:02:24 am \[ConfigUsingPlatformTools.py:111\] - Relevant Command: $response = Invoke-RestMethod -Method GET -URI $uri -headers $headers 7/20 12:02:24 am \[VisionTestCase.py:74\] - Relevant Command: $response = Invoke-RestMethod -Method GET -URI $uri -headers $headers

7/20 12:02:25 am \[ConfigUsingPlatformTools.py:111\] - Target Uri: https://sfo-vcf01.sfo.rainpole.io/v1/license-keys/XXXXX-XXXXX-XXXXX-XXXXX-XXXXX 7/20 12:02:25 am \[ConfigUsingPlatformTools.py:111\] - Exception Message: The remote server returned an error: (404) Not Found. 7/20 12:02:25 am \[VisionTestCase.py:74\] - Exception Message: The remote server returned an error: (404) Not Found.

7/20 12:02:25 am \[ConfigUsingPlatformTools.py:111\] - Error Message: 7/20 12:02:26 am \[VisionTestCase.py:74\] - Error Message:

7/20 12:02:26 am \[ConfigUsingPlatformTools.py:111\] - 7/20 12:02:26 am \[ConfigUsingPlatformTools.py:111\] - \[2023-07-20 07:59:14\] INFO - \[07-20-2023_07:59:08\] \[...\] \[INFO\] Connected to vSphere MOB Server (sfo-w01-vc01.sfo.rainpole.io) Adding license key (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) in SDDC manager (sfo-vcf01.sfo.rainpole.io): SUCCESSFUL Assign license key (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) to Supervisior cluster (sfo-w01-cl01): SUCCESSFUL 7/20 12:02:27 am \[ConfigUsingPlatformTools.py:111\] - \[07-20-2023_07:59:08\] \[...\] \[NOTE\] Finished the Process of Licensing the Supervisor Cluster 7/20 12:02:27 am \[ConfigUsingPlatformTools.py:111\] - 7/20 12:02:27 am \[ConfigUsingPlatformTools.py:111\] - Press any key to continue/return to menu...\_\_[ConfigUsingPlatformTools.py:111] - [2023-07-20 07:57:04] INFO - 9
7/20 12:02:22 am	[ConfigUsingPlatformTools.py:111] -
7/20 12:02:22 am	[ConfigUsingPlatformTools.py:111] - [2023-07-20 07:57:14] INFO -
7/20 12:02:22 am	[ConfigUsingPlatformTools.py:111] - Version 5.0.0-008(dev) | Topology: SingleRegion-SingleAZ | Networking: Public | Developer Ready Tasks > vCenter with Tanzu: License the Supervisor Cluster
7/20 12:02:22 am	[ConfigUsingPlatformTools.py:111] -
7/20 12:02:23 am	[ConfigUsingPlatformTools.py:111] - [07-20-2023_07:57:04] [...] [NOTE] Starting the Process of Licensing the Supervisor Cluster
7/20 12:02:23 am	[ConfigUsingPlatformTools.py:111] - [07-20-2023_07:57:04] [...] [INFO] Attempting to License the Supervisor Cluster (sfo-w01-cl01) with License (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX)
7/20 12:02:23 am	[ConfigUsingPlatformTools.py:111] -
7/20 12:02:24 am	[ConfigUsingPlatformTools.py:111] - [2023-07-20 07:58:34] INFO - Script File: C:\Program Files\WindowsPowerShell\Modules\PowerVCF\<IP_ADDRESS>4\PowerVCF.psm1 Line: 2206
7/20 12:02:24 am	[ConfigUsingPlatformTools.py:111] - Relevant Command: $response = Invoke-RestMethod -Method GET -URI $uri -headers $headers
7/20 12:02:24 am	[VisionTestCase.py:74] - Relevant Command: $response = Invoke-RestMethod -Method GET -URI $uri -headers $headers
7/20 12:02:25 am	[ConfigUsingPlatformTools.py:111] - Target Uri: https://sfo-vcf01.sfo.rainpole.io/v1/license-keys/XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
7/20 12:02:25 am	[ConfigUsingPlatformTools.py:111] - Exception Message: The remote server returned an error: (404) Not Found.
7/20 12:02:25 am	[VisionTestCase.py:74] - Exception Message: The remote server returned an error: (404) Not Found.
7/20 12:02:25 am	[ConfigUsingPlatformTools.py:111] - Error Message:
7/20 12:02:26 am	[VisionTestCase.py:74] - Error Message:
7/20 12:02:26 am	[ConfigUsingPlatformTools.py:111] -
7/20 12:02:26 am	[ConfigUsingPlatformTools.py:111] - [2023-07-20 07:59:14] INFO - [07-20-2023_07:59:08] [...] [INFO] Connected to vSphere MOB Server (sfo-w01-vc01.sfo.rainpole.io) Adding license key (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) in SDDC manager (sfo-vcf01.sfo.rainpole.io): SUCCESSFUL Assign license key (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) to Supervisior cluster (sfo-w01-cl01): SUCCESSFUL
7/20 12:02:27 am	[ConfigUsingPlatformTools.py:111] - [07-20-2023_07:59:08] [...] [NOTE] Finished the Process of Licensing the Supervisor Cluster
7/20 12:02:27 am	[ConfigUsingPlatformTools.py:111] -
7/20 12:02:27 am	[ConfigUsingPlatformTools.py:111] - Press any key to continue/return to menu...__

Expected Behavior
There should not be any error message
Actual Behavior
Steps to Reproduce
| 31, 61, 9 | VI Workload Domain | vCenter with Tanzu: License the Supervisor Cluster
Running the above option shows below error though console shows SUCCESSFUL message.
Observed on VCF 452 and VCF 5.0 env.
Log Fragments and Files
No response
Screenshots
No response
References
No response

Based on the exception message there was an HTTP 404 Status Code.
It appears that the license was not present in SDDC Manager.
Redacted
Target Uri: https://sfo-vcf01.sfo.rainpole.io/v1/license-keys/XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Exception Message: The remote server returned an error: (404) Not Found.
Exception Message: The remote server returned an error: (404) Not Found.

@Ashwini-Ravi Can you retest and verify if the issue was related to the license not being present, hence the 404?

I am able to apply the license now.

I am able to apply the license now.

Is this issue no longer appearing?

I am able to apply the license now.
@Ashwini-Ravi - Is this issue no longer appearing?

I am able to apply the license now.
@Ashwini-Ravi - Is this issue no longer appearing?

It was an error applying an invalid license. I'm adding logic to catch it now.

@tenthirtyam Please close won't fix


Improve README documentation of DC/OS resources - WSO2 API Manager - pattern-1

Description:
Currently, the getting started guide for WSO2 API Manager pattern 1 provides steps at an abstract level.
When following some of the steps, often a user is required to deviate from the guide and find the relevant, concrete steps in order to complete the original step in the guide.
Thus, the README.md documentation requires improvements. A reference guide can be found from here.
Suggested Labels:
Type/Improvement
Suggested Assignees:
chirangaalwis
Affected Product Version:
<IP_ADDRESS>

Closing this as we would be archiving this repo due to no recent usage.


New version: MLJBase v0.5.1

Registering package: MLJBase
Repository: https://github.com/alan-turing-institute/MLJBase.jl
Created by: @ablaom
Version: v0.5.1
Commit: 443a58ea6ea6c94e419e985f46d6331ef19570cc
Git reference: master
Release notes:

(Enhancement) Add isapprox method for UnivariateFinite
distributions.

(Code organization) Add metadata_* and @mlj_model from MLJModels (PR
https://github.com/alan-turing-institute/MLJBase.jl/pull/47)

PLEASE CLOSE WITHOUT MERGE  in favour of the v0.6.0 PR to follow.
My apologies.

Thanks. Here's 0.6.0: https://github.com/JuliaRegistries/General/pull/3802


Create Added Height of Binary Tree in c++

This is not the repo for that , please read the documentation


Robot Crash

Forge v<IP_ADDRESS>07
Roboticraft v0.10.7
Rabbit GUI v<IP_ADDRESS>
I got this crash after placing a robot in Creative and then right-clicking it with the remote.
Crash Report

same


Inconsistency between a parameter name for AsyncFFSynchronizer and FFSynchronizer

The output domain parameter is o_domain for the synchronous one and domain for the asynchronous one

Since we haven't had a release since this was added, can I just fix this, or do I have to handle backwards-compat?

We can just fix this.

(But do we want to have o_domain everywhere rather than domain everywhere? I'm not sure...)

Agreed about the uncertainty but we can talk about that at some eventual meeting.

We decided to use o_domain for AsyncFFSynchronizer on the meeting.


Swipe is working without setting in dismiss options

allowTapToDismiss - it should be allPanToDismiss

great catch-- if you can, please submit a PR to address!


Updated instructions for runnning iOS simulator.

Added instructions to run iOS simulator from command line.

Hey @gp201 and @U8NWXD, could one of you ptal? Thanks!

I'm going to be unavailable soon, so letting @gp201 review

@iamprayush PTAL

@gp201 PTAL, thanks!

@iamprayush PTAL

@gp201 PTAL, thanks!

@gp201 PTAL, thanks!


COCO Dataset Configuration for Text-to-Image

I would like to extend my sincere appreciation for your extensive work on diffusion models based tuning.
I am reaching out to inquire if you have any specific configuration files or guidance available for using the COCO dataset with Text-to-image generation (SCEdit paper).

Thank you for your interest in our work. The training process documentation for SCEdit can be found at text-to-image-generation. For information on using your custom dataset, please refer to the Data Text Format section of the dataset construction part in the yaml file. The settings for the hyperparameters are described in detail in Table 4 of the paper's appendix.


fix bump expensify-common

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/38522
PROPOSAL: https://github.com/Expensify/App/issues/38522#issuecomment-2009006697
Tests

Open any report
Compose a multiline message with bold and codeblock:

bold
```*not a bold*```
This is *bold*

Should render
bold
*not a bold*
This is bold

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Open any report
Compose a multiline message with bold and codeblock:

bold
```*not a bold*```
This is *bold*

Should render
bold
*not a bold*
This is bold

[x] Verify that no errors appear in the JS console

PR Author Checklist

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

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

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

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

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

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

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/expensify-common/assets/113963320/b4cf5890-8de7-432f-abbf-d10a478cb3ad

Android: mWeb Chrome

https://github.com/Expensify/expensify-common/assets/113963320/ceb2595d-5dc9-442a-8fc8-5068823f7955

iOS: Native

iOS: mWeb Safari

https://github.com/Expensify/expensify-common/assets/113963320/6ca2c178-a396-4092-9a41-388f7fdcd0a1

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/113963320/97c40660-7318-48ca-8392-8b7e2e00f58a

MacOS: Desktop

https://github.com/Expensify/expensify-common/assets/113963320/0b311530-308f-47e2-b167-5d01a75dc65b

🚀 Deployed to production by https://github.com/mountiny in version: 1.4.64-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


i18n support

I think Atom Shell has no i18n/l10n API. It would be nice Atom Shell would have this API, so you could translate Atom editor and any other Atom Shell based application into another languages.
Thank you for Atom Shell.
Related to: [https://github.com/atom/atom/issues/4441]

@zcbenz I see a directory called locales with many 0 KB *.pak files but I can't find any docs on localization in electron. Is there still no built-in l18n? What's the locales folder for then?


Create Needed

You have to have the create mod if you want to launch it at all. I was just trying to use it with JourneyMap only, but when I tried it, it said I had to have the create mod installed.

also needed custom player model on forge for some reason even though i just want to use Create compat only

The fabric version only has the create compat, so create is needed.
The forge version uses CPM's GUI and config frameworks.


PHP and Live Preview

Hello!
Live Preview do work with .html file that contains php code, but instead of just ignoring it, brackets
<!--?php echo "Comments php code"; ?-->
which is not that bad for Live Preview, since its not running php anyway, but its killing the original file (especially if you are using "upload on save") by commenting php part. Is it possible to make it that way:

force brackets to ignore  tag, instead of commenting it or changing it in any other way,
force brackets to treat any file extension (.php, .foo, .bar, .bla, or any other) as html, if HTML file type is chosen for this file, just so live preview would work on that file (again, ignoring  tag)?

Thank you in advance.

Hi
I would love for brackets to read my php file as though it is an html file. I only have a small bit of PHP running on my website. It gets the current year and subtracts it from a previous year and just echos that out.
I would love the option to treat my php file as a html file so I can continue editing html with all the amazing live preview features without having to change the file extension for editing and for pushing to my web server.
Is this similar to what you, @iamelru, are talking about?


how filter works?

Could you please provide example of how plumbum filter works? I wasn't able to figure out how it work and receiving errors all the time.
Traceback (most recent call last):
  File "/home/vagrant/.pyenv/versions/2.7.6/bin/plumbum", line 11, in <module>
    sys.exit(main())
  File "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/site-packages/plumbum.py", line 222, in main
    resources = list_resources[namespace](region, filters)
  File "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/site-packages/plumbum.py", line 136, in list_elb
    return lookup(instances, filter_by=filter_by_kwargs)
  File "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/site-packages/plumbum.py", line 82, in lookup
    return list(filter(filter_key(filter_by), instances))
  File "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/site-packages/plumbum.py", line 76, in filter_instance
    for key, value in filter_args.items()])
AttributeError: 'str' object has no attribute 'items'

Can you provide the command/usage you employed that generated this output?

@paul-krohn Hi, this is the command that I executed. :) Thank you for the quick response.
vagrant@vagrant:~$ plumbum -r us-west-1 -f internal --toke elb.name='internal.us-west-1.elb.amazonaws.com' cloudwatch-to-graphite/sample_templates/elb.yml.j2 AWS/ELB

There are a few problems here.

your filter has to take the form of key=value; this is not clear in the docs
filtering on objects that have a name (ie ELBs), as opposed to an ID (ie EC2 instances), is limited to the attributes in the AWS API; tags are not supported and this is not clear in the docs.
filtering is broken! This happened because there are no tests for it.

Can I interest you in perhaps fixing any of these things? It would be great to have another maintainer on board.

There were a number of changes recently.  Any idea where / when the filtering broke?

I've never used the filtering, so I've no idea when it worked. :(

@jasonatfleepio what version of the package?  See #37 is in release 0.9.2.

uh, I'm in 0.9.0.
vagrant@vagrant:~$ plumbum --version
0.9.0

Try 0.9.2 and your issue should go away.

@tmclaugh How can I install 0.9.2 with pip? I was installed with pip upgrading to 0.9.2, but still showing me 0.9.0
 $ pip install cloudwatch-to-graphite==0.9.2 --upgrade
Requirement already up-to-date: cloudwatch-to-graphite==0.9.2 in ./.pyenv/versions/2.7.6/lib/python2.7/site-packages
Requirement already up-to-date: boto in ./.pyenv/versions/2.7.6/lib/python2.7/site-packages (from cloudwatch-to-graphite==0.9.2)
Requirement already up-to-date: docopt in ./.pyenv/versions/2.7.6/lib/python2.7/site-packages (from cloudwatch-to-graphite==0.9.2)
Requirement already up-to-date: PyYAML in ./.pyenv/versions/2.7.6/lib/python2.7/site-packages (from cloudwatch-to-graphite==0.9.2)
Requirement already up-to-date: Jinja2 in ./.pyenv/versions/2.7.6/lib/python2.7/site-packages (from cloudwatch-to-graphite==0.9.2)
Requirement already up-to-date: MarkupSafe in ./.pyenv/versions/2.7.6/lib/python2.7/site-packages (from Jinja2->cloudwatch-to-graphite==0.9.2)
$ plumbum --version
0.9.0

We'll need a push of tags 0.9.4 and 0.9.5 to PyPi before @jasonatfleepio can validate recent changes address his issue.


⚠ Bofrost.es has degraded performance

In 1478649, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1628 ms

Resolved: Bofrost.es performance has improved in dba24f9 after 6 minutes.


Extract feature contribution per prediction

Visualize contribution of features to a single prediction (or average contribution for multiple predictions)

Often used at our banking clients, therefore somewhat higher prio. One of the shap explainability plots also helps in this regard.

@sandervh14  Do you have an implementation that is functioning? I am wondering if one can make the shapely values dependent on the original values and not on the encoded ones. Like this one would be able to get a clearer picture. how did you do this in the past ?


linkt-help.top

Can you kindly please block this site engaging in phishing activities?
The website in question is linkt-help.top, and it is targeting a legitimate website/business linkt.com.au.
Website was reported to the web host & domain registrar, the site may be offline by the time you see this so I have archived the webpage for your convenience.
I've also flagged with a number of security vendors

Thank you @gyCfjSnO!  This is added in commit 757cd0f6.
Closing.


Investigate if background scanning is crashing after longer period in use

Description:
Possibly background scanning service can crash itself after longer period in use (over weekend)
Spotted in closed 2.12.8 build

Reproduced with 2.12.8 , The Bluetooth updates are not waking up until few minutes, as you will see in the video.
Once it wakes up both app and widgets start to work again.
Maybe there is a way to improve this.
https://drive.google.com/file/d/1HSEcXWQF1bh9IJ8M-0kRvQPaGlUWjpBM/view?usp=sharing


new message field causes compile datatype error

I added a new is_dashing field to my message it looks like this:
[messages.input.fields]
is_dashing = { type = "Bool", name = "player has enabled dashing", description = "The movement state of the player"}
input_direction = { type = "Vec2", name = "Direction", description = "The movement direction of the player." }
mouse_delta_x = { type = "F32", name = "Mouse delta X", description = "The mouse delta X." }
mouse_delta_y = { type = "F32", name = "Mouse delta Y", description = "The mouse delta Y." }

I send this message in client.rs like:
        messages::Input::new(
            is_dashing,
            input_direction,
            delta.mouse_position.x,
            delta.mouse_position.y,
        ).send_server_reliable();

This causes a compile error saying its the wrong data type and looks like its confused with another field:
[2023-05-16T21:13:43Z INFO  ambient] Building ambient-test-project
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: failed to compile, stdout: error[E0277]: the trait bound `ambient_api::prelude::Vec2: From<bool>` is not satisfied
  --> src/client.rs:115:13
   |
114 |         messages::Input::new(
   |         -------------------- required by a bound introduced by this call
115 |             is_dashing,
   |             ^^^^^^^^^^ the trait `From<bool>` is not implemented for `ambient_api::prelude::Vec2`
   |
   = help: the following other types implement trait `From<T>`:
             <ambient_api::prelude::Vec2 as From<(f32, f32)>>
             <ambient_api::prelude::Vec2 as From<[f32; 2]>>
   = note: required for `bool` to implement `Into<ambient_api::prelude::Vec2>`
note: required by a bound in `messages::Input::new`
  --> src/client.rs:13:1
   |
13  | #[main]
   | ^^^^^^^ required by this bound in `messages::Input::new`
   = note: this error originates in the attribute macro `main` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `bool: From<ambient_api::prelude::Vec2>` is not satisfied
  --> src/client.rs:116:13
   |
114 |         messages::Input::new(
   |         -------------------- required by a bound introduced by this call
115 |             is_dashing,
116 |             input_direction,
   |             ^^^^^^^^^^^^^^^ the trait `From<ambient_api::prelude::Vec2>` is not implemented for `bool`
   |
   = note: required for `ambient_api::prelude::Vec2` to implement `Into<bool>`
note: required by a bound in `messages::Input::new`
  --> src/client.rs:13:1
   |
13  | #[main]
   | ^^^^^^^ required by this bound in `messages::Input::new`
   = note: this error originates in the attribute macro `main` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors

is this related to #405  ??

Yup, that's #405 - it's on my todo list to fix, but it's part of a larger body of work. For now, the fields are alphabetically sorted, but I should hopefully have an update for you in the weeks to come.


Query renders two times with loading state

Describe the bug
When I'm making a query it fires builder function two times with loading state.
I/flutter ( 6703): rh report build # build method level
I/flutter ( 6703): b6f4e5db-3765-4b3c-abf0-e68818630412
I/flutter ( 6703): QueryResultSource.Loading
I/flutter ( 6703): QueryResultSource.Loading
I/flutter ( 6703): QueryResultSource.Network

To Reproduce
Create random query and print(result.source.toString()); inside builder function.
Expected behavior
Should execute builder only once per state change
I/flutter ( 6703): rh report build # build method level
I/flutter ( 6703): b6f4e5db-3765-4b3c-abf0-e68818630412
I/flutter ( 6703): QueryResultSource.Loading
I/flutter ( 6703): QueryResultSource.Network

Screenshots
The state of connection changes from waiting to active both of this changes executes builder with loading state.
waiting - https://tppr.me/Zl0jj
active - https://tppr.me/T2Pv5
then comes the actual data with the same active state - https://tppr.me/lZU98
Desktop (please complete the following information):

OS: both iOs/Android emulators

Smartphone (please complete the following information):

Device: Samsung Galaxy Tab S5e SM-T720
OS: Android
Version 9

@micimize @isaiahtaylor @wexder @mainawycliffe @lookfirst @HofmannZ
Any thoughts, comments?

I'm facing this everytime a Widget state is updated as #627 describe, is there any workaround to prevent refetch when State is updated?

believe this is the same as #725 – is due to StreamBuilder behavior


Support for ReactDOMServer

It would be nice to have support for ReactDOMServer, this way purescript-react-basic could be used for server side rendering.

I'm currently forced to use BuckleScript and, sadly, have very little free time, so PR will have to wait. You can close this issue for now if you want and I'll reopen it when I'll have time to make a PR.

Should this issue be closed since lumihq/purescript-react-basic-dom#6 was merged?

Yes, probably, thanks


License?

Without a license, users can't simply do an install without implicitly violating your copyright, any plan for a license, e.g. MIT?

Done, sorry for the delay 😬


python3-jetson-stats build failed

I'm building on origin/kirkstone-l4t-r32.7.x branch for "jetson-nano-devkit-emmc" and I'm getting this error.
ERROR: python3-jetson-stats-4.1.5-r0 do_install: 'python3 setup.py install --root=/media/ianyxtan/xxx/files/yocto/build/tmp/work/armv8a-snapit-linux/python3-jetson-stats/4.1.5-r0/image     --prefix=/usr     --install-lib=/usr/lib/python3.10/site-packages     --install-data=/usr/share' execution failed.
ERROR: python3-jetson-stats-4.1.5-r0 do_install: ExecutionError('/media/ianyxtan/xxx/files/yocto/build/tmp/work/armv8a-snapit-linux/python3-jetson-stats/4.1.5-r0/temp/run.do_install.2610583', 1, None, None)
ERROR: Logfile of failure stored in: /media/ianyxtan/xxx/files/yocto/build/tmp/work/armv8a-snapit-linux/python3-jetson-stats/4.1.5-r0/temp/log.do_install.2610583
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_populate_sysroot', '/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb:do_populate_sysroot', '/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-core/systemd/systemd-systemctl-native.bb:do_populate_sysroot', '/media/ianyxtanxxx/files/yocto/sources/poky/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot', '/media/ianyxtan/zzz/files/yocto/sources/poky/meta/recipes-devtools/python/python3_3.10.12.bb:do_populate_sysroot', '/media/ianyxtan/zzz/files/yocto/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/media/ianyxtan/zzz/files/yocto/sources/poky/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb:do_populate_sysroot', '/media/ianyxtan/zzz/files/yocto/sources/poky/meta/recipes-extended/shadow/shadow_4.11.1.bb:do_populate_sysroot', 'virtual:native:/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb:do_populate_sysroot', 'virtual:native:/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-devtools/python/python3_3.10.12.bb:do_populate_sysroot', 'virtual:native:/media/ianyxtan/xxx/files/yocto/sources/poky/meta/recipes-extended/shadow/shadow_4.11.1.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['base-files', 'base-passwd', 'glibc', 'systemd-systemctl-native', 'gcc-cross-aarch64', 'gcc-runtime', 'python3', 'quilt-native', 'shadow-sysroot', 'shadow', 'patch-native', 'pseudo-native', 'python3-setuptools-native', 'python3-native', 'shadow-native', 'xz', 'opkg-utils', 'ncurses', 'libnsl2', 'openssl', 'zlib', 'libtirpc', 'gdbm', 'libffi', 'libxcrypt', 'util-linux-libuuid', 'sqlite3', 'bzip2', 'readline', 'xz-native', 'libnsl2-native', 'openssl-native', 'ncurses-native', 'libtirpc-native', 'libffi-native', 'bzip2-native', 'zlib-native', 'libtool-native', 'util-linux-libuuid-native', 'readline-native', 'sqlite3-native', 'gdbm-native', 'attr-native', 'gmp-native', 'zstd-native', 'linux-libc-headers', 'mpfr-native', 'texinfo-dummy-native', 'libmpc-native', 'flex-native', 'gnu-config-native', 'binutils-cross-aarch64', 'attr', 'libgcc', 'python3-wheel-native', 'python3-installer-native', 'gettext-minimal-native', 'perl-native', 'm4-native', 'python3-flit-core-native', 'unzip-native', 'make-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| Skip for setup.py
| running build
| running build_py
| running build_scripts
| running install
| /media/ianyxtan/xxx/files/yocto/build/tmp/work/armv8a-snapit-linux/python3-jetson-stats/4.1.5-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
|   warnings.warn(
| ERROR:jtop.service:ianyxtan does not exist
| ERROR:jtop.service:Does not exist jetson_stats
| Install status:
|  - [X] super_user
|  - [ ] virtualenv
|  - [ ] docker
| Remove /usr/local/jetson_stats folder
| error: [Errno 13] Permission denied: 'jtop.service'
| ERROR: 'python3 setup.py install --root=/media/ianyxtan/xxx/files/yocto/build/tmp/work/armv8a-snapit-linux/python3-jetson-stats/4.1.5-r0/image     --prefix=/usr     --install-lib=/usr/lib/python3.10/site-packages     --install-data=/usr/share' execution failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (/media/ianyxtan/xxx/files/yocto/sources/meta-tegra-community/recipes-devtools/python/python3-jetson-stats_4.1.5.bb:do_install) failed with exit code '1'

I'm building on origin/kirkstone-l4t-r32.7.x branch for "jetson-nano-devkit-emmc"

I'm not seeing this in my test build, but there quite a few iffy things going on in the setup.py script in that package, where it's looking for/modifying/deleting files and directories in the root filesystem on the host.  Do you happen to have that package installed on your build host?  I could see that causing this kind of error.
The recipe definitely needs an update to make the setup script more cross-build friendly.

I do have a local copy of jetson-stats installed.
All I have to do is:
pip3 uninstall jetson-stats
sudo rm /etc/systemd/system/jtop.service
sudo rm /etc/profile.d/jtop_env.sh

Thanks @madisongh :relaxed:

Hey @ianyxtan
I have pushed updates. Could you please try with the latest commit ?
Let me how if goes
Thanks

Wow @ichergui you sir are a LEGEND! python3-jetson-stats update to 4.2.3!
I will do a few tests and let you know.
This really made my day :smile:
Thanks!

Just a question, it says on the github release notes that since jetson-stats 4.2, it doesn't use tegrastats anymore. It is safe to remove the RDEPENDS on tegra-tools-tegrastats(python3-jetson-stats line 54)?

Hey @ianyxtan I have pushed updates. Could you please try with the latest commit ? Let me how if goes Thanks

Tested. This is working :rocket:

Just a question, it says on the github release notes that since jetson-stats 4.2, it doesn't use tegrastats anymore. It is safe to remove the RDEPENDS on tegra-tools-tegrastats(python3-jetson-stats_4.2.3.bb line 54)?

I Will double check that and if not needed I will remove it
Thanks 🙏 @ianyxtan

Hey @ianyxtan I have pushed updates. Could you please try with the latest commit ? Let me how if goes Thanks

Tested. This is working :rocket:

Super thanks 🙏 @ianyxtan for the testing


Screenshot includes typo

The screenshot under step 2 in the section titled "Integrating with Azure Sentinel" has a typo in the drop down menu. The Generic SIEM option reads, "Integrate with you SIEM server" rather than "Integrate with your SIEM server". We have already integrated Azure Sentinel, so I no longer see this same drop down to see if the typo also still exists in the menu.

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

ID: c7baccc9-aded-5134-33bf-bdd20ca52637
Version Independent ID: 2c646a17-0782-0352-ced5-822354a68271
Content: Azure Sentinel integration with Cloud App Security
Content Source: CloudAppSecurityDocs/siem-sentinel.md
Service: cloud-app-security
GitHub Login: @shsagir
Microsoft Alias: shsagir

Here is an screenshot of the image I'm referring to.

Here is an screenshot of the image I'm referring to.

@doctormay6 Thanks for contacting Microsoft about your issue.
As we understand it, you're describing a problem with the product itself and not with the product documentation. Please open a support ticket or Send feedback so that we can investigate.

@doctormay6 Thanks for contacting Microsoft about your issue.
As we understand it, you're describing a problem with the product itself and not with the product documentation. Please open a support ticket or Send feedback so that we can investigate.


How to properly resolve dependencies that have runtime identifiers?

Hello,
I have written a powershell binary module in C#. If I don't add any nuget package reference, everything works fine in PowerShell and PowerShell Core. On the other side If I add some package (like AutoMapper, RestSharp o anything else) I have to add this in .csproj for copying the dependencies in \bin folder and avoid the error "Test-SampleCmdlet: Could not load file or assembly 'XXXX, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=be96cd2c38ef1005'. The system cannot find the file specified."
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

However, with Microsoft.Data.SqlClient does not work, because it's depends on runtime identifiers (not like AutoMapper or RestSharp that depend only on target framework). Finally, I end with a Microsoft.System.Data.dll in \bin folder that it's not correct (it's a library only with code plenty of PlatformNotSupported exceptions, more info here https://github.com/dotnet/SqlClient/wiki/Frequently-Asked-Questions#11-why-do-i-get-a-platformnotsupported-exception-when-my-application-hits-a-sqlclient-method)
My .csproj is like this:
<Project Sdk="Microsoft.NET.Sdk">

	<PropertyGroup>
		<TargetFramework>netstandard20</TargetFramework>
		<AssemblyName>example</AssemblyName>
	</PropertyGroup>

	<ItemGroup>
		<PackageReference Include="AutoMapper" Version="10.0.0" />
                <PackageReference Include="Microsoft.Data.SqlClient" Version="2.0.1" />
		<PackageReference Include="PowerShellStandard.Library" Version="5.1.0">
			<PrivateAssets>All</PrivateAssets>
		</PackageReference>
		<PackageReference Include="RestSharp" Version="106.11.5" />
	</ItemGroup>

</Project>

And a simple example will be this:
            // With <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> the following two lines will work
            var config = new MapperConfiguration(cfg => cfg.CreateMap<Foo, Bar>());
            var client = new RestClient();

            // However, this line only works if you copy the right assembly in output folder
            using (var cnn = new Microsoft.Data.SqlClient.SqlConnection())
            {
            }

I receive the error when I call to the cmdlet, not when I import the module (Import-Module).
If I manually copy in \bin folder the right assembly of Microsoft.Data.SqlClient (extracting content from .nupkg file and choosing the right one by runtime identifier) does work, but I think PowerShell should do this for me, it's the host.
So, my final thought is that I can develop a powershell binary module if I don't add nuget packages that had been deployed with runtime identifiers... and this is a very big problem :(
I have proved this https://docs.microsoft.com/en-us/powershell/scripting/dev-cross-plat/writing-portable-modules?view=powershell-7#dependency-on-native-libraries but I think I am missing something, because I have tried several folder names and structure, but PowerShell Core does not seem to look for in this folders (I am using Process Monitor to see it https://docs.microsoft.com/en-us/sysinternals/downloads/procmon). I think that my issue is related with this other https://github.com/PowerShell/PowerShell/issues/8861 but I have spent a lot of time in last days and I don't find a solution.
Thank you so much.

It is dup #2083.


The plugin crashes with com.crashlytics.android.core.CrashlyticsMissingDependencyException

Hello,
first of all thanks for your work :)
I integrated your plugin and it worked well in the debug phase while testing the app in the emulator and the phone. The problem arised after I created the release apk and installed on the phone for testing.
Then I got this exception:
02-21 14:17:21.347 13313 13313 I CrashlyticsCore: Initializing Crashlytics <IP_ADDRESS>
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .     |  |
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .     |  |
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .     |  |
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .   \ |  | /
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .    \    /
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .     \  /
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .      \/
02-21 14:17:21.350 13313 13313 E CrashlyticsCore: .
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up,
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: install an Android build tool and ask a team member to invite you to this app's organization.
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .      /\
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .     /  \
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .    /    \
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .   / |  | \
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .     |  |
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .     |  |
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .     |  |
02-21 14:17:21.351 13313 13313 E CrashlyticsCore: .
02-21 14:17:21.352 13313 13313 D AndroidRuntime: Shutting down VM
02-21 14:17:21.354 13313 13313 E UncaughtException:
02-21 14:17:21.354 13313 13313 E UncaughtException: java.lang.RuntimeException: Unable to start activity ComponentInfo{net.webikers.mobileapp/net.webikers.mobileapp.MainActivity}: io.fabric.sdk.android.services.concurrency.UnmetDependencyException: com.crashlytics.android.core.CrashlyticsMissingDependencyException:
02-21 14:17:21.354 13313 13313 E UncaughtException: This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up,
02-21 14:17:21.354 13313 13313 E UncaughtException: install an Android build tool and ask a team member to invite you to this app's organization.
02-21 14:17:21.354 13313 13313 E UncaughtException:
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.app.ActivityThread.-wrap11(ActivityThread.java)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.os.Handler.dispatchMessage(Handler.java:102)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.os.Looper.loop(Looper.java:148)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.app.ActivityThread.main(ActivityThread.java:5461)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at java.lang.reflect.Method.invoke(Native Method)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-21 14:17:21.354 13313 13313 E UncaughtException: Caused by: io.fabric.sdk.android.services.concurrency.UnmetDependencyException: com.crashlytics.android.core.CrashlyticsMissingDependencyException:
02-21 14:17:21.354 13313 13313 E UncaughtException: This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up,
02-21 14:17:21.354 13313 13313 E UncaughtException: install an Android build tool and ask a team member to invite you to this app's organization.
02-21 14:17:21.354 13313 13313 E UncaughtException:
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at com.crashlytics.android.core.CrashlyticsCore.onPreExecute(CrashlyticsCore.java:288)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at com.crashlytics.android.core.CrashlyticsCore.onPreExecute(CrashlyticsCore.java:236)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at io.fabric.sdk.android.InitializationTask.onPreExecute(InitializationTask.java:44)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at io.fabric.sdk.android.services.concurrency.AsyncTask.executeOnExecutor(AsyncTask.java:611)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at io.fabric.sdk.android.services.concurrency.PriorityAsyncTask.executeOnExecutor(PriorityAsyncTask.java:43)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at io.fabric.sdk.android.Kit.initialize(Kit.java:66)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at io.fabric.sdk.android.Fabric.initializeKits(Fabric.java:439)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at io.fabric.sdk.android.Fabric.init(Fabric.java:383)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at io.fabric.sdk.android.Fabric.setFabric(Fabric.java:340)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at io.fabric.sdk.android.Fabric.with(Fabric.java:311)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at com.sarriaroman.fabric.FabricPlugin.pluginInitialize(FabricPlugin.java:42)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:171)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:97)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at org.apache.cordova.PluginManager.init(PluginManager.java:86)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:115)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:149)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at net.webikers.mobileapp.MainActivity.onCreate(MainActivity.java:39)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.app.Activity.performCreate(Activity.java:6251)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2403)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	... 9 more
02-21 14:17:21.354 13313 13313 E UncaughtException: Caused by: com.crashlytics.android.core.CrashlyticsMissingDependencyException:
02-21 14:17:21.354 13313 13313 E UncaughtException: This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up,
02-21 14:17:21.354 13313 13313 E UncaughtException: install an Android build tool and ask a team member to invite you to this app's organization.
02-21 14:17:21.354 13313 13313 E UncaughtException:
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at com.crashlytics.android.core.BuildIdValidator.validate(BuildIdValidator.java:59)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at com.crashlytics.android.core.CrashlyticsCore.setAndValidateKitProperties(CrashlyticsCore.java:319)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	at com.crashlytics.android.core.CrashlyticsCore.onPreExecute(CrashlyticsCore.java:262)
02-21 14:17:21.354 13313 13313 E UncaughtException: 	... 30 more
02-21 14:17:21.356 13313 13340 I FA      : Tag Manager is not found and thus will not be used
02-21 14:17:21.626 13313 13313 E AndroidRuntime: FATAL EXCEPTION: main
02-21 14:17:21.626 13313 13313 E AndroidRuntime: Process: net.webikers.mobileapp, PID: 13313
02-21 14:17:21.626 13313 13313 E AndroidRuntime: Theme: themes:{}
02-21 14:17:21.626 13313 13313 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{net.webikers.mobileapp/net.webikers.mobileapp.MainActivity}: io.fabric.sdk.android.services.concurrency.UnmetDependencyException: com.crashlytics.android.core.CrashlyticsMissingDependencyException:
02-21 14:17:21.626 13313 13313 E AndroidRuntime: This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up,
02-21 14:17:21.626 13313 13313 E AndroidRuntime: install an Android build tool and ask a team member to invite you to this app's organization.
02-21 14:17:21.626 13313 13313 E AndroidRuntime:
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.app.ActivityThread.-wrap11(ActivityThread.java)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:5461)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: Caused by: io.fabric.sdk.android.services.concurrency.UnmetDependencyException: com.crashlytics.android.core.CrashlyticsMissingDependencyException:
02-21 14:17:21.626 13313 13313 E AndroidRuntime: This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up,
02-21 14:17:21.626 13313 13313 E AndroidRuntime: install an Android build tool and ask a team member to invite you to this app's organization.
02-21 14:17:21.626 13313 13313 E AndroidRuntime:
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at com.crashlytics.android.core.CrashlyticsCore.onPreExecute(CrashlyticsCore.java:288)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at com.crashlytics.android.core.CrashlyticsCore.onPreExecute(CrashlyticsCore.java:236)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at io.fabric.sdk.android.InitializationTask.onPreExecute(InitializationTask.java:44)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at io.fabric.sdk.android.services.concurrency.AsyncTask.executeOnExecutor(AsyncTask.java:611)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at io.fabric.sdk.android.services.concurrency.PriorityAsyncTask.executeOnExecutor(PriorityAsyncTask.java:43)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at io.fabric.sdk.android.Kit.initialize(Kit.java:66)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at io.fabric.sdk.android.Fabric.initializeKits(Fabric.java:439)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at io.fabric.sdk.android.Fabric.init(Fabric.java:383)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at io.fabric.sdk.android.Fabric.setFabric(Fabric.java:340)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at io.fabric.sdk.android.Fabric.with(Fabric.java:311)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at com.sarriaroman.fabric.FabricPlugin.pluginInitialize(FabricPlugin.java:42)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:171)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:97)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at org.apache.cordova.PluginManager.init(PluginManager.java:86)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:115)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:149)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at net.webikers.mobileapp.MainActivity.onCreate(MainActivity.java:39)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:6251)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2403)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	... 9 more
02-21 14:17:21.626 13313 13313 E AndroidRuntime: Caused by: com.crashlytics.android.core.CrashlyticsMissingDependencyException:
02-21 14:17:21.626 13313 13313 E AndroidRuntime: This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up,
02-21 14:17:21.626 13313 13313 E AndroidRuntime: install an Android build tool and ask a team member to invite you to this app's organization.
02-21 14:17:21.626 13313 13313 E AndroidRuntime:
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at com.crashlytics.android.core.BuildIdValidator.validate(BuildIdValidator.java:59)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at com.crashlytics.android.core.CrashlyticsCore.setAndValidateKitProperties(CrashlyticsCore.java:319)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	at com.crashlytics.android.core.CrashlyticsCore.onPreExecute(CrashlyticsCore.java:262)
02-21 14:17:21.626 13313 13313 E AndroidRuntime: 	... 30 more
02-21 14:17:21.629   666   933 W ActivityManager:   Force finishing activity net.webikers.mobileapp/.MainActivity

The other plugins I'm using are:
"cordovaPlugins": [
    {
      "id": "cordova-plugin-facebook4",
      "locator"<EMAIL_ADDRESS>      "variables": {
        "APP_ID": "XXXXXXXXXXXXXXX",
        "APP_NAME": "YYYYYYYYYY"
      }
    },
<EMAIL_ADDRESS>    {
      "locator": "https://github.com/VitaliiBlagodir/cordova-plugin-datepicker.git#bd87605936b450dc32de0cddfb2ddb4936803fe0",
      "id": "cordova-plugin-datepicker"
    },
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>    {
      "locator": "https://github.com/kurtisf/cordova-plugin-restrict-keyboard#9076a8d16b2181910cd35910495413e5cc70218e",
      "id": "cordova-plugin-restrict-keyboard"
    },
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  ]

Any idea why this might be happening?
Thanks in advance

I've had this issue too.  I think it might be related to https://github.com/sarriaroman/FabricPlugin/pull/80.  I haven't had a chance to verify it yet but I think this is a potential fix for the problem https://github.com/sarriaroman/FabricPlugin/pull/87.
The other work around that I was using was to uninstall and reinstall the plugin after the npm install which helped temporarily fix the problem for me (although not the root cause).

@davidquon I see, thanks for the prompt feedback!

You will need to re-install the plugin. Latest version has the new Fabric plugin instead of Crashlytics.

@sarriaroman  - I uninstalled and re-installed the plugin. I can see updated code in the gradle file but still getting same error.

@davidquon  @giordy  - Any luck with this, what i also observed is, release build has issues debug works fine .

I am having the same problem on 1.1.7.
cordova-android 6.1.2

Isn't the different bundle id in the app than on Fabric.io the cause?
This may be a problem, as we share the same code for various apps and would like to have it under 1 project.

Looks like that building the app using Phonegap, not cordova is not passing the keys (fabric api and secret) to crashalytics, that is needed: https://github.com/sarriaroman/FabricPlugin/blob/master/src/android/build-extras.gradle

This happens using Phonegap Build.
Packaging locally on Cordova builds properly. Any clues?

@sarriaroman I should mention that the first version I had ever installed in the project was the latest, 1.1.7

Sorry guys, sometimes I take vacations :). Honestly I don't have recent experience with Phonegap build but must be some kind of replacement for the hooks because are required and the problem is there.

I am also having this problem but also in development mode.
I think this has something to do with the "src/android/build-extras.gradle" file.
In the main build.gradle, if I add the steps that Fabric modifies automatically from the Android Studio Fabric Tool and comment out: apply from: "cordova-fabric-plugin/myproject-build-extras.gradle" it works.

Can anyone else confirm this fixes it for them also?

@RobertYoung I was having the same issue and your fix worked for me. Does anyone have a more permanent solution?

Any updates on this issue ?

Unfortunately not, however I have hacked it and so it is automated for the time being. I've added a cordova hook to amend the android files after the platform has been added.
/hooks/after_platform_add/010_install_fabric_android.js
#!/usr/bin/env node

console.log("> 010_install_fabric_android.js");

const fs = require('fs');
const gradleBundlePath = `./platforms/android/build.gradle`;
const gradleBundleEncoding = `utf8`;
const mainActivityPath = `./platforms/android/src/com/iamrobertyoung/settimes/MainActivity.java`;
const mainActivityEncoding = `utf8`;

function installFabricForAndroid() {
  if (!fs.existsSync(gradleBundlePath) || !fs.existsSync(mainActivityPath)) {
    console.warn(`Cannot find android related files`);
    return;
  };

  replaceGradleBundle();
  replaceMainActivity();
}

function replaceGradleBundle() {
  var gradleBundle = readGradleBundle();
  var newGradleBundle = gradleBundle.replace(`apply plugin: 'com.android.application'`, `
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
}
  `)
    .replace(`repositories {
        mavenCentral()
        jcenter()
    }`,
    `repositories {
        mavenCentral()
        jcenter()
        maven { url 'https://maven.fabric.io/public' }
    }`)
    .replace(`dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
    }`,
    `dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
        classpath 'io.fabric.tools:gradle:1.+'
    }`)

  writeGradleBundle(newGradleBundle);
}

function replaceMainActivity() {
  var mainActivity = readMainActivity();
  var newMainActivity = mainActivity.replace(`import android.os.Bundle;`,
    `import android.os.Bundle;
import com.crashlytics.android.Crashlytics;
import io.fabric.sdk.android.Fabric;`)
    .replace(`super.onCreate(savedInstanceState);`,
    `super.onCreate(savedInstanceState);
        Fabric.with(this, new Crashlytics());`);

  writeMainActivity(newMainActivity);
}

function readGradleBundle() {
  return fs.readFileSync(gradleBundlePath, gradleBundleEncoding);
}

function writeGradleBundle(bundle) {
  return fs.writeFileSync(gradleBundlePath, bundle);
}

function readMainActivity() {
  return fs.readFileSync(mainActivityPath, mainActivityEncoding);
}

function writeMainActivity(mainActivity) {
  return fs.writeFileSync(mainActivityPath, mainActivity);
}

installFabricForAndroid();

Yes this is dirty, and will most likely break, but it's a workaround.

Just ran through this, was able to resolve by adding the assorted hook files then:
ionic cordova plugin rm cordova-fabric-plugin --save
ionic cordova platform rm android
ionic cordova platform rm ios

# Edited config.xml to add hooks:
# <hook src="hooks/after_plugin_add.js" type="after_plugin_add" />
# <hook src="hooks/before_plugin_rm.js" type="before_plugin_rm" />

ionic cordova platform add android
ionic cordova platform add ios
ionic cordova plugin add https://github.com/sarriaroman/FabricPlugin --variable FABRIC_API_KEY=XXX --variable FABRIC_API_SECRET=xxx --save

Somewhere in the middle of testing this sequence for reliability, I discovered that Android Studio couldn't find a bunch of Java classes on the Crashlytics framework - seems like maybe there was outdated code. This is what prompted me to remove the original cordova-fabric-plugin and reinstall from Github source (master branch).
I am now able to perform all builds by CLI:
ionic cordova build android
ionic cordova build android --release
ionic cordova build ios
ionic cordova build ios --release

... as well as build the project cleanly from XCode and Android Studio.

@emcniece You rock!  I have tried re-installing the plugin directly from GH but it didn't help. I think the hooks are key.

@nmartin867 good to hear! Beware though, as noted by https://github.com/sarriaroman/FabricPlugin/issues/88#issuecomment-286214951 it looks like Phonegap doesn't run these hooks.
But if you're not using Phonegap... ¯\_(ツ)_/¯
I'm using https://fastlane.tools/ - builds happen locally.

solved using version 1.1.6
ionic cordova plugin add https://github.com/sarriaroman/FabricPlugin#1.1.6 --variable FABRIC_API_KEY=XXX --variable FABRIC_API_SECRET=xxx --save

I have the same issue with version 1.1.7

@pph7 do you see your Fabric API key/secret in config.xml?
<plugin name="cordova-fabric-plugin" spec="^1.1.9">
        <variable name="FABRIC_API_KEY" value="xxxxxxxxxxxxxxxxxxxx" />
        <variable name="FABRIC_API_SECRET" value=""xxxxxxxxxxxxxxxxxxxx" />
    </plugin>

Yes, exactly like that.

any update on this issue.


Update to use pyasic to handle miners and data

Updated all usages of the forked version of minerInterface to be pyasic instead, and updated data functionality to match.
Updated usages of MinerFactory to be more concise, MinerFactory is a Singleton, so it can just be called by doing MinerFactory().get_miner() instead of having to declare an instance.

Should be good for testing.
On merge, all the references to the old repo need to be migrated to this repo, as the maintainer/repo information was changed.


Question: will this work with pyvisa-py?

Hi Alex,
Great work! I love the idea of controlling an oscilloscope this way and the TUI looks great. I see you mention that users need to have the NI VISA libraries installed. I don't have a Rigol oscilloscope so can't test this, but would using pyvisa-py be enough? I use that to control VISA-like devices over a USB connection and it works great.
Best, David

Hi David, thanks for reaching out. I honestly was unaware that pyvisa came with its own python-based backend as an alternative to the NI VISA libraries. Let me test it out on my end; it looks like it should be a very easy addition. I will keep you posted. -Alex

In 59a952ea1734c51d13fe04a57baaa18e94b51cad (v0.3.0) I have updated the source code to support both the @ivi and @py PyVISA backend drivers transparently. Thank you for the suggestion. -Alex

Nice!


[WIP] Compatibility with Polars V1

Polars V1 brought quite some breaking changes, this PR gets us ready for when it releases, and would tie our Polars version compatibility to Polars V1.0.x. Given how core Polars is to the functionality of pdstools, we can't always use the latest version, but given that we'd like to stay up to date, we'll tie ourselves to each minor version. Once a new minor version becomes available, we'll retest our changes on the increment and see if we can relieve this requirement.
As part of this PR, the main changes I had to cover were:

StringCache() no longer took True as an argument
The strict argument on DataFrame/LazyFrame/Series became more .. strict, so I turned it off in the short-term (this was not critical anywhere anyway, moreso within the testing code)
Group_by and Partition_by keys are now tuples instead of strings when partitioning/grouping by only one key. Needed to unpack them
Added a missing test for model_summary
suffix/prefix on exprs are now part of the name namespace

Also added some QOL features such as checking Pandoc version & adding TestBook as an optional dependency.

@yusufuyanik1  @operdeck  could you help me validate this branch on your workflows and fix any issues you may come across? We should probably get to polars V1 sooner rather than later, given we're only going to fall further behind and run into more issues down the line

@yusufuyanik1 @operdeck Could both of you look at this tomorrow? I will too, let's get it merged so we are semi-up to date again

FYI @yusufuyanik1 , we're also getting a ton of warnings in the health check execution: even things like 'where' being used over 'filter', which I think is a relatively old change. Let's get those out of the way as well


Create AnnouncementAdminViewController

Need to make an AnnouncementAdminViewController so staff can create/push announcements to the app as needed. Should essentially look like a form.
AnnouncementAdminViewController should appear in modals.storyboard

fixed in 77a65830edc6a8a24d357f4157d57a6f9fdebfb7


feature: single value tagging

-Tagging feature renders the form like a
-With maximumselectionsize you can limit tags to 1
-So I think that a great feature could be render the form like a single select when you combine tagging feature and maximumselectionsize

+1 and it would be nice to have limit when ajax is used


⚠ Bofrost.at has degraded performance

In 4df87f6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1347 ms

Resolved: Bofrost.at performance has improved in c8cc593.


QWIK ERROR Error: Code(20)

Hi, I just upgraded qwik to 1.1.4 and qwik-speak ^0.13.0 with inline translation:
For production build I'm getting the following error:
QWIK ERROR Error: Code(20)

@juanpmarin what you report is a Qwik error. Error 20 should be: Calling a 'use*()' method outside 'component$ is not allowed
It's wired that you don't get it already in development mode.
As for this library, check that you are not using a translation/localization function (except $inlineTranslate) outside a component$.
Does it work with versions before 0.13?

It works correctly with qwik 1.1.1 and qwik-speak 0.12.0, as soon as I upgrade one of them, it breaks

I double-checked my use of translate, and I'm only using it inside component$, I'm also using inlineTranslate in some places.

The problem is using the function in component props.
I think that in more recent versions of Qwik, the use of functions (with a context like $translate) in props should be avoided, you should prefer using a pure function like $inlineTranslate :
    const ctx = useSpeakContext();

      <NavigationRailItem label={$inlineTranslate("app.menu.home@@Inicio", ctx)} active>
        <Icon>home</Icon>
      </NavigationRailItem>

or translate in component:
    const label = t("app.menu.home@@Inicio"):

      <NavigationRailItem label={label} active>
        <Icon>home</Icon>
      </NavigationRailItem>

In both cases, the props becomes immutable.
I will update the docs.

Thanks @robisim74, do you know why is this not recommended for props? Maybe some qwik docs

Qwik optimizer transforms component props under the hood: they recently made some other changes (removing the functions props) and apparently $translate doesn't work anymore ($translate uses the context inside).
I'm looking for more stable solutions, but it's not simple: because Qwik keeps changing even if it's version 1.
For now, it is therefore preferable to avoid passing the $translate function in the component props.

I understand, thanks for the explanation.
$inlineTranslate in props fixed the issue. Thanks!

I'm experiencing a similar issue when trying to pass the result of a t(...) as prop to a component$, although Qwik now states that it can only accept serializable params.
I can't find any export of $inlineTranslate, was this function removed? I'm new to Qwik, so maybe I'm missing something regarding the special handling of $, should inlineTranslate be wrapped with it?
Either way, I'm currently using the following (ugly) workaround to get both generation of text + usage of translated text working (example component). tl;dr: I have to call inlineTranslate twice, first to make it visible to static generation, then to make it work as prop.
export default component$(() => {
  const previews = usePreviews();
  const composeHref = useLocaleHrefComposer();

  const t = inlineTranslate();

  // This call gets picked up for static translation generation.
  t("app.nav.privacy@@Privacy");

  if (previews.value.failed) {
    return
Not found
;
  }

  return (

        <IconLink
          href={composeHref("/privacy")}
		  // Calling `inlineTranslate` directly here - works, but won't be added to `app.json`.
          alt={inlineTranslate()("app.nav.privacy@@Privacy")}
          Icon={inlinedQrl(LuShield, "lu-shield")}
          class="w-full"
        />

      ...

  );
});

Thanks for creating qwik-speak, it's awesome so far

@tom-bywild This is an old issue, and yes, $inlineTranslate was removed in favor of inlineTranslate.
alt={t("app.nav.privacy@@Privacy")}
in your props should work. Maybe the problem is a conflict with Icon prop:
Icon={inlinedQrl(LuShield, "lu-shield")}
Did you try to remove it?
However, why inlinedQrl? it is an internal Qwik function. If you need, you should create a QRL using $, and declare a PropFunction in my opinion.

Thanks for the quick reply, I'm still very React-minded, that's why Icon was intended to take an Icon-reference and render it via JSX itself, so that IconLink can be polymorphic.
I removed the prop and replaced it with a <Slot name="icon" />-implementation, which works nicely.
The issue with the translation still persists, though.
I'll try to set up a demo project and see if I can replicate it their. If so, I'll update this thread, otherwise it's a weird issue somewhere in my code.

just a quick follow-up, the error only seems to happen on the landing page (/[...lang]/index.tsx) when I mount the IconLink-component there as a direct child of the component.
If I move the logic into its own component (e.g. NavColumn) then it works fine. Not sure why, but I guess it's either a weird bug I made in my code, or a qwik-bug.
The result returned from the translate-function is always a primitive string, as I checked it with typeof. So I don't really understand why qwik is complaining that it can't be serialized - I don't think it should matter where I call the translate-function, as I don't provide it by reference but its result.

I don't think it should matter where I call the translate-function, as I don't provide it by reference but its result.

I agree: in JavaScript (and in every programming language) it's like this. But in Qwik it is an unresolved issue:
https://github.com/BuilderIO/qwik/issues/4371#issuecomment-1760146806


cmd_showme_ship autoskin breaks in DMs

The autoskin channel restriction assumes command is called from a server
Old repo fixed this in these commits:
https://github.com/Trimatix/GOF2BountyBot/commit/fe669225e9b07e14e4008f0a52ee00402e6b044b
followed by
https://github.com/Trimatix/GOF2BountyBot/commit/e0ff9ac478124cc513b13318a2eade9a87211233

this to already have been done


Add a separate section for streamer mode

Add a separated section for streamer mode option - where all options for streamer mode should be individualized.
Why?
Same concept as discord. I may want certain things enabled, but others not.

There isn't even any options for it so the section would be empty. Settings will naturally be filled into categories if applicable.

I will just put them in a "subsection" as 4tf suggested in https://github.com/Chatterino/chatterino2/pull/2001#discussion_r495597395


Package is removing spaces from strings

Hello,
I have been using your package for an easier way to have localized strings with variables. The only problem I encountered is that the package is removing spaces at the end of the character, and then I have to add them back in the replaced string, only that in some cases this produces unwanted behavior in other languages, because of different placement of variables.
I saw in your source code that you are trimming the left of the variable. Is this really necessary? Or maybe give an option to enable or disable this.
Hope to hear from you soon.

Hi, I think any string works with spaces after a variable. For example "I am a #platform mobile developer" where only #platform is interchangeable. It trimmed the " " after #platform making the scentence "I am a fluttermobile developer".
Thanks for your quick response and I'm looking forward to your solution.

Hi, @vanth0me I fixed the problem and now it should be working.
Let me know if you have any problems.

I tried your new version and it works as expected. Thanks for the quick fix and sorry for the late response.


QUESTION FOR HELP: Parametric quantities for quantitative models

When I tried to fine-tune the model using QLoRA, I found that there is a significant reduction in the number of parameters in the quantized model. For example, when I fine-tuned the model based on the Qwen/Qwen1.5-1.8B-Chat model by using LoRA and QLoRA, the corresponding parameter counts are printed as follows:
LoRA (unquantized) mode log printing：
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Total parameters 1837.877M
Trainable parameters 1.049M
Trainable parameters: 0.06% (1.049M/1837.877M)

QLoRA mode log printing：
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Total parameters 550.808M
Trainable parameters 1.049M
Trainable parameters: 0.19% (1.049M/550.808M)

When I use microsoft/phi-2, I also have a common problem: the number of parameters decreases significantly after quantization. Based on the understanding of QLoRA: Efficient Finetuning of Quantized LLMs  paper, quantization is just a change in the way of representing the parameter value, for example, float32 becomes int4, but this link does not reduce the number of parameters, only the unit of representation of the value is changed.
In addition to this, I have seen similar issues on Huggingface, for example the Mistral-7B model int4 quantization shows a parameter count of 1.24B.

I'm not sure if I'm overlooking some points of knowledge that are causing a misunderstanding of this section? Or is there something wrong with the current presentation of parametric quantities?

Hmm, this is really a bug in how we compute the number of parameters for quantized layers. We just compute the size of the weight which for a quantized model will be much smaller..

That said, there should be no issue fine tuning that model. It's just the parameter count that's being printed which is off.

@awni Thank you very much for your answer.


Minor typo fix

The index ranges from 0 to T - 1, but we are considering i + 1, so i cannot be T - 1. It can only go up to T - 2.

Thank you for creating these amazing posts! This is such an excellent way to learn about STARK!


feat: implement /ad page

PR Checklist

[x] Addresses an existing open issue: fixes #17
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Adds an /ad page hardcoded to April 2024, along with a logo asset.

@all-contributors please add @git-megan for maintenance.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


chore: adaptations to nightly-2024-03-16

This is still work in progress.
(If you want to contribute to helping keep Mathlib compatible with nighties, please prioritize working here rather than nightly-testing. We can merge freely from this to nightly-testing, but should not the other way, because nightly-testing will keep advancing to subsequent nightlies.)

bors d+