Payment not taken in account with Internet Explorer

Several people reported that their payment was not registered when coming back from PayPal in Internet Explorer. They must refresh the page to see the payment.

Probably fixed after recent updates.


Roadmap to 3.0

Roadmap
In the process of implementing 2.x, we found there are lots of features we didn't think at the start and they are basically out from our original design, such as customize graphql, wildcard component, sync fetching, etc. We still implement these features in 2.x and they also work well. But it's caused the structure of Canner is hard to understand. So, next step, we will focus on the remaining few features and clear structure of Canner to make it more friendly for contributions.
Features

Complete Internationalization(i18n)
For now, we only support the i18n of UI, such as title, description and other texts in the schema. In the feature, we will support the i18n of the data which means you can specify the string fields, number fields, and editor to show different languages and values in different locales.

Role-based Access Control
Canner will support the users to pass the rule which defines the access right of each data so that it can block the render, routing, and also the requests of those specific components.

Real-time Collaboration
For big companies, there are probably several editors in the same CMS. When they deploy different data in the same field at the same time, the two data won't be merged. To prevent the situation, Canner will lock those fields that are updated by someone.

Improvement

Replacing HOCs with React Hooks
In Canner, there are lots of HOC handling the data fetching, caching, mutating and validation, etc. And they indeed cause the performance problem and hard to understand, so we will extract those logics and implement with React hook.

More Friendly for Contributions
We will extract more packages and define the layers of Canner more clear.

Decoupled Toolbar
Make the toolbar component more independent so that we can use it easier in Canner component, in UI components, and in relation implementation. Also, it let the customization of the toolbar is more flexible and powerful.

Any feedbacks are welcome! Let us know what features and improvements you would like to have in our next version!

+1 for field-level i18n, similar to what DatoCMS offers.

伟大的卓越，永远诞生在犄角旮旯！

@singerswang 謝謝支持！

Give it a new future.
Rename it to gqlbase.com.
Relocation it, before firebase into Chinese market (with it, all is its.)
A database Power by GraphQL.
Power by GraphQL, we database everything.
Inspired by your cms30.
This is my profile https://www.linkedin.com/in/singerswang/
Powered by Huawei, Inspur and Haier.
If it is ok, the domain “gqlbase.com" own you in $0 price.
We can transfer in your account.
Hosting in name.com.
<EMAIL_ADDRESS>

I only want a nominal co-founder.

还是那句话：伟大的卓越，永远诞生在犄角旮旯！你们的野心有多大，世界的舞台就有多大！

此邀约在30天内有效，若你们不回复，我找下一个团队，直到找到了为止，我很喜欢你们的作品，但我无法一直无限期等待下去，此邀约在30天自然日内有效。

要么成为商业上的伙伴<EMAIL_ADDRESS>，要么成为市场上的竞争者，选择权在你们。我们等你们作出自己的选择。

开了一个新issue，在4.0里很可能时间太紧迫了，其实我没在4.0里必须实现的意思，所以删了这边，开了那边，反正它的第一目标达到了，你们叁已经全部知道了，即你们每个人有分别作出选择的权利。

可能行事方式太过霸气，但久而久之，你们就会认识到，他就这样。谢谢，请海涵。多有得罪。

与投资而言，这非常像喜欢的妞，就是强奸了她也要是自己的。等你们有人死过，又活过来你们会理解我说的，我全无恶意。
住最顶端套间，喝最烈的酒，约最好的情人，肆意的挥洒你的青春吧，然后等待 Professor X 的召唤，我们该做正事了！
我本为靛蓝小孩而来，了解更多，x.ly

New issue is here. https://github.com/Canner/gqlify/issues/52

下个方向改名 gqlbase.com，这域名占战略投资1%股份。
行也得行，不行也得行。
<EMAIL_ADDRESS>

我们来来往往打球的时间已不多，我需要你们给出答复，要么接受，要么关停。没有其他选项。

如果你们接受，届时我会给你们队伍配最好的人，如果你们不接受，我直接找人在你们开源基础上开始工作。


[Refactor] Update create random distribution error message

Fixes #issue
What type of PR is this:

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

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

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

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

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

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

@mergify backport branch-3.1


fix GT911 show error the first time

#237

Has been tested to work fine

hello help my for error the yaml lvgl please look
error yaml .txt


As a consumer, create predefined appliance

As a consumer you should be able to install predefined apps (Ubuntu, Odoo, ...)
Assumptions
most of UI is ready for this
More info
Before implementation; please add to this issue:

...

DOD

Actors are working and tested
UI is linked to actors

TODO

Verified flists to be moved under: https://hub.grid.tf/tf-appliances
Actor: https://github.com/threefoldtech/jumpscaleX_threebot/tree/development/ThreeBotPackages/threefold/tfgrid_workloads (same flow described in https://github.com/threefoldtech/jumpscaleX_threebot/issues/120)


[Script]: Playfair Cipher

Aim
A python code to encrypt text using Playfair cipher
Details
A Python script that receives a user input as a file from user and gives output as a file
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Go Ahead @GayathriManeksha


Correct the detection and guide for JRuby coverage

JRuby.runtime.debug? does not answer correctly wether coverage is active for JRuby.  org.jruby.RubyInstanceConfig.FULL_TRACE_ENABLED does.
Enabling general debug mode on JRuby does not enable coverage.  You need the "--debug" flag on the command line or in JRUBY_OPTS, or set the "debug.fullTrace=true" option in ".jrubyrc".
This change should make using simplecov on JRuby a bit nicer.

Cc @enebo

@bf4 @donv Yeah I think this is as good as it gets right now.  I would like in the future to make this a bit less internals and expose it via some more "official" API but this will not change and it is more accurate way of detecting this condition for now.

@bf4 @xaviershay Good to merge?

Thanks!


Several "corner cases" aren't covered

Hello,
I tried to fix some issues with this module but eventually I had to realize it drifts me too much from the goal I had in mind... anyway, there are some issues I would like to note, in case anyone is interested:

nested arrays aren't covered: this would probably require a serious rework, e.g being able to serialize a value on its own, and sometimes the representations diverge from their "keyed" versions. Most notably, arrays don't have a literal of their own at all.
related point: the current array serializer/formatter leaks into the exports without being mentioned
string escaping is unsolved:

as things stand, <> is used mainly. That will break down with a space, a closing angle bracket, or the notorious \q/\qq  string embedding syntax. I'm not sure space can even be escaped with this syntax. Perhaps it would be better to just use single quotes and escape, and escape the apostrophe and the backslash.
not sure why you used () for the empty string - that's an empty list. ('') should be used instead
heredoc strings are a great idea for multiline strings, except again you cannot actually guarantee there won't be a collision. Or well, you can, by reading the string beforehand - but how to produce something nice from that? Anyway, that also requires more thought to be robust

@2colours Thank you for the interest. Your feedback is genuinely appreciated.
I use raku-config a lot in the Collection module, so I do need to improve it.
I have very limited time for Raku, and most of that at the moment is eliminating errors on the Raku documentation site.
Time limitation is also why I took so much time to respond to this thread. I have only just begun to work through my github backlog.


Added Missing Binding for multimesh_create to VisualServer

This is a minor correction to the VisualServer class which adds a bind_method call for multimesh_create so that you can now create multimesh RIDs via GDScript.
Why?
I was making an RTS-style map editor and needed to have the ability to create my own version of a MultiMeshInstance without inheritance. A problem arose by the time I was trying to actually render an instanced mesh because I couldn't create the RIDs similarly to how the C++ code operates -- by calling multimesh_create.
With this patch, you can now make multimeshs RIDs with GDscript. It also brings multimesh_create to the same standard as other create methods (material_create, mesh_create and shader_create to name a few.) Here's a (probably slightly broken) example:
if len(map_multimeshes) > 0:
	for id in map_multimeshes:
		VisualServer.free_rid(id)
	map_multimeshes.clear()

if len(map_multimeshes) == 0:
	var instance = VisualServer.instance_create()
	var mm : RID = VisualServer.multimesh_create()
	VisualServer.multimesh_allocate(mm, columns * rows, VisualServer.MULTIMESH_TRANSFORM_3D, VisualServer.MULTIMESH_CUSTOM_DATA_NONE)
	VisualServer.multimesh_set_mesh(mm, cube.get_rid())
	for row in range(0, rows):
		for column in range(0, columns):
			var jpos = get_junction_transform(column, row)
			VisualServer.multimesh_instance_set_transform( mm, column + row * columns, Transform(Basis.IDENTITY.scaled(Vector3(0.1,0.1,0.1)), jpos))

	VisualServer.multimesh_set_visible_instances(mm, columns * rows)
	VisualServer.instance_attach_object_instance_id(instance, get_instance_id())
	VisualServer.instance_set_base(instance, mm)
	VisualServer.instance_set_scenario(instance, get_world().get_scenario())
	#set_notify_transform(true)
	map_multimeshes.append(instance)

This is my first foray into Godot's VisualServer code, so if there's actually an alternate way of doing what I'm doing, let me know and I'll close this.  It could very well be that there's a good explanation for why this method isn't exposed to GDScript that may explain its original absence. Otherwise, I've tested this and it seems to work as intended.

Seems fine. Could you also add documentation for the new method? See https://docs.godotengine.org/en/latest/community/contributing/updating_the_class_reference.html

Gone ahead and added the documentation changes through the documentation generation tool.

I also meant to actually write the documentation :) (i.e. fill the <description> tag)

Ah ok I misunderstood. Yes, I'll write some documentation then.

@akien-mga Alright, I've gone ahead and added a description to the documentation.
It might be worth adding that the VisualServer documentation could use some more details on instance_set_base as it's kind of important and I'm not sure I fully understand the details there. My understanding (which my be wrong, but from a guess) is that instance_set_base actually attachs a Node and a VisualServer representation (mesh, texture, etc) together?
If I'm correct, I could take the time to add some additional details to the documentation itself.

It might be worth adding that the VisualServer documentation could use some more details on instance_set_base as it's kind of important and I'm not sure I fully understand the details there. My understanding (which my be wrong, but from a guess) is that instance_set_base actually attachs a Node and a VisualServer representation (mesh, texture, etc) together? So when it comes time to render the nodes, it uses the attached base RID to understand what needs to be rendered?

I don't know :/ Maybe @clayjohn does? Otherwise you'll have to see with reduz once he's back next week. Having more documentation for the VisualServer would definitely be helpful.

I can update the VisualServer docs. For the upcoming release I guess all the common VisualServer functions should be documented.

@clayjohn That would be pretty nice. I'll get to fixing the formatting issues tonight.

Thanks!


Please remove schema registry dependency from service-manager

While no issue has been raised here, yet, schema registry is not required at runtime here, especially in service-manager.
Can we please make foreground what is holding up the migration off schema registry for the service-manager image?

https://github.com/hypertrace/hypertrace/issues/48 depends on this

Resolved as part of this PR : https://github.com/hypertrace/hypertrace/pull/75

verified this works!


resize_disk from a disk < 2TB to a disk > 2TB results in a corrupt state on linux

Depending on the disk size the BOSH agent decides to use a different partitioning tool ( https://github.com/cloudfoundry/bosh-agent/blob/854ccbb9213cff43fbbd4aef098c8b07427e5e21/platform/linux_platform.go#L1066-L1072).
For disks smaller than 2TB the fdisk partitioner is taken and for disks larger than 2TB the parted partitioner is taken. fdisk uses msdos partition table which supports disks up to 2TB and parted uses gpt partition table which supports also larger disks.  In this case  if resize_disk is used to resize a disk from <2TB to >2TB the same disk is resized and the partition table type stays the same. This leads to the following exception during mount_disk
Task 23 | 10:20:02 | Deprecation: Ignoring cloud config. Manifest contains 'networks' section.
Task 23 | 10:20:02 | Preparing deployment: Preparing deployment (00:00:00)
Task 23 | 10:20:02 | Preparing package compilation: Finding packages to compile (00:00:00)
Task 23 | 10:20:02 | Updating instance dummy: dummy/4d0ee51a-7881-4719-95fc-1035bebff3a3 (0) (canary) (00:01:44)
                   L Error: Action Failed get_task: Task 2d99b9e0-a0c1-45d8-6a27-8a63cc5d4a9d result: Mounting persistent disk: Partitioning disk: Partitioning disk `/dev/vdb': Creating partition using parted: Running command: 'parted -s /dev/vdb unit B mkpart bosh-partition-0 1048576<PHONE_NUMBER>927', stdout: 'Error: Expecting a partition type.
', stderr: 'parted: invalid token: bosh-partition-0
': exit status 1

Depending on the stemcell version the error message can be different. See this discussion: https://cloudfoundry.slack.com/archives/C02HPPYQ2/p1514386688000023
The old way to resize disks doesn't have this issue because a new disk is created and the disk content is copied over. https://github.com/cloudfoundry/bosh/blob/b018a4f54de55d3c552c3c6034d4d2755f06c6e7/src/bosh-director/lib/bosh/director/disk_manager.rb#L37
May be the Director can use the old resize disk workflow in this situation? Or does it make sense to use always parted partitioner on the agent side?
Also note that because of this you end up in the situation described in this issue https://github.com/cloudfoundry/bosh/issues/1869

Seems like more evidence to switch the stemcells over to parted en masse. Would be curious if making that switch will cause problems with existing disks, though.
@cppforlife wdyt?

You could make the switch by forcing data migration, I guess ;)

Hi, Softlayer meet the same issue on Xenial stemcell. Agent set gpt, but it changed to msdos. I didn't know who changed it?

Hi, @jfmyers9 and @aduffeck
About commit https://github.com/SUSE/bosh-agent/commit/d91a92df6c6d7360af1a456a7d545628bdce837a , do we have a plan to to accept and release it?

Hi.  We're having problems with volumes being formatted with the MSDOS partitioning scheme. As such, they cannot be expanded beyond 2TB. As I understand it, parted can also be used to create MSDOS partitions. So, your comments using 'parted' does not quite tell me that all partitions involved, albeit on the ephemerial disk or volumes created by bosh, have the GUID partitioning table.  The reference commit is, at least to me, ambiguous fro the same reason.
Please clarify whether bosh has actually be changed to use the GUI partition table by default.

If the partition table does not exist (i.e. new disks) we use gpt as the label type.
Disks that are currently using MSDOS will need to be migrated, but moving forward we should be using gpt for all new disks on the xenial stemcell lines.

@jfmyers9 we met a critical problem that persistent disks were formatted when upgrading to new Xenial stemcell, you mentioned there needs migration if it's msdos, what do you mean by "migration", we need to change disk size in yml to force it migrated? Thanks.


Update flyway-core to 9.1.3

Updates org.flywaydb:flyway-core from 8.5.13 to 9.1.3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.flywaydb", artifactId = "flyway-core" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Does not apply cleanly.

Superseded by #1995.


fix(tooltip): hiding tooltip when target is scrolled out of view

Closes COMUI-2114
Ticket mentions it is in Safari and FF, but I found it in Chrome too.

It still overflows over outside divs until the full target scrolls out of view. Looking into why it doesn't flip properly


Many methods don't pass credentials which causes auth errors

DescribeIndex, FlushAsync etc fail with auth errors.
Pull request is created:
https://github.com/milvus-io/milvus-sdk-csharp/pull/16

@weianweigan Could you rebuild the package with the latest fixes? We are trying to use it for our project.

@weianweigan Could you rebuild the package with the latest fixes? We are trying to use it for our project.

OK I will publish nuget package.


Fix incorrect variable name hostCount

NOTE: Please read the Contributing.md guidelines before submitting your patch:
https://github.com/apache/incubator-apisix/blob/master/Contributing.md#how-to-add-a-new-feature-or-change-an-existing-one
Summary
SUMMARY_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix https://github.com/apache/incubator-apisix/issues/1564

thanks!


net/http: allow sending 1xx responses

Currently, it's not possible to send informational responses such as 103 Early Hints or 102 Processing.
This patch allows calling WriteHeader() multiple times in order to send informational responses before the final one.
The patch for HTTP/2 is also available: https://github.com/golang/net/pull/96
In conformance with RFC 8297, if the status code is 103 the current content of the header map is also sent. Its content is not removed after the call to WriteHeader() because the headers must also be included in the final response.
The Chrome and Fastly teams are starting a large-scale experiment to measure the real-life impact of the 103 status code.
Using Early Hints is proposed as a (partial) alternative to Server Push, which are going to be removed from Chrome: https://groups.google.com/a/chromium.org/g/blink-dev/c/K3rYLvmQUBY/m/21anpFhxAQAJ
Being able to send this status code from servers implemented using Go would help to see if implementing it in browsers is worth it.
Fixes #26089.
Fixes #36734.
Updates #26088.

Hi @bradfitz,
Is the tree open again? I improved the PR to flush headers as soon as possible and improved the documentation.
Also, a similar PR adding support for the 103 status code to the HTTP/3 implementation has been merged: https://github.com/lucas-clemente/quic-go/pull/3047
Cheers,

Hi @bradfitz,
I replied to all your comments and rebased. Is there anything else I can do to get this patch merged?
Thanks!


Add one more button

Details
I would like to add one more button into this project to have the user more variety in the button and they can use it as they like ,
therefore I want to assigned me this task under GSSoC,23 tag.
Screenshots
No response
Type of Contribution

[ ] Update to an existing Animated Button
[ ] Adding a new Button
[ ] Resolving a bug
[X] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

Please check #1346


fix: pnpm i

fixes https://github.com/owncloud/ocis/issues/8757

I don't think we need a changelog here ....


Should AppEngineSdk be merged with CloudSdk?

Since App Engine SDK can now be bundled with Cloud SDK, there doesn't seem to be a need for the users to provide a Cloud SDK path and an App Engine SDK path separately. That being the case, should we just merge AppEngineSdk with CloudSdk, and simply move the AppEngineSdk.runCommand() to CloudSdk?

@loosebazooka @patflynn

what does 'can now be bundled..' mean?
On Wed, Apr 27, 2016 at 11:53 AM, meltsufin<EMAIL_ADDRESS>wrote:

@loosebazooka https://github.com/loosebazooka @patflynn
https://github.com/patflynn
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/app-tools-lib-for-java/issues/20#issuecomment-215128631

gcloud components install app-engine-java

That's not the whole sdk though. At least it's not intended to be.  It
probably should be, but we should get the Cloud SDK and the Java App Engine
SDK to commit to that,
On Wed, Apr 27, 2016 at 12:31 PM, meltsufin<EMAIL_ADDRESS>wrote:

gcloud components install app-engine-java
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/app-tools-lib-for-java/issues/20#issuecomment-215139966

We only need the part for staging App Engine standard apps at this point.

From the offline conversations, it sounded like we can rely on the staging parts to be in the Cloud SDK in the foreseeable future. Is that correct? @patflynn

@meltsufin yeah I think so


Update dependencies

Is your feature request related to a problem? Please describe.
Update the dependencies to a compatible version.

I want to contribute to this issue can you assign me on this?

I want to contribute to this issue can you assign me on this?

Sure! thanks!


Added bootstrap with ng-bootstrap: this connects to #4

Added bootstrap and ng-bootstrap as dependencies
Setup app level main.scss that includes custom variables.scss, bootstrap.scss, and font-awesome.scss
Setup a collapsable navbar with AppComponent

With sass currently not being compatible with AoT we must compile scss files before the build. Also, we would like to combine global level styling as well as component level styling. A main.scss compiled to main.css and brought in from index.html head tag will provide for global styling. All the other scss files are component level. With the custom variables.scss file overriding styles for custom look and feel should be relatively easy.
If you would like to have a component's styling inherited by child components, change the encapsulation from ViewEncapsulated.Emulated to ViewEncapsulated.None. FYI, ViewEncapsulated.Emulated is default.
There does not seem to be a way to style the body tag from within the Angular app.

I will resolve the merge conflicts with this pull request this morning. I would also like to update a few things. Such as add an logo image that is customizable in the main.scss. Also, webpack needs some tweaks as with some unused dependencies should be removed. And last, css files should be ignored.
This will probably need multiple reviewers and discussion.

Mirage 2 contains an SVG version of the dspace logo, albeit not in the exact same configuration. But I'd prefer to use a scalable version rather than a png. @tdonohue do you know if there is a scalable version of the logo William used out there?
ngc is the tool with the problem with sass right? Does that mean we can't use webpack to build the style? I'd like to include postcss with autoprefixer. That'd be easy to do with a webpack loader...

Pros:

has bootstrap globally
supports global custom scss
supports component level scss

Cons

*requires sass compilation before build
**sass variables are not automatically interpreted in component scss
ng-bootstap does not seem to have animations yet

AoT is not compatible yet with a scss or sass loaders. It will only work with precompiled css.

** in order to use variables within component level scss you must import the variables.scss
Art, I agree we do need a scalable logo. That is what I found with a quick search. And yes ngc is the tool that does not like the sass, yet. It pretty much compiles and encapsulates all code into manageable parts to hands it off to the client. This provides quicker page load and less data transfer to the client. The client no longer needs the full compiler. I imagine this AoT compile phase does not support sass or scss loaders yet. I have not found anywhere online of a use with autoprefixer and I could not get it to work.

@artlowel : We have DSpace logos of various sizes up at https://wiki.duraspace.org/display/DSP/Logos and http://www.dspace.org/marcom .  I'm not seeing any official SVG ones, but there are TIFFs which could be used to create an SVG.  I'm not sure who created that Mirage2 logo, it's possible it was created via one of the TIFFs.

Thanks Tim. It is entirely possible that I created the SVG logo in Mirage 2 by tracing the official one in illustrator.

**in order to use variables within component level scss you must import the variables.scss

I don't really see that as a 'con'. It makes it easier to grasp where variables used in a component style are coming from if all dependencies need to be explicitly imported.
Am I supposed to run npm run sass followed by npm run build:prod:ngc? Because that fails during the final npm run build:prod part (which runs webpack --config webpack.prod.config.ts).
ngc replaces the generated app.component.css with app.component.shim.ts but the webpack prod build still searches for the css file.
PostCSS works on plain css, not scss, and I see it can also be used from the command-line, so this way of working doesn't prevent us from using it. It would need to be executed after node-sass but before ngc. I'll look into that after this PR gets merged.

I seem to have forgot to setup for production. Let me update and commit. Give me 30-35 minutes please.

Updated npm scripts, details below.
Added concurrently for cross platform watch capabilities.

npm start - builds and starts production
npm run start:dev - builds and starts development
npm run watch:prod - *builds and watches production
npm run watch:dev - builds and watches development
npm run clean - cleans everything including node_modules
npm run clean:prod - cleans production generated files
npm run clean:dist - cleans distribution directory
I made npm start the production script by default as it normally would be.
Use npm run start:dev or npm run watch:dev for development.

I am having some trouble with all scripts working correctly. Please give me a bit. Thanks.

I found the problem I was having. Universal starter project uses an advanced compression technique for production. It saves very little. I think it was like 1-2% more efficient than the compression package. But it breaks things such as bringing in custom fonts. I will have a commit in a few.

Ok, this is ready to go. Build, start, watch, and clean are working for both development and production. The npm scripts above will get us started. I am not apposed to tweaking this to better serve our purpose.

LGTM

I am good with it. @artlowel when you are comfortable with the level of review, we should proceed with merge. Any concerns can be addressed in future requests. I was hoping others would of reviewed by now.


Docker volume plugin fails to mount EBS on Amazon Linux

Summary
docker run returns an error when trying to bind to an EBS volume on Amazon Linux
Bug Reports
$ docker run --rm -it -v rexray-proof-amzn:/data --volume-driver=ebs alpine sh
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go:53: mounting \\\\\\\"/var/lib/libstorage/volumes/rexray-proof-amzn/data\\\\\\\" to rootfs \\\\\\\"/var/lib/docker/devicemapper/mnt/bdf1878eccb1bf7970d9fc91b757c00bbb65ec78a4fd2a15e15fa2d00ba8e14a/rootfs\\\\\\\" at \\\\\\\"/data\\\\\\\" caused \\\\\\\"stat /var/lib/libstorage/volumes/rexray-proof-amzn/data: no such file or directory\\\\\\\"\\\"\"\n".

Version
$ rexray version
REX-Ray
-------
Binary: /usr/bin/rexray
Flavor: client+agent+controller
SemVer: 0.9.0
OsArch: Linux-x86_64
Branch: v0.9.0
Commit: 2a7458dd90a79c673463e14094377baf9fc8695e
Formed: Wed, 03 May 2017 21:38:11 UTC

libStorage
----------
SemVer: 0.6.0
OsArch: Linux-x86_64
Branch: v0.9.0
Commit: fa055d6da595602715bdfd5541b4aa6d4dcbcbd9
Formed: Wed, 03 May 2017 21:36:11 UTC

$ docker version
Client:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   7392c3b/1.12.6
 Built:        Tue Mar  7 20:34:04 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   7392c3b/1.12.6
 Built:        Tue Mar  7 20:34:04 2017
 OS/Arch:      linux/amd64

Expected Behavior
On Ubuntu, using the same IAM role, security group, subnet, etc, the volume is mounted without error.
Steps To Reproduce

Launch a new instance of amzn-ami-hvm-2<IP_ADDRESS>70417-x86_64-gp2 (ami-4836a428) in us-west-2.
Set the IAM Role Policy to have the following actions:
"ec2:AttachVolume",
"ec2:CreateVolume",
"ec2:CreateSnapshot",
"ec2:CreateTags",
"ec2:DeleteVolume",
"ec2:DeleteSnapshot",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"ec2:DescribeVolumeAttribute",
"ec2:DescribeVolumeStatus",
"ec2:DescribeSnapshots",
"ec2:CopySnapshot",
"ec2:DescribeSnapshotAttribute",
"ec2:DetachVolume",
"ec2:ModifySnapshotAttribute",
"ec2:ModifyVolumeAttribute",
"ec2:DescribeTags"
Install docker
sudo yum update -y && sudo yum install -y docker && service docker start
Install REX-Ray
curl -sSL https://dl.bintray.com/emccode/rexray/install | sh
Configure REX-Ray with the configuration file below.
Start REX-Ray
rexray service start
Create an EBS volume
docker volume create --driver=ebs --name=myvolume --opt size=1 --opt volumeType=gp2
Run a docker container with a bind-mount to the new EBS volume
docker run --rm -it -v myvolume:/data --volume-driver=ebs alpine sh

Configuration Files
rexray:
  modules:
    default-docker:
      disabled: true
    ebs-docker:
      type:     docker
      host:     unix:///run/docker/plugins/ebs.sock
      spec:     /etc/docker/plugins/ebs.spec
      libstorage:
        service: ebs
libstorage:
  server:
    services:
      ebs:
        driver: ebs

Logs
Service Log
REX-Ray
-------
Binary: /usr/bin/rexray
Flavor: client+agent+controller
SemVer: 0.9.0
OsArch: Linux-x86_64
Branch: v0.9.0
Commit: 2a7458dd90a79c673463e14094377baf9fc8695e
Formed: Wed, 03 May 2017 21:38:11 UTC

libStorage
----------
SemVer: 0.6.0
OsArch: Linux-x86_64
Branch: v0.9.0
Commit: fa055d6da595602715bdfd5541b4aa6d4dcbcbd9
Formed: Wed, 03 May 2017 21:36:11 UTC

Client Log
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go:53: mounting \\\\\\\"/var/lib/libstorage/volumes/rexray-proof-amzn/data\\\\\\\" to rootfs \\\\\\\"/var/lib/docker/devicemapper/mnt/942ee36528b1a167ce0746759e4dd504f11f948c94a5e9143a7ae889e0643073/rootfs\\\\\\\" at \\\\\\\"/data\\\\\\\" caused \\\\\\\"stat /var/lib/libstorage/volumes/rexray-proof-amzn/data: no such file or directory\\\\\\\"\\\"\"\n".

After more research and issue searches, I found the resolution here.

Thanks @toddschilling


Support filtering in builtin notebook variable view

The builtin Variable View for notebook now lists all "variables" from the Jupyter kernel right now, most of which are contributed by Jupyter extension or the Kernel

It would be great if we can support filtering the variables:

Support "My Variables Only"
Support filtering based on types (Module, Class, etc)
Exclude the builtin function/modules contributed by Jupyter extension (e.g., chat)

Another solution @amunger mentioned is filtering or grouping them in Jupyter (variable provider)


Where are parameters stored in ForneyLab.Bernoulli?

Consider the following code snippet:
using ForneyLab
g = FactorGraph()
@RV x ~ Bernoulli(0.7)

My question is: in what data structure is 0.7 stored? I found that Bernoulli is a struct.

Hi @erlebach!
Roughly speaking, when you use @RV macro, ForneyLab integrates two nodes into your factor graph., i.e. Bernoulli node and clamped node that contains the value of 0.7.
I am not sure why you have this question, but you can access the value 0.7 as follows:
g.nodes[:clamp_1].value
Why :clamp_1? You can access all of your nodes by running:
g.nodes[:clamp_1].value.

Why thismquestio ? Because before writing to Github, I was debugging my code, and was trying to trace information. That is how I learn. I was also looking at the source code, and had not come across "value". I will take another look.

Question seems to be answered, thanks Albert, I will close the issue.


Is internet connection needed for validation

Vendor request

Do my customers have to have an internet connection for the license to work or can they be offline?

NetLicensing support both validation modes: online and offline
Online validation

This scenario requires a permanent internet connection.
PROS:

instant license activation and validation
always up-to-date customer status

Offline validation
With this option, we distinguish between two scenario
Offline validation using NetLicensing Agent

Use case: usually B2B context with strong restrictions on the firewall side and many users/products with corporate network
PROS:

fulfils enterprise-grade security requirements
highest protection for your products

CONS:

licensing assets update need to be established (scheduled or upon new license acquisition)

Let me elaborate a bit on the last option "Offline validation using TTL & Cache"
Every NetLicensing validation response contains an attribute with the TTL (Time-To-Live) value. Successful validation response can be cached with the expiry time set to this interval and used to validate product without sending online validation request.
TTL Interval can be defined in the Settings form and be in the range from 1 minute to several days.
Caching functionality need to be realised by means of the specific product implementation and technology stack.
Please find below a typical flow for the “Offline validation using TTL”


add snippets

add snippets for typescript and html and package.json for a propper vscode extension
closes #1 closes #2

LGTM


[image_picker] New feature to store picked image/video in a custom path.

this is image path "/storage/emulated/0/Android/data/com.example.xxxxx/files/Pictures/cd7fa05d-2f01-47ec-b733-d535c2ed50972289172933902660221.jpg".
    var image = await ImagePicker.pickImage(source: ImageSource.camera);
    print(image);  //    storage/emulated/0/Android/data/com.example.xxxxx/files/Pictures/cd7fa05d-2f01-47ec-b733-d535c2ed50972289172933902660221.jpg`

I want to save the photo in sdCard. but i don't how to resolve it.

I have the same request. Right now temporarily I just use File class's method to move that image path into my preferable storage path. Also ImagePicker's camera source will rely on system's Camera UI to complete photo taking or video recording operation. The UI internally has the setting about the storage to store the media file: internal or external storage. I also found that when I move that image path into internal storage, it can be performed successfully but I cannot move to external storage due to denied permission even I have set the permission for external storage READ/WRITE already!
So ImagePicker should provide a property which allows the user to provide the storage path to store photo image or video file with the storage path either in internal storage or external storage!

ImagePicker will create an image path after the photo is taken but in the meantime it also keeps a copy in the Camera UI's defined storage path (either internal or external storage). If I want to keep ONLY one copy into my preferable storage path, besides what I mentioned to move that image path into my path with File, I also need to "DELETE" that extra copy and it becomes complicated from the view point of app development. My app has no clue of where I can delete that extra copy from either internal or external storage path since I cannot get any information from ImagePicker for that setting from Camera UI. So the best choice for that is to allow the app to provide the exact preferable storage path while calling ImagePicker and return the same path if the photo is taken successfully; otherwise, just return null. The app does not need to care about whether extra copy induced from Camera UI in either internal storage or external storage.

I am not able to actively work on this recently. I am going to un-assign myself from this issue. If anyone is interested, please feel free to pick it up!

Isn't /storage/emulated/0/Android/data a non-temporary path? The docs say

The returned [PickedFile] is intended to be used within a single APP session.

which implies a temporary path that can be cleared, but if /storage/emulated/0/Android/data isn't temporary, the files can eat away at the storage space of the device. Is this the intended behavior?

Any progress on this issue?
Sometimes, I need to select an image and store it permanently in a directory, such as getApplicationDocumentsDirectory(), but now image_picker will store a copy in the cache directory,  and I need to copy it to the getApplicationDocumentsDirectory() directory again .
Why can't it be saved directly to a custom directory?


Feature request: Vala Language Server

Please add integration for Vala Language Server.
Vala Language Server can be installed using MSYS2:
https://packages.msys2.org/base/mingw-w64-vala-language-server

Added.


fix: add an environment variable for disabling the selinux option from security context of SPOd deployment

Signed-off-by: Cosmin Cojocar<EMAIL_ADDRESS>
What type of PR is this?

What this PR does / why we need it:
This adds an environment variable for disabling the the selinux option form security context of SPOd deployment. This is required for Linux distributions which doesn't enforce SELinux by default and do not provide the spc_t type label (e.g. Flatcar Linux).
See other solutions proposed in:
https://github.com/kubernetes-sigs/security-profiles-operator/pull/828
https://github.com/kubernetes-sigs/security-profiles-operator/pull/826
Which issue(s) this PR fixes:

Does this PR have test?

Special notes for your reviewer:
Does this PR introduce a user-facing change?

Add SPOD_SELINUX_DISABLE environment variable for disabling the the SELinux option from security context of SPOd deployment

we agreed on slack to change the approach to configure this via the SPOD object as opposed to using an env variable.

/unhold

/test pull-security-profiles-operator-test-e2e

/retest

/retest


[5166] Allow changes to withdrawal dates and reasons for system admins

Context
Trello: https://trello.com/c/Ux0SXTjs/5166-m-allow-for-withdrawal-dates-on-withdrawn-trainees-to-be-edited-by-system-admin-support
We want to make withdrawal details for trainees editable to system admins (but not provider users). If a trainee is withdrawn, add a change link that allows for withdrawal details to be edited. Add an event to the timeline if withdrawal date is edited.
If a trainee is already withdrawn, don't send a withdraw job to DQT. This would error. Note I'd like some help writing a spec for this as I haven't found a good way to test my implementation.
Changes proposed in this pull request

Update record view trainee status row
Update def withdraw? in trainee policy to relax permissions if a trainee is already withdrawn
Update Trainees::Withdraw service with def withdrawn_in_dqt?
Add new timeline event for withdraw_date

Guidance to review
For dev review:

please check my logic around not sending the withdrawal job to DQT, and if it makes sense. This should prevent any withdrawal jobs being queued if the trainee is already withdrawn on DQT (might help with dead jobs too)

as an admin:

navigate to a withdrawn trainee record
observe and click on edit link on status row
go through withdrawal flow
observe dates save correctly
observe timeline entry
also try withdrawing an 'in training' trainee to make sure no regressions

as a regular user:

as above, except observe that you cannot see the change link

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 [M] Allow for withdrawal dates on withdrawn trainees to be edited by System Admin/Support

Looks good to me!


Remove DagNode.hash()

Defining a __hash__ without also defining __eq__ goes against the python data model.
It looks like in the past there was a custom __eq__ but that was removed in #2006 at which time __hash__ should have been removed also.
Its also not necessary in this case as a hash based on the object id is what you get by default.
Its also a performance issue: microbenchmarking reveals that set and dict operations are around 10x slower with custom hash compared to default. I didn't check but I wonder how much this was at issue in #5952 and #5685.

Its also a performance issue: microbenchmarking reveals that set and dict operations are around 10x slower with custom hash compared to default. I didn't check but I wonder how much this was at issue in #5952 and #5685.

Well at least for #5952 this won't come up, the retworkx neighbors() function is returning node ids (https://retworkx.readthedocs.io/en/stable/stubs/retworkx.PyDiGraph.html#retworkx.PyDiGraph.neighbors) so it's all ints (also the performance impact of that PR was minimal (https://qiskit.github.io/qiskit/#mapping_passes.PassBenchmarks.time_noise_adaptive_layout?commits=5f0fdb6 )
I could definitely see this being a big part of the impact of #5685 though.


Question about QR decomposition

Hi,
I have a question regarding the orthogonal basis that is obtained by QR decomposition. The QR decomposition is defined like this:

Why did you not take the whole "Q" as the basis but only use "P_C^(0)"?

Hi @Pixie412,
Thanks for your interest in our work!
$Q'$ contains the basis for the nullspace of the $\eta_{C^{(0)}}$ while we are interested in the column space basis for the subspace spanned by the base class weights which is $P_{C^{(0)}}$. $P_{C^{(0)}}$ also corresponds to $Q$ in reduced QR decomposition [1,2]
[1] Trefethen, L. N., & Bau III, D. (1997). Numerical linear algebra (Vol. 50). Siam.
[2] Terao, T., Ozaki, K., & Ogita, T. (2020). LU-Cholesky QR algorithms for thin QR decomposition. Parallel Computing, 92, 102571.

Hi @Pixie412,
I am sorry for the late reply, we have misse the notification.
Yes, you can also use SVD to find the same orthogonal projection; they are equivalent. Please see the equivalence in the code below.
Let me also clarify our paper's specific notation: we concatanate our base representations into matrix $A \in R^{512 \times 64}$. Then, run the reduced QR $$A^{512 \times 64} = Q_r^{512 \times 64} R_r^{64 \times 64}$$ $Q_r=P_{C^{(0)}}$ in our paper. So, our actual projection matrix is $P=Q_rQ_r^{\top}$
As you suggested, reduced left singular matrix, $U_r$ in reduced SVD, can be used to calculate the same projection:
$$A = U_r^{512 \times 64}\Sigma_r^{64 \times 64} V_r^{*64 \times 64} $$ and you can calculate the same orthogonal projection $P = U_rU_r^{\top}$
Test:
julia> using LinearAlgebra

julia> A = randn(512, 64);

julia> function find_projection_with_QR(A)
           F = qr(A) # full QR
           Qr = F.Q[:, 1:size(A, 2)] # reduced Q
           return Qr * transpose(Qr)
       end
find_projection_with_QR (generic function with 1 method)

julia> function find_projection_with_SVD(A)
           F = svd(A; full=true) # full SVD
           Ur = F.U[:, 1:size(A, 2)] # reduced U
           return Ur * transpose(Ur)
       end
find_projection_with_SVD (generic function with 1 method)

julia> find_projection_with_QR(A) ≈ find_projection_with_SVD(A)
true


[Threading] Always round up when converting std::chrono::durations.

We were inadvertently rounding down, which was fine almost 100% of the time, but on Windows where the timer resolution is only 1ms, it made the test very slightly flaky because we were asking to wait for 9ms rather than 10ms, then checking we'd waited at least 10ms.
We should explicitly round up, for that reason.
rdar://100236038

@swift-ci Please test

Hmmm. Seems this wasn't the only problem on Windows making the test flaky. I wonder if the server applied a time adjustment during the SleepConditionVariableSRW() call. Maybe the thing to do is to change the test to allow things to return 10% "sooner" than it thinks they should?

No, I don't think the time adjustment explanation is the right one. That shouldn't really be happening because we're using steady_clock. I think it might be the odd behaviour of Sleep functions on Windows, where (apparently) if you try to wait for less than a system tick (by default 1/64s), they can return early.
Let's try increasing the system tick rate during the test. I'll run the tests a few times to make sure it works.

@swift-ci Please test Windows platform

@swift-ci Please test Windows platform

@swift-ci Please test Windows platform

@swift-ci Please test Windows platform

@swift-ci Please test Windows platform

Woo! That seems to have worked.

@swift-ci please smoke test


kubelet upgrade doc

Update the instructions for upgrading kubelet doc. This introduces an image replacement command. The clusters created with hyperkube image will fail to implement these instructions if they use hyperkube image of 1.19.x.

This isn't working as expected! The original KUBELET_IMAGE_URL looks like
KUBELET_IMAGE_URL=docker://k8s.gcr.io/hyperkube-amd64

After applying the suggested sed command I get
KUBELET_IMAGE_URL=quay.io/poseidon/kubelet

Which isn't working since I get the following error: run: unexpected EOF. So the right SED command would be
sudo sed -i "s|.*KUBELET_IMAGE_URL.*|KUBELET_IMAGE_URL=docker://quay.io/poseidon/kubelet|g" /etc/kubernetes/kubelet.env

Good catch on it Niels. I will update the doc to include either a note or make it generic so that docker:// is preserved.

@niels-s I think this is only for old nodes I suppose, which still use rkt, right?


HDDS-5087. Ozone RPC client leaks KeyProvider instances.

What changes were proposed in this pull request?
Maintain a KeyProvider cache for Ozone RPC client and ensure Key provider is closed upon removal from the cache.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5087
How was this patch tested?
UT added.

We have to run the CI again to get a clean run before we can merge. Can you please push an empty commit to trigger CI?


gopls: 0.7.0 -> 0.7.1

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 134506 run on x86_64-linux 1

2 packages built:

gopls
vimPlugins.vim-go


Help, Request body is not encoded as expected.

The following block fails to catch the expected request.
nock('https://api.wotblitz.com')
      .post('/wotb/tanks/stats/', {
        account_id: 100991240,
        tank_id: null,
        in_garage: null,
        fields: 'mark_of_mastery,tank_id',
        access_token: null,
      })

Doing the same thing, except manually encoding the body does catch the expected request.
nock('https://api.wotblitz.com', {encodedQueryParams: true})
      .post('/wotb/tanks/stats/', querystring.stringify({
        account_id: 100991240,
        tank_id: null,
        in_garage: null,
        fields: 'mark_of_mastery,tank_id',
        access_token: null,
      }))

What am I missing?

Sorry! Totally missed I should be using .query for my case.


port forwards: insert rules in the beginning

Insert port forwarding rules in the beginning of the tables
Only add if the rule is unique. This must always be the case cause old IPs
can only be reused after GC has run (correctly)

Fixes #1163.

LGTM

nice!
Am 11.08.2015 19:07 schrieb "Stefan Junker"<EMAIL_ADDRESS>
Merged #1257 https://github.com/coreos/rkt/pull/1257.
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/rkt/pull/1257#event-379717194.


BaseNDArray: shapeInformation.asNioInt() overhead?

I'm not 100% sure on this, but it looks like the various shapeInformation.asNioInt() calls in BaseNDArray result in object creation. It should be possible to cache the resulting IntBuffer, so that it's only ever created once.

Fixed with recent PR. https://github.com/deeplearning4j/nd4j/pull/874


Updated email functions to receive a name

Hi!
I was using your library to create some fake data, and I needed the emails to have the same user_name as a previously generated Faker.Name.first_name. I have updated the email functions so they can receive a name parameter which defaults to the user_name they were already using:
iex(1)> first_name = Faker.Name.first_name
"Hector"

-- Passing a name

iex(2)> Faker.Internet.email first_name
<EMAIL_ADDRESS>iex(3)> Faker.Internet.free_email first_name
<EMAIL_ADDRESS>iex(4)> Faker.Internet.safe_email first_name
<EMAIL_ADDRESS>
-- Default functionality

iex(5)> Faker.Internet.email
<EMAIL_ADDRESS>iex(6)> Faker.Internet.free_email
<EMAIL_ADDRESS>iex(7)> Faker.Internet.safe_email
<EMAIL_ADDRESS>
I hope you find it helpful :)
Cheers!

Hi @bigardone. Thank you for your contribution. I agree that this one useful, and sometimes I also need something like this. But, I don't want to make it for all edge cases. I want to keep it generic. Imagine somebody will need all the same domains for some Member in Company entity, we'll also need second params with domain name of this company, etc. And there is a lot of other possible related data across all generators. I think it'll be better to define this kind of function in spec_helper or similar place there you are using faker.

Ok, no problem, I got you :)


Microsoft account is experiencing technical problems. Please try again later.

I tried both VanillaJSTestApp and ModuleSample examples but after I type in the account in the popup and press [Sign-In] I get:

We're unable to complete your request
Microsoft account is experiencing technical problems. Please try again later.

The popup url becomes:
https://login.live.com/err.srf?lc=1033#error=invalid_request&error_description=The+provided+value+for+the+input+parameter+'redirect_uri'+is+not+valid.+The+expected+value+is+'https://login.live.com/oauth20_desktop.srf'+or+a+URL+which+matches+the+redirect+URI+registered+for+this+client+application.&state=262d52d8-3843-42bd-9336-3ec3c6d8ca37
Meaning that the [redirect_uri] was not provided which looking at the code is true.
(Note: trying to put in https://login.live.com/oauth20_desktop.srf as [redirectUri] goes through the login process but at the end popup goes blank and hangs, [authCallback] never gets called)

I have this same response when I try to pack a PWA in an APPX and download the app from the store.
I don't use a popup but a redirect. Works as PWA on each browser and as PWA on Android but when I start it as App in Windows 10 I get this message after I insert my email address.
Can't say what is the url, as the App doesn't show it and I am not able to return to the webpage once I get this error.

@ak99372  Are you still facing this issue? The redirectURI should be the same one registered in your app as a the redirect URI. It is usually your apps URL.

@Adrianotiger MSAL.js is designed to be used in browser based SPA apps and does not support the native capabilities required for platforms such as Android.

@ak99372 is this still an issue? It looks like the redirect uri you are using is not registered for your client application. Please register the redirect uri on  app registration portal at https://apps.dev.microsoft.com/ and try again.


ADIOS plugin does not compile if MPI is not enabled

... but it does not check that during CMake generate

Was not able to reproduce this behavior.

seems to be gone for me too, at least in 1142b45e223f21d6e98346d191a2414cc2e36252


Add env

URL to production endpoint needs to be environment variable

https://create-react-app.dev/docs/adding-custom-environment-variables/


Clean up set and file usage in get_all_imports

Move logic that doesn't need to be inside of file context managers
outside
Remove redundant set and list function calls

Coverage remained the same at 72.103% when pulling 2ed53333ed4ba1089d91e6618ccdc776cbdeda48 on jonafato:cleanup-get_all_imports into 4d35819bbdcfd70acd5e5fabf4997682aa740f24 on bndr:master.

Coverage remained the same at 72.103% when pulling 2ed53333ed4ba1089d91e6618ccdc776cbdeda48 on jonafato:cleanup-get_all_imports into 4d35819bbdcfd70acd5e5fabf4997682aa740f24 on bndr:master.

Coverage remained the same at 72.269% when pulling 9a403b5e03f27c2ae2724c8cbe51d8cf1a2a43ff on jonafato:cleanup-get_all_imports into e0f9ae8c6a2ae3e3dc2d675480413f501a2424ab on bndr:master.

Coverage remained the same at 71.552% when pulling aae6c61f090201f2f29be95c47ce1b9b3a09e8e4 on jonafato:cleanup-get_all_imports into 7afbcb4b1645a7c0b81b1d4a4ed07cdf20346e1a on bndr:master.

Coverage remained the same at 71.552% when pulling aae6c61f090201f2f29be95c47ce1b9b3a09e8e4 on jonafato:cleanup-get_all_imports into 7afbcb4b1645a7c0b81b1d4a4ed07cdf20346e1a on bndr:master.

Coverage remained the same at 71.552% when pulling aae6c61f090201f2f29be95c47ce1b9b3a09e8e4 on jonafato:cleanup-get_all_imports into 7afbcb4b1645a7c0b81b1d4a4ed07cdf20346e1a on bndr:master.


Set Element Dashboard Tab Order for New Value Fields

More challenging than originally thought with the use of DataTables.


GooglePayButton is not showing.

I've place a GooglePayButton but it does not show. Enabling debug paint, you can see that it is very tiny. Setting height and width parameters also do not help.

I get these errors:
E/flutter (14723): [ERROR:flutter/shell/common/shell.cc(103)] Dart Unhandled Exception: 'package:pay_platform_interface/core/payment_configuration.dart': Failed assertion: line 55 pos 16: 'configuration.containsKey('provider')': is not true., stack trace: #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39) E/flutter (14723): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) E/flutter (14723): #2      new PaymentConfiguration._ (package:pay_platform_interface/core/payment_configuration.dart:55:16) E/flutter (14723): #3      PaymentConfiguration.fromAsset (package:pay_platform_interface/core/payment_configuration.dart:85:33) E/flutter (14723): <asynchronous suspension> E/flutter (14723): #4      Future.wait.<anonymous closure> (dart:async/future.dart) E/flutter (14723): <asynchronous suspension> E/flutter (14723): #5      Pay._loadConfigAssets (package:pay/src/pay.dart:45:25) E/flutter (14723): <asynchronous suspension> E/flutter (14723):

Hi @Nisarg12, make sure to use a valid payment configuration for the button. If you are loading the configuration from a JSON file in your assets, make sure to include it in your pubspec.yaml (see the example pubspec.yaml), and ensure that the provider and data keys are present in your configuration (take a look at the sample configuration files)

Hi @Nisarg12, make sure to use a valid payment configuration for the button. If you are loading the configuration from a JSON file in your assets, make sure to include it in your pubspec.yaml (see the example pubspec.yaml), and ensure that the provider and data keys are present in your configuration (take a look at the sample configuration files)

Thank you @JlUgia, that was indeed the problem, the JSON file was missing both the keys. I will close this now :)

Reopening this because when I switch to iOS from flutter inspector, the GooglePayButton becomes tiny, it is present in widget tree but it is once again as shown in the image above.
Android:

iOS:

Also, what might be causing this other blue dot at the bottom right? It doesn't appear on screens not using the plugin.

Hi @Nisarg12, this is intended. If you keep diving down the tree, you'll find that this is only the representation of an "empty" widget, SizedBox.shrink(), when the conditions to show the payment button are not met. This widget has no visual representation and even though it is part of the widget tree, it's not proposed for drawing, and hence does not take any unnecessary cycles from the processor.

Hi @Nisarg12, this is intended. If you keep diving down the tree, you'll find that this is only the representation of an "empty" widget, SizedBox.shrink(), when the conditions to show the payment button are not met. This widget has no visual representation and even though it is part of the widget tree, it's not proposed for drawing, and hence does not take any unnecessary cycles from the processor.

I see, what condition(s) might be unfulfilled that results it shrinking on iOS only?

The effect is the same if the platform is set as not supported. This is currently the case for Google Pay and Apple Pay on Android and iOS respectively, although, on one hand, future providers may have support for Android and iOS, and also, if/when Web is added to the plugin, both Apple and Google Pay will have support for two platforms each:

Apple Pay -> iOS and Web
Google Pay -> Android and Web

Let me know if this helps.

The effect is the same if the platform is set as not supported. This is currently the case for Google Pay and Apple Pay on Android and iOS respectively, although, on one hand, future providers may have support for Android and iOS, and also, if/when Web is added to the plugin, both Apple and Google Pay will have support for two platforms each:

Apple Pay -> iOS and Web
Google Pay -> Android and Web

Let me know if this helps.

I am assuming this check was placed because it can be easy to forget to implement platform specific buttons causing inconsistency problems and redundant widgets. I hope to see support for both platforms sooner or later, but as of now is it better to use Platform class and conditionally place both the buttons or just have them both and one will shrink?

Your assumption is accurate. This plugin acknowledges that platform support will vary across providers, and as such, adapts to these different scenarios. Any request for additional platform support is beyond the scope of the plugin, and is preferable to do directly with each provider separately.
The plugin actually lets you choose the buttons to show in your UI, with two different integration paths:

With the quick integration path (using the widgets in the pay package), the widgets decide whether to show based on the platform and the response from the userCanPay call.
With the custom integration path (using the raw buttons on Android and iOS), you can use the calls in the API to decide what buttons to show and when to do so.

Your assumption is accurate. This plugin acknowledges that platform support will vary across providers, and as such, adapts to these different scenarios. Any request for additional platform support is beyond the scope of the plugin, and is preferable to do directly with each provider separately.
The plugin actually lets you choose the buttons to show in your UI, with two different integration paths:

With the quick integration path (using the widgets in the pay package), the widgets decide whether to show based on the platform and the response from the userCanPay call.
With the custom integration path (using the raw buttons on Android and iOS), you can use the calls in the API to decide what buttons to show and when to do so.

Using the quick integration path, the button still occupies some considerable space estate in the UI, so I think developers would still prefer to put the manual checks for the platform the app is being run from. Anyhow, it is pretty convenient that the plugin does that on it's own nonetheless. Kuddos for that ✌🏼

Hey @Nisarg12, can you elaborate more on the space that the button occupies? When the button does not show, the resulting widget should have 0'ed dimensions and not be drawn at all. Are you experiencing something different? Can you share more details if that's the case?
Thank you!

Hey @Nisarg12, can you elaborate more on the space that the button occupies? When the button does not show, the resulting widget should have 0'ed dimensions and not be drawn at all. Are you experiencing something different? Can you share more details if that's the case?
Thank you!

Yes, it most certainly does not 0 out, I am attaching the results yielded in both the cases:

Not shrinked:

Shrinked:

Removed from the tree completely:

You can take a reference of height of the Razorpay button.

@JlUgia I just checked if it was because of me using MainAxisAlignment.spaceEvenly for the Column widget and turns out even though the widget is being shrunk to 0 height and width, spaceEvenly & spaceAround would still acknowledge the widget's presence and assign it some space evenly. I suggest inverting the boolean check, and render the button if the platform is same.
if (widget._isPlatformSupported) {
      return FutureBuilder<bool>(
      future: userCanPayFuture,
      builder: (context, snapshot) {
        if (snapshot.connectionState == ConnectionState.done) {
          if (snapshot.data == true) {
            return Container(
              margin: widget.margin,
              width: widget.width,
              height: widget.height,
              child: widget._payButton,
            );
          } else {
            return ButtonPlaceholder(
              margin: widget.margin,
              child: widget.childOnError,
            );
          }
        }

        return ButtonPlaceholder(
          margin: widget.margin,
          child: widget.loadingIndicator,
        );
      },
    );;
}

Thanks for the additional detail @Nisarg12.


fix(compile_assets): add title min-height

Related #82
Gives .admonish-title a min-height of 4rem.
NOTE: Current default (non-empty title) is 3.92rem, but that seemed too magic to put. Let me know if 4rem is too much.

Before

After

I did not add a tag to the commit, because I can see there are undeployed changes in the changelog.

Now released in v1.9.0


Remove from initialize yml

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/381
Originally created by @jschatz1 on 2019-02-12 17:38:28

docker-compose.yml: |
  version: '3.1'
  services:
    warehouse_db:
      image: postgres
      environment:
        POSTGRES_DB: warehouse
        POSTGRES_PASSWORD: warehouse
        POSTGRES_USER: warehouse
      ports:
      - '5502:5432'

cc @derek-knox

View 2 previous comments from the original issue on GitLab


Flutter doctor: Unable to download dart sdk,BITS service failed in windows

Steps to Reproduce

Unable to runthe flutter command in windows. its trying to download dart sdk but bits service failed to download that dart sdk.
...
...

Logs

Downloading Dart SDK from Flutter engine 9b6d5031a3c0a4a6b1b5bd66a8e6a7c3c2c7ea0b...
Downloading the Dart SDK using the BITS service failed, retrying with WebRequest...

.\flutter\bin\internal\update_dart_sdk.psl:53 字符：22

Invoke-WebRequest <<<< -uri $dartsdkUrl -OutFile $dartSdkZip
CategoryInfo : ObjectNotFound:(Invoke-WebRequest: Strg)[], P
FullyQualifiedErrorId : CommandNotFoundException
Error: Unable to update Dart SDK. Retrying...

Same problem

It seems probably a powershell version issue.
https://flutter.io/docs/get-started/install/windows
Windows PowerShell 5.0 or newer (this is pre-installed with Windows 10)

https://stackoverflow.com/questions/53035692/invoke-webrequest-is-not-recognized-as-the-name-of-a-cmdlet-windows-7-powershell
By default Windows 7 comes with PowerShell version 2.0 installed. The Invoke-WebRequest cmdlet was introduced in PowerShell version 3.0.

The simplest solution is to upgrade your version of PowerShell to 3 or greater (I recommend just installing the latest version: 5.1). You can do that by downloading the Windows Management Framework:

@bonzinho
Can you have a check by adding the check logic in update_dart_sdk.ps1
New-Item $dartSdkPath -force -type directory | Out-Null
$dartSdkZip = "$cachePath\$dartZipName"
Write-Host $PSVersionTable.PSVersion
Try {
    Import-Module BitsTransfer
    Start-BitsTransfer -Source $dartSdkUrl -Destination $dartSdkZip
}
Catch {
    Write-Host "Downloading the Dart SDK using the BITS service failed, retrying with WebRequest..."
    Write-Host "-Uri $dartSdkUrl"
    Invoke-WebRequest -Uri $dartSdkUrl -OutFile $dartSdkZip
}

Closed https://github.com/flutter/flutter/issues/27276 via https://github.com/flutter/flutter/pull/27596.

Just happened to me now, same output as above. Using windows 10, flutter channel master.
verified BITS service is running. Powershell version:
Major  Minor  Build  Revision

5      1      17763  316

Try with a VPN

When I run any flutter command
Then in blue band BITS transferring.
Process starts and never actually ends.

Hi,
If anyone is still facing this issue please follow the below steps:

Go into the directory where flutter SDK is installed
Go inside this path - \flutter\bin\internal
Open the file named update_dart_sdk.ps1

and add the below code after 'Import-Module BitsTransfer' inside the Try block
If($httpProxy = ([System.Uri] $env:http_proxy)){
    $proxyUserInfo = $httpProxy.UserInfo.Split(":")
    $proxyPass = ConvertTo-SecureString $proxyUserInfo[1] -AsPlainText -Force
    $proxyCredential = New-Object System.Management.Automation.PSCredential ($proxyUserInfo[0], $proxyPass)
    Start-BitsTransfer -Source $dartSdkUrl -Destination $dartSdkZip -ProxyUsage Override -ProxyList ($httpProxy.Host + ":" + $httpProxy.Port) -ProxyCredential $proxyCredential -ProxyAuthentication Basic
    }Else{
    Start-BitsTransfer -Source $dartSdkUrl -Destination $dartSdkZip
    }

Try running the flutter command again

This solved the issue for me.

My problem is solved just by running a VPN.

i have steal getting problems can anyone send some other solutions

Flutter worked fine for me. I then run flutter upgrade from cmd as normal user and it failed with permission error. Now if I run flutter upgrade or any flutter command, even as admin, getting the following
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine                                           ...
Downloading the Dart SDK using the BITS service failed, retrying with WebRequest...
Invoke-WebRequest : NoSuchKeyThe specified key does not exist.No such object:
flutter_infra/flutter/������������������������������������������/dart-sdk-windows-x64.zip
At C:\src\flutter\bin\internal\update_dart_sdk.ps1:77 char:5
+     Invoke-WebRequest -Uri $dartSdkUrl -OutFile $dartSdkZip
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Error: Unable to update Dart SDK. Retrying...

Waiting for 0 seconds, press CTRL+C to quit ...
Checking Dart SDK version...

The blue BITS transfer window appear and disappear within 2 seconds. Fyi, BITS transfer downloading was completed when I run flutter upgrade for the first time.

Hi,
If anyone is still facing this issue please follow the below steps:
1. Go into the directory where flutter SDK is installed

2. Go inside this path - \flutter\bin\internal

3. Open the file named update_dart_sdk.ps1

and add the below code after 'Import-Module BitsTransfer' inside the Try block
If($httpProxy = ([System.Uri] $env:http_proxy)){
    $proxyUserInfo = $httpProxy.UserInfo.Split(":")
    $proxyPass = ConvertTo-SecureString $proxyUserInfo[1] -AsPlainText -Force
    $proxyCredential = New-Object System.Management.Automation.PSCredential ($proxyUserInfo[0], $proxyPass)
    Start-BitsTransfer -Source $dartSdkUrl -Destination $dartSdkZip -ProxyUsage Override -ProxyList ($httpProxy.Host + ":" + $httpProxy.Port) -ProxyCredential $proxyCredential -ProxyAuthentication Basic
    }Else{
    Start-BitsTransfer -Source $dartSdkUrl -Destination $dartSdkZip
    }

1. Try running the flutter command again

This solved the issue for me.

The problem still persists

Forgot to add, I solved the issue in that day itself. Here's the steps I followed.
Checked where the error message is coming from, C:\src\flutter\bin\internal\update_dart_sdk.ps1:77, from the variable $dartSdkUrl. I went to top line by line to check where the variable is declared and found out that it's importing a part from engine.version. I checked the file and found that it contains non visible unicode string and that's why it's shown as ������������������������������������������ in error message. I then visited github.com/flutter/flutter/bin/internal/engine.version and it contains a hash. I copied the hash and replaced the contents in my local engine.version with the copied one. Then again I executed flutter upgrade and it worked fine.

i have steal getting problems can anyone send some other solutions

change the  dartSdkBaseUrl into this
$dartSdkBaseUrl = "https://storage.flutter-io.cn"

i have steal getting problems can anyone send some other solutions

change the dartSdkBaseUrl into this
$dartSdkBaseUrl = "https://storage.flutter-io.cn"

It worked for me. Thank you...

Welcome
On Sat, Jun 13, 2020, 3:14 AM Sadequzzaman Monoj<EMAIL_ADDRESS>wrote:

i have steal getting problems can anyone send some other solutions
change the dartSdkBaseUrl into this
$dartSdkBaseUrl = "https://storage.flutter-io.cn"
It worked for me. Thank you...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/27276#issuecomment-643485982,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJQTPEPR6NDRWQECL7M3DV3RWKLERANCNFSM4GTGFQQQ
.

Forgot to add, I solved the issue in that day itself. Here's the steps I followed.
Checked where the error message is coming from, C:\src\flutter\bin\internal\update_dart_sdk.ps1:77, from the variable $dartSdkUrl. I went to top line by line to check where the variable is declared and found out that it's importing a part from engine.version. I checked the file and found that it contains non visible unicode string and that's why it's shown as ������������������������������������������ in error message. I then visited github.com/flutter/flutter/bin/internal/engine.version and it contains a hash. I copied the hash and replaced the contents in my local engine.version with the copied one. Then again I executed flutter upgrade and it worked fine.

Thanks a lot, this solve my issue.

I had the same issue
Invoke-WebRequest : Unable to connect to the remote server
At C:\src\flutter\bin\internal\update_dart_sdk.ps1:70 char:5

Invoke-WebRequest -Uri $dartSdkUrl -OutFile $dartSdkZip

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
....
but at last resolved it by deleting env path (src/flutter/bin/) and src/flutter/bin itself. And unzipped using default compress/winrar (making workspace manually for flutter caused the error for me) and added env path as usual case. now I can get doctor logs.

I had the same issue
Invoke-WebRequest : Unable to connect to the remote server
At C:\src\flutter\bin\internal\update_dart_sdk.ps1:70 char:5

Invoke-WebRequest -Uri $dartSdkUrl -OutFile $dartSdkZip

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
....
but at last resolved it by deleting env path (src/flutter/bin/) and src/flutter/bin itself. And unzipped using default compress/winrar (making workspace manually for flutter caused the error for me) and added env path as usual case. now I can get doctor logs.

before the try sentence you have to put
[Net.ServicePointManager]::SecurityProtocol +='tls12'

before the try sentence you have to put
[Net.ServicePointManager]::SecurityProtocol +='tls12'

i have steal getting problems can anyone send some other solutions

change the dartSdkBaseUrl into this
$dartSdkBaseUrl = "https://storage.flutter-io.cn"

you mean the $dartSdkBaseUrl in the if-block of the one in line 40


Error when BBBEnvironmentType is set as 'single'

When I try to run a single server deployment the following error is encountered,
"Template format error: Unresolved resource dependencies [BBBFrontendELBSecurityGroup] in the Resources block of the template."

hi,
sorry i need to solve that in the next release.


Can't stick to 1 block tall adhesive walls

Wonder are you planning to backport fixes?

no as it would involve fixing older versions of gravity api


https://tubitv.com support

can you add support for this website?

Tubi is there already in the icon sites.
Maybe it can be moved to the searchable streaming sites, I'll check it.

Check v17.0.1.


MD024: headers not in the same parent are counted as dupes

# foo

## baz

# bar

## baz

I also stumbled upon this. IMHO the following cases are bad:
# foo

# foo

# foo

# bar

# foo

# foo

## foo

# foo

## bar

### foo

But the following is fine:
# foo

## bar

## baz

# foo2

## bar

## baz

I guess the general rule is something like this: In the tree of headings, each node most be different from all its ancestors and all its siblings. Note that this would allow the following:
# foo

## bar

### baz

## bar2

### bar

### baz

The behavior of this rule is actually intended. The reason for the rule being there is for markdown renderers that will turn headings into anchor points where you can link directly to the heading. If the parser isn't smart enough, you end up with duplicate links if a header is repeated anywhere in the document. Github is a renderer that turns headers into links and anchor points, but it appends -1 to the end of any duplicate header's ID.
As it sounds like this isn't an issue in your case, I would recommend just disabling this rule in your environment for now.

As it sounds like this isn't an issue in your case

@mivok In my case, it is:

we are writing documentation that includes a repeated structure due to normalised components
our generation system handles duplicate anchor points from header titles correctly

Maybe a configurable is in order, allowing for either strict/global mode or nested mode.


ocsp proxy support

openssl ocsp can do outbound connections, for this reason it would make sence to add -proxy as a feature in the same manor as has been done with openssl s_client.

This is already implemented in openssl-3.0.0


Improved Ctrl+R dialog

I actually did this quite a while ago.
I'm not so sure about the tests though. Comments please?

Hey man, it's nice to see this being improved (I've requested fuzzy searching quite a while ago, but never got around to actually do it myself). Here are my comments:

ProjectManager.dll in root folder, causing exceptions when opening a (Haxe) project, and an exception about loading ProjectManager.dll when restarting FlashDevelop
In general, fuzzy searching seems to be working quite well

Sort order is not clear. I suppose it's by relevance? But e.g. in this screenshot it's really not obvious why the results are sorted this way
Mixed case search query should be improved

A major feature in the old Ctrl+R dialog is lost - being able to search for a camel-case-named file by typing only the capital letters (e.g. LOV should offer LastOnlineView before LoginView)
Searching for same query with lowercase and uppercase gives slightly different results, but the sort order is really not obvious

(also on current release) If a file has a common name, but there are many of them in different folder (config.xml, Makefile, etc.). It's not possible to further filter by path.
(also on current release) Type a search query, switch to another application (via Alt-tab or by clicking on FlashDevelop) - the query is cleared (bug or feature?)

It's a great effort, but I think it should be improved before it's good enough to replace the old behavior (biggest gripe is losing the feature to search for camel-case-named files using first capital letters).
Proposals/suggestions:

Check out fzf and it's Search syntax for inspiration

Smart case: Match case-sensitively if there are any uppercase letters in search term, case-insensitively otherwise - default in both fzf and ag (aka the silver searcher)

Note: this alone should solve my biggest gripe (LOV will match LastOnlineView, but not LoginView)

Add (optional) flags, which are special characters at the beginning of a search term (multiple search terms, if necessary, are separated with a space). Proposed flags:

Default: fuzzy match
^: search term should match at the beginning of the string (e.g. ^mot if you want Motivation but not InitMotivation)
$: search term should match at the end of the string (e.g. ss$ if you want to find .scss or .css files)
': exact match (not fuzzy, consecutive letters) - for cases when fuzzy matching produces many extraneous results even when you already type exactly what you need
!: inverse fuzzy match (to filter out unwanted results)
/: search within file's dirname rather than basename
Most flags may be combined (e.g. !^'Mot filters out files starting with literal "Mot")

Note: For simple queries, no flags and no spaces are necessary, so these extra features make life easier if you want to use them, and have no effect otherwise

Cool! Much better now with support for exact matching of uppercase letters.
No more Project Manager.dll problem, and the query stays now, when switching to another app and back.
I'll play more with it but I think it's now better than the previous one.
Still missing somewhat the ability to narrow down by folder.


ExtendedImage load again and again on setState

When calling setState method, image loads again. so i feel flickering in image.
i want to change aspect ratio of image. my code snippet is:
// in stateful widget
double _aspectRatio = CropAspectRatios.original;

ExtendedImage(
  image: ExtendedFileImageProvider(
    widget.imageFile,
    cacheRawData: true,
    imageCacheName:
        DateTime.now().millisecondsSinceEpoch.toString(),
  ),
  extendedImageEditorKey: _editorKey,
  mode: ExtendedImageMode.editor,
  fit: BoxFit.contain,
  initEditorConfigHandler: (_) => EditorConfig(
      maxScale: 8.0,
      cropAspectRatio: _aspectRatio,
      cropRectPadding: const EdgeInsets.all(20.0),
      hitTestSize: 20.0,
      cornerColor: Colors.white,
      editorMaskColorHandler: (_, __) => Colors.black,
      cornerSize: Size(24, 1.4),
      cropLayerPainter: CustomCropLayerPainter()),
)

I am changing _aspectRatio value in onTap of aspect ratio button
But even calling setState for other things also loads image again

define ExtendedFileImageProvider as property, new one means this is new image.

imageCacheName:
DateTime.now().millisecondsSinceEpoch.toString(),
and you are define imageCacheName as millisecondsSinceEpoch??
This is not good, please take a look at demo, and think how imageCacheName works.

@zmtzawqlp Thanks for helping
I forgot to made ExtendedFileImageProvider object globally in StatefulWidget
I understand that with the previous code it was creating the new object of ExtendedFileImageProvider when called 'setState'


Enforcing Store State?

Given that this.state in Components is UI State and that Stores are supposed to be handling Application State would it not make sense to have that as something in all Stores as a standard?
It would also enable easy Store querying from Components. ie: myStore.get("key") would return the corresponding object key in the Stores state object. Which is, after all, what the Flux docs recommend.
This would make isomorphic applications trivial too (simple get() and setInitialState(data) methods).
I'm currently doing this via a mixin and it makes consistency very easy to achieve.

@abritinthebay

Given that this.state in Components is UI State

This is wrong. Component state is UI State + Store (Application) state which maps from Store to Component.

In Reflux, component state is UI State + [optional] Store (Application) state which is synced between Store and Component.

That's not true. That's one way you can do state in Reflux sure. But then you'd be not doing Flux architecture because you're supposed to be separating them according to the original docs. That's quite a large point of Flux in fact.

If store state is separated from component state it raises a question about how to redraw component on app state change.

What? That's... so wrong I don't know how to respond. Store state will always be separated from Component state. Unless you're doing something incredibly bone-headed like cloning the entire Store state across all components and child-components you'll be separating the states.
Plus now you're confusing Store/App State with component props/data. Which is horrifying, frankly.

If all you do is dump the entire Store state on a trigger and then dumbly import that into the component state... sure, then you end up with what you just described.
But... I mean, that's utterly counter to Flux as described by every single FB talk on Flux I've ever watched or attended.

Thought I'd comment on this part:

You're proposing to replace push architecture with pull

Not at all. I'm proposing adding a selective pull mechanism in addition to the (totally unchanged) event driven pull system.
Say I have a complex Store and I only want to pull certain data out of it when it's updated: this would let me. Sure I could just dump the entire store state into the event and filter it in the Component - but that's bad application design because then the Component needs to know about the entire Store state rather than just what is relevant to just itself.
Remember - A Store is not a model, or collection, it's a complex data storage system that holds the app state for that part of the application domain.

The .get(key) part of my OP was probably the least important part of it anyhow. It's just a minor side benefit.

Pulled in Mori to house store "state". Basically, reused the logic from Fluxy. Really simple mixin that calls trigger with the Clojure keys when something is set in the Mori store. The components listen and check the keys if their is realivant info for the listening function.

Right, that's basically what I'm proposing.
An (admittedly simplistic) implementation could look as simple as the following:
Reflux.Mixins = Reflux.Mixins || {};
Reflux.Mixins.StoreState = {
	state: {},
	get: function (key) {
		if (typeof key === "undefined") {
			return JSON.parse(JSON.stringify(this.state)); // return deep cloned copy of data
		} else if (typeof this.state[key] !== "undefined") {
			return JSON.parse(JSON.stringify(this.state[key]));
		}
	},
	set: function (key, data) {
		if (typeof key === "object" && typeof data === "undefined") {
			this.state = JSON.parse(JSON.stringify(key)); // assign deep cloned copy of data to whole state object
			this.trigger();
		} else if (typeof key === "string" || typeof key === "number") {
			this.state[key] = JSON.parse(JSON.stringify(data)); // assign deep cloned copy of data to specific key in state object
			this.trigger();
		}
	}
};

...and it would go a long way to making many things easier.
Now the above version would have issues with Date objects (it would convert them to string representations) but the State being JSON compatible is perhaps a good idea.
Anyhow - not saying the above code is what should be in but the idea is more that a central store should be there.

I think it's a good idea to have a common store state to store application level state. In my mind it is totally okay to add this to the store as a mix-in, and will make it easier to keep your web app isomorphic.
However when I chain and join stores, I tend not to set any state. The stores in this case work like glorified map/reduce/filter functions. Because of this I haven't yet decided if making state in a Store a mandatory thing or if there should be some kind of a seperate StatefulStore implementation or have it as a mixin provided by Reflux.

Just a thought - React has the React.Addons namespace for optional stuff like this. If I created a PR with the above as an optional mixin would you be amenable to that?

Because of this I haven't yet decided if making state in a Store a mandatory thing

Just because it's mandatory doesn't mean you have to fill it with anything. It's just a case if "if you want the Store to be able to be dehydrated or have a .toString representation... then that's what you need to do.
I'm not suggesting forcing a specific workflow. If you're chaining and just using triggers to pass data around then this wouldn't impact anything. That workflow would still work.

In order to clean up the issue tracker I have to close down all questions. Please use proper communications channels for questions about reflux, such as:

StackOverflow with the refluxjs tag
#reflux channel on Reactiflux Slack group. Sign up here for an account.


Build system support for linking symbol table

When using the dynamic loader on some RTOS's (RTEMS notably, but probably others too) there is an extra build step required to build an executable capable of runtime linking.  For RTEMS, this is:

Build all objects and link the executable as normal
Invoke the rtems-syms tool to build a symbol table object
Re-link the executable using the objects from (1) and (2)

This is possible in CMake by defining some custom commands, but requires a few hooks in the build system to do this, since it is OS-specific.

Trac comment by jphickey on 2018-09-28 10:26:16:
Commit [changeset:91cd6d9] has the changes for review

Imported from trac issue 252.  Created by jphickey on 2018-09-28T08:58:41, last modified: 2019-07-03T13:15:28

Trac comment by jphickey on 2019-02-25 16:27:30:
This changeset has been rebased and merged into an "ic" branch for testing.
Rebased commit: [changeset:42b2c84]
Integration test branch: ic-ccb-20181113
To clarify: The only thing this change set adds at this point is a hook to include some extra mission-specific logic as part of the install procedure.  The invocation of rtems-syms as described in the original summary can be done using a cmake platform module.  As a result, the only thing really needed in the baseline CFE build script is to add the ability for a project to override the install steps.
This does not change any actual C source code, only build script.  It is validated by building the existing platform(s) and verifying that nothing changed/broke.  I have a local RTEMS build which I independently verified works with this change.

Trac comment by jhageman on 2019-02-25 15:23:24:
2018/11/13- CCB "approved" changeset:91cd6d9, need to clarify required testing prior to merge into dev branch

Trac comment by jphickey on 2019-02-25 16:33:18:
Auto-build results are on bamboo for review: https://babelfish.arc.nasa.gov/bamboo/browse/CFS-CFSCFE140
Short version: Same results as the development branch (known failures that should be quarantined)

Trac comment by jphickey on 2019-02-25 16:43:29:
Changing to "in_test" as this is in an ic branch

Trac comment by jhageman on 2019-03-20 13:11:01:
CCB - Approved for merge 3/20/2019

Trac comment by jphickey on 2019-03-21 12:54:19:
Update: Now merged into "development" branch.  Auto build has completed and same results as previous build:
https://babelfish.arc.nasa.gov/bamboo/browse/CFS-CFSCFE-2451
This ticket should be closed as complete.

Trac comment by jhageman on 2019-07-03 13:15:28:
Moved closed tickets targeting 6.6.1 to 6.7.0 end of summer release.


Alignment is not preserved in new version of Udaan editing tool.

Right, center, justify alignment of text is not working after new implementation of BBOX.

Fixed. Kindly refer to 7539bffdf9539354330aa958e5bdb554ba48aaeb & e96bcc02c4cba1ff309cbaf796ba6f811c3a1ada


[contracts] Review storage deposit pricing (StorageDepositLimitExhausted)

To reproduce:

Extract the three contracts from contracts.zip. Those are the ink! master examples built with cargo +nightly contract build (so in debug mode). Latest cargo-contract release (0.17.0).
Run substrate-contracts-node --dev, I use the latest 0.5.0.
Upload flipper.contract, erc20.contract and erc721.contract from Alice (the order doesn't play a role).
The last upload will fail with system.ExtrinsicFailed / contracts.StorageDepositLimitExhausted.
If I open a new, private browser window and try to upload the third contract there it doesn't work either. I had suspected some UI bug with its local storage, but that doesn't seem to be the case.
It works if I upload the third contract from Bob.

Alice's balance after starting a fresh node:
transferrable 1.1529 MUNIT

Alice's balance when getting the error (so after uploading the second contract):
1.1516 MUNIT
transferrable 178,455.5042 UNIT
reserved 973,242.0000 UNIT

So seems like it's an issue with pricing the deposit.
Note that there is https://github.com/paritytech/ink/issues/1112, where a user runs into contracts.StorageDepositLimitExhausted as well (though in a different set-up).

This is no bug in the contracts pallet as far as I can see it. The math checks out. It is just that the deposit values within the runtime configuration. Moved it to the correct repository.


implements unsupported version 0x00070000 (supported: 0x00090000)

Receiving this error message when attempting to run ssh-keygen command:
Generating public/private ecdsa-sk key pair. You may need to touch your authenticator to authorize key generation. Provider "/usr/local/lib/libwindowsfidobridge.so" implements unsupported version 0x00070000 (supported: 0x00090000) Key enrollment failed: invalid format
I'm running WSL2; Ubuntu 22.04 LTS
ssh -V
OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022

Are you using OpenSSH_8.9p1 also? I'm wondering if it's something with the portable version of this release that the package doesn't like.

I ran into this same issue when using OpenSSH_8.9p1, version OpenSSH_8.8p1 worked for me.

How did you downgrade to OpenSSH_8.8p1 @Warriorrrr? I need this software to work for my job. I can't use Ubuntu version 20.04 because it has OpenSSH 8.2. I used to run Ubuntu 21.10 which I believe ran Open SSH 8.4, which worked fine. but when I upgraded to Ubuntu 22.04 LTS with OpenSSH 8.9 it does not work.

Looks like the repository has not been updated: https://github.com/mgbowen/apt-repository/tree/master/debian/dists/bullseye/main/binary-amd64 to include this PR: https://github.com/mgbowen/windows-fido-bridge/pull/23

I used the following commands: (source: https://github.com/Allar/windows-fido-bridge/blob/main/README.md#requirements)
cd ~
sudo apt update && sudo apt install build-essential zlib1g-dev libssl-dev libpam0g-dev libselinux1-dev
wget -c https://cloudflare.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.8p1.tar.gz
tar -xzf openssh-8.8p1.tar.gz
rm openssh-8.8p1.tar.gz
cd openssh-8.8p1
./configure --with-md5-passwords --with-pam --with-selinux --with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh
sudo make install
cd ..
rm -rf openssh-8.8p1

Hi,
Instead of recompiling OpenSSH, you should compile windows-fido-bridge with the appropriate SK_API_VERSION. For OpenSSH 8.9 and higher, that is version 9. To do that, in the instructions for compiling for source, this should be your CMake invocation:
cmake -DCMAKE_BUILD_TYPE=Release -DSK_API_VERSION=9 ..

The default sk-api version is set to 7 because Debian bullseye includes OpenSSH 8.4.

@mgbowen I tried this, but the compilation failed. Let me try to see if I can find you the error for that.

Hi,
Instead of recompiling OpenSSH, you should compile windows-fido-bridge with the appropriate SK_API_VERSION. For OpenSSH 8.9 and higher, that is version 9. To do that, in the instructions for compiling for source, this should be your CMake invocation:
cmake -DCMAKE_BUILD_TYPE=Release -DSK_API_VERSION=9 ..

The default sk-api version is set to 7 because Debian bullseye includes OpenSSH 8.4.

This worked! Thank you so much for creating such an awesome bridge, maintaining such awesome online docs, and taking the time to respond to issues like this. You're a class act!

@mgbowen The cmake command worked, but when I tried to run make I got this:
  Error running test executable.

    Path: '/home/kyle/windows-fido-bridge/build/nested-windows-build/src/nested_windows-build/src/common/common_tests.exe'
    Result: Process terminated due to timeout
    Output:

Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/GoogleTestAddTests.cmake:179 (gtest_discover_tests_impl)

make[5]: *** [src/common/CMakeFiles/common_tests.dir/build.make:175: src/common/common_tests.exe] Error 1
make[5]: *** Deleting file 'src/common/common_tests.exe'
make[4]: *** [CMakeFiles/Makefile2:375: src/common/CMakeFiles/common_tests.dir/all] Error 2
make[3]: *** [Makefile:166: all] Error 2
make[2]: *** [CMakeFiles/nested_windows.dir/build.make:86: nested-windows-build/src/nested_windows-stamp/nested_windows-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:191: CMakeFiles/nested_windows.dir/all] Error 2
make: *** [Makefile:166: all] Error 2```

This worked! Thank you so much for creating such an awesome bridge, maintaining such awesome online docs, and taking the time to respond to issues like this.

Thanks, I appreciate the kind words :)

@mgbowen The cmake command worked, but when I tried to run make I got this:
CMake Error at /usr/share/cmake-3.22/Modules/GoogleTestAddTests.cmake:83 (message):
  Error running test executable.

    Path: '/home/kyle/windows-fido-bridge/build/nested-windows-build/src/nested_windows-build/src/common/common_tests.exe'
    Result: Process terminated due to timeout
    Output:

Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/GoogleTestAddTests.cmake:179 (gtest_discover_tests_impl)

make[5]: *** [src/common/CMakeFiles/common_tests.dir/build.make:175: src/common/common_tests.exe] Error 1
make[5]: *** Deleting file 'src/common/common_tests.exe'
make[4]: *** [CMakeFiles/Makefile2:375: src/common/CMakeFiles/common_tests.dir/all] Error 2
make[3]: *** [Makefile:166: all] Error 2
make[2]: *** [CMakeFiles/nested_windows.dir/build.make:86: nested-windows-build/src/nested_windows-stamp/nested_windows-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:191: CMakeFiles/nested_windows.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

However, adding -DBUILD_TESTS=OFF worked.

Hmm, that's odd. My first guess would be Windows Defender/Real-time protection scanning the compiled test executable before executing it, and that scanning time combined with the actual test execution time causes the timeout. Running make test a few times might cause it to work correctly, but, of course, the better solution would be to increase the timeout (or find out why Windows takes so long to scan the file, if indeed that's the problem).
Either way, I'm glad you were able to get it to work with tests off. I'm going to go ahead and close this as the original issue was resolved; feel free to reopen it if you run into issues again.


Fix minor punctuation and language issues in flag doc strings

This is mostly to create consistency, not because the one or the other
way would be wrong. A few actual corrections are also included.
My OCD commands me to do this…
I guess @juliusv is the one who will appreciate this most.

:+1:


Bugfixes for bootstrap and prechecks on Ubuntu 18.04 (bionic)

I updated some variables and checks so current Ubuntu releases (bionic and up) can also be used.

Thank you for contributing to openstack/kolla-ansible!
openstack/kolla-ansible uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Apply plugins in each module

https://juejin.cn/post/7070849501166059551

Found 3 data binding error(s)
==================================================
Cannot find a setter for <android.widget.LinearLayout binding_bg_solidColor> that accepts parameter type 'int'

If a binding adapter provides the setter, check that the adapter is annotated correctly and that the parameter type matches.
Open File
==================================================
Cannot find a setter for <android.widget.TextView binding_bg_radius> that accepts parameter type 'float'

If a binding adapter provides the setter, check that the adapter is annotated correctly and that the parameter type matches.
Open File
==================================================
Cannot find a setter for <android.widget.TextView binding_bg_radius> that accepts parameter type 'float'

If a binding adapter provides the setter, check that the adapter is annotated correctly and that the parameter type matches.
Open File

Before:
https://github.com/Goooler/DemoApp/runs/5415873223?check_suite_focus=true
BUILD SUCCESSFUL in 37s
796 actionable tasks: 60 executed, 736 from cache
Configuration cache entry stored.