IP address and mac address info

Hey Guys,
is there a way that we can add info for Windows IP and Mac address on kolide, somehow it is not showing on the hosts page. In any case I missed something in relation how to enable this please let me know.

Hey @dnayr81. The reason why IP address is not included is because the interface_details table does not include ipackets and opackets for each interface, so it's difficult (impossible?) for us to determine which interface is the "main" interface. So even though we can get the IP and MAC for ALL interfaces, we can't calculate which to display.
I created an issue for this a few weeks ago and I'm hoping to be able to spend some time on it soon: https://github.com/facebook/osquery/issues/2907
If you had a different cross-platform query that could retrieve this information without needing those fields, we could update that on the Kolide backend, but I'm not sure of one off the top of my head.


[CELEBORN-1219] tabkeBuffer() avoid checking source.metricsCollectCriticalEnabled twice

What changes were proposed in this pull request?
tabkeBuffer() avoid checking source.metricsCollectCriticalEnabled twice
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?

@AngersZhuuuu, tabkeBuffer()->takeBuffer() for the title and description.


E Enum Should Conform to CustomStringConvertible

Estel May 4 at 4:23 AM
@0xLeif congrats :slight_smile: Have you considered conforming to CustomStringConvertible

This change work break testAllEmojis
https://github.com/0xLeif/EKit/blob/5a1a7aef6b12b556b2a97f0ee01551c5fac7b3c0/Tests/EKitTests/EKitTests.swift#L97-L101


arm64 version

Hi,
would it be possible to have a multi arch image that supports

amd64
arm64

Go has a built in cross compiler. There would be a need to have a second Dockerfile that pulls the arm64 version of terraform into the image.

Open to a PR for this.  Would also need to update https://github.com/jmccann/drone-terraform/blob/master/build-docker.sh to support my local automation to build/push images.  Would need a new tagging scheme also probably.


Doesn't work anymore in the administration

TreeForeignKey and TreeManyToManyField doesn't work anymore inside the Django administration.
The field is rendered by values are always empty.

Mea culpa, it seems it affects only one model in my case, but I don't know why. I will reopen this issue if I have further informations.

I confirm. It seems to be a JavaScript problem after analysis. Data are well-gathered by the widget but it cannot render the result.

Where are you using the treewidget? Normally model fields are instantiated in the adminmodel class, which delivers django.jQuery. The field assets get appended to these assets in the right order.
If you use treewidget before that or even on custom pages in the frontend, you need to deliver jquery by yourself.

Here the code:
Model
class Corporation(MPTTEntity, NamedModel, ContactModel):
    """
    Entreprise
    """
    parent = TreeForeignKey(
        'self', blank=True, null=True, on_delete=models.CASCADE, related_name='corporations',
        verbose_name=_("parent"))
    siren = models.CharField(
        max_length=14, blank=True,
        verbose_name=_("SIREN"))
    apen = models.CharField(
        max_length=5, blank=True,
        verbose_name=_("APEN"))
    extra_data = JsonField(
        blank=True, null=True, editable=False,
        verbose_name=_("autres données"))

    class Meta:
        verbose_name = _("entreprise")
        verbose_name_plural = _("entreprises")

    class MPTTMeta:
        order_insertion_by = ('name', )

Admin
class CorporationMixin:
    fieldsets = (
        (_("Général"), dict(
            fields=('name', 'description', 'parent',),
            classes=(),
        )),
        (_("Contact"), dict(
            fields=('phone', 'email', 'address', 'country', 'siren', 'apen',),
            classes=('collapse',),
        )),
        (_("Localisation"), dict(
            fields=('name_fr', 'name_en',),
            classes=('collapse',),
        )),
    )
    list_display_links = ('indented_title',)
    list_display = ('tree_actions', 'indented_title', 'parent', 'country',)
    list_filter = ()
    search_fields = ('name', 'description',)
    ordering = ()
    mptt_indent_field = 'name'

class CorporationInline(CorporationMixin, EntityStackedInline):
    """
    Filiales pour les entreprises
    """
    model = Corporation
    extra = 0

@admin.register(Corporation)
class CorporationAdmin(CorporationMixin, EntityAdmin, DraggableMPTTAdmin):
    """
    Administration des entreprises
    """
    inlines = (CorporationInline,)

None of the above have Media defined. By the way, as you can see, the JavaScript is included in the source, but before Django's...

Disabling the inline doesn't seems to change anything. The treewidget medias are always loaded before Django Admin's one.

OK, found. When you have a fieldset with a collapse class, the admin goes crazy with treewidget. Remove all collapse solve the issue, but we have to deal with this.

Closing this issue, the needed workaround is documented in the README.


Contradiction assigning device based licenses

[Enter feedback here]
This document indicates that device-based licenses must be assigned to a device's Group, from the Microsoft 365 Admin Center and not from the Azure AD Portal.
However, the option to assign licenses in the Microsoft 365 admin center is just for users, not groups. The Assign Licenses option explicitly says:
"Manage and view licenses and apps for your users. Manage group-based licenses in the Azure portal"

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

ID: e52eb9c1-1755-bec5-4ad8-6df59779e041
Version Independent ID: 10e4cf5d-ea61-806e-f226-1e14265eabe1
Content: Device-based licensing for Microsoft 365 Apps for enterprise - Deploy Office
Content Source: DeployOffice/device-based-licensing.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

@chris2k  Thanks for pointing this out. We're checking with the product team that's responsible for that area.

@chris2k  Thanks for reaching out! Sorry the process is a two step. First you need to create and add devices to an Azure AD group and then sign into the M365 admin center to assign the license to the group.
Under M365 admin center:
Licenses node > Find Device license and select > Click on + Assign license > on the fly out search for your group from AAD.
Please let me know if you have any other questions or concerns.

Hi Matt,
Yes, that’s exactly the point, that’s not correct. Under M365 admin center it is not possible to assign licenses to Groups, just Users:
@.***
Regards,
/Christian
From: Matt Philipenko @.>
Sent: Thursday, September 23, 2021 1:49 PM
To: MicrosoftDocs/OfficeDocs-DeployOffice @.>
Cc: Christian Camacho @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-DeployOffice] Contradiction assigning device based licenses (#1004)
@chris2khttps://github.com/chris2k Thanks for reaching out! Sorry the process is a two step. First you need to create and add devices to an Azure AD group and then sign into the M365 admin center to assign the license to the group.
Under M365 admin center:
Licenses node > Find Device license and select > Click on + Assign license > on the fly out search for your group from AAD.
Please let me know if you have any other questions or concerns.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-DeployOffice/issues/1004#issuecomment-925985232, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIVTNZHHEUIUUBBOIIIBB3LUDNLBPANCNFSM5D4LQC4Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@chris2k Are you selecting "Microsoft 365 Apps for Education (device)" or "Microsoft 365 Apps for enterprise (device)"  [depending on which subscription you have] when you're on the Billing > Licenses > Subscriptions page in the Microsoft 365 admin center?

Daniel,
That’s another issue, that license does not exist in our CSP marketplace, and our distributor (Intcomex) is not aware about a “Microsoft 365 Apps for enterprise (device)”.
It’s a Microsoft 365 E3 which already includes Microsoft 365 Apps.
So I see where the problem is, thank you for the clarification.
Regards,
/Christian
From: Daniel H. Brown @.>
Sent: Thursday, September 23, 2021 2:25 PM
To: MicrosoftDocs/OfficeDocs-DeployOffice @.>
Cc: Christian Camacho @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-DeployOffice] Contradiction assigning device based licenses (#1004)
@chris2khttps://github.com/chris2k Are you selecting "Microsoft 365 Apps for Education (device)" or "Microsoft 365 Apps for enterprise (device)" [depending on which subscription you have] when you're on the Billing > Licenses > Subscriptions page in the Microsoft 365 admin center?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-DeployOffice/issues/1004#issuecomment-926011122, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIVTNZCEALMJ34KVZECR5SLUDNPHPANCNFSM5D4LQC4Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@DHB-MSFT

السلام عليكم ورحمة الله وبركاته انا جديد في الفريق

انا فى الشعبة الأدبية


[WIP] Cooperative Coevolution Optimization with DEAP

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] 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 change)

Motivation and Context / Related issue

How Has This Been Tested (if it applies)

Checklist

[ ] The documentation is up-to-date with the changes I made.
[ ] I have read the CONTRIBUTING document and completed the CLA (see CLA).
[ ] All tests passed, and additional code has been covered with new tests.

Actually we just need the two minor comments I've made, and
<< from .coop import *  # type: ignore  # noqa: F403 >> at the top of optimizerlib.py, and we are done ?


docker-compose up in step (3) gives error von_von not found

Attempted to run docker-compose but failed. Unclear what is issue if setup uses indy.igrant.io which should be running.
$ docker-compose up
Network von_von declared as external, but could not be found. Please create the network manually using docker network create von_von and try again.

Yes a docker network must be created first to isolate containers within that network. This is not related to Indy nodes running or not.
So for creating a docker network you can use the command docker network create von_von


Add section about extensible variant types.

Fixes #135

Added this under a new sidebar section: "Advanced Language Features".

we are coming back to this soon. Looking good so far though


Moves some parameters to config.yaml

Awesome, thanks! I'll record the other IP address myself so I remember it


Inconsistent interface names in VMs

Issue description
When using NixOS 39cd40f on a libvirtd VM (via NixOps), there is one networking device less than in VirtualBox and the name is different too.
In the libvirtd VM, I have:
enp0s2 and lo.
In VirtualBox I have enp0s3, enp0s8, and lo.
Steps to reproduce
Launch example from NixOps manual in VirtualBox and libvirtd respectively and run ifconfig.

this is to be expected. enp0s2 is derived from the network interface metadata and both virtualization technologies emulate different hardare.


ADR on our branch protection settings

Differences between what the settings are right now and what this documents (to discuss when we meet up next)

Restrict who can dismiss pull request reviews: We don't need to specify the delivery-aws-iac-admin team since they are already given that ability due to being repository administrators.
Required status checks to pass before merging currently only enforces the pre-commit status checks. From our conversations we are deciding we want to require the automated tests to pass as well.
Renovate is currently allowed to push to main, we can take that away, unless we feel it is valuable to set up Renovate's auto-merge functionality.

Can we have the e2e test run (meaning specifically the makefile running go test underdelivery-aws-iac/test/e2e) only if appropriate files are changed? What would those files be (.tf, .tfvars,.gosomething)? How can we incorporate that logic in the pipeline?
example: we don't need to test e2e if we update a readme for spelling mistakes or clarity, modify a pre-commit hook, etc.

Can we have the e2e test run (meaning specifically the makefile running go test underdelivery-aws-iac/test/e2e) only if appropriate files are changed? What would those files be (.tf, .tfvars,.gosomething)? How can we incorporate that logic in the pipeline?
example: we don't need to test e2e if we update a readme for spelling mistakes or clarity, modify a pre-commit hook, etc.

The issue with this is that if we make the tests a required status check and they don't run because only a certain file type was changed then the PR won't be mergeable. It is possible to do but it requires additional logic in the job itself to check which files were changed and then bail out of the test early with a successful result if, for example, only markdown files were changed.


[Security] Error: "This document requires 'TrustedScriptURL' assignment."

Library Affected:
workbox--core
Browser & Platform:
Any browser with support of CSP 2.0
Issue or Feature Request Description:
When installing the CSP policy "require-trusted-types-for 'script'" - the security error occurs in the browser

Usefull link : Prevent DOM-based cross-site scripting vulnerabilities with Trusted Types

Hello @budarin—thanks for reaching out about this.
Is that code you shared from workbox-window, or is it your own code for registering a service worker? It's transpiled, so I can't tell for sure.
I'm not 100% clear on the implications of using trusted types and how Workbox could help with the TrustedScriptURL requirement, but I'll escalate the question to some of my teammates that work in that space and see what they have to say.

...actually, does doing something like what's outlined in Example 2 of https://w3c.github.io/webappsec-trusted-types/dist/spec/#policies-hdr help, where you pass in an object with a createScriptURL() function to createPolicy(), and the return value of passing your service worker's URL to that createScriptURL() is then passed to navigator.serviceWorker.register()? From reading the spec, that seems to be what's required...

Hi!

Is that code you shared from workbox-window, or is it your own code for registering a service worker? It's transpiled, so I can't tell for sure.

It's transpiled workbox code

...actually, does doing ...

I 've got what you're talking about.
I thought you'd implement this on the library side so that users don't write the same code every time.
Well, okay - this option also solves the problem!
Thanks for the tip

I don't know if I should close this discussion - will you still think about the implementation?

I have created default policy as
if (window.trustedTypes && window.trustedTypes.createPolicy) {
    window.trustedTypes.createPolicy('default', {
        createScriptURL: (urlStr: string) => {
            if (typeof urlStr !== 'string') {
                // eslint-disable-next-line fp/no-throw
                throw new TypeError('invalid URL');
            }

            const url = new URL(urlStr, window.location.origin);
            const current = new URL(window.location.href);

            if (url.host !== current.host || url.protocol !== current.protocol) {
                // eslint-disable-next-line fp/no-throw
                throw new TypeError('invalid URL');
            }

            return urlStr;
        },
    });
}

Okay, let's leave this open to track the feature request of having workbox-window handle that for you.
But, for what it's worth, navigator.serviceWorker.register() already has a built-in same-origin check, and will throw and fail registration if you pass in a cross-origin URL. (This behavior is part of the service worker specification.) So I'm not sure how useful this security policy actually is in practice, but I understand that folks might need to implement something in order to meet the trusted types requirements.

but we must do it because browsers are complaining on security error! :(

App can not to provide its own policy because WorkBox's constructor gives a string, but policy required at  .registry command

I took a closer look at this, and I can see how we can improve things from a TypeScript perspective, but I'm not sure that it is necessary to overload the constructor to explicitly support trustedTypes.
What I can do is modify the constructor so that it's clear that the parameter can either be a string or a TrustedScriptURL. From what I can tell, the "official" TypeScript runtime libraries don't have trusted types support yet, so I was planning on pulling in the definition from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/cd7943ca0fa97529efb644168073ab494f9bf1bf/types/trusted-types/lib/index.d.ts#L18-L21. Is that what you're using for your types?
Here's a quick standalone page that works for me (except for the TypeScript types), allowing you to just pass the createScriptURL return value in to the constructor:
<html>
  <head>
    <title>Trusted types</title>
    <meta http-equiv="Content-Security-Policy" content="require-trusted-types-for 'script';">
  </head>
  <body>
    <script type="module">
      import {Workbox} from 'https://storage.googleapis.com/workbox-cdn/releases/6.1.5/workbox-window.dev.mjs';

      let urlToRegister;
      const untrustedURL = './sw.js';

      if (window.trustedTypes?.createPolicy) {
        const customPolicy = window.trustedTypes.createPolicy('myPolicy', {
            createScriptURL: (urlStr) => {
              const url = new URL(urlStr, window.location.origin);
              if (url.origin !== window.location.origin) {
                  throw new TypeError('invalid URL');
              }
              return urlStr;
            },
        });

        urlToRegister = customPolicy.createScriptURL(untrustedURL);
      } else {
        urlToRegister = untrustedURL;
      }

      const wb = new Workbox(urlToRegister);
      wb.register();
    </script>
  </body>
</html>

Okay, I actually had to add in a few explicit .toString() calls, so there were some code changes in #2872
This seems to work, for anyone looking for an example:
import {Workbox} from 'path/to/workbox-window';
import {TrustedScriptURL, TrustedTypesWindow} from 'trusted-types/lib';

const ttWindow = window as unknown as TrustedTypesWindow;

let urlToRegister: string | TrustedScriptURL;
const untrustedURL = './sw.js';

if (ttWindow.trustedTypes?.createPolicy) {
  const customPolicy = ttWindow.trustedTypes.createPolicy('myPolicy', {
      createScriptURL: (urlStr) => {
        const url = new URL(urlStr, window.location.origin);
        if (url.origin !== window.location.origin) {
            throw new TypeError('invalid URL');
        }
        return urlStr;
      },
  });

  urlToRegister = customPolicy.createScriptURL(untrustedURL);
} else {
  urlToRegister = untrustedURL;
}

const wb = new Workbox(urlToRegister);
wb.register();

The fix is now deployed in a pre-release of Workbox v6.2.0: https://github.com/GoogleChrome/workbox/releases/tag/v6.2.0-alpha.0


Support Auto OS Upgrade and Update Policy arguments in Az VMSS Update

Preconditions

[X] No need to upgrade Python SDK or the Python SDK is ready.

Related command
az vmss create --name myScaleSet --resource-group myResourceGroup --enable-auto-os-upgrade true --upgrade-policy-mode Rolling
the above command is supported during provisioning, however the below command needs to be supported for customers enabling auto upgrade post provisioning
az vmss update --name myScaleSet --resource-group myResourceGroup --enable-auto-os-upgrade true --upgrade-policy-mode Rolling
Resource Provider
Compute Resource Provider
Description of Feature or Work Requested
The az vmss update command does not allow customers to enable Auto OS Image Upgrade with rolling upgrade policy from CLI. Customers have to use powershell or other mechanisms to complete this action.
To improve customer experience, both the az vmss create and az vmss update commands need to be supported.
Minimum API Version Required
Use Compute API version 2018-10-01 or higher
Swagger PR link / SDK link
N/A
Request Example
PUT or PATCH on /subscriptions/subscription_id/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myScaleSet?api-version=2021-03-01
Target Date
2024-07-30
PM Contact
Maulik Shah
Engineer Contact
Mike Richmond
Additional context
No response

Thank you for opening this issue, we will look into it.

Hi @maulikshah23, can I ask if this feature is related to security?

Hi Yan,
Yes this is related to Auto patching with is part of security wave 2.
Maulik
Get Outlook for iOShttps://aka.ms/o0ukef

From: Yan Zhu @.>
Sent: Wednesday, July 10, 2024 9:42:38 PM
To: Azure/azure-cli @.>
Cc: Mention @.>; Author @.>
Subject: Re: [Azure/azure-cli] Support Auto OS Upgrade and Update Policy arguments in Az VMSS Update (Issue #29355)
Hi @maulikshah23https://github.com/maulikshah23, can I ask if this feature is related to security?
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/29355#issuecomment-2221880481 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ6Y2KOOSRFGIPLYUI6GXT3ZLXWJ7BFKMF2HI4TJMJ2XIZLTS6BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE2DCOBZGM3DQNZZURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2UMRTHE2TIOJTGY2DBJDOMFWWLKLIMFZV63DBMJSWZAVFOZQWY5LFVIZTONRTGQZTIOBUGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRUGM4TGOJWGEZTSONENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZNAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUDKMJQGQYDQOBWQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGQYDCMRVGUZDGOECUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNBRHA4TGNRYG44YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDGOJVGQ4TGNRUGCBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGM3TMMZUGM2DQNBUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRUGM4TGOJWGEZTSONHORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Target Date
2024-07-30

Hi @maulikshah23, currently we may not have more effort to develop this feature. May I ask if it would be acceptable to have the next sprint (09-03) as the ETA?

Hi Yan,
Is it possible to bring this in prior to 9/3?
Would an August timeframe work for your team?
Maulik

From: Yan Zhu @.>
Sent: Thursday, July 11, 2024 1:23 AM
To: Azure/azure-cli @.>
Cc: Mention @.>; Author @.>; Comment @.***>
Subject: Re: [Azure/azure-cli] Support Auto OS Upgrade and Update Policy arguments in Az VMSS Update (Issue #29355)
Target Date
2024-07-30
Hi @maulikshah23https://github.com/maulikshah23, currently we may not have more effort to develop this feature. May I ask if it would be acceptable to have the next sprint (09-03) as the ETA?
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/29355#issuecomment-2222127188 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ6Y2KOOZSWDGJX5FJ4MKO3ZLYQE5BFKMF2HI4TJMJ2XIZLTS6BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE2DCOBZGM3DQNZZURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2UMRTHE2TIOJTGY2DBJDOMFWWLKLIMFZV63DBMJSWZAVFOZQWY5LFVIZTONRTGQZTIOBUGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRUGM4TGOJWGEZTSONENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZNAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUDKMJQGQYDQOBWQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGQYDCMRVGUZDGOECUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNBRHA4TGNRYG44YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDGOJVGQ4TGNRUGCBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGM3TMMZUGM2DQNBUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRUGM4TGOJWGEZTSONHORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

okay, we will release this feature in this sprint (08-06)

Appreciate the quick response Yan.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Yan Zhu @.>
Sent: Thursday, July 11, 2024 9:30:41 PM
To: Azure/azure-cli @.>
Cc: Author @.>; Comment @.>
Subject: Re: [Azure/azure-cli] Support Auto OS Upgrade and Update Policy arguments in Az VMSS Update (Issue #29355)
okay, we will release this feature in this sprint (08-06)
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/29355#issuecomment-2224312592 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ6Y2KN3WOKNLWXQTLKGKBLZL45VFBFKMF2HI4TJMJ2XIZLTS6BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE2DCOBZGM3DQNZZURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2UMRTHE2TIOJTGY2DBJDOMFWWLKLIMFZV63DBMJSWZAVFOZQWY5LFVIZTONRTGQZTIOBUGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRUGM4TGOJWGEZTSONENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZNAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUDKMJQGQYDQOBWQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGQYDCMRVGUZDGOECUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNBRHA4TGNRYG44YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDGOJVGQ4TGNRUGCBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGM3TMMZUGM2DQNBUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRUGM4TGOJWGEZTSONHORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Default button

Can i change default button?
So now OK is default, how can i change it to cancel as default button.

Sorry, I didn't get what you meant by default button.
The button focused by default? The button focused by default is the cancel button unless in situations where there's just one button (alert), then the OK button serves all purpose.
The plugin also allows you to reverse the order in which the buttons appear. That way you can have the OK button on the left instead.

On both cases default or focus button is OK.
So clicking enter would confirm the dialog, but i want cancel to be focused.

Okay, I get that now. There's currently no option to personalize which action is default. Will add that in my spare time.

I have a concern about this issue too.  I always like to keep as much keyboard functionality as I can for my apps, since I prefer using the keyboard in data-entry roles, etc.
Unless I'm doing something wrong in my tests, no button is focused by default, and neither the enter nor space bar keys will activate either the OK or cancel button.
It seems like your buttons don't take focus like default HTML ones (or Bootstrap-styled ones [e.g.]) do.
I'd like the user to be able to clearly see which button is currently focused and be able to press enter or spacebar, just as the default browser alert or confirm functions do.
Any chance for (optional, by default off to preserve backwards compatibility) support of this?
Thanks for sharing your component.  I like it.

Hello @tgice , i get your point. The buttons are missing visual indicators to tell which one is currently active. Something like dotted borders right? I think it was removed initially as defaces the plugin.
Now that this is a concern, i think i'll have to work something visually appealing.
Currently, the escape key closes the dialog and enter key proceeds.
Two things missing includes the ability to set which button get's focuses initially and the visual indicator for the active button.
In my spare time, i'll fix them. The dialog is open to pull requests though.

In the mean time, i think a little bit of css will add visual indicators. Something like button::active, button::focus { border: 1px dotted grey;}

Custom functionalities like the "default focus" can also be achieved using custom components. Pending the time it'll be imlemented. Just copy the default component and build on it


Go Releaser 2.0 breaks existing configuration

As per release notes https://github.com/goreleaser/goreleaser/releases/tag/v2.0.0,
Existing versions of go releaser < 2.0.0 will likely still work but for systems with the updated packages the following changes needs to be made for succesful usage.
As suggested in the upgrading docs, I have cloned and tested the changes required,
The changes involved:

Making a modification to .goreleaser.yml to included a version constraint i.e version: 2
Update sub keys forchangelog needs to be rename from skip to disabled.

changelog:
  disable: true

Raised Pull Request


Connect tile viewing to focus data view

Resolve #66

@marySalvi, there is a slight bug when selecting a new raster where the opacity value of the previous raster is used for the value of slider of the new raster's focus data view (creating a mismatch). Not a big deal. Merging this so we can move on to bigger things and I will open an issue


Made library backward compatible to version 9

Good news,good jobs guys

Hello @kieranmchall , thanks for the pull request, actually didn't try that, but if you can assure that simple modification is enough to make the whole library compatible with Api 9 I will write that FlexibleAdapter supports it.
However I will accept this one, because doesn't have any impact.
But can you verify by executing the library with an emulator 9 ?

Changing the way how the headers becomes sticky and clickable, this part of code is not used anymore. So I close it without merging.


fix: Pinia not installing correctly

🐛 The bug
On my system, @pinia/nuxt is installed but not @pinia.
It might be an error according to pinia docs, we also have to install @pinia to fix it in Devtools Installation.
🛠 To reproduce
Installation of Pinia
🌈 Expected behavior
Should Install Correctly without giving any module error.
ℹ Additional context
No response

so when you run [packageManager] install @pinia/nuxt you get error? what error are you getting and why do you think it's related to devtools?

Let's retry

so when you run [packageManager] install @pinia/nuxt you get error? what error are you getting and why do you think it's related to devtools?

Devtools are not installing the @pinia main package.

I don't think this is related to DevTools though, can you delete your node_modules and re-install dependencies, and if possible share a small reproduction so we can undrstand better, thanks

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

No, it gives an error above ⬆ when i install through devtools

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

Add @pinia package along with @pinia/nuxt.
Maybe


[CCAP-355] Discourage providers from declining care

🔗 Jira ticket
CCAP-355
✍ Description
Adds a confirmation screen when provider declines to provide care.
📷 Design reference
https://www.figma.com/design/1oRFY7p6tdGogBJk7Ugle8/IL-CCAP-Families-Full-Flow?node-id=9983-25668&t=E36qtaE8FbyiBlAi-4

I appreciate the tests and thee child name helper method that lists out the names of children in a grammatically correct way.


[memgraph-2.12 < E-mage-path-ivan] Add docs for path

Description
Add documentation for the path module.
Pull request type
Please check what kind of PR this is:

[X] Fix or improvement of an existing page
[ ] New documentation page, release related

Related PRs and issues
PR this doc page is related to:
PR394
(especially necessary if the PR is related to a release)
Closes:
(paste the link to the issue it closes)
Checklist:

[x] Check all content with Grammarly
[x] Perform a self-review of my code
[x] Make corresponding changes to the rest of the documentation (consult with the DX team)
[x] The build passes locally
[x] My changes generate no new warnings or errors
[x] Add a corresponding label
[x] If release-related, add a product and version label
[x] If release-related, add release note on product PR

Matija ended up having no changes on this module so thats why I'm instantly merging to 2.12.


Running websocket-relay doesn't work if you already have IPFS running

I have IPFS Desktop running which runs a kubo instance locally
If I have kubo running and run the cargo run -- start -c config/settings.toml command as listed in examples/websocket-relay it doesn't work.
Recommendation:

if we're going to puppet kubo like this we should use the not-default-port
future: config option for people to run a binary of their choice / port of their choice (and even with examples, I'd rather us start leaning into iroh here)

Closed by #352


ENH: concept graph building functionality

Adds functionality so users can construct graphs on a subset of the cells in each image.
Adds functionality to save attributes in the nodes of the generated graphs.
One of the plotting functions is modified such that it can plot only subsets of the cells, thereby allowing visualization of subset graphs.
As a result of these added functionalities the API of the athena.graph.build_graph() function has changed. The notebooks/tutorials were adjusted accordingly.
Some old code was formatted to comply with flake8 and black. All new code complies with black and flake8.
It also adds a test suite to test these added functionalities.

Do you think I would make sense to include the graph concept training in the release?
I think it would be nice to have the option to pip install athena or pip install "athena[gcl]" for which it installs dependencies for the deep learning with the graphs. In addition we can have a tutorial on how to train a basic model on the graphs. I think this is essential that people can use it.

This is a great question. I think it does make sense to include it. The package (the functions and classes that are used in the workflow) is almost meaningless without the workflow. The task of generating graphs, attributing them, training several models, and comparing them is so large that it is only practical to be used with the workflow. Not to mention that leaving out the workflow would mean to let a lot of work go to waste.


jacobian matrix in scipy.optimize.least_squares

can i find whole jacobian matrix of order (mXn) in scipy.optimize as in result we are getting only an array. But i need to find the whole matrix, is there any other way in least square optimization

It's not clear what you're missing. The OptimizeResult object that is returned from least_squares has a jac attribute, which contains the Jacobian of the system. From the documentation:

Modified Jacobian matrix at the solution, in the sense that J^T J is a Gauss-Newton approximation of the Hessian of the cost function. The type is the same as the one used by the algorithm.

Thus, you can also estimate the Hessian from OptimizeResult.jac and from there obtain the covariance matrix.

I'd echo @andyfaff's comments. If an issue remains, we can reopen this, but the Jacobian is already in the jac attribute.

The jac in the results is an array of length equal to the no of variables.
۔.
How can I get mxn jacobian
matrix
On Thu, 31 Aug, 2023, 12:23 pm Matt Haberland, @.***>
wrote:

I'd echo @andyfaff https://github.com/andyfaff's comments. If an issue
remains, we can reopen this, but the Jacobian is already in the jac
attribute.
—
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/19160#issuecomment-1700464496, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BAODKTPTUCLH2QJVCP4P32LXYAYE5ANCNFSM6AAAAAA4EG4LIY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Here is an example from the documentation in which the result object's jac attribute has shape (15, 3), where 15 is the number of outputs of fun and 3 is the number of variables.

import numpy as np
from numpy.random import default_rng
from scipy.optimize import least_squares

rng = default_rng()
def gen_data(t, a, b, c, noise=0., n_outliers=0, seed=None):
    rng = default_rng(seed)

    y = a + b * np.exp(t * c)

    error = noise * rng.standard_normal(t.size)
    outliers = rng.integers(0, t.size, n_outliers)
    error[outliers] *= 10

    return y + error

a = 0.5
b = 2.0
c = -1
t_min = 0
t_max = 10
n_points = 15

t_train = np.linspace(t_min, t_max, n_points)
y_train = gen_data(t_train, a, b, c, noise=0.1, n_outliers=3)

def fun(x, t, y):
    return x[0] + x[1] * np.exp(x[2] * t) - y

x0 = np.array([1.0, 1.0, 0.0])

res_lsq = least_squares(fun, x0, args=(t_train, y_train), method='lm')
res_lsq.jac.shape  # (15, 3)

If this is not what you are observing, please provide a minimum reproducible example that runs when it is copy-pasted into a Python prompt.

Thanks alot, I'll check it out and will get back to you
On Thu, 31 Aug 2023 at 20:43, Matt Haberland @.***>
wrote:

Here is an example from the documentation in which the result object's jac
attribute has shape (15, 3), where 15 is the number of outputs of fun and
3 is the number of variables.
import numpy as np
from numpy.random import default_rng
from scipy.optimize import least_squares
rng = default_rng()
def gen_data(t, a, b, c, noise=0., n_outliers=0, seed=None):
rng = default_rng(seed)
y = a + b * np.exp(t * c)

error = noise * rng.standard_normal(t.size)
outliers = rng.integers(0, t.size, n_outliers)
error[outliers] *= 10

return y + error

a = 0.5
b = 2.0
c = -1
t_min = 0
t_max = 10
n_points = 15
t_train = np.linspace(t_min, t_max, n_points)
y_train = gen_data(t_train, a, b, c, noise=0.1, n_outliers=3)
def fun(x, t, y):
return x[0] + x[1] * np.exp(x[2] * t) - y
x0 = np.array([1.0, 1.0, 0.0])
res_lsq = least_squares(fun, x0, args=(t_train, y_train), method='lm')
res_lsq.jac.shape  # (15, 3)
If this is not what you are observing, please provide a minimum
reproducible example that runs when it is copy-pasted into a Python prompt.
—
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/19160#issuecomment-1701237376, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BAODKTK7WGWXYH3ZG5RLMQ3XYCSYVANCNFSM6AAAAAA4EG4LIY
.
You are receiving this because you authored the thread.Message ID:
@.***>

i am not providing any method in the least_squares and the 'lm' method is
for unconstrained optimization..and i have an objective function with
'bounds'.
i am new to scipy..so plz excuse if i cant frame my question in a more
comprehensive way.
i require a mxn jacobian matrix after least_square optimization which i
couldnt get..
plz guide
On Thu, 31 Aug 2023 at 21:08, Rahat Naz @.***> wrote:

Thanks alot, I'll check it out and will get back to you
On Thu, 31 Aug 2023 at 20:43, Matt Haberland @.***>
wrote:

Here is an example from the documentation in which the result object's
jac attribute has shape (15, 3), where 15 is the number of outputs of fun
and 3 is the number of variables.
import numpy as np
from numpy.random import default_rng
from scipy.optimize import least_squares
rng = default_rng()
def gen_data(t, a, b, c, noise=0., n_outliers=0, seed=None):
rng = default_rng(seed)
y = a + b * np.exp(t * c)

error = noise * rng.standard_normal(t.size)
outliers = rng.integers(0, t.size, n_outliers)
error[outliers] *= 10

return y + error

a = 0.5
b = 2.0
c = -1
t_min = 0
t_max = 10
n_points = 15
t_train = np.linspace(t_min, t_max, n_points)
y_train = gen_data(t_train, a, b, c, noise=0.1, n_outliers=3)
def fun(x, t, y):
return x[0] + x[1] * np.exp(x[2] * t) - y
x0 = np.array([1.0, 1.0, 0.0])
res_lsq = least_squares(fun, x0, args=(t_train, y_train), method='lm')
res_lsq.jac.shape  # (15, 3)
If this is not what you are observing, please provide a minimum
reproducible example that runs when it is copy-pasted into a Python prompt.
—
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/19160#issuecomment-1701237376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAODKTK7WGWXYH3ZG5RLMQ3XYCSYVANCNFSM6AAAAAA4EG4LIY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Remove suffix from result list if suffix matches word

For example .as cannot be registered as there's nothing in front of the TLD.

Correct, .as (well, technically as.) cannot be registered, because the operators of the as TLD don't want to do that.
However, that doesn't hold in general: For example, ai. is a perfectly fine FQDN, and used to host a web server for many years.
In other words, you're asking to check this against the rulesets of each and every TLD.  Not gonna happen.  And I really don't want to miss a single instance of "hey, what you entered actually is a TLD, maybe just ask the operators nicely?", because if that happens then it would be awesome.
You could write your own ruleset, if you want.


feat: add isDscvrFrameActionPayload function (DCP-1600)

Add a validation function for general testing. More code to come after the adapter is done.

Thanks @jimmymadrigal !


Feature request

Hey . Can you add option to enter multiple mobile no..and their beneficiaries..which could allow to book slots in bulk..My society members has requested me to find a solution for this as they all wanted to go to same place altogether.
I hope you could find a solution to this.
Thanks

Thanks for asking. This actually got me thinking.
It's tough to get so many slots at one center.
It's better to have one per household take care of it.


A module with a station attached cannot be deleted

A Station cannot be deleted since delete button is missing.
A module, that is base for the station, cannot be "unhooked" from the station.

A module, that is base for the station, cannot be deleted.

Fixed in release 1.7.11.


Provided slots for calendar rotation buttons content.

Hi! Thank you @charliekassel and all the community for this great datepicker!
I've encouraged some difficulties with changing the arrow buttons content (need to replace it with custom svg), so I decided to add some additional slots for that purpose ('prevIntervalBtn' and 'nextIntervalBtn'). Default look and feel stays the same, you can check it in demo page. Also added description in readme.

Coverage remained the same at 100.0% when pulling 7f0899633e88c86f753727dc5ca6c225f8eb583b on MontolioV:slots-for-calendar-buttons into<PHONE_NUMBER>f7e221a06877b1722519f2a2443adc on charliekassel:master.


Exchange activity is removed when user cold launch the app while exchange activity is in progress.

Frequency: 100%
Repro App version: Celo Integration Wallet build v1.8.2 (40)
Repro on device: iphone 11(13.3), Iphone 6+ (12.4.5)
Repro Steps:

Launch the Application and Signup with test account
Tap on Hamburger menu.
Tap on Gold option
Proceed for Buy / Sell activity.
Cold launch the app when exchange activity is in progress
Observe.

Current Behavior: Exchange activity is removed if it is in progress.
Expected Behavior: Activity should not removed.
Investigation: Some time issue also repro while performing payment activity.
Impact: User is will lost the payment if they cold launch the app.
Attachment: GoldActivityIssue.mp4 (Bug observed at  33 sec)

This is expected behavior because the app was closed before the transaction was sent.


[FlatList]When use getItemLayout, onScrollBeginDrag and onScrollEndDrag not trigger on Android

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
Run react-native info in your terminal and paste its contents here.
React Native Environment Info:
System:
OS: macOS 10.14.1
CPU: (8) x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
Memory: 1.25 GB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.11.0 - /usr/local/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 21, 25, 26, 27, 28
Build Tools: 25.0.1, 25.0.2, 25.0.3, 26.0.3, 27.0.3, 28.0.2, 28.0.3
System Images: android-26 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
react-native: 0.57.4 => 0.57.4
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Description
When use getItemLayout, onScrollBeginDrag and onScrollEndDrag not trigger on Android
Reproducible Demo
https://snack.expo.io/@syqqq7970/ZmxhdG

@bartolkaruza thanks!

Thank you for that wonderful answer. Transparent background solved my issue as well!


[Bug]: llama_index.llms.ollama httpx.HTTPStatusError: Server error '500 Internal Privoxy Error' for url 'http://localhost:11434/api/chat'

Bug Description
I am building my local question-answering system using LlamaIndex, where LLM is deployed through Ollama. Initially, it worked fine, but when I started the global Privoxy, there were issues with LLM based on Ollama. However, deploying the local embedding model based on HuggingFaceEmbedding did not encounter any problems. The specific error message is: httpx.HTTPStatusError: Server error '500 Internal Privoxy Error' for url 'http://localhost:11434/api/chat' For more information, check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
Version
0.10.55
Steps to Reproduce
embed_args = {'model_name': './bce-embedding-base_v1', 'max_length': 512, 'embed_batch_size': 32, 'device': 'cuda'}
embed_model = HuggingFaceEmbedding(**embed_args)        #token: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
reranker_model = SentenceTransformerRerank(
top_n = 5,
model = "./bce-reranker-base_v1",
device='cuda'
)
llm = Ollama(model="qwen2:latest", request_timeout=60.0)
Settings.embed_model=embed_model
Settings.llm = llm
db = chromadb.PersistentClient(path="./ChromaDB")
chroma_collection = db.get_or_create_collection("MyDocuments")
vector_store = ChromaVectorStore(chroma_collection=chroma_collection)
index = VectorStoreIndex.from_vector_store(vector_store)
vector_retriever = VectorIndexRetriever(index=index, similarity_top_k=5)
response_synthesizer = get_response_synthesizer(
# llm=llm,
response_mode="tree_summarize",
streaming=True
)
query_engine = RetrieverQueryEngine(
retriever=vector_retriever,
response_synthesizer=response_synthesizer,
node_postprocessors=[reranker_model],
)
query_engine.query(“XX”).print_response_stream()
Relevant Logs/Tracbacks
No response

Is that the correct url? If you are using some proxy, you might need to update the base url

Is that the correct Ollama url? If you are using some proxy, you might need to update the base url

Thank you so much!
When I don't use a Proxy, everything works fine, and Ollama is running in the background. So, should I use its absolute path now?

Not sure what you mean by absolute path? I just meant that if you are using a proxy, http://localhost:11434 might not be the correct URL anymore right?
You can modify this like llm = Ollama(..., base_url="http://localhost:11434")

Not sure what you mean by absolute path? I just meant that if you are using a proxy, http://localhost:11434 might not be the correct URL anymore right?
You can modify this like llm = Ollama(..., base_url="http://localhost:11434")

You are right, after enabling the global proxy, http://localhost:11434 is not the correct one. However, I am not sure now where the correct port of Ollama is.


Generalize SoftmaxActivation

For mode=instance, SoftmaxActivation currently correctly computes the forward pass on any rank >1 tensor on CPU, but throws an error on GPU with cuDNN. Its highly useful to support mode=instance for any rank tensor (eg using different image conventions, like w x h x c).
This PR adds proper support for this:

fixes the broken grad for CPU calculation for mode=instance and rank of input >2
makes cuDNN support mode=instance and rank of input >2
properly document this behaviour
add tests for this behaviour, and mode=channel for which no tests currently exist.

@piiswrong: could you have a look at this?


The 'Enable Soft Delete' button is selected by default on the 'Delete' dialog

Storage Explorer Version: 1.23.0-dev
Build Number: 20220125.10
Branch: main
Platform/OS: MacOS Big Sur 11.6.1
How Found: From running test case
Regression From: Previous release (1.22.0)
Steps to Reproduce

Expand one storage account -> Blob Containers. (Make sure the soft delete is disabled)
Create a blob container -> Upload one blob -> Click 'Delete'.
Check whether the 'Yes' button is selected by default.

Expected Experience
The 'Yes' button is selected by default.
Actual Experience
The 'Enable Soft Delete' button is selected by default.

Additional Context
This issue doesn't reproduce on Windows 10/Linux Ubuntu 20.04.
Duplicate issue: #5380
Related issue: #5377

Make sure #5380 is also fixed, but try not to disrupt the behavior for other dialogs as described in #5377

Mitigated temporarily by immediately showing the dialog window. This prevents a race condition between showing the window and setting focus on a control. The OS won't actually give focus to an invisible control, so we don't bother hiding the window at all.
In the future, this can be fixed by either moving the code that sets focus to a later part of the window lifecycle or by adding an obscuring element that can be cleared when initialization completes.

Verified this issue on the build main/20220216.1. Fixed.

@craxal Hi Craig, Could you help to take a look at the below issue?
On MacOS with build main/20220216.1.
The content in the dialog doesn't display at the same time with the dialog window. Here is the record:
https://user-images.githubusercontent.com/41351993/154234900-906c4305-2785-42cf-8bd9-79cff05bc8d2.mov

@v-xianya Yes, that is expected. It's a small compromise we had to make in order to get focus onto the default button. This should only be noticeable on macOS.


BUG: Lack of alert for entering letters in 'Your Price' section in 'Book Exhange Hub'

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Description
Users are able to enter letters and symbols in the 'Your Price' section in 'Book Exchange Hub' under the Literary Realms Section. Only numbers should be allowed in this section, as even the currency can be selected above.
Screenshots

Files
index.html
Tasks

Add an alert to notify users that only numbers are allowed, or remove the ability of having letters/symbols typed in this section.
Test the alert for different inputs.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I want to work on this issue under GSSOC'24, kindly assign it to me and I will make the improvements.

Assigned! @chhavx1618
Make sure to attach before & after screenshots in your PR and include the issue number.
Also, please star the repo before working on it. Happy open-source contributing!

Thank you @anuragverma108! I'll make sure to get this done asap :)


improve roctracer trace lines: use device+queue

ensure devices have separate trace lines by propagating roctracer device_id and queue_id into hpctoolkit's context_id and stream_id.

co-developed with laksono.


Cannot use nested "TaskCollection.configureEach {}" calls

Currently I cannot do this:
tasks.matching { it.name == 'myTask1' }.configureEach { task1 ->
	tasks.matching { it.name == 'myTask2' }.configureEach { task2 ->
		task1.mustRunAfter task2
	}
}

task myTask1 {}
task myTask2 {}

Because I get the following error:
> Could not create task ':myTask1'.
   > DefaultTaskCollection#configureEach(Action) on task set cannot be executed in the current context.

The following works, although the use of afterEvaluate is arguable, because usually it is viewed as a bad practice in a plugin code:
project.with {
	afterEvaluate {
		tasks.named('myTask1').configure {
			mustRunAfter tasks.named('myTask2')
		}
	}
}

Context
I need to write a plugin that adds extra behavior to existing tasks, mostly in the form of extra task dependencies added to them. However this logic only works correctly if I can define execution ordering between the already existing tasks.
Can you please provide an API that lets me do this? Or if there is already a solution that I have not stumbled upon, please let me know.

This is intentional.  If you could nest these calls, then you could easily configure things in a way that would break when certain tasks aren't realized.
Take this example:
tasks.named("myTask1").configureEach { task1 ->
    tasks.with("myTask2").configureEach { task2 ->
        task2.someProp = "foobar"
        task1.dependsOn task2
    }
}

If we allowed nested configuration like this, then when I run gradle myTask1, myTask2 won't run at all. If I run gradle myTask1 myTask2, then myTask2 will run in the correct order. Even worse, if I run gradle myTask2, myTask2 won't be configured properly (someProp won't be "foobar").  This is because the configuration of these two tasks only happen properly when both of them are created.
Using matching like you are will defeat the purpose of using configureEach because all tasks need to be created in order to match against them, so if you can, stick to using tasks.configureEach, tasks.named and tasks.withType().configureEach.
I think what you'd like to do is just this:
tasks.named('myTask1').configure {
    mustRunAfter 'myTask2'
}

Hi, @big-guy ,
Thank you for your answer. First I wanna say that my original example wanted to follow the configuration avoidance API completely, but I forgot to use tasks.register:
tasks.register('myTask1') {}
tasks.register('myTask2') {}

The problem with tasks.named is that it cannot wait until the task has actually been created. I mean I can do the following but it's quite verbose:
tasks.withType(DefaultTask).configureEach { task1 ->
	if (task1.name == 'myTask1') {
		task1.mustRunAfter 'task2'
	}
}

(I don't know the task type in advance just its name.)
And if I look at the documentation, matching does not eagerly create tasks:

Instead of: TaskCollection.matching(groovy.lang.Closure)
This is OK to use because it does not require tasks to be created immediately.

Use: OK

Indeed if I run a build scan, it shows that only :help is realized. So something is really wrong here.
Also, neither that page, nor the API docs are really clear about passing string literals to Task.dependsOn is OK because it behaves lazily. I always thought I needed to pass tasks.named(...) to dependsOn as the only correct way.
So can we at least update the documentations then, please?

And if I look at the documentation, matching does not eagerly create tasks:

You're right here.  I had in my mind when I wrote that that this was trying to do something like otherTask.dependsOn tasks.matching { ... }.  Just configuring tasks with matching is OK.

Also, neither that page, nor the API docs are really clear about passing string literals to Task.dependsOn is OK because it behaves lazily. I always thought I needed to pass tasks.named(...) to dependsOn as the only correct way.

This is linked from the DSL reference and Javadoc for dependsOn, mustRunAfter and shouldRunAfter:
https://docs.gradle.org/current/dsl/org.gradle.api.Task.html#N18C85

You can use objects of any of the following types to specify dependencies and ordering:
A String, CharSequence or groovy.lang.GString task path or name. A relative path is interpreted relative to the task's Project. This allows you to refer to tasks in other projects.

Sorry, what I mean is, how does the quoted description above indicate that Strings passed to dependsOn are configuration avoidance compatible?

Opened #13060 because I feel ignored. :(


export 'default' (imported as 'TreeView') was not found in '@mui/lab/TreeView' (module has no exports)

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
export 'default' (imported as 'TreeView') was not found in '@mui/lab/TreeView' (module has no exports)
Expected behavior 🤔
no error
Steps to reproduce 🕹
Steps:

Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Please provide a CodeSandbox (https://mui.com/r/issue-template), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve


Make synapse-admin work with matrix-authentication-service

Matrix-authrntication-service (MAS) is a real OIDC authentication system and you could authorize users with optional client-scope urn:synapse:admin:* to gain synapse admin privileges for a session to be able to use synapse-admin when MAS is configerd on a homeserver as auth-service.
Here is a referencing issue, what clients need.
https://github.com/element-hq/matrix-authentication-service/issues/2187
And an upstream issue
https://github.com/Awesome-Technologies/synapse-admin/issues/429

updated by maintainers
Temporary workaround - generate a correct access token using MAS CLI and use it with "access token" login in Synapse Admin:
mas-cli manage issue-compatibility-token --yes-i-want-to-grant-synapse-admin-privileges [username]

We recently added a client implementation guide on areweoidcyet.com which should greatly help understand how the new login API work: https://areweoidcyet.com/client-implementation-guide/
The general API is very similar to m.login.sso, with some extra steps.
The other difficulty might come from the fact that access tokens have a low TTL (5min by default) and need to be refreshed regularly.

Updated the issue's description to include access token workaround

I tried this but the token does not work.
Is there something to know, how to paste the token?
Some quoting or make a json out of the output from mas-cli?


ActiveField array to string error when CSS classes set as an array

What steps will reproduce the problem?
When a CSS class is passed as an array to yii\widgets\ActiveField, it throws an array to string error. Code sample below:
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\models\Demo;
$model = new Demo();

$form = ActiveForm::begin();
$options = [];
Html::addCssClass($options, ['css-1','css-2']);
echo $form->field($model, 'email', ['options'=>$options])->textInput();
ActiveForm::end();

What is the expected result?
CSS classes should be allowed to be passed as an array to ActiveField or to Html:addCssClass
What do you get instead?
Array to string conversion error.
Additional info

Q
A

Yii version
2.0.13

PHP version
Any

Operating system
Any

This is incorrect usage as you attempt to pass HTML options to the field options, which are different things.
Input HTML options in your example should be passed to textInput() method:
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\models\Demo;
$model = new Demo();

$form = ActiveForm::begin();
$options = [];
Html::addCssClass($options, ['css-1','css-2']);
echo $form->field($model, 'email')->textInput($options); // see the difference!
ActiveForm::end();

I am not sure you understood the issue and cross check again.
The problem is initiated in the ActiveForm::field method here which supports passing all ActiveField component properties as the third parameter to ActiveForm::field method.
One should be able to pass ActiveField::options using the above method isn't it?
I know that one can pass options also via textInput('options') or other methods... but when setting by the above process you face an error right?

Resolved by commit e69adc19a7473f219a9713404d8bbe017ed0c3ec


Import/restore from Amp plugin stories feature

Feature Description

Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Hello, @traforate! Though we appreciate your input, we do not planning on building this feature in the near future because the Web Stories data format is not interchangeable.


Add module "Wipe all data"

In case if device is lost  - this is worth to try to erase all data on that by sending SMS.

+1

Hello,
I strongly support this feature request.
Recently Play store made some changes in their policy and SMS control apps having admin rights had been removed. Therefore SMS triggered killswitch applications are disappearing and the one still there are of poor quality.
Your apllocation is of great quality. RC have the strong potential to become the first class F-droid anti theft application. It just miss this feature.
I would really like to have it in my pocket.

Just checked, if this is possible. Android provides the Device Admin Api, which has a method wipeData. This should exactly do what you want. And luckily the needed interfaces are not removed in Android 10 😄 (see https://developers.google.com/android/work/device-admin-deprecation).
I don't have any experience with this Device Admin Api yet, hope this isn't that complicated.
In my opinion this is one of the most important feature requests.


The parameter of additionalContainers for gateways is always defined after container of istio-proxy

Bug Description
The installation templates of In/Egress gateway under the directory of manifests/charts/gateways has a parameter named additionalContainers which is used for user to add additional container with In/Egress gateway.
However,  additionalContainers can only be added after istio-proxy. And the problem is that the user may want to add additional container before or after istio-proxy.
So the solution may be that splitting additionalContainers into preAdditionalContainers and postAdditionalContainers, and the changes, such as in manifests/charts/gateways/istio-ingress/templates/deployment.yaml will look like below:
......
      containers:
{{- if $gateway.preAdditionalContainers }}
{{ toYaml $gateway.preAdditionalContainers | indent 8 }}
{{- end }}
        - name: istio-proxy
......
{{- if $gateway.postAdditionalContainers }}
{{ toYaml $gateway.postAdditionalContainers | indent 8 }}
{{- end }}
......

Version
$ istioctl version
client version: 1.14
control plane version: 1.14
data plane version: 1.14
$ kubectl version --short
Client Version: v1.22.4
Server Version: v1.21.1

Additional Information
None

Curious, why do you care about container order? 99% of the time it doesn't actually matter

In some cases, postStart hook is used in the first container within the pod.  In this case, container sequence in pod spec matters.

Strongly recommend https://preliminary.istio.io/latest/docs/setup/additional-setup/customize-installation-helm/, this is too obscure of a use cases to introduce complexity

Hi @howardjohn, thanks for your recommendation above, I have read it and this blog can tell me how to add properties for the helm template, but we need to update the containers section of the helm template and make sure that the additionalContainers can not always be after the istio-proxy. Moreover, this method only support installing the Istio via helm, and it does not work for user who want to install via istioctl.
Another reason for this change is that if it supports parameter of additionalContainers, these additional containers may be pre or post of istio-proxy. And I also will change Egressgateway as well.

Hi @howardjohn, I understand your concern about this change may block the user, so how about change it like this:
......
      containers:
{{- if $gateway.preAdditionalContainers }}
{{ toYaml $gateway.preAdditionalContainers | indent 8 }}
{{- end }}
        - name: istio-proxy
......
{{- if $gateway.additionalContainers }}
{{ toYaml $gateway.additionalContainers | indent 8 }}
{{- end }}
......

Let's keep the additionalContainers as before and add a new parameter preAdditionalContainers for it. Then there will be no block for user. Does it make sense?

istioctl already has another method: https://istio.io/latest/docs/setup/additional-setup/customize-installation/#advanced-install-customization.
The environments working group has already agreed that we are not going to make changes like this to the helm chart. It doesn't matter that one person has a valid use case for adding new settings --- we get an issue like this 2-3 times per week. if we said "yes" to all of them, soon the helm chart would be 2000 lines long.
The right way to do this is following the docs above. We will not accept any changes like this to the helm chart.

okay, thanks @howardjohn for your reply, I will have a try for the method you mentioned above.


[models] Change mesh.indices from unsigned short to unsigned int

Would be great to have unsigned int for indexing a mesh rather than unsigned short. The amount of vertices that a mesh can have with a ushort is pretty limited. Should be an easy change, right?

@AlbertoFrancoDD unsigned int it's not supported on OpenGL ES 2.0, this change would break compatibility between platforms.


Fix search_generator() failing to return RTC/CSLC Static products

Adds fallback for stopTime when temporally sorting returned results

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (c31bd5a) 89.95% compared to head (8b040d5) 89.85%.

Files
Patch %
Lines

asf_search/search/search.py
77.77%
2 Missing :warning:

asf_search/CMR/translate.py
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #242      +/-   ##
==========================================
- Coverage   89.95%   89.85%   -0.10%
==========================================
  Files          54       54
  Lines        2011     2021      +10
==========================================
+ Hits         1809     1816       +7
- Misses        202      205       +3

Flag
Coverage Δ

unittests
89.85% <72.72%> (-0.10%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add a method to set the Luau interrupt callback

Added a method to set the interrupt callback - I tried to parallel how the useratom callback was set up.
Sorry for the spam; I'm just starting on a new project and some of these changes seem useful to push back upstream.

No worries, this isn't spam!
I just merged a different PR that introduced merge conflicts into your PRs. I'll start reviewing these soon just wanted to let you know

No rush! I've rebased on current main.

Thanks for adding this!
Just a side note. I find it hard to keep up with Luau because it isn't well documented from what I can see. Do you know of any good ways to make sure functions / utilities like this aren't missed?


Include workaround reg. switching to new phone

Where to find the issue
Could be included here:
https://www.coronawarn.app/de/faq/#backup
https://www.coronawarn.app/en/faq/#backup
Describe the issue
This FAQ Entry is not very helpful for normal users (see f.e.: https://github.com/corona-warn-app/cwa-app-ios/issues/1613) . They are left alone with the information that CWA-Data was not transferred to their new device, but the FAQ does not inform them how to solve this problem.

Sollten Sie innerhalb dieser 14 Tage positiv getestet werden, sollten Sie das Testergebnis auf beiden Geräten teilen, damit alle Kontakte informiert werden können.
Eine Anleitung, wie sie Ihr Testergebnis auf mehreren Geräten teilen könnn, finden Sie hier.

English (cc @MikeMcC399):

To make sure that you are informed about all contacts, it is necessary that you open up the Corona-Warn App on your old device regularly for 14 days to see if it shows encounters.
If you test positive within these 14 days, you should share the test result on both devices so that all contacts can be informed. For instructions on how to share your test result on multiple devices, see here.

Additional Information
I can open a PR if these Changes are welcome.

@Ein-Tim
There is another open issue https://github.com/corona-warn-app/cwa-website/issues/411 on this topic, so please consider adding your suggestions to the existing issue and closing this one.
Certainly it is good to refer to the existing FAQ https://www.coronawarn.app/en/faq/#test_multiple_devices as you have done.

@MikeMcC399
Thanks for the hint, normally I always search for Issues, this time I didn't 😅
Will close this Issue and add my proposal to this Issue.


Analysis identifies how to reach null

Error analysis identifies the expression as an error, but under no conditions would the expression be null.
  static bool isEqual(double? value, double? valueCompare) {
    if (value == null && valueCompare != null) {
      return false;
    }
    if (valueCompare == null && value != null) {
      return false;
    }
    if (valueCompare == null && value == null) {
      return true;
    }
    return double.parse(value.toStringAsFixed(2)) == double.parse(valueCompare.toStringAsFixed(2));
  }

Message: error: The method 'toStringAsFixed' can't be unconditionally invoked because the receiver can be 'null'. (unchecked_use_of_nullable_value at [...] ..:...)

It's true that neither value can be null at that point. Unfortunately, the data flow analysis is not able to prove that fact.
It is, however, able to prove the property if the code is rewritten as
static bool isEqual(double? value, double? valueCompare) {
  if (valueCompare == null && value == null) {
    return true;
  }
  if (value == null || valueCompare == null) {
    return false;
  }
  return double.parse(value.toStringAsFixed(2)) == double.parse(valueCompare.toStringAsFixed(2));
}

I have other blocks of code similar to this one, would the community like to include issue to implement?

I'll move this to the language repo, as this is a question for the flow analysis spec.


Agent fails with certificatesigningrequests.certificates.k8s.io "worker-2-tls" already exists: AlreadyExists

The agent seemed to be confused on the state of the CSR, it apparently wanted to create one but it already existed:
✦ ❯ KUBECONFIG=`pwd`/kubeconfig kubectl get csr
NAME           AGE     SIGNERNAME                      REQUESTOR      CONDITION
worker-2-tls   3h32m   kubernetes.io/kubelet-serving   system:admin   Approved,Issued
worker-3-tls   3h32m   kubernetes.io/kubelet-serving   system:admin   Approved,Issued

Jul 16 13:27:28 worker-2 systemd[1]: Started Stackable Agent.
Jul 16 13:27:28 worker-2 stackable-agent[4277]: /etc/stackable/stackable-agent/agent.conf: arguments loaded from config file: []
Jul 16 13:27:28 worker-2 stackable-agent[4277]: [2021-07-16T13:27:28Z INFO  stackable_agent::config] Selected <IP_ADDRESS> as local address to listen on.
Jul 16 13:27:28 worker-2 stackable-agent[4277]: [2021-07-16T13:27:28Z INFO  stackable_agent] Exporting KRUSTLET_NODE_IP=<IP_ADDRESS>
Jul 16 13:27:28 worker-2 stackable-agent[4277]: [2021-07-16T13:27:28Z INFO  stackable_agent] Exporting NODE_LABELS=
Jul 16 13:27:28 worker-2 stackable-agent[4277]: [2021-07-16T13:27:28Z INFO  stackable_agent] Exporting KRUSTLET_CERT_FILE=/etc/stackable/stackable-agent/secret/agent.crt
Jul 16 13:27:28 worker-2 stackable-agent[4277]: [2021-07-16T13:27:28Z INFO  stackable_agent] Exporting KRUSTLET_PRIVATE_KEY_FILE=/etc/stackable/stackable-agent/secret/agent.key
Jul 16 13:27:28 worker-2 stackable-agent[4277]: [2021-07-16T13:27:28Z INFO  stackable_agent] args: Args { inner: ["/opt/stackable-agent/stackable-agent"] }
Jul 16 13:27:28 worker-2 stackable-agent[4277]: Error: ApiError: certificatesigningrequests.certificates.k8s.io "worker-2-tls" already exists: AlreadyExists (ErrorResponse { status: "Failure", message: "cert>
Jul 16 13:27:28 worker-2 stackable-agent[4277]: Caused by:
Jul 16 13:27:28 worker-2 stackable-agent[4277]:     certificatesigningrequests.certificates.k8s.io "worker-2-tls" already exists: AlreadyExists
Jul 16 13:27:28 worker-2 systemd[1]: stackable-agent.service: Main process exited, code=exited, status=1/FAILURE
Jul 16 13:27:28 worker-2 systemd[1]: stackable-agent.service: Failed with result 'exit-code'.

Restarting the agent didn't clear that, it failed immediately with the same thing.
So I deleted the Approved,Issued CSR and then restarted the agent. Then approved the CSR, and saw the agent noticed. Restarting the agent since then works fine.
✦ ❯ KUBECONFIG=`pwd`/kubeconfig kubectl delete certificatesigningrequests.certificates.k8s.io/worker-2-tls
certificatesigningrequest.certificates.k8s.io "worker-2-tls" deleted

Jul 16 14:58:20 worker-2 systemd[1]: Started Stackable Agent.
Jul 16 14:58:20 worker-2 stackable-agent[4389]: /etc/stackable/stackable-agent/agent.conf: arguments loaded from config file: []
Jul 16 14:58:20 worker-2 stackable-agent[4389]: [2021-07-16T14:58:20Z INFO  stackable_agent::config] Selected <IP_ADDRESS> as local address to listen on.
Jul 16 14:58:20 worker-2 stackable-agent[4389]: [2021-07-16T14:58:20Z INFO  stackable_agent] Exporting KRUSTLET_NODE_IP=<IP_ADDRESS>
Jul 16 14:58:20 worker-2 stackable-agent[4389]: [2021-07-16T14:58:20Z INFO  stackable_agent] Exporting NODE_LABELS=
Jul 16 14:58:20 worker-2 stackable-agent[4389]: [2021-07-16T14:58:20Z INFO  stackable_agent] Exporting KRUSTLET_CERT_FILE=/etc/stackable/stackable-agent/secret/agent.crt
Jul 16 14:58:20 worker-2 stackable-agent[4389]: [2021-07-16T14:58:20Z INFO  stackable_agent] Exporting KRUSTLET_PRIVATE_KEY_FILE=/etc/stackable/stackable-agent/secret/agent.key
Jul 16 14:58:20 worker-2 stackable-agent[4389]: [2021-07-16T14:58:20Z INFO  stackable_agent] args: Args { inner: ["/opt/stackable-agent/stackable-agent"] }
Jul 16 14:58:20 worker-2 stackable-agent[4389]: [2021-07-16T14:58:20Z INFO  stackable_agent] Successfully bootstrapped TLS certificate: TLS certificate requires manual approval. Run kubectl certificate appro>
Jul 16 14:58:20 worker-2 stackable-agent[4389]: [2021-07-16T14:58:20Z INFO  kubelet::bootstrapping] Got modified event, but CSR for serving certs is not currently approved, 2.863172ms remaining
Jul 16 14:58:41 worker-2 stackable-agent[4389]: [2021-07-16T14:58:41Z INFO  kubelet::bootstrapping] Got modified event, but CSR for serving certs is not currently approved, 21.058166501s remaining
Jul 16 14:58:41 worker-2 stackable-agent[4389]: [2021-07-16T14:58:41Z INFO  stackable_agent] Successfully bootstrapped TLS certificate: received TLS certificate approval: continuing
Jul 16 14:58:41 worker-2 stackable-agent[4389]: [2021-07-16T14:58:41Z INFO  kubelet::node] Successfully created node 'worker-2'
Jul 16 14:58:41 worker-2 stackable-agent[4389]: [2021-07-16T14:58:41Z INFO  warp::server] TlsServer::run; addr=<IP_ADDRESS>:3000
Jul 16 14:58:41 worker-2 stackable-agent[4389]: [2021-07-16T14:58:41Z INFO  warp::server] listening on https://<IP_ADDRESS>:3000
Jul 16 14:58:41 worker-2 stackable-agent[4389]: [2021-07-16T14:58:41Z INFO  krator::runtime] Got a watch restart. Resyncing queue...
Jul 16 14:58:41 worker-2 stackable-agent[4389]: [2021-07-16T14:58:41Z INFO  krator::runtime] Finished resync of objects.
Jul 16 14:59:00 worker-2 systemd[1]: Stopping Stackable Agent...
Jul 16 14:59:00 worker-2 systemd[1]: stackable-agent.service: Succeeded.
Jul 16 14:59:00 worker-2 systemd[1]: Stopped Stackable Agent.
Jul 16 14:59:00 worker-2 systemd[1]: Started Stackable Agent.
Jul 16 14:59:00 worker-2 stackable-agent[4414]: /etc/stackable/stackable-agent/agent.conf: arguments loaded from config file: []
Jul 16 14:59:00 worker-2 stackable-agent[4414]: [2021-07-16T14:59:00Z INFO  stackable_agent::config] Selected <IP_ADDRESS> as local address to listen on.
Jul 16 14:59:00 worker-2 stackable-agent[4414]: [2021-07-16T14:59:00Z INFO  stackable_agent] Exporting KRUSTLET_NODE_IP=<IP_ADDRESS>
Jul 16 14:59:00 worker-2 stackable-agent[4414]: [2021-07-16T14:59:00Z INFO  stackable_agent] Exporting NODE_LABELS=
Jul 16 14:59:00 worker-2 stackable-agent[4414]: [2021-07-16T14:59:00Z INFO  stackable_agent] Exporting KRUSTLET_CERT_FILE=/etc/stackable/stackable-agent/secret/agent.crt
Jul 16 14:59:00 worker-2 stackable-agent[4414]: [2021-07-16T14:59:00Z INFO  stackable_agent] Exporting KRUSTLET_PRIVATE_KEY_FILE=/etc/stackable/stackable-agent/secret/agent.key
Jul 16 14:59:00 worker-2 stackable-agent[4414]: [2021-07-16T14:59:00Z INFO  stackable_agent] args: Args { inner: ["/opt/stackable-agent/stackable-agent"] }
Jul 16 14:59:01 worker-2 stackable-agent[4414]: [2021-07-16T14:59:01Z INFO  warp::server] TlsServer::run; addr=<IP_ADDRESS>:3000
Jul 16 14:59:01 worker-2 stackable-agent[4414]: [2021-07-16T14:59:01Z INFO  warp::server] listening on https://<IP_ADDRESS>:3000
Jul 16 14:59:01 worker-2 stackable-agent[4414]: [2021-07-16T14:59:01Z INFO  krator::runtime] Got a watch restart. Resyncing queue...
Jul 16 14:59:01 worker-2 stackable-agent[4414]: [2021-07-16T14:59:01Z INFO  krator::runtime] Finished resync of objects.

(0.5.0-nightly)
I will comment here again if I reproduce this.

Didn't reproduce this when I destroyed and created everything again :shrug: , so I'll close this for now and reopen if it comes up again.


Document Viewer: component not rendering some PDF files correctly

Describe the bug
Some files don't render correctly on component Document Viewer, althought they do render OK on PDF.JS
2 POSTO TURMALINA III.pdf
Environment:

PF Version: 10.0, Extensions 10.0.5, Java 8, Wildfly 10

To Reproduce
Steps to reproduce the behavior:
Open the link bellow, then on the viewer choose "Open", and select the attached file. Then you can see what seems to be a gray overlay. Note that you can even select the text...
https://www.primefaces.org/showcase-ext/sections/documentviewer/advanced.jsf
Expected behavior
The document should render normally, as it renders on any other pdf viewer.

Your error in F12 console Warning: JPX: Trying to recover from: "JPX error: Out of packets
Your error is a Mozilla PDF.js error: https://github.com/mozilla/pdf.js/issues/11957
Looks like someone submitted a fix recently: https://github.com/mozilla/pdf.js/pull/13698 but it has not been released.  We are using the release from May 2021 and this bug was only fixed in the last couple of weeks and no new PDF.JS release has been done yet.
Similar to this forum post: https://forum.primefaces.org/viewtopic.php?f=14&t=68362&start=10

You can go upvote this issue for a new release: https://github.com/mozilla/pdf.js/issues/14001

OK this will be fixed in 10.0.7 and 11.0.0.  I verified your PDF above now renders correctly!


Fix testsuite

This will become a series patches making the testsuite great again. This should land after https://github.com/haskell/haddock/pull/600.

Thanks @hvr. Your help is much appreciated!


Start Embedding Service with Local Model | Fails on MacOS

Env:
Python 3.9.6
Apple M3 Max / MacOS 14.1
**Command: Start Embedding Service with Local Model **
python local_embedding.py

Error Trace:
File "/Users/sanjaychopra/Documents/OPEA/GenAIComps/comps/embeddings/langchain/local_embedding.py", line 38, in
opea_microservices["opea_service@local_embedding"].start()
File "/Users/sanjaychopra/Documents/OPEA/GenAIComps/comps/cores/mega/micro_service.py", line 128, in start
self.process.start()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_thread.RLock' object

Opened in GenAIComps / closing here


Add support for remaining textDocument requests on server

The LanguageServer trait is currently missing support for the following requests related to text document manipulation:

[ ] textDocument/willSaveWaitUntil
[x] textDocument/completion
[x] textDocument/signatureHelp
[x] textDocument/declaration
[x] textDocument/definition
[x] textDocument/typeDefinition
[x] textDocument/implementation
[x] textDocument/references
[x] textDocument/documentSymbol
[x] textDocument/codeAction
[x] textDocument/codeLens
[x] textDocument/documentLink
[x] textDocument/documentColor
[x] textDocument/colorPresentation
[x] textDocument/formatting
[x] textDocument/rangeFormatting
[x] textDocument/onTypeFormatting
[x] textDocument/rename
[x] textDocument/prepareRename
[x] textDocument/foldingRange
[ ] textDocument/selectionRange

The number of associated Future types at the top of the LanguageServer trait is steadily growing, making the downstream trait implementation experience increasingly unwieldy. Ideally, we would use a crate like async-trait to eliminate the boilerplate, but we are unfortunately blocked on #58 and the addition of a stdio transport to jsonrpsee, the future replacement for jsonrpc-core.

textDocument/willSaveWaitUntil is blocked because the current version ofcodespan-lsp requires lsp-types 0.70, but https://github.com/gluon-lang/lsp-types/issues/142 was only fixed in lsp-types 0.72.

textDocument/selectionRange is blocked on https://github.com/gluon-lang/lsp-types/pull/149.


"jwt expired" after the app reload

Hey, so I'm using docker and my node APP's authenticate module uses JWT. I'm using the authentication logic which requires to have access and refresh tokens. And this is where I see the problem. After the app reload (nodemon) I see, that my access token, which lasts for 24 hours, expires, but my refresh token, which lasts for 1 month would still be valid. Both tokens are being set in the same way.
const accessTokenData = user.get({ plain: true })
    const accessToken = await jwt.sign(
        accessTokenData,
        accessTokenSecret,
        { expiresIn: accessTokenExpire }
    )

    const refreshTokenData = { user_id: user.get('id') }
    const refreshToken = await jwt.sign(
        refreshTokenData,
        refreshTokenSecret,
        { expiresIn: refreshTokenExpire }
    )

and that's where I see the message "jwt expired"
try {
        data = await jwt.verify(token, accessTokenSecret)
    }
    catch (e) {
        console.log(e.message)
        return reject(false)
    }

P.S. I forgot to mention that sometimes after the APP reload the token would still be valid but most of the time it expires.

ok so the problem was that I was passing "expiresIn" as string which converts my "seconds" to "miliseconds". After parsing it to Integer everything looks fine.


image building: setup/config for DIB needs to be extendable/tweakable

This is an instance of: https://github.com/redhat-openstack/tripleo-quickstart/issues/18
The prep needed to run diskimage-builder on the virthost needs to be re-factored to allow for portability.  The list of prerequisite packages needs to be changable.  In addition presently it allows for installing one RPM.  This needs to be extended via a script, or a list of packages + script, etc.  For example images might be built for rpm/rhos/rhel, or some other packaging format.  As this could be used in the context of CI for a particular big tent (or otherwise) OpenStack project, there might be some simple scripting necessary.  Scenarios include:

pull changes from gerrit
run a release tool that handles repo/package configuration
install/start diagnostic tooling.

There is a proposed change, currently integrating feedback:
https://review.gerrithub.io/#/c/265857/

CI is failing on this for what appears to be unrelated issues (overcloud-validate.sh).  Testing locally in the meantime.

Merged: https://github.com/redhat-openstack/tripleo-quickstart/commit/2a5eb583f9adcf736233a44530a6c9ab86b2a33c


CSS code hints stay open too long after typing enumerated value

In a CSS rule, type out max-height: none;
Continue typing  /*

Result:
Code hints popup remains open the whole time, until you type "*". (After your type ";" the hints switch back to property names).
Expected:
Hints should close after the ";" and not reappear until you start typing a property name.
It works properly if you type things like padding: 0; or border: none, so I think this is a problem specifically caused by code hints to enumerated values.

The /* part of the original steps above no longer repros, but here's a similar bug that still exists:

Type max-height: none;
Press Enter

Result: code hints stay open (listing property names), and follow the cursor onto the next line with a distracting swooping animation
Expected: code hints close after typing ;, and don't open again until you type a letter key or whitespace, or explicitly reopen them via Ctrl-Space.
The expected behavior seems consistent with #2627 & the forum post it links to, so this must have regressed at some point.
Also note that if you have max-height: none and code hints are not open, typing ; does not trigger them to reopen -- which again seems to support that they should close after typing the ; in the steps above.

#10524 fixes this issue.

This should now be fixed. Please check and let us know whether you still see this issue.


Can't resolve "Invalid record domain.tld., missing type"

Hello,
i have no clue on why i get this error. I've checked like 10 times if i were missing anything... Can you help me? I also hope that having a complete zone file will help other people to run OctoDNS.
Thanks a lot, have a good day !
$ octodns-sync --config-file=./config/config.yaml
2018-02-02T01:21:57  [140525256952616] INFO  Manager __init__: config_file=./config/config.yaml
2018-02-02T01:21:57  [140525256952616] INFO  Manager __init__:   max_workers=1
2018-02-02T01:21:57  [140525256952616] INFO  Manager __init__:   max_workers=False
2018-02-02T01:21:57  [140525256952616] INFO  Manager sync: eligible_zones=[], eligible_targets=[], dry_run=True, force=False
2018-02-02T01:21:57  [140525256952616] INFO  Manager sync:   zone=r0x.fr.
2018-02-02T01:21:57  [140525256952616] INFO  Manager sync:   sources=['config'] -> targets=['cloudflare']
Traceback (most recent call last):
  File "/usr/local/bin/octodns-sync", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/octodns/cmds/sync.py", line 39, in main
    dry_run=not args.doit, force=args.force)
  File "/usr/local/lib/python2.7/site-packages/octodns/manager.py", line 260, in sync
    plans = [p for f in futures for p in f.result()]
  File "/usr/local/lib/python2.7/site-packages/octodns/manager.py", line 49, in result
    return self.func(*self.args, **self.kwargs)
  File "/usr/local/lib/python2.7/site-packages/octodns/manager.py", line 183, in _populate_and_plan
    source.populate(zone)
  File "/usr/local/lib/python2.7/site-packages/octodns/provider/yaml.py", line 69, in populate
    lenient=lenient)
  File "/usr/local/lib/python2.7/site-packages/octodns/record.py", line 78, in new
    raise Exception('Invalid record {}, missing type'.format(fqdn))
Exception: Invalid record r0x.fr., missing type
ERROR: Job failed: exit code 1

Zone file is here: https://hastebin.com/oyubozicax.hs

Your Apex record is invalid:
'':
  - ttl: 300
  - type: A
    value: <IP_ADDRESS>
  - type: MX
    values:

It should be like
'':
  - ttl: 300
    type: A
    value: <IP_ADDRESS>
  - type: MX
    values:

If you have an array under a name, each is treated as a record. The - ttl: 300 would be treated as one, and it has no type key, so it is invalid, hence the error.

Oh thanks a lot for your complete answer!
So i can remove TTL or add It for each entry. I think that the default TTL
is the one defined by the dns provider and i’ve read that you are thinking
about adding a default TTL in OctoDNS config, am i right ?
Le ven. 2 févr. 2018 à 00:00, Adam Smith<EMAIL_ADDRESS>a
écrit :

Your Apex record is invalid:
'':

ttl: 300
type: A
value: <IP_ADDRESS>
type: MX
values:

It should be like
'':

ttl: 300
type: A
value: <IP_ADDRESS>
type: MX
values:

If you have an array under a name, each is treated as a record. The -
ttl: 300 would be treated as one, and it has no type key, so it is
invalid, hence the error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/octodns/issues/184#issuecomment-362487036, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD364n7oE19TS9sMX0372uXqZixYue59ks5tQpZtgaJpZM4R2ixY
.

So i can remove TTL or add It for each entry.

Yeah. If you remove it the error will be addressed. The records will be using the default value unless you add a specific override to them.

Thanks a lot again yzguy and ross :). Have an excellent weekend !
I close my issue.


Give concourse grafana dashboard a unique mounted file name.

All the dashboard configs are mounted into the grafana pod in the same
directory, so if multiple dashboards share the same "key" they overwrite
each other, depending on which order grafana pulls the config maps out
of the k8s control plane.

Namespaces are one honking great idea -- let's do more of those!

When is a namespace not a namespace?


APEXMALHAR-1988: Updating cassandra batch fetch logic to use Cassandr…

…a Paging feature

Merged commit: a91287ce7652f3f0000498ebfa33c16315f44e45
closing this pull request.

@DT-Priyanka PR is still open?

ohh sorry, closing now.


Contributing: Changed from CLA to DCO to simplify contributions

Signed-off-by: Frank Haverkamp<EMAIL_ADDRESS>

The failing checks are due to internal setup problems checking out some internal test-cases. So not something to worry about. The changes are totally unrelated to code too.


[Mobile] Widget Tabs - Merging widget instead of switching position

Preconditions:
device: Galaxy S4 - 360 x 640

Go to Dashboard or e.g Widget Tabs
Try to switch position between two widgets

Results:
Widgets are merged instead of switching position

@dawid-g, widget position changing and merging capabilities should not be available on mobile. Issue fixed.


[Bug]: Task log cannot be viewed

ODC version
odc433
OB version

What happened?

What did you expect to happen?
Existence of logs
How can we reproduce it (as minimally and precisely as possible)?
Execute tasks and view logs
Anything else we need to know?
No response

pass


fix(Global Search/Tagging): regenerated services with latest API defi…

…nition
PR summary

PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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

In the PR description, you mentioned both Search and Tagging services, but you only updated the files for Search.  Do you also plan on re-generating the Tagging service also?

Following the Integration Tests results:

:tada: This PR is included in version 0.32.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


use-metrics-store ops file seems to be out of date

Is this an Issue/Bug or a Feature Request?
[x] Issue or Bug
[ ] Feature Request
What is this issue about? Or why do you want this feature?
https://github.com/cloudfoundry/cf-deployment/issues/972
What version of Metric Store are you using?
1.5.5

Should be resolved by https://github.com/cloudfoundry/cf-deployment/pull/975


Related data not being included

I have the following server:
var jsonApi = require("jsonapi-server");
var MongoStore = require("jsonapi-store-mongodb");

jsonApi.setConfig({
  protocol: "http",
  hostname: "localhost",
  port: 3000,
  base: "api",
});

jsonApi.define({
  resource: "authors",
  handlers: new MongoStore({
    url: "mongodb://localhost:27017/book-collection-example",
  }),
  attributes: {
    name: jsonApi.Joi.string(),
    books: jsonApi.Joi.belongsToMany({
      resource: "books",
    }),
  }
});

jsonApi.define({
  resource: "books",
  handlers: new MongoStore({
    url: "mongodb://localhost:27017/book-collection-example",
  }),
  attributes: {
    title: jsonApi.Joi.string(),
    author: jsonApi.Joi.one("authors"),
  }
});

jsonApi.start();

If I add the following author and book:
curl -v -H "Content-Type: application/vnd.api+json" <IP_ADDRESS>:3000/api/authors -d '{"data": { "attributes": { "name": "Ernest Cline" } } }'

curl -v -H "Content-Type: application/vnd.api+json" <IP_ADDRESS>:3000/api/books -d '{"data": { "attributes": { "title": "Ready Player One" }, "relationships": { "author": { "data": { "type": "author", "id": "<insert-id-here>" } } } } }'

They are successfully added to the database.
The problem is when I retrieve all authors, the related data isn't included:
curl -v -H "Content-Type: application/vnd.api+json" <IP_ADDRESS>:3000/api/authors

{"jsonapi":{"version":"1.0"},"meta":{"page":{"offset":0,"limit":50,"total":1}},"links":{"self":"http://localhost:3000/api/authors"},"data":[{"type":"authors","id":"af5e3405-1d9c-4996-8e8d-8c8f0e2dac1f","attributes":{"name":"Ernest Cline"},"links":{"self":"http://localhost:3000/api/authors/af5e3405-1d9c-4996-8e8d-8c8f0e2dac1f"},"relationships":{"books":{"meta":{"relation":"primary","readOnly":false},"links":{"self":"http://localhost:3000/api/authors/af5e3405-1d9c-4996-8e8d-8c8f0e2dac1f/relationships/books","related":"http://localhost:3000/api/authors/af5e3405-1d9c-4996-8e8d-8c8f0e2dac1f/books"},"data":[]}}}],"included":[]}

If I try to specify that I want the books from a given author included, I get the same reponse:
curl -v -H "Content-Type: application/vnd.api+json" <IP_ADDRESS>:3000/api/authors?include=books

{"jsonapi":{"version":"1.0"},"meta":{"page":{"offset":0,"limit":50,"total":1}},"links":{"self":"http://localhost:3000/api/authors?include=books"},"data":[{"type":"authors","id":"af5e3405-1d9c-4996-8e8d-8c8f0e2dac1f","attributes":{"name":"Ernest Cline"},"links":{"self":"http://localhost:3000/api/authors/af5e3405-1d9c-4996-8e8d-8c8f0e2dac1f"},"relationships":{"books":{"meta":{"relation":"primary","readOnly":false},"links":{"self":"http://localhost:3000/api/authors/af5e3405-1d9c-4996-8e8d-8c8f0e2dac1f/relationships/books","related":"http://localhost:3000/api/authors/af5e3405-1d9c-4996-8e8d-8c8f0e2dac1f/books"},"data":[]}}}],"included":[]}

I'm expecting the books relationship data field to contain the books that are related to the given author.

Your problem is in your authors resource:
    books: jsonApi.Joi.belongsToMany({
      resource: "books",
    }),

You're missing an as property, which tells jsonapi-server which relationship within books contains the forward reference. I'll add some extra validation to prevent others from falling in to the same trap.
This is what you should change it to (verified locally with the in-memory handler):
    books: jsonApi.Joi.belongsToMany({
      resource: "books",
      as: "author"
    }),

For anyone following along, there's a slight issue with the second curl command you've posted, you've got this: "relationships": { "author": { "data": { "type": "author",  but the type of the author relationship is authors not author - it's worth watching out for things like that.

That did the trick, thanks. I think I assumed it would generate a sane default if as was omitted, since the example uses it to link a person resource to photographer.

:+1: I considered attempting to pick a default, but it won't work in complex use cases where you might have many different relations between books and authors (which I might have called "people") - if books have authors, publishers, readers and reviewers, it'd be impossible to make any reasonable guess as to which relationship is expected :(
Am I good to close this issue?


Move cluster node addition/removal out of "experimental"

Implemented workerqueue for node modifications in the PortAllocator, so that if the master happens to go
down, then the operations the PortAllocator has to do to keep things in check will retry and result in a correct state.
Closes #60

@markmandel If you rebase onto master, I'll be happy to merge. 😄