[1.14] ShowWindow(SW_MINIMIZE) doesn't work anymore

From bug bash.

put in file:

$Source=@"
using System;
using System.Runtime.InteropServices;
public class Native {
[DllImport("user32.dll")]
public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
[DllImport("kernel32.dll", SetLastError = true)]
public static extern IntPtr GetConsoleWindow();
}
"@
Add-Type -TypeDefinition $Source
[Native]::ShowWindow([Native]::GetConsoleWindow(), 6)

Run .\hide.ps1

expect:

See a dterm sequence for hiding the window

actual:

Terminal still visible.

I was the murderer

69b77cae83f8b73dfcc71f99eb75c3db8a1572a9
That's a 1 line fix, but fixing that causes the window to flicker uncontrollably. Somewhere there's a mismatch between the Terminal HWND visibility and the ConPTY one, some flipped boolean somewhere.

❔ 22fb15f0a
❌ 3b9710a4a - didn't work, but neither does the test script so clearly I never tested that build. That's after the bad merge, so yea that doesn't work,
❌ main

Hmm. It's the combo of 22fb15f0a69f70a1b9115567a41b984273835f74 with #12526 that causes this. That initial show/hide to sync the terminal with the conpty, that's what's busted somehow.
Merely commenting those lines fixes this. (see bbae2355c) HOWEVER, it breaks doing a [Native]::ShowWindow([Native]::GetConsoleWindow(), 0) (0==SW_HIDE) immediately in a fresh window. Trick here: the Terminal starts with WS_VISIBLE | !WS_MINIMIZE. The Conpty starts with !WS_VISIBLE | !WS_MINIMIZE. Somewhere early in startup, we get a WM_SHOWWINDOW(false, 0), and that then bounces with the terminal, because that results in the pty telling the terminal to hide.

❔ I need to validate that [Native]::ShowWindow([Native]::GetConsoleWindow(), 0) did work between 2fb15f and 69b77ca
❔ Does removing the ConptyReparentPseudoConsole call instead fix this? Is the window getting hidden as a result of being reparented?

The plot thickens. Remove the call to reparent, but leave the initial state sync in. Things seem to work. HOWEVER, if you minimize the Terminal, then restore it, the terminal doesn't get focus. I bet that the pty window is becoming WS_VISIBLE, which means it's now a valid target to become the foreground window, even though its dimensions are 0x0 and not drawn anywhere. Interesting.

[ ] try WS_EX_NOACTIVATE
[ ] try the cloaking thing again.


Mark a clear "getting started" path

FEATURE REQUEST: Mark a clear "getting started" path
Overview
There are at least four "getting started" links on the website. To avoid confusing users, make them all point to the same place, or relabel them so they more accurately reflect the linked content.
The idea is to funnel new users to the Getting Started page, where they can focus uninterrupted on a streamlined procedure for installing and testing the product.
Context
This issue tracks recommended changes resulting from an analysis of the Litmus Chaos
documentation commissioned by CNCF. The analysis and supporting documents are
here: https://github.com/cncf/techdocs/tree/main/analyses under 0013-litmuschaos.
Possible Implementation
The following links are all labeled "Getting Started" but lead to different pages:

The Get Started button in the Product landing page banner menu
points to the GitHub repo.
Recommendation: Re-label the button "Learn more" or "Go to documentation".

The Get Started button on the Product landing page
points to the GitHub repo.
Recommendation: Re-label the button "Learn more" or "Go to documentation".

The Get Started button on the Doc landing page
points to ChaoCenter installation.
Recommendation: Re-label the button "Learn more" or "Go to documentation". Or, remove this button since the very next section starts with a link to the installation documentation.

The Getting Started link on the Doc landing page
points to What is Litmus?.
Recommendation: Leave as is. But, reorganize the Installation/Getting Started section in the documentation table of contents (see the next item).

The Get Started table of contents (TOC) entry in the Doc page left-side menu
expands the section's options in the TOC.
Recommendation: Remove the "Resources" section (that material is covered elsewhere, in "Architecture" and "Concepts"; add a link to that explanation instead). The "Installation" page is a good workflow for beginners to get through installation, configuration, and starting to use the product. Move the contents of the "Installation" page up so that it's a standalone entry called "Getting Started". Move that section to the top of the TOC.

The Getting started tutorial
is a standalone tutorial that provides an end-to-end path for a beginner to install, validate, and run Litmus and execute a chaos experiment.
Recommendation: Link to the tutorial from the main website. Also, see the issue about updating and maintaining the tutorials and other Litmus-branded websites: https://github.com/litmuschaos/litmus-docs/issues/296.

Hello @namkyu1999
I’m currently working on this issue. I have a couple of questions:

While removing the Resources section as recommended, I encountered warnings during debugging:

[WARNING] Docs markdown link couldn't be resolved: (../getting-started/resources.md) in E:\Open source projects\litmus-docs\website\versioned_docs\version-3.12.0\user-guides\uninstall-litmus.md for version 3.12.0
[WARNING] Docs markdown link couldn't be resolved: (../getting-started/resources.md) in E:\Open source projects\litmus-docs\website\versioned_docs\version-3.12.0\user-guides\setup-without-ingress.md for version 3.12.0

Should I update these links to point to an alternative page, or would you recommend removing them altogether?

Regarding the Getting Started tutorial, it’s mentioned that we need to link it to the main website. Could you please clarify where exactly this link should be added?

Looking forward to your guidance
Thanks


SharePoint Online Provisioning Service: ServerUnauthorizedAccessException

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
I would like to use the SharePoint PnP Provisioning Service (https://provisioning.sharepointpnp.com/) to deploy templates to my tenant.
The following templates worked:

Brand @ Contoso
Contoso Leadership
Contoso Workshop
SharePoint Starter Kit
Contoso Team Site

I would like to apply all the other templates as well.
Observed Behavior
All the other templates (see working templates above) failed with a ServerUnauthorizedAccessException.
The following templates failed:

Work @ Contoso
Contoso Drone Landing
Contoso Enterprise Landing
Give @ Contoso

Correlation IDs:

71299bb7-8164-49cd-98ba-53e10542081d
568cebc6-1b44-4141-84e8-12ce563cc856
0e8f9ebc-dd5e-48b3-b09b-740a4c2429ee
c733f862-434b-4a86-a90f-4cd13db697e9
b857cc3b-3f34-4cd6-9e35-0ee4bfe9b9b1
eab9f019-dcf7-4434-9068-dd6fb2cebbe2 (this one I sneaked in, it's for the "Custom learning for Office 365" which says I don't have an app catalog in the tenant, though I do have one)

Example Exception for applying the Contoso Drone Landing template:
Type = Microsoft.SharePoint.Client.ServerUnauthorizedAccessException Message = Access denied. You do not have permission to perform this action or access this resource. Source = Microsoft.SharePoint.Client.Runtime ServerStackTrace = ServerErrorCode = -2147024891 ServerErrorTypeName = System.UnauthorizedAccessException ServerErrorTraceCorrelationId = eab0d89e-b056-8000-60bc-f2aeb1332b96 TargetSite = Void ProcessResponseStream(System.IO.Stream) StackTrace = at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryToServerAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientRuntimeContext.<ExecuteQueryAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientContext.<ExecuteQueryAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Microsoft.SharePoint.Client.ClientContextExtensions.<ExecuteQueryImplementation>d__7.MoveNext() in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 156 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Microsoft.SharePoint.Client.FileFolderExtensions.<EnsureFolderPathImplementation>d__36.MoveNext() in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Extensions\FileFolderExtensions.cs:line 1113 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Microsoft.SharePoint.Client.FileFolderExtensions.EnsureFolderPath(Web web, String webRelativeUrl, Expression1[] expressions) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Extensions\FileFolderExtensions.cs:line 920 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectFiles.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectFiles.cs:line 94 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation provisioningInfo, Boolean calledFromHierarchy, TokenParser tokenParser) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 393 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchySequenceSites.ProvisionObjects(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser tokenParser, ProvisioningTemplateApplyingInformation applyingInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectHierarchySequenceSites.cs:line 258 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation provisioningInfo) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 207 at Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation applyingInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Extensions\TenantExtensions.cs:line 42 at SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.<RunAsync>d__2.MoveNext() in C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line 360 HResult = -2146233088
Steps to Reproduce

Go to https://provisioning.sharepointpnp.com/
Click on Contoso Drone Landing template
Click Add to Tenant
Authenticate
Allow Access for the provisioning app
Wait for error that is sent to email

Effective June 2019, the official guidance is to post all issues related to the PnP provisioning service to the following GitHub repository: https://github.com/SharePoint/sp-provisioning-service.
We've transferred your issue to the issue list for that repo. In the future, please ensure you use the https://github.com/SharePoint/sp-provisioning-service repo's issue list for all issues, questions & bug reports.


chore(docs): export ThemeSwitch & custom social

Export ThemeSwitch to allow using this in custom docs footers
Support fully custom social links

@B2o5T how to use the custom social links: what param should I declare and where? And can I add a custom icon per link?


feat: add web executor + add testcase context

Can you add something on global Readme, section "write your executor" on what is context arg for Run(...) with example of web exec ?

@yesnault Need to write a section 'write your own context' in the global readme too


Replace Rake with Build CLI Tool in GitHub Action + Improve Caching

After successfully replacing rake with Build CLI Tool in Release workflow, it would great to replace rake in all other workflows as well, since the current implementation of the Build tool supports running in CI pipelines.
Another task would be having a way to have the job<EMAIL_ADDRESS>to cache the Build of the CLI Tool to avoid compiling it on each run, similar to installing nj-cli and wasm-pack now.
The main difference is that those tools are registered on crates.io, whereas installing the CLI tool is always locally. We can try to change the build to run from Git URL and hope that will trigger the caching action. Otherwise, we may need to register the tool on crates.io if we want to save about 1.5 Minutes on each GitHub Action
Task:

[ ] Replace Rake in lint_master.yml
[ ] Replace Rake in pullrequest_check.yml
[ ] Remove build_cli_checks.yml
[ ] Cache CLI Tool binary to reduce building time.

Already implemented


Table and Rectangles?

is it possible to create table and rectangles like below??

No, currently it can't create a table, or drawing anything except texts and images.

thanks closing this issue


Ticket/2.7.x/7656 module tool should be a face

commit 0c611869ef9442060128f7695de1103feebff757
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 09:31:39 2011 -0500
(#7656) Port PMT codebase into Puppet core

Before this patch, the Puppet Module Tool (PMT) codebase lived in it's
own project.

This patch ports the PMT codebase, mainly everything under the former
`lib/puppet/module` directory, into core Puppet with the following major
changes and refactorings:

The PMT codebase lives under `lib/puppet/` and `lib/puppet/module_tool`
in Puppet core.

The following files are being renamed:

 * `lib/puppet/module/tool/tool.rb`

`tool.rb` is being renamed to `module_tool.rb`

The following files are not being ported over:

 * `lib/puppet/module/tool/utils/settings.rb`
 * `lib/puppet/module/tool/cli.rb`
 * `lib/puppet/module/tool/applications/freezer.rb`
 * `lib/puppet/module/tool/applications/registrar.rb`
 * `lib/puppet/module/tool/applications/releaser.rb`
 * `lib/puppet/module/tool/applications/unreleaser.rb`

`settings.rb` is not being ported over in favor of using core Puppet
settings logic.

`cli.rb` is not being ported over in favor of using the Puppet faces
API.

`freezer.rb`, `registrar.rb`, `releaser.rb` , and `unreleaser.rb` are
not being ported over as the features they support are not implemented.

The following PMT sub-commands are being removed:

 * `version`
 * `repository`
 * `usage`
 * `changelog`

The `version`, `repository`, `usage`, and `changelog` PMT sub-commands
are being removed in favor of using core Puppet settings logic,
versioning scheme, and help commands.

All ported applications: builder, checksummer, cleaner, generator,
installer, searcher, and unpacker, now return either status hashes,
Pathname objects, or an array of file paths. This change is to support
the faces API, each face action should return a value that can be used
in Ruby code, or printed to the console.

PMT tests and generator templates will be ported into core Puppet in
separate commits.

commit ce218efd5b8261ad174abbd33e52049ed964ba0b
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 09:54:07 2011 -0500
(#7656) Port PMT generator templates into core

Before this patch, the Puppet Module Tool (PMT) generator templates
lived in the PMT codebase -- in a separate project.

This patch ports the Puppet Module Tool (PMT) generator templates into
core Puppet with the following major changes and refactorings:

The PMT generator templates now live under the
`lib/puppet/module_tool/skeleton/templates` directory. This is a
change from the previous location as the `template` directory lived at
the root of the PMT project. This change is being made to remain
consistent with the current core Puppet codebase and project layout.

The ported version of `lib/puppet/module_tool/skeleton.rb` has been
updated to reference generator templates in the
`lib/puppet/module_tool/skeleton/templates/` directory.

commit eb617e5d9093834588732e78f42e865c814b982b
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 09:57:57 2011 -0500
(#7656) Add new PMT settings to core Puppet

Before this patch, Puppet core did not support any settings for the
Puppet Module Tool (PMT).

This patch adds two (2) new settings to core Puppet:

 * module_repository
 * module_working_dir

The module_repository setting is used to specify the remote module
repository used for searching and installing modules; module_repository
has a default value of 'http://forge.puppetlabs.com'.

The module_working_dir setting is used to specify the directory into
which module tool data is stored; module_working_dir has a default value
of: '$vardir/puppet-module'.

commit ee4dbf4d15207f84107ae5b0fb287b5425b3ebd9
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 10:14:38 2011 -0500
(#7656) Port PMT test fixtures into Puppet core

Before this patch, the Puppet Module Tool (PMT) test fixtures lived in
the PMT codebase -- in a separate project.

This patch ports the PMT test fixtures into core Puppet. There are no
major changes or refactorings. This patch places the PMT test fixtures
under the `spec/fixtures` directory; the same relative location of the
previous codebase.

commit bce8e43298744be8cced7d995931524b636ed57f
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 10:31:02 2011 -0500
(#7656) Port PMT unit test into Puppet core

Before this patch, the Puppet Module Tool (PMT) unit tests lived in the
PMT codebase -- in a separate project.

This patch ports the PMT unit tests into core Puppet with the following
major changes and refactorings.

All spec tests are being updated to require modules located in their new
location in the core Puppet codebase: `lib/puppet/module_tool`.

The following tests are being removed:

 * `spec/unit/application_spec.rb`

`application_spec.rb` is being removed because the tests are no longer
valid, all examples are related to custom settings code that is not
being ported over.

The following tests are being renamed:

 * `spec/unit/tool_spec.rb`

 `tool_spec.rb` is being renamed to `module_tool_spec.rb`. This change
 is being made in order to match the new name of the module
 under test: `module_tool.rb`

The following tests are being relocated:

 * `spec/unit/repository_spec.rb`
 * `spec/unit/semver_spec.rb`

Both `repository_spec.rb` and `semver_spec.rb` are being relocated under
the `spec/unit/module_tool` directory in core Puppet. This change is
being made to match the new locations of the modules under test.

commit bf9e847d2bc1169993566cab441fcf6cad627f54
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 10:48:56 2011 -0500
(#7656) Port PMT integration test into Puppet core

Before this patch, the Puppet Module Tool (PMT) integration tests lived
in the PMT codebase -- in a separate project.

This patch ports the PMT integration tests into core Puppet with the
following major changes and refactorings.

All temp file and directory management logic is being removed in favor
of using the existing helper methods in `PuppetSpec::Files`. This change
has the added benefit of not leaving around temp files or directories
after tests are run.

The following helper methods are being merged into `module_tool_spec.rb`

 * `stub_repository_read`
 * `stub_installer_read`
 * `stub_cache_read`
 * `testdir`
 * `mktestdircd`
 * `rmtestdir`

This change is being made because each of the above methods are only
used by `module_tool_spec.rb`. This also removes the need to add another
set of "global" helper functions to the code base. As a result of this
change the `spec/support/output_support.rb`,
`spec/support/stub_http_support.rb`, and `testdir_support.rb` modules
are not being ported over.

Tests have been updated to test the new return values of the generate,
build, search, install, clean, and changes applications. This change is
being made to reflect the new behavior of those actions, which now
return either status hashes, Pathname objects, or an array of file
paths.

The following tests are being removed:

 * `repository`

The single test for the `repository` sub-command is being removed
because it is no longer valid. The `repository` sub-command is not being
ported over.

All tests are being updated to use the full name of the application
under test, for example:

`Puppet::Module::Tool::Applications::Generator.run`

This change is being made to reflect the fact that the
`lib/puppet/module/tool/cli.rb` module is not being ported over, so the
abstraction provided by `Puppet::Module::Tool::CLI.new` is no longer
available.

This patch also renames the integration test from `cli_spec.rb` to
`module_tool_spec.rb` in order to match the module name under test.

commit 7df5303b9f3613193cb4c092c57b4e8a5177e647
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 11:21:39 2011 -0500
(#7656) Port PMT to faces, bundle in Puppet core

Before this patch, Puppet did not have the ability to interact with the
Puppet Module Forge (PMF).

This patch is one of many patches that add a new module_tool face to
core Puppet. This patch provides the foundation bits which setup the
ground work for adding additional actions and features.

commit da4a2361c65f5b48558384927d8e65a50914bda0
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 11:45:29 2011 -0500
(#7656) Add build action to module_tool face

Before this patch, the module_tool face did not have the ability to
build module release archives, and there was no test coverage for the
module_tool build action.

This patch adds support for building module release archives to the
module_tool face.

Example usage:

    $ puppet module_tool build /path/to/module

This patch includes unit tests for the module_tool build action.

commit 5e77157895601598b1650b6e15bd6565da694afb
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 11:47:21 2011 -0500
(#7656) Add changes action to module_tool face

Before this patch, the module_tool face did not have the ability to
show modified files of an installed module, and there was no test
coverage for the module_tool changes action.

This patch adds support for showing modified files of an installed
module to the module_tool face.

Example usage:

    $ puppet module_tool changes /path/to/module

This patch includes unit tests for the module_tool changes action.

commit 626d876fa5907522123b52623b97def8cc570e86
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 11:49:17 2011 -0500
(#7656) Add clean action to module_tool face

Before this patch, the module_tool face did not have the ability to
clean the module download cache, and there was no test coverage for the
module_tool clean action.

This patch adds support for cleaning the module download cache to the
module_tool face.

Example usage:

    $ puppet module_tool clean

This patch includes unit tests for the module_tool clean action.

commit 6d2fc99f0f8f30a3cfe59dfbbeb431d446eefca2
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 11:52:06 2011 -0500
(#7656) Add generate action to module_tool face

Before this patch, the module_tool face did not have the ability to
generate boilerplate for a new module, and there was no test coverage
for the module_tool generate action.

This patch adds support for generating boilerplate for a new module to
the module_tool face.

Example usage:

    $ puppet module_tool generate username-modulename

This patch includes unit tests for the module_tool generate action.

commit 41d10344f952e3be81ed40d50468651e44995bd9
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 12:06:14 2011 -0500
(#7656) Add install action to module_tool face

Before this patch, the module_tool face did not have the ability to
install a module from a repository or release archive, and there was no
test coverage for the module_tool install action.

This patch adds support for installing a module from a repository or
release archive to the module_tool face.

Example usage:

    # Install a module from the default repository:
    $ puppet module_tool install username-modulename

    # Install a specific module version from a repository:
    $ puppet module_tool install username-modulename --version=0.0.1

    # Install a module into a specific directory:
    $ puppet module_tool install username-modulename --install-dir=path

    # Install a module from a release archive:
    $ puppet module_tool install username-modulename-0.0.1.tar.gz

This patch includes unit tests for the module_tool install action.

commit bdeb3b77525bb3932ada6b5fa0c09289df7d8f48
Author: Kelsey Hightower<EMAIL_ADDRESS>Date:   Mon Dec 5 12:07:02 2011 -0500
(#7656) Add search action to module_tool face

Before this patch, the module_tool face did not have the ability to
search a repository for a module, and there was no test coverage for the
module_tool search action.

This patch adds support for searching a repository for a module to the
module_tool face.

Example usage:

    $ puppet module_tool search modulename

This patch includes unit tests for the module_tool search action.

I thought you were going to make these changes in the module-tool repo first so that people could use it as a face without upgrading all of Puppet?

Luke asked the same question. I think I would be much easier to extract the
require bits into a standalone module, supporting both will be a challenge
either way.
All is not lost, I just need a little time to write a back porting script.
An automated script should make this easier to maintain.
On Mon, Dec 5, 2011 at 12:47 PM, Matt Robinson <
<EMAIL_ADDRESS>
wrote:

I thought you were going to make these changes in the module-tool repo
first so that people could use it as a face without upgrading all of Puppet?

Reply to this email directly or view it on GitHub:
https://github.com/puppetlabs/puppet/pull/244#issuecomment-3020256

--
Kelsey Hightower
Solutions Engineer
Puppet Labs
1-678-471-9501

Specs don't pass with this branch.  I get 20 failures and all originate from the same line.

module_tool generate should generate a module if given a dashed name     Failure/Error:      Puppet::Module::Tool::Applications::Generator.run(@full_name)     ArgumentError:       wrong number of arguments (1 for 2)          # .-module-tool/lib/puppet/module/tool/applications/application.rb:10:in `initialize'


[Chat] Updating dependency for the UI samples

Purpose
Updating the calling sdk for ui samples.
Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[x] Other... Please describe:

Closing since its just callsdk dependency


MP4s not playing in Safari

Here's an example of an MP4 inscription's content: https://ordinals.com/content/089ff91905de17b0eae476e61300e87ad72d7ab2245d9299aa143ce4b7a0f3b7i0
Playback works in most browsers but not in Safari. According to Stackoverflow, it's due to a missing range header: https://stackoverflow.com/a/36299252/299711
There are also some other workarounds mentioned in that SO thread, so maybe it's something you might want to address.

Fixes #3276


Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '3'

I am getting this error on Windows 2012 R2 VM
The task has completed. Warnings occurred for some attributes during this operation. It's okay to ignore the warning.
See log C:\Windows\security\logs\chef-secedit.log for detail info.
STDERR:
---- End output of Secedit /configure /db C:\Windows\security\database\hardening.sdb /cfg C:\Windows\security\templates\mySecurityPolicy.inf /log C:\Windows\security\logs\chef-secedit.log ----
Ran Secedit /configure /db C:\Windows\security\database\hardening.sdb /cfg C:\Windows\security\templates\mySecurityPolicy.inf /log C:\Windows\security\logs\chef-secedit.log returned 3

Never mind I figured out what I was doing wrong.


Minecraft 1.16.5 Exit Save Crashing

Ever since loading the "Baubles Interface" mod to Minecraft 1.16.5, I've experienced crashing on the exit save function. Can this be fixed? I have attached my crash report for your review. Please let me know if you need anything else or if you discover a different reason.
Thanks!
Yancy
crash-2021-10-27_09.09.39-client.txt

I couldnt reproduce this bug.


rebot - Reading XML source 'xxx/output.xml' failed: Incompatible XML element 'arg'.

output.txt
I am using latest Robot Framework version 5.0 for automated tests.
I use rebot tool to aggregate my test result ran in multiple stages.
I see below error
Reading XML source 'xxx/output.xml' failed: Incompatible XML element 'arg'.
It is working fine locally on my VM.
this error is only coming on my bamboo build server.

With this information it's rather hard to tell where the problem is. One possibility is that your Rebot version on the build server is old and not compatible with output.xml files produced with new Robot versions. Please check the installed versions first. If versions match, the problem is somewhere else. In that case you'd need to provide more information about the situation. Best would be a simple example demonstrating the problem.

Yes,  your comment is right. It was rebot version issue. I got it resolved by making sure the same version is used for running tests and aggregating test results.

Yes, your comment is right. It was rebot version issue. I got it resolved by making sure the same version is used for running tests and aggregating test results


 It's not clear if it has degraded recently - the undo / redo does seem to slow it down a little - but it may have always been that slow. We might need to think about how to make it faster. Another thing to add to our benchmarking list. #476.

We might have had a recent regression when we changes some of our openGL options to improve mesh rendering for the shapes / surface layer

Note that labels painting will likely be significantly speeded up by #204

Painting has been significantly sped up by #684, so I will close this now, but it can still be further improved by #204

Can this be reopened?
I just tried creating a labels layer with a size of (1143, 1069) on top of an RGB image and drawing annotations with napari from the current master.
When drawing with the brush I get a lag on the order of a second or even more.  I can't compare to the performance before merging #684 but it still feels very slow.  At this level it is too tedious to  labelling a significant part of an image for machine learning annotation.
Environement used
napari: 0.2.6+23.g8735eb2.dirty
Platform: Windows-10-10.0.18362-SP0
Python: 3.7.5 (default, Oct 31 2019, 15:18:51) [MSC v.1916 64 bit (AMD64)]
PySide2: 5.13.2
Qt: 5.13.2
VisPy: 0.6.3
NumPy: 1.17.3
SciPy: 1.3.1
scikit-image: 0.16.2
Dask: 2.8.0

GL version: '4.5.0 - Build <IP_ADDRESS>72'
MAX_TEXTURE_SIZE: 16384

We can re-open, I think this will hopefully be closed by #713 which will remove an expensive int -> float conversion step

cc @VolkerH I wonder if you are still seeing performance issue with large image labeling? I believe 0.3/0.4 releases introduced some improvements to our labelling performance

I haven't done extensive labelling recently, but I certainly noticed various impreovements since 2019.
I still think it is not quite as responsive as I would hope.
I will tag in @abailoni  he has been working on some ]annotation tools](https://github.com/abailoni/cellpose-training-gui)  recently and I believe after testing both napari and QuPath for annotation he found QuPath still had an edge in overall responsiveness and user experience. Maybe he can add some additional comments here.

@potating-potato despite improvements, there's absolutely still issues, see e.g. https://forum.image.sc/t/napari-label-layer-color-maps-usage-and-colors-in-viewer-mismatching-the-tool-colors/64839
Once #3308 is in, although there will still be performance improvements to be had, we can probably close this one. :crossed_fingers:

Yes, I confirm that recently I tried to label some big images with napari and I encountered some issues with responsiveness. It has been one/two months ago though, so right now I would not remember what was the size of the images I used.

Recent PRs addressing performance of the labels layer:

https://github.com/napari/napari/pull/5723
https://github.com/napari/napari/pull/5732
https://github.com/napari/napari/pull/3308

For what it's worth, I just tried with a (3, 15000, 15000) image layer and labels on top using napari from main and napari 0.4.18rc1.
Making the layers (numpy random.rand) took some time, but painting was totally lag free and performant. The only performance issue I noticed was clicking the shuffle button. Incrementing labels was fast, but shuffle had a lag.

Ok, I'm going to close this issue. We can track performance improvements to the shuffle function over at https://github.com/napari/napari/issues/6010

Ok, I'm going to close this issue. We can track performance improvements to the shuffle function over at https://github.com/napari/napari/issues/6010


provide a way to specify location of ClientConf file

The cli takes its parameters (decoys, keys, etc) from the ClientConf file, which currently needs to have a specific name and be located in a specific path relative to the cli executable (or maybe it needs to be in ./assets/ClientConf relative to where the cwd?)
For some of the experiments we run, such as the decoy prober, we make lots of these configuration files and we need to keep copying them into the right directory (or, when we're running multiple cli processes concurrently, we need to make a bunch of scratch directories and copy them there).  It would make things much simpler if we could pass the path to the configuration file on the commandline to cli.  I would suggest something like -f as the name for this option.

Added a way to specify location of assets folder.
@dellard does this API fit your use-case?


types/alpine: add fuzzer

Signed-off-by: AdamKorcz<EMAIL_ADDRESS>
Summary

Adds a fuzz test for the unmarshalling of the Apk type.

Codecov Report

Merging #1200 (5c56c05) into main (21e5b63) will decrease coverage by 22.23%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1200       +/-   ##
===========================================
- Coverage   64.22%   41.99%   -22.24%
===========================================
  Files          82       74        -8
  Lines        7625     7206      -419
===========================================
- Hits         4897     3026     -1871
- Misses       2100     3871     +1771
+ Partials      628      309      -319

Flag
Coverage Δ

e2etests
?

unittests
41.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Java example from installation doc should use executeQuery instead of execute

Cool database I just found about it, and I started to play and see if I can embedded in my java app.
The example code give in the java installation page: https://duckdb.org/docs/installation/ is wrong though.
ResultSet rs = stmt.execute("SELECT 42");   stmt.execute returns boolean
proper use will be ResultSet rs = stmt.executeQuery("SELECT 42"); which returns ResultSet
Hope you fix it.
Cheers and keep up the good work

Good catch, thanks


bumping sqlite3 to 3.x

as far as I can tell, sqlite3 2.x doesn't install on recent versions of iojs/nodejs.

Just wondering, did you try if it works with the new version? I don't have the time to test at the moment, but if you did I'll merge it immediately.


New Expense Flow Feedback

We're working on a big upgrade to the expense submission process, and we'd like feedback from the community.
The new expense flow will enable useful new features like:

Receipt batches: Upload a bunch together to reduce data entry.
Automatic invoices: No attachment needed - it saves your details.
Submit on behalf: File an expense for someone else.
Expense tags: Track projects or categories any way you want.
Status changes: Names and dates for edits, approvals, payments, rejections, etc.
Improved comments: fully featured discussions on expense pages.

Here are some designs we've done so far:
Select expense type
Make it much clearer whether you're submitting a receipt or an invoice, as these are different in many ways. Receipts are for getting paid back for a purchase already made, while invoices are for charging for your time, getting paid in advance, or if you don't have a receipt.

Submit single receipt

Submit multiple receipts
We want to cut down on repetitive data entry as much as possible, so it's more worthwhile to submit even small expenses. We're calling this a receipt batch. Batches can also be paid out in one transaction instead of a seperate payment per receipt, which should reduce transaction fees and admin overhead.

Submit invoice
Instead of requiring you to create a seperate invoice document and attach it, users will put the invoice details directly into the expense form.
This will allow us to save your details for next time, so if you submit an invoice every month for example, you'll just have to type in the description of what you're charing for and the amount and everything else will be there already.
(If you want to include an attachment for any reason, you still can as a comment).

Payout methods
Fiscal hosts can define the payout methods they use, and expense submitters can select from them. The system will save your payout details for that method, such as your paypal address or bank transfer instructions.

Clear privacy
A lot of users are concerned about their private info, such as address, email, and bank details, becoming public, since Open Collective emphasises transparency. It's always been the case that these details are kept private and only admins can see them, but we're making that way more obvious in the new design to put minds at ease.
There are also very clear "public notes" and "private notes" boxes, so you can decide what details to share publicly and what to keep private

View Expenses
Improved view of a Collectives expenses, where you can filter by status and tag. The admin view of this screen will also have action buttons like approve and reject.

Expense narrative
Fully featured discussion threads, with clear indications of the status changes an expense has had, including when and who. For example, when an expense was approved, edited, rejected, etc. There will also be the option to post private comments to answer questions about payment details and confidential matters.

Rejection reasons
Say why you're rejecting an expense so the submitter as an explanation and others can see the Collective's policies in action.

Delete expense
For expenses submitted in error, spam, etc.

Submit on behalf of
We don't have a mockup for this one yet, but it's an important improvement that will let you submit an expense to be paid out to someone else. This means you can help out collaborators who don't like paperwork, or submit on behalf of a vendor who isn't signed up to Open Collective yet and make it easier for them. The person will get an invitation to accept/confirm the expense and enter their payment details (if they don't already have them saved to their profile), and the expense will be correctly attributed to their profile instead of the submitter's (for accurate records, tax reporting, etc).
Clickable prototype
You can check out some clickable mockups here.

Here is my feedback. Hope it's useful.
Select expense type

Expense policy (singular) should be above the expense form. You first need to see that before you know if you can submit that given expense
Expense title: might be easily missed. All the visual attention is on the expense type. I’d only ask for the expense title after selecting the type.
As a general UX principle, it’s weird to have such choice and then tabs to switch between the two. Either you can skip that first choice and go straight to the most likely option (because it’s easy to switch), or if you want to keep it, there should be a smaller back button instead of the big tabs
I’d move the title of the expense below the type of expense.
I’d move who is going to be reimbursed below the actual expenses. It’s the equivalent of the payment method used to pay a receipt, you first have the details of all the items with their price, and then you choose how you are going to pay for them, i.e. here are all the expenses, and this is who should be reimbursed.

Submit invoice

Same for submit invoice, start with the list of things. To be consistent with the interface for receipts, I’d also allow the user to have multiple line items with the possibility to attach a picture, i.e. here are all the things that I’ve done.
I’d also move the payee to the bottom for the same reason. Please pay all those things to that vendor (most likely: "my individual company", "me as a freelancer"). Another reason for this being that this information will be recorded once and then people will only have to edit every time the list items. So better to put at the beginning the info that needs to change. Alternatively, you can make a more wysiwyg version.
The supporting documentation should be public.
Not a fan of the design of public/private note. It’s not much needed anymore as there is already a public title and private instructions depending on the payout method. I’d rather see the default comment box after submitting the expense to add more details with the option to make a private or public comment.

Payout methods

It’s weird to have public and private notes there. The host should only have to define a payout method name and (public) description. Then the submitter of the expense/invoice provides custom private instructions (that will be saved for later use)

View expenses

Would be great to have a view with a tag selected.
It’s weird to see "Invoice id". Should be "Expense id" to be generic and consistent.
There is an interesting analogy between a batch expense and an order that is part of a recurring schedule (aka subscription). It might be worth showing what a "orders" page may look like to identify those similarities and ensure a consistent experience.

Expense narrative

Should be more "Expense page" no?
"Expense history" should be more "Expense thread" or "Discussion" no?
It feels like actions (reject/delete) are basically comments with an action.

Submit on behalf of

isn’t that covered already by defining who is going to be reimbursed at the beginning of the submit expense flow?

Thanks @xdamman that's helpful! @Memo-Es see above.

The supporting documentation should be public.
Normally supporting documentation includes private information such as payment details and people's addresses, so I don't agree with this. I think users should be able to post attachments as comments and decide whether it's private or public.

Expense narrative
This is just a name I gave to this section for the purposes of this post. It's not going to appear anywhere. The feature will be expense pages.

Submit on behalf of
Yes this is about selecting someone else besides yourself to be paid. It's mentioned separately because it's a very different function than getting yourself paid. We're missing designs for how that flow will look.

Everything else I agree with!

@alanna with the new expense flow implemented, we should maybe close this one?


feat: expose providePinia to use multiple root stores

Implements #870.

Is there some way I can help with that?
If you have specific scenarios in mind, I could add tests for them.

Currently, there are still a few issues:

It shouldn't change the activePinia
It cannot use plugins (they require the pinia._a property but even if it was set, it would still mean plugins could only be added after calling providePlugin

Overall, I think exposing the symbol and letting the user use at their own risk might be a better idea. Otherwise, a proper solution would be a custom pinia similar to the testing one

@bodograumann would exposing the symbol be enough?
I added a couple of tests to explain what I meant. Maybe createPinia() could detect it's a nested pinia but that would also mean it would add to the library size so it should be really minimal.
There is also a concern about devtools. Right now, they expect no more than one pinia to be created for an app.

I have a hard time wrapping my head around the whole context right now.
In the feature request some more details are layed out however.
My past self thought that exposing the symbol is good enough.
Also, I’m only using this functionality in the context of storybook+createTestingPinia.
If it helps, I could create an example project.


Authelia and Nginx Proxy Manager

Hello, I am not sure if its a bug or if I am doing something wrong. There  is not support category. I cannot get any themes to work that utilize Authelia. I noticed one other post about Authelia but it looks like the Docker method and did not work for me. Help is appreciated!
Theme Install Method (Don't skip)

Webserver subfilter Config

Application Info (Don't skip)

Version
Using Nginx
Branch
Using Nginx
Container
Using Nginx
Logs
NET::ERR_CERT_AUTHORITY_INVALID

To Reproduce

Add Authelia authentication code to advanced tab Custom Nginx Config
Add in Nginx Proxy Manager code to custom location

Expected behavior
Use the theme css
Screenshots

Authelia Nginx Custom Config: https://pastebin.com/6Ukf88nH
Desktop (If applicable) (please complete the following information):

OS: Unraid 6.9.2 for dockers, Windows 11 (up-to-date) for loading website
Browser: Chrome
Version 102.0.5005.115

I am likely doing something wrong but it would be so great to have these themes working for my Authelia locked sites.

If you are using linuxserver containers, you should use DOCKER_MODS https://docs.theme-park.dev/setup/
If not then try and add authelia and the subfilter parts under Advanced. I dont use NPM though. But there are some people in the discord that have made it work

I see thank you for the reply. I will attempt the Docker Mods method and join discord if it doesn't work.


Spell Filter doesn't work

has_form appears to not detect Spells. This also affects ExclusiveGroup

It works. The problem is that for_each_form actually delays adding Spells (and other forms) to NPC and instead collects them in a temporary vector. This causes all has_form filters to not find the previously added form of the same type (e.g. Spells can't filter by other distributed Spells).

This will most likely be fixed after #58, when SPID will hold information about distributed entries and will be able to check both cached distribution and the actual NPC


Test check 001 (Checking file is named canonically): needs an update for variable fonts

FontBakery gives me a FAIL result when checking variable fonts:
>> com.google.fonts/check/001 with (('font[0]', 'MarkaziText-VF.ttf'),)
   Checking file is named canonically.
 * FAIL: Style name used in "MarkaziText-VF.ttf" is not canonical. You should rebuild the font using any of the following style names: "Thin", "ExtraLight", "Light", "Regular", "Medium", "SemiBold", "Bold", "ExtraBold", "Black", "Thin Italic", "ExtraLight Italic", "Light Italic", "Italic", "Medium Italic", "SemiBold Italic", "Bold Italic", "ExtraBold Italic", "Black Italic".

   Result: FAIL

I looked at the FontBakery source and couldn't find anything that anticipates a variable font as input for this test.

Yeah, FB does not currently have VF checks. I think Felipe is going to cut a new release this week, and then the next milestone was "super families" - eg "FAMILY" and "FAMILY Condensed" or "FAMILY SC" - and so VFs can be a natural part of that since a single VF would map to several such 'sibling' families.
The most simple VF check will be as you say, to check the filenames are 'canonical'. I propose this naming scheme:
FAMILY-Roman-VF.ttf
FAMILY-Italic-VF.ttf


Responsive styles doesn't work when the breakpoint token is started with $

Bug report
Describe the bug
breakpoints doesn't work when they are started with $.
To Reproduce
export const { styled } = createStyled({
  breakpoints: {
    $sm: rule => `@media (min-width: 640px) { ${rule} }`,
    $md: rule => `@media (min-width: 1024px) { ${rule} }`,
    $lg: rule => `@media (min-width: 1280px) { ${rule} }`,
  },
})

const Box = styled('div', {
  display: 'flex',
  variants: {
    direction: {
      row: {
        flexDirection: 'row',
      },
      column: {
        flexDirection: 'column',
      }
    }
  }
});

render(
  <Box direction={{ initial: 'row', $lg: 'column' }} />
);

And start with gatsby develop.
Expected behavior
Box variants changed on the resizing screen
Screenshots
System information

OS: Ubuntu 20.04
Browser: Chrome
Version of Next.js:
Version of Gatsby: 2.24.49 (with gatsby-theme-stitches)
Version of Node.js: 14.3.0

Additional context

This is fixed in 0.0.2
Thanks!


Update authentication-context-example.md

Fixing licensing

@MachelleTranMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Looks good @scanum - just merged.


Bugfix/LRA-742-art-survey-errors-displaying-images-on-staging-server

There was an issue with non image types being allowed into the system. This PR establishes a validation check for all images that are uploaded.
I also rewrote the document validation and moved bith validations into a private section of the class.
There are checks in the form view to allwo the errors to display and to prevent bad files artifacts from presenting during the file update workflow.

I changed the type show pdf, rtf, doc

I wrapped the image type to prevent error in the attached image.

Is it Ok, if the form looks like this after I tried to upload two files one of which has the wrong format? The is no error, but the form look strange.

That's how it looks when it is working. What do you think looks off?

If this box is OK for you I am not going to argue.

For documents I uploaded .sql, .exe, .sh files

I'll wrap the code that is giving the empty border. I thought it was more like a tombstone showing where the file would have been.
The document file types that can be uploaded are limited to document/*.  I will reach out to Linda Clark to pair this down but I didn't see a problem with leaving it wider open.

@rsmoke @britaumich - It is not good that a user is able to upload .exe files. This opens up the door for several security vulnerabilities. I think we should block upload of .exe file in this project and also in VOD.

@rsmoke - It is not good that a user is able to upload .exe files
I agree, but maybe that should be a new ticket.

Actually, application/octet_steam is not allowed. Are you adding .exe
extension to a text/plain file content.type?

Rick Smoke, Application Architect
For assistance please submit a request at:
https://teamdynamix.umich.edu/TDClient/47/LSAPortal/Requests/TicketRequests/NewForm?ID=lMiqIZLcXJ0_&RequestorType=ServiceOffering
College of Literature, Science, and the Arts | University of Michigan
LSA Technology Services | 301 East Liberty Street, Ann Arbor, MI 48109
On Mon, Sep 18, 2023, 23:22 Margarita Barvinok @.***>
wrote:

@rsmoke https://github.com/rsmoke - It is not good that a user is able
to upload .exe files
I agree, but maybe that should be a new ticket.
—
Reply to this email directly, view it on GitHub
https://github.com/lsa-mis/art_survey/pull/59#issuecomment-1724775238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMW6NLTNPC3LURBENK2MQ3X3EFVFANCNFSM6AAAAAA4Y2B3YY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@rsmoke I think, you are right. I tried to create an .exe file with some commands, but perhaps, that was still a text file with the .exe extension. Finally, I found a real .exe file and could not upload it. So, the validation works - great!


HHH-10812 Adding module ZIP and integration test for using Hibernate …

…ORM 5.1 on WildFly 10

@Sanne Probably you are the best to review this one. Any feedback welcome.

@Sanne, I've pushed one more commit to address your remarks. The ZIP file has the targeted version as a classifier, e.g. hibernate-orm-modules-5.1.1.Final-wildfly10-dist.zip. So it should be apparent from that, that this is only meant for a specific WF version.

typo in the JIRA of the commit message ;)
I'll fix it myself.

merged!
I'll create a follow-up JIRA to port it to master (5.2)


getDetails method in ERC721Standard and ERC1155Standard classes should return image/description instead of TokenURI

The getDetails methods for ERC721Standard and ERC1155Standard currently fetch and return a tokenURI. Ideally they would  fetch the tokenURI and then use it to fetch other more useful details like image name and description (possibly more) as we do in the getCollectibleInformationFromTokenURI method of the CollectiblesController.

cc @gantunesr @wachunei, tagging you both for thoughts/visibility.

sounds right, getTokenURI should return the UR and getDetails should resolve it.
I'm thinking about the case the tokenURI is a data URI, or a decentralized fs protocol like IPFS, for now we'll support https protocol only, right?

re ipfs: cool 👍
re data uri: I mean something like data:application/json;base64,ew0KICAgICJ...


Mmoloki Ntema

Please "drag & drop" exercise 1 pdf file below.
Botswana Population by District in 2022.pdf

Please "drag & drop" exercise 2 p
Botswana Population Density by District in 2022.pdf
df file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 1 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Well done, Mmoloki. You clearly grasped the material outlined in Module 1 and successfully applied it to these exercises. Thank you for your participation!


Optimized packet load in gemm_pack_rhs (for Packet16f and Packet8f)

These are the TensorFlow changes that use the recent Eigen update where
we had added the masked loads. These changes target loads in gemm_pack_rhs.
When packet is split across 2 adjacent columns, we read it as two
'partial' packets and then merge these into 1. Currently this only works
for Packet16f (AVX512) and Packet8f (AVX2). We plan to add this for
other types of packets (such as Packet8d) also.
This optimization shows significant speedup in SpatialConvolution with
certain parameters. Some examples are below.
Benchmark parameters are specified as:
Batch size, Input dim, Depth, Num of filters, Filter dim
Speedup numbers are specified for number of threads 1, 2, 4, 8, 16.
AVX512:

Parameters
Speedup (Num of threads: 1, 2, 4, 8, 16)

128,   24x24,  3, 64,   5x5
2.18X, 2.13X, 1.73X, 1.64X, 1.66X

128,   24x24,  1, 64,   8x8
2.00X, 1.98X, 1.93X, 1.91X, 1.91X

32,   24x24,  3, 64,   5x5
2.26X, 2.14X, 2.17X, 2.22X, 2.33X

128,   24x24,  3, 64,   3x3
1.51X, 1.45X, 1.45X, 1.67X, 1.57X

32,   14x14, 24, 64,   5x5
1.21X, 1.19X, 1.16X, 1.70X, 1.17X

128, 128x128,  3, 96, 11x11
2.17X, 2.18X, 2.19X, 2.20X, 2.18X

AVX2:

Parameters
Speedup (Num of threads: 1, 2, 4, 8, 16)

128,   24x24,  3, 64,   5x5
1.66X, 1.65X, 1.61X, 1.56X, 1.49X

32,   24x24,  3, 64,   5x5
1.71X, 1.63X, 1.77X, 1.58X, 1.68X

128,   24x24,  1, 64,   5x5
1.44X, 1.40X, 1.38X, 1.37X, 1.33X

128,   24x24,  3, 64,   3x3
1.68X, 1.63X, 1.58X, 1.56X, 1.62X

128, 128x128,  3, 96, 11x11
1.36X, 1.36X, 1.37X, 1.37X, 1.37X

In the higher level benchmark cifar10, we observe a runtime improvement
of around 6% for AVX512 on Intel Skylake server (8 cores).
On lower level PackRhs micro-benchmarks specified in
tensorflow/core/kernels/eigen_spatial_convolutions_test.cc, we observe
the following runtime numbers:
AVX512:

Parameters
Runtime without patch (ns)
Runtime with patch (ns)
Speedup

BM_RHS_NAME(PackRhs, 128, 24, 24, 3, 64, 5, 5, 1, 1, 256, 56)
41350
15073
2.74X

BM_RHS_NAME(PackRhs, 32, 64, 64, 32, 64, 5, 5, 1, 1, 256, 56)
7277
7341
0.99X

BM_RHS_NAME(PackRhs, 32, 64, 64, 32, 64, 5, 5, 2, 2, 256, 56)
8675
8681
1.00X

BM_RHS_NAME(PackRhs, 32, 64, 64, 30, 64, 5, 5, 1, 1, 256, 56)
24155
16079
1.50X

BM_RHS_NAME(PackRhs, 32, 64, 64, 30, 64, 5, 5, 2, 2, 256, 56)
25052
17152
1.46X

BM_RHS_NAME(PackRhs, 32, 256, 256, 4, 16, 8, 8, 1, 1, 256, 56)
18269
18345
1.00X

BM_RHS_NAME(PackRhs, 32, 256, 256, 4, 16, 8, 8, 2, 4, 256, 56)
19468
19872
0.98X

BM_RHS_NAME(PackRhs, 32, 64, 64, 4, 16, 3, 3, 1, 1, 36, 432)
156060
42432
3.68X

BM_RHS_NAME(PackRhs, 32, 64, 64, 4, 16, 3, 3, 2, 2, 36, 432)
132701
36944
3.59X

AVX2:

Parameters
Runtime without patch (ns)
Runtime with patch (ns)
Speedup

BM_RHS_NAME(PackRhs, 128, 24, 24, 3, 64, 5, 5, 1, 1, 256, 56)
26233
12393
2.12X

BM_RHS_NAME(PackRhs, 32, 64, 64, 32, 64, 5, 5, 1, 1, 256, 56)
6091
6062
1.00X

BM_RHS_NAME(PackRhs, 32, 64, 64, 32, 64, 5, 5, 2, 2, 256, 56)
7427
7408
1.00X

BM_RHS_NAME(PackRhs, 32, 64, 64, 30, 64, 5, 5, 1, 1, 256, 56)
23453
20826
1.13X

BM_RHS_NAME(PackRhs, 32, 64, 64, 30, 64, 5, 5, 2, 2, 256, 56)
23167
22091
1.09X

BM_RHS_NAME(PackRhs, 32, 256, 256, 4, 16, 8, 8, 1, 1, 256, 56)
23422
23682
0.99X

BM_RHS_NAME(PackRhs, 32, 256, 256, 4, 16, 8, 8, 2, 4, 256, 56)
23165
23663
0.98X

BM_RHS_NAME(PackRhs, 32, 64, 64, 4, 16, 3, 3, 1, 1, 36, 432)
72689
44969
1.62X

BM_RHS_NAME(PackRhs, 32, 64, 64, 4, 16, 3, 3, 2, 2, 36, 432)
61732
39779
1.55X

All benchmarks on Intel Skylake server with 8 cores.

Hi Eugene. I have now made the following changes to the patch:

Removed MaskType from template parameter list for OptimizedPacketLoadOverTwoColumns. Instead, unpacket_traits<PacketType>::mask_t is used. This also removes the unsigned long long from the enable_if later.
Minor refactoring of loadPartialPacketStandard, loadPacketStandardFromTwoColumns, loadPacketStandardFromSingleColumn and loadPacketStandard for (hopefully) improved readability. This includes:
a. Renamed variables to drop 'Part' suffix.
b. Reuse variable names as much as possible esp. where they "mean" the same for partial packet and packet.
c. Added some comments explaining the intended behavior of code blocks.


AttributeError: 'Namespace' object has no attribute 'beta'

Hi
I was trying to run your code and train the model, however, I could not run it because of this error
File "run_squad.py", line 241, in run
loss = nll + kl * args.beta
AttributeError: 'Namespace' object has no attribute 'beta'
could you please help me out with it?

Hi, I have added 'beta' to argparse, so it will run without error.
For extractive QA, we use beta=1.0.

Thank you so much..


Fix CheckStaticClass pass and add test.

Fixes #743
I had to change protected members to private as in C# static class cannot have protected members...
Also, the way to check static is taken from here.
Although my NUnit 2.0 could not find any tests, so I I haven't run the test after edit, but most probably it should pass. Do I need NUnit 3.0 to run the tests?

Abhinav, first of all, welcome back!
Yes, we switched to NUnit 3.6 but we have updated our reference. Perhaps you only need an updated test runner. I personally use https://marketplace.visualstudio.com/items?itemName=NUnitDevelopers.NUnit3TestAdapter, it enables test runs within VS itself.
Anyway, you definitely should run the tests locally first because I am almost certain your new test will fail - see my top remark in my review.

@genuinelucifer also, since it's been a while since we worked together, please let me remind you. When fixing remarks, do not send new commits on top, instead amend and push force.

Thanks. I fixed it and ran the test with NUnit 3 and it passed. I also run tests from inside VS only, by installing it from VS Marketplace.
Please review again.

@genuinelucifer thank you very much.


Gson Mapping Engine

I was wondering if there are any plans to add Gson as an object mapper?
The Jackson option is great, but it's kind of annoying to integrate KMongo with a codebase that already heavily relies on Gson (duplication of effort for serialization, two serde libs, et cetera).

There is no plan today to add Gson support.
For Jackson, bson4jackson is used under the hood for direct bson <-> object mapping.
I don't know any Gson lib with the same feature (direct bson support is needed, not JSONObject <-> Gson, because then there is a performance penalty). If this lib exists, it would be easy to add Gson support to KMongo.


Update user avatar on navigation sidebar

What does this pull request aim to achieve? 💯
Makes the NavigationLayout have it's own UserContext so it can update the username/avatar and not use the global user object.
This update will be performed on route change.
Please be concise and link any related issue(s):
closes #1757

[x] I have checked that no one else is working on similar changes.
[x] I have read the latest README and understand the development workflow.
[x] The name of this branch is: feature/<branch_name>, or hotfix/<branch_name> if this is a hotfix, where <branch_name> briefly describes the issue(s) resolved and is prefixed with the issue number(s) (e.g. 1127-1130-update-git-branching-model). The branch is created in a cloned version of this repo, not a forked repo.
[x] This branch is rebased/merged with the latest staging (or the latest production if it is a hotfix).
[x] There are no merge conflicts.
[x] There are no console warnings and errors.
[x] On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".
[x] The title describes the issue(s) being addressed using format: <issue_numbers> - <brief_issue_description> (e.g. #1127/#1130 - Update Git Branching Model)

This solution will work but it's not ideal, because it fetches the current user data on every route change, I don't know if this is fine.
But I can't think of any other way since we can't predict if the user was updated or not, so we just have to fetch it to find out.
Any thoughts @joshmorel ?

Hi,
I tested using: macOS and Android
Scenario 1: logged in on both devices

upload avatar pic on desktop
click Profile screen on Android - avatar was updated

Scenario 2: logged in on both devices

upload new avatar on Android device
click Help Board on ma macOS - avatar was updated for all my posts.

This is the related issue #782 (which I am still assigned :sweat_smile:).
I think we should aim to solve both these issues together as the mechanism for one should work for the other.
Either:

Similar to this resolution when they navigate the user is updated
Some kind of "global" heartbeat that queries the backend /api/users/current every 30-60s.

We'd just need to update refreshUser so if there's a 401 error thyen dispatch({ type: AUTH_LOGOUT });.
Or maybe modify initAuth function so it works for all uses?

We'd just need to update refreshUser so if there's a 401 error thyen dispatch({ type: AUTH_LOGOUT });.

Or maybe not call the API at all if the auth cookie doesn't exist, and just dispatch logout.
Having an interval running every 30/60 seconds would probably make more requests than updating the user on route change, we just need to know how often the user changes the route, I am thinking that they will spend most of the time on the help board and casually checking some profiles, also when the tab is just open without any activity, maybe in the background, there will be no interval spamming the API. Maybe business intelligence can tell us how often the user changes the route on a single session.

@joshmorel
Or even better, we can update the user on route change => store the time of the update, on the next route change, if it was less than 30 seconds ago don't refetch the user.
This way there will be no interval spamming the API, and nor quickly switching routes. So the user will be updated a maximum 1 time per 30 seconds and only when the user is actively using the website and not idle or in the background.

Or maybe not call the API at all if the auth cookie doesn't exist, and just dispatch logout.

You are right. We could just this on a setTimeout loop and dispatch logout if it no longer exists: https://github.com/FightPandemics/FightPandemics/blob/431a96a3b8fcc8dce952ad132c5a962f1f40f85f/client/src/actions/authActions.js#L17
I've changed my mind about resolving them together I think we can solve them separately. The logout in other tab thing wouldn't really have an API usage implication then so maybe something that can be resolved without further discussion.
The API usage implication but be worth it here but maybe not? I would see the need to login and logout to see updated avatar a bug, but not the need to reload the page (which seems to work fine). We can discuss further in Slack.


Module messes up 4.5.0 new Check success display

Without Dorako UI:

With Dorako UI:

Styles on adjusted / unadjusted are ignored and broken.

Turns out it's because the selector requires for the adjusted/unadjusted spans to be in the 'header' and Dorako UI considers only the speaker and metadata section up top to be the header. Will fix by implementing my own rules for those adjustments.

Fixed for next release


Add support for different primary_key in belongs_to associations

Just like the title says.
I had to modify the code to work in one of my projects, but I think it would be helpful to others if this feature was included.

Thanks for the contribution. It should be valuable.
It would be great if there were a spec and a README entry. Any chance of doing that?

@sxross sure thing! Let me write it and I'll update my pull request :+1:

@sxross I updated the README to include the necessary information. I'm not too sure about the formatting though. Is there any specific way you like to organize the README?

The README looks good. If you could add some examples to spec/relation_spec.rb that we can use to assure ourselves everything is working properly, that would be great. You have the framework for that in your README example of using a foreign key.


Update v4.5.0

Bar Enabled By Default
Updated Images
Fix Durability Colours - Same as Vanilla Now
Recoded Bar Calculations
Fix Overlap Background on Status
Added Background for System Time
Added Background for Status Elements
Fix Bar Size and Length Calculation
Fixed Bar Background Colour
Fixed Background Location
Bar and Percent/Count is Now Usable at the Same Time
Fixed Bar Z Index
Fixed Equipment Config Mismatch

TODO:

[x] 1.20-1.20.2
[x] 1.19.4
[ ] 1.18.2
[ ] 1.17-1.17.1

DrawableHelper.fill in 1.17 and 1.18.2 doesn't support Z index, will delay update.


a question please

Hi, thank you for the awesome plugin, and sorry to post this here because I haven't found any way to contact you... can you please tell me what you did to keep the modal+overlay scroll within the page on mobile devices, I have my own popup but on mobile if I scroll the overlay and the modal stay at the top ! thanks

Hi @medBouzid,
position: fixed; with overflow: auto; is being used for the popup overlay. That prevents the popup from scrolling with the rest of the page and enables scrolling inside of the popup. If you share a link to your demo page it would give a better insight.
Thanks

Hi @vladimirsiljkovic ,
Thanks you for your reply, I added position: fixed; and overflow: auto; to the overlay but the problem still there, here is the link : https://somegrammar.com/popup/
Thanks in advance

I tried to use your plugin in my web page and with the "basic" animation, when I scroll on mobile the popup+overlay stay at the top and the content get scrolled, I noticed that "slide" animation is working good on my mobile and do the needed effect so I dig in its css and I added this to the page when I use "basic" :
#basic_background {

            -webkit-transition: all 0.3s 0.3s;
               -moz-transition: all 0.3s 0.3s;
                    transition: all 0.3s 0.3s;
        }

        #basic,
        #basic_wrapper {

            -webkit-transition: all 0.4s;
               -moz-transition: all 0.4s;
                    transition: all 0.4s;
        }

        #basic {
            background: white;
           -webkit-transform: translateX(0) translateY(0);
               -moz-transform: translateX(0) translateY(0);
                -ms-transform: translateX(0) translateY(0);
                    transform: translateX(0) translateY(0);
        }

I don't know why but this code make the "basic" popup work correctly on my mobile, so I tried to apply this to my own popup but it doesn't work !! I am not sure if there is something in the js part that have some effect on that ! any help please ?

I think this is what you need: http://jsbin.com/fedebasema/edit?html,css,output
The difference is the way the popup is centered – you've used transform, while we've used vertical-align and text-align.  The changes are marked with comments.


MCA Villagers can't attack players.

MCA Villagers do not appear to be able to hurt players when attempting to attack them. They attack other mobs just fine, it appears to be with just players.
https://github.com/user-attachments/assets/c98f1d74-d284-48db-b523-f0b10176d7eb

Will be fixed for release 1.2.2.


return empty string if len argument is not given

When reached EOF, read() should return an empty string, not nil.
Rack spec states:
When EOF is reached, this method returns nil if length is given and not nil, or “” if length is not given or is nil.

Thanks!


Correct @see annotations

It seems multiple @see annotations should not be comma-separated but listed with multiple @see-s. http://www.rubydoc.info/gems/yard/file/docs/Tags.md#see
Currently this results in a broken (and missing the others) link.

Not an expert on yard doc style at all. I went debugging the danger plugin parser and eventually settled on simply splitting the @sees lol.

hah - think should work for me :D

I've been wanting to do a writeup about all these gotchas once I had stabilized the danger infrastructure - https://github.com/danger/danger.systems/issues/1


Russian pack

AOSP dictionary
rebased @pelya 's fork and merged it into the resurrected SVN

Following @pelya 's comment at https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/690#issuecomment-279337682, I now changed the aplicationId to russian2.
@menny I'd think, if both of you are OK with it, it might be easier to have the pack maintained here and the App transfered to your Google Dev account?

Okay for me, I'll submit a patch here if I'll do any development.
Menny, if you're okay with transferring the app to your account, I will need to know email you used for registering Google Play developer account, and a transaction ID of your $25 account registration fee, as described here:
https://support.google.com/googleplay/android-developer/answer/6230247?hl=en
You can PM them to<EMAIL_ADDRESS>or through Github.

I'll merge this once the pack ownership was transferred.

released an update to the play-store

fdroid: https://gitlab.com/fdroid/fdroiddata/merge_requests/2037


fix: preview mode can use https

Description

Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix: destination view is now added once (was twice)

Hello,
I am experimenting with GRPushSegue by porting it to Swift. Works for me!
One thing I noticed was duplication of this line:
[fromViewController.view addSubview:viewController.view];

(see https://github.com/insidegui/GRPushSegue/blob/95d078dcdd2ea6d83daa815506481310a91a1b2d/GRPushSegue/GRPushSegue.m#L25 and https://github.com/insidegui/GRPushSegue/blob/95d078dcdd2ea6d83daa815506481310a91a1b2d/GRPushSegue/GRPushSegue.m#L29)
I believe one of these should be removed. Let me know if that works for you.

Yeap!


'main_transmission.m' Optimization status as 'Infeasible'

With the wind forecast error scenarios provided in the form of three column vectors of size 'Ns', as mentioned,  I am always getting the below status
Status: Infeasible
Optimal value (cvx_optval): +Inf
for all kinds of mean and standard deviation of the error scenarios.
I don't understand where I am wrong in the implementation.
Also, can I pass error scenarios without centering?
complete command window looks like the below, for one particular epsilon and rho

Wasserstein distance:    0.04
Current weight factor:   30
Calling Mosek 9.1.9: 64183 variables, 10749 equality constraints
For improved efficiency, Mosek is solving the dual problem.
MOSEK Version 9.1.9 (Build date: 2019-11-21 11:34:40)
Copyright (c) MOSEK ApS, Denmark. WWW: mosek.com
Platform: Windows/64-X86
Problem
Name                   :
Objective sense        : min
Type                   : CONIC (conic optimization problem)
Constraints            : 10749
Cones                  : 2576
Scalar variables       : 64183
Matrix variables       : 0
Integer variables      : 0
Optimizer started.
Presolve started.
Linear dependency checker started.
Linear dependency checker terminated.
Eliminator started.
Freed constraints in eliminator : 0
Eliminator terminated.
Eliminator - tries                  : 1                 time                   : 0.00
Lin. dep.  - tries                  : 1                 time                   : 0.30
Lin. dep.  - number                 : 0
Presolve terminated. Time: 0.84
Optimizer terminated. Time: 0.98
Interior-point solution summary
Problem status  : DUAL_INFEASIBLE
Solution status : DUAL_INFEASIBLE_CER
Primal.  obj: -2.7400000000e+02   nrm: 1e+00    Viol.  con: 0e+00    var: 0e+00    cones: 0e+00
Optimizer summary
Optimizer                 -                        time: 0.98
Interior-point          - iterations : 0         time: 0.95
Basis identification  -                        time: 0.00
Primal              - iterations : 0         time: 0.00
Dual                - iterations : 0         time: 0.00
Clean primal        - iterations : 0         time: 0.00
Clean dual          - iterations : 0         time: 0.00
Simplex                 -                        time: 0.00
Primal simplex        - iterations : 0         time: 0.00
Dual simplex          - iterations : 0         time: 0.00
Mixed integer           - relaxations: 0         time: 0.00

Status: Infeasible
Optimal value (cvx_optval): +Inf
Elapsed time is 1162.029290 seconds.

I am running the Transmission System module of the package. The wind data provided are just vectors with all zeros. I have provided my own wind error vectors (with centering, mean zero), but still, the status is infeasible.

could you run this code of the Transmission System module of the package. I do not know how to get the wind data. Thank you very much! please give me a reply


[ionic-cli v2.1.12 ]plugin add  not added to package.json

Short description of the problem:
When I add the plugin with ionic-cli it is not added to package.json
What behavior are you expecting?
That the added plugin is also added in the package.json
Steps to reproduce:
 ionic plugin add phonegap-plugin-barcodescanner
Post the output of ionic info below please
 ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7

Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.1
Xcode version: Not installed

package.json content:
"cordovaPlugins": [
    "cordova-plugin-whitelist",
    "cordova-plugin-console",
    "cordova-plugin-device",
    "cordova-plugin-statusbar",
    "ionic-plugin-keyboard",
    "cordova-plugin-splashscreen"
  ],

you should use --save parameter.
ionic plugin add phonegap-plugin-barcodescanner --save
The plugin information will be save at config.xml

Thanks for the response.
Still confused why some plugins are saved in package.json and others in config.xml. And I can't find the docs to clarify that.
But anyway, closing the issue.

Had the same question, and I didn't use --save parameter as well and neither the ionic documentation says so...
The plugin information somehow is available in config.xml (not sure whether it was there originally before I executed the command).
So I don't think it is neccessary to have it in package.json


showArraySize now defaults to true

https://github.com/tulios/json-viewer/pull/122 changes the default from false to true.

Hi, thanks for the PR. This is just changing the label of showArraySize, to change the default value you have to change this file: https://github.com/tulios/json-viewer/blob/master/extension/src/json-viewer/options/defaults.js#L21
It's not enabled by default because I don't like the looks of it right now (Array[7][), I want to work on the design before it's enabled by default.

Ah. https://github.com/tulios/json-viewer/pull/122/files#diff-c42228554cb75369d0e2cd9b49487adbR20 changes that line to true, but it was only merged to tulios:master, not master.

Fixed in #179


GitHub bot addition

Add https://probot.github.io/apps/unfurl-links/ - may be helpful for getting descriptions of links

cc @TravisEz13

cc @SteveL-MSFT

Added, let's try it out on this repo.  Thanks @RDIL

Okay lets try it -
https://example.com

Cool it works!


npm run dev

Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx
界面出现这个

已解决


Panic during wasm-pack build

🐛 Bug description
I'm on a current clone (ref d382ad72) of the wasm-bindgen repo, trying to run wasm-pack build in the dom example, and I'm getting a panic. I'm a rust/wasm newbie, it's very possible that I'm doing something wrong, but I hope this is very easy to reproduce.
🤔 Expected Behavior
What should have happened?
Expected it to build the example successfully.
👟 Steps to reproduce
chris@ada:~/wasm-bindgen/examples/dom$ wasm-pack --version
wasm-pack 0.8.1
chris@ada:~/wasm-bindgen/examples/dom$ rustc --version
rustc 1.34.0 (91856ed52 2019-04-10)
chris@ada:~/wasm-bindgen/examples/dom$ wasm-pack build
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
    Finished release [optimized] target(s) in 0.10s
[INFO]: Installing wasm-bindgen...
thread 'main' panicked at 'index 114 out of range for slice of length 34', src/libcore/slice/mod.rs:2413:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 101
chris@ada:~/wasm-bindgen/examples/dom$ RUST_BACKTRACE=1 wasm-pack build
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
    Finished release [optimized] target(s) in 0.10s
[INFO]: Installing wasm-bindgen...
thread 'main' panicked at 'index 114 out of range for slice of length 34', src/libcore/slice/mod.rs:2413:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::continue_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::slice::slice_index_len_fail
   9: <&'src str as wasm_bindgen_cli_support::decode::Decode<'src>>::decode
  10: <alloc::vec::Vec<T> as wasm_bindgen_cli_support::decode::Decode<'src>>::decode
  11: <wasm_bindgen_cli_support::decode::Export<'a> as wasm_bindgen_cli_support::decode::Decode<'a>>::decode
  12: <alloc::vec::Vec<T> as wasm_bindgen_cli_support::decode::Decode<'src>>::decode
  13: <wasm_bindgen_cli_support::decode::Program<'a> as wasm_bindgen_cli_support::decode::Decode<'a>>::decode
  14: wasm_bindgen_cli_support::Bindgen::_generate
  15: wasm_bindgen::main
  16: std::rt::lang_start::{{closure}}
  17: std::panicking::try::do_call
  18: __rust_maybe_catch_panic
  19: std::rt::lang_start_internal
  20: main
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 101

I tried running it again after a cargo clean, and it recompiled everything but panicked with the same error.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.8.1
rustc version: 1.34.0

same issue.
Solution
1. install your local crate
cargo install --path  /path/to/local/wasm-bindgen

2. wasm-pack with no-install mode
wasm-pack --mode no-install


Why do we need to monkey-patch Sphinx?

I was looking through the codebase again, and it wasn't clear to me why we need to monkey-patch Sphinx for the extra template functions. Could @jorisvandenbossche post here why that's necessary so we could add to docs, or think of a way around it?
At a quick glance, it seems like the functions we use in the monkey patch use things that already exist in the arguments passed to the html-page-context event, which takes arguments:
app, pagename, templatename, context, doctree

A few comparisons between the monkey-patch and how it seems it could be done with the html-page-context function:
from sphinx.environment.adapters.toctree import TocTree
import docutils

should still work
toctree = TocTree(self.env).get_toctree_for(
            pagename, self, collapse=collapse, maxdepth=maxdepth, **kwargs
        )

becomes
toctree = TocTree(app.env).get_toctree_for(
            pagename, app.builder, collapse=collapse, maxdepth=maxdepth, **kwargs
        )

what else in there do we need that we don't have access to, such that it requires monkey-patching?

I suppose the main reason is: I didn't directly think of a way how to do this with one of the event handles back at the time .. ;)
Getting the env+builder from the app seems to do the trick to get all we need?


Site filter doesn't work in Firefox

Thanks for this great addon.
For some reason, the site filter doesn't work on Firefox - I tried to following pattern (enabled sites):
*translate.google.com*

And the shortcut didn't work anywhere.
Whenever I apply a filter the shortcut is ignored everywhere.
The only option is to enable all shortcuts everywhere...

Should be fixed in the linked commit. If you can - I would appreciate if you could build the extension and test in Firefox developer. I'll do the same and then upload a new version to AMO.

Will do, thank you!

I'm trying to setup an environment when I get the following errors:
<EMAIL_ADDRESS>postinstall /Users/naoric/projects/chrome-shortkeys/node_modules/gifsicle
> node index.js

path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received { url: 'https://raw.github.com/imagemin/gifsicle-bin/v0.1.7/vendor/osx/gifsicle',
  name: 'gifsicle',
  os: 'darwin' }
    at assertPath (path.js:7:11)
    at Object.basename (path.js:1355:5)
    at /Users/naoric/projects/chrome-shortkeys/node_modules/download/index.js:35:43
    at each (/Users/naoric/projects/chrome-shortkeys/node_modules/each-async/each-async.js:63:4)
    at module.exports (/Users/naoric/projects/chrome-shortkeys/node_modules/download/index.js:33:5)
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-wrapper/index.js:108:20
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-wrapper/index.js:141:24
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-check/index.js:30:20
    at /Users/naoric/projects/chrome-shortkeys/node_modules/executable/index.js:39:20
    at FSReqWrap.oncomplete (fs.js:123:15)

><EMAIL_ADDRESS>postinstall /Users/naoric/projects/chrome-shortkeys/node_modules/optipng-bin
> node index.js

path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received { url: 'https://raw.github.com/imagemin/optipng-bin/v0.3.11/vendor/osx/optipng',
  name: 'optipng',
  os: 'darwin' }
    at assertPath (path.js:7:11)
    at Object.basename (path.js:1355:5)
    at /Users/naoric/projects/chrome-shortkeys/node_modules/download/index.js:35:43
    at each (/Users/naoric/projects/chrome-shortkeys/node_modules/each-async/each-async.js:63:4)
    at module.exports (/Users/naoric/projects/chrome-shortkeys/node_modules/download/index.js:33:5)
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-wrapper/index.js:108:20
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-wrapper/index.js:141:24
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-check/index.js:30:20
    at /Users/naoric/projects/chrome-shortkeys/node_modules/executable/index.js:39:20
    at FSReqWrap.oncomplete (fs.js:123:15)

><EMAIL_ADDRESS>postinstall /Users/naoric/projects/chrome-shortkeys/node_modules/pngquant-bin
> node index.js

path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received { url: 'https://raw.github.com/imagemin/pngquant-bin/v0.3.5/vendor/osx/pngquant',
  name: 'pngquant',
  os: 'darwin' }
    at assertPath (path.js:7:11)
    at Object.basename (path.js:1355:5)
    at /Users/naoric/projects/chrome-shortkeys/node_modules/download/index.js:35:43
    at each (/Users/naoric/projects/chrome-shortkeys/node_modules/each-async/each-async.js:63:4)
    at module.exports (/Users/naoric/projects/chrome-shortkeys/node_modules/download/index.js:33:5)
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-wrapper/index.js:108:20
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-wrapper/index.js:141:24
    at /Users/naoric/projects/chrome-shortkeys/node_modules/bin-check/index.js:30:20
    at /Users/naoric/projects/chrome-shortkeys/node_modules/executable/index.js:39:20
    at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/gifsicle):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>postinstall: `node index.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/optipng-bin):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>postinstall: `node index.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/pngquant-bin):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>postinstall: `node index.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

added 7 packages in 5.171s

What version of npm/node should I use? should I install some packages globally?

I've seen that issue before, AMO reviewer had something similar. Are you on mac?
Try running the following command: npm install gruntjs/grunt-contrib-imagemin
Node version is specified on the package.json: "node": ">=0.8.0" so you'd get a warning when running npm install.
If the above does not work, then try this: npm cache clean
npm install gruntjs/grunt-contrib-imagemin
if that does not work try:
npm install grunt-contrib-imagemin --save-dev
npm install imagemin-gifsicle --save-dev
npm install imagemin-jpegtran --save-dev
npm install imagemin-optipng --save-dev
npm install imagemin-pngquant --save-dev
or:
npm install grunt-contrib-imagemin --save-dev

@pmalecka Thanks so much!
Looks like it works, even though I get this whenever I use the extension:
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src https://assets-cdn.github.com”). Source: const loc = window.location.href.match(/....

I guess it's because it is not signed (already allowed unsigned extension in about:config and still)

That's super weird, there's no reference to https://assets-cdn.github.com nowhere in the code. Are you testing on an empty profile in firefox developer? Where are you seeing the error popup window, console, browser console)?
I just installed on my deily profile to test this a bit, too. Will upload to AMO shortly - but be warned that approval process takes some time (~20days).

I see it in the console when the key doesn't work, will try again with an empty profile (used my profile to test it)


Disable quick connect until a condition is met

Hey team,
We use the custom ccp as an app for our contact centers. We heavily use quick connects for transfers. However, we have a new requirement where we want to disable the DOM for quick connect until the agent has filled the transfer summary in a separate modal.
Since the containerDiv is an iframe and we don't have access to the DOM I believe, but is there a way we can access this DOM and disable it and then enable it again?

Depends on your implementation/hosting solution I would think. My first inclination is to set the agent's permissions dynamically- I believe the QC being displayed in the CCP is an init param- but the connect core still runs in background- so perhaps you re-init the CCP every time you need to hide it but this seems really redundant. I have had to use some DOM manipulation/janky workarounds in our solution due to how it is hosted- but I really wish I had the time to build a custom CCP, sounds like that might be a good option for you as well. You might be able to set a requirement for some sort of flag in the react app without going too deep into it- but iframes definitely make any sort of front end stuff annoying- IE: agent filled out a call transfer form on front end- trying to make the ccp understand that something happened. The front end layer that binds the two just isn't sufficient in my experience, and my understanding of react isn't quite good enough to rebuild the CCP how I would like it.
Anyone who has been deeper into the connect resources on the backend might be able to provide some insight- there's probably a Lambda or DDB action or something that is involved, you may be able to leverage that with some sort of custom event that updates whatever resource is being used to make quick connects available

This little bit of the core functionality might be leveraged to do what you're talking about. Specifically the client.call(connect.ClientMethods.{whichever methods are avail})
var client = connect.core.getClient();

//................//
client.call(connect.ClientMethods.UPDATE_AGENT_CONFIGURATION, {
configuration: connect.assertNotNull(configuration, 'configuration')
}, {
success: function (data) {
// We need to ask the shared worker to reload agent config
// once we change it so every tab has accurate config.
var conduit = connect.core.getUpstream();
conduit.sendUpstream(connect.EventType.RELOAD_AGENT_CONFIGURATION);
//.............//

Thanks for sharing! I don't know how the reloading would effect the advocate experience. In theory, I want a connect stream event that I can use to block quick connect initially and then unblock it in my js code. Is that possible from connect streams?

Thanks for sharing! I don't know how the reloading would effect the advocate experience. In theory, I want a connect stream event that I can use to block quick connect initially and then unblock it in my js code. Is that possible from connect streams?

Not that I'm aware of using only the built in API, you would need to customize the React app before build to do this effectively I believe- and then need to be able to know which quick connects to enable. However, if you are using the agent experience thing and workflows in AWS, I'm sure it can be done through a lambda/in the contact flows. In fact, may still be possible to do in a contact flow, but that gets tricky if your required modal is in a separate app/workflow.
We have some situations where I also would like to be able to trigger certain API aspects based on an external event. Doing it via DOM manipulation is front end suicide- the react app changes too much. What you could try as mentioned is on an event- change the agent options through the API. But I have not yet looked for something like this. If you have the ability to track which contacts you want made available to transfer by phone number in your hosting app/outside page then it could be done that way- event goes to outside page- which is able to retrieve the contact to transfer to somehow- then the outside page uses the streams API to transfer call to a specific number/contact programmatically.
I would think one way though, is to use a contact flow verification that puts the customer on hold and looks for a certain condition to be met. It would require some sort of integration I'm sure such that the flow is able to ascertain via Lambda or the like that the required agent work is completed. Really though, this sort of integration needs a custom integration of streams into whatever application the agent's workflow is in. In fact I dearly wish I had the time to build an API and the custom application to do just that for our help desk folks. A separate window entirely for the phone that is essentially a "desktop" app that will always ring and be stable regardless of other browser activity, but is somehow integrated into their workflows. I am pretty close to something like that for chat, but moving it into voice is slightly different.
I would just recommend getting into the resources provided in streams library, and learning how (if like me, it is new to you) the react application is built, then you could pretty easily pick through and add to the transfer function a requirement that is looking for some property on the outside page, maybe temp storage somewhere? A "ready to transfer" property, that is only a value when they are in a workflow where they must complete something, but otherwise undefined or something.

We don't take feature requests in github. Please contact the official Amazon Connect support and have them file a ticket to us.https://aws.amazon.com/contact-us/?nc2=h_header


fix: update the docker composer file to load v0.4.0

What type of PR is this?
/area simulator
/area web
/kind feature

What this PR does / why we need it:
v0.4.0 is released, let's move our docker compose to use them.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
/label tide/merge-method-squash

/cc @utam0k

/lgtm

Thanks!


The script generated by webpack is not formatted with babel.

Bug report

What is the current behavior?
Babel-loader is used, but the scripts generated by webpack are not compatible.

My code is processed, but webpack code is not processed.

What is the expected behavior?
The closure function wrapped in the outermost layer and the code used to process the module can be processed by babel.

Other relevant information:

webpack version:  5.21.2
Node.js version: v14.4.0
Operating System: Windows 10
Additional tools:

@Babel/core: 7.12.13
@Babel/cli: 7.12.13

You are looking for https://webpack.js.org/configuration/target/#browserslist
target: "browserslist: ie >= 8"

Answer above, time to drop IE, feel free to feedback


Icon, cursor and GTK theme are not reported correctly

General description of bug:
I am comparing fastfetch with neofetch. As you can notice fastfetch is reporting wrong Icons, cursor and GTK theme. They are as reported with neofetch.

Often helpful questions:

Does the issue occur across multiple terminal emulators? [Y]

tilix
gnome-terminal
terminator

Does the issue occur across multiple shells? (bash, zsh, fish, etc) [Y/N]

Output of fastfetch --version:
fastfetch 1.8.2

Output of fastfetch --load-config devinfo:

Output of fastfetch --list-features:
gio
dbus
zlib

Added more features but still the issue is not resolved.

Should work now.

Partly fixed.
Icon theme and gtk theme are detected fine.

Cursor should be "Vimix" in this case.

Do you know the dconf path where it is stored?

This is the dconf path.

fastfetch reads the default value I guess.

And this command working fine in terminal:
gsettings set org.gnome.desktop.interface cursor-theme "Bibata-Original-Ice"

Probably unrelated but there is a missing letter f.

Probably unrelated but there is a missing letter f.

https://github.com/LinusDierheimer/fastfetch/commit/8a054706b5efd6d50db4cf92388d62a94d50f4ca

Should also be working now.

Should also be working now.

Yes. It is fixed. Thanks!


TODO: Fix co-ordinate types

There are a number of types which relate to co-ordinate and placement of objects upon the screen / surface / texture, they should all be related so we don't have to use view conversions all over the place.
Also need to fix the types so they can handle signed values, in SDL2 they use int's so that objects can be "blitted" offscreen, then objects can appear from offscreen somewhere, i.e. a alien coming from the top of the screen to the bottom. This also allows testing for objects which are totally offscreen, i.e. alien goes off the bottom of the screen, remove it from the list of renderable items.

[x] There are 2 Size records, SDL.Video.Sizes and SDL.Video.Rectangles.Size. There should be only one!
[x] SDL_RenderGetLogicalSize (SDL_RenderGetLogicalSize) can set w and h to zero, this takes the SDL.Video.Rectangles.Size because the SDL.Video.Sizes has Width and Height defined as Positive when they should really be Natural.

Fixed coordinates and sizes.


how to use .net framework 4.5

how to use .net framework 4.5?this is only to 4.7

please modify it in the .sln and .csproj files as needed