Nuget is not available in Belarus

Both https://dist.nuget.org/index.html and nuget services are not available in my country. And i can open them from anonymizers
Could you please provide workaround steps

@joyhui can you check with the CDN folks?

Tracert shows
C:\Users\drweb86>tracert dist.nuget.org
Трассировка маршрута к cs1.wpc.v0cdn.net [<IP_ADDRESS>]
с максимальным числом прыжков 30:
1  Общий сбой.
Трассировка завершена.
"My" IP
<IP_ADDRESS>.
ISP
BelTeleCom (it is known for massive NAT usage for its clients due to lack of ips)

@joyhui can you check with the CDN folks?

Hi guys,
As i see neigher dist.nuget.org nor its services are not available yet...
Probably i will be adding note to code about downloading libraries and all staff and putting them to some folder because commiting all that 200 mb binaries staff is not great.

@drweb86 Any luck so far on reaching our services?

Hi
The issue is still there. Anyway i found another workaround - to use a http://www.vpngate.net/en/ to access site from other one.
Despite the frustration nuget is abandoning my ISP i understand efforts to prevent dos attacks, i even did one day similar thing on a forum to prevent spammers from china...

We are definitely not intentionally blocking. Can you contact us on support at nuget org so we can work with you to see where the issue lies?

Hi
I just sent letter there.

Please include MTR trace too.
Guideline is here:
https://docs.nuget.org/consume/nuget-faq
capture MTR

Hello
See logs below.
dist.nuget.org
|------------------------------------------------------------------------------------------|
|                                      WinMTR statistics                                   |
|                       Host              -   %  | Sent | Recv | Best | Avrg | Wrst | Last |
|------------------------------------------------|------|------|------|------|------|------|
|                   No response from host -  100 | 4385 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4385 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4385 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4385 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4385 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4385 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4384 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 4383 |    0 |    0 |    0 |    0 |    0 |
|____________|||||||
WinMTR v0.92 GPL V2 by Appnor MSP - Fully Managed Hosting & Cloud Provider
api.nuget.org
|------------------------------------------------------------------------------------------|
|                                      WinMTR statistics                                   |
|                       Host              -   %  | Sent | Recv | Best | Avrg | Wrst | Last |
|------------------------------------------------|------|------|------|------|------|------|
|                   No response from host -  100 | 3959 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3959 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3958 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|                   No response from host -  100 | 3957 |    0 |    0 |    0 |    0 |    0 |
|____________|||||||
WinMTR v0.92 GPL V2 by Appnor MSP - Fully Managed Hosting & Cloud Provider
tracert dist.nuget.org
Tracing route to cs1.wpc.v0cdn.net [<IP_ADDRESS>]
1         General failure.
For comparison
Tracert works fine with other sites.
MTR works fine with other sites.
Thanks.
From: Hui Jiang<EMAIL_ADDRESS>Sent: Thursday, February 4, 2016 8:41 PM
To: NuGet/NuGetGallery
Cc: drweb86
Subject: Re: [NuGetGallery] Nuget is not available in Belarus (#2818)
Please include MTR trace too.
Guideline is here:
https://docs.nuget.org/consume/nuget-faq
capture MTR
—
Reply to this email directly or view it on GitHub https://github.com/NuGet/NuGetGallery/issues/2818#issuecomment-179961627 .Рисунок удален отправителем.

I created a ticket for Azure CDN service. They will do investigation and get back to us soon.

Have they gotten back?

Hi
I saw no response letters. Last letter was about contacting cloud service a month ago or something like that.
Dist.nuget.org is still unavailable for direct access, however it is available through anonymous vpn services.

Sorry for bumping this up, but will it be possible to work with nuget this year?

@drweb86 No worries, seems this slipped through the mazes :( Apologies for that!
The General failure from https://github.com/NuGet/NuGetGallery/issues/2818#issuecomment-165094276 is a bit strange. It looks like your PC may be blocking things or your local network is blocking things. However other tracerts work so let's see...
Are you seeing this on one network (e.g. work) or also on other networks (e.g. home)? Is there a firewall/proxy in your network?
We'd like to get some recent traces if possible. Can you provide us with a new:

MTR + tracert towards api.nuget.org
MTR + tracert towards www.nuget.org
MTR + tracert towards www.microsoft.com

Feel free to send these over to support at NuGet dot org.

@maartenba, i'm sorry.
I found the problem. It was windows firewall. It blocks nuget org for some reason while other "Microsoft and .Net" staff is available. So i will be reviewing its rules.
Actually i never thought that it will, but! No words. Thanks again. Now all works fine.

No worries, happy to hear this is resolved.


Prohibit stackalloc int[3][1]

In #1211 it looks like stackalloc int[3][1] should be valid by the standard, but Roslyn complains. We've decided it wouldn't do what is probably expected anyway, so it would be better to prohibit it in the standard.
We haven't yet decided on the best approach for this (e.g. in the grammar or as an additional semantic rule in the text).

Possible strategy: Categorize it as an array creation expression in the grammar.

Would it help those who come after us to say something explicit, so that people don't have to try to tease apart whether or not things were blocked by design and what the rationale might have been?

@jnm2 Yes, and the proposed solution piggy-backs on such text already in the standard:

Primary expressions are divided between array_creation_expressions and primary_no_array_creation_expressions. Treating array_creation_expression in this way, rather than listing it along with the other simple expression forms, enables the grammar to disallow potentially confusing code such as
object o = new int[3][1];

which would otherwise be interpreted as
object o = (new int[3])[1];


I am facing a weird issue, and not sure if its a bug related to state

Describe the bug
When i switch pages some of the options from page 1 gets shown in page 2, or sometimes all the options are replaced with options in page 1 and vice versa and it gets back to normal when i refresh the page.
Earlier i thought this must have been a problem with the data source (json get in this case) but since this is only happening partially, i.e only the options or sometimes the cards itself and even half of the options when are actually hardcoded into ui is displayed in different page.
So i couldn't exactly figure out what exactly the issue was
To Reproduce
Steps to reproduce the behavior:

Open the app
Change screens
Go back to a different screen (happens occasionally)
Or close the app and relaunch it from recent apps (from memory) and on refresh everything gets back to normal

Expected behavior
Options and the posts to be displayed on their respective page, but somehow it gets mixed in this case
Screenshots

This is the correct layout of notifications

But in this case its listing options from events page (technical, sports, cultural)

This is the actual layout of events page

But in this case, the first option (hard coded on which is supposed to show when i tap technical) shows up but rest of the options are from notifications page
The same happens with posts too sometimes
Desktop:

OS: windows 11
Browser Edge

Smartphone:

Device: Redmi note 11
OS: Android 12

Additional context
I tried rebuilding, flutter clean etc but this issue persists.

Hi, @tushar4303 Thanks for reporting, If I understand it right by options you are referring to the List of chips is it?

Can you share a minimal and complete reproducible code to address the issue better ?
You could also take the example app, modify it, and share the reproducible code

@maheshmnj sorry to bother again, but i just wanted to know whether the issue is with my code, which is causing this bug?

Maybe since i was using the same base class model for both the pages, the state somehow got messed up when paired with the nav bar.
However on migrating to different data class model, fixed the problem.
I am closing this issue for now.

Glad you were able to solve it!


BUG(s) in reportviews

What:
Methods have unreachable code or bugs that are potentially causing inconsistent or unexpected behaviours.
Where:

HyperEdgeView, _to_frozen_set method
isinstance(HyperEdge) if block is unreachable as HyperEdge objects are Iterable.

HyperEdgeView, contains method
Unreachable elif block code as HyperEdge is Iterable.

ColoredHyperEdgeView, get_rank method

     elif isinstance(e, str):

            if frozenset({e}) in self.hyperedge_dict[0]:

                return 0

            else:

                raise KeyError(f"hyperedge {frozenset({e})} is not in the complex")

Unclear implementation and handling of str objects, any combination of hyperedge elements of rank 1, rank 0 do not get recognized and throw keyerror.
frozenset("1") == frozenset({'1'}) but hyperedge_dict contains elements like frozenset({1}) or frozenset({1,2})

no object would be both non-iterable and non-hashable.

This is false. We are talking about data that comes from outside of our control here. They can very well be non-iterable and non-hashable.

no object would be both non-iterable and non-hashable.

This is false. We are talking about data that comes from outside of our control here. They can very well be non-iterable and non-hashable.

Updated.


VSTest publishRunAttachments has no effect on what is published

Type: Bug
Enter Task Name: VSTestV2
Environment
Azure Pipelines
Hosted Agent - "Hosted VS2017" pool
Issue Description
The "publishRunAttachments" parameter has no effect on whether attachments actually get published. They are published regardless.
Snippet from my pipeline yaml:

This results in the .coverage file generated being published, which prevents me from publishing processed coverage results later in my pipeline.
Should be fairly easy to reproduce, happy to provide further information if required.

@bancey Yes, it is not supported through this parameter. To view published code coverage results, Private preview is ready for the new first class view :

If interested , please mail your account details on<EMAIL_ADDRESS>We would love to have your feedback before it becomes GA.

@bancey We acknowledge that the parameter does not work as expected.  You can try out our new richer code coverage experience which is in preview

If you are interested, we will enable this on your account in couple of days.
You can try this and give us further feedback before this feature becomes GA.

This option has been this way for quite some time. Since we have not had the need so far to disable attachment uploads we have not prioritized fixing this. Let us know if the above first class rich coverage experience does not satisfy your needs and we can revisit this. Thanks.

Thanks for looking into this - would be good to get access to the richer code coverage experience, how would I go about getting this enabled for my organisations?

@bancey, Please mail your account details on<EMAIL_ADDRESS>

Will the new code coverage features be able to handle multiple coverage results? And additional formats?
I have a project that contains both JavaScript and C# tests - currently, I produce cobertura results and merge them together to generate the HTML coverage report on the build report. I ran into this same issue - uploading the .coverage results would prevent the HTML report appearing.
My work around was to call vstest via PowerShell to avoid the attachment upload. Ideally, I could run the C# tests and publish the results, and then run the JavaScript tests and publish the results.
Thanks!

Hi,
I have a problem in the other way around. The publishRunAttachments is set to true but no attachments are made to the test.
My task configuration - that is the last task in the build, no tasks and no stages after that. The task is in a yaml file that is used as template for a job from the root yaml. The root yaml file doesn't has any other jobs currently. The build is successful and all tests are passed:

task: VSTest@2
displayName: "Run .NET Tests"
inputs:
testAssemblyVer2: |
${{ parameters.build_configuration }}**test.dll
!\obj**
!\node_modules
!\Microsoft.VisualStudio.TestPlatform*.dll
vsTestVersion: "toolsInstaller"
testRunTitle: ".NET Tests"
codeCoverageEnabled: true
runSettingsFile: "$(base_path)/Backend/default.runsettings"
platform: "Any CPU"
configuration: ${{ parameters.build_configuration }}
publishRunAttachments: true

The log output
Results File: d:\a_temp\TestResults\VssAdministrator_fv-az659_2020-06-17_19_06_31.trx
Attachments:
d:\a_temp\TestResults\d370fbcf-9b38-4dee-bd8e-1bbce53c2665\VssAdministrator_fv-az659 2020-06-17 19_06_21.coverage
Test Run Successful.
Total tests: 10
Passed: 10
Total time: 13.7713 Seconds
Vstest.console.exe exited with code 0.
**************** Completed test execution *********************
Test results files: d:\a_temp\TestResults\VssAdministrator_fv-az659_2020-06-17_19_06_31.trx
Created test run: 1002926
Publishing test results: 10
Publishing test results to test run '1002926'.
TestResults To Publish 10, Test run id:1002926
Test results publishing 10, remaining: 0. Test run id: 1002926
Published test results: 10
Publishing Attachments: 2
Completed TestExecution Model...
Finishing: Run .NET Tests
Thanks!

@bancey We acknowledge that the parameter does not work as expected. You can try out our new richer code coverage experience which is in preview

If you are interested, we will enable this on your account in couple of days. You can try this and give us further feedback before this feature becomes GA.

Hi @nehsharmMS, could u let us know is the above code coverage details is rendered from the visual studio .coverage file by a seperate step task, or is this actually generated from Vstest Task or the .coverage file is parsed to xml then published using publish code coverage results task, Keen to know how this coverage details are published in the above shared images.

Hi, I have a problem in the other way around. The publishRunAttachments is set to true but no attachments are made to the test.
My task configuration - that is the last task in the build, no tasks and no stages after that. The task is in a yaml file that is used as template for a job from the root yaml. The root yaml file doesn't has any other jobs currently. The build is successful and all tests are passed:
* task: VSTest@2
  displayName: "Run .NET Tests"
  inputs:
  testAssemblyVer2: |
  **${{ parameters.build_configuration }}*_*test_.dll
  !**\obj**
  !**\node_modules
  !**\Microsoft.VisualStudio.TestPlatform*.dll
  vsTestVersion: "toolsInstaller"
  testRunTitle: ".NET Tests"
  codeCoverageEnabled: true
  runSettingsFile: "$(base_path)/Backend/default.runsettings"
  platform: "Any CPU"
  configuration: ${{ parameters.build_configuration }}
  publishRunAttachments: true

The log output Results File: d:\a_temp\TestResults\VssAdministrator_fv-az659_2020-06-17_19_06_31.trx Attachments: d:\a_temp\TestResults\d370fbcf-9b38-4dee-bd8e-1bbce53c2665\VssAdministrator_fv-az659 2020-06-17 19_06_21.coverage Test Run Successful. Total tests: 10 Passed: 10 Total time: 13.7713 Seconds Vstest.console.exe exited with code 0. **************** Completed test execution ********************* Test results files: d:\a_temp\TestResults\VssAdministrator_fv-az659_2020-06-17_19_06_31.trx Created test run: 1002926 Publishing test results: 10 Publishing test results to test run '1002926'. TestResults To Publish 10, Test run id:1002926 Test results publishing 10, remaining: 0. Test run id: 1002926 Published test results: 10 Publishing Attachments: 2 Completed TestExecution Model... Finishing: Run .NET Tests
Thanks!

Could you set system.debug variable to true and run the pipeline, it will provide you more detailed log about what happening behind the hood of the ADO.
Like this in the yml:

@simonachmueller  Just to confirm is this bug resolved?

@vjoshi-msft it's not my bug, I just pointed that user can enable system.debug
But this is definitely not resolved, the "first class rich coverage experience" mentioned above is not documented and I face the same problem @bancey reported. Dunno why this ticket was closed.

I'm facing the same problem as well. While I appreciate the "We acknowledge that the parameter does not work as expected", the solution given of "send us an email" should not be considered a valid solution for closing this ticket. I understand that it's not a priority, but unless there is a ticket somewhere, it will never get fixed. If there is a ticket already tracking this, please link it, if not, reopen this one.
Thanks

Any update on this? I am having the same issue where the results in the .coverage file generated being published, which prevents me from publishing processed coverage results later in my pipeline.
This 'richer code coverage' screen still doesn't appear to be released as i am not seeing output as shown in that screenshot.


will be nice to add a 'prefix' to filenames

..., like e.g. Hashing or at least Hash. this allows to avoid collision of filenames in big projects.

That's a good idea. Will do this :)


HTML Size Tagging

Submitting a new issue as I accidently wrote my issue in pygame_gui_examples instead of this repository.
Is your feature request related to a problem? Please describe.
I have been attempting to use HTML supported tags as enumerated in the documentation. However, when using the HTML size tagging:
eg.
the documentation fails to state that only discrete sizes are allowed as written in the html parser source code. Thus, when size values are entered that are not
1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6, 6.5, 7 a key error occurs:
eg.  Results in a key error.
Describe the solution you'd like
I am unsure if this is intended, but I only realized that only discrete values are accepted after looking at the source code. More explicit value handling would be helpful, or perhaps allow dynamic html font sizing, similar to the dynamic pygame font sizing that already exists. Html formatting is great for detailed text customization, but this issue makes it more difficult to use since it is not obvious, at least to me, what causes this issue during development.
Additional context
Version:
pygame 2.1.0 (SDL 2.0.16, Python 3.9.9) pygame_gui is 0.6.0

I will add a better error for the unsupported html style sizes. I will probably also add an alternative pixel_size param that just lets you directly set the pygame/freetype font size without the html style conversion. I believe the half-point sizes were and html convention at some point which is why I adopted them and mapped them to actual pixel sizes - fractional sizes don't really make that much sense for fonts in general because they have to rasterize to an actual pixel size at some point and there aren't fractional pixels.

I gathered that the HTML font sizes likely carried over from HTML itself.
Direct pygame "font size" assignment would be great for HTML text! I encountered this problem while using live theming, which is awesome, to modify text size on all elements during runtime. From my understanding, HTML "font size" and pygame "font size" are two unrelated values in the context of element theming. A value that can set both values pygame and HMTL "font size" would allow for more consistent font sizing across all elements.
I have a couple of suggestions from my experience using this package.
If possible, an HTML tag like the current tag  for HTML "font size" that directly references the pygame "font size" could be a solution.  HTML tag formatting seems like a more user-friendly approach when compared to object ID's so this would be a great solution in my opinion.
ie.  would directly reference the pygame fonts which are only ints.
Or perhaps handle this with object ID's? If an HTML UI element receives an object ID with set font size, then set the size of the HTML text to be the set pygame font size. I believe you alluded to this with a potential pixel_size parameter.
eg. in the theme.json file
{
    "@my_element":
    {
        "font":
        {
            "name": "MyFont",
            "size": "24",
            "bold": "0",
            "italic": "0"
        }
    }
}

In 0.6.2 I've added 'pixel_size' as an option for the font tag letting you directly set the pygame font size - and you should get a helpful warning message if you try to set a unsupported 'size' value now.


RTD webhook still doesn't work as expected

We're still having problems with the RTD webhook updating when it should. For instance, we recently released v6 (which is the one and only trigger of the RTD webhook), however, the last recent update of the documentation was 3 months ago - i.e. the documentation is not updating at the cadence we expect.
e.g. @rsomers1998 spotted that the Figshare DOI on the "Acknowledging CITCOM" section of the current docs  still has the incorrect link, despite it being corrected in the master branch several months ago.
Todo: Farhad to investigate why this is happening

Not sure what I did, but updating the webhook page seems to have fixed it...

It appears this was an error on my part from a previous commit.  Commit 993bca7 shows that docs/source/credits.rst was directly updated in main without building.

Will submit a PR to resolve this and other documentation typos

The current RTD docs also seems to load the homepage with the logo loaded further up, and is not aligned with the rest of the navigation bar (see images below)

Expected:

Observed problem:


Adding new 'detachOption' property for data disk force-detach using Update VM

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

/azp run automation - sdk

hi @changlong-liu , is this PR change ok to Python Track2 SDK? hi @avinashakka is this PR ready to merge?

Hi @yungezz , I think this PR (adding optional parameter ) is fine for  Track2  Python.
CC to Python SDK owner @msyyc

Hi @yungezz , I think this PR (adding optional parameter ) is fine for Track2 Python.
CC to Python SDK owner @msyyc

thanks @changlong-liu always super! :)

hi @avinashakka is this PR ready to merge?

hi @avinashakka is this PR ready to merge?

I am waiting for sign-off from @smotwani

hi @avinashakka could you pls fix the modelValidation failure before merging? https://aka.ms/ci-fix thanks.

hi @avinashakka could you pls fix the modelValidation failure before merging? https://aka.ms/ci-fix thanks.

Adressed it. This PR is now ready to be merged.


Eventhubs May 2024 release

Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[ ] C++ Guidelines
[ ] Doxygen docs
[ ] Unit tests
[ ] No unwanted commits/changes
[ ] Descriptive title/description

[ ] PR is single purpose
[ ] Related issue listed

[ ] Comments in source
[ ] No typos
[ ] Update changelog
[ ] Not work-in-progress
[ ] External references or docs updated
[ ] Self review of PR done
[ ] Any breaking changes?

Please add the bug fixes since last release

To my knowledge there weren't any. There were bug fixes in AMQP which are now reflected in Eventhubs. And there are fixes to test collateral to make it test both connection strings and token credentials.
And the support for the eventhubs emulator is quasi-embargoed until it is announced at //build.  It can show up in PRs if customers look for them (and they have :)), but I don't believe we should advertise it in the changelog.


search log return empty data

Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do?
search log like len(tables)==0 will return empty data.

What did you expect to see?
display some logs

What did you see instead?
empty

What version of TiDB Dashboard are you using (./tidb-dashboard --version)?
master

what does your expected logs look like, can you attach some example logs?


Fix SQLalchemy serialization issue within Dask

Change Summary

Related issue number

Fixes #45

Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI
[ ] Documentation reflects the changes where applicable

@mgrover1, I have a solution that may work for you :). Try it out and let me know how it goes
python -m pip install git+https://github.com/NCAR/esds-funnel@fix-dask-serialization-issue


"Geiser default implementation" is ignored

As the title says. I've set it to chicken, but whenever I open an .scm file, the buffer defaults to Guile.

That's the default, but it's being overridden by the implementation auto-detection. Confusing.

You can force it by putting this at the top of the file:
``;; -- geiser-scheme-implementation: 'chicken --

My workaround for now is that I've changed the order of the implementations in Geiser Active Implementations so Chicken is at the top. Also, thanks for the variable name.

to make chicken the one and only, one can customize
geiser-active-implementations, or provide a more complicated
auto-detection function.
i see how this is confusing and how geiser-fallback-implementation would
have been a better name for this variable, but the behaviour is as
intended.

I see. So my "workaround" is actually the correct solution. Maybe this would be an information to add to the option "docstring"?

On Mon, Apr 23 2018, Daniel Ziltener wrote:

I see. So my "workaround" is actually the correct solution. Maybe this
would be an information to add to the option "docstring"?

yes, definitely. and maybe the wording in the user manual should be
clearer?


No condition by splunk-uf main.yml role

First of all, great repo!
I used your splunk-uf playbook on my Windows Servers and have noticed that by "Install Inputs Config (Linux)", there is no condition like (when: ansible_facts["os_family"] == "Debian"), which means this will also run on Windows.
Wanted just to let you know.

Fixed. Thanks!


[T4A4][W11-B3]Tang Kai Ling

Ready for review

Some comments added. Please close the PR after reading comments.


Upgrade editor closes #95 progress one

Complete 👍 👍 🌮

Upgrade: A new editor ( trumbowyg ) is installed in 1 location: Listing Item Description.
Hygeine: The install attempts to prevent XSS vectors and maintain data hygeine by conforming to our set of allowed tags, attributes and schemes.
Affordance: The tags are filtered when the data is saved and when it is rendered.

Excepting 👻

Eager ghost: Ghost has discovered a possible opportunity for increased clarity in requirements relating to HTML sanitization.

Snags and other Issues 🌭 🍓

XSS: XSS vulnerability existed when using textarea because TEXTAREA converts entities to characters which allowed attack vectors to hide from sanitization by using suitable escapes. For this reason changes were made to replace textarea with DIV[contenteditable] where editor operates. See the commit prior to this pull request ( fbea701e27bed32cc8eb6c4b38ee8375b2b515e4 ) for more details.

Okay
Kris
On Wed, Dec 21, 2016 at 12:16 AM, Robert Misiorowski <
<EMAIL_ADDRESS>wrote:

@rmisio commented on this pull request.
In js/utils/trumbowyg.js
https://github.com/OpenBazaar/openbazaar-desktop/pull/229:

+import 'trumbowyg';

+$.trumbowyg.svgPath = '../node_modules/trumbowyg/dist/ui/icons.svg';
+
+export const editorOptions = {

btns: [
['formatting'],
['bold', 'italic'],
['link'],
['insertImage'],
'btnGrp-justify',
'btnGrp-lists',
],
+};

+export function installRichEditor(attachPoint) {
FWIW, after letting this sink in for a day, if you haven't made this
change already... if you left this is as is and just changed the following
line in EditListing.js, I think that would fine:
installRichEditor('#editListingDescription');
to:
installRichEditor(this.$('#editListingDescription'));
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenBazaar/openbazaar-desktop/pull/229, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AWndvH3zshFOouzffJGmjRKdfITTldM5ks5rJ_9JgaJpZM4LP0tP
.

Okay
Kris
On Wed, Dec 21, 2016 at 12:20 AM, Robert Misiorowski <
<EMAIL_ADDRESS>wrote:

@rmisio commented on this pull request.
In js/views/baseVw.js
https://github.com/OpenBazaar/openbazaar-desktop/pull/229#pullrequestreview-13795221
:

@@ -37,7 +37,11 @@ export default class baseVw extends View {
*/
getFormData(selector) {
const $formFields = selector instanceof $ ?

 selector : this.$(selector || 'select[name], input[name], textarea[name]');

 selector : this.$(selector ||

   `select[name], input[name],

   textarea[name]:not([data-do-not-collect]),

Instead of having to add in the data-do-not-collect attribute, couldn't
the selector just be textarea[name]:not(.trumbowyg-textarea)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenBazaar/openbazaar-desktop/pull/229#pullrequestreview-13795221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWndvNcOw9N9vENo9teoVL_Vat1z9hZ_ks5rKABjgaJpZM4LP0tP
.

Couple minor style issues:
1.) Can you please remove references to .medium-editor-element from the scss files?
2.) Please ensure the trumbo field is integrated into the styles in _form.scss. It looks like it's as simple as:

add .trumbowyg div[contenteditable] at line 22. Among other things, that will ensure our Trumbo field gets the same font as the other fields.
add .trumbowyg div[contenteditable]:focus at line 49. Among other things, that will ensure our Trumbo field gets a border when it's focused.

Other than that, this LGTM. Thanks!

Okay

Good find. Okay

@rmisio this looks good to me, when you close your review you can merge this.

🆗 ❗ ❗
🎉 🎈 👍 👍 🌮 👻 🌭 🍓
Good merge.
Thank you @jjeffryes and @rmisio for all the useful and patient reviews.
Onward! :D ;p :) xx


ignore nil chan , or it may cause close nil error

Nice catch! Thanks for submitting the fix!

I had to revert the change because the build panics: https://travis-ci.com/github/trustmaster/goflow/builds/204889867

I had to revert the change because the build panics: https://travis-ci.com/github/trustmaster/goflow/builds/204889867

OK.  I'll check it and submit later.


Preloading db

Is it possible to preload db before quering? Like netdb.loadDatabase?

It doesn't need .loadDatabase, because the architecture is different

storage decides whether to pre-load key/value pairs
storage almost certainly preloads keys
as for in-memory indexes, they are built on demand

if you want to build all your indexes on demand, just specify index: true in your model for every queried property


Investigate and Re-Enable WebSocketSmokeTest

The ProxyWebSocketsSmokeTest is flaky. This needs to be investigated and re-enabled.

Being fixed in https://github.com/aspnet/Proxy/pull/73 and https://github.com/aspnet/Proxy/pull/84


Login with facebook not working

Hi,
Continue with facebook login is not working, on web view it open the instagram feeds page, but WebViewAuthenticator gives an error :
The operation couldn’t be completed. (Swiftagram.WebViewAuthenticatorError error 0.)
Swiftagram version : 4.2.7

Hey @khaliddd,
🤔
Mmh… I've never actually thought about the "Continue with Facebook" option and I don't really have a way to test it, either, unfortunately. I just assumed they would use the same cookies.
Do you have a way to test it yourself so we can figure it out "live" on a Zoom call or something?

Hi @sbertix ,
sorry for getting back late :
When we login via facebook we get the following cookies:
[<NSHTTPCookie
	version:1
	name:ds_user_id
	value:46465954500
	expiresDate:'2021-06-23 09:15:17 +0000'
	created:'2021-03-25 09:15:17 +0000'
	sessionOnly:FALSE
	domain:.instagram.com
	partition:none
	sameSite:none
	path:/
	isSecure:TRUE
 path:"/" isSecure:TRUE>, <NSHTTPCookie
	version:1
	name:sessionid
	value:46465954500%3AFBkFJZgd6dpyvO%3A14
	expiresDate:'2022-03-25 09:14:42 +0000'
	created:'2021-03-25 09:14:42 +0000'
	sessionOnly:FALSE
	domain:.instagram.com
	partition:none
	sameSite:none
	path:/
	isSecure:TRUE
	isHTTPOnly: YES
 path:"/" isSecure:TRUE isHTTPOnly: YES>]

There is no cookie for "csrftoken"
and you validate cookies like this:
var containsAuthenticationCookies: Bool {         Set(map(\.name)).intersection(["ds_user_id", "sessionid", "csrftoken"]).count == 3     }
is there any quick fix for it ?
Thanks in advance

I've deleted the comment just in case the cookies could be actually used to login @khaliddd.
I'm not really sure how it would work with all endpoints requiring the CSRF token... 🤔
I'll try to find a way to test it in the next few days.
Possibly for 5.0.0.

okay thank you.

Hi @sbertix ,
for some strange reasons it works when I debug it with break points , I guess it works if there is some delay ,
if I remove breakpoints it does not work.
do you have any idea what could be the issue ?

I'm assuming cookies are validated by Swiftagram before they're actually set.
I know it was an issue in the past, in the implementation I had written for SwiftyInsta, but I never saw it happen in WebViewAuthenticator. I'm definitely gonna fix this though.

Hey @khaliddd,
I've changed the authentication flow in 5.0.0: it's still based on the old behavior (i.e. the actual steps are the same but I improved on the code), but unfortunately I can't test it to see whether it's enough or not to have it work with Facebook.
Do you mind cloning the development branch and testing the authentication in the Followers example and give me some feedback? Thanks.

Hi @sbertix,
Sorry, I was bit busy.
I'll test it today or tomorrow and will update you.

@sbertix I am getting an error in development branch, can you please help me to fix it.

@sbertix I am getting an error in development branch, can you please help me to fix it.

I'm assuming you have a dependency to the older ComposableRequest in your code when adding the new one.
There's no point in adding it to your actual project right now though, as it's not ready yet.
I was just wondering if you could clone Swiftagram and test login in the Followers example (so I also know how the actual authentication is implemented in the client).

@sbertix :
its working

Great @khaliddd 💪
I'm gonna close the issue once 5.0.0 is out then.
Thanks man


Add a license

There's no license on the repo or on the API Documentation which respect to how the data from the API can be used. I would like to use the API for a research project but I don't know if I can. Can you please add a license? Thank you!

Hi Isabel,
We are working on redefining our data license and terms of service. I'm very sorry for the delay in the response.
Our data that is public can be used for research projects.
Best,
Melisa


Azure REST API - PIM privilegedOperationEvents error - Status Code 500

Describe the bug
I am using REST API to get list of  all privileged operations for all the users. I followed following documentation:
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/privilegedoperationevent_list
Everything was fine until 6 Nov 2018 10 PM NZST, but now it's giving me following error in Response body:

{
"error": {
"code": "UnknownError",
"message": "{"message":"An error has occurred."}",
"innerError": {
"request-id": "dc8e93ca-e46d-4bdc-a6b8-7bf6cdc11fed",
"date": "2018-11-07T19:58:47"
}
}
}
I also checked it in Graph Explorer to verify, but same error there too
To Reproduce
Steps to reproduce the behavior:

Go to Graph Explorer - https://developer.microsoft.com/en-us/graph/graph-explorer
Login using a user which is registered for PIM.
Make a new request to Graph API by choosing "GET" in request type and selecting "beta" in version.
Paste this in the request URL "https://graph.microsoft.com/beta/privilegedOperationEvents", and click "Run Query"
See error in the "Response Preview" in the bottom with Error Code = "Failure - Status Code 500

Expected behavior
I Expect JSON like following:
HTTP/1.1 200 OK
Content-type: application/json
Content-length: 547
{
"value": [
{
"id": "201707240003469369",
"userId": "2cf9eef8-bc67-4aa4-bb65-75cc9e5c3f80",
"userName": "admin1",
"userMail"<EMAIL_ADDRESS>"roleId": "9360feb5-f418-4baa-8175-e2a00bac4301",
"roleName": "Directory Writers",
"expirationDateTime": "0001-01-01T00:00:00Z",
"creationDateTime": "2017-07-24T18:32:38.7589078Z",
"requestorId": "0f693614-c255-4cf5-92fa-74e770c656d8",
"requestorName": "admin",
"tenantId": "ef73ae8b-cc96-4325-9bd1-dc82594b0b40",
"requestType": "Assign",
"additionalInformation": null,
"referenceKey": null,
"referenceSystem": null
},
{
"id": "201707240003469372",
"userId": "2cf9eef8-bc67-4aa4-bb65-75cc9e5c3f80",
"userName": "admin",
"userMail"<EMAIL_ADDRESS>"roleId": "95e79109-95c0-4d8e-aee3-d01accf2d47b",
"roleName": "Guest Inviter",
"expirationDateTime": "0001-01-01T00:00:00Z",
"creationDateTime": "2017-07-24T18:33:00.7607701Z",
"requestorId": "0f693614-c255-4cf5-92fa-74e770c656d8",
"requestorName": "admin",
"tenantId": "ef73ae8b-cc96-4325-9bd1-dc82594b0b40",
"requestType": "Assign",
"additionalInformation": null,
"referenceKey": null,
"referenceSystem": null
}
]
}
Screenshots

Desktop (please complete the following information):

OS: Linux Centos7
Browser: Chrome, IE, Firefox
Version: Chrome version Version 68.0.3440.84 (Official Build) (64-bit)

@dend Can you take a look at this issue?

I'm facing exactly the same issue using the API with PowerShell getting token with Username/Password by ADAL:
Also with the following endpoint:
https://graph.microsoft.com/beta/privilegedRoles
https://graph.microsoft.com/beta/privilegedRoleAssignments
PIM is enabled (it worked before) user is PIM Admin and has a AADP2 license applied.
Also a customer of mine is affected where I use the same script.
Error message from Graph Explorer:
{
"error": {
"code": "UnknownError",
"message": "{"message":"An error has occurred."}",
"innerError": {
"request-id": "16e184f8-86cb-4424-abff-4fd3ac4a010e",
"date": "2018-11-12T12:40:15"
}
}
}
Error message from PowerShell:
Invoke-RestMethod : The remote server returned an error: (500) Internal Server Error.
At line:1 char:21

$allRoleEvents=(Invoke-RestMethod -Method GET -Uri "https://graph.microsoft. ...

  + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
  + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

/Peter

Talked to the PM through a different channel an they added a scope check against the token.
I was using a generic client_id in my PowerShell Script and using an User/Password Auth Flow
To solve the issue:
Create an native app in Azure AD
Set the following permissions for Graph API:
Directory.AccessAsUser.All
Directory.Read.All
Directory.ReadWrite.All
PrivilegedAccess.ReadWrite.AzureAD
Used that appID (client_id) in my PowerShell script instead of the generic one and script is working now again.

@pstapf Thanks you provide the solution. @shailesh-yadav-moe Is this solution helpful?

@pstapf Thanks you provide the solution. @shailesh-yadav-moe Is this solution helpful?

I just added new permissions to the app and it's working now. I given following permissions in the scope, and everything remains unchanged:
Directory.AccessAsUser.All
Directory.Read.All
Directory.ReadWrite.All
PrivilegedAccess.ReadWrite.AzureAD
thanks @Powerhelmsman @pstapf
it working again.


htmlcxx: 0.86 -> 0.87

Description of changes
Fixing htmlcxx build (for lgogdownloader).
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

No maintainers, pinging @siraben as per git blame.

Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

htmlcxx
lgogdownloader

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

2 packages built:

htmlcxx
lgogdownloader

Result of nixpkgs-review pr 170097 run on aarch64-darwin 1

1 package failed to build:

htmlcxx


View Txs

[ ] Details:  using a fork of the ethVM frontend, build a view of transactions

Hours expected: 10

Bounty size: $1,000

started work


dev app should use a different price facet for priceRanges widget

Both the slider and priceRanges widget are using the same facetName, thus the behavior of both widgets is weird: slider limit is updated dynamically when you use it.
TODO:

[ ] modify the import script of the instant search index to add priceForPriceRanges
[ ] regenerate the indec
[ ] use this new attribute in our dev app

I think we'll anyway not manage to have all the widgets working at the same time in the future with this dataset. I would just move to another randomly-generated dataset with plenty of numerical/facets to handle it easier for the dev.

I think all the widgets should be able to live on the same page.

I think all the widgets should be able to live on the same page.

Yes me too but for this particular one (priceRange and rangeSlider, on the same attribute), the result will always be weird. Given that priceRange has a specific behavior that breaks the slider.
Having a slider and priceRange on different attribute is fine of course.
Was that your question @bobylito?


Question about visualizing the SMPL joints

Hi,
Your work is excellent and I am interested in it! Now I'm trying my hands on visualizing the SMPL joints.
But I have no idea about where the file "SMPL_MALE.pkl" is and what function it serves as. Could you please tell me about it?
Sincerely,
Shuhong

I download the SMPL model file from https://smpl.is.tue.mpg.de/downloads, and rename the pkl model file to "SMPL_MALE.pkl" and "SMPL_FEMALE.pkl" respectively. I think the pkl file is used to initialize SMPL model (defined in https://github.com/liruilong940607/smplx), which is slightly modified from original SMPL codes.

I download the SMPL model file from https://smpl.is.tue.mpg.de/downloads, and rename the pkl model file to "SMPL_MALE.pkl" and "SMPL_FEMALE.pkl" respectively. I think the pkl file is used to initialize SMPL model (defined in https://github.com/liruilong940607/smplx), which is slightly modified from original SMPL codes.

Thank you so much! It really solved my problem!

Sorry for bothering you again.
Now I want to visualize the SMPL Mesh. I come across a "segmentation fault (core dump)" when running the line

vedo.show(mesh, pts, interactive=True)

I don't know whether it's the problem of the python library "vedo" or any problems else.

I download the SMPL model file from https://smpl.is.tue.mpg.de/downloads, and rename the pkl model file to "SMPL_MALE.pkl" and "SMPL_FEMALE.pkl" respectively. I think the pkl file is used to initialize SMPL model (defined in https://github.com/liruilong940607/smplx), which is slightly modified from original SMPL codes.

Thank you very much for your reply!
I did not find the download button of SMPL model on the download page. Then I downloaded other files on this web page, but did not find the "SMPL_MALE.pkl" and "SMPL_FEMALE.pkl".
Is the download button of SMPL model cancelled？
Thanks again🙏

Sorry for bothering you again.
Now I want to visualize the SMPL Mesh. I come across a "segmentation fault (core dump)" when running the line

vedo.show(mesh, pts, interactive=True)

I don't know whether it's the problem of the python library "vedo" or any problems else.

Have you resolved this problem? I met with the same problem.


Form not cleared

I've implemented method A of form clearing described at http://redux-form.com/5.3.1/#/faq/how-to-clear but the fields are not cleared. If I focus any of the field afterwards then it gets cleared.

And you're certain that the action you are listening to (ACCOUNT_SAVE_SUCCESS in the example) is getting dispatched?

Sure. I have logging on every strategic place :-).
Last version of redux-form where it is working is 5.2.4. In 5.2.5 and 5.3.x it doesn't work.
In my componnent I log in componentWillReceiveProps values of nextProps.fields.myField (mapped by reduxForm function) and nextProps.myForm (mapped from getState().form.myForm). After resetting the form the nextProps.fields.myField logged as not being reset and nextProps.myForm is logged as undefined (correctly).
And as I mentioned, the field resets (clears) just after I focus it.

(using 6.0.0rc3) I have a similar issue. In my case, on an edit form for an existing record  (/entity/edit/1234), there is a button to add a new record (<Link className="button" to="/entity/new">Add new</Link>). I call to an HOC on a 'page' component that includes a child redux-form component. The HOC call checks to see if an entity ID is in the params and either dispatches an action to load the entity from an API or create an empty record object (below). So either an existing entity or an empty entity populates initialValues for a redux-form instance. On click of "Add new", the correct data (new blank props, new blank initialValues) are being passed into the component(s) for redux-form, but redux-form does not change. I would figure this is enough to change the form input values from the existing edit form to a blank 'add new' form.  If I add enableReinitialize: true, to the reduxForm props, then the form input values do change.
What is the proper way to handle the case described above? Shouldn't passing new props cause a re-render? Why is isn't enableReinitialize: true, the default? I assume it is not the default for a performance benefit, and would prefer to take advantage of that. How or what is the best way?
// redux-connect
export default asyncConnect(
  [
    {
      promise: ({ params, store }) => {
        if (!params.id)
          return store.dispatch(actions.regions.getNew());

        return store.dispatch(actions.regions.getById(params.id, apiSelect));
      }
    },
  ],
  (state) => {
    return {
      regions: state.regions,
    };
  },
  {
    createOrUpdate: actions.regions.createOrUpdate,
    remove: actions.regions.remove,
  }
)(Form);

Can you reproduce this?

@zdila , if you are asking me, yes. I can reproduce this in rc4. I need enableReinitialize: true, to take in the new (empty/blank) values of the location change initialValues.

I would like this to be fixed in the lates stable (5.3.x). I think it is pretty critical.

At this point I would recommend migrating to v6. I don't think a lot of v5 issues are going to be resolved going forward as v6 is almost fully released.

Closing as a duplicate of #1083.


Firebase Realtime Database setPersistenceEnabled value set to "true" by default.

Firestore has offline access by default  which is the same as FirebaseDatabase.setPersistenceEnabled(true) in Firebase Realtime Database. may I know why it's not set to default?

https://firebase.google.com/docs/database/android/offline-capabilities

It's the same behavior as in the native platform.

Not the answer I wanted but, nevermind. I mean there's a way that this function is  set to true by default.

Why is that an issue?
Just set it to true when you initialize the Firebase connectiin.
It's just one line of code.


Allow arbitrary configuration of brokers/gateways via the cluster builder

Is your feature request related to a problem? Please describe.
It's currently possible to configure the broker/gateway that form a cluster after building them by accessing them as:
cluster.getBrokers().values().forEach(b -> b.withEnv("FOO", "BAR");

However, it doesn't really make use of the builder pattern, and it prevents using the cluster as a @Rule or extension in the future - well not prevent, but it means you can't use it and configure the brokers arbitrarily afterwards.
See also these issues which try to address specific properties:

https://github.com/camunda-community-hub/zeebe-test-container/issues/140
https://github.com/camunda-community-hub/zeebe-test-container/issues/139

Describe the solution you'd like
Instead of trying to figure out all the properties a user might want to be build, I would rather keep the API surface small, and just let users pass a UnaryOperator which takes in a broker/gateway and returns a configured one, e.g.
cluster.withBrokerConfig(b -> b.withEnv("foo")).build();

Some open questions:

Should we have three methods, withBrokerConfig, withGatewayConfig, and withNodeConfig, which target the various specific node types (where the withNodeConfig is applied to both brokers and gateways)?
Should the configuration methods be applied after or before the cluster's own configuration? Intuitively I think after, but I'm open to discussion.

Describe alternatives you've considered
Adding specific builder methods for each property that we want to configure. This has the advantage that we have better control over the
Additional context

https://github.com/camunda-community-hub/zeebe-test-container/issues/140
https://github.com/camunda-community-hub/zeebe-test-container/issues/139
https://github.com/camunda-community-hub/zeebe-test-container/pull/143
https://github.com/camunda-community-hub/zeebe-test-container/pull/145

/cc @aivinog1 since you've worked on these issues

Hey @npepinpe! So, as I understand should we close #140 and #139 and focus on this solution? Am I properly understand these words:

Should the configuration methods be applied after or before the cluster's own configuration? Intuitively I think after, but I'm open to discussion.

So, do you propose something like this (let's focusing on order)?
var clusterBuilder = ZeebeCluster.builder();
clusterBuilder.withEmbeddedGateway(false).withBrokersCount(1).withGatewaysCount(1);
var cluster = clusterBuilder.build().withBrokerConfig(b -> b.withEnv("foo"));

Or should we maintain order in the builder? If we chose the second option, can you elaborate a little (with a full example with builder and cluster objects)?

I would propose on the builder itself. So instead of adding a method in the builder for all the things we want to configure for the gateway/broker, we can just do that in a more generic way:
final var cluster = ZeebeCluster.builder()
  .withEmbeddedGateway(false)
  .withBrokersCount(1)
  .withGatewaysCount(1)
  .withNodeConfig(node -> node.setDockerImage(ZeebeDefaults.getInstance().getDockerImage().withTag("1.0.1")))
  .withBrokerConfig(broker -> broker.withEnv("foo", "broker"))
  .withGatewayConfig(gateway -> gateway.withEnv("foo", "gateway"))
  .build();

Hey @npepinpe! What do you think about if UnaryOperator would be replaced with Consumer? It is much easier to implement because you don't need to face typecasting.


fix: world generation with zones

Contains
When fixing https://github.com/Terasology/TutorialWorldGeneration/pull/19, I noticed that the zoned world generator doesn't work anymore. Only the first zone added to a WorldBuilder actually appears in the world. It turns out this is because WorldBuilder deduplicates rasterizers based on class (but curiously, only rasterizers which don't have dependencies), so it sees three Zones and decides that they're equivalent and it only needs to rasterize the first one. This is invalid for zones, and it's also invalid for any rasterizer with per-instance configuration, which may not be used now but would be a good thing to support. This PR just gets rid of the deduplication.
How to test
Checkout https://github.com/Terasology/TutorialWorldGeneration/pull/19, and try creating a world with the ZonedSimplex generator. Previously, the ground wouldn't generate and you would fall infinitely; after this PR, it should generate a normal-looking world.
Outstanding before merging
Was there any case where the deduplication that WorldBuilder was doing is actually needed? If so, we may want to use some other criteria for deduplication or something.

Let's get this merged! :+1:

So um, does that mean I should merge it? I'm new to having write access  :)


modify initial SQL query to remove non-cds

The PR modifies the initial SQL query that gets geojson for CDs, eliminating the non-cd results (central park, airports, etc)

Closes #34


close_time_human value changes format when called on different systems (mac vs linux)

There is a difference in the way date are formatted when running on Linux vs Mac
close_time_human': '2023-Oct-09 04:43:10.000000 UTC
close_time_human': '2023-Oct-09 04:43:10.000000000 UTC

This reflects the native precision supplied by the OS:  microseconds on macOS, nanoseconds on Linux.  If we want we can specify the precision to be anything we want.


[Bug]: Stumble Guys crashing on start

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
Latest.log
I installed MelonLoader correctly, the game too. I own the game on steam. Tried re-installing the game/MelonLoader. Tried downgrading MelonLoader also. Nothing worked. When i start the game it immediatly crashes.
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Had the same Issue, seems like its do to the new VRchat update.
I got it fixed fixed by letting steam check for incorrect files and updating them. Now the game starts as normal, with all mods working.


List shouldn't default to LTR

Pursuant to https://github.com/bvaughn/react-virtualized/issues/450, List also defaults to LTR. This is unnecessary, as List - by definition - doesn't scroll horizontally and works as expected in an RTL environment. Having LTR set causes otherwise properly rendered rows to render "backwards".
New Property Proposal
Seeing as List simply provides a Grid, it might be necessary to pass in a prop so that Grid knows when direction settings are necessary.
To genericize this option, it might be called direction and have three options: ltr, rtl, or auto.

ltr would act as it does now, forcing the style direction to ltr if necessary * and layout as it works today.
rtl would force the layout to be flipped (i.e. #454), and would set the style if necessary *.
auto would make an educated guess based on, say, document.querySelector('html').dir.

direction should probably default to ltr for now. Theoretically, once #454 is done, auto should "just work".

* once #454 is done, setting the direction shouldn't be necessary as the element should inherit from html[dir]

This issue kind of redundant. #454 is sufficient.
For now, feel free to pass mode="rtl" to List if you want to use it a such. Once #454 is done, the default values can be changed.

Didn't mean to sound short or anything. Just didn't want another issue that so closely overlapped with ab existing one. Feel free to update #454 with those proposal.
(I don't think I will query the document for direction as to propose. This attribute can be set/inherited from any ancestor after all. The mode prop will likely stay around.)

Thanks for the quick response! I have updated the other issue with a note to remove direction once that issue is resolved. Thanks!
p.s. communication is hard! 🤗

Thanks buddy! :smile:


Parameterization of number of IRQ levels

I do not see a top level parameter to specify the number of interrupt levels. This would be important, as most designs will only need a few, not 256. I would expect between 3 and 5 level bits to be used, with the rest fixed to one.
The CLIC specification defines a standard parameter, but that definition is currently being reworked. Thus, I would suggest waiting on https://github.com/riscv/riscv-fast-interrupt/pull/331/ to complete

Hello,
We currently allow for deciding the number of interrupt levels at runtime, through the mcliccfg.xnlbits register field, which encodes the number of interrupt levels. The maximum number bits to encode both level and priority is set by an elaboration-time parameter (INTCTLBITS), and the HW checks that mcliccfg.xnlbits < INTCTLBITS, otherwise saturates to that value.
I see there are some optional parameters in the draft specs for the number of levels (CLICLEVELS and CLICCFGLBITS), but I would also wait for clearer specs from the RISC-V fast interrupt TG in the PR you mentioned above

ah ok I missed the connection between INTCTLBITS and the level. This does bring me to a different issue. The spec currently states:

Only 0 or 8 level bits are currently supported, with other values currently reserved.

According to this, any other value should trap, which I guess it doesn't here. To me thats quite fine, but its something to consider.
If you want to comply, you have the choice of supporting either levels or prios. Given that preemption is essential for a fast interrupt controller, and levels are the means of preemption within a privilege level. Therefore I would almost certainly assume that you will only make use of the levels and not the priorities.
Nevertheless, I think it is a good feature to have this somewhat controllable.
I could however imagine that a levels only solution would save some logic. If thats the case, it might make sense to add a parameter for that. I am not sure if that would be considered standard compliant either though.


RDF Structs do not get parsed correctly

Hi,
i recently used your library in one of my projects and was noticing that nested RDF structs do not get parsed correctly.
For example the following raw XMP data:
   <crs:MaskGroupBasedCorrections>
    <rdf:Seq>
     <rdf:li>
      <rdf:Description
       crs:What="Correction"
       crs:CorrectionAmount="1"
       crs:CorrectionActive="true"
       ...>
      <crs:CorrectionMasks>
       <rdf:Seq>
        <rdf:li
         crs:What="Mask/CircularGradient"
         crs:MaskActive="true"
         ...
         crs:Version="2"/>
       </rdf:Seq>
      </crs:CorrectionMasks>
      </rdf:Description>
     </rdf:li>
    </rdf:Seq>
   </crs:MaskGroupBasedCorrections>

results in the following object:
	MaskGroupBasedCorrections: [
		"\\n      \\n      \\n       \\n        \\n       \\n      \\n      \\n     "
	],

Another example would be the Look Struct, which just appears as null in the parsed version.

The problem has been fixed with commit 942c6e1e633725ea8dc4991c0e062524e4825060.
To parse tag values as number/boolean instead of string, you also need to extend the xmpTagTypeMap with vendor-specific presets, see example https://github.com/fuweichin/image-info-extractor/blob/main/examples/image-info-extractor.js#L8.
B.T.W. Those XMP tagTypeMap presets are collected from https://exiftool.org/TagNames/XMP.html, with help of DevTools Console script,
let extractFromTable = (tbody, prefix) => {
  let items = [];
  [...tbody.rows].forEach((tr,i)=>{
    if(i===0){
      return;
    }
    let {cells} = tr;
    let tagName = cells[0].textContent;
    let writable = cells[1].textContent;
    let m = /^(integer|boolean|real|rational)/.exec(writable);
    if(!m) {
      return;
    }
    let tagType = m[1];
    if(writable.endsWith('+')) {
      tagType+='[]';
    }
    items.push(`  '${prefix}:${tagName}': '${tagType}',`);
  });
  return items;
}

// console.log(extractFromTable(temp1, 'crs').join('\n'))

Try to make your own if you have further needs.

Thanks a lot, will do :)

It seems that your helper console script ignores string values of the table, i don't know if that is by accident or intentional.

xmpTagTypeMap is designed to specify types of non-string XMP tags when parsing, by default an XMP tag will be parsed as string.


Is it possible to extend normal operators like add/minus with convolution-like operating?

This is a feature request, and so far I haven't got any solution from tensorflow source code or websites like stackoverflow.
It may be confusing to state the problem like my title, so, I am going to give it a demo:

The input matrix A has shape of [5,5], and the operation matrix B has shape of [3,3];
In convolution manner, tf.nn.conv2d(A, B, padding='VALID') will compute like this:
create a sliding window C with the same size of the filter matrix B on matrix A, and apply
computation DOT(C, B) for all possible position of C on A. All obtained product of B and C
form the matrix of convolution result,
Here, if we enables the users to replace the DOT(C, B) with other element-wise operators
like ADD(C, B) or user defined ones, it will enable tons of more creative layer designs to
explore the power of AI.
A more flexiable interface will help users to avoid building his own operators by hacking the ops lib.
Sorry for interruption. If this request get passed, I hope I can help implementing it.

This is an interesting feature request. For now, we would probably prefer not to add this functionality, since the implementation effort would be high. However, you can experiment with this idea using tf.extract_image_patches(). This gets the values that tf.conv (or others) would use to produce an output at that tensor index. You can use this to implement custom sliding window  operations.


Tutorial for mesh distortion in Blender Python

🎉 New feature
Blender Python script and tutorial for programmatically distorting 3D meshes.
Upstreaming from Project DAVE.
Summary
See tutorial Markdown file.
Test it
Blender 2.92 (newer might work too) is required - I'm not sure who's the best to review this?
Follow instructions in tutorial.
Check that the tutorial renders correctly by compiling and then navigating in a browser to ign/build/ignition-gazebo7/doxygen/html/blender_distort_meshes.html
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[x] Added example and/or tutorial
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] 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.

Works as expected!
imho I would personally prefer if we didn't have to use scripting inside blender or blender GUI at all to produce results, like instead of writing
   file_path = '/path/to/file.dae'
   object_prefix = 'Cube'
   distort_extent = 0.1  # float in range [0, 1]
   method = 'deform'  # method of distortion
   sys.argv = ['distort_mesh.py', file_path, object_prefix, distort_extent, method]
   exec(open('/path/to/distort_mesh.py').read());

inside the blender console, having them as a part of the script, plus a bpy import object on top.
Then the user will have to only run something like ./blender -b -P <distort_script> args... from the terminal.

@mabelzhang  friendly ping :)

The results are slightly different. Are these results still considered good?

Thank you for catching that. Yeah I adjusted the VERT_RAND_MIN and VERT_RAND_MAX and forgot to update the README. It's a bit tricky to set for the general case and will need to be tuned for each model, I think.
d5acd69d7 adds that documentation.

@mayman99 Sorry for the long delay, and thank you for pressing charge. We have an active budget for the supporting project again, so I can spend time on this again :)
Ready for another pass.


Attributes  Mustaches cannot be used inside HTML attributes

Attributes  Mustaches cannot be used inside HTML attributes, instead use a v-bind directive

Thanks for this! We just made a bunch of updates to this page that should resolve the issue.


Support for prompt chaining?

Does this workflow support prompt chaining?

If not, I would love to have it as a feature.
If so, could you mention it in the README with an example?

By "prompt chaining" I mean that if I submit multiple queries, the LLM uses the previous queries as context for the latter queries. They belong in a thread together. If you support this by default, how would a user start a fresh context?
Clarity on support for prompt chaining would help me (and other potential users) make a decision whether to use this workflow versus similar alternative.

I looks like prompt chaining is supported by default. To start a fresh context, the README describes the forget me command—which I didn't notice in my first read. The number of prompts included in the context is limited by the "ChatGPT history length" preference within the workflow.

My problem is solved. Devs, you can ignore this thread, or take it as a signal to perhaps rephrase or somehow make it easier to spot a feature like this.

Hey @merchako!
Thanks for your feedback. You have a valid point. I will improve the readme a bit. Thanks!


Change in docuemntation

If you want to manually upload blob obtained by using snapshot.get_blob() , using jquery ajax, you will need to set  "processData": "false". Otherwise you will get error. May be this should be mentioned in the documentation?

I think this is outside of the scope of this library. It's about jQuery and how it processes binary data.


Add Github Action for testing on Windows

See https://github.com/Senzing/template-go/issues/90

Pull requests:

https://github.com/Senzing/serve-http/pull/43


Added Unsorted array algorithm in C/C++/Java/Python

🛠 Issue #417
✔ Check List

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Problem Statement: C++ program to find the Minimum length of Unsorted Subarray, sorting which makes the complete array sorted.
Example:
1] INPUT: int arr[] = {12, 15, 17, 23, 31, 38, 34, 36, 37, 55, 62};
OUTPUT: The unsorted subarray which makes the given array
sorted lies between indices 5 and 8.
📷 Screenshots

LGTM!

Why hasn't it been approved yet?

@Kumar-laxmi @072arushi Why hasn't it been approved yet? , please review it.

@Kumar-laxmi sir, Is there any problem with this PR?

@Kumar-laxmi sir, It has been over a week since I submitted this PR (pull request), but unfortunately, I haven't received any information about why it hasn't been merged yet.

@atul1510 your PR will be merged soon

@atul1510 your PR will be merged soon

Thanks for considering my issue @072arushi


Duplication artifacts during Angular animation when using formly form with a custom type.

Description
When animating a formly form using Angular's animations, if the form is built using a custom type, using the ":leave" animation query will cause an unexpected behaviour.
When the component is loaded into the view, multiple instances of the custom type will be seen playing the :leave animation.
Minimal Reproduction

https://stackblitz.com/edit/angular-ivy-w2atun
Your Environment

Angular version: 14.2.12
Angular material: 14.2.7
Formly/core version: 6.0.3
Formly/material version: 6.0.3

Found a simple temporary css fix, making the custom type to only display inside a formly-form tag :
formly-show-password {
  display: none;
}

formly-form formly-show-password {
  display: block;
}


added grpclb support to sockaddr resolver

Tested "manually". It'll be exercised properly in the upcoming grpclb test

LGTM. Ready to Merge!


Is it applicable to ESP cluster

[Enter feedback here]
Does it work for ESP cluster?

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

ID: 60051411-676b-2ae6-4424-710f14483b35
Version Independent ID: 602517a2-f0b8-2909-fc20-17684596da5e
Content: Monitor and manage Hadoop with Ambari REST API - Azure HDInsight
Content Source: articles/hdinsight/hdinsight-hadoop-manage-ambari-rest-api.md
Service: hdinsight
GitHub Login: @hrasheed-msft
Microsoft Alias: hrasheed

Does it work for ESP cluster?

@anssenfang1 Thank you for reaching out and bringing this to our notice. At this time we are reviewing the feedback and will provide an update as appropriate

@anssenfang1 Thanks for contacting us. This tutorial covers multiple functions using the Ambari REST API. Is there a particular task that you are trying with an ESP cluster and it does not work?

@anssenfang1 To provide a better assistance on your query, could you please share additional information about the details requested by @hrasheed-msft ?

Hi,
If a cluster is domain joined, any difference to call the curl command?
Thanks
Anssen
From: KranthiPakala-MSFT<EMAIL_ADDRESS>Sent: Thursday, August 1, 2019 3:29 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Anssen Fang<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Is it applicable to ESP cluster (#36218)
@anssenfang1https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fanssenfang1&data=02|01|Anssen.Fang%40microsoft.com|9cff2a95dc444f6e051408d71651ebb2|72f988bf86f141af91ab2d7cd011db47|1|0|637002413409716980&sdata=k4q67jXvnlZPGWaDftFcSxNEu7BPXOVYJ2ChKkp5Mj0%3D&reserved=0 To provide a better assistance on your query, could you please share additional information about the details requested by @hrasheed-msfthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhrasheed-msft&data=02|01|Anssen.Fang%40microsoft.com|9cff2a95dc444f6e051408d71651ebb2|72f988bf86f141af91ab2d7cd011db47|1|0|637002413409726975&sdata=34GEwfKp%2BIRvvk5g9%2BB24wHu3GDEtv%2FqYnHy2Qz%2F5DE%3D&reserved=0 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F36218%3Femail_source%3Dnotifications%26email_token%3DAKUJF6RF33332OMA5DBIKKTQCKGDXA5CNFSM4IIHEFSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3JTL6A%23issuecomment-517158392&data=02|01|Anssen.Fang%40microsoft.com|9cff2a95dc444f6e051408d71651ebb2|72f988bf86f141af91ab2d7cd011db47|1|0|637002413409726975&sdata=sZZrli%2B62riPaHQXjSp%2FWm%2F0NKmarHbhigkviCtiOSs%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKUJF6TTFLORP65EWKDKAHTQCKGDXANCNFSM4IIHEFSA&data=02|01|Anssen.Fang%40microsoft.com|9cff2a95dc444f6e051408d71651ebb2|72f988bf86f141af91ab2d7cd011db47|1|0|637002413409736967&sdata=CsHJ5GOFec6r1a8bjQ1%2B%2B8VmnVRAG8bIzIiUhwcSnNA%3D&reserved=0.

Thanks for the details @anssenfang1.
@hrasheed-msft Could you please have a look at the response from Anssen?

@anssenfang1 We are submitting a PR to resolve this issue. Thanks for bringing this to our attention.


Feature: Add simple progress bar to optimizer search

Pull Request
Description
Added a simple progress bar to be more visual in search optimizer progress.
Type of Changes
Added

Added simple progress bar to reflect the current search/permutation status.

Changed

Changed the optimizer control component to have 550px height to fit the new progress bar.

Checklist

[x] I have added commit messages that are descriptive and meaningful.
[x] I have tested the changes locally.
[x] I have reviewed the code changes.

Screenshots (if applicable)

Great idea, didn't think of this - ty!

I'll play around with the coloring, the default green stands out a bit too much imo


Wind compensation

Compensates for wind during fix and ils navigation by adjusting the physics step.  Also changes aircraft tails to match groundSpeed/Track.  Fixes #296.

@culebron, thanks for the review and suggestions.


Support docker swarm endpoint

It would be nice if this plugin could support a single TCP endpoint or support a swarm endpoint so that your pool of available underlying hosts was highly available and scalable.
If this is something you're interested in I would be happy to begin work on a PR.

Hi @cpoole ,
I didn't consider this until now, but the idea sounds definitively cool :-)
Instead of starting container agents directly, the plugin would interact with a swarm network, creates a service for each cloud image, and then scales the number of agents as required?
Right now, I don't see anything that would prevent this from working. This will involve some significant work in the cloud client... And the settings UI will be impacted as well, but it might worth it.
I will not have much time to do something in the next weeks, but if you are interested to start looking at it, please do. I can you give you some pointers to where to look at in the code.
I created a gitter room for this issue: https://gitter.im/TeamcityDockerCloudPlugin/docker-swarm


fix(platform): remove Ord instance of PlatformIdentifier

It really shouldn't have an Ord instance.
I'm not sure about how we sort platforms by specificity (see the comment I added).

🤔 We should probably group and filter the platforms that can be sorted...

Is there a very concrete problem that could occur here? As long as there isn't I believe we'll be fine (famous last words). Or, in other words, as long as the more specific matches appear before the less specific matches, we don't really care about what order the rest will be in, right?

Is there a very concrete problem that could occur here? As long as there isn't I believe we'll be fine (famous last words). Or, in other words, as long as the more specific matches appear before the less specific matches, we don't really care about what order the rest will be in, right?

The problem is that we don't have control over the order in which the rockspec specifies the platform overrides.
If it has non-orderable platforms between the orderable ones, we can't sort them properly.

Perhaps we really should then partition the vector into specialized platforms and the regular platforms and just chain them together after the fact (such that the specialized platforms are guaranteed to be at the front).


Delay getting opening deeplink and subscribe triggers action twice

Hi. I'm switching from previous deeplink service I was used for a while to branch.io.
In my case, I need to delay opening deeplink action until app is fully initialised and user is possibly logged in. So, I would like to know, is there any option to manipulate subscribe initial ttl time? I have a service that subscribes when it's created and I call manually checking last deeplink when application is initialised. In that case, deeplink most of the time is triggered twice, because subscribe method get's the deeplink from which app was opened, it triggers and then manually check is triggered again. In case, where initialisation will last longer, subscribe will not trigger my action and only manual check will do the thing.
For workaround I could store id of last deeplink on the JS side, and manually check if they are different, but this is ugly solution and I would rather set ttl time to 0, so subscribe will never hook first deeplink (deeplink which opens the application).
Hope you understand what I mean :P
Cheers.

Hi @pawlowskim. As of version 2.0.0-beta.3, you can do this:
import branch from 'react-native-branch'
branch.initSessionTtl = 0

This was introduced for testing, but it also offers you a back door in case the default value doesn't work for your app. This is used in certain unit tests to pretend that the TTL has expired and ensure that in that case the cache is not consulted, so no cached value can be returned.

I will test it tomorrow and let u know. Thanks in advance :)

@jdee Works like a charm. Thx :)


[bug] No errors info

Describe the bug
When using Global Tauri in v2 projects and there's any error when calling command from js, it doesn't display the error, instead it display this:

It happens on macOS / Windows. with multiple different tauri v2 projects.
Reproduction
Create new project in v2 with npx tauri init and then call something from the API which you don't have permission for instance.
Expected behavior
It should show the error info
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 126.0.2592.113
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.81.0-nightly (9057c3ffe 2024-07-19)
    ✔ cargo: 1.81.0-nightly (a2b58c3da 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: nightly-x86_64-pc-windows-msvc (default)
    - node: 20.12.0
    - npm: 10.5.0
    - bun: 1.1.10

[-] Packages
    - tauri [RUST]: 2.0.0-beta.24
    - tauri-build [RUST]: 2.0.0-beta.19
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.22

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: dist
    - devUrl: http://google.com/

Stack trace
No response
Additional context
I create the window in setup. instead of from tauri config. maybe related?

I think this is solved by #10585


[SPARK-34153][SQL] Remove unused getRawTable() from HiveExternalCatalog.alterPartitions()

What changes were proposed in this pull request?
Remove unused call of getRawTable() from HiveExternalCatalog.alterPartitions().
Why are the changes needed?
It reduces the number of calls to Hive External catalog.
Does this PR introduce any user-facing change?
No
How was this patch tested?
By running the modified test suite:
$ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly *AlterTableRenamePartitionSuite"

@HyukjinKwon @cloud-fan Could you review this, please.

@HyukjinKwon @cloud-fan Could you review this, please.

Test build #134197 has started for PR 31234 at commit 080deca.

Test build #134197 has started for PR 31234 at commit 080deca.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38782/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38782/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38782/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38782/

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

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

Test build #134197 has finished for PR 31234 at commit 080deca.

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

Test build #134197 has finished for PR 31234 at commit 080deca.

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

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

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

Merged to master.

Merged to master.

@MaxGekk do you want to backport this? It's sort of trivial improvement but it had a conflict in tests so I didn't do that.

@MaxGekk do you want to backport this? It's sort of trivial improvement but it had a conflict in tests so I didn't do that.

Here are backports to branch-3.1/branch-3.0: https://github.com/apache/spark/pull/31241

Here are backports to branch-3.1/branch-3.0: https://github.com/apache/spark/pull/31241

And here is the backport to 2.4: https://github.com/apache/spark/pull/31242

And here is the backport to 2.4: https://github.com/apache/spark/pull/31242

👍

👍


CLI CI/CD Compatibility ( lng upload )

Hi guys, I'm working on a Jenkins job to upload my app to the metrological dashboard using the lightning CLI.
My issue is that the upload command doesn't take parameters and always asks me to insert the API KEY after the command was initiated, in an interactive way I mean.
Do you know if there's a workaround for this, something that allows me to pass the API KEY to the command as I'm executing it?
As you may know, CI/CD pipelines don't allow you to interact with the commands.

Hi @maxiolin, your observation is correct. Currently the Lightning-CLI doesn’t work well with upload via CI/CD pipelines. It’s simply a scenario that wasn’t considered as an expected use case when the upload functionality was implemented.
As you may know the functionality to upload to the Metrological Platform is currently deprecated in the Lightning-CLI and will be removed entirely in our upcoming January release. It’s being replaced by the Metro-CLI (https://github.com/metrological/metrological-cli), so I suggest to open a ticket in that repository.
In fact there is a branch (feature/store/backendtoken) over at the Metro-CLI that might be interesting for you, where the API token is stored on the file system. Another option would be to pass the API key as an option.
But again, it’s best to pick this up with the Metrological team that is maintaining the upload functionality.


elevenlabs-plugin: "cloned" + "professional" voices not working

With the minimal_assistant.py example, the above categories of voices don't seem to generate output properly. Instead it seems to hang for long periods of time.
Am seeing LLM chat completion requests completing successfully, which seems to suggest that STT and OpenAI are working, but no audio output.
I'm using a Macbook with M1 / Ventura 13.0.1, running Python 3.12.
elevenlabs-plugin is working correctly with "premade" voices, and also with OpenAI's TTS (though it doesn't support streaming)
Examples of non-working code:
Voice = elevenlabs.Voice(
    id=MY_VOICE_ID,
    name="Voice Name",
    category="professional",
    settings=elevenlabs.VoiceSettings(
        stability=0.60, similarity_boost=1.0
    )
)

assistant = VoiceAssistant(
  vad=silero.VAD(),
  stt=deepgram.STT(),
  llm=openai.LLM(),
  tts=elevenlabs.TTS(voice=Voice),
  chat_ctx=initial_ctx,
)
assistant.start(ctx.room)

As well as:
Voice = elevenlabs.Voice(
    id=MY_VOICE_ID,
    name="Voice Name",
    category="cloned",
    settings=elevenlabs.VoiceSettings(
        stability=0.60, similarity_boost=1.0
    )
)

assistant = VoiceAssistant(
  vad=silero.VAD(),
  stt=deepgram.STT(),
  llm=openai.LLM(),
  tts=elevenlabs.TTS(voice=Voice),
  chat_ctx=initial_ctx,
)
assistant.start(ctx.room)

What I'm seeing in logs from agent running locally:
2024-05-14 01:56:21,398 INFO  httpx  HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"	  job_id=AJ_oiddbfaSEWxh pid=56250
2024-05-14 01:56:22,141 INFO  httpx  HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"	  job_id=AJ_oiddbfaSEWxh pid=56250
2024-05-14 01:56:23,720 ERROR  livekit.plugins.elevenlabs  11labs connection failed
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/livekit/plugins/elevenlabs/tts.py", line 365, in _run_ws
    await asyncio.gather(send_task(), recv_task())
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/livekit/plugins/elevenlabs/tts.py", line 340, in recv_task
    raise Exception("11labs connection closed unexpectedly")
Exception: 11labs connection closed unexpectedly
	  job_id=AJ_oiddbfaSEWxh pid=56250
2024-05-14 01:56:32,020 INFO  httpx  HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"	  job_id=AJ_oiddbfaSEWxh pid=56250
2024-05-14 01:56:33,258 ERROR  livekit.plugins.elevenlabs  11labs connection failed
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/livekit/plugins/elevenlabs/tts.py", line 365, in _run_ws
    await asyncio.gather(send_task(), recv_task())
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/livekit/plugins/elevenlabs/tts.py", line 340, in recv_task
    raise Exception("11labs connection closed unexpectedly")
Exception: 11labs connection closed unexpectedly
	  job_id=AJ_oiddbfaSEWxh pid=56250

Happy to share more context as needed - awesome project!

Which price tier of 11 labs are you using? Looks like they changed things up an PCM is only supported for pro tier: https://elevenlabs.io/docs/api-reference/streaming

@keepingitneil thanks for the follow-up - I'm on 11 Labs pro tier.
I've been able to get this working - but currently all of the VoiceSettings fields need to be set for it to work properly.
For example, this configuration doesn't work:
Voice = elevenlabs.Voice(
    id=MY_VOICE_ID,
    name="Voice Name",
    category="professional",
    settings=elevenlabs.VoiceSettings(
        stability=0.60, similarity_boost=1.0
    )
)

Whereas this configuration does:
Voice = elevenlabs.Voice(
    id=MY_VOICE_ID,
    name="Voice Name",
    category="professional",
    settings=elevenlabs.VoiceSettings(
        stability=0.60, similarity_boost=1.0, style=0.1, use_speaker_boost=True
    )
)

Thanks for investigating and finding the cause. Closing this issue and adding a ticket on our end to make sure we have either sane defaults/or required params for this path.


Issues with reverse proxy and serving from subdirectory.

I added the following config option to solving issues using nginx as reverse proxy and serving the app in the subdirectory like subdomain.example.com/glauth:
SERVER_NAME = os.environ.get('BASE_URL')

I still cant get this to work tho and only getting 404 erros when trying to access anything.
Any help on this would be very much appreciated :)
I tried:
server {
    listen 443 ssl http2;
    server_name subdomain.example.com;

    include /etc/nginx/ssl-stuff.conf;
    add_header Strict-Transport-Security    "max-age=31536000; includeSubDomains" always;
    add_header X-Frame-Options              SAMEORIGIN;
    add_header X-Content-Type-Options       nosniff;
    add_header X-XSS-Protection             "1; mode=block";

    client_max_body_size 100M;

    location ~/glauth(.*) {
        proxy_pass http://<IP_ADDRESS>:3005$1;
        proxy_set_header    X-Real-IP           $remote_addr;
        proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
        proxy_set_header    X-Forwarded-Proto   $scheme;
        proxy_set_header    Host                $host;
        proxy_set_header    X-Forwarded-Host    $host;
        proxy_set_header    X-Forwarded-Port    $server_port;

        }
}

as well as
  location /glauth/ {
        proxy_pass http://<IP_ADDRESS>:3005$1;
        proxy_set_header    X-Real-IP           $remote_addr;
        proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
        proxy_set_header    X-Forwarded-Proto   $scheme;
        proxy_set_header    Host                $host;
        proxy_set_header    X-Forwarded-Host    $host;
        proxy_set_header    X-Forwarded-Port    $server_port;

        }

Settings the SERVER_NAME to subdomain.example.com/glauth makes the all links look correct but it still results in 404 errors.  Without the subdirectory everything works without any issues even without the server_name set.
The issues is probably with some of the proxy_header settings but i dont have much experience with this.

Are you setting APPLICATION_ROOT in flask?

Also @sonicnkt  feel free to ping me if you have a question like this, I have a fair bit of experience with python/flask and I'd like to support this project. Didn't see this issues until now though.

hehe i had not and stumbled upon this setting a few days ago. Didnt have time to test this yet tho. I will try this in the next few days and report back. If i cant get it to work i will gladly ask you for more support :)

Be aware that if you're trying to use cookie sub-domains (so you can use an example.com cookie on foo.example.com) it's not going to work on localhost based domains. I think a bunch of people would probably want to use this on localhost, so it's something to be aware of.
Traefik will proxy the glauth server instead of the forbidden server when using it's "Authentication Based on Subrequest Result" equivalent, there might be a way to set up nginx similarly. I'm a bit tied in to traefik for complicated reasons, but the forward_auth stuff I'm working on assumes that glauth is proxied instead of the app we want to authenticate for.
Or it could be that you're doing this for some entirely different reason that has nothing to do with cookie domains, in which case ignore all that.

Finally figured this out, since we are using gunicorn for deployment this is completely configured outside of flask and nothing needs to be manually configured if you have correct proxy forwarding working. You only have to tell gunicorn that it should serve this from a subdirectory/prefix.
To get this working add the SCRIPT_NAME environment variable to the docker-compose.yml, for example:
SCRIPT_NAME=/account

And configure your proxy like this (nginx):
server {
    listen 443 ssl http2;
    server_name subdomain.example.com;

    include /etc/nginx/ssl-stuff.conf; # SSL Certificates, keys etc

    add_header Strict-Transport-Security    "max-age=31536000; includeSubDomains" always;
    add_header X-Frame-Options              SAMEORIGIN;
    add_header X-Content-Type-Options       nosniff;
    add_header X-XSS-Protection             "1; mode=block";

    ... your other locations ...

  location /account/ {
        proxy_pass http://<IP_ADDRESS>:3005/account/;
        proxy_set_header    X-Real-IP           $remote_addr;
        proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
        proxy_set_header    X-Forwarded-Proto   $scheme;
        proxy_set_header    Host                $host;
        proxy_set_header    X-Forwarded-Host    $host;
        proxy_set_header    X-Forwarded-Port    $server_port;

        }
}

It is important that you also set the path/prefix in the proxy_pass setting.
After this everything works fine and you can access https://subdomain.example.com/account/, all generated urls are correct.