Update the conv_transpose2d usage?

I implemented the excellent scripts and found that conv_transpose2d does not work properly for my own work. So I updated it in functional.conv line27 as follows:
    # relevance_input  = F.conv_transpose2d(relevance_output, weight, None, padding=1)
    if ctx.stride[0] >= 2:
        output_padding = 1
    else:
        output_padding = 0
    relevance_input  = F.conv_transpose2d(relevance_output, weight, None, stride=ctx.stride, padding=ctx.padding, output_padding=output_padding)

and also here:
        def f(X1, X2, W1, W2, ctx):

            # Z1  = F.conv2d(X1, W1, bias=None, stride=1, padding=1)
            # Z2  = F.conv2d(X2, W2, bias=None, stride=1, padding=1)
            Z1 = F.conv2d(X1, W1, None, ctx.stride, ctx.padding, ctx.dilation, ctx.groups)
            Z2 = F.conv2d(X2, W2, None, ctx.stride, ctx.padding, ctx.dilation, ctx.groups)
            Z   = Z1 + Z2

            rel_out = relevance_output / (Z + (Z==0).float()* 1e-6)

            # t1 = F.conv_transpose2d(rel_out, W1, bias=None, padding=1)
            # t2 = F.conv_transpose2d(rel_out, W2, bias=None, padding=1)
            if ctx.stride[0] >= 2:
                output_padding = 1
            else:
                output_padding = 0
            t1 = F.conv_transpose2d(rel_out, W1, None, stride=ctx.stride, padding=ctx.padding, output_padding=output_padding)
            t2 = F.conv_transpose2d(rel_out, W2, None, stride=ctx.stride, padding=ctx.padding, output_padding=output_padding)

            r1  = t1 * X1
            r2  = t2 * X2

            return r1 + r2

Not sure if this is my own issue, but the above change fixed my problem.

Thank you @sdw95927  for posting this.
I just caught an error 'Conv2DAlpha1Beta0Backward' object has no attribute 'stride'.
I am wondering where should I set the stride for the ctx after making mentioned changes.

Thank you @sdw95927 for posting this. I just caught an error 'Conv2DAlpha1Beta0Backward' object has no attribute 'stride'. I am wondering where should I set the stride for the ctx after making mentioned changes.

Can you take a screen shot of both your script and error?

Appreciate it getting back,
I passed the ctx values (stride, padding, and dilation) during the forward pass and the former problem was solved. Now, in the f function since t1 and X1 dimensions are mismatched I caught another error. I attach its screenshot. Let me know if you need anything further.


affected/package: "go test -race" command

What version of Go are you using (go version)?

$ go version
go version go1.20.1 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/syzkaller/.cache/go-build"
GOENV="/syzkaller/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/syzkaller/gopath/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/syzkaller/gopath:/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.20.1"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/syzkaller/gopath/src/github.com/google/syzkaller/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build64555202=/tmp/go-build -gno-record-gcc-switches"

What did you do?
go test -race ./...
go test -race ./...
What did you expect to see?
I expected test result to be cached.
Race detector is quite expensive and the results caching is a good thing to have.
What did you see instead?
$ go help test
.....
The rule for a match in the cache is that the run involves the same
test binary and the flags on the command line come entirely from a
restricted set of 'cacheable' test flags, defined as -benchtime, -cpu,
-list, -parallel, -run, -short, -timeout, -failfast, and -v.
If a run of go test has any test or non-test flags outside this set,
the result is not cached.
....

People in https://github.com/golang/go/issues/23565 are asking for the caching improvement since 2018.

please provide test code that reproduces the issue.
go test -race should use the cache when available, -race is a build flag, not a test flag.
see also #48484


ORC-648: Add GitHub Action for Java8/11 test coverage

What changes were proposed in this pull request?
This PR aims to add GitHub Action for explicit Java 8/11 test coverage. Since this is an independent CI setup, this will not interfere with the existing CIs.
Why are the changes needed?
Apache ORC is currently using

Travis CI for testing various clang versions on Trusty and Mac with JDK7.
Appveyor CI for testing Visual Studio on Windows OS.

How was this patch tested?
Check the Github Action result on this PR.

Could you review this please, @pgaref ? This will help the next Apache ORC 1.5.x release.

Could you review this please, @pgaref ? This will help the next Apache ORC 1.5.x release.

Since this is irrelevant to orc code itself, I'll merge this~

Since this is irrelevant to orc code itself, I'll merge this~

Late +1 on this. Thanks @dongjoon-hyun !

Late +1 on this. Thanks @dongjoon-hyun !

Thank you!

Thank you!

PS: At some point we should also add the style check on this branch as well since @williamhyun 's work is already ported

PS: At some point we should also add the style check on this branch as well since @williamhyun 's work is already ported

Thanks, @pgaref . According to your advice, I backported it too.

https://github.com/apache/orc/commit/f7618213b121596dda6c74d30622089c65a11dc3

Thanks, @pgaref . According to your advice, I backported it too.

https://github.com/apache/orc/commit/f7618213b121596dda6c74d30622089c65a11dc3

Thanks again @dongjoon-hyun !

Thanks again @dongjoon-hyun !


Add libcanardv1 for Cyphal, rename libcanard to libcanardv0

Summary
Add libcanardv1 (Cyphal) library and example application
Renamed libcanard to libcanardv0 for v0/DroneCAN implementation
Impact
Renaming of libcanard
Testing
Tested on UCANS32K146 with SocketCAN and Cyphal

@PetervdPerk-NXP need fix style warning except "Mix Case".

@PetervdPerk-NXP need fix style warning except "Mix Case".

The other style fixes are for canardv0 which apparently were already there since I've only renamed the file.

@PetervdPerk-NXP could you provide a patch to rename all LIBCANARD to LIBCANARD0 in nuttx/boards/?


Update chainlist

[x] https://github.com/Koniverse/SubWallet-ChainList/issues/245
[x] https://github.com/Koniverse/SubWallet-ChainList/issues/244

Version test :

http://<IP_ADDRESS>:8900/s/btNXcfGC66KjcQt
(Firefox): http://<IP_ADDRESS>:8900/s/68cFsCCMJS2krL8

Validation passed in case

Install/Update version
https://github.com/Koniverse/SubWallet-ChainList/issues/245

https://github.com/Koniverse/SubWallet-ChainList/issues/244


Add quota management to modelserve

Quotas is in beta now for Cloud Endpoints: https://cloud.google.com/endpoints/docs/openapi/quotas-overview
We should considering adding it to modelserve.

https://github.com/GoogleCloudPlatform/ml-on-gcp/pull/10


docs(logger): document enriching logs with logrecord attributes

Issue number: #1267
Summary
Document how users of the Logger can further enrich logs
Changes
Add additional FAQ question/answer.
User experience
n/a
Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] Meet tenets criteria
[x] I have performed a self-review of my this change
[ ] Changes are tested
[x] Changes are documented
[x] PR title follows conventional commit semantics

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

View rendered docs/core/logger.md

Did you want me to fix this as well in this PR?
https://github.com/awslabs/aws-lambda-powertools-python/blob/94de4945b676173d1eacb87d57e9e65adb0aab2c/examples/logger/src/cloning_logger_config.py#L8
(change to logging.getLogger())
I went with powertools because adjacent section used that:
https://github.com/awslabs/aws-lambda-powertools-python/blob/7505fcb0c38a9b74561606c72ad5352e6cd33e65/docs/core/logger.md#L597
Want me to fix that too here? 🙂

Ah, and one more thing, would you like a commit with changing **Headings like this** to #### Headings like this (so we can link to the FAQ questions)?

Yes to all of them!!!! Thank you

FAQ now has headers and links. 🙂


Add related profiles in user info

Hi,
Thanks for the great repo! I have been using lamadava saas since yesterday.
In the a1/user api we get all fields that we get from instagram logs except edge_related_profiles which gives the list of all profiles related to the given one. Can we please add this key in the a1/user response ? Also do let me know if its already available in other api.

Thanks for using Lamadava!
For /a1 requests, we do not change the response from instagram server, we answer AS IS, and if instagram sends edge_related_profiles in response, then we return it

Hi.
I understand. But if try following api from instagram
https://www.instagram.com/api/v1/users/web_profile_info/?username=google
you will get edge_realted_profile as the last field in the json response. The /a1/user response is exactly same as this except the last field.
Following is another api that can be used for similar profiles. But I don't know how to feed to feed username as parameter here.
https://www.instagram.com/api/v1/lox/account_recommendations/?num_accounts=100
I don't think this would be difficult to achieve. Might stick to Lambdava long if you could bring this.

@patilaum I added web_profile_info to https://api.lamadava.com/docs

Hey @adw0rd Super Thank you for adding this so quickly.
However it solve the problem. The response is same as that of a1/user/. Even I am confused as to why this is happening.
I am guessing this field requires login or something.
But if you open any page of instagram (even in incognito) and go to Networks tab, the above API does contain edge_related_profiles as shown in below ss.

Moreover, if you try out this repo
https://github.com/instaloader/instaloader
and try out following code
import instaloader
username = "google"
prof = instaloader.Profile.from_username(L.context, username)
met = prof._metadata()

the output met will contain edge_related_profile as the last field. They also have a separate API for similar accounts. Following is the code for similar accounts I found in their source code.
def get_similar_accounts(self) -> Iterator['Profile']:
        """
        Retrieve list of suggested / similar accounts for this profile.
        To use this, one needs to be logged in.
        .. versionadded:: 4.4
        """
        if not self._context.is_logged_in:
            raise LoginRequiredException("--login required to get a profile's similar accounts.")
        self._obtain_metadata()
        yield from (Profile(self._context, edge["node"]) for edge in
                    self._context.graphql_query("ad99dd9d3646cc3c0dda65debcd266a7",
                                                {"user_id": str(self.userid), "include_chaining": True},
                                                "https://www.instagram.com/{0}/"
                                                .format(self.username))["data"]["user"]["edge_chaining"]["edges"])

All I know is that this API isn't that hard to implement if you have already added so many APIs in this amazing repo. Can you please look into this? Also thanks again for quick response.

@patilaum added this endpont

Hey @adw0rd
Thanks a lot man!! It works now.


Streams 2477 Add methods and state in subscription/subscriptionschema

Add CHANGE_REQUESTED state
Add SetDefaultValue in subscriptionschema and subscriptionschemapropertybuilder
Implement GetPropertyValues

@vivekschauhan As there was some conflicts with the main branch, we have done a rebase to synchronize the PR. Could you review again the modifications and approve please ? Thanks

@vivekschauhan As there was some conflicts with the main branch, we have done a rebase to synchronize the PR. Could you review again the modifications and approve please ? Thanks

@dominiquemongelli, approved the changes. Will let other team members review it and will merge once they are ok with the change.


fatal: Remote branch 2.4 not found in upstream origin

Hi,
Could not download 2.4 branch with the script.
with
sudo ./build_opencv.sh 2.4
fatal: Remote branch 2.4 not found in upstream origin
I have checked that the 2.4 branch exists.

The problem seems to be that opencv_contrib isn't available for that version. To fix it, please comment out the line:
git clone --branch "$1" https://github.com/opencv/opencv_contrib.git
in the git_source function.
I will change the script in the next version so that opencv_contrib will only be cloned if the version is >3.4  (but you are welcome to submit a pull request if you do it yourself :)


feat: Provide support for Azure AD Workload Identity

Signed-off-by: Vighnesh Shenoy<EMAIL_ADDRESS>
Provide a description of what has been changed
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)
[x] README is updated with new configuration values (if applicable)

Relates to https://github.com/kedacore/keda/issues/2487

@v-shenoy Can you update the PR description to point to the issue please?

@v-shenoy Can you update the PR description to point to the issue please?

Done (for the nit) & done.

Thank you!


ClrDump: should throw exception when adding a job if worker is down

to avoid some task waiting while clrdump is doisposed. It should not happen of course but this way it will be easier to detect bugs.


fix-testcase

https://github.com/Azure/sdk-release-request/issues/5066

/azp-run

/azp run

/check-enforcer override


tests, network: use /bin/bash directly

BinBash constants adds no abstraction over the /bin/bash string. Using it, however, forces vmi_lifecycle to depend on the catch-all package "tests".
NONE

Wdyt about dropping it all over and then to drop the const please

I'm all for it. I hope that @EdDev can approve this one first, and we can reach other components in follow up. I suspect @alvaroaleman would have a PR for storage.

/approve

I'm all for it. I hope that @EdDev can approve this one first, and we can reach other components in follow up. I suspect @alvaroaleman would have a PR for storage.

Sorry, did you confuse me with someone else? I am not active in this project.

I'm all for it. I hope that @EdDev can approve this one first, and we can reach other components in follow up. I suspect @alvaroaleman would have a PR for storage.

Sorry, did you confuse me with someone else? I am not active in this project.

My bad indeed. I meant to tag @alromeros .


Document that Press Key does not work with IE

Originally submitted to Google Code by @yanne on 15 Feb 2010

See test/acceptance/keywords/textfields.txt for failing example

Originally submitted to Google Code by Andreas.EbbertKarroum on 23 Apr 2010

Seems like the key press command in selenium
(http://release.seleniumhq.org/selenium-remote-control/1.0-beta-2/doc/python/) is
generally flawed. => Won't Fix?
http://jira.openqa.org/browse/SRC-385

Originally submitted to Google Code by @pekkaklarck on 24 Apr 2010

Thanks for analysis Andreas. This problem should be documented somewhere
before closing this issue. How/where should we do that? FAQ? Special page
for problems?

Originally submitted to Google Code by Andreas.EbbertKarroum on 24 Apr 2010

I think documentation in the Press Key keyword should be enough. Having it there
ensures that you find it, when you use the keyword.

Originally submitted to Google Code by @pekkaklarck on 25 Apr 2010

Yeah, adding a note about this into the keyword doc is easiest and enough. Andreas,
do you want to take care of that?

Originally submitted to Google Code by Andreas.EbbertKarroum on 25 Apr 2010

This issue was updated by revision 24dd9b9478.
I updated the documentation, but don't know how to generate the docs to check if they look ok.

Originally submitted to Google Code by @pekkaklarck on 26 Apr 2010

See my comments to revision 24dd9b9478.

Originally submitted to Google Code by Andreas.EbbertKarroum on 2 May 2010

Documentation seems to be ok.
http://robotframework-seleniumlibrary.googlecode.com/hg/doc/SeleniumLibrary.html#Press%20Key

Originally submitted to Google Code by @yanne on 27 May 2010

Major improvements warrant a major version


Change Webpack config hooks

Setup all Webpack watching and call PL build  in after-emit and get rid of before-compile and after-comp ile hooks. This improves performance in my environment.

I have taken another approach, locally, which is more worthwhile. After continuing to use and maybe tweak locally, I will try another PR.


Not working on other OS

well, the issue is that i cant use it on gnome, (im using fedora 35) and after i downloaded the languages that i need and then press the "grab area" button it just reset the app, i tried changing some permissions but that didnt work.

@Radical4ever what os do you use?
Frog is not supported on the other OS as it stands from the description and is not distributed to the other OS. How did you install it?

From the flatpakref, since elementary moved to flatpak they have their own repo, and you can download the flatpak installer from the appcenter page.

From the flatpakref, since elementary moved to flatpak they have their own repo, and you can download the flatpak installer from the appcenter page.

Uses the io.Elementary.Platform to run Appcenter apps

Probably the way it fails is because of missed GNOME Screenshot tool, which is installed in every elementary OS installation and D-Bus interface of what is used to make a screenshot. I'll make some research but it requires a few days.
In any case, I'll add clarification messages to the app to let users know if something goes wrong. Thank you!

Probably the way it fails is because of missed GNOME Screenshot tool, which is installed in every elementary OS installation and D-Bus interface of what is used to make a screenshot. I'll make some research but it requires a few days. In any case, I'll add clarification messages to the app to let users know if something goes wrong. Thank you!

You're welcome!!. i hope you find a solution or a how to. im going to see if i can solve it too and i post it here!

I was having the same problem, and launched the app using terminal. The following errors were that I got
Gtk-Message: 10:29:59.157: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:29:59.157: Failed to load module "pk-gtk-module"
Cache downloaded codes, ['eng']
ERROR: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: SelectArea is not allowed (9)

The last ERROR: g-dbus-error-quark: GD.... occurs when I click the grab area button.
Also using Fedora 35

Don't know if this is useful, but found an issue saying that this probably is due to Gnome 41 and aparently is fixed in the maix Gnome source.
https://githubmemory.com/repo/SeaDve/Kooha/issues/109

@marcelovbcfilho seems to be true. I'll add a more meaningful error messages but probably can't fix this issue.

Could this be related to wayland?

Could this be related to wayland?

Nop, i tried using it on wayland and happens the same thing.

Please check via the latest commit, it contains some logs and notifications to describe its condition. Maybe it will give you an understanding of what's going on.

Soon I'll release new version to Flathub. It won't require access to the home folder and also use libportal to take screenshots. Hope it helps.

Closed due to inactivity.


Fix info extension for maybe macro

Fixes info extension for maybe macro, it introduces nullable flag to represent whether a key is nullable or not.
    schema = Dry::Schema.JSON do
      required(:email).filled(:string)
      optional(:age).maybe(:integer)
    end

BEFORE
irb(main):030> schema.info
/usr/local/bundle/ruby/3.2.0/gems/dry-schema-1.13.3/lib/dry/schema/extensions/info/schema_compiler.rb:46:in `public_send': undefined method `visit_not' for #<Dry::Schema::Info::SchemaCompiler:0x00007fc01e0ce780 @keys={:email=>{:required=>true, :type=>"string"}, :age=>{:required=>false}}> (NoMethodError)

          public_send(:"visit_#{meth}", rest, opts)
          ^^^^^^^^^^^
Did you mean?  visit_and
               visit_set
               visit_key

AFTER
irb(main):156> schema.info
=> {:keys=>{:email=>{:required=>true, :nullable=>false, :type=>"string"}, :age=>{:required=>false, :nullable=>true, :type=>"integer"}}}

@solnic could you let me know if my changes make sense? it seems you implemented this class and it would be nice to understand if my changes are aligned with your initial idea, thanks 💯

@solnic Let me know if I need to apply any changes here, I'm not sure if what I did is aligned with your initial approach.


Versioning

Currently a non-trivial amount of projects use magnolia 0.17 (https://mvnrepository.com/artifact/com.propensive/magnolia/usages). Releasing a binary-incompatible 1.0 with the same package name, could lead to unnecessary problems in the ecosystem.
That's why what I'd propose is:

use the package name magnolia1 for magnolia 1.0 (not ideal, but since magnolia is taken, we can't do much here). This will allow us to freely rename the methods as proposed in #247, aligning both magnolia flavors (for scala2 and scala3). So to use magnolia you'd have to do import magnolia1.*
release both magnolia for scala2 and scala3 using version 1.0. This will give us the opportunity to evolve both independently, and release binary-incompatible versions in the future.
use the group id com.softwaremill.magnolia1_2 for magnolia-scala2, and com.softwaremill.magnolia1_3 for magnolia-scala3. This is inspired by the suffixes which are added to all scala artifacts anyway, but here we need to use them in group ids as well, not only in versions (magnolia-scala2 is still a completely different codebase than magnolia-scala3)
while we're at it, rename the main branch to scala3 (and keep it default), and the legacy branch to scala2 (there's nothing legacy about the scala2 version)

What do you think?

Huge plus one 👍
We need more bold decisions like this in the ecosystem.

👍 in general - although I don' understand this part (not sure why it matters):

use the group id com.softwaremill.magnolia1_2 for magnolia-scala2, and com.softwaremill.magnolia1_3 for magnolia-scala3. This is inspired by the suffixes which are added to all scala artifacts anyway, but here we need to use them in group ids as well, not only in versions (magnolia-scala2 is still a completely different codebase than magnolia-scala3)

:+1: . Lets keep differences explicit and don't get trapped by JVM dependencies resolution.

👍 in general - although I don' understand this part (not sure why it matters):

The scala2 & scala3 flavors need to have different coordinates in maven. So we'd have:
"com.softwaremill.magnolia1_2" % "magnolia" %% "1.0.0" // scala2
"com.softwaremill.magnolia1_3" % "magnolia" %% "1.0.0" // scala3

Most of the changes are done - I'll publish new snapshots tomorrow, given nobody notices any problems :)

I mean milestones, not snapshots :)

All done, 1.0.0-M3 for scala3, and 1.0.0-M5 for scala2 released, using the new group ids.

You've probably already considered this, but a consequence of this change has been bugging me, and I just wanted to get it down in words, and try to document what was bothering me:
Scala 3 artifacts can be used in Scala 2 projects (CrossVersion.for2_13Use3), and Scala 2 artifacts can be used in Scala 3 (CrossVersion.for3Use2_13) projects - although library maintainers aren't encouraged to make use of this, it is supposed to be an ok approach for end-user projects (eg a webapp might consume libraries from both Scala 2 & Scala 3).
If an end-user project uses two libraries that depend on Magnolia (eg tapir, Scanamo, etc), one built for Scala 2.x (depending on "com.softwaremill.magnolia1_2" %% "magnolia"), and the other built for Scala 3 (depending on "com.softwaremill.magnolia1_3" %% "magnolia") there will be a clash in the magnolia1 package namespace (different and incompatible classes with the same fully qualified name, like magnolia1.SealedTrait). I'm not sure what the severity of this might be - I guess it would lead to a (possibly quite confusing) compile-time IncompatibleClassChangeError?
In general, I think artifacts that have different group+artifact coordinates (modulo, in the case of Scala development, the scala-version portion of the artifact name) ideally shouldn't contain classes with identical package names, as there's always this risk of a namespace clash.
One possible way to get round this might be different package namespaces for the Scala 2 & Scala 3 versions of magnolia - eg magnolia1_2 & magnolia1_3 - matching what's happened to the group id. That would be quite similar to, eg, the approach taken by OkHttp going from version 2 to 3.

Scala 3 artifacts can be used in Scala 2 projects (CrossVersion.for2_13Use3), and Scala 2 artifacts can be used in Scala 3 (CrossVersion.for3Use2_13) projects

I don't think this works for macros

@rtyley that's a good point, though say you have a Scala 3 project and you decide to use a Scala 2-based library. Any usage of Magnolia within that library will fail, as the macro just won't work. And I think usages of Magnolia within libraries are to expose typeclass generation for end-user types, not to use them internally. So I think in the end, you have to use the library version dedicated to your Scala version.
If I understand correctly what @dwijnand is quoting, you could package two macros in a single jar and have the compiler decide which one to use. That won't work here as well, as we have different (even if only slightly) definitions of SealedTrait and CaseClass (among others), so these two aren't equivalent. And this will diverge, as we add support for more scala3-specific types.


Update readme to assist local development

Update CRI stub readme with missing environment variables and IntelliJ configuration
Proposed changes
What changed
CRI Stub Readme
Why did it change
Missing / out of date information to setup locally
Issue tracking
Related to work in https://govukverify.atlassian.net/browse/PYIC-2490
Checklists
Environment variables or secrets

[x] No environment variables or secrets were added or changed

Other considerations

[x] Update README with any new instructions or tasks

We usually just title the PR "BAU ..." so it's either BAU or a ticket number


Bug : Fix the footer

I want to fix this footer. Please assign this issue to me.
@khushi-joshi-05 @sunny0625

@khushi-joshi-05 @sunny0625 Please assign this issue to me. This needs to be resolved as soon as possible for better user experience.


Intellisense code auto-complete appears to be case-sensitive

I noticed that when I start typing a property name with incorrect casing (backgr... instead of Backgr...), the Intellisense does not give appropriate suggestions.

It doesn't seem to be case-sensitive for me:


[BUG] Attempt to generate WinUI event,  project compiles but events file not generated

Describe the bug
I am trying to generate events for a WinUI/UWP project. The UWP library project with reference to Pharmacist.MsBuild builds but fails to generate events file
Steps To Reproduce

Open visual studio 2019
Create a UWP C# library project
Add reference to WinUI 2.4 pre-release
Add nuget reference to Pharmacist.MsBuild
Change target to 1903 and min target to 1803
Build the project

repo project is here
Expected behavior
Events class/file should have been generated
Screenshots
The solution doesn't show the Pharmacist.MsBuild reference for some reason

Environment

OS:       Windows 1803
Visual Studio 2019 16.4

Thanks, will take a look tomorrow for you.

In my setup, the events file is generated, but events for many essential packages and namespaces such as Windows.UI.Xaml.Controls.* aren't being generated.

It's it possible to share a minimal reproducible repo. Just want to check
how my repo is different from yours, and probably make some changes at my
end.
On Tue, 7 Jan 2020, 22:40 Shimmy<EMAIL_ADDRESS>wrote:

In my setup, the events file is generated, but events for many essential
packages and namespaces such as Windows.UI.Xaml.Controls.* aren't being
generated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactiveui/Pharmacist/issues/101?email_source=notifications&email_token=ACBJD5VLFEBLN6XRYUT7ZLLQ4RS2DA5CNFSM4KCU3UFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIITC3A#issuecomment-571552108,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBJD5RTCC6556HGRPGT4R3Q4RS2DANCNFSM4KCU3UFA
.

@weitzhandler can you open another issue since it's unrelated to this issue. Also make sure you include all NuGet packages you need to generate. Eg any core packages of Uno etc

Np, deleted my posts.

@glennawatson, Obviously you are busy with many other things, I am wondering if I can figure out what is wrong. I am not sure how to debug this, any pointers would be appreciated.

Your sample app has issues btw.
You need to copy paste exactly how it is in the readme file on the main page the inclusions for pharmacist. Not sure if that will resolve your issue but worth fixing.
The big one is there isn't the private asset so all your sub projects will be generating pharmacist events.

@glennawatson  The app was created sometime back when just including these PackageReference were giving compilation error. I created another app (blank app template in visual studio 2019) and hand coded these two reference in the csproj. However, when I compile, I see visual studio reporting build successfully, but the visual studio hangs.

The big one is there isn't the private asset so all your sub projects will be generating pharmacist events.
With this new blank app, I was hoping it would generate the events for UWP. Could you please explain your comment above. When you say  sub projects what do you mean? Do you mean all the included  PackageReferences?

The hanging bug I'm aware of and fixing at the moment. Should be another release in a day or so.

Sorry for the delay
Try https://www.nuget.org/packages/ReactiveMarbles.ObservableEvents.SourceGenerator/ and https://github.com/reactivemarbles/ObservableEventsSourceGenerator
This uses a different way of generating the files.


do not update eth_sendRawTransaction's nonces if its invalid

hmm yeah. But logically they are separate functionalities, so I feel its easier to audit them like this


xSQLServer resources can't compile in Azure Automation

I have a serious problem for Azure users using the xSQLServer module. Reported in issue https://github.com/PowerShell/xSQLServer/issues/716 and in issue https://github.com/PowerShell/xSQLServer/issues/705.
I have narrowed it down to that resources can't compile because of too long file paths. This seem to have started in version <IP_ADDRESS>.
@kwirkykat Do you know, or do you know someone that know, what the hard limits are for the paths?
Can't find anything in Azure subscription and service limits, quotas, and constraints
I want to create at common tests for this, so would be good that the hard limit is known, so if it changes we can change the test. But I will start with he knowledge I have so far (se below.)
To solve issue https://github.com/PowerShell/xSQLServer/issues/716 the relative path can't be longer than 120 characters, i.e 'Examples\Resources\xSQLServerAvailabilityGroupListener\5-AddAvailabilityGroupListenerUsingDHCWithDefaultServerSubnet.ps1' works. If I add back the 'P' in 'DHCP' so the file gets 121 characters long, the compilation fails.
Test configuration used:
Configuration SimpleSqlLogin
{
    Import-DSCResource -Name xSQLServerLogin

    Node localhost
    {
        xSQLServerLogin Add_WindowsUser

        {
            Ensure               = 'Present'
            Name                 = 'CONTOSO\WindowsUser'
            LoginType            = 'WindowsUser'
            SQLServer            = 'SQLServer'
            SQLInstanceName      = 'DSC'
        }
    }
}

Exception in AzureAutomation
Exception calling "NewScriptBlock" with "1" argument(s): "At line:4 char:5
+ Import-DSCResource -Name xSQLServerLogin
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unable to load resource 'xSQLServerLogin': Resource not found. At line:8 char:9 + xSQLServerLogin Add_WindowsUser
+ ~~~~~~~~~~~~~~~ Undefined DSC resource 'xSQLServerLogin'. Use Import-DSCResource to import the resource." (At line:4 char:5 + Import-DSCResource -Name xSQLServerLogin
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unable to load resource 'xSQLServerLogin': Resource not found. At line:8 char:9 + xSQLServerLogin Add_WindowsUser
+ ~~~~~~~~~~~~~~~ Undefined DSC resource 'xSQLServerLogin'. Use Import-DSCResource to import the resource.)

Heard from @kwirkykat that Azure Automation Team is working on the long path issue. Let's await that before making any tests or changing the xSQLServer module. There probably is gonna be a hard limit, but hopefully it will be much higher.

@kwirkykat @zjalexander Is there anything new around this, could you reach out to your contact again and ask for an update? Or should we just wait?
I just tested and the same problem is still there. I'm looking for if this will be possible for them to resolve, and if so, what the hard limit will be.
Last status update when @kwirkykat reached out:

We have a bug tracking the long path issue. It’s currently assigned to Sourabh’s team. (Sourabh is out till 9/3). As for workaround right now, customer can compile the configuration locally first and import the Mof directly into AA either from portal or PowerShell. The xSQL resource can still be imported into AA module asset so it should be available for pulling."
https://github.com/PowerShell/xSQLServer/issues/771#issuecomment-323167873

I am having the same issue here. I am using
import-dscresource -Name xSQLServer
I have also tried
import-dscresource -ModuleName xSQLServer
I get the same error as OP every time. Using the 12GB memory example to attempt to compile it.
`Exception calling "NewScriptBlock" with "1" argument(s): "At line:13 char:1

import-dscresource -Name xSQLServer

At line:17 char:9

Service Gateway

At line:25 char:9

xSQLServerMemory Set_SQLServerMaxMemory_To12GB

import-dscresource -Name xSQLServer

At line:17 char:9

Service Gateway

At line:25 char:9

xSQLServerMemory Set_SQLServerMaxMemory_To12GB

This is resolved when the SqlServerDsc (previously xSQLServer) resource module was released to the PowerShell Gallery.
Closing this issue.


msal browser sample VanillaJSTestApp2.0 fails with ADFS

Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
current
Wrapper Library
Not Applicable
Wrapper Library Version
N/A
Public or Confidential Client?
Public
Description
Followed setup instructions included with the sample, configured authority as per docs.
authority: "https://fs.corpdomain.com/adfs/",
Edge browser shows:

MS Identity Platform ... Sign In
Vanilla JavaScript SPA calling MS Graph API with MSAL.JS

When the user clicks "Sign In" and either the Popup or Redirect options, their is neither a sign-in option nor does the sample progress with an automatic Windows login.
Fiddler shows this GET:
GET https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://fs.corpdomain.com/adfs/oauth2/v2.0/authorize HTTP/1.1
Error Message
Fiddler shows this response:
{"error":"invalid_instance","error_description":"AADSTS50049: Unknown or invalid instance. Trace ID: 95de1718-11c2-4bba-933c-714460e66302 Correlation ID: 2dfbf8cf-3419-48e9-9400-a32c7cd4a19b Timestamp: 2024-05-16 17:00:20Z","error_codes":[50049],"timestamp":"2024-05-16 17:00:20Z","trace_id":"95de1718-11c2-4bba-933c-714460e66302","correlation_id":"2dfbf8cf-3419-48e9-9400-a32c7cd4a19b","error_uri":"https://login.microsoftonline.com/error?code=50049"}
MSAL Logs
Not applicable.
Network Trace (Preferrably Fiddler)

[X] Sent
[ ] Pending

MSAL Configuration
// Config object to be passed to Msal on creation
const msalConfig = {
    auth: {
        //clientId: "b5c2e510-4a17-4feb-b219-e55aa5b74144",
        clientId: "e5e38fe1-a478-479e-9d77-5e47626e2af2",
        authority: "https://fs.corpdomain.com/adfs/",
            //"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47",

    },
    cache: {
        cacheLocation: "sessionStorage", // This configures where your cache will be stored
        storeAuthStateInCookie: false, // Set this to "true" if you are having issues on IE11 or Edge
    },
    system: {
        loggerOptions: {
            logLevel: msal.LogLevel.Trace,
            loggerCallback: (level, message, containsPii) => {
                if (containsPii) {
                    return;
                }
                switch (level) {
                    case msal.LogLevel.Error:
                        console.error(message);
                        return;
                    case msal.LogLevel.Info:
                        console.info(message);
                        return;
                    case msal.LogLevel.Verbose:
                        console.debug(message);
                        return;
                    case msal.LogLevel.Warning:
                        console.warn(message);
                        return;
                    default:
                        console.log(message);
                        return;
                }
            },
        },
    },
    telemetry: {
        application: {
            appName: "MSAL Browser V2 Default Sample",
            appVersion: "1.0.0",
        },
    },
};

// Add here scopes for id token to be used at MS Identity Platform endpoints.
const loginRequest = {
    scopes: ["User.Read"],
};

// Add here the endpoints for MS Graph API services you would like to use.
const graphConfig = {
    graphMeEndpoint: "https://graph.microsoft.com/v1.0/me",
    graphMailEndpoint: "https://graph.microsoft.com/v1.0/me/messages",
};

// Add here scopes for access token to be used at MS Graph API endpoints.
const tokenRequest = {
    scopes: ["Mail.Read"],
    forceRefresh: false, // Set this to "true" to skip a cached token and go to the server to get a new token
};

const silentRequest = {
    scopes: ["openid", "profile", "User.Read", "Mail.Read"],
};

const logoutRequest = {};

Relevant Code Snippets
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-browser-samples/VanillaJSTestApp2.0

Reproduction Steps

Edit all authconfig.js files to point to ADFS authority and valid Client ID configured there in an application group.
Build as per instructions.
npm start
browse http://localhost:30662/

Expected Behavior
When sign-in is selected either:

An automatic login should occur based on the current Windows and the sample should progress.
A manual login should be accepted.

Identity Provider
ADFS
Browsers Affected (Select all that apply)
Edge
Regression
N/A
Source
External (Customer)

Hi @billvolt. Please add auth.knowAuthorities to MSAL config to make cloud discovery resolution work properly for ADFS scenario. Please refer here for more details.

Hi @billvolt. Please add auth.knowAuthorities to MSAL config to make cloud discovery resolution work properly for ADFS scenario. Please refer here for more details.

This worked.  Thank you.


Extending rules (adding SassResourcesLoader)

Laravel Mix Version: 1.0.7

For an easy way to use sass-variables in a vue-component you can use the SassResourcesLoader.
Currently you have to replace the complete rule (it does not merge) and manually add all of the loaders to add a new loader other than the ones already present in laravel mix.
mix.webpackConfig({
    module: {
        rules: [
            {
                test: /\.vue$/,
                loader: 'vue-loader',
                exclude: /bower_components/,
                options: {
                    loaders: {
                        js: {
                            loader: 'babel-loader',
                            options: {
                                cacheDirectory: true,
                                presets: [
                                    ['env', {
                                        'modules': false,
                                        'targets': {
                                            'browsers': ['> 2%'],
                                            uglify: true
                                        }
                                    }]
                                ]
                            }
                        },
                        scss: [
                            'vue-style-loader',
                            'css-loader',
                            'sass-loader',
                            sassResourceLoader
                        ],
                        sass: [
                            'vue-style-loader',
                            'css-loader',
                            'sass-loader?indentedSyntax',
                            sassResourceLoader
                        ],
                    },
                }
            }
        ]
    }
});

This can be some trouble because you have to manually change everything if laravel mix should change something and you have to see that all of them match up if you want the same behaviour. You also can not use the ExtractTextPlugin because you do not have access to the instance that is running in webpack-rules.js in laravel mix.
Is there an easier way to do this (plugin?), maybe I am missing something? Otherwise I propose a way to extend rules by adding new loaders.

I don't think there's an easy way to change it at the moment. We can add a config option if many people need it, but right now you're stuck with the defaults.


feat({ Tactic + test }/MoveAdd): make And/Or left-associative

In this Zulip discussion it was pointed out that move_oper always assumes right-associativity also for And/Or.
This PR makes move_oper left-associative on And/Or.
Affected files:
Tactic/MoveAdd
test/MoveAdd

Thanks, and sorry for the delay!
bors merge


Editing existing monitor does not work

Hey @jpavlav, thanks for UptimeRobotPy. It has been of great use for me. Unfortunately editing existing monitors does not seem to work or I'm doing something wrong. Steps to reproduce:

create a monitor (new_monitor) with an interval of e.g. 600
update this monitor (up_robot.edit_monitor(identifier, interval=1200)) with an interval of e.g. 1200
query the monitor (get_all_monitors)
the interval of the monitor is still at 600

This seems to apply to all parameters except friendly_name which works correctly.
Tried to change the interval using a cURL request which worked well so it's probably not an upstream issue. Let me know if you need more info.

Hey @brennerm,
Glad it's been useful for you! I'll see if I can suss out what's going on and get back to you.

Hello again @brennerm,
So, I believe I figured out the issue:
In [2]: from uptimerobotpy import UptimeRobot

In [3]: up_robot = UptimeRobot(api_key=UPTIME_ROBOT_API_KEY)

In [4]: monitor = up_robot.get_monitors()['monitors'][0]

In [5]: monitor.get('interval')
Out[5]: 1200

In [6]: edit_resp1 = up_robot.edit_monitor(monitor['id'], interval=600)

In [7]: monitor = up_robot.get_monitors()['monitors'][0]

In [8]: monitor.get('interval')
Out[8]: 1200

In [9]: interval = "600"

In [10]: type(interval)
Out[10]: str

In [11]: edit_resp2 = up_robot.edit_monitor(monitor['id'], interval=interval)

In [12]: monitor = up_robot.get_monitors()['monitors'][0]

In [13]: monitor.get('interval')
Out[13]: 600

Looks like it expects the value of that parameter to be a string. A little surprising to me, considering it is returned as an interval. Having said that, it's a little surprising to me that it's accepted at all as something other than a string, if a string is what is expected. In truth, looking at the documentation, it appears as though the API has it's wires crossed about what it wants a bit.
If you look at the examples, they seem to include what appear to be URL parameters as a payload to a POST request. This lib/client sends the data as a json payload but, perhaps, if all of the payloads were passed as parameters to requests, it would work regardless because, afaik, that would always be a string.
TLDR; looks like they expect a string as the value for the interval param. Could be that way for all of them 🤷 .

Seems to work. It's weird but definitely not an issue of UptimeRobotPy. Maybe it'd help others to mention this somewhere on the README.
Thanks!


sending locally generated html as email body, not attachment

is it currently possible to send locally generated html as email body or as an attachment
sorry, no discord nor matrix :/
thanks

It is not possible to send email attachment or email body, no. Sorry that this answer comes months too late.


Move away from tonic's TLS & Connection libraries

In order to get a bit lower and control the network flow, we need to remove tonic's TLS & connection apis/libraries and talk directly to hyper.
The big advantage of doing this is that we will then be able to not be required to talk over TLS channels and can talk over more complex channels, like file sockets. In this specific case, we want to have a custom HTTP upgrade, take the underlying IO socket, then reverse the client/server relationships for the scheduler/worker management. Doing so allows the worker to connect to a scheduler, but then have the worker be the service and the scheduler be the client according to GRPC, but still have all HTTP & TLS securities for the initial connection.

I'm a big fan of this. When I did the hyper 1.x migration I kept thinking that many of the existing tonic wrapping logic is likely obsolete.


Adding an instance with Superset for visualization

Should visualization become part of the default stack? Probably not if we think in separation of concerns, but it's pretty useful and possibly wanted by many people (me included).

This should be done only after there's a kind of columnar storage. And that will only happen after we have a suitable feature storage instead of Postgres.

Definitely does not belong here, even though it would be pretty awesome.

Changed my previous opinion of "definitely" to "perhaps". It's true that Superset is very general, but it's frequently use also as a monitoring tool for Airflow tasks.

Nope. It's really tempting, but it's out of scope indeed.


#2262 - Integrate PostTabCard mobile view in Profile Page

What does this pull request aim to achieve? 💯

Integrated tab card with Profile page (mobile view)
Refactor integration mode from fetching data each time a user clicks on a tab to only fetching when data is not loaded
Updating reducer and redux store to 2 views per [userId] "Requests", and "Offers" for the Profile page only
"Requests" and "Offers" each have 3 modes "active", "inactive", and "all"
If a user is self, they will be able to see "Requests" and "Offers" with "active" and "inactive" mode
If a user isn't self, they will see "Posts" view with "Requests" and "Offers" all" mode
_Please be concise and link any related issue(s): #2262

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

@Lina Dinh I just had a look at PR #2262, I haven't looked at the code yet. But these are my initial observation.
It applies to both desktop and mobile: If I create a new post, it is not visible until I refresh the page.
After you change from mobile to desktop, only 1 post is visible in desktop view.
Pagination also not working for desktop view after you change from mobile to desktop. As when we scroll down it should load more data as we scroll (if it has).
I was getting error 400. I don't have steps to reproduce. I will try more.
Note: I have tried all of these in #2243 None of these exist. I believe you implemented caching to avoid unnecessary backend calls.

@linadinh2602  New post created is not getting displayed in "Requests" and "Offers" with "active" mode.

I noticed the same things Aditi did, but no new bugs from me. Nice work, there is a lot pushed here. I do have a general question. It looks like a lot of the fetching got moved to the profile view. Is this getting moved in from another place. I think before it was in Aditi's component, so is it no longer in there and getting passed the fetched posts as props? I just want to make sure we are being as DRY as possible here. Maybe the post fetch should actually live in a controller somewhere and be usesed both for feed and profile even. I dunno, maybe thats a future feature?

I believe the profile page should be the parent component that handle fetching & logic, where our desktop & mobile view should be the consumer of that logic (presentational component). Feed is a different parent page and should have different logic. I think trying to reuse logic in Feed may not always be the right thing to do since Feed's purpose and Profile's purpose is different now. If I still use the same logic as Feed, I'll no longer be able to cache the data for example. In feed it doesn't matter since user doesn't have a way to click back and forth a lot, but with Tab view I think it matters a lot more since people may click back and forth.

@linadinh2602 here is my observation:

I am not signed in -> When I come to help board and click on a users name, It should display that users profile. But it is displaying a blank page. If I log in, it works as expected.
If I delete a post in desktop view it deletes a post from backend but is not updating UI. In mobile view it works as expected.

Looking good Lina! Quick question, when I land on the mobile view I see the three latest compact cards. Is it part of the design that I should be taken to the post when I click on one of those cards? Or do I have to go into the see all? Which as I am typing this, I'm realizing that I am not able to click on see all either, so maybe your click handlers got lost somewhere?

Looking good Lina! Quick question, when I land on the mobile view I see the three latest compact cards. Is it part of the design that I should be taken to the post when I click on one of those cards? Or do I have to go into the see all? Which as I am typing this, I'm realizing that I am not able to click on see all either, so maybe your click handlers got lost somewhere?

@clubkemp I don't think it was mentioned that when user clicks on the post in mobile view, it should open that post. For See All link, I still need to link it.

https://featureprofile-redesign.fightpandemics.xyz/profile/602d4fd57351b21700f0f858

We haven't linked see-all yet. Could you please elaborate what do you mean by see-all here.

@linadinh2602  i could view 4 post in the desktop  but in mobile i could view only 3 post . The 4th post is not displayed in the mobile view

@linadinh2602 i could view 4 post in the desktop but in mobile i could view only 3 post . The 4th post is not displayed in the mobile view

@hiran11 mobile view only display 3 posts. Desktop view will display all the posts for that tab.

@aditilamkhede ok so the 4 th post will be displayed when "see all" is connected . Got it


[TextInput] Entities not taken as value after interrupt back

Describe the bug
For TextInput, if you set allowInterruption =  true and set value with luis entity like @messages, after input an utterance with messages entity then interrunpt but not handled, you can see the messages entities are not taken for textinput. The whole utterances are taken to textinput instead
To Reproduce
Steps to reproduce the behavior:

Create a textinput```
:
{
"value": "Content",
"actions": [
{
"$type": "Microsoft.TextInput",
"$designer": {
"id": "022987",
"name": "Prompt for text"
},
"prompt": "What's the content?",
"unrecognizedPrompt": "Let's try again, what's the content?",
"invalidPrompt": "Invalid, what's the content?",
"maxTurnCount":<PHONE_NUMBER>,
"value": "@Message",
"property": "dialog.CreateCalendarEntry_Content",
"alwaysPrompt": true,
"allowInterruptions": "true",
"outputFormat": "none"
}
]
}

2. Input an utterance like "meeting content is I will be late today". Intent is "interruption", Entity is "messages: I will be late today".
3. The utterance will be interrupt up, but no dialog can handle this, so it fallback to text input
4. Text input takes "meeting content is I will be late today" as value

## Expected behavior
Text input takes "I will be late today" as value

## Screenshots
If applicable, add screenshots to help explain your problem.

## Additional context
Add any other context about the problem here.

[bug]

Cannot repro this. @DingmaomaoBJTU
Archive.zip

BugRepo.zip
Still can repro in latest SDK~

Expected:
The meeting content is hello.

@DingmaomaoBJTU the issue is that you are not handling the recognition within your child dialog that pulls out the entity locally and letting it bubble up to the parent recognizer. Once that happens the specific child dialogs recognizer results are over written by the parents recognizer.
You can pull out the required entities via this update to your child dialog - notice I'm handling the interruption intent locally.
{
    "$schema": "../../app.schema",
    "$kind": "Microsoft.AdaptiveDialog",
    "defaultResultProperty": "$name",
    "recognizer": {
      "$kind": "Microsoft.RegexRecognizer",
      "intents": [
        {
          "$kind": "Microsoft.IntentPattern",
          "intent": "Interruption",
          "pattern": "the meeting content is (?<MeetingContent>.*)"
        }
      ]
    },
    "triggers": [
      {
        "$kind": "Microsoft.OnBeginDialog",
        "actions": [
          {
            "$kind": "Microsoft.TextInput",
            "property": "$content",
            "prompt": "what is the meeting content?",
            "value": "@MeetingContent"
          },
          {
            "$kind": "Microsoft.SendActivity",
            "activity": "The meeting content is @{$content}."
          }
        ]
      },
      {
          "$kind": "Microsoft.OnIntent",
          "intent": "Interruption",
          "actions": [
              {
                  "$kind": "Microsoft.SendActivity",
                  "activity": "I have @{turn.recognized}"
              },
              {
                  "$kind": "Microsoft.SetProperty",
                  "property": "$content",
                  "value": "@MeetingContent"
              }
          ]
      }

    ]
  }


Draft: Fix double click to select full words

Leaving this as a draft because I want some opinions if this is a good approach or not. Heavily inspired by this comment from @Nerixyz, but adding an id to each element instead of the prev/next approach. Currently works on basic tests, haven't tested more advanced stuff (RTL text, CJK characters, etc)

Thanks for the feedback. I think I implemented everything you pointed out, and it seems to be working well. There might be some off by one errors because the messages are kinda scuffed on KDE Plasma

I tested this a bit more and everything seems to be working. Not sure if there is any point in documenting the tests as they would be just screenshots of random selections but let me know if I should. I'll remove the draft as it seems the final version will be something close to this.

Testing RTL selections - it's very scuffed. Luckily, it's already scuffed before this PR, which means I don't think it's a blocker.


Update RPC Provider Mainnet & Testnet

What :computer:
We added some good rpc endpoint in list
Why :hand:
People can try as many zkSYnc rpc endpoint with different provider and features

Thank you for your contribution!
We wanted to let you know that this repository will be archived shortly as we've moved our work to a new repository. If you would still like to contribute, please feel free to submit your changes to our new repo: https://github.com/matter-labs/zksync-docs.
We appreciate your understanding and hope to see your contributions in the new repo!


Inconsistency with Template Literal Types and Conditional Types

🔎 Search Terms
"Template Literal Types", "Conditional Types", "${number}"
🕗 Version & Regression Information
5.4.3
⏯ Playground Link
https://www.typescriptlang.org/play?#code/C4TwDgpgBAKhDOwA8MoQB7AgOwCbykQCcBLbAcwD4oBeWNTHfKAJQgGMB7I3FAGigBXbAGtsnAO7ZqAfijAig6AC4oAMwCGAG3gQAUHtCRYABgCMtWAmQADACQBvbIIC2AIwhEAvjcp6A9P5QwQB6MgZG0DAmAEyWcIhI9g5uJORkwD5+gcFQYRHgUSYAzPHWSY7EZORZAUGh4UA
💻 Code
type Test<T extends string> = T extends Record<T, unknown> ? true : false

type T01 = Test<`${number}`> // true

type T02 = Test<`${bigint}`> // false

type T03 = Test<`${string}`> // false

🙁 Actual behavior
inconsistent behavior
🙂 Expected behavior

Additional information about the issue
No response

I’m struggling to understand what you’re trying to demonstrate. Surely, in general, Test<T> should depend on T, so why would it be “inconsistent” for different inputs to lead to different outputs?
Why would one expect a template literal to be usable as a key to itself? When do you write str[str] and expect that to make sense? Strings have a numeric index signature but not a string index signature or a “bigint index signature” so things look reasonable to me.
I think you should strongly consider explaining the expected/actual behavior instead of assuming it’s obvious.


Add name of the type that was failed to borrow

This aids debugging a lot

Yea I just realized this can bloat the binary quite a bit—I can make that change.


Strange impact of ColumnWidth RowHeight on UsedRange

Describe the bug
When you apply AutoFitRowHeight / SetRowsHeight or AutoFitColumnWidth / SetColumnsWidth to the last row or last column of the UsedRange, the UsedRange expands one more row or col.
I tried following method to remove this effect, i.e. making UsedRange get correct number:

DeleteRangeData to all the extra rows / cols
ClearRangeContent to all the extra rows / cols
Delete all the extra rows / cols, and then append new rows / cols
SetRows or SetCols to small number, and then append new rows / cols

None of the above methods can remove the 1 extra row / col added by the autofit.
I thought I finally found one way to get the correct  UsedRange back is:

Copy data to a temp worksheet
Reset the original worksheet
Copy data back from the temp worksheet to the original worksheet

The above actually does not work, because reset also remove RowHeight / ColumnWidth.
To Reproduce
var sheet = grid.CurrentWorksheet;

sheet.Ranges["A1"].Data = "Test";
textBoxOutput.AppendText(sheet.UsedRange.ToAddress() + Environment.NewLine); // A1:A1

sheet.AutoFitColumnWidth(0);
//or sheet.SetColumnsWidth(0, 1, 100);
textBoxOutput.AppendText(sheet.UsedRange.ToAddress() + Environment.NewLine); // A1:B1

sheet.DeleteColumns(1, 10);
textBoxOutput.AppendText(sheet.UsedRange.ToAddress() + Environment.NewLine); // A1:B1

sheet.ClearRangeContent("B:B", CellElementFlag.All);
textBoxOutput.AppendText(sheet.UsedRange.ToAddress() + Environment.NewLine); // A1:B1

sheet.DeleteRangeData("B:B");
textBoxOutput.AppendText(sheet.UsedRange.ToAddress() + Environment.NewLine); // A1:B1

Edition
Which edition of ReoGrid do you using?

Windows Form

Environment (please complete the following information):

OS: [e.g. Windows 10]
Language of OS: English

I am trying to figure out why this happens.
I guess it may have something to do with maxColumnHeader.
See row 240 in Header.cs:
if (updateMaxColumnHeader && maxColumnHeader < applyEndCol - 1) maxColumnHeader = applyEndCol - 1;

Here applyEndCol = col + count, so it already has 1 extra.
maxColumnHeader = applyEndCol - 1 seems removed this 1 extra.
But maxRowHeader is given another 1 extra, because it was initially defined as -1:
public int MaxContentRow
		{
			get
			{
				//return Math.Min(this.rows.Count - 1,
				//	Math.Max(Math.Max(cells.MaxRow, Math.Max(hBorders.MaxRow, vBorders.MaxRow)),
				//	maxRowHeader + 1));

				return Math.Min(this.rows.Count - 1,

					Math.Max(Math.Max(cells.MaxRow, Math.Max(hBorders.MaxRow - 1, vBorders.MaxRow)),

					// init is -1, so return +1=0 when -1
					maxRowHeader + 1));
			}
		}

Tested. The above proposed changes fix the problem.


”Mica” is listed in the drop-down menu

Description:
"Mica" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Mica" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Mica, MUREȘ".


Add number of players supported badge

Summary
This work adds the number of supported players to the home screen so that users know right away whether they have the right number of players.
Changes
SupportedPlayerCountBadge.tsx - New badge with the supported player count.
GroupIcon.tsx - New icon for the new badge.
Home.tsx - Add new badge to the page.

 Add player count badge


Klarna checkout

Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Klarna Kustom Checkout (KCO) integration (upto authorization)
Klarna provides two payment methods:

Klarna Payments
Klarna Kustom Checkout

Any one of the methods can be used at a time and switching between Klarna Payments and Klarna Checkout is been done
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

This change is required because Klarna KCO provides some additional features (such as shipping address change callback), along with location differences than Klarna Payments.
Link to the issue: https://github.com/juspay/hyperswitch/issues/6521
How did you test it?

I tested it using postman by hitting the required endpoints. Curl to the postman setup:
curl --location 'http://localhost:8080/payments'
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--header 'api-key: dev_tMhVA6fMp8BFTmxi1BgtoeKC0SGTpwn4E7Lg3YOlo8E8Jr2niX2LWzyijupRGfOQ'
--data-raw '{
"amount": 5000,
"order_tax_amount": 0,
"currency": "USD",
"amount_to_capture": 5000,
"confirm": false,
"payment_experience":"invoke_sdk_client",
"profile_id": null,
"capture_method": "automatic",
"capture_on": "2022-09-10T10:11:12Z",
"authentication_type": "no_three_ds",
"setup_future_usage":"on_session",
"customer": {
"id": "customer123",
"name": "John Doe",
"email"<EMAIL_ADDRESS>"phone": "9999999999",
"phone_country_code": "+1"
},
"customer_id": "customer123",
"phone_country_code": "+1",
"routing": {
"type": "single",
"data": "stripe"
},
"description": "Its my first payment request",
"return_url": "https://google.com",
"payment_method": "pay_later",
"payment_method_type": "klarna_checkout",
"payment_method_data": {
"pay_later": {
"klarna_checkout":{}
},
"billing":null
},
"billing": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "California",
"zip": "94122",
"country": "US",
"first_name": "joseph",
"last_name": "Doe"
},
"phone": {
"number": "8056594427",
"country_code": "+91"
},
"email"<EMAIL_ADDRESS>},
"shipping": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "California",
"zip": "94122",
"country": "US",
"first_name": "joseph",
"last_name": "Doe"
},
"phone": {
"number": "8056594427",
"country_code": "+91"
},
"email"<EMAIL_ADDRESS>},
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"order_details": [
{
"product_name": "Red T-Shirt",
"quantity": 1,
"amount": 5000,
"account_name": "transaction_processing",
"total_tax_amount": 0,
"tax_rate": 0,
"total_amount": 5000
}
],
"metadata": {
"udf1": "value1",
"new_customer": "true",
"login_date": "2019-09-10T10:11:12Z"
},
"browser_info": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8",
"language": "nl-NL",
"color_depth": 24,
"screen_height": 723,
"screen_width": 1536,
"time_zone": 0,
"java_enabled": true,
"java_script_enabled": true,
"ip_address": "<IP_ADDRESS>"
},
"customer_acceptance": {
"acceptance_type": "offline",
"accepted_at": "1963-05-03T04:07:52.723Z",
"online": {
"ip_address": "<IP_ADDRESS>",
"user_agent": "amet irure esse"
}
},
"connector_metadata": {
"noon": {
"order_category": "pay"
}
},
"payment_link": false,
"payment_link_config": {
"theme": "",
"logo": "",
"seller_name": "",
"sdk_layout": "",
"display_sdk_only": false,
"enabled_saved_payment_method": false
},
"payment_type": "normal",
"request_incremental_authorization": false,
"merchant_order_reference_id": "test_ord",
}
'
Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[x ] I reviewed the submitted code
[ ] I added unit tests for my changes where possible

@Sweta-Kumari-Sharma Add a linked issue with this PR, also rename the PR title. You can take this PR as ref: https://github.com/juspay/hyperswitch/pull/6560

In your description, also add the response json for your cURL


Autolink should read until whitespace

Currently it reads until ' ': https://github.com/heyitsmeuralex/mrk/blob/05f4d98f8e707a8c85bf99c4ac42610ccf9b688f/mrk.js#L264-L265
Obviously any whitespace will stop a link. Autolink should probably read until any whitespace (or at least space, newline).

It'd be awesome if readUntil accepted regular expressions. That way, it would be easier to make extensions to mrk, and the fix for this issue would be replacing ' ' with /\s/. :)

👍


[WIP] NO-ISSUE: Update base python version to 3.11.0

/cc @rccrdpccl

/hold

What is the reason for this change?

.retest

/retest

closing this, if you still want to merge it please re-open it


Property delegate for component boolean flags in Ashley

The goal of this task is to add property delegates to ktx-ashley module to support checking for existence of specific components via entity properties. For example:
class Visible: Component
var Entity.isVisible: Boolean by tagFor<Visible>()

// Usage examples:
val engine = Engine()
val entity = Entity()
engine.addEntity(entity)

println(entity.isVisible) // false

// Adds a Visible component to entity:
entity.isVisible = true
println(entity.isVisible) // true

// Removes the Visible component from entity:
entity.isVisible = false
println(entity.isVisible) // false

Originally posted by @pylvain July 30, 2022, see #421

I've cleaned up the utility functions and the documentation. Thanks again for your contributions, @pylvain. The utilities should be available shortly via the snapshot release.


Added view menu refresh option - Should help Fixes #1174 :8ball:

@jeffdm PTAL
Signed-off-by: French Ben<EMAIL_ADDRESS>

Looking - sorry for the delay

LGTM.
A good temporary fix, although ideally the list would always be up to date. Any idea what's causing it to get out of sync? Is our events hook disconnecting?


Update in Readme.md

Hey @Sanskriti1102  I can see that your readme files require some serious updates to make it look more professional and follow standard guidlines for the repository.
Please assign it under gssoc ext and provide level 3 to the issue

Hii @rishyym0927 you can update the readme but it will be a level 1 issue

okay

@rishyym0927 You can can continue to work on it

Can you please assign it to me? I want to work on it.

Hi, could you assign this to me


fix docs event property value

Short description of what this resolves:
Changes proposed in this pull request:

Ionic Version: 1.x / 2.x / 3.x
Fixes: #

Thank you for the pull request! This looks like it is a duplicate of PR #12685.


When to release a new version?

At some point it is probably worth tagging a new release and putting up a new download file.

Good idea - I'll bump the version # and upload the latest code tomorrow.

It might be worth fixing the -creators method first, just to avoid putting crud into the initial Spotlight index. (Fixable afterwards, but...)
I'd suggest tagging the repo using "git tag  commit-hash" for each release, and then pushing that tag to github using something like "git push --tags origin ". It makes it easier to work out what went into a release later on :-)

I've put v1.4 of the qlgenerator in the download section (code as 030ecd7b4d7113721c6766a23aee1f6182dbae0e). The tags I've entered via git tag don't seem to be making their way to github (syncing with the GitHub.app) though, not sure what I'm missing…

Cool! WRT the tags you might have to use git from the command line. A normal "git push" doesn't push tags, and that might be what GitHub.app is doing.

Aha - a git push —tags did the job - wish I'd noticed this before overwriting all my local tags a while ago though.

Excellent. Might be worth asking for GitHub.app to do the right thing :-)


Fixes for Linux

With these, I can run all tests on Linux, with my NVidia drivers.
With Intel drivers, all tests work except the test_compute.py.
With Intel drivers the 3 disabled texture render tests actually work!!

With Intel drivers the 3 disabled texture render tests actually work!!

What :rofl:


Fix/49 fix some data in issue templates

Summary
Issue templates on repo have been changed according to ticket's description.
Details
Missing data and lacks precise info change in Bug Report, Environment Issue and Feature Request templates.
References
No external references needed.

Remove PR from backlog please.

Next time, remember that in Git Flow branching convention, there's no such branch type as "fix" - it's "hotfix". FYI for now, I will allow it this time.


TypeError: undefined is not an object (evaluating 'e._children.forEach')

Application is working as expected in debug mode but in release, app is crashed. Why can it happen? Any idea?
React Native version:

Steps To Reproduce

I updated react native version from 0.59.9 to 0.61.2
Application is working on debug mode but crash in release mode

Error from bugsnag:

Error from Xcode
<--
2019-10-08 12:08:01.529 [error][tid:com.facebook.react.JavaScript] TypeError: undefined is not an object (evaluating 'e._children.forEach')
This error is located at:
in y
in c
in RCTView
in n
in RCTView
in RCTView
in u
in TouchableOpacity
in h
in RCTView
in withTouchableScale(n)
in h
in RCTView
in RCTView
in RCTSafeAreaView
in SafeAreaView
in c
in n
in _
in t
in withNavigationFocus(t)
in withNavigation(withNavigationFocus(t))
in p
in RCTView
in u
in RCTView
in u
in n
in n
in E
in RCTView
in n
in RCTView
in u
in PanGestureHandler
in n
in L
in RCTView
in n
in t
in P
in v
in p
in RCTView
in RCTView
in l
in RCTView
in n
in RCTView
in u
in RCTView
in u
in PanGestureHandler
in n
in S
in P
in A
in RCTView
in h
in RCTView
in n
in _
in p
in withDeviceRegistration(p)
in _
in RCTView
in n
in f
in b
in n
in RCTView
in RCTView
in h
2019-10-08 12:08:01.548 [error][tid:com.facebook.react.JavaScript] TypeError: undefined is not an object (evaluating 'e._children.forEach')
This error is located at:
in A
in RCTView
in h
in RCTView
in n
in _
in p
in withDeviceRegistration(p)
in _
in RCTView
in n
in f
in b
in n
in RCTView
in RCTView
in h
2019-10-08 12:08:01.556 [error][tid:com.facebook.react.JavaScript] TypeError: undefined is not an object (evaluating 'e._children.forEach')
This error is located at:
INFO : BSG_KSCrashReport.c (1557): void bsg_kscrashreport_writeStandardReport(BSG_KSCrash_Context const, const char const): Writing crash report to /Users/michael/Library/Developer/CoreSimulator/Devices/D03AA692-4863-4625-BD1D-6DEEA07C3242/data/Containers/Data/Application/B42CF986-7D0E-439D-8B49-7EA817DE7028/Library/Caches/KSCrashReports/LINK Hotel/LINK Hotel-CrashReport-7E00B6D1-74B3-4B5D-97CD-88E896696691-e-u-TypeError.json
INFO : BSG_KSCrashReport.c (1557): void bsg_kscrashreport_writeStandardReport(BSG_KSCrash_Context const, const char const): Writing crash report to /Users/michael/Library/Developer/CoreSimulator/Devices/D03AA692-4863-4625-BD1D-6DEEA07C3242/data/Containers/Data/Application/B42CF986-7D0E-439D-8B49-7EA817DE7028/Library/Caches/KSCrashReports/LINK Hotel/LINK Hotel-CrashReport-A27194C1-044B-4664-91AD-CF8296BE26D6-e-u-TypeError.json
2019-10-08 12:08:01.772 [error][tid:com.facebook.react.JavaScript] TypeError: undefined is not an object (evaluating 'e._children.forEach')
This error is located at:
in A
in RCTView
in h
in RCTView
in n
in _
in p
in withDeviceRegistration(p)
in _
in RCTView
in n
in f
in b
in n
in RCTView
in RCTView
in h
2019-10-08 12:08:01.775 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'e._children.forEach')
This error is located at:
in A
in RCTView
in h
in RCTView
in n
in _
in p
in withDeviceRegistration(p)
in _
in RCTView
in n
in f
in b
in n
in RCTView
in RCTView
in h
2019-10-08 12:08:01.778621+0300 LINK Hotel*[39086:5423184] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'e._children.forEach')
This error is located at:
in A
in RCTView
in h
in RCTView
in n
in _
in p
in withDeviceRegistration(p)
in _
in RCTView
in n
in f
in b
in n
in RCTView
in RCTView
in h', reason: 'Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'e._children.forEach')
This error is located at:
in A
in RCTView
in h
in RCTView
..., stack:
gt@96:22301
forEach@:
gt@96:22309
Di@96:60682
Fl@96:76271
Fl@:
unstable_runWithPriority@171:3915
Dl@96:74539
Dl@:
Pl@96:65839
Pl@:
@96:25495
unstable_runWithPriority@171:3915
sn@96:25442
cn@96:25377
_e@96:88610
Ne@96:13582
Ue@96:13755
receiveTouches@96:14547
value@38:3685
@38:841
value@38:2939
value@38:813
value@:
'
*** First throw call stack:
(
0   CoreFoundation                      0x00000001142766fb _exceptionPreprocess + 331
1   libobjc.A.dylib                     0x000000011246dac5 objc_exception_throw + 48
2   LINK Hotel*                         0x000000010ddb6076 RCTFormatError + 0
3   LINK Hotel*                         0x000000010de2b961 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 508
4   CoreFoundation                      0x000000011427d4cc invoking + 140
5   CoreFoundation                      0x000000011427aa45 -[NSInvocation invoke] + 325
6   CoreFoundation                      0x000000011427ae96 -[NSInvocation invokeWithTarget:] + 54
7   LINK Hotel*                         0x000000010dde9e80 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 578
8   LINK Hotel*                         0x000000010ddec12e _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 246
9   LINK Hotel*                         0x000000010ddebeb6 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 78
10  libdispatch.dylib                   0x0000000116c6dd7f _dispatch_call_block_and_release + 12
11  libdispatch.dylib                   0x0000000116c6edb5 _dispatch_client_callout + 8
12  libdispatch.dylib                   0x0000000116c76225 _dispatch_lane_serial_drain + 778
13  libdispatch.dylib                   0x0000000116c76e9c _dispatch_lane_invoke + 425
14  libdispatch.dylib                   0x0000000116c80ea3 _dispatch_workloop_worker_thread + 733
15  libsystem_pthread.dylib             0x000000011704f611 _pthread_wqthread + 421
16  libsystem_pthread.dylib             0x000000011704f3fd start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
-->

also what I see for example project in release mode (for debug mode - all good)

I'm seeing a similar crash in release when upgrading from 59.4 -> 60.5
Based on the stack trace, it looks like it has to do with react-navigation

Seeing the same crash. Just after launching the splash screen in only release mode. Debug seems to do fine. Reproduced in simulator to find this same error.
Here is my log:
`2019-10-22 12:43:40.360 [error][tid:com.facebook.react.JavaScript] TypeError: undefined is not an object (evaluating 'e._children.forEach')
This error is located at:
in Connect(n)
in p
in p
in C
in P
in n
in Connect(n)
in RCTView
in l
in l
in RCTView
in RCTView
in h
This error is located at:
in P
in n
in Connect(n)
in RCTView
..., stack:
gt@94:22301
forEach@:
gt@94:22309
forEach@:
gt@94:22309
forEach@:
gt@94:22309
forEach@:
gt@94:22309
Di@94:60682
Fl@94:76271
Fl@:
unstable_runWithPriority@169:3915
Dl@94:74539
Dl@:
Pl@94:65839
Pl@:
@94:25495
unstable_runWithPriority@169:3915
sn@94:25442
cn@94:25377
kl@94:64831
enqueueSetState@94:31251
setState@61:2074
dispatch@452:1477
@416:741
syncData@1223:654
@1223:1035
y@112:661
callTimers@112:2718
value@24:3685
@24:841
value@24:2939
value@24:813
value@:
'
*** First throw call stack:
(
0   CoreFoundation                      0x000000010b7db6fb _exceptionPreprocess + 331
1   libobjc.A.dylib                     0x000000010bf3dac5 objc_exception_throw + 48
2   ProjectName                          0x0000000104011132 RCTFormatError + 0
3   ProjectName                          0x0000000104086e61 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 508
4   CoreFoundation                      0x000000010b7e24cc invoking + 140
5   CoreFoundation                      0x000000010b7dfa45 -[NSInvocation invoke] + 325
6   CoreFoundation                      0x000000010b7dfe96 -[NSInvocation invokeWithTarget:] + 54
7   ProjectName                          0x0000000104045350 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 578
8   ProjectName                          0x00000001040475fe _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 246
9   ProjectName                          0x0000000104047386 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 78
10  libdispatch.dylib                   0x000000010e67dd7f _dispatch_call_block_and_release + 12
11  libdispatch.dylib                   0x000000010e67edb5 _dispatch_client_callout + 8
12  libdispatch.dylib                   0x000000010e686225 _dispatch_lane_serial_drain + 778
13  libdispatch.dylib                   0x000000010e686e9c _dispatch_lane_invoke + 425
14  libdispatch.dylib                   0x000000010e690ea3 _dispatch_workloop_worker_thread + 733
15  libsystem_pthread.dylib             0x000000010ea66611 _pthread_wqthread + 421
16  libsystem_pthread.dylib             0x000000010ea663fd start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
`

Found that the Text component is making the problem. After removing it app works but no text components present. Can anyone help to solve this problem. Thank you. I will try on my end as well.

Found the problem.
Its react-native-text-gradient patch which meddled with the code.
After fixing it myself the above problem vanished. And it's now good to go.

@cybersgk great catch! Totally forgot this project was patching the renderer for react-native-gradient-text
updated patch snippet

@cybersgk  thanks a lot!


Add support for IBM Plex Mono font

PR is here →https://github.com/dawnlabs/carbon/pull/324
Expected Behavior
Want to be able to choose the IBM Plex Mono font as a default in the font selection dropdown
Actual Behavior
See above ⬆
Here is the dev image ⬇

Closing as this was added in #324


OPTIGA™ Trust M3 OpenSSL Engine usage issue

Hi,
I am trying to Random number generation Example using below command.
openssl rand -engine trustm_engine -base64 1024
and facing the below error.
`Invalid engine "trustm_engine"
201006A6FFFF0000:error:13000091:engine routines:dynamic_load:version incompatibility:../openssl-3.0.5/crypto/engine/eng_dyn.c:481:
201006A6FFFF0000:error:13000074:engine routines:ENGINE_by_id:no such engine:../openssl-3.0.5/crypto/engine/eng_list.c:430:id=trustm_engine
201006A6FFFF0000:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:../openssl-3.0.5/crypto/dso/dso_dlfcn.c:118:filename(libtrustm_engine.so): libtrustm_engine.so: cannot open shared object file: No such file or directory
201006A6FFFF0000:error:12800067:DSO support routines:DSO_load:could not load the shared library:../openssl-3.0.5/crypto/dso/dso_lib.c:152:
201006A6FFFF0000:error:13000084:engine routines:dynamic_load:dso not found:../openssl-3.0.5/crypto/engine/eng_dyn.c:442:
`
Could you please suggest what is the  issue?
openssl version : OpenSSL 3.0.5 5 Jul 2022 (Library: OpenSSL 3.0.5 5 Jul 2022)

@kishand-mecha  Hi, Currently,  trustm_engine only supports OpenSSL 1.1.1, and work is underway to provide support for OpenSSL 3.0. We will notify you once the release for OpenSSL 3.0 is available on our public GitHub.

@kishand-mecha Could you kindly advise the platform you are using? Are you also using RPI? Thanks a lot.

@ying-css
Thnaks for the quick reply.
I am using imx8mm.

Hi @kishand-mecha We just released Trust M provider for Openssl 3.x support. Please check out from provider_dev and test on your platform. Thanks.


[flutter_releases] Cocoon failing to add branches on GitHub branch create event

This is prevent rollers from being able to easily locate the results for their branches. It seems the cron job logic is working as expected.

yep this is weird. I created test cases with the exact json input as shown in the log, and the test passes. I tried many variation of test cases and they show up successfully in data base. Also checked log and there was no exception raised. everything seems to have worked except the entity was not added to database. Would be great if Casey could offer some idea on possible causes, thank you!

Yep, the json file shown in the appengine log looks legit. I copied the exact json and pass it to cocoon test and it works well. Not sure why it was not added to database.

I also created a test branch called 'test-branch-xilaizhang' on flutter/flutter, it showed up both in database and on dashboard. I could not reproduce the loss of data problem

What if a branch is pushed instead of being created through the UI
On Wed, May 18, 2022 at 11:28 AM Xilai Zhang @.***>
wrote:

I also created a test branch called 'test-branch-xilaizhang' on
flutter/flutter, it showed up both in database and on dashboard. I could
not reproduce the loss of data problem
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/103996#issuecomment-1130368047,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQMRTSNMEVQZAUIIGJMC6LVKUZE5ANCNFSM5WF2BX6Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

the two requests, processed after yesterday's fix was deployed, look good. I will check back when we have more data points

@itsjustkevin feel free to post your observations here if you see anything


App crashes on first project

Description
While following through the onboarding steps after a creating new project and the app crashes - "An unexpected error occurred" screen. Attempted a "Reload" and "Clear Storage" but no change. No further details.
System Spec

MacOS Sonoma 14.2 (23C64)
8GB RAM
256 SSD
MacBook Pro 2018

I believed we fixed this a few releases ago, let me know if you still see it!


Questions regarding third-party storage partitioning feature

Dear experts,
We are working on a web application inserted across different web app services using iframes.
The new local storage partitioning feature is a breaking change for our current architecture as our webapp instances were communicating through a shared state from different iframe in different parent domain.
We're urgently trying to implement our new solution (using web sockets), but we are concerned it would come by surprise and starts an outage so we'd like to know more about release plans.
As a temporary solution, we are disabling the experiment flag Experimental third-party storage partitioning for our users (Chrome profile managed by our company).

Questions:

Is there currently any better solution to disable the third-party storage partitioning?

Knowing the proposal document mentions a "fully available in Chrome Stable mid-year 2023" release, do you know what is the current deployment status? When will we lose the ability to disable this experiment?

After the release of this feature (out of the experiment phase), will it also introduce a feature switch (like the third-party cookie option?

Thanks!
Best regards,
Dylan

Hi @DylaDCO, thanks for the issue!

As a temporary solution, we are disabling the experiment flag Experimental third-party storage partitioning for our users (Chrome profile managed by our company).

We also have https://chromeenterprise.google/policies/#DefaultThirdPartyStoragePartitioningSetting (maybe you're using that!).

Is there currently any better solution to disable the third-party storage partitioning?

See above, for managed environments. We also have a deprecation trial available, but that's going to be more temporary than the policy above.

Knowing the proposal document mentions a "fully available in Chrome Stable mid-year 2023" release, do you know what is the current deployment status?

We have deployed this feature to 100% of stable users on 115 and above.

When will we lose the ability to disable this experiment?

There isn't an expiration date for the enterprise policy today, but I wouldn't count on it lasting forever. But we have no plans to remove it in the next year, and will give plenty of notice once we do have an expiration date in mind.
The deprecation trial will be valid until just before the Chrome 127 release.

After the release of this feature (out of the experiment phase), will it also introduce a feature switch (like the third-party cookie option?

We don't have any current plans to expose 3P partitioned storage in settings. Feel free to file a feature request via crbug.com/new though!

Thanks Mike for your detailed answer.
One last thing, we also discovered the ThirdPartyStoragePartitioningBlockedForOrigins setting and we'll use it for now.
Just to confirm, theoretically if our app www.app.com is injected in several services www.service-a.com, www.service-b.com, www.service-c.com. We must set these 3 domains in the ThirdPartyStoragePartitioningBlockedForOrigins setting? Or only the inserted app domain www.app.com?
Could you confirm that the blocked origins are the parent iframe domains?

That's a great question. Let me tag @arichiv who will know with more confidence. :)

The list of urls in ThirdPartyStoragePartitioningBlockedForOrigins is checked against the top-level site only.
"Allows you to set a list of url patterns that specify top-level (the url in the tab's address bar) origins which block third-party storage partitioning (partitioning of cross-origin iframe storage)."
All three domains would need to be added.

The deprecation trial does have a mode for matching against a third-party frame URL instead of just the top-frame URL. https://developer.chrome.com/blog/storage-partitioning-deprecation-trial/

Thanks for the added details on the ThirdPartyStoragePartitioningBlockedForOrigins setting.
We're still having issues to propagate the setting to all our users. So, I am investigating the usage of the deprecation trial.
Our goal is to make our app www.my-app.com share the same local storage whenever the app is in a iframe under www.service-a.com, or www.service-b.com or simply browsed directly without iframe.
So I created a deprecation trial token targeting www.my-app.com and checked the 3rd party toggle.

The chrome inspector is telling me the origin is wrong, although the value is identical. Is the 3rd party origin also supposed to mentioned somehow?
When trying a token without the 3rd party toggle, the token is recognised (and the trial enabled) but the local storages are partitioned, which is not helping our case.
I am new to the deprecation trial mechanism, Is there anything I am missing?

The policy only impacts enterprise users, the deprecation trial can impact all users.
The typical flow for the deprecation trial for third-party origins is to have whatever site wants to embed the iframe embed a script from that third-party origin. The script would inject the token and then embed the iframe itself.

We'll focus on deploying the policy setting then. Thanks everyone for all the valuable input 😃


How to remove website bar  ?

When i save https://www.talater.com/upup/  to home screen, why do i see web browser's bar ? PWA's are not supposed to show that, how can i hide it ?  and how can i use manifest to show icon and other stuff ?

Hi @jessicastorm1986
Controlling the way a progressive web app opens is done using a (https://w3c.github.io/manifest/)[web app manifest] file. You can use that file to set the visibility of the address bar ("display": "standalone"), define icons ("icons"), and more.
I cover this, and more, in the book Building Progressive Web Apps.

Alright thanks, i'll go through this, just 1 question -  what do i do for my IOS users if i am going with progressive web app ? i just cant ignore them and give android users offline experience and ignoring IOS users totally.

I think the best approach is to give each user the best experience her browser can support (aka progressive enhancement). Start with a fully featured app that works across all browsers, then add features on top to improve the experience for users in supported browsers.

Sorry but i am confused with your answer as-

offline experience is not supported in IOS
Neither i can send push notifications on IOS mobile :(

But i dont know what all can be done for my IOS users


Chore/release drafter

I've updated this PR and remove release-drafter because we will be using semantic-release package in near future which can automagically create github release from conventional commits.

Only pr-labelling stays because I think it is a cool feature :-)


[BUG] After updating to version 0.1.5, the error message "'type' object is not subscriptable" generally occurs when running "swanlab watch" in terminal.

🐛 Bug description [Please make everyone to understand it]
After updating to version 0.1.5,the following error occurs when running "swanlab watch" in terminal.

🚑 Any additional [like screenshots]

SwanLab Version:v 0.1.5

Platform:windows 10

The error TypeError: 'type' object is not subscriptable still occurs in Python 3.8.18


dvc-bench: rework our framework

Draft

introduced benchmark categories:

cli: should be able to run these with any dvc (rpm, deb, pypi, snap, etc) (could be used in dvc-test repo too)

commands: granular tests for individual commands. These should have a cached setup, so that we could use them during rapid development instead of our hand-written scripts. Every test could be run in a separate machine.
stories: multistage start-to-end benchmarks, useful for testing workflows (e.g. in documentation, see test_sharing inspired by sharing-data-and-models use-case. Every full story could be run in a separate machine.

api: for python api only.

methods: granular tests for individual methods (e.g. api.open/read). Same reasoning as in cli.commands
stories: same as cli.stories but for our api. E.g. imagine using our api with pandas or smth like that.

migrated to pytest-benchmark

using same familiar fixtures from dvc core repo

introduced creature comforts for developers:

using small dataset by default, could be configured with --size(e.g. tiny(20), small(2K), large(70K), etc). All datasets are based on the same list of files and only differ by  the number of files, to leverage deduplication and provide better performance.
datasets are pulled dynamically to improve performance and comfort
using local remote by default, could be configured with --remote(e.g. s3, azure, etc)
now anyone is able to just run pytest and get quick-ish results without having tribal knowledge
dataset and make_dataset fixtures for quick test setup

TODO:

[ ] cleanup dvc fixture copies
[ ] migrate leftover tests
[ ] pbar for dynamic pulling
[x] generate html with histograms generated html with CLI output, seems like it is enough for now and will not use much bandwith. Generated PR comments are a bit ugly, but fine for a POC.
[x] adjust gha to use this
[ ] move to dvc repo? create a package with dvc repo fixtures?

Related to #292

Ok, let's use it in master for now. There are a few todo's left, but the framework is working and showing the results for main commands, so we can already use for tracking regressions. Remotes and the rest of todos are coming in follow-ups.


setTitle Discussion #2

Hi,
I'm referring to the text that reads "sdcard/sdcard", it would be nice to
prompt the user to e.g. "Please select file(s) or directory" or "Please
select your profile data?".
See image (current):
https://imagebin.ca/v/2uU9uuc1iRzU
Prospected scenario:
https://imagebin.ca/v/2uUA7iGq6pSq
Also is there a way to turn off the animation?
Kind Regards,
WIllem

Resolved in v1.0.5: Check setTitle method.


[Question] how does webdataset internally deal with num_workers>1

Hello, I'm new to webdataset and thanks for this great work.
The document of webdataset says that the wds.WebDataset is inherited from pytorch IterableDataset and I read the pytorch doc, which reminds us to carefully deal with the dataset when num_workers>1 with worker_init_fn, otherwise there would be duplicate data. But with wds.WebDataset, whatever the num_workers I set, the data is unique. Do I miss anything? Or does webdataset internally deal with that? If so, how does it get the worker info without worker_init_fn? Thanks.
Here is my code
with wds.TarWriter("dest.tar") as sink:
    for i in range(5):
        sink.write({
            '__key__': f"{i:03}",
            "input.npy": np.asarray(i, dtype=np.int32),
            "output.npy": np.asarray(i+1, dtype=np.int32)
        })

dataset = wds.WebDataset('dest.tar').decode().to_tuple(
    "input.npy", "output.npy")

# it seems num_workers won't make the data duplicated
dataloader = DataLoader(dataset, batch_size=1, num_workers=2)
for in_seq, target in dataloader:
    print(in_seq)

Hi, I also am curious how wds works when num_workers>1. I can create a new issue if this is too unrelated:
I noticed that with pip version, num_workers>1 still iterates through entire dataset, but with source install, the length of the iterator seems to be reduced proportionally to the increase in num_workers.

WebDataset is just a small convenience interface for DataPipeline. It only splits by worker, not by node.
I recommend using the pipeline interface.
By default, wds.shuffle will seed the rng by process id and time at the start of each epoch. If you use that before split_by_worker (as you did in your pipeline), each worker will end up with a random subset of shards, possibly overlapping.
If you use split_by_worker first, then deterministically, shards will get assigned to workers, and if you put wds.shuffle afterwards, they will get shuffled with an unpredictable seed on each epoch. That is what the WebDataset wrapper does by default.
You can use wds.detshuffle to get deterministic shuffling.
TODO: add testcases, documentation

Thanks for the clarification!

Hi, thanks for the answer, but why the offered example of pipeline usage in readme first use wds.shuffle and then wds.split_by_worker
dataset = wds.DataPipeline(
wds.SimpleShardList(url),
# at this point we have an iterator over all the shards
wds.shuffle(100),
wds.split_by_worker,
# at this point, we have an iterator over the shards assigned to each worker
wds.tarfile_to_samples(),
wds.shuffle(1000),
wds.decode("torchrgb"),
# at this point, we have an list of decompressed training samples from each shard in this worker in sequence
get_patches,  # note that can put iterator->iterator functions into the pipeline directly
wds.shuffle(10000),
wds.to_tuple("big.jpg", "json"),
wds.batched(16)
)
batch = next(iter(loader))
batch[0].shape, batch[1].shape