.net download issue

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
I click to download x64 .net and it gives me a 404 page

Thanks for reporting the issue @michaelbuj. Is that still happening?
@rbhanda

Also, can you let us know where are you located? We're trying to pin down if this is specific to certain regions.

i live in north carolina usa.
i got it to work an hour ago but i just checked and it does the same thing, clicking download button takes me to a "404-not found" page.
https://download.visualstudio.microsoft.com/download/pr/474a078c-f415-4bae-8571-2fe8ea37ed51/a8ac1fe825f63411c375633bd98205c4/dotnet-sdk-5.0.302-win-x64.exe
that's the url of the 404

Thank you. And I apologize for the inconvenience.

We are seeing the same issue while downloading the latest .NET Core SDK on Azure DevOps using Use .NET Core
2021-07-26T07:28:31.4366405Z ##[section]Starting: Use .NET Core sdk 5.0.x
2021-07-26T07:28:31.4373051Z ==============================================================================
2021-07-26T07:28:31.4373347Z Task         : Use .NET Core
2021-07-26T07:28:31.4373823Z Description  : Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks. Additionally provides proxy support.
2021-07-26T07:28:31.4374289Z Version      : 2.184.0
2021-07-26T07:28:31.4374492Z Author       : Microsoft Corporation
2021-07-26T07:28:31.4374712Z Help         : https://aka.ms/AA4xgy0
2021-07-26T07:28:31.4374981Z ==============================================================================
2021-07-26T07:28:31.7633479Z Tool to install: .NET Core sdk version 5.0.x.
2021-07-26T07:28:33.9283059Z Found version 5.0.302 in channel 5.0 for user specified version spec: 5.0.x
2021-07-26T07:28:33.9789270Z get-os-distro: Error: Distribution specific OS name and version could not be detected: UName = Linux
2021-07-26T07:28:33.9792379Z Version 5.0.302 was not found in cache.
2021-07-26T07:28:33.9792985Z Getting URL to download .NET Core sdk version: 5.0.302.
2021-07-26T07:28:33.9793587Z Detecting OS platform to find correct download package for the OS.
2021-07-26T07:28:33.9798571Z [command]/home/vsts/work/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.184.0/externals/get-os-distro.sh
2021-07-26T07:28:33.9799319Z Primary:linux-x64
2021-07-26T07:28:33.9799831Z Legacy:-x64
2021-07-26T07:28:33.9800384Z Detected platform (Primary): linux-x64
2021-07-26T07:28:33.9800952Z Detected platform (Legacy): -x64
2021-07-26T07:28:33.9815942Z Downloading: https://download.visualstudio.microsoft.com/download/pr/8468e541-a99a-4191-8470-654fa0747a9a/cb32548d2fd3d60ef3fe8fc80cd735ef/dotnet-sdk-5.0.302-linux-x64.tar.gz
2021-07-26T07:28:34.0097543Z ##[error]Failed while installing version: 5.0.302 at path: /opt/hostedtoolcache/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/8468e541-a99a-4191-8470-654fa0747a9a/cb32548d2fd3d60ef3fe8fc80cd735ef/dotnet-sdk-5.0.302-linux-x64.tar.gz Error: Error: Unexpected HTTP response: 404
2021-07-26T07:28:34.0178694Z ##[section]Finishing: Use .NET Core sdk 5.0.x

We started observing this issue Friday at 11:53 CEST

Interesting thing, downloads works fine in Firefox for me, but fail with 404 in Chrome and Edge.

Its an intermittent issue. About a third of our build's fail with this issue.

Same here on Azure DevOps pipelines, with 3.1.411 for Linux => https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz
Sometimes download succeed; sometimes it fail.
This morning, from my laptop, I was having 404 on 2 browsers ; download OK on 1 other. I think one of the download server behind download.visualstudio.microsoft.com does not have all the files, so no luck if you get to that one,

I am having the same problem on Azure DevOps pipelines.
Primary:linux-x64
Legacy:-x64
Detected platform (Primary): linux-x64
Detected platform (Legacy): -x64
##[debug]Got download URL for platform with rid: linux-x64
##[debug]
##[debug]Agent.Version=2.189.0
##[debug]Agent.TempDirectory=/agent/_work/_temp
##[debug]testing directory '/agent/_work/_temp'
Downloading: https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz
##[debug]destination /agent/_work/_temp/1ab51582-c136-4015-884d-79e2cb1e43eb
##[debug]downloading
##[debug]Failed to download "1ab51582-c136-4015-884d-79e2cb1e43eb" from "https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz". Code(404) Message(Not Found)
##[debug]task result: Failed
##[error]Failed while installing version: 3.1.411 at path: /opt/hostedtoolcache/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz Error: Error: Unexpected HTTP response: 404
##[debug]Processed: ##vso[task.issue type=error;]Failed while installing version: 3.1.411 at path: /opt/hostedtoolcache/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz Error: Error: Unexpected HTTP response: 404
##[debug]Processed: ##vso[task.complete result=Failed;]Failed while installing version: 3.1.411 at path: /opt/hostedtoolcache/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz Error: Error: Unexpected HTTP response: 404
get-os-distro: Error: Distribution specific OS name and version could not be detected: UName = Linux
Primary:linux-x64
Legacy:-x64
Detected platform (Primary): linux-x64
Detected platform (Legacy): -x64
##[debug]Got download URL for platform with rid: linux-x64
##[debug]
##[debug]Agent.Version=2.189.0
##[debug]Agent.TempDirectory=/agent/_work/_temp
##[debug]testing directory '/agent/_work/_temp'
Downloading: https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz
##[debug]destination /agent/_work/_temp/1ab51582-c136-4015-884d-79e2cb1e43eb
##[debug]downloading
##[debug]Failed to download "1ab51582-c136-4015-884d-79e2cb1e43eb" from "https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz". Code(404) Message(Not Found)
##[debug]task result: Failed
##[error]Failed while installing version: 3.1.411 at path: /opt/hostedtoolcache/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz Error: Error: Unexpected HTTP response: 404
##[debug]Processed: ##vso[task.issue type=error;]Failed while installing version: 3.1.411 at path: /opt/hostedtoolcache/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz Error: Error: Unexpected HTTP response: 404
##[debug]Processed: ##vso[task.complete result=Failed;]Failed while installing version: 3.1.411 at path: /opt/hostedtoolcache/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz Error: Error: Unexpected HTTP response: 404

If I try to go to the link in my browser, it downloads fine. https://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz

Dupe issue: https://github.com/microsoft/azure-pipelines-tasks/issues/15086

Trying to download anything from https://dotnet.microsoft.com/download/dotnet/5.0 gives a 404 error

Announcement link: https://github.com/dotnet/announcements/issues/192

Folks, let me know if you're still seeing the issue. The team has pushed a fix and I'd like to confirm things are working again for everyone.

@mairaw when manually clicking on a link it works but my DevOps pipeline is still failing with a 404.
Starting: Install .Net 5 SDK
==============================================================================
Task         : Use .NET Core
Description  : Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks. Additionally provides proxy support.
Version      : 2.184.0
Author       : Microsoft Corporation
Help         : https://aka.ms/AA4xgy0
==============================================================================
Tool to install: .NET Core sdk version 5.x.
Found version 5.0.302 in channel 5.0 for user specified version spec: 5.x
Version 5.0.302 was not found in cache.
Getting URL to download .NET Core sdk version: 5.0.302.
Detecting OS platform to find correct download package for the OS.
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "& 'D:\a\_tasks\UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6\2.184.0\externals\get-os-platform.ps1'"
Primary:win-x64
Detected platform (Primary): win-x64
Downloading: https://download.visualstudio.microsoft.com/download/pr/2881a25e-f265-43ee-a095-3a05b0466771/45959c837217c768a3b8171edc6607b3/dotnet-sdk-5.0.302-win-x64.zip
##[error]Failed while installing version: 5.0.302 at path: C:\hostedtoolcache\windows/dotnet with error: Could not download installation package from this URL: https://download.visualstudio.microsoft.com/download/pr/2881a25e-f265-43ee-a095-3a05b0466771/45959c837217c768a3b8171edc6607b3/dotnet-sdk-5.0.302-win-x64.zip Error: Error: Unexpected HTTP response: 404
Finishing: Install .Net 5 SDK

Folks, let me know if you're still seeing the issue. The team has pushed a fix and I'd like to confirm things are working again for everyone.

I've tested to download multiple times the same file as yesterday, and all downloads were fine.

@mairaw this seems to have been mitigated, should we close this issue?

Yes, we can close this now.

The issue is back on, the download link is not working.
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-6.0.11-windows-hosting-bundle-installer

@m-dastagir please open a new issue since the team won't triage old bugs. We'll need more information for us to be able to follow up on that.


[PF2e] Players no longer able to use feature

Only GMs are able to Quick Roll to Chat or otherwise send items to the chat. Players and Trusted Players still see the module option in the configure settings, but changing it does nothing.
Was this an intentional change? Am I missing a setting?

To be clear: players can still right click entries directly from compendiums to send them to chat, but the toolbar option with the "X to Chat" is gone for everyone except for the GM.

Fixed in v1.3.2


S3: Define API for GET requests for personal information.

[x] #739
[ ] https://github.com/octo-org/octo-repo/issues/740
[ ] Add delight to the experience when all tasks are complete :tada:

Let test this

[ ] Technical task 1
[ ] Technical task 2


Limit Buildserver to not get projects > 32Mb

Also switch to using URLFetch service for outgoing HttpURLConnections
Change-Id: I67f06fdfbc5624e13fd1e614a1fc931f7394a13f

@halatmit @ewpatton NOTE: This code is currently in production on nb171

Is the production 10mb limit now changed to 37?

@ewpatton @halatmit @SusanRatiLane I'm closing this PR. I may have a better fix which I will submit after I finish testing it. I know a lot more now about how the Java 8 runtime operates...


specify urllib3 version requirement in setup.py

Hi,
I've seen that requirement.txt has "urllib3==1.24" (as many other libraries, eg. requests) which forbid version 1.25). But setup.py does not contain any version specification for urllib3.
Can you add the requirement also in setup.py? Otherwise setup.py causes 1.25 to be installed, which conflicts with other libraries which forbid it
thanks

Thanks for reporting this. It looks like requests dropped support for urllib3==1.25 due to a security vulnerability https://github.com/kennethreitz/requests/issues/5065.
I don't want to pin to a specific version of urllib3 in setup.py because users of this library should have as much flexibility as possible in terms of the versions of other dependencies they can use. However I'm happy to take the same approach as requests and drop support just for vulnerable versions of urllib3.

Thanks for letting us know about this.
I'd like to avoid pinning to a specific version of urllib3 in setup.py because ideally users of this library should have as much flexibility as possible in terms of the versions of other dependencies they can use. It's the responsibility of the user of the library and their package manager to install compatible versions.
The latest version of urllib3 (1.5.2) is compatible with the latest version of requests (2.22.0), so installing the latest versions of both should lead to now issues. Please let me know if I'm missing something.


Multiple Bungee

Hello,
I have network with 5 Bungee.
Does your plugin work with multiple bungee instances ?

Hello,
Currently with how I setup the plugin sadly it doesn't, since the file storage doesnt get synced between bungeecord servers. Unless I make them use a mysql database or somehow integrate RedisBungee so they can contact each other. As I am a new beginner in creating minecraft java plugins. I haven't really used MySQL with java and some people told me that I have to focus on some stuff like connection pooling, etc... I will look into adding MySQL support which will make the plugin work with multiple bungee instances, however I have somewhat gave up on this project. I forgot to update the description the plugin page with the announcement I made in my discord, I will update it now.


Riya GitHub actions

I will have to make some changes to reconfigure the branch to go with master once this pr goes in

This is showing our code coverage at 24%, is it possible to exclude files which don't need to be unit tested? Also, how come this is using codecov instead of coverage.py?

This is showing our code coverage at 24%, is it possible to exclude files which don't need to be unit tested? Also, how come this is using codecov instead of coverage.py?

I can check if we can ignore certain files. Also, the coverage reports from coverage.py are sent to codecov and then shows up on the badge on the repo. This was the only way for me to make the coverage badge show up

the coverage reports from coverage.py are sent to codecov and then shows up on the badge on the repo. This was the only way for me to make the coverage badge show up

Gotcha

Looks good except the .idea files still need deleted. They're not being updated since they're in the .gitignore now but they still have to explicitly be removed from the repo.

Looks good except the .idea files still need deleted. They're not being updated since they're in the .gitignore now but they still have to explicitly be removed from the repo.

do I delete the .idea files locally and then push my changes?


Packaging TUF for Debian

Can you please consider submitting a TUF package to Debian? I know that projects like Tor Browser and downstream privacy distros like TAILS and Whonix can benefit a lot from a TUF repository because conventional packaging is not an option.

There still remains one issue (related to lintian and external code) to address in PR #262.
We have made a request to the authors of some of vendor'd packages and dependencies to also have them packaged for Debian or made available elsewhere.  I'll keep you updated on any progress.

See discussion in #263 for the current status of tuf in debian. Closing here.


[Process] Added the RFC template docs [#2594]

Which Delta project/connector is this regarding?

[ ] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[x] Other - general process

Description
This PR add the necessary template files to formalize the new proposed RFC process to make protocol changes. See #2594 for more details.
How was this patch tested?
N/A
Does this PR introduce any user-facing changes?
No

Merging this to unblock the other proposals. If there are tweaks we can do it in those PRs as well.


Add pagination to user browsing

Resolves #0174
TODO:

[x] Patron model and migration
[x] Organize seeds
[ ] Add Patrons to seeds
[ ] Add extra users to seeds
[ ] Blank Slate css

@ofsound Another one to check out here. The blank slate seems only happy in a .get_an_account_container but I'm trying to add one to the users page. I think I inadvertently used the .get_an_account_container class for the mass invites, which needs to change too. We also will need it blank slates working on the user home page and upload pages....

@ofsound Another one to check out here. The blank slate seems only happy in a .get_an_account_container but I'm trying to add one to the users page. I think I inadvertently used the .get_an_account_container class for the mass invites, which needs to change too. We also will need it blank slates working on the user home page and upload pages....
http://localhost:3000/users/by/patrons

I split up these responsibilities, so there's no more get_an_account anything.
.page_container_with_blank_slate  is the class to modify a page container to include the fancy background.
One issue with this current implementation is that the background was designed to tuck underneath but still show around its following boxed content, on get_an_account and mass_edit. Maybe this page would call for a slight variation where the full cloud is visible and is completely above and clear from what's below it. As is, the blank slate implementation is linked to that background quirk.
Also, the sudara image, being not as tall as the ones previously used, leads to some un-ideal display states. I guess it's tempting to write a Javascript layout which can use the aspect ratio of the desired image and the total height of the text included to better account for layout across all widths. They way that currently collapses at different widths using just CSS is sorta of hanging by the thread of having the images be like ALEC and the Text Content being about that length too.

I split up these responsibilities, so there's no more get_an_account anything.

Awesome!

One issue with this current implementation is that the background was designed to tuck underneath but still show around its following boxed content, on get_an_account and mass_edit.

Can we see what it looks like with the background tucked under the user grid? Might be fine...
I've added patrons to the db seeds (and more users generally). You can
bundle exec rake db:reset

Also, the sudara image, being not as tall as the ones previously used, leads to some un-ideal display states.

The image heights should be identical for all the contributor images (550px). Is it a problem that the widths are different? We could maybe make those consistent too, if so. Probably more ideal than working around with js.
Speaking of js, when switching between user pages on desktop I get flashes of (i think?) js resizing user images. I'm wondering if we can get rid of that jank somehow, maybe default to largest size?.... I'm going to add to the PR's todos...

@ofsound I added a "ben" blank slate on http://localhost:3000/upload to help test the blank slate stuff. You'll have to be on an account with 0 tracks (or temporarily remove the if statement)

@ofsound Ok, I should be done here with backend/seeds. You can run bundle rails db:reset again to get the updated seeds after pulling.
There are a couple open frontend todos. Happy to help on anything...

I think the users not having any min height in css might be contributing to the flicker? This is how things load if i block the js...
Specs should be fixed....

A doozy! Nice werrrrrk. Going to merge this for now and we can followup with any details!


Can we have snippets?

Is your feature request related to a problem? Please describe.
No.
We would like our content team to be able to easily introduce blocks of text or even custom tags directly from the CMS without the need to copying from somewhere else and pasting it in the CMS.
Describe the solution you'd like
Following the same approach Netlify CMS already uses for folder collections, we could have a special folder collection that would be identified in some way (some new property perhaps) as a snippets collection.
Inside this folder we could have snippet files:
my-custom-snippets
|-- link-table.md
|-- youtube-video.md

Each file is a snippet. Just a block of text that would be inserted in a specific point in the "body" of an blog post for instance.
This could be accessed from the already existing rich text toolbar.
Describe alternatives you've considered
A not so clean solution could be setting these manually in the config file.
But the beauty of the approach above is that it could act both as a snippet collection as well as a normal collection, so team members could add snippets that would be available for the whole team, from within the CMS itself.

Closing as stale.


Feature/using hatched bg fn

Previously the hatched background was hard-coded as one of theme props. now we're using helper function to create such background as it gives more flexibility

lgtm!

:tada: This PR is included in version 3.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


editable?

Hi, I tried to make the source editable and got an error. This could be my bad javascript knowledge but this is how I have done before. without the bind this repl with not error but then the edited text does not bind to the source variable. Any ideas how to solve? or even make it part of the component?
https://svelte.dev/repl/6b8e40cb230b4c46a4db35377407a20d?version=3.38.3
Thanks

me stupid, I just need to declare source with let instead of const. Sorry...

Yep! Haha, just adding that I don't think it is possible to do this binding to source, since it passes through marked, as far as I know it'd be impossible to keep it reactive all the way down to the nodes that render the markdown.


Godep panic

I used to run godep with no issues, however after last go get -u github.com/tools/godep im getting panics on any godep command. Here's the trace:
panic: godep:

goroutine 1 [running]:
panic(0x363dc0, 0xc420124880)
	/usr/local/Cellar/go/1.7/libexec/src/runtime/panic.go:500 +0x1a1
log.(*Logger).SetPrefix(0xc420018140, 0x3dfd59, 0x7)
	/usr/local/Cellar/go/1.7/libexec/src/log/log.go:246 +0x6c
log.SetPrefix(0x3dfd59, 0x7)
	/usr/local/Cellar/go/1.7/libexec/src/log/log.go:277 +0x41
main.main()
	/Users/sosedoff/go/src/github.com/tools/godep/main.go:105 +0x6b

Running on OSX with:
go version go1.7 darwin/amd64

Not sure what happend, but it seems like it panics on this line: https://github.com/tools/godep/blob/master/main.go#L105

Something is likely wrong with your go install as this is just calling a stdlib function of the log package.


ordered_class_elements: exception with order: use_trait, sortAlgorithm: alpha

I'm getting the following error when applying the OrderedClassElementsFixer.  I was able to narrow it down to a very specific test case, below.
My aim is to sort trait imports alphabetically, but leave everything else alone.  I'm not sure if this is a sensible way to do that.
The PHP version you are using ($ php -v): 7.4.2
PHP CS Fixer version you are using ($ php-cs-fixer -V): 2.16.1
The command you use to run PHP CS Fixer:
php-cs-fixer fix --using-cache=no --rules='{"ordered_class_elements": {"order": ["use_trait"], "sortAlgorithm": "alpha"}}' -vvv TestClass.php

The configuration file you are using, if any: N/A
If applicable, please provide minimum samples of PHP code (as plain text, not screenshots):

before running PHP CS Fixer (no changes):

<?php

class TestClass
{
    public function __construct()
    {
        //
    }

    public function handle()
    {
        //
    }
}

Output:
Loaded config default.
E
Legend: ?-unknown, I-invalid file syntax (file ignored), S-skipped (cached or empty file), .-no changes, F-fixed, E-error

Fixed all files in 0.004 seconds, 10.000 MB memory used

Files that were not fixed due to errors reported during fixing:
   1) /tmp/phpcs-test/TestClass.php

        [ErrorException]
        Undefined index: name

      {closure}()
        in /tmp/phpcs-test/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php at line 475
      PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer->sortGroupElements()
        in /tmp/phpcs-test/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php at line 461
      PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer->PhpCsFixer\Fixer\ClassNotation\{closure}()
      usort()
        in /tmp/phpcs-test/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php at line 465
      PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer->sortElements()
        in /tmp/phpcs-test/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php at line 238
      PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer->applyFix()
        in /tmp/phpcs-test/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php at line 75
      PhpCsFixer\AbstractFixer->fix()
        in /tmp/phpcs-test/vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php at line 190
      PhpCsFixer\Runner\Runner->fixFile()
        in /tmp/phpcs-test/vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php at line 132
      PhpCsFixer\Runner\Runner->fix()
        in /tmp/phpcs-test/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommand.php at line 219
      PhpCsFixer\Console\Command\FixCommand->execute()
        in /tmp/phpcs-test/vendor/symfony/console/Command/Command.php at line 255
      [ ... ]

Hi and thanks for your report. Using the details provided I can replicate the issue.
btw. you might be interested in ordered_traits in the upcoming 2.17 release, as I think that rule will do what you want (we still need to fix this rule as well though)

fixed in https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4795


Remove dependency on wry and sys-locale

Whenever this PR https://github.com/tauri-apps/tauri/pull/7026 and https://github.com/tauri-apps/tauri/pull/5960/files gets released (probably on Tauri 1.4), we could remove the dependency on wry and get the webview version directly from tauri crate

Implemented on 0.4.0


Added group ls

headers does not appear to be an option, as it is a given with the JSON format.

Needs rebase

I believe that upon adding more info to the help menu, this is ready for merge.


Missing Auto-sync functionality

According to https://ij.bazel.build/docs/bazel-plugin.html#automatic-sync, there should be an autosync option, but in CLion 2019.1.4 with plugin version 2<IP_ADDRESS>.5, the option seems to be missing. Looks like it was removed from UI in #899 . Not sure why. Is there another way to enable this?

That's a bug in the docs -- auto-syncing isn't available for the bazel plugin.

Is there a reason that functionality was removed? Do builds auto-sync before actually building?

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


Select R Interpreter

How can you define the R Interpreter for an R Remote Workspace manually? Didn't find anything in the Microsoft.R.Host.Broker.Config.json or Microsoft.R.Host.UserProfile.exe.config...

hi - did you see the docs:
http://microsoft.github.io/RTVS-docs/remote-execution.html
On Sun, Mar 5, 2017 at 11:20 PM, Othmar Kesseli<EMAIL_ADDRESS>wrote:

How can you define the R Interpreter for an R Remote Workspace manually?
Didn't find anything in the Microsoft.R.Host.Broker.Config.json or
Microsoft.R.Host.UserProfile.exe.config...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/RTVS/issues/3265, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtUVMS6viZlqTxCILi3PYgat6j4uKf2ks5ri7PAgaJpZM4MTzVk
.

I did, but can't find a section to configure the r interpreter on the remote workspace server.

ah ok.  basically click on the cog wheel:

and enter the values in the fields (descriptive name, machine name, etc.)
a good write up is here:
http://blogs.u2u.be/u2u/post/2017/03/02/Using-Azure-VMs-as-remote-R-workspaces-in-R-Tools-for-Visual-Studio.aspx
towards the end.

I know how to add a workspace, the question was how to tell the Microsoft.R.Host.Broker Service, which R interpreter it has to select. Default is the r interpreter in C:\Program Files\Microsoft\MRO-3.3.2, but it should select the interpreter in C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQL01\R_SERVICES, behause there is RevoScaleR Package installed.

when you connect to the broker, and the REPL starts, do you see a list of several interpreters?  if so, you can select each one by adding and # and its number at the end of the URL, eg #1, #2, #3
or perhaps i dont quite understand the question...

In the Microsoft.R.Host.Broker-Log i see the following entries:
[2017-03-06 08:50:01Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (T):
Auto-detecting R ...
[2017-03-06 08:50:01Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (T):
R 3.3.2 detected at "C:\Program Files\Microsoft\MRO-3.3.2\"
[2017-03-06 08:50:01Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (I):
1 interpreters configured:
[0] : Microsoft R Open (3.3.2) at "C:\Program Files\Microsoft\MRO-3.3.2"
[2017-03-06 08:50:01Z] <Microsoft.AspNetCore.Hosting.Internal.WebHost> (D):
Hosting starting
But I don't know how to change this default interpreter...

You change interpreter you connect to at the client side. The URL looks like https://machine:5444#2 to select 3rd interpreter in the list (zero-based index). 'Default' means the one server uses when URL does not specify the interpreter index.
When you connect to remote machine, the connection outputs list of available engines like
[0] Microsoft R Open
[1] R 3.3.1
[2] R 3.2.2

and help text that tells how to construct the URL. Ex https://machine:5444#2 will connect to R 3.2.2 above.

Here is output of our test server

Closing. Let us know if you still have questions.

If we connect to the remote workspace, this is the only one that appears to choose:
Installed R versions:
[0] Microsoft R Open (3.3.2) (Default)
But on target server there's another one installed in the path:
C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQL01\R_SERVICES
How can I manage the available interpreters on the target remote workspace.

Try adding path manually in the broker config file (Microsoft.R.Host.Broker.json) similarly to certificates:
{
  "server.urls": "https://<IP_ADDRESS>:5444",
  "security": {
    "X509CertificateName": "CN=your-server-fully-qualified-domain-name"
  }
   "R": {
       "Name": "path-to-64-bit-bin"
    }
}

Corrected
“R” {
  “AutoDetect”: true,
  “Interpreters”: {
    “Key1”: {
       “Name1”: “BasePath1”
    },
    “Key2”: {
       “Name2”: “BasePath2”
    },
    …
}

AutoDetect is the default setting and can be omitted. Key1, Key2 etc is what’ll go after # in the URL. Name is supposed to be descriptive.

I tried with suggestion, but now the Host Broker Service doesn't start anymore. My Host.Broker.json looks like:
{
"server.urls": "https://<IP_ADDRESS>:5444",
"R": {
"Interpreters": {
"0": {
"mro": "C:\Program Files\Microsoft\MRO-3.3.2\bin\x64"
},
"1": {
"sql": "C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQL01\R_SERVICES\bin\x64"
}
}
}
}

sry i missed the double backslashes within the pathes. now the service starts again, but it seems the interpreters are not found: Host.Broker.log:
[2017-03-14 10:10:56Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (T):
R 3.3.2 detected at "C:\Program Files\Microsoft\MRO-3.3.2\"
[2017-03-14 10:10:56Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (E):
Failed to retrieve R installation data for interpreter "0" at ""
[2017-03-14 10:10:56Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (E):
Failed to retrieve R installation data for interpreter "1" at ""
[2017-03-14 10:10:56Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (I):
1 interpreters configured:
[0] : Microsoft R Open (3.3.2) at "C:\Program Files\Microsoft\MRO-3.3.2"

json looks now as follow:
{
"server.urls": "https://<IP_ADDRESS>:5444",
"R": {
"Interpreters": {
"0": {
"mro": "C:\Program Files\Microsoft\MRO-3.3.2\bin\"
},
"1": {
"sql": "C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQL01\R_SERVICES\bin\"
}
}
}
}

[2017-03-14 10:29:19Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (E):
Failed to retrieve R installation data for interpreter "0" at ""
[2017-03-14 10:29:19Z] <Microsoft.R.Host.Broker.Interpreters.InterpreterManager> (E):
Failed to retrieve R installation data for interpreter "1" at ""

Sorry, I didn't give the right format above. This is what it should look like in your case:
{
"server.urls": "https://<IP_ADDRESS>:5444",
  "R": {
    "Interpreters": {
      "0": {
        "name": "MRO",
        "basePath": "C:\\Program Files\\Microsoft\\MRO-3.3.2"
      },
      "1": {
        "name": "MSSQL R Services",
        "basePath": "C:\\Program Files\\Microsoft SQL Server\\MSSQL13.MSSQL01\\R_SERVICES"
      }
    }
  }
}

You can use whatever you want for name, it's meant to be a descriptive label for display purposes and nothing more. And the paths shouldn't include the bin\x64 bit, we add that automatically.

Thx, that works. Now if a user connects, there is a unauthorized exception:
Exception: The remote server returned an error: (401) Unauthorized.
The user trying to access is local administrator.

In Host.Broker.log:
[2017-03-14 13:30:00Z] <Odachi.AspNetCore.Authentication.Basic.BasicMiddleware> (I):
Basic was not authenticated. Failure message: Invalid basic authentication credentials.
[2017-03-14 13:30:00Z] <Odachi.AspNetCore.Authentication.Basic.BasicMiddleware> (I):
AuthenticationScheme: Basic was challenged.

User doesn't have to be local admin or even have rights to terminal server to the box. Try looking into system event log (Event Viewer -> Wingows Logs -> Security), usually there is extended information about authentication failures.

When entering the user name, did you include the domain name before \? For local accounts, this should be the Windows name of the machine itself.

In security log are no authentication failures, just some entries with task category "Sensitive Privilege Use", but no errors. Domain name is also prefixed.

Hi - really enjoy the extension with VSC on Windows 10 - so I tried to get it running under WSL2.
Even though I am sticking to the above instructions (I added .NET Core 2.1, I put Microsoft.R.Host.Broker.Config.json file with content from above [only included "autodetect":"false", as well, even included Windows paths next to the WSL2 custom build R (path) I am tryng to fire up here, so there is no '3.4.4-1ubuntu1' around with my setup] to .vscode-server/extensions/mikhail.../ls/ ) R tools under VS Code on WSL2 (Ubuntu 18.04 LTS) will only return "Unable to start R process" and utterly ignores any Interpreters in ths Host.Broker:Config.json ie Output: Available R interpreters always is only [0] CRAN R '3.4.4-1ubuntu1' ??? Any ideas, why Broker.Config settings are frankly ignored ...

@gwd999 I have the same problem, have you solve it? and how to solve it?


Missing countries issue

Tidy country and town step.
added countries.json file
implemented a shared lib for countries

:rocket: deployment of nhsuk/register-with-a-gp-beta-web succeeded (http://register-with-a-gp-beta-web-pr-222.dev.beta.nhschoices.net)


File Runner

Make it so you can run files from server and send them to client and it will run automatically

the file manager already has the abilty to upload files and run files. do you think it really needs a dedicated option for that?

i dunno 🤷 your choice


CGC: Log Run ID after sweep

Linked Issue
Closes #5781

Change Description
When completing a sweep, log the run ID as a marker to _lakefs/retention/gc/run_ids/<run ID>.
This is needed to implement Incremental GC.
How was this tested?
Manually on S3 and Azure.

Thanks @arielshaqed! As mentioned in the description, it was tested manually 🙂

@N-o-Z I've added you because there's a minor change that affects UGC as well.

@Jonathan-Rosenberg  - I would recommend looking at what we did in UGC.
We save the reports in a path the contains the runID which is also created in a lexicographically descending order.
This way - when listing the reports from the bucket we will always get a list of runID prefixes from latest to oldest.
Consider changing the structure of how you save logs in CGC instead of adding yet an additional path in the bucket that you need to query

Thanks @N-o-Z,
The UGC way was considered but I prefer writing down the sweep-completed run IDs rather than traversing all run IDs and filtering those that actually did a sweep.
The run IDs being used are the same ones that UGC uses, i.e. using the 4000-now time and the xid package


Debugging

Can you please explain how to set the project up for debug in the VS2017?

Hi!
If you run .\build.ps1 -Configuration Debug you should get a VS solution file at .\build-x64\PicoTorrent.sln which you can use to run and debug PicoTorrent from within VS.
Let me know if you have any issues!


logging to azure storage

can not create logging to azure storage

Do you have more details about what errors or behaviour you're seeing when you try to do this? Which version of Rancher are you using?

yes, documentation  states that to use azure blob as output you need to add:

azure_storage_account
azure_storage_access_key
azure_storage_sas_token
bu there is no place to input the azure_storage_sas_token


Bump v0.13.1

Signed-off-by: lukelee-sl<EMAIL_ADDRESS>Description:
Bump version to v0.13.1

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report
Base: 72.71% // Head: 72.71% // No change to project coverage :thumbsup:

Coverage data is based on head (4967e7f) compared to base (d9fc303).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##           release/0.13     #754   +/-   ##
=============================================
  Coverage         72.71%   72.71%
=============================================
  Files                16       16
  Lines              1228     1228
  Branches            225      225
=============================================
  Hits                893      893
  Misses              278      278
  Partials             57       57

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Using opentracing.ext in all hooks.

A couple tags were hardcoded. Replaced them with the tags in opentracing.ext.tags.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Nicholas Amorim seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Coverage decreased (-0.03%) to 76.993% when pulling c90ca356e5d25dfd6eee3b3bd6758c4cc95c6735 on nicholasamorim:tags into 4d560d529275586cf8ffbb28278357083c999a95 on uber-common:master.

Thanks!


make x-servers override servers based on schemes+host+basePath

I believe this is correct and safe behavior

Thanks!

Both PRs are included in v2.11.1


grid with checkbox issue

Hi,
I would like to show two column 'list name' and 'Is Assign' (checkbox). I can able to show with checkbox binding. but I have two issues.

I need to click twice to row and then checkbox.
if I update in checkbox, its not reflect to datasource object .

Can you please suggest fix for this.

regarding 1) You can use rowDataBound (http://gijgo.com/grid/events/rowDataBound) event to assign dblClick handler for each row.
     var grid = $('#grid').grid({
         dataSource: '/Players/Get',
         columns: [ { field: 'ID', width: 56 }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
     grid.on('rowDataBound', function (e, $row, id, record) {
         $row.on('dblclick', function () { alert('dblclick is fired for row with id=' + id + '.') });
     });

regarding 2) You can check our inline editing example at http://gijgo.com/grid/demos/bootstrap-grid-inline-edit where the checkboxes are configured to work well.

Thanks for your reply.
what I was looking for

on click on checkbox, it should check/uncheck, currently, when i click, it first select row then on second click, it allow to check/uncheck
Currently, I have list of name and assign(check/uncheck) in grid. I am updating check from grid (one or more) and submit as form post on submit button where I am sending all checks with like listid and isassign(true/false) . here I am trying to get checkbox values from grid.data().datasource but its not updated one.

regarding 1 - We don't support this. If you want to achieve such behaviour I would recommend you to use our renderer function (http://gijgo.com/grid/configuration/column.renderer) and build a custom logic with it.
regarding 2 - We don't support this yet. I will mark this issue as enhancement  and we are going to improve that in future versions.


When there is a open bracket between #ifdef #else in C++ language mode, bracket recognition will mismatch

Type: Bug

Open a new file
Select C++ language mode
Paste the following code

namespace test {
    void func() {
        bool a = true;
        bool b = false;
#ifdef TEST
        if (a) {
#else
        if (b) {
#endif
            // do something...
        }
    }
}

You can see that the opening bracket { after namespace test is red, but it should match the last closing bracket } at the end of the file. Likewise, the brackets after #else are unmatched.
I don't know if this is intended behavior, but in some code that makes heavy use of the above #ifdef #else statements, this can cause confusion.
VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:09:22.859Z)
OS version: Windows_NT x64 10.0.20348

System Info

Item
Value

CPUs
Intel(R) Xeon(R) KVM CPU @ 2.50GHz (8 x 2500)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: unavailable_software

Load (avg)
undefined

Memory (System)
16.00GB (6.51GB free)

Process Argv
--crash-reporter-id 99575982-28a1-46f6-8d33-6d0fe8109197

Screen Reader
yes

VM
100%

Extensions: none
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
9c06g630:31013171
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31094925
pythonrstrctxtcf:31093870

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I also tried the same code on this website(https://insiders.vscode.dev/) and it has the same problem. I think it is the newest version of VS Code.

The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!


GitHub Workflows security hardening

This PR adds explicit permissions section to workflows. This is a security best practice because by default workflows run with extended set of permissions (except from on: pull_request from external forks). By specifying any permission explicitly all others are set to none. By using the principle of least privilege the damage a compromised workflow can do (because of an injection or compromised third party tool or action) is restricted.
It is recommended to have most strict permissions on the top level and grant write permissions on job level case by case.

Thanks for the contribution @sashashura, this looks like a helpful improvement to the workflow configurations.
As noted in the Pull Request Template, all changes need to have an associated Apache NiFi Jira issue for tracking. The Apache NiFi Jira project is available at the following location:
https://issues.apache.org/jira/projects/NIFI
If you can create an issue and update this pull request with the reference issue number, that would be helpful.

Thanks again for the contribution @sashashura! I am closing this PR in favor of #6469 with associated Jira issue NIFI-10575, but I listed you as a co-author in the commit message.


ImportBlocks links are out of date

There are few links to download ImportBlocks plugins in the docs which are outdated. Can you please updated them all to 2.10.3

Fixed in https://github.com/neo-project/docs/pull/966


distributed tracing sample fails because aws no longer supports Node12

Failed to deploy distributed tracing example
Description
https://github.com/newrelic/newrelic-lambda-extension/blob/main/examples/sam/distributedtracing
deploy fails. Node12 is no longer supported.
Steps to Reproduce
build and try to deploy the stack
Expected Behavior
it deploys
Relevant Logs / Console output
 {
            "StackId": "arn:aws:cloudformation:us-west-2:594264067293:stack/Newrelic-Dt-Example/c53d4a70-b619-11ee-b272-0a62e5f760df",
            "EventId": "NodeAndSQS-CREATE_FAILED-2024-01-18T15:54:19.945Z",
            "StackName": "Newrelic-Dt-Example",
            "LogicalResourceId": "NodeAndSQS",
            "PhysicalResourceId": "Newrelic-Dt-Example-NodeAndSQS-l9VrsMszTM8M",
            "ResourceType": "AWS::Lambda::Function",
            "Timestamp": "2024-01-18T15:54:19.945000+00:00",
            "ResourceStatus": "CREATE_FAILED",
            "ResourceStatusReason": "Resource handler returned message: \"The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 60869524-3114-4efa-81b6-bbdda5ad50a7)\" (RequestToken: a031f674-2db4-401e-38f0-e810be956bd4, HandlerErrorCode: InvalidRequest)",
            "ResourceProperties": "{\"Role\":\"arn:aws:iam::594264067293:role/Newrelic-Dt-Example-NodeAndSQSRole-fwkPvBC0z9RQ\",\"MemorySize\":\"128\",\"Runtime\":\"nodejs12.x\",\"Description\":\"A Lambda function that logs the payload of messages sent to an associated SQS queue.\",\"Timeout\":\"25\",\"PackageType\":\"Zip\",\"Handler\":\"newrelic-lambda-wrapper.handler\",\"Environment\":{\"Variables\":{\"NEW_RELIC_ACCOUNT_ID\":\"4257778\",\"NEW_RELIC_TRUSTED_ACCOUNT_KEY\":\"4257778\",\"SNS_TOPIC\":\"arn:aws:sns:us-west-2:594264067293:Newrelic-Dt-Example-SnsTopic-eOyFibvBV7mZ\",\"NEW_RELIC_LAMBDA_HANDLER\":\"src/handlers/sqs-sns-bridge.sqsHandler\"}},\"Code\":{\"S3Bucket\":\"newrelic-example-us-west-2-4257778\",\"S3Key\":\"c2e3aaa9f7f92c1fe03a4c7746a06d66\"},\"Layers\":[\"arn:aws:lambda:us-west-2:451483290750:layer:NewRelicNodeJS12X:44\"],\"Tags\":[{\"Value\":\"SAM\",\"Key\":\"lambda:createdBy\"}]}"
        }

Your Environment
Ubuntu linux.
Additional context
Manually updating the node version to Runtime: nodejs14.x in examples/sam/distributedtracing/template.yml fixed this, though that is also being retired soon.

Hi, the extension may not be responsible for this. We just released a new version today, and newer version of the node agent came out. Can you let us know if this is still happening?


Remove duplicate section in docs

Codecov Report

Merging #208 (f828314) into main (8c63405) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #208   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           22        22
  Lines          731       731
  Branches        84        84
=========================================
  Hits           731       731

Continue to review full report at Codecov.

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


from 0.8.3 update to 0.9.0 can't start

kong form 0.8.3 update to 0.9.0 cant' start
kong start --trace
Error:
/usr/local/share/lua/5.1/kong/cmd/start.lua:15: connection refused
stack traceback:
	[C]: in function 'assert'
	/usr/local/share/lua/5.1/kong/cmd/start.lua:15: in function 'cmd_exec'
	/usr/local/share/lua/5.1/kong/cmd/init.lua:81: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:81>
	[C]: in function 'xpcall'
	/usr/local/share/lua/5.1/kong/cmd/init.lua:81: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:42>
	/usr/local/bin/kong:11: in function 'file_gen'
	init_worker_by_lua:38: in function <init_worker_by_lua:36>
	[C]: in function 'pcall'
	init_worker_by_lua:45: in function <init_worker_by_lua:43>

In 0.8.3 is all right.

Kong version (0.9.0)
ubuntu 14.04

This means your postgres server is not reachable from Kong. The error will be more descriptive in 0.9.1.

how can I handle it? clean the psql?

+1 i have alredy check the connection with postgres and works

make sure you have a kong.conf file available. It says in the documentation that is should be generated on the fly but you still need to have the actual file present on the file system (even if it is empty).

but if i try to start the previous version all works fine, it's just with this version

see #1572

We changed the default database from Cassandra to Postgres. If you were using Cassandra please make sure that it's still the default database in the configuration file, or run Kong with KONG_DATABASE=cassandra kong start

@giammy2290 well, the whole configuration of kong is changed so I guess you have to convert your config.

Make sure your Postgres server is up and if you are using Cassandra, follow @thefosk's comment. As I said, this error will be more descriptive in 0.9.1.

The master branch can not start, I checkout next branch it can start.

And there is a very strange bug
I use the kong.conf start kong
bin/kong start -c /etc/kong/kong.conf

The content is :
database = postgres
pg_host = <IP_ADDRESS>             # The PostgreSQL host to connect to.
pg_port = 5432                  # The port to connect to.
pg_user = kong                  # The username to authenticate if required.
pg_password = 123456              # The password to authenticate if required.
pg_database = kong

But kong used cassandra database.
I must start with KONG_DATABASE=postgres bin/kong start -c /etc/kong/kong.conf than kong using postgres database

@seedotlee are you sure you hadn't previously set the KONG_DATABASE=cassandra? all defaults are now 'postgres', and the environment variables override the config file.

I don't konw where can set KONG_DATABASE=cassandra except kong.conf

I'm sorry , I used wrong kong.conf.
Thanks @Tieske .


Add RadiusX,RadiusY and Center in EllipseGeometry

What does the pull request do?

These Properties are missing in the current impl of EllipseGeometry, i added them for more WPF compat and easier way of defining circles.
cc @grokys @danwalmsley

@donandren hope you can take a look this too


⚠ Bofrost.de has degraded performance

In f6965fb, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1883 ms

Resolved: Bofrost.de performance has improved in 08ccaf1 after 13 minutes.


Add loading animation for the download of debug info

User cannot understand what happens after you pressed the toogle row:

It was set to have no animation by @sanyavertolet in #823 for some reason.

Right now if error or long loading happens - we are simply frozen. Not acceptable

rn saveourtool.com has a version without #1024 (deployed version is 147+0cd164a, the fix appeared in 152+345e9c4). Let's redeploy at first and check the new behavior

With the new version the data is displayed correctly, however there is indeed a lag between clicking and expanding. IIRC, we thought that blurring the entire page behind the loading animation just for a single row may be a bit too much, but we should definitely improve the user experience there somehow.


Add Microsoft.Databricks 2024-09-01-preview version

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

@curiekim00 - Please use the template above to create/update your PR with the property intake.

@curiekim00 - Please respond to reviewer comments (https://github.com/Azure/azure-rest-api-specs/pull/30175#issuecomment-2297682301) before removing the ARMChangesRequested label.

Hi @mentat9 Misunderstood and thought you were referring to the "next steps to merge" last time, I have updated the template above, could you please take a look at the PR?

Hi @mentat9 I saw that you have added the "ArmChangesRequested" tag again without any comment, I have the PR updated according to the template, could you please explain what is missing?

@curiekim00 - Unresolved comment thread to make my comments visible.

/azp run


Docker Swarm in AWS Module

Just wanted to contribute my module to this list https://registry.terraform.io/modules/trajano/swarm-aws/docker/3.1.6

@trajano feel free to file a PR, gonna close this issue for now. Thanks!


KCC don't see exe files in it's directory

I have both 7za.exe and kindlegen.exe in the proper folder, but KCC can't see them for some reason.
I used older versions of the KCC some time ago, but was unable to find older versions to try them.
I tried reinstalling, to the different folder, run as admin. Nothing helped.
I'm on Windows 10.

Can't replicate this issue. I have no idea what is wrong.


Add click event to map markers

Up to now, the user was unable to click on the map marker to load the "about" content in the map sidebar. You had to mouse up to the pop-up and click on that. This was a problem when markers were closely clustered because it was easy to accidentally hover over a different marker in the process. It also was a poor user experience to be able to hover, but not click, on the map marker. Thank you, @jcreamer898, for helping to get this working as it should

Seems legit.


Nothing happens when i enable VR

I have SteamVR opened in beta, i have the  -force-d3d12 in the shortcut, i opened with the  shortcut, but nothing happens when i press the "enable vr" button, any fix for this?

Not sure, if you attach a copy of the KSP.log here, that might give some insight as to what's happening

KSP.log
also i  just  realised when i try to move the kerbal vr thing it makes a bunch of copies  of it behind and the screen freezes

I see you're running on Win8.1, which I've never really tested. Looks like KSP is running with Direct 3D 9 even though you correctly specified the d3d12 flag. I've a feeling Win8 is not supported for the same reason Win7 is not. Lack of directX12

Duplicate issue #28


LeftPupil and Right pupil None

Hello,
Thanks for initiating this effort.
I have a stationary video taken from my phone where I am not moving. I changed the code to read from a file and other part of the code remain the same as example.py.
I see the video being played but the left and right pupil coordinates are None. Has this got to do with ambient light?
I do see that the video is clear. Please see a sample image.

What am I doing wrong?
S
cap = cv2.VideoCapture('/Users/shekartippur/playground/tflite/myvideo.mp4')

while True:
    ret, frame = cap.read()
    # We send this frame to GazeTracking to analyze it
    gaze.refresh(frame)

    frame = gaze.annotated_frame()
    text = ""

    if gaze.is_blinking():
        text = "Blinking"
    elif gaze.is_right():
        text = "Looking right"
    elif gaze.is_left():
        text = "Looking left"
    elif gaze.is_center():
        text = "Looking center"

    cv2.putText(frame, text, (90, 60), cv2.FONT_HERSHEY_DUPLEX, 1.6, (147, 58, 31), 2)

    left_pupil = gaze.pupil_left_coords()
    right_pupil = gaze.pupil_right_coords()
    cv2.putText(frame, "Left pupil:  " + str(left_pupil), (90, 130), cv2.FONT_HERSHEY_DUPLEX, 0.9, (147, 58, 31), 1)
    cv2.putText(frame, "Right pupil: " + str(right_pupil), (90, 165), cv2.FONT_HERSHEY_DUPLEX, 0.9, (147, 58, 31), 1)

    cv2.imshow("Demo", frame)

    if cv2.waitKey(1) == 27:
        break

The whole face should be visible in the video for the dlib library to successfully detect the face, and eventually the landmarks


[BUG] TokenWindowChatMemory does not compute tokens for functioncalling parameters

I am using AzureOpenAi, and the program uses TokenWindowChatMemory to control the token capacity: TokenWindowChatMemory.builder().capacityInTokens(4096), but when the number of tokens is almost 4096, the interface returns an error, it seems that OpenAiTokenizer did not calculate the token of functioncalling.

My temporary solution is to make the capacityInTokens parameter smaller, such as TokenWindowChatMemory.builder().capacityInTokens(3000).
This does not need to be solved right away, depending on your time, thank you!

@chenhaoqiang thanks a lot for reporting!
ChatMemory is unaware of tools/functions, it's sole purpose is to track messages. Functions are defined outside of messages, so I am not convinced that this is a bug of TokenWindowChatMemory. But I see your point.
However there is an actual bug in OpenAiTokenizer that does not count function-related fields in AiMessage (function_call.name and function_call.arguments) and ToolExecutionResultMessage (function name) and I am going to fix that asap.
Regarding functions (that are defined outside of messages), I need to know a bit more context in order to help you and make it easier for you and others to use this library.
What is your current/target setup? Are you using AiServices? chains? or building with low-level components (directly using ChatMemory, OpenAiChatModel, etc)?
Thanks

@chenhaoqiang thanks a lot for reporting! ChatMemory is unaware of tools/functions, it's sole purpose is to track messages. Functions are defined outside of messages, so I am not convinced that this is a bug of TokenWindowChatMemory. But I see your point. However there is an actual bug in OpenAiTokenizer that does not count function-related fields in AiMessage (function_call.name and function_call.arguments) and ToolExecutionResultMessage (function name) and I am going to fix that asap.
Regarding functions (that are defined outside of messages), I need to know a bit more context in order to help you and make it easier for you and others to use this library. What is your current/target setup? Are you using AiServices? chains? or building with low-level components (directly using ChatMemory, OpenAiChatModel, etc)? Thanks

Thanks for the reply! I'm using AiServices, such as:
AiServices.builder(Chat.class).chatMemory(
DbTokenWindowChatMemory.builder().sessionId(sessionId).capacityInTokens(4096).tokenizer(new OpenAiTokenizer("gpt-3.5-turbo")).build());

@chenhaoqiang in 0.19.0 OpenAiTokenizer now counts all tool/function-related fields in messages. ChatMemory does not know about tools, so please estimate how many tokens your tools/functions will consume with OpenAiTokenizer.estimateTokenCountInTools() or OpenAiTokenizer.estimateTokenCountInToolSpecifications().

@chenhaoqiang in 0.19.0 OpenAiTokenizer now counts all tool/function-related fields in messages. ChatMemory does not know about tools, so please estimate how many tokens your tools/functions will consume with OpenAiTokenizer.estimateTokenCountInTools() or OpenAiTokenizer.estimateTokenCountInToolSpecifications().

thanks!


Add link to VSCode extension

Description
I saw that there is the Vim plugin but I wanted to create a VSCode plugin (https://marketplace.visualstudio.com/items?itemName=eww-yuck.yuck)
If you're happy with it, this PR adds a link to the documentation under the Vim docs.
It does syntax highlighting and a pretty blunt but functional approach to formatting. I'm not a typescript developer so it's a bit rough around the edges.
Showcase

Nice! I love this, thanks a lot!


Virtual desktop switching shortcut remapping.

Microsoft PowerToys version
v0.75.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce
I remapped ctrl + win + left/right to alt + left/right key using Powertoys keyboard manager but the window focus does not work for the new shortcut for half of the time, is there any way to solve this problem?
✔ Expected Behavior
Should work all the time like the normal shortcuts.
❌ Actual Behavior
Only work for almost half of the time.
Other Software
No response

/reportbug

PowerToysReport_2023-11-04-09-07-38.zip

/dup https://github.com/microsoft/PowerToys/issues/17995


Turn off the Community History Service

Thanks, @jorge-campo. I have applied the comments and published the article.


Test: Add a background check to a service when new pods are added and deleted

This commit adds a test to make sure that during deployment scale (up
and down) the connectivity to the service is not lost.
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

This change is

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please


Tabview Open More by Default

Description
It has been mentioned a lot by clients that it's unclear what the purpose of the tabview is, as it only opens so you can see the header by default. So it is isn't obvious what it does / what it contains.
The tabview should open by default more than it currently does so you can see the data within it.
Type of Issue
Please delete options that are not relevant, and select all options that apply.

✅ New Feature

@simon-leech @dbauszus-glx Do you think it would be worth while to also add a double click event on the tabview that could trigger it to expand and collapse?

I like that idea, when I showed it to a user who hadn't used mapp before, they first tried to click on the tab to see if it would open (like you would do on a desktop taskbar)

Not for me the double click event. Not easy to implement and doesn't solve the issue referenced in this ticket. How would a use know that there is a double click event on a element where he doesn't know there is a single click event. Can you create a ticket for the mapp.ui.utils.resizeHandler if you want to support a double click on these type of elements. The tabview tab bar itself should not mush in more click events that potentially interfere with the selection.

Not for me the double click event. Not easy to implement and doesn't solve the issue referenced in this ticket. How would a user know that there is a double click event on a element where they doesn't know that there is a single click event move event. Can you create a ticket for the mapp.ui.utils.resizeHandler if you want to support a double click on these type of elements. The tabview tab bar itself should not mush in more click events that potentially interfere with the selection of tabs.

No worries just a thought! :)


Fix incorrect create2 address calculation in bls-wallet-clients

Related discord message: https://discord.com/channels/943612659163602974/963404009266376774/997053021324312626
This surfaces in local environments (not using arbitrum testnet) as incorrect nonces in Quill in the transactions tab and this awkward workaround in AggregatorController.
Further, the incorrect addresses mean all kinds of mayhem, like sending funds to an address that you don't actually control.

Fixed by using up-to-date bls-wallet-clients or using contracts from 0.6.0. They just need to be in sync.


Replace all Mipmap with MipMap

Changed all the small m in Mipmap to cap M in MipMap

Do we really need update Mipmap to MipMap?
Cuda still uses Mipmap.  See
https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__EXTRES__INTEROP.html#group__CUDART__EXTRES__INTEROP_1g091a4383a816eb7127aa5c7a7c32cef7
https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html#group__CUDART__TYPES_1g1b03ad14fc0ab86f8b033837f5562d8a
Besides, this change will affect a few pending patches of mine.


.rotated() of a Vector2/3 returns a result with floating point error

Tested versions

Reproducible in 4.2 stable

System information
Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; <IP_ADDRESS>99) - AMD Ryzen 5 5600H with Radeon Graphics (12 Threads)
Issue description
When rotating a Vector2 / Vector3 that has only the integer parts, by 90, 180 or 270 degrees, the result of Vector2.rotated() or Vector3.rotated() returns a value with a floating point error. When printing the result into the console, the result appears as if the floating point error isn't there (though there is a clue in a form of -0 showing up as one of the vector components sometimes, depending on the vector you'd be rotating).
This results in unexpected, game breaking behaviour for projects that rely on precise integer grid calculations, which was the case for me.
Steps to reproduce
Open and start the MRP
Minimal reproduction project (MRP)
Vector.rotated() Bug showcase.zip

This is to be expected, the method doesn't do any special treatment for specific angles (that'd be expensive)
If you need these angles specifically I'd suggest just using the standard rotation formulas, like so (ccw rotation):

90 -> Vector2(-y, x)
180 -> Vector2(-x, -y)
270 -> Vector2(y, -x)

Some notes could be added to the documentation though, but generally one should assume things have floating point errors


Refs #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates on different days and interval less than 1 day.

Follow up to 813015d67e2557fa859a07930a9becec4e5f64a0.
Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8.

@nessita Thanks for checking :+1:


Servo_Motor.md

adding documentation for servo motors
this is kashish's documentation, she couldn't upload it.

Looks Fine! Thanks, Sohum and Kashish👍


confd haproxy

Is there any default confd haproxy template that can be used to update IP address and Port of Pods running and update dynamically to haproxy?

@gvenka008c If you're still interested then I could post some relevant files here, I'm maintaining some HAProxy/confd setups.

Closing for now, please, reopen if you are still interested in these examples.


Fast Refresh - Same file works, different file and it stops working

Description: Updating a component imported as a child does not update without a hard refresh when moved to it's own file.
React Native version: 0.61.5
Steps To Reproduce

Create a basic component with a child component. Make a change to the child component and fast refresh works here without issue.

Terminate the metro bundler, move the <Header /> component to it's own file and than import it into the <Root /> component and then try to make a change in <Header />. The text does not update without a hard refresh.

Expected Results
Fast refresh updates the text without a hard reload.
Snack, code example, screenshot, or link to a repository:
// Header.js
const Header = () => (
  <View>
    <Text>Title</Text>
  </View>
);

export default Header;

// Root.js
const Root = () => {
  return (
    <View>
      <Header />
      <Text>Testing</Text>
    </View>
  );
};

export default Root;

Further investigation seems like this is an issue with alos using @welldone-software/why-did-you-render

I can confirm this<EMAIL_ADDRESS>does break fast refresh on RN 0.62.2. Corresponding issue is https://github.com/welldone-software/why-did-you-render/issues/105.


Improve error message for failed qiskit_to_tk conversion

Small PR to imporve the error message for failed qiskit_to_tk conversion adressing https://github.com/CQCL/pytket-qiskit/issues/150
This snippet now gives the following error message for the unsupported gate
from qiskit import QuantumCircuit
from qiskit.circuit.library import XXPlusYYGate
from pytket.extensions.qiskit import qiskit_to_tk

qc = QuantumCircuit(2)
qc.append(XXPlusYYGate(0.1), [0, 1]) # add unsupported gate

tkc = qiskit_to_tk(qc)

Note: The two reverted commits correspond to an attempted fix of https://github.com/CQCL/pytket-qiskit/issues/43. However I realised this was slightly more involved than expected so its probably best adressed in a separate PR.

Hmm maybe its better to add a custom error message here rather than NotImplementedError.

Hmm maybe its better to use custom error here rather than NotImplementedError.

NotImplementedError seems fine to me.


Route prefix (for URl prifix) should not change Route Names of resource controllers in Route::group()

when we use route prefix it should only change uri prefix, and not route name while using Route::group.
The whole idea of using named routes is to make them independent of URL's. Adding a prefix to the URL should not add it to the route name
It works fine for individual methods, but if we use it with resources it not work properly (has bug).
if we change prefix from 'admin' to 'backend' all route names also changes and we have to change route names everywhere (So what is the use of named route if you have to change it every time)
ex.
Route::group(['prefix'=>'admin'],function(){

    Route::get('dashboard',function(){
        echo "called dashboard";
    })->name('dashboard');

    Route::resource('users','UserController');
});

It creates routes
dashboard
admin.users.index
admin.users.index
admin.users.store
admin.users.create
admin.users.destro
admin.users.update
admin.users.show
admin.users.edit

If i change prefix to 'backend' all route names of resource controller changes
dashboard
backend.users.index
backend.users.store
backend.users.creat
backend.users.destr
backend.users.updat
backend.users.show
backend.users.edit

You can see it is working fine with Route::get() ; No change in route name.
we can use 'as' for route name prefix in Route::group() but it is not working for Resource controllers.
Route::group(['prefix'=>'backend', 'as'=>'admin.'],function(){

    Route::get('dashboard',function(){
        echo "called dashboard";
    })->name('dashboard');

    Route::resource('users','UserController');

});

Routes
admin.dashboard
admin.backend.users.index
admin.backend.users.store
admin.backend.users.creat
admin.backend.users.destr
admin.backend.users.updat
admin.backend.users.show
admin.backend.users.edit

This automatic prefixing of route names for resources not only makes named routes useless. It is a bug because adding both 'prefix' and 'as' to the group will result in doubling of the name prefix.
It should create routes as
admin.users.index
not as
admin.backend.users.index

Thanks, but this behaviour is correct, and has already been discussed many times.

Thanks for reply @GrahamCampbell .
But it is breaking the principle of named routes. (for resourceful Controllers)
The whole idea of using named routes is to make them independent of URL's. Adding a prefix to the URL should not add it to the route name
In last example if i change route prefix (url prefix) 'backend' to 'office' and 'as'=>'admin' (route name prefix)
Route::group(['prefix'=>'backend', 'as'=>'admin.'],function(){
to
Route::group(['prefix'=>'office', 'as'=>'admin.'],function(){
    Route::get('dashboard',function(){
        echo "called dashboard";
    })->name('dashboard');

    Route::resource('users','UserController');

});

As we know already we have to use 'as' key to change name of route.
But it also appends url prifix to route name.
it generates route names as
 admin.dashboard           // here it is working fine for get() (No 'office' in route name, so i don't have to change route names everywhere)
 admin.office.users.index  // here office is url prefix : it should not append to route name
admin.office.users.store
admin.office.users.create
admin.office.users.destroy
admin.office.users.update
admin.office.users.show
admin.office.users.edit

Due to this misbehave of prefix we have to change route names from
admin.backend.users.index  to  admin.office.users.index
everywhere. (so why we should use named routes? can you explain?)
I think behavior should be uniform for all route methods.
and routes should be
admin.dashboard
admin.users.store
admin.users.index
admin.users.create
admin.users.destroy
admin.users.update
admin.users.show
admin.users.edit

whatever method you use.

I also have the same issue with resource route names inside a group getting both prefixes from 'prefix' and 'as'.
The culprit seems to be in the getGroupResourceName function inside \Illuminate\Routing\ResourceRegistrar.php
It will always add the group prefix in the route name if there is one, but by default, every routes inside a group will also pass through the mergeGroup function in \lluminate\Routing\Router.php that will handle the 'as' hierarchy.
I also concur with john5db that this is pretty misleading, so I did a correction attempt that would look like that :
// in \Illuminate\Routing\ResourceRegistrar.php
protected function getGroupResourceName($prefix, $resource, $method)
{
    $groupRouteName = $this->router->getLastGroupRouteName();
    $groupPrefix = trim(str_replace('/', '.', $this->router->getLastGroupPrefix()), '.');

    if (empty($groupRouteName) && !empty($groupPrefix)) {
        return trim("{$prefix}{$groupPrefix}.{$resource}.{$method}", '.');
    }

    return trim("{$prefix}{$resource}.{$method}", '.');
}

// in \lluminate\Routing\Router.php
public function getLastGroupRouteName()
{
    if (! empty($this->groupStack)) {
        $last = end($this->groupStack);

        return isset($last['as']) ? $last['as'] : '';
    }

    return '';
}


Added vibration option in App Overrides

Added vibration option in App Overrides
This allows the user to select the vibration strength per app/game
This PR changes

Added option for Vibration Strength (Off/Low/Medium/High)
Migrated database to include vibrationStrength field

Thank you for taking the time to submit a pull request!
Some concerns:

Current implementation of changing the vibration strength is exclusive to (only works for) the Odin2. Let's consider disabling/hiding this per-app setting for non-Odin2 devices.
Changing the vibration strength via the main screen uses a slider to manually assign a preferred value. Meanwhile, this per-app setting changes the vibration strength between preset values (Low, Mid, High). I like this, but let's consider if consistency is required or not e.g. main screen should also work with preset values.
This per-app setting changes the vibration strength. However, if vibration isn't enabled, it will not work. Let's consider the "vibrate_on" system setting, which is currently used in the main screen to enable/disable vibration.

@langerhans Please let us know your thoughts as well!

@miguelguzmanr Thanks a lot for the review, I've changed the option to be numeric instead for better customizability:


Use of structure: multiple_files is required but not respected in folder collections

In folder collections, to use multiple files for i18n (e.g. post.en.md and post.pt.md), usually one writes the following configuration:
i18n:
  structure: multiple_files
  locales: [pt, en]
  default_locale: pt

But Sveltia requires also that one writes something like path: '{{slug}}/index.{{locale}}' in the folder configuration (in addition to above configuration), which seems to me to be unnecessary, because .{{locale}} should be implied from the use of structure: multiple_files.
This was not always the case: I didn't use Sveltia the last months (for reasons not related to the CMS itself), and then when someday I tried to use it, all my collections showed empty in the CMS. Then I started to investigate version after version, and nailed it down: this changed from v0.39.11 to v0.39.12.
I don't know if this is by design or a bug, but well, I've decided to submit this issue so just you know it. Thank you anyway, the project is going better with each version!

Thanks for flagging this. My local test can reproduce the issue. Fix coming.

without path: works
path: '{{slug}}': works
path: '{{slug}}/index': fail

Fixed in v0.45.2. You need to reload the CMS and revert '{{slug}}/index.{{locale}}' to '{{slug}}/index' to see the files. Sorry about that! 🙇🏼


Introducing new code that is potentially thread unsafe

Signed-off-by: Nikunj Vaidya Macbook<EMAIL_ADDRESS>

Closing dummy request.


Update CHANGELOG.md for 6.9.0

https://github.com/babel/babylon/blob/24f09252dbf886032e1a039ef8b4b30b91c6a11c/CHANGELOG.md

👍  cool, you can also include #65, #57 now - also can do [skip ci]


How do you use this?

Could you show us a guide on how to use this, please? It is very confusing.

pls check example.py under root folder

I mean everything is so confusing and hard to understand to be honest.
On Thu, May 5, 2022 at 4:02 PM anhdodotnet @.***> wrote:

Video GUI .... PLs
—
Reply to this email directly, view it on GitHub
https://github.com/wanghaisheng/youtube-auto-upload/issues/11#issuecomment-1118665077,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYBHGWT5HSBAAXFLR7ZIV3DVIPPIVANCNFSM5VDSDQXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


NATIVE-13: Add intro screens

@Schedulaar there is a task open regarding it, https://issues.integreat-app.de/browse/NATIVE-386

@Schedulaar I requested a new review only by accident, sorry.


Release/v0.10.0

Release v0.10.0.
A small fix has been added to the package generators to wipe the generated file contents before writing.
/kind feature
/priority important-soon
/assign

/lgtm

/ok-to-test

/lgtm

/approve


handle missed slots inside function get_envelopes. implemented option A

Guys I'm going to merge this if that's ok? Since the GetScpState is needed for issue 122 and I'm checking it out right now

Yes you can merge it @b-yap.


adding the sieve of eratosthenes example.

I thought it might be nice to preserve the example in the samples directory.

Definitely. Thanks!

FYI, this is a faster sieve that uses a 210 wheel to reduce the number of candidates that need to be checked.  It should run in about 6 seconds on my computer in C but runs in about 27 seconds in Crystal.  Probably some low hanging fruit like using a BitArray (if available?) and other low-level improvements.
# Compute prime numbers up to 1_000_000_000 with the Sieve of Eratosthenes
max = 1_000_000_000

wheel = [2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,
         8,6,4,6,2,4,6,2,6,6,4,2,4,6,2,6,4,2,4,2,10,2,10]

bits = ((((max / 210) + 1) * 210) / 2) + 6
sieve = Array.new(bits, true)
sieve[0] = false
sieve[4] = false

upto = Math.sqrt(max)

i = 11
while i < upto
  wheel.each do |j|
    if sieve[i/2]
      (i * i).step(max, i * 2) do |j|
        sieve[j/2] = false
      end
    end
    i += j
  end
end

primes = [2,3,5,7]
i = 11
while i <= max
  wheel.each do |j|
    if sieve[i/2]
      primes.push(i)
    end
    i += j
    if i > max
       break
    end
  end
end

puts primes.length

@mrjbq7 Did you compile with --release? Make sure to read this.
On my machine it takes 6.2 seconds.

And it takes about 22.25 seconds without the --release flag, so... ;-)

@asterite aha! nice!
Would you be interested if I contributed a BitArray implementation and this example for use as a benchmark?

(Actually, I tried using a simple bit array below and it slows down the sieve a little bit, perhaps I need to learn a bit more about how to express low-level math concepts used).
# Compute prime numbers up to 100_000_000 with the Sieve of Eratosthenes
max = 1_000_000_000

wheel = [2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,
         8,6,4,6,2,4,6,2,6,6,4,2,4,6,2,6,4,2,4,2,10,2,10]

bits = ((((max / 210) + 1) * 210) / 2) + 6

ints = (bits + 31) >> 5
sieve = Array.new(ints, 0xffffffff)
sieve[0 >> 5] &= ~(1 << (0 & 31))
sieve[4 >> 5] &= ~(1 << (4 & 31))

upto = Math.sqrt(max).to_i

i = 11
while i < upto
  wheel.each do |j|
    if sieve[(i/2) >> 5] & (1 << ((i/2) & 31)) > 0
      (i * i).step(max, i * 2) do |j|
        sieve[(j/2) >> 5] &= ~(1 << ((j/2) & 31))
      end
    end
    i += j
  end
end

primes = [2,3,5,7]
i = 11
while i <= max
  wheel.each do |j|
    if sieve[(i/2) >> 5] & (1 << ((i/2) & 31)) > 0
      primes.push(i)
    end
    i += j
    if i > max
       break
    end
  end
end

puts primes.length

@mrjbq7 Note that we already have a BitArray. I just added a way to initialize it to all true by default because that was missing. Here's your original code but using a BitArray (just two lines differ):
# Compute prime numbers up to 1_000_000_000 with the Sieve of Eratosthenes
require "bit_array" # this line is added

max = 1_000_000_000

wheel = [2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,
         8,6,4,6,2,4,6,2,6,6,4,2,4,6,2,6,4,2,4,2,10,2,10]

bits = ((((max / 210) + 1) * 210) / 2) + 6
sieve = BitArray.new(bits, true) # this is the changed line
sieve[0] = false
sieve[4] = false

upto = Math.sqrt(max)

i = 11
while i < upto
  wheel.each do |j|
    if sieve[i/2]
      (i * i).step(max, i * 2) do |j|
        sieve[j/2] = false
      end
    end
    i += j
  end
end

primes = [2,3,5,7]
i = 11
while i <= max
  wheel.each do |j|
    if sieve[i/2]
      primes.push(i)
    end
    i += j
    if i > max
       break
    end
  end
end

puts primes.length

It takes the same time for me... maybe BitArray isn't implemented in an efficient way?
But the memory usage is cut down to half, so that's definitely a win.


[NEW ALGORITHM] Addition of New Linked List Algorithms

Description:

Reversing a Linked List
Detecting a Cycle in a Linked List (Floyd's Cycle Detection)
Merging Two Sorted Lists
Finding the Middle of a Linked List
Removing N-th Node from End of List
Flattening a Multilevel Doubly Linked List

Checklist:

[X] Contributor in GSSoC-ext
[X] Want to work on it

Done all the necessary changes whatever mentioned. Kindly merge my pr @Shariq2003

@AnshDwivedi03, why you have raised a PR without even being assigned for the issue, please follow the guidelines int the contributing.md file to do the contributions.

@Shariq2003 No issue assign it to me simply

@AnshDwivedi03 I am not the author, that's why I can't assign. Also I have created this issue for myself to resolve.

@Shariq2003  work on ability instead of saying .


[Rest Server] Remove jobName in config file

Remove jobName in config file which is duplicate with the name in request path.

let's not change json file, change the rest api instead.

pls refer to #398


AIMResponse::getMessage() returns blank when an [authentication] error occurs.

It looks like the code is expecting the value to be returned as messages[0]->message[0]->description or errors[0]->error[0]->errorText. When testing it appears as messages[0]->message[0]->text.
Here's a sample response:
SimpleXMLElement {#1025 ▼
+"refId": "0001"
+"messages": SimpleXMLElement {#848 ▼
+"resultCode": "Error"
+"message": SimpleXMLElement {#851 ▼
+"code": "E00007"
+"text": "User authentication failed due to invalid authentication values."
}
}
+"transactionResponse": SimpleXMLElement {#849}
}

I see this result too, but I have also seen the error message correctly returned, probably when errors are returned rather than messages.
I think the code is actually looking in description when it should be looking in text.
I'll check the specs and see what the definitive places to look for error text/message/descriptions are.
object(SimpleXMLElement)#172 (3) {
  ["refId"]=>
  string(8) "09876786"
  ["messages"]=>
  object(SimpleXMLElement)#394 (2) {
    ["resultCode"]=>
    string(5) "Error"
    ["message"]=>
    object(SimpleXMLElement)#396 (2) {
      ["code"]=>
      string(6) "E00007"
      ["text"]=>
      string(64) "User authentication failed due to invalid authentication values."
    }
  }
  ["transactionResponse"]=>
  object(SimpleXMLElement)#395 (0) {
  }
}

There are a couple things this highlights that may be useful more generically in OmniPay:

Both messages and errors can return multiple messages and errors. This gateway only returns the first it finds. When submitting transactions and validation fails, many gateways can return multiple validation errors and not just one.
The OmniPay core needs some way to easily and safely navigate these data structures, some of which can be quite deep. The laraval dataget() helper function is one good example.

I have pinched dataget() to use in a Sage Pay gateway here: https://github.com/academe/SagePay-Integration/blob/PSR-7/src/Helper.php#L23 It can turn this:
(string)$this->data->transactionResponse[0]->messages[0]->message[0]->description

into this:
(string)dataget($this, 'data.transactionResponse.0.messages.0.message.0.description', null)

The dot-notation does nor care whether the data is an array or an object. For objects it can be made to automatically check for properties or getter functions. Its main feature is that it can walk the structure until it either finds the final node, or runs out of structure, and do so without throwing exceptions. Anyway, that's kind of an aside, but just thought I'd note it down here while I thought about it.

This guide seems to indicate the results can include:
errors: [
        {error: {
            errorCode: "error-code",
            errorText: "error-text"
        }}
        , ...
    ]

or
messages: [
        {message: {
            code: "message-code",
            description: "message-text"
        }}
        , ...
    ]

So the gateway driver code seems to be following the specs. However, there is another part of the spec that lists text as the message text instead of descrioption. I think that is for messages returned from a different part of the gateway (the authorisation part rather than the transaction processing part).
        message: {
            code: "message-code",
            text: "message-text"
        }

It's a slightly different structure too  - not in a messages array. So in essence, we have THREE potential fields to check for the error message text.

I've created new branch https://github.com/thephpleague/omnipay-authorizenet/tree/issue40 with a first fix - it looks for an error message and error code in this third possible location.
Now, I noticed in there that the response code is being cast to an intval. Since the codes look like E00007 that is not really going to work, so it does looks like there are some further tweaks needed here. We'll do those fixes in this same issue, and also get some tests done. Not got much time for that today, but if you can try out the issue40 branch, that would be a big help.

The change looks good, I'm seeing the error details.
Thanks for the quick fix!

np - thanks for trying it out - it still needs tests, and we need to check if the other (non-authentication) errors are reported properly, before it gets merged in and released.

I think basically the rules are like this:

Every response as a messages element with one or messages giving the result of the request. The codes for these messages is not numeric.
If there is a transactionResponse then in there will be either messages or errors, depending on whether the transaction was successful or not. We need to grab whichever are available. The error or message code will be numeric.
If there is no transactionResponse then authentication to the gateway failed, and only the messages with the non-numeric code will be available.

That last instance was what you reported in this issue, and we were not falling back to that error message. Now we do, however we are now picking up the non-numeric code in this instance, since there is no numeric transaction result code. I am unsure if this is the right thing to do. I think we perhaps need to be able to return both error codes and messages, as they are targeted at different parts of the process.
This is how the documentation describes them:

There are two  elements: one is inside the  element at the
beginning of the response and describes the status of your request; the other is within the
 element and describes the status of the original transaction.

This could work as temporary fix, it returns additional errors from the SDK instead of returning Trying to get property of non-object" exception
https://github.com/daniel-farina/omnipay-authorizenet/commit/7394a6045d677ee9cbe78a8bf9910c97644b0983

Throwing some examples of responses here:
Invalid auth code:
resultCode = 0
object(SimpleXMLElement)#39 (3) {
  ["refId"]=>
  string(9) "458785372"
  ["messages"]=>
  object(SimpleXMLElement)#23 (2) {
    ["resultCode"]=>
    string(5) "Error"
    ["message"]=>
    object(SimpleXMLElement)#61 (2) {
      ["code"]=>
      string(6) "E00007"
      ["text"]=>
      string(64) "User authentication failed due to invalid authentication values."
    }
  }
  ["transactionResponse"]=>
  object(SimpleXMLElement)#26 (0) {
  }
}
```

Address 1 too long:
===================

resultCode = 0

*** AND the error to fix:***

Notice:  Trying to get property of non-object in /var/www/vhosts/acadweb.co.uk/httpdocs/authorizenet/dev/omnipay-authorizenet/src/Message/AIMResponse.php on line 51

````php
object(SimpleXMLElement)#39 (1) {
  ["messages"]=>
  object(SimpleXMLElement)#23 (2) {
    ["resultCode"]=>
    string(5) "Error"
    ["message"]=>
    object(SimpleXMLElement)#26 (2) {
      ["code"]=>
      string(6) "E00003"
      ["text"]=>
      string(503) "The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:address' element is invalid - The value '99 very long indeed intentionally too long 99 very long indeed intentionally too long 99 very long indeed intentionally too long 99 very long indeed intentionally too long 99 very long indeed intentionally too long 99 very long indeed intentionally too long 99 very long indeed intentionally too long
Address 2S' is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value."
    }
  }
}
```

Successful:
===========

resultCode = 1

````php
object(SimpleXMLElement)#39 (3) {
  ["refId"]=>
  string(9) "976376168"
  ["messages"]=>
  object(SimpleXMLElement)#23 (2) {
    ["resultCode"]=>
    string(2) "Ok"
    ["message"]=>
    object(SimpleXMLElement)#61 (2) {
      ["code"]=>
      string(6) "I00001"
      ["text"]=>
      string(11) "Successful."
    }
  }
  ["transactionResponse"]=>
  object(SimpleXMLElement)#26 (13) {
    ["responseCode"]=>
    string(1) "1"
    ["authCode"]=>
    string(6) "000000"
    ["avsResultCode"]=>
    string(1) "P"
    ["cvvResultCode"]=>
    object(SimpleXMLElement)#61 (0) {
    }
    ["cavvResultCode"]=>
    object(SimpleXMLElement)#60 (0) {
    }
    ["transId"]=>
    string(1) "0"
    ["refTransID"]=>
    object(SimpleXMLElement)#62 (0) {
    }
    ["transHash"]=>
    string(32) "480AA04BE6E4BF0469B63D9E42BD568A"
    ["testRequest"]=>
    string(1) "1"
    ["accountNumber"]=>
    string(8) "XXXX4242"
    ["accountType"]=>
    string(4) "Visa"
    ["messages"]=>
    object(SimpleXMLElement)#63 (1) {
      ["message"]=>
      object(SimpleXMLElement)#76 (2) {
        ["code"]=>
        string(1) "1"
        ["description"]=>
        string(35) "This transaction has been approved."
      }
    }
    ["transHashSha2"]=>
    object(SimpleXMLElement)#64 (0) {
    }
  }
}
```

Amount Too Large:
=================

resultCode = 3

````php
object(SimpleXMLElement)#39 (3) {
  ["refId"]=>
  string(9) "578582369"
  ["messages"]=>
  object(SimpleXMLElement)#23 (2) {
    ["resultCode"]=>
    string(5) "Error"
    ["message"]=>
    object(SimpleXMLElement)#61 (2) {
      ["code"]=>
      string(6) "E00027"
      ["text"]=>
      string(33) "The transaction was unsuccessful."
    }
  }
  ["transactionResponse"]=>
  object(SimpleXMLElement)#26 (13) {
    ["responseCode"]=>
    string(1) "3"
    ["authCode"]=>
    string(6) "000000"
    ["avsResultCode"]=>
    string(1) "P"
    ["cvvResultCode"]=>
    object(SimpleXMLElement)#61 (0) {
    }
    ["cavvResultCode"]=>
    object(SimpleXMLElement)#60 (0) {
    }
    ["transId"]=>
    string(1) "0"
    ["refTransID"]=>
    object(SimpleXMLElement)#62 (0) {
    }
    ["transHash"]=>
    string(32) "F68A9C87C1E1472521704EF38C21F647"
    ["testRequest"]=>
    string(1) "1"
    ["accountNumber"]=>
    object(SimpleXMLElement)#63 (0) {
    }
    ["accountType"]=>
    object(SimpleXMLElement)#64 (0) {
    }
    ["errors"]=>
    object(SimpleXMLElement)#76 (1) {
      ["error"]=>
      object(SimpleXMLElement)#74 (2) {
        ["errorCode"]=>
        string(1) "5"
        ["errorText"]=>
        string(27) "A valid amount is required."
      }
    }
    ["transHashSha2"]=>
    object(SimpleXMLElement)#75 (0) {
    }
  }
}
```

In release 2.5.0


Add READMEs for MAX models

Similar to how we show markdown content (README.md) for DAX datasets, we need to add README.md files for MAX models.
Related issues:

[x] #20

FYI @romeokienzler


Requirements for rewrite in GO

So, as to proceed the rewrite, we need answer to these things,

Is there need to be seperate repository, or new code will exist here itself.
For easy dockerfile, for all env, I have added the code at https://github.com/velcrine/lightmachine,  lets merge it somewhere.
I started with minimal setup first for rewrite, lxde worked fine, but for gnome3 I need some technical help.

cc @eine

Is there need to be seperate repository, or new code will exist here itself.

It makes sense that you open your own repository.

For easy dockerfile, for all env, I have added the code at https://github.com/velcrine/lightmachine, lets merge it somewhere.

Generating GUI Dockerfiles is a different task than running GUI containers. I'd say that should be a repository on  its own.

I started with minimal setup first for rewrite, lxde worked fine, but for gnome3 I need some technical help.

You could open a repository with this rewrite and open tickets there. I'll look at them and answer questions on upcoming setup issues.

After all, I am still not convinced of a complete rewrite that should replace the current bash version of x11docker.
I still don't see an advantage in this task.
Customized short versions for special tasks can make sense, though.

You could open a repository with this rewrite and open tickets there. I'll look at them and answer questions on upcoming setup issues.
Thanks for this helping hand.
Customized short versions for special tasks can make sense, though.
@mviereck Yeah this is what it is, I will add bit by bit short features. I am more interested in maintaining high-modularity, hence I will not rush for feature completion, but just to the fact that how can I make it more and more simplified for other users to adjust the source code according to their needs. I see no reason for people using VMs, if they have everything in docker.

Hi mviereck, do u have any wiki or some references for runnong gnome3 in docker, i just can't get it done.

Gnome3 in container is a pita.
The image x11docker/gnome is marked as experimental due to lot of issues that can come up.
Currently x11docker gets it to run with --init=systemd, so you would need to run systemd in container that in turn runs gnome3; a major task. Furthermore it needs a wrapper to start, as is done with guake in x11docker/gnome.
I do not recommend to run gnome3 in a container.