Exception on opening Powershell 7.4.2 with

Microsoft PowerToys version
0.81.1
Installation method
WinGet
Running as admin
No
Area(s) with issue?
Command not found
Steps to reproduce
Just open Powershell with Command not found already set up.
✔ Expected Behavior
Powershell to open without any error.
❌ Actual Behavior
You get an error that says this:
Unhandled exception. System.Management.Automation.CmdletInvocationException: An error occurred while connecting to the catalog.
---> Microsoft.WinGet.Client.Engine.Exceptions.CatalogConnectException: An error occurred while connecting to the catalog.
at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.GetPackageCatalog(CompositeSearchBehavior behavior)
at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.FindPackages(CompositeSearchBehavior behavior, UInt32 limit, PackageFieldMatchOption match)
at Microsoft.WinGet.Client.Engine.Commands.Common.FinderExtendedCommand.FindPackages(CompositeSearchBehavior behavior, PackageFieldMatchOption match)
at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.<>c__DisplayClass1_0.b__0()
at Microsoft.WinGet.Client.Engine.Commands.Common.ManagementDeploymentCommand.Execute[TResult](Func1 func)    at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.Find(String psPackageFieldMatchOption)    at Microsoft.WinGet.Client.Commands.FindPackageCmdlet.ProcessRecord()    at System.Management.Automation.CommandProcessor.ProcessRecord()    --- End of inner exception stack trace ---    at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()    at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)    at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at Microsoft.WinGet.CommandNotFound.WinGetCommandNotFoundFeedbackPredictor.WarmUp()
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Furthermore, the pwsh process aborts a while after this (typical behavior when there is an unhandled exception, I think)
Other Software
No response

I have the Powertoys winget.commandnotfound module enabled which adds a line to the powershell profile.
Now when I try and open pwsh.exe with the default $PROFILE without an internet connection I get the above exception but when I comment out the said line added by PowerToys to my profile, pwsh.exe is back to normal with $PROFILE. So, I am sure it's being caused by the line given below:

#some-uuid-xxxx-xxxx powertoys commandnotfound module
Import-Module -name microsoft.winget.commandnotfound -ErrorAction Stop
#some-uuid-xxxx-xxxx

If you haven't enabled this module in PowerToys though, I have no clue what else could be causing it.

They probably need to add some exception handling so that the pwsh process itself doesnt exit, since it doesn't make any sense for the entire shell instance to exit with error just because a minor feature is not up

Same.
Trying to enter a non-existent command when there is no network connection, PowerShell (7.4.2) exits and prints:
An error has occurred that was not properly handled. Additional information is shown below. The PowerShell process will exit.
Unhandled exception. System.Management.Automation.CmdletInvocationException: An error occurred while connecting to the catalog.
 ---> Microsoft.WinGet.Client.Engine.Exceptions.CatalogConnectException: An error occurred while connecting to the catalog.
   at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.GetPackageCatalog(CompositeSearchBehavior behavior)
   at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.FindPackages(CompositeSearchBehavior behavior, UInt32 limit, PackageFieldMatchOption match)
   at Microsoft.WinGet.Client.Engine.Commands.Common.FinderExtendedCommand.FindPackages(CompositeSearchBehavior behavior, PackageFieldMatchOption match)
   at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.<>c__DisplayClass1_0.<Find>b__0()
   at Microsoft.WinGet.Client.Engine.Commands.Common.ManagementDeploymentCommand.Execute[TResult](Func`1 func)
   at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.Find(String psPackageFieldMatchOption)
   at Microsoft.WinGet.Client.Commands.FindPackageCmdlet.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
   at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
   at Microsoft.WinGet.CommandNotFound.WinGetCommandNotFoundFeedbackPredictor.WarmUp()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Something wrong! This errror is happened sometimes.
An error has occurred that was not properly handled. Additional information is shown below. The PowerShell process will exit.
Unhandled exception. System.Management.Automation.CmdletInvocationException: An error occurred while connecting to the catalog.
 ---> Microsoft.WinGet.Client.Engine.Exceptions.CatalogConnectException: An error occurred while connecting to the catalog.
   at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.GetPackageCatalog(CompositeSearchBehavior behavior)
   at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.FindPackages(CompositeSearchBehavior behavior, UInt32 limit, PackageFieldMatchOption match)
   at Microsoft.WinGet.Client.Engine.Commands.Common.FinderExtendedCommand.FindPackages(CompositeSearchBehavior behavior, PackageFieldMatchOption match)
   at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.<>c__DisplayClass1_0.<Find>b__0()
   at Microsoft.WinGet.Client.Engine.Commands.Common.ManagementDeploymentCommand.Execute[TResult](Func`1 func)
   at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.Find(String psPackageFieldMatchOption)
   at Microsoft.WinGet.Client.Commands.FindPackageCmdlet.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
   at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
   at Microsoft.WinGet.CommandNotFound.WinGetCommandNotFoundFeedbackPredictor.WarmUp()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

PowerShell 7.4.3
Loading personal and system profiles took 827ms.
➜ dousx  ~  63%  Wednesday 13:39:57  0s
⚡
An error has occurred that was not properly handled. Additional information is shown below. The PowerShell process will exit.
Unhandled exception. System.Management.Automation.CmdletInvocationException: An error occurred while connecting to the catalog.
---> Microsoft.WinGet.Client.Engine.Exceptions.CatalogConnectException: An error occurred while connecting to the catalog.
at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.GetPackageCatalog(CompositeSearchBehavior behavior)
at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.FindPackages(CompositeSearchBehavior behavior, UInt32 limit, PackageFieldMatchOption match)
at Microsoft.WinGet.Client.Engine.Commands.Common.FinderExtendedCommand.FindPackages(CompositeSearchBehavior behavior, PackageFieldMatchOption match)
at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.<>c__DisplayClass1_0.b__0()
at Microsoft.WinGet.Client.Engine.Commands.Common.ManagementDeploymentCommand.Execute[TResult](Func1 func)    at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.Find(String psPackageFieldMatchOption)    at Microsoft.WinGet.Client.Commands.FindPackageCmdlet.ProcessRecord()    at System.Management.Automation.CommandProcessor.ProcessRecord()    --- End of inner exception stack trace ---    at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()    at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)    at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at Microsoft.WinGet.CommandNotFound.WinGetCommandNotFoundFeedbackPredictor.WarmUp()
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
[已退出进程，代码为<PHONE_NUMBER> (0xe0434352)]
现在可以使用Ctrl+D关闭此终端，或按 Enter 重新启动。

FYI: https://github.com/microsoft/winget-command-not-found/issues/7#issuecomment-2153475740

Same issue when there is no network connection, I have to uninstall "Command Not Found" until this problem is solved.

There is new release of Command not Found: https://github.com/microsoft/winget-command-not-found/releases/tag/v1.0.3


consider releasing a new version

Last release is from Dec 16, 2017, maybe its time for another one?
It would be cool to have regular updates if, like now, some small fixes and features/adjustments make it into the repo. This would allow distros to pickup those changes instead of keeping them outside of a release for over 2 years.
thanks a lot, cheers

I was hoping to implement Peak Detect similar to what pavucontrol has, but it's taking longer than expected. I'll make a few fixes and release 1.5 without this feature then.

https://github.com/GeorgeFilipkin/pulsemixer/releases/tag/1.5.0


Use the separate config stack di-btm-config-$ENV.

Removed parts that went into the config stack. Also some test refactoring.
Once this is merged:
I recommend deleting your ephemeral stacks before applying this change or there will be a lost config bucket flying around that you need to delete manually (which is also the alternative if you don't heed this advice :-) ).

@phinterseer Integration test changes looks good to me


[Hub Generated] Review request for Microsoft.Network to add version stable/2022-04-01

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[X] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month. Mar 2023
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. Feb
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

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

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

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[X] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

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

To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

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

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

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@imsiddhartha - Please fix the two linter errors introduced as part of this api-version change. https://github.com/Azure/azure-rest-api-specs/pull/22357/checks?check_run_id=11012171989

@sjanamma Fixed in this commit https://github.com/Azure/azure-rest-api-specs/pull/22357/commits/6251207b2a96bed108cc078ebb663aaec6468d56

Hi @imsiddhartha , please also fix prettier check first before I can help you merge.

@fengzhou-msft to help check .Net SDK generation failure

@akning-ms Fixed prettier checks

The azure-sdk-for-net-track2 failure is caused by a breaking change where the conditon for auto-renaming from TrafficManagerRelativeDnsNameAvailabilityParameters to TrafficManagerRelativeDnsNameAvailabilityContent is no longer established . We will use config to name it back. The failure should not block this PR.

Hi @imsiddhartha, ping me for merge when your service is almost ready in production (like before about 1 weeks).  according to API readiness check. Looks the new version is not deployed in production yet.

Reopening as we are ready to GET this released.

re-assign to Ray as seems I don't have merge permission anymore

/azp run

/azp run unifiedPipeline


[2237] Refactor subject factories into child factories

Context
We previously only had 1 factory that covered all child class creation.
This PR creates factories for each child class and a trait for each subject.
Changes proposed in this pull request

Create the 5 child class factories
Refactor the tests to use them

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Course subjects related tidy up


npm install failes on newly cloned project

Previously I created a web project by create-react-app myapp --scripts-version custom-react-scripts with decorator enabled, and pushed it to git, then I cloned this project to another computer, and tried to compile it,
npm install
npm start

but it fails with the following errors:
Error in ./src/stores/CounterStore.js
Syntax error: Unexpected token (6:2)

  4 |
   5 | export default class CounterStore {
> 6 |   @observable count = 0;
    |   ^
  7 |
  8 |   @action increment() {
  9 |   	this.count++;

Sorry, I forgot to add the .env file to git repo, this is why it fails on a new computer.


npm audit shows many vulnerabilities

When you run npm audit, you can see a series of package vuleriabilites.
found 63 vulnerabilities (2 low, 17 moderate, 26 high, 18 critical)

We should remove these vulnerabilities.

Hey team! Please add your planning poker estimate with ZenHub @dejanzele @jayofdoom @kannon92 @richscott

We decided to not go through with this.


Service Request: Brain.fm

Web app located here: https://www1.brain.fm/app
Mainly would be useful for play/pause and skip forward (there's no skip back).
Low-priority (this app is largely a set it and leave it use case, but would be convenient to use system controls for play/pause and skip)
Patreon username: brwyatt

Hello @brwyatt.Thanks for your tip. Nuvola might add new scripts as soon as the Chromium transition is completed in February.

Published but not announced yet.
Flatpak package
Source code

Awesome! Thanks!


EIT-PF: Suggestion plugin

Hi @lelegard ,
As the DVB specifications dictate to include EIT p/f in every MPTS, in order to create home-made DVB-T conformant MPTS broadcasts from user sources (cameras and recordings) I need to inject some very simple EIT p/f information. And the current eit plugin only extracts data.
So a new simple plugin called eit-pf will be very useful. And I'm only suggesting for Present/Following information, not for the complex Schedule data, it's clear that any schedule data is out-of-scope.
What you think?
Regards.

Hi @lelegard ,
If you don't want to implement this becaues the KISS paradigm... then please, let me know how to insert a table from XML with EIT p/f information. Any idea?
Thank you for this powerful project!

If I understand correctly, your need is:

PID 18 (EIT) is originally empty.
Some external tool generates files (XML or binary) containing EIT p/f.
These files need to be cycled on PID 18.
From time to time (typically at an event boundary), some or all of these files are regenerated with new EITp/f content. The new new EIT p/f shall replace the previous ones in PID 18.

Is that correct?
If this is correct, -P inject --pid 18 --poll-files should do the job. You could typically generate one EIT p/f file per service and use a wildcard as file name or use one single large EIT p/f for the MPTS.

Thank you @lelegard for your support!

Is that correct?

Yes and no. I don't have any external tool that generates any XML EIT p/f table. I want to create one XML manually with some basic info (for example: "Camera 1" as the title, for present event and similar for the following event). And then I want to insert it with TSDuck.

If this is correct, -P inject --pid 18 --poll-files should do the job. You could typically generate one EIT p/f file per service and use a wildcard as file name or use one single large EIT p/f for the MPTS.

Great! So, then the inject plugin is the key to do it. However, I request if you can provide some simple (really simple, nothing complex only the most basic version) plugin/tool that can generate such EIT p/f tables from the basic XML.
If you don't agree, don't worry. Your work is impressive. However, I think a tool like this would be very useful.
Regards.

If you do not need to replace the files, you do not need the --poll-files option.
And the simplest tool to generate a simple EIT p/f XML file is a ... text editor 😉 with the unvaluable assistance of the copy/paste feature from the user's guide. The XML file can be directly injected by the plugin.

And the simplest tool to generate a simple EIT p/f XML file is a ... text editor  with the unvaluable assistance of the copy/paste feature from the user's guide. The XML file can be directly injected by the plugin.

OK. But, where to find the example? In the TSDuck User's Guide I don't see any of such XML files (141 ocurrences of eit word, and only "C.3.4 Event Information Table (EIT)" has some info, but... I can use this for the XML?). Futhermore the eit plugin only analyzes (aka extracts metadata) but not the content of the tables (XML files).
Please, with all respect: Can you provide some example or guide?
Thank you!

First, copy / paste the structure of an EIT from C.3.4 and replace the attribute values by real values. Then, decide how many events you want and which descriptors should be present according to DVB or national usage rules. Then copy / paste the structure of these descriptors from their corresponding section in appendix C.
For instance, the simplest form of EIT p/f, with one single event and one single short event descriptor is shown below :
<?xml version="1.0" encoding="UTF-8"?>
<tsduck>

  <EIT type="pf" service_id="0x1234" transport_stream_id="0x5678" original_network_id="0x9ABC">
    <event event_id="0xABCD" start_time="2019-11-22 12:25:44" duration="01:15:34">
      <short_event_descriptor language_code="eng">
        <event_name>Event Foo</event_name>
      </short_event_descriptor>
    </event>
  </EIT>

</tsduck>


(Attempt 2) 45 create cmake files for tests and debug bot directories

Issue #45

As per https://github.com/Cryptyc/Sc2LadderServer/pull/59#pullrequestreview-134513728
The original suggestion was to support the following structure:
tests/unitests/testa
tests/unittests/testb
tests/functional/debugbot


Pact Magic/Spellcasting Slots issue

So this is something I've noticed in my current playthrough. I'm playing a Paladin/Warlock Multiclass and it seems like it is coded to ALWAYS use Warlock spellslots first. While this is normally not a big deal, there are times where I'd rather just use a level 1 Paladin slot to smite with or to cast a spell with. The problem is, Warlock Slots are ALWAYS used first, even if I try to cast a level 1 Paladin spell (such as Divine Favor). This can be a pretty big waste since some spells don't gain any benefit from upcasting. Additionally, if you choose to smite with a 1st level slot, it will perform a first level Smite even if your Warlock slots are second level (though it will consume your second level Warlock slot).
RAW if you have both types of slots you can choose which kind you use. This feels like it will likely affect any spellcasters multiclassing with Warlock.

You can SHIFT click to use spell slots instead of pact slots. Only on non mp game.


Add support for options with identical values.

Context

https://secure.helpscout.net/conversation/2457894739/59140/
https://secure.helpscout.net/conversation/2449770325/58821?folderId=6987275

Summary
Adds support for including options with duplicat options.

@veryspry I am getting the same problem here. For the point 2, I can also add the postal codes feature, in some countries with the same code you can get multiple cities, and without allowing duplicated values, it is impossible to use this library...


[NFR]: Compatibility with psr/simple-cache 2.x and 3.x

Is your feature request related to a problem? Please describe.
It is not possible to use the latest version of the database migration manager robmorgan/phinx because in the latest versions they require psr/simple-cache ^2.0 || ^3.0 through the dependency chain.
Now the composer.json contains the requirement for "psr/simple-cache": "^1.0". Is there any reason why there is no support for newer versions of psr/simple-cache - 2.0.0 and 3.0.0, even though they were released back in 2021?
Describe the solution you'd like
Add the ability to install psr/simple-cache ^2.0 || ^3.0.
Describe alternatives you've considered
Additional context
  Problem 1
    - Root composer.json requires phalcon/proxy-psr16 ^1.0 -> satisfiable by phalcon/proxy-psr16[1.0.0].
    - cakephp/datasource 5.0.0 requires psr/simple-cache ^2.0 || ^3.0 -> satisfiable by psr/simple-cache[2.0.0, 3.0.0].
    - cakephp/database 5.0.0 requires cakephp/datasource ^5.0 -> satisfiable by cakephp/datasource[5.0.0].
    - You can only install one version of a package, so only one of these can be installed: psr/simple-cache[1.0.0, 1.0.1, 2.0.0, 3.0.0].
    - robmorgan/phinx[0.15.0, ..., 0.15.2] require cakephp/database ^5.0 -> satisfiable by cakephp/database[5.0.0].
    - phalcon/proxy-psr16 1.0.0 requires psr/simple-cache ^1.0 -> satisfiable by psr/simple-cache[1.0.0, 1.0.1].
    - Root composer.json requires robmorgan/phinx ^0.15 -> satisfiable by robmorgan/phinx[0.15.0, 0.15.1, 0.15.2].

@StudioMaX Thank you for this.
New release fixes that: https://github.com/phalcon/proxy-psr16/releases/tag/2.0.0
psr/simple-cache v2/v3 work only in PHP 8+, hence this new version allows for upgrading. For those that need this while using PHP 7.4 can use v1.0.0


Updated Readme

fixes https://github.com/Devansh-Singh-Parmar/AdBlocker/issues/11

Thank you for your work, I apperciate that!


Update version to v0.11.0.beta1

All Submissions:

[ ] I've checked to ensure there aren't other open Pull Requests for the same update/change.
[ ] I've submitted a ticket for my issue if one did not already exist.
[ ] My submission passes all tests. (Please run the full test suite locally to cut down on noise from travis failures.)
[ ] I've used Github auto-closing keywords in the commit message or the description.
[ ] I've added/updated tests for this change.

New Feature Submissions:

[ ] I've submitted an issue that describes this feature, and received the go ahead from the maintainers.
[ ] My submission includes new tests.
[ ] My submission maintains compliance with JSON:API.

Bug fixes and Changes to Core Features:

[ ] I've included an explanation of what the changes do and why I'd like you to include them.
[ ] I've provided test(s) that fails without the change.

Test Plan:
Reviewer Checklist:

[ ] Maintains compliance with JSON:API
[ ] Adequate test coverage exists to prevent regressions

well, that's interesting. let me know I can help. We're blocked from the 0.9-> 0.10 upgrade and I was looking to see if I can write a passing test for the failing test in https://github.com/cerebris/jsonapi-resources/issues/1305 off of release-0-10 and found


Show "Traditional Chinese" instead of "Chinese" in translation admin

Description
For our chinese locale, hard code "Traditional Chinese" to match our other hard coding in LanguageSelector.java.
Release notes
Checklist
General
Read the full guidelines for PRs here

[x] Added the correct label: < feature | enhancement | bug | under-development | dependencies | infrastructure | ignore-for-release | database >
[x] Assigned to a specific person, civiform/developers, or a more specific round-robin list
[x] Added an additional reviewer from outside your organization as FYI (if the primary reviewer is in the same organization as you)
[x] Created unit and/or browser tests which fail without the change (if possible)
[x] Performed manual testing (Chrome and Firefox if it includes front-end changes)

User visible changes

[x] Tested on mobile view. See mobile device mode
[x] Manually tested at 200% size

Instructions for manual testing
Issue(s) this completes
Fixes #3473

As mentioned in an individual chat, I'm not 100% sure if we want to submit this given the special casing, but please take a look anyway.

As mentioned in an individual chat, I'm not 100% sure if we want to submit this given the special casing, but please take a look anyway.

This is similar to how we handle it here, so seems fine to me!

Welcome to the Team!!!


Tiny cleanups

While working on a PR for a feature request, I made a tiny refactoring, and did some small reformatting.
Separating out here, so it's easier to review.

What's with the (m) in commit messages?

Oh, sorry, it just means "Minor commit." It's a convention at my job, it must've stuck in by habit. I can rebase & reword...?

@sigmavirus24 I reworded them, without the (m). Sorry about that!

Oh you didn't have to go through that trouble @danbernier. I was just curious :smile_cat:

NP, I have fast fingers ;-)

Thanks again @danbernier!

:+1: No problem.


Generate TypeScript typings for semantic actions

It would be nice if we could generate a .d.ts file for a given Ohm grammar, to enable stricter type checks on semantic actions.
In principle, this is similar to generating TypeScript definitions for CSS modules or GraphQL.

An early version of this has landed, and can be seen in the typescript example.

This is coming in v16, which should be released soon. More details in the TypeScript doc.


Make FilterManager configurable on instantiation

Problem statement
Right now, to set any non-default values in our FilterManager, we have to use useEffect with an empty deps array, which is frowned upon by our linter and also unnecessary mounting behavior. We should be able to pass a Partial<FilterManager> to provide defaults.
To-do

[ ] Instantiate FilterManager with partial object
[ ] Pipe those into the filter hooks
[ ] Filter hooks need to be able to take default values as params and set them

#4859 will add in defaulting PageSize


Unable to sign transactions on testnet.

Please disregard this as the following comments are more accurate
I have been scouring the internet for a more detailed example on how to actually sign transactions against the BCY testnet but I am not having any luck finding updated information.
Here's the steps I've taken and sorry in advance if I'm doing this completely wrong. I am extremely new to the crypto world.

Installed bcwallet to generate a BCY testnet address bprv/bpub key.
Created a new transaction from newTX() function provided by this library.
Attempting to get a ECPair from the bcwallet private key provided.

I attempt to get the ECPair with the following:
const seed = bip32.fromBase58('bprvTxeXPZq5...');
const firstKeyECPair = bitcoin.ECPair.fromPrivateKey(seed.privateKey);

This is currently failing with "Invalid network version."
Any help at addressing this issue would be GREATLY appreciated.

Let me try to further clarify the issues I'm having and the steps I've taken to get here. I feel like I am extremely close to having this functional but am stuck with another error now.
Steps:

Installed electrum wallet and have it functional on the testnet.
From the electrum menu I copied the "Master public key"
Created an HD wallet via BlockCypher's api with the extended_public_key set to the Master public key I copied in the step above.
Derived a new wallet as demonstrated in the API documentation.
Created a transaction via newTX();
(This is where I am stuck)

Currently my transaction is being created and sent to me but I am failing to understand how to properly sign the items inside of the tosign array.
Here is what I am currently doing (please dont mind the messy code)
let keys: any;
async function getPrivateKey(): Promise<any> {
  if (keys) return keys;

  const seed = await bip39.mnemonicToSeed('<secret stuff here>');
  const root = bitcoin.bip32.fromSeed(seed, bitcoin.networks.testnet);
  const key = bitcoin.ECPair.fromWIF(root.toWIF(), bitcoin.networks.testnet);

  keys = key;

  return keys;
}

async function signTransaction(tx: any) {
  if (!keys) await getPrivateKey();

  tx.pubkeys = [];
  tx.signatures = tx.tosign.map((tosign, n) => {
    tx.pubkeys.push(keys.publicKey.toString('hex'));
    const SIGHASH_ALL = 0x01;
    return bitcoin.script.signature.encode(
      keys.sign(new buffer.Buffer(tosign, 'hex')),
      SIGHASH_ALL,
    ).toString('hex').slice(0, -2);
  });

  console.log(tx);
  console.log(tx.tx.inputs);

  return tx;
}

Unless I am completely misunderstanding this then I think my problem is due to me trying to sign with the root node's private key instead of the derived addresses private key?
Any information that someone could provide to get me on the right track would be awesome. I feel like I'm so close.

Alright so upon looking into this further, I was able to find a few bits of information that may be helpful.
When creating a wallet via BlockCypher it asks you to provide an xpub for the HD wallet. I provided the vpub from electrum to this endpoint. When trying to convert the mnemonic seed from the electrum wallet to an ECPair via bitcoinjs-lib I am noticing that the root node is giving me a different xpub than the one I used to create the HD wallet. Could this be the problem?

Hey so you figure it out? What was the issue? Thanks !


Icon request: step.youngplatform.com

URL of the site or app
https://step.youngplatform.com
Logo resources for the icon
https://storage.googleapis.com/young-documents/2019_Presskit_Smart.zip
Anything else?
Another service of site YoungPlatform

One icon for service is enough.


sticky head bars in head and detail components

List and details views currently scroll "traditionally".
In detail views (like motion detail), users probably wants to see the top bar all the time, so they can reach the save button and have to most elementary information right away. Example
Some webpages implements a neat solution that we might want to adapt for our list views:

while scrolling down, the list view fills the screen
scroll up a little bit and you get the top bar again (kind of before the actual content scrolls)

An example implementation can be found here

Implemented in #3909


Ability to bucket time by months

This could also include other variable time lengths such as year or weeks in a year.

Note the crude workaround shown in https://zed.brimdata.io/docs/next/tutorials/zed#adding-additional-data to bucket by 1y/12.


update sqltoolsservice for dacfx

For a few bugs across Schema Compare and project extensions.

@Charles-Gagnon @alanrenmsft @kburtram  - seems like sqltools service was not updated in ADS for a bit - wanted to confirm that there is no to no do it. I validated basic connection and Dacfx scenarios and things look good.

I don't see anything hugely concerning
@alanrenmsft @Benjin @cssuh - any issues from the stuff you all did/were involved in?

Pull Request Test Coverage Report for Build 619656162

0 of 0   changed or added relevant lines in 0 files are covered.
109 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.01%) to 43.123%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

extensions/sql-database-projects/src/common/utils.ts
2
88.37%

extensions/sql-database-projects/src/dialogs/createProjectFromDatabaseDialog.ts
20
62.96%

extensions/notebook/src/jupyter/jupyterServerInstallation.ts
86
53.41%

Totals

Change from base Build 618735499:
-0.01%

Covered Lines:
25093

Relevant Lines:
53228

💛  - Coveralls


saving immediate editor support

Our (bound) editors have a property: savingImmediate
This properts should be handled by text and number cell editors. In case of true the editor should send every keypress/value change to the server. This makes it possible to e.g. filter after every value change - immediate!
Just send additional value change events, don't touch the final focus-lost event!

I'm not receiving the savingImmediate property by the server.
In the ContactsWorkScreen I've added the property to the "Firstname" and "Socialsecnr" editors but I'm not receiving the savingImmediate property. I've even set it to false on the "Socialsecnr" editor to check if the default is true
edtFirstName.setSavingImmediate(true); edtSocialSecurityNr.setSavingImmediate(false);

(I've set the property before they are added to the layout)

Also tried selecting a record, because editors are disabled at first

I set savingImmediate in Contacts (DB) screen for the search field.
The result contains:
                                        "id" : "E87",
                                        "name" : "Con-CG_FE_contacts",
                                        "className" : "Editor",
                                        "classNameEventSourceRef" : "FilterEditor",
                                        "maximumSize" : "500,350",
                                        "columnName" : "SEARCH",
                                        "dataRow" : "JVxMobileDemo/Con-CG/Con-CG_FE_contacts#-",
                                        "enabled" : true,
                                        "cellEditor" : {
                                          "className" : "TextCellEditor",
                                          "directCellEditor" : false,
                                          "contentType" : "text/plain;singleline",
                                          "preferredEditorMode" : 0,
                                          "horizontalAlignment" : 0,
                                          "verticalAlignment" : 0,
                                          "style" : ""
                                        },
                                        "ariaLabel" : "Search",
                                        "savingImmediate" : true,
                                        "parent" : "P85",
                                        "eventFocusGained" : true,
                                        "indexOf" : 1,
                                        "cellEditor_editable_" : true,
                                        "cellEditor_horizontalAlignment_" : 0,
                                        "cellEditor_verticalAlignment_" : 0,
                                        "constraints" : "t1;lm;b1;rm"

works now


X Unable to locate Android SDK.

C:\Users\Administrator>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 2.3.0-12.1.pre, on Microsoft Windows [Version 10.0.19043.985], locale ar-SA)
[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed
      instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
[√] Android Studio (version 4.2.0)
[√] Connected device (2 available)

! Doctor found issues in 1 category.

Hi @z7b
I see there's an open issue addressing the case you described.
Please follow up on that issue, Closing as duplicate of https://github.com/flutter/flutter/issues/83232
If you disagree, please write in the comments and I will reopen it.
Thank you


Document Toolchain precedence

Fixes #16194

Pls. check again. It's indeed more intelligible, which is more important than exposing the implementation.


Add marchid for SERV

"Olof Kindgren Enterprises", eh?

You got to think BIG! if you want to make it in this world


Overlapping in "NUMBERS SAY IT ALL" section on mobile version

As shown in screenshot below, the terms 40000+, 2000+ and 75000+, 500+ overlap each other
OS: Android 11
Screen size: 6.5 inch
Browser: Google Chrome for Android

Yeah, I am working on this issue. I will make PR as soon as possible.

Hey Contributors and admin of this repository, kindly check the below Screenshot whether it is correct or not.I have corrected the mobile view of the count's section in this way.

Great !!

@AKSHATNEMA Have you created PR for this? I don't see a relative PR. Could you please link the pr here?

in favour of #134


[SPARK-18782] [BUILD] Bump Hadoop 2.6 version to use Hadoop 2.6.5

What changes were proposed in this pull request?
Use Hadoop 2.6.5 for the Hadoop 2.6 profile, I see a bunch of fixes including security ones in the release notes that we should pick up
How was this patch tested?
Running the unit tests now with IBM's SDK for Java and let's see what happens with OpenJDK in the community builder - expecting no trouble as it is only a minor release.

Test build #69858 has started for PR 16212 at commit d777246.

Test build #69858 has finished for PR 16212 at commit d777246.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Most fixes won't matter for Spark because Spark only uses some client-side APIs. Is there a specific fix that's important?
It's generally OK to update through maintenance releases regularly, though tackling them one by one is probably too much overhead. At least, are there other maintenance releases of other Hadoop versions we should update?
I consider updating a bunch of things at once at each minor release of Spark, usually

http://www.openwall.com/lists/oss-security/2016/11/29/1 mentions Hadoop 2.7.x users should upgrade to 2.7.3 and Hadoop 2.6.x users should upgrade to 2.6.5, so if our Hadoop users are moving up to 2.6.5 for 1.6.x, can we be certain Spark will work if we use Hadoop 2.6.4 classes with Hadoop 2.6.5 ones? I'm thinking specifically in terms of autogenerated serial version UID mismatches that may occur

It sounds like that affects the HDFS NameNode, but Spark has nothing to do with that.
It shouldn't be incompatible across maintenance releases in any event. Hence occasionally bumping it is a decent practice, like at minor releases. But otherwise I might not bother actively updating versions unless it buys something.

Let's close this if there's no pressing need to update. Spark actually doesn't touch most of Hadoop, just client APIs.

@srowen There's a mention here that the YARN NodeManager and CredentialProvider classes present a risk (we bundle and provide the latter, org.apache.hadoop.security.alias.CredentialProvider). I see no direct uses in the Spark code; but I think somebody could use the CredentialProvider we bundle and be impacted.
Bumping up to Hadoop 2.6.5 now would shield us from more potentially relevant CVEs that keep popping up (and save us time investigating) that are only impacting classes in 2.6.4 Hadoop and below.

OK, if there's any reasonable case for updating it, that's fine. It won't matter much to Spark, in any event. Go ahead again.

Created again https://github.com/apache/spark/pull/16616 as I can't reopen this myself or push to the branch without making changes


CGHub download

Hi Uri
Here is a bit of code to follow-up to our emails. This is untested and not ready for merge, but I wanted to get your feedback before continuing.
CGHub is hosting > 1200 public BAM files from the Cancer Cell Line Encyclopedia that are available only through their GeneTorrent download client. TCGA BAM files, while not available publicly, can be downloaded using the same framework for anyone with an authorized key file.
The dependencies for installing GeneTorrent are tricky on CentOS so that part would require the most attention. The other changes are straightforward.
I invented a url of the form cghub://<analysis_id>/<filename> to distinguish these downloads but we should think about whether there is a better way.
Jake

... and a little background:   https://cghub.ucsc.edu/datasets/ccle.html

+1

This looks good to me. It might be helpful to add a file in test/registry to make it easy to try out on a single  file from CGHub.

I updated the registries according to your suggestions, and added the other public dataset available on CGHub, a benchmarking dataset published for the purpose of testing mutation callers. Unfortunately the smallest file from both studies is a ~5Gb RNA-seq BAM, so I used that one as the test registry.
Still testing the ETL code, not ready for merge yet

Ready for merge. GeneTorrent installation and CGHub download functions are tested. I couldn't get the full luigi DAG working, but it seems like that's a work in progress.

Ok, fixed it according to your suggestions (although the awscli globbing issue is now moot after recent updates to master). Let me know if you prefer a rebase


init container should use the kubernetes V1Container

for consistency, use the V1Container model instead of a dict

closed via #204


Scripts should notice extra backports

It happens often that something gets backported, but then turns out to be problematic and remilestoned to a newer version. However the check scripts doesn't recognize if it's still around in  the bugfix branch.
--> there should be another section that lists "Remove from backports"

I'm not sure why this seemed to be the case, but the script works as expected, so nothing-to-see-here 🤷♀


Locate the Python interpreter via the py.exe launcher

On Windows, if the default strategy for finding a versioned interpreter fails, ask the py.exe launcher to locate it for us.

Some outstanding questions:

Does this need tests? It probably should, but the existing tests say "Not testing multiple interpreters on Windows" and I can see why - it's going to be quite hard to test this without mocking a lot of stuff (and possibly reqriting some of the code to make it more testable)
Should this check replace the existing hard-coded list of interpreters? In theory, it's more reliable and the py.exe launcher should always be present.
If we do keep both approaches, should the default list or the py.exe check be first?

Thank you so much for doing this, @pfmoore!

Does this need tests? It probably should, but the existing tests say "Not testing multiple interpreters on Windows" and I can see why - it's going to be quite hard to test this without mocking a lot of stuff (and possibly reqriting some of the code to make it more testable)

I can handle this - it's likely we'll need to mock some stuff for coverage purposes but have a real test for when on an actual windows platform.

Should this check replace the existing hard-coded list of interpreters? In theory, it's more reliable and the py.exe launcher should always be present.

I think so, yes.

If we do keep both approaches, should the default list or the py.exe check be first?

Let's just drop the old method.

Looking into the coverage failures...

There's a remaining coverage failure - line 153 in nox/virtualenv.py:
        if self.interpreter:
            cmd.extend(['-p', self._resolved_interpreter])

I'm not sure why the changes I've made would have caused this line to no longer be executed. @jonparrott do you have any suggestions?

I'm not sure why the changes I've made would have caused this line to no longer be executed. @jonparrott do you have any suggestions?

It's my fault, you can disregard that coverage issue.

I like that sort of answer ;-) In which case I think this is good to go. Could you check it over for me?

LGTM- I updated the docstring to mention pep 397. I'm gonna wait for CI to merge (I know it'll fail due to coverage, just want to make sure that's the only failure).

Thank you so much for doing this @pfmoore! 🍰

All good. Merging. :)

Glad to help :smile:

:tada: Yay Windows!

BTW I am living life happily in Windows land and I can confirm this PR works great (and nox was broken-ish before I pip install git+https://github.com/jonparrott/nox/)

Yay!
On Sun, Oct 8, 2017, 7:40 PM Danny Hermes<EMAIL_ADDRESS>wrote:

BTW I am living life happily in Windows land and I can confirm this PR
works great (and nox was broken-ish before I pip install git+
https://github.com/jonparrott/nox/)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jonparrott/nox/pull/53#issuecomment-335057574, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPUczPAHH3tbtdrcrl1rYgp1OyzcboMks5sqYeBgaJpZM4PcEEV
.


Grammar fixes

You "pay someone" not "pay to someone"
"musics" is not a word, music is not countable
"every ... songs" makes no sense
While you can pay "licensing fee to the copyright owner" to the owners you will pay license fees
"illegally" and "documentation" are misspelled

Thanks, as an English language learner, I am very sorry for the mistakes I made.

Thanks, as an English language learner, I am very sorry for the mistakes I made.


add automatic json conversion for attributes

This PR addresses #231.
It requires adaptation of the respective functions in StippleUI to allow for Vectors or Dicts.
E.g. with
function btntoggle(fieldname::Symbol,
                args...;
                options::Union{Symbol, Vector{<:AbstractDict}},
                kwargs...)

  q__btn__toggle(args...; kw(
    [Symbol(":options") => options, :fieldname => fieldname, kwargs...])...)
end

we could write
julia> import Stipple.opts

julia> btntoggle(:network, options = [opts(label = x, value = lowercase(x)) for x in ("Google", "Facebook")])
"<q-btn-toggle v-model=\"network\" :options=\"[{'value':'google','label':'Google'},{'value':'facebook','label':'Facebook'}]\"></q-btn-toggle>"

julia> select(:selector, options = ["a", "b", "c"],)
"<q-select v-model=\"selector\" :options=\"['a','b','c']\"></q-select>"

@hhaensel is this breaking or the current syntax is still supported?

@hhaensel nothing to comment regarding the code and I can't see anything off. Does it require more testing? If tests pass, it's good to go IMO.

@hhaensel is this breaking or the current syntax is still supported?

Old syntax is, of course, still supported. Some adaptiations will needed to be made in StippleUI to support the new attribute handling.
That's already waiting 😉


Initial work for threadmark edit history.

This addresses parts of #25, with full edit history support and tracking of original ownership.

No history button yet, but the wire-up is simple; see here for an example template modification with html+css
I would like to test this more for maybe a week or so before releasing it.  I've done upgrade tests, and add/edit/delete, view items work.
Looking to have Searchable threadmarkers via the built-in search system based off this branch, with in the next day or so.

I have:

Search
news feed
next/previous

Which depend on this particular pull-request.

Still tight for time atm, but I'll try and take a look at this in the next few days.

Not a problem. I've been tweaking css with the next/previous bits still.
At least the install from scratch and update process has been debugged a bit!

I've tested locally and this looks good, very nice addition.
Just a minor change needed relating to your question about history visibility.
Thanks for your work on this.


Demo

Maybe it escaped me, but I couldn't see a demo on the website, nor a link in the GitHub readme.
That would be much appreciated!

@Offirmo Did you check this website ? There are multiple demos there 😉 .

Awesome! I sent a PR.
I'll keep bosket in my links, quite sure to use in in a personal project.

You should add a link on the site front page too: https://elbywan.github.io/bosket/ and that'll be perfect.


Compiler Error CS0121 - MilvusClient is ambiguous

Describe the bug
When following along with the Quick Start using 2.2.2-preview.1, it appears that MilvusClient cannot determine which MilvusClient to use.
"CS0121: The call is ambiguous between the following methods or properties: "MilvusClient.MilvusClient(string, int, string?, string?, CallOptions, ILoggerFactory?) and MilvusClient.MilvusClient(string, int, string?, string?, CallOptions, ILoggerFactory?)
Potential problem:
There doesn't appear to be any difference in the code between the gRPC and the Resftul client within the "Quick Start" guide.  It is exactly the same code.  I can't see a way to differentiate, since you do separate these out into different headers - I would have expected a difference?
You also call the client "client" but then refer to it as "milvusClient" - I only mention so that if you look at it and it needs updating you can update that part too.
Please do not think this is a criticism, it is not, I was really happy when I found this repo
I also got it working on the 2.2.1-alpha.7 version, as that is in the notebooks that you provide, so I know that Milvus is up and running and I can do a successful health check.
To Reproduce
Steps to reproduce the behavior:
Copy and paste the Quick Start code into a console application.

Ok, so typically - 2 secs after posting this I fixed the issue.
I was using:
new MilvusClient("endPoint", "port", null, null)
I thought I would try to get to the CallOptions, to see if I could set them to fit my needs, so I put in:
new MilvusClient("endPoint", "port", null, null, null)
And it works, no more compiler error and my HealthAsync call is successful.

Sorry for the inconvenience caused. We have used a new API in version 2.2.2, but the documentation is still for version 2.2.1.
Version 2.2.2 has updated a lot of content, including the removal of support for Restful APIs. We will update the documentation and NuGet packages in the next few days.
It is recommended that you use the latest 2.2.2 version because it has passed more tests and better api, but existing notebooks may not be useful as a reference anymore.

Thanks for the response, appreciate it.
Been looking at your tests as a sort of guide - and I have it connecting and returning data...but I am having a problem getting to the final step.
I can see, through brute force, that Data as a List exists as a property of the DataTypes.
So:
foreach (var hit in results.FieldsData) {     foreach (var prop in hit.GetType().GetProperties())     {         Console.Wireline($"{prop.Name}: {prop.GetValue(hit)}     } }
Provides the output:
Data: ["FieldValue1", "FieldValue2", etc...]
But this is the only way I can access it.
I feel that Data should be a property to the FieldData so that you can access it directly via the "hit.Data" - but there is no such property?

FieldData is a abstract class that stores data for different data type. If you want to access  Data property, you need convert it to FieldData.

Apologies Weianweigan, I do not follow.
This is my code:

Which is a "SearchResults" return.
Within SearchResults you have:

There are a few other properties here - but this is the only relevant one.
Going into the FieldData - you have this:

I don't see Data anywhere as an accessible field.
Which is odd, because when I run the code, I see:

Which indicates a Data property, but I can't access it.
I apologise if I am missing something.

When you get hit in for each loop, you need to convert it to your data type. It depends your collection schema. Such as
var stringField = hit as FieldData<string>

Then you can find data property in  stringField
But it's not a good idea that convert it in a loop. Maybe you need get it from index then convert it based on you collection schema.


brew install doesn't work for custom tap

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
[x] if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

ECS-3f5e6d66:~ administrator$ brew config
HOMEBREW_VERSION: 2.3.0-71-g3a7213c
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3a7213c2553da5a9022f82a746214ea255202ed0
Last commit: 11 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 9c7fa7618a5b5a260beeb5a578e01ff24bb59922
Core tap last commit: 48 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_MAKE_JOBS: 2
CPU: dual-core 64-bit sandybridge
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1001
Git: 2.27.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_252
macOS: 10.14.6-x86_64
CLT: <IP_ADDRESS>.1.1562985497
Xcode: N/A
You have new mail in /var/mail/administrator

ECS-3f5e6d66:~ administrator$ brew doctor
Your system is ready to brew.

What you were trying to do (and why)
Trying to use custom tap to install specific version of a formula
What happened (include command output)
brew install didn't work, even though the suggested install command is same as the one tried in console.
What you expected to happen
brew install should work
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
This similarly named formula was found:
<EMAIL_ADDRESS>To install it, run:
  brew install<EMAIL_ADDRESS>
Step-by-step reproduction instructions (by running brew install commands)
ECS-3f5e6d66:~ administrator$ brew tap-new administrator/git2.26.0
==> Created administrator/git2.26.0
/usr/local/Homebrew/Library/Taps/administrator/homebrew-git2.26.0
You have new mail in /var/mail/administrator

ECS-3f5e6d66:~ administrator$ brew extract git administrator/git2.26.0 --version='2.26.0' --force
==> Searching repository history
==> Writing formula for git from revision a847772 to<EMAIL_ADDRESS>
ECS-3f5e6d66:~ administrator$ brew install<EMAIL_ADDRESS>Error: No available formula with the name<EMAIL_ADDRESS>==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
This similarly named formula was found:
<EMAIL_ADDRESS>To install it, run:
  brew install<EMAIL_ADDRESS>

@MikeMcQuaid Thanks for fixing the issue. Also I need some info on your comment regarding the the tap name is invalid (we don't allow numbers in the repository name)
May I know how can I install the older version then (after extracting it)?. From the home-brew extract docs I just found the below instruction and obviously it fails as you have mentioned.
brew tap-new administrator/git
brew extract git administrator/git --version='2.26.0'

brew install<EMAIL_ADDRESS>==> Installing<EMAIL_ADDRESS>from administrator/git
==> Downloading https://homebrew.bintray.com/bottles-git/git%402.26.0-2.26.0.mojave.bottle.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource<EMAIL_ADDRESS>Download failed: https://homebrew.bintray.com/bottles-git/git%402.26.0-2.26.0.mojave.bottle.tar.gz

Also I need some info on your comment regarding the the tap name is invalid (we don't allow numbers in the repository name)

I'm not sure what else there is to say here: we don't support GitHub repository names with numbers for taps.

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource<EMAIL_ADDRESS>Download failed: https://homebrew.bintray.com/bottles-git/git%402.26.0-2.26.0.mojave.bottle.tar.gz

You need to remove the bottle do block from the formula.

brew install<EMAIL_ADDRESS>

we don't support GitHub repository names with numbers for taps.

To clarify, the repository name does not have numbers in it, the formula filename/name does, which is to be expected unless you go out of your way to rename it when extracting the version into a custom tap. The github username here is administrator, repository name is git and formula name/filename is<EMAIL_ADDRESS>I was able to reproduce this same issue with another repo that was working until a recent homebrew update:
brew tap hellodigit/ios-build
brew install<EMAIL_ADDRESS>
I was able to narrow down the issue to homebrew starting with v2.2.17. You can see below with v2.2.16, the bottle is not found and it installs from source. With v2.2.17, it does not attempt to install from source.
 You can look around, make experimental
==> veertu-anka: changes and commit them, and you can discard any commits you make in this
==> veertu-anka: state without impacting any branches by performing another checkout.
==> veertu-anka:
==> veertu-anka: If you want to create a new branch to retain commits you create, you may
==> veertu-anka: do so (now or later) by using -b with the checkout command again. Example:
==> veertu-anka:
==> veertu-anka:   git checkout -b <new-branch-name>
==> veertu-anka:
==> veertu-anka: HEAD is now at c0f5a52d8 Merge pull request #7532 from Bo98/bintray-url-encode
    veertu-anka: Homebrew 2.2.16
    veertu-anka: Homebrew/homebrew-core (git revision d89ca2; last commit 2020-06-16)
    veertu-anka: ==> Tapping hellodigit/ios-build
==> veertu-anka: Cloning into '/usr/local/Homebrew/Library/Taps/hellodigit/homebrew-ios-build'...
    veertu-anka: Tapped 4 formulae (42 files, 37.3KB).
    veertu-anka: ==> Installing<EMAIL_ADDRESS>from hellodigit/ios-build
    veertu-anka: ==> Downloading https://homebrew.bintray.com/bottles-ios-build/shellcheck%400.7.0-0.7.0.mojave.bottle.tar.gz
==> veertu-anka: curl: (22) The requested URL returned error: 404 Not Found
==> veertu-anka: Error: Failed to download resource<EMAIL_ADDRESS>==> veertu-anka: Download failed: https://homebrew.bintray.com/bottles-ios-build/shellcheck%400.7.0-0.7.0.mojave.bottle.tar.gz
==> veertu-anka: Warning: Bottle installation failed: building from source.
    veertu-anka: ==> Installing dependencies for<EMAIL_ADDRESS>ghc, cabal-install and pandoc
    veertu-anka: ==> Installing<EMAIL_ADDRESS>dependency: ghc

Homebrew v2.2.17
==> veertu-anka: Note: checking out '2.2.17'.
==> veertu-anka:
==> veertu-anka: You are in 'detached HEAD' state. You can look around, make experimental
==> veertu-anka: changes and commit them, and you can discard any commits you make in this
==> veertu-anka: state without impacting any branches by performing another checkout.
==> veertu-anka:
==> veertu-anka: If you want to create a new branch to retain commits you create, you may
==> veertu-anka: do so (now or later) by using -b with the checkout command again. Example:
==> veertu-anka:
==> veertu-anka:   git checkout -b <new-branch-name>
==> veertu-anka:
==> veertu-anka: HEAD is now at ca5eac845 Merge pull request #7592 from MikeMcQuaid/display_options_builderror
    veertu-anka: Homebrew 2.2.17
    veertu-anka: Homebrew/homebrew-core (git revision d89ca2; last commit 2020-06-16)
    veertu-anka: ==> Tapping hellodigit/ios-build
==> veertu-anka: Cloning into '/usr/local/Homebrew/Library/Taps/hellodigit/homebrew-ios-build'...
    veertu-anka: Tapped 4 formulae (42 files, 37.3KB).
    veertu-anka: ==> Installing<EMAIL_ADDRESS>from hellodigit/ios-build
    veertu-anka: ==> Downloading https://homebrew.bintray.com/bottles-ios-build/shellcheck%400.7.0-0.7.0.mojave.bottle.tar.gz
==> veertu-anka: curl: (22) The requested URL returned error: 404 Not Found
==> veertu-anka: Error: Failed to download resource<EMAIL_ADDRESS>==> veertu-anka: Download failed: https://homebrew.bintray.com/bottles-ios-build/shellcheck%400.7.0-0.7.0.mojave.bottle.tar.gz

brew install administrator/git2.26.0

This had numbers in it.

I was able to narrow down the issue to homebrew starting with v2.2.17. You can see below with v2.2.16, the bottle is not found and it installs from source. With v2.2.17, it does not attempt to install from source.

Thanks, that's helpful. I'll take a look.

@freewil Thanks for pointing out the exact issue, yes the number is from the formula.
@MikeMcQuaid As this issue is closed will the brew extract older version issue will are tracked in different issue?.
For now we are using the raw url to download the older versions. However if the extract formula is fixed, it will be really helpful. thanks

I was able to narrow down the issue to homebrew starting with v2.2.17. You can see below with v2.2.16, the bottle is not found and it installs from source. With v2.2.17, it does not attempt to install from source.

@MikeMcQuaid  Has the problem been solved ？When will it be released ？

@Corey600 Not solved.

@Corey600 @freewil This will be fixed when https://github.com/Homebrew/brew/pull/7879 is merged.


Config file

I am really working on this code and trying to further contribute but have some issue with the following values.
pscc_args.val_num = 200
pscc_args.train_num = 100000
authentic, splice, copymove, removal
pscc_args.train_ratio = [0.25, 0.25, 0.25, 0.25]
May I know why you make the train_num as 100000 as I checked. The copy-move list size is 100000 while for authentic, the size is 81910. So I am confused, what the train_num value should be.
Next, on what basis you chose val_num as 200?
Furthermore, I am trying to make only two classes instead of the 4 you mentioned. so what will be train_ratio? for instance, you used [0.25, 0.25, 0.25, 0.25] for  authentic, splice, copymove, removal. Does it mean, it will take .25 % of sample from these? Will be good if you elaborate this too.
Many Many thanks in Advance.

@proteus1991 Could look into this matter?


Update mobile-broadband-networks-api-porting.md

@apdutta : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Docs: Format document

now, in https://linuxsuren.github.io/open-source-best-practice/.
There are some problems with mixing Chinese and English and formatting problems
e.g.:

The number of spaces before and after them should be consistent.

There are some punctuation issues:

hi @yuluo-yx , thanks for reporting this issue. Please feel free to help to fix it if you are interested in it.

hi @yuluo-yx , thanks for reporting this issue. Please feel free to help to fix it if you are interested in it.

It's a great honor, I will submit a PR soon to fix it, please assign to me @LinuxSuRen

I have an idea. In open source best practice projects, most of the content is displayed in text. We can establish a set of specifications for writing documents to provide reference when writing documents to avoid these problems.

I have an idea. In open source best practice projects, most of the content is displayed in text. We can establish a set of specifications for writing documents to provide reference when writing documents to avoid these problems.

Of course, it could be wonderful if you could take the initiative to make a start. It is crucial to encourage greater collaboration among all stakeholders in this project.
I have a new idea. We could also convert the Markdown files into a PDF. And publish it in GitHub release.

Very happy to contribute to this. 💪

I have a new idea. We could also convert the Markdown files into a PDF. And publish it in GitHub release.

A good idea, we can write a roadmap document for this to record some of our ideas and implement them later. 😄

In this case, it should be a problem with the page display. The file format is normal when viewed in the editor.


Create changelog for v4.x releases

Description
Quick and dirty changelog for v4.x releases.
Checklist
Please update this checklist as you complete each item:

[ ] Tests have been developed for bug fixes or new functionality.
[ ] The changelog has been updated, if necessary.
[ ] Documentation has been updated, if necessary.
[ ] GitHub Issues closed by this PR have been linked.

By submitting this pull request I agree that all contributions comply with this project's open source license(s).

@Archmonger Thanks for getting this up to date. I will update the changelog on any future PRs I make too.


Token is unable to fetch correct value if steps based on it is executed twice in same scenario.

👓 What did you see?
Expected token value for the same step that is getting executed for the second time in the same scenario is different from the expected value. Basically the token value stored during the execution of first step is displayed while execution of same step for the second time.

✅ What did you expect to see?
During execution, for each step fresh token value should be fetched whether the step or token value is same or not.
📦 Which tool/library version are you using?

The version is mentioned in the screenshot attached.
🔬 How could we reproduce it?

Create a feature file with same steps and pass same tokens in both steps.
Create a step definition class and implement the steps created in above feature file. That step definition should contains/call the value of that token.
Create a parametertype class where we have to put the required token.
You can execute the feature directly or with the command--> bundle exec cucumber -t '@token', if bundle package is installed on your computer.
Note:-Screenshots are attached with this section.

📚 Any additional context?
As per my opinion, the value of token is stored every time when the operation is performed and if the value of the passed token is same in the second step also then it will display the same value. However if the value of token is different in both steps, then it will work properly.

Hi @prashantsssh - It's hard to glean information off of images. Could you please upload in the form of a git repo or a failing test to a repository

Hi @prashantsssh - It's hard to glean information off of images. Could you please upload in the form of a git repo or a failing test to a repository

@luke-hill I have updated my question with sample code so that you can reproduce it. Please have a look.

I don't see anything failing in your code execution. Again if you could ideally show us in the form of a failing test or a git repo? It sounds like you are seeing something you're not expecting.
Could you also strip down as much redundant information as possible. see SSCCE.org for information

Closing due to inactivity


Helpful hints not so helpful :(

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
$ ng --version
angular-cli: 1.0.0-beta.22-1
node: 7.2.0
os: win32 x64

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

Attempted to run a build that worked prior to updating to latest version but got a message saying an option doesn't exist.
$ ng build --prod --aot --no-sourcemaps
The option '--sourcemaps' is not registered with the build command. Run `ng build --help` for a list of supported options.

Attempted to run the recommended command:
$ ng build --help
undefined

Help only exists on the root level doing ng help
The log given by the failure.

Normally this include a stack trace and some more information.
n/a

Mention any other details that might be useful.
Just need to update the messages, I would send a PR but I have no idea where to start.

Thanks! We'll be in touch soon.

It's --no-sourcemap. Singular, not plural. About the help command, a PR to fix the docs has already been created.

Thanks @grizzm0, yeah i got it working. The ng help showed me the right command. Just thought the message needed to be updated for other users :)


endpoint classification?

Looking at the docs, we currently use a single .layer() call on a axum Router.
That way we however are not able to distinguish individual types of requests.
I'd ideally like to have the counters/histograms provided by this crate on a per-endpoint-of-specific-type granularity.
What do you think about adding an example applying the handler to two separate individual handlers?
We maybe would end up with separate HTTPMetricsLayer instances, and add a method to HTTPMetricsLayerBuilder allowing to add additional (static for the lifetime of HTTPMetricsLayer) fields?

The field to distinguish is probably http.route, as per https://opentelemetry.io/docs/specs/semconv/attributes-registry/http/

Does this not cover the same goal? Have not tested it out yet but I figured there was likely a way to do this in a web framework without having to clone the layer implementations. https://docs.rs/axum/latest/axum/struct.Router.html#method.route_layer

Yes, but I'm not sure we can access the specific route string, didn't dig deep enough.

I am not sure I understand the meaning or the goal of

I'd ideally like to have the counters/histograms provided by this crate on a per-endpoint-of-specific-type granularity.

I have different types of routes, doing different things, taking different amount of time.
I'm proposing a mode in which these metrics are bucketed by the route in the web framework used (see the example next to http.route). So I can monitor response times of a specific endpoint.

Still not clear on what exactly you want to do differently for the different endpoints - do you want to set different ExplicitBucketBoundaries for different endpoints?
Otherwise the endpoints are already labeled & distinguished by the http.route.

 Enabling the axum feature was all I needed to get the http.route fields to be added. Sorry for the noise, and thanks!


Fix typo error

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Weird stylesheet reference

While looking at the demo's source code, I found the stylesheet is loaded via walkingpixels[dot]com which is... is.
May I ask why?
Is this intentional in some way?

It actually makes sense.
I was seeing if he was using Bootstrap as I am considering using FOSSBilling. I saw that and I thought it was right to let you know.

That's nothing more than the original developer for the Huraga theme, the CSS is loaded off whatever server is running FOSSBilling.

I appreciate your fast response. However, I must emphasize the seriousness of this issue. As you have mentioned, the CSS is loaded off whatever server is running FOSSBilling, which means that all websites using FOSSBilling will have a reference to a pornographic site in their source. This is not only unethical but also a potential security and reputation risk for the end users.
I would like to suggest that the issue be re-opened and addressed promptly. A simple solution could be to remove the CSS file from the source code or provide a warning to the users to remove it themselves. This way, the credibility and reputation of FOSSBilling and its users will be protected.
Thank you for your time and understanding. I look forward to your response.

The theme is from 2012, so someone else must have bought the domain. I'll submit a PR today to have that link changed to an archive.org listing of the original site before it went down.
In the future, please be explicit in what is actually the issue, I don't think any of us looked at the site (never had a reason to). And you never actually started there was a content issue on it

The theme is from 2012, so someone else must have bought the domain. I'll submit a PR today to have that link changed to an archive.org listing of the original site before it went down.
In the future, please be explicit in what is actually the issue, I don't think any of us looked at the site (never had a reason to). And you never actually stated there was a content issue on it

I admit that the text of the issue may not have been too clear, my intention was to avoid making the content of the link known as this conversation is public and not filtered to minors.
I hope I don't sound rude but I invite you to check the links that are reported for the future. If it is normal for an expired domain to be bought by malicious people, it is equally normal to open a link that is reported, since this is present in the source code of the project and it is part of your responsibility.
Best regards.

I found the stylesheet is loaded via...

While the issue is legitmate, I want to clear some confusion here.
It's just a link inside a comment and not an actual import or anything. No code is pulled from that website, no requests are made to it.
Nothing is "loaded via" it. The stylesheet is hosted locally. We are doing our best to keep it that way and minimize the project's dependency on external hosts.
Regardless, in my opinion the link there can be converted to a simple text reference to "Walking Pixels" or just removed.
I'm a little unsure because Huraga is likely older than a decade and we have no way to validate how the original author or license would want us to attribute their work.

I hope I don't sound rude but I invite you to check the links that are reported for the future. If it is normal for an expired domain to be bought by malicious people, it is equally normal to open a link that is reported, since this is present in the source code of the project and it is part of your responsibility.

I honestly respect the issue and appreciate the report. Thanks for bringing it up. It should be handled by a pull request soon.

I think there are a couple of things that need to be taken into account here.
The first one is that nothing is actually loaded from the site in question, it's not loading a stylesheet from anywhere.
The second is that the link in question exists as attribution to the original theme authors, and so in normal circumstances it should not be removed or changed. Attribution remains even if the original authors are no longer actively updating something.
The final one is that while in an ideal world somebody probably should have noticed it by now, it really isn't the responsibility of any one project to check whether the sites that are in an attribution notice change over time. That said, we should have picked up on it and will try to do better in the future.
In this case the link will be removed from the stylesheet shortly, since it is clearly not serving any purpose for attribution anymore.
We are working hard to improve FOSSBilling from the inherited quite ancient code that contained lots of issues, we are getting there bit by bit, let's all work together to keep moving forward.

Apologies for the double post saying very similar things, @evrifaessa and I were obviously typing at the same time with similar thoughts.

Thank you for understanding and I apologize if my initial comment may seem superficial. Keep up the good work!

Thanks! Wishing you a great evening and good luck on Bottles :-) It's a great app and I've been using it for quite some time now.

@mirkobrombin Thank you for bringing it to our attention, even if it took a moment for us to all get on the same page. If you do find any other issue, please feel free to open new issues on our GitHub.
The PR is live, I've opted to remove the link entirely. See https://github.com/FOSSBilling/FOSSBilling/pull/760
Additionally, if you use Discord, we have one here https://fossbilling.org/discord and I know that I personally would be happy to receive content reports like this via a DM when you are concerned about it's visibility by minors.
Take care! 😄

PR Merged


Fix cable-connected timeouts for ubuntu virtualbox demos.

I've tested that:

This does not affect the old without-docker-networking guides as they use a different base image
Works on both box versions 2.2.9 and 2.3.1

works  on OS X VBox 5.0.30 too

LGTM


compatibility with live preview

Using the setting to open on preview opens it in a non-editable preview mode—would be nice to have an option to open it in live edit preview

I'm not an Obsidian Insider, so unfortunately compatibility with Live Preview isn't really possible right now. I definitely plan to implement it once it's released to the general public though.


Can you share the csv files of split2?

@osivaz61
the split2 is uploaded to   this repo/datas/EDDFS/split2


Footer hygiene links

What is this PR trying to achieve?
Adding the final row to the footer
What does it look like?
Desktop:

Tablet:

Mobile:

Have the following been considered/are they needed?

[x] A11y testing - if this PR affects a user interface component, have you run pa11y against the component and fixed/verified all errors, warnings and notices?

Not sure about the 'hygiene' nomenclature

Agree! All suggestions welcomed.


Display what's the latest version of Docker EE

File: enterprise/index.md, CC @johndmulhausen
Preferably using an auto-updating macro, if possible

could someone update it to reflect the latest version of Docker EE

- Suzanne Panoplos

@friism given that Docker EE itself doesn't have a version, should we include the matrix (EE engine 17.06, UCP 2.2, DTR 2.3), or should we do something else?

What do you mean EE doesn't have a version? The latest supported version of EE is 17.06 right now...

17.06 is the version of the latest Docker EE engine. Docker Enterprise Edition (the subscription) so far wasn't given any version.


Move create installer to service, refactor to avoid codedup

Description
Adds logs to create installer method, moves code to service & refactor to avoid the code duplication that was going on
Fixes #THEEDGE-1218
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[x] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I run go fmt ./... to check that my code is properly formatted
[x] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #496 (88b90bc) into main (5ea8054) will increase coverage by 0.10%.
The diff coverage is 2.56%.

@@            Coverage Diff             @@
##             main     #496      +/-   ##
==========================================
+ Coverage   31.01%   31.12%   +0.10%
==========================================
  Files          32       32
  Lines        3224     3210      -14
==========================================
- Hits         1000      999       -1
+ Misses       2130     2116      -14
- Partials       94       95       +1

Impacted Files
Coverage Δ

pkg/routes/images.go
26.76% <0.00%> (+1.82%)
:arrow_up:

pkg/services/images.go
11.31% <2.94%> (-0.45%)
:arrow_down:

Continue to review full report at Codecov.

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


Arrowheads not showing in diagrams

I copied the sample diagram from your README but the arrowheads are not showing. My environment:

Windows 7 64-bit
VS Code v1.1.1

I have noticed this behaviour on one of my machines but not on the other. Needs further investigation to get a proper repeatable test env.

I don't see the arrow heads either.
This is what I'm using:

Mac Version 10.10.5
VSCode Version 1.4.0 (1.4.0)
Mermaid Preview Version 0.4.0

On same machine, following code does not show the arrows in Visual Studio Code where code below renders it in browser fine.
```mermaid
sequenceDiagram
    Alice ->> Bob: Hello Bob, how are you?
    Bob-->>John: How about you John?
    Bob--x Alice: I am good thanks!
    Bob-x John: I am good thanks!
    Note right of John: Bob thinks a long
long time, so long
that the text does
not fit on a row.

    Bob-->Alice: Checking with John...
    Alice->John: Yes... John, how are you?
`` `

<!doctype html>

    <title>Sample</title>

sequenceDiagram
    Alice ->> Bob: Hello Bob, how are you?
    Bob-->>John: How about you John?
    Bob--x Alice: I am good thanks!
    Bob-x John: I am good thanks!
    Note right of John: Bob thinks a long
long time, so long
that the text does
not fit on a row.

    Bob-->Alice: Checking with John...
    Alice->John: Yes... John, how are you?

        <svg>
            Chart should end up here
        </svg>

There is a conflict between mermaid stylesheet and vscode preview stylesheet. As a side note, running the extension in debug mode during development displays the arrow heads fine but not during normal use.


Fix docs TOC & NAV issues for mamba and transfomers

Issue 1:
❌ Current actual result

✅ After the fix

Also, clicking the Mamba title at left now directly jumps to the Mamba section (improving UX).

Thank you for your contribution, doc improvements are much appreciated!


selectInteraction was added to map and map can not pan

var selectSingleClick = new ol.interaction.Select();
var map = new ol.Map({
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
}),gpsLayer
],
interactions:[selectSingleClick ],
overlays: [overlay],
target: 'map',
view: new ol.View({
center: ol.proj.fromLonLat([118.7,32]),
zoom: 12
})
});
when i write code as top,the map can not pan .but if i write as bottom
var map = new ol.Map({
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
}),gpsLayer
],
overlays: [overlay],
target: 'map',
view: new ol.View({
center: ol.proj.fromLonLat([118.7,32]),
zoom: 12
})
});
map.addInteraction(selectSingleClick);
the map can be pan.  I think there was a bug.

This is not a bug. In your first example you map only has the selectSingleClick interaction, and hence you cannot e.g. pan (you'd need a ol.interaction.DragPan).
Your second example though has the [default interactions (scroll down a bit)] (http://openlayers.org/en/v3.12.1/apidoc/ol.interaction.html#defaults) and additionally the selectSingleClick interaction. If you want to add to the defaults while instantiating the map, you could use:
var map = new ol.Map({
  interactions: (ol.interaction.defaults()).extend([selectSingleClick])
  // other ol.Map-configs
});

The above is untested.


[core-lro] Review response, parsedBody and error handling

In https://github.com/Azure/azure-sdk-for-js/pull/5670#discussion_r336727058, we spotted that we are attempting to set the error.body to this._pollState.resource. This opens up the need to review response handling being done in core-lro. Ideally,

understand what pollState.resource is meant to hold at any point and its relation to pollState.mostRecentResponse.parsedBody
all instances of RestError creation needs to be reviewed.

False alarm :(
https://github.com/Azure/azure-sdk-for-js/pull/5670#discussion_r336727058 is in core-arm, not core-lro


Question: Installation problem

Dear authors
I recently installed the LocalColabFold in the Linux system based on the Ubuntu PC operating system, but something was wrong when I ran " bash install_colabbatch_linux.sh".  It showed "Solving environment: failed with initial frozen solve. Retrying with flexible solve." in the terminal window. Then I checked the  installed "colabfold_batch" directory, and there were two folders (colabfold-conda, conda) in the directory. How could I install it successfully?
Computational environment

OS: Ubuntu 11.3.0

Thank you.

Ubuntu 11.3.0

It's very old. Is it correct?

but something was wrong when I ran " bash install_colabbatch_linux.sh". It showed "Solving environment: failed with initial frozen solve. Retrying with flexible solve." in the terminal window.

Let me show the complete log file when running bash install_colabbatch_linux.sh.


AES-SIV support

Suggested enhancement
Add support for AES-SIV mode outlined in https://datatracker.ietf.org/doc/html/rfc5297
Justification
Mbed TLS needs this because AES-GCM fails catastrophically when nonce reuse occurs. For long term keys, securely storing a monotonic nonce is very challenging if the device cannot maintain RAM data and must write the nonce to non-volatile memory with a limited number of write cycles and/or limited security.
AES-SIV solves this problem by allowing (and even recommending) the use of a random nonce.
I would like to work on this myself; is this something in principle which would be accepted into mbedtls?

Yes, we would welcome AES-SIV. Thanks for offering!
Though I'm curious: can you talk publicly about where you've seen it used? SIV modes are somewhat widely implemented and often recommended by cryptographers, but they seem to have a hard time getting adopted anywhere...
In general, we do welcome cryptographic mechanisms that are generally considered secure at the time of integration and that are used in practice. Formal standardization is a plus but not strictly required. We tend to focus more on devices with limited resources, but this isn't a strict focus either.
The limiting factor for us is review bandwidth, especially when it comes to cryptographic expertise. There are other cryptographic mechanisms that we're likely to consider higher priority than AES-SIV, in particular SHA3 and EdDSA. However, a new mode is considerably easier to review than those two, so it'll be easier for us to find time.
Before AES-SIV can happen, we need to discuss a few architectural matters.

If any changes are required in aes.c, such as new functions, this can break alternative implementations of AES (MBEDTLS_AES_ALT) which don't implement the new functions. This is only acceptable if the new feature is controlled by a compile-time option which is not included in the default build. Preferably the new mode should only be implemented via high-level modules (cipher.c, psa_crypto_aead.c).
We're moving from mbedtls_cipher_xxx to psa_aead_xxx as the preferred API for AEAD algorithms. At some point, we may stop adding new features to cipher.c. The forward-looking way would be to add the algorithm to PSA and make it available to cipher only with MBEDTLS_USE_PSA_CRYPTO, however we are not be ready for this yet because the MBEDTLS_USE_PSA_CRYPTO API is not stable yet.
Now that we've implemented multipart GCM and CCM, our test infrastructure may have trouble with AEAD mechanisms that have no multipart implementation (there may be some systematic testing that insists that if an algorithm is supported, it must run multipart tests on it). This is not a counterindication: if such trouble arise, we'll just have to fix it.
We'll have to allocate a new PSA algorithm identifier for SIV. That's not a problem, Mbed TLS doesn't have to wait until a new version of the PSA specification comes out.
With respect to PSA, the API doesn't support double-length keys well. It defines an algorithm for XTS, but that's never been implemented, and I suspect implementing it will require a tweak to the API such as defining a new key type. That's only a small hurdle, but it's a hurdle that SIV may have to be the first to solve. I (@gilles-peskine-arm) am the main point of contact for PSA crypto API design.

Thanks for your reply. What you have said makes sense to me.
I think probably the first step for me would be to hack something together to get things working and see exactly what parts of the codebase I need to touch. The exact API design is of course something that core folks (like yourself) would need to be advising on, as I don’t have any knowledge of future plans, etc.
I can’t point to anything public I am afraid, but ultimately the problem is that NIST SP 800-38D recommends an integer counter for the GCM IV. It is very challenging to store a counter in a low endurance memory (ie flash inside an MCU gives roughly 10k writes per 4k page) and where bandwidth is so restrictive that regularly regenerating/exchanging session keys is not viable. For example, in LoRaWAN networks, devices can’t keep exchanging new session keys regularly as gateways have highly asymmetric RX and TX bandwidth (gateway => device is much more expensive than device => gateway). Devices are also expected to be deployed with a single AES key for use in all communication over many years.
I think this a fundamental flaw with most recent security-infused MCUs on the market; most implement some form of hardware acceleration of algorithms and sometimes key storage, but secure, high-endurance, on-die nonvolatile counters seem to be very rare outside of the smartcard space. Storing data externally is a problem; nonce reuse is fairly easy to force using a rollback attack. At least if one was using SIV with a random nonce, the only risk would be replays (which can be mitigated in other ways).
I just wish I could get a secure FRAM!


Implement Broadcast Channel API

The Broadcast Channel API allows simple communication between browsing contexts (that is windows, tabs, frames, or iframes) with the same origin (usually pages from the same site).
It's downsides are that is only works in modern browsers and with same origin.
Maybe you could look to it, use it for same origin communication and fallback when it is not available (old browser or cross origin).

Also, add support to attach any tab (not just those that parent opens) to channel. Something like in Broadcast Channel API, but for cross origin.

I've created library with very simple API sysend.js here is demo https://jcubic.pl/sysend.php you don't need to attach anything only call on() to add handler or broadcast() to send the event to different tab/window. I've used iframe proxy to allow cross-origin. and I've recently added broadcast channel API if it's not supported it use localStorage.

@filips123 This library was made to tackle cross-origin challenges only. For same-origin, there are simple ways to do it(localStorage/cookies). Also, postMessage API can be directly used just like  Broadcast API. The only benefit of Broadcast API is that we no longer have to maintain references of iframes/windows to send/receive messages. Otherwise, there's no particular benefit of using it.
Closing this issue since this library is specifically for cross-origin and postMessage is already used for doing so.

I don't know about current solution but localStorage and Cookies require to serialize data to string and Channel can send javascript object without serialization.


Warn rather than failing if we detect leaked pathwatcher subscriptions

For some reason, we're failing intermittently in certain tests with leaked subscriptions. I've spent some time trying to figure out how this could happen, but I can't.

In the flaky tests, we're leaking paths that are being watched by buffers that I know are being created via Workspace::open.
That means these buffers should be destroyed in atom.clear() in the afterEach block that's defined in our spec helper to follow every test. As part of destruction, we destroy our watch subscriptions.
Yet even after destroying all editors and buffers, we still seem to be leaking watches. This leads me to believe there is some subtle error in pathwatcher itself.

Ultimately, it's not clear that the value of this global assertion really warrants this level of hassle. I'm making a pragmatic call to convert this to a warning. If we're seeing it a lot as we develop code that watches paths, then we're probably leaking. If we see it once in a blue moon on CI it's probably just this issue. I don't think it's worth it to invest more time understanding it right now.
/cc @joshaber

👍 💯


fix FCS issue with IsByRef

F# 4.5 introduced an issue with the IsByRef property on FSharpEntity in the F# Compiler Service API.
https://github.com/fsharp/FSharp.Compiler.Service/issues/876

This is ready


CI/CD: push to npm fails

Main branch
we decided to delete the main branch:

workflows need to be updated to only act on develop branch * deploy to website and npm on release tag of development branch.
update node version as 16 is deprecated

Error maybe from never deploying automatically?

Subprocess exited with error 1
Warning: run-commands command "dotenv -e .env cdk deploy -- --all --production" exited with non-zero status code

NX   Running target deploy for project siwt.xyz failed

Failed tasks:

siwt.xyz:deploy

NX   Nx Cloud Problems

This workspace is more than a week old and is unclaimed. Workspaces must be claimed within 7 days of creation. Claim your workspace at https://cloud.nx.app/orgs/workspace-setup?accessToken=ZTdlYTY2ZDgtY2I3My00YzE4LWEzYTMtYjZmOTdiZDI1MTM0fHJlYWQtd3JpdGU=

fixed by #47 and #48


Legend doesn't show

With none of the options I tried it worked.
%%opts OverlayPlot [show_legend=True] Contours [show_legend=True] NdOverlay [show_legend=True] Overlay [show_legend=True]
x = np.linspace(0, 10)
hv.Contours((x, x**2), level=0, label="1") * hv.Contours((x, x**3), level=1, label="2")

Paths and Polygons didn't actually ever set their label as part of the legend. I've fixed it in f21373c70cf3d56e204aa802d0b4b638b5607dac. Will close the issue.


"export 'findMessage' was not found in './messages'

vue cli 普通编译，按需引入报错
"export 'findMessage' was not found in './messages'

我们修复下

已经在1.11.1版本修复


{ [Error: Greeting never received] code: 'ETIMEDOUT', errno: 'ETIMEDOUT' }

{ [Error: Greeting never received] code: 'ETIMEDOUT', errno: 'ETIMEDOUT' }

https://support.google.com/accounts/answer/6010255?hl=en
Use this link and try to trun off less security