Extract debug logs - Custom logger function

Library Affected:
<EMAIL_ADDRESS>Browser & Platform:
"all browsers"
Context:
Hi,
We are using workbox (mostly to leverage offline capabilities/perf optimization) at our company to ship an embedded web application. The thing is, every time we are pushing an update, a small percentage of our customers is being caught in a broken app. The issue is hard to track down because we are running in a variety of hardware setups and since the app is embedded in a native one, the only way to solve the problem is to tell them to delete their cache folder inside their file system.
This is far from ideal. We already are using Stackdriver centralized logging solution for our services.
So we thought: how about sending workbox debug logging in order to monitor what exactly is going on ?
Is there any way to provide a custom logging function ? So we could hit https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry
My proposal if not :
workbox.setConfig({
  loggerFn(log) {
     // format log
      fetch(loggingEndpoint, {
         method: 'POST',
         ...
      })
  },
})

Thanks

Have you considered using a global error handler in the window context to capture and report back problems? If there's something that fails to load due to service worker issues, then presumably there will also be an error event fired on the page.
You should be able to set up a similar handler inside of the ServiceWorkerGlobalScope too, I'd expect. Workbox will, I think, log issues and then propagate the underlying error on until it triggers any global error handlers in the service worker, rather than swallowing the errors. So tapping into Workbox's logging shouldn't be necessary.
But... taking a step back, let's see if we can narrow down some possible causes that would explain what you're describing. If you're seeing these issues around the time you're deploying updates, that sounds related to the service worker lifecycle.
Does you service worker use skipWaiting? Do you lazy-load assets with hashes in their URLs that might have been purged from the precache as a result of the new service worker skipping the waiting phase and immediately activating?

Thanks for the feedback,
We already are tracking errors via services like Sentry, so yes we have that kind of tool, and a global error handler that is working. We already have some report for example of error like this
Failed to update a ServiceWorker: ServiceWorker script evaluation failed
This is very sporadic but I don't think this is the cause of the issue, because it happens very randomly, and I would think this would just prevent the update (not break the current service worker/application)
However, what I am looking for here, is more a log-oriented report because I am not looking for thrown exceptions. I want to know what happened in terms of file served from the service worker when updating. In short, some customers are saying they are seeing the application without CSS. So I assume there was a problem serving the actual file (wheter it was not available in cache for some reason or ...), meanwhile this could not be tracked down as an thrown error.
Is that making sense ?
ps: https://github.com/GoogleChrome/workbox/issues/1528 if you want to see my config, I already filed an issue here.
In short we are using skipWaiting but we are reloading immediately, we don't need to prompt the user here because it is an embedded app.
Thank you so much for your help! It is really appreciated!

Sorry, I didn't realize the connection with #1528. We can follow up there.
Failed to update a ServiceWorker: ServiceWorker script evaluation failed

is the sort of error you'd see when there's a syntax error that prevents the service worker's top-level code from executing. (Here's a trivial example of forcing it to happen.)
I'm not aware of any reason why Workbox would emit a service worker with a syntax error in it, and if it did, the code that you're trying to use to set up logging would probably not actually execute, so I think that's a non-starter.
Is there something about your web hosting environment that might cause a certain percentage of your HTTP requests for your sw.js file to return invalid results? Like, are you using any sort of proxies that might rewrite responses?

It's alright !
As far as I know, no fancy server config, we are using a battle-tested nginx/node docker image. The config is very straight forward and it sets no-cache headers to prevent service worker browser caching.
However, since we are using navigateFallback  I can easily see the service worker being serve as the index.html if it is not found on the server for whatever reason. Thus, raising the issue!

Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:

For PRs, we closed everything that doesn't target the current v7 branch.
For Issues, we closed everything that was created before 2024.

Thanks, and we hope for your understanding!
The Workbox team


Math tool fails when second parameter is a raster

Just been testing the ArcGIS toolbox interface for some of the raster Math tools. There is an issue and have reported that on the other website.
I have also discovered if you run the Divide tool when first parameter is a raster and the second is a value then the tool executes as expected. If the second parameter is a raster then you get the following error message:
In this test aaa is a raster dataset in the map document.

Messages
Executing: Divide DEM.tif aaa C:\Scratch\bbb.tif
Start Time: Tue Mar 10 11:48:23 2020
Running script Divide...
.\whitebox_tools.exe --run="Divide" --input1='DEM.tif' --input2='aaa' --output='C:\Scratch\bbb.tif' -v

Welcome to Divide *

Reading data...
thread 'main' panicked at 'The system cannot find the file specified. (os error 2)', src\main.rs:66:21
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
Completed script Divide...
Succeeded at Tue Mar 10 11:48:23 2020 (Elapsed Time: 0.50 seconds)

I can replicate this error in the Add, Multiply and Subtract.

@Hornbydd This is a bug caused by the ArcGIS frontend not converting the layer name to file path. The WBT backend works fine when passing the file paths. I am fixing it.

OK


docker should print meaningful "NAMES" column for interactive jobs

From 1st terminal I execute:
docker run -t -i wkoszek-nginx /bin/bash
from another I'm typing: docker ps. Repeat the sequence 2 times.
These names confused the great deal out of me, since I initially believed somebody else is playing with my machine. I'd prefer to see something meaningful here, for example: <loginname>:pid=<pid>.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

When you say "each time" its not clear if you mean for "each ps" or for "each container created".
Docker will not change the name of container for "each ps". In the example you've shown, the name
of the web:latest container changes because its a different container - see the containerID changes.
As for each container getting ephemeral names, Docker has no real way of knowing what's going on in the container or what information from the container might be useful to use as a name so it will just pick a name at random. Even "login" might not be very helpful since, as an example, in my case it would show "root" each time and showing names that are almost the same might actually be harder to distinguish/remember. If users want more helpful names it is recommended that they assign their own during the create/run step.
Going to close this since Docker is working as designed. If I missed something please feel free to reopen it.

I know Docker is working as designed, but I'm questioning this design here. What I do in loop is:

Terminal 1: docker run -t -i wkoszek-nginx /bin/bash
Terminal 2: docker ps

So I hear what you say, but picking random aliases that don't mean anything in the system context is not the greatest strategy. Having anything from within the OS / user would be better. Having <unnamed> would be better too.


🐞 Bug: Project utility button(edit, delete, embed) are not aligned properly

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
As you can see these buttons are not aligned vertically

Steps To Reproduce

Go To Circuitverse.org
Go to Simulator
Save Project Online
Go to Project
See the buttons are not aligned vertically

Expected Behavior

The Buttons can be aligned vertically by adding the projects-primary-button

I think this class was primarily made to align the primary button but we can also use this class to align the secondary button as well, I also think we should change its name to something like projects-button-content-center
Screenshots
No response
Device Information [optional]
- OS: Linux Mint 21.2 x86_64
- Browser: Brave
- version: 1.59.117

Additional context
No response
Are you working on this issue?
Yes

Hi @theslowdeveloper
Issue verified and you can work on this!
Just want to say, while changing the CSS parameters, please check if the class has been used in any other place and make sure it's not effecting other parts of the project

I don't think it is being used anywhere else, should i change the class name or add it as it is @tanmoysrt,


Update doc install [Cmake]

Update install instructions to pick up on new doc name.
readme.txt was renamed to README.md in 437ab1262a658887e5da7fa60a394956fffd2462 (2023-11-16)

thanks


Create a pull request template for the project.

This includes a guide for creating a pull request template for the contributors.
I am a GSSOC 2021 participant and would like to work on it.

Hi there, sorry your issue got lost in my emails. I'll be starting with the project soon and I'll be happy to include your contributions.

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
huangc10, @gentcys, @telander, @imfunniee, @William-GTD, @0xRake, @nas, @skipz-m, @tracyyoung666, @hokaben10, @blincadmin, @congnghia0609, @Stefie, @HunterJohnson, @bitemyapp, @MatanDanos, @0w3, @Mutefish0, @schettino, @xjohnwu

Hey there,
We've got some thrilling news for you! GitHub is currently looking for skilled Developers to join our team. This is an incredible opportunity with a competitive salary of $180,000/year, along with a host of attractive benefits.
Interested in taking your career to the next level? Don't miss out! Click here to apply and secure your spot.
Looking forward to potentially welcoming you aboard!
Best regards,
GitHub Recruitment Team
ayakix, @kjudson, @wxiangliang, @crapthings, @liquid1982, @Rushabh360, @michaelachrisco, @qizheng09, @justvit, @cudesa, @yxf07, @balakef, @sanyamkamat, @yvesmessy, @chamoda, @deralation, @bolerovt, @myan9527, @GabCores, @beyonda520

The above is a scam: https://github.com/orgs/community/discussions/109171


Venafi Cloud 500 errors don't get retried

Describe the bug:
Sometimes on a Certificta issuance or renewal, Venafi Cloud returns a 500. In the corresponding certificate request I see the following message:
Failed to obtain venafi certificate: failed to retrieve certificate. StatusCode: 500 -- Status: 500 Internal Server Error

This is no problem if cert-manager would retry after some time, but this doesn't seem to happen based on the full output of a certificaterequest and it stays in failed state.
Name:         random-certificate-xqs69
Namespace:    venafi-cloud-long
Labels:       <none>
Annotations:  cert-manager.io/certificate-name: random-certificate
              cert-manager.io/certificate-revision: 23
              cert-manager.io/private-key-secret-name: random-certificate-4n5kn
              venafi.cert-manager.io/pickup-id:
API Version:  cert-manager.io/v1
Kind:         CertificateRequest
Metadata:
  Creation Timestamp:  2021-06-07T23:58:04Z
  Generate Name:       random-certificate-
  Generation:          1
  Managed Fields:
    API Version:  cert-manager.io/v1
    Manager:    controller
    Operation:  Update
    Time:       2021-06-07T23:58:07Z
  Owner References:
    API Version:           cert-manager.io/v1
    Block Owner Deletion:  true
    Controller:            true
    Kind:                  Certificate
    Name:                  random-certificate
    UID:                   6491d349-138d-40b9-9b68-a56a63d55e31
  Resource Version:        554097
  UID:                     c3ea20bf-c62f-4e73-b19b-8cacf12b599a
Spec:
  Groups:
    system:serviceaccounts
    system:serviceaccounts:cert-manager
    system:authenticated
  Issuer Ref:
    Kind:    Issuer
    Name:    cloud-venafi-issuer
  Request:   <CSR>
  UID:       b98e68d8-0d36-4e37-8960-e361ef410e06
  Username:  system:serviceaccount:cert-manager:cert-manager
Status:
  Conditions:
    Last Transition Time:  2021-06-07T23:58:04Z
    Message:               Certificate request has been approved by cert-manager.io
    Reason:                cert-manager.io
    Status:                True
    Type:                  Approved
    Last Transition Time:  2021-06-07T23:58:07Z
    Message:               Failed to obtain venafi certificate: failed to retrieve certificate. StatusCode: 500 -- Status: 500 Internal Server Error
    Reason:                Failed
    Status:                False
    Type:                  Ready
  Failure Time:            2021-06-07T23:58:07Z
Events:                    <none>

Expected behaviour:
cert-manager should retry to obtain the certificate.
Steps to reproduce the bug:

Create a secret apikey with credentials for Venafi Cloud

Create an issuer

# Create Issuer with Zone ID
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: cloud-venafi-issuer
spec:
  venafi:
    zone: "<zone>" # Set this to the Venafi policy zone you want to use
    cloud:
      apiTokenSecretRef:
        name: cloud-secret
        key: apikey

Create a certificate

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: random-certificate
  namespace: venafi-cloud-long
spec:
  secretName: random-tls
  dnsNames:
    - random.REPLACE_DOMAIN_NAME
  commonName: random.REPLACE_DOMAIN_NAME
  issuerRef:
    name: cloud-venafi-issuer
    kind: Issuer

Start observing the certificate and if a 500 error gets returned from Venafi Cloud it will fail (this might take a bit of time/renewals)

Anything else we need to know?:
Environment details::

Kubernetes version: 1.20
Cloud-provider/provisioner: GKE
cert-manager version: v1.3.1
Install method: e.g. helm/static manifests: static manifests

/kind bug

Hi @MattiasGees 👋🏼  thanks for opening the issue,
Once random-certificate-xqs69 CertificateRequest failed, cert-manager should have backed off trying to issue the Certifcate and retried after 1 hour (here).
Was the status.lastFailureTime set on the Certificate? I have not managed to reproduce the issue yet, if you had a chance to paste in the status of any of those failed Certificates that could be useful.

The status of the relevant cert
Name:         random-certificate
Namespace:    venafi-cloud-long
Labels:       <none>
Annotations:  <none>
API Version:  cert-manager.io/v1
Kind:         Certificate
Metadata:
  Creation Timestamp:  2021-06-07T09:21:10Z
  Generation:          1
  Managed Fields:
    API Version:  cert-manager.io/v1
    Manager:         controller
    Operation:       Update
    Time:            2021-06-10T08:58:07Z
  Resource Version:  2518535
  UID:               6491d349-138d-40b9-9b68-a56a63d55e31
Spec:
  Common Name:  random.mattias-gcp.jetstacker.net
  Dns Names:
    random.mattias-gcp.jetstacker.net
  Issuer Ref:
    Kind:       Issuer
    Name:       cloud-venafi-issuer
  Secret Name:  random-tls
Status:
  Conditions:
    Last Transition Time:  2021-06-08T00:58:07Z
    Message:               Certificate expired on Tue, 08 Jun 2021 00:18:14 UTC
    Observed Generation:   1
    Reason:                Expired
    Status:                False
    Type:                  Ready
    Last Transition Time:  2021-06-10T08:58:07Z
    Message:               The certificate request has failed to complete and will be retried: Failed to obtain venafi certificate: failed to retrieve certificate. StatusCode: 500 -- Status: 500 Internal Server Error
    Observed Generation:   1
    Reason:                Failed
    Status:                False
    Type:                  Issuing
  Last Failure Time:       2021-06-10T08:58:07Z
  Not After:               2021-06-08T00:18:14Z
  Not Before:              2021-06-07T23:17:44Z
  Renewal Time:            2021-06-07T23:58:04Z
  Revision:                22
Events:
  Type     Reason   Age                   From          Message
  ----     ------   ----                  ----          -------
  Normal   Reused   14m (x79 over 2d23h)  cert-manager  Reusing private key stored in existing Secret resource "random-tls"
  Normal   Issuing  14m (x58 over 2d9h)   cert-manager  Renewing certificate as renewal was scheduled at 2021-06-07 23:58:04 +0000 UTC
  Warning  Failed   14m (x58 over 2d9h)   cert-manager  The certificate request has failed to complete and will be retried: Failed to obtain venafi certificate: failed to retrieve certificate. StatusCode: 500 -- Status: 500 Internal Server Error

It seems like we might be hitting this code path:

A Certificate with revision N for which there is a failed CertificateRequest with revision N+1 gets the Issuing condition applied after the 1 hour backoff in the 'trigger' controller
'keymanager' controller syncs the updated Certificate, sees the Issuing condition, generates a temporary private key and sets the status.NextPrivateKeySecretName on the Certificate (here-ish)
'issuing' controller syncs the updated Certificate, finds the Issuing condition, status.NextPrivateKeySecretName on the Certificate and the same failed CertificateRequest with a revision N+1. It doesn't do any check of when the CertificateRequest was last updated- instead just sets the Certificate's Issuing condition to false and updates the status.LastFailureTime on the Certificate
'trigger' controller syncs the Certificate, parses status.LastFailureTime and re-queues the Certificate to be processed after 1 hour when we probably enter the same loop.

I am now looking back at how this should have worked:

The original design doc suggests that in case a CertificateRequest fails, we back off and then create a new CertificateRequest after 1 hour. But a new CertificateRequest for a Certificate with revision N is only created if there is not already a CertificateRequest with revision N+1. We only bump revision of a Certificate when issuance succeeds (here) so after a failed issuance there will always be a CertificateRequest with revision N+1.
We could attempt to call the Sign function for the same failed CertificateRequest. But the certificate request controller only watches for updates to CertificateRequests and in the above scenario the failed CertificateRequest was not necessarily updated.

/milestone Next

/area venafi

Adding some more notes on one way how to reproduce this (for Venafi issuer, but similar should work for any):

Follow instructions to create a Venafi Issuer and Certificate with private key rotation policy of 'Never' (default) and with spec.renewBefore value such that it gets renewed every hour or more often
Wait for Certificate to become ready and an X.509 cert to get stored in a Secret
Ensure the next issuance will fail by editing the Venafi auth secret to contain invalid creds
Manually renew the Certificate
Observe that a new CertificateRequest is created and is set to Ready: false with a 'Failed' reason
Observe certificate request Ready condition failed so skipping processing message in controller logs. That comes from here. This CertficateRequest will no longer be re-tried.
Ensure that the Venafi secret now contains the correct creds again
Wait for about an hour till we are past the back off period
Observe messages in the logs that suggest that the certificate control loops attempt to renew the cert and enter the back off period again.
Observe that the same CertificateRequest is still in failed state, there is no new CertificateRequest and the Certificate has not been renewed.

This seems to not happen if either this is the first time issuance or if the Certificate's spec.privateKey.rotationPolicy is set to 'Always' because then the newly created private key will be different than the one for the previously failed CertificateRequest so the failed CertificateRequest will be deleted here. That will result in a new one being created (but with the same revision number).
So TL;DR from this is that whilst we haven't yet released a fix, it may be possible to avoid this issue by setting spec.privateKey.rotationPolicy to 'Always'.


Fine tuning on A10 GPUs

❓ Question
Fine tuning of MPT-7B failing on A10 GPUs... Can you help with a script for the same

Can you provide some extra information about what is failing? If you're running into memory issues, I recommend lowering device_train_microbatch_size.

We recently added TUTORIAL.md to the top-level directory, which includes a FAQ section that has questions about compute requirements and dealing with OOMs.
Feel free to re-open this issue if that doesn't resolve things for you.


Alerts API returns 400 Error

Environment details

OS: Darwin 18.5.0
Python version: 2.7.14
pip version: 9.0.3
google-api-python-client version: 1.7.8

Steps to reproduce

Am trying to hit the alerts app, but every endpoint I get has the following error:
<HttpError 400 when requesting https://alertcenter.googleapis.com/v1beta1/settings?alt=json returned "Request contains an invalid argument.">
<HttpError 400 when requesting https://alertcenter.googleapis.com/v1beta1/alerts?alt=json returned "Request contains an invalid argument.">
etc.

Code:

def create_google_alert_service(keyfile=None, scopes='https://www.googleapis.com/auth/apps.alerts'):
    """Convenience wrapper to create google drive API service."""
    return create_google_api_service('alertcenter', 'v1beta1', scopes, keyfile)

def create_google_api_service(api, version, scopes, keyfile, http=None):
    """
    Create a google api service using service account credentials.
    """
    if keyfile is None:
        raise('Error. You must specify a keyfile.')

    credentials = ServiceAccountCredentials.from_json_keyfile_name(keyfile, scopes)
    return build(api, version, credentials=credentials)

class AlertAPI(object):
    """Alert API object to test the alerts in the system."""

    def __init__(self, page_size=None):
        """Init function for DriveAPI."""
        self.pageSize = page_size or 100
        self.alert_service = create_google_alert_service( secrets.get('google_alerts_keypath'))

    def get_alerts(self):
      alertId = 'XXXX'
      try:
        resp = self.alert_service.v1beta1().getSettings().execute()
        resp = self.alert_service.alerts().feedback().list(alertId=alertId).execute()

        resp = self.alert_service.alerts().get(alertId=alertId).execute()
        resp = self.alert_service.alerts().list().execute()

      except HttpError as e:
        import pdb
        pdb.set_trace()

The error states:
"Request contains an invalid argument"
It seems like the code given has an error.
Currently, we only have samples in Java:
https://developers.google.com/admin-sdk/alertcenter/quickstart/java

Confirmed with the following (very short) example.
from googleapiclient.discovery import build

client = build("alertcenter", "v1beta1")
resp = client.alerts().list().execute()

Traceback (most recent call last):
  File "alerts.py", line 7, in <module>
    resp = client.alerts().list().execute()
  File "/usr/local/google/home/busunkim/.local/lib/python3.6/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/google/home/busunkim/.local/lib/python3.6/site-packages/googleapiclient/http.py", line 851, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://alertcenter.googleapis.com/v1beta1/alerts?alt=json returned "Request contains an invalid argument.">

The error is getting hidden, but it looks like an issue with the customerId.
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://alertcenter.googleapis.com/v1beta1/alerts?alt=json returned "Request contains an invalid argument.". Details: "[{'@type': 'type.googleapis.com/google.rpc.DebugInfo', 'detail': "[ORIGINAL ERROR] generic::invalid_argument: com.google.apps.framework.request.BadRequestException: customer_id must be specified.\ncom.google.net.rpc3.client.RpcClientException: <eye3 title='/AppsMicBackendService.ListIncidents, INVALID_ARGUMENT'/> APPLICATION_ERROR;apps.mic/AppsMicBackendService.ListIncidents;com.google.apps.framework.request.BadRequestException: customer_id must be specified.;AppErrorCode=3;StartTimeMs=1565650917893;In process;Deadline(sec)=59.987;ResFormat=AUTOMATIC;Originator=traffic-prod;Tag=\x02cloud_project_number\x03307723894734\x02IncomingMethod\x03/AlertCenterService.ListAlerts\x02cidc\x032;ServerTimeSec=0.01385856;LogBytes=256;Non-FailFast;EffSecLevel=none;ReqFormat=AUTOMATIC;ReqID=7585c3036f7ea230;GlobalID=c53d92865698de92;Server=IN_PROCESS"}]">

The documentation says this is an optional parameter, but perhaps this error is raised when the customerId cannot be inferred?
https://developers.google.com/admin-sdk/alertcenter/reference/rest/v1beta1/alerts/list

(The error field was getting swallowed. That should be resolved with #739)
It looks like normal 3-legged OAuth does not work with this API. There are instructions on how to set up the service account below. Would you recall if you did all the steps below @SolomonSHY?
https://developers.google.com/admin-sdk/alertcenter/guides/prerequisites#set-up-the-alert-center-api

Set up the Alert Center API
Follow these steps to set up the Alert Center API:

Create a service account that can be used by your G Suite application (see instructions on creating a service account).
Enable the Alert Center API (for instructions, see section on enabling and disabling APIs).
Grant domain-wide access to the application, and therefore domain-wide delegation of authority to the associated service account (note that the 3-legged OAuth won't work for the Alert Center API):
a. Go to your G Suite domain’s Admin console (see instructions on signing in to your Admin console).
b. Click Security.
If you don't see Security listed, select More controls at the bottom of the page, then click Security.
c. Click Advanced settings.
d. From the Authentication section, click Manage API client access.
e. In the Client Name field, type the Client ID for the service account.
f. In the One or More API Scopes field, enter the list of scopes that your application should be granted access to. In this case, type the following value: https://www.googleapis.com/auth/apps.alerts .
g. Click Authorize.

Closing due to lack of activity. Please open a new issue if you are experiencing this problem.


Error querying pinned contracts from wasm module

Querying pinned contracts doesn't work:
$ junod query wasm pinned

Error: error unmarshalling: invalid character '<' looking for beginning of value

This may be an upstream issue in wasmd.

works for me

is your node sync?


Mobile Nav Menu Open/Close animation

https://github.com/zympl/leeway-website/assets/19279756/da6329a2-e7b7-420a-aa1c-f492321e0397
Add mobile navigation menu open & close animation as shown in the above video.
Tip: This is a simple animation that can be achieved using the transition and transform CSS properties.

I need help with this # 82

@Adhithyarajan Could you elaborate on the specific challenges or areas where you're encountering difficulties?

Did you learn about transition & transform css properties?

Yes

Just to make sure that you have a basic idea about how to handle animations in CSS please watch this: https://youtu.be/SgmNxE9lWcY.
The current implementation will need some tweaks in addition to just adding CSS properties. Here: https://github.com/zympl/leeway-website/blob/ef4cf89c6d69470240ceb9df5a6ae1f26e9f626d/public/app.js#L25 you can see that the current implementation use CSS display property to show & hide the menu. We need to change the implementation to use the transform property instead. Please let me know if you have further questions.

I've added mobile navigation open menu animation and tried to do the same for close button by putting the code on various classes in CSS but didn't get the output.

Can you please check the changes i've done till now so that you can figure out what is missing from my side or assign me a new issue.

@Adhithyarajan Can you push the code & create a PR so I can check?


Fix 2 important bugs with Create Track, improve GzipBase64 names

https://github.com/osmandapp/OsmAnd-Issues/issues/2078


Check for gradient calculation being accurate

Write a script that checks if the gradients calculated in the fast way are accurate, as compared to the standard way of taking the shifted circuit energy difference for each parameter.

Example within examples/test_gradient_accuracy.jl shows that the accuracy for large amounts of layers is acceptable, given that the speed up is so fast. The gradient should be within around 100 eps of the true value. This is around machine precision for this calculation as we are adding up 2^n numbers.


[Menubar Calendar] ... Join meetings

Extension
https://www.raycast.com/koinzhang/menubar-calendar
Description
The extension works pretty well, but it's missing a convenient feature that other similar has, if the meeting in the calendar has a link for a video call, you can't join the call from there. Any chance you can add it? Also, you can't configure which calendars can be accessed so the menu bar can become pretty long if you have many calendars. Thanks!
Who will benefit from this feature?
All the users
Anything else?
No response

Thanks for the feedback, I'm adding a new feature that allows you to click to open the URL (if there is one) in the calendar event after pressing the Opt key, hope this helps.

In addition, a new command is now available:
Configure Calendar List:  configure calendar and reminders list displayed in the menu bar.
Hope this helps.
@raycastbot close this issue


New favicons for freecodecamp.com

We briefly used a more "olive" color when we were doing our January redesign, and it looks like we never updated our favicons. We need to create favicons that use #006400 (dark green) in the appropriate sizes.
I can add them to s3 once they're done. They should have the same file names as the current ones, which are listed here:
https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/public/favicons.html

Is there an original vector graphic file for the icon available to use for these?

@BKinahan Check here => https://github.com/FreeCodeCamp/FCCAssets/tree/master/Logos and Covers

Thanks @BerkeleyTrue, I'll get going on this with the assumption that the dark green color mentioned should be #006400 rather than an issue about returning the largest numbers in arrays :)

Images complete and available here: https://github.com/BKinahan/fccfavicons
... with filenames matching https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/public/favicons.html as requested.

@BKinahan Awesome - I've uploaded these and CloudFlare should start using them soon. One thing I noticed is the files seem quite large. Could you compress these using something like http://compresspng.com/ or a local file compression tool and update the repo? I think for example 16x16 favicons should be closer to 400 bytes (not several kilobytes like they are now)

@QuincyLarson Ah ha, a small oversight. Done, and replaced on the repo linked above.

@BKinahan Awesome! Thank you again for your fast help with this. Thanks to you, I'm marking this issue closed! :)


I got bug when i merge multiple schema file

I'm following the tutorial, but when i merged schema, i got this bug. And i searched in a few day, i still got nothing.
can some advise for me?

Hi @Anhdao153, can you show your configuration file?

Here is my configuration file

Post entity

User entity

Hi @Anhdao153!
I can see that you've made a typo in your configuration file. Please replace your relations with this and retry:
"relations": {
    "./src/models/core/Post.prisma:Post.user": "./src/models/core/User.prisma:User"
}

Hi @DavidHancu !
I tried, but unfortunately it didn't work
I still don't know why, please help
SOS :((

Hi @Anhdao153, this is not an issue with Prisma Util but with your configuration, as I can't replicate this issue in Prisma Util v1.3.0. I will make an updated configuration for you to use tomorrow.

Closed due to inactivity.


chore(deferredComputed): export

The deferredComputed was not yet available from the vue package.

This is intentional for now, since deferredComputed doesn't provide 100% consistent behavior as normal computed. It is currently only exported in @vue/reactivity for testing / internal use cases.


Update ABIDE_I bigtime

Super-simplified data_convert.py
Updated dictionary name and first dictionary field
Updated ABIDE_I/README.md to describe SITE_ID source
Updated dictionary names of ABIDE_II, HCP, PNC, and UKB

@ericearl Since there'll be upcoming changes based on our meeting with @dmoracze , I'll add comments once they've been added.

Merging to get moving on integration. It will be tested again once integrated.


Create useful documentation (and fix CI)

I created a readme with badges and function definitions. Since this is a smaller library, a separate documentation site seems like overkill.
I also debugged the CI scripts. Now for all PRs the pre-commit and test suite (on 3.11 and 3.12) are required to pass.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Updating $filter parameter sample values in examples. Earlier version had incorrect format for the date values.

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-go

Automation for azure-sdk-for-python

@marstr please have a look at this PR.. Its small change with updates to request for filter parameters.


Change Measurement value fields to primitive double and long.

The values are set as primitives, so this change avoids unnecessary boxing.
/cc @dinooliva

Codecov Report

Merging #698 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master    #698   +/-   ##
========================================
  Coverage      77.1%   77.1%
  Complexity      751     751
========================================
  Files           138     138
  Lines          3542    3542
  Branches        330     330
========================================
  Hits           2731    2731
  Misses          748     748
  Partials         63      63

Impacted Files
Coverage Δ
Complexity Δ

...src/main/java/io/opencensus/stats/Measurement.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Coverage remained the same at 78.882% when pulling 8c4e793dd29c3762cc940ae8ee830f91f77413c3 on sebright:primitive-measurements into d1daba764f7bd607fedf937e7cc6b729e84f881d on census-instrumentation:master.


bug: voice message keeps adding previous messages in the message field

Voice massages keep accumulating.
https://github.com/n4ze3m/page-assist/assets/154565560/088a1c2f-dd20-458c-98ea-c21af4de20a6

Hey, thanks for reporting. I will look into it. :)

This

Voice massages keep accumulating.
Screen.Recording.2024-03-09.at.19.20.26.mov

This is still present in the latest release (v1.1.8

Hey, I have released a fix for this in v1.1.0. Let me know if you face a similar issue now :)


Introduce break control in FullName 🧱

Resolves #11

About
Adds an additional parameter to FullName object to let the developer control how the split breaks your internal value. This way we can solve issues like the one described in #11.

Example
$name = new FullName('Richard Le Poidevin', break: 2);

$name->toArray();

// array:3 [
//  "fullName" => "Richard Le Poidevin"
//  "firstName" => "Richard"
//  "lastName" => "Le Poidevin"
// ]


Precision/Recall Curve

@fisheess Thanks for providing this good work. I would like to knwo how I can obtain a precision-recall curve. I saw that there are already codes for calculating, but I don't get how to use it. Could you please advise?
Thanks.

@Cuky88 hi there, i use this model trained the dataset bdd100k ,but the model.ckpt is almost 200MB, it's too big, i don't konw why, is yours the same? or something wrong?


Add Google Play badge, link in readme.

Describe the feature you'd like
Add Google Play badge, link in readme.
Link: https://play.google.com/store/apps/details?id=org.wikiedufoundation.wikiedudashboard.release

hope this works


Release 1.23

<!-- ℹ

 Locatlization to pt-br

Hey @DonatoHorn,
If you would like to contribute something, you need to fork the repo and make changes on your own branch.
/close


[SPARK-15894][SQL][DOC] Update docs for controlling #partitions

What changes were proposed in this pull request?
Update docs for two parameters spark.sql.files.maxPartitionBytes and spark.sql.files.openCostInBytes  in Other Configuration Options.
How was this patch tested?
N/A

@liancheng ping

Test build #60902 has started for PR 13797 at commit 8c165c4.

Test build #60902 has finished for PR 13797 at commit 8c165c4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60902/
Test PASSed.

LGTM, merged to master and branch-2.0. Thanks!


fix(zod): allow custom markDefs to passthrough zod

I just started using @sanity-typed/zod to parse responses, but I noticed it was stripping out custom markDefs from my block content.
Adding passthrough keeps those fields from getting removed, and I'm not sure how else you would want to integrate this, as the block types seem to get very complicated!
I added some tests (though I had a hard time running them very well locally...)

I haven't taken a look at this yet, will be getting to this soon!

Linting updated.
Yeah, making that a .passthough() seems to break the InferSchemaValues

Yeah it looks like you'll need to see what passthrough() actually does to the types and add them to the corresponding @sanity-typed/types type for it to make sense.

Once you're able to figure out what's the fix for types or for the zod parser to have them match, we should be good to go.

I haven't had a chance to troubleshoot. I have the dist patched so it will work in our project, but will have to come back to the types so we can have a proper fix 😞

@mckelveygreg if I can fix the bugs in #535, we might actually have a more strongly typed solution than passthrough(), which actually enforces the types match what are in marks.annotations.

@mckelveygreg Can you try<EMAIL_ADDRESS>and<EMAIL_ADDRESS>markDefs are now checked against the marks.annotations provided to the block definition, so the zod parser and types should correlate to your config instead of using passthrough().

Hmm, i spent some time trying to get things updated, but I was getting infinite instantiation errors if I had anything in the annotations field (even with definedArrayMember and defineField just like in your new docs).
I'll have to comeback later for updates 🤷
Thanks for keeping me in the loop!
But it looks like this PR can probably close because you have taken a different direction?

Would you be able to create an issue with your config that is creating the infinite instantiation issue so I can debug it?

But yes, I'll close this!


Display Image Credits

Added in https://github.com/hrw-fablab/cms/commit/839c8285cd5cc37794134541bef4ad8266753ec3


Fix multiple thens running query builder multiple times

The knex documentation has the following under the then method (emphasis mine):

Coerces the current query builder chain into a promise state, accepting the resolve and reject handlers as specified by the Promises/A+ spec. As stated in the spec, more than one call to the then method for the current query chain will resolve with the same value, in the order they were called; the query will not be executed multiple times.

This PR adds a test showing that the bolded statement is not correctly implemented by knex and fixes the bug.

I never took note to this part of the docs before, but I don't like the sound of it, regardless of Promise spec and whatnot. To me this sounds like the example below will keep returning the same two rows from the initial .then call, or am I misunderstanding completely?
const queryBuilder = knex('accounts').select();

return queryBuilder
.then((result) => {
    console.log(result.length); // 2
    return queryBuilder.where('userid', '1').select(); // Add where clause
})
.then((result) => {
    console.log(result.length); // 2 again ??
});

I'd expect two different queries to be run in this example.

Looks like the documentation is wrong at least and IIRC Promise A+ spec doesn't require that thenable returns always the same result, when its resolved multiple times. Here are some links where this has been discussed earlier:
https://github.com/tgriesser/knex/issues/1952
https://github.com/knex/documentation/issues/27
https://github.com/tgriesser/knex/issues/470
https://github.com/tgriesser/knex/issues/1105
I had also missed this part of docs and indeed it would mean that one couldn't anymore trigger the same query multiple times, by calling .then again, but one would have to do something like: query.clone().then() to be able to reuse the same query builder for triggering multiple queries.
It would mean also, that all query builder's query building methods should start to throw an exception if one tries to add stuff to query after it has been triggered once.
This is so fundamental change to how knex is working currently, that it should first be discussed through and see what are up and down sides of each functionality in different use cases.
I'm not completely against this, but for now I would rather just fix the documentation with examples how to trigger the same query multiple times and how to actually just store promise, which will return the same results.
Current way supports for example:
const result = await query;
const refreshedResult await query;

With the change one would have to do:
const result = await query.clone();
const result2 = await query.clone();

With current system if one likes to store resulted promise and resolve that multiple times without triggering the query again, he can do
// this kind of example could be added to docs
const resultPromise = query.then(res => res); // or any other mapping to returned data
resultPromise.then(res => {
  // query was not triggered again
});

ps. Sorry I didn't have much time to write this or think this very clearly, so I might need to edit this later on with better argumentation and language :)

No issues with the language, and I understand the reluctance to accept the PR if the change is breaking. Thank you for the quick response. I might prepare a PR to fix the docs instead, since those are clearly broken.
I do want to point out that Bluebird makes no such assumptions about calling then multiple times. The reason we discovered this bug is when we used Promise.each (source code) on some knex queries, which resulted in each query being executed twice. This is extremely surprising behavior, probably more surprising than if the samples in the comments above failed. But if the promises spec really doesn't care about then'ing multiple times, that might be for Bluebird to consider. (I haven't gone to them yet.)

@MellowMelon Actually I just applied this patch to 0.13.0 in a local project, and tested against the example code, and the result is as I suspected.
const queryBuilder = knex('Accounts').select();

queryBuilder.on('query', (a) => {
	console.log(a.sql);
});

queryBuilder
.then((rows) => {
	console.log(rows.length);
	return queryBuilder.whereRaw('1 = 0').select(); //Append where clause
})
.then((rows) => {
	console.log(rows.length);
});

Console output:
select * from "Accounts"
27
27

I updated https://github.com/knex/documentation/issues/27 with better description. I think this can be closed for now and if this change is coming to for example 1.0 by @tgriesser then we should discuss it better how everything should work exactly when the behaviour is changed.
I'll add some tests which makes the current functionality official and which also tests that queryBuilder.then() returns a promise which resolves always to the same result.

wubzz: My bad. I misinterpreted the intent of your example..


[Feature] : Add Language Translator

Most of the time when we are going to create a dashboard using wave, it is good to create it in different languages for understanding different people more clearly. Instead of creating different components for different languages, it is easy to add language JSON files manually.
For example, in angular, we use ngx-translate for doing this task. If we can make a library like that we can use simple pipe(|) for phrases that we need to translate. Then it uses a relevant language JSON file and converts our phrase to the language that we chose.

Hi @DeshanHarshana, seems like python-i18n is what you are after.


skywalking-ui reports error as the result of query endpoints

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Bug

Which version of SkyWalking, OS and JRE?
6.5.0

Which company or project?
Demo

What happen?
I've installed a new skywalking instance, includes oap-server and ui.

The ui throws error when I try to list all endpoints.
The browser send the following request:
{"query":"query queryEndpoints($serviceId: ID!, $keyword: String!) {
    getEndpoints: searchEndpoint(serviceId: $serviceId, keyword: $keyword, limit: 100) {
      key: id
      label: name
    }
}","variables":{"keyword":""}}

And server responses:
{"errors":[{"message":"Variable 'serviceId' has coerced Null value for NonNull type 'ID!'"}]}

The log of ui are:
...
2019-11-20 13:18:34.181 INFO 1 --- [nio-8080-exec-7] c.n.l.DynamicServerListLoadBalancer : DynamicServerListLoadBalancer for client collector initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=collector,current list of Servers=[localhost:12800],Load balancer stats=Zone stats: {unknown=[Zone:unknown; Instance count:1; Active connections count: 0; Circuit breaker tripped count: 0; Active connections per server: 0.0;]
},Server stats: [[Server:localhost:12800; Zone:UNKNOWN; Total Requests:0; Successive connection failure:0; Total blackout seconds:0; Last connection made:Thu Jan 01 00:00:00 GMT 1970; First connection made: Thu Jan 01 00:00:00 GMT 1970; Active Connections:0; total failure count in last (1000) msecs:0; average resp time:0.0; 90 percentile resp time:0.0; 95 percentile resp time:0.0; min resp time:0.0; max resp time:0.0; stddev resp time:0.0]
]}ServerList:com.netflix.loadbalancer.ConfigurationBasedServerList@36743aa4
...

I've check the data in database, which is mysql, and it has the following data:
select * from service_inventory;
+----------------+------------+------------+------------+-----------+--------------------+------------+----------+---------------+----------------+------------------+
| id             | name       | is_address | address_id | node_type | mapping_service_id | properties | sequence | register_time | heartbeat_time | last_update_time |
+----------------+------------+------------+------------+-----------+--------------------+------------+----------+---------------+----------------+------------------+
| SkyWalking_0_0 | SkyWalking |          0 |          0 |         0 |                  0 | {}         |        2 |<PHONE_NUMBER>986 |<PHONE_NUMBER>983 |<PHONE_NUMBER>986 |
+----------------+------------+------------+------------+-----------+--------------------+------------+----------+---------------+----------------+------------------+

select * from service_instance_inventory;
+------------------+---------------+------------+------------+------------+------------+------------+----------+---------------+----------------+------------------+
| id               | instance_uuid | name       | service_id | is_address | address_id | properties | sequence | register_time | heartbeat_time | last_update_time |
+------------------+---------------+------------+------------+------------+------------+------------+----------+---------------+----------------+------------------+
| 2_standalone_0_0 | standalone    | standalone |          2 |          0 |          0 | NULL       |        2 |<PHONE_NUMBER>988 |<PHONE_NUMBER>983 |                0 |
+------------------+---------------+------------+------------+------------+------------+------------+----------+---------------+----------------+------------------+

select * from endpoint_inventory;
Empty set (0.00 sec)

select * from network_address_inventory;
Empty set (0.00 sec)

You are not giving serviceId, it is defined as required in GraphQL already.

The ui shows "Current Endpoint" in dropdown list. And when I click the dropdown list, the ui send graphql automatically, and get error automatically later.Nothing I can do, and nothing I can see in the list.No way to input service id, what I don't know.发自我的华为手机-------- 原始邮件 --------主题：Re: [apache/skywalking] skywalking-ui reports error as the result of query endpoints (#3908)发件人：吴晟 Wu Sheng 收件人：apache/skywalking 抄送：Zheng Can ,Author You are not giving serviceId, it is defined as required in GraphQL already.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/apache/skywalking/issues/3908?email_source=notifications\u0026email_token=AAF747MZIUGSOOCIWAUEXW3QUU5VZA5CNFSM4JPS2ZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEESAVHA#issuecomment-556010140",
"url": "https://github.com/apache/skywalking/issues/3908?email_source=notifications\u0026email_token=AAF747MZIUGSOOCIWAUEXW3QUU5VZA5CNFSM4JPS2ZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEESAVHA#issuecomment-556010140",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

Maybe a just UI bug? I don't know.

I found a related issue.
apache/skywalking-rocketbot-ui#202

This is not a big issue. Wouldn't cause real issue.

Sometimes after a new fresh install, I can see a "Skywalker" in service list. Sometimes not.
I'm not sure whether it make sense.
I'll do more research to reproduce it...


docs: update tutorial wrapping up

Closes #269

Removes references to t-shirts as we're past those deadlines
Cleans up some AI so it's easier to find the badge application forms

@connor-leech can you review, esp the subheadings?


Add Chinese Simplified translation

Thanks I have squashed your commits and merged them in.

Remember to add the updated script to the SynthV installation package. (:з)∠)


Needs Explaination why we need to change base url in application

RestAdapter adapter = new RestAdapter.Builder()
.baseUrl(RESTMockServer.getUrl())
.build();
You mentioned that we need to change base url in native code by using TestApplicatiion. Why you need to this. The interceptor needs to works irespective to URL. sometime application has multiple URL and some developer dont want to change the code. It will be helpful that you provide the explaination. I read the tutorial mentioned in above step. I need to integrate this library for Espresso Tests

hey @shahidlatif2007 . this is because the library starts a test HTTP server. if you don't replace the base URL in your app, the app will target your servers and the mock library's HTTP server will not be responding with mock responses.

@andrzejchm Thanks for quick reply.
Why not MockWebServer uses this step as under the hood you are using that library. One of developer ask me this question. Why this library uses this step and why not MockWebServer library required this step.

actually MockWebServer asks you exactly for the same thing. It first starts the server, saves the mock server's URL to a variable that is then passed to the app's code to use instead of real base URL:


Printing nested objects should be similar to printing JSON

That's what we have for nested dictionaries now.

Imho it should have a tree format, not a table. Similar to #1233.

Simple, common objects are also very hard to read when rendered using the nested plain text formatter:

Changes to the plain text format (merged) and styling (in PR #2610) yields the following, which is an improvement. But we're still planning to do the expanding treeview-style view soon.


[Q] how to enable SSL communication with RDS MySQL db with certificate bundle

Hello Team,
We have configured graphite web with external Aws RDS MySQL engine and it is working fine.
Now we need to secure with coumunication between graphite and RDS, to do so we have enable SSL encryption from RDS and downloaded the certificate bundle.
Im trying to find the graphite web configuration how to add certificate in database configuration.
ref aws doc: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-ssl-connections.html

The Graphite system utilizes Django, so the answer is with how to do it with Django.  In your localsettings.py, inside the DATABASES dict, there's some options that can be added for SSL.
I haven't tested it, but the answers in here is where I'd start: https://stackoverflow.com/a/12285601


remove hydra.iohk.io as substituter

Updates binary cache config in flake and GHA to not reference hydra.

bors r+

bors ping


jsx: Unexpected token this

I tried an example from
https://facebook.github.io/react/docs/reusable-components.html#es6-classes
export class Counter extends React.Component {
  constructor(props) {
    super(props);
    this.state = {count: props.initialCount};
  }
  tick() {
    this.setState({count: this.state.count + 1});
  }
  render() {
    return (
      <div onClick={this.tick.bind(this)}>
        Clicks: {this.state.count}  // <<< Unexpected token this
      </div>
    );
  }
}
Counter.propTypes = { initialCount: React.PropTypes.number };
Counter.defaultProps = { initialCount: 0 };

But the fails on Unexpected token this.  To be sure I don't know JSX.  Any hints?

This is a bug in the parser. The way it works now is that the scanner has scanJsx/peekJs and that ends up treating this as a JsxIdentifier which leads to this bug. I think I should refactor the parser for jsx to work more like how we parse template strings with. The downside is that it introduces "a lot" of new AST nodes:
>text<
>text{
}text{
}text<


TypeError: FluxPipeline.call() got an unexpected keyword argument 'negative_prompt'

I got this error when running Flux with DP and batchsize > 1. There is something wrong with the function 'enable_data_parallel', because FluxPipeline doesn't have 'negative_prompt' in kwargs.
https://github.com/xdit-project/xDiT/blob/752a28862c685504dfe694251cb9a268bdc87279/xfuser/model_executor/pipelines/base_pipeline.py#L143C5-L168C32

Thanks for pointing out the bug. Can you give a PR to fix the error?

Thanks for pointing out the bug. Can you give a PR to fix the error?

Sure, my PR is #353. Is this ok?


Installing silx in editable mode

pip allows installing packages in editable mode (pip-install-editable). This way it is possible to work directly on the source code without having to use python bootstrap.py (at least for the Python part of the code that does not require recompilation).
However, the code in the __init__.py raises the following exception:RuntimeError: Do NOT use silx from its sources: build it and use the built version. Would it be possible to relax this?

I just noticed that bootstrap.py takes a script name as a positional argument, so I can easily run my tests.

Update CONTRIBUTING to include some of this information #2779.

It's because silx uses binary compiled modules. Then the -e can't work in this case. Cause there is no way to compile an up to date version of the modules.


refactor: modify codebase for the geovex model

I've added some changes to the main code to simplify the usage of the new GeoVex implementation.
Here is the full list of changes:

Modified ring_buffer_geometry function and added two new ones: ring_buffer_h3_indexes and ring_buffer_h3_regions_gdf
Allowed all OSM Loaders to load data for any geometry, not only GeoDataFrames - it will simplify the usage, without the need for artificial Geodataframes wrangling
Refactored geovex_embedder example (changed flow, used new functions, fixed minor issues with embeddings and visualizations)

Looks great @RaczeQ. Appreciate you cleaning up the Jupyter Notebook too!


Fix failing tests

make test fails currently.
We may also want to bring in a testing library (https://github.com/stretchr/testify).
OutputFormat should use the generic test suite

Make test is fixed now. I think the main point of this issue is obsolete.
However, maybe we can create another issue discussing (and documenting a decision) about the use of a testing framework. I for one would still like to rely on something like testifies assertions (opposed to writing our own ones).


add seccomp type

re: https://github.com/docker/docker/pull/19060#issuecomment-170150051
ping @crosbymichael

LGTM

LGTM, but not merge powers.


convert RPAT accessibility module to VETransportSupply modules

and add additional tests for the new modules

The current RPAT accessibility model estimates:

freeway lane miles per capita
arterial lane miles per capita
bus revenue miles
rail revenue miles
transit revenue miles per capita

The new VETransportSupply package already estimates freeway lane miles by year, but it doesn't take as input a growth factor.  For backwards compatibility and to avoid changes in other VE models, we're going to create a new VERPAT version of these modules.


Adds io.js platform

It's a copy from https://github.com/iojs/docker-iojs/blob/master/1.6/Dockerfile

@robsonpeixoto can you add an example to the examples directory? Thank you!

@fsouza done in d00f3d31917d24e8e2d7a4ad8888bc93bfc10fb1

Thank you!

Thanks @fsouza

@andrewsmedina Where is my tsuru t-shirt? =D

You t-shirt is here:


Automaticaly add mirror for well known libraries

Is your feature request related to a problem? Please describe.
Libraries hosted by FSF can be downloaded either from ftp.gnu.org, or from its mirror listed here. So when installing these libraries, a fastest mirror can be detected and used by xmake.
Describe the solution you'd like
add_url("http://ftp.gnu.org/gnu/autoconf/autoconf-$(version).tar.gz", {mirrors="ftp.gnu.org"})

Describe alternatives you've considered
No response
Additional context
No response

you can use add_urls to add multiple urls. If you want to improve these packages, please open a pr.

you can use add_urls to add multiple urls.

Can we develop a feature to apply this template, rather than add boilerplate in package one by one?

you can use add_urls to add multiple urls.

Can we develop a feature to apply this template, rather than add boilerplate in package one by one?

No, we can only add it one by one.

From https://www.gnu.org/prep/ftp.html :

However, please try to use one of the many mirrors of our site listed below: the mirrors will give you faster response. Some mirrors also provide a copy of the rest of ftp.gnu.org; try the parent directory if you're interested. You can use the generic URLs https://ftpmirror.gnu.org/ and http://ftpmirror.gnu.org/ to automatically choose a nearby and up-to-date mirror.

So add_urls("http://ftpmirror.gnu.org/gnu/autoconf/autoconf-$(version).tar.gz") is enough.


Feature/adp 1139/make sign tx testable

[ ] I have ...

Comments

Issue Number

@sevanspowell Could we please have a title and description for this PR?

very nice properties added. It would be great to continue this path of testing when adding test coverage of decodeTx (in some forthcoming PRs).
1. We see that signing can add some bits and this is tested.What about properties showing that signing will not change inps, outs, validity, ...., some things' ordering already present in the body?

2. I see common patterns in properties. For example,  we have the same structure:

case Cardano.THINGSupportedInEra era of
    Nothing ->
    Just _ ->

I wonder if there is a way to extract that common structure and reuse it in all property tests?

Thanks for the feedback @paweljakubas! I've addressed a number of your points in subsequent commits.

bors try

bors r+

bors cancel

bors r+


PR: Update preferences dialog style to match Designs

Description

This updates the display of preferences
Update the code a bit to simplify section name parsing
Update the use of localization for settings titles.

Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

Related to https://github.com/napari/napari/issues/2449

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

@liaprins-czi ,  @napari/core-devs should we put the Save geometry as part of Application or Appearance?
I hid the plugins with no options, that is why plugins is not appearing. Plugin order will be added on a following PR

SETTINGS.application seem to be defined in napari/utils/settings/_manager.py and is an instance of ApplicationSettings in napari/utils/settings/_defaults.py; so I'm not sure how you want to handle the renaming application/appearance.

SETTINGS.application seem to be defined in napari/utils/settings/_manager.py and is an instance of ApplicationSettings in napari/utils/settings/_defaults.py; so I'm not sure how you want to handle the renaming application/appearance.

For now it should be a minor nuisance, but a separate PR will handle migrations more gracefully.
Fixing the tests.

Love this so much! Merging now, thanks for the fixes :-)


TOMEE-4014 - Re-add "tomee.keep-server-info"

as the title says

@jgallimore Judging from the answer in the ticket, it seems sufficient to re-add the check on "tomee.keep-server-info".

@jgallimore  Switched from System.getProperties() to the original code using the SystemInstance#getOptions(), so it should be compatible to the way it previously worked.


Outgoing payments from other clients not displayed on refresh

I use zap-desktop and zap-android to connect my desktop and my mobile phone to my own LND node. When I pay something with zap-android or directly via LND the payment gets not displayed in zap-desktop, even after hitting Refresh activity list. The only way to really refresh is to disconnect and reconnect.
Description
Sending an outgoing payment with another client results in zap-desktop not displaying this payment, even after hitting refresh. Incoming payments are recognized instantly (even without hitting refresh).
Expected Behavior
At least after hitting refresh activity list outgoing payments done by other clients of the lnd node should be displayed in the list.
Actual Behavior
The outgoing payments are not displayed after refreshing (only reconnecting helps).
Steps to Reproduce

Connect zap-desktop to own LND-node

Send payment using lncli directly

Payment does not show up in zap-desktop, even after refreshing

Your Environment

Zap version: 0.6.2
Operating System and version: arch linux

@blacktemplar the current 0.6.2 release has a bug in the refresh logic - see https://github.com/LN-Zap/zap-desktop/issues/3174
This has been fixed in the master branch.


Automatic Chat History Refresh

As a user, I would like the chat history to show my current thread when I start a new conversation.
This has been requested by several users, and was mentioned in
. But since that one has other stuff mentioned we should keep it separated.

@dahifi I think the open PR #838 resolves this. Hasn't been reviewed though.


How to tell if a 200vh element is at top of view?

I have a 200vh element. How do can I setup in-view to tell me when the top edge of the element is touching the top of the view?
I think this is what I'd want to do:
inView('.section').offset({
    bottom: '100%'
});

But obviously that isn't supported.

Same question that I want to know


Obsolete?

Is this package obsoleted by flake8-docstrings (https://pypi.python.org/pypi/flake8-docstrings), given that that package appears to be maintained by the developers of flake8/pycodestyle/pydocstyle?

When I wrote this I came across flake8-docstrings but unfortunately its linters were very simple and I was unsatisfied with it. Does it catch everything pep257 does? I'll have to look into it again to give you a proper reply.

flake8-docstrings is a wrapper around pydocstyle (formerly pep257) just like flake8-pep257 - but I haven't done a side-by-side comparison of how cleanly each one integrates with flake8.

Looks like you're right. Seems like up until 8 months ago it was abandoned. I think I made this because at the time flake8-docstrings didn't support/pass ignore options from tox.ini
Now that it's being maintained I'll go ahead and obsolete this one. Thanks for bringing this to my attention.

Thanks for confirming. This project was very useful to me in the meantime while flake8-docstrings wasn't being maintained - thanks again!


change the width of the card

change the width of the card to be responsive blew 350px screen

Thanks. Though I used 375px as the limit


Feature request: Show a listing of all compiled-in files, sorted by size.

I dont know how you others feel about this, but have you been wondering what takes most of the size in your WebPack bundle? I myself have been trying to minimize the output of my file, by using just the components I need. So instead of using require("bootstrap"), I'd go about and write
require("bootstrap/src/js/alert");
require("bootstrap/src/js/modal");
// and on and on...

Now, my next step is to figure out what takes up which space. For that purpose, it'd be awesome to obtain a listing of the compiled-in files, sorted by size.

Did you take a look at the stats option:
http://webpack.github.io/docs/node.js-api.html

with --display-modules --sort-modules-by size you can even to this on CLI.

I did look into the docs, but I must have overseen this option. Thank you, it now sorts just as I want. :)


Trouble with Multiplayer

We are using the plugin in our project, where we have 2 teams, one Blue and one Red.
Works fine on BlueTeam with all 8 players, but on RedTeam, characters start to disapper and reappear.
Link here :
https://gyazo.com/36df77f6f0159c0d1ae88022d8c8878e
Though game is working as it should, the only issue we are struggling with is the FogOfWar
So my question is, does FogOfWar actually support network?
Because there is no information in your description neither the documentation.
Cheers

After tweaking it with a bunch of tries, we finally got it to work.


With more than 10 layers, the layer selection box shows an additional search box, and entering anything in there leads to UI crash

Once the number of layers exceeds 10 (i.e., once there is a "layer 10", which is the 11th layer), the layer selection box (the one that lets you select a layer for e.g. &tog) will have an additional search box above the list of layers, and entering anything into that box will lead to a crash with the error message included below. This can reproduced even with the demo repo -- just add layers til layer 10, and click on the parameter of one of the &mo keys on the default layer (with the demo repo, I don't even see the layer list, the UI will crash right after clicking the said parameter)
TypeError

e.toLowerCase is not a function

  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:205486
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:203121
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:203732
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:200277
  https://nickcoutsos.github.io/keymap-editor/main.68aec35523d370987b95.js:2:83470
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:726178
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:795302
  https://nickcoutsos.github.io/keymap-editor/main.68aec35523d370987b95.js:2:83403
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:721839
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:742751
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:779857
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:768104
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:768032
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:767893
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:764704
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:765093
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:706130
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:765542
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:675365
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:698000
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:682417
  https://nickcoutsos.github.io/keymap-editor/vendors.234ce1ceab59d99c5b64.js:2:682199

Oh, that's unfortunate. I forgot about the search functionality and... I guess I've never tried that many layers. Gimme a minute, this shouldn't be too difficult to fix.

Fixed now @z5huang, thanks for the report! Should work for any behavior parameters that expect a layer, but let me know if you run into anything else :)


Correct time base handling in transcode-audio

This adapts the time base handling in transcode-audio as it is done in the transcoding.c example in the ffmpeg doc/examples folder.
It also seems to be the necessary way as I had audio/video sync problems with the old way.

Merged.


Polling / sending to closed group doesn't work

The polling and sending features to closed groups in Session are not functioning as expected. The example provided here does not work for closed groups. By "closed groups," I am referring to the private groups created within Session, which support a maximum of 100 people.

Hi! I know this feature wasn't implemented yet. This was initially pending until Session developers team rewrite closed chats backend, but now the whole library development is frozen until they move all stuff to libsession and then this library will be backed by it instead of manually handling connections.
You can always, of course, contact me if you want to pay me to work on this, but I'm currently a little busy with a lot of orders from Session community

PRs are welcome, too :)

If you could provide guidance on what changes should be made, I may  be able to work on that.

You should start by figuring out how sending messages work in Session and especially in current closed groups implementation. Dig official electron desktop client or any other implementation that feels closer to your skills. Then look for sending messages script in this library and implement section for closed groups

ok, how to groupPubKey here
is it something that we should provide like sessionID ?

This was taken from official desktop client code, so I suggest looking there

also rate my session merch btw


xdg-utils: allow xdg-open access to mimeopen

Description of changes
Prevent xdg-open from silently failing to call mimeopen and falling back to the browser whenever the mimetype doesn't have an explicitly set default application.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

500+ rebuilds should go to staging


TEAM_ID selection on environment variable not working

          Original issue by @pabloromeu - Imported from fastlane/pilot#143

I am working using an iTunes User with several teams. I setup the environment variable for the team id and it does not select it automatically
 ITUNESCONNECT_TEAM_ID           = "333"
 ENV["PILOT_TEAM_ID"]              = ITUNESCONNECT_TEAM_ID

But it does not work:
 [13:30:03]: Login to iTunes Connect<EMAIL_ADDRESS> Multiple iTunes Connect teams found, please enter the number of the team you want to use:
 1) "First" (111)
 2) "Second" (222)
 3) "Third" (333)

Pilot version is 1.3.0

According to https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/tunes/tunes_client.rb#L78-93 the env var names should be FASTLANE_ITC_TEAM_ID and FASTLANE_ITC_TEAM_NAME

`pilot -h´ say:
   -q, --team_id [VALUE] The ID of your team if you're in multiple teams (PILOT_TEAM_ID)

@pabloromeu Hope you are doing well! Can you let me know if setting them as ENV using
FASTLANE_ITC_TEAM_ID and FASTLANE_ITC_TEAM_NAME
works in your setup? Thanks!

Yes! It does the trick @TKBurner !
IMHO If FASTLANE_ITC_TEAM_ID/FASTLANE_ITC_TEAM_NAME should be set instead of PILOT_TEAM_ID/PILOT_TEAM_NAME I think it should be stated at help.

Thanks @pabloromeu! Really glad to hear you got up and running. I'm going to mark this as a doc todo so we can address it in our documentation. Hope that you have a wonderful day!

this should be stated in the output of "fastlane action pilot" also.


Date serialization doesn't follow ISO 8601 exactly

In my test, although the default date format claimed for ISO 8601, but after serialization, the milliseconds part is missing, when this part is zero.
And on other side, it's deserialized by Joda DateTime ISO format, which complains the missing of the millisecond part.
The temporary solution is that I have to override the default ISO 8601 one, by DateFormatString, "yyyy-MM-ddTHH:mm:ss.fffzzz"

I'm pretty sure the precision of fractions of seconds isn't mandated by ISO 8601.


Implement Blog Card

Issue Description: Flutter Blog Card Implementation
Description:
The task is to create a Blog card in Flutter, mimicking the design provided in the Material Tailwind UI documentation for a profile card.
Link to UI - https://www.material-tailwind.com/docs/react/card#blog-card
Requirements:
Ensure that the Flutter blog card closely resembles the provided Material Tailwind UI profile card.
The component should adapt well to different screen sizes and orientations.
Allow dynamic content insertion into the component. Placeholder data can be used for testing purposes.
Testing Guidelines:
Verify that the profile card displays correctly on various devices and screen sizes.
Test the dynamic content integration by replacing placeholder data with real data.
Ensure that any interactive elements respond as expected.

Can I work on this?

Sure assigned it to you,
let us know if you face any issues!

I would also like to work on this!!


Implement database API

As a developer
I want to set create trips' data for offline (internal assets), online (firebase)
Requirements

API interface between many data models and one controller
manage trip uid for updating existing trips' data
version and backward compatibility schema for existing and new trips' data
data readable in json format

Rejecting Firebase solution


Make it easier to programmatically detect errors

Suggestion

🔍 Search Terms

json programmatic api errors output format
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

To support codemod tools, I'd like the ability to programmatically find type errors in my code. This could be accomplished by adding a flag like eslint's --format json, bunyan's JSON output, or various test runners that have JSON reporters. Or, there could be a simple programmatic API users could call. (I found https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API but it's not quite what I need.)
📃 Motivating Example

I made a change that reveals a bunch of type errors. Now I'd like to write a codemod that uses that the information in those type errors to automatically fix them all.
💻 Use Cases

Workaround: string parsing the output of tsc. 😦

I'd like the ability to programmatically find type errors in my code [...] I found https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API but it's not quite what I need

There's a very robust compiler API that gives you back the raw, non-stringified diagnostics, upon which you can do whatever you like. What was missing from the compiler API that you needed?

Maybe just better docs. :smile: I spent 20 minutes using those docs and inspecting require('typescript') in the REPL trying to figure out how to do this, without success. Then I gave up and was able to parse the text output in about 90 seconds.

@NickHeiner I’d also recommend looking at https://www.npmjs.com/package/@ts-morph/bootstrap—it abstracts away a lot of the details and boilerplate of getting up and running with the compiler API. Another strategy for exploring the compiler API would be to skim/search through https://github.com/microsoft/TypeScript/blob/main/lib/tsserverlibrary.d.ts, as it has every public interface, method, property, and class in a single file. A lot of the methods on LanguageService and Program have decent doc comments, and those are typically going to be your entrypoints into all the info you could want from the compiler.

There’s also a #compiler-api channel in the TypeScript Community Discord 😄

Checkout ts-migrate. It has many plugins that does exactly what you mentioned.

Ok, I'll check out all of this. Thanks!
For this time, I was saved by how wonderfully regular the plain text output is. :smile:


help: basic example for the web browser

I try to make a simple web page that : loads sql.js-httpvfs, open the database, have an input text where to enter the SQL query, a button to run the query and an a js function to perform the query and display the result.
All the material I can find here is using node to build the logic but I just want plain JS in an HTML page.
Is there a way to have it in the browser ?

Is there a way to have it in the browser ?

You can compile your Node.js code with weback 5 and run it in the browser.

Hi @setop,
Have a look at the example from the README. Does that work? If not, what would you like to see that's not already there?

Ok I see. I think you're essentially asking for a beefier demo than the one supplied in /example.


Avoid duplicate subs in qlobber

Related to https://github.com/mcollina/aedes-persistence/pull/8#
I think a utility function which can be used in both should be great.

Do you think we'll need this somewhere else?
The function is not very complicated, I fear we are putting too much code in the abstract ones.

@mcollina Probably not, We're using cached persistence in all the persistences except memory.
We could've made a  util file and required the function from there as cached persistence has aedes persistence as a dep.

I think let's merge this, I'll add a common function if I see a use case somewhere

@GavinDmello this is failing with the just-released version of aedes:
add duplicate subs to persistence for qos 0
ok 65 client must be the same
ok 66 no error
ok 67 client must be the same
ok 68 no error
ok 69 no error
not ok 70 should be equivalent
operator: deepEqual
expected: |-
  [ { qos: 0, topic: 'hello' } ]
actual: |-
  [ { qos: 0, topic: 'hello' }, { qos: 0, topic: 'hello' } ]
at: MyPersistence.MemoryPersistence.subscriptionsByClient (/Users/matteo/Repositories/aedes-cached-persistence/node_modules/aedes-persistence/persistence.js:144:3)

...

Let me check

Works at my end.

Have a look at: https://travis-ci.org/mcollina/aedes-cached-persistence/builds/211269515.
Try rm -rf node_modules.

We're using a different persistence addSubscription function for this ? https://github.com/mcollina/aedes-cached-persistence/blob/master/test.js#L39. That's adding the sub twice. I think

would you mind to send a PR to fix this as well?


Bugsnag.notify seems creating new HandshakeCompletedNotify-Thread each time

Profiling my application that is using bugsnag client(mainly usingBugsnag.notify()), bugsnag-async-deliver-%d thread seems creating many HandshakeCompletedNotify-Thread.
As I read code, it seems calling HttpURLConnection.disconnect() in SyncHttpDelivery.java  might be the cause.
https://github.com/bugsnag/bugsnag-java/blob/master/bugsnag/src/main/java/com/bugsnag/delivery/SyncHttpDelivery.java#L111
https://bugs.openjdk.java.net/browse/JDK-8246039
A screenshot of a jfr profile of my app.

Is it able to reduce this new threads?

Hi @takaaki7, yes we think that's the same JDK bug that you're seeing here. There's no straightforward way that we can see for us to fix this in a way that is acceptable to all our users, I'm afraid hence why I'm marking this as wontfix.
However, the delivery mechanism in bugsnag-java is configurable. It's possible for you to provide your own com.bugsnag.delivery.Delivery instance that is tailored to your needs via Configuration.setDelivery and Configuration.setSessionDelivery. You could set the connection header to keep-alive or to use a different http library (e.g. the Apache Http Client).


Fix "boostraping" typo

This just fixes a typo in the "Submitting PRs" page.
This is a rebased version of #86.

Thank you very much, @apjanke !


[manufacturing] Test: manuf_ft_provision_attestation

Description
Description
Test point: (portion of) manuf_ft_provision_rma_token_and_personalization
Test Description
Derive device identity and verify attestation flow using secrets provisioned in manuf_ft_provision_rma_token_and_personalization (#17393)
Device Identity (/ Attestation Flow)
The OWNER_SW_CFG_ROM_KEYMGR_ROM_EXT_MEAS_EN OTP must be configured so that the
attestation measurement can be provided in the manifest of the test program. This
way the provisioning program is able to generate the key manager derivation matching
the production ROM_EXT configuration.
TODO: Left details vague on purpose until we get the attestation flow reviewed.

[ ] provision the root secrets described in manuf_ft_provision_rma_token_and_personalization
[ ] Advance the keymgr to CREATOR_ROOT_KEY state.
[ ] Derive CREATOR attestation key pair.
[ ] Calculate SHA2 hash of the public key with the device secret provisioned in
the manuf_cp_device_info_flash_wr test. The device secret is known by the
provisioning appliance.
[ ] Disable the key manager.
[ ] Configure OWNER_SW_CFG_ROM_KEYMGR_ROM_EXT_MEAS_EN OTP to switch to attestation mode
associated with the device SKU.

Result status

[ ] add opentitanlib-linked host program to read outputs from the test
[ ] add a ujson struct on both device and host sides that contain fields for data to be exported from the host (listed below)
[ ] Send response to host with test result serialized in JSON format. The result must include:

[ ] the DEVICE_ID,
[ ] the public attestation key
[ ] the public attestation key's hash.

CC: @moidx
I split this off from #17393 into a separate issue.

This is being tracked by #19455, so closing.


Add developers

Adds developers (in alphabetical order) for maven pom

Although I actually don't think I've ever directly contributed to this project 😅

Don't worry, you have helped in other ways!


Lint checks in travis ci to fail if codestyle is not matching

This is already working as intended. Closing.


add some styles

Add some styles for registration form, courses, and trainers. Comment the old one in courses and trainers in case you want to use the original one.

If we gonna assign a class name in a React rendered component, the correct ways is not

but


Added testimonial with good UI

issue : #887
https://github.com/user-attachments/assets/a9dfa4d4-3142-4368-8452-8f53a8205bb6
Added auto scrollable good looking testimonial page to website
Checklist

[X ] I have tested the changes locally
[ X] Documentation has been updated (if necessary)
[ X] Changes are backward-compatible

@manikumarreddyu can i get level 2 atleast?


Usage of macos_window_utils broken in 1.1.1

Hi! When building an app that uses flutter_acrylic, I get these errors during build:

This looks like either an error in the latest version of macos_window_utils' exports or in the usages of it in this repo.

As a workaround: downgrade to 1.0.0+2

Thanks for your report. I have been able to reproduce it on my end. Another possible workaround is to install macos_window_utils: 1.0.2 if you wished to remain on a more recent version. I am still investigating the issue as we speak.

I believe the issue is now resolved. It was caused by an accidental breaking change in macos_window_utils 1.1.0. I have retracted that version and released a hotfix.

I tried your workaround, but now I am getting this error:
error: compiling for macOS 10.14, but module 'macos_window_utils' has a minimum deployment target of macOS 10.14.6

As the migration guide states, I have changed my Podfile to say: platform :osx, '10.14.6'.
What version does the hotfix have?

The minimum deployment target in the Podfile has been 10.14.6 since macos_window_utils' very beginning (though it was lower back when flutter_acrylic was standalone). What's interesting is that the macOS Deployment Target in the flutter_acrylic example project is set to 10.14 and yet compiles fine on my end:

Either way, could you maybe try setting it to 10.14.6 or above (as described in the readme) and see if that resolves the issue?
Also, try setting Runner > Build Settings > Deployment > macOS Deployment Target to 10.14.6 or above as well:

Ah thanks! That fixed it for me. My bad, I didn't update the minimum target in the xcode project, just in the Podfile.
Feel free to close this issue.


fix: missing closing bracket

Motivation
Improve API documentation
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Minimal changes no need to deep tests
Related PRs
N/A

I've signed CLA why this doesn't working

@pmqueiroz thanks!


Fix ghcr list repos paging

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 18.533%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/extended_registry/ghcr.go
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
571

Relevant Lines:
3081

💛  - Coveralls


Redesign website

Fix typo
Add new feature:

Generate an auto copy hex value to clipboard when user clicks on the color chip
Create hover and ripple effect to indicate that the value is already copied

Thanks!


The navbar links could look better

What's the style idea?
We need to improve the navbar links . It could look better.

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

I am a Gssoc Contributor Please assign me this issue.

I am thrilled to be participating in GirlScript Summer of Code 2k24 as a passionate computer science student with a keen interest in web development. I am eager to contribute to your project and leverage my skills to make meaningful contributions. I look forward to collaborating with you and the team to create impactful solutions.
Sir, I would really like to work on this issue under Gssoc'24, so please assign it to me.

Kindly assign me this issue.I am profiecient in front end development having knowledge and experience in react.js framework.

Hey, can you please assign me this issue if it is not solved? This is my first time making an open-source contribution, and I really want to showcase my skills. I am very familiar with languages like Java, HTML, CSS, and JS. Apart from coding, I'm an ux/ui freelancer as well.

Pls provide any screenshot on how do you want to improve this @Sooraj002