[BACKUP] az backup job list: Solved -o table bug and added backup_management_type as command input

Description
-o table output format was not working for az backup job list command. Solved that bug. Also added support for providing backup management type and a command parameter.
Testing Guide
az backup job list -g {rg} -v {vault} -o table
az backup job list -g {rg} -v {vault} --backup-management-type {AzureWorkload/AzureIaasVM/AzureStorage} -o table
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

BACKUP


Design a Header for the project with the name and logo of this project

Is your feature request related to a problem? Please describe.
No, it's not a problem just want to make it look good by adding a header section that contains the logo and name of the project.
Describe the solution you'd like
I Will design the header part.
I'm a gssoc participant please assign this issue to me.

Actually it's a webapp, I would like it to look more like an app rather than website


Bug when editing monitor(type group)

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

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

🛡 Security Policy

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

Description
No response
👟 Reproduction steps
Need to create monitor(type: group), then link some monitors to it, then change type(group to other type)
👀 Expected behavior
...
😓 Actual Behavior
All monitors which was linked are still linked after changing type and we can't unlink them
🐻 Uptime-Kuma Version
1.22.0-beta.0
💻 Operating System and Arch
Windows 11
🌐 Browser
Google Chrome
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response

I suggest just to unlink monitors(which was linked to group) when changing type of group

Thank you for testing it, I didn't notice this.

@DevItq @louislam Added a fix for this.


Image jumps on initial scroll

Hi there
Image is in place on initial load, but as soon as you start to scroll it jumps down approximately 100px, and scrolls smoothly. Any help would be greatly appreciated.
Cheers
Sean

Hi,
Thanks for the feedback.
Where are you experiencing this? Desktop/mobile(iOS, Android), other?
Best

Hi Mario
Sorry, desktop (Mac) in Chrome.
Cheers
Sean

Sorry, it was a class with some css - my mistake!

hehe ok good - glad you sorted it out! :)


[📖] Invalid link on QwikCity doc

Suggestion
You do very important thing, I appreciate QWIK a lot, but I've founded the problem in docs here: https://qwik.builder.io/qwikcity/layout/nested/
"top layout" link here leads to 404 page.

Hi @bacher
Thanks for pointing that out and the kind words 🙏  i've created a PR to solve this (#2474) .
Seems to be a left-over from #2472 .

thanks @bacher for the report and @zanettin for the awesome work!
merged


Replicability across function evaluations in PSO

Hello,
First, thank you very much for developing and maintaining this library is very useful.
I am using the PSO algorithm to estimate a model with 17 parameters. While experimenting with the algorithm we noticed a replicability issue that we haven't been able to solve. Specifically, we noted a discrepancy between the objective function's values: using identical parameters produces different results inside versus outside the solver.
More precisely we do the following:

at every function evaluation of pymoo_minimize we print the values of the parameters and the associated error.
we then run our objective function at the values printed during the evaluation step in pymoo_minimize and we get a different value for the error, sometimes significantly different.

Is this expected behaviour ? If yes, is there a setting in the solver we can use to address this ?
We tried to replicate the same issue using scipy.minimize but in that case the evaluations within the solver and outside are consistent.
Thank you very much for your help and sorry if there's an obvious solution to this.
Our implementation of the algorithm is as follows:
class PymooProblem(ElementwiseProblem):
	def __init__(self):
		super().__init__(n_var=smm_init.shape[0],
					n_obj=1,
					xl=np.array([bound[0] for bound in p_bounds]),
					xu=np.array([bound[1] for bound in p_bounds])
					)

	def _evaluate(self,x,out,*args,**kwargs):
		print("Inputs:", ["{:.11f}".format(val) for val in x])
		f1 = Objective(x, **kwargs)
		print("F val:", f1)
		out["F"] = [f1]

algorithm = PSO(pop_size=20)
problem_abs = PymooProblem()
res = pymoo_minimize(problem_abs,
					algorithm,
					seed=1,
					verbose=True,
					save_history=True)

Is it possible your objective function is non-deterministic?
Look at this example
from pymoo.algorithms.soo.nonconvex.pso import PSO
from pymoo.core.problem import ElementwiseProblem
import numpy as np
import pandas as pd

from pymoo.optimize import minimize

class MyProblem(ElementwiseProblem):
    def __init__(self):
        super().__init__(n_var=10,
                         n_obj=1,
                         xl=0,
                         xu=1
                         )

    def _evaluate(self, x, out, *args, **kwargs):
        out["F"] = np.sum(np.square(x))

algorithm = PSO(pop_size=20)
problem = MyProblem()

dx = []

for seed in range(10):
    for i in range(3):
        res = minimize(problem,
                       algorithm,
                       seed=seed,
                       verbose=False)

        dx.append(dict(seed=seed, f=res.f))

dx = pd.DataFrame(dx)

print(dx)

For each seed I am able to reproduce the result.
Feel free to modify the code above to make your point. I am not able to run your code because of missing imports.


QnA not showing correct answer for selected prompt

I have created prompts for one of the questions. For each prompt I have created a new question. Prompt is linked with question. I have selected that the question is in context only. When I click on the selected prompt option I do not get redirected to the selected question but QnA is showing other questions as answer to this prompt. In "analyze" window I cannot select answer as a correct one. Is there any way to force the QnA maker to always go to selected answer pair for given prompt?

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

ID: 38f6b983-0c19-6439-78df-ea7bdab3f94e
Version Independent ID: 15dc8197-fed8-a94f-4143-2799d5e6a002
Content: Multi-turn conversations - QnA Maker - Azure Cognitive Services
Content Source: articles/cognitive-services/QnAMaker/How-To/multiturn-conversation.md
Service: cognitive-services
Sub-service: qna-maker
GitHub Login: @diberry
Microsoft Alias: diberry

@Larryngolog Is it possible to provide an example for your case to try out the scenario? Multi turn provides a default answer text which will be used as the answer in the QnA which has no extracted answer from the document but has a hierarchy. Could you please check adding this in your KB settings help?

@Larryngolog We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.

Hello, I was out of office. The example is very simple. I have added a prompt to the question. Then when I test the bot and click on the button then I'm not taken to answer I have added as an answer to the prompt but an answer that bot has decided that will suit this prompt.
For example: I have 2 question:

How to buy shoes
How to check order status.

For question "How to buy shoes" I added prompt "How to place an order". I add new anwer and it creates a custom qna pair marked as "Context only". I try the bot and type "How to buy shoes", I get the correct answer and button. I press the button and then QNA shows me answer to "How to check order status" instead to this linked answer "How to place an order". When I go to "analyze" I cannot point the bot to the correct answer. I think that bot should always take me to the "How to place an order" answer rather than searching through all qna. Is this by design or am I configuring something wrong?

@Larryngolog I have tried to add similar questions as you have tried. Added two follow-up prompts for the question "How to buy shoes" and tested the same. Here is a screen shot of the KB and the test screen for the test.

Here it displays the answer added to the context as expected. Is this the expected answer for your KB too?

Here are my examples: I type the question and get correct answer with 2 prompts. I click on the first one and get the correct answer. I click on the second and get the answer to the first question rather to the second prompt:

Another example here - clicking on the first prompt returns correct answer returns incorrect one:

I can share access to this database if needed.

@Larryngolog When the multi turn prompts are displayed they are displayed in context only if the option is selected during KB creation. The behavior mentioned above also depends on how you have setup your KB and it would be difficult to debug the same in this case. We would request you to raise a general inquiry from the QnA portal where the details of the KB can be shared with service team who can help you with the correct setup that you are expecting. The option is available from QnA portal on the top right hand corner.


Gratipay is using Segment.io, but which analytics integrations are currently in use?

https://segment.com/integrations#analytics

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5391052-gratipay-is-using-segment-io-but-which-analytics-integrations-are-currently-in-use?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

No longer using Segment.

@whit537 sorry to hear you're not using segment any more :( can i ask what changed?

@reinpk decision was made over a year ago, so I don't think there's a clear answer there. Generally, we had some issues with setup and docs, and didn't see the value above just sending it to the one service we used (which we already had implemented)

gotcha, sorry you had trouble with the docs and setup! wish we knew the details around what to fix, but sounds like we're too slow in our outreach to get the details. thanks for the response and best of luck!


How to use the simulator to flight and then track a trajectory

I have read the holy book but I don't see any guidance or step by step instructions.

You can use the virtual machine image to run the simulator: https://clover.coex.tech/en/simulation_vm.html, and then use info and examples from programming section to write programs for autonomous flight: https://clover.coex.tech/en/programming.html.


custom MUI slider for judge ratings in Ratings.tsx, installed some MUI packages

Description
Made sliders pretty
Is this a breaking change?

[ ] Yes
[ X] No

Fixes #99

but also yeah get rid of MUI


Updated readme after SessionTokenStorage deleted

SessionTokenStorage.cs has been deleted in this commit https://github.com/microsoftgraph/aspnetcore-connect-sample/commit/edf6e4cca61562b5151aa42181181b0f7bf5690d

You're absolutely right @tstojecki, thanks!

No problem @mark-szabo , thanks for the merge.
Also, seems like AddSession UseSession are no longer needed either https://github.com/microsoftgraph/aspnetcore-connect-sample/blob/master/MicrosoftGraphAspNetCoreConnectSample/Startup.cs#L56

Will have a look on that soon. Thanks! 😊


Piping arguments to an editor via xargs renders shell unusable after quitting the editor

A brief description
Executing a command like:
find . -name ".h" -o -name ".cpp" | xargs vim
or
ls *.py | xargs vim
results in the current shell being unusable after you quit vim. It appears mostly that characters are not being echo'd to the terminal properly. After quitting vim, if you type "exit" (and return) twice, usually, but not always, the shell quits.
Expected results
I would expect the bash shell to continue to function as normal. i.e. key strokes are properly echo'd to stdout.
Actual results (with terminal output if applicable)
Not possible, because the problem is that there is no output.
Your Windows build number
Version 10.0.14971
Steps / All commands required to reproduce the error from a brand new installation
See description
Strace of the failing command
Not currently available, I could attempt to generate one if needed.
Required packages and commands to install
Everything required to reproduce should be included with default install.

I can reproduce this on 14986

Still repro's on RS5/17672!

Can't repro here in 2004.


Remove unused Fomantic sidebar module

The Sidebar module seems currently unused (at least I can't find any reference to it in templates or js), so remove it from the Fomantic build, reducing frontend asset size by around 40kB before minification.
Also included are related changes which remove useless minified files output and mark those build files as being generated, so that they auto-collapse in diffs.

:robot:


requesting to make a Matrix group.

A matrix group would be beneficial if a user who doesn't use discord to connect with the makers and clears doubts, It can be bridged to discord too.
Just found Canary and using it for 45 mins :)

I'm not on Matrix right now, but maybe I'll set something up. Thanks for the suggestion!


Update Github release task to scrape initial release notes

Expected Behavior
When making a release, we should be able to scrape the release notes from all the PRs since the last release to create a draft release description.
Actual Behavior
When making a release, you currently have to manually look through all the pull requests and create the release notes, e.g. https://github.com/tektoncd/pipeline/releases/tag/untagged-ae24b5214648d4ec25dc
Additional Info

Promising tool used by traefik https://github.com/ldez/gcg
Blocked by #530

There is now a create-draft-release task that we've been using to do this: https://github.com/tektoncd/triggers/blob/master/tekton/create-draft-triggers-release.yaml
/close


Code doesn't run after clicking run button

Type: Bug
Test code I was attempting to run:
class Account:
    def __init__(self, name, balance, password):
        self.name = name
        self.balance = balance
        self.password = password

    def deposit(self, amountToDeposit, password):
        if password != self.password:
            print("Incorrect password")
            return None
        else:
            if amountToDeposit < 0:
                print("You cannot deposit an amount below 0")
                return None
            else:
                self.balance += amountToDeposit

    def withdraw(self, amountToWithdraw, password):
        if password != self.password:
            print("Incorrect password")
            return None
        else:
            if amountToWithdraw < 0:
                print("You cannot withdraw an amount below 0")
                return None
            else:
                if amountToWithdraw > self.balance:
                    print("You cannot withdraw more than what you have in your account")
                    return None
                else:
                    self.balance -= amountToWithdraw
                    return self.balance

    def getBalance(self, password):
        if password != self.password:
            print("Incorrect password")
            return None
        else:
            return self.balance

    def show(self):
        print(f"""Name: {self.name}
Balance: {self.balance}
Password: {self.password}""")

acc = Account('John', 1000, 'JohnPassword')
acc.show()
acc.withdraw(100, 'JohnPassword')
acc.deposit(200, 'JohnPassword')
acc.getBalance('JohnPassword')
acc.show()

Expected Results:
Name: John
Balance: 1000
Password: JohnPassword
Name: John
Balance: 1100
Password: JohnPassword

Actual Results:
None of the code seems to get runned, the terminal doesnt pop up automatically and using Ctrl + ` to bring it up shows that nothing changed there either.
I attempted this using the Run button and I also tried to delete and reinstall Python and VSCode to see if that would fix the issue. I also tried reinstalling Python from the Microsoft Store rather than the web, but none of these solutions worked.
Extensions I have installed:
Pylance
Python
SQLite
Remote Repositories (temp closed by Extension Bisect)
Azure Repos (linked to Remote Repositories, so is also closed)
GitHub Repositories (linked to Remote Repositories, so is also closed)
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Celeron(R) N4000 CPU @ 1.10GHz (2 x 1094)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: disabled_offopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
3.83GB (0.45GB free)

Process Argv
--disable-extensions --crash-reporter-id 1bb5e6bc-98e6-489c-a47e-a7a6a5ac9c56

Screen Reader
no

VM
0%

Extensions disabled
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
282f8724:30602487
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572

Please file this on the Python extension repo, thanks


Initial Issues

Allows creation of empty character:  Whenever I navigate to the new character page, there seems to be no validation.  It allows me to add a character.
Character creation no feedback:  Also it doesn't give me any feedback that the character has been created. Maybe a redirect to the characters page would be good.
PDF generation creates files on the server:  PDF generation creates files on the server.   This would eventually fill up the server and crash it.  Also this can have users overwrite other users PDFs if they both made a PDF with the same name at a time.
Something seems to be broken with the PDF generation:  I put in some basic random info and I am not seeing the PDFs download.
Loading indicators would be nice during operations that take time.
README should be filled out more.  Especially installation steps.

This is not a comprehensive list.  We can go over these tomorrow.  See ya then!  :)

For the most part these are complete.  Closing this.