!HERE'S WAY TO WATCH FNC 20 LIVE Streams Free On TV Channel, 23 November 2024

🟢 ➤ ➤ ➤ 🌐 FNC 20 LIVE 🟢 ➤ ➤ ➤ 🌐
 🟢 ➤ ➤ ➤ 🌐 FNC 20 LIVE 🟢 ➤ ➤ ➤ 🌐
The highly anticipated FNC 20 event is scheduled for Saturday, November 23, 2024, at the iconic Arena Zagreb in Zagreb, Croatia, featuring a blockbuster main event between Miran “Slo Rocky” Fabjan and Aleksandar “Joker” Ilić. Fans can expect an electrifying night as two of the most dynamic fighters in the region face off in the cage.
Main Event: Fabjan vs. Ilić
Miran Fabjan: Known as "Slo Rocky," Fabjan is a relentless striker with a reputation for thrilling finishes. Representing Slovenia, he brings experience and ferocity to the cage, making him a tough challenge for any opponent.
Aleksandar Ilić: Dubbed “The Joker,” Ilić is a Serbian fighter with exceptional knockout power and a versatile skill set. His charisma and fight IQ make him a fan favorite and a dangerous contender.
This matchup is more than just a fight; it’s a clash of styles and nations, as Fabjan’s pressure meets Ilić’s calculated aggression.
Full Card
FNC 20 boasts a 13-fight lineup, showcasing elite talent from Croatia, the Balkans, and beyond. Fighters across various weight classes will battle it out, ensuring a night of non-stop action for MMA enthusiasts.
Miran Fabjan vs. Aleksandar Ilić
Đani Barbir vs. Tomislav Spahović
Matej Batinić vs. Krzysztof Jotko
Fran Luka Đurić vs. Voja Simičić
Jovan Marjanovic vs. Kamil Kraska
Bojan Kosednar vs. Francisco Albano Barrio
Tomislav Sičaja vs. Joelson Nascimento
Marko Bojković vs. Sahil Siraj
Uroš Jurišić vs. Stefan Negucić
Andi Vrtačić vs. Alessio Di Chirico
Tiriel Abramovic vs. Deni Mirnić
David Travnicek vs. Uros Vesic
Aleksandar Vukosavljevic vs. Antonio Budimir
Venue and Atmosphere
The Arena Zagreb, one of the largest venues in the region, will provide an electric setting, with fans expected to pack the stands to support their favorite fighters.
Tickets and Viewing
Tickets are available via FNC’s official channels, with options for in-person attendance or streaming for fans around the globe.
FNC 20 promises to deliver unforgettable moments, with Fabjan and Ilić leading a stacked card.


Specifies mermaid version for the mermaid client has been removed from the current mermaid version (v7.1.0).

Well, it takes me a lot of time to find out what is wrong with my mermaid, and I found out that mermaid CLI has been removed from main project. Installing mermaid v7.0.6 works for me.

Hi heyrict,
Thanks for the corrections.  Haven't looked at this for a while, so thanks you for correcting mistakes I made.  I must admit I'm a bit new to github so sorry for the delay in accepting.

Well, instead the version of node modules are changing all the time, so it's better to specify version numbers actually( most packages use package.json file to manage it)
Much thanks for you to provide such a powerful filter :smile: . Find it so useful when submitting my octave-based homework to my teacher.


add HTML purifier for posts

in order to allow HTML in posts and trying to secure from XSS I found this library to be helpful. If I need to change anything, please let me know!

@steffen25 thanks for reply. It seems to not build because luketowers/purifier package is not correctly set as a dependency?

Did you run composer install?

It works on my end because I installed it through composer myself and not by setting it as a dependency first. Check the Travic CI Log and it will say:
  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Class 'LukeTowers\Purifier\PurifierServiceProvider' not found

@Chinese1904 "It would be nicer to not have the user install it manually, rather than have it get installed as a dependency when updating."
Yep :)

http://stackoverflow.com/questions/34546456/how-to-register-a-dependency-when-creating-laravel-package looked here how to set it correctly. If this does not work, then I am at my wits end lol

Any update on this?

HEy @CodeSkills, @Chinese1904 was working on adding the Purifier library? How is it going @Chinese1904

Hey. Sorry for the delay.
Will look into TravisCI now.

The TravisCI issue is because that the tests that currently exists are based on the dev-master branch as you can see here.
I will just go ahead and merge this in, then it will be tested using the correct composer.json file.
Also I will start working on some better unit tests for this package.

Notice, you can here see the tests using the correct composer.json file.
https://travis-ci.org/thedevdojo/chatter

@Marktopper 👍


Introspection Guards/Conditional Introspection

I was wondering if there was any way to conditionally disable introspection. I'm planning to completely disable introspection for users who are not logged in and only enabling it for logged in users who have administrative access. Is this currently possible with async_graphql? I skimmed through the source code and from what I can see, it doesn't look like it is possible unless I built two schema instances.

Currently, you can only call SchemaBuilder::disable_introspection when building the Schema to disable introspection. I will add a Request::disable_introspection function to disable introspection based on the current logged in users.

Released in v2.7.1 😁

Neat. I'll test it out and see if there are any issues. For now, I'm closing this ticket.


Issue with Installing DetectionLab on MAC 11.2.1 Big Sur

Operating System Version:MAC
Deploying via (VirtualBox)
Vagrant Version (if applicable): 2.2.14;
Virtualbox - 6.1

I cannot install Detection Lab on my MAC.  I can get to the logger install but then I get an error message.  Could Detection Lab not be compatible with Big Sur?? When I type vagrant up I get:
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp

Looks to be a Virtualbox issue. Check this thread and comments for possible resolution: https://github.com/gasolin/foxbox/issues/32#issuecomment-779827935

Hey @vespasian8 - did you get a chance to try out any of the potential fixes from that link above?

I fixed it. Thnx
On Thu, Feb 25, 2021, 10:57 PM Chris Long<EMAIL_ADDRESS>wrote:

Hey @vespasian8 https://github.com/vespasian8 - did you get a chance to
try out any of the potential fixes from that link above?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/608#issuecomment-786394196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS5MUMNQR2VDQYHBYDLCXDTTA4LYZANCNFSM4X5QFQIQ
.


Add release notes for v0.3.0

What this PR does / why we need it:
This PR adds the release notes for v0.3.0.
It also appends v since the release-drafter cuts this for some reason.

Perhaps we should expand "some fixes" to the content of this PR description?
https://github.com/open-component-model/ocm/pull/288

@phoban01 thanks, updated!


[OpenStack-Heat] Use openstackclient to list the Heat stack

python-openstackclient is a more modern tool

This change is

When running heat stack-list or other commands you get the following warning:
WARNING (shell) "heat stack-list" is deprecated, please use "openstack stack list" instead

Hmm, that "update branch" button is ... less than helpful. Let me rebase it.

@idvoretskyi Can you take a look? Thx

@sc68cal you also might want to change the preceding sentence so that it doesn't mention heat.

cc @k8s-sig-openstack-pr-reviews

LGTM, but needs rebase.


[Fix #13110] Add support in Style/ArgumentsForwarding for detecting forwarding of all anonymous arguments

Adds support to Style/ArgumentsForwarding for the following cases:
def foo(*, **, &)
  bar(*, **, &)
end

# corrects to...

def foo(...)
  bar(...)
end

def foo(m, *, **, &)
  bar(m, *, **, &)
end

# corrects to...

def foo(m, ...)
  bar(m, ...)
end

Fixes #13110.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


Required parameters
Name of protestware (name):

Link to evidence (commit_link):

Justification for changes (description):

Type of entry (problem_type):

Additional parameters
https://github.com/pabio/redirect-russia
Date of detection:

Date of discreditation (datetime):

PURL:

[!NOTE]
Usually the name of the package and developer in the package manager is different from the name of the project and repository in Github

#124


Placement of @OData.NextLink property breaks paging support for AutoREST based code generators

Starting in Microsoft.OpenApi.OData v1.1.0, @OData.NextLink property of response collection schema was moved to a base collection pagination and count responses schema. Unfortunately, AutoREST does not support this representation at the moment. See how AutoREST supports paging at https://github.com/microsoftgraph/microsoft-graph-devx-api/issues/199.
 This is saving a lot of duplication on the Kiota based SDKs

Having a converting setting to control the placement of @OData.NextLink sounds like a solid plan! Let's get this prioritized given its time sensitivity (Ignite).

CC @CarolKigoonya


latest version doesn't install correctly.

❯ pip show rich-pixels
Name: rich-pixels
Version: 3.0.0
Summary: A Rich-compatible library for writing pixel images and ASCII art to the terminal.
Home-page:
Author:
Author-email: Darren Burns<EMAIL_ADDRESS>License:
Location: venv\Lib\site-packages
Requires: pillow, rich
Required-by:

❯ py -c "import pygame"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pygame'

installed via pip install rich-pixels, 2.2.0 works perfectly

The sample snippet you gave is trying to import pygame?

oops, i don't know what happened there, most likely lack of sleep, anyways
░▒▓ 🎭  …\Desktop\OSS contributions\rich-pixels-MRE   10:26 
❯ pip install rich-pixels
Collecting rich-pixels
  Using cached rich_pixels-3.0.0-py3-none-any.whl.metadata (2.2 kB)
Collecting pillow>=10.0.0 (from rich-pixels)
  Using cached pillow-10.2.0-cp311-cp311-win_amd64.whl.metadata (9.9 kB)
Collecting rich>=12.0.0 (from rich-pixels)
  Using cached rich-13.7.0-py3-none-any.whl.metadata (18 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=12.0.0->rich-pixels)
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=12.0.0->rich-pixels)
  Using cached pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=12.0.0->rich-pixels)
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Using cached rich_pixels-3.0.0-py3-none-any.whl (2.6 kB)
Using cached pillow-10.2.0-cp311-cp311-win_amd64.whl (2.6 MB)
Using cached rich-13.7.0-py3-none-any.whl (240 kB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB)
Installing collected packages: pygments, pillow, mdurl, markdown-it-py, rich, rich-pixels
Successfully installed markdown-it-py-3.0.0 mdurl-0.1.2 pillow-10.2.0 pygments-2.17.2 rich-13.7.0 rich-pixels-3.0.0

░▒▓ 🎭  …\Desktop\OSS contributions\rich-pixels-MRE   10:27 
❯ py -c "import rich_pixels"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'rich_pixels'

Interesting - I did switch from Poetry to Rye, so maybe I made a mistake somewhere. Thanks for the report. I'll try to have a look later tonight.

I just got 3.0.0 with Poetry and it's not working. It installs, but the module cannot be found. Reverted to 2.2.0 and all is fine.

Yup, having the same issue

Should be fixed in 3.0.1 - sorry for the delay.


Installation Issue

Hi guys.. I'm trying to install sails using standard npm install command, but I'm getting an odd error:
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"<EMAIL_ADDRESS>"-g"
npm ERR! node v4.2.2
npm ERR! npm  v3.5.0
npm ERR! path /usr/local/lib/node_modules/.staging/colors-5905414904236147fa08d725faf5dc1f
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/colors-5905414904236147fa08d725faf5dc1f' -> '/usr/local/lib/node_modules/sails/node_modules/anchor/node_modules/geojsonhint/node_modules/colors'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/colors-5905414904236147fa08d725faf5dc1f' -> '/usr/local/lib/node_modules/sails/node_modules/anchor/node_modules/geojsonhint/node_modules/colors'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! code 1

Obviously '/usr/local/lib/node_modules/.staging/colors-5905414904236147fa08d725faf5dc1f' does not exist.. Any ideas how to solve this? Thanks

Dear @bismark64,
Can you answer to these questions:

Which OS are you using?
Does it throw the same error when you install the stable version? (npm install -g sails)

Sorry @RomainLanz , I'm using OSX El Capitan. Node and NPM versions are there in the log. And yes it's failing with the stable version.. might it be related to an old colors package version (I believe ~0.6.2)?

You can try to clean the npm cache.
$ npm cache clean

sorry, didn't work.. same error..

@bismark64
This is an NPM error rather than a Sails.js error.
There are several issues including some about Sails.js in their issues.
https://github.com/npm/npm/issues/9793


Added FullScreenModeTrigger.

A trigger that is activated when the app is in full screen mode.

Nice! Thank you


Error when sending FT to .chain name

develop 68a2ffe / v.0.6.0

Error messages should be displayed in the modal template for the wallet and not in this wide version (as in the screenshot with error above).

@onvisions can you send a link to proper designs?

@davidyuk , I am discussing here only the issue with full screen popups in web wallet suggesting to use the regular modal template. Its design is in "Superhero Wallet UI" (FIgma) and there are several examples of different modals included. I won't publish the direct link as I was adviced before not to include links to internal resources in our public discussions.

I think sending fungible tokens should forbid send to name functionality a its not native to AEX-9


Email address - For Certificate Renew Notifications

Hi Team,
I have a CA which is not partnered with KV.
I want to understand where do I configure the Email address to get the notification.
I see we have an option to send the notification but could not find a place where to mention the email distribution list.
"Email all contacts at a given time"
Thanks!
[Enter feedback here]

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

ID: 5c2c55e7-375e-cad6-5d8f-e3a8abcf0560
Version Independent ID: 8d4d506c-05ec-66a2-5d29-5bb31fbada0b
Content: Tutorial - Updating certificate auto-rotation frequency in Key Vault
Content Source: articles/key-vault/certificates/tutorial-rotate-certificates.md
Service: key-vault
Sub-service: certificates
GitHub Login: @msmbaldwin
Microsoft Alias: sebansal

@chaisen2006 Thanks for reaching out. We will investigate and update the thread accordingly.

https://docs.microsoft.com/en-us/azure/key-vault/certificates/overview-renew-certificate#get-notified-about-certificate-expiration
The link to this article has also been added to tutorial and would be live soon.

#please-close


[25] Able to add previous education to trainee

Context

https://trello.com/c/3CF50Pm6/25-add-previous-education-form
Ability to add previous education data to trainee

Changes proposed in this pull request

Adds new page with form for previous education data entry
Adds and uses faker in factories
Adds migration for previous education

Guidance to review

Create or find an existing trainee
Update their previous education info
Look in database, values should reflect new values

View https://dfe-twd-rttd-pr-14.herokuapp.com/trainees/1/previous-education

 [M] Add previous education form

Can we do a simple feature spec at this point instead of the controller spec? I've gone that route in the course details I'm working on but maybe with the impending design updates it's not worth doing yet. What do you think? I just don't want to establish a pattern of doing controller unit tests that we don't normally do for simple controllers.

I just tried. I think wait for the index page to be done so we can get find users to update after creating them otherwise we'll always have to make a user first and keep track of them to update.


Add "sort-imports" rule to eslint

"sort-imports": ["error", { "ignoreDeclarationSort": true }]

added in #48


Localization from http header sample

.. Using the contrib project.

Hi @johnkors, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@johnkors, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Nice, thanks,.


Support the use of AWS EKS IAM roles for service accounts (IRSA)

Describe the feature:
Support the use of AWS EKS IAM roles for service accounts.
This requires two things to take place:

Filebeat (and potentially other charts) do not appear to be use an AWS SDK version that supports assuming an IAM role via an OIDC web identity token file (sts:AssumeRoleWithWebIdentity). This is required in order to use EKS's IAM roles for service accounts feature. AWS SDK version requirements are here.

Charts also need to support service account annotations described in issue #627

Describe a specific use case for the feature:
Provide AWS IAM roles to pods instead of supplying credentials directly in configuration. Adding the following annotation to the service account would allow the use of the corresponding role.
annotations:
  eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT-ID>:role/<ROLE-NAME>

I'd like to add that the permissions check on the mounted token in the entrypoint script for ElasticSearch also needs to change.
It currently enforces a permission of 400 or 600 and will exit if that is not the case.
But the ElasticSearch containers do not run as the root user, so that permission on the mounted token means the IAM role details cannot be read.
For IAM roles for service accounts to work, the pod's securityContext.fsGroup must be set to the GID of the user running in the containers, which results in the mounted token being owned by the GID and given permission 640 (group read).
If the entrypoint allowed 640, then I suspect things may work.
I mentioned this in the following issue:
https://github.com/elastic/elasticsearch/issues/52625#issuecomment-632587920

@lambda-9 Thanks for submitting this request.

Service account annotations have been implemented in #686
Requests related to AWS SDK integration should be adressed to the products repositories (example elastic/elasticsearch#52625 for Elasticsearch)

Is there anything else required at Helm charts level or can we close this issue? (cc @jim-barber-he)

No, this can be closed. Thank you!


Fix interface

set yaw waypoint to current yaw when rising to goal altitude
update goal from FCU only when in mission
when updating goal from FCU check difference with respect to old goal also in z coordinate. Fixes problem with the first takeoff waypoint

@mrivi Thanks! Feel free to assign @baumanta for reviews so she gets notified.

Logs from test https://logs.px4.io/plot_app?log=71898feb-dba9-4824-be9f-d378dbce7313


How can I use this on multi-tenancy?

I am trying to use this plugin on my app but unfortunately it's not working.. added team_id column on process_approval_flows table.

Ironically no, see:
https://github.com/ringlesoft/laravel-process-approval/issues/24#issuecomment-2179904583

i badly needed this feature. i am trying to configure it but won't work. can you help me?

Please update the package and you will receive an update with this feature: https://github.com/ringlesoft/laravel-process-approval/issues/24#issuecomment-2229180158


Text format

Remove text vs binary mode (rt vs rb) for the target in favor of Format.

Wow this is a big one. Looks good. Is it backwards compatible?

@erikbern It's indeed a big PR with a short description (I needed some sleep after all this work). I'll edit the PR description to had more details.
And yeah, it should be backward compatible. There is only one edge case that I see could happen only for user on system that doesn't use \n as newline (aka windows). The file are now open the file with io.BufferedWriter(io.FileIO('w')) instead of open('w') which mean that the file doesn't convert \n to the system specific newline. To overcome this issue I added a default format, the targets use this default format if not otherwise specified. On system that doesn't use \n as newline, the default format is SysNewLine which replicate the newline conversion behavior. A breakage would happen if a user use a custom format on those platform. Even then, the format need to be relying on python to convert \n to the system specific newline. It's not the case for the format profited in Luigi Gzip and Bzip2. In fact, I think (didn't tested) those format are broken on those platforms. In addition, the fix for this issue is simple, simply chain the custom format with the SysNewLine format.

Just looking at the code it seems like you are ignoring the 'b' in mode, so how do you make sure it's backwards compatible? Trying to understand the code but it's a lot :) https://github.com/spotify/luigi/pull/767/files#diff-92c74f75f768b714084b20caa61aafc9L128

@erikbern Yeah it's not backward compatible with 'wb'/'wt'/'rt'/'rb' file mode. However those were added 5 days ago with #745, are not documented anywhere and not part of any release. If you think it's still important to stay compatible with those I can add some work around for this. I just feel it would be a little messy to keep a functionality that probably nobody rely on.

Ok, cool, I thought they had been there for a long time. In that case no biggie, don't worry about backwards compatibility. LGTM (I'll let @freider or @Tarrasch go ahead and push the button)

Should we close this in favor of #769 ?

@Tarrasch I was thinking that this one was already big I didn't want to make it bigger, but yeah we can close in favor of #769.

Yeah sorry I should have merged this before you created to other PR, oh well. :)


Table: Add aria-live region in for announcing sortable column changes

Description

Added aria-live region in for announcing sortable column changes
Related Issue

Motivation and Context

Previously sorting order was not announced immediately after clicking the column.
How Has This Been Tested?

Manually verified updation of liveRegion upon changing the sorting order.
I have run all test cases locally . Added new test cases to check new changes
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.

@icaraps  Please review

@icaraps Please review.

See: https://github.com/adobe/coral-spectrum/pull/43


swagger.json not generated with respect to base route

I'm trying to deploy a small API in a scenario where we access resources via a reverse proxy with essentially a virtual path reference to the deployed service and I'm having issues.
I'm currently using 6.0.0-preview-0035 on a .Net Core 1.1 MVC project with the following configuration:
app.UseSwaggerUi(c =>
{
         c.BaseRoute = env.ApplicationName + "/help";
});

This allows for the swagger index to point to /ApplicationName/help/index.html and that loads the page and content fine with the exception of it missing a swagger.json file, but that's expected I didn't give it a location.
I then try to add the following inside my lambda block:
c.SwaggerEndpoint("/" + c.BaseRoute + "/swagger/v1/swagger.json", "V1 Docs");

This generates an error message stating:

Can't read swagger JSON from http://localhost:50212/ApplicationName/help/swagger/v1/swagger.json

Which confuses me a bit as all the other swagger resources for css, js, pngs all load using ~/ApplicationName/help as the base URI. I then try to do some digging and found if I try to hit ~/swagger/v1/swagger.json I get a 500 error with the following trace:
Swashbuckle.Swagger.Model.UnknownSwaggerDocument: Unknown Swagger document - v1
   at Swashbuckle.SwaggerGen.Generator.SwaggerGenerator.GetSwagger(String documentName, String host, String basePath, String[] schemes)
   at Swashbuckle.Swagger.Application.SwaggerMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Frame`1.<RequestProcessingAsync>d__2.MoveNext()
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 13.6516ms 500

Any other request I formed in order to try and access swagger.json returned me a 404 with the exception of that request http://localhost:50212/swagger/v1/swagger.json which leads me to believe it's failing to be generated properly.
I noticed this pull request which might be aimed at this specific problem dating from quite a while back: https://github.com/domaindrivendev/Ahoy/pull/106 Though I'm not positive if I'm having the same issue. Is there something I should try? Or a specific workflow I should do instead in this case?

This actually had to do with my routing...if I followed the virtual directory sample here:
https://github.com/domaindrivendev/Ahoy/blob/master/test/WebSites/VirtualDirectory/Startup.cs
Things would not work due to the app.map call I assume not properly routing the swagger requests. The regular calls in my controllers would work fine however. The solution I ended up requiring can be seen here:
http://www.strathweb.com/2016/06/global-route-prefix-with-asp-net-core-mvc-revisited/
It might be worth updating the sample app to use this logic, or there may be some simpler path to solving the problem.

One of them is a route the other is a path. Something like:
app.UseSwagger("docs/{documentName}/swagger.json");
app.UseSwaggerUi(c => {
        c.SwaggerEndpoint("/docs/v1/swagger.json", "V1 Documentation");
}

As pointed out by @chadwackerman, you provide UseSwagger with a "route" and SwaggerEndpoint with a URL (can be fully qualified or relative to the current host). The latter is a URL because it's really client-side configuration, i.e. the remote Swagger URL that powers the swagger-ui, whereas the notion of a "route" is a purely server-side concept.


Hide empty "advanced mode" area

When no data the advanced mode (pressed A letter) show empty area.

Solutions:

Put some label like "No data"
Hide it completely

Fixed.


POWER8 VSX BLAS 1/2 double precision

Optimize BLAS 1/2 double precision for POWER8 VSX

Hi,
I added an optimized ddot kernel.
Performance data:
POWER8 kernel: 11 Gflops ( 6 Gflops with POWER6 kernel )
Best regards
Werner

@wernsaar Anton Blanchard sent you direct email about some performance opportunities that we noticed:
He compared ATLAS, ESSL (the IBM BLAS) and OpenBLAS using 16B aligned
arguments. Testing the functions you have implemented, we see it beat
ATLAS at many tests and mostly match ESSL. Nice work!
He does see 2-3x slower performance on sgemm, strmm, cgemm and ctrmm,
possibly because of the use of lxsspx/stxssp.

@edelsohn , thank you for the feedback.
I think we need some performance tips for single precision.

@xianyi Anton emailed Werner directly. It would be helpful if Werner replied to Anton and either mentioned a better mailing list for the discussions or suggested that the discussions happen somewhere on Github.

I think we can use openblas-dev mailing list.
https://groups.google.com/forum/#!forum/openblas-dev

Mr @edelsohn I wanted to share the work I have done.
Blas3: I renamed vector registers and removed unnecessary save restore from blas3 copy functions. But for main routines it remains as it is used.
For this issue Blas1/2 double:
I added izamax izamin idamax idamin simd versions with c & inline assembly.
OpenBlas benchmark shows x1.8 ~x2 speed up for idamin/idamax, ~1.4 speed up for izamax/izamin.
( implemented with xxsel and vector compare instructions)
I also added zgemv_t and zgemv_n pure c vector simd versions (just converted from z13 c simd version. It perform 0.8 ~1gflops better than hand written assembly code (no simd variant)).  I looked at converted code it looked decent. But I think I might add speedup a little if I go with inline assembly. But for now It is using only pure c vector code.
I wrote zrot  with fused instructions but later dropped it because of drot comment. I added refactored version of drot for zrot as both share the same code (just n differs).
(there was hint that lapack has problems with fma precision usage)
(Recently, saw  that There is not special simd versin for dgemv_t  (T version).too ) .
github.com/quickwritereader/OpenBLAS
I also looked at z13 blas1/2 double. I probably will try to improve  or reimplement  some kernels there.
I also wanted to ask how much bounty I can get for this issue (power 8 blas1/2 double). As some codes were already implemented and fixed.
Thanks

I have implemented dgemv_t simd version (it has pure vector code and also inline assembly with prefetch) for case OPENBLAS_TRANS=T.
I have tested performance using OpenBlas benchmark.
For matrixes under <1000 it mostly performs better and if it called with warm up calls like from 40 till 1000 it mostly performs average at  ~11gflops while previous mostly  ~8glfops. For later >1000 it also usually performs better than previous one (dgemv_t.S) under single thread but with little gap and I have to set OPENBLAS_LOOPS above 10.
I think it can be replaced as dgemv is memory bound.   in future I'll try to improve it   with better solution

@martin-frbg if possible could you recheck and close this issue. I would like to claim for bounty if everything is alright.
thanks

Everything looked good from my (admittedly low) perspective when I merged your PR, thank you very much for your work on this. As far as I understand the protocol, closing of the issue and awarding the bounty would be David Edelsohn's honor ? :)

Mr.Edelsohn thanks for the support.
Guys, please also note that I always try to improve or fix issues if I see them.


How to response json output?

Hi, I'm trying to receive docker hub webhook using the tool.
It looks like docker hub is expecting some json response to determine request should considered successful or not. How can I send response as json?
Example json response would look like:
{
  "state": "success",
  "description": "387 tests PASSED",
  "context": "Continuous integration by Acme CI",
  "target_url": "https://ci.acme.com/results/afd339c1c3d27"
}

Nevermind .. Turns out Docker hub webhook doesn't even check webhook response. It's always success.. I didn't have to send any response at all..


A Better name for Environment variables section in README

I think the name Environment variables doesn't properly describe the section
https://github.com/Schrodinger-Hat/youtube-to-anchorfm#environment-variables
Something like Conversion Options may be better

Technically, they are environment variables for a GitHub action, and in my opinion it is good to leave it as Environment variables.


Fixes code block rendering issue in contributing file.

Fixes issue in which a code block inside a list was mistakenly rendered inline with the language name visible.
It is currently rendered like this:

Now it's like this:

I signed it!

Thanks, could you please update your commit message to follow our convention: http://karma-runner.github.io/0.13/dev/git-commit-msg.html

@dignifiedquire Is this better? I dont think the scope is applicable for this change.

Thanks :octocat: that's perfect


Fixes #4455 Implement buttons for Mattermost channel

Proposed changes:

rasa\core\channels\mattermost.py

Implement send_text_with_buttons() in MattermostBot class according to mattermost message buttons docs
Initialize MattermostBot and MattermostInput with an additional parameter webhook_url

rasa\cli\initial_project\credentials.yml (not really necessary, but very helpful for an easy start)

add Mattermost example with additional webhook_url

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog
[x] reformat files using black (please check Readme for instructions)

@tabergma Resolved your comments from PR #4456 here.

Thanks for resolving all my comments. Just one more thing: Can you please add a changelog entry? And also update the documentation here https://github.com/RasaHQ/rasa/blob/master/docs/user-guide/connectors/mattermost.rst. Once that is done we can merge the PR 🚀

Done


Start buttons without hover styles

Add some style on button hover

I would like to work on this issue

Hello @khan-mujeeb, @AloyBranCheung is already working on it


Problems with PIP installing nerfstudio

Describe the bug
I am setting up nerfstudi for Windows with CUDA 11.7 and VS 2022, as described in the docs. When I run "pip install nerfstudio" it successfully installs everything, however, for some reason it seems to uninstall PyTorch with CUDA 11.7, which I just installed in the previous step. At the end, I am able to preprocess data with nerfstudio but as soon as I try to train a model I get an error:
OSError: Unknown compute capability. Ensure PyTorch with CUDA support is installed.
I am quite confused by this because I did install it as instructed, but then pip installing nerfstudio seems to uninstall it again as indicated by this line:
Attempting uninstall: torch     Found existing installation: torch 1.13.1+cu117     Uninstalling torch-1.13.1+cu117:       Successfully uninstalled torch-1.13.1+cu117
What could be causing this? Am I doing anything wrong?
To Reproduce
Follow these steps for Windows > 11.7 with VS 2022
Expected behavior
A clean installation of nerfstudio.

Update: This problem has been solved by simply installing Torch with CUDA again. However, for the future this should be changed as it seems counter-productive to instruct an installation of something just for an installer to later uninstall it.

Hmm, I'm not sure why it tried to uninstall pytorch. Do you know what it installed in its place?


pytabix + multiprocessing?

I'm having some issues using PyTabix with the python multiprocessing module; it seems that it somehow results in memory corruption of some sort, and messages along the lines of
[get_intv] the following line cannot be parsed and skipped: S=2546446;dbSNPBuildID=134;SSR=0;SAO=0;VP=0x050000080001000014000100;WGT=1;VC=SNV;INT;KGPhase1;KGPROD;CAF=[0.9991,0.0009183];COMMON=0

The same file does not cause any problems when I'm not using multiprocessing.
Do you know anything about this? I looked for a close method on tabix file objects, but couldn't find one - could there be an issue with too many file descriptors to the same file, or something?

I am adding to this issue because I think it is pertinent. I access tabix files in a program which runs under MPI on HPC 16 core cluster (so one tabix file being accessed by 16 cores simultaneously.) Sometimes it works fine, other times I have ended up with a 974 line long traceback which involves pytabix and suggests that double freeing is going on. So I did some defensive programming, and when the error occurs, I get None type records returned from the tabix iterator.
Often when it works, the cluster is only lightly used, and it fails more often when the cluster is working harder. Is Tabix / pytabix supposed to work in multiuser type environments?

Could I ask you to share a code snippet that reproduces the error? Could you share the error, too?

Hi Kamil,
The code is part of a massive framework, but I will see what I can do. I
certainly can get you the error message. It will probably be after Tuesday.
Kind Regards,
Mark Livingstone
PhD Candidate
G23_2.31
Institute for Integrated and Intelligent Systems
School of Information and Communication Technology
Griffith University, Gold Coast campus
Queensland, 4222, Australia
E-mail<EMAIL_ADDRESS>On 22 September 2015 at 21:34, Kamil Slowikowski<EMAIL_ADDRESS>wrote:

Could I ask you to share a code snippet that reproduces the error? Could
you share the error, too?
—
Reply to this email directly or view it on GitHub
https://github.com/slowkow/pytabix/issues/2#issuecomment-142260806.


loginRedirect way to login in Angular service

@jamescro If we tried to call loginRedirect method in angular-connect-rest-sample/public/scripts/graphHelper.js, it looks like the https://github.com/microsoftgraph/angular-connect-rest-sample/blob/master/public/scripts/graphHelper.js#L17 callback won't be called anymore. Do you have any suggestions? Thanks

Thanks for the feedback. Does this question on StackOverflow address your issue?
https://stackoverflow.com/questions/43909791/single-sign-on-with-msal-js
I believe that if you can use acquireTokenSilent, you can avoid the popup, but if you can't acquire the token silently, I think that msal.js will force the popup.

Also, have you tried this more recent sample?
https://github.com/microsoftgraph/angular4-connect-sample

@jamescro Thank you for responding, my question is mainly for avoiding popup when getting idtoken instead of access token. So I tried to using loginRedirect to trigger page redirection. In the MSAL sample, the default implementation is using loginRedirect method, we can trigger the callback https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/devApps/VanillaJSTestApp/index_LoginRedirect.html#L47.
So we're finding a way to enable the same way in angularJS+Javascript web app. Thanks

So it sounds like your question is more about msal.js than about this sample specifically, correct? If that's the case, could you ask this question on Stack Overflow (tagging with MSAL?

your question is more about msal.js than about this sample specifically, correct?

@jamescro I'm afraid not. The MSAL works well in a single page as I mentioned: In the MSAL sample, the default implementation is using loginRedirect method, it will trigger the callback.
Just wondering why the callback can't be triggered in AngularJS...

@jamescro Okay, thanks


SSL OpenJDK Error in Membrane Dockerimage 5.1

During SSL Handshake you get:
javax.net.ssl.SSLHandshakeException: Insufficient buffer remaining for AEAD cipher fragment (2). Needs to be more than tag size (16)
at sun.security.ssl.Alert.createSSLException(Unknown Source) ~[?:?]
at sun.security.ssl.TransportContext.fatal(Unknown Source) ~[?:?]
at sun.security.ssl.TransportContext.fatal(Unknown Source) ~[?:?]
at sun.security.ssl.TransportContext.fatal(Unknown Source) ~[?:?]
at sun.security.ssl.SSLTransport.decode(Unknown Source) ~[?:?]
at sun.security.ssl.SSLSocketImpl.decode(Unknown Source) ~[?:?]
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source) ~[?:?]
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:?]
at sun.security.ssl.SSLSocketImpl.ensureNegotiated(Unknown Source) ~[?:?]
at sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source) ~[?:?]
at java.io.BufferedInputStream.fill(Unknown Source) ~[?:?]
at java.io.BufferedInputStream.implRead(Unknown Source) ~[?:?]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:?]
at com.predic8.membrane.core.transport.http.HttpServerHandler.run(HttpServerHandler.java:98) ~[service-proxy-core-5.1.19.jar:5.1.19]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: javax.crypto.BadPaddingException: Insufficient buffer remaining for AEAD cipher fragment (2). Needs to be more than tag size (16)
at sun.security.ssl.SSLCipher$T13CC20P1305ReadCipherGenerator$CC20P1305ReadCipher.decrypt(Unknown Source) ~[?:?]
at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(Unknown Source) ~[?:?]
at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source) ~[?:?]
... 13 more
This is a know issue in OpenJDK
See: https://bugs.openjdk.org/browse/JDK-8221218
We should update the Docker Image in Membrane 5.2.

I think we should also check for #562 in this case.

I could not reproduce it locally. Maybe it only happens with some server. We will change the base image of the dockerfile to a stable Java 17 and see.


Adding our own custom icons

It would be nice to be able to add our own custom icons.
Perhaps in settings one could upload SVGs to have them included in a user lib JS file or something.

It is now possible with the newest release 1.0.0 to add custom icons.


Fix panic in building h3 client when udp is forbidden

Fixed #1942

The msrv failure is unrelated to this PR.

@seanmonstar Can we merge this and have a new release please?
Thanks!

Thank you very much! There's a couple more PRs I'm going to merge, and then I'll push out a release.


Extend Vector to implement Queue and Stack, similarly to Java's ArrayDeque

Since Vector has symmetrical prepend-append and head-last operations, it's well suited for an ArrayDeque alternative.
The only required change is to add a peekFirst and peekLast operations to the corresponding interfaces -- otherwise peek would be ambiguous.
It's how the Deque interface does it also:
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8-b132/java/util/Deque.java#Deque.peekFirst()
I personally would unify the two interfaces slightly more: Java's Deque would be a good place to start.
See also: https://github.com/javaslang/javaslang/issues/1523
A draft PR has been provided for convenience: https://github.com/javaslang/javaslang/pull/1525

This would mix up our collections too much and confuse our users.
Our design goal is: choose the right collection for the right job. The collections are designed to do one thing best. There already is a Queue and List as Stack (where a linked list is a stack by definition, therefore Stack is not a Traversable).
We should close this issue.


Issue with Event Description

We need to modify past event descriptions as those events already happened and the description mentions the zoom link is provided.

Thank you for bringing this up. I have changed the descriptions of all the events.


Not an issue but looking for responses and thoughts

Hi all. Just wanted to bounce some thoughts to see if the following can be done/possible with the RTMP module.

Have a application with a deeper level. E.g. /live/category1/tag.

Add applications on the fly thus adding /live2 by calling a control module/json.

Store the video files on a remote CDN such as Amazon S3.

Pause a live stream, thus someone watching the live stream can hit pause and continue the feed.

Add additional meta-data to a live recording, thus when a publish starts a title, description etc etc can be added.

Look forward to some thoughts and feedback,

No
No
Yes, but not directly. use s3fs or any other virtual filesystem.
It's DVR. No.
Propably not, but maybe it's possible with AMF0

@misiek08 so 1 and 2 are defently not possible?

You can try /live/category1/tag as streams, because propably module with treat category1/tag as stream name and category1/tag, category1/tag2, category1/tag3 will be unique, but I'm not sure for now.

You can add only streams live, so /live/{here something new}

@misiek08 u on skype?

Not really, only if I really am forced to :)

If you wonna contact me, write e-mail. We can meet at Skype of course, but usually I don't have time to sit and speak, so for me it's better to text (even on Skype).

Ive also been looking at red5 which has the same functionality as nginx and is in java however was unable to connect with various clients. Could rtmp but adjusted to support chat?

What do you mean by 'chat'?


deploy/chart: etcd-operator bump to 0.9.4

Add 0.9.4 CSV for etcd-operator
Add 0.9.4-clusterwide CSV for etcd-operator

Signed-off-by: Sam Batschelet<EMAIL_ADDRESS>This replaces #172
/cc @hexfusion

Also, adding this CSV to the upstream-community-operators dir is recommended.

Clusterwide CSV tested against an OpenShift cluster. I'm able to create two CRs with the same name in different namespaces, and their resources are created properly.
/cc @danmcp

/cc @dmesser Any concerns with adding a clusterwide channel to etcd-operator for OperatorHub.io? This would be the first operator to use more than one channel, so I wanted to know your thoughts.

@SamiSousa @dmesser hi guys we would like to get 0.9.4 in the pipeline so QA can test. Anything else needed for this merge.


Generate signed URL for Google Cloud Storage with additional parameters in the URL

Is it possible to generate a signed URL for Google Cloud Storage with additional parameters made by us (such as X-Goog-OurParameter=Hello)? If so, will it be shown in the Storage log or Stackdriver Log?

@houglum is logging Signed URL requests part of scope for Audit Logs?

Friendly ping @houglum

A signed request is like a "regular" (i.e. OAuth2-token-authenticated) request, except that it's authenticated as the user that the signature's key belongs to -- it's as if that user made the request directly -- this applies to the logging logic too.  So if you couldn't do something (e.g. supply a random query param) with a "regular" request, then you couldn't do it with a signed request either.

Thanks @houglum, @ihsanhaikalz did find that information is logged in Access logs but not Audit Logs, is that also WAI?
@ihsanhaikalz you should be able to set custom query parameters now.
https://googleapis.dev/java/google-cloud-storage/latest/com/google/cloud/storage/Storage.SignUrlOption.html#withQueryParams-java.util.Map-

When you say "that information", do you mean the entire request is logged in an access log entry, but not an audit log entry?  Or that certain attributes of the request are visible in the access log entry but not the audit log entry?
If you meant the former, we don't publish audit logs for a request if the access was granted via the object's ACLs, rather than the parent bucket's IAM policy.

@frankyn Thanks very much for the info! I will try it out later and let you know
@houglum Actually  the signed URL or parts of the URL, such as https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Algorithm=
GOOG4-RSA-SHA256&......, is not logged in the Stackdriver log but it is logged in Access Storage log. As a customer, I think it will be interesting to know how does the user access the object in the bucket.

I think @houglum is following up on this, but not sure if there's an update from his side.

Discussed this a bit today; going to let Frank try to make a clean repro of this with screenshots, provided-vs-expected values, and the whole shebang. This will give us a bug to track internally to remedy any issues.

Hi @houglum,
I repro'd the issue by doing the following (You need to use an external GCP Project as internal GCP projects will not generate Access Logs):

Enabling Cloud Audit.
Enabling Access logs.
I exercised the Python sample to generate a GET Signed URL.

from google.cloud import storage
import datetime

def generate_download_signed_url_v4(bucket_name, blob_name):
    """Generates a v4 signed URL for downloading a blob.

    Note that this method requires a service account key file. You can not use
    this if you are using Application Default Credentials from Google Compute
    Engine or from the Google Cloud SDK.
    """
    # bucket_name = 'your-bucket-name'
    # blob_name = 'your-object-name'

    storage_client = storage.Client()
    bucket = storage_client.bucket(bucket_name)
    blob = bucket.blob(blob_name)

    url = blob.generate_signed_url(
        version="v4",
        # This URL is valid for 15 minutes
        expiration=datetime.timedelta(minutes=15),
        # Allow GET requests using this URL.
        method="GET",
    )

    print("Generated GET signed URL:")
    print(url)
    print("You can use this URL with any user agent, for example:")
    print("curl '{}'".format(url))
    return url

I executed the request ~10x (no longer works):

curl "https://coderfrank-website.storage.googleapis.com/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=my-access-logs-project%40appspot.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T024857Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=45fa66942d197b8f3b6e17cd9f44347796a6a962bcb9473259784abca91b21b9b9144e5dd4fc9aab75e35759d504f0ea3a40d725e950f8f78a40de3162fe9554ab4bafd53b92cb55680c124def64954fcfb18e8eb243404f4f2f76a21a0209833202d458f6a3f11f259e9dddb62b4d2b96ba3ade3b2c521702abd6751d85f879e6ba799b88d27b9f8f0c1ef7cf26bd6a18f9d1b517942dbd5455a0be7c8c59e7a8c975ff8df6c3b20edd1b27aab1787dbc17dff12737ef8200e905bf6dcecf6c784142558a0ebca7a703aa4cfe16df14f8fb88469f6691c346deb45594f8dbc1318b1195835b01e31d6f409f08d053f5aa91f8ffdec3afe5ded9ffa15e68052c"

After waiting for data to be generated in my Access Logs bucket (takes about ~1.5 hours). In my logs bucket I found the following object logs__usage_2020_05_06_02_00_00_077f2cf1be89d037ba_v0 with contents:

"time_micros","c_ip","c_ip_type","c_ip_region","cs_method","cs_uri","sc_status","cs_bytes","sc_bytes","time_taken_micros","cs_host","cs_referer","cs_user_agent","s_request_id","cs_operation","cs_bucket","cs_object"
"1588731313422244","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=storage-python%40spec-test-ruby-samples.iam.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T020710Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=4dcf5ead000de13d0ed2384a2e0c2b5ad2db4f6550f348d109b0f30163d1548f3ddb56b35c3a1afd0cd63514654975ed4c3c6b180c257bd4d8eb855e3316258ad0784b1c2a644b31877eb787a265e661942b28de2321f15a470f68588b9a98acf03abd76fd976974cd6ab22ae38124c75982d489790b831ed730cf3351fa0336ad6f76f310ceebb3dd05e26e9ea86ceb8d8241fb91a0c95b6c8bdd91f852bd6c24bcdd4d6d8e3f15a09e9c60d9ebd6dfd8915a26a05832e943f0cfbb07f50f933c199e08adc0789b75a289503a3a9caa0019ab388bd8dbd79f9ac05dab621d3eecaf56719eba883d531f1ea01702e94b980b42a72581c1de69b41c4e76d89985","200","0","761","35000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUn5wIg5PWltdy4N70lQTS_LuC6gjrlhwZKDw5ennYgnMfRcIVMooH1bCa-IHUJD1ApfyD_gw-OePBnGnU_8LGE","GET_Object","coderfrank-website","index.html"
"1588731311966915","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=storage-python%40spec-test-ruby-samples.iam.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T020710Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=4dcf5ead000de13d0ed2384a2e0c2b5ad2db4f6550f348d109b0f30163d1548f3ddb56b35c3a1afd0cd63514654975ed4c3c6b180c257bd4d8eb855e3316258ad0784b1c2a644b31877eb787a265e661942b28de2321f15a470f68588b9a98acf03abd76fd976974cd6ab22ae38124c75982d489790b831ed730cf3351fa0336ad6f76f310ceebb3dd05e26e9ea86ceb8d8241fb91a0c95b6c8bdd91f852bd6c24bcdd4d6d8e3f15a09e9c60d9ebd6dfd8915a26a05832e943f0cfbb07f50f933c199e08adc0789b75a289503a3a9caa0019ab388bd8dbd79f9ac05dab621d3eecaf56719eba883d531f1ea01702e94b980b42a72581c1de69b41c4e76d89985","200","0","761","35000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUnRDPftqMF3xJZojaDgZLpX4b6IDKEiPOXyeEA6IBK1VZQ72NuJ4PcMe-CSguEfWCrTbHqOr7WgdNPvPaCNgOg","GET_Object","coderfrank-website","index.html"
"1588731314158422","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=storage-python%40spec-test-ruby-samples.iam.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T020710Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=4dcf5ead000de13d0ed2384a2e0c2b5ad2db4f6550f348d109b0f30163d1548f3ddb56b35c3a1afd0cd63514654975ed4c3c6b180c257bd4d8eb855e3316258ad0784b1c2a644b31877eb787a265e661942b28de2321f15a470f68588b9a98acf03abd76fd976974cd6ab22ae38124c75982d489790b831ed730cf3351fa0336ad6f76f310ceebb3dd05e26e9ea86ceb8d8241fb91a0c95b6c8bdd91f852bd6c24bcdd4d6d8e3f15a09e9c60d9ebd6dfd8915a26a05832e943f0cfbb07f50f933c199e08adc0789b75a289503a3a9caa0019ab388bd8dbd79f9ac05dab621d3eecaf56719eba883d531f1ea01702e94b980b42a72581c1de69b41c4e76d89985","200","0","761","34000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUnNR0A2Ulx56Yy4Yb_HkhgpGfOQlYTVhR2_TnzNfxrPEgU4BDrCoeRtzEvWJE39Tp47eARH1IXOhxjPOssXQ3w","GET_Object","coderfrank-website","index.html"
"1588731340756329","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=storage-python%40spec-test-ruby-samples.iam.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T020710Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=4dcf5ead000de13d0ed2384a2e0c2b5ad2db4f6550f348d109b0f30163d1548f3ddb56b35c3a1afd0cd63514654975ed4c3c6b180c257bd4d8eb855e3316258ad0784b1c2a644b31877eb787a265e661942b28de2321f15a470f68588b9a98acf03abd76fd976974cd6ab22ae38124c75982d489790b831ed730cf3351fa0336ad6f76f310ceebb3dd05e26e9ea86ceb8d8241fb91a0c95b6c8bdd91f852bd6c24bcdd4d6d8e3f15a09e9c60d9ebd6dfd8915a26a05832e943f0cfbb07f50f933c199e08adc0789b75a289503a3a9caa0019ab388bd8dbd79f9ac05dab621d3eecaf56719eba883d531f1ea01702e94b980b42a72581c1de69b41c4e76d89986","403","0","801","261000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUkU3cALtDwIkQ8792LkeehTIh8HdCRbCfdaJA8aKflaixEt96tZt6P-Ob6AhIjIUKBvHSEnVU_vgv9jVQZ1phM","GET_Object","coderfrank-website","index.html"
"1588733273635349","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=storage-python%40spec-test-ruby-samples.iam.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T020710Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=4dcf5ead000de13d0ed2384a2e0c2b5ad2db4f6550f348d109b0f30163d1548f3ddb56b35c3a1afd0cd63514654975ed4c3c6b180c257bd4d8eb855e3316258ad0784b1c2a644b31877eb787a265e661942b28de2321f15a470f68588b9a98acf03abd76fd976974cd6ab22ae38124c75982d489790b831ed730cf3351fa0336ad6f76f310ceebb3dd05e26e9ea86ceb8d8241fb91a0c95b6c8bdd91f852bd6c24bcdd4d6d8e3f15a09e9c60d9ebd6dfd8915a26a05832e943f0cfbb07f50f933c199e08adc0789b75a289503a3a9caa0019ab388bd8dbd79f9ac05dab621d3eecaf56719eba883d531f1ea01702e94b980b42a72581c1de69b41c4e76d89986","403","0","801","501000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUmfeyvwBtOdwkkEjwf3BV2g0vEIH1wwIDPZAHKAHT1x07dZpFdwOQ_nrE41-EF1VA-zF5ZoeG8xTKIcauEHjWs","GET_Object","coderfrank-website","index.html"
"1588733283905037","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=storage-python%40spec-test-ruby-samples.iam.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T020710Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=4dcf5ead000de13d0ed2384a2e0c2b5ad2db4f6550f348d109b0f30163d1548f3ddb56b35c3a1afd0cd63514654975ed4c3c6b180c257bd4d8eb855e3316258ad0784b1c2a644b31877eb787a265e661942b28de2321f15a470f68588b9a98acf03abd76fd976974cd6ab22ae38124c75982d489790b831ed730cf3351fa0336ad6f76f310ceebb3dd05e26e9ea86ceb8d8241fb91a0c95b6c8bdd91f852bd6c24bcdd4d6d8e3f15a09e9c60d9ebd6dfd8915a26a05832e943f0cfbb07f50f933c199e08adc0789b75a289503a3a9caa0019ab388bd8dbd79f9ac05dab621d3eecaf56719eba883d531f1ea01702e94b980b42a72581c1de69b41c4e76d89985","200","0","761","32000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUlyMNPopNCLpA9RJ742N6pRAanBv3S-uoZctapO69neTDobl9lcHHshgkFUmaJRdSVX9TEqDMPTpsiydxAxgRQ","GET_Object","coderfrank-website","index.html"
"1588733283295366","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=storage-python%40spec-test-ruby-samples.iam.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T020710Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=4dcf5ead000de13d0ed2384a2e0c2b5ad2db4f6550f348d109b0f30163d1548f3ddb56b35c3a1afd0cd63514654975ed4c3c6b180c257bd4d8eb855e3316258ad0784b1c2a644b31877eb787a265e661942b28de2321f15a470f68588b9a98acf03abd76fd976974cd6ab22ae38124c75982d489790b831ed730cf3351fa0336ad6f76f310ceebb3dd05e26e9ea86ceb8d8241fb91a0c95b6c8bdd91f852bd6c24bcdd4d6d8e3f15a09e9c60d9ebd6dfd8915a26a05832e943f0cfbb07f50f933c199e08adc0789b75a289503a3a9caa0019ab388bd8dbd79f9ac05dab621d3eecaf56719eba883d531f1ea01702e94b980b42a72581c1de69b41c4e76d89985","200","0","761","36000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUlBUFlds7pHHfXuDlw-aN3j-GkxChkp9encHaAGW5wbPnV1WDMXaY8U-LdIIzhHiwSZOvDI9CJmaUJjkSxhxgU","GET_Object","coderfrank-website","index.html"
"1588733284536158","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=storage-python%40spec-test-ruby-samples.iam.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T020710Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=4dcf5ead000de13d0ed2384a2e0c2b5ad2db4f6550f348d109b0f30163d1548f3ddb56b35c3a1afd0cd63514654975ed4c3c6b180c257bd4d8eb855e3316258ad0784b1c2a644b31877eb787a265e661942b28de2321f15a470f68588b9a98acf03abd76fd976974cd6ab22ae38124c75982d489790b831ed730cf3351fa0336ad6f76f310ceebb3dd05e26e9ea86ceb8d8241fb91a0c95b6c8bdd91f852bd6c24bcdd4d6d8e3f15a09e9c60d9ebd6dfd8915a26a05832e943f0cfbb07f50f933c199e08adc0789b75a289503a3a9caa0019ab388bd8dbd79f9ac05dab621d3eecaf56719eba883d531f1ea01702e94b980b42a72581c1de69b41c4e76d89985","200","0","761","38000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUlU8U4cvLCMw4Sfxk6GQsJPWqcqVCyqXh7dgVA8Q2ADLq0wqK47i1WTBNfI_zgRYSPfLuisL_sXOPflGKuO1ps","GET_Object","coderfrank-website","index.html"
"1588733353589420","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=my-access-logs-project%40appspot.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T024857Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=45fa66942d197b8f3b6e17cd9f44347796a6a962bcb9473259784abca91b21b9b9144e5dd4fc9aab75e35759d504f0ea3a40d725e950f8f78a40de3162fe9554ab4bafd53b92cb55680c124def64954fcfb18e8eb243404f4f2f76a21a0209833202d458f6a3f11f259e9dddb62b4d2b96ba3ade3b2c521702abd6751d85f879e6ba799b88d27b9f8f0c1ef7cf26bd6a18f9d1b517942dbd5455a0be7c8c59e7a8c975ff8df6c3b20edd1b27aab1787dbc17dff12737ef8200e905bf6dcecf6c784142558a0ebca7a703aa4cfe16df14f8fb88469f6691c346deb45594f8dbc1318b1195835b01e31d6f409f08d053f5aa91f8ffdec3afe5ded9ffa15e68052c","200","0","761","31000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUlI2vZXy_tqs6vPLi0Xp5Yshv0nD0V7MMYqrkNLD1JxXHfl2gh0PY3XSX65ovOzaHRbWqEjx45pTZU835mvuho","GET_Object","coderfrank-website","index.html"
"1588733353215866","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=my-access-logs-project%40appspot.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T024857Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=45fa66942d197b8f3b6e17cd9f44347796a6a962bcb9473259784abca91b21b9b9144e5dd4fc9aab75e35759d504f0ea3a40d725e950f8f78a40de3162fe9554ab4bafd53b92cb55680c124def64954fcfb18e8eb243404f4f2f76a21a0209833202d458f6a3f11f259e9dddb62b4d2b96ba3ade3b2c521702abd6751d85f879e6ba799b88d27b9f8f0c1ef7cf26bd6a18f9d1b517942dbd5455a0be7c8c59e7a8c975ff8df6c3b20edd1b27aab1787dbc17dff12737ef8200e905bf6dcecf6c784142558a0ebca7a703aa4cfe16df14f8fb88469f6691c346deb45594f8dbc1318b1195835b01e31d6f409f08d053f5aa91f8ffdec3afe5ded9ffa15e68052c","200","0","761","35000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUlir21o5Inv99OglXRntJppFt-3MzTixTM6hjmpJcSB_oVPe2ZZiKFmOW88bWoOam0XrCohUb_dZu1GpRnXiek","GET_Object","coderfrank-website","index.html"
"1588733357040002","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=my-access-logs-project%40appspot.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T024857Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=45fa66942d197b8f3b6e17cd9f44347796a6a962bcb9473259784abca91b21b9b9144e5dd4fc9aab75e35759d504f0ea3a40d725e950f8f78a40de3162fe9554ab4bafd53b92cb55680c124def64954fcfb18e8eb243404f4f2f76a21a0209833202d458f6a3f11f259e9dddb62b4d2b96ba3ade3b2c521702abd6751d85f879e6ba799b88d27b9f8f0c1ef7cf26bd6a18f9d1b517942dbd5455a0be7c8c59e7a8c975ff8df6c3b20edd1b27aab1787dbc17dff12737ef8200e905bf6dcecf6c784142558a0ebca7a703aa4cfe16df14f8fb88469f6691c346deb45594f8dbc1318b1195835b01e31d6f409f08d053f5aa91f8ffdec3afe5ded9ffa15e68052c","200","0","762","35000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUk4omu8a5f7LQhtGRHYDvw48hmSA3g7m0DBvcvnOWmrx_6KlGtIPQKQnEqXMWe-ySHtUKfAIjCy_y9kY4pYHOo","GET_Object","coderfrank-website","index.html"
"1588733357450361","2601:646:9680:6300::12eb","2","","GET","/index.html?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=my-access-logs-project%40appspot.gserviceaccount.com%2F20200506%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20200506T024857Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&extra-parameter=extra-value&x-goog-signature=45fa66942d197b8f3b6e17cd9f44347796a6a962bcb9473259784abca91b21b9b9144e5dd4fc9aab75e35759d504f0ea3a40d725e950f8f78a40de3162fe9554ab4bafd53b92cb55680c124def64954fcfb18e8eb243404f4f2f76a21a0209833202d458f6a3f11f259e9dddb62b4d2b96ba3ade3b2c521702abd6751d85f879e6ba799b88d27b9f8f0c1ef7cf26bd6a18f9d1b517942dbd5455a0be7c8c59e7a8c975ff8df6c3b20edd1b27aab1787dbc17dff12737ef8200e905bf6dcecf6c784142558a0ebca7a703aa4cfe16df14f8fb88469f6691c346deb45594f8dbc1318b1195835b01e31d6f409f08d053f5aa91f8ffdec3afe5ded9ffa15e68052c","200","0","762","33000","coderfrank-website.storage.googleapis.com","","curl/7.67.0,gzip(gfe)","AAANsUnOcuRL2g8QxiRZCAdrbdmPpJmTGxkwFBiJQfXMbfb50atnfqngSXRM0nzf78dK5a-SRLt-6VIGc1FZNz7n-4M","GET_Object","coderfrank-website","index.html"

Comparing against Cloud Audit Logs:
gcs_bucket__logs__2020-05-05T09-04.txt

Conclusion
Cloud Audit Logs doesn't log Signed URL requests, but Access Logs does log the full URI. If the request happens right before Access Logs are generated or expiration is in terms of multiple hours then Signed URLs can be valid.

Hi @ihsanhaikalz,
Chatted with backend team and the consensus is that Audit Logs will not log this level of information for Signed URLs given potential security risks. Access Logs is the only path right now.
Closing issue given this information. Please feel free to reopen if this did not answer your question. Thank you for your patience.

Just a heads up, we ended up discovering that the request not showing up in Cloud Audit Logging was due to the object being public (readable/updatable by the "AllUsers" principal).  This is mentioned in the docs:

Cloud Audit Logs does not track access to public objects.

I just verified that accessing an non-public object through a V4 signed URL does indeed generate a Cloud Audit Logging data access log entry.  Note, however, that these records do not show query parameters by default; you'd have to have Detailed Audit Logging Mode enabled to have those show up.


A couple samples

This PR contains 2 samples based on the SVM and NNET APIs, plus a README.md, as we discussed the thing together.
The PR attempts to address the couple points we discussed in this thread so far.
Note the NNET sample is not the easiest we can do, but I have tried to make it a bit exciting (as in "meaningful") as well as self-contained.

This is really fantastic stuff, thank you!
I have a couple minor comments on the nnet example (as line-notes). Otherwise this is ideal!
One last thought - is it worth us updating the .travis.yml to build these examples? I'm genuinely not sure - but it may be good to ensure they always compile? (Emphasis on build as running the examples could lead to very slow CI).

@ic - I just saw that you merged master into the PR (thanks!).
Before merging this PR I was waiting on a response to some of my previous comments. I'm actually pretty happy with the PR as it is if you don't have the time to add more. Let me know if you want to make any more tweaks and if not I'll merge this and start playing with a few more examples/tutorials of my own!

@AtheMathmo Sorry, I have tried to take some time earlier to improve according to your comments. No time yet :-( But I am keen to continue (well, I can't use Rust at work for now, but I see good reasons to).

@ic - no problem at all. No need to rush - just wanted to check that you were happy to make the changes yourself.
Take your time :)

As for Travis, is it possible to spawn a separate build just for the examples? This would avoid slowing down the main test suite, as the examples are slower.

@ic - I'm not sure about spawning up a new build on travis. I imagine it would be possible by playing around with the build matrix.
I think it may be a good idea to get this PR merged without worrying about the CI for now. I can create a ticket to track the travis stuff in the mean time.
Thanks for these examples - it's a really fantastic start!

@ic - Turns out cargo test will automatically build the examples directory but not run it. This is pretty ideal. Looks like we wont need to do any additional travis magic!

Oh, yes! I remember reading that in the docs. This is really ideal.


Initial SSH key no longer works after upgrade.

Is this a request for help?:
Yes
Is this an ISSUE or FEATURE REQUEST? (choose one):
Issue
What version of acs-engine?:

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.8.9
What happened:
Using acs-engine to upgrade the k8 1.8.9 to 1.9.6 version, the azureuser_rsa SSH key no longer works to access the nodes after the upgrade.
What you expected to happen:
I could still utilize the same azureuser_rsa SSH key to access the k8 nodes.
How to reproduce it (as minimally and precisely as possible):
Deploy a k8 cluster with acs-engine, then upgrade the clusters minor version using the acs-engine upgrade param.
Anything else we need to know:
There doesn't seem to be a acs-engine param to instruct the process to use the same SSH key. The "--private-key-path" param looks to be only associated with CA certs

Hi @phillipgibson, when you first deployed your cluster, was the ssh key part of your apimodel?

Sorry for the delay :). It was not, I had it autogen.


fix(legacy): improve deterministic build of the polyfill bundle by sorting the polyfills discovered by babel

Description
The polyfill bundle generated by the legacy plugin is non deterministic, because the order of calling renderChunk() affects the input of the finally generated polyfill bundle.
This PR solves this issue by sorting the polyfills in need discovered by babel. The polyfills added directly from the plugin configuration is kept ordered the first, same as before.
Previously, https://github.com/vitejs/vite/issues/13672#issuecomment-1784594387 mentioned this issue.

Could we sort (and convert to array for) the polyfills before these two spots instead?
https://github.com/vitejs/vite/blob/232265783670563e34cf96240bf0e383a3653e6c/packages/plugin-legacy/src/index.ts#L269-L273
https://github.com/vitejs/vite/blob/232265783670563e34cf96240bf0e383a3653e6c/packages/plugin-legacy/src/index.ts#L306-L310
We can then pass the sorted array to buildPolyfillChunk() below them and it should be deterministic?

Hi, thanks for your review. It could be simpler to directly sort the array here. However, I think the ordering of polyfill groups should be kept as before. Originally, the corejs polyfills specified in options.{modern,legacy}Polyfills comes the first, followed by those specified in additional{Modern,Legacy}Polyfills, and those discovered by babel. If we directly sort the combined polyfills list, this ordering will be broken, and some projects may rely on this to work properly. This proposed change keeps this ordering, and only sort the polyfills generated by babel.

Also some issues with the CI. I found that the CI sometimes fails on tests not related with legacy plugin.
See:

https://github.com/vitejs/vite/actions/runs/8898734707
https://github.com/vitejs/vite/actions/runs/8898145152
https://github.com/vitejs/vite/actions/runs/8897869249

They should be running on the same changes, but I have no idea why some of the tests failed

Yeah I'd ignore the CI fails that aren't related to plugin-legacy. It's flaky lately.

If we directly sort the combined polyfills list, this ordering will be broken, and some projects may rely on this to work properly.

I did some digging and found https://github.com/babel/babel-polyfills/issues/192. So it seems like some order matters and presumably babel-preset-env will respect that when it returns. But in your PR, you're sorting the list too, which is incorrect?
In which case, the current behaviour is safer wrt ordering. Otherwise it's better to sort the entire array based based on core-js-compat/modules.json instead?

Ah, thanks for pointing it out. I'll see how to make the polyfill list stable and following the correct ordering requirement.

This issue is addressed by adding a circle breaking mechanism.

Thanks for the great job. Really looking forward to this fix.

Thanks for investigating this @shankerwangmiao. Seems like babel-preset-env might have a bug with the ordering but I can't find out why.
From the current implementation, I don't understand why we need a complex sorting algorithm to sort it though. Why not do a single final sort based on core-js-compat/modules.json? The sort function should be something like this.

From the current implementation, I don't understand why we need a complex sorting algorithm to sort it though. Why not do a single final sort based on core-js-compat/modules.json? The sort function should be something like this.

Because there is no insurance that someday babel won't add other polyfill dependency from other packages, I believe not directly relying on the core-js-compat/modules.json, but relying on solely the output of babel would be a better approach.

If babel adds another polyfill, wouldn't that still be fine? It shouldn't be having a specific order if it's not core-js, but if it needs a specific order, we can add it later too.
Perhaps what I don't understand too is that, if babel-preset-env outputs imports that aren't in the correct order, how does a sorting algorithm fix into a correct order, and especially would always respect core-js-compat/modules.json without reading it?
I can see that it's in the correct order now locally, but will it always be in the correct order if, let's say, there's only one chunk which babel outputs in an incorrect order?

If babel adds another polyfill, wouldn't that still be fine? It shouldn't be having a specific order if it's not core-js, but if it needs a specific order, we can add it later too.
Perhaps what I don't understand too is that, if babel-preset-env outputs imports that aren't in the correct order, how does a sorting algorithm fix into a correct order, and especially would always respect core-js-compat/modules.json without reading it?
I can see that it's in the correct order now locally, but will it always be in the correct order if, let's say, there's only one chunk which babel outputs in an incorrect order?

The basic assumption is that the ordering given by babel is (or should be) always right, no matter whether the polyfills are from core-js  or other sources. We utilize this information rather than the information from core-js-compat/modules.json to keep all the polyfills in the correct order. The "correct order" means that if a polyfill A comes before B in a chunk, A will come before B in the final output; if a polyfill A and a polyfill B never appear in the same chunk, there will be no ordering constrain between them.

Even if babel is correctly outputting in the right order today, there's still the problem where additionalModernPolyfills or additionalLegacyPolyfills get merged and there are not in the right order. Having in the incorrect order is very unlikely to be intended, so we should also sort and fix it up.
I get that fixing the ordering issue wasn't the initial goal of this PR, it was to only make it deterministic. But knowing now  that the bug exist, and the way to solve this is to sort based on core-js-compat/modules.json, we can do that directly to kill two birds with one stone? Otherwise we have to followup with another PR that does that.

You are right about this. My original point is to only keep the output deterministic, not to solve the ordering issue.
If we sort according to core-js-compat/modules.json, what if the user choose to include polyfills from other than those provided by core-js in additional*Polyfills? Also, currently, additional*Polyfills comes before the polyfills imported by babel, what if the user relies on the ordering?

What I had in mind is that, if there's any polyfills that aren't within core-js-compat/modules.json, then we keep the ordering as-is. However, it is more complex I think 🤔 For example:
// es.array.slice must be before es.object.keys

// Case 1:
const additional =  ['core-js/modules/es.array.slice.js', 'something-else.js']
const babel = ['core-js/modules/es.object.keys.js']
const result = ['core-js/modules/es.array.slice.js', 'something-else.js', 'core-js/modules/es.object.keys.js']

// Case 2:
const additional =  ['core-js/modules/es.object.keys.js', 'something-else.js']
const babel = ['core-js/modules/es.array.slice.js']
const result = ['core-js/modules/es.array.slice.js', 'core-js/modules/es.object.keys.js', 'something-else.js']
// Move es.array.slice before es.object.keys

I'm not sure if a .sort algorithm would be enough to do the trick, but I think keeping the basic idea of moving things to the front should make sure non-corejs modules are not simply moved entirely to last. In other words, non-corejs modules if it has another polyfill before it, there shouldn't be something injected between them. I might need to think about this more.

I guess a simple sort is not enough. Maybe we need topology sorting. However, I have no idea on how to deal with contradictory ordering constrains.

I guess a simple sort is not enough. Maybe we need topology sorting. However, I have no idea on how to deal with contradictory ordering constrains.

Maybe a sorting algorithm is enough. This will just sort the polyfill import statement

I had a few ideas recently to solve the ordering issue, but all are quite complex. @shankerwangmiao I'm happy to solve the deterministic issue for now, but I think we could simplify the implementation.
The forth argument of renderChunk has meta.chunks. This object is properly ordered. On the first renderChunk call, we can create a map like this:
chunkFileNameToPolyfills = new Map<string, { modern: Set<string>, legacy: Set<string> }>();
for (const fileName in meta.chunks) {
  chunkFileNameToPolyfills.set(fileName,  { modern: new Set(), legacy: new Set() }
}

And then later on the code in renderChunk will always only populate the sets in chunkFileNameToPolyfills. And finally in generateBundle, we can iterate chunkFileNameToPolyfills and combine it all back into the main modernPolyfills and legacyPolyfills. What do you think?

I had a few ideas recently to solve the ordering issue, but all are quite complex. @shankerwangmiao I'm happy to solve the deterministic issue for now, but I think we could simplify the implementation.
The forth argument of renderChunk has meta.chunks. This object is properly ordered. On the first renderChunk call, we can create a map like this:
chunkFileNameToPolyfills = new Map<string, { modern: Set<string>, legacy: Set<string> }>();
for (const fileName in meta.chunks) {
  chunkFileNameToPolyfills.set(fileName,  { modern: new Set(), legacy: new Set() }
}

And then later on the code in renderChunk will always only populate the sets in chunkFileNameToPolyfills. And finally in generateBundle, we can iterate chunkFileNameToPolyfills and combine it all back into the main modernPolyfills and legacyPolyfills. What do you think?

modernPolyfills and legacyPolyfills is just used for generate a file like
import "core-js/modules/es.regexp.exec.js";import "core-js/modules/es.regexp.test.js";import "core-js/modules/es.regexp.to-string.js";import "core-js/modules/es.string.match.js";import "core-js/modules/es.string.replace.js";

#16668

@Huodoo please read the above discussion, particularly https://github.com/vitejs/vite/pull/16566#issuecomment-2089513643. The import order matters.

ping @bluwy

I'm not sure if I missed something, but I pushed a refactor implementing https://github.com/vitejs/vite/pull/16566#issuecomment-2109604092 which I felt was simpler and has less memory-copying with the data structures. I also confirmed that the discovered modern and legacy polyfills were still the same order.

I'm not sure if I missed something, but I pushed a refactor implementing #16566 (comment) which I felt was simpler and has less memory-copying with the data structures. I also confirmed that the discovered modern and legacy polyfills were still the same order.

I also implemented that in 37c344f, before I pinged you. I think your implementation is better. I've tested the refactored version and the output remains the same.
I wonder if we are ready to have it merged.

@sapphi-red I think at the moment we had discovered that Babel doesn't necessarily return the polyfills in the right order, and there's definitely a chance the order is incorrect due to different chunks that can contain different code. But in my comment I figured that it's easier to tackle this deterministic issue first and figure out the ordering later as it can be tricky to sort with non corejs modules (sorry for the long discussion here).


Weighted mean of masked dask array does not apply mask to weights

import dask.array as da
import numpy as np

my_arr = np.array(range(10))
my_mask = [True, True, True, False, False, False, False, False, False, False]
my_weights = np.array([100, 100, 2, 2, 1, 1, 1, 1, 1, 1], dtype='float64')
my_masked_arr = np.ma.array(my_arr, mask=my_mask)

print("numpy weighted masked avg (unmasked weights): ", ma.average(my_masked_arr, weights=my_weights))

my_masked_dask_arr = da.ma.masked_array(data=my_arr, mask=my_mask)
print("dask weights masked avg (unmasked weights): ", da.average(my_masked_dask_arr, weights=my_weights).compute())

my_masked_weights = ma.masked_array(my_weights, my_mask)
print("dask weights masked avg (weights): ", da.average(my_masked_dask_arr, weights=my_masked_weights).compute())

gives this output
numpy weighted masked avg (unmasked weights):  5.625
dask weights masked avg (unmasked weights):  0.214285714286
dask weights masked avg (weights):  5.625

Upon further investigation it seems that the weights are normalised by dask, but that normalisation doesn't take into account the array mask.
i.e. this line
https://github.com/dask/dask/blob/e823ecf51032ea7e4d57687a91d788cfb28e36ac/dask/array/routines.py#L1293
I'm not sure how to fix this - I don't think one has access to the mask without realising all the data, so the weight normalisation can't happen lazily(?) Maybe the way to solve this is to specify that the weights array must be masked by the user before being passed - this would make the API different to numpy.

@dkillick

@jcrist according to @bjlittle

I agree that @jcrist is likely the person who best knows the situation here.  However, if the fix is feasible and not too crazy then I suggest that @jcrist helps someone in the Met office implement the fix, rather than fixing it directly.  I think that it would be good to start transferring knowledge over to you all if you're up for some work.

So the above example is using np.ma.average (a masked implementation), but da.average (not a masked implementation). Looks like all that's needed is a masked port. I'd handle this by doing the following:

Look at how np.ma.average differs from np.average
Port over np.ma.average to use dask functions (for da.average it was mostly just replacing numpy functions with their dask equivalents)
See what shared functionality there can be between da.average and da.ma.average. On first glance it looks to be as simple as masking the weights and then forwarding to da.average.

I agree with @mrocklin that this would be a good first issue if anyone wants to take a try at it.

@mrocklin I think a number of us here are keen to know dask as more than users 👍

See what shared functionality there can be between da.average and da.ma.average. On first glance it looks to be as simple as masking the weights and then forwarding to da.average.

After looking at all three functions I agree that there does not seems to happen any more magic in the masked version and passing the masked weights should be all that is required. Actually I am somewhat surprised that numpy does not do this internally as well...

There is a slightly difference between np.average and np.ma.average. In the second on, before computing the sum of weights, there is a:
if m is not nomask:
    wgt = wgt*(~a.mask)

It's quite simple to sum the weights taking into account the mask. It will be great if we have a way to determine if a dask array is a masked_array, i.e. a nomask dask equivalent.
I pushed a work in progress branch with a unit test. This is the first step of the PR: reproduce the issue. https://github.com/garaud/dask/commit/b332d9e2b9770bb93c61a75896bc383f48bee4ee


passcode prompt - updated design

What would you like to be added:

[ ] Updated main title (for Transactions, use Sign Transaction, for others (e.g, Passphrase) - use Enter Passcode)
[ ] Success screen - to be shown for 2 seconds once a transaction has been signed successfully
[ ] Keep the transaction preview

Why is this needed:

Hey guys, please see attached for the updated copy.

The intent here is to reuse the signature component but contextualize for clarity of the user's journey. We have two types of journey,:

Signing Transactions – authorizing transactions to proceed, what we have currently
Access verification – verify access of users to restricted features for security. An updated copy is added for this.

Let me know if there's any clarification or questions
@thedoublejay @pierregee

Thanks for the clear explanation! 💪  Will adjust the PR as accordingly!

Acceptance Criteria: Updated UI for Sign to verify access
Android:

[ ] Send > sign with passcode > success screen displayed for 2 seconds > check that transaction preview remains
[ ] Add LP > sign with passcode > success screen displayed for 2 seconds > check that transaction preview remains
[ ] Remove LP > sign with passcode > success screen displayed for 2 seconds > check that transaction preview remains

iOS:

[ ] Send > sign with passcode > success screen displayed for 2 seconds > check that transaction preview remains
[ ] Add LP > sign with passcode > success screen displayed for 2 seconds > check that transaction preview remains
[ ] Remove LP > sign with passcode > success screen displayed for 2 seconds > check that transaction preview remains

@kyleleow Yeah, it's important users are able to cancel and stay in control over their transactions.
Do you have a screenshot to how it looks now with it being un-clickable? I was imaging the close button is not necessarily un-clickable across the transaction signing modal.

@jtlntno-cake it could be a grey out cross icon or a spinner like in GitHub,


Update dashboard copy text

@hanningni please review. Note that this is not final text, but should be good enough for a demo.

:+1:


Seguir client addFollower does not use timestamp

Since timestamp is not in the server api, should we remove it from the client?
https://github.com/cliftonc/seguir/blob/master/client/index.js#L364

Bit of an oversight - turns out all of the api's that take timestamp as an input on the client actually ignore it ...
https://github.com/cliftonc/seguir/blob/master/server/index.js#L389
https://github.com/cliftonc/seguir/blob/master/server/index.js#L616
https://github.com/cliftonc/seguir/blob/master/server/index.js#L527
We should remove timestamp from all of the client APIs.

Resolved by https://github.com/cliftonc/seguir/commit/c5bb6ffd80db39c0d2c35a2c0065dfd4d9c8eee3


Broken link

This link is broken and appears to have been a placeholder all along.
https://github.com/International-Data-Spaces-Association/ids-specification/blob/e464d64f421a4e95abaeb45ab88991c8a80a3546/catalog/catalog.binding.https.md?plain=1#L7

#184 rewrites this line.

I'll keep this issue open until the PR is merged.


Specify multiple inputs to be signed to psbtsigner

This is to be discussed, but it would be cool to sign multiple inputs of the psbt in just one command. Maybe we should sign every input, unless otherwise specified? Maybe we should be able to specify a range?
(I tried to sign a 15-inputs PSBT and I got so bored that I avoided the spend altogether...)

Closing in favour of https://github.com/revault/revaultd/issues/358


Serializable Qobj + Pass cpp/projectq simulator tests

I realized that the previous PR merge broke our c++ simulator and projectq simulators. It was probably not picked up by automated testing as these 2 simulators were not installed (in the future we should make sure not many tests are skipped on Travis).
The problem was with the Qobj dictionary created. The value for thebackend field was a Backend instance, but this is not valid JSON and those simulators that expect and decode JSON will throw errors. I made this point to the backend string, but included a copy of the instance in the QuantumJob wrapper. Going forward, this will be part of the Qobj object.
Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I'm dreaming with the day QObj is an actual class and not a dictionary :)

@ajavadia will be soon.


ci: BiDi server logs only when test fail

When running npm run e2e we only collect Chromium-BiDi log when the test fails rather then all the time.
This reduces the overall size of logs to just a few KB compare to 7-8MB  previously, also this improves readability.

Could you please add more detailed description? And consider update readme

@sadym-chromium It does log CDP logs - https://github.com/GoogleChromeLabs/chromium-bidi/blob/main/tools/bidi-server.mjs#L118


Link to gitlab job need to be behind figure at left side

Integrated in RobotFramework AIO 0.13.0


⚠ ClamAV has degraded performance

In f199528, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 446 ms

Resolved: ClamAV performance has improved in e1bcde4.


typo: includes/virtual-machines-disks-ultra-ssd.md

choosed -> choose
provisionning -> provisioning

Editorial fixes confirmed.


How to do downsampling by a factor of n in mxnet?

How to do downsampling by a factor of n in mxnet? Kindly suggest

you can use pooling or convolution with stride to do downsampling

thanks got the solution.... Closing the issue


Migration to PHP-5.3

Hello !
First of all, congrats for your  code & project build quality, it was a pleasure to work on.
I have migrated the library to PSR-0 namespace conventions.
I also added composer.json.
the build is ok using phpunit 3.6.4
Please tell me if you want some changes prior to apply this PR

Hi there,
Thanks for the PR. I have removed the tracker part from the master branch (it will be pushed to a separate branch later). I'll pull in your changes make them work on my local master. I can make a new version of the pear package as well.

Hi there,
Thanks for the PR. I have removed the tracker part from the master branch (it will be pushed to a separate branch later). I'll pull in your changes make them work on my local master. I can make a new version of the pear package as well.

Hi there,
I have removed the tracker part from the master branch (it will be pushed to a separate branch later). I'll pull in your changes make them work on my local master. I can make a new version of the pear package as well.

Care to take a look at the namespaces branch? I have pulled in your changes and made some of my own. The encoder and decoder no longer uses static methods, and I have changed the API a bit on the Torrent class.
I will add the tracker part in a day or two.

There is now a branch called "including-tracker" that has the tracker classes (with namespaces).

Nothing to say, it's really clean :)

Merged into the namespaces branch


PEP-0345 support

Hopefully PEP-0345 is the future of python packaging, moving away from setup.py to setup.cfg.
Some people already use PEP-0345 specification via d2to1.
My suggestion would be to support requires-dist as a replacement of requirements.in. Here is a sample from setup.cfg:
[metadata]
requires-dist =
    pytz
    Django
    django-environ
    django-allauth
    django-autocomplete-light
    django-bootstrap-form
    django-compressor
    django-libsass
    django-webtest
    pytest-django

It would be nice, if pip-compile could look if setup.cfg file exists and has [metadata] section in it. Then pip-compile could read list of packages from it and use instead of requirements.in.
Otherwise it could fall back to requirements.in.

Given how things evolved, I will close this.

How did things evolve?  People are using setup.cfg.  I am using setup.cfg.  Why isn't it a good idea for pip-tools to be able to read setup.cfg?  Or is it only not a good idea for pip-tools to be able to read [metadata]requires-dist from setup.cfg and other areas (eg [options]install_requires) might be a good idea?

PEP 345 defines Metadata, not putting it in setup.cfg: that’s PEP 390 which is rejected (see the link in the PEP headers).
tl;dr: pip-tools should read the same thing that pip reads, there is no standard source for requirements.
More:
Instead of getting distutils2 as a replacement of distutils + setuptools + pkginfo + others, with features to build, package, upload, download and install distributions, the current landscape is building on other PEPs to allow many tools to coexist, operating on shared specifications and interfaces.
There are many tools to go from source dir to built wheel; some may use setup.cfg, other pyproject.toml, other a Python script, etc.  Inside the wheel, the metadata file follows PEP 345, and uses a machine-readable format that’s not specifically designed to be read or edited by humans.  (The wheel filename also encodes some standardized bits of info regarding compatibility.)
But this doesn’t mean that build/install instructions become different and manual for each project: PEP 517 and PEP 518 allow you to use a «frontend» tool (pip is one, but hatch or dephell or conda can also implement the interface) that knows how to install and invoke the right build tool for each project.
Different tools (twine, flit) can take the wheel and upload it to various repositories (PyPI, TestPyPI, devpi private index).
Installers such as pip know how to download distributions from repositories, read the metadata and install it as defined in PEP 376, so that run-time tools can inspect installed dependencies.
Many tools used to be able to read their config from setup.cfg, as it was a file present in many Python projects and not too hard to edit.  Then many tools added support for tox.ini, for the same reasons.  Now pyproject.toml is becoming a new shared config file for development tools!
At the moment, every build tool defines its own way of reading dependencies; setup.cfg[metadata] is not standard, and the pyproject.toml spec only defines build-time dependencies, not run-time.  So pip-tools should read the same thing that pip reads.

Thanks for the explanation.