[bug]: Sidebar shows an error in the phone interface

Describe the bug
When I open Sidebar on my phone, it shows an error

Affected component/components
Sidebar, Dialog
How to reproduce

Click sidebar.
See error.

Codesandbox/StackBlitz link
No response
Logs
Error: `DialogContent` requires a `DialogTitle` for the component to be accessible for screen reader users.

If you want to hide the `DialogTitle`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/dialog
    at createUnhandledError (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/console-error.js:23:19)
    at handleClientError (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-error-handler.js:42:98)
    at console.error (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/globals/intercept-console-error.js:53:56)
    at TitleWarning.useEffect (webpack-internal:///(app-pages-browser)/./node_modules/@radix-ui/react-dialog/dist/index.mjs:448:40)
    at react-stack-bottom-frame (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:22420:20)
    at runWithFiberInDEV (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:544:16)
    at commitHookEffectListMount (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:10732:29)
    at commitHookPassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:10852:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12627:13)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12729:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12729:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12729:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12729:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12620:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)
    at commitPassiveMountOnFiber (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12729:11)
    at recursivelyTraversePassiveMountEffects (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js:12601:11)

System Info
System: Microsoft Windows 10 Pro
Browser: Edge (latest)

Before submitting

[x] I've made research efforts and searched the documentation
[X] I've searched for existing issues

Due to insufficient description of your problem and not including your specific code. I guess it's there is just the problem, that you did not do what the error message says. Are you sure u passed a DialogTitle to your DialogContent. If not, please do so. If you did, please add more information to your ticket.

由于对您的问题的描述不充分，并且未包含您的特定代码。我想这就是问题所在，您没有按照错误消息所说的去做。您确定将 DialogTitle 传递给了 DialogContent 吗？如果没有，请这样做。如果您这样做了，请在您的工单中添加更多信息。

OK

由于对您的问题的描述不充分，并且未包含您的特定代码。我想这就是问题所在，您没有按照错误消息所说的去做。您确定将 DialogTitle 传递给了 DialogContent 吗？如果没有，请这样做。如果您这样做了，请在您的工单中添加更多信息。

Updated.

Due to insufficient description of your problem and not including your specific code. I guess it's there is just the problem, that you did not do what the error message says. Are you sure u passed a DialogTitle to your DialogContent. If not, please do so. If you did, please add more information to your ticket.

Updated. Can you help me fix the bug?

In the Sidebar component itself, there is an If statement checking if mobile view is enabled, as you can see under here:
     if (isMobile) {
           return (
             <Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}>
               <SheetContent
                 data-sidebar="sidebar"
                 data-mobile="true"
                 className="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
                 style={
                   {
                     "--sidebar-width": SIDEBAR_WIDTH_MOBILE,
                   } as React.CSSProperties
                 }
                 side={side}
               >

{children}

               </SheetContent>
             </Sheet>
           )
         }

The Sheet component in here is missing a title, so by adding a title:
<SheetTitle>Some random title</SheetTitle>

The problem should be solved.

In the Sidebar component itself, there is an If statement checking if mobile view is enabled, as you can see under here:
     if (isMobile) {
           return (
             <Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}>
               <SheetContent
                 data-sidebar="sidebar"
                 data-mobile="true"
                 className="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
                 style={
                   {
                     "--sidebar-width": SIDEBAR_WIDTH_MOBILE,
                   } as React.CSSProperties
                 }
                 side={side}
               >

{children}

               </SheetContent>
             </Sheet>
           )
         }

The Sheet component in here is missing a title, so by adding a title:
<SheetTitle>Some random title</SheetTitle>

The problem should be solved.

Thank you bro.


Change Wear Theme to use safer route for Int colours.

I got some bizarre error with ColourSpace when applying a theme.  Fix to use safer Int path.
The full representation is here https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color#representation

@joreilly assuming thumbs up is a LGTM. Still building against iOS, but everything else passing, so will land and start fixing colour choices.


Fragment & FragmentStack management

Consider an Activity with a NavigationDrawer and a list of fragments. Using the drawer I can navigate to each fragment but in order to build a responsive and powerful application I have to :

Manage transitions between fragments
Do not instantiate every time a fragment but use an existing one if possible
Manage fragment state and its data
Working with AppCompatActivity and OptionsMenu (Backpressed & Toolbar back button/Title)

Perform an Android application working with fragments implies to manage a lot of things.
Would be great to have a guide for this.
I'm not asking for a sample, but for a documentation who explain how to implement this as best as possible.
Improve the NavigationDrawer part with these cases could be great.

Navigating between fragments - http://guides.codepath.com/android/Creating-and-Using-Fragments#navigating-between-fragments

It's dangerous to keep references to fragments since they have their own lifecycle (i.e. if you hold onto a reference and replace a fragment with another, that old reference may cause memory leaks)

Fragment states & data --> I am starting to be of the opinion they are better managed as singleton instances via Dagger than trying to use Icepick to store them (does anyone else have opinions?)

See http://guides.codepath.com/android/Creating-and-Using-Fragments#actionbar-menu-items-and-fragments

FYI -- about #2, you can also do show/hide as discussed in http://guides.codepath.com/android/Creating-and-Using-Fragments#fragment-hiding-vs-replace.
In general I think this guide covers a lot about the ins/outs of fragments.

https://github.com/codepath/android_guides/wiki/Google-Play-Style-Tabs-using-TabLayout
Can any one tell me how to customize the tabindicator i need image instead of line.Is it possible to customize


Rename test dirs

__tests__ is jest convention. We should use this as it integrates nicely with tools, and I need the tests to be in a well defined place to ignore them with typedoc
fixes #1089

This no longer renames the tests dir as no longer needed elsewhere. Instead, this moves the output of the test results to avoid git / watching tools from picking up changes to the src

introduces a cache dir for us to use


sdk uninstall will fail if username contains "_"

[ ] this is a new Feature Request, a conversation was started in the Slack CLI Development Channel.
[x] this is a new Bug Report or Issue, a conversation was started in Slack User Issues Channel.

I found a problem that the sdk uninstall xxx does not work for some people.
The sed command will fail if the username contains "_".
https://github.com/sdkman/sdkman-cli/blob/master/src/main/bash/sdkman-uninstall.sh#L27
Sdkman should expect to username will be following the restriction of linux convention "[a-z_][a-z0-9_-]*[$]".

Does anything need to be done to accept PR #707 to fix this?

This was fixed by #707, so can probably be closed.


consider to reduce size of final css file?

consider to reduce size of final css file?
Hi, thank you for this awesome lib. Yet, the css file contain a lot of unused styles, including those of components that not been used, which result in 100-200k redundant css data in final output.
Is there any plan to purify css in output process?

@lincanli if you're using Less/custom theme you can use this workaround for now:

create new folder named ant-design
if you're using custom theme move the theme.less file to the folder and get rid of the import line at the top @import "../node_modules/ng-zorro-antd/ng-zorro-antd.less";
create new components.less file inside the ant-design folder and copy all the imports from node_modules/ng-zorro-antd/components.less file. (make sure to fix the import path for all the components. e.g. @import "./card/style/index.less"; should become @import "../../node_modules/ng-zorro-antd/card/style/index.less";)
comment out all the imports of components that you're not using. (don't comment out the import of core component)
create new index.less file inside the ant-design folder and paste there the following imports:

@import "../../node_modules/ng-zorro-antd/style/index.less";
@import "./components.less";
@import "./theme.less";    <--- only if you're using a custom theme

add the path of the index.less file to the styles list in the angular.json file, and remove the one of the theme.less if you have it.
if you're adding a new component that you didn't use before just go back to the components.less and uncomment its import

@LiadIdan but much of the redundant css are in "../../node_modules/ng-zorro-antd/style/index.less" file

Closed by #3234.


warn_about_unavailable_but_used_cpu_instructions() doesn't work

Expected Behavior
There is
https://github.com/davisking/dlib/blob/1bebccfb8728f6112d6142ba24f2dd65970ff6a2/dlib/simd/simd_check.h#L153-L171
And this also gets called by python module here:
https://github.com/davisking/dlib/blob/1bebccfb8728f6112d6142ba24f2dd65970ff6a2/tools/python/src/dlib.cpp#L42
So I should see a warning about compiled in instructions not available, like...
$ echo "import dlib;" | python3
Dlib was compiled to use AVX instructions, but these aren't available on your machine.
Illegal instruction (core dumped)

Current Behavior
But there seems to be some call to AVX related instruction before this warning is called.
And the SEGV is immediately on import.
$ echo "import dlib;" | python3
Illegal instruction (core dumped)

Steps to Reproduce
Compile dlib with AVX enabled (Linux distribution cloud build environments).
Try to import it on an old CPU without AVX.
Possible the problem
https://github.com/davisking/dlib/blob/1bebccfb8728f6112d6142ba24f2dd65970ff6a2/tools/python/src/dlib.cpp#L4-L7
Here the #include "opaque_types.h" is doing a lot including. And the dlib/simd/simd_check.h check is after all this.

Version: 19.24.0
Where did you get dlib: https://files.pythonhosted.org/packages/source/d/dlib/dlib-19.24.0.tar.gz
Platform: openSUSE Leap 15.4 x86_64
Compiler: different GCC versions

Yeah realistically I don't know what can be done to avoid this.  GCC is likely emitting AVX instructions for some run of the mill C++ code somewhere that runs earlier.  Like in some constructor of some variable at global scope maybe.  So I don't know how this would be avoided for all platforms and compilers.  You could try adding a global variable that calls warn_about_unavailable_but_used_cpu_instructions() in its constructor to see if it ends up being called first.   But other than that :shrug:

Ok.
Maybe we just document it with these issues, so that others find the source of the problem faster.
I'm not interested in investing much more time to try this out.
Closing?

Yeah, I added a comment about it that hopefully helps out the next person :)


fix: SQL Server and BigQuery hash function matching

Closes #613
Fixes bug that generated a different hash when comparing MSSQL and BigQuery. The coalesce() function was returning a unicode value and it has been updated to use isnull() instead.

/gcbrun


Pi Music Player!

Your Pi Playlist Transfer Key is
561172
If you are using an Android mobile,

Download Pi Music Player.
Go to Settings -> PLAYLISTS -> Transfer Playlists.
Enter the above key and click on 'Receive Playlists'
(Note: Playlist transfer feature is supported in version 3.0.7 or above)

NOTE: These links and key will expire at 8:15 a.m.  (PST).

281767


Convert SPDX in JSON or XML format

Hi,
how can i convert my spdx file in json format or xml format ??
thank you

ok thanks but this tool you reported to me does not include the spdx format

Yes it does, it only deals with spdx, the format the package uses is spdx tag format, the tool allows you to convert from tag format to XML or json as you requested, try it on an spdx file generated by the package.

ok thank you, i have tried but the spdx do not contain the package name and versions but only my widget/component

Not sure what you mean, an extract form the sbom.spdx file for one of my packages -
PackageName: cbor
SPDXID: SPDXRef-Package-cbor
PackageVersion: 5.1.1

clearly shows the package name and the version.

I use your package in a flutter project, i need to have in the file generated by sbom the packages installed in the project (pubspec.yaml) to be able to load it in a dependecy tracker and check if there are vulnerabilities or other ... currently in the sbom file generated by your package I have the list of my project files, I hope I have explained myself well

Yes OK, the package doesn't do this, in theory each dependant package should have its own SBOM, generated by itself, this package does not generate SBOM's for dependant packages.


Add throwing of missing range error to Date.prototype.toISOString()

We should throw a RangeError if the time value is nan or infinity.

I have a solution but it depends on #477
I will create a PR when #477 is landed.

PR: #510

Resolved.


Dialog Opens per Default in Unitys Log Directory

fixed nuget references (got downloaded but couldnt be resolved)
Extracted Parts of the Loading Logic into another class to Test the Code
OpenDialog starts initial in Unity Directory

These changes look great! Thanks

Well, thank you. It was a though journey to set up my Resharper in a way, that it did not totally mess with your stylecop settings


Use Push-AppveyorArtifact to upload test results to AppVeyor

Is it possible to use the Push-AppVeyorArtifact cmdlet (available in AppVeyor) to publish the results of testing artifacts instead of the WebClient with a URL specified in the AppVeyor.yml?
This would slightly simplify the code and eliminate the need for the TestResultsUploadURI in the AppVeyor.yml file in each DSC Configuration repo.
The only reason to keep this as WebClient upload would be to allow uploading from outside AppVeyor or to another destination, but I don't know if this was a requirement.
I can submit a PR with this change if acceptable.

My bad! Ignore this - I see you're uploading the test results rather than the artifacts.
However, it may still be useful to push the artifacts as well which is what we do in the DSC Resource Kit. This can provide a bit more detail about any test failures.

I'll raise some PR's for these changes.


Is it possible to add tags to the JSON output format?

My requirement is as follows:
I am able to successfully receive telemetry metrics from a router using gNMIc but I would like to be able to add tags to the JSON output so that I can add a tag to signify what the interface_name is for the metric I just received. I realize that the event output format does that for me automatically, but the client that's getting the data needs the schema to be in the format that's outputted by the json output format.
It seems like my only option under these conditions is to use Processors to convert the model schema of my telemetry data from the event schema to something that looks closer to the json schema. Is this my only option? Or is there a way to add tags to a json output format?
Thank you.

Indeed there is no way to add tags to the json output format. The event format is supposed to be used for that.
Since you are receiving the metric together with the full path(including the key name) you can already link the metric with the interface name (same is valid for the event format BTW)
I'm wondering which client ingest gNMIc's json format? That format is specific to this tool and was intended to be used for terminal output and readability.

Makes sense. Actually, I say client, but what I really mean is that the upper levels of my team were using the schema with the JSON output format, and I was making sure that there was no alternative aside from switching to the event format, which we are going to do now thanks to your help. Anyway, I'll close the issue now. Again, thanks for your help.


Few text color issues

Buttons embedded in a Google Calendar invite:

Bottom left loading indicator:

Attachment names:

I'm not familiar with Google Calendar.  Is this a plugin or how do you navigate within the application to display this window?


Authentication is not considered

Hello, when choosing between those services in my opinion a key component, the authentication is not considered. Does the app needs to have Kerberos, NTLM, OAuth, OpenID? AAD / AD etc.
kind regards
Roger

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

ID: 510808e8-db5d-6b07-9a04-6edb743a2dfc
Version Independent ID: 20d098aa-ef31-cb26-d677-765cfc9a7164
Content: Choose an Azure compute service - Azure Architecture Center
Content Source: docs/guide/technology-choices/compute-decision-tree.yml
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @paolosalvatori
Microsoft Alias: paolos

Thanks @rogerknecht, will consider this aspect in the next permutation of the article. However, authentication is more an aspect that pertains to the workloads than the hosting platform. We have several customers using Azure Active Directory as well as third-party identity providers.

@rogerknecht
Thanks for your feedback! We will investigate and update as appropriate.
I've delegated this to @paolosalvatori  a content author, to review and share their valuable insights.

Hi @RamanathanChinnappan-MSFT The Azure Architecture Center team decided to add me as the author of the article, but I'm not the author of the article, I'm just the last updater. The article was created and updated over time by several people.  cc: @ckittel

@rogerknecht - Thank you so much for the feedback. As @paolosalvatori, noted this is about platform decisions, and for now, authentication isn't a primary driver at the platform level. We will remain cognizant of this in future iterations of the article and potentially create additional guidance for authentication decisions.
I'm going to close this thread. Thank you so much for the feedback! Please let us know if you have any other questions.


Refactor example construction site

Check under which cases the example construction site is created, ensure its not confusing

Clean up old "hidden" construction sites; a workaround used in operations

tracked in #613


Convert ObjectId to string id for all the view

I am trying to convert ObjectID to string id for viewing because unable to convert ObjectID to json.
Here's what I am doing.
class Test(Thingy):
    @property
    def id(self):
        return str(self._id)

Test.add_view(name="strid", defaults=True, exclude="_id", include="id")

This is saving id as None in mongodb. What is the issue here?

Hey @shunyeka,
No id field should be inserted if you do not set it on your instance. Can you provide a more complete example so that I can try to reproduce?
On a side note, I would recommend you to modify your JSON encoder / serializer to support the ObjectId type, rather than implementing a property for every ObjectId field in every collection. See issue #31 for examples with Flask-JSON; the same principle applies whatever the library.

I'll go ahead and close this, but feel free to answer here and I'll reopen if needed. Thanks!


Consider making jzos and sdsf optional jars

Here are notes from Ian on this potential enhancement:
to find the dependencies and where things are used it's best to use VS Code's "Find in Files" option from the edit menu.
It shows the poms that use say sdsf or jzos.
And it shows where they packages are referred to.
In order to make a mainframe version we will need to refactor the code too.
Extract the places where the jzos or sdsf calls are made to base abstract classes.
Then we can include whichever instantiations we want via some scripting or something.
The sdsf jar is used only in the PETestFramework. Since it monitors the spool to manage the jobs.
Note the actual jar is called isfcall.jar and the mvsInstallJars script installs it into Maven as sdsf.
I tried to make it clearer what we were using it for.
The jzos jar is used in both the Test framework and the utilities.
Java MR91 uses the classes in the utilities to read and write MVS datasets.
We could create an MVS Utilities to manage the file IO and the spool calls etc.
Then use them only in an MVS targeted build.
Just thinking of the top of my head there. Not sure if it is worth doing that just yet but could well be worth doing later.

This has been done via Maven profiles as part of the RCApps 1.1.0_RC1 build


Docker image build fails with unprivileged user namespace isolation

I have Docker configured with unprivileged user namespace isolation using 65536 UIDs and GIDs starting from 864165.  I did not try passing --no-same-owner to tar, but extending the UID/GID mapping to provide 262144 IDs (4 * 2^16) for docker containers allowed the build to pass.

But now I have a problem when I try to use the image to actually build DCGM. The build script gives this error:
+ ./build.sh --arch amd64 --sa-mode 0 --release --
fatal: --local can only be used inside a git repository
Installing git-lfs locally
Error: failed to call git rev-parse --git-dir: exit status 128 : fatal: detected dubious ownership in repository at '/workspaces/DCGM'
To add an exception for this directory, call:

        git config --global --add safe.directory /workspaces/DCGM

Not in a git repository.

I see the script runs a docker container with -u "$(id -u)":"$(id -g)" and maps the cloned git repository as a volume to /workspaces/DCGM in the container, which does not work correctly with user namespacing...


Completion doesn't work on zsh

Env: macOS 10.14 / zsh + oh-my-zsh shell
ktx completion doesn't work because zsh doesn't have the complete keyword like bash does.
Is there any way you can add completion that supports zsh too?

cc @xstevens ?
I don't have any zsh experience and rely on others for this support

cc @mdaverde
.... :D

As for examples:
https://github.com/ahmetb/kubectx/blob/master/completion/kubectx.bash
https://github.com/ahmetb/kubectx/blob/master/completion/kubectx.zsh

@mylesagray Hey Myles, I was just setting up my new M1-based Mac and getting ktx working under Zsh 5.8. I was able to make completion work this way.
I created a completion function (named _ktx) and placed it into ~/.zsh/functions (which is part of the FPATH). The contents of this file:
#compdef ktx

KUBECONFIG_DIR=${KUBECONFIG_DIR:-"${HOME}/.kube/"}

_ktx() {
       _arguments -s -S \
              "*::filename:_files -W ${KUBECONFIG_DIR}"
}

I already had initialized the completion system in ~/.zshrc with autoload -Uz compinit && compinit. I still need to do some fine-tuning, but it does work.
Hope this helps!

That did the trick, thanks @scottslowe! - hope the new gig is working out for you too :)


Hotfix/0.5.1

Coverage remained the same at 32.583% when pulling c81ab15e66ff76ad42b54f0e8e39305a9481ce2c on hotfix/0.5.1 into 6a9aaa293d115ad95140c093daead41e043c95a9 on master.

LGTM

Just waiting on confirmation that the issue has been fixed.


Be able to use Codey models on Vertex AI

Added the functionality to leverage 3 new Codey models from Vertex AI:

code-bison - Code generation using the existing LLM integration
code-gecko - Code completion using the existing LLM integration
codechat-bison - Code chat using the existing chat_model integration

Tag maintainers/contributors who might be interested:

@hwchase17
@agola11
@vowelparrot

Had to close and create a new PR to resolve conflicts.

Can we have this merged? @hwchase17


Can't build in android

Ionic Info:
Ionic:

   ionic (Ionic CLI)  : 4.2.1 (/Users/victor/.nvm/versions/node/v8.12.0/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:

   cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms     : android 7.1.1, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, (and 9 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/victor/Library/Android/sdk)
   ios-deploy        : 1.9.4
   NodeJS            : v8.12.0 (/Users/victor/.nvm/versions/node/v8.12.0/bin/node)
   npm               : 6.4.1
   OS                : macOS High Sierra
   Xcode             : Xcode 10.1 Build version 10B61

Error:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

Having the same issue. If anyone solved this, can you say how?

Fix:
https://stackoverflow.com/questions/26609734/how-to-enable-multidexing-with-the-new-android-multidex-support-library/27284064#27284064


FBI 2.4.7 network install issue

When I use socket punch . jar version 1.2.5 , fbi just freezes and I have to turn my N3DS off.

SocketPunch doesn't support the latest protocol used by 2.4.7. Try servefiles instead.


Add add_ons to pyproject.toml in spaceflight starters

Motivation and Context
While working on https://github.com/kedro-org/kedro/issues/3220 I noticed the spaceflight starters didn't have the add_ons field in the pyproject.toml yet.
I only added it to the spaceflights starters, because those are the only ones that will be used in the new project creation flow.
❗ I also had to update the default value from "none" to "['none']" to be parsed correctly.
Checklist

[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Assigned myself to the PR
[ ] Added tests to cover my changes

@SajidAlamQB and @noklam I re-requested your reviews to make you aware I also had to update the default value from "none" to "['none']" to be parsed correctly. Does that look right to you? Or do we want to change this so "none" would also be accepted?

I think none should work as I expected this match the user prompt. How should I test this change?

I think none should work as I expected this match the user prompt. How should I test this change? Note that this also doesn't match with https://github.com/kedro-org/kedro/blob/fd2151336afb5bf6ed792b336a07a7107e2e6703/kedro/framework/cli/starters.py#L219-L225C38 which return an []. We need to be clear hear should it return "none", ["none"] or []. I think either [] or ["none"] is fine.

Actually none doesn't match the user prompt. Any user prompts via kedro new or kedro new --addons=none results in add_ons = [] in the pyproject.toml. However, "none" in cookiecutter.json will result in add_ons = none, which is invalid syntax. I've changed the default in cookiecutter.json to "[]" instead of "none", because that results in add_ons = [] which is the same as the CLI flow.

With this change this is the difference in CLI flow:
Before:

After:

Ooohh good catch!! We definitely don't want that. I'll revert the default change, and just keep the change to pyproject.toml to reflect what you did on the viz add on PR.


Missing branch in submodule

$ make get_ip_blocks
...
Creating sky130_icrg_ip__ulpcomp repository
Cloning into '/<home>/chipalooza_projects_2/dependencies/sky130_icrg_ip__ulpcomp'...
warning: Could not find remote branch tapeout_ci2406 to clone.
fatal: Remote branch tapeout_ci2406 not found in upstream origin

I merged the development branches of many of the dependencies back into their main branches since the first tapeout of the test chip.  I (probably unwisely) deleted the branch.  I will check the current state of each of the dependencies of my own local reposistory (which is the one I used to tape out) and replace the branch names with commit numbers.

@d-m-bailey :  I have updated with a correction to the Makefile that fixes three dependencies for which the development branch was merged and then deleted.  In addition, the CDAC, which underwent additional development afterward, checks out the commit used for tapeout.  The proper way to do this, though, is to abandon the Makefile altogether and use git submodules, which I will do when I have a chance to get around to it, because otherwise the state at tapeout is not captured and any future updates (like the CDAC) will get pulled instead of the repository state at tapeout.


version 0.0.8

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c09a57e) 66.85% compared to head (0da632c) 66.85%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   66.85%   66.85%
=======================================
  Files          17       17
  Lines         528      528
=======================================
  Hits          353      353
  Misses        175      175

Flag
Coverage Δ

unittests
66.85% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feat: rename the routes custom_domain option to origin

When specifying a route in wrangler.toml that should be considered as an origin as part of the Custom Domain feature you currently must use a custom_domain flag. E.g.
routes = [ { pattern = "abc.com", custom_domain = true }]

We should consider renaming this to origin since that is more aligned with what the route is declaring - i.e. that this Worker should act as the "origin" for request being routed to it. The fact that the product was named "Custom Domains for Workers" is not really accurate here?
routes = [ { pattern = "abc.com", origin = true }]

Since custom_domain is now public API, we would continue to support it but mark it deprecated in Wrangler 2.1.0 and then remove it in Wrangler 3.0.0

One possible area of confusion is the product name (Custom Domains for Workers) not matching the origin. This is especially confusing when they're named Custom Domains on the dashboard too.
As long as the documentation is very clear that they mean the same thing though, it might be OK?

Yes, I think if we were to do this then it would probably need to be a product wide change.

In which case I'd very much agree, the Custom Domains name is very confusing and doesn't really make it clear what the difference is between Routes and Custom Domains.

Further indication of the confusing terminology here: https://github.com/cloudflare/wrangler2/issues/1222#issuecomment-1153917580

cc @admah

I'm going to close this for now since the Wrangler option matches the product name. However, I'll raise internally whether Custom Domains is the right name for this feature, and whether it would make sense to rename (at which point Wrangler would change to match that new name)


Refresh tokens?

Is it in scope of this library to refresh tokens?

has been introduced with https://github.com/alexcrichton/oauth2-rs/pull/30 (and released with 1.3.0)


Support to get gamepad button/trigger values using Axis

Fixes #680 but uses Axis<GamepadButton> instead of modifying Input struct to store floating values like #681
Updated the gamepad_input example

nice. looks good to me!


Event Verification: Location bug

Overview
During SHPEtinas event, there was a bug with event sign in, where a set of users (approx. 4/56 users) were getting errors about not being close to the event.
The event was at JEB and had a radius of 75.
Task

[x] Find out the reason for the bug
[x] fix the bug

Additional
There were about 3 users that could not sign in no matter how many times they scanned the QRCode (4+ attempts).
However there was one person that scanned it multiple times and eventually was able to sign in.

The reason that some users were not being detected was simply a gps problem
When I'm in the JEB building and open google maps, my location would show that I'm outside the building.
The simple solution to this was to increase the tolerance to allow for inaccuracy gps reading.
c15a871


Describe how to run UDP and TCP with port-share in parallel

I've added a brief explanation how to run a server with UDP and a secondary with TCP and port-share in parallel.

@kylemanna Do you need anything else for this PR?


casperjs selftest fails for me

I just started to have a look at casperjs and tried the selftest.
I downlaoded phantomjs-2.1.1-windows and n1k0-casperjs-1.0.3-0-g76fc831
After initially running into endless loops I eventually I was left with 20 errors/failures.
(more details on the looping errors below)
I run the test in a cmd window with
@echo off
set "orgpath=%path%"
set "path=%orgpath%;D:\utest\testsuite\phantomjs\bin;D:\utest\testsuite\casperjs\bin;D:\utest\testsuite\casperjs\batchbin"
casperjs selftest
set "path=%orgpath%"
pause
I needed the " in the set options because MySQL has an & inside the original path variable.
result:
FAIL 679 tests executed in 32.122s, 659 passed, 20 failed.
Details for the 20 failed tests:
In D:/utest/testsuite/casperjs/tests/suites/http_status.js:0
assertHttpStatus: file:// protocol does not set a HTTP status
In D:/utest/testsuite/casperjs/tests/suites/require.js:0
fail: require() patched version can load a js module
In D:/utest/testsuite/casperjs/tests/suites/require.js:0
fail: require() patched version can load a coffeescript module
In D:/utest/testsuite/casperjs/tests/suites/require.js:0
fail: require() patched version can load a json module
In D:/utest/testsuite/casperjs/tests/suites/t/encode.js:0
assertEquals: Casper.base64encode() can retrieve base64 contents
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertEvalEquals: Casper.fill() can select a file to upload
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertEquals: Casper.getFormValues() retrieves filled values
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertUrlMatch: Casper.fill() input[type=email] field was submitted
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertUrlMatch: Casper.fill() input[type=password] field was submitted
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertUrlMatch: Casper.fill() textarea field was submitted
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertUrlMatch: Casper.fill() input[type=checkbox] field was submitted
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertUrlMatch: Casper.fill() input[type=radio] field was submitted
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertUrlMatch: Casper.fill() select field was submitted
In D:/utest/testsuite/casperjs/tests/suites/t/formfill.js:0
assertEquals: Casper.getFormValues() correctly retrieves values from radio inputs regardless of order
In D:/utest/testsuite/casperjs/tests/suites/t/logging.js:0
assertEquals: Casper.log() logged messages
In D:/utest/testsuite/casperjs/tests/suites/tester.js:0
assertEquals: findTestFiles() find test files and sort them
In D:/utest/testsuite/casperjs/tests/suites/tester.js:0
assertField: Tester.assertField() works as expected with file inputs
In D:/utest/testsuite/casperjs/tests/suites/tester.js:0
assertField: Tester.assertField() works as expected with selects
In D:/utest/testsuite/casperjs/tests/suites/utils.js:0
assertEquals: betterTypeOf() detects expected type "[object Window]"
In D:/utest/testsuite/casperjs/tests/suites/utils.js:0
assertEquals: isValidSelector() checks for a valid selector
But I only managed to get that far after removing/renaming a number of files.
coffee.coffee
I get a repeating error
FAIL SyntaxError: Unexpected token '>'
type: uncaughtError
error: "SyntaxError: Unexpected token '>'"
solution: rename to coffee.coffee.xxx
resources.coffee
I get a repeating error
FAIL SyntaxError: Unexpected string "tests/site/resources.html"
type: uncaughtError
error: "SyntaxError: Unexpected string "tests/site/resources.html""
solution: rename to resources.coffee.xxx
flow.coffee
I get a repeating error
FAIL SyntaxError: Invalid character: '#'
type: uncaughtError
error: "SyntaxError: Invalid character: '#'"
solution: rename to flow.coffee.xxx
headers.js
I get a repeating error
FAIL TypeError: Requested keys of a value that is not an object.
type: uncaughtError
error: "TypeError: Requested keys of a value that is not an object."
solution: rename to headers.js.xxx
Now I guess I'm missing something to enable coffeescript on my PC, but that leaves the last error in the headers.js. Eventually the errors are resulting in a repeating error D:/utest:170 mixed with D:/utest:179
My cmd file is located in the D:/utest/ folder.
I'm running on a Windows 10 computer.
Any help would be welcome.
Ferry van den Heuvel

I downlaoded phantomjs-2.1.1-windows and n1k0-casperjs-1.0.3-0-g76fc831

This won't work. PhantomJS 2 support is available as of https://github.com/n1k0/casperjs/releases/tag/1.1-beta4.
Please use the latest beta (or master git) when trying to run CasperJS with PhantomJS 2.
There are some selftests known to fail in windows, see #1427.

Thank you. That version works much better, resulting in only the three known fails.


Readme update and repo cleanup

i can't understand  what do you change? Can you make branch for PR.
If you change anything so don't  push code to master branch. You are always make another branch then create PR


Should hierarchicalsolve be designed for a HierarchicalVector?

Currently,
hierarchicalsolve{U,V<:LowRank...}(H::HierarchicalMatrix{U,V},f::AbstractVecOrMat)

but it may make more sense to have f::HierarchicalVector, especially considering
    # Partition the right-hand side

    (f1,f2) = (f[1:size(H11,1),:],f[1+size(H11,1):end,:])

could be written
    # Partition the right-hand side

    f1,f2 = partitionvector(f)

The problem is what to do with the columns and rows of off-diagonal low-rank matrices? These combine naturally as a Matrix, but they could also be a Vector{HierarchicalVector}. In the ideal setting, the hierarchical solver has very few allocations.

I think the hierarchical solver requires allocations one way or the other.


Error the provided middleware type must contain an invoke method

I use validation directive:
public class ValidateInputDirectiveType : DirectiveType<ValidateInputDirective>
    {
        protected override void Configure(IDirectiveTypeDescriptor<ValidateInputDirective> descriptor)
        {
            base.Configure(descriptor);

            descriptor
                .Name("validateInput")
                .Location(DirectiveLocation.FieldDefinition)
                .Use<ValidateInputMiddleware>();
        }
    }

It uses in the mutation:
public partial class Mutation : ObjectType
{
    protected override void Configure(IObjectTypeDescriptor descriptor)
    {
        descriptor.Field("CreateMaster")
        .ResolveWith<Resolvers>(m => m.CreateMaster(default!, default!)).UseDbContext<CRMContext>()
        .Argument("input", _ => _.Type<CreateMasterInput>())
        .Type<ObjectType<MasterPayload>>()
        .Use<ValidateInputDirectiveType>()
        .Name("createMaster");
    }

    private class Resolvers
    {
        public async Task<MasterPayload> CreateMaster([ScopedService] IMasterService service, CreateMasterInput input)
        {
            var result = await service.CreateMasterAsync(input);
            return result;
        }
    }
}

In testing aims I use simple middleware from manual https://chillicream.com/docs/hotchocolate/v10/execution-engine to be sure that everything is fine with the shell itself:
public class ValidateInputMiddleware
    {
        private readonly FieldDelegate _next;
        public MyMiddleware(FieldDelegate next)
        {
            _next = next;
        }
        public async Task InvokeAsync(IMiddlewareContext context)
        {
            await _next(context);
        }
    }

But it returns diagnostic error (it is only diagnostic error from ASP .NET Core: https://github.com/dotnet/aspnetcore/blob/main/src/Middleware/Diagnostics.EntityFrameworkCore/src/DatabaseDeveloperPageExceptionFilter.cs#L85-L89 and should not stop EntityFrameworkCore operations):
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseDeveloperPageExceptionFilter[7]
      An exception occurred while calculating the database error page content. Skipping display of the database error page.

  To avoid this error messeage, I swithed off app.UseDeveloperExceptionPage() and got real error:

       Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HM8Q97Q6MR3E", Request id "0HM8Q97Q6MR3E:00000017": An unhandled exception was thrown by the application.  System.NotSupportedException: The provided middleware type must contain an invoke method.

   It looks like HotChocolate middleware is using standard one and in this situation cannot correctly call this invoke method. For exapmle, ASP .NET Core middleware expect HttpContext and  cannot convert IMiddlewareContext to it. It turns out this is either a conversion error or the section of manual about middleware is outdated.

the return type should be ValueTask

Ok, I set it to class Resolvers, but nothing has changed.

@TDDinAction  i meant the Middleware :)

i meant the Middleware :)

Ok, I set it also to Middleware, but nothing has changed. Signatura: async ValueTask Invoke(IMiddlewareContext context).

i meant the Middleware :)

I have checked it for signatures:
async ValueTask Invoke(IMiddlewareContext context)
async ValueTask InvokeAsync(IMiddlewareContext context)
But the error remained the same.

ah
i see, well the problem is that you apply the directive like it was a middleware:
    protected override void Configure(IObjectTypeDescriptor descriptor)
    {
        descriptor.Field("CreateMaster")
            .ResolveWith<Resolvers>(m => m.CreateMaster(default!, default!)).UseDbContext<CRMContext>()
            .Argument("input", _ => _.Type<CreateMasterInput>())
            .Type<ObjectType<MasterPayload>>()
            .Use<ValidateInputDirectiveType>() // <---------
            .Name("createMaster");
    }

This is not correct.
You need to add the directive there
    protected override void Configure(IObjectTypeDescriptor descriptor)
    {
        descriptor.Field("CreateMaster")
            .ResolveWith<Resolvers>(m => m.CreateMaster(default!, default!)).UseDbContext<CRMContext>()
            .Argument("input", _ => _.Type<CreateMasterInput>())
            .Type<ObjectType<MasterPayload>>()
            .Directive<ValidateInputDirective>() // <---------
            .Name("createMaster");
    }

and register the type of the directive on the schema
service.AddGraphQLServer()
   ....
   .AddType<ValidateInputDirectiveType>();

i see, well the problem is that you apply the directive like it was a middleware:

I set your changes and got new error:
 Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HM8SB9T14EQB", Request id "0HM8SB9T14EQB:0000001F": An unhandled exception was thrown by the application.
      HotChocolate.SchemaException: For more details look at the `Errors` property.

      1. The object type `ValidateInputDirective` has to at least define one field in order to be valid. (HotChocolate.Types.ObjectType<DataArt.CRM.UI.GraphQL.Directive.ValidateInputDirective>)

  Also I replaced .Directive<ValidateInputDirective>() by .Directive<ValidateInputDirectiveType>()

  In this case, the diagnostic errors disappear, but as with the case of direct connection of the middleware, the debugger shows that the middle does not run.

@TDDinAction
My bad
you have to use .Directive<ValidateInputDirective>()
But you have to register it with  .AddDirectiveType<ValidateInputDirectiveType>();

.AddDirectiveType();

I use HotChocolate v11.2.2 in this version .AddDirectiveType cannot be added to descriptor also resharper does not find for extantion method.

I created a example here:
https://github.com/PascalSenn/hotchocolate-directive-example

I created a example here:
https://github.com/PascalSenn/hotchocolate-directive-example

Thanks a lot, I will use directives in this way.

And I rewrote the code in accordance with the example. It doesn't work the right way for me. The directive is executed only once, and not with every request, since it is bound to the fields of entity GraphQL types, and not to the mutation descriptor field where it cannot be bound.
Nevertheless, this example made it possible to find the reason why the shell did not start for my case. Immediately after executing the directive, the shell does not start, it starts after 24 seconds and an error is returned:
warn: Microsoft.EntityFrameworkCore.Query[10102]
      The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results.
warn: Microsoft.EntityFrameworkCore.Query[20504]
      Compiling a query which loads related collections for more than one collection navigation either via 'Include' or through projection but no 'QuerySplittingBehavior' has been configured. By default Entity Framework will use 'QuerySplittingBehavior.SingleQuery' which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'

  It looks like this case: https://stackoverflow.com/questions/65311789/entity-framework-core-5-0-warning-limiting-operator-skip-take-without-an It looks like this error occurs while applying the projection:

         [UseDbContext(typeof(Context))]
        [UsePaging(typeof(ContactType))]
        [UseFiltering]
        [UseSorting]
        public IQueryable<MasterViewModel> GetContacts([ScopedService] Context context)
        {
            var config = new MapperConfiguration(cfg => cfg.CreateMap<Contact, ContactViewModel>()
            .ForMember(d => d.SomeField, opt => opt.MapFrom(c => c.ContactMeans.OrderByDescending(p => p.ModifiedOn).FirstOrDefault(p => p.SomeTypeId == 1).Value))
            );

            IQueryable<MasterViewModel> result = context.Masters.ProjectTo<MasterViewModel>(config);

            return result;
        }

    In this case, the database context itself successfully performs the mutation itself to add a record, that is, it is a diagnostic error that is ignored in any other case ( https://stackoverflow.com/questions/65311789/entity-framework-core-5-0-warning-limiting-operator-skip-take-without-an ). It looks like this error is created by using projection. The only thing I have not yet managed to localize the source HotChocolate or AutoMapper.

@TDDinAction  is this resolved?


Do not include development/documentation in bower release

Will merge in next release.

This is a no op

@ichernev I don't understand?


Migrate to mac

Purpose of PR
Implementation of item endpoints

Coverage decreased (-0.2%) to 40.644% when pulling 2ca6f74d7aee74c53938eaae1515288bb8a4dcc9 on migrate_to_mac into 8f5dd1e89dc76365eaaa8c3b1e43c75f62f64794 on master.


Add use_gitignore to recipe

Fixes #357

Looks good to me. Do you have time to add this to the docs as well?
Just as a note to self:

[ ] update CEP
[ ] update recipe-format schema

I won't have time for creating docs before this evening. If the next release is planned before that, I would suggest splitting the PR into two parts.
Alternatively, feel free to commit to my branch, otherwise I will do it this evening.


Vite + React: "TypeError: Cannot read properties of undefined (reading 'classes')"

Describe the bug
I'm running an app with react-tsparticles and mui. Whenever I run the app with vite everything works like a charm, but when I use build and preview it fails and I get the following error twice: Uncaught TypeError: Cannot read properties of undefined (reading 'classes'). However, build was fine.
Reproduction
https://github.com/AnthonyLzq/vite-test
System Info
System:
  OS: Linux 5.17 Manjaro Linux
  CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
  Memory: 10.47 GB / 15.10 GB
  Container: Yes
  Shell: 5.9 - /usr/bin/zsh
Binaries:
  Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
  Yarn: 1.22.18 - ~/.nvm/versions/node/v16.15.0/bin/yarn
  npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
  Watchman: 20210801.210521.0 - /usr/local/bin/watchman
Browsers:
  Brave Browser: <IP_ADDRESS>
  Firefox: 100.0.2
npmPackages:
  @vitejs/plugin-react: ^1.3.2 => 1.3.2
  @vitejs/plugin-react-refresh: ^1.3.6 => 1.3.6
  vite: ^2.9.9 => 2.9.9

Used Package Manager
yarn
Logs
vite:config bundled config file loaded in 67.15ms +0ms
vite:config using resolved config: {
vite:config   plugins: [
vite:config     'vite:build-metadata',
vite:config     'alias',
vite:config     'vite:react-babel',
vite:config     'vite:react-refresh',
vite:config     'vite:react-jsx',
vite:config     'vite:modulepreload-polyfill',
vite:config     'vite:resolve',
vite:config     'vite:html-inline-proxy',
vite:config     'vite:css',
vite:config     'vite:esbuild',
vite:config     'vite:json',
vite:config     'vite:wasm',
vite:config     'vite:worker',
vite:config     'vite:asset',
vite:config     'vite:define',
vite:config     'vite:css-post',
vite:config     'vite:build-html',
vite:config     'vite:worker-import-meta-url',
vite:config     'vite:watch-package-data',
vite:config     'commonjs',
vite:config     'vite:data-uri',
vite:config     'rollup-plugin-dynamic-import-variables',
vite:config     'vite:asset-import-meta-url',
vite:config     'vite:build-import-analysis',
vite:config     'vite:esbuild-transpile',
vite:config     'vite:terser',
vite:config     'vite:reporter',
vite:config     'vite:load-fallback'
vite:config   ],
vite:config   build: {
vite:config     target: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
vite:config     polyfillModulePreload: true,
vite:config     outDir: 'dist',
vite:config     assetsDir: 'assets',
vite:config     assetsInlineLimit: 4096,
vite:config     cssCodeSplit: true,
vite:config     cssTarget: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
vite:config     sourcemap: false,
vite:config     rollupOptions: {},
vite:config     minify: 'esbuild',
vite:config     terserOptions: {},
vite:config     write: true,
vite:config     emptyOutDir: null,
vite:config     manifest: false,
vite:config     lib: false,
vite:config     ssr: false,
vite:config     ssrManifest: false,
vite:config     reportCompressedSize: true,
vite:config     chunkSizeWarningLimit: 500,
vite:config     watch: null,
vite:config     commonjsOptions: { include: [Array], extensions: [Array] },
vite:config     dynamicImportVarsOptions: { warnOnError: true, exclude: [Array] }
vite:config   },
vite:config   resolve: { dedupe: [ 'react', 'react-dom' ], alias: [ [Object], [Object] ] },
vite:config   optimizeDeps: {
vite:config     include: [ 'react/jsx-dev-runtime' ],
vite:config     esbuildOptions: { keepNames: undefined, preserveSymlinks: undefined }
vite:config   },
vite:config   configFile: '/home/anthony/Development/ACECOM/harper-frontend-graphql/vite.config.ts',
vite:config   configFileDependencies: [
vite:config     '/home/anthony/Development/ACECOM/harper-frontend-graphql/vite.config.ts'
vite:config   ],
vite:config   inlineConfig: {
vite:config     root: undefined,
vite:config     base: undefined,
vite:config     mode: undefined,
vite:config     configFile: undefined,
vite:config     logLevel: undefined,
vite:config     clearScreen: undefined,
vite:config     build: {}
vite:config   },
vite:config   root: '/home/anthony/Development/ACECOM/harper-frontend-graphql',
vite:config   base: '/',
vite:config   publicDir: '/home/anthony/Development/ACECOM/harper-frontend-graphql/public',
vite:config   cacheDir: '/home/anthony/Development/ACECOM/harper-frontend-graphql/node_modules/.vite',
vite:config   command: 'build',
vite:config   mode: 'production',
vite:config   isWorker: false,
vite:config   isProduction: true,
vite:config   server: {
vite:config     preTransformRequests: true,
vite:config     fs: { strict: true, allow: [Array], deny: [Array] }
vite:config   },
vite:config   preview: {
vite:config     port: undefined,
vite:config     strictPort: undefined,
vite:config     host: undefined,
vite:config     https: undefined,
vite:config     open: undefined,
vite:config     proxy: undefined,
vite:config     cors: undefined,
vite:config     headers: undefined
vite:config   },
vite:config   env: { BASE_URL: '/', MODE: 'production', DEV: false, PROD: true },
vite:config   assetsInclude: [Function: assetsInclude],
vite:config   logger: {
vite:config     hasWarned: false,
vite:config     info: [Function: info],
vite:config     warn: [Function: warn],
vite:config     warnOnce: [Function: warnOnce],
vite:config     error: [Function: error],
vite:config     clearScreen: [Function: clearScreen],
vite:config     hasErrorLogged: [Function: hasErrorLogged]
vite:config   },
vite:config   packageCache: Map(0) { set: [Function (anonymous)] },
vite:config   createResolver: [Function: createResolver],
vite:config   worker: {
vite:config     format: 'iife',
vite:config     plugins: [
vite:config       [Object], [Object], [Object],
vite:config       [Object], [Object], [Object],
vite:config       [Object], [Object], [Object],
vite:config       [Object], [Object], [Object],
vite:config       [Object], [Object], [Object],
vite:config       [Object], [Object], [Object],
vite:config       [Object], [Object], [Object],
vite:config       [Object], [Object], [Object],
vite:config       [Object]
vite:config     ],
vite:config     rollupOptions: {}
vite:config   }
vite:config } +6ms
vite v2.9.9 building for production...
✓ 1348 modules transformed.
dist/assets/favicon.8cc0dae5.svg      1.54 KiB
dist/assets/acecomLogo.a761dc38.svg   11.45 KiB
dist/index.html                       0.40 KiB
dist/assets/pathseg.7140b611.js       38.94 KiB / gzip: 4.35 KiB
dist/assets/index.14aa77e9.js         475.18 KiB / gzip: 143.54 KiB
Done in 5.93s.

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

It seems it happens with rollup 2.74.0, 2.75.0+. I assume https://github.com/rollup/rollup/pull/4510 is affecting this.
You could add resolutions field for a workaround.
  "resolutions": {
    "rollup": "2.74.1"
  }

Thanks. It works now, should I mark this issue as resolved?

It seems it happens with rollup 2.74.0, 2.75.0+. I assume rollup/rollup#4510 is affecting this.
You could add resolutions field for a workaround.
  "resolutions": {
    "rollup": "2.74.1"
  }

For those who may not now where to put the resolutions, add it to your package.json and then run again yarn install.

For those who use npm instead of yarn, use "overrides" instead of yarn`s "resolutions".
 "overrides": {
    "rollup": "2.74.1"
  }

Let's close this issue as it was reported to rollup. https://github.com/rollup/rollup/issues/4516


Select a season creation template from teams in a season

[ ] add permissions for creating fixtures
[ ] add dialog to fixtures list - Create fixtures
[ ] add dropdown for template

[ ] show compatibility in dropdown
[ ] show details of compatibility upon selection
[ ] next button would move to next step

A season must have, compared to the template

the same number of divisions
no more teams (per division)
no more teams with shared addresses at season level
no more teams with shared addresses per division


Same request listed multiple times

In making sure we have location on all requests, I noticed that some requests are posted numerous times on the list.

The dates and locations are the same on each of the duplicate requests, so I'm unable to tell if people are accidentally hitting 'request' multiple times, or if our system is duplicating these requests.

Moving into the current milestone - I will want to get this fixed asap. I would guess it is due to bad connections and so the server receives multiple requests for the same thing before it was possible to save the previous request, so a duplicate becomes possible. We have seen this before, and whilst the new plugin is more stable, there are going to be some occasions due to network issues that we just can't stop. If this is the case, I think the only solution will be that I add a checker for duplicates that dedups them. So will investigate in this sprint and fix if possible.

Noting for myself, I just looked at a live example which has a duplicate, and the difference in creation time is about 5 seconds.
WThs4w9bbmsBSBLpu

Given that the duplicate requests were a few seconds apart, it seemed strange that they could have been created - the system when creating does check for already existing ones, so even if the user was suffering network delay issues or if they pressed the button multiple times (due to delay again perhaps causing it not to disappear immediately, although unlikely) the backend should have refused it.
However, because when creating a request we scrape various bits of metadata out of a page, and this process could take a few seconds, it could be possible that some duplicate requests were coming in before the request had been written to the database.
So I have changed it to save a new request immediately, with just the url and request type, then to do the metadata extraction and to subsequently update the request. This would mean that subsequent duplicate requests for the same URL will not get created.
The only downside is that it is possible that requests will exist which have no metadata at all - however, this should only be the case for a few seconds, and is probably a better downside than that of having duplicates.
I am moving this on to test now, so please just make sure when using the dev site find page that requests still get created as expected, and that they have the expected metadata just as they did before. I have already checked that it works as expected on the API, and did do one on the site too, but still, UI testing is useful to be sure.

Also, once we are happy this is fixed, anyone with admin account can go to the duplicate requests and delete them from the system.

Okay, I just made a request from /request/new that seemed to have worked just fine. How deep would you suggest we test this @markmacgillivray. From all systems, or is a spot test okay?

@JosephMcArthur I think that will do for now then if we hear from users that they still get this, or if we see more dups on live over the coming weeks, then we can review again.


Update search-get-started-vector.md

Add reference to javascript sample.

@HeidiSteen

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

Hi everyone (Jak, Heidi, and the Bots),
Thank you for taking the time to review my PR. I really hope that it is clear and accurate as I intended it to be. If there is a need for further documentation, I would be more than happy to review and write additional content.
Liat


Fix outputFileSystem not found in multi compiler mode

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?

Summary

Does this PR introduce a breaking change?

Other information

这个是解决了什么场景下的问题？


Adding MIT license file and initial pod spec

To use this great component it would be comfortable to have a cocoapod spec and to submit it to the cocoapod repository.

Thanks @anka and @YSDC, I wasn't up to speed with Cocoapods just before.
For future reference, the project as a pod is available at:
http://cocoadocs.org/docsets/CustomIOSAlertView/


[BugFix] Fix missing hack NULL_TYPE for field child_type

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #14288
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 1 / 2 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/analysis/Expr.java
1
2
50.00%
[760]

[FE PR Coverage Check]
:disappointed: fail : 1 / 2 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/analysis/Expr.java
1
2
50.00%
[760]

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 2 / 2 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/analysis/Expr.java
2
2
100.00%
[]

run starrocks_admit_test

All cherry-picks

2.2 https://github.com/StarRocks/starrocks/pull/14415
2.3 https://github.com/StarRocks/starrocks/pull/14414
2.4 https://github.com/StarRocks/starrocks/pull/14413
2.5 https://github.com/StarRocks/starrocks/pull/14405


[BUG]: Missing dependencies in externals vstsom folder

What happened?
At some point between version v3.234.0 and v3.245 of the agent, the version of the Azure DevOps Client SDK, which exists in the externals\vstsom folder, was bumped from v15 to v16. In v16 there seems to be some additional dependencies that are missing which v15 did not require
In the Azure Pipeline Task lib there is a script that can be run ro check which dlls are actually required to be bundled with any task you may develop. This script used is the following https://github.com/microsoft/azure-pipelines-task-lib/blob/master/powershell/VstsTaskSdk/ServerOMFunctions.ps1
For our task we require the dll Microsoft.TeamFoundation.Build2.WebApi.dll. This dll then has the following dependencies

Microsoft.VisualStudio.Service.WebApi.dll :white_check_mark:
System.IdentityModel.Tokens.Jwt.dll :white_check_mark:
Microsoft.IdentityModel.Logging.dll :x:
Microsoft.IdentityModel.Tokens.dll :x:

So the main issue comes with the added dependency on System.IdentityModel.Tokens.Jwt.dll which then requires its own 2 additional dependencies.
I managed to work around this in my custom tasks pipeline by copying the files from the bin directory of the agent, as it appears the agent itself requires these dependencies too but they are actually bundled
Im not sure if there are more additional dependencies other than the two that I hit in my custom task development
Versions
v3.245
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
No response
Version controll system
No response
Relevant log output
No response

Hi @andyfisher100, thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.


a facet directive for an integer column

as a column name of an integer type is clicked, display two data entry form to take a range of values.
a histogram is shown for user to select a range of data
when a value or a range is specified, summarize the faceting criteria on the top (like the search app).

Can this be reused for float, date, datetime?

The basic range picker has been implemented for faceting round 1. Closing this issue.


Module namespace object not populated with bindings exported and renamed from self

import * as ns from './bug-dep.js';
export let x = 1;
export { x as renamed } from "./bug-dep.js";
var stringKeys = Object.getOwnPropertyNames(ns);
print(JSON.stringify(stringKeys));

Actual: ['x']
Expected: ['renamed', 'x']

This has been fixed by https://github.com/Microsoft/ChakraCore/pull/3381


User Interaction

Mr RoundRobin Really thanks for the library,
i faced with a problem, it is really kind of you if consider it...
i have some KeyboardButton which labeled NAME , FAMILY .... and i ask user to input related information by click keyboard button...after that user click NAME, messageEventArgs.Message.Text change to NAME but when user input his name, messageEventArgs.Message.Text change to "username" and i can not find the user input is related to which KeyboardButton !!!

you need to creat a logic your self, this library handles only calling the telegram http api ans handling the responses over to your code


Update SAH and merge AttrHider and OldEnchanting

Hopefully this isn't too big an ask.

Good overall improvements

Good overall improvements


adding TruSwap Coin token

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

chek it sir what is the problem now why not
add my token in list ?
https://github.com/mk3723/token-list/pull/1

You need another } near the end, you have 1 }
},
{
"chainId": 101,
"address": "2VUUT4sHadwsqv5mG57MAcUiLbnkPp21oYEw5WwaiEqU",
"symbol": "TRS",
"name": "TruSwap Coin",
"decimals": 9,
"logoURI": "https://github.com/mk3723/TRS/blob/main/logo.png.png",
"tags": [
"stake-pool-token",
"utility-token",
"meme-token",
"community-token"
]
}
}
],
"version": {

chek it sir now https://github.com/solana-labs/token-list/pull/23245
@trevor256

I'm actually in the same boat I think now we just have to wait #23267

you haven't changed any files in your commit. to update the token you gotta edit the file, make the changes, then commit for it to be available to be approved.


Delete templates

I am sorry but we have had to abandon several templates after our first tries with Sinopia, and would like to have these deleted:
norld_ test_to be deleted
nordl:RT:RDA:Monograph:Manifestation
Norld - to be deleted
norld:RT:RDA:Monograph:Manifestation
norld - test- to be deleted
nordl:RDA:Monograph:Manifestation:Book
Agent--Person
norld_vibeke:bf2:Agent:Person
Thank you!
Best regards,
Anette

@anettemu the following templates have been delete from https://stage.sinopia.io:

nordl:RT:RDA:Monograph:Manifestation
norld:RT:RDA:Monograph:Manifestation
nordl:RDA:Monograph:Manifestation:Book
norld_vibeke:bf2:Agent:Person


Adding type hints info to contributing.md

Adding type hints info to contributing.md

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          180       180
=========================================
  Hits           180       180

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 7087304...27aec82. Read the comment docs.


Faster unit tests

Have the unit tests run in couple of seconds at most.

Done (~3s), but should also cleanup the unit tests:

refactor & better naming
split larger functions & unit tests in smaller ones


ShareMenuModule

this example code doesnt work anymore.. any ideas?

We currently don't have an iOS maintainer for this module, but volunteers are welcome! :)

use react-native-file-share-intent

@sw-yx I know this is an old issue, but is there any chance you can tell me if it's still applicable?

@sw-yx could you just let me know if you closed this because you no longer use this package or if it's because you've found a solution? If the latter, could you share it here please?

ah sorry i was rushing and didnt leave a proper response. closed bc no longer using this package , sorry never found a solution, i just abandoned that project


Users receive a JWT upon login

Acceptance criteria:

[ ] User's receive a JWT upon login
[ ] JWT expires when a user logs in on a different device
[ ] JWT expires automatically after 1 hour

Test case (test tool):

[ ] When logging in, check if a JWT was receivec
[ ] While logged in, log in on a different device, and check if the JWT correctly expired for the first instance.
[ ] While loggef in , check if the JWT correctly expires after the expiration timer. The expiration time may be changed to a lower value for this test's purpopses only.

JWT expires when a user logs in on a different device

From user experience standpoint this design choice would lead to many emails why they always need to log in again when they use different devices. In most cases the jwt will be stored inside the browsers localstorage you should just check if they are expired but let users login from multiple devices. (Compare with other websites you are not logged out when you use mobile apps / browser apps)