e2e tests for validating Ambient deployment

This PR implements e2e tests for control plane and dataplane validation of Ambient profile in the Sail Operator.
Depends on: https://github.com/istio-ecosystem/sail-operator/pull/543
Related to: https://github.com/istio-ecosystem/sail-operator/issues/500
Signed-off-by: Sridhar Gaddam<EMAIL_ADDRESS>

@sridhargaddam: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
0432c84b57880a16b7a92d8d4047c914f752211b
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
e281e30c89effd244790ad545d219f52619dc1a3
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/test e2e-kind-olm

@sridhargaddam: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
e281e30c89effd244790ad545d219f52619dc1a3
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Test suite e2e-kind-olm_sail-operator_main will be fixed if the following PR (or any related fix) is merged - https://github.com/istio-ecosystem/sail-operator/pull/543
CC: @luksa

/test e2e-kind-olm

@sridhargaddam: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
e281e30c89effd244790ad545d219f52619dc1a3
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/test e2e-kind-olm

@sridhargaddam: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
e281e30c89effd244790ad545d219f52619dc1a3
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
e281e30c89effd244790ad545d219f52619dc1a3
link
true
/test e2e-kind-olm

lint_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
e281e30c89effd244790ad545d219f52619dc1a3
link
true
/test e2e-kind-olm

lint_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test lint

e2e-kind-dualstack_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-dualstack

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
e281e30c89effd244790ad545d219f52619dc1a3
link
true
/test e2e-kind-olm

lint_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test lint

e2e-kind-dualstack_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-dualstack

e2e-kind_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
e281e30c89effd244790ad545d219f52619dc1a3
link
true
/test e2e-kind-olm

lint_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test lint

e2e-kind-dualstack_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-dualstack

e2e-kind_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind

e2e-kind-multicluster_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test lint

e2e-kind-dualstack_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-dualstack

e2e-kind_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind

e2e-kind-multicluster_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-multicluster

e2e-kind-olm_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-dualstack_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-dualstack

e2e-kind_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind

e2e-kind-multicluster_sail-operator_main
93fbc748438170d286c33dd709809c503db37900
link
true
/test e2e-kind-multicluster

e2e-kind-olm_sail-operator_main
5d4cc833e41e8fc0496a665e0515ae6cffe12285
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
5d4cc833e41e8fc0496a665e0515ae6cffe12285
link
true
/test e2e-kind-olm

e2e-kind_sail-operator_main
5a98dad7b78012964f3ec0a1c8fc116fa841ba91
link
true
/test e2e-kind

e2e-kind-dualstack_sail-operator_main
5a98dad7b78012964f3ec0a1c8fc116fa841ba91
link
true
/test e2e-kind-dualstack

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind_sail-operator_main
5a98dad7b78012964f3ec0a1c8fc116fa841ba91
link
true
/test e2e-kind

e2e-kind-dualstack_sail-operator_main
5a98dad7b78012964f3ec0a1c8fc116fa841ba91
link
true
/test e2e-kind-dualstack

e2e-kind-olm_sail-operator_main
5a98dad7b78012964f3ec0a1c8fc116fa841ba91
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sridhargaddam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind_sail-operator_main
5a98dad7b78012964f3ec0a1c8fc116fa841ba91
link
true
/test e2e-kind

e2e-kind-dualstack_sail-operator_main
5a98dad7b78012964f3ec0a1c8fc116fa841ba91
link
true
/test e2e-kind-dualstack

e2e-kind-olm_sail-operator_main
df9bcac6c3417477b83904065fee9c2973d1c826
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/test e2e-kind-olm


[do not merge] release validation, no-op change

Details

Motivation

Context

Pull request checklist

[ ] Addresses an existing issue: Fixes #0000
[ ] Added relevant unit test for your changes. (yarn test)
[ ] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
[ ] Ran precheckin (yarn precheckin)

Lookin groovy 🕺


#113 PWA offline

This is awesome! Can you rebase? Looks like there's a conflict in package.json and package-lock.json. Thank you!!

@monte-hayward, I went ahead and added this in! Thank you so much for doing this work! I really appreciate you.

@taylorbryant my pleasure, thanks!


[zh-cn] sync pods/_index.md ephemeral-containers.md

content/zh-cn/docs/concepts/workloads/pods/_index.md
content/zh-cn/docs/concepts/workloads/pods/ephemeral-containers.md

/approve

/lgtm


fix T_in in TRMM_LBA

the initial T profile in TRMM has a very strange (wrong) she at 15km and this change would make it more physical

the current profile

the new profile

Fine to merge, can we just mention where the new data is coming from? I think the original profiles came from scampy? But I do remember seeing multiple versions when moving things here.

I manually adjusted the value for a smooth profile , the original profile is from the paper but in that paper the convection does not reach 15km so it probably does not matter there. @trontrytel @ilopezgp what do you think ?


Fix a few compile errors in the iOS Tests target

I guess we're not running these on travis...

Looks legit but I am unsure why we aren't running iOS tests on CI.

Tests compile and run at least :+1:


ion-input scrolls to top on focus and select control shows options on "Go" button click

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Hi Ionic team! I'm facing an issue in ionic 3.x with inputs. The problem occurs when the user clics on an input and tries to type the text, when the keyboard shows all the content is scrolling up and some inputs are not visible. This issue is a major issue in Android devices.
Also I noticed that if I have an "ion-select" control into a form with a submit button and I click on the "Go" button (this button shows in the keyboard when the user is typing in another input) it shows the "ion-select" options instead of submiting the form.
Expected behavior:
The input should be visible, this way the user can see what he is typing.
Ion options should not show when I click over "Go" button
Steps to reproduce:
With a simple application (created with ionic start) you can add a simple form with many inputs (5 or 6 would be enough).
Related code:
Here is my code in the frontend:
<form [formGroup]="addressForm" (ngSubmit)="searchAddress()">
  <div class="form-primary" style="vertical-align: top;">
    <ion-list>
      <!-- Zip code -->
      <ion-item class="input">
        <!-- <ion-label>
          <ion-icon name="pin"></ion-icon>
        </ion-label> -->
        <ion-input clearInput
                   type="tel"
                   placeholder="Zipcode"
                   formControlName="zipCode"
                   (keyup)="findZipCode()">
        </ion-input>
      </ion-item>

      <!-- Estates -->
      <ion-item class="input">
        <ion-label>
          <ion-icon name="pin"></ion-icon>
        </ion-label>
        <ion-select formControlName="selectedEstate"
                    (ionChange)="estateChanged()"
                    placeholder="Estate"
                    cancelText="Cancel"
                    okText="Accept">
          <ion-option value="{{ e }}" *ngFor="let e of estates">{{ e }}</ion-option>
        </ion-select>
      </ion-item>

      <!-- Municipalities -->
      <ion-item class="input">
        <ion-label>
          <ion-icon name="pin"></ion-icon>
        </ion-label>
        <ion-select formControlName="selectedMunicipality"
                    (ionChange)="municipalityChanged()"
                    placeholder="Municipality"
                    cancelText="Cancel"
                    okText="Accept"
                    [disabled]="!municipalities || municipalities.length === 0">
          <ion-option value="{{ m }}" *ngFor="let m of municipalities">{{ m }}</ion-option>
        </ion-select>
      </ion-item>

      <!-- neighborhoods-->
      <ion-item class="input">
        <ion-label>
          <ion-icon name="pin"></ion-icon>
        </ion-label>
        <ion-select formControlName="selectedNeighborhood"
                    (ionChange)="changeNeighborhood()"
                    placeholder="Neighborhood"
                    cancelText="Cancel"
                    okText="Accept"
                    [disabled]="!neighborhoods|| neighborhoods.length === 0">
          <ion-option value="{{ c }}" *ngFor="let c of neighborhoods">{{ c }}</ion-option>
        </ion-select>
      </ion-item>

      <!-- Street -->
      <ion-item class="input">
        <ion-input clearInput
                   type="text"
                   placeholder="Street"
                   formControlName="street">
        </ion-input>
      </ion-item>

      <!-- External number -->
      <ion-item class="input">
        <ion-input type="tel"
                   placeholder="House number"
                   formControlName="externalNumber">
        </ion-input>
      </ion-item>

      <ion-item class="input">
        <ion-input type="tel"
                  placeholder="Department number"
                   formControlName="internalNumber">
        </ion-input>
      </ion-item>
    </ion-list>
  </div>

  <ion-row class="form-footer">
    <button type="submit" ion-button block>
      Search address
    </button>
  </ion-row>

</form>

Other information:
This is happening since Ionic v2 and also in Ionic v3
Ionic info::
This is what I get when I run Ionic info
    @ionic/app-scripts : 1.3.7
    Cordova Platforms  : android 6.2.3 ios 4.4.0
    Ionic Framework    : ionic-angular 3.4.2

System:

    Node : v6.10.3
    OS   : Windows 10
    npm  : 3.10.10

Hello! Thank you for submitting this issue. This is an issue that we are aware of and are working on, but do not have a solution for at this time.
One work-around that you can try is positioning the input above where the keyboard would normally come up (if possible), which will prevent the scrolling logic from triggering. Does this work-around solve your issue until a fix is available?

Yeah, that worked for me, but looks a little weird.
Thank you for your help

Hi Ionic team. I'm JuanJoseRhoads, I lost my password and email to that account.
Yeah, that solution worked for me.
Do you have any solution for the "submit" issue?

Hello! For the submit issue, would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic!

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

https://stackoverflow.com/questions/45197469/ionic-2-disable-scrolling-on-login-form-input-focus


Incorrect summary in model-check tabs

In a recent change (see PR #551) I refactored the code that adds up the number of scenarios or datasets that have differences.  It looks like I introduced a bug because the tabs in the model-check summary page are now showing the total number of rows rather than the number of rows with significant differences:

The problematic code is here:

The code was changed accidentally to calculate the total number of rows.  It needs to be changed back similar to how it was before, where we subtract the "without diffs" count from the total number of rows.

The tabs now show the correct summaries in the case where there are no differences:

And the correct summaries when there are some differences:


Fixes Either API

Coverage remained the same at 100.0% when pulling a4a5fb68055daad02bf143d5ed4cfc34a422d02d on rstegg:either-api into c168fbcf34421b897bf73160a19823044dae3b28 on evilsoft:master.


Missing release notes for v7.2.0 of Microsoft.Extensions.Configuration.AzureAppConfiguration

I noticed today that there was a minor bump on this package as I'm installing it on a number of projects over the past week or so. I came to the repo to see if I could check the release notes, but the link on the readme only shows changes for 7.1.0:

https://github.com/Azure/AppConfiguration/blob/main/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md

Can it be updated with whatever was added in 7.2.0?

It's in PR and should be merged soon https://github.com/Azure/AppConfiguration/pull/908


As CORE-ENGINE, There needs to be a way to execute Rule CG0408

Class: ALL
Domain: ALL
Rule: "Dataset > 0 records"
There needs to be a way to check whether the current dataset has 0 records.
A few options (I'm not sure which one is best to implement):
"empty"/"non_empty" functionality at the dataset level
"dataset_length" or "dataset_has_records" metadata variable
aggregate operation for "record_count" or "records_exist"

I like the approach with aggregate operation "record_count". Then, we just compare the operation result with the desired value using any of existing operators like equal_to, less_than etc.


[Issue]: Can't register my custom ModelClient

Describe the issue
Have been struggling to get a custom client configuration working for a couple of days now. I've boiled my code down to a very simplified version.

The error I get is:
RuntimeError: Model client(s) ['MyAIClient'] are not activated. Please register the custom model clients using register_model_client or filter them out form the config list.
I am registering the client with register_model_client, so haven't been able to work out so far why the registration isn't sticking.
checked this checklist already, but I appreciate the checklist may be outdated: https://microsoft.github.io/autogen/blog/2024/01/26/Custom-Models/

Steps to reproduce
Run this code.
import os
from autogen import ConversableAgent
from autogen import ModelClient
from autogen.oai import OpenAIWrapper

# Define the custom model client
class MyAIClient(ModelClient):
    def __init__(self, config):
        self.model = config["model"]
        self.base_url = config["base_url"]
        self.api_key = config["api_key"]

    def create(self, params):
        return {"choices": [{"message": {"content": "This is a dummy response from the LLM"}}]}

    def message_retrieval(self, response):
        return [choice['message']['content'] for choice in response.choices]

    def cost(self, response) -> float:
        return 0.0

    @staticmethod
    def get_usage(response):
        return {"prompt_tokens": 10, "completion_tokens": 10, "total_tokens": 20, "cost": 0.0}

# Custom client configuration
llm_config = {
    "config_list": [
        {
            "api_key": os.getenv("OPENAI_API_KEY"),
            "model": "gpt-4o-mini",  # Use the valid model name
            "base_url": "https://api.openai.com/v1",
            "model_client_cls": "MyAIClient"
        },
    ]
}

def main():
    # Register the MyAIClient with OpenAIWrapper
    oai_wrapper = OpenAIWrapper(config_list=llm_config["config_list"])
    oai_wrapper.register_model_client(MyAIClient)

    # Create ConversableAgents
    agent1 = ConversableAgent(name="Matt", llm_config=llm_config)
    agent2 = ConversableAgent(name="Alice", llm_config=llm_config)

    # Start conversation
    chat_result = agent1.initiate_chat(agent2, message="Hi Alice!", max_turns=1)
    print(chat_result)

if __name__ == "__main__":
    main()

Screenshots and logs
No response
Additional Information
No response

@autogptfreak  here is my workable example code: https://github.com/yexia553/autogen_examples/blob/main/demos/demo_custom_model.py
and below is a blog explain details about it: https://panzhixiang.com/2024/autogen-custom-model/

@autogptfreak here is my workable example code: https://github.com/yexia553/autogen_examples/blob/main/demos/demo_custom_model.py and below is a blog explain details about it: https://panzhixiang.com/2024/autogen-custom-model/

@yexia553 I really appreciate your taking the time to reply. I managed to figure out what I was doing wrong and it's nice to see the confirmation of what I realised was wrong with my code also in your example.
The main problem was the part of my code that created oai_wrapper then did the register_model_client on that, instead of on the actual agents themselves!
So anyone who comes here looking for solutions to noob Autogen coding errors, please see @yexia553's excellent example code. I'll also post my fixed code below for reference.
Thanks again @yexia553 !

Had one of those situations where I couldn't trace the steps I took to solve the problem I initially had. Finally figured out how to make the above code work with minimum viable changes. Might give someone some insight.
I added comments where I modified code.
import os
from types import SimpleNamespace
from autogen import ConversableAgent
from autogen import ModelClient
from autogen.oai import OpenAIWrapper

# Define the custom model client

class MyAIClient(ModelClient):
    def __init__(self, config):
        self.model = config["model"]
        self.base_url = config["base_url"]
        self.api_key = config["api_key"]

    def create(self, params):
        #return {"choices": [{"message": {"content": "This is a dummy response from the LLM"}}]}
        response = SimpleNamespace()
        response.choices = [{"message": {"content": "This is a dummy response from the LLM"}}]
        response.cost = 0.0
        return response

    def message_retrieval(self, response):
        return [choice['message']['content'] for choice in response.choices]

    def cost(self, response) -> float:
        return 0.0

    @staticmethod
    def get_usage(response):
        return {"prompt_tokens": 10, "completion_tokens": 10, "total_tokens": 20, "cost": 0.0}

# Custom client configuration
llm_config = {
    "config_list": [
        {
            "api_key": os.getenv("OPENAI_API_KEY"),
            "model": "gpt-4o-mini",  # Use the valid model name
            "base_url": "https://api.openai.com/v1",
            "model_client_cls": "MyAIClient"
        },
    ],
    "cache_seed": None, # FIX: Disabled Autogen caching because it kept on failing even when fixed (re-enable later!)
}

def main():
    # FIX: This was bonkers. Instantiated and registered a client.. then used a different client??
    # Register the MyAIClient with OpenAIWrapper
    # oai_wrapper = OpenAIWrapper(config_list=llm_config["config_list"])
    # oai_wrapper.register_model_client(MyAIClient)

    # Create ConversableAgents
    agent1 = ConversableAgent(name="Matt", llm_config=llm_config)
    agent2 = ConversableAgent(name="Alice", llm_config=llm_config)

    # FIX: Main thing is registering these clients!
    agent1.register_model_client(MyAIClient)
    agent2.register_model_client(MyAIClient)

    # Start conversation
    chat_result = agent1.initiate_chat(
        agent2, message="Hi Alice!", max_turns=1)
    print(chat_result)

if __name__ == "__main__":
    main()


Won't search

When I try:  python3 Moriarty.py -g<EMAIL_ADDRESS><redacted email address, so I used my rabbit's name>
I get this: Usage: Moriarty.py [options]
Moriarty.py: error: Please Use '-h' Parameter To Get Help!
What am I doing wrong?

use microsoft mail instead of gmail.

I tried - it still displayed the error screen.

it looks like you havent specified a password. You have to type your password after issuing -p parameter

I have the same problem: using any of the options I am returned with that generic error

I created a second account and used a generic password. When I tried a simple phone number I received an error message bash: !Password: event not found
And yes, there is an exclamation mark at the beginning.

I don't understand. What is the point of one putting their own email address and password, as well as their own phone number? Error message prompts when all three are not entered.

firstly my dear, it is not necessery to issue your own phone number. Phone number section has to be the victim's phone number. And secondly, Mail and password are needed because the tool is a bot and it pulls data. In order to get the information of owner, i need to use a microsoft mail address. And lastly my dear, this project has moved. Check this site:https://www.whistleye.com


Does NIST have an S3 bucket? If not, request one from SAs so that we can use with Aspera

@yuliujpl Just checking to see if you were able to ask SA's to do this. Thanks!

Yes, I asked SA to create a bucket named s3://labcas-backup
Do we need a different name?

From: hoodriverheather @.>
Sent: Thursday, October 3, 2024 12:22 PM
To: Labcas-NIST/Labcas-ui @.>
Cc: Liu, David (US 3902-Affiliate) @.>; Mention @.>
Subject: [EXTERNAL] Re: [Labcas-NIST/Labcas-ui] Does NIST have an S3 bucket? If not, request one from SAs so that we can use with Aspera (Issue #150)
@yuliujplhttps://urldefense.us/v3/__https://github.com/yuliujpl__;!!PvBDto6Hs4WbVuu7!LVn8nbqt0DH_5jw1PRK0Wa-7WarAvr11ek_6mmHD7Ny9tEa2RaRMaYRuuGKSXc3MHKSzMEChY2ZTO5xJhUMInWkn-M5I9w$ Just checking to see if you were able to ask SA's to do this. Thanks!
—
Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https://github.com/Labcas-NIST/Labcas-ui/issues/150*issuecomment-2392160782__;Iw!!PvBDto6Hs4WbVuu7!LVn8nbqt0DH_5jw1PRK0Wa-7WarAvr11ek_6mmHD7Ny9tEa2RaRMaYRuuGKSXc3MHKSzMEChY2ZTO5xJhUMInWlhoW1w4w$, or unsubscribehttps://urldefense.us/v3/__https://github.com/notifications/unsubscribe-auth/ADXFXXFY5EMPYD5QFJAG5BDZZWKQ5AVCNFSM6AAAAABPKOCKPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSGE3DANZYGI__;!!PvBDto6Hs4WbVuu7!LVn8nbqt0DH_5jw1PRK0Wa-7WarAvr11ek_6mmHD7Ny9tEa2RaRMaYRuuGKSXc3MHKSzMEChY2ZTO5xJhUMInWkI-3UqDw$.
You are receiving this because you were mentioned.Message ID: @.***>

@yuliujpl I actually don't know. I think that name is probably fine :)


Adding push job type of segment metadata only mode

Description
Add new pinot push job types: SegmentMetadataPush and SegmentCreationAndMetadataPush
This job will upload pinot segment metadata along with download uri.
So it will bypass controller downloading segment path.

Curious, why is this mode needed? Could this lead to inconsistency between metadata and segments?

This mode should be used in caution.
We observed for some users, it takes 10 hours to push 20 TB segments to controller to download all segments, load metadata and add segments.
This is mostly useful for data bootstrapping to reduce total push time.

Curious, why is this mode needed? Could this lead to inconsistency between metadata and segments?

This mode should be used in caution.
We observed for some users, it takes 10 hours to push 20 TB segments to controller to download all segments, load metadata and add segments.
This is mostly useful for data bootstrapping to reduce total push time.

I see. I can see this can be a useful tool for issue mitigation. It'll be good to add some description of the scenarios that it targets in the PR description.


Update OpenTelemetry and resolve few deprecations

This PR updates OpenTelemetry, removes things that are not needed and also deals with few deprecations that were present here for a while.

LGTM but I would wait for the same stuff merged into the bridge and operator before merging this one.


iOS app: image upload missing a preview

Summary
When uploading an image either via gallery picker or pasting to input field, no preview is generated.
Environment Information

Device Name: iPhones 13 Pro
OS Version: 17.3.1
Mattermost App Version: 2.13.0 (Build 507)
Mattermost Server Version: 8.1.8 (Build<PHONE_NUMBER>
Database: postgres
Database Schema Version: 113

Steps to reproduce

disable "Reduce motion" setting in the phone's accessibility settings
open any channel in Mattermost
tap image picker, select image from gallery, tap Add
"Send" button becomes active.

Expected behavior
A tiny image preview is displayed near text input field to indicate that an image has been attached, and is waiting to be sent.
Observed behavior (that appears unintentional)
The screen blinks for a second, the input field says "Write to [channel name]", no preview is visible, therefore no indication that there is an image to be sent besides the now-active "Send" button.
Notes
This definitely used to work properly. Might have started with that hot fix version released a while ago (for broken emoji reactions and server switching), but I don't remember 100%. Happened after reinstalling on aforementioned iPhone, on freshly installed testing iPhone 6s Plus / iOS 15.8.1, and on random user devices within our organization.

Hi @felibb, I wasn't able to reproduce this just now. Are you able to reproduce this on our community server here https://community.mattermost.com/? Are there any errors in your server's logs?

@amyblais yep, see https://community.mattermost.com/core/pl/fnd5zc7ahbdj9des496eiibhhh (tagged you there as well).
I think it has been dragging on even after #7764, and the fix/PR 7786 did not fix it everywhere. Acceptable for a hot fix, but a little sloppy for a long-term solution IMO.

Thanks, I'll ask the team to try reproduce this. I wasn't able to reproduce with the "Reduce motion" setting enabled or disabled, maybe it has to do with my OS version (iPhone 13, not Pro).

One intermediate action that might make a difference when reproducing is to force quit the app (via the app switcher) between toggles of "Reduce motion".

@felibb A note from our team: this reproduces when creating a photo as raw, and sharing it into a channel from photos. There is no preview, but that would be expected as it is a RAW image (.dng in this case).

@amyblais I don't even use RAW. Definitely tested with a JPEG file, but HEIF (default iOS photo format) also works, but only with disabled "Reduce motion" setting. Did they test with server 8.1.8 by the way? Maybe the reason is there.
Anyway we cannot possibly try every setting and format combination, and figure out how to make the app work again the way it used to work, don't have time for this, sorry. The QA team, not users, should hunt for edge cases like this. If they cannot reproduce, well, too bad for us, feel free to close the issue. Maybe it will disappear once we upgrade the server to 9.5.

Thank you, I've shared your feedback with the team. I'm sorry that we've had trouble reproducing this. We haven't tested this specifically on a v8.1.8 version since you had reproduced the issue on our community server (which is running on the latest version).

Good news! Another teammate was able to reproduce it. Opened https://mattermost.atlassian.net/browse/MM-57114.


Proposed Changes

Hi. I noticed a few uncaught issues and unneeded elements.
Proposed changes can be previewed here:

Global

Remove URL extensions from all navbar-webpage related links to improve professional look
e.g. community.html -> community
Removed homepage from navbar, as we already have navbar icon/text buttons'
Add navbar icon/text buttons' to mobile nav
Add www. extension to all links that are not asset-related sources

index.html

Change homepage link from index.html to / to avoid exposing unnecessary paths
Remove unnecessary white-space at line 58

news.html

Fix Twitter URL to appropriate  standard

community.html

Implemented 5 new community links - priority orders are moot
Fix Discord invite link to appropriate standard
Change text Forums to Forum, as the forum itself is not plural, but rather sub-forums

I'd like to apologize in advance if changes are only meant to be limited to  root .html files and not build files too.
Additionally I had some Workflow errors but I believe that they are relatively minor/unrelated.
Finally, I would like to also propose a overhaul of the website to include a JS approach, one that I have already have already successfully implemented in the past:
https://github.com/rpaladin/UPBGE-Website-Forks/blob/JS/index.html#L23-L56
This approach would piece together the navbar + footer PER webpage dynamically on page load, thus reducing reptition and wasted time as a developer will only need to edit in one location for all of the webpage children.

Nice!

Remove URL extensions from all navbar-webpage related links to improve professional look
e.g. community.html -> community

I'm not sure if it's worth it, if you now open the page locally the links no longer work (at least on Firefox).

I'd like to apologize in advance if changes are only meant to be limited to root .html files and not build files too.

The naming of the build folder might be misleading here, but that's actually the source folder. If you have a look at build/make.js which you can call with node.js, you will see that it's a very basic template system where each file in the build folder automatically gets its header and footer – so we already have a static solution for your 3. point and those template files shouldn't have a header and footer. Feel free to add it to the readme :)

I'm not sure if it's worth it, if you now open the page locally the links no longer work (at least on Firefox).

This is true, but respectfully unrelated as most web developers developing under localhost conditions.
Else their page structures will break or not work sometimes.
A person can easily host a local server with Python, Node.js, or Apache - note with Apache you'll need to allow mod_rewrite in your conf/http.conf file.
Even Visual Studio Code has several downloadable extensions for hosting a local server.
In fact I wouldn't be surprised if you were able to tweak the Armory3D localhost source to be your go to server host choice for web testing.

The naming of the build folder might be misleading here, but that's actually the source folder. If you have a look at build/make.js which you can call with node.js, you will see that it's a very basic template system where each file in the build folder automatically gets its header and footer – so we already have a static solution for your 3. point and those template files shouldn't have a header and footer. Feel free to add it to the readme :)

Things seem much clearer now. Will be sure to propose new changes for the readme!

Thanks for the feedback. Will revert the changes later today or tomorrow when I'm more free.

It's luckily not up to me to decide this :) I just don't see a reason to make things more complicated for the sake of a more professional looking URL, the Armory website is not more than a bunch of static html files. The good thing however is that the site is so simple that you don't even need to click the links in the header when testing locally, you can simply open the other files. So still no server required here, it's just a minor inconvenience and I can get along with both ways.
Looking forward to the new changes!

Added appropriate new content to header.html & footer.html in the build folder.
Reverted changes to all the other build pages.
Added changes to both README.md files to explain how to properly commit to the repository for newcomers.

Hi and sorry to disturb you @luboslenco.
I understand you are very busy with several commitments and projects.
My PR I believe contains the final implementations of the suggested changes from above.
If you believe the proposals are unnecessary or have any different suggestions/thoughts feel free to do so, I do not mind.


Add a build status badge

I define "build status" of Buildasaur to be derived from the last commit on master. Can be "unknown", "failing", and (hopefully always) "success". At the moment I use my playground server for doing the back and forth, unfortunately my client-side, jQuery version didn't work in GitHub's markdown :(
Fixes #33, but before can be really useful, we need #18 to be done.

Result of integration 1
Integration took 56 seconds.
Perfect build! All 10 tests passed. :+1:

Result of integration 2
Integration took 14 seconds.
Perfect build! All 10 tests passed. :+1:


Added window ref provider for injecting window; updated to versioned auth-client

Codecov Report

Merging #106 into master will decrease coverage by 0.31%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
- Coverage     100%   99.68%   -0.32%
==========================================
  Files          27       28       +1
  Lines         628      635       +7
  Branches       75       75
==========================================
+ Hits          628      633       +5
- Misses          0        2       +2

Flag
Coverage Δ

#builder
100% <100%> (ø)
:arrow_up:

#runtime
95.65% <80%> (-4.35%)
:arrow_down:

Impacted Files
Coverage Δ

lib/sky-pages-module-generator.js
100% <ø> (ø)
:arrow_up:

config/webpack/test.webpack.config.js
100% <100%> (ø)
:arrow_up:

runtime/auth-http.ts
100% <100%> (ø)
:arrow_up:

runtime/window-ref.ts
66.66% <66.66%> (ø)

Continue to review full report at Codecov.

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


Fix DASH with kraken

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Fix a bug in Kraken API with DASH

What is the current behavior? (You can also link to an open issue here)

Impossible to trade with DASH and EUR. Invalid trade pair.

What is the new behavior (if this is a feature change)?

Remove the prefix

Other information:
Same problem here, with other pair

Also, what is the IML file?

This is already fixed in pull request #1124


tutorials: Updated point_cloud_to_mesh tutorial to reflect new UI in CloudCompare 1.13.2

🦟 Bug fix
Summary
The UI of new versions of CloudCompare looks a bit different than in the tutorial. This PR updates it to the newest version available on flathub.
Also turned some PNG screenshots into JPEGs to save bandwidth.
It would make sense to backport this fix to all older distros as the tutorial suggests using CC from flathub.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Not sure what's wrong with DCO here, I've signed-off normally.


Add section about how to set proxy config in containers

File: toolbox/faqs/troubleshoot.md

@mplescano: Could you please be more specific about what you're trying to add? Thanks.

I was referring to add examples in how to se proxy configuration in the file ~/.docker/config.json
Regards

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


Element sizes not working correctly inside Grid & Row components

Adding a button element with "block" or "full" attributes doesn't seem to work when added inside a Grid or Row component from react-native-easy-grid. i.e. the button doesn't stretch across.
react-native, react and native-base version
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Expected behaviour
Button should stretch full width when 'block' or 'full' is used
Actual behaviour
Button renders at normal size (big enough to fit the text)
Steps to reproduce (code snippet or screenshot)
<Container style={{ marginTop: 18 }}>
  <Grid>
    <Row>
      <Button block onPress={null}><Text>Log In</Text></Button>
    </Row>
  </Grid>
</Container>

Screenshot of emulator/device

Is the bug present in both ios and android or in any one of them?
Only tried on iOS so far.

@koriner Not sure whats causing this issue, but applying style rule flex: 1 to the Button resolves the issue.

Did you guys have a workaround about this? I got the same issue.


DB appliances: Add the availability to set an optional name for a DB

Hi,
sooner or later, I want to migrate some databases to Flynn. Most of them will be for Flynn hosted applications but some of them not. They will be used by external applications (like a Sonar).
What bothers me a bit here is that the DBs will have random names. If I provision multiple MySQL DBs for external tools, I will have a hard time to map them to the belonging tool just by looking at the Flynn dashboard.
So it would be ideal to be able to give them a name which is displayed on the dashboard so I could recognize them again.

A workaround until this is implemented would be to create an empty application with the desired name and assign the externally accessible DB to it.

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Add support for GitHub Enterprise

Fixes https://github.com/benbalter/jekyll-avatar/issues/12.
If the User (or the build environment) specifies a PAGES_AVATARS_URL prefer that to the GitHub.com avatars URL.
/cc @jimkohl, @parkr

Thanks Ben!  Did you get any word from the Avatars team regarding an alternative routing when there isn't an avatars subdomain?

Did you get any word from the Avatars team regarding an alternative routing when there isn't an avatars subdomain?

Yes. It should be example.com/avatars instead of avatars.example.com.

Thanks @benbalter!  Yep that url works.  Looks like Travis is having heartburn.


Nil Polymorphic Association

Hello -
I have this weird deadlock error that keeps coming back. I narrowed it down to acts_as_list. I am using the latest version.
Here is the definition
belongs_to :attachable, :polymorphic=>true
acts_as_list scope: [:attachable_id, :attachable_type, deleted_at: nil]

So far so good. But the rails app assigns the attachable in 2 steps (2 distinct controller actions):

create the file
assign it to the attachable

Within the first, it uses the acts_as_list_no_update to avoid unnecessarily position the item against a nil attachable.
My problem is within the assignment action, when I assign the File to the new attachable, it seems to reorder both the files within the new scope and the old scope (so attachable with a value and without a value). So it reorders the data when the scope is null and there can be a lot of files within that scope. This is how I get this deadlock error:
ActiveRecord::Deadlocked: PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 26279 waits for ShareLock on transaction 2492170; blocked by process 1338.
Process 1338 waits for ShareLock on transaction 2492172; blocked by process 26279.
HINT: See server log for query details.
CONTEXT: while updating tuple (126,14) in relation "core_files"
: UPDATE "core_files" SET "position" = ("core_files"."position" - 1), "updated_at" = '2018-01-08 17:49:14.517476' WHERE "core_files"."attachable_id" IS NULL AND "core_files"."attachable_type" IS NULL AND ("core_files"."position" > 0)

I would like to remove all positioning when the attachable is nil. Can I do that?

@juggy, are you wanting to progress this issue still? :)

Hey @brendon,
I'm finding myself in a similar position were creating my own scoping methods would make sense.
Is this all you'd need to do? I feel like I'm missing a step.
class Foo
  acts_as_list

  def scope_condition
    # code goes here
  end

  def scope_changed?
   # more code
  end

    def destroyed_via_scope??
   # more code
  end
end


BUG: Folding Multiple Lines in JSX

The extension is not capable of folding multiple lines in JSX className.
When it folds them, only the first line is fold. and when I click on the className, vscode render breaks, like the cursor hides for ever, and the selected line is not highlighted.
Example:
export default function Sample(props: {active?: boolean}) {
  return

      Sample of the Bug

}

The fold className look like this:
export default function Sample(props: {active?: boolean}) {
  return

      Sample of the Bug

}

Hey @adnanalbeda
For multiline folding use Explicit Folding extension.


device management with cmdlets

this page describes the management using the Teams Admin GUI (and there is at least the Delete action which is missing currently: see #1863), but there is no description of what can be managed with other means : cmdlets at least, maybe a Graph API, or any other way (Intune ?)

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

ID: 8a627b5d-3edc-1add-b921-1dcd49c38653
Version Independent ID: a2e2bd3a-31c0-471a-05fb-fd64bd942c4a
Content: Manage your devices in Microsoft Teams
Content Source: Teams/device-management.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

Hello @piqueora
Thanks for your feedback.
Currently, there is no cmdlet or GraphAPI function to manage devices of Microsoft Teams but I am pretty sure the Team is working on them.
If you want, kindly visit https://microsoftteams.uservoice.com/forums/555103-public to make suggestions.
Thank you

@piqueora  Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


avoid eagerly staging custom_vmap'ed functions

Description
The following reproducing example implements a custom batching rule for a function with one un-batchable parameter. Instead of treating the non-batched parameter as constant, jax.custom_batching.custom_vmap attempts to trace it.
@custom_vmap
def vector_dot(u, v, c):
    assert u.ndim == v.ndim == 1
    print(c)
    assert isinstance(c, np.ndarray)
    return c * u @ v

@vector_dot.def_vmap
def vector_dot_vmap_rule(axis_size, in_batched, u, v, c):
    u_batched, v_batched, c_batched = in_batched
    print(axis_size, in_batched)
    if u_batched:
        assert u.ndim == 2 and u.shape[0] == axis_size
        print('lhs batched')
    if v_batched:
        assert v.ndim == 2 and v.shape[0] == axis_size
        print('rhs batched')
    if c_batched:
        raise ValueError("c can not be batched")
    if u_batched and v_batched:
        out = jnp.sum(c * u * v, axis=1)
    else:
        out = c * u @ v if u_batched else c * v @ u
    return out, u_batched or v_batched

x = lambda *shape: jnp.ones(shape)
jax.vmap(vector_dot, in_axes=(0, None, None))(x(4, 3), x(3), np.array(1.))

Related to #9073 .
What jax/jaxlib version are you using?
jax==ab4538303823778d6e, jaxlib==0.4.6
Which accelerator(s) are you using?
CPU/GPU
Additional system info
python 3.9, Linux
NVIDIA GPU info
No response

Thanks for filing. The current (partial) implementation of custom_vmap stages out its argument. This is similar to the behavior you might see with cond or simply jit. For example, running this:
import numpy as np
import jax

def a(x):
  print(isinstance(x, np.ndarray))
  return x + 1.

def b(x):
  return x + 2.

jax.lax.cond(False, a, b, np.array(3.))

jax.jit(lambda x: print(isinstance(x, np.ndarray)) or x + 1.)(np.array(3.))

prints out False twice.
The difference is that in the context of vmap you might not expect this as much, and I agree! Changing this behavior is the third bullet item in this comment.

Thank you for the detailed answer. I misunderstood what was meant by lazily staging out inputs.
I would indeed expect custom_vmap to not stage out inputs eagerly. Plain vmap does not trace un-batched arguments and I would expect custom_vmap to behave the same.


ulauncher: 5.8.1 -> 5.9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for ulauncher is: "A fast application launcher for Linux, written in Python, using GTK"
meta.homepage for ulauncher is: "https://ulauncher.io/"
meta.changelog for ulauncher is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.9.0 with grep in /nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0

directory tree listing: https://gist.github.com/e864e42678004e20d6cce4438199a421

du listing: https://gist.github.com/8b84bed43279d94cae69fe7e0ce7baab

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
ulauncher

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ulauncher https://github.com/r-ryantm/nixpkgs/archive/c6f65b1d9303897d53bfbca5fc9af6bd9f25be60.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0
ls -la /nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ulauncher

Maintainer pings
cc @aaronjanse @worldofpeace for testing.

Result of nixpkgs-review pr 107409 run on x86_64-linux 1

1 package built:

ulauncher

The package builds fine, but I can't actually run it:
2020-12-22 12:28:51,539 | ERROR | ulauncher: except_hook() | Uncaught exception
Traceback (most recent call last):
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/lib/python3.8/site-packages/ulauncher/config.py", line 68, in get_data_path
    return paths[0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/bin/..ulauncher-wrapped-wrapped", line 29, in <module>
    main()
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/lib/python3.8/site-packages/ulauncher/main.py", line 128, in main
    window = UlauncherWindow.get_instance()
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/lib/python3.8/site-packages/ulauncher/utils/decorator/singleton.py", line 19, in wrapper
    instance = fn(*args, **kwargs)
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/lib/python3.8/site-packages/ulauncher/ui/windows/UlauncherWindow.py", line 55, in get_instance
    return cls()
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/lib/python3.8/site-packages/ulauncher/ui/windows/UlauncherWindow.py", line 63, in __new__
    builder = Builder.new_from_file('UlauncherWindow')
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/lib/python3.8/site-packages/ulauncher/ui/windows/Builder.py", line 47, in new_from_file
    ui_filename = get_data_file('ui', '%s.ui' % (builder_file_name,))
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/lib/python3.8/site-packages/ulauncher/config.py", line 42, in get_data_file
    return os.path.join(get_data_path(), *path_segments)
  File "/nix/store/vyzs4nm0s9gr81nsifgrm7bvq2fd9fj7-ulauncher-5.9.0/lib/python3.8/site-packages/ulauncher/config.py", line 70, in get_data_path
    raise ProjectPathNotFoundError()
ulauncher.config.ProjectPathNotFoundError

Related: https://github.com/NixOS/nixpkgs/pull/85350


Translate operation

Hi :)
I'm French developer and because we develop in English, we often need to translate french words to english to create variables or anything.
It would be great to have a translation operation in CyberChef :+1:
For example to create a slug url from french sentence :
Input text : "Ma page d'accueil"
Translate operation (FR -> EN) : "My homepage"
To lowercase : "my homepage"
Regex to replace whitespaces : "my-homepage"
Tadaaa :golfing_man:

Hi @Shuunen,
I agree that a set of language translation tools would be very useful. Unfortunately all the big names in translation (Google, Bing etc.) charge for the use of their APIs, which doesn't fit very well with an open source product like CyberChef.
If anyone knows of any good, free translation APIs, please let me know. If not, I'll close this issue after a few weeks.

@willemdh  That project appears to have reverse engineered the google translate api to get the tokens (https://github.com/matheuss/google-translate-token) which is somewhat against the google translate terms and conditions.

3.3 Restrictions. Customer will not, and will not allow third parties under its control to: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code of the Services

Not sure that would be a great thing to bake into this.

@willemdh: As @cadnce points out, this project is breaking the terms of the Google Translate Ts & Cs, so we won't be using it. Thanks for the suggestion though.
I'll close this issue now. If someone does find a good, free, legal translation API, please feel free to re-open.


Use new-style classes consistently for Python 3 support.

Automated message from Dropbox CLA bot
@timabbott, it looks like you've already signed the Dropbox CLA. Thanks!

If #252 lands first we should add libpasteurize.fixes.fix_newstyle to the set of fixers. Otherwise it LGTM.

Merged with that change, thanks for the review!


Fixed Camera, Object ID change when occluded by a big object

Hello, i have a fixed camera with traffic feed, and one class of objects I have in this feed is vehicles,
detection works really good, tracking is reasonable but for some cases, when a vehicle or an object is occluded with a very big object (like a bus for example), it disappears for 10-15 frames and then come back to view, with a different id,
tried to increase the value of track buffer to 30 frames, even 60, but nothing changed, still the same object is assigned with different id when it passes the big object,
Is there anything that can be done to prevent that?
Thanks in advance,
@ifzhang

I have a similar problem！

I am similar, the id changes when a person is completely covered by a person in front for about a dozen frames

I think the only one for solving this issue using Re-id, but you will another problem is you have some vehicle are same, but you can use the topology of traffic you can earn a lot of information from it.


Adding an advanced topic / reference doc about encoding/decoding

Is your addition related to a problem? Please describe.
For more complex workflows, it is useful to know how objects such as transactions are encoded/decoded.
See:

https://forum.algorand.org/t/method-to-serialize-a-json-to-transaction/1259
https://forum.algorand.org/t/javascript-frontend-communicating-with-python-backend/1728/2

Describe the solution you'd like
Adding an advanced topic / reference doc about encoding/decoding objects in Algorand.
This would include:

explaining that transaction files are concatenations of msgpack-encoded transactions, with a customized version of msgpack that provides canonical encoding and omits empty fields
explaining that addresses do not have the base32 checksum and providing a way to convert checksumed addresses from/to non-checksumed ones:

$ python3 -c "import algosdk; import base64; print(algosdk.encoding.encode_address(base64.b32decode('YESQSK5RT7WXWKCRTQN3PJZSZSMV63VDVRJAB5EBDYLXCJH5ZGTQ====')))"
YESQSK5RT7WXWKCRTQN3PJZSZSMV63VDVRJAB5EBDYLXCJH5ZGTQDBRKDE

$ python3 -c "import algosdk; import base64; print(base64.b32encode(algosdk.encoding.decode_address('YESQSK5RT7WXWKCRTQN3PJZSZSMV63VDVRJAB5EBDYLXCJH5ZGTQDBRKDE')).decode())"
YESQSK5RT7WXWKCRTQN3PJZSZSMV63VDVRJAB5EBDYLXCJH5ZGTQ====

providing some background information about msgpack
explaining that this also applies to logic sig
showing how to encode/decode manually transactions using msgpacktool and the various SDK
explaining that this allows to pass transactions around more easily
explaining the difference between goal clerk inspect and msgpacktool
explaining how to use msgpack to encode objects in note field

I believe this issue is addressed on this page: https://developer.algorand.org/docs/get-details/encoding/?from_query=encode#working-with-encoded-structures
Closing the issue.


Feature request: Download to multiple small files instead of 1 big file

Give the user the option to set the time chunk size and whether or not to merge when download is complete. If I leech a 5 hour stream, let me specify to split it every 30 minutes and have 10 video files. Not sure how much work this is, but I am using video for editing and smaller files makes it easier! I thought about interrupting the download, but the chunks all appear to be 9 seconds long, a little too short to work with. If it's not feasible no big deal, just a nice-to-have.

Duplicate of #335


Is it still necessary to Enable Side Loading?

Trying to get this running and it doesn't complete the Authentication, but it does control my Hue light. I installed from the MS Store. Do I still need to enable side loading?

Nope, side loading is only needed when you don't have a cert. All the available downloads use a signed version

Great. If I get a sec I'll try and update the doc.

@MatthewMcD try completely closing the application after logging in (right click the tray icon and select exit) and restarting it right away. That worked for me.


Add contributing.md

I deleted my EDA files from reports, so it shouldn't merge into the main branch. The only file change should be adding contributing files

Reviewed and good to go


Extensible scope/tasklet preamble/postamble methods

Some codegen cleanup, refactoring, and addition of extra methods that can be extended to support behavior. These will later be used in further refactoring to move some of the CPU codegen into.
Extending CPUCodeGen with generate_scope_{preamble,postamble} allows the code to be customized as follows:
<OUTER PREAMBLE>
for(...) {
  for(...) {
    <INNER PREAMBLE>
    scope generated code...
    <INNER POSTAMBLE>
  }
}
<OUTER POSTAMBLE>

and generate_tasklet_{preamble,postamble}:
<BEFORE MEMLETS PREAMBLE>
memlet definitions and copy in
<AFTER MEMLETS PREAMBLE>
tasklet code...
<BEFORE MEMLETS POSTAMBLE>
output memlet copies
<AFTER MEMLETS POSTAMBLE>

Yes, there will be a cpp code generator later which CPU will extend (i.e., with openmp pragmas). Same will apply for GPU/FPGA. Will be much cleaner than now


Patch libh3 to include a document undefined check

Address #117 and handles WebWorker as mentioned in #163. Note that this is a patch until #163 can be fully resolved.

 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.

Thanks for submitting this - looks like a great workaround until we figure out how to upgrade emscripten.

Just as a verification that webworker works:
// index.ts
const worker = new Worker(new URL('./worker.ts', import.meta.url), {type: "module"});
worker.onmessage = (e) => console.log(e);

worker.postMessage({type:"process_h3", value: [-120, 45]});

import {latLngToCell} from "h3-js";

self.onmessage = (e) => {
    const data = e.data;

    if (data.type == "process_h3") {
        const [lng, lat] = data.value;
        self.postMessage(latLngToCell(lat, lng, 5));
    }
}

// console
MessageEvent {isTrusted: true, data: '8528ab77fffffff', origin: '', lastEventId: '', source: null}

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.844%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
529

Relevant Lines:
529

💛  - Coveralls

Thanks for contributing! I will try to push out a new release early this week.


Update dependencies including Web socket channel 3.0.1

Update dependencies including Web socket channel 3.0.1 from graphql_flutter 5.1.2
Note that I've removed the examples for null safety reasons. I didn't see the point of updating in view of the new version that will be released.

Careful, automated tests are broken here.
It seems that we do not wait for connection to be not well established before moving on.
Building package executable...
Built test:test.
00:01 +65 -1: test/websocket_test.dart: SocketClient without payload disconnect via dispose [E]
  Expected: not null
    Actual: <null>

  package:matcher                 expect
  test/websocket_test.dart 178:7  main.<fn>.<fn>

To run this test again: /Users/charly/.asdf/installs/flutter/3.24.3-stable/bin/cache/dart-sdk/bin/dart test test/websocket_test.dart -p vm --plain-name 'SocketClient without payload disconnect via dispose'
00:01 +70 -2: test/websocket_test.dart: SocketClient without payload graphql-transport-ws disconnect via dispose graphql-transport-ws [E]
  Expected: not null
    Actual: <null>

  package:matcher                 expect
  test/websocket_test.dart 442:7  main.<fn>.<fn>

To run this test again: /Users/charly/.asdf/installs/flutter/3.24.3-stable/bin/cache/dart-sdk/bin/dart test test/websocket_test.dart -p vm --plain-name 'SocketClient without payload graphql-transport-ws disconnect via dispose graphql-transport-ws'
00:04 +76 -2: Some tests failed.

Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.


Add 'es' passport number, add tests for uncoveraged passport numbers

Issue: #268
Added Spain passport number format, and added tests for uncoveraged passport number formats

Codecov Report

Merging #363 (10692ce) into main (3052317) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #363      +/-   ##
============================================
- Coverage     94.88%   94.83%   -0.06%
  Complexity     1936     1936
============================================
  Files           203      203
  Lines          3870     3870
  Branches        385      385
============================================
- Hits           3672     3670       -2
- Misses          100      101       +1
- Partials         98       99       +1

Impacted Files
Coverage Δ

...ker/idnumbers/pt/br/IdNumberGeneratorPtBrUtil.java
92.59% <0.00%> (-3.71%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Amount change in cart dialog doesn't fire an event

When changing the amount of an item in the cart dialog box, no events are fired.

I agree. Is there any work around this?

there is change event that fires when you manually change item amount
paypal.minicart.cart.on('change', function(event) {
  console.log(1);
});


Objects sometimes misaligned in rendered SVG.

Sometimes when rendering charts from highcharts, elements from highcharts' SVG  are rendered in the wrong position.
When the SVG is rendered in browser, everything appears to be in the correct position, but once rendered with SVG.NET, items will sometimes be misaligned as per the following image:

Cleaning up old issues:
Closing as outdated and missing example data.
Please reopen if this is still an issue and you can provide a failing svg.


address #33.

@albertocsm @pires before mergings (lacks docs) can you guys give this a try? :eyes:
(fwiw it's very lightly tested - just spent 5m on it)

@AntonioMeireles looks good. will try it asap

Tried and works great! Tell me when you feel it's ready for merging.

OK. Good to hear. Will add reference to this on docs tomorrow morning.
:smile:
--
sent from my mobile
On Mar 11, 2015 10:13 PM, "Paulo Pires"<EMAIL_ADDRESS>wrote:

Tried and works great! Tell me when you feel it's ready for merging.
—
Reply to this email directly or view it on GitHub
https://github.com/pires/kubernetes-vagrant-coreos-cluster/pull/34#issuecomment-78384164
.

@AntonioMeireles why can't we just agree on a PR per issue? It's becoming harder and harder to review some of your PRs. I'm merging this, but next time, I'll become a PITA ;-)


Not sending any body?

Sorry... I have been trying to get this to work for ages and I cant figure it out.
For whatever reason, when I upload an MP3, the body isnt getting sent. Only the filename.
I've checked the examples like 100 times and I can't see what I have wrong here:
    Upload.upload({
      url: '/api/upload/tracks',
      data: { file: file }
    }).then(function(resp) {
      // do success stuff
    }, function() {
      // do error stuff
    }, function(e) {
      // do progress stuff
    });

And this is the request:
------WebKitFormBoundarylbYSwHYH95kxUtvq
Content-Disposition: form-data; name="file"; filename="test.mp3"
Content-Type: audio/mp3

Any ideas?

Do you have any solution? I was able to upload files. But I tried to wrap ng-upload in a directive, uploading will fail. The file object looks exactly the same as previous. It seems the body is not sent. WIred issue.


example: docker swarm mode

provisions a multi-node docker swarm mode cluster on AWS using terraform and converge

naming:

I used docker-swarm-mode to distinguish from the older docker swarm. they are two different things: https://docs.docker.com/engine/swarm/
I acutally renamed to converge-hcl from converge b/c of the .gitignore setting. The current entry causes anything named converge to be ignored throughout the whole project. I will try and change the gitignore to ignore converge only in the root.

I think I covered everything in the latest commits

LGTM!


Unable to Access Pulse After Installing in an Existing Application

Pulse Version
1.x-dev
Laravel Version
10.48.12
PHP Version
8.1.29
Livewire Version
v3.5.4
Database Driver & Version
MYSQL  8.0.39-0ubuntu<IP_ADDRESS>
Description
After installing the Pulse package via Composer and accessing the /pulse route, the Pulse dashboard briefly appears. However, it immediately redirects to the application's home route. This issue occurs consistently, preventing access to the Pulse dashboard.
Steps To Reproduce
Install Pulse using Composer.
Navigate to the /pulse route in the browser.
Observe that the dashboard briefly loads, then redirects to the home route.

Hi @naowas,
Please try the latest version of Pulse (v1.2.4).
I can't replicate this problem in a fresh Install of Laravel v10.48.18 with Pulse v1.2.4.

Hi @naowas,
Please try the latest version of Pulse (v1.2.4).
I can't replicate this problem in a fresh Install of Laravel v10.48.18 with Pulse v1.2.4.

I installed Pulse v1.2.4, but the issue persists. After some debugging, I discovered that if I disable certain components, I can access the dashboard without any problems.

Are you able to provide a repository with a minimal reproduction of the issue? Are you able to replicate it with a fresh install of Laravel and Pulse?

Hey there,
We're closing this issue because it's inactive, already solved, old, or not relevant anymore. Feel free to open up a new issue if you're still experiencing this problem.


Only 25 audio channels are availables

Bug report
Your Environment

Netflix add-on version: v0.15.8
Operating system version/name: XUbuntu

Used Operating system:

[ ] Android
[ ] iOS
[X] Linux
[ ] OSX
[ ] Raspberry-Pi
[ ] Windows

Describe the bug
The plugin fetch only 25 audio langage types. When there is more, the user cannot select the langage he want. Maybe (it's seems) that subtitles are not availables in that case.
Expected behavior
All of the langages availables for the video can be selected.
Actual behavior
Only 25 langages are available.
Steps to reproduce the behavior

Select a video with a lot of english langage channel (for example : S01E01 of The Crown).
Try to select the french audio channel.

in the Crown there are 12 audio language not 25.
you have surely enabled the debug mode of the streams selection in the InputStream Adaptive settings.
you do not have to set the Stream selection to manual mode is only to debug scope
must always be left on Auto

That was that. Sorry for the disturb.


Create virtual machines in batches

Is your feature request related to a problem? Please describe:
Sometime we want to create vm in batches sucs as openstack. Throuogh we can use vmpool to create vm in batches and this vms are controlled by vmpool controller. We want to realize that creating virtual machines in batches is a one-time action.

Describe the solution you'd like:
I want to enhance virtualmachine controller. The following examplay is my idea.

Describe alternatives you've considered:
A clear and concise description of any alternative solutions or features you've considered.
Additional context:
Add any other context or screenshots about the feature request here.

is there anyone who can help me?

/cc  0xFelix


Oscillator, FmSynth, DynamicOscillator - Can’t change waveform

Hi
Same with what was in the tremolo - no method or variable to change the waveform

Dynamic Oscillator most definitely can, the same way as tremolo, it was the code I used as my template. The others can't.

Yes my mistake about the Dynamic Oscillator.
So basically Dynamic Oscillator and Oscillator are the same except of the ability to change the  waveform?

yep


Added new stats to show processed callbacks

@thepaulm

Coverage increased (+1.8%) to 90.735% when pulling 4108180d226369076ca2b108d32fbe912b5e2899 on cback_stats into 241ef20081cc729264f6a9f7dc5b7a14bb9899e3 on master.

Coverage increased (+1.8%) to 90.735% when pulling 1f21550e2031406bce2b773c7216fc0028172b64 on cback_stats into 241ef20081cc729264f6a9f7dc5b7a14bb9899e3 on master.

lgtm


Add error handling for encoding the dag runs

This PR is related to adding an error handling for the circular reference on  /object/grid_data endpoint which is used while rendering the DAG detail page.
Previously it was like the following:

Now, it is like the following:

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Looks great! Maybe it would also help to explain what logs need to be checked?

For example, the old warning recommends checking the webserver logs. Did you mean them here?

It makes sense @e-galan, I will change it accordingly!


[feature request] [working prototype] Atom repository for Linux RPM and Deb packages

Prerequisites

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

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
There's the prototype of repository. The difference for Github deploy is the file size limitation in 50 MB, therefore Git LFS with enabled tracking for *.rpm and *.deb is needed.
Why is it so hard to do it for the Atom Team? ~30 lines of code!

 Why no put a official repository? here  a new service with low price ;)

Thanks for the working prototype @paulcarroty! I'll have the team take a look.
Closing as duplicate of https://github.com/atom/atom/issues/2956.

I deleted @kuboosoft's comment since it was an advertisement.

@lee-dohm sure a "advertisement". The Atom project is sponsored aproject. the common pleople can't make your work... I maintain a "rpm" for atom; and I  can deletes it if I want...

It's been 2 months. It's like 0,5 a line of code daily and still no progress?

@ASRauliki , are you still waiting? LOL.

@ASRauliki and @paulcarroty, your comments were deleted as a violation of the Atom Code of Conduct as they were insulting or derogatory. You may consider this an official warning.

From Atom Code of Conduct:
Gracefully accepting constructive criticism
Focusing on what is best for the community
That's what my comment was about. If you want to spend time deleting non-offensive comments, that means you don't focus on community. Making repository in what way is offensive to community and doesn't help?

And could you elaborate what exactly was insulting?


S3 bucket Cloud Formation Syntax

CloudFormation S3 Bucket and S3 Bucket Policy from:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html

PR's 10 & 11 look right to me but I'm not in front of my machine to test them. I'll take a look tomorrow

PR11 is currently missing "AWS::Route53::HealthCheck".
I will add that in later.
NR

Could you split this into two snippets?

Yes,
I have been doing two snippets with the first containing both, and the second containing the *policy only.
Is that sufficient?
NR

Since either can be used without the other, I'd rather keep them separate entirely.

I think it is ready now.
Please review.
NR

LGTM


Fetch store data in parallel

Status quo: Store data is fetched one store after another.
This PR improve resilience of data fetching and makes fixing #15 obsolete

Pending merge of #13

Thanks for fixing my laziness :D


Param inputs do not retain the value when switching between method

Go to https://cennznet.io/#/toolbox (on Rata) and select nft module then select getCollectionInfo method with the Collection Id as 31, executing it will send this request over ws
{"id":32,"jsonrpc":"2.0","method":"nft_getCollectionInfo","params":[31]}

after that, switching the method to getTokenInfo, notice the Collection Id is still display 31 but when executing it, the request is sent with params as [0,0,0]
{"id":36,"jsonrpc":"2.0","method":"nft_getTokenInfo","params":[0,0,0]}

 Resolve issue on CENNZnet Portal


Modifying the font weight or font face after a Text type object is created.

Hi, I have grown a fondness for the Text class. However, soon I realized that after such an object is created, I could change the color of the object but I was not able to change the font-weight or cant even change the font used. It seems that the constructor for Text object changes these properties and once created cant be modified.  I am a new learner so I am not sure. I want something like the following:
text` = Text("But what is...",font="Minion Pro") text.set_font_(font="Berolina").set_weight("bold")
Is this possible? I hope I am not asking for too much!
Any help would be much appreciated.

This is a well-known missing feature in some classes in manim. For now, I suggest you try creating two different Text objects, with the same text but different fonts (or weights), and transform one to the other. Would that be a good workaround for your purposes?

This is a well-known missing feature in some classes in manim. For now, I suggest you try creating two different Text objects, with the same text but different fonts (or weights) and transform one into the other. Would that be a good workaround for your purposes?

It will have to. Seems like I don't have any choice. But I am going to implement this soon. It's way more convenient to have methods do it than creating two instances. Let's see if someone can beat me to it. I Will let the issue stay open a while.

I believe @XorUnison is working on this.

I believe @XorUnison is working on this.

Great!

Great!

I believe @XorUnison is working on this.

Am I...? I'm not really working on text stuff. If you mean the generalized way of applying such stuff like .settattrs (which would apply in this case too) then no, I'm not working on that, I've just discussed the format. I would assume it's also the cfg/attr people who would subsequently work on that. If needed I can look into these things as well, but not until I'm done with #210 at the earliest.

I have added a custom method to help with handling fonts. I have been doing some testing and so far it works without any issues. I will PR once I am satisfied. Here is an example.
class TestingTextClass(Scene):
    def construct(self):
        some_text = Text("This is some text",
                         font = "PWChalk",
                        text_case = "upper",
                        size = 2
                        )
        self.play(DrawBorderThenFill(some_text))
        self.play(some_text.set_font_attributes,{"font": "Minion Pro",
                                                 "text_case":"title"})
![TestingTextClass](https://user-images.githubusercontent.com/12208432/89738410-b29d7c80-da91-11ea-86fa-7dc921a4b7a8.gif)

@Ammar34 this looks good to me. Please remember to close this issue when/if your PR is merged.

Sure thing.


CXF-7349: NPE when thread context classloader is null

A null context classloader is valid - it means that the JVM's boot classloader is the context.  When using the ClassLoaderUtils class, there are a few places where we get the thread's context classloader, but don't check it for null before invoking methods on it - such as getResource/getResources/etc.
This change ensures that we get a non-null classloader by using the system classloader when the current thread context classloader is null.

Hi Andy, this fix looks good, please go ahead with the merge, thanks

@sberyozkin @deki I am not able to merge - my view of this PR says that "Only those with write access to this repository can merge pull requests."  I should have access to commit, but maybe the ACLs have not been updated on github?

Nobody can merge Apache repos on Github. Instead you should rebase your branch on Apache repo (see http://cxf.apache.org/source-repository.html), squash commits and push there.

@deki thanks for the tip.  I've merged this change to master and 3.1.x-fixes.


Deploy database DACPAC using a DAC Publish Profile failure

Hi, we use this task to deploy database schema. This started failing recently with the following error,
2021-01-11T21:10:49.7014850Z ##[error]Error: Cannot validate argument on parameter 'Version'. The argument "" does not belong to the set "150,140,130,120,110,15,14,13,12,11" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
I confirmed that the sqlpackage.exe is on the deployment server. Please help us identify the actual issue and resolving it.
Thank you.

It started working for some reason.

It started working for some reason.

@jaydsoni
As I mentioned, I release a new version of the extension.  I suspect that you simply need to edit the pipeline to get the new version to be installed on your build server.

@jaydsoni
As I mentioned, I release a new version of the extension.  I suspect that you simply need to edit the pipeline to get the new version to be installed on your build server.


Difference between gilding and awarding

While setting up filters, I realized that reddit considers awards and gilded items differently. An award is something that costs coins. Gildings are any of the main awards that award Reddit premium (Gold & Platinum) and any awards that act similar to gold and platinum are not part of it. In the documentation, we should revise any references to gilded or awarded depending on what Reddit's API returns for a particular method or attribute.

Closing because there seems to be no methods that award in PRAW.

It sounds like we should add award support.

It sounds like we should add award support.

The problem is that there exists no APIs for awards. You can award silver and platinum, but you need to know award IDs to use them. And there's no way to get those without finding a post that has the award you want.

How does Reddit find the award IDs?

How does Reddit find the award IDs?

I tried to delve into this and Reddit uses GraphQL. Which is obviously undocumented. Whenever it checks for awards, it uses some ID that is not the comment ID, it's probably a hash of the comment ID.

The problem is that there exists no APIs for awards.

It does exist, but it's the GraphQL API, which seems to be quite different from the OAuth API. It's hosted on a different subdomain (gql.reddit.com) than the API PRAW uses.
Here's a request that gets the reward IDs:
Request URL: https://gql.reddit.com/?request_timestamp=1587684625788
Request Method: POST
Request Payload:
{"id":"6c18d5bc8a2d","variables":{"subredditId":"t5_subid","includeAppreciation":true,"includePremium":false}}

Request Response:
{"data":{"subreddit":{"usableAwards":[{"awardType":"GLOBAL","awardSubType":"GLOBAL","coinPrice":25,"coinReward":0,"daysOfDripExtension":0,"daysOfPremium":0,"description":"4.5 billion years young","giverCoinReward":0,"icon":{"url":"https://i.redd.it/award_images/t5_22cerq/keanzf4j28u41_HappyEarthDay.png"},"icon32":{"url":"https://preview.redd.it/award_images/t5_22cerq/keanzf4j28u41_HappyEarthDay.png?width=32&height=32&crop=smart&auto=webp&s=50a1b5871fea2dd46824f909cb0059dfa326daae"},"icon64":{"url":"https://preview.redd.it/award_images/t5_22cerq/keanzf4j28u41_HappyEarthDay.png?width=64&height=64&crop=smart&auto=webp&s=b0f182d1b27ee255a8e8cda4656a1242e7f9b364"},"icon128":{"url":"https://preview.redd.it/award_images/t5_22cerq/keanzf4j28u41_HappyEarthDay.png?width=128&height=128&crop=smart&auto=webp&s=0e2d33c76f0a334ebb7f244178aefe1e2f05c4c6"},"id":"award_64e61ba7-7484-4268-8028-71ef554eecb4","isEnabled":true,"isNew":false,"name":"Happy Earth Day","subredditCoinReward":0,"tags":[],"pennyPrice":0,"pennyDonate":0},{"awardType":"GLOBAL","awardSubType":"GLOBAL","coinPrice":25,"coinReward":0,"daysOfDripExtension":0,"daysOfPremium":0,"description":"The three Rs","giverCoinReward":0,"icon":{"url":"https://i.redd.it/award_images/t5_22cerq/hzfhm6jn28u41_ReduceReuseRecycle.png"},"icon32":{"url":"https://preview.redd.it/award_images/t5_22cerq/hzfhm6jn28u41_ReduceReuseRecycle.png?width=32&height=32&crop=smart&auto=webp&s=73caa5f5f4743cff80e5b7d196235daf2ce08745"},"icon64":{"url":"https://preview.redd.it/award_images/t5_22cerq/hzfhm6jn28u41_ReduceReuseRecycle.png?width=64&height=64&crop=smart&auto=webp&s=f1956d64302adc0bf766ec3caa58f12dcebcc88d"},"icon128":{"url":"https://preview.redd.it/award_images/t5_22cerq/hzfhm6jn28u41_ReduceReuseRecycle.png?width=128&height=128&crop=smart&auto=webp&s=6119118dfeccffeb2a54822388c869802e804d0e"},"id":"award_22eca487-d419-4ee8-bc7d-4a5ab33b9245","isEnabled":true,"isNew":false,"name":"Reduce, Reuse, Recycle","subredditCoinReward":0,"tags":[],"pennyPrice":0,"pennyDonate":0},[snip...]

Now, I don't know where the value of the id argument comes from, so this would be a little difficult to recreate.

it's probably a hash of the comment ID.

I'd guess that it actually represents an endpoint, or a type of data to get/query to perform. Note that the request has no other way of really identifying what exactly is being requested.

That ID is the same as one I just got. Maybe it's a version, or maybe it's irrelevant.

When I remove the ID I get:
{"message": "Operation id or query body required"}%

So that value is basically just the name of the operation. It's likely it could change, but we could provide a way to overwrite it in the event it does change.

If we're going down this path, I'd recommend creating a lightweight prawql project just for dealing with graphql since it doesn't really fit inside prawcore, and I'd like to avoid PRAW having communication logic.

Here's as simple of a request as I could make:
curl 'https://gql.reddit.com/' -H 'authorization: Bearer TOKEN' -H 'content-type: application/json' --data-binary '{"id":"6c18d5bc8a2d","variables":{"subredditId":"t5_2shs9"}}'

By looking at GraphQL, it seems to be similar to SQL but written in JSON notation. Like you query the column names and get back the values

GraphQL is super awesome. It makes working with APIs extremely easy as everything is accessed through one endpoint, and you simply modify what resources you want to access.

It would help to be documented.

GraphQL has discovery built-in so it doesn't really need to be documented. And the biggest bummer is that our tokens cannot connect:

  <title>403 Forbidden</title>

403 Forbidden

  Access was denied to this resource.

bboe's correct - as of right now, the GraphQL resources are reserved for Reddit's use and not available to 3rd parties.
There's currently no timeline for enabling 3rd party access to the GraphQL API. (Sorry, I wish I had better news here)

Thanks for chiming in @kemitche. We'll keep this issue closed for now then.


WIP: Fixes #134 regex routes

WIP Checklist

[x] Fully implement RFC 001
[x] Add about_Routing.md

Pull Request Description
Finally got around to finishing the full implementation of what was discussed in RFC 001 (#120). You can now pass in an actual [RegEx] type as your path if you would like. Otherwise it will still support regular strings and string patterns.
I'm going to write up the docs for this over the next couple of days but wanted to open this up as WIP to get some feedback on the changes I made to the Polaris class public property ScriptBlockRoutes which are:

I renamed it from ScriptBlockRoutes to Routes
I changed it from a key value of key values to be a new class called [PolarisRoute]

The [PolarisRoute] class has several niceties that I felt were missing in the old system and I believe I have simplified things quite a bit. Instead of having to loop through keys and convert path strings to regular expressions at run time we convert the path to regular expression in the setter function of the path property on the [PolarisRoute] which 1) makes for easier debugging as you can see what the URL is getting matched against for your given path 2) saves some processing time as the paths are only converted to regular expressions once.
Example case given the following routes:
New-PolarisRoute -Path "/users/:userId/books/:bookId" -Method "GET" -Scriptblock {
    $Response.Send(($Request.Parameters | ConvertTo-JSON))
}

New-PolarisRoute -Path "/flights/:from-:to" -Method "GET" -Scriptblock {
    $Response.Send(($Request.Parameters | ConvertTo-JSON))
}

New-PolarisRoute -Path "/flights/:from.:to" -Method "GET" -Scriptblock {
    $Response.Send(($Request.Parameters | ConvertTo-JSON))
}

New-PolarisRoute -Path "/user/(?<userId>\d+)" -Method "GET" -Scriptblock {
    $Response.Send(($Request.Parameters | ConvertTo-JSON))
}

New-PolarisRoute -Path ([Regex]::new("/userRegex/(?<userId>\d+)")) -Method "GET" -Scriptblock {
    $Response.Send(($Request.Parameters | ConvertTo-JSON))
}

New-PolarisRoute -Path "/" -Method "GET" -Scriptblock {
    $Response.Send("root")
}

New-PolarisRoute -Path "/about" -Method "GET" -Scriptblock {
    $Response.Send("about")
}

New-PolarisRoute -Path "/random.text" -Method "GET" -Scriptblock {
    $Response.Send("random.text")
}

New-PolarisRoute -Path "/12?34" -Method "GET" -Scriptblock {
    $Response.Send("12?34")
}

New-PolarisRoute -Path "/ab+cd" -Method "GET" -Scriptblock {
    $Response.Send("ab+cd")
}

New-PolarisRoute -Path "/ef*gh" -Method "GET" -Scriptblock {
    $Response.Send("ef*gh")
}

New-PolarisRoute -Path "/ij(kl)?m" -Method "GET" -Scriptblock {
    $Response.Send("ij(kl)?m")
}

You may now view them easily like this:
PS C:\my\Polaris> $Polaris = Get-Polaris
PS C:\my\Polaris> $Polaris.Routes

Path                         Regex                                      Method Scriptblock
----                         -----                                      ------ -----------
/users/:userId/books/:bookId ^/users/(?<userId>.+)/books/(?<bookId>.+)$ GET    ...
/userRegex/(?<userId>\d+)    /userRegex/(?<userId>\d+)                  GET    ...
/user/(?<userId>\d+)         ^/user/(?<userId>\d+)$                     GET    ...
/flights/:from-:to           ^/flights/(?<from>.+)\-(?<to>.+)$          GET    ...
/flights/:from.:to           ^/flights/(?<from>.+)\.(?<to>.+)$          GET    ...
/random.text                 ^/random\.text$                            GET    ...
/ij(kl)?m                    ^/ij(kl)?m$                                GET    ...
/about                       ^/about$                                   GET    ...
/12?34                       ^/12?34$                                   GET    ...
/ef*gh                       ^/ef.*gh$                                  GET    ...
/ab+cd                       ^/ab+cd$                                   GET    ...
/                            ^/$                                        GET    ...

Fixes: #134
Pull Request Creation Checklist

[x] Useful title (i.e. Fix #XXX: Description / Feature #XXX: Description / RFC #XXX: Description)
[x] Description of the changes you are making
[x] Added a link to the related Github issue in the description (i.e. type Fixes #XXX in the desciption of the PR)
[x] If you are still working on the code and would like some early feedback via the Pull Request process just add [WIP] to the beginning of your Pull Request title
[x] Checked the Polaris GitHub workflow guidance to make sure my code has the latest changes made to the master branch
[x] Throw small party 🎉

Added some housekeeping. Killing some minor bugs.
🐛🐛🐜🐜
Fixes: #168
Fixes: #171

If ($Path -is [string])...

How did I go all this time without learning of the -is operator!?! Love it, thanks @Wand3rvogel

After a 4 month long break I finally came back and got this done. Sorry for such a long delay @TylerLeonhardt. Let me know what you think of my comments above. I added in the documentation for routing so we should be ready to merge once we iron things out.

Looking forward to this one :)

@Tiberriver256 can you resolve the conflicts? Also heads up - PS Summit is this week and I'll be very busy with that. I'll try to look at this PR again but no promises

@TylerLeonhardt - Merge conflicts resolved. I gotta get out to the summit one of these days meet a few of you famous people :)

@TylerLeonhardt - Gentle bump

Thanks for the nudge! Unfortunately my downtime didn't last long... now I'm on vacation/traveling to PSConfEU.
I've set a reminder to look when I get back

It would be nice to have this one merged one day. Is this one still in the pipe @TylerLeonhardt ? ;)

It is. Waiting on @Tiberriver256 to address the last comments. I can probably (finally) sit down and fix the release process (new internal requirements) once this goes in

Yep, thanks for the patience on this guys. Looking like I'll probably be able to get to it this weekend.

Should be all set @TylerLeonhardt

Looks good and CI is green :)


Adding required validation on ng2-datepicker is not working like other form input

<ng2-datepicker [options]="options" #expireDateErr="ngModel" required [(ngModel)]="expire_date" name="expire_date"></ng2-datepicker>
<div *ngIf="expireDateErr.errors && (expireDateErr.dirty || expireDateErr.touched)">                                                           <span class="help-block error"> Select Expire Date </span>                                                       </div>
But not works.

i am showing error message on dirty or touched and required. but here error message is coming on page load. i dont want on page load, I want to touch or dirty.
I have used below code for date picker and other element. for other element it is working fine..
 date is required


[Bug]: The end of navbar icons is not display

Describe the bug
The end of the navbar icons is not visible from the tablet view below the section
Expected behavior
Icons are visible in below tablet view
Screenshots
If applicable, add screenshots to help explain your problem.
actual behavior:-

expected behavior:-

Additional context
Add any other context about the problem here.
I am GSSOC24 Contributor
please assign me, I would like to work on that

@SrinivasDevolper Issue assigned to you

Thanks for assigned this issue

please assign this issue to me under GSSoC'24.

@SrinivasDevolper Issue assigned to you

Now it's fine, The end of the navbar icons is visible


Relation documentation

There is no up to date documentation for relations on the wiki.

Created a while back here I'd like to revamp all the existing docs at some point too, leaving that for a separate issue


bug fix: Preserve parent actions if child states

The parent actions are not being preserved if there are substates. Need this if the parent is handling the action when in the child state.

Thank you @mdaehn

@carlbarrdahl thank you for creating an awesome package.


Command line screenshot does not respect multiple options

What is your Scenario?
When using the screenshots command in the command line and supplying more than one option, testcafe only seems to recognize the first option listed and ignores the second
What is the Current behavior?
After running the command with multiple screenshot options (i.e path and takeOnFails) it will only override one option
Using locally installed version of TestCafe. The "browsers" and "screenshots.path" options from the configuration file will be ignored.
What is the Expected behavior?
After running the command with multiple screenshot options (i.e path and takeOnFails) it will override both options
Using locally installed version of TestCafe. The "browsers" and "screenshots.path" and "screenshots.takeOnFails" options from the configuration file will be ignored.
What is your public website URL? (or attach your complete example)
N/A
What is your TestCafe test code?
testcafe "edge --ignore-certificate-errors" .\path\to\test -e -s path=test/goldens,takeOnFails=false
Your complete configuration file
{   "color": true,   "disableHttp2": true,   "browsers": ["edge"],   "concurrency": 1,   "quarantineMode": false,   "speed": 0.75,   "pageLoadTimeout": 3000,   "selectorTimeout": 15000,   "assertionTimeout": 10000,   "screenshots": {     "path": "./screenshots",     "takeOnFails": true,     "fullPage": true,     "pathPattern": "${DATE}/${USERAGENT}/${FIXTURE}/${TIME}_${TEST}_${FILE_INDEX}.png"   },   "videoPath": "./videos",   "videoOptions": {     "failedOnly": true,     "pathPattern": "${DATE}/${USERAGENT}/${FIXTURE}/${TIME}_${TEST}_${RUN_ID}.png",     "videoEncodingOptions": {       "c": "v libx264 -crf 19 -level 3.1 -preset slow -tune film",       "filter": "v scale=-1:720 -sws_flags lanczos"     }   },   "reporter": [     {       "name": "spec",       "output": "reports/report.xml"     },     {       "name": "spec"     },     {       "name": "slack"     }   ] }
Your complete test report
No response
Screenshots
No response
Steps to Reproduce

Run something similar to testcafe "edge --ignore-certificate-errors" .\path\to\test -e -s path=test/goldens,takeOnFails=false
Notice the command line output to only ignore one of the options in the config file

TestCafe version
1.18.6
Node.js version
16.13.2
Command-line arguments
testcafe "edge --ignore-certificate-errors" .\path\to\test -e -s path=test/goldens,takeOnFails=false
Browser name(s) and version(s)
edge
Platform(s) and version(s)
Windows
Other
No response

I was not able to reproduce the issue. I tried both 1.18.6 and 1.19.0. In all cases, this works as expected. Could you please record a video that demonstrates the behavior you described?


Recommend that conda users install from conda-forge

Just a heads up: there's a recipe for ggplot in conda forge. As such, you could change out the conda recommendation from "use pip" to conda install -c conda-forge ggplot

Thanks. Updated the readme.67bfcaf64a0633e920390d2eaf9c06b90917b2b1