feat: app client secret omission

Description of changes:
Rework off reverted previous change https://github.com/aws-amplify/amplify-cli/pull/5992. This change sets the cognito default to generate the AppClientSecret to false and writes the secret to the native config files when the secret is configured in the app client.
The previous change did not take into consideration of an existing appClient with a configure client. In the new change the configuration files will possess the secret only if it's configured
New Projects
There will be two app clients same as before but the native app client will not be configured to generate a secret and the configuration file for IOS/Android will contain the secret either.
Existing Projects with Auth Enabled
The change will not affect any existing configuration of their app clients in Cognito.
Steps to test
yarn setup-dev
cd <project-folder>
amplify-dev init
? Enter a name for the project testProject
? Enter a name for the environment dev
? Choose your default editor: Visual Studio Code
? Choose the type of app that you're building ios
Using default provider  awscloudformation

For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html

? Do you want to use an AWS profile? Yes
? Please choose the profile you want to use default

add auth
amplify-dev add auth
Using service: Cognito, provided by: awscloudformation

 The current configured provider is Amazon Cognito.

 Do you want to use the default authentication and security configuration? Default configuration
 Warning: you will not be able to edit these selections.
 How do you want users to be able to sign in? Username
 Do you want to configure advanced settings? No, I am done.

push
amplify-dev push
✔ Successfully pulled backend environment dev from the cloud.

Current Environment: dev

| Category | Resource name | Operation | Provider plugin   |
| -------- | ------------- | --------- | ----------------- |
| Auth     | tagsf536171d  | Create    | awscloudformation |
? Are you sure you want to continue? (Y/n) y

Auth is ready to use in your project
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Step followed for testing:
yarn setup-dev
cd <project-folder>
amplify-dev --version
$ 4.41.1

amplify-dev init
? Enter a name for the project NoClientSecret
? Enter a name for the environment dev
? Choose your default editor: Visual Studio Code
? Choose the type of app that you're building ios
Using default provider  awscloudformation

amplify-dev add auth
Using service: Cognito, provided by: awscloudformation

The current configured provider is Amazon Cognito.

Do you want to use the default authentication and security configuration?
? Default configuration
Warning: you will not be able to edit these selections.
How do you want users to be able to sign in?
? Username
Do you want to configure advanced settings?
? No, I am done.

amplify-dev push

Checked both of the json configuration file and there is not client secret.
Checked the Cognito console and there are two app clients created and both of them do not have client secret.
AWS iOS SDK testing:

SignIn without signup - Successful  (Returned user not found error)
Signup a user - Successful
Confirm Signup - Successful
Signin with the new user - Successful
Retreive Cognito User Pool tokens, Cognito Identity Pool ID, AWS Credentials - Successful

Test case 2 - HostedUI
amplify-dev add auth
Using service: Cognito, provided by: awscloudformation

 The current configured provider is Amazon Cognito.

 Do you want to use the default authentication and security configuration? Manual configuration
 Select the authentication/authorization services that you want to use: User Sign-Up, Sign-In, connected with AWS IAM control
s (Enables per-user Storage features for images or other content, Analytics, and more)
 Please provide a friendly name for your resource that will be used to label this category in the project: noclientsecreta801
d5efa801d5ef
 Please enter a name for your identity pool. noclientsecreta801d5ef_identitypool_a801d5ef
 Allow unauthenticated logins? (Provides scoped down permissions that you can control via AWS IAM) No
 Do you want to enable 3rd party authentication providers in your identity pool? No
 Please provide a name for your user pool: noclientsecreta801d5ef_userpool_a801d5ef
 Warning: you will not be able to edit these selections.
 How do you want users to be able to sign in? Username
 Do you want to add User Pool Groups? No
 Do you want to add an admin queries API? No
 Multifactor authentication (MFA) user login options: OFF
 Email based user registration/forgot password: Enabled (Requires per-user email entry at registration)
 Please specify an email verification subject: Your verification code
 Please specify an email verification message: Your verification code is {####}
 Do you want to override the default password policy for this User Pool? No
 Warning: you will not be able to edit these selections.
 What attributes are required for signing up? Email
 Specify the app's refresh token expiration period (in days): 30
 Do you want to specify the user attributes this app can read and write? No
 Do you want to enable any of the following capabilities?
 Do you want to use an OAuth flow? Yes
 What domain name prefix do you want to use? noclientsecret
 Enter your redirect signin URI: myapp://
? Do you want to add another redirect signin URI No
 Enter your redirect signout URI: myapp://
? Do you want to add another redirect signout URI No
 Select the OAuth scopes enabled for this project. Phone, Email, OpenID, Profile, aws.cognito.signin.user.admin
 Select the social providers you want to configure for your user pool:
? Do you want to configure Lambda Triggers for Cognito? No

Checked both of the json configuration file and there is not client secret.
Checked the Cognito console and there are two app clients created and both of them do not have client secret.
AWS iOS SDK testing:

SignIn without signup - Successful  (Returned user not found error)
Signup a user - Successful
Confirm Signup - Successful
Signin with the new user - Successful
Retreive Cognito User Pool tokens, Cognito Identity Pool ID, AWS Credentials - Successful

Step followed for testing:
yarn setup-dev
cd <project-folder>
amplify-dev --version
$ 4.41.1

amplify-dev init
? Enter a name for the project NoClientSecret
? Enter a name for the environment dev
? Choose your default editor: Visual Studio Code
? Choose the type of app that you're building ios
Using default provider  awscloudformation

amplify-dev add auth
Using service: Cognito, provided by: awscloudformation

The current configured provider is Amazon Cognito.

Do you want to use the default authentication and security configuration?
? Default configuration
Warning: you will not be able to edit these selections.
How do you want users to be able to sign in?
? Username
Do you want to configure advanced settings?
? No, I am done.

amplify-dev push

Checked both of the json configuration file and there is not client secret.
Checked the Cognito console and there are two app clients created and both of them do not have client secret.
AWS iOS SDK testing:

SignIn without signup - Successful  (Returned user not found error)
Signup a user - Successful
Confirm Signup - Successful
Signin with the new user - Successful
Retreive Cognito User Pool tokens, Cognito Identity Pool ID, AWS Credentials - Successful

Test case 2 - HostedUI
amplify-dev add auth
Using service: Cognito, provided by: awscloudformation

 The current configured provider is Amazon Cognito.

 Do you want to use the default authentication and security configuration? Manual configuration
 Select the authentication/authorization services that you want to use: User Sign-Up, Sign-In, connected with AWS IAM control
s (Enables per-user Storage features for images or other content, Analytics, and more)
 Please provide a friendly name for your resource that will be used to label this category in the project: noclientsecreta801
d5efa801d5ef
 Please enter a name for your identity pool. noclientsecreta801d5ef_identitypool_a801d5ef
 Allow unauthenticated logins? (Provides scoped down permissions that you can control via AWS IAM) No
 Do you want to enable 3rd party authentication providers in your identity pool? No
 Please provide a name for your user pool: noclientsecreta801d5ef_userpool_a801d5ef
 Warning: you will not be able to edit these selections.
 How do you want users to be able to sign in? Username
 Do you want to add User Pool Groups? No
 Do you want to add an admin queries API? No
 Multifactor authentication (MFA) user login options: OFF
 Email based user registration/forgot password: Enabled (Requires per-user email entry at registration)
 Please specify an email verification subject: Your verification code
 Please specify an email verification message: Your verification code is {####}
 Do you want to override the default password policy for this User Pool? No
 Warning: you will not be able to edit these selections.
 What attributes are required for signing up? Email
 Specify the app's refresh token expiration period (in days): 30
 Do you want to specify the user attributes this app can read and write? No
 Do you want to enable any of the following capabilities?
 Do you want to use an OAuth flow? Yes
 What domain name prefix do you want to use? noclientsecret
 Enter your redirect signin URI: myapp://
? Do you want to add another redirect signin URI No
 Enter your redirect signout URI: myapp://
? Do you want to add another redirect signout URI No
 Select the OAuth scopes enabled for this project. Phone, Email, OpenID, Profile, aws.cognito.signin.user.admin
 Select the social providers you want to configure for your user pool:
? Do you want to configure Lambda Triggers for Cognito? No

Checked both of the json configuration file and there is not client secret.
Checked the Cognito console and there are two app clients created and both of them do not have client secret.
AWS iOS SDK testing:

SignIn without signup - Successful  (Returned user not found error)
Signup a user - Successful
Confirm Signup - Successful
Signin with the new user - Successful
Retreive Cognito User Pool tokens, Cognito Identity Pool ID, AWS Credentials - Successful

Confirmed the same from Android side using the above instructions

Confirmed the same from Android side using the above instructions


proxy requests from 3002 to 3001 so that the UI only talks to itself

Yes I lied when I said I was out for today, couldn't let that one go sorry.
This is great, this means all /api calls are now made to the same origin. It will make auth much simpler.
I had to customize the proxy as described in https://create-react-app.dev/docs/proxying-api-requests-in-development/#configuring-the-proxy-manually because one cannot use "localhost" in docker composed networks (https://docs.docker.com/compose/networking/).

 Set up a login and auth mechanism.


Move erasure logic to the app

Since we will be using ABCI++ soon, we should be able to move the erasure logic to the app. The encoding can take place during the new PrepareProposal and ProcessProposal methods.

This can be closed with https://github.com/celestiaorg/celestia-app/pull/224


Remove roi_align_2d to maintain consistency

roi_align_2d was added in v5 beta. But, It interface has no consistency as roi_pooling_2d.

Renameing issue #5305

Thanks.


Provider build is failing

Build is failing with below error
set up buildx
setup qemu
Error: Error: The process '/usr/bin/docker' failed with exit code 125

https://github.com/kairos-io/provider-kubeadm/actions/runs/4130072440/jobs/7138805616

Anything we can do specifically here? Seems that was fixed already?

@rishi-anand can we close this?


BUGFIX: Fix ImageUpload FormElement rendering

Adjusts the Fluid Template for the ImageUpload field (and the corresponding
ViewHelper) to make the upload work again with latest Flow/Neos versions

Merging because this just makes sense ;)


NPE while opening any file

Stacktrace
java.lang.NullPointerException
	at me.coley.recaf.Input.registerLoadListener(Input.java:678)
	at me.coley.recaf.ui.FxWindow$FilePane.onInputChange(FxWindow.java:834)
	at me.coley.event.EventBus$InvokeWrapper.invoke(EventBus.java:471)
	at me.coley.event.EventBus$Handler.invoke(EventBus.java:299)
	at me.coley.event.EventBus$Handler.post(EventBus.java:263)
	at me.coley.event.EventBus.post(EventBus.java:98)
	at me.coley.event.Bus.post(Bus.java:63)
	at me.coley.recaf.event.NewInputEvent.lambda$call$0(NewInputEvent.java:51)
	at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
	...

Steps to reproduce

Open any file
Aaaannnd... there you have it

Note
The reason this bug isn't discovered until now is the eventbus eats up all the exceptions produced in listener method silently. I only discovered this because I'm refactoring Events library and tried to test the new version on Recaf, so you can't reproduce it immediately on your environment.

Opps. This can be solved with a simple check in FxWindow to see if Recaf started as an agent. This doesn't break anything since its the last line that would be executed.

Pushed the update in the events repo. Your refactored version can be used by updating the recaf pom.xml :+1:


Support reading gzip files as-is with google-cloud-storage?

Is your feature request related to a problem? Please describe.
https://cloud.google.com/storage/docs/transcoding describes that if I upload a file with content-encoding set to gzip, it's automatically decompressed before being sent, unless I specify Accept-Encoding: gzip. However, I can't find an obvious way to do that with google-cloud-storage, so I wonder if is it supported to do so, or if there's another way to read gzipped file as is.
Note that sometimes I do want to get the file back unzipped, so I want to set the encoding when I save the object.
Describe the solution you'd like
google-cloud-storage should provide an option to set Accept-Encoding when downloading a blob. For example, make it an option of Blob.downloadTo maybe.

Or maybe there's some hidden logic and actually I do get the gzipped file when I call blob.downloadTo? I couldn't find anything related in the gcs java client library reference.


[stable/concourse] Can't login to concourse using github

Is this a request for help?: YES
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Can't login using github login on concourse
Version of Helm and Kubernetes:
Helm:

client version v2.12.1
server version v2.12.1

Kubernetes:
server version: 1.12.5-gke.5
Which chart:
Concourse
What happened:
Internal Server Error while trying to login
What you expected to happen:
Github login should take place successfully
How to reproduce it (as minimally and precisely as possible):

Created a oauth app on github and acquired clientid and secret
Setup these values in values.yml
i. githubClientId
ii. githubClientSecret https://github.com/helm/charts/blob/master/stable/concourse/values.yaml#L1741-L1742
iii. github.enabled: true https://github.com/helm/charts/blob/master/stable/concourse/values.yaml#L666
iv. externalUrl: http://concourse-prod.myserver.com
https://github.com/helm/charts/blob/master/stable/concourse/values.yaml#L101
v. Github oauth application redirect uri: http://concourse-prod.myserver.com/sky/issuer/callback

This service is available publicly (server name changed)
When I try to login using github, I think the login is successful, but there seems to some issue exchanging the authorisation code for auth token. I get redirected to this uri
http://concourse-prod.myserver.com/sky/issuer/callback?code=6620008a9dd2892397d8&state=rc4wyemnzeyt24lz6gqeqdf65
and it throws a 500 error (image attached)

I can see the folllowing in concourse-web's log
"timestamp":"1552888898.884241104","source":"atc","message":"atc.dex.event","log_level":2,"data":{"fields":{},"message":"Failed to authenticate: github: failed to get token: oauth2: server response missing access_token","session":"5"}}

Did I miss any configuration?

I'm seeing something very similar to this. After going through the web auth flow on GitHub, I am redirected back to Concourse and see:

The callback URL is sky/issuer/callback?code=....&state=.... so it seems like this should work totally fine

This was caused by my client secret being incorrect ^


Adding some serial configuration options

The other change in here, which I can understand if you'd rather that I reverted, is changing the package name from "serial" to "goserial" to meet normal Go package naming conventions (i.e package named after last directory component).

Hi @huin
I think this got superseded by #38 which I just merged.
Thanks!
Tarm


Unable to add plugs after reinstalling app

Hello There
I had 3 plugs added in homey for a long time and always worked perfectly.
I bought 6new plugs Andries to add them all new to honey, which worked to add them but only 1 wasshowingasconnected.the others where all offline.
Now 8 reinstalled the app and try to add the plugs again but always get a timeout and homey cannot find any plugs
717c18fd-5843-4748-9da1-3a747b027307
Here is the diagnostic code
Thank your your help.

Guten Morgen,
First try to unplug and plug in the device, then you have about 5 minutes to pair the device with the homey. myStrom devices are only in pair mode for a short time.
btw, the diagnostic code is unfortunately only for athom itself, I have no access to it.
Gruss Chris

Hallo Chris
Also verstehe ich es richtig.
Die myStrom Plugs werden somit von Homey nicht über irgendeine API zum
myStrom Portal oder sonst wie gefunden.
Gut zu wissen. Wobei als ich die Adapter für einmal hinzufügen konnte
waren seit der ersten Inbetriebnahme der Plugs schon einige Stunden
vergangen. Dennoch hat Homey alle 9 gesehen, aber wie gesagt. Es war nur
einer davon erreichbar von Homey.
Ich werde das heute Abend mal versuchen.

Danke & Gruss
Alex
Am 02.10.2020 07:29, schrieb Chris Gross:

Guten Morgen,
First try to unplug and plug in the device, then you have about 5
minutes to pair the device with the homey. myStrom devices are only in
pair mode for a short time.
btw, the diagnostic code is unfortunately only for athom itself, I
have no access to it.
Gruss Chris
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
Links:
[1]
https://github.com/cgHome/homey.myStrom/issues/5#issuecomment-702532720
[2]
https://github.com/notifications/unsubscribe-auth/ARHFQS7LPQB4DE2FS3F7I5TSIVQJ3ANCNFSM4SBIJZSQ

Hallo Chris
Leider hat das nicht den gewünschten Effekt gebracht.
Habe 3 der Plus mal aus/eingesteckt und gewartet bis die LED weiss ist.
Aber mit Homey finde ich nun keine Plugs mehr.
Hast du noch eine weitere Idee woran es liegen könnte?
Danke & Gruss
Alex
Am 02.10.2020 07:29, schrieb Chris Gross:

Guten Morgen,
First try to unplug and plug in the device, then you have about 5
minutes to pair the device with the homey. myStrom devices are only in
pair mode for a short time.
btw, the diagnostic code is unfortunately only for athom itself, I
have no access to it.
Gruss Chris
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
Links:
[1]
https://github.com/cgHome/homey.myStrom/issues/5#issuecomment-702532720
[2]
https://github.com/notifications/unsubscribe-auth/ARHFQS7LPQB4DE2FS3F7I5TSIVQJ3ANCNFSM4SBIJZSQ

Morning,
i cannot reproduce the problem, i suggest the following

Test the plugs are visible via the myStrom app (IOS/Android) and is the FW accurate. If no > Configure in app and update FW.
Test the plug's with the myStrom app.
Have you defined any log-flows ? (Error comes from this corner) If yes, delete them.
If everything doesn't help, uninstall Homey myStrom app and reinstall everything.

PS: You are the only one with these problems, so there must be something special about your system.
Gruss
Chris

Hello Chris
Does it have something todo with Homey v5.0 i have installed?
I read it uses SDK3.0 and not 1.0 anymore (I think). I had the update
message and well just clicked update without realising its still a Beta.
How does your Homey App find the Plugs?
Will try your suggestions and let you know if it helped.
Thank you and best regards
Alex
Am 05.10.2020 08:27, schrieb Chris Gross:

Morning,
i cannot reproduce the problem, i suggest the following

Test the plugs are visible via the myStrom app (IOS/Android) and
is the FW accurate. If no > Configure in app and update FW.
Test the plug's with the myStrom app.
Have you defined any log-flows ? (Error comes from this corner) If
yes, delete them.
If everything doesn't help, uninstall Homey myStrom app and
reinstall everything.

PS: You are the only one with these problems, so there must be
something special about your system.
Gruss
Chris
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
Links:
[1]
https://github.com/cgHome/homey.myStrom/issues/5#issuecomment-703425733
[2]
https://github.com/notifications/unsubscribe-auth/ARHFQSYMDF5ZUUNGOX2M5IDSJFRMBANCNFSM4SBIJZSQ

SORRY, nobody said anything about the app working under Homey v5.
Homey v5 is still beta and beta versions are not suported


How to set up mTLS HTTP probes?

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I want to set up an HTTP probe that send an XML and check if the response is OK.
But, this exchange must use mutual TLS authentication.
There is a possibility in the menu to add the certificate, the key and the CA cert, but I can't find any information about the wanted format in the form (0 info in the Wiki about this feature).
Does the information below seems OK? Or is the wanted format is different? (because I have an SSL error)
And for the CA, I don't know what to fill in the form.

Thank your for your help.
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
Ubuntu 22.04 LTS
🌐 Browser
Firefox 127
🖥 Deployment Environment

Runtime: Docker
Database:
Filesystem used to store the database on:
number of monitors:

Is your private key decrypted?
https://github.com/louislam/uptime-kuma/pull/2531#issuecomment-1466367710

Yes, it is.
I think the problem may be more focused on the CA cert. Does it need the whole chain? In which format?

I think the format is shown here https://github.com/louislam/uptime-kuma/pull/2531#issuecomment-1466367710. Does that work?
CC @doubles-ss

@cdelanchy If CA not necessary you can omit it.
About format you should try pkcs8.

CA is mandatory.
Thank you all for your answers: I put the CA chain in the CA form part with the format "----BEGIN CERTIFICATE--- blabla". Everything is working fine! So thanks a lot!
If I may suggest putting part of the issue details you provided to me in the Wiki would help other people?
The code for this is locaged her
https://github.com/louislam/uptime-kuma/blob/1a5a1a6e5d019b3dc58d114327f6765da0bee5f5/src/pages/EditMonitor.vue#L784
Our contribution guide is here: https://github.com/louislam/uptime-kuma/blob/1a5a1a6e5d019b3dc58d114327f6765da0bee5f5/CONTRIBUTING.md

Thank you, I'll try to do this in August.


it was fixed zero param, when you put a zero param it'll search by 0

This fix is to solve this problem,
https://github.com/CakeDC/search/issues/196
By any doubt or problem, please let me know.
Thanks,
Peter Moraes.

Peter, please make a new pull request after check this is happening after merge #219


Build non-legacy archive versions correctly

Description

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit ce21268234c93268eaa8702dfe7b495a3f4b0ba7
https://deploy-preview-3332--calico.netlify.com

Deploy preview doesn't look right though...


Process not redirecting output when running python in cmd

Concerning IntegratedTerminal.xaml.cs
Running a single command with a Process and getting its output is quite simple. But I cannot get it to work to run python in the cmd. I expected that the Process would read >>> from the python interpreter when you run cmd.exe /c python, but the Process is not firing the OutputDataReceived event. Any ideas why?
You can test the behaviour by simply running pyton in the Integrated Terminal.

Probably because no newline is printed.  Process output event only gets called when a newline is printed.


Provide more accurate information about versioning for in-flight instances

I consider this topic has being very important, easy to forget and tricky to debug, so I would like to have more information to prevent any issues. By reading the document, it sounds that once you go in Production with your code, it should not change at all since any small logic change is breaking for the replay. My remarks are around the fact that I don't want to lose data and keep my in-fligh instances running, considering that some workflows we have will be running for weeks.
For in-flight instances and versioning:

Provide more information about the impact of changing the HubName? What will happen to the tasks part of the previous HubName, are they still being executed or they will be pending forever?
Provide complex examples with step-by-step examples of how to resolve the versioning issue. If I create a workflow that is meant to run for several weeks and involve multiple steps (and multiple versions of the code), what is the appropriate approach to follow? Examples:

Create multiple orchestrators and execute them as Sub-Orchestrators
Do not create long running workflows that are expected to live for a long time

Provide best practices of code organization/flow to ease transition from one version to another. Examples:

minimize the amount of logic inside the orchestrator and move it inside activities to prevent replay errors.
provide complex types as Input and Output of activities in order to have more control over serialization breaking changes

Provide more information about renaming the Function approach. Do I need the same orchestrator code, but just change "Foo" for "Foo2" and everything will work correctly?
For "Deploy all the updates as entirely new functions (new names)" --> I guess we need to keep both the new and old function to make sure previous version continue to work correctly?
What is the impact of adding or removing "WaitForExternalEvent" calls?
What is the impact of having a do-while that continously "WaitForExternalEvent" vs replay/versioning?

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

ID: ae9ac6a0-6b49-c116-7fa4-59e104edf2d2
Version Independent ID: bb8f7436-91ca-36ef-1ce8-7d2b9fcf5b50
Content: Versioning in Durable Functions - Azure
Content Source: articles/azure-functions/durable-functions-versioning.md
Service: functions
Product: unspecified
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

@SimonLuckenuik Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Could you please point me to the updated documentation?

@SimonLuckenuik I'm impressed that you're still interested in following up on this docs issue even after ~515 days (apparently this was the oldest still-open docs issue for Functions)! :) I just checked and the updates should be published now. You can find the updated content here: https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-versioning.
You can also see the diff here: https://github.com/MicrosoftDocs/azure-docs/commit/1ce14d7eb0e434a4634b1879fbb129bb18eb1707#diff-422d3f2958314dc5fe55203073f37052
You may be slightly disappointed because I didn't make all the updates you requested. I tried to fit in as much as I could efficiently, though at the same time I wanted to be careful about providing too much guidance. My worry is that providing too much information about in-place updates may cause more folks to attempt them (and shoot themselves in the foot). I'd rather try to encourage readers to go down the side-by-side deployment path.
I'm open to updating this information further if you think it's necessary. If so, please open a new issue and can follow up there.
FYI @anthonychu

@cgillum, I just raised a follow-up issue on versioning directly in the Durable Functions repo to have proper visibility. It would be nice if some developers could share how they are handling versioning as well.


ci: bump external workloads workflow timeouts

After commit 233cec30270e ("gha: Bump cilium cli to v1.12.2") the
external workloads workflow started timing out occasionally because
more tests were added in cilium-cli v0.12.2 and thus run times
increased. Bump the workflow timeouts to avoid this.
Follows cilium/cilium-cli#1067

Workflow passed on test commit without timing out: https://github.com/cilium/cilium/runs/8094819736?check_suite_focus=true


Add attribution link below the widgets

I was in contact with the Tradingview support and they checked my site which uses this library. They mentioned that we shouldn't use their widgets without the attribution at the bottom of the widget (not the one inside the widget) as seen here:

It is not showing on the demo page as well, so I guess this is not showing on purpose?

Hey, also just got in contact with TradingView. I was not aware the attribution was required. I think I will be integrating the attribution in the components, with customizable styling.

Fixed in 1.0.9

I know this issue is closed already, but I reached out tradingview for the exact same issue, and they told me something different. They sended me a bunch of PNGs to implement into my website (for example into the footer), if I want to delete the attribution line, so it would be nice to implement that the attributtion is switchable.

Hm that's interesting. They indeed contacted me and asked me to include the attribute under the widget. Which is why I only added styling customization so you could position it anywhere below the chart 🤔

Ok, maybe they decide differently on a case-by-case basis. you have built a framework to use the widgets, maybe they rate it different than a website. Or maybe it was also about the fact that it has to appear in the framework at all and must not be omitted from the outset.

Ye I assume the last part, could contact for more clarification

I know this issue is closed already, but I reached out tradingview for the exact same issue, and they told me something different. They sended me a bunch of PNGs to implement into my website (for example into the footer), if I want to delete the attribution line, so it would be nice to implement that the attributtion is switchable. That´s what they wrote (google-translated):
We are very pleased that you have integrated our widgets. On the chart page, the logo must have do_follow signature. See screenshot in the attachment. I also attach the logos. On the page of the Frankfurt Stock Exchange, below footer is a great example: https://www.boerse-frankfurt.de Let us know if you have any further questions. Thank you in advance.

Can you attach the screenshot they sent you, please? 🙏🏽


Harden Tor browser.wsb

Reduces the attack surface (disables vGPU) and enhances the Sandbox security (disables webcam and microphone input, and local printer redirection). I recommend the same changes to the Downloads Folder Detonation Chamber.

Made the same changes to Downloads Folder Detonation Chamber!
https://github.com/HotCakeX/Privacy-Anonymity-Compartmentalization/commit/b001920bf75b66868b19abdf24ccbdbeb4a5ed77

Nice! It may also be a good idea to disable Clipboard Sharing (<ClipboardRedirection>) between the host and the Sandbox for delicate issues (e.g. Tor Browser and Detonation Chamber), as this can allow sensitive data to be copied, by mistake or by attack, from the virtual machine onto the host operating system or vice versa. Depending on where you want to place the cursor between usability and safety. 🙂

Nice! It may also be a good idea to disable Clipboard Sharing (<ClipboardRedirection>) between the host and the Sandbox for delicate issues (e.g. Tor Browser and Detonation Chamber), as this can allow sensitive data to be copied, by mistake or by attack, from the virtual machine onto the host operating system or vice versa. Depending on where you want to place the cursor between usability and safety. 🙂

You're right, it will make it a bit inconvenient but also more secure. made the changes!
https://github.com/HotCakeX/Privacy-Anonymity-Compartmentalization/commit/711328976f37fc0a59f1be04c64e0f290585aab1


add use of zend/log/exception to psr writer

Fix Faulty PHP DocBlock in Psr.php #90

@dennybrandes thank you


Follow the mockups

@danielfranca  - Hey There
Is there some way to get involved with the UX & UI design process around these screens and the App?  I'd be really keen to dive in, if there's appetite and interest.

Absolutely! @Pushplaybang are you on the Slack channel?

@danielfranca Do you have sources for that images?

bitnation_pangea_UIdesign_assetsIos.tar.gz
Here they go :)

@xsttx  - on slack -do you mean the _dev channel, just joined?  Heading to bed now, but would be keen to join the conversation,

Closing and leaving it into history


Mediapipe Pose livestream segmentation causes Python to quit

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Windows 11
MediaPipe Tasks SDK version
mediapipe version 0.10.0
Task name (e.g. Image classification, Gesture recognition etc.)
Pose
Programming Language and version (e.g. C++, Python, Java)
python
Describe the actual behavior
Mediapipe causes Python interpreter to quit without any error messages , upon trying to call .numpy_view() on the results segmentation mask

Describe the expected behaviour
Mediapipe should continue running and constantly output new segmentation masks

Standalone code/steps you may have used to try to get what you need
#already posted here: https://github.com/googlesamples/mediapipe/issues/161

import cv2
import mediapipe as mp
import numpy as np

def print_result(result: PoseLandmarkerResult, output_image: mp.Image, timestamp_ms: int):

    # this is the problem line
    alpha= result.segmentation_masks[0].numpy_view()

options = PoseLandmarkerOptions(
    base_options=BaseOptions(model_asset_path='pose_landmarker_full.task'),
    running_mode=VisionRunningMode.LIVE_STREAM,
    output_segmentation_masks=True,
    result_callback=print_result)

with PoseLandmarker.create_from_options(options) as pose:
    cap = cv2.VideoCapture(0)
    i = 0
    while (1):
        succes, image = cap.read()
        image = np.array(image)
        imgRGB = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
        mp_image = mp.Image(image_format=mp.ImageFormat.SRGB, data=imgRGB)
        pose.detect_async(mp_image,i)
        i += 1

Other info / Complete Logs
replacing alpha= result.segmentation_masks[0].numpy_view() with alpha= result.segmentation_masks will cause Mediapipe to continue running, and alpha is of type mediapipe.python._framework_bindings.image.Image object

SOLVED
the issue is caused by PoseLandMarkerResult returning 'none' in the first few frames, thus the [0] and the .numpy_view() are not valid commands
def print_result(result: PoseLandmarkerResult, output_image: mp.Image, timestamp_ms: int):
    if result.segmentation_masks is not None:
       alpha= result.segmentation_masks[0].numpy_view()

@ccarmatic,
Thanks for the confirmation. Closing this issue as it has been resolved.


Add integration test for AI modifications

This adds a mocked client and service for matrix, and a test that creates a room with a patch message in.
Issues:
The test successfully navigates to the room, the room contains the right button and the waitFor and clicks of the apply button succeed. When the test is paused you can see the data has not changed, but when you manually click the button in the paused state the change succeeds.
I think there's either:

A typo/similar I'm not spotting
Something else I should be waiting for
Something I'm misunderstanding about the test setup

The apply wasn't applying, just saving. This was masked in user interaction because the hover changed the data.


Typeahead for a SKOS Collection

Can the Brays typeahead get values limited to a specific collection in Cedar? The Genre field will most likely be a subset of the Concept class identified by a collection:

https://uhlibraries-digital.github.io/bcdams-map/#hasType
https://vocab.lib.uh.edu/en/collections/aat.html

Collections are handled differently in Cedar. Brays only pulls from the hierarchy.ttl file to get the full list of concepts. This is the only option within the API to get any hierarchy information along with all the prefLabels. This is how Brays limits values based off the Range label (not the uri).
Collection is only a list of references. Brays could mash that with the full hierarchy information, but Brays will need to know it's a collection to get the information and what to do with it for typeahead to work.
I think we need to build a more robust API in Cedar to handle all these use-cases with Brays and other applications.

The Cedar API enhancements could possibly take the form of a Linked Data Fragments interface.

I would like to move this discussion into Cedar to improve its API to address requests like these. We can open up more issues in Brays once new APIs become available.
https://github.com/uhlibraries-digital/cedar/issues/13


IOError: Could not prepare index seq for hg38-noalt by any method

Thanks a lot for making this pipeline available to the research community.
Unfortunately, for ca. 48 hours now, I have run into the following error
IOError: Could not prepare index seq for hg38-noalt by any method

when trying to install bcbio using the bcbio_vm.py script with the following command:
bcbio_vm.py --datadir=~/install/bcbio-vm/data install --data --tools --genomes hg38-noalt --aligners bwa

Please find the full error message attached:
error.txt
The same command worked a few days ago, so perhaps some of the reference file paths / names have changed?

Thomas;
Sorry about the problems with the data preparation. The hg38 support is still a work in progress and we're hoping to phase out the hg38-noalt target in favor of only supporting hg38. The remaining problem point is RNA-seq support with alts, but Rory has been making good progress on that. Would installing hg38 instead be an option for you? Let us know if this has any issues at all.
@roryk, do we want this to work for hg38-noalt, or can we start to deprecate that genome. We could leave basic support but skip anything extra and then remove it over time. What do you think?

Hi Brad and Thomas,
I'd love to deprecate no-alt. The outstanding issue is that with hg38 we lose the annotation of genes on the alt alleles when using the Ensembl gene annotation. The issue is that the alts are specified using two different sets of coordinates; Ensembl replicates the entire chromosome with just the alt region different and the UCSC builds we are using just have the alt portion with some annotation about where it should go. The coordinates don't entirely add up though, if you have any ideas about who might be a good person to talk to about translating between the two that would be super helpful.
I have runs of hg38 and hg38-noalt with the SEQC data that I haven't analyzed yet. If hg38 looks good even without having the alt gene annotations I think we will be able to go ahead and deprecate noalt.

Hi Bruce and Rory,
thanks a lot for your immediate response. Switching to hg38 fixed the issue and my installation works again. I am mainly interested in the variant calling workflow right now, so I am not blocked by the outstanding issues with RNA-seq.
Sorry, I don't have any insights into how to translate the different coordinate systems at this point.
Thanks again for helping me get back on track with the installation!
Thomas


Lack of securityContext for alertmanager and prometheus volumes

Is it just me?
A fresh volume mounted for prometheus or alertmanager is not writable to the user (65534) that runs the processes. The root directory of a dynamically created volume is owned by root and has rwxr-xr-x permissions.
I had to add a securityContext for each in custom manifests:
spec:
  securityContext:
    fsGroup: 65534

Hrmm, I haven't seen that issue before, but perhaps your environment is different than ours. Most of our testing unfortunately is with either pre-made persistent volumes (CodeReady Containers) or ephemeral storage. Perhaps this is an issue seen when another file system driver, or dynamic persistent volume claims are in use?

Yes, I'm using dynamic PVC, created by openstack-cloud-controller / cinder-csi-plugin. It seems just natural to me as a fresh volume probably has a filesystem owned by root with readonly access to others. Do I need to provide more input?

I don't think so. This does seem like something we should do, I'm just not familiar enough with securityContext's to understand what they provide and why we might need it. I started reading about them yesterday but then got into building dashboards. I'll come back to this shortly and we'll move this forward somehow. Thanks!

@dr4Ke hey sorry, I haven't been ignoring this issue, but just haven't had an environment with a real backing store to test this. I finally got myself a virtual OpenShift instance running on OpenStack backed by a dynamic data store (Cinder in my case).
So I think I'm to the point of looking for more information :) If I create an STF instance with persistent storage for Prometheus, ElasticSearch, and Alertmanager, what should I look at, and what are the implications or issues I might experience if we're not setting the securityContext correctly?
Now that I have an environment to poke at I think we can make some progress to resolving this issue. Thanks!

No worry. I don't use an openshift instance myself and do my testing on a "simpler" kubernetes installation (installed with RKE).
The issue I had was that the prometheus process was not able to write in the mounted persistent volume, since it was owned by root and had rwxr-xr-x permissions. Adding the fsGroup solved the issue by managing owner and permissions.
(I also had permission issues even with fsGroup due to how the openstack cloud controller works. But that's another story.)

We haven't really had any issues with the current setup, and it's possible things in OCP have changed or we've naturally updated for this to not be an issue. Closing this out as part of repo clean up.


Kadane's Algo

Issue Id you have worked upon -
#352
Briefly explain your program logic -
Here we will be given array an we have to find max sub Array
i).We will add the subArray and store in CurrentSum.
ii).If CurrentSum is greater than MaxSum update MaxSum,
iii).If CurrentSum is less than zero(negative) discard the sum.i.e.CurrentSum=0;
iv).Return the MaxSum.
Screenshots(Attach 2 screenshots of your own input and output) -

Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -

[x] I have mentioned the question as comment in my solution file.

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied even after successful merge then I can be banned from the repository and hacktoberfest.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@RAshid602, Kindly re-commit your files. Its showing two files, which in turn is trying to delete another file in the repository.

Can you delete replace.java file,
I think after than it will be resolved.

@RAshid602 here is the easiest way to do this.
First revert your last commit which deletes the file with `git revert HEAD~1`
then recommit without deleting it.

I am not been able to do that Can I generate a new issue with same question. i will be able to push that one easily.👀

Ok if that is the case. Create a PR then. You may close this one, once you have read this comment.


Unable to use RabbitMQ as sink

I am following the documentation to create a tap that sends messages to RabbitMQ, however, when I try to create the queue it gets created in exclusive mode - exclusive column shows "<IP_ADDRESS>:54517" and because of which I get 415 error code when trying to read messages of the queue: The exact error code is
405 RESOURCE_LOCKED - cannot obtain exclusive access to locked queue 'xdbus.tap:stream:ndvr-rt-scheduler.http.0.8dcfdf07-051d-405e-9611-d64d2a852b7b' in vhost '/'
The definition of my stream is as follows
stream create --name tap-rt --definition "tap:stream:rt > rabbit --username=spring-xd --password=spring-xd --addresses=<IP_ADDRESS> --routingKey='"rt-queue"'" --deploy

In version 1.0.1.RELEASE, no matter what I give as routingKey Spring-XD creates queue with xdbus.tap:stream:.http.0.d55a4423-3ac4-4453-b3bf-9d8b3f238bbf as routingKey. I am using following to create the tap
stream create --name my-tap --definition "tap:stream:mystream > rabbit --username=foo --password=bar --addresses=<IP_ADDRESS> --routingKey='"xdbus.mytap.0"'" --deploy

Exactly what are you trying to do?
That stream will tap mystream and attempt to forward it to the default exchange "" with a routing key of xdbus.mytap.0. Meaning it's attempting to forward the tapped message to a queue called xdbus.mytap.0.
You have no control over the name of the tap queue itself.


webview implementation for TargetPlatform.fuchsia but there isn't a default one

Hi,
Thanks again for all the hard work regarding the plugin.
I have successfully added the plugin to my app. But i keep getting the below error and I am unable to play any play the video.
Unsupported operation: Trying to use the default webview implementation for TargetPlatform.fuchsia but there isn't a default one
Has anyone seen this before?

Can you mention the platform ? Are you trying to use on Flutter Web ?

Please reopen the issue if the problem still persists

the same

who to fix it !

Does anybody fixed this issue?


Add prometheus-exporter to HAProxy

As of 2.0.0, HAProxy includes a Prometheus exporter module that can be built into a binary during build time.
To build with the official Prometheus exporter module, make should be run with the following EXTRA_OBJS flag:
make TARGET=linux-glibc EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o"
Once built, prometheus-exporter can be enabled in haproxy.cfg:
listen stats
  bind <IP_ADDRESS>:9090
  balance
  mode http
  stats enable
  http-request use-service prometheus-exporter if { path /metrics }

For more infromation, see this official blog post

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Will this be released in v1.14.3?


how to run these files

I am xaml beginner. So i dont know how to run these. Please guide me.

Check the sample at https://code.msdn.microsoft.com/windowsdesktop/Converting-between-RTF-and-aaa02a6e/sourcecode?fileId=21412&pathId=403327065


WIP: influxdb

This should allow to expose remote write feature used by prometheus

https://www.influxdata.com/blog/influxdb-now-supports-prometheus-remote-read-write-natively/


Added Orchestration services feature. Minor fixes in Monitor list page.

Added the orchestration services list page.

Added the create instance form page

Added the Instance list page.

Fixed minor issues in Monitor list page.

@leonwanghui @jimccfun
Please review and merge.

@skdwriting Please review and merge.

Few comments for the Screenshots:
Service List page:
a) We are saying Number of instances but actually we are showing the name of instances
Create Instance:
a) The input keys should have user friendly names. Ex: 1) instead of 'Instance details' we can say 'Details' 2) Instead of InstanceName say 'Name'  all this because we are already in the context of Instance only.
b) For the parameters, keys can be user friendly ex: 1) DestBackend 2) SrcBackend 3) DestBucketName are not good.
3) IMO, the info icon for RemainSource should come with Remain source rather than with true/false

@kumarashit

Few comments for the Screenshots:
Service List page:
a) We are saying Number of instances but actually we are showing the name of instances

This is a bug and I will fix this to show the number of instances. Please raise an issue for this.

Create Instance:
a) The input keys should have user friendly names. Ex: 1) instead of 'Instance details' we can say 'Details' 2) Instead of InstanceName say 'Name' all this because we are already in the context of Instance only.

Although you are in the context of Instance, there are parameters called "Name" which can confuse the user. Hence the distinction by prefixing with "Instance"

b) For the parameters, keys can be user friendly ex: 1) DestBackend 2) SrcBackend 3) DestBucketName are not good.
The value for the the labels should come from the api as there is no way for Dashboard to know what the actual name of the fields since the form is dynamically generated.
3) IMO, the info icon for RemainSource should come with Remain source rather than with true/false
Correct. I will check this and fix this.

@himanshuvar I have addressed your review comments. Please review and LGTM
@kumarashit I will address the issues raised by you in subsequent PRs.

@kumarashit Fixed #82  Number of instances not visible in the Service Catalog page.

LGTM

LGTM.
Please track the comments through Issues/Enhancement.


Compare implementations

This PR is just to understand what are the differences between our approaches.

Doh, I didn't notice this at all 😅

It turns out this is substantially easier than I thought, we don't need crazy pyeval/exec things


EnumerableExtensions.MinBy and MaxBy throw when collection has only null values

string?[] a = { null, null };
var m = a.MinBy(x => x); // throws no InvalidOperationException collection has no elements.

This happens since the methods looks for non default value while the correct is to have an indicator for not empty enumeration.

https://github.com/microsoft/referencesource/blob/5697c29004a34d80acdaf5742d7e699022c64ecd/System.Core/System/Linq/Enumerable.cs#L1540

https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.minby?view=net-6.0
https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.maxby?view=net-6.0


Can't find the code for filtering the CodeSearchNet dataset

Hi,

Remove examples that codes cannot be parsed into an abstract syntax tree.
Remove examples that #tokens of documents is < 3 or >256
Remove examples that documents contain special tokens (e.g. <img ...> or https:...)
Remove examples that documents are not English.

It shows that you filtered the CodeSearchNet dataset in the way above, but I cannot find the corresponding code in this repository.  Also, in the folder 'dataset.zip', I only found the files 'train.txt, valid.txt, test.txt, test_code.jsonl' for the python programming language without the other 5 programming languages. I think they are the results of filtering the dataset, right?
Therefore, could you please provide the code to filter the dataset or provide the filtered data for the other 5 programming languages (java, javascript, php, go, ruby)?  I would appreciate it.
Looking forward to your reply.

please refer to this link https://github.com/microsoft/CodeXGLUE/tree/main/Code-Text/code-to-text


Sigh Adhoc crashes for platform macOS

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
The following commands work just fine:
fastlane sigh renew -a com.test.app --skip-install --development
fastlane sigh renew -a com.test.app --skip-install --adhoc
fastlane sigh renew -a com.test.app --skip-install --platform macos --development

But this one fails with exception:
fastlane sigh renew -a com.test.app --skip-install --platform macos --adhoc

The exception:
/opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/spaceship/lib/spaceship/connect_api/api_client.rb:217:in `handle_response': \e[31m[!] { (Spaceship::UnexpectedResponse)
  "errors" : [ {
    "id" : "xxx",
    "status" : "409",
    "code" : "ENTITY_ERROR.RELATIONSHIP.NOT_ALLOWED",
    "title" : "A relationship in the provided entity is not allowed for this request",
    "resultCode" : 35,
    "detail" : "No devices can be associated to Provisioning Profiles for the App Store."
  } ]
}\e[0m
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/spaceship/lib/spaceship/connect_api/provisioning/client.rb:73:in `proxy_post'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/spaceship/lib/spaceship/connect_api/provisioning/client.rb:37:in `post'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb:253:in `post_profiles'
	from /opt/homebrew/Cellar/ruby@3.1/3.1.4/lib/ruby/3.1.0/forwardable.rb:238:in `post_profiles'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/spaceship/lib/spaceship/connect_api/models/profile.rb:80:in `create'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/sigh/lib/sigh/runner.rb:184:in `create_profile!'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/sigh/lib/sigh/runner.rb:54:in `run'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/sigh/lib/sigh/manager.rb:8:in `start'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/sigh/lib/sigh/commands_generator.rb:62:in `block (2 levels) in run'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/sigh/lib/sigh/commands_generator.rb:140:in `run'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/sigh/lib/sigh/commands_generator.rb:17:in `start'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/fastlane-2.216.0/bin/fastlane:23:in `<top (required)>'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/bin/fastlane:25:in `load'
	from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/bin/fastlane:25:in `<main>'

Environment

 ✅ fastlane environment ✅
Stack

Key
Value

OS
14.1

Ruby
3.1.4

Bundler?
false

Git
git version 2.42.0

Installation Source
/opt/homebrew/Cellar/fastlane/2.216.0/libexec/bin/fastlane

Host
macOS 14.1 (23B74)

Ruby Lib Dir
<EMAIL_ADDRESS>

OpenSSL Version
OpenSSL 3.1.0 14 Mar 2023

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
15.0

Swift Version
5.9

System Locale

Variable
Value

LANG
en_GB.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.216.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

error_highlight
0.3.0

did_you_mean
1.6.1

public_suffix
5.0.3

addressable
2.8.5

artifactory
3.0.15

jmespath
1.6.2

aws-partitions
1.827.0

aws-eventstream
1.2.0

aws-sigv4
1.6.0

aws-sdk-core
3.183.0

aws-sdk-kms
1.71.0

aws-sdk-s3
1.135.0

babosa
1.0.4

bundler
2.4.10

rexml
3.2.6

CFPropertyList
3.0.6

colored
1.2

highline
2.0.3

commander
4.6.0

dotenv
2.8.1

emoji_regex
3.2.3

excon
0.103.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

multipart-post
2.3.0

faraday-multipart
1.0.4

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.10.3

faraday_middleware
1.2.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.5

faraday-cookie_jar
0.0.7

fastimage
2.2.7

gh_inspector
1.1.3

uber
0.1.0

declarative
0.0.20

trailblazer-option
0.1.2

representable
3.2.0

retriable
3.1.2

mini_mime
1.1.5

jwt
2.7.1

multi_json
1.15.0

os
1.1.4

signet
0.18.0

googleauth
1.8.1

httpclient
2.8.3

webrick
1.8.1

google-apis-core
0.11.1

google-apis-androidpublisher_v3
0.50.0

google-apis-playcustomapp_v1
0.13.0

google-cloud-env
1.6.0

google-cloud-errors
1.3.1

google-cloud-core
1.6.0

google-apis-iamcredentials_v1
0.17.0

google-apis-storage_v1
0.19.0

rake
13.0.6

digest-crc
0.6.5

google-cloud-storage
1.44.0

json
2.6.1

mini_magick
4.12.0

naturally
2.2.1

optparse
0.1.1

plist
3.7.0

rubyzip
2.3.2

security
0.1.3

simctl
1.6.10

terminal-notifier
2.0.0

unicode-display_width
2.4.2

terminal-table
3.0.2

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

atomos
0.1.3

claide
1.1.0

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.23.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

set
1.0.2

forwardable
1.3.2

logger
1.5.0

pathname
0.2.0

shellwords
0.1.0

cgi
0.3.6

date
3.2.2

timeout
0.2.0

stringio
3.0.1

securerandom
0.2.0

uri
0.12.1

openssl
3.0.1

digest
3.1.0

io-nonblock
0.1.0

ipaddr
1.2.4

io-wait
0.2.1

zlib
2.1.1

resolv
0.2.1

time
0.2.2

open-uri
0.2.0

mutex_m
0.1.1

net-http
0.3.0

net-protocol
0.1.2

ostruct
0.5.2

english
0.7.1

erb
2.2.3

strscan
3.0.1

abbrev
0.1.0

io-console
0.5.11

tempfile
0.1.2

delegate
0.2.0

fileutils
1.6.0

tmpdir
0.1.2

base64
0.1.1

singleton
0.1.1

open3
0.1.1

nkf
0.1.1

prettyprint
0.1.1

pp
0.3.0

find
0.1.1

yaml
0.2.0

psych
4.0.4

generated on: 2023-11-04

Checked the Apple Dev Portal and did some googling, seems like the macOS platform simply doesn't support adhoc at all: https://developer.apple.com/forums/thread/671008. Oh well, all good with fastlane then!


Fog + Unlit results in shader errror

Hey! Happy new year and thanks for making this!
So I've been messing around with the shader graph and it seems like unlit doesn't work together with fog. Here is the error:

As soon as I disable fog, it disappears.

@z3y Thanks! It works now.
Although I've noticed my shaders move a lot faster now. Specifically, I pan UVs using the time node.
I solved it easily by decreasing the amount of movement per time.
However, I thought might want to know in case this was an unintended change.

Sorry about that, the time node was previously broken, this is the correct behavior @I-K0haku-I


Review landing page revisions

Review updates from #27

@jordanpadams @edwardbarraza do you have an update from @mdrum ?

Yep: Here's where things are now:

I plan to deploy these changes tomorrow, and we can go over them in the meeting.

@tloubrieu-jpl we will be reviewing this at our tag-up this afternoon

comments from meeting on 11/13/2020:
design system improvements needed:

update design system to explicitly call out background color
specify the font sizes as responsive values

updates to latest iteration:

PDS4 collection tag at top - may eventually be changed, but don't worry about it right now
and others...

@jordanpadams I've completed and deployed the feedback changes that we discussed on Friday: https://sbnarchivedemo.psi.edu/?identifier=urn:nasa:pds:cassini_iss_saturn:data_raw&mockup=true
I believe this should be ready for demo/screenshots. If you see anything else you'd like me to tweak just let me know!
(As a reminder, for mockup data/features to be shown on the page, make sure &mockup=true is in the URL. If you'd also like to hide any supplemental metadata from a given page, then also append &pdsOnly=true)

@edwardbarraza can you look at this new iteration of Mike ?

See ticket #27


simp not rewriting in binder

Prerequisites

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

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
In Lean 3, simp works in the following snippet while in Lean 4 it doesn't. This is maybe due to simp using rw instead of subst internally?
example (q : p → Prop) (h : p = True)
  (h' : ∀(q : True → Prop), (∀ x, q x) ↔ q True.intro) :
    (∀ h', q h') ↔ q (h.symm ▸ trivial) := by
  simp only [h, h'] -- no change in goal in Lean 4
  -- rw [h] -- motive not type correct :-/
  subst h
  simp [h'] -- works fine now

This example above has been over-minimised: simp only [h, h'] does not make progress in Lean 3 either, without any imports. There are examples on Zulip which involve mathlib imports; I'll try and make an example which is mathlib-free.

OK so what is actually going on in this example is that in Lean 3, the congr attribute can apparently change the behaviour of simp only, and there are lemmas which are tagged @[congr] in Lean 3 which right now can't be tagged @[congr] in Lean 4. Here is Lean 3 code and Lean 4 code exhibiting the difference:
-- lean 3

@[simp] lemma forall_true_left (p : true → Prop) : (∀ x, p x) ↔ p true.intro :=
sorry

example (p : Prop) (q : p → Prop) (h : p) :
  (∀ (h2 : p), q h2) ↔ q h :=
by simp only [h, forall_true_left] -- fails

@[congr] lemma forall_prop_congr' {p p' : Prop} {q q' : p → Prop}
  (hq : ∀ h, q h ↔ q' h) (hp : p ↔ p') : (∀ h, q h) = ∀ h : p', q' (hp.2 h) :=
sorry

example (p : Prop) (q : p → Prop) (h : p) :
  (∀ (h2 : p), q h2) ↔ q h :=
by simp only [h, forall_true_left] -- works

-- Lean 4
theorem forall_true_left : ∀ (p : True → Prop), (∀ (x : True), p x) ↔ p True.intro := sorry

theorem forall_prop_congr' {p p' : Prop} {q q' : p → Prop}
  (hq : ∀ h, q h ↔ q' h) (hp : p ↔ p') : (∀ h, q h) = ∀ h : p', q' (hp.2 h) :=
sorry

--attribute [congr] forall_prop_congr'
/-
invalid 'congr' theorem, equality left/right-hand sides must be applications of the same function
  (∀ (h : ?p), ?q h) = ∀ (h : ?p'), ?q' (_ : ?p)
-/

example (p : Prop) (q : p → Prop) (h : p) :
  (∀ (h2 : p), q h2) ↔ q h :=
by simp only [h, forall_true_left] -- fails

Stepping back a bit, what is really happening is this. In the mathlib port, sometimes ported simp proofs don't work (there are other examples on the Zulip), and what we are trying to understand right now is whether we should just be fixing the up proofs up and pressing on or whether we should be asking questions about the divergence in behaviour and trying to re-align. In short, is Lean 4 simp supposed to be at least as good as Lean 3 simp, or is it just supposed to be different? Furthermore, is @[congr] supposed to be working the way it did in Lean 3?

This came up again on the Zulip https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Data.2ERat.2EDefs/near/315861983 .

And again on Zulip: https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/simp.20on.20binders/near/339224450

I ran into this again today while trying to remove some duplication in  https://github.com/leanprover-community/mathlib4/pull/7608; it's so annoying to rewrite binders that we end up just proving things from scratch.

Here's a workaround that suggests this limitation is easy to fix:
-- this is in mathlib, but can't be marked `@[congr]`
theorem forall_prop_congr' {p p' : Prop} {q q' : p → Prop}
  (hq : ∀ h, q h ↔ q' h) (hp : p ↔ p') : (∀ h, q h) = ∀ h : p', q' (hp.2 h) :=
sorry

-- an alias for `∀` to thwart checks that complain that `∀` is not a function
def Forall {α} (β : α → Sort _) := ∀ a, β a

-- now that we use this alias, `congr` is happy
@[congr]
theorem Forall_prop_congr' {p p' : Prop} {q q' : p → Prop}
    (hq : ∀ h, q h ↔ q' h) (hp : p ↔ p') : (Forall fun h => q h) = Forall fun h : p' => q' (hp.2 h) :=
  forall_prop_congr' hq hp

example (A B : Prop) (f : A → Nat) (h : A ↔ B) :
  ∀ h : A, f h = 0 := by
    rw [←Forall]
    simp [h]
    rw [Forall]
    -- goal is changed!
    sorry


Never upload with setup.py

It does upload without checking the certificate of the remote
server, does not use ssl, and send the credential in plaintext on the
wire.

See https://packaging.python.org/distributing/, for longer description, you will need to install twine of course.
I would recommend checking https://packaging.python.org/distributing/?highlight=twine#create-an-account that ask to update your .pypirc to :
[distutils]
index-servers=pypi

[pypi]
repository = https://upload.pypi.io/legacy/
username = <username>
password = <password>

In order to use the new endpoint. The old endpoint have a know ~5-10% upload failure.

I think this entire part should be removed from the readme, in favor of a developer readme that has the broader explanation that you gave above.

(setting to bug since it is a security issue to upload via setup.py)

I'm going to merge and iterate on this, thanks @Carreau!

Sorry I have seen the notifications, but have difficulty catching up with my backlog.
Thanks a lot for taking care of that.
I've also seen that a lot of issues that I open have been fixed and is really looking forward to have time to update, and have occasion to use the notebook ! Hopefully I'll use it for PyBay !


No undeclared variable warning with function form of 'use strict'

I have the following JS file in Visual Studio Code with jshint v0.11.0:
"use strict";
function myfunction() {
    var a = b;
}

I get warnings to use the function form of 'use strict' (W097) and 'b' is not defined (W117).  If I move "use strict" inside the function, I get no warnings at all.  I believe that I should continue to get W117.
.jshintrc:
{
  "esversion": 6
}

jshint.config:
{
    "C_Cpp.errorSquiggles": "Enabled",
    "perl-toolbox.syntax.path": "D:\\Apps\\Perl64\\bin\\",
    "perl-toolbox.lint.brutal": "hint",
    "perl-toolbox.lint.cruel": "hint",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "window.zoomLevel": 1,
    "jshint.config": ""
}

UPDATE
I've found that adding "undef": true, to .jshintrc causes the W117 warning to appear, but shouldn't the existence of "use strict" be enough?

Thanks for taking the time to write a report! This behavior surprised me, too. Here's what's going on:

JSHint switches the undef option on whenever it encounters the "use strict" directive
JSHint recognizes undefined variables when it reaches the top-level scope

One way to understand the net effect is that JSHint is simulating variable name resolution. JavaScript's global environment record is highly dynamic, so it's not possible to do this correctly just by looking at the source code. We're seeing an edge-case in a best-effort solution.
The inconsistency is jarring, though, and it's important to recognize that the behavior isn't directly tied to the interpretation of the language. The semantics of strict-mode code do not influence how bindings are resolved. As far as I can tell, automatically enabling undef like this was a creative attempt to help JSHint's users catch more mistakes. Although well-intentioned, it's also somewhat arbitrary (JSHint could enable any number of enforcing options when the code entered strict mode), so I'd be open to removing it.
Does that make sense, @elavy-harris? Do you have any opinion here?

Thank you @jugglinmike .  I understand the idea of turning on undef for strict mode.  What I don't understand is why global strict mode behaves differently than function strict mode.  Is the distinction that in the latter case, the top-level scope evaluation is performed without strict mode and therefore undef is false?  That would seem to be the case, as turning on undef inside the function seems to have no effect.
I'm pretty new to this environment, so that limits the value of my opinion.  I would guess, though, that there are a lot of people using global strict mode and that they would be very unhappy if you remove "auto-undef".  If you can't turn on undef inside the function, I'd just be resigned to the "jarring inconsistency" and let it go.

In regard to the undef option, JSHint interprets global strict mode in the same way as function strict mode: it enables the option for the current scope.
Another way to understand this is that undef only makes sense if it's enabled at the top-level because that's where it is ultimately enforced. No matter where an undefined variable is referenced, it is ultimately recognized as undefined at the top-level (since JavaScript's resolution algorithm starts at the local scope and travels to each containing scope until it finds a definition).
Does that clear things up at all?
The takeaway here is in order to enforce this behavior consistently, don't rely on the presence of the "use strict" directive. Instead, explicitly enable the undef option at the top-level of the code or in a JSHint configuration file.


Implement Marshmallow-JSONAPI instead of straight Marshmallow + custom code

The Marshmallow-JSONAPI project will let us handle JSON-API compliance much more easily than what we're currently using.
http://marshmallow-jsonapi.readthedocs.io/en/latest/

Ooh, fancy! :heart_eyes:


There is complete documents about Openfire-Meetings integarting with Openfire?

No. There is no documentation, other than the rear file. Jitsi offers some documentation for their products.


[Error during generate()] Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper_CUDA__index_select)

Using the beam decoder errors out when using auto-gptq. The same code works when using Transformers. The same model works when using argmax instead of beam.
Steps to reproduce:
Code ran:
beam(n=2)
    "Q: What are Large Language Models?\n\n"
    "A good person to answer this question would be[EXPERT]\n\n"
    expert_name = EXPERT.rstrip(".\n")
    "For instance,{expert_name} would answer[ANSWER]"
from
    "TheBloke/guanaco-7B-HF"
where
    STOPS_AT(EXPERT, ".") and STOPS_AT(EXPERT, "\n") and STOPS_AT(ANSWER, ".")

This works when loading the model like this:
lmql serve-model --dtype 8bit TheBloke/guanaco-7B-HF --cuda

[Loading TheBloke/guanaco-7B-HF with AutoModelForCausalLM.from_pretrained(TheBloke/guanaco-7B-HF, 'load_in_8bit': True, 'device_map': 'auto')]

This errors out when loading the model like this:
lmql serve-model --loader auto-gptq --cuda --use_safetensors True some_path/models/TheBloke_airoboros-l2-7B-gpt4-2.0-GPTQ/ --trust_remote_code True --use_triton True

[Loading /models/TheBloke_airoboros-l2-7B-gpt4-2.0-GPTQ/ with AutoGPTQForCausalLM.from_quantized(/models/TheBloke_airoboros-l2-7B-gpt4-2.0-GPTQ/, 'use_safetensors': True, 'trust_remote_code': True, 'use_triton': True, 'device_map': 'auto')]

The error is hit after [EXPERT] gets populated:
[Error during generate()] Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper_CUDA__index_select)

The same model, loaded with auto-gptq works well with argmax for example, on the same prompt.

Fixed on main now. This only seems to affect certain (newer?) versions of transformers.

Just updated using pip install git+https://github.com/eth-sri/lmql.gitand it works! Thanks!

As per the 0.7 release, this has arrived on the stable channel of LMQL.


glTF exporting collections excluded from view layer

Describe the bug
I upgraded to Blender 3.2.2 from 3.1.2 and found that when exporting my scene to glTF, I'm no longer able to exclude collections from the export that have the check box for Exclude From View Layer unchecked. This was possible in the previous blender version I was using. To test this I created a new blend file and added a cube to Collection and a sphere to Collections 2. I unchecked the box next to Collection 2 in the hierarchy but the sphere still exported. When uploaded to a glTF viewer, both the cube and sphere are present. I'm using the same export setting I was in the previous blender version.
To Reproduce
Steps to reproduce the behavior:

Uncheck Exclude From View Layer Box within the scene collection hierarchy
Go to File > Export > .glTF 2.0
Choose the format: glTF Separate
Leave all options as the default glTF settings
Export

Expected behavior
A glTF export that doesn't include objects in collections with the Exclude From View Layer box unchecked
Screenshots

Version

OS: Windows 10
Blender Version 3.2.2

Hello,
You need to use the option "limit to visible objects" to not export excluded collections:

So ... Why not sharing a file that really reflects your use case?
Seems "limit to active collection" should be what you are looking for (as far as I understand)

Thanks for the input! I attached the files I've been using (they are work files so I had to wait for permission from the company although I did have to remove several objects). It's one of our character models with equipment, armature, animations, and shapekeys. Ideally I would like everything in the Main collection to be exported and the Reference Geometry collection to be excluded from that export. I make sure the setting are correct (checking limit to active collection in the export setting and unchecking the box next to the collection I don't want exported) but it's still exporting the inactive collection.
Stephen Export Testing.zip
I did discover that the Limit to Active Collection option does work in the testing files I create with blender 3.2.2 (a clean blend file I tossed a few cubes into) but not for our character model files which were created using previous versions. Any idea why this would happen? Thanks again for your help!


Issue with Data Persistence: No Updates to the Underlying Textarea

Hi, I'm encountering some issues with the TinyMCE plugin.
I'm using Ajax to submit the form, but in this case, the underlying textarea is never updated. Additionally, I created a tinymce.yaml file in the packages folder, but the configurations there seem to be completely ignored.
How can I update the plugin configuration to ensure it's applied properly?
How can I modify the TinyMCE JavaScript initialization to customize its behavior, such as ensuring the content is saved to the textarea on change? For example, I want to do something like this:
 tinymce.init({
        setup: function(editor) {
            editor.on('change', function() {
                editor.save();  // This ensures the content of TinyMCE is saved to the textarea
            });
        },
    });

Thanks!

Hi there! I already responded on the Eckinox version of the bundle, but will reply here for consistency and for any future onlookers.
For the tinymce.yaml config file, I'll quote what I just replied in eckinox/tinymce-bundle#16 :

I have two suggestions here.
First one would be to try switching to emileperron/tinymce-bundle - it is a fork of this bundle with some bugfixes and improvements (for context, I am the original author of this here bundle as well, but left the organisation and it is now not really being maintained as an open-source project anymore).
Second thing, which might seem obvious but could be the issue if you only recently created the tinymce.yaml config file: try clearing your cache with a good old bin/console cache:clear.

For the other issue regarding data persistence, you should be able to trigger a save of every TinyMCE instance on the page by calling tinymce.triggerSave(), at which point the textarea should be updated. See TinyMCE's docs on triggersave.
Alternatively, If you just want to retrieve the value in Javascript, you can get the value property on the <tinymce-editor> element at any time, without needing to trigger a save first. Ex.:
const editor = document.querySelector('tinymce-editor');
const myContent = editor.value;

console.log(myContent);

Hope that helps!

Hi, @EmilePerron thanks a lot for your fast replies!
I tried using this bundle instead of the equinox, but I got the following error:
An exception has been thrown during the rendering of a template ("EmilePerron\TinymceBundle\Twig\TinymceTwigExtension::tinymceAttributes(): Argument #1 ($customAttributes) must be of type array, App\Utility\Render\Attributes given, called in /srv/brixx/var/cache/dev/twig/a4/a41176b58a95520413db3aafb9f12fbe.php on line 81") in<EMAIL_ADDRESS>You may have found this already, for context, this is an old pimcore project, not so properly done, that I'm trying to bring up to standards, and it doesn't have Symfony flex enabled, so this may be part of the problem.
I did add EmilePerron\TinymceBundle\TinymceBundle::class => ['all' => true] to bundles.php
Also regarding JS, I can get the proper values through the ".value" property, but tinymce.triggerSave() doesn't seem to do anything, and sometimes it works. Still, if I focus on the editor and then focus on something else I get an undefined error when trying it again.
Do you have any suggestions of where I should look to solve these issues?
Thanks!
Best regards
Julian

Hi @EmilePerron,
I have another question for you if that’s okay!
How can I configure the setup in my TinyMCE settings to update a hidden form element whenever the editor content changes? I tried the following in my YAML configuration, but it doesn’t seem to work:
setup: >
        function(editor) {
            editor.on('change', function () {
                $('#hiddenElementforMceContent').val(editor.getContent());
            });
        }

Alternatively, do you know if it’s possible to configure this bundle to automatically create a hidden  that syncs with the editor content so that it can be submitted with the rest of the form fields?
Thanks in advance for your help!

Hi @EmilePerron,
I have another question for you if that’s okay!
How can I configure the setup in my TinyMCE settings to update a hidden form element whenever the editor content changes? I tried the following in my YAML configuration, but it doesn’t seem to work:
setup: >
        function(editor) {
            editor.on('change', function () {
                $('#hiddenElementforMceContent').val(editor.getContent());
            });
        }

Alternatively, do you know if it’s possible to configure this bundle to automatically create a hidden  that syncs with the editor content so that it can be submitted with the rest of the form fields?
Thanks in advance for your help!

Hey there! The TinyMCE field should have its value submitted with the form without requiring any additional code or configuration (unless you aren’t submitting the form in a standard way).
As for defining complex configurations like that, you’ll likely want to set these up on a global configuration variable rather than in YAML:

The TinyMCE web component docs state that for options that aren't configurable via attributes, you should define a global configuration variable in Javascript and provide the name of that config variable via an attribute to your element. Here's the specific section of the docs that talks about it: https://www.tiny.cloud/docs/tinymce/6/webcomponent-ref/#setting-additional-configuration-options

Hope that helps!

Hi @EmilePerron,
Thank you in advance for your help!
I’ve successfully added a custom JS setup function, and it’s working great for updating a hidden input whenever the editor content changes.
However, I’m encountering an issue: after submitting the form via AJAX, navigating away, and then returning to the original form, the editor is no longer initialized.
This seems to be related to the custom AJAX navigation in the admin interface. Is there an option to reinitialize the admin automatically in this scenario? Or should I handle this manually, and if so, what would be the recommended approach?
Thanks again for your support!


Add a few improvements to the text editor

This PR adds a couple of keyboard shortcuts for toggling comments and moving selected lines up and down.
It also adds extra syntax highlighting and replaces the literal newline spacing with line spacing in the text editor itself.

Hi, thanks a lot. I might try to finish my editor improvements first (kinda a big rework of editor interaction), and then merge this afterwards. But the changes themselves seam great!

I have made a new branch copy-pasting these changes, because I didn't want to deal with the merging (the text editor had been renamed and moved).
Thank you so so much though!


Applications need to be able to list and retreive installed ICC profiles

Version: -feature
CUPS.org User: hvengel
This is specific to *nix platforms other than OS/X.
Applications need to be able to query the print server to obtain a list of installed ICC profiles from the sever.  This is currently possible for "standard" ICC profiles (IE. those that are in the PPD file for the printer) but it is not possible for "custom" ICC profiles.  There needs to be a mechanism for user land apps to query the print server to get a list of available custom ICC profiles.
In addition user land apps need to be able to get copies of these profiles (both standard and custom) for doing things like:

Soft proofing.
Presenting lists of profiles to users so that they can select a custom profile.

UI note - it is considered bad form for application user interfaces to present these as a list of file names for profiles.  All commercial and most open source CM aware applications present these as a list of the descriptions that are extracted from the profiles.  Scribus is currently considered the OSS application that has the nicest implementation of this feature but many other OSS applications work this way (LProf, CinePaint, Oryanos, Krita, kolor-manager...).  The reason for presenting the description is that it generally contains information about the profile that will help users select the correct profile.  So it is necessary for user land applications to have access to the actual profiles to implement this functionality.  In addition,  these applications will in many cases present other information to users about the profiles to help them select appropriate profiles or use information from the profiles to filter the profile list.  For example,  depending on the printer settings some applications filter the list of profiles presented to the user (IE. the ColorMode is set to CMYK so the user can only select from a list of CMYK profiles).  The application needs to have access to the profiles to be able to do this.

After review we have decided not to address this issue.


chore: added predictableActionArguments see: https://xstate.js.org/docs/guides/actions.html#api

Hello, and thanks for the lib!
I stumbled across this today, and found that one of the latest additions to xstate is not included in your lint rules for valid root state types. See the linked url.
I also had to add a peer dependency to eslint-plugin-node, eslint-plugin-n.

Hey, thanks for the PR! One question: why did you need to add the eslint-plugin-n lib? It does not seem to be used anywhere (it's not in the eslint config).

Sure. If you attempt to run the linter, it complains.
Steps to reproduce. Clone the repo. Run npm i. Then run npm run lint. You get the following error:
npm run lint

><EMAIL_ADDRESS>lint /.../eslint-plugin-xstate // omitted my directory path
> eslint lib/

Oops! Something went wrong! :(

ESLint: 8.22.0

ESLint couldn't find the plugin "eslint-plugin-n".

(The package "eslint-plugin-n" was not found when loaded as a Node module from the directory "/.../eslint-plugin-xstate".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install eslint-plugin-n@latest --save-dev

The plugin "eslint-plugin-n" was referenced from the config file in ".eslintrc.json » eslint-config-standard".

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.

Also, you might be interested to know I saw something mentioned on the stately repo about creating an eslint plugin for xstate, and I linked to your repo. It might be smart to reach out to them. 🌻

Sure. If you attempt to run the linter, it complains.
Steps to reproduce. Clone the repo. Run npm i. Then run npm run lint. You get the following error:
npm run lint

><EMAIL_ADDRESS>lint /.../eslint-plugin-xstate // omitted my directory path
> eslint lib/

Oops! Something went wrong! :(

ESLint: 8.22.0

ESLint couldn't find the plugin "eslint-plugin-n".

(The package "eslint-plugin-n" was not found when loaded as a Node module from the directory "/.../eslint-plugin-xstate".)

I can't reproduce this. eslint-plugin-n is a dependency of eslint-config-standard, so you should have it installed just by doing `npm install` (I do; you can check with `npm ls eslint-plugin-n`).

If you don't mind, I will exclude this change from the PR for now and keep only the updated rule + test for now. If the problem persists for you, please create another issue.

> Also, you might be interested to know I saw something mentioned on the stately repo about creating an eslint plugin for xstate, and I linked to your repo. It might be smart to reach out to them. sunflower
Thanks for linking - I had announced this plugin in the XState Discord channel when it was first created. The maintainers are aware of it. I guess I will make a PR for updating their docs.

Sure, feel free to do whatever you like. However, you might try a fresh install of node_modules to ensure it behaves as expected. I certainly wouldn't have installed a dependency if I wasn't trying to follow your contributing guidelines.

Here's the PR without the package.json change.
https://github.com/rlaffers/eslint-plugin-xstate/pull/12
I think the missing module in your case is due to a legacy version of Node/npm you might be using. Node v16/ Npm 8 installs it just fine. However npm install --legacy-peer-deps mimicking older versions will not. I recommend upgrading your Node/npm combo.
Thanks again.


docs: consolidate expression links

Follow-up to https://github.com/argoproj/argo-workflows/pull/12469#discussion_r1443145079 and https://github.com/argoproj/argo-workflows/pull/12573#discussion_r1471449979
Motivation

most of these should go to the definition in Argo's own docs in variables.md#expression
use https://expr-lang.org/docs/language-definition instead of GH as it has nicer UX

Modifications

change internal docs references to expressions to go to variables.md#expression, the internal docs definition of it

change external references to go to https://expr-lang.org/docs/language-definition

while at it, make some small docs changes in the same place

more simple and direct, per k8s style guide

some of these, especially the data one, were incredibly overly verbose and have been greatly simplified

use present tense, per k8s style guide
prefer 1 sentence per line, per style guide

Verification

make docs passes

Backported cleanly to release-3.5 as 1b1d200282b3b8d79f99db730831b73aa86c999c


ESP-12F (esp8266) Soft WDT crash and reset with DR0

Problem: It seems that yield problem are back when using DR0 and ESP8266
im try to do some alternative to ADR and im testing DR0
when using DR0  with OTAA and didnt autenticate first time your get
_>>>stack>>>
ctx: cont
sp: 3ffffcf0 end: 3fffffc0 offset: 01a0
3ffffe90:  3ffef764 3ffef6d8 3ffef77c 4020b659
3ffffea0:  3ffef764 3ffef6d8 3ffef72c 4020b08b
3ffffeb0:  3ffef77c 3ffef75c 3ffef764 4020b048
3ffffec0:  00000000 4bc6a7f0 ef5c28f5 00000000
3ffffed0:  00000000 00000000 4bc6a7f0 00000000
<<<stack<<<_
ESP8266 dont like while() very much...
so to fix problem:
add yield() in LORA_Cycle() function in RFM95.cpp
before:
while(digitalRead(RFM_pins.DIO0) == LOW);
after:
while(digitalRead(RFM_pins.DIO0) == LOW)  {
	yield();
    };

before:
while((digitalRead(RFM_pins.DIO0) == LOW) && (digitalRead(RFM_pins.DIO1) == LOW)) ;
after:
while((digitalRead(RFM_pins.DIO0) == LOW) && (digitalRead(RFM_pins.DIO1) == LOW))  {
	yield();
    };

it seems i was working on manyt commits behind the master.. its may not be needed

i think its not needed ..
but now
error: 'SF12BW125' was not declared in this scope
error: 'SF11BW125' was not declared in this scope
i need to use
lora.setDataRate(0);


fix(apps/prod/tekton/configs): add boskos resource acquire and release tasks

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


SVG Example

hi @deepakjanorkar , I would not change the makefile as it's required to build the docs. I am not sure what your goal was, if you want to add examples, please have a look at the example in the examples directory.


Remove check on existence of payment details

This functionality is dangerous in situation, when we are making a second payment on a modified order.
Client in some case is able to make a payment with lower price than the order is really containing.
I've removed checking on details existence. Now it will be always reloaded.

Yep, You're right :) Thanks !


Error: Could not execute process espflash flash --monitor .. No such file or directory

For a fresh new project, created with esp-generate --chip esp32s3 hello-esp.
Building with cargo build has no errors, but cargo run is the one that keeps failing no matter what options I pass. Below is the output of running that
$ hello-esp git:(main) ✗ cargo run

WARNING: use --release
  We *strongly* recommend using release profile when building esp-hal.
  The dev profile can potentially be one or more orders of magnitude
  slower than release, and may cause issues with timing-senstive
  peripherals and/or devices.

    Finished `dev` profile [optimized + debuginfo] target(s) in 0.10s
     Running `espflash flash --monitor target/xtensa-esp32s3-none-elf/debug/async_main`
error: could not execute process `espflash flash --monitor target/xtensa-esp32s3-none-elf/debug/async_main` (never executed)

Caused by:
  No such file or directory (os error 2)

Any thoughts on how to fix this?
Thank you!

Seems espflash is not installed on your system, see https://docs.esp-rs.org/book/tooling/espflash.html
Maybe esp-generate should check that (and a few other things) to avoid running into problems later


Fix window holes behind transparent objects

Without this change, the transparent objects composed over the opaque
background creates the transparency of the entire window through which
the desktop wallpaper could be seen.
This problem manifested itself with glow backend and wayland compositor
(gnome).
This patch completely eliminates this problem. With it, the final image
produced by glow backend corresponds to the image produced by the wgpu
backend.
Fixes #1018

The glBlendFunc sets same function for all channels including alpha. Suppose we have glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA), background colour (1.0, 1.0, 1.0, 1.0) as (R. G, B, A) and foreground colour (0,5, 0,5, 0,5, 0,5). For all channels we will have 0.5 * 0.5 + 1.0 * (1.0 - 0.5) which equals to 0.75. So overall composition is transparent and we have hole in the window.
With glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE_MINUS_SRC_ALPHA) function for alpha channel will be 0.5 * 1.0 + 1.0 * (1.0 - 0.5) which equals to 1.0, so overall composition is opaque.

I just tested this on latest master :

I think this also closes #1021


Scholarsphere Deposit error when contributor is no longer at PSU

We had a deposit where one of the users linked to the deposited Publication in RMD is no longer at Penn State: https://metadata.libraries.psu.edu/admin/scholarsphere_work_deposit/1515 .  The whole deposit process works from the RMD side.  However, an error is returned from Scholarsphere during deposit that indicates a user cannot be found.  The message looks like this:
{"message":"Unable to complete the request","errors":["Psu access id abc123 was not found at Penn State","Psu access id abc123 was not found at Penn State"]}
The publication's contributor_names are being passed over to Scholarsphere as "creators".  Since this user is in RMD and we have an Webaccess ID, we pass the Webaccess ID over in the deposit request.  There must be some logic in Scholarsphere that uses the Webaccess ID and checks if they are an active member at Penn State.  If they are not, an error is raised.
We could add some logic here: https://github.com/psu-libraries/researcher-metadata/blob/main/app/models/contributor_name.rb#L23 so that the Webaccess ID is only sent if the user is an active member.  The contributor would still be named and linked to the Publication in Scholarsphere, but without their Webaccess ID (and hopefully no more error).
FYI @anaelizabethenriquez .  Since we are in a maintenance sprint, I can work on a hotfix for this now.

Thank you, @ajkiessl !

@anaelizabethenriquez This is complete and released to production.  I successfully resubmitted the user's ScholarSphere Work deposit.


Async processing

Currently the MVP was quickly hacked up with sync reqwest and no multi-threading just to keep things simple while everything is in flux. In the medium-term we should properly cleanup the code to be async and spin up multiple concurrent tasks where it makes sense.
I've already done some of that work in rust-minidump here: https://github.com/rust-minidump/rust-minidump/blob/main/breakpad-symbols/src/http.rs
Which only gets more complicated here: https://github.com/rust-minidump/rust-minidump/pull/558
Although even that is only "partially" async because the primary concurrency model for minidump-stackwalk is actually just spawning multiple instances in separate processes and them knowing how to transitionally add things to the cache. That said I have been thinking about how to make it "fully" async+multithreaded here: https://github.com/rust-minidump/rust-minidump/issues/561
I am finding myself doing a lot of duplicated logic and work between these two codebases, and it feels like there could be some very useful to factor out nugget for all the concurrent locking+caching+downloading+parsing machinery.

Things that can potentially be done concurrently in their own task:

Each package's suggest

Want to be able to start up multiple suggests at once to queue up all the expensive subtasks below

Each download of an imported audits.toml

Can we start parsing/validating it while it's downloading? (probably not worth it...?)

Each fetch of a package from crates.io

Can we start SHAing and untarring it while it's downloading like we do streaming-parse in rust-minidump?

Each diffstat of two packages (unclear if git diff --no-index is safe/useful to spawn multiple parallel instances of)

See https://github.com/rust-minidump/rust-minidump/issues/561 where I detail some of the machinery you would want to have to make this work.

If we do want to share some code with rust-minidump on this, one thing I have been thinking about a lot is how these two codebases increasingly look like standard batch compilers, and all these various caching phases increasingly look like "incremental compilation". To that end it might be worth building on a proper incremental framework like salsa (or specifically gluon's async fork.
But we're in a kind of interesting situation where we actually have very little invalidation of our caches (we tend to cache immutable facts that should never change ever). So probably we wouldn't need the core features of this... unless we realize actually we want some invalidatable caches and then it would have been nice to have this.

Oh also if we do start doing async we need to cleanup my usage of spans so that tracing knows to save+restore the spans properly whenever there's a context switch: https://docs.rs/tracing/0.1.34/tracing/struct.Span.html#in-asynchronous-code

Other confounding details: possibly want a more subtle design for FileLock if we can have multiple threads in the same process concurrently modifying caches.
I think the current design is largely safe because our on-disk state is either "append-only cache" (fetches) or "read once at start of command, mutate in memory, write once at end of command" (diff-cache, supply-chain).
For the "append-only" case we would already want/have in-memory synchronization so that only one task is trying to download/unpack a package. However we should still endeavour to make as many modifications "transactional" as possible with anonymous-temp-files and renames.
For the "read-once-write-once" case I think we just need to make sure we read-once before forking off tasks and write-once after joining all tasks. Essentially treating those operations as "main-thread only". Then the FileLock abstraction should do its job. Appropriate use of Send/Sync and ownership can probably statically enforce this for the writes (with incorrect reads causing a self-deadlock which is just a crash right now).

@Gankra Is there anything left to do here after #173?

Yes this is only half-implemented. We parallelize the networking but not the filesystem i/o, and in practice the latter is actually the overwhelming bottleneck because of diffstating.

I think I might end up parallelizing some of the diffstat work when working on #191


Call build --platform when only requesting a single cross platform image

Improve multiarchitecture support by avoiding the need for buildx if building a single architecture image, but cross platform. docker build has native support for creating a single architecture cross platform image in the --platform option.

Closing as cross platform building without buildx doesn't really work (at least not in circleci).


I have an error conversion

clio.zip
@pjcozzi @lilleyse @bagnell @mramato @AnalyticalGraphics  I have an error I need your help I attach you m
y format .obj please convert to GLTF thank you in advance

I just ran your model through and it converted fine for me. Were you using the online converter or the command-line tool?
clio2.zip

This converts correctly is master, so I'm closing.


error:flag = is_cross_text([start_w, start_h], length, new_vertices[labels==1,:]) IndexError: too many indices for array

hi , Does your question solved? I had the same problem.

Sry for the late reply. More information would be helpful if you still need help...

Does your question solved? I had the same problem.

Maybe check cross_text is not convenient and simply ignoring the boundary text is also ok.

Yes, the problem lies in the data marked on the edge

Finally solved this issue. The problem occurs, when there are images in your gt that contain zero bounding boxes. So the shape of vertices becomes one dimensional which was supposed to be (total_vertices, 8). Replace this line in dataset.py:
new_vertices = np.zeros(vertices.shape)
with
new_vertices = np.zeros((vertices.shape[0], 8))


Improve MR and issue templates

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2009
Originally created by @DouweM on 2020-05-04 23:23:53

View 6 previous comments from the original issue on GitLab